vlc | branch: master | Francois Cartegnie <fcvlc...@free.fr> | Fri Jan 19 17:03:46 2018 +0100| [4f7e07649035b5a58c1b0dae8ac1343e39166308] | committer: Francois Cartegnie
mux: avformat: fix generic mpga muxing > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4f7e07649035b5a58c1b0dae8ac1343e39166308 --- modules/demux/avformat/mux.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/demux/avformat/mux.c b/modules/demux/avformat/mux.c index 494cadc182..9500c915b4 100644 --- a/modules/demux/avformat/mux.c +++ b/modules/demux/avformat/mux.c @@ -213,6 +213,10 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input ) return VLC_EGENERIC; } } + else if( fmt->i_codec == VLC_CODEC_MPGA && fmt->i_profile == 3 ) + { + i_codec_id = AV_CODEC_ID_MP3; + } if( fmt->i_cat != VIDEO_ES && fmt->i_cat != AUDIO_ES) { _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits