summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/AwesomePlayer.cpp
diff options
context:
space:
mode:
authorSuresh Choudhary <sureshc@nvidia.com>2013-07-30 19:00:10 +0530
committerAdam Hampson <ahampson@google.com>2013-08-09 13:36:15 -0700
commit34242ac93467fc364bec435bf961283cd3d6ba0b (patch)
tree9ce8d53e1c4645f1e20f78e94b721d7354c03c93 /media/libstagefright/AwesomePlayer.cpp
parent46910bdc57c35ac36bd4adcbb76f4f3a590e3f21 (diff)
downloadframeworks_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.cpp3
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.