1
From c78b4c043dc41f071bdf170ecb001dc1aef8f5f6 Mon Sep 17 00:00:00 2001
2
From: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
3
Date: Mon, 28 Apr 2014 17:44:03 +0200
4
Subject: [PATCH 1/3] plugins: compile the built-in video parsers as
7
The built-in video parsers elements are built into a single DSO named
8
libgstvaapi_parse.so. The various video parsers could be accessed as
11
configure.ac | 9 ++++++++
12
gst/vaapi/Makefile.am | 35 ++++++++++++++++++++++++++++++
13
gst/vaapi/gsth264parse.c | 4 +++-
14
gst/vaapi/gstvaapiparse.c | 53 +++++++++++++++++++++++++++++++++++++++++++++
15
gst/vaapi/gstvaapiparse.h | 36 ++++++++++++++++++++++++++++++
16
5 files changed, 136 insertions(+), 1 deletion(-)
17
create mode 100644 gst/vaapi/gstvaapiparse.c
18
create mode 100644 gst/vaapi/gstvaapiparse.h
20
diff --git a/gst/vaapi/gsth264parse.c b/gst/vaapi/gsth264parse.c
21
index 9105d7f..4246b6e 100644
22
--- a/gst/vaapi/gsth264parse.c
23
+++ b/gst/vaapi/gsth264parse.c
28
+#include "gstvaapiparse.h"
29
#include <gst/base/base.h>
30
#include <gst/pbutils/pbutils.h>
31
#include <gst/video/video.h>
32
@@ -105,7 +106,8 @@ gst_h264_parse_class_init (GstH264ParseClass * klass)
33
GstBaseParseClass *parse_class = GST_BASE_PARSE_CLASS (klass);
34
GstElementClass *gstelement_class = GST_ELEMENT_CLASS (klass);
36
- GST_DEBUG_CATEGORY_INIT (h264_parse_debug, "h264parse", 0, "h264 parser");
37
+ GST_DEBUG_CATEGORY_INIT (h264_parse_debug, "vaapiparse_h264", 0,
40
gobject_class->finalize = gst_h264_parse_finalize;
41
gobject_class->set_property = gst_h264_parse_set_property;