mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
patches/Videoparsers: update patch to fix build with older GStreamer 1.2 stacks
This commit is contained in:
parent
47b78b7547
commit
6d7b63126a
1 changed files with 16 additions and 25 deletions
|
@ -1,27 +1,18 @@
|
|||
From cfc25cf07e6547c9b9b6bd0ee7e337df0ba842d2 Mon Sep 17 00:00:00 2001
|
||||
From d8f4736b91c227b13abf35a1153d5ea669a15791 Mon Sep 17 00:00:00 2001
|
||||
From: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
|
||||
Date: Mon, 28 Apr 2014 17:17:04 +0200
|
||||
Subject: [PATCH 2/3] h264parse: fix build with older GStreamer 1.x stacks.
|
||||
Date: Tue, 21 Jul 2015 13:01:06 +0300
|
||||
Subject: [PATCH 2/2] h264parse: fix build with older GStreamer 1.x stacks
|
||||
|
||||
---
|
||||
gst/vaapi/gsth264parse.c | 4 +++-
|
||||
gst/vaapi/gsth264parse.h | 1 +
|
||||
2 files changed, 4 insertions(+), 1 deletion(-)
|
||||
gst/videoparsers/gsth264parse.c | 2 ++
|
||||
gst/videoparsers/gsth264parse.h | 1 +
|
||||
2 files changed, 3 insertions(+)
|
||||
|
||||
diff --git a/gst/vaapi/gsth264parse.c b/gst/vaapi/gsth264parse.c
|
||||
index 9d588e2..4060145 100644
|
||||
--- a/gst/vaapi/gsth264parse.c
|
||||
+++ b/gst/vaapi/gsth264parse.c
|
||||
@@ -27,7 +27,7 @@
|
||||
#endif
|
||||
|
||||
#include "gstvaapiparse.h"
|
||||
-#include <gst/base/base.h>
|
||||
+#include <gst/base/gstbytewriter.h>
|
||||
#include <gst/pbutils/pbutils.h>
|
||||
#include <gst/video/video.h>
|
||||
#include "gsth264parse.h"
|
||||
@@ -163,7 +163,9 @@ gst_h264_parse_init (GstH264Parse * h264parse)
|
||||
diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c
|
||||
index 9e74f2d..b6fd35b 100644
|
||||
--- a/gst/videoparsers/gsth264parse.c
|
||||
+++ b/gst/videoparsers/gsth264parse.c
|
||||
@@ -165,7 +165,9 @@ gst_h264_parse_init (GstH264Parse * h264parse)
|
||||
{
|
||||
h264parse->frame_out = gst_adapter_new ();
|
||||
gst_base_parse_set_pts_interpolation (GST_BASE_PARSE (h264parse), FALSE);
|
||||
|
@ -31,18 +22,18 @@ index 9d588e2..4060145 100644
|
|||
}
|
||||
|
||||
|
||||
diff --git a/gst/vaapi/gsth264parse.h b/gst/vaapi/gsth264parse.h
|
||||
index e056ca2..56d2612 100644
|
||||
--- a/gst/vaapi/gsth264parse.h
|
||||
+++ b/gst/vaapi/gsth264parse.h
|
||||
diff --git a/gst/videoparsers/gsth264parse.h b/gst/videoparsers/gsth264parse.h
|
||||
index 58d818c..617e616 100644
|
||||
--- a/gst/videoparsers/gsth264parse.h
|
||||
+++ b/gst/videoparsers/gsth264parse.h
|
||||
@@ -27,6 +27,7 @@
|
||||
|
||||
#include <gst/gst.h>
|
||||
#include <gst/base/gstbaseparse.h>
|
||||
+#include <gst/base/gstadapter.h>
|
||||
#include <gst/codecparsers/gsth264parser.h>
|
||||
#include <gst/video/video.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
--
|
||||
2.1.4
|
||||
|
||||
|
|
Loading…
Reference in a new issue