v4l2videodec: Print the flow return causing the loop to leave
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 15 May 2014 14:39:40 +0000 (10:39 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 15 May 2014 16:21:59 +0000 (12:21 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=730207

sys/v4l2/gstv4l2videodec.c

index 9de0b54..4decd76 100644 (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;