Original commit message from CVS:
* gst/level/level-example.c: (main):
Fix for new bus API.
* gst/udp/gstudpsrc.c: (gst_udpsrc_set_property):
Set caps on pads.
+2005-09-19 Wim Taymans <wim@fluendo.com>
+
+ * gst/level/level-example.c: (main):
+ Fix for new bus API.
+
+ * gst/udp/gstudpsrc.c: (gst_udpsrc_set_property):
+ Set caps on pads.
+
2005-09-15 Wim Taymans <wim@fluendo.com>
* gst/rtp/Makefile.am:
g_object_set (G_OBJECT (level), "message", TRUE, NULL);
bus = gst_element_get_bus (pipeline);
- watch_id = gst_bus_add_watch (bus, message_handler, NULL);
+ watch_id = gst_bus_add_watch (bus, GST_MESSAGE_ANY, message_handler, NULL);
gst_element_set_state (pipeline, GST_STATE_PLAYING);
old_caps = udpsrc->caps;
udpsrc->caps = new_caps;
gst_caps_unref (old_caps);
+ gst_pad_set_caps (GST_BASE_SRC (udpsrc)->srcpad, new_caps);
break;
}
default: