[vlc-devel] commit: libmpeg2: Print the debug message if decoder was reset ( Marian Ďurkovič )

git version control git at videolan.org
Sat Sep 19 08:47:12 CEST 2009


vlc | branch: master | Marian Ďurkovič <md at bts.sk> | Sat Sep 19 08:46:32 2009 +0200| [28726d573608afbc928745ec91cf659196215100] | committer: Marian Ďurkovič 

libmpeg2: Print the debug message if decoder was reset

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=28726d573608afbc928745ec91cf659196215100
---

 modules/codec/libmpeg2.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/codec/libmpeg2.c b/modules/codec/libmpeg2.c
index e88f283..ef20994 100644
--- a/modules/codec/libmpeg2.c
+++ b/modules/codec/libmpeg2.c
@@ -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++ )
             {




More information about the vlc-devel mailing list