From a5c9cffea3cdec308694f28c3a7d73f6aec20aea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 12 Nov 2021 10:37:18 +0200 Subject: [PATCH] Print VPID information into the logs in the source element --- gstajasrc.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gstajasrc.cpp b/gstajasrc.cpp index 9568ff192b..8581954d0b 100644 --- a/gstajasrc.cpp +++ b/gstajasrc.cpp @@ -1593,6 +1593,12 @@ static GstFlowReturn gst_aja_src_create(GstPushSrc *psrc, GstBuffer **buffer) { if (vpid.IsValid()) { GstVideoInfo info; + { + std::stringstream os; + vpid.Print(os); + GST_TRACE_OBJECT(self, "Got valid VPID %s", os.str().c_str()); + } + if (gst_video_info_from_ntv2_video_format(&info, item.detected_format)) { switch (vpid.GetTransferCharacteristics()) { default: