2015-09-14 17:15:18 +00:00
|
|
|
From e412ece68af9b1a4ce7309774b38ec548a2d709f Mon Sep 17 00:00:00 2001
|
2014-04-28 15:44:03 +00:00
|
|
|
From: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
|
|
|
|
Date: Mon, 28 Apr 2014 17:44:03 +0200
|
2015-09-14 17:15:18 +00:00
|
|
|
Subject: [PATCH 1/6] plugins: compile the built-in video parsers as
|
2014-04-28 15:44:03 +00:00
|
|
|
"vaapiparse" element.
|
|
|
|
|
|
|
|
The built-in video parsers elements are built into a single DSO named
|
|
|
|
libgstvaapi_parse.so. The various video parsers could be accessed as
|
|
|
|
vaapiparse_CODEC.
|
|
|
|
---
|
2015-05-13 11:28:17 +00:00
|
|
|
gst/vaapi/gsth264parse.c | 4 +++-
|
|
|
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
2014-04-28 15:44:03 +00:00
|
|
|
|
|
|
|
diff --git a/gst/vaapi/gsth264parse.c b/gst/vaapi/gsth264parse.c
|
2015-09-14 17:15:18 +00:00
|
|
|
index 915c2d7..96901e0 100644
|
2014-04-28 15:44:03 +00:00
|
|
|
--- a/gst/vaapi/gsth264parse.c
|
|
|
|
+++ b/gst/vaapi/gsth264parse.c
|
|
|
|
@@ -26,6 +26,7 @@
|
|
|
|
# include "config.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
+#include "gstvaapiparse.h"
|
|
|
|
#include <gst/base/base.h>
|
|
|
|
#include <gst/pbutils/pbutils.h>
|
|
|
|
#include <gst/video/video.h>
|
2015-09-14 17:15:18 +00:00
|
|
|
@@ -122,7 +123,8 @@ gst_h264_parse_class_init (GstH264ParseClass * klass)
|
2014-04-28 15:44:03 +00:00
|
|
|
GstBaseParseClass *parse_class = GST_BASE_PARSE_CLASS (klass);
|
|
|
|
GstElementClass *gstelement_class = GST_ELEMENT_CLASS (klass);
|
|
|
|
|
|
|
|
- GST_DEBUG_CATEGORY_INIT (h264_parse_debug, "h264parse", 0, "h264 parser");
|
|
|
|
+ GST_DEBUG_CATEGORY_INIT (h264_parse_debug, "vaapiparse_h264", 0,
|
|
|
|
+ "h264 parser");
|
|
|
|
|
|
|
|
gobject_class->finalize = gst_h264_parse_finalize;
|
|
|
|
gobject_class->set_property = gst_h264_parse_set_property;
|
2015-05-13 11:28:17 +00:00
|
|
|
--
|
2015-09-14 17:15:18 +00:00
|
|
|
2.5.1
|
2015-05-13 11:28:17 +00:00
|
|
|
|