Loading media/codec2/sfplugin/CCodecConfig.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -1333,6 +1333,14 @@ sp<AMessage> CCodecConfig::getFormatForDomain( } } // Remove KEY_AAC_SBR_MODE from SDK message if it is outside supported range // as SDK doesn't have a way to signal default sbr mode based on profile and // requires that the key isn't present in format to signal that int sbrMode; if (msg->findInt32(KEY_AAC_SBR_MODE, &sbrMode) && (sbrMode < 0 || sbrMode > 2)) { msg->removeEntryAt(msg->findEntryByName(KEY_AAC_SBR_MODE)); } { // convert color info // move default color to color aspect if not read from the component int32_t tmp; Loading Loading
media/codec2/sfplugin/CCodecConfig.cpp +8 −0 Original line number Diff line number Diff line Loading @@ -1333,6 +1333,14 @@ sp<AMessage> CCodecConfig::getFormatForDomain( } } // Remove KEY_AAC_SBR_MODE from SDK message if it is outside supported range // as SDK doesn't have a way to signal default sbr mode based on profile and // requires that the key isn't present in format to signal that int sbrMode; if (msg->findInt32(KEY_AAC_SBR_MODE, &sbrMode) && (sbrMode < 0 || sbrMode > 2)) { msg->removeEntryAt(msg->findEntryByName(KEY_AAC_SBR_MODE)); } { // convert color info // move default color to color aspect if not read from the component int32_t tmp; Loading