- Fix audio preview command-line to use decodebin so playbin doesn't pop up

a window for videos detected as audio
This commit is contained in:
Bastien Nocera 2007-10-30 14:09:18 +00:00
parent 96adc6ee6f
commit 8f4e63cdc4
2 changed files with 6 additions and 2 deletions

View File

@ -27,7 +27,7 @@ Index: src/file-manager/fm-icon-view.c
+ if (command) { + if (command) {
+ char *new_cmd; + 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); + g_free (command);
+ return new_cmd; + return new_cmd;
+ } + }

View File

@ -18,7 +18,7 @@
Name: nautilus Name: nautilus
Summary: Nautilus is a file manager for GNOME Summary: Nautilus is a file manager for GNOME
Version: 2.20.0 Version: 2.20.0
Release: 5%{?dist} Release: 6%{?dist}
License: GPLv2+ License: GPLv2+
Group: User Interface/Desktops Group: User Interface/Desktops
Source: http://download.gnome.org/sources/%{name}/2.20/%{name}-%{version}.tar.bz2 Source: http://download.gnome.org/sources/%{name}/2.20/%{name}-%{version}.tar.bz2
@ -232,6 +232,10 @@ fi
%{_libdir}/*.so %{_libdir}/*.so
%changelog %changelog
* Tue Oct 30 2007 - Bastien Nocera <bnocera@redhat.com> - 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 <bnocera@redhat.com> - 2.20.0-5 * Tue Oct 16 2007 - Bastien Nocera <bnocera@redhat.com> - 2.20.0-5
- Add patch from upstream to get audio preview working again - Add patch from upstream to get audio preview working again
(#332251) (#332251)