intervideosrc: Print a warning into the debug log on generating black frames
authorSebastian Dröge <sebastian@centricular.com>
Thu, 6 Nov 2014 16:36:15 +0000 (17:36 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 6 Nov 2014 16:36:15 +0000 (17:36 +0100)
gst/inter/gstintervideosrc.c

index ad75c6a61eaf897a5f06bf854593c1b78c16c851..10d6e297f1ceca4f14d6c7178c58cac5d1638c1d 100644 (file)
@@ -407,6 +407,7 @@ gst_inter_video_src_create (GstBaseSrc * src, guint64 offset, guint size,
   }
 
   if (buffer == NULL) {
+    GST_WARNING_OBJECT (intervideosrc, "Creating black frame");
     buffer = gst_buffer_copy (intervideosrc->black_frame);
   }