summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-08-10 13:00:52 -0700
committerAndreas Huber <andih@google.com>2010-08-10 13:48:53 -0700
commiteaf0e0786c4c21d6c63d8f1f4515cb2a5311493b (patch)
tree4c75657b1f941e304c07482510d3c3bf1c5bf53e /media
parent701019013dfd15745abf245449c3e17d78bd9570 (diff)
downloadframeworks_av-eaf0e0786c4c21d6c63d8f1f4515cb2a5311493b.zip
frameworks_av-eaf0e0786c4c21d6c63d8f1f4515cb2a5311493b.tar.gz
frameworks_av-eaf0e0786c4c21d6c63d8f1f4515cb2a5311493b.tar.bz2
Remove some obsolete code.
Change-Id: Ic4d21afe3721173d48db44b8ee4f836deee017ad
Diffstat (limited to 'media')
-rw-r--r--media/libstagefright/AwesomePlayer.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/media/libstagefright/AwesomePlayer.cpp b/media/libstagefright/AwesomePlayer.cpp
index b16a136..efdad43 100644
--- a/media/libstagefright/AwesomePlayer.cpp
+++ b/media/libstagefright/AwesomePlayer.cpp
@@ -854,18 +854,6 @@ void AwesomePlayer::setVideoSource(sp<MediaSource> source) {
status_t AwesomePlayer::initVideoDecoder() {
uint32_t flags = 0;
-#if 0
- if (mRTPSession != NULL) {
- // XXX hack.
-
- const char *mime;
- CHECK(mVideoTrack->getFormat()->findCString(kKeyMIMEType, &mime));
- if (!strcasecmp(mime, MEDIA_MIMETYPE_VIDEO_AVC)) {
- flags |= OMXCodec::kPreferSoftwareCodecs;
- }
- }
-#endif
-
mVideoSource = OMXCodec::Create(
mClient.interface(), mVideoTrack->getFormat(),
false, // createEncoder