FS#8607: MPEG video playlist

Add mode to play multiple mpeg files in the same directory in the order the file browser shows.
In this mode, Mpegplayer exits after finishing the last .mpg file.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28667 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Teruaki Kawashima 2010-11-26 12:32:00 +00:00
parent b397fe5ae3
commit 043ebca136
5 changed files with 183 additions and 34 deletions

View file

@ -503,6 +503,12 @@ static void video_thread_msg(struct video_thread_data *td)
reply = true;
break;
case STREAM_CLOSE:
vo_cleanup();
mpeg2_close(td->mpeg2dec);
reply = true;
break;
case VIDEO_DISPLAY_IS_VISIBLE:
reply = vo_is_visible();
break;