[vlc-commits] smooth: provide PTS delay
Rémi Denis-Courmont
git at videolan.org
Sun Nov 10 17:08:46 CET 2013
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Nov 10 18:01:56 2013 +0200| [3f33a255b9fe4d3da04eee1a38b3fa90c82aa139] | committer: Rémi Denis-Courmont
smooth: provide PTS delay
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3f33a255b9fe4d3da04eee1a38b3fa90c82aa139
---
modules/stream_filter/smooth/smooth.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/stream_filter/smooth/smooth.c b/modules/stream_filter/smooth/smooth.c
index 5e2c9fd..3189c32 100644
--- a/modules/stream_filter/smooth/smooth.c
+++ b/modules/stream_filter/smooth/smooth.c
@@ -757,6 +757,10 @@ static int Control( stream_t *s, int i_query, va_list args )
case STREAM_GET_SIZE:
*(va_arg( args, uint64_t * )) = FAKE_STREAM_SIZE;
break;
+ case STREAM_GET_PTS_DELAY:
+ *va_arg (args, int64_t *) =
+ var_InheritInteger(s, "network-caching");
+ break;
default:
return VLC_EGENERIC;
}
More information about the vlc-commits
mailing list