Skip to contentSkip to conversation

3.14.38-6QP_Beta release

PATCH Superseded Yuqing Zhu 2 participants 4 messages Aug 6, 2015

v6 of 9 Superseded Latest is v9 →

lore
Share & tools
lore

Yuqing Zhu

author
#0 lore raw

PATCH v6 1/1 3.14.38-6QP_Beta release

-gstplaybin: Remove native video flag and deinterlace flag.

Yuqing Zhu (1):
gstreamer1.0-plugins-base: Add gstplaybin related patch

 ...video.patch => gstplaybin-remove-flag-deinterlace.patch} | 10 +++++-----
 .../gstreamer/gstreamer1.0-plugins-base_%.bbappend          | 13 +++++++++----
 2 files changed, 14 insertions(+), 9 deletions(-)
 rename recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/{gstplaybin-enable-native-video.patch => gstplaybin-remove-flag-deinterlace.patch} (79%)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH v6 1/1 gstreamer1.0-plugins-base: Add gstplaybin related patch

-Remove default deinterlace flag in playbin for i.MX s/5/6/7 SoCs.

-Remove native video flag in playbin for i.MX s/5/6/7 SoCs because it will cause subtitle error.

---
 ...video.patch => gstplaybin-remove-flag-deinterlace.patch} | 10 +++++-----
 .../gstreamer/gstreamer1.0-plugins-base_%.bbappend          | 13 +++++++++----
 2 files changed, 14 insertions(+), 9 deletions(-)
 rename recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/{gstplaybin-enable-native-video.patch => gstplaybin-remove-flag-deinterlace.patch} (79%)
recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/gstplaybin-remove-flag-deinterlace.patch renamed from recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/gstplaybin-enable-native-video.patch +5 -5
similarity index 79%
rename from recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/gstplaybin-enable-native-video.patch
rename to recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/gstplaybin-remove-flag-deinterlace.patch
index 15322bd..f237776 100644
@@ -1,11 +1,11 @@
 From 9cfb86cd100904f0ef2626f348695bd2d3416c6a Mon Sep 17 00:00:00 2001
 From: Jian Li <[email protected]>
 Date: Mon, 23 Jun 2014 14:14:07 +0800
-Subject: [PATCH] gstplaybin enable native video
+Subject: [PATCH] gstplaybin remove default deinterlace flag
 
-- use native video patch in playbin for i.MX SoCs
+- remove default deinterlace flag in playbin for i.MX SoCs
 
-Upstream Status: Inappropriate [platform specific]
+Upstream-Status: Inappropriate [platform specific]
 
 Signed-off-by: Jian Li <[email protected]>
 ---
@@ -22,10 +22,10 @@ index fc02ca3..c342438 100644
  #define DEFAULT_FLAGS             GST_PLAY_FLAG_AUDIO | GST_PLAY_FLAG_VIDEO | GST_PLAY_FLAG_TEXT | \
 -                                  GST_PLAY_FLAG_SOFT_VOLUME | GST_PLAY_FLAG_DEINTERLACE | \
 -                                  GST_PLAY_FLAG_SOFT_COLORBALANCE
-+                                  GST_PLAY_FLAG_SOFT_VOLUME | GST_PLAY_FLAG_NATIVE_VIDEO
++                                  GST_PLAY_FLAG_SOFT_VOLUME
  #define DEFAULT_N_VIDEO           0
  #define DEFAULT_CURRENT_VIDEO     -1
  #define DEFAULT_N_AUDIO           0
--- 
+--
 1.7.9.5
 
recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend +9 -4
index 5b939d4..bc4d3f9 100644
@@ -1,9 +1,14 @@
-
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-SRC_URI_append_mxs = " file://gstplaybin-enable-native-video.patch"
-SRC_URI_append_mx5 = " file://gstplaybin-enable-native-video.patch"
-SRC_URI_append_mx6 = " file://gstplaybin-enable-native-video.patch"
+SRC_URI_append_mxs = " file://gstplaybin-remove-flag-deinterlace.patch"
+SRC_URI_append_mx5 = " file://gstplaybin-remove-flag-deinterlace.patch"
+IMX_PATCHES = " file://gstplaybin-remove-flag-deinterlace.patch \
+"
+
+
+SRC_URI_append_mx6 = "${IMX_PATCHES}"
+SRC_URI_append_mx7 = "${IMX_PATCHES}"
+
 
 PACKAGE_ARCH_mxs = "${MACHINE_SOCARCH}"
 PACKAGE_ARCH_mx5 = "${MACHINE_SOCARCH}"
