Skip to content
This repository has been archived by the owner on Dec 24, 2024. It is now read-only.

Commit

Permalink
FIX: [rkstf] Hi10P not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
koying committed Dec 14, 2014
1 parent 7149d00 commit db065ea
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,19 @@ bool CRkStageFrightVideo::Open(CDVDStreamInfo &hints)
break;
case AV_CODEC_ID_H264:
// case AV_CODEC_ID_H264MVC:
switch(hints.profile)
{
case FF_PROFILE_H264_HIGH_10:
case FF_PROFILE_H264_HIGH_10_INTRA:
case FF_PROFILE_H264_HIGH_422:
case FF_PROFILE_H264_HIGH_422_INTRA:
case FF_PROFILE_H264_HIGH_444_PREDICTIVE:
case FF_PROFILE_H264_HIGH_444_INTRA:
case FF_PROFILE_H264_CAVLC_444:
// Hi10P not supported
return false;
}

if (m_g_advancedSettings->m_stagefrightConfig.useAVCcodec == "0"
|| (m_g_advancedSettings->m_stagefrightConfig.useAVCcodec == "sd" && hints.width > 800)
|| (m_g_advancedSettings->m_stagefrightConfig.useAVCcodec == "hd" && hints.width <= 800))
Expand Down

0 comments on commit db065ea

Please sign in to comment.