diff options
Diffstat (limited to 'softhddev.c')
-rw-r--r-- | softhddev.c | 11 |
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(); |