summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2018-02-21 11:41:40 -0500
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2018-02-21 12:27:39 -0500
commita73e5eba55d5b18eb0da14328fa7b0a456d8c84b (patch)
treecb38e630d0dfde3395eb42ecd402158693af44d2 /gst
parentf0c676c0f9aca859ed6c2fe4ebabb8dce5bb162c (diff)
doc: Add section for fakevideosink
https://bugzilla.gnome.org/show_bug.cgi?id=793624
Diffstat (limited to 'gst')
-rw-r--r--gst/debugutils/gstfakevideosink.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/gst/debugutils/gstfakevideosink.c b/gst/debugutils/gstfakevideosink.c
index 9e3cf59b9..0bf0948eb 100644
--- a/gst/debugutils/gstfakevideosink.c
+++ b/gst/debugutils/gstfakevideosink.c
@@ -19,6 +19,24 @@
* 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 <gst/video/video.h>