• Wim Taymans's avatar
    gst/: Identify sinks by their flag to avoid overly complicated checks (fow now). · 1c4ea621
    Wim Taymans authored
    Original commit message from CVS:
    * gst/base/gstbasesink.c: (gst_basesink_init),
    (gst_basesink_activate):
    * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
    (gst_basesrc_is_seekable):
    * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
    (bin_element_is_sink), (gst_bin_change_state):
    * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
    * gst/gstelement.h:
    Identify sinks by their flag to avoid overly complicated
    checks (fow now).
    Do state changes even for elements not reachable from the
    sinks.
    BaseSink is a sink now :)
    Some more debugging info in the basesrc.
    1c4ea621
gstelement.h 17.7 KB