From 2dedb65816c2ebe5a302400227ab478dbd2a4c81 Mon Sep 17 00:00:00 2001
From: Jean-Yves Avenard <jyavenard@mythtv.org>
Date: Mon, 29 Jul 2013 00:04:24 +1000
Subject: [PATCH] Fixes #11710
This will revert to the behaviour prior to c13683f20bb9, when we aren't watching a recording
---
mythtv/libs/libmythtv/mythplayer.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mythtv/libs/libmythtv/mythplayer.cpp b/mythtv/libs/libmythtv/mythplayer.cpp
index 6dd322f..5ae6e5a 100644
a
|
b
|
uint64_t MythPlayer::TranslatePositionFrameToMs(uint64_t position, |
4917 | 4917 | bool use_cutlist) const |
4918 | 4918 | { |
4919 | 4919 | float frameRate = GetFrameRate(); |
4920 | | if (position == (uint64_t)-1) |
| 4920 | if (player_ctx->recorder && position == (uint64_t)-1) |
4921 | 4921 | { |
4922 | 4922 | float recorderFrameRate = player_ctx->recorder->GetFrameRate(); |
4923 | 4923 | if (recorderFrameRate > 0) |