Commit f1324f9c authored by Sam Thursfield's avatar Sam Thursfield Committed by Tim-Philipp Müller
Browse files

videotestsrc: Document the num-buffers property

It's not obvious from the existing docs that this option exists, nor
that it can be used to give a pipeline an exact length in video frames.

https://bugzilla.gnome.org/show_bug.cgi?id=777647
parent c4be7eca
......@@ -26,6 +26,10 @@
* of formats. The video test data produced can be controlled with the "pattern"
* property.
*
* By default the videotestsrc will generate data indefinitely, but if the
* #GstBaseSrc:num-buffers property is non-zero it will instead generate a
* fixed number of video frames and then send EOS.
*
* ## Example launch line
* |[
* gst-launch-1.0 -v videotestsrc pattern=snow ! video/x-raw,width=1280,height=720 ! autovideosink
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment