summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdgard Lima <edgard.lima@indt.org.br>2006-08-30 13:30:13 +0000
committerEdgard Lima <edgard.lima@indt.org.br>2006-08-30 13:30:13 +0000
commitf1832d00b0fa2d16bec174c6132690a50475ee89 (patch)
treef290b796bd201483ea98ee0df58aed90fb23e9ae
parentb5c8a136940e11ad0e2f09b2576b9a4c52080aab (diff)
downloadgst-plugins-bad-f1832d00b0fa2d16bec174c6132690a50475ee89.tar.gz
gst-plugins-bad-f1832d00b0fa2d16bec174c6132690a50475ee89.tar.bz2
gst-plugins-bad-f1832d00b0fa2d16bec174c6132690a50475ee89.zip
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.
-rw-r--r--ChangeLog5
-rw-r--r--sys/v4l2/gstv4l2src.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5e2268ef..1d164873 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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);
}