mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-02 14:36:41 +00:00
Enable LTC capture if requested
This commit is contained in:
parent
b3f5169d55
commit
0b3c585bea
1 changed files with 2 additions and 0 deletions
|
@ -1096,9 +1096,11 @@ static gboolean gst_aja_src_configure(GstAjaSrc *self) {
|
||||||
break;
|
break;
|
||||||
case GST_AJA_TIMECODE_INDEX_LTC1:
|
case GST_AJA_TIMECODE_INDEX_LTC1:
|
||||||
self->tc_index = ::NTV2_TCINDEX_LTC1;
|
self->tc_index = ::NTV2_TCINDEX_LTC1;
|
||||||
|
self->device->device->SetLTCInputEnable(true);
|
||||||
break;
|
break;
|
||||||
case GST_AJA_TIMECODE_INDEX_LTC2:
|
case GST_AJA_TIMECODE_INDEX_LTC2:
|
||||||
self->tc_index = ::NTV2_TCINDEX_LTC2;
|
self->tc_index = ::NTV2_TCINDEX_LTC2;
|
||||||
|
self->device->device->SetLTCInputEnable(true);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
g_assert_not_reached();
|
g_assert_not_reached();
|
||||||
|
|
Loading…
Reference in a new issue