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

Hugo Beauzée-Luyssen hugo at beauzee.fr
Thu Sep 17 11:29:02 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..bf636c4991 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, int* ) = 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