2015-06-04 17:03:44 +00:00
|
|
|
From cfc25cf07e6547c9b9b6bd0ee7e337df0ba842d2 Mon Sep 17 00:00:00 2001
|
2014-07-03 16:01:09 +00:00
|
|
|
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.
|
|
|
|
|
|
|
|
---
|
2015-05-13 11:28:17 +00:00
|
|
|
gst/vaapi/gsth264parse.c | 4 +++-
|
|
|
|
gst/vaapi/gsth264parse.h | 1 +
|
2014-07-03 16:01:09 +00:00
|
|
|
2 files changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/gst/vaapi/gsth264parse.c b/gst/vaapi/gsth264parse.c
|
2015-06-04 17:03:44 +00:00
|
|
|
index 9d588e2..4060145 100644
|
2014-07-03 16:01:09 +00:00
|
|
|
--- 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"
|
2015-06-04 17:03:44 +00:00
|
|
|
@@ -163,7 +163,9 @@ gst_h264_parse_init (GstH264Parse * h264parse)
|
2014-07-03 16:01:09 +00:00
|
|
|
{
|
|
|
|
h264parse->frame_out = gst_adapter_new ();
|
|
|
|
gst_base_parse_set_pts_interpolation (GST_BASE_PARSE (h264parse), FALSE);
|
|
|
|
+#if GST_CHECK_VERSION(1,3,0)
|
|
|
|
GST_PAD_SET_ACCEPT_INTERSECT (GST_BASE_PARSE_SINK_PAD (h264parse));
|
|
|
|
+#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/gst/vaapi/gsth264parse.h b/gst/vaapi/gsth264parse.h
|
2015-05-13 11:28:17 +00:00
|
|
|
index e056ca2..56d2612 100644
|
2014-07-03 16:01:09 +00:00
|
|
|
--- a/gst/vaapi/gsth264parse.h
|
|
|
|
+++ b/gst/vaapi/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>
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
--
|
2015-05-13 11:28:17 +00:00
|
|
|
2.1.4
|
2014-07-03 16:01:09 +00:00
|
|
|
|