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
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to