Commit 00eceb43 authored by Christian Neumair's avatar Christian Neumair Committed by Christian Neumair

Use playbin for playback, but keep video playback disabled. (#523959).

2008-03-23  Christian Neumair  <cneumair@gnome.org>

	* src/file-manager/fm-icon-view.c (play_file):
	Use playbin for playback, but keep video playback disabled. (#523959).

svn path=/trunk/; revision=13979
parent 3839fd22
2008-03-23 Christian Neumair <cneumair@gnome.org>
* src/file-manager/fm-icon-view.c (play_file):
Use playbin for playback, but keep video playback disabled. (#523959).
2008-03-23 Paolo Borelli <pborelli@katamail.com>
* src/nautilus-location-entry.c: do not leak the
......
......@@ -1764,14 +1764,10 @@ get_preview_argv (char *uri)
argv = g_new (char *, 10);
i = 0;
argv[i++] = command;
argv[i++] = g_strdup ("uridecodebin");
argv[i++] = g_strdup ("playbin");
argv[i++] = g_strconcat ("uri=", uri, NULL);
argv[i++] = g_strdup ("!");
argv[i++] = g_strdup ("audioconvert");
argv[i++] = g_strdup ("!");
argv[i++] = g_strdup ("audioresample");
argv[i++] = g_strdup ("!");
argv[i++] = g_strdup ("autoaudiosink");
/* do not display videos */
argv[i++] = g_strdup ("current-video=-1");
argv[i++] = NULL;
return argv;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment