[PATCH] nautilus sound preview does not work with newer distributions



I switched gstreamer pipeline to use playbin. uridecodebin is for
example not available in debian anymore since
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=415572 :
+ debian/gstreamer-plugins-base.install:
       - Drop removed uridecodebin plugin, GstURIDecodeBin is in the decodebin2
         plugin now.
As totem-audio-preview seems not available either the current situation
render sound preview impossible.

Waiting for your comment .. my knowledge of gstreamer and totem is
rather limited right now so the use of playbin is just a guess.

I reported the issue  in
http://bugzilla.gnome.org/show_bug.cgi?id=523959 .

Best regards
Alban
Index: src/file-manager/fm-icon-view.c
===================================================================
--- src/file-manager/fm-icon-view.c	(révision 13965)
+++ src/file-manager/fm-icon-view.c	(copie de travail)
@@ -1764,14 +1764,8 @@
 		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");
 		argv[i++] = NULL;
 		return argv;
 	}


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