Opened 14 years ago
Closed 14 years ago
#9690 closed Patch - Bug Fix (fixed)
Mythtranscode is running forever during normal MPEG2 processing (DVB-T, DVB-C)
Reported by: | Owned by: | beirdo | |
---|---|---|---|
Priority: | major | Milestone: | 0.25 |
Component: | MythTV - Mythtranscode | Version: | 0.24-fixes |
Severity: | medium | Keywords: | mythtranscode runs forever |
Cc: | Ticket locked: | no |
Description
Maybe since using QThread and QWaitCondition objects in mpeg2fix.cpp mythtranscode runs forever during normal MPEG2 processing. I've found, that the transcode process comes to the normal end and then waits for a thread that not finished so the whole process can not finish. The attached patch corrects this problem.
Attachments (1)
Change History (4)
Changed 14 years ago by
Attachment: | mythtranscode_finish.patch added |
---|
comment:1 Changed 14 years ago by
Owner: | set to beirdo |
---|---|
Status: | new → assigned |
comment:3 Changed 14 years ago by
Milestone: | unknown → 0.25 |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Fix the shutdown of mpeg2fix thread
Fixes #9690. This patch is from the ticket, with some subsequent minor cleanup by me (mplex is no longer needed as a class member). This is intended to fix the shutdown of the thread in mpeg2->mpeg2 "lossless" cutting which didn't terminate cleanly, and then we waited for it forever.
Signed-off-by: Gavin Hurlbut <ghurlbut@…>
Changeset: a08e7d04961f848396f58afb53f72d61dc86f4c8
I'll take a look at this one. I don't think the proposed fix is perfect, but it's a good start.