]> git.sesse.net Git - vlc/blobdiff - modules/codec/mpeg_audio.c
mpga decoder: modify input ES format with layer
[vlc] / modules / codec / mpeg_audio.c
index 6815abf64eaedfb4355de9b2bc7c47e3b3ef0922..8d17e842d42aafdfa6a0babf0bb4cac05c310b45 100644 (file)
@@ -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" );