Skip to content

Commit 9fb522b

Browse files
authored
Fix DropFrame
This should not be a not. We should skip two timecode frames every minute except when on the 10's, not on the 10's This was causing scc caption insertion dropout's at 10 and 20 minutes when OBE-VOD would get stuck waiting for a 00:20:00;01 that never arrived.
1 parent 8eeead8 commit 9fb522b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

input/input.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ void increase_tc( cli_opt_t *opt, cli_timecode_t *timecode )
125125
}
126126

127127
/* 29.97 and 59.94 Drop Frame - SMPTE 12M-2008 */
128-
if( opt->drop_frame && !( timecode->min % 10 ) && timecode->sec == 0 && timecode->frame == 0 )
128+
if( opt->drop_frame && ( ( timecode->min % 10 ) != 0 ) && timecode->sec == 0 && timecode->frame == 0 )
129129
timecode->frame = 2;
130130

131131
}

0 commit comments

Comments
 (0)