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

Commit 4e3c2bbc authored by Bernhard Rosenkränzer's avatar Bernhard Rosenkränzer Committed by Android Git Automerger
Browse files

am 7e45789f: Fix overload of SoftVideoDecoderOMXComponent::updatePortDefinitions

* commit '7e45789f':
  Fix overload of SoftVideoDecoderOMXComponent::updatePortDefinitions
parents 1546028a 7e45789f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ private:

    status_t initDecoder();

    virtual void updatePortDefinitions();
    virtual void updatePortDefinitions(bool updateCrop = true);
    bool handlePortSettingsChange();

    DISALLOW_EVIL_CONSTRUCTORS(SoftMPEG4);