[vlc-commits] bluray: Implement DEMUX_GET_TYPE
Hugo Beauzée-Luyssen
git at videolan.org
Thu Sep 17 17:53:36 CEST 2020
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Sep 10 18:11:56 2020 +0200| [40063bc1b016a6bf191c6b9a1c5e636a02275db8] | committer: Hugo Beauzée-Luyssen
bluray: Implement DEMUX_GET_TYPE
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=40063bc1b016a6bf191c6b9a1c5e636a02275db8
---
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:
More information about the vlc-commits
mailing list