mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
Improve debug output for the currently detected video format
This commit is contained in:
parent
22c0b9ed41
commit
569aad78b7
1 changed files with 7 additions and 3 deletions
|
@ -1816,9 +1816,13 @@ restart:
|
||||||
ULWord vpid_b = 0;
|
ULWord vpid_b = 0;
|
||||||
self->device->device->ReadSDIInVPID(self->channel, vpid_a, vpid_b);
|
self->device->device->ReadSDIInVPID(self->channel, vpid_a, vpid_b);
|
||||||
|
|
||||||
GST_TRACE_OBJECT(self,
|
{
|
||||||
"Detected input video format %u with VPID %08x / %08x",
|
std::string current_string =
|
||||||
current_video_format, vpid_a, vpid_b);
|
NTV2VideoFormatToString(current_video_format);
|
||||||
|
GST_TRACE_OBJECT(
|
||||||
|
self, "Detected input video format %s (%d) with VPID %08x / %08x",
|
||||||
|
current_string.c_str(), (int)current_video_format, vpid_a, vpid_b);
|
||||||
|
}
|
||||||
|
|
||||||
NTV2VideoFormat effective_video_format = self->video_format;
|
NTV2VideoFormat effective_video_format = self->video_format;
|
||||||
// Can't call this unconditionally as it also maps e.g. 3840x2160p to 1080p
|
// Can't call this unconditionally as it also maps e.g. 3840x2160p to 1080p
|
||||||
|
|
Loading…
Reference in a new issue