From b4a04a7057b50b2679c340ea46ce75acc2912b8d Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Tue, 5 Jun 2007 16:37:09 +0000 Subject: [PATCH] sys/v4l/gstv4lsrc.c: Make v4lsrc output segments in GST_FORMAT_TIME. Fixes #442553. Original commit message from CVS: Patch by: Edward Hervey * sys/v4l/gstv4lsrc.c: (gst_v4lsrc_init), (gst_v4lsrc_fixate), (gst_v4lsrc_query): Make v4lsrc output segments in GST_FORMAT_TIME. Fixes #442553. --- ChangeLog | 8 ++++++++ sys/v4l/gstv4lsrc.c | 1 + 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6431f153ca..31423f5e88 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2007-06-05 Wim Taymans + + Patch by: Edward Hervey + + * sys/v4l/gstv4lsrc.c: (gst_v4lsrc_init), (gst_v4lsrc_fixate), + (gst_v4lsrc_query): + Make v4lsrc output segments in GST_FORMAT_TIME. Fixes #442553. + 2007-06-05 Tim-Philipp Müller * gst-libs/gst/riff/Makefile.am: diff --git a/sys/v4l/gstv4lsrc.c b/sys/v4l/gstv4lsrc.c index b75ac80186..1f59b5497c 100644 --- a/sys/v4l/gstv4lsrc.c +++ b/sys/v4l/gstv4lsrc.c @@ -142,6 +142,7 @@ gst_v4lsrc_init (GstV4lSrc * v4lsrc, GstV4lSrcClass * klass) v4lsrc->fps_list = NULL; + gst_base_src_set_format (GST_BASE_SRC (v4lsrc), GST_FORMAT_TIME); gst_base_src_set_live (GST_BASE_SRC (v4lsrc), TRUE); }