mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Added clearing the TS buffers in cDevice::Detach()
This commit is contained in:
parent
70ec0dfa1b
commit
d500f17d50
@ -1488,6 +1488,7 @@ Marco Schl
|
|||||||
to avoid unnecessary OSD access
|
to avoid unnecessary OSD access
|
||||||
for changing cDvbDevice::GrabImage() to use V4L2
|
for changing cDvbDevice::GrabImage() to use V4L2
|
||||||
for adding a missing Detach() in cTransfer::Activate()
|
for adding a missing Detach() in cTransfer::Activate()
|
||||||
|
for adding clearing the TS buffers in cDevice::Detach()
|
||||||
|
|
||||||
Jürgen Schmitz <j.schmitz@web.de>
|
Jürgen Schmitz <j.schmitz@web.de>
|
||||||
for reporting a bug in displaying the current channel when switching via the SVDRP
|
for reporting a bug in displaying the current channel when switching via the SVDRP
|
||||||
|
1
HISTORY
1
HISTORY
@ -5928,3 +5928,4 @@ Video Disk Recorder Revision History
|
|||||||
- Fixed returning complete PES packets in cTsToPes::GetPes() (thanks to Reinhard
|
- Fixed returning complete PES packets in cTsToPes::GetPes() (thanks to Reinhard
|
||||||
Nissl).
|
Nissl).
|
||||||
- Added a missing Detach() in cTransfer::Activate() (thanks to Marco Schlüßler).
|
- Added a missing Detach() in cTransfer::Activate() (thanks to Marco Schlüßler).
|
||||||
|
- Added clearing the TS buffers in cDevice::Detach() (thanks to Marco Schlüßler).
|
||||||
|
3
device.c
3
device.c
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* 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"
|
#include "device.h"
|
||||||
@ -1098,6 +1098,7 @@ void cDevice::Detach(cPlayer *Player)
|
|||||||
dvbSubtitleConverter = NULL;
|
dvbSubtitleConverter = NULL;
|
||||||
SetPlayMode(pmNone);
|
SetPlayMode(pmNone);
|
||||||
SetVideoDisplayFormat(eVideoDisplayFormat(Setup.VideoDisplayFormat));
|
SetVideoDisplayFormat(eVideoDisplayFormat(Setup.VideoDisplayFormat));
|
||||||
|
PlayTs(NULL, 0);
|
||||||
Audios.ClearAudio();
|
Audios.ClearAudio();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user