[mythtv] [mythtv-commits] Ticket #7315: mythtranscode doesnt die after lossless transcoding to cut out ads

Brooks Whiteford brooks at whitefordsound.com
Sat Jan 30 02:21:39 UTC 2010


On 1/29/10, Jim Stichnoth <stichnot at gmail.com> wrote:
> On Thu, Jan 28, 2010 at 12:36 PM, MythTV <mythtv at cvs.mythtv.org> wrote:
>> #7315: mythtranscode doesnt die after lossless transcoding to cut out ads
>>
>> Comment(by mdean):
>>
>>  I think the proper fix is to just remove all of the slow delete code in
>>  mythtranscode and either send a message to the backend to have it delete
>>  the file or implement a solution similar to #6376 .
>>
>> Ticket URL: <http://svn.mythtv.org/trac/ticket/7315#comment:21>
>
> I agree that this is ultimately the best fix.  The current use of
> fork() should be avoided since the child process doesn't inherit any
> of the other threads, leading to lots of potential problems, such as
> waiting forever for a nonexistent thread to quit.
>
> In the meantime, why don't we simply disable the fork() call?  We
> already spent several minutes transcoding the file, would it really
> hurt to wait another minute per GB to slow-delete the file before
> moving on to the next job in the queue?
>
> Jim
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>

-- 
Sent from my mobile device


More information about the mythtv-dev mailing list