Send new_segment in GST_FORMAT_TIME instead of in GST_FORMAT_BYTES.

Original commit message from CVS:
Send new_segment in GST_FORMAT_TIME instead of in GST_FORMAT_BYTES.
This commit is contained in:
Edgard Lima 2006-08-30 13:30:13 +00:00
parent a958ef8c9b
commit 0a4f66220f

View file

@ -309,6 +309,7 @@ gst_v4l2src_init (GstV4l2Src * v4l2src, GstV4l2SrcClass * klass)
gst_pad_set_fixatecaps_function (GST_BASE_SRC_PAD (v4l2src),
gst_v4l2src_fixate);
gst_base_src_set_format (GST_BASE_SRC (v4l2src), GST_FORMAT_TIME);
gst_base_src_set_live (GST_BASE_SRC (v4l2src), TRUE);
}