mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-04 22:48:54 +00:00
asfdemux: use the right accurate field
Remove accurate variable and its faulty use because the real variable is an instance variable.
This commit is contained in:
parent
d71973cc4c
commit
0fc6f338dc
1 changed files with 1 additions and 2 deletions
|
@ -509,7 +509,6 @@ gst_asf_demux_handle_seek_event (GstASFDemux * demux, GstEvent * event)
|
|||
GstFormat format;
|
||||
gboolean only_need_update;
|
||||
gboolean keyunit_sync;
|
||||
gboolean accurate;
|
||||
gboolean flush;
|
||||
gdouble rate;
|
||||
gint64 cur, stop;
|
||||
|
@ -626,7 +625,7 @@ gst_asf_demux_handle_seek_event (GstASFDemux * demux, GstEvent * event)
|
|||
} else {
|
||||
/* Hackety hack, this sucks. We just seek to an earlier position
|
||||
* and let the sinks throw away the stuff before the segment start */
|
||||
if (flush && (accurate || keyunit_sync)) {
|
||||
if (flush && (demux->accurate || keyunit_sync)) {
|
||||
seek_time -= 5 * GST_SECOND;
|
||||
if (seek_time < 0)
|
||||
seek_time = 0;
|
||||
|
|
Loading…
Reference in a new issue