diff libpurple/media.h @ 23873:89d873e217c1

Fix crash when gstreamer audio or video factory can't be found. References #6605
author Mike Ruprecht <maiku@soc.pidgin.im>
date Sat, 16 Aug 2008 20:22:41 +0000
parents 551a462b346a
children e4261bc6788d
line wrap: on
line diff
--- a/libpurple/media.h	Fri Aug 15 04:07:00 2008 +0000
+++ b/libpurple/media.h	Sat Aug 16 20:22:41 2008 +0000
@@ -335,7 +335,7 @@
  *
  * @param factory_name Name of the factory to create an element from.
  *
- * @return The element that was created.
+ * @return The element that was created, NULL if it couldn't find the factory.
  */
 GstElement *purple_media_get_element(const gchar *factory_name);