am 1a140bf6: Merge "Remove some obsolete code." into gingerbread

Merge commit '1a140bf65c288fcb1458bbd694c9d6e7a567a0f5' into gingerbread-plus-aosp

* commit '1a140bf65c288fcb1458bbd694c9d6e7a567a0f5':
  Remove some obsolete code.
This commit is contained in:
Andreas Huber
2010-08-10 14:15:11 -07:00
committed by Android Git Automerger

View File

@@ -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