[mythtv-commits] Ticket #4534: mytharchive doesn't make final chapter mark when using fixed spacing
MythTV
mythtv at cvs.mythtv.org
Sat Jan 26 10:45:04 UTC 2008
#4534: mytharchive doesn't make final chapter mark when using fixed spacing
-----------------------------------+----------------------------------------
Reporter: thrantastic at gmail.com | Owner: paulh
Type: patch | Status: new
Priority: minor | Milestone: unknown
Component: mytharchive | Version: head
Severity: low | Mlocked: 0
-----------------------------------+----------------------------------------
Whenever the mythburn.py script is asked to set DVD chapter marks with a
fixed spacing, it adds one less chapter than would be expected. As an
example, consider a 24 minute video with chapter segment length of 5 min.
Mytharchive will set chapter marks at 0, 5, 10, and 15 minutes but not one
at 20 minutes as would be expected. This is because it places
floor(lengthofvideo/segment) = 4 marks when it should do
floor(lengthofvideo/segment + 1) = 5 marks. I've attached a patch that
does this.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/4534>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list