+2005-09-18 David Schleef <ds@schleef.org>
+
+ * gst/playback/gstdecodebin.c: free plugin list correctly
+ * gst/playback/gstplaybin.c: emit warning if autovideosink
+ and autoaudiosink can't be found (instead of segfaulting)
+
2005-09-17 Thomas Vander Stichele <thomas at apestaart dot org>
* check/elements/audioconvert.c: (GST_START_TEST):
-Subproject commit 39250a956e1dfc010fe9f9d93ca1e2c3a343cdca
+Subproject commit 3f8b422d851dc64797cdd97dd7a2014acd751386
decode_bin = GST_DECODE_BIN (object);
- g_list_free (decode_bin->factories);
+ gst_plugin_feature_list_free (decode_bin->factories);
G_OBJECT_CLASS (parent_class)->dispose (object);
}
sink = play_bin->video_sink;
} else {
sink = gst_element_factory_make ("autovideosink", "videosink");
+ if (sink == NULL) {
+ g_warning ("could not create autovideosink element");
+ }
}
gst_object_ref (sink);
g_hash_table_insert (play_bin->cache, "video_sink", sink);
sink = play_bin->audio_sink;
} else {
sink = gst_element_factory_make ("autoaudiosink", "audiosink");
+ if (sink == NULL) {
+ g_warning ("could not create autoaudiosink element");
+ }
play_bin->audio_sink = GST_ELEMENT (gst_object_ref (sink));
}