* Update patch
@ 2017-06-20 7:55 Gary Thomas
2017-06-22 15:48 ` Vincent DEHORS
0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 2017-06-20 7:55 UTC (permalink / raw)
To: Lyon Wang; +Cc: meta-freescale
[-- Attachment #1: Type: text/plain, Size: 519 bytes --]
Your patch recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0008-Specific-patches-for-gstplayer-API.patch
no longer applies to Yocto master (9ea5a31776440abd6468f003c5e1905f079446d3)
Here is a refresh (without your comments or Signed-off-by)
which lets the package build again
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
[-- Attachment #2: 0001-gstreamer1.0-plugins-bad-Update-patch-for-latest-OE-.patch --]
[-- Type: text/x-patch, Size: 4696 bytes --]
From f8538e6a020ad862bc715f778bfedd538eef536c Mon Sep 17 00:00:00 2001
From: Gary Thomas <gary@mlbassoc.com>
Date: Tue, 20 Jun 2017 09:54:43 +0200
Subject: [PATCH] gstreamer1.0-plugins-bad: Update patch for latest OE-core
---
.../0008-Specific-patches-for-gstplayer-API.patch | 66 +++++++---------------
1 file changed, 19 insertions(+), 47 deletions(-)
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0008-Specific-patches-for-gstplayer-API.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0008-Specific-patches-for-gstplayer-API.patch
index 0679e4b..0925be3 100755
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0008-Specific-patches-for-gstplayer-API.patch
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0008-Specific-patches-for-gstplayer-API.patch
@@ -1,59 +1,34 @@
-From 3d789943c1f0568014ff2399a097b5dfa5d7a92e Mon Sep 17 00:00:00 2001
-From: Lyon Wang <lyon.wang@nxp.com>
-Date: Fri, 30 Dec 2016 15:53:21 +0800
-Subject: [PATCH 3/5] Specific patches for gstplayer API
-
-player: Add get_rotate, set_rotate API
-
-- Add gstplayer get_rotate() and set_rotate() API
-
-player: Add force-aspect-ratio config
-
-- Add get/set force-aspect-ratio config API
-
-player: Add set audio / text sink API
-
-- Add set audio / text sink API
-
-Upstream-Status: Inappropriate [i.MX specific]
-
-Signed-off-by: Lyon Wang <lyon.wang@nxp.com>
----
- gst-libs/gst/player/gstplayer.c | 214 ++++++++++++++++++++++++++++++++++++++++
- gst-libs/gst/player/gstplayer.h | 10 ++
- 2 files changed, 224 insertions(+)
-
-diff --git a/gst-libs/gst/player/gstplayer.c b/gst-libs/gst/player/gstplayer.c
-index d9ff524..960e7a2 100644
---- a/gst-libs/gst/player/gstplayer.c
-+++ b/gst-libs/gst/player/gstplayer.c
-@@ -86,6 +86,7 @@ typedef enum
+Index: gst-plugins-bad-1.10.4/gst-libs/gst/player/gstplayer.c
+===================================================================
+--- gst-plugins-bad-1.10.4.orig/gst-libs/gst/player/gstplayer.c
++++ gst-plugins-bad-1.10.4/gst-libs/gst/player/gstplayer.c
+@@ -85,6 +85,7 @@ typedef enum
+ {
CONFIG_QUARK_USER_AGENT = 0,
CONFIG_QUARK_POSITION_INTERVAL_UPDATE,
- CONFIG_QUARK_ACCURATE_SEEK,
+ CONFIG_QUARK_FORCE_ASPECT_RATIO,
CONFIG_QUARK_MAX
} ConfigQuarkId;
-@@ -94,6 +95,7 @@ static const gchar *_config_quark_strings[] = {
+@@ -92,6 +93,7 @@ typedef enum
+ static const gchar *_config_quark_strings[] = {
"user-agent",
"position-interval-update",
- "accurate-seek",
+ "force-aspect-ratio",
};
GQuark _config_quark_table[CONFIG_QUARK_MAX];
-@@ -269,6 +271,7 @@ gst_player_init (GstPlayer * self)
+@@ -266,6 +268,7 @@ gst_player_init (GstPlayer * self)
+ /* *INDENT-OFF* */
self->config = gst_structure_new_id (QUARK_CONFIG,
CONFIG_QUARK (POSITION_INTERVAL_UPDATE), G_TYPE_UINT, DEFAULT_POSITION_UPDATE_INTERVAL_MS,
- CONFIG_QUARK (ACCURATE_SEEK), G_TYPE_BOOLEAN, FALSE,
+ CONFIG_QUARK (FORCE_ASPECT_RATIO), G_TYPE_BOOLEAN, TRUE,
NULL);
/* *INDENT-ON* */
-@@ -4259,3 +4262,214 @@ gst_player_config_get_seek_accurate (const GstStructure * config)
+@@ -4199,3 +4202,214 @@ gst_player_config_get_position_update_in
- return accurate;
+ return interval;
}
+
+/**
@@ -266,13 +241,13 @@ index d9ff524..960e7a2 100644
+ GST_DEBUG_OBJECT (self, "set text sink '%s'", sink_name);
+ return TRUE;
+}
-diff --git a/gst-libs/gst/player/gstplayer.h b/gst-libs/gst/player/gstplayer.h
-index 8426be5..bfc12b2 100644
---- a/gst-libs/gst/player/gstplayer.h
-+++ b/gst-libs/gst/player/gstplayer.h
-@@ -205,6 +205,16 @@ guint gst_player_config_get_position_update_interval (const GstStructu
- void gst_player_config_set_seek_accurate (GstPlayer * player, gboolean accurate);
- gboolean gst_player_config_get_seek_accurate (const GstStructure * config);
+Index: gst-plugins-bad-1.10.4/gst-libs/gst/player/gstplayer.h
+===================================================================
+--- gst-plugins-bad-1.10.4.orig/gst-libs/gst/player/gstplayer.h
++++ gst-plugins-bad-1.10.4/gst-libs/gst/player/gstplayer.h
+@@ -202,6 +202,16 @@ void gst_player_config_set_pos
+ guint interval);
+ guint gst_player_config_get_position_update_interval (const GstStructure * config);
+/* Custom gstplayer API */
+gboolean gst_player_set_rotate (GstPlayer * player, gint rotation);
@@ -287,6 +262,3 @@ index 8426be5..bfc12b2 100644
G_END_DECLS
#endif /* __GST_PLAYER_H__ */
---
-1.9.1
-
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: Update patch
2017-06-20 7:55 Update patch Gary Thomas
@ 2017-06-22 15:48 ` Vincent DEHORS
2017-06-23 5:30 ` Carol Zhu
0 siblings, 1 reply; 3+ messages in thread
From: Vincent DEHORS @ 2017-06-22 15:48 UTC (permalink / raw)
To: Gary Thomas; +Cc: meta-freescale, Amaury DE WARGNY, Lyon Wang
[-- Attachment #1: Type: text/plain, Size: 538 bytes --]
Hi,
I have the same problem, the
0008-Specific-patches-for-gstplayer-API.patch does not apply anymore.
What is the status for this patch ?
Regards,
Vincent
Le
2017-06-20 09:55, Gary Thomas a écrit :
> Your patch
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0008-Specific-patches-for-gstplayer-API.patch
>
no longer applies to Yocto master
(9ea5a31776440abd6468f003c5e1905f079446d3)
>
> Here is a refresh
(without your comments or Signed-off-by)
> which lets the package build
again
[-- Attachment #2: Type: text/html, Size: 863 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Update patch
2017-06-22 15:48 ` Vincent DEHORS
@ 2017-06-23 5:30 ` Carol Zhu
0 siblings, 0 replies; 3+ messages in thread
From: Carol Zhu @ 2017-06-23 5:30 UTC (permalink / raw)
To: Vincent DEHORS, Gary Thomas
Cc: Amaury DE WARGNY, meta-freescale, jussi.kukkonen, Lyon Wang,
alexander.kanavin
[-- Attachment #1: Type: text/plain, Size: 4141 bytes --]
Hi all,
This patch should be applied after some poky patches:
***********************************************
From: Yuqing Zhu [mailto:carol.zhu@nxp.com]
Sent: Tuesday, May 23, 2017 10:08 PM
To: openembedded-core@lists.openembedded.org<mailto:openembedded-core@lists.openembedded.org>
Cc: alexander.kanavin@linux.intel.com<mailto:alexander.kanavin@linux.intel.com>; jussi.kukkonen@intel.com<mailto:jussi.kukkonen@intel.com>; Carol Zhu <carol.zhu@nxp.com<mailto:carol.zhu@nxp.com>>
Subject: [pyro][PATCH 0/6] Add some gstreamer1.0-plugins-bad patches for pyro
-Add some enhancements for qmlglsrc
Some common features for qmlglsrc are added to make app development much easier.
-Add some enhancements for gstplayer
Some gstplayer API enhancements are added to make it much easier for users to use.
Without these API enhancements, some features may not be realized (like accurate seek, video sink configuration) when using gstplayer API.
So it would be better if they can be picked.
-Fix a memory leak issue in glupload, which is common
Yuqing Zhu (6):
gstreamer1.0-plugins-bad: Add two enhancements for qmlglsrc
gstreamer1.0-plugins-bad: Add configuration for enabling accurate
seeks
gstreamer1.0-plugins-bad: Add get track number media info API
gstreamer1.0-plugins-bad: Add overlayvideorenderer video sink
gstreamer1.0-plugins-bad: Fix gst-player failed to load external
subtitle uri
gstreamer1.0-plugins-bad: Fix memory leak when use a GValue in
glupload
...2-qmlglsrc-some-enhancements-for-qmlglsrc.patch | 170 +++++++++++++++++++++ ...configuration-for-enabling-accurate-seeks.patch | 148 ++++++++++++++++++ ...layer-Add-get-track-number-media-info-API.patch | 126 +++++++++++++++ ...layer-Add-overlayvideorenderer-video-sink.patch | 138 +++++++++++++++++ ...fix-gst-player-failed-to-load-external-su.patch | 50 ++++++ ...-glupload-fix-memory-leak-when-use-a-GVal.patch | 29 ++++
.../gstreamer/gstreamer1.0-plugins-bad_1.10.4.bb | 6 +
7 files changed, 667 insertions(+)
create mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0002-qmlglsrc-some-enhancements-for-qmlglsrc.patch
create mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0003-player-Add-configuration-for-enabling-accurate-seeks.patch
create mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-player-Add-get-track-number-media-info-API.patch
create mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0005-player-Add-overlayvideorenderer-video-sink.patch
create mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0006-gst-player-fix-gst-player-failed-to-load-external-su.patch
create mode 100755 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0007-glupload-fix-memory-leak-when-use-a-GVal.patch
******************************************
As these patches have been upstreamed but not accepted yet, the 0008-Specific-patches-for-gstplayer-API.patch does have some applying conflicts.
I will move it temporarily and add it back after the poky ones are accepted.
Sorry for causing any inconvenience.
B.R.
Carol
From: meta-freescale-bounces@yoctoproject.org [mailto:meta-freescale-bounces@yoctoproject.org] On Behalf Of Vincent DEHORS
Sent: Thursday, June 22, 2017 11:48 PM
To: Gary Thomas <gary@mlbassoc.com>
Cc: meta-freescale@yoctoproject.org; Amaury DE WARGNY <amaury.dewargny@smile.fr>; Lyon Wang <lyon.wang@nxp.com>
Subject: Re: [meta-freescale] Update patch
Hi,
I have the same problem, the 0008-Specific-patches-for-gstplayer-API.patch does not apply anymore.
What is the status for this patch ?
Regards,
Vincent
Le 2017-06-20 09:55, Gary Thomas a écrit :
Your patch recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0008-Specific-patches-for-gstplayer-API.patch
no longer applies to Yocto master (9ea5a31776440abd6468f003c5e1905f079446d3)
Here is a refresh (without your comments or Signed-off-by)
which lets the package build again
[-- Attachment #2: Type: text/html, Size: 11617 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-06-23 7:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-20 7:55 Update patch Gary Thomas
2017-06-22 15:48 ` Vincent DEHORS
2017-06-23 5:30 ` Carol Zhu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.