[vlc-commits] bluray: add couple of missing libbluray events

Petri Hintukainen git at videolan.org
Fri Dec 11 14:04:01 CET 2015


vlc | branch: master | Petri Hintukainen <phintuka at gmail.com> | Fri Dec 11 14:55:20 2015 +0200| [935fdb6cc1ffcce79a34ea3cd3f4fbc65a329269] | committer: Jean-Baptiste Kempf

bluray: add couple of missing libbluray events

Avoids logging these as unhandled events.

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

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

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

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 987cbea..bb9d610 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -1969,8 +1969,12 @@ static void blurayHandleEvent(demux_t *p_demux, const BD_EVENT *e)
           p_demux->info.i_seekpoint = 0;
         p_demux->info.i_update |= INPUT_UPDATE_SEEKPOINT;
         break;
+    case BD_EVENT_PLAYMARK:
     case BD_EVENT_ANGLE:
         break;
+    case BD_EVENT_UO_MASK_CHANGED:
+        /* This event could be used to grey out unselectable items in title menu */
+        break;
     case BD_EVENT_MENU:
         p_sys->b_menu_open = e->param;
         break;
@@ -2006,6 +2010,11 @@ static void blurayHandleEvent(demux_t *p_demux, const BD_EVENT *e)
         blurayStreamSelect(p_demux, e->event, e->param);
         break;
     case BD_EVENT_IG_STREAM:
+    case BD_EVENT_SECONDARY_AUDIO:
+    case BD_EVENT_SECONDARY_AUDIO_STREAM:
+    case BD_EVENT_SECONDARY_VIDEO:
+    case BD_EVENT_SECONDARY_VIDEO_STREAM:
+    case BD_EVENT_SECONDARY_VIDEO_SIZE:
         break;
 
     /*



More information about the vlc-commits mailing list