[vlc-commits] vcd: 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:54:26 2015 +0300| [8aeb9ed35424296268af211d9a71e897630782f2] | committer: Rémi Denis-Courmont

vcd: implement ACCESS_GET_CONTENT_TYPE

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8aeb9ed35424296268af211d9a71e897630782f2
---

 modules/access/vcd/vcd.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/access/vcd/vcd.c b/modules/access/vcd/vcd.c
index 8500770..b418c02 100644
--- a/modules/access/vcd/vcd.c
+++ b/modules/access/vcd/vcd.c
@@ -277,6 +277,10 @@ static int Control( access_t *p_access, int i_query, va_list args )
             *va_arg( args, unsigned * ) = p_sys->i_current_seekpoint;
             break;
 
+        case ACCESS_GET_CONTENT_TYPE:
+            *va_arg( args, char ** ) = strdup("video/mpeg");
+            break;
+
         case ACCESS_SET_TITLE:
         {
             int i = va_arg( args, int );



More information about the vlc-commits mailing list