diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sys/v4l2/gstv4l2src.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,6 +1,11 @@ 2006-08-30 Edgard Lima <edgard.lima@indt.org.br> * sys/v4l2/gstv4l2src.c: + Send new_segment in GST_FORMAT_TIME instead of in GST_FORMAT_BYTES. + +2006-08-30 Edgard Lima <edgard.lima@indt.org.br> + + * sys/v4l2/gstv4l2src.c: A small fix to set_caps function. 2006-08-30 Edward Hervey <edward@fluendo.com> diff --git a/sys/v4l2/gstv4l2src.c b/sys/v4l2/gstv4l2src.c index 9837ad89..b1263fd7 100644 --- a/sys/v4l2/gstv4l2src.c +++ b/sys/v4l2/gstv4l2src.c @@ -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); } |