29f979ed6fb18dafc18c46e20678a1470cbbf36a
[platform/upstream/gstreamer-vaapi.git] / patches / videoparsers / 0002-h264parse-fix-build-with-GStreamer-1.2.patch
1 From 4a209977a61d156433dddbf21bddc0b1e89098e1 Mon Sep 17 00:00:00 2001
2 From: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
3 Date: Mon, 28 Apr 2014 17:17:04 +0200
4 Subject: [PATCH 2/3] h264parse: fix build with GStreamer 1.2.
5
6 ---
7  gst/vaapi/gsth264parse.c |    2 ++
8  1 file changed, 2 insertions(+)
9
10 diff --git a/gst/vaapi/gsth264parse.c b/gst/vaapi/gsth264parse.c
11 index 4246b6e..7c970ee 100644
12 --- a/gst/vaapi/gsth264parse.c
13 +++ b/gst/vaapi/gsth264parse.c
14 @@ -148,7 +148,9 @@ gst_h264_parse_init (GstH264Parse * h264parse)
15  {
16    h264parse->frame_out = gst_adapter_new ();
17    gst_base_parse_set_pts_interpolation (GST_BASE_PARSE (h264parse), FALSE);
18 +#if GST_CHECK_VERSION(1,3,0)
19    GST_PAD_SET_ACCEPT_INTERSECT (GST_BASE_PARSE_SINK_PAD (h264parse));
20 +#endif
21  }
22  
23  
24 -- 
25 1.7.9.5
26