mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
intervideosrc: Print a warning into the debug log on generating black frames
This commit is contained in:
parent
e6b5a271a1
commit
0fc6cc6874
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue