diff options
author | Vivia Nikolaidou <vivia@ahiru.eu> | 2018-05-11 12:30:35 +0300 |
---|---|---|
committer | Vivia Nikolaidou <vivia@ahiru.eu> | 2018-05-11 16:42:08 +0300 |
commit | 752d2bb6e3233b535ec0cd7c13d94724418b89b7 (patch) | |
tree | 238de0e0cebbd1bafebe3cd2d14a50491bd70c7e /sys/decklink | |
parent | 45d6256dade547ffacd0dc584102dd8b9951e65c (diff) |
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.
Diffstat (limited to 'sys/decklink')
-rw-r--r-- | sys/decklink/gstdecklinkvideosrc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/decklink/gstdecklinkvideosrc.cpp b/sys/decklink/gstdecklinkvideosrc.cpp index b57e8380f..cf4e88611 100644 --- a/sys/decklink/gstdecklinkvideosrc.cpp +++ b/sys/decklink/gstdecklinkvideosrc.cpp @@ -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, // 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); if (f.no_signal) |