Skip to content

Commit

Permalink
Fix compile errors when building for android.
Browse files Browse the repository at this point in the history
  • Loading branch information
bennettpeter committed Dec 4, 2019
1 parent fae37d2 commit db5b82b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/mythplayer.cpp
Expand Up @@ -4264,7 +4264,7 @@ void MythPlayer::ClearBeforeSeek(uint64_t Frames)
MythCodecID codec = decoder ? decoder->GetVideoCodecID() : kCodec_NONE;
decoder_change_lock.unlock();
if (codec_is_mediacodec(codec))
videoOutput->DiscardFrames(true);
videoOutput->DiscardFrames(true, true);
#else
Q_UNUSED(Frames);
#endif
Expand Down
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/mythplayer.h
Expand Up @@ -608,7 +608,7 @@ class MTV_PUBLIC MythPlayer
// Private seeking stuff
void WaitForSeek(uint64_t frame, uint64_t seeksnap_wanted);
void ClearAfterSeek(bool clearvideobuffers = true);
static void ClearBeforeSeek(uint64_t Frames);
void ClearBeforeSeek(uint64_t Frames);

// Private chapter stuff
virtual bool DoJumpChapter(int chapter);
Expand Down
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/videodisplayprofile.cpp
Expand Up @@ -1159,7 +1159,7 @@ void VideoDisplayProfile::CreateProfiles(const QString &HostName)
{
(void) QObject::tr("MediaCodec Normal",
"Sample: MediaCodec Normal");
groupid = CreateProfileGroup("MediaCodec Normal", hostname);
groupid = CreateProfileGroup("MediaCodec Normal", HostName);
CreateProfile(groupid, 1, "", "", "",
"mediacodec-dec", 4, true, "opengl-yv12",
"shader:driver:medium", "shader:driver:medium");
Expand Down

0 comments on commit db5b82b

Please sign in to comment.