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

Petri Hintukainen phintuka at gmail.com
Fri Dec 11 13:55:20 CET 2015


Avoids logging these as unhandled events.
---
 modules/access/bluray.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 8d13c89..a2f276d 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -1979,8 +1979,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;
@@ -2016,6 +2020,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;
 
     /*
-- 
2.5.0



More information about the vlc-devel mailing list