[mythtv-commits] Ticket #5042: User jobs delayed by transcode delay
MythTV
mythtv at cvs.mythtv.org
Thu Mar 27 01:49:31 UTC 2008
#5042: User jobs delayed by transcode delay
------------------------------------+---------------------------------------
Reporter: Scott.Atkins at gmail.com | Owner: cpinkham
Type: defect | Status: assigned
Priority: minor | Milestone: unknown
Component: mythtv | Version: unknown
Severity: medium | Resolution:
Mlocked: 0 |
------------------------------------+---------------------------------------
Comment(by Scott.Atkins at gmail.com):
Replying to [comment:4 anonymous]:
> I believe the proper solution is to just make JobQueue::GetJobsInQueue()
sort the list by schedruntime instead of inserttime. JobQueue::QueueJob()
uses the current time for the schedruntime if a runtime is not passed in,
so it's the same as if we set schedruntime to now() in the SQL like we do
for inserttime.
>
> If you want to test this, just change the "ORDER BY j.inserttime,
j.chanid, j.id;" in the first SQL statement in JobQueue::GetJobsInQueue()
to "ORDER BY j.schedruntime, j.chanid, j.id;" and that should fix the
issue.
This would require a change to the comm flag after transcoding so that a
date and time were used to ensure proper processing order; and of course
my patch gets at the two other issues I mentioned (or at least it should,
like I said, I don't have a dev environment set up).
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/5042#comment:6>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list