mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
Print VPID information into the logs in the source element
This commit is contained in:
parent
484cb51445
commit
a5c9cffea3
1 changed files with 6 additions and 0 deletions
|
@ -1593,6 +1593,12 @@ static GstFlowReturn gst_aja_src_create(GstPushSrc *psrc, GstBuffer **buffer) {
|
||||||
if (vpid.IsValid()) {
|
if (vpid.IsValid()) {
|
||||||
GstVideoInfo info;
|
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)) {
|
if (gst_video_info_from_ntv2_video_format(&info, item.detected_format)) {
|
||||||
switch (vpid.GetTransferCharacteristics()) {
|
switch (vpid.GetTransferCharacteristics()) {
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue