mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 05:01:23 +00:00
b56662cf97
Original commit message from CVS: 2005-03-01 Andy Wingo <wingo@pobox.com> * gst/gstpipeline.c: Fix element details. (gst_pipeline_set_property, gst_pipeline_get_property): Lock around the whole get/set properties. * gst/gstpad.c (gst_real_pad_set_property): Add a FIXME, the ::active property doesn't make sense any more. (gst_pad_set_active): Check to see if the pad has the right functions to be activated in this mode. (gst_pad_event_default): Handle EOS specially, pausing the task on the pad if necessary. * gst/gstbin.c: Adapt callers of gst_iterator_foreach and gst_iterator_filter to new argument order. * gst/gstiterator.c (gst_iterator_find_custom) (gst_iterator_foreach): Implement on top of gst_iterator_fold instead of using the filter_next internals. A bit cleaner this way. * gst/gstiterator.h: (gst_iterator_filter, gst_iterator_find_custom): Switch the argument order so user_data is last. (gst_iterator_foreach): Return the GstIteratorResult so the caller knows if all elements were called, or if an error or resync happened. (gst_iterator_fold): New procedure. * check/Makefile.am (TESTS): * check/gst/gstiterator.c: New test suite for GstIterator. Checks that iterating through a list hits all members in order, that resync works correctly, and that fold works. * gst/base/gstbasesink.c (gst_basesink_event): Fix Waymans bug. |
||
---|---|---|
.. | ||
ext | ||
gst | ||
Makefile.am |