doc: Add section for fakevideosink

https://bugzilla.gnome.org/show_bug.cgi?id=793624
This commit is contained in:
Nicolas Dufresne 2018-02-21 11:41:40 -05:00
parent f0c676c0f9
commit a73e5eba55
3 changed files with 35 additions and 0 deletions

View file

@ -51,6 +51,7 @@
<xi:include href="xml/element-faad.xml" /> <xi:include href="xml/element-faad.xml" />
<xi:include href="xml/element-faceblur.xml" /> <xi:include href="xml/element-faceblur.xml" />
<xi:include href="xml/element-facedetect.xml" /> <xi:include href="xml/element-facedetect.xml" />
<xi:include href="xml/element-fakevideosink.xml" />
<xi:include href="xml/element-festival.xml" /> <xi:include href="xml/element-festival.xml" />
<xi:include href="xml/element-fisheye.xml" /> <xi:include href="xml/element-fisheye.xml" />
<xi:include href="xml/element-fpsdisplaysink.xml" /> <xi:include href="xml/element-fpsdisplaysink.xml" />

View file

@ -1293,6 +1293,22 @@ GST_TYPE_FACE_DETECT
gst_face_detect_get_type gst_face_detect_get_type
</SECTION> </SECTION>
<SECTION>
<FILE>element-fakevideosink</FILE>
<TITLE>fakevideosink</TITLE>
GstFakeVideoSink
<SUBSECTION Standard>
GstFakeVideoSinkClass
GST_FAKE_VIDEO_SINK
GST_FAKE_VIDEO_SINK_CAST
GST_IS_FAKE_VIDEO_SINK
GST_FAKE_VIDEO_SINK_CLASS
GST_IS_FAKE_VIDEO_SINK_CLASS
GST_TYPE_FAKE_VIDEO_SINK
<SUBSECTION Private>
gst_fake_video_sink_get_type
</SECTION>
<SECTION> <SECTION>
<FILE>element-festival</FILE> <FILE>element-festival</FILE>
<TITLE>festival</TITLE> <TITLE>festival</TITLE>

View file

@ -19,6 +19,24 @@
* Boston, MA 02110-1301, USA. * Boston, MA 02110-1301, USA.
*/ */
/**
* SECTION:element-fakevideosink
* @title: fakevideosink
*
* This element is the same as fakesink but will pretend to support various
* allocation meta API like GstVideoMeta in order to prevent memory copies.
* This is useful for throughput testing and testing zero-copy path while
* creating a new pipeline.
*
* ## Example launch lines
* |[
* gst-launch-1.0 videotestsrc ! fakevideosink
* gst-launch-1.0 videotestsrc ! fpsdisplaysink text-overlay=false video-sink=fakevideosink
* ]|
*
* Since 1.14
*/
#include "gstfakevideosink.h" #include "gstfakevideosink.h"
#include <gst/video/video.h> #include <gst/video/video.h>