demux: move comment to slightly better location

This commit is contained in:
wm4 2019-06-10 23:31:53 +02:00
parent e8ff816ccd
commit 2e3d3bbfc8
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}