diff options
author | Johns <johns98@gmx.net> | 2011-12-08 20:50:32 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2011-12-08 20:50:32 +0100 |
commit | e1d8609143bc661b9ad84c91abb815ca0e9f9e36 (patch) | |
tree | 3b3b877a38534b9c3f15d91c1ec7cbbd1fc0afbe /softhddevice.cpp | |
parent | 74c509a3e0e1a9e422d00b24c4596d770b9e062b (diff) | |
download | vdr-plugin-softhddevice-e1d8609143bc661b9ad84c91abb815ca0e9f9e36.tar.gz vdr-plugin-softhddevice-e1d8609143bc661b9ad84c91abb815ca0e9f9e36.tar.bz2 |
Pass audio PTS to codec.
Correct PTS extraction and pass it to codec module.
C++ destructor calls C function.
Fix spuDecoder is used uninitialized.
Diffstat (limited to 'softhddevice.cpp')
-rw-r--r-- | softhddevice.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/softhddevice.cpp b/softhddevice.cpp index 532b5dd..9e011ed 100644 --- a/softhddevice.cpp +++ b/softhddevice.cpp @@ -219,7 +219,7 @@ class cSoftOsdProvider:public cOsdProvider cSoftOsdProvider(void); }; -cOsd *cSoftOsdProvider::Osd; +cOsd *cSoftOsdProvider::Osd; ///< single osd /** ** Create a new OSD. @@ -330,6 +330,8 @@ class cSoftHdDevice:public cDevice cSoftHdDevice::cSoftHdDevice(void) { dsyslog("[softhddev]%s\n", __FUNCTION__); + + spuDecoder = NULL; } cSoftHdDevice::~cSoftHdDevice(void) @@ -577,6 +579,8 @@ cPluginSoftHdDevice::~cPluginSoftHdDevice(void) { // Clean up after yourself! dsyslog("[softhddev]%s:\n", __FUNCTION__); + + ::SoftHdDeviceExit(); } const char *cPluginSoftHdDevice::Version(void) |