diff options
Diffstat (limited to 'common/recipes-multimedia')
2 files changed, 33 insertions, 0 deletions
diff --git a/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.7.0.bb b/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.7.0.bb index cdcac54d..be8f47a7 100644 --- a/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.7.0.bb +++ b/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.7.0.bb | |||
@@ -4,3 +4,5 @@ DEPENDS += "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" | |||
4 | 4 | ||
5 | SRC_URI[md5sum] = "ce2d4921b8d9c78edd609d95e8c502d3" | 5 | SRC_URI[md5sum] = "ce2d4921b8d9c78edd609d95e8c502d3" |
6 | SRC_URI[sha256sum] = "abe8ea4dfb3177d038b38610537c651b943707ed110882782a19b95a9ea04a92" | 6 | SRC_URI[sha256sum] = "abe8ea4dfb3177d038b38610537c651b943707ed110882782a19b95a9ea04a92" |
7 | |||
8 | SRC_URI =+ "file://0001-decoder-h265-Fix-offset-calculation-in-codec_data-pa.patch" | ||
diff --git a/common/recipes-multimedia/gstreamer/gstreamer-vaapi/0001-decoder-h265-Fix-offset-calculation-in-codec_data-pa.patch b/common/recipes-multimedia/gstreamer/gstreamer-vaapi/0001-decoder-h265-Fix-offset-calculation-in-codec_data-pa.patch new file mode 100644 index 00000000..92a6f083 --- /dev/null +++ b/common/recipes-multimedia/gstreamer/gstreamer-vaapi/0001-decoder-h265-Fix-offset-calculation-in-codec_data-pa.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From dd227da41e953e79c8e05cd6f838a0e267d2d9b5 Mon Sep 17 00:00:00 2001 | ||
2 | From: Sreerenj Balachandran <sreerenj.balachandran@intel.com> | ||
3 | Date: Fri, 11 Mar 2016 17:44:07 +0200 | ||
4 | Subject: [PATCH] decoder: h265: Fix offset calculation in codec_data parsing | ||
5 | |||
6 | Upstream-status: Backport | ||
7 | |||
8 | https://bugzilla.gnome.org/show_bug.cgi?id=762922 | ||
9 | |||
10 | Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com> | ||
11 | Signed-off-by: Azril Ahmad <mohd.azril.ahmad@intel.com> | ||
12 | Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com> | ||
13 | --- | ||
14 | gst-libs/gst/vaapi/gstvaapidecoder_h265.c | 1 + | ||
15 | 1 file changed, 1 insertion(+) | ||
16 | |||
17 | diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_h265.c b/gst-libs/gst/vaapi/gstvaapidecoder_h265.c | ||
18 | index 3c5a9d9..fd8250a 100644 | ||
19 | --- a/gst-libs/gst/vaapi/gstvaapidecoder_h265.c | ||
20 | +++ b/gst-libs/gst/vaapi/gstvaapidecoder_h265.c | ||
21 | @@ -2688,6 +2688,7 @@ gst_vaapi_decoder_h265_decode_codec_data (GstVaapiDecoder * | ||
22 | goto cleanup; | ||
23 | break; | ||
24 | } | ||
25 | + ofs = pi->nalu.offset + pi->nalu.size; | ||
26 | gst_vaapi_parser_info_h265_replace (&pi, NULL); | ||
27 | } | ||
28 | } | ||
29 | -- | ||
30 | 1.9.1 | ||
31 | |||