h264: reset recovery frame on seeks.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
8716c178dd
commit
a8a9844a3c
@ -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…
x
Reference in New Issue
Block a user