summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp
diff options
context:
space:
mode:
authorBernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>2014-11-20 13:18:24 +0100
committerLajos Molnar <lajos@google.com>2014-12-09 19:48:00 -0800
commit7e45789f5fbcbe68075f57b6d17f72b7b48df546 (patch)
tree982ee79f135306f5396f31cd219003996cfd17a4 /media/libstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp
parent1767df778e20c1395afc63b3a0479bd903e7b9f0 (diff)
downloadframeworks_av-7e45789f5fbcbe68075f57b6d17f72b7b48df546.zip
frameworks_av-7e45789f5fbcbe68075f57b6d17f72b7b48df546.tar.gz
frameworks_av-7e45789f5fbcbe68075f57b6d17f72b7b48df546.tar.bz2
Fix overload of SoftVideoDecoderOMXComponent::updatePortDefinitions
An overloaded function should take the same parameters as the function it is overloading. Bug: 18639027 Change-Id: I8327fe1b363917515cf76c8f76bdbc05b2c0fbf0 Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Diffstat (limited to 'media/libstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp')
-rw-r--r--media/libstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/libstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp b/media/libstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp
index e399984..246069b 100644
--- a/media/libstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp
+++ b/media/libstagefright/codecs/m4v_h263/dec/SoftMPEG4.cpp
@@ -353,8 +353,8 @@ void SoftMPEG4::onReset() {
}
}
-void SoftMPEG4::updatePortDefinitions() {
- SoftVideoDecoderOMXComponent::updatePortDefinitions();
+void SoftMPEG4::updatePortDefinitions(bool updateCrop) {
+ SoftVideoDecoderOMXComponent::updatePortDefinitions(updateCrop);
/* We have to align our width and height - this should affect stride! */
OMX_PARAM_PORTDEFINITIONTYPE *def = &editPortInfo(kOutputPortIndex)->mDef;