reinitialize on aspect change,
authorIvan Kalvachev <ikalvachev@gmail.com>
Sun, 3 Apr 2005 17:34:31 +0000 (17:34 +0000)
committerIvan Kalvachev <ikalvachev@gmail.com>
Sun, 3 Apr 2005 17:34:31 +0000 (17:34 +0000)
required for dvb aspect changes

Originally committed as revision 4102 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mpeg12.c

index 1af8c3b..5022f48 100644 (file)
@@ -1981,7 +1981,7 @@ static int mpeg_decode_postinit(AVCodecContext *avctx){
        (s1->mpeg_enc_ctx_allocated == 0)|| 
         avctx->coded_width  != s->width ||
         avctx->coded_height != s->height||
-//      s1->save_aspect_info != avctx->aspect_ratio_info||
+        s1->save_aspect_info != s->aspect_ratio_info||
         0)
     {