mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-06 15:31:00 +00:00
h264: reset recovery frame on seeks.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
8716c178dd
commit
a8a9844a3c
1 changed files with 1 additions and 0 deletions
|
@ -2267,6 +2267,7 @@ static void flush_dpb(AVCodecContext *avctx){
|
||||||
h->s.first_field= 0;
|
h->s.first_field= 0;
|
||||||
ff_h264_reset_sei(h);
|
ff_h264_reset_sei(h);
|
||||||
ff_mpeg_flush(avctx);
|
ff_mpeg_flush(avctx);
|
||||||
|
h->recovery_frame= -1;
|
||||||
h->sync= 0;
|
h->sync= 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue