[vlc-commits] dvdnav: Implement DEMUX_GET_TYPE
Hugo Beauzée-Luyssen
git at videolan.org
Thu Sep 17 17:53:31 CEST 2020
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Sep 10 15:12:04 2020 +0200| [ec1e7d3cb2e1c41d9e1092a0f05f455bb9ea67df] | committer: Hugo Beauzée-Luyssen
dvdnav: Implement DEMUX_GET_TYPE
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ec1e7d3cb2e1c41d9e1092a0f05f455bb9ea67df
---
modules/access/dvdnav.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/modules/access/dvdnav.c b/modules/access/dvdnav.c
index 2b199f76c8..29170ae832 100644
--- a/modules/access/dvdnav.c
+++ b/modules/access/dvdnav.c
@@ -832,6 +832,12 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
break;
}
+ case DEMUX_GET_TYPE:
+ {
+ *va_arg( args, int* ) = ITEM_TYPE_DISC;
+ break;
+ }
+
/* TODO implement others */
default:
return VLC_EGENERIC;
More information about the vlc-commits
mailing list