v4l2videodec: Print the flow return causing the loop to leave

https://bugzilla.gnome.org/show_bug.cgi?id=730207
This commit is contained in:
Nicolas Dufresne 2014-05-15 10:39:40 -04:00
parent f384047be3
commit bff156bc57

View file

@ -420,7 +420,8 @@ gst_v4l2_video_dec_loop (GstVideoDecoder * decoder)
return;
beach:
GST_DEBUG_OBJECT (decoder, "Leaving output thread");
GST_DEBUG_OBJECT (decoder, "Leaving output thread: %s",
gst_flow_get_name (ret));
gst_buffer_replace (&buffer, NULL);
self->output_flow = ret;