From 2aa1f465e29afb111f3fa0a7ab547464f7b81563 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Brzezi=C5=84ski?= Date: Tue, 26 Mar 2024 18:48:17 +0100 Subject: [PATCH] vtenc: Add missing vtenc_h265 docs Part-of: --- .../gst-plugins-bad/sys/applemedia/vtenc.c | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/subprojects/gst-plugins-bad/sys/applemedia/vtenc.c b/subprojects/gst-plugins-bad/sys/applemedia/vtenc.c index 95775195c4..ef22715f95 100644 --- a/subprojects/gst-plugins-bad/sys/applemedia/vtenc.c +++ b/subprojects/gst-plugins-bad/sys/applemedia/vtenc.c @@ -60,6 +60,36 @@ * Since: 1.20 */ +/** + * SECTION:element-vtenc_h265 + * @title: vtenc_h265 + * + * Apple VideoToolbox H265 encoder, which can either use HW or a SW + * implementation depending on the device. + * + * ## Example pipeline + * |[ + * gst-launch-1.0 -v videotestsrc ! vtenc_h265 ! qtmux ! filesink location=out.mov + * ]| Encode a test video pattern and save it as an MOV file + * + * Since: 1.22 + */ + +/** + * SECTION:element-vtenc_h265_hw + * @title: vtenc_h265_hw + * + * Apple VideoToolbox H265 HW-only encoder (only available on macOS at + * present). + * + * ## Example pipeline + * |[ + * gst-launch-1.0 -v videotestsrc ! vtenc_h265_hw ! qtmux ! filesink location=out.mov + * ]| Encode a test video pattern and save it as an MOV file + * + * Since: 1.22 + */ + #ifdef HAVE_CONFIG_H #include "config.h" #endif