On Fri, 2016-04-15 at 12:20 +0800, Rebecca Chang wrote: > From: Azril Ahmad <[email protected]> > > Backport the gstreamer-vaapi upstreamed patch to fix the HEVC > decoding > that failed on Matroska (.mkv) video container. > > This patch was imported from gstreamer-vaapi FreeDesktop git server > (git://anongit.freedesktop.org/gstreamer/gstreamer-vaapi) as of > commit id : > a486942ba2d44ba2f60fec25175c681786021b48 to fix the BugZilla #762922 > defect. > (https://bugzilla.gnome.org/show_bug.cgi?id=762922) > > Signed-off-by: Azril Ahmad <[email protected]> > Signed-off-by: Chang Rebecca Swee Fun <[email protected] > om> > --- > .../gstreamer/gstreamer-vaapi-1.0_0.7.0.bb | 2 ++ > ...5-Fix-offset-calculation-in-codec_data-pa.patch | 25 > ++++++++++++++++++++++ > 2 files changed, 27 insertions(+) > create mode 100644 common/recipes-multimedia/gstreamer/gstreamer- > vaapi/0001-decoder-h265-Fix-offset-calculation-in-codec_data-pa.patch > > 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 cdcac54..be8f47a 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" > > SRC_URI[md5sum] = "ce2d4921b8d9c78edd609d95e8c502d3" > SRC_URI[sha256sum] = > "abe8ea4dfb3177d038b38610537c651b943707ed110882782a19b95a9ea04a92" > + > +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 0000000..5308939 > --- /dev/null > +++ b/common/recipes-multimedia/gstreamer/gstreamer-vaapi/0001- > decoder-h265-Fix-offset-calculation-in-codec_data-pa.patch > @@ -0,0 +1,25 @@ > +From a486942ba2d44ba2f60fec25175c681786021b48 Mon Sep 17 00:00:00 > 2001 > +From: Sreerenj Balachandran <[email protected]> > +Date: Fri, 11 Mar 2016 17:44:07 +0200 > +Subject: [PATCH] decoder: h265: Fix offset calculation in codec_data > parsing > + > +https://bugzilla.gnome.org/show_bug.cgi?id=762922
This part of the patch is missing it's Upstream-Status and a Signed- off-by: Please add these two items to the h265-Fix-offset-calculation-in- codec_data-pa.patch file. Thanks Sau! > +--- > + gst-libs/gst/vaapi/gstvaapidecoder_h265.c | 1 + > + 1 file changed, 1 insertion(+) > + > +diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_h265.c b/gst- > libs/gst/vaapi/gstvaapidecoder_h265.c > +index 3c5a9d9..fd8250a 100644 > +--- a/gst-libs/gst/vaapi/gstvaapidecoder_h265.c > ++++ b/gst-libs/gst/vaapi/gstvaapidecoder_h265.c > +@@ -2688,6 +2688,7 @@ gst_vaapi_decoder_h265_decode_codec_data > (GstVaapiDecoder * > + goto cleanup; > + break; > + } > ++ ofs = pi->nalu.offset + pi->nalu.size; > + gst_vaapi_parser_info_h265_replace (&pi, NULL); > + } > + } > +-- > +2.5.5 > + > -- > 1.9.1 > -- _______________________________________________ meta-intel mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-intel
