~ubuntu-branches/ubuntu/vivid/gstreamer-vaapi/vivid

« back to all changes in this revision

Viewing changes to patches/videoparsers/0001-plugins-compile-the-built-in-video-parsers-as-vaapip.patch

  • Committer: Package Import Robot
  • Author(s): Vincent Cheng
  • Date: 2014-08-06 23:56:00 UTC
  • mfrom: (0.1.4 sid) (1.1.3)
  • Revision ID: package-import@ubuntu.com-20140806235600-fg1kcmiu67k315q5
Tags: 0.5.9-2
* Remove spurious build-deps: libva-drm1, libavcodec-dev. (Closes: #757283)
* Drop Build-Depends-Indep and build docs unconditionally on all archs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
5
 "vaapiparse" element.
 
6
 
 
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
 
9
vaapiparse_CODEC.
 
10
---
 
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
 
19
 
 
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
 
24
@@ -26,6 +26,7 @@
 
25
 #  include "config.h"
 
26
 #endif
 
27
 
 
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);
 
35
 
 
36
-  GST_DEBUG_CATEGORY_INIT (h264_parse_debug, "h264parse", 0, "h264 parser");
 
37
+  GST_DEBUG_CATEGORY_INIT (h264_parse_debug, "vaapiparse_h264", 0,
 
38
+      "h264 parser");
 
39
 
 
40
   gobject_class->finalize = gst_h264_parse_finalize;
 
41
   gobject_class->set_property = gst_h264_parse_set_property;