[Nice] [nice/master] Have the base src class do the timestamping for us
Olivier Crete
olivier.crete at collabora.co.uk
Wed Nov 5 14:00:57 PST 2008
darcs-hash:20080403234417-3e2dc-f5eb66b2dd505f0b6427ae4cd12b1299d6a45664.gz
---
gst/gstnicesrc.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/gst/gstnicesrc.c b/gst/gstnicesrc.c
index 7075c36..a97d93b 100644
--- a/gst/gstnicesrc.c
+++ b/gst/gstnicesrc.c
@@ -153,6 +153,8 @@ static void
gst_nice_src_init (GstNiceSrc *src, GstNiceSrcClass *g_class)
{
gst_base_src_set_live (GST_BASE_SRC (src), TRUE);
+ gst_base_src_set_format (GST_BASE_SRC (src), GST_FORMAT_TIME);
+ gst_base_src_set_do_timestamp (GST_BASE_SRC (src), TRUE);
}
static GstFlowReturn
--
1.5.6.5
More information about the Nice
mailing list