Better error on av_buffersrc_write_frame failure.