Commit ea4acee1 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Sort-of RTSP VOD: accept MP3 as MPEG Audio

parent 98b8aee7
......@@ -522,6 +522,7 @@ static int MediaAddES( vod_t *p_vod, vod_media_t *p_media, es_format_t *p_fmt )
p_fmt->audio.i_channels );
break;
case VLC_FOURCC( 'm', 'p', 'g', 'a' ):
case VLC_FOURCC( 'm', 'p', '3', ' ' ):
p_es->i_payload_type = 14;
asprintf( &p_es->psz_rtpmap, "MPA/%d", p_fmt->audio.i_rate );
break;
......
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