mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue