|
Task Description
This patch adds the following functionality to the mpegplayer plugin:
Start up menu for control of movie playback:
The startup menu allows for control where the video files are started. The user can select to play the movie from the beginning, resume based on a bookmark, or select a time in minutes to begin. A slider function has been added to aid in time selection. Additionally, a thumbnail is actively drawn that follows the slider position to show the user visually the position in the movie.
Resume feature:
The resume feature incorporates a circular buffer of 3 movie titles and resume times stored inside the mpegplayer.cfg file. When selecting a movie title, the .cfg file is checked for a resume time on that title, then a startup menu will allow you to play the movie from the beginning or resume (time of 0 if not found) based on the bookmark. The resume bookmark is updated with the last movie start time or the last exit time (not movie ending), whichever occurs last. It the title is not in the .cfg file, a new entry is made in place of the oldest resume entry.
Set start time:
The startup menu allows the user to select a start time to begin play. By using a slider widget to select a number of minutes into the file, a thumbnail of the movie frame at that time will be displayed. Upon selecting the thumbnail of choice the movie will start playback from that time.
NOTES:
This patch has been tested on the Sandisk Sansa e200 series device, the ipod simulator, and the gigabeat simulator.
Please post results of other platforms.
This patch has been written by: John S. Gwynne Brian J. Morey
|