maiku.vv: 36fbff96: Restore autoprobe property when finished...

maiku at soc.pidgin.im maiku at soc.pidgin.im
Sun Aug 24 03:55:32 EDT 2008


-----------------------------------------------------------------
Revision: 36fbff965a8aa1da66dc9e8ab76fb9f8db4d690b
Ancestor: ef539ae79430edcfa9f4e8615d3c6f132bf8942f
Author: maiku at soc.pidgin.im
Date: 2008-08-24T06:01:51
Branch: im.pidgin.maiku.vv
URL: http://d.pidgin.im/viewmtn/revision/info/36fbff965a8aa1da66dc9e8ab76fb9f8db4d690b

Modified files:
        libpurple/media.c

ChangeLog: 

Restore autoprobe property when finished probing for devices.

-------------- next part --------------
============================================================
--- libpurple/media.c	e65a2dcfb1485383150442948a2653337880cb6c
+++ libpurple/media.c	683068f3f746e64a3075ea256536840439751c88
@@ -757,6 +757,14 @@ purple_media_get_devices(GstElement *ele
 			}
 			g_value_array_free(array);
 		}
+
+		/* Restore autoprobe[-fps] to TRUE. */
+		if (g_object_class_find_property (klass, "autoprobe")) {
+			g_object_set (G_OBJECT (element), "autoprobe", TRUE, NULL);
+			if (g_object_class_find_property (klass, "autoprobe-fps")) {
+				g_object_set (G_OBJECT (element), "autoprobe-fps", TRUE, NULL);
+			}
+		}
 	}
 
 	return ret;


More information about the Commits mailing list