diff options
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; |