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

Commit 8437f4e9 authored by Ram Mohan M's avatar Ram Mohan M Committed by Pawin Vongmasa
Browse files

Bug fix: timestamp deviation fail test

In mpeg2/avc/hevc decoder, after resolution change, old timestamps
are still retained by the plugin. In mpeg2 decoder these old timestamps
are being sent for the new sequence. This is corrected.

Test: Small CtsMediaTestCases
Bug: 62273493

Change-Id: Ie464e3b48df6c8f21b1dbb9d45cb3726d53285ca
parent cc12f885
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -644,6 +644,7 @@ void SoftAVC::onQueueFilled(OMX_U32 portIndex) {
                handlePortSettingsChange(&portWillReset, width, height);
                if (portWillReset) {
                    resetDecoder();
                    resetPlugin();
                    return;
                }
            } else if (mUpdateColorAspects) {
+1 −0
Original line number Diff line number Diff line
@@ -635,6 +635,7 @@ void SoftHEVC::onQueueFilled(OMX_U32 portIndex) {

                if (portWillReset) {
                    resetDecoder();
                    resetPlugin();
                    return;
                }
            } else if (mUpdateColorAspects) {
+1 −0
Original line number Diff line number Diff line
@@ -752,6 +752,7 @@ void SoftMPEG2::onQueueFilled(OMX_U32 portIndex) {

                if (portWillReset) {
                    resetDecoder();
                    resetPlugin();
                    return;
                }
            } else if (mUpdateColorAspects) {