[vlc-devel] [PATCH 6/9] bluray: Implement DEMUX_GET_TYPE

Hugo Beauzée-Luyssen hugo at beauzee.fr
Wed Sep 16 15:54:14 CEST 2020


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

diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index dfd471a02a..0ef4b250da 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -2660,6 +2660,12 @@ static int blurayControl(demux_t *p_demux, int query, va_list args)
         }
         return VLC_EGENERIC;
 
+    case DEMUX_GET_TYPE:
+    {
+        *va_arg( args, enum input_item_type_e* ) = ITEM_TYPE_DISC;
+        break;
+    }
+
     case DEMUX_CAN_RECORD:
     case DEMUX_GET_FPS:
     case DEMUX_SET_GROUP_DEFAULT:
-- 
2.20.1



More information about the vlc-devel mailing list