summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-01-16 15:20:29 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2009-01-16 15:20:29 +0100
commitd500f17d50cd237b5d4e2e871d69a4c700273279 (patch)
tree2a59a9fc065257d1d319cadaad5132ab7cae1354 /device.c
parent70ec0dfa1bb79224349171c0b4b3e00969bcbd8e (diff)
downloadvdr-d500f17d50cd237b5d4e2e871d69a4c700273279.tar.gz
vdr-d500f17d50cd237b5d4e2e871d69a4c700273279.tar.bz2
Added clearing the TS buffers in cDevice::Detach()
Diffstat (limited to 'device.c')
-rw-r--r--device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/device.c b/device.c
index 8cd0b1e1..23db6160 100644
--- a/device.c
+++ b/device.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.c 2.5 2009/01/06 09:55:13 kls Exp $
+ * $Id: device.c 2.6 2009/01/16 15:20:21 kls Exp $
*/
#include "device.h"
@@ -1098,6 +1098,7 @@ void cDevice::Detach(cPlayer *Player)
dvbSubtitleConverter = NULL;
SetPlayMode(pmNone);
SetVideoDisplayFormat(eVideoDisplayFormat(Setup.VideoDisplayFormat));
+ PlayTs(NULL, 0);
Audios.ClearAudio();
}
}