mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
decklinkvideosrc: Don't check for closed captions when there's no signal
Otherwise the gst_decklink_video_format_from_type() call spams the logs with one "Unknown pixel format 0x0" line per frame.
This commit is contained in:
parent
45d6256dad
commit
752d2bb6e3
1 changed files with 1 additions and 1 deletions
|
@ -987,7 +987,7 @@ gst_decklink_video_src_create (GstPushSrc * bsrc, GstBuffer ** buffer)
|
||||||
|
|
||||||
// If we have a format that supports VANC and we are asked to extract CC,
|
// If we have a format that supports VANC and we are asked to extract CC,
|
||||||
// then do it here.
|
// then do it here.
|
||||||
if (self->output_cc && mode->vanc)
|
if (self->output_cc && mode->vanc && !self->no_signal)
|
||||||
extract_cc_from_vbi (self, buffer, vf, mode);
|
extract_cc_from_vbi (self, buffer, vf, mode);
|
||||||
|
|
||||||
if (f.no_signal)
|
if (f.no_signal)
|
||||||
|
|
Loading…
Reference in a new issue