Commit b73e8bd7 authored by François Cartegnie's avatar François Cartegnie 🤞 Committed by Jean-Baptiste Kempf

mux: avformat: fix generic mpga muxing

(cherry picked from commit 4f7e0764)
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent e0b5c051
......@@ -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)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment