summaryrefslogtreecommitdiff
path: root/gst/vaapi/gstvaapiencode_h264.c
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2016-02-03 19:07:40 +0100
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2016-02-03 20:23:31 +0100
commit77ddde41d95a7b7b17b9f288c009232e02d2e90e (patch)
tree4e5c6195c627969ffd4821ec48388e718614aa86 /gst/vaapi/gstvaapiencode_h264.c
parentdb6125be746c056b4b7681b570ab78c73e817962 (diff)
downloadgst-vaapi-77ddde41d95a7b7b17b9f288c009232e02d2e90e.tar.gz
rename encoders to vaapi{codec}enc
Trying to comply with GStreamer's element names, this patch renames the encoders using the name format vaapi{codec}enc. In this way, the plugin documentation is linked correctly. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Diffstat (limited to 'gst/vaapi/gstvaapiencode_h264.c')
-rw-r--r--gst/vaapi/gstvaapiencode_h264.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/vaapi/gstvaapiencode_h264.c b/gst/vaapi/gstvaapiencode_h264.c
index 1c37ca7b..b4027ab1 100644
--- a/gst/vaapi/gstvaapiencode_h264.c
+++ b/gst/vaapi/gstvaapiencode_h264.c
@@ -22,7 +22,7 @@
*/
/**
- * SECTION:element-vaapiencode_h264
+ * SECTION:element-vaapih264enc
* @short_description: A VA-API based H.264 video encoder
*
* Encodes raw video streams into H.264 bitstreams.
@@ -30,7 +30,7 @@
* <refsect2>
* <title>Example launch line</title>
* |[
- * gst-launch-1.0 -ev videotestsrc num-buffers=60 ! timeoverlay ! vaapiencode_h264 ! mp4mux ! filesink location=test.mp4
+ * gst-launch-1.0 -ev videotestsrc num-buffers=60 ! timeoverlay ! vaapih264enc ! mp4mux ! filesink location=test.mp4
* ]|
* </refsect2>
*/
@@ -43,7 +43,7 @@
#include "gstvaapipluginutil.h"
#include "gstvaapivideomemory.h"
-#define GST_PLUGIN_NAME "vaapiencode_h264"
+#define GST_PLUGIN_NAME "vaapih264enc"
#define GST_PLUGIN_DESC "A VA-API based H.264 video encoder"
GST_DEBUG_CATEGORY_STATIC (gst_vaapi_h264_encode_debug);