openni2src: Mark element as a live source

https://bugzilla.gnome.org/show_bug.cgi?id=732535
This commit is contained in:
Arun Raghavan 2014-07-01 11:51:21 +05:30
parent c134930dbe
commit 65bddd1e0c

View file

@ -176,6 +176,7 @@ gst_openni2_src_class_init (GstOpenni2SrcClass * klass)
static void
gst_openni2_src_init (GstOpenni2Src * ni2src)
{
gst_base_src_set_live (GST_BASE_SRC (ni2src), TRUE);
gst_base_src_set_format (GST_BASE_SRC (ni2src), GST_FORMAT_TIME);
}