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

Commit 15515286 authored by Praveen Chavan's avatar Praveen Chavan Committed by Linux Build Service Account
Browse files

Stagefright: video: Default thumbnail generation to hardware decoder

Prefer hardware decoder over software for better performance
and more coverage of supported content.
Eg: Software decoder may not handle interlaced content properly

Change-Id: I045ab87cb6877f3318f38c50f06d32e19595d83b
CRs-Fixed: 899714
parent 64559c9a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -489,7 +489,7 @@ VideoFrame *StagefrightMetadataRetriever::getFrameAtTime(
            mime,
            false, /* encoder */
            NULL, /* matchComponentName */
            OMXCodec::kPreferSoftwareCodecs,
            0 /* OMXCodec::kPreferSoftwareCodecs */,
            &matchingCodecs);

    for (size_t i = 0; i < matchingCodecs.size(); ++i) {