Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d35498f6 authored by Andreas Huber's avatar Andreas Huber Committed by Android Git Automerger
Browse files

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

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

* commit '1a140bf6':
  Remove some obsolete code.
parents 553a333d 1a140bf6
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -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