Skip to content
This repository has been archived by the owner on Apr 15, 2023. It is now read-only.

pvr: fix seek for recordings #85

Merged
merged 1 commit into from
May 7, 2011
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 0 additions & 6 deletions xbmc/cores/dvdplayer/DVDPlayer.cpp
Expand Up @@ -3644,12 +3644,6 @@ void CDVDPlayer::UpdatePlayState(double timeout)
{
m_State.canrecord = input->CanRecord();
m_State.recording = input->IsRecording();

if(input->GetTotalTime() > 0)
{
m_State.time = input->GetStartTime();
m_State.time_total = input->GetTotalTime();
}
}

m_State.file_position = m_pInputStream->Seek(0, SEEK_CUR);
Expand Down
3 changes: 2 additions & 1 deletion xbmc/pvr/PVRGUIInfo.cpp
Expand Up @@ -702,7 +702,8 @@ void CPVRGUIInfo::UpdatePlayingTag(void)
}
else if (g_PVRClients->GetPlayingRecording(&recording))
{
m_iDuration = recording.GetDuration();
m_playingEpgTag = NULL;
m_iDuration = recording.GetDuration() * 60 * 1000;
}
}

Expand Down