diff options
author | Suresh Choudhary <sureshc@nvidia.com> | 2013-07-30 19:00:10 +0530 |
---|---|---|
committer | Adam Hampson <ahampson@google.com> | 2013-08-09 13:36:15 -0700 |
commit | 34242ac93467fc364bec435bf961283cd3d6ba0b (patch) | |
tree | 9ce8d53e1c4645f1e20f78e94b721d7354c03c93 /media/libstagefright/AwesomePlayer.cpp | |
parent | 46910bdc57c35ac36bd4adcbb76f4f3a590e3f21 (diff) | |
download | frameworks_av-34242ac93467fc364bec435bf961283cd3d6ba0b.zip frameworks_av-34242ac93467fc364bec435bf961283cd3d6ba0b.tar.gz frameworks_av-34242ac93467fc364bec435bf961283cd3d6ba0b.tar.bz2 |
StageFright: Removes hacks for Nvidia MPEG2 decoder
Removes the NVIDIA MPEG2 decoder specific hacks in legacy code as
Nvidia HW MPEG2 decoder is enabled and tested now.
Change-Id: Ifc67e1119d9741551336753f85f9cfdfd3fc8600
Diffstat (limited to 'media/libstagefright/AwesomePlayer.cpp')
-rw-r--r-- | media/libstagefright/AwesomePlayer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/media/libstagefright/AwesomePlayer.cpp b/media/libstagefright/AwesomePlayer.cpp index bd28118..f12f4d4 100644 --- a/media/libstagefright/AwesomePlayer.cpp +++ b/media/libstagefright/AwesomePlayer.cpp @@ -1103,8 +1103,7 @@ void AwesomePlayer::initRenderer_l() { setVideoScalingMode_l(mVideoScalingMode); if (USE_SURFACE_ALLOC && !strncmp(component, "OMX.", 4) - && strncmp(component, "OMX.google.", 11) - && strcmp(component, "OMX.Nvidia.mpeg2v.decode")) { + && strncmp(component, "OMX.google.", 11)) { // Hardware decoders avoid the CPU color conversion by decoding // directly to ANativeBuffers, so we must use a renderer that // just pushes those buffers to the ANativeWindow. |