ekiga r7615 - trunk/lib/engine/components/gstreamer



Author: jpuydt
Date: Tue Jan 27 20:22:09 2009
New Revision: 7615
URL: http://svn.gnome.org/viewvc/ekiga?rev=7615&view=rev

Log:
Made the gstreamer audio output not crash... but still not work

Modified:
   trunk/lib/engine/components/gstreamer/gst-audiooutput.cpp

Modified: trunk/lib/engine/components/gstreamer/gst-audiooutput.cpp
==============================================================================
--- trunk/lib/engine/components/gstreamer/gst-audiooutput.cpp	(original)
+++ trunk/lib/engine/components/gstreamer/gst-audiooutput.cpp	Tue Jan 27 20:22:09 2009
@@ -101,12 +101,14 @@
   GError* error = NULL;
   GstState current;
   command = g_strdup_printf ("appsrc is-live=true name=ekiga_src"
-			     " caps=audio/x-raw-int"
+			     " ! audio/x-raw-int"
 			     ",rate=%d"
 			     ",channels=%d"
 			     ",width=%d"
+			     ",depth=%d"
+			     ",signed=true,endianness=1234"
 			     " ! %s",
-			     samplerate, channels, bits_per_sample,
+			     samplerate, channels, bits_per_sample, bits_per_sample,
 			     devices_by_name[std::pair<std::string,std::string>(current_state[ii].device.source, current_state[ii].device.name)].c_str ());
   g_print ("Pipeline: %s\n", command);
   pipeline[ii] = gst_parse_launch (command, &error);



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