[meta-freescale] [meta-fsl-arm][PATCH 9/9] gstreamer1.0-plugins-bad: Roll-back h264parse rank

Yuqing Zhu b54851 at freescale.com
Wed Jan 27 01:42:00 PST 2016


Roll back the h264parse rank.

For SW video decoder, it only support aligment au,
But in GST1.6, rtph264depay output aligment nal format video.
Need link h264parse to convert it to au alginment,
make the sw decodear work.

Signed-off-by: Yuqing Zhu <b54851 at freescale.com>
---
 .../0010-vidoeparse-Roll-back-h264parse-rank.patch | 35 ++++++++++++++++++++++
 .../gstreamer/gstreamer1.0-plugins-bad_%.bbappend  |  1 +
 2 files changed, 36 insertions(+)
 create mode 100755 recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0010-vidoeparse-Roll-back-h264parse-rank.patch

diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0010-vidoeparse-Roll-back-h264parse-rank.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0010-vidoeparse-Roll-back-h264parse-rank.patch
new file mode 100755
index 0000000..c50d298
--- /dev/null
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0010-vidoeparse-Roll-back-h264parse-rank.patch
@@ -0,0 +1,35 @@
+From 12909bcae0504687ba1bb7c8fc385e858fdd3f30 Mon Sep 17 00:00:00 2001
+From: Lyon Wang <lyon.wang at freescale.com>
+Date: Mon, 4 Jan 2016 14:58:02 +0800
+Subject: [PATCH] [vidoeparse] Roll-back h264parse rank
+
+Roll back the h264parse rank.
+MMFMWK-7012
+For SW video decoder, it only support aligment au,
+But in GST1.6, rtph264depay output aligment nal format video.
+Need link h264parse to convert it to au alginment,
+make the sw decodear work
+
+Upstream-Status: Inappropriate [i.MX specific]
+
+Signed-off-by: Lyon Wang <lyon.wang at freescale.com>
+---
+ gst/videoparsers/plugin.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gst/videoparsers/plugin.c b/gst/videoparsers/plugin.c
+index c070b93..6fb0161 100644
+--- a/gst/videoparsers/plugin.c
++++ b/gst/videoparsers/plugin.c
+@@ -56,7 +56,7 @@ plugin_init (GstPlugin * plugin)
+   ret |= gst_element_register (plugin, "h263parse",
+       GST_RANK_MARGINAL - 1, GST_TYPE_H263_PARSE);
+   ret |= gst_element_register (plugin, "h264parse",
+-      GST_RANK_MARGINAL - 1, GST_TYPE_H264_PARSE);
++      GST_RANK_PRIMARY + 1, GST_TYPE_H264_PARSE);
+   ret |= gst_element_register (plugin, "diracparse",
+       GST_RANK_NONE, GST_TYPE_DIRAC_PARSE);
+   ret |= gst_element_register (plugin, "mpegvideoparse",
+-- 
+1.9.1
+
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
index ce8a158..f4a7a54 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
@@ -19,6 +19,7 @@ IMX_PATCHES = " file://0001-PATCH-install-gstaggregator-and-gstvideoaggregator-h
                 file://0007-glplugin-Change-wayland-default-res-to-1024x768.patch \
                 file://0008-glplugin-Add-fps-print-in-glimagesink.patch \
                 file://0009-glplugin-fix-gleffects-fisheye-shader-co.patch \
+                file://0010-vidoeparse-Roll-back-h264parse-rank.patch \
 "
 
 SRC_URI_append_mx6 = "${IMX_PATCHES}"
-- 
1.9.1



More information about the meta-freescale mailing list