Skip to content
Browse files

Only need a video track for duration/position info so remove MHEG check.

Refs #9570.
(cherry picked from commit 98286fe)
  • Loading branch information...
1 parent 4a8c889 commit 3d55e51435bd58be91312a30453ee3cf588a9e3c @tralph tralph committed Feb 12, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 mythtv/libs/libmythtv/mythplayer.cpp
View
4 mythtv/libs/libmythtv/mythplayer.cpp
@@ -4242,7 +4242,7 @@ void MythPlayer::calcSliderPos(osdInfo &info, bool paddedFields)
int playbackLen = totalDuration;
- if (totalDuration == 0 || interactiveTV || noVideoTracks)
+ if (totalDuration == 0 || noVideoTracks)
playbackLen = totalLength;
if (livetv && player_ctx->tvchain)
@@ -4261,7 +4261,7 @@ void MythPlayer::calcSliderPos(osdInfo &info, bool paddedFields)
islive = true;
}
- float secsplayed = (interactiveTV || noVideoTracks) ?
+ float secsplayed = noVideoTracks ?
(float)(framesPlayed / video_frame_rate) :
(float)(disp_timecode / 1000.f);

0 comments on commit 3d55e51

Please sign in to comment.
Something went wrong with that request. Please try again.