Skip to content

Commit

Permalink
DVDVideoCodecAmlogic::Open: do not skip stream info with 'stills' fra…
Browse files Browse the repository at this point in the history
…mes if fps != 0

Skip stream if fps == 0. This will fix black screen on DVD/BD-J video menu.
  • Loading branch information
Portisch authored and cdu13a committed Jun 5, 2020
1 parent 214bd0f commit 177a7fe
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -99,7 +99,7 @@ bool CDVDVideoCodecAmlogic::Open(CDVDStreamInfo &hints, CDVDCodecOptions &option
{
if (!CServiceBroker::GetSettingsComponent()->GetSettings()->GetBool(CSettings::SETTING_VIDEOPLAYER_USEAMCODEC))
return false;
if (hints.stills || hints.width == 0)
if ((hints.stills && hints.fpsrate == 0) || hints.width == 0)
return false;

if (!aml_permissions())
Expand Down

0 comments on commit 177a7fe

Please sign in to comment.