[Bug 748105] videotestsrc: add a 'max-duration' property

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri May 1 08:25:40 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=748105

--- Comment #4 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Regarding the GstSegment, try this: in gst_video_test_src_start() add:

  basesrc->segment.stop = 5 * GST_SECOND;
  basesrc->segment.duration = 5 * GST_SECOND;

The GstBaseSrc base class will basically stop automatically when that value is
reached, so you don't need to add any code for that.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list