diff --git a/docs/plugins/gst-plugins-bad-plugins-docs.sgml b/docs/plugins/gst-plugins-bad-plugins-docs.sgml index a590060c17..5941a4d30f 100644 --- a/docs/plugins/gst-plugins-bad-plugins-docs.sgml +++ b/docs/plugins/gst-plugins-bad-plugins-docs.sgml @@ -51,6 +51,7 @@ + diff --git a/docs/plugins/gst-plugins-bad-plugins-sections.txt b/docs/plugins/gst-plugins-bad-plugins-sections.txt index c1bae1d63e..b71f7945b0 100644 --- a/docs/plugins/gst-plugins-bad-plugins-sections.txt +++ b/docs/plugins/gst-plugins-bad-plugins-sections.txt @@ -1293,6 +1293,22 @@ GST_TYPE_FACE_DETECT gst_face_detect_get_type +
+element-fakevideosink +fakevideosink +GstFakeVideoSink + +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 + +gst_fake_video_sink_get_type +
+
element-festival festival diff --git a/gst/debugutils/gstfakevideosink.c b/gst/debugutils/gstfakevideosink.c index 9e3cf59b9d..0bf0948eb0 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