[vlc-commits] vcdx: implement ACCESS_GET_CONTENT_TYPE
Rémi Denis-Courmont
git at videolan.org
Sat Jul 25 17:10:39 CEST 2015
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jul 25 17:55:08 2015 +0300| [c13786ed4dc04be325aa34100f06275eaff24aaf] | committer: Rémi Denis-Courmont
vcdx: implement ACCESS_GET_CONTENT_TYPE
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c13786ed4dc04be325aa34100f06275eaff24aaf
---
modules/access/vcdx/access.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/access/vcdx/access.c b/modules/access/vcdx/access.c
index c643927..cf53866 100644
--- a/modules/access/vcdx/access.c
+++ b/modules/access/vcdx/access.c
@@ -1085,6 +1085,10 @@ static int VCDControl( access_t *p_access, int i_query, va_list args )
*va_arg( args, unsigned * ) = p_vcdplayer->i_cur_chapter;
break;
+ case ACCESS_GET_CONTENT_TYPE:
+ *va_arg = strdup( "video/mpeg" );
+ break;
+
case ACCESS_SET_TITLE:
i = (int)va_arg( args, int );
More information about the vlc-commits
mailing list