[MPlayer-dev-eng] [PATCH] Fix MP4A-LATM over rtsp

Gianluigi Tiesi mplayer at netfarm.it
Fri Feb 16 05:43:58 CET 2007


On Fri, Feb 16, 2007 at 02:35:22AM +0100, Carl Eugen Hoyos wrote:
> Hi!
> 
> Attached patch (stolen from vlc) fixes MP4A-LATM over rtsp.
> Sample stream:
> rtsp://68.251.168.13/thisislove.3gp
> 
> Please review and apply, Carl Eugen
> 

> @@ -193,6 +193,8 @@
>        = parseStreamMuxConfigStr(subsession->fmtp_config(),
>  				codecdata_len);
>      sh_audio->codecdata_len = codecdata_len;
> +    //faad doesn't understand LATM's data length field, so omit it
> +    ((MPEG4LATMAudioRTPSource*)subsession->rtpSource())->omitLATMDataLengthField();
>    } else if (strcmp(subsession->codecName(), "MPEG4-GENERIC") == 0) {
>      wf->wFormatTag = sh_audio->format = mmioFOURCC('m','p','4','a');
>      // For the codec to work correctly, it needs "AudioSpecificConfig"


I really don't have svn write access, but I doubt this patch can be
accepted with at least specifing which file to patch ^^

Regards

-- 
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/



More information about the MPlayer-dev-eng mailing list