Commit 63978149 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/mpegts: reset last_version on seeking

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 12f7253d
......@@ -2369,6 +2369,8 @@ static int handle_packets(MpegTSContext *ts, int64_t nb_packets)
av_buffer_unref(&pes->buffer);
pes->data_index = 0;
pes->state = MPEGTS_SKIP; /* skip until pes header */
} else if (ts->pids[i]->type == MPEGTS_SECTION) {
ts->pids[i]->u.section_filter.last_ver = -1;
}
ts->pids[i]->last_cc = -1;
ts->pids[i]->last_pcr = -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment