[vlc-devel] [PATCH] bluray: signal EOF at the end of title when playing without menus

Petri Hintukainen phintuka at gmail.com
Tue Dec 1 10:36:39 CET 2015


---
 modules/access/bluray.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index c7dbae7..a52d58e 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -2134,6 +2134,9 @@ static int blurayDemux(demux_t *p_demux)
             msg_Err(p_demux, "bluray: stopping playback after fatal error\n");
             return VLC_DEMUXER_EGENERIC;
         }
+        if (!p_sys->b_menu) {
+            return VLC_DEMUXER_EOF;
+        }
         return VLC_DEMUXER_SUCCESS;
     }
 
-- 
2.5.0



More information about the vlc-devel mailing list