nautilus r13979 - in trunk: . src/file-manager



Author: cneumair
Date: Sun Mar 23 12:50:58 2008
New Revision: 13979
URL: http://svn.gnome.org/viewvc/nautilus?rev=13979&view=rev

Log:
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).


Modified:
   trunk/ChangeLog
   trunk/src/file-manager/fm-icon-view.c

Modified: trunk/src/file-manager/fm-icon-view.c
==============================================================================
--- trunk/src/file-manager/fm-icon-view.c	(original)
+++ trunk/src/file-manager/fm-icon-view.c	Sun Mar 23 12:50:58 2008
@@ -1764,14 +1764,10 @@
 		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;
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]