Signature · 1 line
1.9.1
#2 lore raw

Re: [meta-fsl-arm][PATCH v6] gstreamer1.0-plugins-base: Add gstplaybin related patch

Quoted 56 lines · Yuqing Zhu
(quoted diff) +0 -2
-Remove default deinterlace flag in playbin for i.MX s/5/6/7 SoCs.
 
-Remove native video flag in playbin for i.MX s/5/6/7 SoCs because it will cause subtitle error.
---
 ...video.patch => gstplaybin-remove-flag-deinterlace.patch} | 10 +++++-----
 .../gstreamer/gstreamer1.0-plugins-base_%.bbappend          | 13 +++++++++----
 2 files changed, 14 insertions(+), 9 deletions(-)
 rename recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/{gstplaybin-enable-native-video.patch => gstplaybin-remove-flag-deinterlace.patch} (79%)
recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/gstplaybin-remove-flag-deinterlace.patch renamed from recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/gstplaybin-enable-native-video.patch +5 -5
similarity index 79%
rename from recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/gstplaybin-enable-native-video.patch
rename to recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/gstplaybin-remove-flag-deinterlace.patch
index 15322bd..f237776 100644
@@ -1,11 +1,11 @@
 From 9cfb86cd100904f0ef2626f348695bd2d3416c6a Mon Sep 17 00:00:00 2001
 From: Jian Li <[email protected]>
 Date: Mon, 23 Jun 2014 14:14:07 +0800
-Subject: [PATCH] gstplaybin enable native video
+Subject: [PATCH] gstplaybin remove default deinterlace flag
 
-- use native video patch in playbin for i.MX SoCs
+- remove default deinterlace flag in playbin for i.MX SoCs
 
-Upstream Status: Inappropriate [platform specific]
+Upstream-Status: Inappropriate [platform specific]
 
 Signed-off-by: Jian Li <[email protected]>
 ---
@@ -22,10 +22,10 @@ index fc02ca3..c342438 100644
  #define DEFAULT_FLAGS             GST_PLAY_FLAG_AUDIO | GST_PLAY_FLAG_VIDEO | GST_PLAY_FLAG_TEXT | \
 -                                  GST_PLAY_FLAG_SOFT_VOLUME | GST_PLAY_FLAG_DEINTERLACE | \
 -                                  GST_PLAY_FLAG_SOFT_COLORBALANCE
-+                                  GST_PLAY_FLAG_SOFT_VOLUME | GST_PLAY_FLAG_NATIVE_VIDEO
++                                  GST_PLAY_FLAG_SOFT_VOLUME
  #define DEFAULT_N_VIDEO           0
  #define DEFAULT_CURRENT_VIDEO     -1
  #define DEFAULT_N_AUDIO           0
---
+--
 1.7.9.5
 
recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend +0 -3
index 5b939d4..bc4d3f9 100644
@@ -1,9 +1,14 @@
-
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-SRC_URI_append_mxs = " file://gstplaybin-enable-native-video.patch"
-SRC_URI_append_mx5 = " file://gstplaybin-enable-native-video.patch"

recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend line 11

Quoted 10 lines
recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend +9 -1
-SRC_URI_append_mx6 = " file://gstplaybin-enable-native-video.patch"
+SRC_URI_append_mxs = " file://gstplaybin-remove-flag-deinterlace.patch"
+SRC_URI_append_mx5 = " file://gstplaybin-remove-flag-deinterlace.patch"
+IMX_PATCHES = " file://gstplaybin-remove-flag-deinterlace.patch \
+"
+
+
+SRC_URI_append_mx6 = "${IMX_PATCHES}"
+SRC_URI_append_mx7 = "${IMX_PATCHES}"
+

Being a single patch it makes no sense to use the var here.

I reworked it so there is no need to resend.

recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend line 14

Quoted 2 lines
recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend +0 -0
 PACKAGE_ARCH_mxs = "${MACHINE_SOCARCH}"
 PACKAGE_ARCH_mx5 = "${MACHINE_SOCARCH}"

You missed this as well; the arch needs to be overridden for all applied SoCs.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
#3 lore raw
In reply to Yuqing Zhu
Quoted 4 lines · Yuqing Zhu

-gstplaybin: Remove native video flag and deinterlace flag.

Yuqing Zhu (1):
gstreamer1.0-plugins-base: Add gstplaybin related patch

I have reworked and queued this for master-next.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750