[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:48:00 CEST 2009


vlc | branch: 1.0-bugfix | Marian Ďurkovič <md at bts.sk> | Sat Sep 19 08:46:32 2009 +0200| [cc0fe32a198ca6377901b9df4e87255231d00718] | committer: Marian Ďurkovič 

libmpeg2: Print the debug message if decoder was reset
(cherry picked from commit 28726d573608afbc928745ec91cf659196215100)

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

 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 1d6a436..c55a243 100644
--- a/modules/codec/libmpeg2.c
+++ b/modules/codec/libmpeg2.c
@@ -264,6 +264,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