]> git.sesse.net Git - vlc/commitdiff
libmpeg2: Print the debug message if decoder was reset
authorMarian Ďurkovič <md@bts.sk>
Sat, 19 Sep 2009 06:46:32 +0000 (08:46 +0200)
committerMarian Ďurkovič <md@bts.sk>
Sat, 19 Sep 2009 06:46:32 +0000 (08:46 +0200)
modules/codec/libmpeg2.c

index e88f28331d6dd09d021b2dd68aa0de883a8f678a..ef20994890462f10819388280a6378314e32efba 100644 (file)
@@ -275,6 +275,7 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
             mpeg2_custom_fbuf( p_sys->p_mpeg2dec, 1 );
 
             /* Set the first 2 reference frames */
+            p_sys->i_aspect = 0;
             GetAR( p_dec );
             for( int i = 0; i < 2; i++ )
             {