[vlc-commits] Implement ACCESS_GET_SIZE
Tobias Güntner
git at videolan.org
Sat Nov 15 22:00:23 CET 2014
vlc | branch: master | Tobias Güntner <fatbull at web.de> | Sat Nov 15 21:39:47 2014 +0100| [eb588176daa8160191c9ba0a1cf2d80c2beb4f54] | committer: Rémi Denis-Courmont
Implement ACCESS_GET_SIZE
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eb588176daa8160191c9ba0a1cf2d80c2beb4f54
---
modules/access/vdr.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/access/vdr.c b/modules/access/vdr.c
index 16e563f..2448c1c 100644
--- a/modules/access/vdr.c
+++ b/modules/access/vdr.c
@@ -272,6 +272,10 @@ static int Control( access_t *p_access, int i_query, va_list args )
*va_arg( args, bool* ) = true;
break;
+ case ACCESS_GET_SIZE:
+ *va_arg( args, uint64_t* ) = p_sys->size;
+ break;
+
case ACCESS_GET_PTS_DELAY:
pi64 = va_arg( args, int64_t * );
*pi64 = INT64_C(1000)
More information about the vlc-commits
mailing list