mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
Print captured timecodes to the debug log
This commit is contained in:
parent
0b3c585bea
commit
e3e1d09469
1 changed files with 7 additions and 0 deletions
|
@ -1438,6 +1438,13 @@ static GstFlowReturn gst_aja_src_create(GstPushSrc *psrc, GstBuffer **buffer) {
|
||||||
(GstVideoTimeCodeFlags)(flags | GST_VIDEO_TIME_CODE_FLAGS_INTERLACED);
|
(GstVideoTimeCodeFlags)(flags | GST_VIDEO_TIME_CODE_FLAGS_INTERLACED);
|
||||||
|
|
||||||
CRP188 rp188(item.tc, tc_format);
|
CRP188 rp188(item.tc, tc_format);
|
||||||
|
|
||||||
|
{
|
||||||
|
std::stringstream os;
|
||||||
|
os << rp188;
|
||||||
|
GST_DEBUG_OBJECT(self, "Adding timecode %s", os.str().c_str());
|
||||||
|
}
|
||||||
|
|
||||||
guint hours, minutes, seconds, frames;
|
guint hours, minutes, seconds, frames;
|
||||||
rp188.GetRP188Hrs(hours);
|
rp188.GetRP188Hrs(hours);
|
||||||
rp188.GetRP188Mins(minutes);
|
rp188.GetRP188Mins(minutes);
|
||||||
|
|
Loading…
Reference in a new issue