diff options
author | Teruaki Kawashima <teru@rockbox.org> | 2010-11-26 12:32:00 +0000 |
---|---|---|
committer | Teruaki Kawashima <teru@rockbox.org> | 2010-11-26 12:32:00 +0000 |
commit | 043ebca136cfb38fc9ff1610540100729b4c96db (patch) | |
tree | 3f12b7aced03d439223ee14a65e1cf7e45c44b1b /apps/plugins/mpegplayer/video_thread.c | |
parent | b397fe5ae373e3b62fee9150ab786c344c2084cd (diff) | |
download | rockbox-043ebca136cfb38fc9ff1610540100729b4c96db.tar.gz rockbox-043ebca136cfb38fc9ff1610540100729b4c96db.zip |
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
Diffstat (limited to 'apps/plugins/mpegplayer/video_thread.c')
-rw-r--r-- | apps/plugins/mpegplayer/video_thread.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/mpegplayer/video_thread.c b/apps/plugins/mpegplayer/video_thread.c index 8feacbdef2..4ccdc8b844 100644 --- a/apps/plugins/mpegplayer/video_thread.c +++ b/apps/plugins/mpegplayer/video_thread.c | |||
@@ -503,6 +503,12 @@ static void video_thread_msg(struct video_thread_data *td) | |||
503 | reply = true; | 503 | reply = true; |
504 | break; | 504 | break; |
505 | 505 | ||
506 | case STREAM_CLOSE: | ||
507 | vo_cleanup(); | ||
508 | mpeg2_close(td->mpeg2dec); | ||
509 | reply = true; | ||
510 | break; | ||
511 | |||
506 | case VIDEO_DISPLAY_IS_VISIBLE: | 512 | case VIDEO_DISPLAY_IS_VISIBLE: |
507 | reply = vo_is_visible(); | 513 | reply = vo_is_visible(); |
508 | break; | 514 | break; |