[vlc-devel] commit: Sort-of RTSP VOD: accept MP3 as MPEG Audio ( Rémi Denis-Courmont )
git version control
git at videolan.org
Wed Jul 2 20:04:03 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Wed Jul 2 21:05:48 2008 +0300| [ea4acee144c17cca9df1e9c06e8562d616e43773]
Sort-of RTSP VOD: accept MP3 as MPEG Audio
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ea4acee144c17cca9df1e9c06e8562d616e43773
---
modules/misc/rtsp.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/misc/rtsp.c b/modules/misc/rtsp.c
index d590c9a..c31a4bd 100644
--- a/modules/misc/rtsp.c
+++ b/modules/misc/rtsp.c
@@ -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;
More information about the vlc-devel
mailing list