mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-18 20:25:25 +00:00
Fix mixup between VITC and ATC/LTC timecode indices in the source
This commit is contained in:
parent
a5c9cffea3
commit
a23b634323
1 changed files with 2 additions and 2 deletions
|
@ -1125,10 +1125,10 @@ static gboolean gst_aja_src_configure(GstAjaSrc *self) {
|
|||
|
||||
switch (self->timecode_index) {
|
||||
case GST_AJA_TIMECODE_INDEX_VITC:
|
||||
self->tc_index = ::NTV2InputSourceToTimecodeIndex(input_source, false);
|
||||
self->tc_index = ::NTV2InputSourceToTimecodeIndex(input_source, true);
|
||||
break;
|
||||
case GST_AJA_TIMECODE_INDEX_ATC_LTC:
|
||||
self->tc_index = ::NTV2InputSourceToTimecodeIndex(input_source, true);
|
||||
self->tc_index = ::NTV2InputSourceToTimecodeIndex(input_source, false);
|
||||
break;
|
||||
case GST_AJA_TIMECODE_INDEX_LTC1:
|
||||
self->tc_index = ::NTV2_TCINDEX_LTC1;
|
||||
|
|
Loading…
Reference in a new issue