diff options
Diffstat (limited to 'media/libstagefright/rtsp/ARTPSource.cpp')
-rw-r--r-- | media/libstagefright/rtsp/ARTPSource.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/media/libstagefright/rtsp/ARTPSource.cpp b/media/libstagefright/rtsp/ARTPSource.cpp index ed68790..d7c3bd6 100644 --- a/media/libstagefright/rtsp/ARTPSource.cpp +++ b/media/libstagefright/rtsp/ARTPSource.cpp @@ -23,6 +23,7 @@ #include "AAMRAssembler.h" #include "AAVCAssembler.h" #include "AH263Assembler.h" +#include "AMPEG2TSAssembler.h" #include "AMPEG4AudioAssembler.h" #include "AMPEG4ElementaryAssembler.h" #include "ARawAudioAssembler.h" @@ -73,6 +74,8 @@ ARTPSource::ARTPSource( mIssueFIRRequests = true; } else if (ARawAudioAssembler::Supports(desc.c_str())) { mAssembler = new ARawAudioAssembler(notify, desc.c_str(), params); + } else if (!strncasecmp(desc.c_str(), "MP2T/", 5)) { + mAssembler = new AMPEG2TSAssembler(notify, desc.c_str(), params); } else { TRESPASS(); } |