[vlc-devel] commit: mpga decoder: modify input ES format with layer ( Rafaël Carré )

git version control git at videolan.org
Sat Jan 23 16:44:58 CET 2010


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Fri Jan 22 14:40:59 2010 +0100| [8f4a554c7b8c7333a18d8ac8893350e48dc5aad3] | committer: Rafaël Carré 

mpga decoder: modify input ES format with layer

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

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

diff --git a/modules/codec/mpeg_audio.c b/modules/codec/mpeg_audio.c
index 6815abf..8d17e84 100644
--- a/modules/codec/mpeg_audio.c
+++ b/modules/codec/mpeg_audio.c
@@ -285,6 +285,8 @@ static void *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
                                             &p_sys->i_max_frame_size,
                                             &p_sys->i_layer );
 
+            p_dec->fmt_in.i_profile = p_sys->i_layer;
+
             if( p_sys->i_frame_size == -1 )
             {
                 msg_Dbg( p_dec, "emulated startcode" );




More information about the vlc-devel mailing list