forked from len0rd/rockbox
mpegplayer seek tweak: Have video keep the time and duration of the last decoded frame up to date at all times. Make sure streams that have reported and EOS condition are placed back on active list when seeking which it seems is the cause of a video glitch where the initial frame may be presented after a seek but video playback wouldn't restart. Set logical seek time to video start in the parser after after initial load.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15995 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ee71d8770b
commit
c898630279
3 changed files with 59 additions and 59 deletions
|
@ -1141,6 +1141,8 @@ int parser_init_stream(void)
|
|||
str_parser.start_pts = video_str.start_pts;
|
||||
str_parser.end_pts = video_str.end_pts;
|
||||
}
|
||||
|
||||
str_parser.last_seek_time = str_parser.start_pts;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue