splitmuxsink: Fix if condition in drop-frame timecode wrap-around
Was previously: if ( x | y && a == b). Changed it into if ((x & y) && (a == b)).
This commit is contained in:
parent
1219712da0
commit
faee020994
@ -1199,8 +1199,8 @@ calculate_next_max_timecode (GstSplitMuxSink * splitmux,
|
||||
day_in_ns - cur_tc_time + target_tc_time +
|
||||
splitmux->fragment_start_time;
|
||||
|
||||
if (cur_tc->config.flags | GST_VIDEO_TIME_CODE_FLAGS_DROP_FRAME &&
|
||||
cur_tc->config.fps_d == 1001) {
|
||||
if ((cur_tc->config.flags & GST_VIDEO_TIME_CODE_FLAGS_DROP_FRAME) &&
|
||||
(cur_tc->config.fps_d == 1001)) {
|
||||
/* Checking fps_d is probably unneeded, but better safe than sorry
|
||||
* (e.g. someone accidentally set a flag) */
|
||||
guint frames_of_daily_jam;
|
||||
|
Loading…
x
Reference in New Issue
Block a user