Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Smart preview pixmap offset.
Calculate the default preview pixmap offset, taking into account program duration and actual recording start time (including start early and time to record before start of show), as well as commercial flag list and cut list. Removes redundant MythXML code that calculated the default offset and instead relies on the code in the preview generator. This, plus the recent changes to MythWeb, means there's only one location in MythTV where the default preview pixmap offset is calculated. Removes the PreviewPixmapOffset setting, which is no longer useful, now that each recording gets a customized offset. In my testing, the new algorithm was significantly more reliable at finding good previews than the one-size-fits-all setting we used previously (whether at the default value or "tuned"), which used the exact same offset for every recording. git-svn-id: http://svn.mythtv.org/svn/trunk@23993 7dbf422c-18fa-0310-86e9-fd20926502f2
- Loading branch information
Showing
4 changed files
with
37 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters