diff options
Diffstat (limited to 'demux/demux.c')
-rw-r--r-- | demux/demux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/demux/demux.c b/demux/demux.c index 2ef95127dc..928aabf8bb 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -3460,7 +3460,8 @@ static bool queue_seek(struct demux_internal *in, double seek_pts, int flags, // Process possibly cached packets. if (in->back_demuxing) { - ds->back_seek_pos = seek_pts; + if (ds->back_seek_pos == MP_NOPTS_VALUE) + ds->back_seek_pos = seek_pts; back_demux_see_packets(in->streams[n]->ds); } |