# HG changeset patch # User Mike Ruprecht # Date 1238385288 0 # Node ID 452be048bded85b2a04d7d46bde1f8f1413885fa # Parent 49b7044be3de712595c4f3d29de1d5090fb13051 Unique elements ought to be named the same as their id. diff -r 49b7044be3de -r 452be048bded finch/gntmedia.c --- a/finch/gntmedia.c Mon Mar 30 02:57:51 2009 +0000 +++ b/finch/gntmedia.c Mon Mar 30 03:54:48 2009 +0000 @@ -401,7 +401,7 @@ double input_volume = purple_prefs_get_int( "/purple/media/audio/volume/input")/10.0; - bin = gst_bin_new("purplesendaudiobin"); + bin = gst_bin_new("finchdefaultaudiosrc"); src = gst_element_factory_make("alsasrc", "asrc"); volume = gst_element_factory_make("volume", "purpleaudioinputvolume"); g_object_set(volume, "volume", input_volume, NULL); diff -r 49b7044be3de -r 452be048bded pidgin/gtkmedia.c --- a/pidgin/gtkmedia.c Mon Mar 30 02:57:51 2009 +0000 +++ b/pidgin/gtkmedia.c Mon Mar 30 03:54:48 2009 +0000 @@ -892,7 +892,7 @@ const gchar *video_device = purple_prefs_get_string( "/purple/media/video/device"); - sendbin = gst_bin_new("purplesendvideobin"); + sendbin = gst_bin_new("pidgindefaultvideosrc"); src = gst_element_factory_make(video_plugin, "purplevideosource"); videoscale = gst_element_factory_make("videoscale", NULL); capsfilter = gst_element_factory_make("capsfilter", NULL); @@ -938,7 +938,7 @@ double input_volume = purple_prefs_get_int( "/purple/media/audio/volume/input")/10.0; - bin = gst_bin_new("purplesendaudiobin"); + bin = gst_bin_new("pidgindefaultaudiosrc"); src = gst_element_factory_make("alsasrc", "asrc"); volume = gst_element_factory_make("volume", "purpleaudioinputvolume"); g_object_set(volume, "volume", input_volume, NULL);