summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-02-01 12:06:50 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2013-02-01 12:06:50 +0100
commit45f660e35894902316045782232cb5a95a971212 (patch)
tree33d43b061edbe71baf5590896728b67271001ca5 /menu.c
parent250419d2c9fce77bdd4714d0d7a0debbd893db51 (diff)
downloadvdr-45f660e35894902316045782232cb5a95a971212.tar.gz
vdr-45f660e35894902316045782232cb5a95a971212.tar.bz2
When pausing live video, the current audio and subtitle tracks are now retained
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index d7faa872..e303681d 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c 2.74 2013/01/17 14:20:08 kls Exp $
+ * $Id: menu.c 2.75 2013/02/01 12:00:10 kls Exp $
*/
#include "menu.h"
@@ -4485,6 +4485,7 @@ cString cReplayControl::fileName;
cReplayControl::cReplayControl(bool PauseLive)
:cDvbPlayerControl(fileName, PauseLive)
{
+ cDevice::PrimaryDevice()->SetKeepTracks(PauseLive);
currentReplayControl = this;
displayReplay = NULL;
marksModified = false;
@@ -4504,6 +4505,7 @@ cReplayControl::cReplayControl(bool PauseLive)
cReplayControl::~cReplayControl()
{
+ cDevice::PrimaryDevice()->SetKeepTracks(false);
Hide();
cStatus::MsgReplaying(this, NULL, fileName, false);
Stop();