Commit a4c78e0f authored by Jean-Paul Saman's avatar Jean-Paul Saman

Playing 3GPP audio only LATM AAC/HE-AAC streams. Patch by Ross Finalayson

parent 2310963d
/***************************************************************************** /*****************************************************************************
* livedotcom.cpp : live.com support. * livedotcom.cpp : LIVE555 Streaming Media support.
***************************************************************************** *****************************************************************************
* Copyright (C) 2003-2005 the VideoLAN team * Copyright (C) 2003-2005 the VideoLAN team
* $Id$ * $Id$
...@@ -509,6 +509,12 @@ static int Open ( vlc_object_t *p_this ) ...@@ -509,6 +509,12 @@ static int Open ( vlc_object_t *p_this )
memcpy( tk->fmt.p_extra, p_extra, i_extra ); memcpy( tk->fmt.p_extra, p_extra, i_extra );
delete[] p_extra; delete[] p_extra;
} }
#if LIVEMEDIA_LIBRARY_VERSION_INT >= 1141257600
/* Because the "faad" decoder does not handle the LATM data length field
at the start of each returned LATM frame, tell the RTP source to omit it. */
((MPEG4LATMAudioRTPSource*)sub->rtpSource())->omitLATMDataLengthField();
#endif
} }
else if( !strcmp( sub->codecName(), "MPEG4-GENERIC" ) ) else if( !strcmp( sub->codecName(), "MPEG4-GENERIC" ) )
{ {
......
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