[mythtv-commits] Ticket #9556: [PATCH] Updated enhanced cutpoint edit functionality patch
MythTV
noreply at mythtv.org
Fri May 11 14:18:44 UTC 2012
#9556: [PATCH] Updated enhanced cutpoint edit functionality patch
------------------------------------------+-----------------------------
Reporter: Bill Stuff <billstuff2001@…> | Owner: stichnot
Type: Patch - Feature | Status: accepted
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
------------------------------------------+-----------------------------
Changes (by stichnot):
* owner: mdean => stichnot
* status: assigned => accepted
Comment:
Attachment thumbs_v1.patch implements this concept within the existing
cutlist editor screen.
In osd.xml in the osd_program_editor window, you can define any number of
<imagetype> objects whose name starts with "thumbnail_". The rest of the
name is a floating point value that specifies where to grab a thumbnail
image, in terms of the number of edit distance "steps" away from the
current frame. Here is an example (based on a 1280x720 OSD theme size):
{{{
<imagetype name="thumbnail_-2">
<filename>images/background.png</filename>
<area>200,0,200,200</area>
<preserveaspect>true</preserveaspect>
<alpha>200</alpha>
</imagetype>
<imagetype name="thumbnail_-1">
<filename>images/background.png</filename>
<area>400,0,200,200</area>
<preserveaspect>true</preserveaspect>
<alpha>200</alpha>
</imagetype>
<imagetype name="thumbnail_1">
<filename>images/background.png</filename>
<area>680,0,200,200</area>
<preserveaspect>true</preserveaspect>
<alpha>200</alpha>
</imagetype>
<imagetype name="thumbnail_2">
<filename>images/background.png</filename>
<area>880,0,200,200</area>
<preserveaspect>true</preserveaspect>
<alpha>200</alpha>
</imagetype>
<imagetype name="thumbnail_10">
<filename>images/background.png</filename>
<area>1105,200,175,175</area>
<preserveaspect>true</preserveaspect>
<alpha>200</alpha>
</imagetype>
<imagetype name="thumbnail_-10">
<filename>images/background.png</filename>
<area>0,200,175,175</area>
<preserveaspect>true</preserveaspect>
<alpha>200</alpha>
</imagetype>
}}}
A background helper thread loads the thumbnails in the order specified.
One to-do item is to dynamically change that order to prioritize for the
frames the user likely wants to see first. Another item is to improve the
design of the thumbnail choice/size/placement.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9556#comment:5>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list