summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-06-10 23:31:53 +0200
committerwm4 <wm4@nowhere>2019-09-19 20:37:05 +0200
commit2e3d3bbfc820742254d82e5fc6d94e72462721cf (patch)
tree74b00f82e3825472caacf47283ca6da4dc230f46
parente8ff816ccd3c430bc4d74b37f94f10a74c79ab34 (diff)
downloadmpv-2e3d3bbfc820742254d82e5fc6d94e72462721cf.tar.bz2
mpv-2e3d3bbfc820742254d82e5fc6d94e72462721cf.tar.xz
demux: move comment to slightly better location
-rw-r--r--demux/demux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demux/demux.c b/demux/demux.c
index 928aabf8bb..5fc81ad41e 100644
--- a/demux/demux.c
+++ b/demux/demux.c
@@ -3458,10 +3458,10 @@ static bool queue_seek(struct demux_internal *in, double seek_pts, int flags,
for (int n = 0; n < in->num_streams; n++) {
struct demux_stream *ds = in->streams[n]->ds;
- // Process possibly cached packets.
if (in->back_demuxing) {
if (ds->back_seek_pos == MP_NOPTS_VALUE)
ds->back_seek_pos = seek_pts;
+ // Process possibly cached packets.
back_demux_see_packets(in->streams[n]->ds);
}