[FFmpeg-devel] [PATCH v8 01/11] avformat: Add fifo pseudo-muxer
Jan Sebechlebsky
sebechlebskyjan at gmail.com
Tue Aug 16 02:59:37 EEST 2016
On 08/16/2016 01:05 AM, Jan Sebechlebsky wrote:
> On 08/15/2016 11:50 PM, Nicolas George wrote:
>>
>>> +
>>> + if (just_flushed)
>>> + av_log(avf, AV_LOG_INFO, "FIFO queue flushed\n");
>>> +
>>> + ret = av_thread_message_queue_recv(queue, &msg, 0);
>> [...]
>>> + if (ret < 0) {
>>> + av_thread_message_queue_set_err_send(queue, ret);
>>> + break;
>> I do not think this is necessary: the only error possible here is the
>> one
>> you sent yourself using av_thread_message_queue_set_err_recv().
> You're right. I'll remove it.
Actually on second thought I think it I'll leave it there - it ensures
that all subsequent calls to write_frame will return error code.
Regards,
Jan
More information about the ffmpeg-devel
mailing list