gstreamer: upgrade to 1.12.1
PATCH v3 1/12 gst-player: remove workaround which disable visualizations
In reply to Maxin B. JohnAs we upgrade to libva 1.8.3, we can remove the workaround patch which disables visualizations in gst-player:
1. 0001-gtk-play-Disable-visualizations.patch
Also remove the upstreamed patches:
1. filechooser.patch
2. Fix-pause-play.patch
3. Add-error-signal-emission-for-missing-plugins.patch
Fixes [YOCTO #11437]
We "should" move to the new home of gst-player:
https://cgit.freedesktop.org/gstreamer/gst-examples
However, the buildsystem of gst-player moved to meson. Waiting for meson to be in oe-core for this transition.
--- .../0001-gtk-play-Disable-visualizations.patch | 59 ----- ...error-signal-emission-for-missing-plugins.patch | 252 --------------------- .../gstreamer/gst-player/Fix-pause-play.patch | 107 --------- .../gstreamer/gst-player/filechooser.patch | 54 ----- .../recipes-multimedia/gstreamer/gst-player_git.bb | 4 - 5 files changed, 476 deletions(-) delete mode 100644 meta/recipes-multimedia/gstreamer/gst-player/0001-gtk-play-Disable-visualizations.patch delete mode 100644 meta/recipes-multimedia/gstreamer/gst-player/Add-error-signal-emission-for-missing-plugins.patch delete mode 100644 meta/recipes-multimedia/gstreamer/gst-player/Fix-pause-play.patch delete mode 100644 meta/recipes-multimedia/gstreamer/gst-player/filechooser.patch
meta/recipes-multimedia/gstreamer/gst-player/0001-gtk-play-Disable-visualizations.patch deleted +0 -59
@@ -1,59 +0,0 @@ -From 6cf42c468e93b0aaa171961e059bc3e2fb915889 Mon Sep 17 00:00:00 2001 -From: Jussi Kukkonen <[email protected]> -Date: Fri, 28 Apr 2017 14:35:19 +0300 -Subject: [PATCH] gtk-play: Disable visualizations - -This is a workaround for [YOCTO #11410] (audio playback is broken in -mediaplayer if vaapi is used). It disables visualizations and makes -sure we clear the window (otherwise nothing does that and result is -very ugly). - -This patch should be removed when 11410 is fixed. - -Upstream-Status: Inappropriate [bug workaround] -Signed-off-by: Jussi Kukkonen <[email protected]> ---- - gtk/gtk-play.c | 13 ++++++++++++- - 1 file changed, 12 insertions(+), 1 deletion(-) - -diff --git a/gtk/gtk-play.c b/gtk/gtk-play.c -index 8ae0fea..63b9bb0 100644 ---- a/gtk/gtk-play.c -+++ b/gtk/gtk-play.c -@@ -1401,6 +1401,15 @@ get_child_position (GtkOverlay * overlay, GtkWidget * widget, - return TRUE; - } - -+/* Hack to make sure something gets drawn if visualizations are disabled */ -+static gboolean -+draw_cb (GtkWidget *widget, cairo_t *cr, gpointer data) -+{ -+ cairo_set_source_rgb (cr, 0, 0, 0); -+ cairo_paint (cr); -+ return FALSE; -+} -+ - static void - create_ui (GtkPlay * play) - { -@@ -1431,6 +1440,8 @@ create_ui (GtkPlay * play) - play->video_area = gtk_drawing_area_new (); - g_signal_connect (play->video_area, "realize", - G_CALLBACK (video_area_realize_cb), play); -+ g_signal_connect (play->video_area, "draw", -+ G_CALLBACK (draw_cb), NULL); - } - gtk_widget_set_events (play->video_area, GDK_EXPOSURE_MASK - | GDK_LEAVE_NOTIFY_MASK -@@ -1753,7 +1764,7 @@ gtk_play_constructor (GType type, guint n_construct_params, - - /* enable visualization (by default playbin uses goom) */ - /* if visualization is enabled then use the first element */ -- gst_player_set_visualization_enabled (self->player, TRUE); -+ gst_player_set_visualization_enabled (self->player, FALSE); - - g_signal_connect (G_OBJECT (self), "show", G_CALLBACK (show_cb), NULL); - --- -2.1.4 -
meta/recipes-multimedia/gstreamer/gst-player/Add-error-signal-emission-for-missing-plugins.patch deleted +0 -252
252 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/gst-player/Fix-pause-play.patch deleted +0 -107
107 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/gst-player/filechooser.patch deleted +0 -54
54 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/gst-player_git.bb +0 -4
@@ -5,10 +5,6 @@ LIC_FILES_CHKSUM = "file://gtk/gtk-play.c;beginline=1;endline=20;md5=f8c72dae3d3 DEPENDS = "glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gtk+3 glib-2.0-native" SRC_URI = "git://github.com/sdroege/gst-player.git \ - file://filechooser.patch;apply=0 \ - file://Fix-pause-play.patch;apply=0 \ - file://Add-error-signal-emission-for-missing-plugins.patch;apply=0 \ - file://0001-gtk-play-Disable-visualizations.patch \ file://gst-player.desktop" SRCREV = "ee3c226c82767a089743e4e06058743e67f73cdb"
Signature · 1 line
2.4.0
PATCH v3 2/12 gstreamer1.0: upgrade 1.10.4 -> 1.12.1
In reply to Maxin B. JohnRemove "--disable-docbook" configure option and refresh the following patch:
1. deterministic-unwind.patch
---
meta/recipes-multimedia/gstreamer/gstreamer1.0.inc | 1 -
.../gstreamer1.0/deterministic-unwind.patch | 29 ++++++++++++++++------
...treamer1.0_1.10.4.bb => gstreamer1.0_1.12.1.bb} | 4 +--
3 files changed, 23 insertions(+), 11 deletions(-)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0_1.10.4.bb => gstreamer1.0_1.12.1.bb} (72%)meta/recipes-multimedia/gstreamer/gstreamer1.0.inc +0 -1
@@ -28,7 +28,6 @@ PACKAGECONFIG[unwind] = "--with-unwind,--without-unwind,libunwind" EXTRA_OECONF = " \ --disable-dependency-tracking \ - --disable-docbook \ --disable-examples \ "
meta/recipes-multimedia/gstreamer/gstreamer1.0/deterministic-unwind.patch +21 -8
@@ -1,24 +1,37 @@ -Make the detection of libunwind deterministic. +From 31fb9cde63f55f2610a736f390124a570c564169 Mon Sep 17 00:00:00 2001 +From: Ross Burton <[email protected]> +Date: Fri, 12 May 2017 17:43:08 +0300 +Subject: [PATCH] Make the detection of libunwind deterministic. Upstream-Status: Pending + Signed-off-by: Ross Burton <[email protected]> +Signed-off-by: Maxin B. John <[email protected]> +--- + configure.ac | 10 ++++++---- + 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac -index ac88fb2..182c19a 100644 +index 9fa6824..fe9696f 100644 --- a/configure.ac +++ b/configure.ac -@@ -829,3 +828,0 @@ AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes") --dnl libunwind is optionally used by the leaks tracer +@@ -821,10 +821,12 @@ fi + AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes") + + dnl libunwind is optionally used by the leaks tracer -PKG_CHECK_MODULES(UNWIND, libunwind, HAVE_UNWIND=yes, HAVE_UNWIND=no) -- -@@ -839,3 +836,7 @@ AC_CHECK_FUNC(backtrace, [ -if test "x$HAVE_UNWIND" = "xyes"; then - AC_DEFINE(HAVE_UNWIND, 1, [libunwind available]) -fi -+dnl libunwind is optionally used by the leaks tracer +AC_ARG_WITH([unwind],[AS_HELP_STRING([--with-unwind],[use libunwind])], + [], [with_unwind=yes]) +AS_IF([test "$with_unwind" = yes], + [PKG_CHECK_MODULES(UNWIND, libunwind) + AC_DEFINE(HAVE_UNWIND, 1, [libunwind available])] -+) ++ ) + + dnl libdw is optionally used to add source lines and numbers to backtraces + PKG_CHECK_MODULES(DW, libdw, HAVE_DW=yes, HAVE_DW=no) +-- +2.4.0 +
meta/recipes-multimedia/gstreamer/gstreamer1.0_1.12.1.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0_1.10.4.bb +2 -2
@@ -7,7 +7,7 @@ SRC_URI = " \ http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz \ file://deterministic-unwind.patch \ " -SRC_URI[md5sum] = "7c91a97e4a2dc81eafd59d0a2f8b0d6e" -SRC_URI[sha256sum] = "50c2f5af50a6cc6c0a3f3ed43bdd8b5e2bff00bacfb766d4be139ec06d8b5218" +SRC_URI[md5sum] = "3c9f2bc7d75daf87fb5d8d0f2158b8ea" +SRC_URI[sha256sum] = "9044b9d8b3ff44457fa9e36faa59c56684b587b34dee449bfe15ec0c32a3a6d2" S = "${WORKDIR}/gstreamer-${PV}"
Signature · 1 line
2.4.0
PATCH v3 4/12 gstreamer1.0-plugins-ugly: upgrade 1.10.4 -> 1.12.1
In reply to Maxin B. Johnlibmad support is not present anymore.
---
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc | 1 -
...1.0-plugins-ugly_1.10.4.bb => gstreamer1.0-plugins-ugly_1.12.1.bb} | 4 ++--
2 files changed, 2 insertions(+), 3 deletions(-)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.10.4.bb => gstreamer1.0-plugins-ugly_1.12.1.bb} (76%)meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly.inc +0 -1
@@ -18,7 +18,6 @@ PACKAGECONFIG[amrwb] = "--enable-amrwb,--disable-amrwb,opencore-amr" PACKAGECONFIG[cdio] = "--enable-cdio,--disable-cdio,libcdio" PACKAGECONFIG[dvdread] = "--enable-dvdread,--disable-dvdread,libdvdread" PACKAGECONFIG[lame] = "--enable-lame,--disable-lame,lame" -PACKAGECONFIG[mad] = "--enable-mad,--disable-mad,libmad" PACKAGECONFIG[mpeg2dec] = "--enable-mpeg2dec,--disable-mpeg2dec,mpeg2dec" PACKAGECONFIG[mpg123] = "--enable-mpg123,--disable-mpg123,mpg123" PACKAGECONFIG[x264] = "--enable-x264,--disable-x264,x264"
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.12.1.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.10.4.bb +2 -2
@@ -7,7 +7,7 @@ SRC_URI = " \ http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz \ file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ " -SRC_URI[md5sum] = "c68d0509c9980b0b70a4b836ff73fff1" -SRC_URI[sha256sum] = "6386c77ca8459cba431ed0b63da780c7062c7cc48055d222024d8eaf198ffa59" +SRC_URI[md5sum] = "101a9d1613c16889df43f00d859c954a" +SRC_URI[sha256sum] = "8fc2123d059713a34fa5d0a26641fb8158f52f6766633d2db7a661adc88e1069" S = "${WORKDIR}/gst-plugins-ugly-${PV}"
Signature · 1 line
2.4.0
PATCH v3 5/12 gstreamer1.0-rtsp-server: upgrade 1.10.4 -> 1.12.1
In reply to Maxin B. JohnUpgrade to 1.12.1
--- .../recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb | 6 ------ .../recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.12.1.bb | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.12.1.bb
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb deleted +0 -6
@@ -1,6 +0,0 @@ -require gstreamer1.0-rtsp-server.inc - -SRC_URI[md5sum] = "ef587fa6393e09bc26f884510596e305" -SRC_URI[sha256sum] = "2f6e12fd4e3568ee190dc24e57e4c3a878971c3a3fb6904a9674404fac256de6" - -LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d"
meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.12.1.bb new file +6 -0
@@ -0,0 +1,6 @@ +require gstreamer1.0-rtsp-server.inc + +SRC_URI[md5sum] = "5fdc18925caab476b4388d77b9ffbc72" +SRC_URI[sha256sum] = "f27b9bde057e861a7705fa1263a9288a09fce8c42d8d5363c0bef4fe93994292" + +LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d"
Signature · 1 line
2.4.0
PATCH v3 6/12 gstreamer1.0-omx: upgrade 1.10.4 -> 1.12.1
In reply to Maxin B. JohnUpgrade to 1.12.1
---
.../{gstreamer1.0-omx_1.10.4.bb => gstreamer1.0-omx_1.12.1.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-omx_1.10.4.bb => gstreamer1.0-omx_1.12.1.bb} (69%)meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.12.1.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.10.4.bb +2 -2
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \ SRC_URI = "http://gstreamer.freedesktop.org/src/gst-omx/gst-omx-${PV}.tar.xz" -SRC_URI[md5sum] = "cedb230f1c47d0cf4b575d70dff66ff2" -SRC_URI[sha256sum] = "45072925cf262f0fd528fab78f0de52734e46a5a88aa802fae51c67c09c81aa2" +SRC_URI[md5sum] = "c9ae4cfc8e7479949ec75da034f85727" +SRC_URI[sha256sum] = "13faf0eb679c37a01f64c47f23018c2d894fa0ff1c3b98d4b1d1c69a7b3ca183" S = "${WORKDIR}/gst-omx-${PV}"
Signature · 1 line
2.4.0
PATCH v3 7/12 gstreamer1.0-libav: upgrade 1.10.4 -> 1.12.1
In reply to Maxin B. JohnUpgrade to 1.12.1
---
.../{gstreamer1.0-libav_1.10.4.bb => gstreamer1.0-libav_1.12.1.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.10.4.bb => gstreamer1.0-libav_1.12.1.bb} (88%)meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.12.1.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.10.4.bb +2 -2
@@ -14,7 +14,7 @@ SRC_URI = "http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${PV}.tar.xz file://mips64_cpu_detection.patch \ file://0001-configure-check-for-armv7ve-variant.patch \ " -SRC_URI[md5sum] = "e2bdd9fde6ca3ff7efffb93df121f4fd" -SRC_URI[sha256sum] = "6ca0feca75e3d48315e07f20ec37cf6260ed1e9dde58df355febd5016246268b" +SRC_URI[md5sum] = "b34c46d1af8a1067543c45209d711b57" +SRC_URI[sha256sum] = "55d7823fdf63195de991adfef32db4b8a8bef3cafa46115a951e590dc18a5077" S = "${WORKDIR}/gst-libav-${PV}"
Signature · 1 line
2.4.0
PATCH v3 8/12 gstreamer1.0-vaapi: upgrade 1.10.4 -> 1.12.1
In reply to Maxin B. JohnRemove backport patch:
1. vaapivideobufferpool-create-allocator-if-needed.patch
--- ...ideobufferpool-create-allocator-if-needed.patch | 61 ---------------------- .../gstreamer/gstreamer1.0-vaapi_1.10.4.bb | 7 --- .../gstreamer/gstreamer1.0-vaapi_1.12.1.bb | 5 ++ 3 files changed, 5 insertions(+), 68 deletions(-) delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer-vaapi/vaapivideobufferpool-create-allocator-if-needed.patch delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.10.4.bb create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.12.1.bb
meta/recipes-multimedia/gstreamer/gstreamer-vaapi/vaapivideobufferpool-create-allocator-if-needed.patch deleted +0 -61
@@ -1,61 +0,0 @@ -Signed-off-by: Jussi Kukkonen <[email protected]> -Upstream-Status: Backport [commit 59a731be6b in '1.10' branch] - - -From 02a6002c3a80b3a5301c0943b1a1518bbdf439fc Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= - <[email protected]> -Date: Fri, 21 Apr 2017 19:07:18 +0200 -Subject: [PATCH] vaapivideobufferpool: create allocator if needed - -Backport to branch 1.10 - -Sometimes a video decoder could set different buffer pool -configurations, because their frame size changes. In this case we -did not reconfigure the allocator. - -This patch enables this use case, creating a new allocator inside -the VAAPI buffer pool if the caps changed, if it is not dmabuf-based. -If so, it is just reconfigured, since it doesn't have a surface pool. - -https://bugzilla.gnome.org/show_bug.cgi?id=781577 ---- - gst/vaapi/gstvaapivideobufferpool.c | 21 +++++++++++++++++++++ - 1 file changed, 21 insertions(+) - -diff --git a/gst/vaapi/gstvaapivideobufferpool.c b/gst/vaapi/gstvaapivideobufferpool.c -index a3b9223f..9a50614b 100644 ---- a/gst/vaapi/gstvaapivideobufferpool.c -+++ b/gst/vaapi/gstvaapivideobufferpool.c -@@ -159,6 +159,27 @@ gst_vaapi_video_buffer_pool_set_config (GstBufferPool * pool, - gst_object_replace ((GstObject **) & priv->allocator, NULL); - priv->video_info = new_vip; - -+ { -+ guint surface_alloc_flags; -+ gboolean vinfo_changed = FALSE; -+ -+ if (allocator) { -+ const GstVideoInfo *alloc_vinfo = -+ gst_allocator_get_vaapi_video_info (allocator, &surface_alloc_flags); -+ vinfo_changed = gst_video_info_changed (alloc_vinfo, &new_vip); -+ } -+ -+ if (vinfo_changed && allocator && priv->use_dmabuf_memory) { -+ gst_allocator_set_vaapi_video_info (allocator, &new_vip, -+ surface_alloc_flags); -+ } else if (!priv->use_dmabuf_memory && (vinfo_changed || !allocator)) { -+ /* let's destroy the other allocator and create a new one */ -+ allocator = gst_vaapi_video_allocator_new (priv->display, &new_vip, -+ surface_alloc_flags); -+ gst_buffer_pool_config_set_allocator (config, allocator, NULL); -+ } -+ } -+ - if (!gst_buffer_pool_config_has_option (config, - GST_BUFFER_POOL_OPTION_VAAPI_VIDEO_META)) - goto error_no_vaapi_video_meta_option; --- -2.11.0 - -
meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.10.4.bb deleted +0 -7
@@ -1,7 +0,0 @@ -require gstreamer1.0-vaapi.inc -SRC_URI[md5sum] = "318af17f906637570b61dd7be9b5581d" -SRC_URI[sha256sum] = "03e690621594d9f9495d86c7dac8b8590b3a150462770ed070dc76f66a70de75" - -SRC_URI += "file://vaapivideobufferpool-create-allocator-if-needed.patch" - -DEPENDS += "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.12.1.bb new file +5 -0
@@ -0,0 +1,5 @@ +require gstreamer1.0-vaapi.inc +SRC_URI[md5sum] = "e5c07f867640a9507b8590adf9fba589" +SRC_URI[sha256sum] = "de4e9697a856660ccbf27f45ffa86b1a97af426f7823ec65a48f2e9daac9e4a1" + +DEPENDS += "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
Signature · 1 line
2.4.0
PATCH v3 10/12 gstreamer1.0-plugins-good: upgrade 1.10.4 -> 1.12.1
In reply to Maxin B. JohnRemove backported patch:
1.0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch
Added RPROVIDES to handle the renamed plugins (oss4 is not enabled):
1. libgstpulse -> libgstpulseaudio
2. libgstsouphttpsrc -> libgstsoup
Updated gstreamer1.0-meta-base to include this change:
1.gstsouphttpsrc plugin was renamed to gstsoup
---
.../gstreamer/gstreamer1.0-meta-base.bb | 2 +-
...Also-add-videometa-if-there-is-padding-to.patch | 35 ----------------------
...10.4.bb => gstreamer1.0-plugins-good_1.12.1.bb} | 8 +++--
3 files changed, 6 insertions(+), 39 deletions(-)
delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.10.4.bb => gstreamer1.0-plugins-good_1.12.1.bb} (77%)meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb +1 -1
@@ -37,7 +37,7 @@ RDEPENDS_gstreamer1.0-meta-base = "\ gstreamer1.0-plugins-base-videoscale \ gstreamer1.0-plugins-base-videoconvert \ gstreamer1.0-plugins-good-autodetect \ - gstreamer1.0-plugins-good-souphttpsrc" + gstreamer1.0-plugins-good-soup" RRECOMMENDS_gstreamer1.0-meta-x11-base = "\ gstreamer1.0-plugins-base-ximagesink \
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch deleted +0 -35
@@ -1,35 +0,0 @@ -From 22be02612adc757f6a43cefc6ee65ecaef68f0d9 Mon Sep 17 00:00:00 2001 -From: Carlos Rafael Giani <[email protected]> -Date: Thu, 23 Mar 2017 22:13:05 +0100 -Subject: [PATCH] v4l2object: Also add videometa if there is padding to the - right and bottom - -https://bugzilla.gnome.org/show_bug.cgi?id=780478 - -Upstream-Status: Backport [1.10.5] - -Signed-off-by: Carlos Rafael Giani <[email protected]> ---- - sys/v4l2/gstv4l2object.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/sys/v4l2/gstv4l2object.c b/sys/v4l2/gstv4l2object.c -index 91c8ff0..ed4654e 100644 ---- a/sys/v4l2/gstv4l2object.c -+++ b/sys/v4l2/gstv4l2object.c -@@ -3070,9 +3070,10 @@ store_info: - GST_DEBUG_OBJECT (v4l2object->element, "Got sizeimage %" G_GSIZE_FORMAT, - info->size); - -- /* to avoid copies we need video meta if top or left padding */ -+ /* to avoid copies we need video meta if there is padding */ - v4l2object->need_video_meta = -- ((align->padding_top + align->padding_left) != 0); -+ ((align->padding_top + align->padding_left + align->padding_right + -+ align->padding_bottom) != 0); - - /* ... or if stride is non "standard" */ - if (!standard_stride) --- -2.7.4 -
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.12.1.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.10.4.bb +5 -3
@@ -10,9 +10,11 @@ SRC_URI = " \ file://avoid-including-sys-poll.h-directly.patch \ file://ensure-valid-sentinel-for-gst_structure_get.patch \ file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ - file://0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch \ " -SRC_URI[md5sum] = "cc0cc13cdb07d4237600b6886b81f31d" -SRC_URI[sha256sum] = "8a86c61434a8c44665365bd0b3557a040937d1f44bf69caee4e9ea816ce74d7e" +SRC_URI[md5sum] = "53647e9fe9446f2ad808d55fcdf85b6e" +SRC_URI[sha256sum] = "121e8e46a7f0e622f09ec9be012607b89d737dd72d48b0f2f0680821ae2cf54b" S = "${WORKDIR}/gst-plugins-good-${PV}" + +RPROVIDES_${PN}-pulseaudio += "${PN}-pulse" +RPROVIDES_${PN}-soup += "${PN}-souphttpsrc"
Signature · 1 line
2.4.0
PATCH v3 3/12 gstreamer1.0-plugins-base: upgrade 1.10.4 -> 1.12.1
In reply to Maxin B. JohnRemove upstreamed patch:
1. encodebin-Need-more-buffers-in-output-queue-for-bett.patch
---
...eed-more-buffers-in-output-queue-for-bett.patch | 32 ----------------------
...10.4.bb => gstreamer1.0-plugins-base_1.12.1.bb} | 5 ++--
2 files changed, 2 insertions(+), 35 deletions(-)
delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/encodebin-Need-more-buffers-in-output-queue-for-bett.patch
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.10.4.bb => gstreamer1.0-plugins-base_1.12.1.bb} (78%)meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/encodebin-Need-more-buffers-in-output-queue-for-bett.patch deleted +0 -32
@@ -1,32 +0,0 @@ -From 540e02c92c75e08b90326863dc787fa5cadf9da6 Mon Sep 17 00:00:00 2001 -From: Song Bing <[email protected]> -Date: Fri, 13 Mar 2015 18:04:31 +0800 -Subject: [PATCH] encodebin: Need more buffers in output queue for better - performance - -Need more buffers in output queue for better performance - -Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=744191] - -Signed-off-by: Song Bing <[email protected]> ---- - gst/encoding/gstencodebin.c | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/gst/encoding/gstencodebin.c b/gst/encoding/gstencodebin.c -index 6728e58..32daae4 100644 ---- a/gst/encoding/gstencodebin.c -+++ b/gst/encoding/gstencodebin.c -@@ -1228,8 +1228,7 @@ _create_stream_group (GstEncodeBin * ebin, GstEncodingProfile * sprof, - * We only use a 1buffer long queue here, the actual queueing will be done - * in the input queue */ - last = sgroup->outqueue = gst_element_factory_make ("queue", NULL); -- g_object_set (sgroup->outqueue, "max-size-buffers", (guint32) 1, -- "max-size-bytes", (guint32) 0, "max-size-time", (guint64) 0, -+ g_object_set (sgroup->outqueue, "max-size-time", (guint64) 0, - "silent", TRUE, NULL); - - gst_bin_add (GST_BIN (ebin), sgroup->outqueue); --- -1.7.9.5 -
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.12.1.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.10.4.bb +2 -3
@@ -9,11 +9,10 @@ SRC_URI = " \ file://get-caps-from-src-pad-when-query-caps.patch \ file://0003-ssaparse-enhance-SSA-text-lines-parsing.patch \ file://0004-subparse-set-need_segment-after-sink-pad-received-GS.patch \ - file://encodebin-Need-more-buffers-in-output-queue-for-bett.patch \ file://make-gio_unix_2_0-dependency-configurable.patch \ file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ " -SRC_URI[md5sum] = "f6b46f8fac01eb773d556e3efc369e86" -SRC_URI[sha256sum] = "f6d245b6b3d4cb733f81ebb021074c525ece83db0c10e932794b339b8d935eb7" +SRC_URI[md5sum] = "77d67208ff3750ea6417f0365f655a90" +SRC_URI[sha256sum] = "0cce9fadb574a840b3c9d31b69faf57aad6c5543c3b134a7b935de866c9e0465" S = "${WORKDIR}/gst-plugins-base-${PV}"
Signature · 1 line
2.4.0
PATCH v3 12/12 libva: upgrade to 1.8.3
In reply to Maxin B. John1.7.3 -> 1.8.3
Remove upstreamed patch:
0001-wayland-Don-t-commit-and-ship-generated-files.patch
Replace following patch by setting ac_cv_prog in EXTRA_OECONF:
0001-configure.ac-Use-wayland-scanner-in-PATH.patch
The dummy driver was removed in 1.8.3 release.
---
...-configure.ac-Use-wayland-scanner-in-PATH.patch | 37 ---
...and-Don-t-commit-and-ship-generated-files.patch | 339 ---------------------
.../libva/{libva_1.7.3.bb => libva_1.8.3.bb} | 9 +-
3 files changed, 4 insertions(+), 381 deletions(-)
delete mode 100644 meta/recipes-graphics/libva/files/0001-configure.ac-Use-wayland-scanner-in-PATH.patch
delete mode 100644 meta/recipes-graphics/libva/files/0001-wayland-Don-t-commit-and-ship-generated-files.patch
rename meta/recipes-graphics/libva/{libva_1.7.3.bb => libva_1.8.3.bb} (88%)meta/recipes-graphics/libva/files/0001-configure.ac-Use-wayland-scanner-in-PATH.patch deleted +0 -37
@@ -1,37 +0,0 @@ -From 0af30602502035155929dd2a14482b82a9747cf8 Mon Sep 17 00:00:00 2001 -From: Jussi Kukkonen <[email protected]> -Date: Thu, 23 Feb 2017 15:23:15 +0200 -Subject: [PATCH] configure.ac: Use wayland-scanner in PATH - -pkg-config will give us the wrong wayland-scanner location. -Use the one in path instead: it will be from native sysroot. - -This is a workaround and should be fixed upstream: preferably -with the same fix as all the other wayland-scanner users -(see YOCTO #11100). - -Upstream-Status: Inappropriate [workaround] -Signed-off-by: Jussi Kukkonen <[email protected]> ---- - configure.ac | 5 +---- - 1 file changed, 1 insertion(+), 4 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 64eddf2..5536f35 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -273,10 +273,7 @@ if test "$enable_wayland" = "yes"; then - PKG_CHECK_MODULES([WAYLAND], [wayland-client >= wayland_api_version], - [USE_WAYLAND="yes"], [:]) - if test "$USE_WAYLAND" = "yes"; then -- -- WAYLAND_PREFIX=`$PKG_CONFIG --variable=prefix wayland-client` -- AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner],, -- [${WAYLAND_PREFIX}/bin$PATH_SEPARATOR$PATH]) -+ AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner]) - - AC_DEFINE([HAVE_VA_WAYLAND], [1], - [Defined to 1 if VA/Wayland API is built]) --- -2.1.4 -
meta/recipes-graphics/libva/files/0001-wayland-Don-t-commit-and-ship-generated-files.patch deleted +0 -339
339 lines not on this page · raw message
meta/recipes-graphics/libva/libva_1.8.3.bb renamed from meta/recipes-graphics/libva/libva_1.7.3.bb +4 -5
@@ -17,10 +17,8 @@ SECTION = "x11" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=2e48940f94acb0af582e5ef03537800f" -SRC_URI = "git://github.com/01org/libva.git;protocol=http;branch=v1.7-branch \ - file://0001-configure.ac-Use-wayland-scanner-in-PATH.patch \ - file://0001-wayland-Don-t-commit-and-ship-generated-files.patch" -SRCREV = "dbf9f7e33349c3cee8d131e93a6a4f91255635cb" +SRC_URI = "git://github.com/01org/libva.git;protocol=http;branch=v1.8-branch " +SRCREV = "457470987cc9df5976ce8c72ffd4bfbd9baaf0f9" UPSTREAM_CHECK_GITTAGREGEX = "libva-(?P<pver>(\d+(\.\d+)+))" S = "${WORKDIR}/git"
@@ -31,7 +29,7 @@ inherit autotools pkgconfig distro_features_check REQUIRED_DISTRO_FEATURES = "opengl" -EXTRA_OECONF = "--disable-dummy-driver" +EXTRA_OECONF = "ac_cv_prog_WAYLAND_SCANNER=wayland-scanner" PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxext libxfixes"
@@ -39,6 +37,7 @@ PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland-native wayl PACKAGES =+ "${PN}-x11 ${PN}-tpi ${PN}-glx ${PN}-egl ${PN}-wayland" +RDEPENDS_${PN} =+ "${PN}-utils" RDEPENDS_${PN}-tpi =+ "${PN}" RDEPENDS_${PN}-x11 =+ "${PN}" RDEPENDS_${PN}-glx =+ "${PN}-x11"
Signature · 1 line
2.4.0
v3 cover gstreamer: upgrade to 1.12.1
Upgrade gstreamer to 1.12.1
Also upgrade libva to 1.8.3. This upgrade helps us to remove the workaround patch in gst-player - [YOCTO #11437]
We "should" move to the new home of gst-player and upgrade it:
https://cgit.freedesktop.org/gstreamer/gst-examples
However, the buildsystem of gst-player moved to meson. Waiting for meson to be in oe-core for this transition.
Changes in v2:
Handle remaming of plugins in gstreamer1.0-plugins-good
Changes in v3:
Add new recipe for libva-utils and make libva RDEPEND on it Rearrange the RPROVIDES in gstreamer1.0-plugins-good
Maxin B. John (12):
gst-player: remove workaround which disable visualizations gstreamer1.0: upgrade 1.10.4 -> 1.12.1 gstreamer1.0-plugins-base: upgrade 1.10.4 -> 1.12.1 gstreamer1.0-plugins-ugly: upgrade 1.10.4 -> 1.12.1 gstreamer1.0-rtsp-server: upgrade 1.10.4 -> 1.12.1 gstreamer1.0-omx: upgrade 1.10.4 -> 1.12.1 gstreamer1.0-libav: upgrade 1.10.4 -> 1.12.1 gstreamer1.0-vaapi: upgrade 1.10.4 -> 1.12.1 gstreamer1.0-plugins-bad: upgrade 1.10.4 -> 1.12.1 gstreamer1.0-plugins-good: upgrade 1.10.4 -> 1.12.1
libva-utils: add recipe
libva: upgrade to 1.8.3
...-configure.ac-Use-wayland-scanner-in-PATH.patch | 37 -
...and-Don-t-commit-and-ship-generated-files.patch | 339 --------
meta/recipes-graphics/libva/libva-utils_1.8.3.bb | 30 +
.../libva/{libva_1.7.3.bb => libva_1.8.3.bb} | 9 +-
.../0001-gtk-play-Disable-visualizations.patch | 59 --
...error-signal-emission-for-missing-plugins.patch | 252 ------
.../gstreamer/gst-player/Fix-pause-play.patch | 107 ---
.../gstreamer/gst-player/filechooser.patch | 54 --
.../recipes-multimedia/gstreamer/gst-player_git.bb | 4 -
...ideobufferpool-create-allocator-if-needed.patch | 61 --
...ibav_1.10.4.bb => gstreamer1.0-libav_1.12.1.bb} | 4 +-
.../gstreamer/gstreamer1.0-meta-base.bb | 2 +-
....0-omx_1.10.4.bb => gstreamer1.0-omx_1.12.1.bb} | 4 +-
.../gstreamer/gstreamer1.0-plugins-bad.inc | 24 +-
...-don-t-hardcode-libtool-name-when-running.patch | 60 +-
...G_CONFIG_SYSROOT_DIR-to-pkg-config-output.patch | 42 +-
...gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch | 21 +-
...1-mssdemux-improved-live-playback-support.patch | 929 ---------------------
...ming-implement-adaptivedemux-s-get_live_s.patch | 183 ----
...ming-use-the-duration-from-the-list-of-fr.patch | 62 --
....10.4.bb => gstreamer1.0-plugins-bad_1.12.1.bb} | 11 +-
...eed-more-buffers-in-output-queue-for-bett.patch | 32 -
...10.4.bb => gstreamer1.0-plugins-base_1.12.1.bb} | 5 +-
...Also-add-videometa-if-there-is-padding-to.patch | 35 -
...10.4.bb => gstreamer1.0-plugins-good_1.12.1.bb} | 8 +-
.../gstreamer/gstreamer1.0-plugins-ugly.inc | 1 -
...10.4.bb => gstreamer1.0-plugins-ugly_1.12.1.bb} | 4 +-
.../gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb | 6 -
.../gstreamer/gstreamer1.0-rtsp-server_1.12.1.bb | 6 +
.../gstreamer/gstreamer1.0-vaapi_1.10.4.bb | 7 -
.../gstreamer/gstreamer1.0-vaapi_1.12.1.bb | 5 +
meta/recipes-multimedia/gstreamer/gstreamer1.0.inc | 1 -
.../gstreamer1.0/deterministic-unwind.patch | 29 +-
...treamer1.0_1.10.4.bb => gstreamer1.0_1.12.1.bb} | 4 +-
34 files changed, 170 insertions(+), 2267 deletions(-)
delete mode 100644 meta/recipes-graphics/libva/files/0001-configure.ac-Use-wayland-scanner-in-PATH.patch
delete mode 100644 meta/recipes-graphics/libva/files/0001-wayland-Don-t-commit-and-ship-generated-files.patch
create mode 100644 meta/recipes-graphics/libva/libva-utils_1.8.3.bb
rename meta/recipes-graphics/libva/{libva_1.7.3.bb => libva_1.8.3.bb} (88%)
delete mode 100644 meta/recipes-multimedia/gstreamer/gst-player/0001-gtk-play-Disable-visualizations.patch
delete mode 100644 meta/recipes-multimedia/gstreamer/gst-player/Add-error-signal-emission-for-missing-plugins.patch
delete mode 100644 meta/recipes-multimedia/gstreamer/gst-player/Fix-pause-play.patch
delete mode 100644 meta/recipes-multimedia/gstreamer/gst-player/filechooser.patch
delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer-vaapi/vaapivideobufferpool-create-allocator-if-needed.patch
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.10.4.bb => gstreamer1.0-libav_1.12.1.bb} (88%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-omx_1.10.4.bb => gstreamer1.0-omx_1.12.1.bb} (69%)
delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-mssdemux-improved-live-playback-support.patch
delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-smoothstreaming-implement-adaptivedemux-s-get_live_s.patch
delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-smoothstreaming-use-the-duration-from-the-list-of-fr.patch
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.10.4.bb => gstreamer1.0-plugins-bad_1.12.1.bb} (61%)
delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/encodebin-Need-more-buffers-in-output-queue-for-bett.patch
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.10.4.bb => gstreamer1.0-plugins-base_1.12.1.bb} (78%)
delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patch
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.10.4.bb => gstreamer1.0-plugins-good_1.12.1.bb} (77%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.10.4.bb => gstreamer1.0-plugins-ugly_1.12.1.bb} (76%)
delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb
create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.12.1.bb
delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.10.4.bb
create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.12.1.bb
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0_1.10.4.bb => gstreamer1.0_1.12.1.bb} (72%)Signature · 1 line
2.4.0
PATCH v3 11/12 libva-utils: add recipe
Utilities and tests in the libva was spun-off as libva-utils during 1.8.0 release.
libva-utils is a collection of utilities and examples to exercise VA-API in accordance with the libva project
--- meta/recipes-graphics/libva/libva-utils_1.8.3.bb | 30 ++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 meta/recipes-graphics/libva/libva-utils_1.8.3.bb
meta/recipes-graphics/libva/libva-utils_1.8.3.bb new file +30 -0
@@ -0,0 +1,30 @@ +SUMMARY = "libva-utils is a collection of utilities from libva project" + +DESCRIPTION = "libva-utils is a collection of utilities \ +and examples to exercise VA-API in accordance with the libva \ +project.VA-API is an open-source library and API specification, \ +which provides access to graphics hardware acceleration capabilities \ +for video processing. It consists of a main library and driver-specific \ +acceleration backends for each supported hardware vendor" + +HOMEPAGE = "https://01.org/linuxmedia/vaapi" +BUGTRACKER = "https://github.com/01org/libva-utils/issues" + +SECTION = "x11" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=b148fc8adf19dc9aec17cf9cd29a9a5e" + +SRC_URI = "git://github.com/01org/libva-utils.git;branch=v1.8-branch" +SRCREV = "011c709b98b52db3b10aeb361dfea9da43930364" +UPSTREAM_CHECK_URI = "https://github.com/01org/libva-utils/releases" +UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))" + +S = "${WORKDIR}/git" + +DEPENDS = "libva" + +inherit autotools pkgconfig distro_features_check + +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" +PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxext libxfixes" +PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland-native wayland"
Signature · 1 line
2.4.0
PATCH v3 9/12 gstreamer1.0-plugins-bad: upgrade 1.10.4 -> 1.12.1
In reply to Maxin B. JohnRemove backported patch:
1. 0001-smoothstreaming-implement-adaptivedemux-s-get_live_s.patch
2. 0001-smoothstreaming-use-the-duration-from-the-list-of-fr.patch
3. 0001-mssdemux-improved-live-playback-support.patch
Refreshed the following patches:
1. 0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch
2. 0001-Prepend-PKG_CONFIG_SYSROOT_DIR-to-pkg-config-output.patch
3. gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch
Removed license checks in tta directory as it doesn't exist anymore. Updated unsupported plugin list.
---
.../gstreamer/gstreamer1.0-plugins-bad.inc | 24 +-
...-don-t-hardcode-libtool-name-when-running.patch | 60 +-
...G_CONFIG_SYSROOT_DIR-to-pkg-config-output.patch | 42 +-
...gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch | 21 +-
...1-mssdemux-improved-live-playback-support.patch | 929 ---------------------
...ming-implement-adaptivedemux-s-get_live_s.patch | 183 ----
...ming-use-the-duration-from-the-list-of-fr.patch | 62 --
....10.4.bb => gstreamer1.0-plugins-bad_1.12.1.bb} | 11 +-
8 files changed, 88 insertions(+), 1244 deletions(-)
delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-mssdemux-improved-live-playback-support.patch
delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-smoothstreaming-implement-adaptivedemux-s-get_live_s.patch
delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-smoothstreaming-use-the-duration-from-the-list-of-fr.patch
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.10.4.bb => gstreamer1.0-plugins-bad_1.12.1.bb} (61%)meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc +9 -15
@@ -70,14 +70,13 @@ PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland-nat PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp" # these plugins have not been ported to 1.0 (yet): -# apexsink linsys nas timidity sdl xvid wininet -# sndio cdxaparse dccp faceoverlay hdvparse tta mve nuvdemux +# cdxaparse faceoverlay hdvparse mve nuvdemux # patchdetect sdi videomeasure # these plugins have no corresponding library in OE-core or meta-openembedded: # openni2 winks direct3d directsound winscreencap acm apple_media # android_media avc bs2b chromaprint daala dts fdkaac gme gsm kate ladspa libde265 -# lv2 mimic mpeg2enc mplex musepack nvenc ofa openh264 opensles pvr soundtouch spandsp +# lv2 mpeg2enc mplex musepack nvenc ofa openh264 opensles soundtouch spandsp # spc teletextdec tinyalsa vdpau vulkan wasapi x265 zbar # qt5 support is disabled, because it is not present in OE core, and requires more work than
@@ -94,7 +93,6 @@ EXTRA_OECONF += " \ --enable-vcd \ --disable-acm \ --disable-android_media \ - --disable-apexsink \ --disable-apple_media \ --disable-avc \ --disable-bs2b \
@@ -106,44 +104,36 @@ EXTRA_OECONF += " \ --disable-dts \ --disable-fdk_aac \ --disable-gme \ + --disable-iqa \ + --disable-msdk \ + --disable-webrtcdsp \ --disable-gsm \ --disable-kate \ --disable-ladspa \ --disable-libde265 \ - --disable-libvisual \ - --disable-linsys \ --disable-lv2 \ - --disable-mimic \ --disable-mpeg2enc \ --disable-mplex \ --disable-musepack \ - --disable-nas \ --disable-nvenc \ --disable-ofa \ --disable-openexr \ --disable-openh264 \ --disable-openni2 \ --disable-opensles \ - --disable-pvr \ --disable-qt \ - --disable-sdl \ - --disable-sdltest \ - --disable-sndio \ --disable-soundtouch \ --disable-spandsp \ --disable-spc \ --disable-teletextdec \ - --disable-timidity \ --disable-tinyalsa \ --disable-vdpau \ --disable-vulkan \ --disable-wasapi \ --disable-wildmidi \ - --disable-wininet \ --disable-winks \ --disable-winscreencap \ --disable-x265 \ - --disable-xvid \ --disable-zbar \ ${@bb.utils.contains("TUNE_FEATURES", "mx32", "--disable-yadif", "", d)} \ "
@@ -157,3 +147,7 @@ FILES_${PN}-dev += "${libdir}/gstreamer-${LIBV}/include/gst/gl/gstglconfig.h" FILES_${PN}-freeverb += "${datadir}/gstreamer-${LIBV}/presets/GstFreeverb.prs" FILES_${PN}-opencv += "${datadir}/gst-plugins-bad/${LIBV}/opencv*" FILES_${PN}-voamrwbenc += "${datadir}/gstreamer-${LIBV}/presets/GstVoAmrwbEnc.prs" + +do_compile_prepend() { + export GIR_EXTRA_LIBS_PATH="${B}/gst-libs/gst/allocators/.libs" +}
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch +40 -20
86 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-Prepend-PKG_CONFIG_SYSROOT_DIR-to-pkg-config-output.patch +23 -19
57 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch +13 -8
@@ -1,24 +1,29 @@ -From a93ca63d01e7cd1e40b5be576992f77fac364bd5 Mon Sep 17 00:00:00 2001 +From 5622ca3b61603dc316a0f1fbede3f9aa353a5e48 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin <[email protected]> -Date: Mon, 21 Mar 2016 18:21:17 +0200 +Date: Fri, 12 May 2017 16:47:12 +0300 Subject: [PATCH] gstreamer-gl.pc.in: don't append GL_CFLAGS to CFLAGS Dependencies' include directories should not be added in this way; it causes problems when cross-compiling in sysroot environments. Upstream-Status: Pending + Signed-off-by: Alexander Kanavin <[email protected]> +Signed-off-by: Maxin B. John <[email protected]> --- pkgconfig/gstreamer-gl.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -Index: gst-plugins-bad-1.10.1/pkgconfig/gstreamer-gl.pc.in -=================================================================== ---- gst-plugins-bad-1.10.1.orig/pkgconfig/gstreamer-gl.pc.in -+++ gst-plugins-bad-1.10.1/pkgconfig/gstreamer-gl.pc.in -@@ -10,4 +10,4 @@ Version: @VERSION@ +diff --git a/pkgconfig/gstreamer-gl.pc.in b/pkgconfig/gstreamer-gl.pc.in +index 8e7a303..d167be1 100644 +--- a/pkgconfig/gstreamer-gl.pc.in ++++ b/pkgconfig/gstreamer-gl.pc.in +@@ -13,4 +13,4 @@ Version: @VERSION@ Requires: gstreamer-base-@GST_API_VERSION@ gstreamer-@GST_API_VERSION@ - Libs: -L${libdir} -lgstgl-@GST_API_VERSION@ @GL_LIBS@ + Libs: -L${libdir} -lgstgl-@GST_API_VERSION@ -Cflags: -I${includedir} -I${libdir}/gstreamer-@GST_API_VERSION@/include @GL_CFLAGS@ +Cflags: -I${includedir} -I${libdir}/gstreamer-@GST_API_VERSION@/include +-- +2.4.0 +
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-mssdemux-improved-live-playback-support.patch deleted +0 -929
929 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-smoothstreaming-implement-adaptivedemux-s-get_live_s.patch deleted +0 -183
183 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-smoothstreaming-use-the-duration-from-the-list-of-fr.patch deleted +0 -62
62 lines not on this page · raw message
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.12.1.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.10.4.bb +3 -8
@@ -1,9 +1,7 @@ require gstreamer1.0-plugins-bad.inc LIC_FILES_CHKSUM = "file://COPYING;md5=73a5855a8119deb017f5f13cf327095d \ - file://COPYING.LIB;md5=21682e4e8fea52413fd26c60acb907e5 \ - file://gst/tta/crc32.h;beginline=12;endline=29;md5=27db269c575d1e5317fffca2d33b3b50 \ - file://gst/tta/filters.h;beginline=12;endline=29;md5=8a08270656f2f8ad7bb3655b83138e5a" + file://COPYING.LIB;md5=21682e4e8fea52413fd26c60acb907e5 " SRC_URI = " \ http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.xz \
@@ -15,12 +13,9 @@ SRC_URI = " \ file://0009-glimagesink-Downrank-to-marginal.patch \ file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ file://0001-Prepend-PKG_CONFIG_SYSROOT_DIR-to-pkg-config-output.patch \ - file://0001-smoothstreaming-implement-adaptivedemux-s-get_live_s.patch \ - file://0001-smoothstreaming-use-the-duration-from-the-list-of-fr.patch \ - file://0001-mssdemux-improved-live-playback-support.patch \ " -SRC_URI[md5sum] = "2757103e57a096a1a05b3ab85b8381af" -SRC_URI[sha256sum] = "23ddae506b3a223b94869a0d3eea3e9a12e847f94d2d0e0b97102ce13ecd6966" +SRC_URI[md5sum] = "dbae48f984cb76e5fd482285952cf676" +SRC_URI[sha256sum] = "7def8049d1c44e50199023159dfada60af58fd503ef58a020b79044bda705b97" S = "${WORKDIR}/gst-plugins-bad-${PV}"
Signature · 1 line
2.4.0
Re: [PATCH 12/12] libva: upgrade to 1.8.3
In reply to Maxin B. JohnQuoted 2 lines · Maxin B. John
+RDEPENDS_${PN} =+ "${PN}-utils"
Whilst this makes sense from a compatibility sense, I like that the binaries are no longer packaged with the libraries so I don't think we should have this dependency.
Ross
Re: [PATCH 12/12] libva: upgrade to 1.8.3
Hi Ross,
Quoted 8 lines · Ross
Quoted 3 lines
DEPENDS_${PN} =+ "${PN}-utils"
Whilst this makes sense from a compatibility sense, I like that the binaries are no longer packaged with the libraries so I don't think we should have this dependency.
Ok, will update and send it as a single patch.
Quoted 1 line
Ross
Best Regards,
Maxin
What is the status of this? GStreamer is at 1.12.2 now, and these patches are still unmerged. What is the blocker here?
Quoted 93 lines · Maxin B. John
Upgrade gstreamer to 1.12.1
Also upgrade libva to 1.8.3. This upgrade helps us to remove the workaround patch in gst-player - [YOCTO #11437]
We "should" move to the new home of gst-player and upgrade it:
https://cgit.freedesktop.org/gstreamer/gst-examplesHowever, the buildsystem of gst-player moved to meson. Waiting for meson to be in oe-core for this transition.
Changes in v2:
Handle remaming of plugins in gstreamer1.0-plugins-goodChanges in v3:
Add new recipe for libva-utils and make libva RDEPEND on it Rearrange the RPROVIDES in gstreamer1.0-plugins-goodMaxin B. John (12):
gst-player: remove workaround which disable visualizations gstreamer1.0: upgrade 1.10.4 -> 1.12.1 gstreamer1.0-plugins-base: upgrade 1.10.4 -> 1.12.1 gstreamer1.0-plugins-ugly: upgrade 1.10.4 -> 1.12.1 gstreamer1.0-rtsp-server: upgrade 1.10.4 -> 1.12.1 gstreamer1.0-omx: upgrade 1.10.4 -> 1.12.1 gstreamer1.0-libav: upgrade 1.10.4 -> 1.12.1 gstreamer1.0-vaapi: upgrade 1.10.4 -> 1.12.1 gstreamer1.0-plugins-bad: upgrade 1.10.4 -> 1.12.1 gstreamer1.0-plugins-good: upgrade 1.10.4 -> 1.12.1 libva-utils: add recipe libva: upgrade to 1.8.3...-configure.ac-Use-wayland-scanner-in-PATH.patch | 37 - ...and-Don-t-commit-and-ship-generated-files.patch | 339 -------- meta/recipes-graphics/libva/libva-utils_1.8.3.bb | 30 + .../libva/{libva_1.7.3.bb => libva_1.8.3.bb} | 9 +- .../0001-gtk-play-Disable-visualizations.patch | 59 -- ...error-signal-emission-for-missing-plugins.patch | 252 ------ .../gstreamer/gst-player/Fix-pause-play.patch | 107 --- .../gstreamer/gst-player/filechooser.patch | 54 -- .../recipes-multimedia/gstreamer/gst-player_git.bb | 4 - ...ideobufferpool-create-allocator-if-needed.patch | 61 -- ...ibav_1.10.4.bb => gstreamer1.0-libav_1.12.1.bb} | 4 +- .../gstreamer/gstreamer1.0-meta-base.bb | 2 +- ....0-omx_1.10.4.bb => gstreamer1.0-omx_1.12.1.bb} | 4 +- .../gstreamer/gstreamer1.0-plugins-bad.inc | 24 +- ...-don-t-hardcode-libtool-name-when-running.patch | 60 +- ...G_CONFIG_SYSROOT_DIR-to-pkg-config-output.patch | 42 +- ...gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch | 21 +- ...1-mssdemux-improved-live-playback-support.patch | 929 --------------------- ...ming-implement-adaptivedemux-s-get_live_s.patch | 183 ---- ...ming-use-the-duration-from-the-list-of-fr.patch | 62 -- ....10.4.bb => gstreamer1.0-plugins-bad_1.12.1.bb} | 11 +- ...eed-more-buffers-in-output-queue-for-bett.patch | 32 - ...10.4.bb => gstreamer1.0-plugins-base_1.12.1.bb} | 5 +- ...Also-add-videometa-if-there-is-padding-to.patch | 35 - ...10.4.bb => gstreamer1.0-plugins-good_1.12.1.bb} | 8 +- .../gstreamer/gstreamer1.0-plugins-ugly.inc | 1 - ...10.4.bb => gstreamer1.0-plugins-ugly_1.12.1.bb} | 4 +- .../gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb | 6 - .../gstreamer/gstreamer1.0-rtsp-server_1.12.1.bb | 6 + .../gstreamer/gstreamer1.0-vaapi_1.10.4.bb | 7 - .../gstreamer/gstreamer1.0-vaapi_1.12.1.bb | 5 + meta/recipes-multimedia/gstreamer/gstreamer1.0.inc | 1 - .../gstreamer1.0/deterministic-unwind.patch | 29 +- ...treamer1.0_1.10.4.bb => gstreamer1.0_1.12.1.bb} | 4 +- 34 files changed, 170 insertions(+), 2267 deletions(-)delete mode 100644
meta/recipes-graphics/libva/files/0001-configure.ac-Use-wayland-scanner-in-PATH.patch
delete mode 100644meta/recipes-graphics/libva/files/0001-wayland-Don-t-commit-and-ship-generated-files.patch
create mode 100644 meta/recipes-graphics/libva/libva-utils_1.8.3.bb
rename meta/recipes-graphics/libva/{libva_1.7.3.bb => libva_1.8.3.bb} (88%)
delete mode 100644meta/recipes-multimedia/gstreamer/gst-player/0001-gtk-play-Disable-visualizations.patch
delete mode 100644meta/recipes-multimedia/gstreamer/gst-player/Add-error-signal-emission-for-missing-plugins.patchdelete mode 100644meta/recipes-multimedia/gstreamer/gst-player/Fix-pause-play.patch
delete mode 100644meta/recipes-multimedia/gstreamer/gst-player/filechooser.patch
delete mode 100644meta/recipes-multimedia/gstreamer/gstreamer-vaapi/vaapivideobufferpool-create-allocator-if-needed.patchrename meta/recipes-multimedia/gstreamer/{gstreamer1.0-libav_1.10.4.bb => gstreamer1.0-libav_1.12.1.bb} (88%)
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-omx_1.10.4.bb => gstreamer1.0-omx_1.12.1.bb} (69%)
delete mode 100644meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-mssdemux-improved-live-playback-support.patchdelete mode 100644meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-smoothstreaming-implement-adaptivedemux-s-get_live_s.patchdelete mode 100644meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-smoothstreaming-use-the-duration-from-the-list-of-fr.patchrename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-bad_1.10.4.bb => gstreamer1.0-plugins-bad_1.12.1.bb} (61%) delete mode 100644meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/encodebin-Need-more-buffers-in-output-queue-for-bett.patchrename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-base_1.10.4.bb => gstreamer1.0-plugins-base_1.12.1.bb} (78%) delete mode 100644meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/0001-v4l2object-Also-add-videometa-if-there-is-padding-to.patchrename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.10.4.bb => gstreamer1.0-plugins-good_1.12.1.bb} (77%) rename meta/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-ugly_1.10.4.bb => gstreamer1.0-plugins-ugly_1.12.1.bb} (76%) delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.10.4.bb
create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.12.1.bb
delete mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.10.4.bb
create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.12.1.bb
rename meta/recipes-multimedia/gstreamer/{gstreamer1.0_1.10.4.bb => gstreamer1.0_1.12.1.bb} (72%)
Quoted 2 lines · Carlos Rafael Giani
What is the status of this? GStreamer is at 1.12.2 now, and these patches are still unmerged. What is the blocker here?
Ross?
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
Re: [PATCH 02/12] gstreamer1.0: upgrade 1.10.4 -> 1.12.1
In reply to Maxin B. JohnWhy is libdw no longer a packageconfig compared to my 1.12.0 patches? This new version does not seem to use a deterministic libdw check. Also, at least according to https://lwn.net/Articles/579508/ , libdw is newer than libunwind, so keeping dw as a packageconfig sounds useful to me.
Quoted 91 lines · Maxin B. John
Remove "--disable-docbook" configure option and refresh the following patch:
1. deterministic-unwind.patchSigned-off-by Maxin B. John <[email protected]>--- meta/recipes-multimedia/gstreamer/gstreamer1.0.inc | 1 - .../gstreamer1.0/deterministic-unwind.patch | 29 ++++++++++++++++------ ...treamer1.0_1.10.4.bb => gstreamer1.0_1.12.1.bb} | 4 +-- 3 files changed, 23 insertions(+), 11 deletions(-)rename meta/recipes-multimedia/gstreamer/{gstreamer1.0_1.10.4.bb => gstreamer1.0_1.12.1.bb} (72%)
meta/recipes-multimedia/gstreamer/gstreamer1.0.inc +0
-1@@ -28,7 +28,6 @@ PACKAGECONFIG[unwind] = "--with-unwind,--without-unwind,libunwind" EXTRA_OECONF = " \ --disable-dependency-tracking \ - --disable-docbook \ --disable-examples \ "meta/recipes-multimedia/gstreamer/gstreamer1.0/deterministic-unwind.patch +21
-8@@ -1,24 +1,37 @@ -Make the detection of libunwind deterministic. +From 31fb9cde63f55f2610a736f390124a570c564169 Mon Sep 17 00:00:00 2001 +From: Ross Burton <[email protected]> +Date: Fri, 12 May 2017 17:43:08 +0300 +Subject: [PATCH] Make the detection of libunwind deterministic. Upstream-Status: Pending + Signed-off-by: Ross Burton <[email protected]> +Signed-off-by: Maxin B. John <[email protected]> +--- + configure.ac | 10 ++++++---- + 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac -index ac88fb2..182c19a 100644 +index 9fa6824..fe9696f 100644 --- a/configure.ac +++ b/configure.ac -@@ -829,3 +828,0 @@ AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes") --dnl libunwind is optionally used by the leaks tracer +@@ -821,10 +821,12 @@ fi + AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes") + + dnl libunwind is optionally used by the leaks tracer -PKG_CHECK_MODULES(UNWIND, libunwind, HAVE_UNWIND=yes, HAVE_UNWIND=no) -- -@@ -839,3 +836,7 @@ AC_CHECK_FUNC(backtrace, [ -if test "x$HAVE_UNWIND" = "xyes"; then - AC_DEFINE(HAVE_UNWIND, 1, [libunwind available]) -fi -+dnl libunwind is optionally used by the leaks tracer +AC_ARG_WITH([unwind],[AS_HELP_STRING([--with-unwind],[use libunwind])], + [], [with_unwind=yes]) +AS_IF([test "$with_unwind" = yes], + [PKG_CHECK_MODULES(UNWIND, libunwind) + AC_DEFINE(HAVE_UNWIND, 1, [libunwind available])] -+) ++ ) + + dnl libdw is optionally used to add source lines and numbers to backtraces + PKG_CHECK_MODULES(DW, libdw, HAVE_DW=yes, HAVE_DW=no) +-- +2.4.0 +meta/recipes-multimedia/gstreamer/gstreamer1.0_1.12.1.bb renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0_1.10.4.bb +2
-2@@ -7,7 +7,7 @@ SRC_URI = " \ http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz \ file://deterministic-unwind.patch \ " -SRC_URI[md5sum] = "7c91a97e4a2dc81eafd59d0a2f8b0d6e" -SRC_URI[sha256sum] = "50c2f5af50a6cc6c0a3f3ed43bdd8b5e2bff00bacfb766d4be139ec06d8b5218" +SRC_URI[md5sum] = "3c9f2bc7d75daf87fb5d8d0f2158b8ea" +SRC_URI[sha256sum] = "9044b9d8b3ff44457fa9e36faa59c56684b587b34dee449bfe15ec0c32a3a6d2" S = "${WORKDIR}/gstreamer-${PV}"