[mythtv] [PATCH] delete old recordings after transcode
Isaac Richards
ijr at po.cwru.edu
Sat Sep 20 23:31:27 EDT 2003
On Saturday 20 September 2003 09:44 am, Geoffrey Hausheer wrote:
> Here's a patch to enable deleting old programs after transcoding. It
> adds a switch in 'setup' that lets you override the default behaviour and
> keep the old programs (useful if you want to save both the mpeg2 and
> mpeg4 versions)
This:
> - // unlink(filename);
> rename (tmpfile, filename);
> + if (! gContext->GetNumSetting("SaveTranscoding", 0))
> + unlink(filename);
doesn't look right to me.. filename would be the new transcoded file when the
unlink is called, right?
Isaac
More information about the mythtv-dev
mailing list