intervideosrc: Print a warning into the debug log on generating black frames

This commit is contained in:
Sebastian Dröge 2014-11-06 17:36:15 +01:00
parent e6b5a271a1
commit 0fc6cc6874

View file

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