diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-05-03 11:42:28 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-05-03 11:42:28 +0000 |
| commit | 3888875ea36538cf104fea0a69209dc12f0478ea (patch) | |
| tree | fa2bacd7ec3e6092c03f0b6dbe041fe5cee88f47 /lib/dvb/decoder.cpp | |
| parent | 4aaf147f7c30e21aae6ad264e71dab189eb15fd2 (diff) | |
| download | enigma2-3888875ea36538cf104fea0a69209dc12f0478ea.tar.gz enigma2-3888875ea36538cf104fea0a69209dc12f0478ea.zip | |
cleanup
Diffstat (limited to 'lib/dvb/decoder.cpp')
| -rw-r--r-- | lib/dvb/decoder.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/dvb/decoder.cpp b/lib/dvb/decoder.cpp index f3f9aac8..966b5927 100644 --- a/lib/dvb/decoder.cpp +++ b/lib/dvb/decoder.cpp @@ -931,15 +931,7 @@ eTSMPEGDecoder::eTSMPEGDecoder(eDVBDemux *demux, int decoder) eTSMPEGDecoder::~eTSMPEGDecoder() { - if (m_video_clip_fd >= 0) - { - if (ioctl(m_video_clip_fd, VIDEO_STOP, 1) < 0) - eDebug("VIDEO_STOP failed (%m)"); - if (ioctl(m_video_clip_fd, VIDEO_SELECT_SOURCE, VIDEO_SOURCE_DEMUX) < 0) - eDebug("VIDEO_SELECT_SOURCE DEMUX failed (%m)"); - close(m_video_clip_fd); - m_video_clip_fd = -1; - } + finishShowSinglePic(); m_vpid = m_apid = m_pcrpid = m_textpid = pidNone; m_changed = -1; setState(); |
