diff options
| author | Fraxinas <andreas.frisch@multimedia-labs.de> | 2011-02-09 14:43:08 +0100 |
|---|---|---|
| committer | Fraxinas <andreas.frisch@multimedia-labs.de> | 2011-02-09 14:43:08 +0100 |
| commit | 4fd027028b9d32767201dd4e8ec34edf7aa1366e (patch) | |
| tree | a0f90e41ae952927a79bc3c2c955d6fd8aa02b6f /lib/python/Plugins/Extensions/DVDBurn | |
| parent | 6860090ddeaaa0faf18be716f3eed439808335ba (diff) | |
| download | enigma2-4fd027028b9d32767201dd4e8ec34edf7aa1366e.tar.gz enigma2-4fd027028b9d32767201dd4e8ec34edf7aa1366e.zip | |
[DVDBurn] fix rare crash condition in audio stream cleanup task
Diffstat (limited to 'lib/python/Plugins/Extensions/DVDBurn')
| -rw-r--r-- | lib/python/Plugins/Extensions/DVDBurn/Process.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Plugins/Extensions/DVDBurn/Process.py b/lib/python/Plugins/Extensions/DVDBurn/Process.py index e00dedd9..2e7435bb 100644 --- a/lib/python/Plugins/Extensions/DVDBurn/Process.py +++ b/lib/python/Plugins/Extensions/DVDBurn/Process.py @@ -174,7 +174,8 @@ class DemuxTask(Task): print "[DemuxTask::cleanup]" self.mplex_streamfiles = [ self.mplex_videofile ] for pid in self.relevantAudioPIDs: - self.mplex_streamfiles.append(self.mplex_audiofiles[pid]) + if pid in self.mplex_audiofiles: + self.mplex_streamfiles.append(self.mplex_audiofiles[pid]) print self.mplex_streamfiles if failed: |
