mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 10:10:32 +00:00
patches/Videoparsers: update patch to fix build with older GStreamer 1.2 stacks
This commit is contained in:
parent
b00511355c
commit
3b7c0f8bb1
1 changed files with 5 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
From d8f4736b91c227b13abf35a1153d5ea669a15791 Mon Sep 17 00:00:00 2001
|
From cb4349b2f36194fbdd557eb11175d83fac144158 Mon Sep 17 00:00:00 2001
|
||||||
From: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
|
From: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
|
||||||
Date: Tue, 21 Jul 2015 13:01:06 +0300
|
Date: Wed, 26 Aug 2015 06:50:41 +0300
|
||||||
Subject: [PATCH 2/2] h264parse: fix build with older GStreamer 1.x stacks
|
Subject: [PATCH 2/2] h264parse: fix build with older GStreamer 1.x stacks
|
||||||
|
|
||||||
---
|
---
|
||||||
|
@ -9,15 +9,16 @@ Subject: [PATCH 2/2] h264parse: fix build with older GStreamer 1.x stacks
|
||||||
2 files changed, 3 insertions(+)
|
2 files changed, 3 insertions(+)
|
||||||
|
|
||||||
diff --git a/gst/vaapi/gsth264parse.c b/gst/vaapi/gsth264parse.c
|
diff --git a/gst/vaapi/gsth264parse.c b/gst/vaapi/gsth264parse.c
|
||||||
index 9e74f2d..b6fd35b 100644
|
index 8f3b225..a3d2952 100644
|
||||||
--- a/gst/vaapi/gsth264parse.c
|
--- a/gst/vaapi/gsth264parse.c
|
||||||
+++ b/gst/vaapi/gsth264parse.c
|
+++ b/gst/vaapi/gsth264parse.c
|
||||||
@@ -165,7 +165,9 @@ gst_h264_parse_init (GstH264Parse * h264parse)
|
@@ -165,8 +165,10 @@ gst_h264_parse_init (GstH264Parse * h264parse)
|
||||||
{
|
{
|
||||||
h264parse->frame_out = gst_adapter_new ();
|
h264parse->frame_out = gst_adapter_new ();
|
||||||
gst_base_parse_set_pts_interpolation (GST_BASE_PARSE (h264parse), FALSE);
|
gst_base_parse_set_pts_interpolation (GST_BASE_PARSE (h264parse), FALSE);
|
||||||
+#if GST_CHECK_VERSION(1,3,0)
|
+#if GST_CHECK_VERSION(1,3,0)
|
||||||
GST_PAD_SET_ACCEPT_INTERSECT (GST_BASE_PARSE_SINK_PAD (h264parse));
|
GST_PAD_SET_ACCEPT_INTERSECT (GST_BASE_PARSE_SINK_PAD (h264parse));
|
||||||
|
GST_PAD_SET_ACCEPT_TEMPLATE (GST_BASE_PARSE_SINK_PAD (h264parse));
|
||||||
+#endif
|
+#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue