diff options
author | Maxin B. John <maxin.john@intel.com> | 2017-08-14 15:09:07 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-17 00:21:15 +0100 |
commit | afb2ba67fea2f6e545676ad4f3ade0abc7d84e63 (patch) | |
tree | b04e327bb791e7d2d3a82eeae60b244b4e0ea58c /meta/recipes-multimedia/gstreamer/gst-player/filechooser.patch | |
parent | 14af29ed1dd5d0f0569f15c16b070a0dffe84524 (diff) | |
download | poky-afb2ba67fea2f6e545676ad4f3ade0abc7d84e63.tar.gz |
gst-player: remove workaround which disable visualizations
As 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]
(From OE-Core rev: 50f1902cb44724aa4b030e4e42b115231217acc9)
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gst-player/filechooser.patch')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gst-player/filechooser.patch | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gst-player/filechooser.patch b/meta/recipes-multimedia/gstreamer/gst-player/filechooser.patch deleted file mode 100644 index 7bf1b034b3..0000000000 --- a/meta/recipes-multimedia/gstreamer/gst-player/filechooser.patch +++ /dev/null | |||
@@ -1,54 +0,0 @@ | |||
1 | Upstream-Status: Submitted | ||
2 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
3 | |||
4 | From 43d4b19ab611d844156e26c4840cc54ddb73ae03 Mon Sep 17 00:00:00 2001 | ||
5 | From: Ross Burton <ross.burton@intel.com> | ||
6 | Date: Thu, 26 Feb 2015 17:17:05 +0000 | ||
7 | Subject: [PATCH] gtk-play: show a file chooser if no URIs were passed | ||
8 | |||
9 | --- | ||
10 | gtk/gtk-play.c | 28 ++++++++++++++++++++++++++-- | ||
11 | 1 file changed, 26 insertions(+), 2 deletions(-) | ||
12 | |||
13 | diff --git a/gtk/gtk-play.c b/gtk/gtk-play.c | ||
14 | index f015077..9766a72 100644 | ||
15 | --- a/gtk/gtk-play.c | ||
16 | +++ b/gtk/gtk-play.c | ||
17 | @@ -319,8 +319,32 @@ main (gint argc, gchar ** argv) | ||
18 | // FIXME: Add support for playlists and stuff | ||
19 | /* Parse the list of the file names we have to play. */ | ||
20 | if (!file_names) { | ||
21 | - g_print ("Usage: %s FILE(s)|URI(s)\n", APP_NAME); | ||
22 | - return 1; | ||
23 | + GtkWidget *chooser; | ||
24 | + int res; | ||
25 | + | ||
26 | + chooser = gtk_file_chooser_dialog_new ("Select files to play", NULL, | ||
27 | + GTK_FILE_CHOOSER_ACTION_OPEN, | ||
28 | + "_Cancel", GTK_RESPONSE_CANCEL, | ||
29 | + "_Open", GTK_RESPONSE_ACCEPT, | ||
30 | + NULL); | ||
31 | + g_object_set (chooser, | ||
32 | + "local-only", FALSE, | ||
33 | + "select-multiple", TRUE, | ||
34 | + NULL); | ||
35 | + | ||
36 | + res = gtk_dialog_run (GTK_DIALOG (chooser)); | ||
37 | + if (res == GTK_RESPONSE_ACCEPT) { | ||
38 | + GSList *l; | ||
39 | + | ||
40 | + l = gtk_file_chooser_get_uris (GTK_FILE_CHOOSER (chooser)); | ||
41 | + while (l) { | ||
42 | + play.uris = g_list_append (play.uris, l->data); | ||
43 | + l = g_slist_delete_link (l, l); | ||
44 | + } | ||
45 | + } else { | ||
46 | + return 0; | ||
47 | + } | ||
48 | + gtk_widget_destroy (chooser); | ||
49 | } else { | ||
50 | guint i; | ||
51 | |||
52 | -- | ||
53 | 1.7.10.4 | ||
54 | |||