From 05af7ee11f9990e73a13bc14f8468ab6633a572c Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Oct 30 2007 14:06:59 +0000 Subject: - Fix audio preview command-line to use decodebin so playbin doesn't pop up a window for videos detected as audio --- diff --git a/nautilus-2.20-make-audio-preview-work.patch b/nautilus-2.20-make-audio-preview-work.patch index 61c6bbb..9f9f959 100644 --- a/nautilus-2.20-make-audio-preview-work.patch +++ b/nautilus-2.20-make-audio-preview-work.patch @@ -27,7 +27,7 @@ Index: src/file-manager/fm-icon-view.c + if (command) { + char *new_cmd; + -+ new_cmd = g_strdup_printf ("%s playbin uri=fd://0", command); ++ new_cmd = g_strdup_printf ("%s uridecodebin uri=fd://0 ! audioconvert ! audioresample ! autoaudiosink", command); + g_free (command); + return new_cmd; + } diff --git a/nautilus.spec b/nautilus.spec index bdbcf8b..7520104 100644 --- a/nautilus.spec +++ b/nautilus.spec @@ -18,7 +18,7 @@ Name: nautilus Summary: Nautilus is a file manager for GNOME Version: 2.20.0 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ Group: User Interface/Desktops Source: http://download.gnome.org/sources/%{name}/2.20/%{name}-%{version}.tar.bz2 @@ -232,6 +232,10 @@ fi %{_libdir}/*.so %changelog +* Tue Oct 30 2007 - Bastien Nocera - 2.20.0-6 +- Fix audio preview command-line to use decodebin so playbin doesn't + pop up a window for videos detected as audio + * Tue Oct 16 2007 - Bastien Nocera - 2.20.0-5 - Add patch from upstream to get audio preview working again (#332251)