mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
Revert "queue: Fix race when calculating cur_level.time"
This reverts commit d03bd54780
.
It breaks the unit test, although it ensures that only correct values
are used for calculations. Needs to be fixed up.
https://bugzilla.gnome.org/show_bug.cgi?id=773096
This commit is contained in:
parent
c0bfb1b524
commit
cfdb97a135
1 changed files with 1 additions and 1 deletions
|
@ -546,7 +546,7 @@ update_time_level (GstQueue * queue)
|
|||
GST_LOG_OBJECT (queue, "sink %" GST_STIME_FORMAT ", src %" GST_STIME_FORMAT,
|
||||
GST_STIME_ARGS (sink_time), GST_STIME_ARGS (src_time));
|
||||
|
||||
if (sink_time >= src_time && queue->newseg_applied_to_src)
|
||||
if (sink_time >= src_time)
|
||||
queue->cur_level.time = sink_time - src_time;
|
||||
else
|
||||
queue->cur_level.time = 0;
|
||||
|
|
Loading…
Reference in a new issue