summaryrefslogtreecommitdiff
path: root/softhddev.c
diff options
context:
space:
mode:
authorJohns <johns98@gmx.net>2012-01-21 15:56:45 +0100
committerJohns <johns98@gmx.net>2012-01-21 15:56:45 +0100
commitfa27a1c73a1070b7af127695362ad0e5c424b079 (patch)
tree8f2c450accf5298b5419c2b82373fa589585cd16 /softhddev.c
parente32857a27ac74ac063507eebd3e39bb2fdee1b3e (diff)
downloadvdr-plugin-softhddevice-fa27a1c73a1070b7af127695362ad0e5c424b079.tar.gz
vdr-plugin-softhddevice-fa27a1c73a1070b7af127695362ad0e5c424b079.tar.bz2
Release Version 0.4.0.0.4.0
Diffstat (limited to 'softhddev.c')
-rw-r--r--softhddev.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/softhddev.c b/softhddev.c
index 4ddf06c..af0bd8c 100644
--- a/softhddev.c
+++ b/softhddev.c
@@ -1140,8 +1140,12 @@ static void StartXServer(void)
*/
void SoftHdDeviceExit(void)
{
- // lets hope that vdr does a good thead cleanup
- // no it doesn't do a good thread cleanup
+ // lets hope that vdr does a good thread cleanup
+
+ VideoOsdExit();
+ VideoExit();
+ AudioExit();
+
if (MyVideoDecoder) {
CodecVideoClose(MyVideoDecoder);
// FIXME: CodecDelVideoDecoder(MyVideoDecoder);
@@ -1153,9 +1157,6 @@ void SoftHdDeviceExit(void)
MyAudioDecoder = NULL;
}
- VideoOsdExit();
- VideoExit();
- AudioExit();
CodecExit();
VideoPacketExit();