Print VPID information into the logs in the source element

This commit is contained in:
Sebastian Dröge 2021-11-12 10:37:18 +02:00
parent 484cb51445
commit a5c9cffea3

View file

@ -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: