summaryrefslogtreecommitdiff
path: root/gst/vaapi/gstvaapiencode_mpeg2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/vaapi/gstvaapiencode_mpeg2.c')
-rw-r--r--gst/vaapi/gstvaapiencode_mpeg2.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/gst/vaapi/gstvaapiencode_mpeg2.c b/gst/vaapi/gstvaapiencode_mpeg2.c
index 5584c601..9f2a23bb 100644
--- a/gst/vaapi/gstvaapiencode_mpeg2.c
+++ b/gst/vaapi/gstvaapiencode_mpeg2.c
@@ -21,6 +21,20 @@
* Boston, MA 02110-1301 USA
*/
+/**
+ * SECTION:element-vaapiencode_mpeg2
+ * @short_description: A VA-API based MPEG2 video encoder
+ *
+ * Encodes raw video streams into MPEG2 bitstreams.
+ *
+ * <refsect2>
+ * <title>Example launch line</title>
+ * |[
+ * gst-launch-1.0 -ev videotestsrc num-buffers=60 ! timeoverlay ! vaapiencode_mpeg2 ! matroskamux ! filesink location=test.mkv
+ * ]|
+ * </refsect2>
+ */
+
#include "gstcompat.h"
#include <gst/vaapi/gstvaapidisplay.h>
#include <gst/vaapi/gstvaapiencoder_mpeg2.h>