diff --git a/patches/videoparsers/0001-plugins-compile-the-built-in-video-parsers-as-vaapip.patch b/patches/videoparsers/0001-plugins-compile-the-built-in-video-parsers-as-vaapip.patch index c08a6eedd4..8e21c45d8f 100644 --- a/patches/videoparsers/0001-plugins-compile-the-built-in-video-parsers-as-vaapip.patch +++ b/patches/videoparsers/0001-plugins-compile-the-built-in-video-parsers-as-vaapip.patch @@ -1,7 +1,7 @@ -From a0cdb5443b5ae3176b217a08fb5107e77eea4113 Mon Sep 17 00:00:00 2001 +From e412ece68af9b1a4ce7309774b38ec548a2d709f Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Mon, 28 Apr 2014 17:44:03 +0200 -Subject: [PATCH 1/3] plugins: compile the built-in video parsers as +Subject: [PATCH 1/6] plugins: compile the built-in video parsers as "vaapiparse" element. The built-in video parsers elements are built into a single DSO named @@ -12,7 +12,7 @@ vaapiparse_CODEC. 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gst/vaapi/gsth264parse.c b/gst/vaapi/gsth264parse.c -index 76f7686..9d588e2 100644 +index 915c2d7..96901e0 100644 --- a/gst/vaapi/gsth264parse.c +++ b/gst/vaapi/gsth264parse.c @@ -26,6 +26,7 @@ @@ -23,7 +23,7 @@ index 76f7686..9d588e2 100644 #include #include #include -@@ -120,7 +121,8 @@ gst_h264_parse_class_init (GstH264ParseClass * klass) +@@ -122,7 +123,8 @@ gst_h264_parse_class_init (GstH264ParseClass * klass) GstBaseParseClass *parse_class = GST_BASE_PARSE_CLASS (klass); GstElementClass *gstelement_class = GST_ELEMENT_CLASS (klass); @@ -34,5 +34,5 @@ index 76f7686..9d588e2 100644 gobject_class->finalize = gst_h264_parse_finalize; gobject_class->set_property = gst_h264_parse_set_property; -- -2.1.4 +2.5.1 diff --git a/patches/videoparsers/0003-h264parse-default-to-byte-stream-nalu-format-Annex-B.patch b/patches/videoparsers/0003-h264parse-default-to-byte-stream-nalu-format-Annex-B.patch index da8a1ae40e..486e98f82a 100644 --- a/patches/videoparsers/0003-h264parse-default-to-byte-stream-nalu-format-Annex-B.patch +++ b/patches/videoparsers/0003-h264parse-default-to-byte-stream-nalu-format-Annex-B.patch @@ -1,7 +1,7 @@ -From 652357e0da6528b0ff8a8e01782c84c032c9f342 Mon Sep 17 00:00:00 2001 +From 56df8be6dff017d32218bb3111e6ae6ff1316dec Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Tue, 26 May 2015 09:33:57 +0300 -Subject: [PATCH 3/3] h264parse: default to byte-stream/nalu format (Annex B). +Subject: [PATCH 3/6] h264parse: default to byte-stream/nalu format (Annex B). Always default to stream-format=byte-stream,alignment=nalu if avcC format was not detected. This is the natural stream format specified @@ -17,10 +17,10 @@ Signed-off-by: Sreerenj Balachandran 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gst/vaapi/gsth264parse.c b/gst/vaapi/gsth264parse.c -index 4060145..b5d2955 100644 +index f472a5e..f1ed269 100644 --- a/gst/vaapi/gsth264parse.c +++ b/gst/vaapi/gsth264parse.c -@@ -392,7 +392,8 @@ gst_h264_parse_negotiate (GstH264Parse * h264parse, gint in_format, +@@ -405,7 +405,8 @@ gst_h264_parse_negotiate (GstH264Parse * h264parse, gint in_format, if (!format) format = GST_H264_PARSE_FORMAT_BYTE; if (!align) @@ -30,7 +30,7 @@ index 4060145..b5d2955 100644 GST_DEBUG_OBJECT (h264parse, "selected format %s, alignment %s", gst_h264_parse_get_string (h264parse, TRUE, format), -@@ -2264,6 +2265,8 @@ gst_h264_parse_set_caps (GstBaseParse * parse, GstCaps * caps) +@@ -2452,6 +2453,8 @@ gst_h264_parse_set_caps (GstBaseParse * parse, GstCaps * caps) /* bytestream caps sanity checks */ if (format == GST_H264_PARSE_FORMAT_BYTE) { @@ -40,5 +40,5 @@ index 4060145..b5d2955 100644 if (codec_data_value != NULL) goto bytestream_caps_with_codec_data; -- -2.1.4 +2.5.1