Original commit message from CVS:
* gst/playback/gstplaybasebin.c:
Set is_dynamic as True if there are elements with both request
and sometimes src pad templates instead of breaking out when it
finds the first pad template that is a src.
+2008-02-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
+
+ * gst/playback/gstplaybasebin.c:
+ Set is_dynamic as True if there are elements with both request
+ and sometimes src pad templates instead of breaking out when it
+ finds the first pad template that is a src.
+
2008-02-08 Wim Taymans <wim.taymans@collabora.co.uk>
* tests/examples/seek/seek.c: (stop_cb), (clear_streams),
templ = (GstPadTemplate *) walk->data;
if (GST_PAD_TEMPLATE_DIRECTION (templ) == GST_PAD_SRC) {
- if (GST_PAD_TEMPLATE_PRESENCE (templ) == GST_PAD_SOMETIMES)
+ if (GST_PAD_TEMPLATE_PRESENCE (templ) == GST_PAD_SOMETIMES) {
*is_dynamic = TRUE;
- break;
+ break; /* only break out if we found a sometimes src pad
+ continue walking through if say a request src pad is found
+ elements such as mpegtsparse and dvbbasebin have request
+ and sometimes src pads */
+ }
}
walk = g_list_next (walk);
}