summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorOlivier Crete <olivier.crete@collabora.co.uk>2008-04-03 23:44:00 +0000
committerOlivier Crete <olivier.crete@collabora.co.uk>2008-04-03 23:44:00 +0000
commit567e93500e1ec4c1ba1cc5f87d9861205b27afc4 (patch)
tree14967ae5adba243e21af23e4f8dd70ea0fc8a512 /gst
parent47a2f406097413f1213ee7f335025eb806ad1180 (diff)
downloadlibnice-567e93500e1ec4c1ba1cc5f87d9861205b27afc4.tar.gz
Have the base src class do the timestamping for us
darcs-hash:20080403234417-3e2dc-f5eb66b2dd505f0b6427ae4cd12b1299d6a45664.gz
Diffstat (limited to 'gst')
-rw-r--r--gst/gstnicesrc.c2
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