ekiga r7571 - trunk/lib/engine/components/gstreamer
- From: jpuydt svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r7571 - trunk/lib/engine/components/gstreamer
- Date: Sat, 17 Jan 2009 20:28:17 +0000 (UTC)
Author: jpuydt
Date: Sat Jan 17 20:28:17 2009
New Revision: 7571
URL: http://svn.gnome.org/viewvc/ekiga?rev=7571&view=rev
Log:
Added caps back now the rest looks better
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 Sat Jan 17 20:28:17 2009
@@ -100,7 +100,13 @@
gchar* command = NULL;
GError* error = NULL;
GstState current;
- command = g_strdup_printf ("appsrc is-live=true name=ekiga_src ! %s",
+ command = g_strdup_printf ("appsrc is-live=true name=ekiga_src"
+ " caps=audio/x-raw-int"
+ ",rate=%d"
+ ",channels=%d"
+ ",width=%d"
+ " ! %s",
+ samplerate, channels, 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]