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

Petri Hintukainen git at videolan.org
Tue Dec 1 13:40:54 CET 2015


vlc | branch: master | Petri Hintukainen <phintuka at gmail.com> | Tue Dec  1 11:36:39 2015 +0200| [d5bf3a641a1c31f3eae533c07508dda607ef9bc1] | committer: Jean-Baptiste Kempf

bluray: signal EOF at the end of title when playing without menus

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d5bf3a641a1c31f3eae533c07508dda607ef9bc1
---

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

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 2135639..3f330c2 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -2139,6 +2139,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;
     }
 



More information about the vlc-commits mailing list