From: Edward Hervey Date: Tue, 5 Jun 2007 16:37:09 +0000 (+0000) Subject: sys/v4l/gstv4lsrc.c: Make v4lsrc output segments in GST_FORMAT_TIME. Fixes #442553. X-Git-Tag: 1.19.3~511^2~11112 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4a04a7057b50b2679c340ea46ce75acc2912b8d;p=platform%2Fupstream%2Fgstreamer.git 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. --- 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); }