1 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
3 * check/gst/gstpipeline.c: (GST_START_TEST):
4 * docs/gst/gstreamer-sections.txt:
5 * gst/gstutils.c: (set_state_async_thread_func),
6 (gst_element_set_state_async):
8 add a "gst_element_set_state_async" method that
9 sets the state and starts a thread to make sure the state
10 change completes as best as it can
12 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
14 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
15 codify design+behaviour in testsuite after discussion
17 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19 * docs/gst/tmpl/gstelement.sgml:
20 * docs/manual/appendix-quotes.xml:
22 * gst/gstelement.c: (gst_element_set_state):
25 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
27 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
28 (gst_base_transform_prepare_output_buf),
29 (gst_base_transform_handle_buffer):
30 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
31 (gst_capsfilter_prepare_buf):
32 Remove the requirement for sub-classes to call the parent
33 implementation of prepare_output_buffer with a wrapper function.
39 2005-09-11 Stefan Kost <ensonic@users.sf.net>
41 * docs/gst/gstreamer-sections.txt:
44 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
46 * docs/gst/gstreamer-sections.txt:
47 * docs/gst/tmpl/gstelement.sgml:
48 * docs/gst/tmpl/gstplugin.sgml:
49 * gst/gstminiobject.c:
51 docs now stop throwing warnings
53 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
55 * docs/gst/gstreamer-sections.txt:
56 * docs/gst/gstreamer.types:
57 * docs/gst/tmpl/gstpad.sgml:
58 * docs/gst/tmpl/gsttypes.sgml:
59 * gst/base/gstadapter.h:
60 * gst/base/gstbasesink.h:
61 * gst/base/gstbasesrc.h:
72 * gst/registries/gstlibxmlregistry.h:
73 various documentation fixes
75 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
77 * docs/gst/gstreamer-sections.txt:
78 * docs/gst/tmpl/gstvalue.sgml:
79 rearrange gstvalue section
80 * gst/gstutils.c: (gst_element_state_get_name):
82 * gst/gstvalue.c: (_gst_value_initialize):
86 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
88 * check/gst-libs/controller.c:
90 * gst/base/gstbasetransform.c:
91 (gst_base_transform_default_prepare_buf),
92 (gst_base_transform_handle_buffer):
93 * gst/base/gstbasetransform.h:
94 Some more basetransform changes and fixes to enable sub-classes
95 that modify buffer metadata only.
96 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
97 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
98 (gst_capsfilter_prepare_buf):
99 If the output pad has fixed allowed caps and input buffers
100 don't have any, set the fixed caps on outgoing buffers.
102 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
103 * check/elements/identity.c: (GST_START_TEST):
104 Make the error a little clearer when the test fails because
105 identity made a copy of the buffer.
106 * docs/gst/gstreamer-sections.txt:
107 New symbols in gstbasetransform.h
108 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
109 (gst_base_transform_init), (gst_base_transform_transform_size),
110 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
111 (gst_base_transform_default_prepare_buf),
112 (gst_base_transform_get_unit_size),
113 (gst_base_transform_buffer_alloc),
114 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
115 (gst_base_transform_change_state),
116 (gst_base_transform_set_passthrough),
117 (gst_base_transform_set_in_place),
118 (gst_base_transform_is_in_place):
119 * gst/base/gstbasetransform.h:
120 Change BaseTransform to separate in_place operate from same_caps
121 output. in_place implies that the element can perform the transform
122 on incoming buffers in-place, even if the caps on the output are
124 Sub-class elements can now implement special buffer allocation
125 methods for outgoing buffers if they wish to.
126 Big documentation addition.
127 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
128 * gst/elements/gstelements.c:
129 Changes for basetransform modifications.
130 * gst/elements/Makefile.am:
131 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
132 Compile fix. Extra debug output.
134 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
136 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
138 add tests for valid pad naming
139 * gst/check/gstcheck.c: (gst_check_log_message_func),
140 (gst_check_log_critical_func):
142 remove printing of code, it is fragile when the code contains
143 % and the line number is enough info
144 * gst/check/gstcheck.h:
145 * gst/gstpad.c: (gst_pad_template_new):
148 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
151 say what CHECK flags we use
152 * docs/libs/gstreamer-libs.types:
153 * libs/gst/controller/Makefile.am:
154 * libs/gst/controller/gst-controller.c:
155 * libs/gst/controller/gst-controller.h:
156 * libs/gst/controller/gst-helper.c:
157 * libs/gst/controller/gst-interpolation.c:
158 * libs/gst/controller/gstcontroller.c:
159 * libs/gst/controller/gsthelper.c:
160 * libs/gst/controller/gstinterpolation.c:
161 * tools/gst-inspect.c: (print_plugin_info):
162 we don't use dashes in header names
164 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
167 * check/gst/.cvsignore:
168 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
169 (gst_pipeline_suite), (main):
170 adding a test for pipelines and state changes
171 * gst/gstutils.c: (get_state_func):
176 2005-09-08 Michael Smith <msmith@fluendo.com>
178 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
179 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
180 (gst_file_src_is_seekable), (gst_file_src_get_size),
181 (gst_file_src_start):
182 * gst/elements/gstfilesrc.h:
183 Various fixes for unseekable, unmmapable, and non-normal files, so
184 that fallback to read() rather than mmap() works.
185 * gst/gstevent.c: (gst_event_new_newsegment):
186 Allow newsegment events with segment_start == segment_end, as will
187 correctly happen if you use filesrc on a zero-size file, for
190 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
192 * gst/gstplugin.c: (gst_plugin_load_file):
193 Call g_module_close when we don't load the module
195 * gst/registries/gstlibxmlregistry.c:
196 (gst_xml_registry_get_property):
197 Port leak fix from 0.8
199 2005-09-07 Stefan Kost <ensonic@users.sf.net>
201 * docs/gst/gstreamer-docs.sgml:
202 * docs/gst/tmpl/.cvsignore:
203 * docs/gst/tmpl/gsttrace.sgml:
204 * docs/gst/tmpl/gsttrashstack.sgml:
213 * gst/gsttaginterface.c:
214 * gst/gsttaginterface.h:
217 * gst/gsttagsetter.c:
218 * gst/gsttagsetter.h:
221 * gst/gsttrashstack.c:
222 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
223 inlined docs for gsttrace, gsttrashstack
225 2005-09-07 Stefan Kost <ensonic@users.sf.net>
228 * gst/elements/gstbufferstore.h:
229 * gst/elements/gsttypefindelement.c:
230 * gst/elements/gsttypefindelement.h:
234 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
235 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
236 (gst_type_find_factory_dispose),
237 (gst_type_find_factory_unload_thyself),
238 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
239 (gst_type_find_factory_get_caps),
240 (gst_type_find_factory_get_extensions),
241 (gst_type_find_factory_call_function):
242 * gst/gsttypefindfactory.h:
243 * gst/registries/gstlibxmlregistry.c:
244 * gst/registries/gstxmlregistry.c:
245 splitted gsttypefind into gsttypefind, gsttypefindfactory
247 2005-09-07 Andy Wingo <wingo@pobox.com>
249 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
250 condition whereby the pad's task function is entered before the
251 pad_mode variable was set.
253 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
255 * gst/gstpad.c: (gst_pad_alloc_buffer):
256 Catch misbehaving pad_alloc functions that don't
257 set up caps and do it for them.
259 2005-09-07 Stefan Kost <ensonic@users.sf.net>
261 * check/pipelines/simple_launch_lines.c: (run_pipeline):
263 * docs/gst/tmpl/.cvsignore:
264 * docs/gst/tmpl/gstmemchunk.sgml:
265 * docs/gst/tmpl/gstparse.sgml:
266 * docs/gst/tmpl/gsttaglist.sgml:
267 * docs/gst/tmpl/gsttagsetter.sgml:
268 * docs/gst/tmpl/gsttypefind.sgml:
269 * docs/gst/tmpl/gsttypefindfactory.sgml:
273 * gst/gsttaginterface.c:
278 === release 0.9.2 ===
280 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
285 releasing 0.9.2, "South"
287 2005-09-05 Andy Wingo <wingo@pobox.com>
289 * gst/registries/gstxmlregistry.h:
290 * gst/registries/gstxmlregistry.c: Um... resurrect...
292 * gst/registries/gstxmlregistry.h:
293 * gst/registries/gstxmlregistry.c: and update to newer API.
294 Incidentally they should be a bit faster now that they don't have
297 2005-09-05 Andy Wingo <wingo@pobox.com>
299 * gst/registries/gstxmlregistry.h:
300 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
301 replaced by the libxml registry a while back
303 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
305 * docs/gst/tmpl/gstplugin.sgml:
306 * gst/elements/gstelements.c:
308 * gst/gstplugin.c: (gst_plugin_register_func),
309 (gst_plugin_desc_copy), (gst_plugin_desc_free),
310 (gst_plugin_get_source):
312 * gst/registries/gstlibxmlregistry.c: (load_plugin),
313 (gst_xml_registry_save_plugin):
314 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
315 (gst_xml_registry_save_plugin):
316 * tools/gst-inspect.c: (print_plugin_info):
317 add a "source" plugin description field, to represent the source
318 module this plugin is a part of. By default GST_PLUGIN_DEFINE
319 will set it to PACKAGE, which is automake's idea of the name of
322 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
328 * docs/faq/Makefile.am:
329 * docs/gst/tmpl/gstelement.sgml:
330 * docs/gst/tmpl/gsttypes.sgml:
331 * docs/htmlinstall.mak:
332 * docs/manual/Makefile.am:
333 * docs/pwg/Makefile.am:
334 reorganize doc build a little
335 split out docbook and gtk-doc stuff
336 have two separate --enable's and enable them through autogen
337 but disable by default in configure (to be similar to other
340 clean up docs install
360 2005-09-03 Tim-Philipp M??ller <tim at centricular dot net>
362 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
365 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
366 (gst_fake_sink_change_state):
367 Make state change function thread-safe.
369 * gst/gstpad.c: (gst_pad_alloc_buffer):
370 Set offset on generic buffer allocated by fallback.
372 2005-09-03 Stefan Kost <ensonic@users.sf.net>
374 * docs/gst/gstreamer-sections.txt:
375 * docs/gst/tmpl/gstelement.sgml:
377 * libs/gst/controller/gst-controller.c:
378 (gst_controlled_property_set_interpolation_mode),
379 (gst_controlled_property_new),
380 (gst_controller_find_controlled_property):
381 run the wingo-magic script against the docs
383 2005-09-02 Stefan Kost <ensonic@users.sf.net>
385 * docs/gst/gstreamer-docs.sgml:
386 * docs/gst/gstreamer-sections.txt:
387 * docs/gst/tmpl/.cvsignore:
388 * docs/gst/tmpl/gstelementdetails.sgml:
389 * docs/gst/tmpl/gstelementfactory.sgml:
392 * gst/gstelementfactory.c:
393 * gst/gstelementfactory.h:
394 merged elementdetails docs into elementfactory docs
397 2005-09-02 Andy Wingo <wingo@pobox.com>
399 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
400 consider this enum an enum and not a flags.
402 2005-09-02 Stefan Kost <ensonic@users.sf.net>
404 * docs/gst/gstreamer-docs.sgml:
405 * docs/gst/tmpl/.cvsignore:
406 * docs/gst/tmpl/gstghostpad.sgml:
407 * docs/gst/tmpl/gstiterator.sgml:
408 * docs/gst/tmpl/gstmacros.sgml:
409 * docs/gst/tmpl/gstrealpad.sgml:
410 * docs/gst/tmpl/gstregistry.sgml:
411 * docs/gst/tmpl/gstregistrypool.sgml:
412 * docs/gst/tmpl/gststructure.sgml:
413 * docs/gst/tmpl/gstsystemclock.sgml:
414 * docs/gst/tmpl/gsttrace.sgml:
421 * gst/gstregistrypool.c:
422 * gst/gststructure.c:
423 * gst/gstsystemclock.c:
426 2005-09-02 Andy Wingo <wingo@pobox.com>
428 * gst/gstelement.h (GstState): Renamed from GstElementState,
429 changed to be a normal enum instead of flags.
430 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
431 munged to be GST_STATE_CHANGE_*.
432 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
433 work with the new state representation.
434 (GstStateChange): New enumeration of possible state transitions.
435 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
436 (GstElementClass::change_state): Pass the GstStateChange along as
437 an argument. Helps language bindings, so they don't have to use
438 tricky lock-needing macros like GST_STATE_CHANGE ().
440 * scripts/update-states (file): New script. Run it on a file to
441 update it for state naming and API changes. Updates files in
444 * All files updated for the new API.
446 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
448 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
449 * gst/gstutils.c: (gst_util_set_value_from_string),
450 (gst_util_set_object_arg):
451 fix a bunch of unchecked return values
452 * tools/gst-complete.c: (main):
456 2005-09-01 Wim Taymans <wim@fluendo.com>
458 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
459 (gst_base_sink_event), (gst_base_sink_do_sync),
460 (gst_base_sink_handle_event):
461 * gst/base/gstbasesink.h:
462 Handle newsegments more correctly.
467 * gst/gstevent.c: (gst_event_new_newsegment):
468 A newsegment cannot have a start_time of -1
470 2005-09-01 Tim-Philipp M??ller <tim at centricular dot net>
472 * win32/gstenumtypes.c:
473 * win32/gstenumtypes.h:
476 2005-08-31 Stefan Kost <ensonic@users.sf.net>
478 * libs/gst/controller/gst-controller.c:
479 (gst_controlled_property_set_interpolation_mode),
480 (gst_controlled_property_new):
483 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
485 * docs/faq/gst-uninstalled:
490 * gst/gstutils.c: (gst_element_link_filtered):
492 add gst_element_link_filtered
494 2005-08-31 Stefan Kost <ensonic@users.sf.net>
496 * docs/gst/gstreamer-docs.sgml:
497 * docs/gst/gstreamer-sections.txt:
498 * docs/gst/tmpl/.cvsignore:
499 * docs/gst/tmpl/gsterror.sgml:
500 * docs/gst/tmpl/gstfilter.sgml:
501 * docs/gst/tmpl/gsturihandler.sgml:
502 * docs/gst/tmpl/gsturitype.sgml:
503 * docs/gst/tmpl/gstutils.sgml:
504 * docs/gst/tmpl/gstxml.sgml:
512 inlined more docs, fixed double id-ref
514 2005-08-31 Wim Taymans <wim@fluendo.com>
516 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
517 (gst_base_transform_handle_buffer):
518 Passthrough elements don't need the caps as they don't care.
520 2005-08-31 Wim Taymans <wim@fluendo.com>
522 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
523 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
524 Don't leak refcounts on buffers.
526 2005-08-31 Wim Taymans <wim@fluendo.com>
528 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
529 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
530 (gst_base_transform_chain), (gst_base_transform_change_state):
531 * gst/base/gstbasetransform.h:
532 Handle the case where we are not negotiated more gracefully.
534 2005-08-31 Tim-Philipp M??ller <tim at centricular dot net>
536 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
537 (gst_file_src_map_region):
538 Set READONLY flag on mmap'ed buffers, otherwise
539 gst_buffer_make_writable() won't work properly (#314708).
541 2005-08-31 Wim Taymans <wim@fluendo.com>
543 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
544 passthrough elements can even do inplace on non writable
545 buffers (as they don't touch them).
547 2005-08-31 Stefan Kost <ensonic@users.sf.net>
549 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
550 (gst_test_mono_source_set_property),
551 (gst_test_mono_source_class_init), (GST_START_TEST),
552 (gst_controller_suite):
553 more tests (hehe I have the most)
555 describe popping messages whenusing mulltiple sources
556 * libs/gst/controller/gst-controller.c:
557 (gst_controlled_property_set_interpolation_mode),
558 (gst_controlled_property_new):
559 * libs/gst/controller/gst-controller.h:
560 * libs/gst/controller/gst-interpolation.c:
561 implement boolean properties
563 2005-08-31 Wim Taymans <wim@fluendo.com>
565 * gst/gstminiobject.c: (gst_mini_object_ref):
566 Cannot assert that the refcount has to be positive
567 since a disposed object can be resurrected.
569 2005-08-31 Wim Taymans <wim@fluendo.com>
571 * gst/gstpad.c: (gst_pad_init):
572 Revert change, need to first fix badly behaving
575 2005-08-30 Wim Taymans <wim@fluendo.com>
577 * check/elements/fakesrc.c: (setup_fakesrc):
578 * check/elements/identity.c: (setup_identity):
579 Activate pads before using them.
581 2005-08-30 Wim Taymans <wim@fluendo.com>
583 * gst/base/gstadapter.c: (gst_adapter_flush):
584 Flushing out 0 bytes is ok for this function.
586 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
587 no newsegment gives a warning and sets the start/stop to
590 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
591 (gst_base_transform_set_passthrough):
594 * gst/gstminiobject.c: (gst_mini_object_ref):
595 Check refcount here too.
597 * gst/gstpad.c: (gst_pad_init):
598 Pads are initially flushing and refusing data.
600 * gst/gstutils.c: (gst_element_link_pads_filtered):
601 When adding a capsfilter element make sure it has the
602 same state as the parent bin.
604 2005-08-30 Stefan Kost <ensonic@users.sf.net>
606 * docs/gst/tmpl/.cvsignore:
607 * docs/gst/tmpl/gstformat.sgml:
608 * docs/gst/tmpl/gstversion.sgml:
612 * gst/gstversion.h.in:
613 more docs and two more inlined
615 2005-08-30 Wim Taymans <wim@fluendo.com>
617 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
620 2005-08-30 Stefan Kost <ensonic@users.sf.net>
622 * docs/gst/gstreamer-sections.txt:
623 ultral33t func10ns deserve to appear in the docs actually
624 * docs/gst/tmpl/.cvsignore:
625 * docs/gst/tmpl/gstcompat.sgml:
626 * docs/gst/tmpl/gstconfig.sgml:
627 * gst/check/gstcheck.c:
629 * gst/gstconfig.h.in:
632 2005-08-30 Stefan Kost <ensonic@users.sf.net>
634 * docs/gst/tmpl/.cvsignore:
635 * docs/gst/tmpl/gstquery.sgml:
636 * docs/gst/tmpl/gstutils.sgml:
639 inlined and extended docs
641 2005-08-30 Stefan Kost <ensonic@users.sf.net>
643 * check/gst-libs/controller.c: (GST_START_TEST),
644 (gst_controller_suite):
646 * docs/gst/tmpl/gstutils.sgml:
647 * docs/libs/gstreamer-libs-sections.txt:
648 * docs/libs/tmpl/gstdataprotocol.sgml:
650 * examples/controller/audio-example.c: (main):
651 controller example works now
654 * tools/gst-inspect.c: (print_element_properties_info):
655 show param spec flags
657 2005-08-29 Andy Wingo <wingo@pobox.com>
659 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
661 2005-08-28 Andy Wingo <wingo@pobox.com>
663 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
664 as having two arguments instead of just one. Allows superclasses
665 to access information on subclasses -- see the terrible for() loop
666 in gtype.c:g_type_create_instance for the reason why. All callers
669 2005-08-27 Stefan Kost <ensonic@users.sf.net>
671 * docs/design/part-messages.txt:
673 * docs/gst/tmpl/.cvsignore:
674 * docs/gst/tmpl/gstcaps.sgml:
675 * docs/gst/tmpl/gstclock.sgml:
682 added descriptions for bus and message
683 inline caps and clock docs
685 2005-08-27 Stefan Kost <ensonic@users.sf.net>
691 2005-08-27 Stefan Kost <ensonic@users.sf.net>
693 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
696 2005-08-26 Andy Wingo <wingo@pobox.com>
698 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
699 element_set_state's return val.
700 (test_2_elements): Add test that's been disabled for months.
702 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
703 can-activate-pull properties.
705 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
706 can-activate-pull properties. Implement is_seekable so fakesrc can
707 operate in pull mode.
709 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
711 (gst_base_sink_activate, gst_base_sink_activate_pull)
712 (gst_base_sink_activate_push): Make activation mode choosing work.
714 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
715 is right. Make pull mode work. Post an eos before pausing in pull
717 (gst_base_sink_change_state): Pay attention to the core's
718 change_state() return val.
720 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
721 has-getrange properties. Cleanups.
723 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
724 has_getrange and replace with can_activate_pull and
727 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
728 locking comments. Remove has_loop, has_chain and replace with
729 can_activate_pull and can_activate_push.
731 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
734 * examples/Makefile.am:
735 * examples/metadata/Makefile.am:
736 * examples/metadata/read-metadata.c: (message_loop),
737 (have_pad_handler), (make_pipeline), (print_tag), (main):
738 Add metadata reading example that loops over a list of filenames,
739 dumping any tags found.
741 * gst/gstbus.c: (gst_bus_dispose):
742 * gst/gstelement.c: (gst_element_dispose):
743 Release a few potentially-held references in dispose.
745 2005-08-26 Stefan Kost <ensonic@users.sf.net>
747 * docs/gst/tmpl/gstminiobject.sgml:
748 do *not* add tmpl/*.sgml files to CVS!
750 2005-08-26 Stefan Kost <ensonic@users.sf.net>
752 * libs/gst/bytestream/.cvsignore:
753 * libs/gst/bytestream/Makefile.am:
754 * libs/gst/bytestream/adapter.c:
755 * libs/gst/bytestream/adapter.h:
756 * libs/gst/bytestream/bytestream.c:
757 * libs/gst/bytestream/bytestream.h:
758 * libs/gst/bytestream/filepad.c:
759 * libs/gst/bytestream/filepad.h:
760 removing obsolete files
762 2005-08-26 Stefan Kost <ensonic@users.sf.net>
764 * docs/gst/gstreamer-docs.sgml:
765 * docs/libs/gstreamer-libs-docs.sgml:
766 disabed additional index entries again, as this makes docs-gen just
767 slow and they aren't useful yet
768 * docs/libs/gstreamer-libs-sections.txt:
769 little -section.txt cleanup for libs
771 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
773 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
774 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
775 fix up some debugging
776 (gst_base_transform_get_unit_size),
777 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
778 (gst_base_transform_handle_buffer):
779 * gst/base/gstbasetransform.h:
780 handle and store timed NEWSEGMENT events so that subclasses that
781 calculate time by counting samples have a segment_start time they
782 need to add to their timestamps - see audioresample
784 2005-08-26 Stefan Kost <ensonic@users.sf.net>
787 removed ';' from the end of macro defs
788 * docs/gst/gstreamer-docs.sgml:
789 * docs/gst/gstreamer-sections.txt:
790 * docs/gst/tmpl/.cvsignore:
792 * gst/gstelement.c: (gst_element_class_init),
793 (gst_element_set_state), (activate_pads),
794 (gst_element_save_thyself):
795 * gst/gstevent.c: (gst_event_new_newsegment):
801 * gst/gstutils.c: (gst_pad_query_convert):
803 fixed parameter name mismatches between source, header and docs
804 added some more docs, resolved the last batch of unused elements in
805 docs (now someone needs to doc them)
807 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
809 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
810 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
811 don't walk through the plugins backwards. Where is all this
812 reversed logic coming from ?
814 2005-08-25 Wim Taymans <wim@fluendo.com>
816 * gst/base/gstbasetransform.c: (gst_base_transform_init),
817 (gst_base_transform_transform_size),
818 (gst_base_transform_configure_caps),
819 (gst_base_transform_get_unit_size),
820 (gst_base_transform_buffer_alloc),
821 (gst_base_transform_change_state):
822 * gst/base/gstbasetransform.h:
823 Cache caps unit_size.
824 Make sure we cannot negotiate up and downstream at the
827 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
829 * gst/gst.c: (init_pre), (init_post):
830 register the installed plugin path after the env var
831 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
832 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
833 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
834 directories, so the tests can prefer uninstalled over installed
836 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
838 * gst/base/gstbasetransform.h:
843 2005-08-25 Wim Taymans <wim@fluendo.com>
845 * gst/gstbin.c: (bin_bus_handler):
846 Be a bit more conservative about the posted message.
848 * gst/gstbus.c: (gst_bus_post):
849 Some cleanups, warn wrong return values.
851 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
853 * check/gst/gstbin.c: (GST_START_TEST):
854 * gst/gstbin.c: (bin_bus_handler):
855 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
856 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
857 (gst_message_new_warning), (gst_message_new_tag),
858 (gst_message_new_state_changed), (gst_message_new_segment_start),
859 (gst_message_new_segment_done), (gst_message_new_custom):
861 * tools/gst-launch.c: (event_loop):
862 * tools/gst-md5sum.c: (event_loop):
863 Revert unpopular change for GST_MESSAGE_SRC to GObject.
865 2005-08-25 Wim Taymans <wim@fluendo.com>
867 * check/generic/states.c: (GST_START_TEST):
868 Cleanup can be done at the end.
870 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
871 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
872 (gst_task_get_state), (gst_task_start), (gst_task_pause):
873 Oh boy.. Thanks for finding this, Thomas.
875 2005-08-25 Stefan Kost <ensonic@users.sf.net>
877 * docs/gst/gstreamer.types:
880 2005-08-25 Stefan Kost <ensonic@users.sf.net>
882 * docs/gst/gstreamer-docs.sgml:
883 * docs/gst/gstreamer-sections.txt:
884 * docs/gst/tmpl/.cvsignore:
888 * gst/registries/gstxmlregistry.h:
889 added missing classes and symbols (123 more to go)
890 removed removed symbols from section file
891 fixed many doc-comments
893 2005-08-24 Wim Taymans <wim@fluendo.com>
895 * check/generic/states.c: (GST_START_TEST):
896 Make sure all tasks are stopped.
898 * check/gst/gstbin.c: (GST_START_TEST):
899 Unref after usage for proper valgrinding.
901 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
902 Really wait for the task to stop before destroying the
905 * gst/gstqueue.c: (gst_queue_sink_activate_push),
906 (gst_queue_src_activate_push):
907 Small cleanups. Don't stop the task when we did not start
910 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
911 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
912 (gst_task_get_state), (gst_task_start), (gst_task_pause),
915 Protect the stream lock with the object lock.
916 Disallow setting the stream lock when running.
917 Add cleanup_all to wait for the threadpool to finish.
918 Remove code to autoallocate a mutex if none was provided.
919 Add _join() to wait for a task to stop.
920 Protect the thread pool with a global lock.
922 2005-08-24 Wim Taymans <wim@fluendo.com>
924 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
925 (gst_base_sink_get_times), (gst_base_sink_do_sync),
926 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
927 * gst/base/gstbasesink.h:
928 Handle newsegment events correctly.
929 Drop buffers out of the segment range.
931 2005-08-22 Andy Wingo <wingo@pobox.com>
933 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
934 macro, implements an interface and gstimplementsinterface for a
937 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
940 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
941 add a test that does a bunch of state changes on elements
942 needs some fixing for valgrind
943 * check/states/sinks.c: (gst_object_suite):
946 add prototype for gst_caps_is_equal_fixed
948 * gst/gstregistrypool.c:
951 2005-08-24 Andy Wingo <wingo@pobox.com>
953 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
954 convert a negative value. Doesn't make much sense. Mostly this is
955 here to force callers to ensure -1 maps to -1.
957 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
959 * docs/pwg/advanced-types.xml:
960 Well done to Michael for catching my deliberate introduction
961 of this spelling mistake.
962 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
964 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
965 unlink pads before removing the element from the bin.
967 2005-08-24 Andy Wingo <wingo@pobox.com>
969 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
970 the same thing as GST_DEBUG=*:4.
971 (parse_debug_level, parse_debug_category): New helper parsers.
973 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
975 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
976 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
977 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
978 (gst_base_transform_buffer_alloc),
979 (gst_base_transform_handle_buffer):
980 use gboolean return values and pointers to size so we can use the
981 full GST_BUFFER_SIZE range (guint) for buffer sizes
982 use GstPadDirection for transform_caps
983 * gst/base/gstbasetransform.h:
984 rename get_size to get_unit_size since that's what it is
985 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
986 use GstPadDirection for transform_caps
987 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
989 cleanup and debugging
991 2005-08-24 Stefan Kost <ensonic@users.sf.net>
993 * gst/gstelement.c: (gst_element_class_init),
994 (gst_element_set_state), (activate_pads),
995 (gst_element_save_thyself):
996 * tools/gst-compprep.c: (main):
997 * tools/gst-inspect.c: (print_element_properties_info):
998 * tools/gst-xmlinspect.c: (print_element_properties):
999 Fixed long standing mem-leak
1001 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1003 * check/gst/gstbin.c: (GST_START_TEST):
1004 * gst/gstbin.c: (bin_bus_handler):
1005 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
1006 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
1007 (gst_message_new_warning), (gst_message_new_tag),
1008 (gst_message_new_state_changed), (gst_message_new_segment_start),
1009 (gst_message_new_segment_done), (gst_message_new_custom):
1011 * tools/gst-launch.c: (event_loop):
1012 * tools/gst-md5sum.c: (event_loop):
1013 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
1014 that applications can sensibly post custom messages with references
1015 to their own objects.
1017 2005-08-24 Andy Wingo <wingo@pobox.com>
1019 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
1022 2005-08-24 Wim Taymans <wim@fluendo.com>
1024 * gst/base/gstbasetransform.c: (gst_base_transform_init),
1025 (gst_base_transform_transform_caps),
1026 (gst_base_transform_transform_size),
1027 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
1028 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
1029 (gst_base_transform_handle_buffer):
1030 * gst/base/gstbasetransform.h:
1031 Many fixes and new features added by Thomas. Can now also do
1032 transforms with variable sizes and a custom fixate_caps function.
1034 2005-08-24 Wim Taymans <wim@fluendo.com>
1036 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
1040 Cast to ClockTime before formatting to time.
1045 2005-08-24 Stefan Kost <ensonic@users.sf.net>
1047 * check/gst-libs/controller.c: (GST_START_TEST),
1048 (gst_controller_suite):
1049 * docs/gst/tmpl/gstcaps.sgml:
1050 * docs/gst/tmpl/gstghostpad.sgml:
1051 * docs/gst/tmpl/gstquery.sgml:
1052 * docs/gst/tmpl/gstutils.sgml:
1053 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
1054 (gst_object_sink_values), (gst_object_get_value_arrays),
1055 (gst_object_get_value_array):
1056 gracefully handle helper method calls to objects that are not beeing
1057 controlled, added test case for that
1059 2005-08-23 Wim Taymans <wim@fluendo.com>
1061 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
1062 (gst_event_new_newsegment), (gst_event_parse_newsegment),
1063 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
1064 (gst_event_parse_qos), (gst_event_new_seek),
1065 (gst_event_parse_seek):
1067 Some more debugging output and doc cleanups.
1069 * gst/gstqueue.c: (gst_queue_handle_sink_event):
1070 Fix possible deadlock.
1072 2005-08-23 Stefan Kost <ensonic@users.sf.net>
1074 * docs/gst/gstreamer-docs.sgml:
1075 * docs/gst/gstreamer-sections.txt:
1076 * docs/gst/gstreamer.types:
1077 * docs/gst/tmpl/.cvsignore:
1082 added 100 symbols from gstreamer-unused.txt to the right sections
1083 fixed more broken comments
1084 added GstBus to docs
1086 2005-08-23 Stefan Kost <ensonic@users.sf.net>
1088 * docs/gst/gstreamer-sections.txt:
1089 * docs/gst/tmpl/.cvsignore:
1090 * docs/gst/tmpl/gstbin.sgml:
1091 * docs/gst/tmpl/gstbuffer.sgml:
1092 * gst/base/gstbasesrc.c:
1093 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
1096 * tools/gst-launch.1.in:
1097 inlined more doc comments, added missing comments and fixed comments
1100 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
1102 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
1106 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
1108 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
1109 * gst/gststructure.h:
1110 add a fixate function for booleans; add a FIXME that these func
1111 names should probably be gst_structure_fixate_*
1113 2005-08-23 Stefan Kost <ensonic@users.sf.net>
1115 * docs/gst/gstreamer-docs.sgml:
1116 * docs/gst/gstreamer-sections.txt:
1118 * gst/gstbin.c: (gst_bin_get_type),
1119 (gst_bin_child_proxy_get_child_by_index),
1120 (gst_bin_child_proxy_get_children_count),
1121 (gst_bin_child_proxy_init):
1122 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
1123 (gst_child_proxy_get_child_by_index),
1124 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
1125 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
1126 (gst_child_proxy_get), (gst_child_proxy_set_property),
1127 (gst_child_proxy_set_valist), (gst_child_proxy_set),
1128 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
1129 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
1130 * gst/gstchildproxy.h:
1131 * gst/parse/grammar.y:
1132 * tools/gst-inspect.c: (print_interfaces),
1133 (print_element_properties_info), (print_element_info):
1134 ported gstchildproxy over from 0.8
1135 ported gst-inspect fixes and enhancements over from 0.8
1137 2005-08-22 Wim Taymans <wim@fluendo.com>
1139 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
1140 (gst_base_transform_handle_buffer):
1141 Also call the transform function if we have ANY caps.
1143 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
1146 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
1148 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
1149 Don't pretend to handle seek events if the source is not seekable
1151 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
1153 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1154 Remove extra parameter to debug output
1156 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
1157 (gst_base_src_do_seek), (gst_base_src_activate_push):
1158 Fix seek event handling.
1160 * gst/gstpipeline.c: (gst_pipeline_change_state):
1161 * gst/gstqueue.c: (gst_queue_handle_sink_event),
1162 (gst_queue_src_activate_push):
1163 Don't start the src pad task on FLUSH_STOP if the pad
1167 2005-08-22 Wim Taymans <wim@fluendo.com>
1169 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1170 Added check for gst_static_caps_get() refcounting.
1172 2005-08-22 Wim Taymans <wim@fluendo.com>
1174 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
1175 Make _static_caps_get() refcounting sane.
1177 * gst/gstelement.c: (gst_element_set_state):
1178 Add g_return_val_if_fail() to protect against segfaults.
1180 2005-08-22 Stefan Kost <ensonic@users.sf.net>
1182 * docs/gst/tmpl/gstevent.sgml:
1185 inlined remaining docs, added missing doc comments
1187 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
1189 * check/gst/gstbin.c: (GST_START_TEST):
1190 since we don't know when preroll is done, use refcount range
1192 * gst/check/gstcheck.h:
1193 add macro for checking refcount range
1195 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
1197 * check/Makefile.am:
1198 clean up environment for when registry gets built versus
1199 when actual tests are run; valgrind seems to not report
1200 leaks if GST_PLUGIN_PATH is set to some specific values
1201 * check/gst/gstbin.c: (GST_START_TEST):
1202 add more refcounting checks; maybe this exposes a
1205 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1206 * gst/check/gstcheck.h:
1207 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
1208 (gst_bin_change_state):
1209 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
1210 add/fix debugging/whitespace
1212 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
1214 * check/gst/gstevent.c: (event_probe), (test_event),
1216 Er, don't call gst_bin_watch_for_state_change you idiot.
1218 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
1220 * check/Makefile.am:
1221 Use CHECK_CFLAGS and CHECK_LIBS
1222 * check/gst/gstevent.c: (event_probe), (test_event),
1225 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
1226 (gst_base_src_start), (gst_base_src_stop),
1227 (gst_base_src_activate_push), (gst_base_src_activate_pull),
1228 (gst_base_src_change_state):
1229 Sprinkle gst_base_src_stop liberally around error paths to fix
1230 problems reusing a source after failed state changes.
1231 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1232 (helper_find_suggest), (gst_type_find_helper):
1233 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
1235 * docs/gst/tmpl/gstevent.sgml:
1236 Migrate part of the docs from the SGML file. Wait for ensonic to
1237 tell me how I did it wrong ;)
1238 * tools/gst-typefind.c: (main):
1239 Extra robustness to state changes between files.
1241 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
1243 * check/Makefile.am:
1244 don't valgrind the controller test - it's leaking - Stefan, HELP
1245 * gst/check/gstcheck.c: (gst_check_message_error),
1246 (gst_check_chain_func), (gst_check_setup_element),
1247 (gst_check_teardown_element), (gst_check_setup_src_pad),
1248 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1249 (gst_check_teardown_sink_pad):
1250 * gst/check/gstcheck.h:
1251 add a bunch of methods to set up elements, and src and sink pads
1252 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
1253 * check/elements/identity.c: (setup_identity), (cleanup_identity),
1258 whitespace/doc fixes
1260 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
1263 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
1264 be handled by the application and not always printed as well
1266 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
1268 * check/Makefile.am:
1270 * gst/check/gstcheck.c: (gst_check_message_error):
1271 * gst/check/gstcheck.h:
1272 add a fail_unless_equals_int
1273 add fail_unless for error messages
1275 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
1277 * check/Makefile.am:
1279 * common/Makefile.am:
1282 factor out some of the common stuff so we can use it
1284 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
1286 * check/Makefile.am:
1287 * check/gst/gstiterator.c: (GST_START_TEST):
1288 * check/gst/gstsystemclock.c: (GST_START_TEST),
1289 (gst_systemclock_suite):
1290 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
1294 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
1296 * check/elements/.cvsignore:
1297 * check/elements/gstfakesrc.c:
1298 rename to name of element
1299 * check/elements/identity.c: (chain_func), (event_func),
1300 (setup_identity), (cleanup_identity), (GST_START_TEST),
1301 (identity_suite), (main):
1302 add a test for identity
1303 * check/Makefile.am:
1304 * pkgconfig/Makefile.am:
1305 * pkgconfig/gstreamer-check.pc.in:
1306 * pkgconfig/gstreamer-check-uninstalled.pc.in:
1310 move the check stuff to a library that gets installed
1311 * check/gst-libs/controller.c: (GST_START_TEST):
1312 * check/gst-libs/gdp.c:
1313 * check/gst/gst.c: (GST_START_TEST):
1314 * check/gst/gstbin.c:
1315 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
1316 * check/gst/gstbus.c:
1317 * check/gst/gstcaps.c: (GST_START_TEST):
1318 * check/gst/gstelement.c:
1319 * check/gst/gstghostpad.c:
1320 * check/gst/gstiterator.c:
1321 * check/gst/gstmessage.c:
1322 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
1323 * check/gst/gstobject.c:
1324 * check/gst/gstpad.c: (GST_START_TEST):
1325 * check/gst/gststructure.c: (GST_START_TEST):
1326 * check/gst/gstsystemclock.c: (GST_START_TEST),
1327 (gst_systemclock_suite):
1328 * check/gst/gsttag.c: (gst_tag_suite):
1329 * check/gst/gstvalue.c:
1330 * check/pipelines/cleanup.c:
1331 * check/pipelines/simple_launch_lines.c:
1332 * check/states/sinks.c:
1333 change include statement
1335 * docs/gst/gstreamer-sections.txt:
1336 * docs/gst/tmpl/gstpad.sgml:
1337 document more pad stuff
1338 * gst/gstminiobject.c: (gst_mini_object_ref),
1339 (gst_mini_object_unref):
1342 2005-08-19 Stefan Kost <ensonic@users.sf.net>
1344 * docs/gst/tmpl/gst.sgml:
1346 eliminate another tmpl file, fix spelling in the long-description
1348 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
1350 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
1351 (test_event), (timediff), (gstevents_suite):
1352 Should fix build on 64-bit arch's
1354 2005-08-18 Andy Wingo <wingo@pobox.com>
1356 Make sure that when a pipeline goes to PLAYING, that data has
1357 actually hit the sink.
1359 * check/states/sinks.c (test_sink): A sink that doesn't get any
1360 data shouldn't return SUCCESS for going to either PLAYING or
1361 PAUSED. Test also the return values on the way back down.
1363 * gst/gstelement.c (gst_element_set_state): When changing the
1364 state of an element currently changing state asynchronously, go to
1365 lost-state after commiting the pending state. Makes future calls
1366 to get_state continue to return ASYNC.
1368 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
1369 ASYNC when going to PLAYING if we still don't have preroll, as can
1370 happen with live sources.
1372 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
1374 * docs/pwg/advanced-types.xml:
1375 Hack long paragraph into 2 chunks as a workaround for buggy
1376 jadetex version in sid and breezy that loops infinitely and
1379 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
1381 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
1382 (test_event), (timediff), (gstevents_suite):
1383 Provide more error margin in clock measurements to allow for
1384 g_get_current_time inaccuracies.
1386 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
1388 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
1389 (test_event), (timediff), (gstevents_suite):
1390 Fix error message output so I might be able to tell why the
1391 test works here but fails on the build farm.
1393 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
1395 * check/Makefile.am:
1396 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
1397 (test_event), (timediff), (gstevents_suite), (main):
1400 * docs/design/part-seeking.txt:
1403 * docs/gst/tmpl/gstevent.sgml:
1404 * docs/gst/tmpl/gstfakesrc.sgml:
1407 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1408 Treat a buffer-without-newsegment the same as a receiving
1409 a newsegment not in time format, and disable syncing to the clock
1412 * gst/gstbus.c: (gst_bus_set_sync_handler):
1413 Assert if anyone tries to replace the existing sync_handler for bus,
1414 as only the owner should be setting it.
1417 Have a fixed set of custom event enums with events identified by
1418 their structure name (as in 0.8), rather than a free-for-all
1419 allowing collisions between enum values from different plugins.
1421 * gst/gstpad.c: (gst_pad_class_init):
1424 * gst/gstqueue.c: (gst_queue_handle_sink_event):
1425 Handle out-of-band downstream events from the sending thread.
1427 2005-08-17 Andy Wingo <wingo@pobox.com>
1429 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
1430 play-timeout==0 to mean no timeout at all. In that case, don't
1431 bother with a get_state or a warning, just return directly, even
1434 * gst/base/gstbasetransform.c: Debug changes.
1437 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
1438 ensure bins post state change messages. A bit of a hack but I can't
1439 think of a way to avoid it.
1441 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
1443 2005-08-16 Andy Wingo <wingo@pobox.com>
1445 * gst/base/gstadapter.h:
1446 * gst/base/gstadapter.c (gst_adapter_take): New function, like
1447 peek() but you own the data. Not terribly efficient atm.
1449 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1451 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
1452 (gst_element_found_tags):
1454 Add two utility functions for tag handling.
1456 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1458 * docs/manual/advanced-dataaccess.xml:
1459 * docs/manual/basics-helloworld.xml:
1460 Fix docs to use _bin_add() before _link(), which fixes the examples
1461 with recent core versions (reported by Madhan Raj M
1462 <raj_madan@rediffmail.com>, #313199).
1464 2005-08-16 Wim Taymans <wim@fluendo.com>
1466 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1467 Added subtract checks.
1469 * docs/design/part-events.txt:
1470 Some more docs about newsegment
1472 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
1475 * gst/gstcaps.c: (gst_caps_to_string):
1476 Add comments, cleanups.
1478 * gst/gstelement.c: (gst_element_save_thyself):
1481 * gst/gstvalue.c: (gst_value_collect_int_range),
1482 (gst_string_unwrap), (gst_value_union_int_int_range),
1483 (gst_value_union_int_range_int_range),
1484 (gst_value_intersect_int_int_range),
1485 (gst_value_intersect_int_range_int_range),
1486 (gst_value_intersect_double_double_range),
1487 (gst_value_intersect_double_range_double_range),
1488 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
1489 (gst_value_subtract_int_range_int),
1490 (gst_value_subtract_double_range_double),
1491 (gst_value_subtract_double_range_double_range),
1492 (gst_value_subtract_from_list), (gst_value_subtract_list),
1493 (gst_value_can_compare), (gst_value_compare_fraction):
1494 Cleanups, add comments, remove unneeded asserts.
1496 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
1498 * tools/gst-launch.c: (event_loop):
1499 don't convert NULL structures to strings
1501 2005-08-15 Stefan Kost <ensonic@users.sf.net>
1503 * docs/gst/gstreamer-sections.txt:
1504 made some defines private
1505 * docs/gst/tmpl/gstconfig.sgml:
1506 * docs/gst/tmpl/gstqueue.sgml:
1507 * docs/gst/tmpl/gsttaglist.sgml:
1508 * docs/gst/tmpl/gsttypes.sgml:
1509 * docs/gst/tmpl/gstutils.sgml:
1510 * docs/pwg/appendix-porting.xml:
1511 * gst/base/gstbasesink.h:
1512 * gst/base/gstbasesrc.c:
1513 * gst/base/gstbasesrc.h:
1514 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
1515 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
1516 * gst/gstelement.c: (gst_element_class_init):
1517 * gst/gstpad.c: (gst_pad_class_init):
1518 * gst/gstqueue.c: (gst_queue_class_init):
1519 * gst/gstxml.c: (gst_xml_class_init):
1520 documented all undocumented signal inline
1521 * libs/gst/controller/gst-controller.h:
1524 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1526 * docs/pwg/appendix-porting.xml:
1527 Document _set_link_function -> _set_setcaps_function.
1529 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
1531 * check/Makefile.am:
1532 add a .check target for running the check
1533 * check/gst-libs/controller.c: (GST_START_TEST):
1535 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
1536 complete checks for gstbuffer; would be nice if I could get the
1537 gcov stuff to work so I can see if I actually completed gstbuffer.c
1539 add ASSERT_BUFFER_REFCOUNT
1541 2005-08-13 Tim-Philipp M??ller <tim at centricular dot net>
1543 * docs/gst/gstreamer-sections.txt:
1544 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
1546 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
1547 spew out a warning if a tag that is already registered
1548 is re-registered, unless it is re-registered with a
1549 different type (#308438).
1551 2005-08-12 Tim-Philipp M??ller <tim at centricular dot net>
1553 * docs/pwg/appendix-porting.xml:
1554 * docs/pwg/building-state.xml:
1555 Add some paragraphs about state changes in 0.9 to the PWG
1556 and the porting guide, in particular about the new meaning
1557 of GST_STATE_PAUSED and how to write state change functions
1558 with concurrent access by multiple threads in mind.
1560 2005-08-11 Stefan Kost <ensonic@users.sf.net>
1562 * docs/gst/gstreamer-docs.sgml:
1563 * docs/libs/gstreamer-libs-docs.sgml:
1564 added deprecation and since indexes
1565 * libs/gst/controller/gst-controller.c:
1566 * libs/gst/controller/gst-helper.c:
1570 2005-08-11 Wim Taymans <wim@fluendo.com>
1572 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
1573 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
1574 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
1575 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
1576 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
1577 (gst_ghost_pad_set_target):
1578 Actually implement (re)setting the target on a ghostpad
1579 as described in the docs.
1581 2005-08-10 Tim-Philipp M??ller <tim at centricular dot net>
1583 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
1584 Check whether GST_DEBUG_NO_COLOR environment variable is
1585 set and disable coloured debug output if that is the case.
1587 2005-08-10 Tim-Philipp M??ller <tim at centricular dot net>
1589 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1590 (gst_type_find_helper):
1591 The memory returned by gst_type_find_peek() needs to
1592 stay valid until the end of a typefind function, and
1593 typefind functions may keep results from different
1594 offsets around, so we can't just unref the buffer from
1595 the previous _peek(), but have to save all buffers
1596 returned by _peek() until typefinding is done and only
1599 2005-08-09 Tim-Philipp M??ller <tim at centricular dot net>
1601 * docs/gst/gstreamer-sections.txt:
1603 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
1605 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1607 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
1608 Fix a pretty good memleak.
1610 2005-08-08 Tim-Philipp M??ller <tim at centricular dot net>
1612 * gst/gstiterator.h:
1613 Fix wrong include and 'make distcheck'.
1615 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1617 * gst/gstbin.c: (bin_bus_handler):
1618 Use gst_element_post_message() instead.
1620 2005-08-08 Tim-Philipp M??ller <tim at centricular dot net>
1622 * gst/base/gstadapter.h:
1623 * gst/base/gstbasesink.h:
1624 * gst/base/gstbasesrc.h:
1625 * gst/base/gstbasetransform.h:
1626 * gst/base/gstcollectpads.h:
1627 * gst/base/gstpushsrc.h:
1628 * gst/gstiterator.h:
1629 Add padding to our base elements' class and instance structs and
1630 to GstIterator (you will need to rebuild all plugins and apps!)
1632 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1634 * gst/gstbin.c: (bin_bus_handler):
1635 Make default message forwarding from child->bus to bin->bus
1636 threadsafe and make it not emit warnings if the parent has no bus.
1638 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1640 * gst/gstelement.c: (activate_pads):
1641 On paused->ready, set pad->caps to NULL, as is the documented
1642 behaviour in this state change. Fixes playback of series of
1643 media files when visualization is enabled in Totem.
1645 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1647 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
1648 Allow NULL as filter-caps (which means "any").
1650 2005-08-05 Stefan Kost <ensonic@users.sf.net>
1652 * docs/libs/gstreamer-libs-sections.txt:
1653 * libs/gst/controller/gst-controller.c:
1654 * libs/gst/controller/gst-controller.h:
1655 * libs/gst/controller/gst-helper.c:
1656 adding more entries to the docs and fix small doc-bugs
1658 2005-08-05 Stefan Kost <ensonic@users.sf.net>
1660 * docs/gst/gstreamer-docs.sgml:
1661 * docs/gst/gstreamer-sections.txt:
1662 * docs/gst/gstreamer.types:
1663 * docs/gst/tmpl/gstbasesink.sgml:
1664 * docs/gst/tmpl/gstbasesrc.sgml:
1665 * docs/gst/tmpl/gstbasetransform.sgml:
1666 * docs/gst/tmpl/gstfakesrc.sgml:
1667 * gst/base/gstcollectpads.c:
1668 * gst/base/gstcollectpads.h:
1669 * libs/gst/controller/gst-controller.c:
1670 * libs/gst/controller/gst-controller.h:
1671 * libs/gst/controller/gst-helper.c:
1672 * libs/gst/controller/gst-interpolation.c:
1673 * libs/gst/controller/lib.c:
1674 added long/short desc for controller docs
1675 added collectpads base class docs
1676 added correct includes to base-class docs
1678 2005-08-05 Stefan Kost <ensonic@users.sf.net>
1680 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
1681 (gst_test_mono_source_set_property),
1682 (gst_test_mono_source_class_init), (GST_START_TEST),
1683 (gst_controller_suite):
1684 * docs/gst/gstreamer-docs.sgml:
1685 * docs/gst/gstreamer-sections.txt:
1686 * docs/gst/gstreamer.types:
1687 * docs/libs/gstreamer-libs-docs.sgml:
1688 * docs/libs/gstreamer-libs-sections.txt:
1689 * gst/base/gstadapter.c:
1690 * libs/gst/controller/gst-controller.c:
1691 (gst_controlled_property_new), (gst_controlled_property_free),
1692 (gst_controller_new_valist),
1693 (gst_controller_remove_properties_valist),
1694 (gst_controller_sink_values), (_gst_controller_finalize):
1695 * libs/gst/controller/gst-controller.h:
1696 * libs/gst/controller/gst-helper.c:
1697 (gst_object_control_properties), (gst_object_uncontrol_properties),
1698 (gst_object_get_controller), (gst_object_set_controller),
1699 (gst_object_sink_values), (gst_object_get_value_arrays),
1700 (gst_object_get_value_array):
1701 more tests (and fixes) for the controller
1702 more docs for the controller
1703 integrated companies docs for the adapter
1705 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
1707 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
1708 (GST_START_TEST), (fakesrc_suite):
1709 add tests for sizetype
1711 2005-08-04 Andy Wingo <wingo@pobox.com>
1713 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
1714 fixes buffer_alloc proxying among other things.
1716 * gst/base/gstbasetransform.c:
1717 * gst/base/gstbasetransform.h:
1718 Revert patch to gstbasetransform from 7-28 removing
1721 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
1722 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
1723 Semantics changed, should return not the size of the output buffer
1724 but the byte size of a buffer with a given caps.
1726 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
1728 (gst_base_transform_configure_caps): Don't set out_size here: (in,
1729 out) are not the pad caps until setcaps finishes.
1730 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
1731 not-in-place case as well. Deal with changing from in-place to
1732 not-in-place within calling pad_alloc_buffer. Still a bit
1733 concerned about the overhead here...
1735 2005-08-03 Andy Wingo <wingo@pobox.com>
1737 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
1738 fixating is an error.
1740 2005-08-04 Edward Hervey <edward@fluendo.com>
1742 * gst/base/gstadapter.h:
1743 Added gst_adapter_get_type() to the header
1745 2005-08-03 Stefan Kost <ensonic@users.sf.net>
1747 * check/Makefile.am:
1748 * check/gst-libs/controller.c:
1749 * libs/gst/controller/gst-controller.c:
1750 (gst_controller_new_valist):
1751 added check test suite for the controller
1752 * gst/base/gstpushsrc.c:
1755 2005-08-03 Stefan Kost <ensonic@users.sf.net>
1757 * docs/gst/Makefile.am:
1758 * docs/gst/gstreamer-docs.sgml:
1759 * docs/gst/gstreamer-sections.txt:
1760 * docs/gst/gstreamer.types:
1761 * docs/gst/tmpl/gstfakesrc.sgml:
1763 * gst/base/gstbasesink.c:
1764 * gst/base/gstbasesink.h:
1765 * gst/base/gstbasesrc.c:
1766 * gst/base/gstbasesrc.h:
1767 * gst/base/gstbasetransform.c:
1768 * gst/base/gstpushsrc.c:
1769 * gst/base/gstpushsrc.h:
1770 add short/long description docs to base classes
1771 add pushsrc to the docs
1772 remove consolidated doc fragments
1774 2005-08-03 Stefan Kost <ensonic@users.sf.net>
1777 * docs/libs/Makefile.am:
1778 * docs/libs/gstreamer-libs-docs.sgml:
1779 * docs/libs/gstreamer-libs-sections.txt:
1780 * docs/libs/gstreamer-libs.types:
1781 * examples/Makefile.am:
1782 * examples/controller/.cvsignore:
1783 * examples/controller/Makefile.am:
1784 * examples/controller/audio-example.c: (main):
1785 * libs/gst/Makefile.am:
1786 * libs/gst/controller/.cvsignore:
1787 * libs/gst/controller/Makefile.am:
1788 * libs/gst/controller/gst-controller.c:
1789 (on_object_controlled_property_changed), (gst_timed_value_compare),
1790 (gst_timed_value_find),
1791 (gst_controlled_property_set_interpolation_mode),
1792 (gst_controlled_property_new), (gst_controlled_property_free),
1793 (gst_controller_find_controlled_property),
1794 (gst_controller_new_valist), (gst_controller_new),
1795 (gst_controller_remove_properties_valist),
1796 (gst_controller_remove_properties), (gst_controller_set),
1797 (gst_controller_set_from_list), (gst_controller_unset),
1798 (gst_controller_get), (gst_controller_get_all),
1799 (gst_controller_sink_values), (gst_controller_get_value_arrays),
1800 (gst_controller_get_value_array),
1801 (gst_controller_set_interpolation_mode),
1802 (_gst_controller_finalize), (_gst_controller_init),
1803 (_gst_controller_class_init), (gst_controller_get_type):
1804 * libs/gst/controller/gst-controller.h:
1805 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
1806 (g_object_uncontrol_properties), (g_object_get_controller),
1807 (g_object_set_controller), (g_object_sink_values),
1808 (g_object_get_value_arrays), (g_object_get_value_array):
1809 * libs/gst/controller/gst-interpolation.c:
1810 (gst_controlled_property_find_timed_value_node),
1811 (interpolate_none_get), (interpolate_trigger_get),
1812 (interpolate_trigger_get_value_array):
1813 * libs/gst/controller/lib.c: (gst_controller_init):
1814 * pkgconfig/Makefile.am:
1815 * pkgconfig/gstreamer-control-uninstalled.pc.in:
1816 * pkgconfig/gstreamer-control.pc.in:
1817 * testsuite/Makefile.am:
1818 * testsuite/controller/.cvsignore:
1819 * testsuite/controller/Makefile.am:
1820 * testsuite/controller/interpolator.c: (main):
1821 added controller code
1822 removed dparam pc files
1824 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
1825 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
1826 (gst_collectpads_stop):
1827 Broadcast the condition when shutting down, to make sure we wake all
1828 threads up. Shut down pads on finalize, for safety.
1830 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
1831 * gst/base/gstbasetransform.c: (gst_base_transform_init),
1832 (gst_base_transform_handle_buffer),
1833 (gst_base_transform_change_state):
1834 Handle PAUSED->READY->PAUSED transition after negotiation
1836 * gst/gstmessage.c: (gst_message_init):
1837 Extra piece of debug for new messages.
1839 2005-08-01 Stefan Kost <ensonic@users.sf.net>
1842 * docs/gst/tmpl/gstbasesrc.sgml:
1843 * docs/gst/tmpl/gstelement.sgml:
1844 * docs/gst/tmpl/gstevent.sgml:
1845 * docs/gst/tmpl/gstfakesrc.sgml:
1846 * docs/gst/tmpl/gstformat.sgml:
1847 * docs/gst/tmpl/gstghostpad.sgml:
1848 * docs/gst/tmpl/gstpad.sgml:
1849 * docs/gst/tmpl/gstquery.sgml:
1850 * docs/gst/tmpl/gststructure.sgml:
1851 * docs/gst/tmpl/gsttaglist.sgml:
1852 * docs/gst/tmpl/gstvalue.sgml:
1853 * docs/libs/gstreamer-libs-docs.sgml:
1854 * docs/libs/gstreamer-libs-sections.txt:
1855 * docs/libs/gstreamer-libs.types:
1856 * libs/gst/Makefile.am:
1857 * libs/gst/control/.cvsignore:
1858 * libs/gst/control/Makefile.am:
1859 * libs/gst/control/control.c:
1860 * libs/gst/control/control.h:
1861 * libs/gst/control/dparam.c:
1862 * libs/gst/control/dparam.h:
1863 * libs/gst/control/dparam_smooth.c:
1864 * libs/gst/control/dparam_smooth.h:
1865 * libs/gst/control/dparamcommon.h:
1866 * libs/gst/control/dparammanager.c:
1867 * libs/gst/control/dparammanager.h:
1868 * libs/gst/control/dplinearinterp.c:
1869 * libs/gst/control/dplinearinterp.h:
1870 * libs/gst/control/unitconvert.c:
1871 * libs/gst/control/unitconvert.h:
1872 * testsuite/Makefile.am:
1873 * testsuite/dynparams/.cvsignore:
1874 * testsuite/dynparams/Makefile.am:
1875 * testsuite/dynparams/dparamstest.c:
1876 * tools/Makefile.am:
1877 * tools/gst-inspect.c: (print_element_info), (main):
1878 * tools/gst-xmlinspect.c: (print_element_info), (main):
1879 deactivate and remove dparams (libgstcontrol)
1881 2005-08-01 Tim-Philipp M??ller <tim at centricular dot net>
1883 * gst/elements/gsttypefindelement.c:
1884 (gst_type_find_element_have_type), (gst_type_find_element_init),
1885 (stop_typefinding), (gst_type_find_element_handle_event),
1886 (gst_type_find_element_chain), (gst_type_find_element_getrange):
1887 * gst/elements/gsttypefindelement.h:
1888 Set caps on all outgoing buffers, not just the first one.
1890 2005-08-01 Tim-Philipp M??ller <tim at centricular dot net>
1892 * gst/elements/gsttypefindelement.c:
1893 (gst_type_find_element_have_type),
1894 (gst_type_find_element_check_set_buffer_caps),
1895 (gst_type_find_element_init), (stop_typefinding),
1896 (gst_type_find_element_handle_event),
1897 (gst_type_find_element_chain), (gst_type_find_element_getrange):
1898 * gst/elements/gsttypefindelement.h:
1899 Set caps on first outgoing buffer when we've found the type.
1901 2005-08-01 Tim-Philipp M??ller <tim at centricular dot net>
1903 * docs/gst/gstreamer-docs.sgml:
1904 * docs/gst/gstreamer-sections.txt:
1905 * docs/gst/tmpl/gstscheduler.sgml:
1906 * docs/gst/tmpl/gstschedulerfactory.sgml:
1907 Remove some old cruft from docs.
1909 2005-07-31 Tim-Philipp M??ller <tim at centricular dot net>
1912 Fix inline docs for GstPadLinkReturn.
1914 * gst/gststructure.c: (gst_structure_has_name):
1915 * gst/gststructure.h:
1916 * docs/gst/gstreamer-sections.txt:
1917 New API: gst_structure_has_name().
1919 2005-07-30 Tim-Philipp M??ller <tim at centricular dot net>
1922 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
1923 and _LARGEFILE_SOURCE in config.h as required. Do not
1924 export those flags in our .pc files any longer (#142209).
1926 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
1928 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
1929 (gst_file_sink_do_seek), (gst_file_sink_event),
1930 (gst_file_sink_get_current_offset), (gst_file_sink_render):
1931 Redo seek/tell calls with large file support in mind; add some
1932 debugging messages; add log message that tells us when large
1933 file support is unavailable or not enabled for some reason.
1935 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
1936 Add log message that tells us when large file support
1937 is unavailable or not enabled for some reason.
1939 2005-07-29 Wim Taymans <wim@fluendo.com>
1941 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1942 Added test for removing an element with ghostpad from a bin.
1943 Fixed test as current implementation does the right thing.
1945 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
1946 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
1947 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
1948 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
1949 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
1950 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
1951 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
1952 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
1953 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
1954 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
1955 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
1956 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
1957 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1958 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
1959 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
1960 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
1961 * gst/gstghostpad.h:
1962 Clean up ghostpads, remove properties for internal stuff.
1965 Prepare for switching targets, not all use cases work yet.
1967 2005-07-29 Wim Taymans <wim@fluendo.com>
1969 * docs/design/part-gstghostpad.txt:
1972 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
1973 (gst_bin_remove_func):
1974 Unlinking pads while holding the bin LOCK is not a good
1977 * gst/gstpad.c: (gst_pad_class_init),
1978 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
1979 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
1980 No prob setting template after creating the pad.
1982 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
1984 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
1985 (gst_bus_peek), (gst_bus_source_dispatch),
1986 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
1987 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
1988 gst_bus_poll may be called from other threads. Handle
1989 this nicely by not making poll_data disappear off the
1990 stack once gst_bus_poll returns.
1991 gst_bus_peek now increments the refcount on the returned
1994 2005-07-29 Wim Taymans <wim@fluendo.com>
1996 * docs/design/part-gstghostpad.txt:
1997 Overview of current GhostPad datastructures and use
1998 cases for changing the target.
2000 2005-07-28 Wim Taymans <wim@fluendo.com>
2002 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2003 Added checks for hierarchy consistency whan adding linked
2006 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2007 Added check to test element scheduling without bin/pipeline.
2009 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
2010 First add elements to bin, then link.
2012 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
2013 (gst_bin_remove_func):
2014 Unlink pads from elements added/removed from bin to maintain
2015 hierarchy consistency.
2017 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2019 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2020 (gst_base_transform_handle_buffer):
2021 * gst/base/gstbasetransform.h:
2022 Remove broken delay_configure (fixes renegotiation of software
2023 scaling pipelines); remove some leftover printf()s.
2025 2005-07-28 Wim Taymans <wim@fluendo.com>
2027 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2028 Added some more tests for wrong hierarchy
2030 * docs/design/part-overview.txt:
2033 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
2036 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
2037 (gst_element_dispose):
2040 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
2041 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
2042 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
2043 (gst_pad_set_caps), (gst_pad_send_event):
2044 Check for correct hierarchy when linking pads. Moving to
2045 strict requirement for ghostpads when linking elements in
2049 Clean ups. Added WRONG_HIERARCHY return value.
2051 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2053 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
2054 Better debug if no transform is possible.
2056 2005-07-27 Wim Taymans <wim@fluendo.com>
2058 * docs/random/wtay/network-transp:
2061 2005-07-27 Wim Taymans <wim@fluendo.com>
2063 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
2064 (gst_dp_event_from_packet):
2065 Fix serialization of seek events.
2067 2005-07-27 Wim Taymans <wim@fluendo.com>
2069 * check/gst-libs/gdp.c: (GST_START_TEST):
2070 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
2071 Fix compilation and fix event serialization.
2073 2005-07-27 Wim Taymans <wim@fluendo.com>
2076 * docs/design/part-TODO.txt:
2077 * docs/design/part-events.txt:
2080 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2081 (gst_base_sink_event), (gst_base_sink_do_sync),
2082 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
2083 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2084 (gst_base_src_do_seek), (gst_base_src_event_handler),
2085 (gst_base_src_loop):
2086 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2087 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2088 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
2089 (gst_base_transform_event), (gst_base_transform_handle_buffer),
2090 (gst_base_transform_set_passthrough),
2091 (gst_base_transform_is_passthrough):
2092 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
2093 * gst/elements/gstfilesink.c: (gst_file_sink_event):
2099 * gst/gstelement.c: (gst_element_seek):
2101 Update gst_element_seek.
2103 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
2104 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
2105 (gst_event_new_flush_start), (gst_event_new_flush_stop),
2106 (gst_event_new_eos), (gst_event_new_newsegment),
2107 (gst_event_parse_newsegment), (gst_event_new_tag),
2108 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
2109 (gst_event_parse_qos), (gst_event_new_seek),
2110 (gst_event_parse_seek), (gst_event_new_navigation):
2112 Make GstEvent use GstStructure. Add parsing code, make sure the
2113 API is sufficiently generic.
2114 Mark possible directions of events and serialization.
2116 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
2117 (_gst_message_copy), (gst_message_new_segment_start),
2118 (gst_message_new_segment_done), (gst_message_new_custom),
2119 (gst_message_parse_segment_start),
2120 (gst_message_parse_segment_done):
2123 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
2124 (gst_pad_set_caps), (gst_pad_send_event):
2125 Update for new events.
2126 Catch events sent in wrong directions.
2128 * gst/gstqueue.c: (gst_queue_link_src),
2129 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
2130 (gst_queue_handle_src_query):
2135 Remove event code from this file.
2137 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
2138 (gst_dp_event_from_packet):
2141 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2143 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
2144 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2145 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
2146 Make debugging actually useful.
2148 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2150 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
2151 (gst_pad_fixate_caps):
2152 Implement default fixation once again, so that gst_pad_fixate()
2153 actually does anything at all. This probably needs to be some
2154 sort of a last resort, and use profile-based fixation first, but
2155 since that doesn't exist yet, this is the best we have. Fixes
2156 visualization in Totem.
2158 2005-07-22 Wim Taymans <wim@fluendo.com>
2160 * docs/design/part-events.txt:
2163 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2164 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
2165 (gst_base_sink_activate_pull):
2168 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
2169 (gst_fake_src_create):
2170 Fix handoff marshall.
2172 * gst/elements/gstidentity.c: (gst_identity_class_init),
2173 (gst_identity_transform_ip):
2174 We're a real inplace element.
2176 * gst/gstbus.c: (gst_bus_post):
2177 Added some comments.
2179 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
2180 * tests/muxing/case1.c: (main):
2181 * tests/sched/dynamic-pipeline.c: (main):
2182 * tests/sched/interrupt1.c: (main):
2183 * tests/sched/interrupt2.c: (main):
2184 * tests/sched/interrupt3.c: (main):
2185 * tests/sched/runxml.c: (main):
2186 * tests/sched/sched-stress.c: (main):
2187 * tests/seeking/seeking1.c: (event_received), (main):
2188 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2190 * tests/threadstate/threadstate3.c: (main):
2191 * tests/threadstate/threadstate4.c: (main):
2192 * tests/threadstate/threadstate5.c: (main):
2195 2005-07-21 Wim Taymans <wim@fluendo.com>
2197 * docs/design/part-seeking.txt:
2198 Some small additions.
2200 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2201 (gst_base_sink_get_times), (gst_base_sink_do_sync),
2202 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
2203 * gst/base/gstbasesink.h:
2204 discont values are gint64, handle the math correctly.
2206 * gst/base/gstbasesrc.c: (gst_base_src_loop):
2207 Make the basesrc report error if the source pad is not linked.
2209 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2210 (gst_queue_loop), (gst_queue_handle_src_query),
2211 (gst_queue_src_activate_push):
2212 Make queue collect data even if the srcpad is not linked.
2213 Start pushing out data as soon as it is linked.
2215 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
2217 Added gst_flow_get_name() to ease error reporting.
2219 2005-07-20 Wim Taymans <wim@fluendo.com>
2221 * gst/gstmessage.c: (gst_message_new_segment_start),
2222 (gst_message_new_segment_done), (gst_message_parse_segment_start),
2223 (gst_message_parse_segment_done):
2225 Added a bunch of messages for advanced seeking.
2227 * gst/parse/grammar.y:
2228 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
2229 (gst_dpman_state_changed):
2230 Fix some new-pad -> pad-added signals
2232 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2234 * docs/manual/appendix-porting.xml:
2235 * docs/pwg/appendix-porting.xml:
2236 Document new-pad/state-change signal renames and the FixedList
2239 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2241 * docs/manual/advanced-autoplugging.xml:
2242 * docs/manual/basics-helloworld.xml:
2243 * docs/manual/basics-pads.xml:
2244 * docs/random/ds/0.9-suggested-changes:
2245 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
2250 * gst/gststructure.c: (gst_structure_value_get_generic_type),
2251 (gst_structure_parse_array), (gst_structure_parse_value):
2252 * gst/gstvalue.c: (gst_type_is_fixed),
2253 (gst_value_list_prepend_value), (gst_value_list_append_value),
2254 (gst_value_list_get_size), (gst_value_list_get_value),
2255 (gst_value_transform_array_string), (gst_value_serialize_array),
2256 (gst_value_deserialize_array), (gst_value_intersect_array),
2257 (gst_value_is_fixed), (_gst_value_initialize):
2259 GstElement::new-pad -> pad-added, GstElement::state-change ->
2260 state-changed, GstValueFixedList -> GstValueArray, add format and
2261 flags as their own arguments in gst_element_seek() (should improve
2262 "bindeability"), remove function generators since they don't work
2263 under a whole bunch of compilers (they were deprecated already
2266 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2268 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
2269 (_gst_debug_register_funcptr):
2271 Fix illegal cast on some platforms (#309253).
2273 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2275 * gst/gstmessage.c: (gst_message_new_custom):
2277 Add _new_custom, make _new_application a macro to _new_custom.
2279 2005-07-20 Wim Taymans <wim@fluendo.com>
2281 * gst/base/gstbasesrc.c: (gst_base_src_init),
2282 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2283 * gst/base/gstbasesrc.h:
2284 Add a gboolean to decide when to push out a discont.
2286 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2287 (gst_queue_loop), (gst_queue_handle_src_query),
2288 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
2289 (gst_queue_set_property), (gst_queue_get_property):
2292 * tests/threadstate/threadstate1.c: (main):
2293 Make a thread test compile and run... very silly..
2296 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2298 * docs/manual/appendix-porting.xml:
2299 Mention removal of libgstgconf-0.9.la and existence of gconf
2302 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2304 * docs/pwg/advanced-clock.xml:
2305 * docs/pwg/appendix-porting.xml:
2306 * docs/pwg/intro-preface.xml:
2307 * docs/pwg/other-base.xml:
2308 * docs/pwg/other-manager.xml:
2309 * docs/pwg/other-nton.xml:
2310 * docs/pwg/other-ntoone.xml:
2311 * docs/pwg/other-oneton.xml:
2313 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
2314 demuxer), remove n-to-n (was never written), fix some code examples
2315 and links and update the porting section to include all this.
2317 2005-07-19 Wim Taymans <wim@fluendo.com>
2319 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
2320 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
2321 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
2322 (gst_queue_src_activate_push), (gst_queue_change_state),
2323 (gst_queue_get_property):
2325 Propagate GstFlowReturn more intelligently upstream and output
2326 an ERROR/EOS when streaming stopped due to fatal error.
2328 2005-07-19 Wim Taymans <wim@fluendo.com>
2330 * tools/gst-launch.c: (check_intr), (event_loop), (main):
2331 Don't block forever for the state change to complete, the
2332 pipeline already did with a sensible timeout.
2334 2005-07-19 Wim Taymans <wim@fluendo.com>
2336 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2337 Make sure we never call the create function is we
2340 2005-07-19 Andy Wingo <wingo@pobox.com>
2342 * gst/parse/parse.l: Attempt to solve bug #172815.
2344 2005-07-19 Wim Taymans <wim@fluendo.com>
2346 * docs/design/part-clocks.txt:
2347 * docs/design/part-events.txt:
2348 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
2350 Only update the seeking values when we are not
2353 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
2355 * gst/base/gstbasesrc.c: (gst_base_src_loop):
2356 Oops, ignore the result of gst_pad_push_event here.
2358 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
2360 * gst/base/gstbasesrc.c: (gst_base_src_loop),
2361 (gst_base_src_activate_push):
2362 Send discont event from the loop function, as pads
2363 aren't activated yet in the activate_push handler.
2365 * gst/gstbin.c: (bin_bus_handler):
2366 Don't leak element name.
2368 2005-07-18 Andy Wingo <wingo@pobox.com>
2370 * configure.ac: Use AS_LIBTOOL_TAGS.
2372 2005-07-18 Wim Taymans <wim@fluendo.com>
2374 * docs/gst/gstreamer.types:
2375 Remove deleted types.
2377 2005-07-18 Wim Taymans <wim@fluendo.com>
2379 * check/elements/gstfakesrc.c: (GST_START_TEST):
2382 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
2383 (init_popt_callback):
2385 * gst/gst_private.h:
2386 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
2387 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
2390 * gst/gstconfig.h.in:
2391 * gst/gstelement.c: (gst_element_class_init),
2392 (gst_element_set_base_time), (gst_element_get_base_time),
2393 (iterator_fold_with_resync), (gst_element_change_state),
2394 (gst_element_dispose), (gst_element_get_bus):
2396 * gst/gstelementfactory.h:
2397 * gst/gsterror.c: (_gst_core_errors_init):
2400 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
2402 * gst/gstinfo.c: (_gst_debug_init):
2403 * gst/gstmessage.c: (_gst_message_copy):
2405 * gst/gstminiobject.h:
2408 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
2409 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
2412 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
2413 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
2414 (gst_pipeline_get_last_stream_time):
2415 * gst/gstpipeline.h:
2416 * gst/gstpluginfeature.h:
2418 * gst/gstscheduler.c:
2419 * gst/gstscheduler.h:
2420 * gst/gststructure.h:
2421 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
2422 (gst_task_finalize), (gst_task_func), (gst_task_create),
2423 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
2424 (gst_task_stop), (gst_task_pause):
2426 * gst/gsttypefind.h:
2428 * gst/registries/gstlibxmlregistry.c: (load_feature),
2429 (gst_xml_registry_load), (gst_xml_registry_save_feature):
2430 * gst/registries/gstxmlregistry.c:
2431 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
2432 * gst/schedulers/threadscheduler.c:
2433 * libs/gst/control/dparammanager.h:
2434 * tools/gst-inspect.c: (print_element_list),
2435 (print_plugin_features), (print_element_features):
2436 * tools/gst-xmlinspect.c: (print_element_list),
2437 (print_plugin_info), (main):
2438 Removed plugable schedulers.
2439 Removed Scheduler/Manager from elements.
2440 Removed gsttypes.h, rearranged includes.
2441 Removed dependency pad<->element, element<>pipeline, and
2442 various others, fix includes.
2443 implement gst_pad_get_parent() with gst_object_get_parent()
2444 Make GstTask sefcontained.
2445 Fix _get_state() on GstBin, it did not return ASYNC with a 0
2447 Fix endless loop in iterator_fold_with_resync.
2450 2005-07-18 Wim Taymans <wim@fluendo.com>
2456 2005-07-18 Wim Taymans <wim@fluendo.com>
2461 2005-07-18 Wim Taymans <wim@fluendo.com>
2467 2005-07-18 Wim Taymans <wim@fluendo.com>
2469 * docs/design/part-dynamic.txt:
2470 * docs/design/part-events.txt:
2471 * docs/design/part-seeking.txt:
2472 Some more docs in the works.
2474 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2475 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
2476 (gst_base_transform_setcaps), (gst_base_transform_get_size),
2477 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
2478 (gst_base_transform_handle_buffer),
2479 (gst_base_transform_sink_activate_push),
2480 (gst_base_transform_src_activate_pull),
2481 (gst_base_transform_set_passthrough),
2482 (gst_base_transform_is_passthrough):
2485 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
2488 * gst/gstevent.c: (gst_event_finalize):
2491 * gst/gstutils.c: (gst_element_unlink),
2492 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
2493 (gst_pad_proxy_setcaps):
2495 Add _get_parent_element() to get a pads parent as an element.
2497 2005-07-18 Wim Taymans <wim@fluendo.com>
2499 * check/gst/gstbin.c: (GST_START_TEST):
2502 2005-07-18 Wim Taymans <wim@fluendo.com>
2504 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
2505 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
2506 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
2507 (gst_base_sink_event), (gst_base_sink_do_sync),
2508 (gst_base_sink_chain), (gst_base_sink_loop),
2509 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
2510 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
2512 Fix logic for returning ASYNC when not prerolled.
2514 2005-07-18 Wim Taymans <wim@fluendo.com>
2516 * gst/gstqueue.c: (gst_queue_handle_sink_event):
2517 Fix nasty refcount bug.
2519 2005-07-16 Philippe Khalaf <burger@speedy.org>
2521 * gst/elements/gstfdsrc.c:
2522 * gst/elements/gstfdsrc.h:
2523 * gst/elements/gstelements.c:
2524 * gst/elements/Makefile.am:
2525 Ported fdsrc to 0.9.
2527 2005-07-16 Wim Taymans <wim@fluendo.com>
2529 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2530 (gst_base_sink_do_sync):
2533 2005-07-16 Wim Taymans <wim@fluendo.com>
2535 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2536 (gst_base_sink_event), (gst_base_sink_get_times),
2537 (gst_base_sink_do_sync), (gst_base_sink_change_state):
2538 * gst/base/gstbasesink.h:
2539 Store and use discont values when syncing buffers as described
2542 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2543 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
2544 (gst_base_src_activate_push):
2545 Push discont event when starting.
2547 * gst/elements/gstidentity.c: (gst_identity_transform):
2550 * gst/gstbin.c: (gst_bin_change_state):
2551 Small cleanups in base_time distribution.
2553 * gst/gstelement.c: (gst_element_set_base_time),
2554 (gst_element_get_base_time), (gst_element_change_state):
2556 Added methods for the base_time of the element.
2559 * gst/gstpipeline.c: (gst_pipeline_send_event),
2560 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
2561 (gst_pipeline_get_last_stream_time):
2562 * gst/gstpipeline.h:
2564 Handle seeking as described in design doc, remove stream_time
2566 Cleanups clock and stream_time selection code. Added accessors
2567 for the stream_time.
2570 2005-07-16 Andy Wingo <wingo@pobox.com>
2572 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
2575 2005-07-16 Wim Taymans <wim@fluendo.com>
2577 * check/gst/gstbin.c: (GST_START_TEST):
2578 Make elements silent as the deep_notify refs the
2579 parent, which might make the test fail.
2581 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
2582 Don't hold the lock for too long.
2584 2005-07-16 Tim-Philipp M??ller <tim at centricular dot net>
2586 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2587 Don't unref the caps we passed to gst_caps_make_writable() after
2588 passing them. gst_caps_make_writable() will do that for us.
2590 2005-07-15 Andy Wingo <wingo@pobox.com>
2592 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
2595 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
2596 own marshalling function for the handoff signal. Properly type the
2597 buffer as a buffer. Fixes some warnings. Should do a more general
2599 (gst_identity_class_init): Plug into the right marshaller.
2601 2005-07-15 Wim Taymans <wim@fluendo.com>
2603 * docs/design/part-TODO.txt:
2604 * docs/design/part-clocks.txt:
2605 * docs/design/part-element-sink.txt:
2606 * docs/design/part-events.txt:
2607 * docs/design/part-gstpipeline.txt:
2608 Updated docs, mostly DISCONT related.
2610 2005-07-15 Tim-Philipp M??ller <tim at centricular dot net>
2612 * docs/pwg/building-pads.xml:
2613 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
2615 2005-07-15 Andy Wingo <wingo@pobox.com>
2617 * tools/gst-typefind.c: Update, add copyright block.
2619 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
2620 Normalize and truncate caps before fixation.
2623 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
2624 discards all but the first structure from its argument.
2626 2005-07-15 Wim Taymans <wim@fluendo.com>
2628 * gst/base/gstbasetransform.c: (gst_base_transform_init),
2629 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
2630 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2631 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
2632 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
2633 (gst_base_transform_chain), (gst_base_transform_change_state),
2634 (gst_base_transform_set_passthrough),
2635 (gst_base_transform_is_passthrough):
2636 * gst/base/gstbasetransform.h:
2637 Make passthrough work using the bufferpools.
2638 Changed API a bit, subclasses have to write into a buffer
2639 provided by the base class.
2640 More debug info in nego functions.
2642 * gst/elements/gstidentity.c: (gst_identity_init),
2643 (gst_identity_transform):
2644 Port to new base class.
2646 2005-07-15 Wim Taymans <wim@fluendo.com>
2648 * gst/gstmessage.c: (gst_message_new_state_changed):
2649 * tools/gst-launch.c: (event_loop), (main):
2650 Totally dump messages in -launch with the -m option.
2651 Fix message name for State messages,
2653 2005-07-14 Wim Taymans <wim@fluendo.com>
2655 * gst/base/gstbasesrc.c: (gst_base_src_loop):
2656 Post error messages on errors.
2658 2005-07-14 Wim Taymans <wim@fluendo.com>
2660 * gst/gstcaps.c: (gst_caps_do_simplify):
2664 Define error for stream stopped.
2666 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
2667 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
2668 Do proper return values.
2670 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
2671 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
2672 (gst_pad_get_range):
2673 Better return values.
2676 Reorganise return values, add macro to check for fatal errors.
2678 * gst/gstqueue.c: (gst_queue_chain):
2679 Return proper GstFlowReturn values,
2681 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
2683 * docs/gst/gstreamer-sections.txt:
2684 * docs/gst/gstreamer.types:
2685 * docs/gst/tmpl/gst.sgml:
2686 * docs/gst/tmpl/gstbasesink.sgml:
2687 * docs/gst/tmpl/gstbasesrc.sgml:
2688 * docs/gst/tmpl/gstbasetransform.sgml:
2689 * docs/gst/tmpl/gstbin.sgml:
2690 * docs/gst/tmpl/gstbuffer.sgml:
2691 * docs/gst/tmpl/gstcaps.sgml:
2692 * docs/gst/tmpl/gstclock.sgml:
2693 * docs/gst/tmpl/gstcompat.sgml:
2694 * docs/gst/tmpl/gstconfig.sgml:
2695 * docs/gst/tmpl/gstelement.sgml:
2696 * docs/gst/tmpl/gstelementdetails.sgml:
2697 * docs/gst/tmpl/gstelementfactory.sgml:
2698 * docs/gst/tmpl/gstenumtypes.sgml:
2699 * docs/gst/tmpl/gsterror.sgml:
2700 * docs/gst/tmpl/gstevent.sgml:
2701 * docs/gst/tmpl/gstfakesink.sgml:
2702 * docs/gst/tmpl/gstfakesrc.sgml:
2703 * docs/gst/tmpl/gstfilesink.sgml:
2704 * docs/gst/tmpl/gstfilesrc.sgml:
2705 * docs/gst/tmpl/gstfilter.sgml:
2706 * docs/gst/tmpl/gstformat.sgml:
2707 * docs/gst/tmpl/gstghostpad.sgml:
2708 * docs/gst/tmpl/gstimplementsinterface.sgml:
2709 * docs/gst/tmpl/gstindex.sgml:
2710 * docs/gst/tmpl/gstindexfactory.sgml:
2711 * docs/gst/tmpl/gstinfo.sgml:
2712 * docs/gst/tmpl/gstiterator.sgml:
2713 * docs/gst/tmpl/gstmacros.sgml:
2714 * docs/gst/tmpl/gstmemchunk.sgml:
2715 * docs/gst/tmpl/gstminiobject.sgml:
2716 * docs/gst/tmpl/gstobject.sgml:
2717 * docs/gst/tmpl/gstpad.sgml:
2718 * docs/gst/tmpl/gstpadtemplate.sgml:
2719 * docs/gst/tmpl/gstparse.sgml:
2720 * docs/gst/tmpl/gstpipeline.sgml:
2721 * docs/gst/tmpl/gstplugin.sgml:
2722 * docs/gst/tmpl/gstpluginfeature.sgml:
2723 * docs/gst/tmpl/gstquery.sgml:
2724 * docs/gst/tmpl/gstqueue.sgml:
2725 * docs/gst/tmpl/gstregistry.sgml:
2726 * docs/gst/tmpl/gstregistrypool.sgml:
2727 * docs/gst/tmpl/gstscheduler.sgml:
2728 * docs/gst/tmpl/gstschedulerfactory.sgml:
2729 * docs/gst/tmpl/gststructure.sgml:
2730 * docs/gst/tmpl/gstsystemclock.sgml:
2731 * docs/gst/tmpl/gsttaglist.sgml:
2732 * docs/gst/tmpl/gsttagsetter.sgml:
2733 * docs/gst/tmpl/gsttrace.sgml:
2734 * docs/gst/tmpl/gsttrashstack.sgml:
2735 * docs/gst/tmpl/gsttypefind.sgml:
2736 * docs/gst/tmpl/gsttypefindfactory.sgml:
2737 * docs/gst/tmpl/gsttypes.sgml:
2738 * docs/gst/tmpl/gsturihandler.sgml:
2739 * docs/gst/tmpl/gsturitype.sgml:
2740 * docs/gst/tmpl/gstutils.sgml:
2741 * docs/gst/tmpl/gstvalue.sgml:
2742 * docs/gst/tmpl/gstversion.sgml:
2743 * docs/gst/tmpl/gstxml.sgml:
2744 * docs/libs/tmpl/gstcontrol.sgml:
2745 * docs/libs/tmpl/gstdataprotocol.sgml:
2746 * docs/libs/tmpl/gstdparam.sgml:
2747 * docs/libs/tmpl/gstdplinint.sgml:
2748 * docs/libs/tmpl/gstdpman.sgml:
2749 * docs/libs/tmpl/gstdpsmooth.sgml:
2750 * docs/libs/tmpl/gstgetbits.sgml:
2751 * docs/libs/tmpl/gstunitconvert.sgml:
2752 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
2753 (gst_push_src_base_init), (gst_push_src_class_init),
2754 (gst_push_src_init), (gst_push_src_create):
2755 * gst/base/gstpushsrc.h:
2756 * gst/elements/gstelements.c:
2757 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
2758 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
2759 (gst_fake_sink_init), (gst_fake_sink_set_property),
2760 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
2761 (gst_fake_sink_event), (gst_fake_sink_preroll),
2762 (gst_fake_sink_render), (gst_fake_sink_change_state):
2763 * gst/elements/gstfakesink.h:
2764 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
2765 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
2766 (gst_fake_src_base_init), (gst_fake_src_class_init),
2767 (gst_fake_src_init), (gst_fake_src_event_handler),
2768 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
2769 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
2770 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
2771 (gst_fake_src_create_buffer), (gst_fake_src_create),
2772 (gst_fake_src_start), (gst_fake_src_stop):
2773 * gst/elements/gstfakesrc.h:
2774 * gst/elements/gstfilesink.c: (_do_init),
2775 (gst_file_sink_base_init), (gst_file_sink_class_init),
2776 (gst_file_sink_init), (gst_file_sink_dispose),
2777 (gst_file_sink_set_location), (gst_file_sink_set_property),
2778 (gst_file_sink_get_property), (gst_file_sink_open_file),
2779 (gst_file_sink_close_file), (gst_file_sink_query),
2780 (gst_file_sink_event), (gst_file_sink_render),
2781 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
2782 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
2783 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
2784 * gst/elements/gstfilesink.h:
2785 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
2786 (gst_file_src_class_init), (gst_file_src_init),
2787 (gst_file_src_finalize), (gst_file_src_set_location),
2788 (gst_file_src_set_property), (gst_file_src_get_property),
2789 (gst_file_src_map_region), (gst_file_src_map_small_region),
2790 (gst_file_src_create_mmap), (gst_file_src_create_read),
2791 (gst_file_src_create), (gst_file_src_is_seekable),
2792 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
2793 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
2794 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
2795 (gst_file_src_uri_handler_init):
2796 * gst/elements/gstfilesrc.h:
2797 more autistic cleanliness in functions/names/defines
2799 2005-07-13 Andy Wingo <wingo@pobox.com>
2801 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
2802 source couldn't negotiate.
2804 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
2808 * gst/gstutils.c (gst_element_link_pads_filtered): New old
2809 function. I am channeling Hades. Put your boots on suckers!!!
2811 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
2813 * testsuite/caps/Makefile.am:
2814 * testsuite/caps/value_compare.c:
2815 * testsuite/caps/value_intersect.c:
2816 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2817 move two testsuite apps over to the check dir
2819 2005-07-12 Wim Taymans <wim@fluendo.com>
2821 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
2822 Added more debug info in the negotiate process.
2825 Prepare for segment playback.
2827 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
2833 * tools/gst-launch.c: (main):
2834 NULL pipeline on errors.
2836 2005-07-12 Andy Wingo <wingo@pobox.com>
2838 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
2839 not it comes from a malloc region. Make sure our copy gets freed.
2841 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
2843 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2844 * check/gst/gstmessage.c: (GST_START_TEST):
2845 * check/gst/gststructure.c: (GST_START_TEST),
2846 (gst_structure_suite), (main):
2848 * gst/gstelement.c: (gst_element_message_full):
2849 clean up GError and debug string now that they get copied
2850 * gst/gstmessage.c: (gst_message_new_error),
2851 (gst_message_new_warning), (gst_message_parse_error),
2852 (gst_message_parse_warning):
2853 use GST_TYPE_G_ERROR for structure_new, and take copies of
2854 arguments, so that we don't mess up refcounting
2856 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
2858 * check/Makefile.am:
2859 add per-test valgrind targets
2860 * check/gst-libs/gdp.c: (GST_START_TEST),
2861 (gst_data_protocol_suite), (main):
2864 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
2866 * check/Makefile.am:
2867 instate more valgrindable tests
2868 * check/elements/gstfakesrc.c: (chain_func), (event_func),
2869 (GST_START_TEST), (fakesrc_suite):
2870 * check/gst/gstpad.c: (GST_START_TEST):
2871 * check/gst/gststructure.c: (GST_START_TEST):
2873 * docs/gst/tmpl/gstminiobject.sgml:
2874 * gst/gstpad.c: (gst_pad_finalize):
2875 fix the static mutex leak
2877 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
2879 * check/Makefile.am:
2880 add two more tests for valgrinding
2881 * check/gst/gstvalue.c: (GST_START_TEST):
2882 test refcount of deserialized buffer, found a leak
2883 * docs/gst/gstreamer-docs.sgml:
2884 * docs/gst/gstreamer-sections.txt:
2885 * docs/gst/gstreamer.types:
2886 * docs/gst/tmpl/gstminiobject.sgml:
2887 add miniobject to docs
2888 * gst/gstminiobject.c:
2890 * gst/gstvalue.c: (gst_value_deserialize_buffer),
2891 (gst_string_unwrap):
2892 fix a hard-to-find invalid write for one of the tests
2893 fix a leak for deserialized buffers
2895 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2897 * docs/pwg/advanced-events.xml:
2898 * docs/pwg/advanced-request.xml:
2899 * docs/pwg/advanced-scheduling.xml:
2900 * docs/pwg/appendix-porting.xml:
2901 * docs/pwg/building-boiler.xml:
2902 * docs/pwg/intro-preface.xml:
2903 * docs/pwg/other-ntoone.xml:
2904 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
2905 of example code and explanation for pad activation, loop() and
2906 getrange() functions and a bit more. Remove old comments pointing
2908 * examples/pwg/Makefile.am:
2909 Add loop/getrange examples.
2911 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
2914 check for valgrind binary + some fixes
2916 valgrind suppressions for the tests
2917 * check/Makefile.am:
2918 add a valgrind: target that valgrinds the unit tests
2919 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
2920 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
2921 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
2922 * check/gst/gstghostpad.c:
2924 * check/gst/gstdata.c:
2926 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
2927 (thread_unref), (gst_mini_object_suite), (main):
2929 * gst/gst.c: (gst_deinit):
2931 add a method to clean up.
2932 * gst/gstsystemclock.c: (gst_system_clock_dispose),
2933 (gst_system_clock_obtain):
2934 allow for disposing the system clock.
2935 * tools/gst-launch.c: (main):
2938 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
2940 * docs/gst/tmpl/gstbasesrc.sgml:
2941 * docs/gst/tmpl/gstfakesrc.sgml:
2942 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2943 (gst_base_src_init), (gst_base_src_set_property),
2944 (gst_base_src_get_property), (gst_base_src_get_range),
2945 (gst_base_src_start):
2946 * gst/base/gstbasesrc.h:
2947 add num-buffers property
2948 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
2949 (gst_fakesrc_init), (gst_fakesrc_set_property),
2950 (gst_fakesrc_get_property), (gst_fakesrc_create),
2951 (gst_fakesrc_start):
2952 remove num-buffers property
2954 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
2956 * docs/gst/gstreamer-sections.txt:
2957 * docs/gst/tmpl/gstbasesink.sgml:
2958 * docs/gst/tmpl/gstbasesrc.sgml:
2959 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
2960 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
2961 (gst_base_sink_finalize), (gst_base_sink_set_clock),
2962 (gst_base_sink_set_property), (gst_base_sink_get_property),
2963 (gst_base_sink_handle_object), (gst_base_sink_event),
2964 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2965 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
2966 (gst_base_sink_loop), (gst_base_sink_deactivate),
2967 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
2968 (gst_base_sink_change_state):
2969 * gst/base/gstbasesink.h:
2970 * gst/base/gstbasesrc.h:
2971 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
2972 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
2973 (gst_filesink_init):
2974 more macro splitting
2976 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
2978 * gst/gstelement.c: (gst_element_get_bus):
2980 * tools/gst-launch.c: (check_intr), (event_loop):
2983 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
2985 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
2988 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
2990 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2991 (gst_base_src_finalize):
2992 add finalize method and clean up properly
2993 * gst/gstpipeline.c: (gst_pipeline_dispose):
2996 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
2998 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
3000 add more things to check
3001 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
3005 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
3007 * check/elements/gstfakesrc.c: (chain_func), (event_func),
3008 (GST_START_TEST), (fakesrc_suite):
3009 * check/gst-libs/gdp.c: (GST_START_TEST):
3010 * check/gst/gst.c: (GST_START_TEST):
3011 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3012 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3013 * check/gst/gstbus.c: (GST_START_TEST):
3014 * check/gst/gstcaps.c: (GST_START_TEST):
3015 * check/gst/gstdata.c: (GST_START_TEST):
3016 * check/gst/gstelement.c: (GST_START_TEST):
3017 * check/gst/gstghostpad.c: (GST_START_TEST):
3018 * check/gst/gstiterator.c: (GST_START_TEST):
3019 * check/gst/gstmessage.c: (GST_START_TEST):
3020 * check/gst/gstobject.c: (GST_START_TEST):
3021 * check/gst/gstpad.c: (GST_START_TEST):
3022 * check/gst/gststructure.c: (GST_START_TEST):
3023 * check/gst/gstsystemclock.c: (GST_START_TEST),
3024 (gst_systemclock_suite):
3025 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3026 * check/gst/gstvalue.c: (GST_START_TEST):
3027 * check/pipelines/cleanup.c: (GST_START_TEST):
3028 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3029 * check/states/sinks.c: (GST_START_TEST):
3030 * check/gstcheck.c: (gst_check_init):
3032 add debugging category
3033 use GST_START_TEST now, so we add a debug line
3035 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
3037 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
3038 add test for state change message on a bin
3039 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
3041 * gst/gstbin.c: (gst_bin_init):
3042 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
3043 * gst/gstelement.c: (gst_element_post_message),
3044 (gst_element_set_state):
3045 * gst/gstelementfactory.c: (gst_element_factory_create):
3046 * gst/gstmessage.c: (gst_message_new):
3047 * gst/gstscheduler.c:
3048 various debugging additions and cleanups
3050 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
3052 * check/Makefile.am:
3053 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
3055 adding tests for elements
3056 * gst/gstelement.c: (gst_element_dispose):
3058 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
3060 * gst/registries/gstlibxmlregistry.c: (load_feature):
3061 plug more leaks. A simple gst_init() now is leakfree, yay.
3063 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
3065 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
3066 (gst_xml_registry_load):
3067 plug another memleak
3069 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
3072 use GST_SET_ERROR_CFLAGS
3074 change to ERROR_CFLAGS
3076 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
3079 make GST_ERROR_CFLAGS overridable and re-enable Werror
3081 add a note about error CFLAGS
3082 * docs/gst/tmpl/gstfakesrc.sgml:
3083 * gst/elements/gstfakesrc.c:
3084 comment out some unused code
3085 * gst/gst.c: (split_and_iterate):
3086 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
3090 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
3092 * common/Makefile.am:
3093 * common/gtk-doc.mak:
3094 * docs/gst/Makefile.am:
3095 factor out gtk-doc.mak
3097 2005-07-07 Wim Taymans <wim@fluendo.com>
3099 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
3100 (gst_thread_scheduler_dispose):
3101 Unlock the STREAM_LOCK completely.
3103 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
3105 * check/Makefile.am:
3106 * check/elements/.cvsignore:
3107 * check/elements/gstfakesrc.c: (chain_func), (event_func),
3108 (START_TEST), (fakesrc_suite), (main):
3109 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
3110 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
3111 (gst_fakesrc_create), (gst_fakesrc_start):
3112 * gst/elements/gstfakesrc.h:
3113 adding a first element test
3115 2005-07-07 Andy Wingo <wingo@pobox.com>
3117 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
3120 2005-07-07 Wim Taymans <wim@fluendo.com>
3126 2005-07-07 Wim Taymans <wim@fluendo.com>
3128 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
3129 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
3130 Allow subclasses to implement their own negotiation.
3132 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
3134 * docs/design/part-gstbin.txt:
3135 * docs/design/part-gstpipeline.txt:
3136 Update design notes to reflect the movement of
3137 responsibility for bus handling from GstPipeline to
3140 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
3143 Remove unnecessary queue2/3/4 examples.
3145 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
3147 * examples/Makefile.am:
3148 * examples/helloworld/helloworld.c: (event_loop), (main):
3149 * examples/queue/queue.c: (event_loop), (main):
3150 * examples/queue2/queue2.c: (main):
3151 Update a couple of the examples to work again.
3153 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3154 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
3155 Spelling corrections and extra debug.
3157 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
3158 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
3159 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
3161 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
3162 (gst_pipeline_change_state):
3163 * gst/gstpipeline.h:
3164 Move the bus handler for children to the GstBin, and create a
3165 separate bus for receiving messages from children to the one the
3166 bus sends 'upwards' on.
3168 2005-07-06 Wim Taymans <wim@fluendo.com>
3171 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3172 (gst_base_sink_handle_object), (gst_base_sink_loop),
3173 (gst_base_sink_change_state):
3174 * gst/base/gstbasesink.h:
3175 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3176 (gst_base_src_init), (gst_base_src_setcaps),
3177 (gst_base_src_getcaps), (gst_base_src_loop),
3178 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
3179 (gst_base_src_start), (gst_base_src_change_state):
3180 * gst/base/gstbasesrc.h:
3181 Make basesrc negotiate.
3182 Handle the case where preroll fails in basesink.
3185 2005-07-06 Wim Taymans <wim@fluendo.com>
3187 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
3188 Implement the fixate function.
3189 Clean up acceptcaps.
3191 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3193 * docs/pwg/building-filterfactory.xml:
3195 Remove never-written filter-factory chapter; I'll add the various
3196 base classes to part 4 ("other element types") later on.
3198 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3200 * docs/pwg/advanced-negotiation.xml:
3201 * docs/pwg/building-boiler.xml:
3202 * docs/pwg/building-pads.xml:
3204 * examples/pwg/Makefile.am:
3205 Add a chapter on caps negotiation, simplify the original code
3206 samples a bit w.r.t. caps negotiation, add link to the advanced
3207 section. Add a bunch of examples showing different use cases of
3208 different types of caps negotiation. Upstream renegotiation isn't
3209 fully documented yet since nobody knows how that works.
3211 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
3213 * check/gst/gstpad.c:
3215 * gst/gstpad.c: (gst_pad_get_internal_links_default):
3216 if pad has no parent, return NULL as list of internal links
3218 2005-07-05 Andy Wingo <wingo@pobox.com>
3220 * gst/elements/gstfilesrc.c:
3221 * gst/elements/gstfakesrc.c:
3222 * gst/base/gstpushsrc.c:
3223 * gst/base/gstbasesrc.h:
3224 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
3226 2005-07-05 Stefan Kost <ensonic@users.sf.net>
3229 better report generation target (lcov needs a patch)
3231 2005-07-05 Andy Wingo <wingo@pobox.com>
3233 * gst/elements, testsuite: Null if we got it...
3235 2005-07-05 Wim Taymans <wim@fluendo.com>
3238 * libs/gst/dataprotocol/Makefile.am:
3239 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
3240 * libs/gst/dataprotocol/dataprotocol.h:
3241 * pkgconfig/Makefile.am:
3242 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
3243 * pkgconfig/gstreamer-dataprotocol.pc.in:
3244 Ported dataprotol to 0.9.
3245 Added pkgconfig files.
3247 2005-07-05 Andy Wingo <wingo@pobox.com>
3249 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
3250 Default to returning TRUE for the case when tranform_caps returns
3251 a fixed caps, like for identity or volume.
3253 * check/gst/gstbus.c (pound_bus_with_messages):
3254 * check/gst/gstmessage.c (START_TEST):
3255 * check/pipelines/simple_launch_lines.c (got_handoff): Application
3258 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
3259 logic weaks here: always run transform_caps, trying passthrough
3260 operation only if the original caps intersects with the transform.
3262 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
3263 source and sink caps.
3265 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
3266 Intersect the peer caps with the pad template before going into
3268 (gst_base_transform_transform_caps): More debugging.
3270 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
3273 2005-07-04 Edward Hervey <edward@fluendo.com>
3277 (gst_pad_add_*_probe): now returns the signal id for better wrapping
3280 2005-07-04 Andy Wingo <wingo@pobox.com>
3282 * check/gst/gstpad.c: Only set explicit caps on pads.
3284 2005-07-01 Andy Wingo <wingo@pobox.com>
3286 * tests/network-clock.scm: Commentary update.
3288 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
3289 Didn't really make sense, not implementable with basetransform,
3291 (gst_identity_transform): Unref inbuf via make_writable. Feeble
3292 attempt at implementing the sync property, needs an unlock method.
3294 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
3295 New func, by default returns the same caps (the identity
3297 (gst_base_transform_getcaps): Uses transform_caps to return
3299 (gst_base_transform_setcaps): Complicated logic to get caps on
3300 both pads, even if they are different, and to call set_caps once
3301 for every time both pads get their caps set.
3302 (gst_base_transform_handle_buffer): Give the ref to the transform
3303 function. Allows in-place modification of the buffer.
3305 * gst/base/gstbasetransform.h (transform_caps): New class method.
3306 Given caps on one side, what can I do on the other.
3307 (set_caps): Take two caps, one for each side of the element.
3310 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
3311 caps in place. This is safe because we can check the mutability of
3312 the caps, and a good idea because fixate functions are just called
3313 as a matter of last resort. (Not actually implemented.)
3314 (gst_pad_set_caps): If the caps we're setting is actually the same
3315 as the existing pad caps, just update the pointer without calling
3316 setcaps. Assert that caps is either NULL or fixed, as per the
3319 * gst/gstghostpad.c: Update for fixate changes.
3321 2005-07-02 Andy Wingo <wingo@pobox.com>
3324 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
3325 two refcounts makes it immutable, which is enough. Doc more.
3327 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
3329 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
3330 Put the mini_object into GValue as a mini_object,
3331 not a gpointer, since that's how we declared
3334 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3336 * examples/pwg/Makefile.am:
3339 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3341 * docs/pwg/building-testapp.xml:
3343 * examples/pwg/Makefile.am:
3346 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3349 * examples/Makefile.am:
3350 * examples/pwg/Makefile.am:
3351 * examples/pwg/extract.pl:
3352 Enable building the PWG examples.
3353 * docs/pwg/advanced-interfaces.xml:
3354 Add URI interface stub.
3355 * docs/pwg/advanced-types.xml:
3356 * docs/pwg/other-autoplugger.xml:
3357 * docs/pwg/appendix-porting.xml:
3359 Add porting guide (mostly stubs), remove autoplugging (see ADM).
3360 * docs/pwg/building-boiler.xml:
3361 * docs/pwg/building-chainfn.xml:
3362 * docs/pwg/building-pads.xml:
3363 * docs/pwg/building-props.xml:
3364 * docs/pwg/building-state.xml:
3365 * docs/pwg/building-testapp.xml:
3366 Update the building-*.xml parts for 0.9 changes. All examples
3367 code blocks compile in examples/pwg/*.
3369 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3371 * docs/manual/advanced-autoplugging.xml:
3372 * docs/manual/appendix-checklist.xml:
3373 * docs/manual/appendix-integration.xml:
3374 * docs/manual/highlevel-components.xml:
3375 Fix playbin/decodebin examples, update docs a bit, mention bus
3376 instead of signals in various places, mention kmplayer and
3377 kaffeine since they have a working GStreamer backend in the KDE
3380 2005-06-30 Wim Taymans <wim@fluendo.com>
3383 * docs/design/draft-ghostpads.txt:
3384 * docs/design/draft-push-pull.txt:
3385 * docs/design/draft-query.txt:
3386 * docs/design/part-TODO.txt:
3387 * docs/design/part-query.txt:
3388 Added CHANGES-0.9 doc, updated status of other docs.
3393 2005-06-30 Wim Taymans <wim@fluendo.com>
3395 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3396 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
3397 (gst_base_sink_change_state):
3398 * gst/base/gstbasesink.h:
3399 Some tweaks, only EOS and a buffer complete a preroll.
3401 2005-06-30 Andy Wingo <wingo@pobox.com>
3403 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
3404 activate_push down to the internal pad as well.
3406 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
3408 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3410 * gst/gsttaginterface.c:
3411 Some documentation fixes (#307394 and #307397).
3413 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
3415 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3417 * gst/gstvalue.c: (gst_value_intersect_list):
3418 Fix memleak (#309125).
3420 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3422 * docs/manual/advanced-dataaccess.xml:
3423 Fix fakesrc example to compile; doesn't work, bug somewhere...?
3424 * docs/manual/basics-pads.xml:
3425 Add reference for filtered caps to above chapter.
3427 2005-06-30 Wim Taymans <wim@fluendo.com>
3429 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
3430 (gst_bin_change_state):
3432 Lame attempt at making the state change function a bit
3435 2005-06-30 Wim Taymans <wim@fluendo.com>
3437 * docs/design/part-clocks.txt:
3438 * docs/design/part-element-sink.txt:
3439 * docs/design/part-events.txt:
3440 * docs/design/part-preroll.txt:
3441 * docs/design/part-states.txt:
3442 Some more tweeks and additions to the docs.
3444 2005-06-30 Wim Taymans <wim@fluendo.com>
3446 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
3447 (default_have_data), (gst_pad_class_init), (gst_pad_init),
3448 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
3449 (gst_pad_check_pull_range), (gst_pad_get_range),
3450 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
3452 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
3453 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
3454 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
3455 (gst_pad_remove_buffer_probe):
3456 Removed atomic operations, use existing LOCK.
3457 Move exception handling out of main code path.
3459 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3461 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
3462 (silly_return_true_function), (gst_pad_class_init),
3463 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
3464 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
3465 (gst_pad_send_event):
3466 Fix accumulator, add default value by using _emitv() instead
3467 of _emit() for signal emission.
3469 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3471 * docs/manual/advanced-dataaccess.xml:
3472 * examples/manual/Makefile.am:
3474 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
3477 2005-06-29 Tim-Philipp M??ller <tim at centricular dot net>
3479 * gst/elements/gstfilesink.c: (gst_filesink_render):
3480 Simplify code so that we don't have to handle short
3481 writes and return GST_FLOW_ERROR if an error occured.
3483 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3485 * docs/gst/gstreamer-docs.sgml:
3488 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3490 * docs/gst/gstreamer-sections.txt:
3491 * docs/gst/tmpl/gstpad.sgml:
3492 * docs/gst/tmpl/gstprobe.sgml:
3494 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
3495 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
3496 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
3497 (gst_pad_push_event), (gst_pad_send_event):
3499 * gst/gstutils.c: (gst_pad_add_data_probe),
3500 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
3501 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
3502 (gst_pad_remove_buffer_probe):
3504 Remove old probes, add new g-signal-based probes and some utility
3507 2005-06-29 Edward Hervey <edward@fluendo.com>
3509 * gst/gstelementfactory.c:
3512 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
3513 the definition to the header file.
3515 2005-06-29 Andy Wingo <wingo@pobox.com>
3517 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
3518 plugins from the source directory.
3520 2005-06-29 Wim Taymans <wim@fluendo.com>
3522 * docs/gst/tmpl/gstbuffer.sgml:
3523 * docs/gst/tmpl/gstclock.sgml:
3524 Some fixings for blantently wrong text.
3526 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
3528 * check/Makefile.am:
3529 * gst/gst.c: (add_path_func), (init_pre):
3530 * gst/gstregistry.c: (gst_registry_add_path):
3531 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
3532 only scan the GST_PLUGIN_PATH locations, and not add
3535 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
3537 * docs/gst/gstreamer-sections.txt:
3538 * docs/gst/tmpl/gstbasesrc.sgml:
3545 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3547 * docs/manual/advanced-autoplugging.xml:
3548 Fix autoplugging example.
3550 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3552 * docs/manual/advanced-autoplugging.xml:
3553 * docs/manual/mime-world.fig:
3554 Try to get autoplugging working, fix type detection. Fix text
3555 in hello-world image.
3557 2005-06-29 Wim Taymans <wim@fluendo.com>
3559 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3560 (gst_base_sink_change_state):
3564 map SIGNAL and BROADCAST to the right function.
3567 Remove redundant braces.
3569 * gst/gstpad.c: (gst_pad_set_caps):
3570 Don't call setcaps function when reseting caps to NULL.
3572 * gst/gstsystemclock.c: (gst_system_clock_dispose),
3573 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
3574 (gst_system_clock_id_unschedule):
3575 Use BROADCAST as this is what we do.
3577 2005-06-29 Wim Taymans <wim@fluendo.com>
3579 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3580 We are actually prerolling before commiting the state
3583 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3585 * docs/manual/advanced-clocks.xml:
3586 * docs/manual/advanced-interfaces.xml:
3587 * docs/manual/advanced-metadata.xml:
3588 * docs/manual/advanced-position.xml:
3589 * docs/manual/advanced-schedulers.xml:
3590 * docs/manual/advanced-threads.xml:
3591 * docs/manual/appendix-porting.xml:
3592 * docs/manual/basics-bins.xml:
3593 * docs/manual/basics-bus.xml:
3594 * docs/manual/basics-elements.xml:
3595 * docs/manual/basics-helloworld.xml:
3596 * docs/manual/basics-pads.xml:
3597 * docs/manual/highlevel-components.xml:
3598 * docs/manual/manual.xml:
3599 * docs/manual/thread.fig:
3600 Update (until threads/scheduling) Application Development Manual;
3601 remove GstThread, add GstBus, add simple porting checklist, add
3602 documentation for tag writing, clocks, make all examples until this
3603 part compile and run.
3604 * examples/manual/Makefile.am:
3605 Update from changes to Application Development Manual; add bus
3606 example, remove thread example.
3608 2005-06-28 Wim Taymans <wim@fluendo.com>
3610 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
3611 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
3612 (gst_bus_source_dispatch):
3613 Add debugging messages.
3614 Make internal methods static.
3615 Handle the case where the bus is flushed in the handler.
3617 * gst/gstelement.c: (gst_element_get_bus):
3618 Fix refcount in _get_bus();
3620 * gst/gstpipeline.c: (gst_pipeline_change_state),
3621 (gst_pipeline_get_clock_func):
3622 Clock refcounting fixes.
3623 Handle the case where preroll timed out more gracefully.
3625 * gst/gstsystemclock.c: (gst_system_clock_dispose):
3626 Clean up the internal thread in dispose. This is needed
3627 for subclasses that actually get disposed.
3629 * gst/schedulers/threadscheduler.c:
3630 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
3631 (gst_thread_scheduler_dispose):
3632 Free thread pool in dispose.
3634 2005-06-28 Andy Wingo <wingo@pobox.com>
3636 * tests/network-clock-utils.scm (debug, print-event): New utils.
3638 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
3639 (*packet-loss*): Unified loss probability.
3640 (network-time): Report out-of-band events.
3642 * tests/plot-data: Add support for out-of-band events. Hack it
3643 into this script instead of passing it down the pipe; should fix
3646 2005-06-28 Wim Taymans <wim@fluendo.com>
3648 * docs/gst/gstreamer.types:
3649 * docs/gst/tmpl/gstbasesrc.sgml:
3650 * docs/gst/tmpl/gstpad.sgml:
3653 2005-06-28 Wim Taymans <wim@fluendo.com>
3655 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
3656 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
3657 (gst_proxy_pad_do_fixatecaps):
3658 Correctly proxy the check_pull_range function.
3660 2005-06-28 Andy Wingo <wingo@pobox.com>
3662 * tests/network-clock.scm: Removed need for slib.
3664 2005-06-28 Wim Taymans <wim@fluendo.com>
3666 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
3667 (gst_basesink_preroll_queue_flush):
3668 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
3669 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
3670 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
3671 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
3672 (gst_proxy_pad_set_property):
3675 * gst/gstqueue.c: (gst_queue_init):
3676 The deprecated pad loop function is removed now.
3678 2005-06-28 Andy Wingo <wingo@pobox.com>
3680 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
3681 New parameters, simulate network packet loss.
3683 * tests/network-clock-utils.scm: Initialize the RNG.
3685 2005-06-28 Wim Taymans <wim@fluendo.com>
3687 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
3688 (gst_basesink_event), (gst_basesink_deactivate):
3689 Flushing the preroll queue always needs to unlock the waiters.
3691 2005-06-28 Edward Hervey <edward@fluendo.com>
3693 * gst/gstpipeline.c: (gst_pipeline_send_event):
3694 Wheen a seek was successful on a pipeline, set the stream_time to the
3695 seek offset in order to have a synchronized stream_time.
3697 2005-06-28 Wim Taymans <wim@fluendo.com>
3699 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
3700 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
3701 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
3702 (gst_proxy_pad_do_fixatecaps):
3703 Call wrapper function instead of just calling the function
3704 pointers. This takes care of any locking and whatmore.
3706 2005-06-28 Wim Taymans <wim@fluendo.com>
3708 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
3709 (gst_pad_pull_range):
3711 CONNECTED -> LINKED.
3713 2005-06-28 Andy Wingo <wingo@pobox.com>
3715 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
3716 source-munging commit!!!
3718 * gst/gstobject.c (gst_object_unref, gst_object_ref)
3719 (gst_object_sink): Take gpointer arguments, not GstObject --
3720 avoids casts. Like GLib.
3722 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
3725 2005-06-27 Andy Wingo <wingo@pobox.com>
3727 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
3730 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
3731 returns a sorted copy of the trace list.
3732 (gst_alloc_trace_print_live): New API, only prints traces with
3733 live objects. Sort the list.
3734 (gst_alloc_trace_print_all): Sort the list.
3735 (gst_alloc_trace_print): Align columns.
3737 * gst/elements/gstttypefindelement.c:
3738 * gst/elements/gsttee.c:
3739 * gst/base/gstbasesrc.c:
3740 * gst/base/gstbasesink.c:
3741 * gst/base/gstbasetransform.c:
3742 * gst/gstqueue.c: Adapt for pad activation changes.
3744 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
3746 (gst_pipeline_dispose): Drop ref on sched.
3748 * gst/gstpad.c (gst_pad_init): Set the default activate func.
3749 (gst_pad_activate_default): Push mode by default.
3750 (pre_activate_switch, post_activate_switch): New stubs, things to
3751 do before and after switching activation modes on pads.
3752 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
3753 the pad's activate function to choose which mode to activate.
3754 Shortcut on deactivation and call the right function directly.
3755 (gst_pad_activate_pull): New API, (de)activates a pad in pull
3757 (gst_pad_activate_push): New API, same for push mode.
3758 (gst_pad_set_activate_function)
3759 (gst_pad_set_activatepull_function)
3760 (gst_pad_set_activatepush_function): Setters for new API.
3762 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
3763 Trace all miniobjects.
3764 (gst_mini_object_make_writable): Unref the arg if we copy, like
3765 gst_caps_make_writable.
3767 * gst/gstmessage.c (_gst_message_initialize): No trace init.
3769 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
3770 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
3771 Adapt for new pad API.
3773 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
3776 * gst/gstelement.c (gst_element_iterate_src_pads)
3777 (gst_element_iterate_sink_pads): New API functions.
3779 * gst/gstelement.c (iterator_fold_with_resync): New utility,
3780 should fold into gstiterator.c in some form.
3781 (gst_element_pads_activate): Simplified via use of fold and
3782 delegation of decisions to gstpad->activate.
3784 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
3787 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
3788 class once in init, like gstmessage. Didn't run into this issue
3789 but it seems correct. Don't initialize a trace, gstminiobject does
3792 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
3793 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
3795 (assert_live_count): New util function, uses alloc traces to check
3798 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
3799 To be modified when unlink drops the internal pad.
3801 2005-06-27 Wim Taymans <wim@fluendo.com>
3803 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
3804 (gst_bin_change_state):
3805 Cleanup the get_state() function a little, make sure it
3806 iterates the same set of elements.
3807 Added stub iterate_state_order().
3809 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
3811 * docs/gst/gstreamer-docs.sgml:
3812 * docs/gst/gstreamer-sections.txt:
3813 * docs/gst/gstreamer.types:
3814 * docs/gst/tmpl/gstbasesink.sgml:
3815 * docs/gst/tmpl/gstbasesrc.sgml:
3816 * docs/gst/tmpl/gstbasetransform.sgml:
3817 * docs/gst/tmpl/gstelement.sgml:
3818 * docs/gst/tmpl/gstiterator.sgml:
3819 * gst/base/gstbasesrc.c:
3820 * gst/base/gstbasesrc.h:
3821 * gst/base/gstbasetransform.h:
3823 * gst/gstiterator.h:
3824 adding basetransform and iterator docs
3826 2005-06-27 Andy Wingo <wingo@pobox.com>
3828 * docs/design/part-activation.txt: Notes on how activation should
3829 work -- not quite implemented yet.
3831 2005-06-25 Wim Taymans <wim@fluendo.com>
3833 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
3834 At least get the chain function correct, needs more
3837 2005-06-25 Wim Taymans <wim@fluendo.com>
3839 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
3840 (gst_basesink_handle_object), (gst_basesink_event),
3841 (gst_basesink_do_sync), (gst_basesink_handle_event),
3842 (gst_basesink_change_state):
3844 Right, two problems here: ghostpads don't take locks and
3845 glib _rec_mutex_lock_full() with depth==0 still locks.
3846 Catch illegal locking and g_warn them.
3848 2005-06-25 Wim Taymans <wim@fluendo.com>
3850 * check/states/sinks.c: (START_TEST), (gst_object_suite):
3851 Have to check for completion now...
3853 2005-06-25 Wim Taymans <wim@fluendo.com>
3855 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
3856 (gst_basesink_handle_object), (gst_basesink_event),
3857 (gst_basesink_do_sync), (gst_basesink_handle_event),
3858 (gst_basesink_change_state):
3860 Unlock STREAM_LOCK whatever the recursion was.
3862 2005-06-25 Wim Taymans <wim@fluendo.com>
3864 * gst/base/gstbasesink.c: (gst_basesink_set_property),
3865 (gst_basesink_preroll_queue_empty),
3866 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
3867 (gst_basesink_event), (gst_basesink_do_sync),
3868 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
3869 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
3870 (gst_basesink_change_state):
3871 Reworked the base sink, handle event and buffer serialisation
3872 correctly and removed possible deadlock.
3873 Handle EOS correctly.
3875 2005-06-25 Wim Taymans <wim@fluendo.com>
3877 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
3878 (gst_pipeline_change_state):
3879 * tools/gst-launch.c: (check_intr), (event_loop), (main):
3880 Allow elements to post EOS in the state change function.
3881 Fix up -launch, make it exit the poll loop when the
3882 pipeline actually changed state.
3883 Fix up warning parsing in -launch.
3885 2005-06-25 Wim Taymans <wim@fluendo.com>
3887 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
3888 (gst_tee_sink_activate):
3889 Core takes STREAM_LOCK for us now.
3891 2005-06-25 Wim Taymans <wim@fluendo.com>
3893 * gst/gstelement.c: (gst_element_get_state_func),
3894 (gst_element_set_state):
3896 * gst/gstmessage.c: (gst_message_parse_error),
3897 (gst_message_parse_warning):
3898 Keep track of current target state while performing a state
3899 change so that subclasses can do something interesting.
3900 Fix parsing of warning/error messages when GError is NULL.
3902 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
3904 * docs/gst/Makefile.am:
3905 * docs/gst/gstreamer-docs.sgml:
3906 * docs/gst/gstreamer-sections.txt:
3907 * docs/gst/gstreamer.types:
3908 * docs/gst/tmpl/gstbasesink.sgml:
3909 * docs/gst/tmpl/gstbasesrc.sgml:
3910 * docs/gst/tmpl/gstbin.sgml:
3911 * docs/gst/tmpl/gstcompat.sgml:
3912 * docs/gst/tmpl/gstfakesink.sgml:
3913 * docs/gst/tmpl/gstfakesrc.sgml:
3914 * docs/gst/tmpl/gstfilesink.sgml:
3915 * docs/gst/tmpl/gstfilesrc.sgml:
3916 * docs/gst/tmpl/gstindex.sgml:
3917 * docs/manual/appendix-quotes.xml:
3918 * gst/base/gstbasesrc.h:
3919 * gst/elements/gstfakesrc.h:
3921 start pulling in base classes and elements in our docs
3923 2005-06-24 Stefan Kost <ensonic@users.sf.net>
3925 * docs/gst/Makefile.am:
3926 * docs/libs/Makefile.am:
3927 fixed make distcheck with gtk-doc 1.3
3929 2005-06-23 Wim Taymans <wim@fluendo.com>
3931 * gst/gstelement.c: (gst_element_get_state_func),
3932 (gst_element_set_state), (gst_element_change_state):
3933 When the state did not change, also report NO_PREROLL
3936 2005-06-23 Wim Taymans <wim@fluendo.com>
3938 * gst/gstpad.c: (gst_pad_event_default):
3939 * gst/gstqueue.c: (gst_queue_loop):
3940 No unsafe task pausing please.
3942 2005-06-23 Wim Taymans <wim@fluendo.com>
3944 * gst/schedulers/threadscheduler.c:
3945 (gst_thread_scheduler_task_start),
3946 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
3947 Ref the task before pushing it on the threadpool. This
3948 makes sure that we have a ref when the threadfunction is
3951 2005-06-23 Andy Wingo <wingo@pobox.com>
3953 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
3954 offset is greater than the file's size.
3956 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
3957 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
3958 * gst/gstobject.c (gst_object_class_init): Make the class lock
3959 recursive. Wim won't let me drop deep_notify. Decodebin works
3962 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
3963 internal pad, and hacks accordingly. Doesn't do it on the target
3964 pad because we change its caps. Probably catches all cases of
3966 (gst_ghost_pad_set_property): Connect to notify::caps as
3969 * tests/network-clock.scm (plot-simulation): Pipe data to the
3970 elite python skript.
3972 * tests/network-clock-utils.scm (define-parameter): New macro,
3973 defines a parameter that can be set via the command line.
3974 (set-parameter!, parse-parameter-arguments): Command line args
3977 * tests/plot-data: Simple matplotlib-based plotter, takes input on
3980 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
3982 * gst/elements/gsttypefindelement.c:
3983 (gst_type_find_element_handle_event):
3984 Don't restart typefinding on a discont.
3985 * gst/gstelement.c: (gst_element_set_state):
3987 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
3988 Allow changing mode of an active pad.
3990 * gst/registries/gstlibxmlregistry.c: (load_feature):
3991 Don't cast a static pad template to a normal pad template.
3993 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
3995 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
3996 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3997 remove gst_strtoll completely, since it didn't actually do
3998 anything more than what g_ascii_strtoull already does.
3999 check for range errors when deserializing
4000 do a cast for the unsigned cases; but further fixing needs
4001 a decision on what the interpretation of "(int)" and
4002 deserialization should be for values that fall outside the
4003 type's boundaries (ie, refuse, or interpret as casting)
4005 2005-06-23 Wim Taymans <wim@fluendo.com>
4007 * check/Makefile.am:
4008 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
4009 * docs/design/part-live-source.txt:
4010 * docs/design/part-states.txt:
4011 * gst/base/gstbasesrc.c: (gst_basesrc_init),
4012 (gst_basesrc_set_live), (gst_basesrc_is_live),
4013 (gst_basesrc_get_range), (gst_basesrc_activate),
4014 (gst_basesrc_change_state):
4015 * gst/base/gstbasesrc.h:
4016 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4017 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
4018 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
4019 * gst/gstelement.c: (gst_element_get_state_func),
4020 (gst_element_set_state):
4023 * tools/gst-launch.c: (event_loop), (main):
4024 Added support for live sources and other elements that
4026 Updated design docs, added live-source design doc.
4027 Implemented live source functionality in basesrc
4028 Fix error condition in _bin_get_state()
4029 Implement live source handling in -launch.
4030 Added check for live sources.
4031 Fixed case in GstBin where elements were changed state
4035 2005-06-23 Andy Wingo <wingo@pobox.com>
4037 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
4040 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
4041 gst_caps_replace takes care of this for us.
4043 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
4044 gst_pad_set_caps on the target, not just its setcaps() function.
4046 * tests/network-clock.scm:
4047 * tests/network-clock-utils.scm: A network clock simulator.
4048 Something of an algorithmic testbed before doing something in C.
4050 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
4052 * check/Makefile.am:
4053 * check/gst/capslist.h:
4054 copy over from 0.8, and add two with bitmasks specified with
4056 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
4057 add test to parse everything from capslist.h
4058 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
4060 add test for structure deserialization
4061 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
4062 add tests for deserialization of strings to int types
4063 * gst/gststructure.c: (gst_structure_nth_field_name):
4064 * gst/gststructure.h:
4065 add a way to get the name of a field referenced by index
4066 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4067 instead of checking if the resulting long long lies between
4068 min and max, we check if the long long would fit into
4069 a number of bytes for the final type.
4070 This fixes cases where a string represents 2^32 - 1, which
4071 when cast to int would be the (valid) -1, but is bigger than
4074 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
4076 * gst/parse/grammar.y:
4077 add a log line for type deserialization
4079 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
4081 * check/gst/gstvalue.c: (START_TEST):
4082 * gst/gstvalue.c: (gst_value_deserialize):
4083 return long long, not int, so gint64 deserialization actually
4084 works. Is there any flag that makes the compiler check this ?
4087 2005-06-22 Wim Taymans <wim@fluendo.com>
4090 Added convenience macros for setting buffers in GValue.
4092 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
4094 * check/gst/.cvsignore:
4095 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
4096 add a test deserializing int64, and comment part out because
4099 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
4101 * check/Makefile.am:
4102 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
4103 * testsuite/Makefile.am:
4104 * testsuite/caps/Makefile.am:
4105 * testsuite/caps/value_serialize.c:
4106 * testsuite/test_gst_init.c:
4107 move a value_serialize test over
4109 2005-06-20 Wim Taymans <wim@fluendo.com>
4114 * gst/gstvalue.c: (gst_value_compare_buffer),
4115 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
4116 (gst_value_compare_flags), (gst_value_serialize_flags),
4117 (gst_value_deserialize_flags), (_gst_value_initialize):
4118 Fix serialisation of buffers, they are not boxed types anymore
4120 2005-06-20 Wim Taymans <wim@fluendo.com>
4122 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
4123 Testcase to show error in buffer-on-caps serialisation.
4125 2005-06-20 Andy Wingo <wingo@pobox.com>
4127 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
4128 will be adding to later.
4130 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
4131 if its socks fill with rocks.
4132 (gst_system_clock_obtain): Set the name on object construction.
4133 Avoid double-checked locking.
4135 2005-06-20 Tim-Philipp M??ller <tim at centricular dot net>
4137 * gst/gsturi.c: (gst_element_make_from_uri):
4138 Fix potential endless loop.
4140 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
4142 * check/Makefile.am:
4144 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
4146 move over from testsuite dir and clean up
4149 * testsuite/Makefile.am:
4150 * testsuite/tags/.cvsignore:
4151 * testsuite/tags/Makefile.am:
4152 * testsuite/tags/merge.c:
4153 remove testsuite/tags
4155 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
4157 * docs/gst/gstreamer-sections.txt:
4158 * docs/gst/tmpl/gstenumtypes.sgml:
4159 * win32/gstenumtypes.c:
4160 clean up documentation build a little
4162 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
4165 add macros for checking refcounts on objects and caps
4166 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
4167 add some more unit tests
4168 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
4169 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
4170 fix leaked refcounts (I hope :)) so unittest works
4174 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
4176 * configure.ac: back to HEAD
4178 === release 0.9.1 ===
4180 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
4186 2005-06-17 Andy Wingo <wingo@pobox.com>
4188 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
4189 assert; it's always possible that the pad gets deactivated in
4190 between the checks in gstpad.c and the implementation. Rely on
4191 finish_preroll() to return a FLUSHING or similar instead of on the
4194 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
4195 clock and post an EOS message if we come out of finish_preroll in
4198 2005-06-16 David Schleef <ds@schleef.org>
4200 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4201 (gst_capsfilter_set_property): Allow NULL as possible value
4202 for filter_caps property, indicating GST_CAPS_ANY.
4204 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
4206 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
4208 * gst/schedulers/Makefile.am:
4210 * gstreamer.spec.in:
4213 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
4215 * gstreamer.spec.in:
4218 2005-06-08 Andy Wingo <wingo@pobox.com>
4220 * gst/gstutils.c: RPAD fixes all around.
4221 (gst_element_link_pads): Refcounting fixes.
4223 * tools/gst-inspect.c:
4224 * tools/gst-xmlinspect.c:
4226 * gst/base/gsttypefindhelper.c:
4227 * gst/base/gstbasesink.c:
4228 * gst/gstqueue.c: RPAD fixes.
4230 * gst/gstghostpad.h:
4231 * gst/gstghostpad.c: New ghost pad implementation as full proxy
4232 pads. The tricky thing is they provide both source and sink
4233 interfaces, since they proxy the internal pad for the external
4234 pad, and vice versa. Implement with lower-level ProxyPad objects,
4235 with the interior proxy pad as a child of the exterior ghost pad.
4236 Should write a doc on this.
4238 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
4239 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
4242 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
4243 pads are real pads. No ghost pads in this file. Not documenting
4244 the myriad s/RPAD/PAD/ and REALIZE fixes.
4245 (gst_pad_class_init): Add properties for "direction" and
4246 "template". Both are construct-only, so they can't change during
4247 the life of the pad. Fixes properly deriving from GstPad.
4248 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
4249 derived objects, just set properties when creating the objects via
4251 (gst_pad_get_parent): Implement as a function, return NULL if the
4252 parent is not an element.
4253 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
4254 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
4256 * gst/gstobject.c (gst_object_class_init): Make name a construct
4257 property. Don't set it in the object init.
4259 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
4260 with UNKNOWN direction.
4261 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
4262 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
4263 (gst_element_remove_pad): Remove ghost-pad special cases.
4264 (gst_element_pads_activate): Remove rpad cruft.
4266 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
4267 catch the pad's-parent-not-an-element case.
4269 * gst/gst.h: Include gstghostpad.h.
4271 * gst/gst.c (init_post): No more real, ghost pads.
4273 * gst/Makefile.am: Add gstghostpad.[ch].
4275 * check/Makefile.am:
4276 * check/gst/gstbin.c:
4277 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
4278 into a bin creates ghost pads, and that the refcounts are right.
4279 Partly moved from gstbin.c.
4281 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
4283 * check/gst-libs/.cvsignore:
4284 * check/gst/.cvsignore:
4285 * check/pipelines/.cvsignore:
4287 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
4288 (START_TEST), (cleanup_suite), (main):
4289 add some tests related to cleanup after running pipelines
4291 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
4293 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
4294 add a testsuite for GstBuffer
4296 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
4298 * gst/gstminiobject.h:
4299 add defines for accessing the refcount
4301 2005-06-03 Stefan Kost <ensonic@users.sf.net>
4303 * Makefile.am: added support for html unit test coverage reports
4305 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
4307 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
4308 Free existing caps if the capsfilter changes. Add a FIXME about
4309 setting those caps on the pads.
4311 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
4312 Before adding a ghost pad to a parent bin, check that there isn't
4313 already one for the element on the bin. Prevents infinite recursion
4314 when using decodebin in parse pipelines. Andy says he'll rewrite the
4315 way this works anyway, so ignore the hack.
4317 2005-06-02 Andy Wingo <wingo@pobox.com>
4319 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
4320 file size, pass it on to the type find helper.
4322 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
4323 segment_start and segment_end properly according to the seek
4324 method. Segment_end is still a bit flaky because offset can be
4325 negative for CUR and END cases, but it takes -1 as an "unset"
4328 2005-06-02 Wim Taymans <wim@fluendo.com>
4330 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
4331 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
4332 (gst_basesink_activate):
4333 * gst/base/gstbasesink.h:
4334 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
4335 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
4336 (gst_pad_query), (gst_pad_start_task):
4338 * gst/gstqueue.c: (gst_queue_bufferalloc),
4339 (gst_queue_handle_sink_event), (gst_queue_chain):
4340 Bufferalloc: return GstFlowReturn to more accuratly report
4341 why allocation failed.
4343 2005-06-02 Wim Taymans <wim@fluendo.com>
4345 * gst/gstpipeline.c: (gst_pipeline_send_event):
4346 Take snapshot of state without blocking.
4348 2005-06-02 Wim Taymans <wim@fluendo.com>
4350 * docs/design/part-TODO.txt:
4351 * docs/design/part-caps.txt:
4352 * docs/design/part-clocks.txt:
4353 * docs/design/part-negotiation.txt:
4354 * docs/design/part-preroll.txt:
4357 2005-05-30 Wim Taymans <wim@fluendo.com>
4359 * gst/elements/gstidentity.c: (gst_identity_event),
4360 (gst_identity_transform), (gst_identity_get_property):
4361 Protect last_message property as it is accessed from
4364 2005-05-30 Wim Taymans <wim@fluendo.com>
4366 * gst/gstelement.c: (gst_element_init),
4367 (gst_element_pads_activate), (gst_element_change_state):
4368 Slicker pad activation code.
4370 2005-05-30 Wim Taymans <wim@fluendo.com>
4374 * gst/gstelementfactory.h:
4376 Move elementfactory methods to separate .h file.
4378 2005-05-30 Wim Taymans <wim@fluendo.com>
4380 * docs/design/part-overview.txt:
4381 * gst/gstsystemclock.h:
4382 Small typo fixes, doc updates.
4384 2005-05-30 Wim Taymans <wim@fluendo.com>
4386 * gst/gst.c: (gst_init_get_popt_table), (init_post),
4387 (init_popt_callback):
4388 Remove cpu-opt flag.
4390 2005-05-30 Wim Taymans <wim@fluendo.com>
4392 * gst/gstbuffer.c: (gst_subbuffer_finalize),
4393 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
4395 Avoid typechecking in places where not needed.
4396 Added accessor for malloc_data.
4398 2005-05-30 Wim Taymans <wim@fluendo.com>
4400 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
4401 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
4402 (gst_pad_configure_sink), (gst_pad_configure_src),
4403 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
4404 (gst_pad_start_task):
4405 Propagate errors from _set_caps() in configure_src/sink
4406 functions instead of returning TRUE.
4407 FLUSH events can travel up and downstream
4410 2005-05-30 Wim Taymans <wim@fluendo.com>
4412 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
4413 (gst_basesink_activate):
4414 Handle EOS in preroll.
4416 2005-05-30 Wim Taymans <wim@fluendo.com>
4418 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
4419 (gst_queue_loop), (gst_queue_handle_src_event):
4420 Remove old pieces of code
4421 Flushing the queue in an upstream event is a very bad idea.
4423 2005-05-26 Andy Wingo <wingo@pobox.com>
4425 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
4426 gst_value_set_mini_object so as to add a ref on the object (which
4427 will be removed when the value is unset).
4429 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
4430 arg type in ::handoff.
4432 * gst/gstelement.c (gst_element_change_state): Also deactivate
4433 pads in READY->NULL, just in case the element didn't make it to
4434 PAUSED. Wingo tested, Wim approved.
4436 2005-05-26 Wim Taymans <wim@fluendo.com>
4438 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
4439 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
4440 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
4441 A flushing pad cannot be used to alloc_buffer from.
4443 2005-05-26 Wim Taymans <wim@fluendo.com>
4445 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4446 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
4447 (gst_bus_source_dispatch), (gst_bus_source_finalize),
4448 (gst_bus_create_watch), (gst_bus_add_watch_full):
4450 Implement a real GSource and use g_main_context_wakeup() to
4451 signal new messages instead of the socketpair.
4453 2005-05-25 Wim Taymans <wim@fluendo.com>
4455 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
4456 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
4457 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
4458 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
4459 (gst_pad_send_event), (gst_pad_start_task):
4460 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
4461 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
4462 (gst_queue_sink_activate), (gst_queue_src_activate),
4463 (gst_queue_change_state):
4465 Fix state changes for non sinks. We now change sinks, then elements
4466 with unconnected srcpads, then the rest.
4467 More efficient queue unlocking in flush and state changes.
4468 Set the pad activate mode even if it does not have an activate
4471 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4473 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
4474 Don't go in pull mode for non-seekable sources.
4475 * gst/elements/gsttypefindelement.h:
4476 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
4477 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
4478 (free_entry), (stop_typefinding),
4479 (gst_type_find_element_handle_event), (find_peek),
4480 (gst_type_find_element_chain), (do_pull_typefind),
4481 (gst_type_find_element_change_state):
4482 Allow typefinding (w/o seeking) in push-mode, simplified version
4484 * gst/gstutils.c: (gst_buffer_join):
4486 gst_buffer_join() from 0.8.
4488 2005-05-25 Wim Taymans <wim@fluendo.com>
4490 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
4491 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
4492 (gst_pad_send_event), (gst_pad_start_task):
4493 Disable attempt at mode switching until it is figured out.
4495 2005-05-25 Wim Taymans <wim@fluendo.com>
4497 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
4498 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
4499 (gst_basesink_finish_preroll), (gst_basesink_chain),
4500 (gst_basesink_loop), (gst_basesink_activate),
4501 (gst_basesink_change_state):
4502 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
4503 (gst_basesrc_get_range), (gst_basesrc_loop),
4504 (gst_basesrc_activate):
4505 * gst/elements/gsttee.c: (gst_tee_sink_activate):
4506 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
4507 (gst_real_pad_init), (gst_real_pad_set_property),
4508 (gst_real_pad_get_property), (gst_pad_set_active),
4509 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
4510 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
4511 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
4512 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
4513 (gst_pad_event_default_dispatch), (gst_pad_event_default),
4514 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
4515 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
4516 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
4517 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
4518 (gst_pad_stop_task):
4520 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
4521 (gst_queue_loop), (gst_queue_src_activate):
4522 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
4523 (gst_task_get_state):
4525 * gst/schedulers/threadscheduler.c:
4526 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
4527 Implement gst_pad_pause/start/stop_task(), take STREAM lock
4529 Remove ACTIVE pad flag, use FLUSHING everywhere
4530 Added _pad_chain(), _pad_get_range() to call chain/getrange
4532 Add locks around IS_FLUSHING when reading.
4533 Take STREAM lock in chain(), get_range() functions so plugins
4534 don't need to take it anymore.
4538 2005-05-25 Wim Taymans <wim@fluendo.com>
4540 * tools/gst-launch.c: (event_loop):
4541 Unref message after using its contents instead of
4544 2005-05-24 Wim Taymans <wim@fluendo.com>
4546 * docs/design/draft-ghostpads.txt:
4547 * docs/design/draft-push-pull.txt:
4548 * docs/design/draft-query.txt:
4549 * docs/design/part-overview.txt:
4550 Docs updates, added general overview doc.
4552 2005-05-21 David Schleef <ds@schleef.org>
4554 * docs/gst/tmpl/old/GstBin.sgml:
4555 * docs/gst/tmpl/old/GstBuffer.sgml:
4556 * docs/gst/tmpl/old/GstCaps.sgml:
4557 * docs/gst/tmpl/old/GstClock.sgml:
4558 * docs/gst/tmpl/old/GstCompat.sgml:
4559 * docs/gst/tmpl/old/GstData.sgml:
4560 * docs/gst/tmpl/old/GstElement.sgml:
4561 * docs/gst/tmpl/old/GstEvent.sgml:
4562 * docs/gst/tmpl/old/GstIndex.sgml:
4563 * docs/gst/tmpl/old/GstStructure.sgml:
4564 * docs/gst/tmpl/old/GstTag.sgml:
4565 * docs/gst/tmpl/old/cothreads.sgml:
4566 * docs/gst/tmpl/old/cothreads_compat.sgml:
4567 * docs/gst/tmpl/old/gettext.sgml:
4568 * docs/gst/tmpl/old/gobject2gtk.sgml:
4569 * docs/gst/tmpl/old/grammar.tab.sgml:
4570 * docs/gst/tmpl/old/gst-i18n-app.sgml:
4571 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
4572 * docs/gst/tmpl/old/gst_private.sgml:
4573 * docs/gst/tmpl/old/gstaggregator.sgml:
4574 * docs/gst/tmpl/old/gstarch.sgml:
4575 * docs/gst/tmpl/old/gstatomic_impl.sgml:
4576 * docs/gst/tmpl/old/gstbufferstore.sgml:
4577 * docs/gst/tmpl/old/gstdata_private.sgml:
4578 * docs/gst/tmpl/old/gstdisksink.sgml:
4579 * docs/gst/tmpl/old/gstdisksrc.sgml:
4580 * docs/gst/tmpl/old/gstelementfactory.sgml:
4581 * docs/gst/tmpl/old/gstextratypes.sgml:
4582 * docs/gst/tmpl/old/gstfakesink.sgml:
4583 * docs/gst/tmpl/old/gstfakesrc.sgml:
4584 * docs/gst/tmpl/old/gstfdsink.sgml:
4585 * docs/gst/tmpl/old/gstfdsrc.sgml:
4586 * docs/gst/tmpl/old/gstfilesink.sgml:
4587 * docs/gst/tmpl/old/gstfilesrc.sgml:
4588 * docs/gst/tmpl/old/gsthttpsrc.sgml:
4589 * docs/gst/tmpl/old/gstidentity.sgml:
4590 * docs/gst/tmpl/old/gstindexfactory.sgml:
4591 * docs/gst/tmpl/old/gstmarshal.sgml:
4592 * docs/gst/tmpl/old/gstmd5sink.sgml:
4593 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
4594 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
4595 * docs/gst/tmpl/old/gstpadtemplate.sgml:
4596 * docs/gst/tmpl/old/gstpipefilter.sgml:
4597 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
4598 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
4599 * docs/gst/tmpl/old/gstshaper.sgml:
4600 * docs/gst/tmpl/old/gstspider.sgml:
4601 * docs/gst/tmpl/old/gstspideridentity.sgml:
4602 * docs/gst/tmpl/old/gststatistics.sgml:
4603 * docs/gst/tmpl/old/gsttee.sgml:
4604 * docs/gst/tmpl/old/gsttimecache.sgml:
4605 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
4606 * docs/gst/tmpl/old/gstxmlregistry.sgml:
4607 * docs/gst/tmpl/old/gthread-cothreads.sgml:
4608 * docs/gst/tmpl/old/types.sgml:
4609 I didn't intend to add these or check them in.
4611 2005-05-19 David Schleef <ds@schleef.org>
4613 * configure.ac: Use -no-common everywhere. In a sane world, it
4614 would be the default in libtool, because without it, you can't
4615 build DLLs on Windows.
4616 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
4617 * docs/gst/gstreamer-sections.txt:
4618 * docs/gst/tmpl/gstcpu.sgml:
4619 * docs/gst/tmpl/gstdata.sgml:
4620 * docs/gst/tmpl/gstthread.sgml:
4622 2005-05-19 David Schleef <ds@schleef.org>
4624 * gst/gstminiobject.c: (gst_value_set_mini_object),
4625 (gst_value_take_mini_object), (gst_value_get_mini_object):
4626 * gst/gstminiobject.h: Add GValue set/get functions.
4628 2005-05-19 Wim Taymans <wim@fluendo.com>
4630 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
4631 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
4632 (gst_subbuffer_init), (gst_buffer_is_span_fast):
4634 * gst/gstbus.c: (gst_bus_post):
4635 * gst/gstelement.c: (gst_element_get_random_pad):
4636 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
4637 Make subbufer unref the parent in finalize.
4638 some more debugging info.
4641 2005-05-19 Wim Taymans <wim@fluendo.com>
4643 * gst/base/gstbasesink.c: (gst_basesink_class_init),
4644 (gst_basesink_init), (gst_basesink_finalize),
4645 (gst_basesink_activate), (gst_basesink_change_state):
4646 Don't free preroll queue too early.
4648 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4652 Hi, I'm outdated. Please shoot me.
4654 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4656 * gst/gstpipeline.c: (gst_pipeline_send_event):
4657 Do not access variables after they have been deleted.
4659 2005-05-19 Wim Taymans <wim@fluendo.com>
4661 * tools/gst-inspect.c: (print_plugin_features):
4662 A plugin feature does unfortunatly not use the
4665 2005-05-18 Wim Taymans <wim@fluendo.com>
4667 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
4668 Port _span() functions to new subbuffers.
4670 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4672 * gst/gstbin.c: (gst_bin_add_func):
4673 Fix clock settery in bins when adding kids after the clock has
4676 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4678 * gst/elements/gstidentity.c: (gst_identity_class_init):
4679 Workaround until signals support GstMiniObject.
4681 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
4684 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
4686 2005-05-18 Wim Taymans <wim@fluendo.com>
4688 * gst/base/Makefile.am:
4689 * gst/base/gstadapter.c: (gst_adapter_base_init),
4690 (gst_adapter_class_init), (gst_adapter_init),
4691 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
4692 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
4693 (gst_adapter_flush), (gst_adapter_available),
4694 (gst_adapter_available_fast):
4695 * gst/base/gstadapter.h:
4696 Ported and added adapter to the base classes.
4698 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4702 Make sure the class is reffed/unreffed once before threads can be
4703 used. Fixes #304551.
4705 2005-05-17 Wim Taymans <wim@fluendo.com>
4707 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
4708 (gst_basesink_chain_unlocked), (gst_basesink_activate):
4709 * gst/gstminiobject.c: (gst_mini_object_get_type),
4710 (gst_mini_object_free):
4711 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
4712 (gst_pad_push), (gst_pad_push_event):
4713 * gst/gstqueue.c: (gst_queue_change_state):
4714 Don't queue buffers in basesink when we are flushing.
4715 Unref buffer when flushing in basesink.
4716 Flush queue when going to READY
4717 Unref buffer when _push() returns an error.
4718 Don't free MiniObject instance when refcount is incremented
4719 in _finalize() so that we can recover objects.
4721 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
4723 * docs/manual/advanced-schedulers.xml:
4724 * docs/manual/appendix-checklist.xml:
4725 * docs/pwg/advanced-clock.xml:
4726 * docs/pwg/advanced-interfaces.xml:
4727 * docs/pwg/advanced-request.xml:
4728 * docs/pwg/advanced-types.xml:
4729 * docs/pwg/intro-preface.xml:
4730 * examples/plugins/example.c: (gst_example_get_type),
4731 (gst_example_class_init), (gst_example_chain),
4732 (gst_example_set_property), (gst_example_get_property),
4733 (gst_example_change_state), (plugin_init):
4734 * examples/plugins/example.h:
4737 2005-05-17 Wim Taymans <wim@fluendo.com>
4739 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
4740 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
4741 * gst/gstqueue.c: (gst_queue_change_state):
4742 Clear queue when going to READY.
4743 Remove IN_SETCAPS flag too.
4745 2005-05-17 Tim-Philipp M??ller <tim at centricular dot net>
4747 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
4748 Remove implicit cast from gboolean to GstElementStateReturn;
4749 make sure we still return failure in paused => ready case if
4750 the parent class fails to change state and our own stop
4753 2005-05-17 Wim Taymans <wim@fluendo.com>
4755 * tools/gst-launch.c: (event_loop):
4756 Message was unreffed too soon.
4758 2005-05-16 Andy Wingo <wingo@pobox.com>
4760 * gst/gstbin.c (sink_iterator_filter): Err... um...
4762 * check/gst/gstbin.c (test_ghost_pads): New test for the
4763 ghosting-if-elements-not-in-same-bin behavior.
4765 2005-05-16 David Schleef <ds@schleef.org>
4767 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
4768 accessing refcount directly.
4770 2005-05-15 David Schleef <ds@schleef.org>
4772 * check/Makefile.am: remove GstData checks
4773 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
4774 * gst/Makefile.am: add miniobject, remove data
4775 * gst/gst.h: add miniobject, remove data
4776 * gst/gstdata.c: remove
4777 * gst/gstdata.h: remove
4778 * gst/gstdata_private.h: remove
4779 * gst/gsttypes.h: remove GstEvent and GstMessage
4780 * gst/gstelement.c: (gst_element_post_message): fix for API changes
4781 * gst/gstmarshal.list: change BOXED -> OBJECT
4783 Implement GstMiniObject.
4784 * gst/gstminiobject.c:
4785 * gst/gstminiobject.h:
4787 Modify to be subclasses of GstMiniObject.
4788 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
4789 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
4790 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
4791 (gst_subbuffer_get_type), (gst_subbuffer_init),
4792 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
4795 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
4796 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
4797 (_gst_event_copy), (gst_event_new):
4799 * gst/gstmessage.c: (_gst_message_initialize),
4800 (gst_message_get_type), (gst_message_class_init),
4801 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
4802 (gst_message_new), (gst_message_new_error),
4803 (gst_message_new_warning), (gst_message_new_tag),
4804 (gst_message_new_state_changed), (gst_message_new_application):
4806 * gst/gstprobe.c: (gst_probe_perform),
4807 (gst_probe_dispatcher_dispatch):
4809 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
4810 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
4811 (_gst_query_copy), (gst_query_new):
4813 Update elements for GstData -> GstMiniObject changes
4815 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
4816 (gst_queue_chain), (gst_queue_loop):
4817 * gst/elements/gstbufferstore.c:
4818 (gst_buffer_store_add_buffer_func),
4819 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
4820 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
4821 (gst_fakesink_render):
4822 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
4823 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
4824 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
4825 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
4826 (gst_filesrc_create_read):
4827 * gst/elements/gstidentity.c: (gst_identity_class_init):
4828 * gst/elements/gsttypefindelement.c:
4829 (gst_type_find_element_src_event), (free_entry_buffers),
4830 (gst_type_find_element_handle_event):
4831 * libs/gst/dataprotocol/dataprotocol.c:
4832 (gst_dp_header_from_buffer):
4833 * libs/gst/dataprotocol/dataprotocol.h:
4834 * libs/gst/dataprotocol/dp-private.h:
4836 2005-05-15 David Schleef <ds@schleef.org>
4838 * gst/elements/gstelements.c: Don't include headers that were
4841 2005-05-15 David Schleef <ds@schleef.org>
4843 * gst/elements/Makefile.am: Remove some elements that don't
4844 need to be in the core (or even exist at all).
4845 * gst/elements/gstaggregator.c:
4846 * gst/elements/gstaggregator.h:
4847 * gst/elements/gstmd5sink.c:
4848 * gst/elements/gstmd5sink.h:
4849 * gst/elements/gstmultifilesrc.c:
4850 * gst/elements/gstmultifilesrc.h:
4851 * gst/elements/gstpipefilter.c:
4852 * gst/elements/gstpipefilter.h:
4853 * gst/elements/gstshaper.c:
4854 * gst/elements/gstshaper.h:
4855 * gst/elements/gststatistics.c:
4856 * gst/elements/gststatistics.h:
4857 * po/POTFILES.in: Remove above files.
4859 2005-05-14 Andy Wingo <wingo@pobox.com>
4861 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
4862 so as to get the refs right.
4863 (sink_iterator_filter): New function, wraps bin_element_is_sink,
4864 unreffing objects that don't pass the filter.
4866 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
4867 gst_element_set_bus.
4868 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
4869 normal cases, this will destroy the bus.
4871 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
4874 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
4877 2005-05-13 Andy Wingo <wingo@pobox.com>
4879 * gst/gstutils.c (gst_element_link_pads): Instead of calling
4880 gst_pad_link, call pad_link_maybe_ghosting,
4881 (pad_link_maybe_ghosting): Links pads, making sure that the
4882 elements being linked are in the same bin.
4883 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
4884 Helpers for pad_link_maybe_ghosting.
4886 2005-05-13 Tim-Philipp M??ller <tim at centricular dot net>
4889 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
4891 2005-05-13 Tim-Philipp M??ller <tim at centricular dot net>
4893 * docs/design/part-element-source.txt:
4896 2005-05-12 Wim Taymans <wim@fluendo.com>
4898 * gst/base/gstbasesink.c: (gst_basesink_init),
4899 (gst_basesink_activate):
4900 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
4901 (gst_basesrc_is_seekable):
4902 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4903 (bin_element_is_sink), (gst_bin_change_state):
4904 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
4906 Identify sinks by their flag to avoid overly complicated
4908 Do state changes even for elements not reachable from the
4910 BaseSink is a sink now :)
4911 Some more debugging info in the basesrc.
4914 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4916 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
4917 Implement _query on a bin, similar to _send_event.
4919 2005-05-12 Tim-Philipp M??ller <tim at centricular dot net>
4921 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
4922 Discont event offset format should be GST_FORMAT_BYTES,
4923 not GST_FORMAT_TIME.
4925 2005-05-12 Wim Taymans <wim@fluendo.com>
4927 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
4928 Same fix as Ronald's but without the signal.
4930 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4932 * gst/gstutils.c: (gst_element_query_position):
4933 No, an element is not a pad.
4935 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4937 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
4938 (gst_bin_get_state):
4939 If a child is removed from a bin while we remove the child from
4940 the bin and while we're retrieving its state, signal this to the
4941 get_state function so we abort the wait (instead of waiting for
4942 a timeout) and can immediately re-iterate over all other elements.
4944 2005-05-12 Wim Taymans <wim@fluendo.com>
4946 * gst/base/Makefile.am:
4947 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
4948 (gst_basesrc_start):
4949 * gst/base/gstbasesrc.h:
4950 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
4951 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
4952 (gst_pushsrc_init), (gst_pushsrc_create):
4953 * gst/base/gstpushsrc.h:
4954 Added is_seekable to BaseSrc
4955 Added simple PushSrc.
4957 2005-05-11 Wim Taymans <wim@fluendo.com>
4959 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
4960 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
4961 (gst_element_link_pads), (gst_element_query_position),
4962 (gst_element_query_convert), (intersect_caps_func),
4963 (gst_pad_query_position), (gst_pad_query_convert):
4964 Fix refcounting in utils function.
4965 No point in trying to activate a pad when it's added, it could
4966 be added from the state change function and then we deadlock, the
4967 element has to decide what to do.
4969 2005-05-10 Andy Wingo <wingo@pobox.com>
4971 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
4972 *all* the arguments.
4974 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
4975 stream lock if it's a FLUSH_DONE; normal flushes don't get the
4976 lock (according to the docs -- if this is wrong change the docs).
4978 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
4979 flush messages in the NULL state.
4981 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
4982 message immediately and return.
4983 (gst_bus_set_flushing): New function. If a bus is flushing, it
4984 flushes out any queued messages and immediately unrefs new
4985 messages. This is so when an element goes to NULL, all of the
4986 unhandled messages coming from it can be freed, and their
4987 references to the element dropped. In other words: message source
4988 ref considered harmful :P
4990 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
4991 we're finished with it.
4993 * gst/gstmessage.c (gst_message_new_state_changed):
4995 2005-05-10 Wim Taymans <wim@fluendo.com>
4997 * gst/gstvalue.c: (gst_value_compare_flags),
4998 (gst_value_serialize_flags), (gst_value_deserialize_flags),
4999 (_gst_value_initialize):
5000 Added flags serialize/deserialize/compare code.
5002 2005-05-09 Andy Wingo <wingo@pobox.com>
5004 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
5005 Intersect the peer's caps with our caps.
5007 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5009 * gst/base/gsttypefindhelper.c: (helper_find_peek):
5010 * gst/elements/gsttypefindelement.c: (find_peek):
5011 Handle negative offsets better. Fixes decodebin.
5013 2005-05-09 Wim Taymans <wim@fluendo.com>
5015 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
5016 (gst_base_transform_event):
5017 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
5018 Implement accept_caps.
5019 Fix silly lock/unlock mismatch in base class.
5021 2005-05-09 Wim Taymans <wim@fluendo.com>
5023 * docs/design/draft-push-pull.txt:
5024 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
5025 * gst/elements/gstfilesink.c: (gst_filesink_init),
5026 (gst_filesink_query):
5027 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
5028 (gst_type_find_handle_src_query), (find_element_get_length):
5029 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
5033 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
5034 (gst_real_pad_get_caps_unlocked),
5035 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
5036 (gst_pad_event_default_dispatch), (gst_pad_event_default),
5037 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
5038 (gst_real_pad_dispose), (gst_real_pad_finalize),
5039 (gst_pad_load_and_link), (gst_pad_save_thyself),
5040 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
5041 (gst_pad_check_pull_range), (gst_pad_pull_range),
5042 (gst_pad_template_get_type), (gst_pad_template_class_init),
5043 (gst_pad_template_init), (gst_pad_template_dispose),
5044 (name_is_valid), (gst_static_pad_template_get),
5045 (gst_pad_template_new), (gst_static_pad_template_get_caps),
5046 (gst_pad_template_get_caps), (gst_pad_set_element_private),
5047 (gst_pad_get_element_private), (gst_pad_start_task),
5048 (gst_pad_pause_task), (gst_pad_stop_task),
5049 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
5050 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
5051 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
5052 (gst_ghost_pad_new):
5054 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
5055 (gst_query_new_position), (gst_query_set_position),
5056 (gst_query_parse_position), (gst_query_new_convert),
5057 (gst_query_set_convert), (gst_query_parse_convert):
5059 * gst/gstqueryutils.c:
5060 * gst/gstqueryutils.h:
5061 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
5062 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
5063 (gst_queue_handle_src_query):
5064 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
5065 (gst_element_query_position), (gst_element_query_convert),
5066 (intersect_caps_func), (gst_pad_query_position),
5067 (gst_pad_query_convert):
5069 * tools/gst-inspect.c: (print_pad_info):
5070 * tools/gst-xmlinspect.c: (print_element_info):
5071 Remove old query functions. Ported old code.
5072 Added position/convert helper functions to gstutils.
5073 Reordered gstpad.c code, grouping relevant things.
5074 Remove gst_message_new(), always need to speficy a specific
5078 2005-05-09 Andy Wingo <wingo@pobox.com>
5080 * gst/gstiterator.h: Add some includes.
5082 * gst/gstqueryutils.h: Include more headers.
5085 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
5086 some uses of gst_pad_query.
5088 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
5089 NULL out parameters.
5090 (gst_query_new_position): New proc, allocates a new position
5093 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
5094 gstqueryutils.c to the build.
5096 * gst/gststructure.c (gst_structure_set_valist): Implement with
5097 the generic G_VALUE_COLLECT.
5099 2005-05-08 Edward Hervey <bilboed@bilboed.com>
5101 * gst/Makefile.am: (gst_headers):
5102 Added gstqueryutils.h to the list of headers to install, that was
5103 a 'nachty' move wingo :)
5105 2005-05-06 Andy Wingo <wingo@pobox.com>
5108 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
5109 GstData, init a memchunk.
5110 (standard_definitions): Add a few query types, deprecate a few.
5111 (gst_query_get_type): New proc.
5112 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
5114 (gst_query_new_application, gst_query_get_structure): New public
5117 * docs/design/draft-query.txt: Removed LINKS from the query types,
5118 because all the rest can be dispatched to other pads -- seemed
5119 ugly to have a query that couldn't be dispatched. internal_links
5120 is fine as a pad method.
5122 * gst/gstpad.h: Add query2 as a pad method, add the new functions
5123 in gstpad.c, but maintain binary compatibility for the moment.
5124 Will fix before 0.9 is out.
5126 * gst/gstqueryutils.c:
5127 * gst/gstqueryutils.h: New files, implement 3 methods for each
5128 query type: parse_query, parse_response, and set. Probably need an
5131 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
5133 * gst/elements/gstfilesink.c (gst_filesink_query2):
5134 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
5135 query_types, and formats methods.
5137 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
5138 (gst_pad_set_query2_function): New functions.
5139 (gst_real_pad_init): Set query2_default as the default query2
5140 function. Basically just dispatches to internally linked pads.
5144 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
5145 without using the atomic operations. Only one thread can possibly
5146 be accessing the data at this point. Changed so as to avoid
5147 gst_atomic operations.
5149 2005-05-06 Wim Taymans <wim@fluendo.com>
5151 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
5152 Also set caps if we use the fallback buffer alloc.
5154 2005-05-06 Tim-Philipp M??ller <tim at centricular dot net>
5156 * docs/gst/Makefile.am:
5157 * docs/gst/gstreamer-docs.sgml:
5158 * docs/gst/gstreamer-sections.txt:
5159 * docs/gst/tmpl/gstatomic.sgml:
5160 * docs/gst/tmpl/gstmemchunk.sgml:
5161 * testsuite/elements/struct_i386.h:
5162 * win32/GStreamer.vcproj:
5164 Purge GstAtomic stuff from docs and win32 makefiles as well
5166 2005-05-06 Wim Taymans <wim@fluendo.com>
5168 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
5169 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
5170 * gst/gstpad.c: (gst_pad_peer_get_caps):
5171 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
5172 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
5173 (gst_queue_src_activate), (gst_queue_change_state):
5175 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
5176 (intersect_caps_func):
5177 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
5178 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
5179 Some fixes for the peer_get_caps() change.
5181 2005-05-06 Wim Taymans <wim@fluendo.com>
5183 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5184 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
5185 (gst_basesink_activate):
5186 Actually do something with error codes returned from the push
5189 2005-05-06 Wim Taymans <wim@fluendo.com>
5191 * docs/design/part-element-sink.txt:
5192 * docs/design/part-element-source.txt:
5193 * gst/base/gstbasesink.c: (gst_basesink_class_init),
5194 (gst_basesink_event), (gst_basesink_activate):
5195 * gst/base/gstbasesink.h:
5196 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
5197 (gst_basesrc_activate):
5198 * gst/base/gstbasesrc.h:
5199 * gst/gstelement.c: (gst_element_pads_activate):
5200 Some more documentation.
5201 Fixed scheduling decision in _pads_activate().
5203 2005-05-05 Andy Wingo <wingo@pobox.com>
5205 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
5208 2005-05-05 Wim Taymans <wim@fluendo.com>
5210 * gst/base/Makefile.am:
5211 * gst/base/gstbasesink.h:
5212 * gst/base/gstbasesrc.c: (gst_basesrc_init),
5213 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
5214 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
5215 (gst_collectpads_class_init), (gst_collectpads_init),
5216 (gst_collectpads_finalize), (gst_collectpads_new),
5217 (gst_collectpads_set_function), (gst_collectpads_add_pad),
5218 (find_pad), (gst_collectpads_remove_pad),
5219 (gst_collectpads_is_active), (gst_collectpads_collect),
5220 (gst_collectpads_collect_range), (gst_collectpads_start),
5221 (gst_collectpads_stop), (gst_collectpads_peek),
5222 (gst_collectpads_pop), (gst_collectpads_available),
5223 (gst_collectpads_read), (gst_collectpads_flush),
5224 (gst_collectpads_chain):
5225 * gst/base/gstcollectpads.h:
5226 * gst/elements/Makefile.am:
5227 * gst/elements/gstelements.c:
5228 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
5229 (gst_fakesink_get_times), (gst_fakesink_event),
5230 (gst_fakesink_preroll), (gst_fakesink_render):
5231 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
5232 (gst_filesink_init), (gst_filesink_set_location),
5233 (gst_filesink_open_file), (gst_filesink_close_file),
5234 (gst_filesink_pad_query), (gst_filesink_event),
5235 (gst_filesink_render), (gst_filesink_change_state):
5236 * gst/elements/gstfilesink.h:
5237 Added object to help in making collect pad based elements.
5239 Make event function in sink baseclass return gboolean.
5241 2005-05-05 Wim Taymans <wim@fluendo.com>
5243 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
5244 (gst_bin_get_by_name):
5246 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
5247 (gst_clock_finalize):
5248 * gst/gstdata.c: (gst_data_replace):
5250 * gst/gstelement.c: (gst_element_request_pad),
5251 (gst_element_pads_activate):
5252 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
5254 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
5255 (gst_pad_set_checkgetrange_function),
5256 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
5257 (gst_pad_check_pull_range), (gst_pad_pull_range),
5258 (gst_static_pad_template_get_caps), (gst_pad_start_task),
5259 (gst_pad_pause_task), (gst_pad_stop_task):
5260 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
5261 (gst_element_request_pad), (gst_pad_proxy_getcaps):
5262 Fix name lookup in GstBin.
5263 Added _data_replace() function and _buffer_replace()
5264 Use finalize method to clean up clock.
5265 Fix refcounting on request pads.
5266 Fix pad schedule mode error.
5267 Some more object refcounting debug info,
5270 2005-05-04 Andy Wingo <wingo@pobox.com>
5272 * check/Makefile.am:
5273 * docs/gst/tmpl/gstatomic.sgml:
5274 * docs/gst/tmpl/gstplugin.sgml:
5275 * gst/base/gstbasesink.c: (gst_basesink_activate):
5276 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
5277 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
5278 (gst_basesrc_query), (gst_basesrc_set_property),
5279 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
5280 (gst_basesrc_activate):
5281 * gst/base/gstbasesrc.h:
5282 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
5283 (gst_base_transform_src_activate):
5284 * gst/elements/gstelements.c:
5285 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5286 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
5287 * gst/elements/gsttee.c: (gst_tee_sink_activate):
5288 * gst/elements/gsttypefindelement.c: (find_element_get_length),
5289 (gst_type_find_element_checkgetrange),
5290 (gst_type_find_element_activate):
5291 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
5292 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
5293 (gst_caps_load_thyself):
5294 * gst/gstelement.c: (gst_element_pads_activate),
5295 (gst_element_save_thyself), (gst_element_restore_thyself):
5296 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
5297 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
5299 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
5300 (gst_xml_parse_file), (gst_xml_parse_memory),
5301 (gst_xml_get_element), (gst_xml_make_element):
5302 * gst/indexers/gstfileindex.c: (gst_file_index_load),
5303 (_file_index_id_save_xml), (gst_file_index_commit):
5304 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
5305 (read_enum), (load_pad_template), (load_feature), (load_plugin),
5307 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
5308 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
5309 * tools/gst-complete.c: (main):
5310 * tools/gst-compprep.c: (main):
5311 * tools/gst-inspect.c: (print_element_properties_info):
5312 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
5313 * tools/gst-xmlinspect.c: (print_element_properties):
5316 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
5318 * gst/gstplugin.c: (gst_plugin_check_module),
5319 (gst_plugin_check_file), (gst_plugin_load_file):
5320 apply patch from #172526 to make register work on MacOSX
5322 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
5324 * docs/gst/tmpl/gstconfig.sgml:
5325 * gst/gstconfig.h.in:
5326 move documentation for some symbols. Add doc for GST_PTR_FORMAT
5327 * testsuite/debug/printf_extension.c: (main):
5328 Do not use GST_PTR_FORMAT on pointers to types with
5329 sizeof < sizeof(gpointer). Fixes test on 64-bit
5330 * testsuite/elements/property.h:
5331 use correct printf format
5333 2005-05-02 Wim Taymans <wim@fluendo.com>
5335 * docs/design/draft-push-pull.txt:
5336 * docs/design/draft-query.txt:
5337 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
5338 (gst_basesrc_start):
5339 Added draft for new query API.
5340 Added draft for better selecting scheduling methods.
5341 Make basesrc ignore length if the subclass does not support
5344 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
5347 possible fixes for automake-1.5 - _LIBADD is reserved
5349 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
5351 * docs/faq/Makefile.am:
5352 * docs/manual/Makefile.am:
5354 * docs/pwg/Makefile.am:
5356 possible fixes for automake-1.5
5358 2005-04-28 Wim Taymans <wim@fluendo.com>
5360 * gst/base/gstbasesink.c: (gst_basesink_base_init),
5361 (gst_basesink_pad_getcaps), (gst_basesink_init),
5362 (gst_basesink_do_sync):
5363 * gst/gstclock.c: (gst_clock_entry_new):
5364 * gst/gstevent.c: (gst_event_discont_get_value):
5365 * gst/gstpipeline.c: (pipeline_bus_handler),
5366 (gst_pipeline_change_state):
5367 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5368 Better debugging of clocking info.
5369 Allow NULL values when getting discont values.
5371 2005-04-27 Wim Taymans <wim@fluendo.com>
5373 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
5374 * check/gst/gstpad.c: (gst_pad_suite):
5375 Increase timeout for checks.
5377 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5379 * check/Makefile.am:
5380 fix the broken rule for cleanup. Apparently this rule is
5381 only needed on FC2, so maybe this warrants further autotool
5384 2005-04-26 Wim Taymans <wim@fluendo.com>
5386 * gst/gsttrashstack.h:
5387 Ooohh. a nasty one! After having a failed pop() from the stack,
5388 it's possible that the stack is empty. In that case, don't
5389 follow the NULL pointer.
5391 2005-04-25 Wim Taymans <wim@fluendo.com>
5393 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
5394 (gst_pad_set_checkgetrange_function),
5395 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
5396 (gst_pad_check_pull_range), (gst_pad_pull_range),
5397 (gst_static_pad_template_get_caps), (gst_pad_start_task),
5398 (gst_pad_pause_task), (gst_pad_stop_task):
5399 * gst/gstplugin.c: (gst_plugin_load):
5401 Remove gst_library_load as it does more harm than good with
5402 the new g_module flags.
5403 Revert bogus caps template check in pad linking, pad caps
5404 are important when linking not the template, which is more
5405 general than the current caps.
5407 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5409 * gst/autoplug/.cvsignore:
5410 * gst/autoplug/Makefile.am:
5411 * gst/autoplug/gstsearchfuncs.c:
5412 * gst/autoplug/gstsearchfuncs.h:
5413 * gst/autoplug/gstspider.c:
5414 * gst/autoplug/gstspider.h:
5415 * gst/autoplug/gstspideridentity.c:
5416 * gst/autoplug/gstspideridentity.h:
5417 * gst/autoplug/spidertest.c:
5420 2005-04-25 Wim Taymans <wim@fluendo.com>
5422 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
5423 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
5424 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
5425 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
5427 Added stubs for unimplemented functions.
5429 2005-04-24 David Schleef <ds@schleef.org>
5431 * gst/gstpad.h: Disable some unimplemented functions. Wim,
5434 2005-04-24 David Schleef <ds@schleef.org>
5436 Convert everything from GstAtomicInt to g_atomic_int_*, and
5441 * gst/gstatomic_impl.h:
5449 * gst/gstdata_private.h:
5456 * gst/gststructure.c:
5457 * gst/gststructure.h:
5458 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
5461 2005-04-24 David Schleef <ds@schleef.org>
5463 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
5464 make the regressions tests work. Remove some code that is no
5466 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
5467 Disable warning for pads without templates.
5469 2005-04-24 David Schleef <ds@schleef.org>
5471 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
5472 functions that handle filtered links.
5473 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
5475 * gst/gstutils.c: Fix/remove utility functions that handle
5478 * gst/gstvalue.c: Add serialization/deserialization of caps
5479 * gst/parse/grammar.y: Ignore filtered caps when linking. This
5480 requires fixing so that the filter caps notation creates
5481 a capsfilter element and sets the filter_caps property. I
5482 think everyone probably wants to keep the shorthand notation.
5483 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
5484 * docs/gst/tmpl/gstpad.sgml:
5486 * gst/elements/gstelements.c: Register capsfilter element.
5487 * gst/Makefile.am: fix spacing
5488 * docs/random/ds/0.9-suggested-changes: random
5490 2005-04-23 David Schleef <ds@schleef.org>
5492 * gst/elements/Makefile.am:
5493 * gst/elements/gstcapsfilter.c: New element that acts like an
5494 identity, but filters caps. Will eventually replace filtered
5495 caps in pad linking.
5496 * gst/gstutils.c: (gst_element_create_all_pads): New function
5497 to create all the ALWAYS pads that are registered with an
5498 element class. This functionality should eventually be
5499 merged in with GstElement initialization.
5501 * testsuite/trigger/README: part of trigger test code that should
5502 have been checked in a long time ago.
5504 2005-04-23 David Schleef <ds@schleef.org>
5506 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
5507 needed with new versions of libtool (nobody will confirm this),
5508 and hard to carry around.
5509 * gst/autoplug/Makefile.am:
5510 * gst/base/Makefile.am:
5511 * gst/elements/Makefile.am:
5512 * gst/indexers/Makefile.am:
5513 * gst/schedulers/Makefile.am:
5514 * libs/gst/bytestream/Makefile.am:
5515 * libs/gst/control/Makefile.am:
5516 * libs/gst/dataprotocol/Makefile.am:
5517 * libs/gst/getbits/Makefile.am:
5519 2005-04-21 Wim Taymans <wim@fluendo.com>
5521 * docs/design/draft-push-pull.txt:
5522 * docs/design/part-MT-refcounting.txt:
5523 * docs/design/part-TODO.txt:
5524 * docs/design/part-caps.txt:
5525 * docs/design/part-events.txt:
5526 * docs/design/part-gstbus.txt:
5527 * docs/design/part-gstpipeline.txt:
5528 * docs/design/part-messages.txt:
5529 * docs/design/part-push-pull.txt:
5530 * docs/design/part-query.txt:
5533 2005-04-21 Wim Taymans <wim@fluendo.com>
5535 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
5536 (gst_message_new), (gst_message_new_error),
5537 (gst_message_new_warning), (gst_message_new_tag),
5538 (gst_message_new_state_changed), (gst_message_new_application),
5539 (gst_message_get_structure):
5541 * gst/gststructure.c: (gst_structure_set_parent_refcount),
5542 (gst_structure_copy_conditional):
5543 Use parent refcount in GstMessage to ensure GstStructure
5545 Cleaned up headers a bit.
5548 2005-04-20 Wim Taymans <wim@fluendo.com>
5550 * gst/base/gstbasesink.c: (gst_basesink_base_init),
5551 (gst_basesink_pad_getcaps), (gst_basesink_init),
5552 (gst_basesink_chain_unlocked):
5553 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
5554 (gst_type_find_helper):
5555 * gst/elements/gsttypefindelement.c:
5556 (gst_type_find_element_have_type), (gst_type_find_element_init),
5557 (stop_typefinding), (gst_type_find_element_handle_event),
5558 (find_suggest), (gst_type_find_element_chain),
5559 (gst_type_find_element_checkgetrange),
5560 (gst_type_find_element_getrange), (do_typefind),
5561 (gst_type_find_element_activate):
5562 * gst/gstbuffer.c: (_gst_buffer_sub_free),
5563 (gst_buffer_default_free), (gst_buffer_default_copy),
5564 (gst_buffer_set_caps):
5565 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
5567 * gst/gstmessage.c: (gst_message_new),
5568 (gst_message_new_state_changed):
5569 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
5570 (gst_pad_set_checkgetrange_function),
5571 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
5572 (gst_pad_set_caps), (gst_pad_check_pull_range),
5573 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
5575 * gst/gsttypefind.c: (gst_type_find_register):
5576 Make gst_caps_replace() work like other _replace() functions.
5577 Use _caps_replace() where possible.
5578 Make sure _message_new() initialises its field.
5579 Add gst_static_pad_template_get_caps()
5582 2005-04-18 Andy Wingo <wingo@pobox.com>
5584 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
5585 on the peer, not the pad. I think that was a typo. Pass an extra
5586 arg to see if random access is possible. Activate the pads as
5587 PULL_RANGE if possible.
5589 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
5591 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
5592 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
5595 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5597 * docs/faq/using.xml:
5598 Add note on gstreamer-properties (#154996).
5600 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5602 * docs/random/bbb/optional-properties:
5603 Some analysis on optional properties.
5605 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5607 * docs/gst/tmpl/gstelementfactory.sgml:
5609 * gst/gstelementfactory.c: (gst_element_factory_init),
5610 (gst_element_factory_cleanup), (gst_element_register),
5611 (__gst_element_factory_add_static_pad_template),
5612 (gst_element_factory_get_static_pad_templates),
5613 (gst_element_factory_can_src_caps),
5614 (gst_element_factory_can_sink_caps):
5615 * gst/registries/Makefile.am:
5616 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
5617 (gst_xml_registry_class_init), (gst_xml_registry_init),
5618 (gst_xml_registry_new), (gst_xml_registry_set_property),
5619 (gst_xml_registry_get_property), (get_time), (make_dir),
5620 (gst_xml_registry_get_perms_func),
5621 (plugin_times_older_than_recurse), (plugin_times_older_than),
5622 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
5623 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
5624 (add_to_char_array), (read_string), (read_uint), (read_enum),
5625 (load_pad_template), (load_feature), (load_plugin), (load_paths),
5626 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
5627 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
5628 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
5629 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
5630 (gst_xml_registry_rebuild):
5631 * gst/registries/gstlibxmlregistry.h:
5632 * tools/gst-compprep.c: (main):
5633 * tools/gst-inspect.c: (print_pad_templates_info):
5634 * tools/gst-xmlinspect.c: (print_element_info):
5635 Use libxml2 for registry parsing, use staticpadtemplates in
5636 elementfactories. Makes gst_init() +/- 10x faster.
5638 2005-04-12 Wim Taymans <wim@fluendo.com>
5640 * gst/base/Makefile.am:
5641 * gst/base/gstbasesink.c: (gst_basesink_base_init),
5642 (gst_basesink_pad_getcaps), (gst_basesink_init),
5643 (gst_basesink_event), (gst_basesink_change_state):
5644 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
5645 (gst_basesrc_init), (gst_basesrc_query),
5646 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
5647 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
5648 (gst_basesrc_check_get_range), (gst_basesrc_loop),
5649 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
5650 (gst_basesrc_stop), (gst_basesrc_activate),
5651 (gst_basesrc_change_state):
5652 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5653 (helper_find_suggest), (gst_type_find_helper):
5654 * gst/base/gsttypefindhelper.h:
5655 * gst/elements/Makefile.am:
5656 * gst/elements/gstelements.c:
5657 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
5658 (gst_fakesink_get_times), (gst_fakesink_event),
5659 (gst_fakesink_preroll), (gst_fakesink_render):
5660 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5661 (gst_fakesrc_init), (gst_fakesrc_event_handler),
5662 (gst_fakesrc_get_property), (gst_fakesrc_create),
5663 (gst_fakesrc_start), (gst_fakesrc_stop):
5664 * gst/elements/gstfakesrc.h:
5665 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
5666 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
5667 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
5668 (gst_filesrc_create_read), (gst_filesrc_create),
5669 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
5670 (gst_filesrc_start):
5671 * gst/elements/gsttypefindelement.c:
5672 (gst_type_find_element_have_type), (gst_type_find_element_init),
5673 (start_typefinding), (stop_typefinding), (push_buffer_store),
5674 (gst_type_find_element_handle_event),
5675 (gst_type_find_element_chain),
5676 (gst_type_find_element_checkgetrange),
5677 (gst_type_find_element_getrange), (do_typefind),
5678 (gst_type_find_element_activate),
5679 (gst_type_find_element_change_state):
5680 * gst/elements/gsttypefindelement.h:
5681 * gst/gstpipeline.c: (pipeline_bus_handler):
5682 Added typefind helper.
5683 Small preroll fix in the base sink.
5684 Disable typefind code in basesrc.
5685 Crude port of typefindelement.
5689 2005-04-11 Wim Taymans <wim@fluendo.com>
5691 * check/gst/gstbus.c: (gstbus_suite):
5692 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
5694 Fix up the timeout so that the test does not fail.
5696 2005-04-06 Wim Taymans <wim@fluendo.com>
5699 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
5700 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
5701 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
5702 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
5703 (gst_basesrc_check_get_range), (gst_basesrc_loop),
5704 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
5705 (gst_basesrc_stop), (gst_basesrc_activate),
5706 (gst_basesrc_change_state), (basesrc_find_peek),
5707 (basesrc_find_suggest), (gst_basesrc_type_find):
5708 * gst/base/gstbasesrc.h:
5709 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
5710 (gst_filesrc_class_init), (gst_filesrc_init),
5711 (gst_filesrc_finalize), (gst_filesrc_set_location),
5712 (gst_filesrc_set_property), (gst_filesrc_get_property),
5713 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
5714 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
5715 (gst_filesrc_create_read), (gst_filesrc_create),
5716 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
5717 * gst/elements/gstfilesrc.h:
5718 * gst/gstelement.c: (gst_element_get_state_func),
5719 (gst_element_lost_state), (gst_element_pads_activate):
5720 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
5721 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
5722 (gst_pad_pull_range):
5724 More work on the generic source base class, implement seeking,
5726 Make filesrc extend the base source class.
5727 Added gst_pad_set_checkgetrange_function to GstPad.
5729 2005-04-06 Andy Wingo <wingo@pobox.com>
5731 * pkgconfig/gstreamer-base.pc.in:
5732 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
5734 * pkgconfig/Makefile.am:
5735 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
5737 2005-04-04 Wim Taymans <wim@fluendo.com>
5739 * gst/base/Makefile.am:
5741 * gst/base/gstbasesink.c: (gst_basesink_base_init),
5742 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
5743 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
5744 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
5745 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
5746 (gst_basesrc_base_init), (gst_basesrc_class_init),
5747 (gst_basesrc_init), (gst_basesrc_get_formats),
5748 (gst_basesrc_get_query_types), (gst_basesrc_query),
5749 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
5750 (gst_basesrc_set_property), (gst_basesrc_get_property),
5751 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
5752 (gst_basesrc_loop), (gst_basesrc_activate),
5753 (gst_basesrc_change_state):
5754 * gst/base/gstbasesrc.h:
5755 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
5756 (gst_fakesrc_class_init), (gst_fakesrc_init),
5757 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
5758 (gst_fakesrc_get_property), (gst_fakesrc_create):
5759 * gst/elements/gstfakesrc.h:
5760 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
5761 (gst_filesrc_open_file), (gst_filesrc_loop),
5762 (gst_filesrc_activate), (filesrc_find_peek),
5763 (gst_filesrc_type_find):
5764 Made base source class, make fakesrc extend it.
5765 Add comments to basesink class.
5766 Some filesrc cleanup.
5768 2005-03-31 David Schleef <ds@schleef.org>
5770 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
5771 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
5772 expected to link against libgstreamer.
5773 * gst/base/Makefile.am: link against libgstreamer
5774 * gst/elements/Makefile.am: same
5776 2005-03-31 Andy Wingo <wingo@pobox.com>
5778 * tests/instantiate/Makefile.am:
5779 * tests/instantiate/caps.c: Add test to test speed of caps copy
5782 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
5783 GMemChunk to be fair.
5785 * gst/gsttrashstack.h: Remove warning about using the fallback
5786 trash stack implementation, it's still faster than malloc.
5788 2005-03-30 Andy Wingo <wingo@pobox.com>
5790 * tests/complexity.c: Add a copyright.
5792 2005-03-31 Wim Taymans <wim@fluendo.com>
5794 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
5795 (gst_base_transform_class_init), (gst_base_transform_init),
5796 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
5797 (gst_base_transform_get_property),
5798 (gst_base_transform_sink_activate),
5799 (gst_base_transform_src_activate),
5800 (gst_base_transform_change_state):
5801 * gst/base/gstbasetransform.h:
5802 * gst/elements/gstidentity.c: (gst_identity_class_init),
5803 (gst_identity_event), (gst_identity_check_perfect),
5804 (gst_identity_transform), (gst_identity_start),
5805 (gst_identity_stop):
5806 Added start/stop methods to transform base class so subclasses
5807 don't need to deal with state changes even.
5809 2005-03-31 Wim Taymans <wim@fluendo.com>
5811 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
5812 (gst_event_new_discontinuous), (gst_event_discont_get_value):
5814 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
5815 (gst_pad_pull_range):
5816 Added rate to the discont event to prepare for variable speed
5817 and reverse playback.
5819 2005-03-29 David Schleef <ds@schleef.org>
5822 * testsuite/trigger/Makefile.am:
5823 * testsuite/trigger/trigger.c: A little example program to show
5824 how trigger-based elements can work.
5826 2005-03-29 Wim Taymans <wim@fluendo.com>
5828 * gst/base/Makefile.am:
5830 * gst/base/gstbasesink.c: (gst_basesink_get_type),
5831 (gst_basesink_base_init), (gst_basesink_class_init),
5832 (gst_basesink_pad_getcaps), (gst_basesink_init),
5833 (gst_basesink_activate), (gst_basesink_change_state):
5834 * gst/base/gstbasesink.h:
5835 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
5836 (gst_base_transform_base_init), (gst_base_transform_finalize),
5837 (gst_base_transform_class_init), (gst_base_transform_init),
5838 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
5839 (gst_base_transform_event), (gst_base_transform_getrange),
5840 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
5841 (gst_base_transform_set_property),
5842 (gst_base_transform_get_property),
5843 (gst_base_transform_sink_activate),
5844 (gst_base_transform_src_activate),
5845 (gst_base_transform_change_state):
5846 * gst/base/gstbasetransform.h:
5847 * gst/elements/gstidentity.c: (gst_identity_finalize),
5848 (gst_identity_class_init), (gst_identity_init),
5849 (gst_identity_event), (gst_identity_check_perfect),
5850 (gst_identity_transform), (gst_identity_set_property),
5851 (gst_identity_get_property), (gst_identity_change_state):
5852 * gst/elements/gstidentity.h:
5853 * gst/gstelement.c: (gst_element_get_state_func),
5854 (gst_element_lost_state), (gst_element_pads_activate):
5855 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
5856 (gst_pad_check_pull_range), (gst_pad_pull_range):
5858 Simplify pad activation.
5859 Added function to check if pull_range can be performed.
5860 Error out when pulling inactive or flushing pads.
5861 Removed const from refcounted types as it does not make sense.
5862 Simplify pad templates in basesink
5863 Added base class for simple 1-to-1 transforms.
5864 Make identity subclass the base transform.
5866 2005-03-29 Andy Wingo <wingo@pobox.com>
5868 * docs/libs/gstreamer-libs-overrides.txt:
5869 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
5870 really don't understand what's going on, but like whatever. I want
5873 * docs/gst/Makefile.am:
5874 * docs/libs/Makefile.am: Dist the overrides files.
5876 * check/Makefile.am (clean-local): Remove .libs directories.
5878 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
5879 elements to EXTRA_DIST, so po/ files are happy.
5881 * po/POTFILES.in: Er, remove it here.
5883 * po/POTFILES: Remove gstspider.c.
5885 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
5887 * docs/libs/gstreamer-libs-docs.sgml:
5888 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
5891 * tests/complexity.c (main): Set the length of the preroll queue
5892 on the sinks to prevent a lockup.
5894 * libs/gst/dataprotocol/Makefile.am:
5895 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
5896 the same as the one in check/gst-libs/gdp.c.
5898 * po/, docs/gst/: Commit automatic changes to docs and po files.
5900 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
5901 the versioned libgstbase.
5903 * check/Makefile.am: Depend on an unversioned gst-register, seems
5904 to make autoconf happier.
5906 * gst/base/Makefile.am: Make libgstbase a versioned lib.
5908 2005-03-28 Wim Taymans <wim@fluendo.com>
5911 * docs/design/part-gstelement.txt:
5912 * docs/design/part-negotiation.txt:
5913 * docs/design/part-preroll.txt:
5914 * docs/design/part-scheduling.txt:
5915 * docs/design/part-states.txt:
5917 * gst/base/Makefile.am:
5919 * gst/base/gstbasesink.c: (gst_basesink_get_template),
5920 (gst_basesink_base_init), (gst_basesink_class_init),
5921 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
5922 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
5923 (gst_basesink_set_pad_functions),
5924 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
5925 (gst_basesink_set_property), (gst_basesink_get_property),
5926 (gst_base_sink_get_template), (gst_base_sink_get_caps),
5927 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
5928 (gst_basesink_preroll_queue_push),
5929 (gst_basesink_preroll_queue_empty),
5930 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
5931 (gst_basesink_event), (gst_basesink_get_times),
5932 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
5933 (gst_basesink_chain_unlocked), (gst_basesink_chain),
5934 (gst_basesink_loop), (gst_basesink_activate),
5935 (gst_basesink_change_state):
5936 * gst/base/gstbasesink.h:
5937 * gst/elements/Makefile.am:
5938 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
5939 (gst_fakesink_class_init), (gst_fakesink_init),
5940 (gst_fakesink_set_property), (gst_fakesink_get_property),
5941 (gst_fakesink_get_times), (gst_fakesink_event),
5942 (gst_fakesink_preroll), (gst_fakesink_render),
5943 (gst_fakesink_change_state):
5944 * gst/elements/gstfakesink.h:
5945 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
5946 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
5947 * gst/gstelement.c: (gst_element_add_pad),
5948 (gst_element_get_state_func), (gst_element_abort_state),
5949 (gst_element_commit_state), (gst_element_lost_state),
5950 (gst_element_set_state), (gst_element_pads_activate):
5951 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
5952 * gst/gstpipeline.c: (gst_pipeline_send_event),
5953 (gst_pipeline_change_state):
5954 Added state change code.
5956 Added sink base class, make fakesink extend the base class.
5957 Small cleanups in GstPipeline.
5959 2005-03-26 David Schleef <ds@schleef.org>
5961 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
5962 is broken and should be implemented in a different library.
5963 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
5964 * gst/gst.h: remove gstcpu.h
5965 * gst/gstcpu.c: remove
5966 * gst/gstcpu.h: remove
5967 * gst/Makefile.am.future: Remove this file. It's ancient.
5969 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5971 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
5972 (gst_bin_send_event):
5973 Add default event/set_manager handlers. The set_manager handler
5974 takes care that the manager is distributed over kids that were
5975 already in the bin before the manager was set. The event handler
5976 is a utility virtual function that sends the event over all sinks,
5977 so that gst_element_send_event (bin, event); has the expected
5979 * gst/gstpad.c: (gst_pad_event_default):
5980 Re-install default event handling for discontinuities, so that
5981 seeking works without requiring hacks in applications or extra
5983 * gst/gstpipeline.c: (gst_pipeline_class_init),
5984 (gst_pipeline_send_event):
5985 Half hack, half utility: set a pipeline to PAUSED for seek events,
5986 since that is the only way we can guarantee a/v sync. Means that
5987 you can do gst_element_seek (pipeline, method, pos); on a pipeline
5988 and it "just works".
5990 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5992 * gst/gstpipeline.c: (gst_pipeline_use_clock):
5993 Lock/unlock mismatch.
5995 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
5997 * docs/faq/gst-uninstalled:
5998 add gst-plugins-base
5999 * docs/gst/Makefile.am:
6000 don't error out until docs are fixed
6001 * docs/gst/gstreamer.types:
6004 2005-03-22 Wim Taymans <wim@fluendo.com>
6006 * check/Makefile.am:
6007 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
6008 * gst/gststructure.c: (gst_structure_set_valist),
6009 (gst_structure_copy_conditional):
6010 Activated more tests.
6012 Added G_TYPE_POINTER to GstStructure.
6015 2005-03-22 Wim Taymans <wim@fluendo.com>
6017 * docs/design/part-TODO.txt:
6018 * docs/design/part-events.txt:
6019 * docs/design/part-gstbin.txt:
6020 * docs/design/part-gstbus.txt:
6021 * docs/design/part-gstpipeline.txt:
6022 * docs/design/part-messages.txt:
6027 2005-03-21 Wim Taymans <wim@fluendo.com>
6029 * gst/gstbus.c: (gst_bus_post):
6030 Fix copy-and-paste error.
6032 2005-03-21 Wim Taymans <wim@fluendo.com>
6034 * check/Makefile.am:
6036 * gst/elements/Makefile.am:
6037 * gst/elements/gstelements.c:
6038 * gst/elements/gstfakesink.c: (gst_fakesink_init),
6039 (gst_fakesink_event), (gst_fakesink_chain):
6040 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6041 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
6042 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
6043 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
6044 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6045 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
6046 (gst_fakesrc_loop), (gst_fakesrc_activate),
6047 (gst_fakesrc_change_state):
6048 * gst/elements/gstfakesrc.h:
6049 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
6050 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
6051 (gst_filesrc_open_file), (gst_filesrc_loop),
6052 (gst_filesrc_activate), (gst_filesrc_change_state),
6053 (filesrc_find_peek), (filesrc_find_suggest),
6054 (gst_filesrc_type_find):
6055 * gst/elements/gstidentity.c: (gst_identity_finalize),
6056 (gst_identity_class_init), (gst_identity_init),
6057 (gst_identity_proxy_getcaps), (identity_queue_push),
6058 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
6059 (gst_identity_getrange), (gst_identity_chain),
6060 (gst_identity_sink_loop), (gst_identity_src_loop),
6061 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
6062 (gst_identity_set_property), (gst_identity_get_property),
6063 (gst_identity_change_state):
6064 * gst/elements/gstidentity.h:
6065 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6066 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
6067 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
6068 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
6069 (gst_tee_sink_activate):
6070 * gst/elements/gsttee.h:
6071 * gst/gst.c: (gst_register_core_elements), (init_post):
6073 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
6074 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
6075 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
6076 (gst_bin_change_state):
6078 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
6079 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
6080 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
6081 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
6082 (gst_bus_set_sync_handler), (gst_bus_create_watch),
6083 (bus_watch_callback), (bus_watch_destroy),
6084 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
6085 (poll_timeout), (gst_bus_poll):
6089 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
6090 (gst_element_post_message), (gst_element_message_full),
6091 (gst_element_get_state_func), (gst_element_get_state),
6092 (gst_element_abort_state), (gst_element_commit_state),
6093 (gst_element_lost_state), (gst_element_set_state),
6094 (gst_element_pads_activate), (gst_element_change_state),
6095 (gst_element_dispose), (gst_element_set_manager_func),
6096 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
6097 (gst_element_set_manager), (gst_element_get_manager),
6098 (gst_element_set_bus), (gst_element_get_bus),
6099 (gst_element_set_scheduler), (gst_element_get_scheduler):
6101 * gst/gstevent.c: (gst_event_new_segment_seek),
6102 (gst_event_new_flush):
6104 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
6105 (_gst_message_free), (gst_message_get_type), (gst_message_new),
6106 (gst_message_new_eos), (gst_message_new_error),
6107 (gst_message_new_warning), (gst_message_new_tag),
6108 (gst_message_new_state_changed), (gst_message_new_application),
6109 (gst_message_get_structure), (gst_message_parse_tag),
6110 (gst_message_parse_state_changed), (gst_message_parse_error),
6111 (gst_message_parse_warning):
6113 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
6114 (gst_real_pad_set_property), (gst_pad_set_active),
6115 (gst_pad_is_active), (gst_pad_set_blocked_async),
6116 (gst_pad_set_blocked), (gst_pad_is_blocked),
6117 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
6118 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
6119 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
6120 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
6121 (gst_pad_link_filtered), (gst_pad_relink_filtered),
6122 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
6123 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
6124 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
6125 (gst_pad_set_caps), (gst_pad_configure_sink),
6126 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
6127 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
6128 (gst_real_pad_dispose), (gst_real_pad_finalize),
6129 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
6130 (gst_pad_event_default_dispatch), (gst_pad_event_default),
6131 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
6133 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
6134 (pipeline_bus_handler), (gst_pipeline_change_state),
6135 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
6136 * gst/gstpipeline.h:
6138 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
6139 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
6140 (gst_queue_link_src), (gst_queue_bufferalloc),
6141 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
6142 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
6143 (gst_queue_loop), (gst_queue_handle_src_event),
6144 (gst_queue_handle_src_query), (gst_queue_src_activate),
6145 (gst_queue_change_state):
6147 * gst/gstscheduler.c: (gst_scheduler_init),
6148 (gst_scheduler_dispose), (gst_scheduler_create_task),
6149 (gst_scheduler_factory_create):
6150 * gst/gstscheduler.h:
6151 * gst/gststructure.c: (gst_structure_get_type),
6152 (gst_structure_copy_conditional):
6153 * gst/gststructure.h:
6154 * gst/gsttaginterface.h:
6155 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6156 (gst_task_init), (gst_task_dispose), (gst_task_create),
6157 (gst_task_get_state), (gst_task_start), (gst_task_stop),
6163 * gst/schedulers/Makefile.am:
6164 * gst/schedulers/cothreads_compat.h:
6165 * gst/schedulers/entryscheduler.c:
6166 * gst/schedulers/faircothreads.c:
6167 * gst/schedulers/faircothreads.h:
6168 * gst/schedulers/fairscheduler.c:
6169 * gst/schedulers/gstbasicscheduler.c:
6170 * gst/schedulers/gstoptimalscheduler.c:
6171 * gst/schedulers/gthread-cothreads.h:
6172 * gst/schedulers/threadscheduler.c:
6173 (gst_thread_scheduler_task_get_type),
6174 (gst_thread_scheduler_task_class_init),
6175 (gst_thread_scheduler_task_init),
6176 (gst_thread_scheduler_task_start),
6177 (gst_thread_scheduler_task_stop),
6178 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
6179 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
6180 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
6181 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
6183 * libs/gst/Makefile.am:
6184 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
6185 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
6186 (gst_file_pad_parent_set):
6187 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6188 (gst_dp_event_from_packet):
6189 * tests/complexity.c: (main):
6190 * tests/mass_elements.c: (main):
6191 * testsuite/states/locked.c: (message_received), (main):
6192 * testsuite/states/parent.c: (main):
6193 * tools/gst-inspect.c: (print_element_flag_info),
6194 (print_implementation_info), (print_pad_info):
6195 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
6197 * tools/gst-md5sum.c: (event_loop), (main):
6198 * tools/gst-typefind.c: (main):
6199 * tools/gst-xmlinspect.c: (print_element_info):
6201 Added GstBus for mainloop integration.
6202 Added GstMessage for sending notifications on the bus.
6203 Added GstTask as an abstraction for pipeline entry points.
6206 Simplified GstQueue for multithreaded core.
6207 Made _link threadsafe, removed old capsnego.
6208 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
6209 Added pad blocking functions.
6210 Reworked scheduling functions in GstPad to prepare for
6211 scheduling updates soon.
6212 Moved events out of data stream.
6213 Simplified GstEvent types.
6214 Added return values to push/pull.
6215 Removed clocking from GstElement.
6216 Added prototypes for state change function for next merge.
6217 Removed iterate from bins and state change management.
6218 Fixed some elements, disabled others for now.
6219 Fixed -inspect and -launch.
6220 Added check for GstBus.
6222 2005-03-10 Wim Taymans <wim@fluendo.com>
6224 * docs/design/part-MT-refcounting.txt:
6225 * docs/design/part-clocks.txt:
6226 * docs/design/part-gstelement.txt:
6227 * docs/design/part-gstobject.txt:
6228 * docs/design/part-standards.txt:
6229 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
6230 (gst_bin_remove_func), (gst_bin_remove):
6234 * testsuite/clock/clock1.c: (main):
6235 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
6237 * testsuite/dlopen/loadgst.c: (do_test):
6238 * testsuite/refcounting/bin.c: (add_remove_test1),
6239 (add_remove_test2), (main):
6240 * testsuite/refcounting/element.c: (main):
6241 * testsuite/refcounting/element_pad.c: (main):
6242 * testsuite/refcounting/pad.c: (main):
6243 * tools/gst-launch.c: (sigint_handler_sighandler):
6244 * tools/gst-typefind.c: (main):
6246 Added doc about clock.
6247 removed gst_bin_iterate_recurse_up(), marked methods
6249 Fix more testsuites.
6251 2005-03-09 Wim Taymans <wim@fluendo.com>
6253 * gst/gstpad.c: (gst_pad_get_direction),
6254 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
6255 (gst_pad_collect_valist):
6256 * testsuite/bins/interface.c: (main):
6257 * testsuite/caps/audioscale.c: (test_caps):
6258 * testsuite/caps/caps.c: (test1), (test2), (test3):
6259 * testsuite/caps/deserialize.c: (main):
6260 * testsuite/caps/enumcaps.c: (main):
6261 * testsuite/caps/filtercaps.c: (main):
6262 * testsuite/caps/intersect2.c: (main):
6263 * testsuite/caps/random.c: (main):
6264 * testsuite/caps/renegotiate.c: (my_fixate), (main):
6265 * testsuite/caps/sets.c: (check_caps):
6266 * testsuite/caps/simplify.c: (check_caps), (main):
6267 * testsuite/caps/subtract.c: (check_caps):
6268 Fix _pad_get_direction wrt ghostpads.
6271 2005-03-09 Wim Taymans <wim@fluendo.com>
6273 * check/Makefile.am:
6274 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
6275 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
6276 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
6277 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
6278 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
6279 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
6280 (gst_bin_remove), (gst_bin_iterate_recurse_up),
6281 (bin_element_is_sink), (gst_bin_iterate_sinks),
6282 (gst_bin_iterate_all_by_interface):
6284 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
6285 (gst_element_change_state), (gst_element_dispose),
6286 (gst_element_finalize), (gst_element_set_loop_function):
6288 * gst/gstiterator.c: (find_custom_fold_func):
6289 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
6290 (gst_pad_collectv), (gst_pad_collect_valist),
6291 (gst_pad_template_new):
6292 * gst/gstpipeline.c: (gst_pipeline_class_init),
6293 (gst_pipeline_dispose), (gst_pipeline_set_property),
6294 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
6295 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
6296 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
6298 * gst/schedulers/entryscheduler.c:
6299 * gst/schedulers/gstbasicscheduler.c:
6300 (gst_basic_scheduler_cothreaded_chain),
6301 (gst_basic_scheduler_chain_add_element):
6302 * testsuite/bins/interface.c: (main):
6304 Added GstSystemClock test.
6305 Implemented clock distribution code in GstBin.
6306 Implemented iterate sinks method for future use.
6307 Rearranged gstelement.h
6308 Fix GstIterator comparison bug.
6309 Moved some code to GstPipeline, mostly clocking related.
6311 2005-03-09 Wim Taymans <wim@fluendo.com>
6314 * gst/gst_private.h:
6315 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
6316 (gst_bin_remove_func), (gst_bin_remove),
6317 (gst_bin_get_by_name_recurse_up):
6318 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
6319 (gst_clock_id_compare_func), (gst_clock_id_wait),
6320 (gst_clock_id_wait_async), (gst_clock_init),
6321 (gst_clock_adjust_unlocked), (gst_clock_get_time):
6323 * gst/gstinfo.c: (_gst_debug_init):
6325 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
6326 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
6328 Bump version number, we're now 0.9.0
6329 Add future debugging category.
6330 Fix NULL _unref() in _get_by_name_recurse_up
6334 2005-03-08 Wim Taymans <wim@fluendo.com>
6336 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
6337 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
6338 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
6339 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
6340 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
6341 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
6342 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
6343 * gst/elements/gstidentity.c: (gst_identity_class_init):
6344 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
6345 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
6346 * gst/elements/gstshaper.c: (gst_shaper_class_init):
6347 * gst/elements/gststatistics.c: (gst_statistics_class_init):
6348 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
6350 * gst/gstelement.c: (gst_element_class_init),
6351 (gst_element_base_class_init), (gst_element_init),
6352 (gst_element_get_random_pad), (gst_element_wait_state_change),
6353 (gst_element_change_state), (gst_element_dispose),
6354 (gst_element_finalize), (gst_element_set_loop_function):
6356 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
6357 * gst/gstthread.c: (gst_thread_class_init),
6358 (gst_thread_release_children_locks), (gst_thread_change_state):
6359 * gst/schedulers/gstbasicscheduler.c:
6360 (gst_basic_scheduler_loopfunc_wrapper),
6361 (gst_basic_scheduler_chain_wrapper),
6362 (gst_basic_scheduler_src_wrapper),
6363 (gst_basic_scheduler_remove_element):
6364 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
6365 Remove threadsafe properties. Fix elements because GObject
6366 complains when installing a property before declaring a
6367 set/get_property handler.
6368 Rearrange gstelement.h file, use STATE macros for state locks.
6369 Free mutexes in the finalize method instead of dispose.
6371 2005-03-08 Wim Taymans <wim@fluendo.com>
6373 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
6374 * gst/gstthread.c: (gst_thread_release_children_locks):
6375 Added parentage check.
6376 Fix build og GstThread again.
6378 2005-03-08 Wim Taymans <wim@fluendo.com>
6380 * docs/design/part-MT-refcounting.txt:
6381 * docs/design/part-conventions.txt:
6382 * docs/design/part-gstobject.txt:
6383 * docs/design/part-relations.txt:
6384 * docs/design/part-standards.txt:
6385 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
6386 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
6387 (gst_bin_get_by_name), (gst_bin_get_by_interface),
6388 (gst_bin_iterate_all_by_interface):
6391 * gst/gstelement.c: (gst_element_class_init),
6392 (gst_element_change_state), (gst_element_set_loop_function):
6394 * gst/gstiterator.c:
6395 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
6396 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
6397 (gst_object_dispatch_properties_changed), (gst_object_set_name),
6398 (gst_object_set_parent), (gst_object_unparent),
6399 (gst_object_check_uniqueness):
6401 Docs updates, clean up some headers.
6403 2005-03-07 Wim Taymans <wim@fluendo.com>
6406 * check/Makefile.am:
6407 * check/gst-libs/.cvsignore:
6408 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
6409 * check/gst/.cvsignore:
6410 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
6411 (START_TEST), (gstbus_suite), (main):
6412 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
6413 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
6414 (gst_data_suite), (main):
6415 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
6416 (add_fold_func), (gstiterator_suite), (main):
6417 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
6418 (thread_name_object), (thread_name_object_default),
6419 (gst_object_name_compare), (gst_object_suite), (main):
6420 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
6421 (gst_pad_suite), (main):
6422 * check/gstcheck.c: (gst_check_log_message_func),
6423 (gst_check_log_critical_func), (gst_check_init):
6425 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
6426 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
6429 2005-03-07 Wim Taymans <wim@fluendo.com>
6431 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
6432 (gst_list_iterator_next), (gst_list_iterator_resync),
6433 (gst_list_iterator_free), (gst_iterator_new_list),
6434 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
6435 (gst_iterator_free), (gst_iterator_push), (filter_next),
6436 (filter_resync), (filter_uninit), (filter_free),
6437 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
6438 (gst_iterator_foreach), (find_custom_fold_func),
6439 (gst_iterator_find_custom):
6440 * gst/gstiterator.h:
6441 Added missing files.
6443 2005-03-07 Wim Taymans <wim@fluendo.com>
6447 * docs/design/part-MT-refcounting.txt:
6448 * docs/design/part-conventions.txt:
6449 * docs/design/part-gstobject.txt:
6450 * docs/design/part-relations.txt:
6451 * examples/mixer/mixer.c: (main):
6452 * examples/thread/thread.c: (eos), (main):
6454 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
6455 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
6456 (gst_spider_plug_from_srcpad):
6457 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
6458 (gst_spider_identity_change_state),
6459 (gst_spider_identity_sink_loop_type_finding):
6460 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
6461 * gst/elements/gstidentity.c: (gst_identity_init):
6462 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
6463 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
6464 * gst/elements/gsttypefindelement.c: (free_entry):
6467 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
6468 (gst_bin_set_clock_func), (gst_bin_auto_clock),
6469 (gst_bin_set_index), (gst_bin_set_element_sched),
6470 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
6471 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
6472 (gst_bin_iterate_elements), (iterate_child_recurse),
6473 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
6474 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
6475 (compare_interface), (gst_bin_get_by_interface),
6476 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
6478 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
6479 (gst_buffer_default_free), (gst_buffer_default_copy),
6480 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
6481 (gst_buffer_create_sub):
6483 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
6484 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
6485 (gst_caps_unref), (gst_static_caps_get),
6486 (gst_caps_remove_and_get_structure), (gst_caps_append),
6487 (gst_caps_append_structure), (gst_caps_remove_structure),
6488 (gst_caps_copy_nth), (gst_caps_set_simple),
6489 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
6490 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
6491 (gst_caps_structure_intersect_field), (gst_caps_intersect),
6492 (gst_caps_structure_subtract_field), (gst_caps_subtract),
6493 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
6494 (gst_caps_structure_figure_out_union),
6495 (gst_caps_switch_structures), (gst_caps_do_simplify),
6496 (gst_caps_replace), (gst_caps_from_string),
6497 (gst_caps_copy_conditional):
6499 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
6500 (_gst_clock_id_free), (gst_clock_id_unref),
6501 (gst_clock_id_compare_func), (gst_clock_id_wait),
6502 (gst_clock_id_wait_async), (gst_clock_class_init),
6503 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
6504 (gst_clock_get_time), (gst_clock_set_time_adjust),
6505 (gst_clock_set_property), (gst_clock_get_property):
6508 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
6509 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
6511 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
6512 (gst_element_requires_clock), (gst_element_provides_clock),
6513 (gst_element_set_clock), (gst_element_clock_wait),
6514 (gst_element_wait), (gst_element_set_time_delay),
6515 (gst_element_is_indexable), (gst_element_add_pad),
6516 (gst_element_add_ghost_pad), (gst_element_remove_pad),
6517 (pad_compare_name), (gst_element_get_static_pad),
6518 (gst_element_request_pad), (gst_element_get_request_pad),
6519 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
6520 (gst_element_class_get_pad_template_list),
6521 (gst_element_class_get_pad_template), (gst_element_error_func),
6522 (gst_element_get_random_pad), (gst_element_get_event_masks),
6523 (gst_element_send_event), (gst_element_seek),
6524 (gst_element_get_query_types), (gst_element_query),
6525 (gst_element_get_formats), (gst_element_convert),
6526 (gst_element_is_locked_state), (gst_element_set_locked_state),
6527 (gst_element_sync_state_with_parent), (gst_element_change_state),
6528 (gst_element_finalize), (gst_element_yield),
6529 (gst_element_interrupt), (gst_element_set_scheduler),
6530 (gst_element_get_scheduler), (gst_element_set_loop_function):
6533 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
6534 (gst_format_get_by_nick), (gst_format_get_details),
6535 (gst_format_iterate_definitions):
6537 * gst/gstindex.c: (gst_index_gtype_resolver):
6540 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
6541 (gst_mem_chunk_free):
6542 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
6543 (gst_object_ref), (gst_object_unref), (gst_object_sink),
6544 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
6545 (gst_object_dispatch_properties_changed),
6546 (gst_object_set_name_default), (gst_object_set_name),
6547 (gst_object_get_name), (gst_object_set_name_prefix),
6548 (gst_object_get_name_prefix), (gst_object_set_parent),
6549 (gst_object_get_parent), (gst_object_unparent),
6550 (gst_object_check_uniqueness), (gst_object_save_thyself),
6551 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
6552 (gst_object_set_property), (gst_object_get_property),
6553 (gst_object_get_path_string):
6555 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
6556 (gst_real_pad_init), (gst_real_pad_get_property),
6557 (gst_pad_custom_new), (gst_pad_get_direction),
6558 (gst_pad_set_active), (gst_pad_is_active),
6559 (gst_pad_set_event_function), (gst_pad_is_linked),
6560 (gst_pad_link_free), (gst_pad_link_intersect),
6561 (gst_pad_link_fixate), (gst_pad_set_caps),
6562 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
6563 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
6564 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
6565 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
6566 (gst_pad_get_caps), (gst_pad_peer_get_caps),
6567 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
6568 (gst_pad_realize), (gst_pad_get_allowed_caps),
6569 (gst_real_pad_dispose), (gst_real_pad_finalize),
6570 (gst_pad_collectv), (gst_pad_collect_valist),
6571 (gst_pad_template_dispose), (gst_pad_template_new),
6572 (gst_pad_get_internal_links):
6574 * gst/gstpipeline.c: (gst_pipeline_dispose),
6575 (gst_pipeline_change_state):
6576 * gst/gstpipeline.h:
6578 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
6579 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
6580 * gst/gstpluginfeature.h:
6581 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
6582 * gst/gstquery.c: (_gst_query_type_initialize),
6583 (gst_query_type_register), (gst_query_type_get_by_nick),
6584 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
6586 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
6587 * gst/gstscheduler.c: (gst_scheduler_add_element),
6588 (gst_scheduler_factory_create):
6589 * gst/gststructure.c: (gst_structure_set_parent_refcount),
6590 (gst_structure_free), (gst_structure_set_name),
6591 (gst_structure_id_set_value), (gst_structure_set_value),
6592 (gst_structure_set_valist), (gst_structure_remove_field),
6593 (gst_structure_remove_fields),
6594 (gst_structure_remove_fields_valist),
6595 (gst_structure_remove_all_fields), (gst_structure_foreach),
6596 (gst_structure_map_in_place),
6597 (gst_caps_structure_fixate_field_nearest_int),
6598 (gst_caps_structure_fixate_field_nearest_double):
6599 * gst/gststructure.h:
6600 * gst/gstsystemclock.c: (gst_system_clock_class_init),
6601 (gst_system_clock_init), (gst_system_clock_dispose),
6602 (gst_system_clock_async_thread),
6603 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
6604 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
6605 * gst/gstsystemclock.h:
6606 * gst/gsttag.c: (gst_tag_list_add_value_internal),
6607 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
6608 * gst/gsttaginterface.c:
6609 * gst/gstthread.c: (gst_thread_dispose),
6610 (gst_thread_release_children_locks), (gst_thread_change_state),
6611 (gst_thread_main_loop):
6612 * gst/gsttrashstack.h:
6613 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
6615 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6616 (gst_element_request_pad), (gst_element_get_pad_from_template),
6617 (gst_element_request_compatible_pad),
6618 (gst_element_get_compatible_pad_filtered),
6619 (gst_element_get_compatible_pad), (gst_element_state_get_name),
6620 (gst_element_link_pads_filtered), (gst_element_link_filtered),
6621 (gst_element_link_many), (gst_element_link),
6622 (gst_element_link_pads), (gst_element_unlink_pads),
6623 (gst_element_unlink_many), (gst_element_unlink),
6624 (gst_pad_can_link_filtered), (gst_pad_can_link),
6625 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
6626 (gst_object_default_error), (gst_bin_add_many),
6627 (gst_bin_remove_many), (gst_element_populate_std_props),
6628 (gst_element_class_install_std_props), (gst_buffer_merge),
6629 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
6630 (link_fold_func), (gst_pad_proxy_setcaps):
6632 * gst/gstvalue.c: (gst_value_deserialize_string):
6633 * gst/parse/grammar.y:
6634 * gst/schedulers/gstbasicscheduler.c:
6635 (gst_basic_scheduler_cothreaded_chain),
6636 (gst_basic_scheduler_chain_recursive_add),
6637 (gst_basic_scheduler_pad_link):
6638 * gst/schedulers/gstoptimalscheduler.c:
6639 (get_group_schedule_function),
6640 (gst_opt_scheduler_state_transition),
6641 (gst_opt_scheduler_add_element), (element_get_reachables_func):
6642 * libs/gst/bytestream/bytestream.c:
6643 * libs/gst/dataprotocol/dataprotocol.c:
6644 (gst_dp_header_from_buffer):
6647 * tests/threadstate/threadstate2.c: (eos):
6648 * tools/gst-compprep.c: (main):
6649 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
6650 (print_pad_info), (print_children_info):
6651 * tools/gst-launch.c: (idle_func), (main):
6652 * tools/gst-md5sum.c: (idle_func), (main):
6653 * tools/gst-xmlinspect.c: (print_element_info):
6654 First THREADED backport attempt, focusing on adding locks and
6655 making sure the API is threadsafe. Needs more work. More docs
6658 2005-02-24 Andy Wingo <wingo@pobox.com>
6660 * tests/bench-complexity.scm:
6661 * tests/complexity.gnuplot: New files, good for running complexity
6664 * tests/Makefile.am:
6665 * tests/complexity.c: New test, sets up N elements, at each level
6666 teeing into M streams per element. Eeeenteresting.
6668 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
6669 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
6670 running bench-mass_elements.scm.
6672 * tests/bench-mass_elements.scm: New script, runs mass_elements
6673 for various numbers of identities, outputting the results to a
6674 file. Requires guile 1.6. Just for testing.
6676 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
6678 * gst/schedulers/fairscheduler.c:
6679 compile with debug disabled
6681 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
6684 hunting season on 0.9 is now OPEN