[mythtv] [PATCH] transcoding with cutlist fixes
Geoffrey Hausheer
ou401cru02 at sneakemail.com
Mon Aug 11 23:40:39 EDT 2003
On Mon, 11 Aug 2003 16:47:57 -0400, "Isaac Richards ijr-at-po.cwru.edu
|mythtv/1.0-Allow|" <e6kbhbk35r0t at sneakemail.com> said:
> On Monday 11 August 2003 02:47 pm, Geoffrey Hausheer wrote:
> > > You've got a couple more days yet -- the dvd stuff is _almost_ ready =)
> >
> > Okay, as promised, here is an updated transcoding patch.
>
> I've just applied this -- fixed a missing dblock->unlock() in
> transcode.cpp,
> and I'm not really sure about your enum that's being used as a bitfield
> _and_
> as normal numbers, but whatever =)
Everything seems to be working well, thanks. Here is a one-liner to
limit the number of transcoders per backend to 1 (currently it has no
limit) since the MaxTranscoders is gone now.
Index: programs/mythbackend/transcoder.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/programs/mythbackend/transcoder.cpp,v
retrieving revision 1.8
diff -u -r1.8 transcoder.cpp
--- programs/mythbackend/transcoder.cpp 11 Aug 2003 20:44:38 -0000
1.8
+++ programs/mythbackend/transcoder.cpp 12 Aug 2003 03:35:50 -0000
@@ -349,7 +349,7 @@
transData = CheckTranscodeTable(true);
CheckDoneTranscoders();
- if (transData)
+ if (transData && Transcoders.isEmpty())
{
if (!transData->useCutlist ||
!isFileInUse(transData->pinfo))
{
--
Geoffrey Hausheer
XXXXXXXXXXXXXXXXXXXXX
More information about the mythtv-dev
mailing list