1 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
3 * docs/gst/gstreamer-sections.txt:
4 * docs/gst/tmpl/gstelement.sgml:
5 * docs/gst/tmpl/gstplugin.sgml:
8 docs now stop throwing warnings
10 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
12 * docs/gst/gstreamer-sections.txt:
13 * docs/gst/gstreamer.types:
14 * docs/gst/tmpl/gstpad.sgml:
15 * docs/gst/tmpl/gsttypes.sgml:
16 * gst/base/gstadapter.h:
17 * gst/base/gstbasesink.h:
18 * gst/base/gstbasesrc.h:
29 * gst/registries/gstlibxmlregistry.h:
30 various documentation fixes
32 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
34 * docs/gst/gstreamer-sections.txt:
35 * docs/gst/tmpl/gstvalue.sgml:
36 rearrange gstvalue section
37 * gst/gstutils.c: (gst_element_state_get_name):
39 * gst/gstvalue.c: (_gst_value_initialize):
43 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
45 * check/gst-libs/controller.c:
47 * gst/base/gstbasetransform.c:
48 (gst_base_transform_default_prepare_buf),
49 (gst_base_transform_handle_buffer):
50 * gst/base/gstbasetransform.h:
51 Some more basetransform changes and fixes to enable sub-classes
52 that modify buffer metadata only.
53 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
54 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
55 (gst_capsfilter_prepare_buf):
56 If the output pad has fixed allowed caps and input buffers
57 don't have any, set the fixed caps on outgoing buffers.
59 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
60 * check/elements/identity.c: (GST_START_TEST):
61 Make the error a little clearer when the test fails because
62 identity made a copy of the buffer.
63 * docs/gst/gstreamer-sections.txt:
64 New symbols in gstbasetransform.h
65 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
66 (gst_base_transform_init), (gst_base_transform_transform_size),
67 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
68 (gst_base_transform_default_prepare_buf),
69 (gst_base_transform_get_unit_size),
70 (gst_base_transform_buffer_alloc),
71 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
72 (gst_base_transform_change_state),
73 (gst_base_transform_set_passthrough),
74 (gst_base_transform_set_in_place),
75 (gst_base_transform_is_in_place):
76 * gst/base/gstbasetransform.h:
77 Change BaseTransform to separate in_place operate from same_caps
78 output. in_place implies that the element can perform the transform
79 on incoming buffers in-place, even if the caps on the output are
81 Sub-class elements can now implement special buffer allocation
82 methods for outgoing buffers if they wish to.
83 Big documentation addition.
84 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
85 * gst/elements/gstelements.c:
86 Changes for basetransform modifications.
87 * gst/elements/Makefile.am:
88 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
89 Compile fix. Extra debug output.
91 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
93 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
95 add tests for valid pad naming
96 * gst/check/gstcheck.c: (gst_check_log_message_func),
97 (gst_check_log_critical_func):
99 remove printing of code, it is fragile when the code contains
100 % and the line number is enough info
101 * gst/check/gstcheck.h:
102 * gst/gstpad.c: (gst_pad_template_new):
105 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
108 say what CHECK flags we use
109 * docs/libs/gstreamer-libs.types:
110 * libs/gst/controller/Makefile.am:
111 * libs/gst/controller/gst-controller.c:
112 * libs/gst/controller/gst-controller.h:
113 * libs/gst/controller/gst-helper.c:
114 * libs/gst/controller/gst-interpolation.c:
115 * libs/gst/controller/gstcontroller.c:
116 * libs/gst/controller/gsthelper.c:
117 * libs/gst/controller/gstinterpolation.c:
118 * tools/gst-inspect.c: (print_plugin_info):
119 we don't use dashes in header names
121 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
124 * check/gst/.cvsignore:
125 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
126 (gst_pipeline_suite), (main):
127 adding a test for pipelines and state changes
128 * gst/gstutils.c: (get_state_func):
133 2005-09-08 Michael Smith <msmith@fluendo.com>
135 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
136 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
137 (gst_file_src_is_seekable), (gst_file_src_get_size),
138 (gst_file_src_start):
139 * gst/elements/gstfilesrc.h:
140 Various fixes for unseekable, unmmapable, and non-normal files, so
141 that fallback to read() rather than mmap() works.
142 * gst/gstevent.c: (gst_event_new_newsegment):
143 Allow newsegment events with segment_start == segment_end, as will
144 correctly happen if you use filesrc on a zero-size file, for
147 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
149 * gst/gstplugin.c: (gst_plugin_load_file):
150 Call g_module_close when we don't load the module
152 * gst/registries/gstlibxmlregistry.c:
153 (gst_xml_registry_get_property):
154 Port leak fix from 0.8
156 2005-09-07 Stefan Kost <ensonic@users.sf.net>
158 * docs/gst/gstreamer-docs.sgml:
159 * docs/gst/tmpl/.cvsignore:
160 * docs/gst/tmpl/gsttrace.sgml:
161 * docs/gst/tmpl/gsttrashstack.sgml:
170 * gst/gsttaginterface.c:
171 * gst/gsttaginterface.h:
174 * gst/gsttagsetter.c:
175 * gst/gsttagsetter.h:
178 * gst/gsttrashstack.c:
179 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
180 inlined docs for gsttrace, gsttrashstack
182 2005-09-07 Stefan Kost <ensonic@users.sf.net>
185 * gst/elements/gstbufferstore.h:
186 * gst/elements/gsttypefindelement.c:
187 * gst/elements/gsttypefindelement.h:
191 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
192 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
193 (gst_type_find_factory_dispose),
194 (gst_type_find_factory_unload_thyself),
195 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
196 (gst_type_find_factory_get_caps),
197 (gst_type_find_factory_get_extensions),
198 (gst_type_find_factory_call_function):
199 * gst/gsttypefindfactory.h:
200 * gst/registries/gstlibxmlregistry.c:
201 * gst/registries/gstxmlregistry.c:
202 splitted gsttypefind into gsttypefind, gsttypefindfactory
204 2005-09-07 Andy Wingo <wingo@pobox.com>
206 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
207 condition whereby the pad's task function is entered before the
208 pad_mode variable was set.
210 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
212 * gst/gstpad.c: (gst_pad_alloc_buffer):
213 Catch misbehaving pad_alloc functions that don't
214 set up caps and do it for them.
216 2005-09-07 Stefan Kost <ensonic@users.sf.net>
218 * check/pipelines/simple_launch_lines.c: (run_pipeline):
220 * docs/gst/tmpl/.cvsignore:
221 * docs/gst/tmpl/gstmemchunk.sgml:
222 * docs/gst/tmpl/gstparse.sgml:
223 * docs/gst/tmpl/gsttaglist.sgml:
224 * docs/gst/tmpl/gsttagsetter.sgml:
225 * docs/gst/tmpl/gsttypefind.sgml:
226 * docs/gst/tmpl/gsttypefindfactory.sgml:
230 * gst/gsttaginterface.c:
235 === release 0.9.2 ===
237 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
242 releasing 0.9.2, "South"
244 2005-09-05 Andy Wingo <wingo@pobox.com>
246 * gst/registries/gstxmlregistry.h:
247 * gst/registries/gstxmlregistry.c: Um... resurrect...
249 * gst/registries/gstxmlregistry.h:
250 * gst/registries/gstxmlregistry.c: and update to newer API.
251 Incidentally they should be a bit faster now that they don't have
254 2005-09-05 Andy Wingo <wingo@pobox.com>
256 * gst/registries/gstxmlregistry.h:
257 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
258 replaced by the libxml registry a while back
260 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
262 * docs/gst/tmpl/gstplugin.sgml:
263 * gst/elements/gstelements.c:
265 * gst/gstplugin.c: (gst_plugin_register_func),
266 (gst_plugin_desc_copy), (gst_plugin_desc_free),
267 (gst_plugin_get_source):
269 * gst/registries/gstlibxmlregistry.c: (load_plugin),
270 (gst_xml_registry_save_plugin):
271 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
272 (gst_xml_registry_save_plugin):
273 * tools/gst-inspect.c: (print_plugin_info):
274 add a "source" plugin description field, to represent the source
275 module this plugin is a part of. By default GST_PLUGIN_DEFINE
276 will set it to PACKAGE, which is automake's idea of the name of
279 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
285 * docs/faq/Makefile.am:
286 * docs/gst/tmpl/gstelement.sgml:
287 * docs/gst/tmpl/gsttypes.sgml:
288 * docs/htmlinstall.mak:
289 * docs/manual/Makefile.am:
290 * docs/pwg/Makefile.am:
291 reorganize doc build a little
292 split out docbook and gtk-doc stuff
293 have two separate --enable's and enable them through autogen
294 but disable by default in configure (to be similar to other
297 clean up docs install
317 2005-09-03 Tim-Philipp M??ller <tim at centricular dot net>
319 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
322 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
323 (gst_fake_sink_change_state):
324 Make state change function thread-safe.
326 * gst/gstpad.c: (gst_pad_alloc_buffer):
327 Set offset on generic buffer allocated by fallback.
329 2005-09-03 Stefan Kost <ensonic@users.sf.net>
331 * docs/gst/gstreamer-sections.txt:
332 * docs/gst/tmpl/gstelement.sgml:
334 * libs/gst/controller/gst-controller.c:
335 (gst_controlled_property_set_interpolation_mode),
336 (gst_controlled_property_new),
337 (gst_controller_find_controlled_property):
338 run the wingo-magic script against the docs
340 2005-09-02 Stefan Kost <ensonic@users.sf.net>
342 * docs/gst/gstreamer-docs.sgml:
343 * docs/gst/gstreamer-sections.txt:
344 * docs/gst/tmpl/.cvsignore:
345 * docs/gst/tmpl/gstelementdetails.sgml:
346 * docs/gst/tmpl/gstelementfactory.sgml:
349 * gst/gstelementfactory.c:
350 * gst/gstelementfactory.h:
351 merged elementdetails docs into elementfactory docs
354 2005-09-02 Andy Wingo <wingo@pobox.com>
356 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
357 consider this enum an enum and not a flags.
359 2005-09-02 Stefan Kost <ensonic@users.sf.net>
361 * docs/gst/gstreamer-docs.sgml:
362 * docs/gst/tmpl/.cvsignore:
363 * docs/gst/tmpl/gstghostpad.sgml:
364 * docs/gst/tmpl/gstiterator.sgml:
365 * docs/gst/tmpl/gstmacros.sgml:
366 * docs/gst/tmpl/gstrealpad.sgml:
367 * docs/gst/tmpl/gstregistry.sgml:
368 * docs/gst/tmpl/gstregistrypool.sgml:
369 * docs/gst/tmpl/gststructure.sgml:
370 * docs/gst/tmpl/gstsystemclock.sgml:
371 * docs/gst/tmpl/gsttrace.sgml:
378 * gst/gstregistrypool.c:
379 * gst/gststructure.c:
380 * gst/gstsystemclock.c:
383 2005-09-02 Andy Wingo <wingo@pobox.com>
385 * gst/gstelement.h (GstState): Renamed from GstElementState,
386 changed to be a normal enum instead of flags.
387 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
388 munged to be GST_STATE_CHANGE_*.
389 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
390 work with the new state representation.
391 (GstStateChange): New enumeration of possible state transitions.
392 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
393 (GstElementClass::change_state): Pass the GstStateChange along as
394 an argument. Helps language bindings, so they don't have to use
395 tricky lock-needing macros like GST_STATE_CHANGE ().
397 * scripts/update-states (file): New script. Run it on a file to
398 update it for state naming and API changes. Updates files in
401 * All files updated for the new API.
403 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
405 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
406 * gst/gstutils.c: (gst_util_set_value_from_string),
407 (gst_util_set_object_arg):
408 fix a bunch of unchecked return values
409 * tools/gst-complete.c: (main):
413 2005-09-01 Wim Taymans <wim@fluendo.com>
415 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
416 (gst_base_sink_event), (gst_base_sink_do_sync),
417 (gst_base_sink_handle_event):
418 * gst/base/gstbasesink.h:
419 Handle newsegments more correctly.
424 * gst/gstevent.c: (gst_event_new_newsegment):
425 A newsegment cannot have a start_time of -1
427 2005-09-01 Tim-Philipp M??ller <tim at centricular dot net>
429 * win32/gstenumtypes.c:
430 * win32/gstenumtypes.h:
433 2005-08-31 Stefan Kost <ensonic@users.sf.net>
435 * libs/gst/controller/gst-controller.c:
436 (gst_controlled_property_set_interpolation_mode),
437 (gst_controlled_property_new):
440 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
442 * docs/faq/gst-uninstalled:
447 * gst/gstutils.c: (gst_element_link_filtered):
449 add gst_element_link_filtered
451 2005-08-31 Stefan Kost <ensonic@users.sf.net>
453 * docs/gst/gstreamer-docs.sgml:
454 * docs/gst/gstreamer-sections.txt:
455 * docs/gst/tmpl/.cvsignore:
456 * docs/gst/tmpl/gsterror.sgml:
457 * docs/gst/tmpl/gstfilter.sgml:
458 * docs/gst/tmpl/gsturihandler.sgml:
459 * docs/gst/tmpl/gsturitype.sgml:
460 * docs/gst/tmpl/gstutils.sgml:
461 * docs/gst/tmpl/gstxml.sgml:
469 inlined more docs, fixed double id-ref
471 2005-08-31 Wim Taymans <wim@fluendo.com>
473 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
474 (gst_base_transform_handle_buffer):
475 Passthrough elements don't need the caps as they don't care.
477 2005-08-31 Wim Taymans <wim@fluendo.com>
479 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
480 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
481 Don't leak refcounts on buffers.
483 2005-08-31 Wim Taymans <wim@fluendo.com>
485 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
486 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
487 (gst_base_transform_chain), (gst_base_transform_change_state):
488 * gst/base/gstbasetransform.h:
489 Handle the case where we are not negotiated more gracefully.
491 2005-08-31 Tim-Philipp M??ller <tim at centricular dot net>
493 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
494 (gst_file_src_map_region):
495 Set READONLY flag on mmap'ed buffers, otherwise
496 gst_buffer_make_writable() won't work properly (#314708).
498 2005-08-31 Wim Taymans <wim@fluendo.com>
500 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
501 passthrough elements can even do inplace on non writable
502 buffers (as they don't touch them).
504 2005-08-31 Stefan Kost <ensonic@users.sf.net>
506 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
507 (gst_test_mono_source_set_property),
508 (gst_test_mono_source_class_init), (GST_START_TEST),
509 (gst_controller_suite):
510 more tests (hehe I have the most)
512 describe popping messages whenusing mulltiple sources
513 * libs/gst/controller/gst-controller.c:
514 (gst_controlled_property_set_interpolation_mode),
515 (gst_controlled_property_new):
516 * libs/gst/controller/gst-controller.h:
517 * libs/gst/controller/gst-interpolation.c:
518 implement boolean properties
520 2005-08-31 Wim Taymans <wim@fluendo.com>
522 * gst/gstminiobject.c: (gst_mini_object_ref):
523 Cannot assert that the refcount has to be positive
524 since a disposed object can be resurrected.
526 2005-08-31 Wim Taymans <wim@fluendo.com>
528 * gst/gstpad.c: (gst_pad_init):
529 Revert change, need to first fix badly behaving
532 2005-08-30 Wim Taymans <wim@fluendo.com>
534 * check/elements/fakesrc.c: (setup_fakesrc):
535 * check/elements/identity.c: (setup_identity):
536 Activate pads before using them.
538 2005-08-30 Wim Taymans <wim@fluendo.com>
540 * gst/base/gstadapter.c: (gst_adapter_flush):
541 Flushing out 0 bytes is ok for this function.
543 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
544 no newsegment gives a warning and sets the start/stop to
547 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
548 (gst_base_transform_set_passthrough):
551 * gst/gstminiobject.c: (gst_mini_object_ref):
552 Check refcount here too.
554 * gst/gstpad.c: (gst_pad_init):
555 Pads are initially flushing and refusing data.
557 * gst/gstutils.c: (gst_element_link_pads_filtered):
558 When adding a capsfilter element make sure it has the
559 same state as the parent bin.
561 2005-08-30 Stefan Kost <ensonic@users.sf.net>
563 * docs/gst/tmpl/.cvsignore:
564 * docs/gst/tmpl/gstformat.sgml:
565 * docs/gst/tmpl/gstversion.sgml:
569 * gst/gstversion.h.in:
570 more docs and two more inlined
572 2005-08-30 Wim Taymans <wim@fluendo.com>
574 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
577 2005-08-30 Stefan Kost <ensonic@users.sf.net>
579 * docs/gst/gstreamer-sections.txt:
580 ultral33t func10ns deserve to appear in the docs actually
581 * docs/gst/tmpl/.cvsignore:
582 * docs/gst/tmpl/gstcompat.sgml:
583 * docs/gst/tmpl/gstconfig.sgml:
584 * gst/check/gstcheck.c:
586 * gst/gstconfig.h.in:
589 2005-08-30 Stefan Kost <ensonic@users.sf.net>
591 * docs/gst/tmpl/.cvsignore:
592 * docs/gst/tmpl/gstquery.sgml:
593 * docs/gst/tmpl/gstutils.sgml:
596 inlined and extended docs
598 2005-08-30 Stefan Kost <ensonic@users.sf.net>
600 * check/gst-libs/controller.c: (GST_START_TEST),
601 (gst_controller_suite):
603 * docs/gst/tmpl/gstutils.sgml:
604 * docs/libs/gstreamer-libs-sections.txt:
605 * docs/libs/tmpl/gstdataprotocol.sgml:
607 * examples/controller/audio-example.c: (main):
608 controller example works now
611 * tools/gst-inspect.c: (print_element_properties_info):
612 show param spec flags
614 2005-08-29 Andy Wingo <wingo@pobox.com>
616 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
618 2005-08-28 Andy Wingo <wingo@pobox.com>
620 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
621 as having two arguments instead of just one. Allows superclasses
622 to access information on subclasses -- see the terrible for() loop
623 in gtype.c:g_type_create_instance for the reason why. All callers
626 2005-08-27 Stefan Kost <ensonic@users.sf.net>
628 * docs/design/part-messages.txt:
630 * docs/gst/tmpl/.cvsignore:
631 * docs/gst/tmpl/gstcaps.sgml:
632 * docs/gst/tmpl/gstclock.sgml:
639 added descriptions for bus and message
640 inline caps and clock docs
642 2005-08-27 Stefan Kost <ensonic@users.sf.net>
648 2005-08-27 Stefan Kost <ensonic@users.sf.net>
650 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
653 2005-08-26 Andy Wingo <wingo@pobox.com>
655 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
656 element_set_state's return val.
657 (test_2_elements): Add test that's been disabled for months.
659 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
660 can-activate-pull properties.
662 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
663 can-activate-pull properties. Implement is_seekable so fakesrc can
664 operate in pull mode.
666 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
668 (gst_base_sink_activate, gst_base_sink_activate_pull)
669 (gst_base_sink_activate_push): Make activation mode choosing work.
671 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
672 is right. Make pull mode work. Post an eos before pausing in pull
674 (gst_base_sink_change_state): Pay attention to the core's
675 change_state() return val.
677 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
678 has-getrange properties. Cleanups.
680 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
681 has_getrange and replace with can_activate_pull and
684 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
685 locking comments. Remove has_loop, has_chain and replace with
686 can_activate_pull and can_activate_push.
688 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
691 * examples/Makefile.am:
692 * examples/metadata/Makefile.am:
693 * examples/metadata/read-metadata.c: (message_loop),
694 (have_pad_handler), (make_pipeline), (print_tag), (main):
695 Add metadata reading example that loops over a list of filenames,
696 dumping any tags found.
698 * gst/gstbus.c: (gst_bus_dispose):
699 * gst/gstelement.c: (gst_element_dispose):
700 Release a few potentially-held references in dispose.
702 2005-08-26 Stefan Kost <ensonic@users.sf.net>
704 * docs/gst/tmpl/gstminiobject.sgml:
705 do *not* add tmpl/*.sgml files to CVS!
707 2005-08-26 Stefan Kost <ensonic@users.sf.net>
709 * libs/gst/bytestream/.cvsignore:
710 * libs/gst/bytestream/Makefile.am:
711 * libs/gst/bytestream/adapter.c:
712 * libs/gst/bytestream/adapter.h:
713 * libs/gst/bytestream/bytestream.c:
714 * libs/gst/bytestream/bytestream.h:
715 * libs/gst/bytestream/filepad.c:
716 * libs/gst/bytestream/filepad.h:
717 removing obsolete files
719 2005-08-26 Stefan Kost <ensonic@users.sf.net>
721 * docs/gst/gstreamer-docs.sgml:
722 * docs/libs/gstreamer-libs-docs.sgml:
723 disabed additional index entries again, as this makes docs-gen just
724 slow and they aren't useful yet
725 * docs/libs/gstreamer-libs-sections.txt:
726 little -section.txt cleanup for libs
728 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
730 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
731 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
732 fix up some debugging
733 (gst_base_transform_get_unit_size),
734 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
735 (gst_base_transform_handle_buffer):
736 * gst/base/gstbasetransform.h:
737 handle and store timed NEWSEGMENT events so that subclasses that
738 calculate time by counting samples have a segment_start time they
739 need to add to their timestamps - see audioresample
741 2005-08-26 Stefan Kost <ensonic@users.sf.net>
744 removed ';' from the end of macro defs
745 * docs/gst/gstreamer-docs.sgml:
746 * docs/gst/gstreamer-sections.txt:
747 * docs/gst/tmpl/.cvsignore:
749 * gst/gstelement.c: (gst_element_class_init),
750 (gst_element_set_state), (activate_pads),
751 (gst_element_save_thyself):
752 * gst/gstevent.c: (gst_event_new_newsegment):
758 * gst/gstutils.c: (gst_pad_query_convert):
760 fixed parameter name mismatches between source, header and docs
761 added some more docs, resolved the last batch of unused elements in
762 docs (now someone needs to doc them)
764 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
766 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
767 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
768 don't walk through the plugins backwards. Where is all this
769 reversed logic coming from ?
771 2005-08-25 Wim Taymans <wim@fluendo.com>
773 * gst/base/gstbasetransform.c: (gst_base_transform_init),
774 (gst_base_transform_transform_size),
775 (gst_base_transform_configure_caps),
776 (gst_base_transform_get_unit_size),
777 (gst_base_transform_buffer_alloc),
778 (gst_base_transform_change_state):
779 * gst/base/gstbasetransform.h:
780 Cache caps unit_size.
781 Make sure we cannot negotiate up and downstream at the
784 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
786 * gst/gst.c: (init_pre), (init_post):
787 register the installed plugin path after the env var
788 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
789 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
790 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
791 directories, so the tests can prefer uninstalled over installed
793 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
795 * gst/base/gstbasetransform.h:
800 2005-08-25 Wim Taymans <wim@fluendo.com>
802 * gst/gstbin.c: (bin_bus_handler):
803 Be a bit more conservative about the posted message.
805 * gst/gstbus.c: (gst_bus_post):
806 Some cleanups, warn wrong return values.
808 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
810 * check/gst/gstbin.c: (GST_START_TEST):
811 * gst/gstbin.c: (bin_bus_handler):
812 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
813 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
814 (gst_message_new_warning), (gst_message_new_tag),
815 (gst_message_new_state_changed), (gst_message_new_segment_start),
816 (gst_message_new_segment_done), (gst_message_new_custom):
818 * tools/gst-launch.c: (event_loop):
819 * tools/gst-md5sum.c: (event_loop):
820 Revert unpopular change for GST_MESSAGE_SRC to GObject.
822 2005-08-25 Wim Taymans <wim@fluendo.com>
824 * check/generic/states.c: (GST_START_TEST):
825 Cleanup can be done at the end.
827 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
828 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
829 (gst_task_get_state), (gst_task_start), (gst_task_pause):
830 Oh boy.. Thanks for finding this, Thomas.
832 2005-08-25 Stefan Kost <ensonic@users.sf.net>
834 * docs/gst/gstreamer.types:
837 2005-08-25 Stefan Kost <ensonic@users.sf.net>
839 * docs/gst/gstreamer-docs.sgml:
840 * docs/gst/gstreamer-sections.txt:
841 * docs/gst/tmpl/.cvsignore:
845 * gst/registries/gstxmlregistry.h:
846 added missing classes and symbols (123 more to go)
847 removed removed symbols from section file
848 fixed many doc-comments
850 2005-08-24 Wim Taymans <wim@fluendo.com>
852 * check/generic/states.c: (GST_START_TEST):
853 Make sure all tasks are stopped.
855 * check/gst/gstbin.c: (GST_START_TEST):
856 Unref after usage for proper valgrinding.
858 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
859 Really wait for the task to stop before destroying the
862 * gst/gstqueue.c: (gst_queue_sink_activate_push),
863 (gst_queue_src_activate_push):
864 Small cleanups. Don't stop the task when we did not start
867 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
868 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
869 (gst_task_get_state), (gst_task_start), (gst_task_pause),
872 Protect the stream lock with the object lock.
873 Disallow setting the stream lock when running.
874 Add cleanup_all to wait for the threadpool to finish.
875 Remove code to autoallocate a mutex if none was provided.
876 Add _join() to wait for a task to stop.
877 Protect the thread pool with a global lock.
879 2005-08-24 Wim Taymans <wim@fluendo.com>
881 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
882 (gst_base_sink_get_times), (gst_base_sink_do_sync),
883 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
884 * gst/base/gstbasesink.h:
885 Handle newsegment events correctly.
886 Drop buffers out of the segment range.
888 2005-08-22 Andy Wingo <wingo@pobox.com>
890 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
891 macro, implements an interface and gstimplementsinterface for a
894 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
897 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
898 add a test that does a bunch of state changes on elements
899 needs some fixing for valgrind
900 * check/states/sinks.c: (gst_object_suite):
903 add prototype for gst_caps_is_equal_fixed
905 * gst/gstregistrypool.c:
908 2005-08-24 Andy Wingo <wingo@pobox.com>
910 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
911 convert a negative value. Doesn't make much sense. Mostly this is
912 here to force callers to ensure -1 maps to -1.
914 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
916 * docs/pwg/advanced-types.xml:
917 Well done to Michael for catching my deliberate introduction
918 of this spelling mistake.
919 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
921 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
922 unlink pads before removing the element from the bin.
924 2005-08-24 Andy Wingo <wingo@pobox.com>
926 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
927 the same thing as GST_DEBUG=*:4.
928 (parse_debug_level, parse_debug_category): New helper parsers.
930 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
932 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
933 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
934 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
935 (gst_base_transform_buffer_alloc),
936 (gst_base_transform_handle_buffer):
937 use gboolean return values and pointers to size so we can use the
938 full GST_BUFFER_SIZE range (guint) for buffer sizes
939 use GstPadDirection for transform_caps
940 * gst/base/gstbasetransform.h:
941 rename get_size to get_unit_size since that's what it is
942 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
943 use GstPadDirection for transform_caps
944 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
946 cleanup and debugging
948 2005-08-24 Stefan Kost <ensonic@users.sf.net>
950 * gst/gstelement.c: (gst_element_class_init),
951 (gst_element_set_state), (activate_pads),
952 (gst_element_save_thyself):
953 * tools/gst-compprep.c: (main):
954 * tools/gst-inspect.c: (print_element_properties_info):
955 * tools/gst-xmlinspect.c: (print_element_properties):
956 Fixed long standing mem-leak
958 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
960 * check/gst/gstbin.c: (GST_START_TEST):
961 * gst/gstbin.c: (bin_bus_handler):
962 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
963 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
964 (gst_message_new_warning), (gst_message_new_tag),
965 (gst_message_new_state_changed), (gst_message_new_segment_start),
966 (gst_message_new_segment_done), (gst_message_new_custom):
968 * tools/gst-launch.c: (event_loop):
969 * tools/gst-md5sum.c: (event_loop):
970 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
971 that applications can sensibly post custom messages with references
972 to their own objects.
974 2005-08-24 Andy Wingo <wingo@pobox.com>
976 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
979 2005-08-24 Wim Taymans <wim@fluendo.com>
981 * gst/base/gstbasetransform.c: (gst_base_transform_init),
982 (gst_base_transform_transform_caps),
983 (gst_base_transform_transform_size),
984 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
985 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
986 (gst_base_transform_handle_buffer):
987 * gst/base/gstbasetransform.h:
988 Many fixes and new features added by Thomas. Can now also do
989 transforms with variable sizes and a custom fixate_caps function.
991 2005-08-24 Wim Taymans <wim@fluendo.com>
993 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
997 Cast to ClockTime before formatting to time.
1002 2005-08-24 Stefan Kost <ensonic@users.sf.net>
1004 * check/gst-libs/controller.c: (GST_START_TEST),
1005 (gst_controller_suite):
1006 * docs/gst/tmpl/gstcaps.sgml:
1007 * docs/gst/tmpl/gstghostpad.sgml:
1008 * docs/gst/tmpl/gstquery.sgml:
1009 * docs/gst/tmpl/gstutils.sgml:
1010 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
1011 (gst_object_sink_values), (gst_object_get_value_arrays),
1012 (gst_object_get_value_array):
1013 gracefully handle helper method calls to objects that are not beeing
1014 controlled, added test case for that
1016 2005-08-23 Wim Taymans <wim@fluendo.com>
1018 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
1019 (gst_event_new_newsegment), (gst_event_parse_newsegment),
1020 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
1021 (gst_event_parse_qos), (gst_event_new_seek),
1022 (gst_event_parse_seek):
1024 Some more debugging output and doc cleanups.
1026 * gst/gstqueue.c: (gst_queue_handle_sink_event):
1027 Fix possible deadlock.
1029 2005-08-23 Stefan Kost <ensonic@users.sf.net>
1031 * docs/gst/gstreamer-docs.sgml:
1032 * docs/gst/gstreamer-sections.txt:
1033 * docs/gst/gstreamer.types:
1034 * docs/gst/tmpl/.cvsignore:
1039 added 100 symbols from gstreamer-unused.txt to the right sections
1040 fixed more broken comments
1041 added GstBus to docs
1043 2005-08-23 Stefan Kost <ensonic@users.sf.net>
1045 * docs/gst/gstreamer-sections.txt:
1046 * docs/gst/tmpl/.cvsignore:
1047 * docs/gst/tmpl/gstbin.sgml:
1048 * docs/gst/tmpl/gstbuffer.sgml:
1049 * gst/base/gstbasesrc.c:
1050 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
1053 * tools/gst-launch.1.in:
1054 inlined more doc comments, added missing comments and fixed comments
1057 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
1059 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
1063 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
1065 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
1066 * gst/gststructure.h:
1067 add a fixate function for booleans; add a FIXME that these func
1068 names should probably be gst_structure_fixate_*
1070 2005-08-23 Stefan Kost <ensonic@users.sf.net>
1072 * docs/gst/gstreamer-docs.sgml:
1073 * docs/gst/gstreamer-sections.txt:
1075 * gst/gstbin.c: (gst_bin_get_type),
1076 (gst_bin_child_proxy_get_child_by_index),
1077 (gst_bin_child_proxy_get_children_count),
1078 (gst_bin_child_proxy_init):
1079 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
1080 (gst_child_proxy_get_child_by_index),
1081 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
1082 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
1083 (gst_child_proxy_get), (gst_child_proxy_set_property),
1084 (gst_child_proxy_set_valist), (gst_child_proxy_set),
1085 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
1086 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
1087 * gst/gstchildproxy.h:
1088 * gst/parse/grammar.y:
1089 * tools/gst-inspect.c: (print_interfaces),
1090 (print_element_properties_info), (print_element_info):
1091 ported gstchildproxy over from 0.8
1092 ported gst-inspect fixes and enhancements over from 0.8
1094 2005-08-22 Wim Taymans <wim@fluendo.com>
1096 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
1097 (gst_base_transform_handle_buffer):
1098 Also call the transform function if we have ANY caps.
1100 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
1103 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
1105 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
1106 Don't pretend to handle seek events if the source is not seekable
1108 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
1110 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1111 Remove extra parameter to debug output
1113 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
1114 (gst_base_src_do_seek), (gst_base_src_activate_push):
1115 Fix seek event handling.
1117 * gst/gstpipeline.c: (gst_pipeline_change_state):
1118 * gst/gstqueue.c: (gst_queue_handle_sink_event),
1119 (gst_queue_src_activate_push):
1120 Don't start the src pad task on FLUSH_STOP if the pad
1124 2005-08-22 Wim Taymans <wim@fluendo.com>
1126 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1127 Added check for gst_static_caps_get() refcounting.
1129 2005-08-22 Wim Taymans <wim@fluendo.com>
1131 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
1132 Make _static_caps_get() refcounting sane.
1134 * gst/gstelement.c: (gst_element_set_state):
1135 Add g_return_val_if_fail() to protect against segfaults.
1137 2005-08-22 Stefan Kost <ensonic@users.sf.net>
1139 * docs/gst/tmpl/gstevent.sgml:
1142 inlined remaining docs, added missing doc comments
1144 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
1146 * check/gst/gstbin.c: (GST_START_TEST):
1147 since we don't know when preroll is done, use refcount range
1149 * gst/check/gstcheck.h:
1150 add macro for checking refcount range
1152 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
1154 * check/Makefile.am:
1155 clean up environment for when registry gets built versus
1156 when actual tests are run; valgrind seems to not report
1157 leaks if GST_PLUGIN_PATH is set to some specific values
1158 * check/gst/gstbin.c: (GST_START_TEST):
1159 add more refcounting checks; maybe this exposes a
1162 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1163 * gst/check/gstcheck.h:
1164 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
1165 (gst_bin_change_state):
1166 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
1167 add/fix debugging/whitespace
1169 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
1171 * check/gst/gstevent.c: (event_probe), (test_event),
1173 Er, don't call gst_bin_watch_for_state_change you idiot.
1175 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
1177 * check/Makefile.am:
1178 Use CHECK_CFLAGS and CHECK_LIBS
1179 * check/gst/gstevent.c: (event_probe), (test_event),
1182 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
1183 (gst_base_src_start), (gst_base_src_stop),
1184 (gst_base_src_activate_push), (gst_base_src_activate_pull),
1185 (gst_base_src_change_state):
1186 Sprinkle gst_base_src_stop liberally around error paths to fix
1187 problems reusing a source after failed state changes.
1188 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1189 (helper_find_suggest), (gst_type_find_helper):
1190 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
1192 * docs/gst/tmpl/gstevent.sgml:
1193 Migrate part of the docs from the SGML file. Wait for ensonic to
1194 tell me how I did it wrong ;)
1195 * tools/gst-typefind.c: (main):
1196 Extra robustness to state changes between files.
1198 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
1200 * check/Makefile.am:
1201 don't valgrind the controller test - it's leaking - Stefan, HELP
1202 * gst/check/gstcheck.c: (gst_check_message_error),
1203 (gst_check_chain_func), (gst_check_setup_element),
1204 (gst_check_teardown_element), (gst_check_setup_src_pad),
1205 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1206 (gst_check_teardown_sink_pad):
1207 * gst/check/gstcheck.h:
1208 add a bunch of methods to set up elements, and src and sink pads
1209 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
1210 * check/elements/identity.c: (setup_identity), (cleanup_identity),
1215 whitespace/doc fixes
1217 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
1220 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
1221 be handled by the application and not always printed as well
1223 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
1225 * check/Makefile.am:
1227 * gst/check/gstcheck.c: (gst_check_message_error):
1228 * gst/check/gstcheck.h:
1229 add a fail_unless_equals_int
1230 add fail_unless for error messages
1232 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
1234 * check/Makefile.am:
1236 * common/Makefile.am:
1239 factor out some of the common stuff so we can use it
1241 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
1243 * check/Makefile.am:
1244 * check/gst/gstiterator.c: (GST_START_TEST):
1245 * check/gst/gstsystemclock.c: (GST_START_TEST),
1246 (gst_systemclock_suite):
1247 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
1251 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
1253 * check/elements/.cvsignore:
1254 * check/elements/gstfakesrc.c:
1255 rename to name of element
1256 * check/elements/identity.c: (chain_func), (event_func),
1257 (setup_identity), (cleanup_identity), (GST_START_TEST),
1258 (identity_suite), (main):
1259 add a test for identity
1260 * check/Makefile.am:
1261 * pkgconfig/Makefile.am:
1262 * pkgconfig/gstreamer-check.pc.in:
1263 * pkgconfig/gstreamer-check-uninstalled.pc.in:
1267 move the check stuff to a library that gets installed
1268 * check/gst-libs/controller.c: (GST_START_TEST):
1269 * check/gst-libs/gdp.c:
1270 * check/gst/gst.c: (GST_START_TEST):
1271 * check/gst/gstbin.c:
1272 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
1273 * check/gst/gstbus.c:
1274 * check/gst/gstcaps.c: (GST_START_TEST):
1275 * check/gst/gstelement.c:
1276 * check/gst/gstghostpad.c:
1277 * check/gst/gstiterator.c:
1278 * check/gst/gstmessage.c:
1279 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
1280 * check/gst/gstobject.c:
1281 * check/gst/gstpad.c: (GST_START_TEST):
1282 * check/gst/gststructure.c: (GST_START_TEST):
1283 * check/gst/gstsystemclock.c: (GST_START_TEST),
1284 (gst_systemclock_suite):
1285 * check/gst/gsttag.c: (gst_tag_suite):
1286 * check/gst/gstvalue.c:
1287 * check/pipelines/cleanup.c:
1288 * check/pipelines/simple_launch_lines.c:
1289 * check/states/sinks.c:
1290 change include statement
1292 * docs/gst/gstreamer-sections.txt:
1293 * docs/gst/tmpl/gstpad.sgml:
1294 document more pad stuff
1295 * gst/gstminiobject.c: (gst_mini_object_ref),
1296 (gst_mini_object_unref):
1299 2005-08-19 Stefan Kost <ensonic@users.sf.net>
1301 * docs/gst/tmpl/gst.sgml:
1303 eliminate another tmpl file, fix spelling in the long-description
1305 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
1307 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
1308 (test_event), (timediff), (gstevents_suite):
1309 Should fix build on 64-bit arch's
1311 2005-08-18 Andy Wingo <wingo@pobox.com>
1313 Make sure that when a pipeline goes to PLAYING, that data has
1314 actually hit the sink.
1316 * check/states/sinks.c (test_sink): A sink that doesn't get any
1317 data shouldn't return SUCCESS for going to either PLAYING or
1318 PAUSED. Test also the return values on the way back down.
1320 * gst/gstelement.c (gst_element_set_state): When changing the
1321 state of an element currently changing state asynchronously, go to
1322 lost-state after commiting the pending state. Makes future calls
1323 to get_state continue to return ASYNC.
1325 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
1326 ASYNC when going to PLAYING if we still don't have preroll, as can
1327 happen with live sources.
1329 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
1331 * docs/pwg/advanced-types.xml:
1332 Hack long paragraph into 2 chunks as a workaround for buggy
1333 jadetex version in sid and breezy that loops infinitely and
1336 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
1338 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
1339 (test_event), (timediff), (gstevents_suite):
1340 Provide more error margin in clock measurements to allow for
1341 g_get_current_time inaccuracies.
1343 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
1345 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
1346 (test_event), (timediff), (gstevents_suite):
1347 Fix error message output so I might be able to tell why the
1348 test works here but fails on the build farm.
1350 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
1352 * check/Makefile.am:
1353 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
1354 (test_event), (timediff), (gstevents_suite), (main):
1357 * docs/design/part-seeking.txt:
1360 * docs/gst/tmpl/gstevent.sgml:
1361 * docs/gst/tmpl/gstfakesrc.sgml:
1364 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1365 Treat a buffer-without-newsegment the same as a receiving
1366 a newsegment not in time format, and disable syncing to the clock
1369 * gst/gstbus.c: (gst_bus_set_sync_handler):
1370 Assert if anyone tries to replace the existing sync_handler for bus,
1371 as only the owner should be setting it.
1374 Have a fixed set of custom event enums with events identified by
1375 their structure name (as in 0.8), rather than a free-for-all
1376 allowing collisions between enum values from different plugins.
1378 * gst/gstpad.c: (gst_pad_class_init):
1381 * gst/gstqueue.c: (gst_queue_handle_sink_event):
1382 Handle out-of-band downstream events from the sending thread.
1384 2005-08-17 Andy Wingo <wingo@pobox.com>
1386 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
1387 play-timeout==0 to mean no timeout at all. In that case, don't
1388 bother with a get_state or a warning, just return directly, even
1391 * gst/base/gstbasetransform.c: Debug changes.
1394 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
1395 ensure bins post state change messages. A bit of a hack but I can't
1396 think of a way to avoid it.
1398 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
1400 2005-08-16 Andy Wingo <wingo@pobox.com>
1402 * gst/base/gstadapter.h:
1403 * gst/base/gstadapter.c (gst_adapter_take): New function, like
1404 peek() but you own the data. Not terribly efficient atm.
1406 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1408 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
1409 (gst_element_found_tags):
1411 Add two utility functions for tag handling.
1413 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1415 * docs/manual/advanced-dataaccess.xml:
1416 * docs/manual/basics-helloworld.xml:
1417 Fix docs to use _bin_add() before _link(), which fixes the examples
1418 with recent core versions (reported by Madhan Raj M
1419 <raj_madan@rediffmail.com>, #313199).
1421 2005-08-16 Wim Taymans <wim@fluendo.com>
1423 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1424 Added subtract checks.
1426 * docs/design/part-events.txt:
1427 Some more docs about newsegment
1429 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
1432 * gst/gstcaps.c: (gst_caps_to_string):
1433 Add comments, cleanups.
1435 * gst/gstelement.c: (gst_element_save_thyself):
1438 * gst/gstvalue.c: (gst_value_collect_int_range),
1439 (gst_string_unwrap), (gst_value_union_int_int_range),
1440 (gst_value_union_int_range_int_range),
1441 (gst_value_intersect_int_int_range),
1442 (gst_value_intersect_int_range_int_range),
1443 (gst_value_intersect_double_double_range),
1444 (gst_value_intersect_double_range_double_range),
1445 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
1446 (gst_value_subtract_int_range_int),
1447 (gst_value_subtract_double_range_double),
1448 (gst_value_subtract_double_range_double_range),
1449 (gst_value_subtract_from_list), (gst_value_subtract_list),
1450 (gst_value_can_compare), (gst_value_compare_fraction):
1451 Cleanups, add comments, remove unneeded asserts.
1453 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
1455 * tools/gst-launch.c: (event_loop):
1456 don't convert NULL structures to strings
1458 2005-08-15 Stefan Kost <ensonic@users.sf.net>
1460 * docs/gst/gstreamer-sections.txt:
1461 made some defines private
1462 * docs/gst/tmpl/gstconfig.sgml:
1463 * docs/gst/tmpl/gstqueue.sgml:
1464 * docs/gst/tmpl/gsttaglist.sgml:
1465 * docs/gst/tmpl/gsttypes.sgml:
1466 * docs/gst/tmpl/gstutils.sgml:
1467 * docs/pwg/appendix-porting.xml:
1468 * gst/base/gstbasesink.h:
1469 * gst/base/gstbasesrc.c:
1470 * gst/base/gstbasesrc.h:
1471 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
1472 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
1473 * gst/gstelement.c: (gst_element_class_init):
1474 * gst/gstpad.c: (gst_pad_class_init):
1475 * gst/gstqueue.c: (gst_queue_class_init):
1476 * gst/gstxml.c: (gst_xml_class_init):
1477 documented all undocumented signal inline
1478 * libs/gst/controller/gst-controller.h:
1481 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1483 * docs/pwg/appendix-porting.xml:
1484 Document _set_link_function -> _set_setcaps_function.
1486 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
1488 * check/Makefile.am:
1489 add a .check target for running the check
1490 * check/gst-libs/controller.c: (GST_START_TEST):
1492 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
1493 complete checks for gstbuffer; would be nice if I could get the
1494 gcov stuff to work so I can see if I actually completed gstbuffer.c
1496 add ASSERT_BUFFER_REFCOUNT
1498 2005-08-13 Tim-Philipp M??ller <tim at centricular dot net>
1500 * docs/gst/gstreamer-sections.txt:
1501 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
1503 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
1504 spew out a warning if a tag that is already registered
1505 is re-registered, unless it is re-registered with a
1506 different type (#308438).
1508 2005-08-12 Tim-Philipp M??ller <tim at centricular dot net>
1510 * docs/pwg/appendix-porting.xml:
1511 * docs/pwg/building-state.xml:
1512 Add some paragraphs about state changes in 0.9 to the PWG
1513 and the porting guide, in particular about the new meaning
1514 of GST_STATE_PAUSED and how to write state change functions
1515 with concurrent access by multiple threads in mind.
1517 2005-08-11 Stefan Kost <ensonic@users.sf.net>
1519 * docs/gst/gstreamer-docs.sgml:
1520 * docs/libs/gstreamer-libs-docs.sgml:
1521 added deprecation and since indexes
1522 * libs/gst/controller/gst-controller.c:
1523 * libs/gst/controller/gst-helper.c:
1527 2005-08-11 Wim Taymans <wim@fluendo.com>
1529 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
1530 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
1531 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
1532 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
1533 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
1534 (gst_ghost_pad_set_target):
1535 Actually implement (re)setting the target on a ghostpad
1536 as described in the docs.
1538 2005-08-10 Tim-Philipp M??ller <tim at centricular dot net>
1540 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
1541 Check whether GST_DEBUG_NO_COLOR environment variable is
1542 set and disable coloured debug output if that is the case.
1544 2005-08-10 Tim-Philipp M??ller <tim at centricular dot net>
1546 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1547 (gst_type_find_helper):
1548 The memory returned by gst_type_find_peek() needs to
1549 stay valid until the end of a typefind function, and
1550 typefind functions may keep results from different
1551 offsets around, so we can't just unref the buffer from
1552 the previous _peek(), but have to save all buffers
1553 returned by _peek() until typefinding is done and only
1556 2005-08-09 Tim-Philipp M??ller <tim at centricular dot net>
1558 * docs/gst/gstreamer-sections.txt:
1560 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
1562 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1564 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
1565 Fix a pretty good memleak.
1567 2005-08-08 Tim-Philipp M??ller <tim at centricular dot net>
1569 * gst/gstiterator.h:
1570 Fix wrong include and 'make distcheck'.
1572 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1574 * gst/gstbin.c: (bin_bus_handler):
1575 Use gst_element_post_message() instead.
1577 2005-08-08 Tim-Philipp M??ller <tim at centricular dot net>
1579 * gst/base/gstadapter.h:
1580 * gst/base/gstbasesink.h:
1581 * gst/base/gstbasesrc.h:
1582 * gst/base/gstbasetransform.h:
1583 * gst/base/gstcollectpads.h:
1584 * gst/base/gstpushsrc.h:
1585 * gst/gstiterator.h:
1586 Add padding to our base elements' class and instance structs and
1587 to GstIterator (you will need to rebuild all plugins and apps!)
1589 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1591 * gst/gstbin.c: (bin_bus_handler):
1592 Make default message forwarding from child->bus to bin->bus
1593 threadsafe and make it not emit warnings if the parent has no bus.
1595 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1597 * gst/gstelement.c: (activate_pads):
1598 On paused->ready, set pad->caps to NULL, as is the documented
1599 behaviour in this state change. Fixes playback of series of
1600 media files when visualization is enabled in Totem.
1602 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1604 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
1605 Allow NULL as filter-caps (which means "any").
1607 2005-08-05 Stefan Kost <ensonic@users.sf.net>
1609 * docs/libs/gstreamer-libs-sections.txt:
1610 * libs/gst/controller/gst-controller.c:
1611 * libs/gst/controller/gst-controller.h:
1612 * libs/gst/controller/gst-helper.c:
1613 adding more entries to the docs and fix small doc-bugs
1615 2005-08-05 Stefan Kost <ensonic@users.sf.net>
1617 * docs/gst/gstreamer-docs.sgml:
1618 * docs/gst/gstreamer-sections.txt:
1619 * docs/gst/gstreamer.types:
1620 * docs/gst/tmpl/gstbasesink.sgml:
1621 * docs/gst/tmpl/gstbasesrc.sgml:
1622 * docs/gst/tmpl/gstbasetransform.sgml:
1623 * docs/gst/tmpl/gstfakesrc.sgml:
1624 * gst/base/gstcollectpads.c:
1625 * gst/base/gstcollectpads.h:
1626 * libs/gst/controller/gst-controller.c:
1627 * libs/gst/controller/gst-controller.h:
1628 * libs/gst/controller/gst-helper.c:
1629 * libs/gst/controller/gst-interpolation.c:
1630 * libs/gst/controller/lib.c:
1631 added long/short desc for controller docs
1632 added collectpads base class docs
1633 added correct includes to base-class docs
1635 2005-08-05 Stefan Kost <ensonic@users.sf.net>
1637 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
1638 (gst_test_mono_source_set_property),
1639 (gst_test_mono_source_class_init), (GST_START_TEST),
1640 (gst_controller_suite):
1641 * docs/gst/gstreamer-docs.sgml:
1642 * docs/gst/gstreamer-sections.txt:
1643 * docs/gst/gstreamer.types:
1644 * docs/libs/gstreamer-libs-docs.sgml:
1645 * docs/libs/gstreamer-libs-sections.txt:
1646 * gst/base/gstadapter.c:
1647 * libs/gst/controller/gst-controller.c:
1648 (gst_controlled_property_new), (gst_controlled_property_free),
1649 (gst_controller_new_valist),
1650 (gst_controller_remove_properties_valist),
1651 (gst_controller_sink_values), (_gst_controller_finalize):
1652 * libs/gst/controller/gst-controller.h:
1653 * libs/gst/controller/gst-helper.c:
1654 (gst_object_control_properties), (gst_object_uncontrol_properties),
1655 (gst_object_get_controller), (gst_object_set_controller),
1656 (gst_object_sink_values), (gst_object_get_value_arrays),
1657 (gst_object_get_value_array):
1658 more tests (and fixes) for the controller
1659 more docs for the controller
1660 integrated companies docs for the adapter
1662 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
1664 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
1665 (GST_START_TEST), (fakesrc_suite):
1666 add tests for sizetype
1668 2005-08-04 Andy Wingo <wingo@pobox.com>
1670 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
1671 fixes buffer_alloc proxying among other things.
1673 * gst/base/gstbasetransform.c:
1674 * gst/base/gstbasetransform.h:
1675 Revert patch to gstbasetransform from 7-28 removing
1678 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
1679 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
1680 Semantics changed, should return not the size of the output buffer
1681 but the byte size of a buffer with a given caps.
1683 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
1685 (gst_base_transform_configure_caps): Don't set out_size here: (in,
1686 out) are not the pad caps until setcaps finishes.
1687 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
1688 not-in-place case as well. Deal with changing from in-place to
1689 not-in-place within calling pad_alloc_buffer. Still a bit
1690 concerned about the overhead here...
1692 2005-08-03 Andy Wingo <wingo@pobox.com>
1694 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
1695 fixating is an error.
1697 2005-08-04 Edward Hervey <edward@fluendo.com>
1699 * gst/base/gstadapter.h:
1700 Added gst_adapter_get_type() to the header
1702 2005-08-03 Stefan Kost <ensonic@users.sf.net>
1704 * check/Makefile.am:
1705 * check/gst-libs/controller.c:
1706 * libs/gst/controller/gst-controller.c:
1707 (gst_controller_new_valist):
1708 added check test suite for the controller
1709 * gst/base/gstpushsrc.c:
1712 2005-08-03 Stefan Kost <ensonic@users.sf.net>
1714 * docs/gst/Makefile.am:
1715 * docs/gst/gstreamer-docs.sgml:
1716 * docs/gst/gstreamer-sections.txt:
1717 * docs/gst/gstreamer.types:
1718 * docs/gst/tmpl/gstfakesrc.sgml:
1720 * gst/base/gstbasesink.c:
1721 * gst/base/gstbasesink.h:
1722 * gst/base/gstbasesrc.c:
1723 * gst/base/gstbasesrc.h:
1724 * gst/base/gstbasetransform.c:
1725 * gst/base/gstpushsrc.c:
1726 * gst/base/gstpushsrc.h:
1727 add short/long description docs to base classes
1728 add pushsrc to the docs
1729 remove consolidated doc fragments
1731 2005-08-03 Stefan Kost <ensonic@users.sf.net>
1734 * docs/libs/Makefile.am:
1735 * docs/libs/gstreamer-libs-docs.sgml:
1736 * docs/libs/gstreamer-libs-sections.txt:
1737 * docs/libs/gstreamer-libs.types:
1738 * examples/Makefile.am:
1739 * examples/controller/.cvsignore:
1740 * examples/controller/Makefile.am:
1741 * examples/controller/audio-example.c: (main):
1742 * libs/gst/Makefile.am:
1743 * libs/gst/controller/.cvsignore:
1744 * libs/gst/controller/Makefile.am:
1745 * libs/gst/controller/gst-controller.c:
1746 (on_object_controlled_property_changed), (gst_timed_value_compare),
1747 (gst_timed_value_find),
1748 (gst_controlled_property_set_interpolation_mode),
1749 (gst_controlled_property_new), (gst_controlled_property_free),
1750 (gst_controller_find_controlled_property),
1751 (gst_controller_new_valist), (gst_controller_new),
1752 (gst_controller_remove_properties_valist),
1753 (gst_controller_remove_properties), (gst_controller_set),
1754 (gst_controller_set_from_list), (gst_controller_unset),
1755 (gst_controller_get), (gst_controller_get_all),
1756 (gst_controller_sink_values), (gst_controller_get_value_arrays),
1757 (gst_controller_get_value_array),
1758 (gst_controller_set_interpolation_mode),
1759 (_gst_controller_finalize), (_gst_controller_init),
1760 (_gst_controller_class_init), (gst_controller_get_type):
1761 * libs/gst/controller/gst-controller.h:
1762 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
1763 (g_object_uncontrol_properties), (g_object_get_controller),
1764 (g_object_set_controller), (g_object_sink_values),
1765 (g_object_get_value_arrays), (g_object_get_value_array):
1766 * libs/gst/controller/gst-interpolation.c:
1767 (gst_controlled_property_find_timed_value_node),
1768 (interpolate_none_get), (interpolate_trigger_get),
1769 (interpolate_trigger_get_value_array):
1770 * libs/gst/controller/lib.c: (gst_controller_init):
1771 * pkgconfig/Makefile.am:
1772 * pkgconfig/gstreamer-control-uninstalled.pc.in:
1773 * pkgconfig/gstreamer-control.pc.in:
1774 * testsuite/Makefile.am:
1775 * testsuite/controller/.cvsignore:
1776 * testsuite/controller/Makefile.am:
1777 * testsuite/controller/interpolator.c: (main):
1778 added controller code
1779 removed dparam pc files
1781 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
1782 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
1783 (gst_collectpads_stop):
1784 Broadcast the condition when shutting down, to make sure we wake all
1785 threads up. Shut down pads on finalize, for safety.
1787 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
1788 * gst/base/gstbasetransform.c: (gst_base_transform_init),
1789 (gst_base_transform_handle_buffer),
1790 (gst_base_transform_change_state):
1791 Handle PAUSED->READY->PAUSED transition after negotiation
1793 * gst/gstmessage.c: (gst_message_init):
1794 Extra piece of debug for new messages.
1796 2005-08-01 Stefan Kost <ensonic@users.sf.net>
1799 * docs/gst/tmpl/gstbasesrc.sgml:
1800 * docs/gst/tmpl/gstelement.sgml:
1801 * docs/gst/tmpl/gstevent.sgml:
1802 * docs/gst/tmpl/gstfakesrc.sgml:
1803 * docs/gst/tmpl/gstformat.sgml:
1804 * docs/gst/tmpl/gstghostpad.sgml:
1805 * docs/gst/tmpl/gstpad.sgml:
1806 * docs/gst/tmpl/gstquery.sgml:
1807 * docs/gst/tmpl/gststructure.sgml:
1808 * docs/gst/tmpl/gsttaglist.sgml:
1809 * docs/gst/tmpl/gstvalue.sgml:
1810 * docs/libs/gstreamer-libs-docs.sgml:
1811 * docs/libs/gstreamer-libs-sections.txt:
1812 * docs/libs/gstreamer-libs.types:
1813 * libs/gst/Makefile.am:
1814 * libs/gst/control/.cvsignore:
1815 * libs/gst/control/Makefile.am:
1816 * libs/gst/control/control.c:
1817 * libs/gst/control/control.h:
1818 * libs/gst/control/dparam.c:
1819 * libs/gst/control/dparam.h:
1820 * libs/gst/control/dparam_smooth.c:
1821 * libs/gst/control/dparam_smooth.h:
1822 * libs/gst/control/dparamcommon.h:
1823 * libs/gst/control/dparammanager.c:
1824 * libs/gst/control/dparammanager.h:
1825 * libs/gst/control/dplinearinterp.c:
1826 * libs/gst/control/dplinearinterp.h:
1827 * libs/gst/control/unitconvert.c:
1828 * libs/gst/control/unitconvert.h:
1829 * testsuite/Makefile.am:
1830 * testsuite/dynparams/.cvsignore:
1831 * testsuite/dynparams/Makefile.am:
1832 * testsuite/dynparams/dparamstest.c:
1833 * tools/Makefile.am:
1834 * tools/gst-inspect.c: (print_element_info), (main):
1835 * tools/gst-xmlinspect.c: (print_element_info), (main):
1836 deactivate and remove dparams (libgstcontrol)
1838 2005-08-01 Tim-Philipp M??ller <tim at centricular dot net>
1840 * gst/elements/gsttypefindelement.c:
1841 (gst_type_find_element_have_type), (gst_type_find_element_init),
1842 (stop_typefinding), (gst_type_find_element_handle_event),
1843 (gst_type_find_element_chain), (gst_type_find_element_getrange):
1844 * gst/elements/gsttypefindelement.h:
1845 Set caps on all outgoing buffers, not just the first one.
1847 2005-08-01 Tim-Philipp M??ller <tim at centricular dot net>
1849 * gst/elements/gsttypefindelement.c:
1850 (gst_type_find_element_have_type),
1851 (gst_type_find_element_check_set_buffer_caps),
1852 (gst_type_find_element_init), (stop_typefinding),
1853 (gst_type_find_element_handle_event),
1854 (gst_type_find_element_chain), (gst_type_find_element_getrange):
1855 * gst/elements/gsttypefindelement.h:
1856 Set caps on first outgoing buffer when we've found the type.
1858 2005-08-01 Tim-Philipp M??ller <tim at centricular dot net>
1860 * docs/gst/gstreamer-docs.sgml:
1861 * docs/gst/gstreamer-sections.txt:
1862 * docs/gst/tmpl/gstscheduler.sgml:
1863 * docs/gst/tmpl/gstschedulerfactory.sgml:
1864 Remove some old cruft from docs.
1866 2005-07-31 Tim-Philipp M??ller <tim at centricular dot net>
1869 Fix inline docs for GstPadLinkReturn.
1871 * gst/gststructure.c: (gst_structure_has_name):
1872 * gst/gststructure.h:
1873 * docs/gst/gstreamer-sections.txt:
1874 New API: gst_structure_has_name().
1876 2005-07-30 Tim-Philipp M??ller <tim at centricular dot net>
1879 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
1880 and _LARGEFILE_SOURCE in config.h as required. Do not
1881 export those flags in our .pc files any longer (#142209).
1883 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
1885 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
1886 (gst_file_sink_do_seek), (gst_file_sink_event),
1887 (gst_file_sink_get_current_offset), (gst_file_sink_render):
1888 Redo seek/tell calls with large file support in mind; add some
1889 debugging messages; add log message that tells us when large
1890 file support is unavailable or not enabled for some reason.
1892 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
1893 Add log message that tells us when large file support
1894 is unavailable or not enabled for some reason.
1896 2005-07-29 Wim Taymans <wim@fluendo.com>
1898 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1899 Added test for removing an element with ghostpad from a bin.
1900 Fixed test as current implementation does the right thing.
1902 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
1903 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
1904 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
1905 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
1906 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
1907 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
1908 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
1909 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
1910 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
1911 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
1912 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
1913 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
1914 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1915 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
1916 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
1917 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
1918 * gst/gstghostpad.h:
1919 Clean up ghostpads, remove properties for internal stuff.
1922 Prepare for switching targets, not all use cases work yet.
1924 2005-07-29 Wim Taymans <wim@fluendo.com>
1926 * docs/design/part-gstghostpad.txt:
1929 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
1930 (gst_bin_remove_func):
1931 Unlinking pads while holding the bin LOCK is not a good
1934 * gst/gstpad.c: (gst_pad_class_init),
1935 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
1936 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
1937 No prob setting template after creating the pad.
1939 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
1941 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
1942 (gst_bus_peek), (gst_bus_source_dispatch),
1943 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
1944 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
1945 gst_bus_poll may be called from other threads. Handle
1946 this nicely by not making poll_data disappear off the
1947 stack once gst_bus_poll returns.
1948 gst_bus_peek now increments the refcount on the returned
1951 2005-07-29 Wim Taymans <wim@fluendo.com>
1953 * docs/design/part-gstghostpad.txt:
1954 Overview of current GhostPad datastructures and use
1955 cases for changing the target.
1957 2005-07-28 Wim Taymans <wim@fluendo.com>
1959 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1960 Added checks for hierarchy consistency whan adding linked
1963 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
1964 Added check to test element scheduling without bin/pipeline.
1966 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
1967 First add elements to bin, then link.
1969 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
1970 (gst_bin_remove_func):
1971 Unlink pads from elements added/removed from bin to maintain
1972 hierarchy consistency.
1974 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1976 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
1977 (gst_base_transform_handle_buffer):
1978 * gst/base/gstbasetransform.h:
1979 Remove broken delay_configure (fixes renegotiation of software
1980 scaling pipelines); remove some leftover printf()s.
1982 2005-07-28 Wim Taymans <wim@fluendo.com>
1984 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
1985 Added some more tests for wrong hierarchy
1987 * docs/design/part-overview.txt:
1990 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
1993 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
1994 (gst_element_dispose):
1997 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
1998 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
1999 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
2000 (gst_pad_set_caps), (gst_pad_send_event):
2001 Check for correct hierarchy when linking pads. Moving to
2002 strict requirement for ghostpads when linking elements in
2006 Clean ups. Added WRONG_HIERARCHY return value.
2008 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2010 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
2011 Better debug if no transform is possible.
2013 2005-07-27 Wim Taymans <wim@fluendo.com>
2015 * docs/random/wtay/network-transp:
2018 2005-07-27 Wim Taymans <wim@fluendo.com>
2020 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
2021 (gst_dp_event_from_packet):
2022 Fix serialization of seek events.
2024 2005-07-27 Wim Taymans <wim@fluendo.com>
2026 * check/gst-libs/gdp.c: (GST_START_TEST):
2027 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
2028 Fix compilation and fix event serialization.
2030 2005-07-27 Wim Taymans <wim@fluendo.com>
2033 * docs/design/part-TODO.txt:
2034 * docs/design/part-events.txt:
2037 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2038 (gst_base_sink_event), (gst_base_sink_do_sync),
2039 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
2040 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2041 (gst_base_src_do_seek), (gst_base_src_event_handler),
2042 (gst_base_src_loop):
2043 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2044 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2045 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
2046 (gst_base_transform_event), (gst_base_transform_handle_buffer),
2047 (gst_base_transform_set_passthrough),
2048 (gst_base_transform_is_passthrough):
2049 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
2050 * gst/elements/gstfilesink.c: (gst_file_sink_event):
2056 * gst/gstelement.c: (gst_element_seek):
2058 Update gst_element_seek.
2060 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
2061 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
2062 (gst_event_new_flush_start), (gst_event_new_flush_stop),
2063 (gst_event_new_eos), (gst_event_new_newsegment),
2064 (gst_event_parse_newsegment), (gst_event_new_tag),
2065 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
2066 (gst_event_parse_qos), (gst_event_new_seek),
2067 (gst_event_parse_seek), (gst_event_new_navigation):
2069 Make GstEvent use GstStructure. Add parsing code, make sure the
2070 API is sufficiently generic.
2071 Mark possible directions of events and serialization.
2073 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
2074 (_gst_message_copy), (gst_message_new_segment_start),
2075 (gst_message_new_segment_done), (gst_message_new_custom),
2076 (gst_message_parse_segment_start),
2077 (gst_message_parse_segment_done):
2080 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
2081 (gst_pad_set_caps), (gst_pad_send_event):
2082 Update for new events.
2083 Catch events sent in wrong directions.
2085 * gst/gstqueue.c: (gst_queue_link_src),
2086 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
2087 (gst_queue_handle_src_query):
2092 Remove event code from this file.
2094 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
2095 (gst_dp_event_from_packet):
2098 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2100 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
2101 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2102 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
2103 Make debugging actually useful.
2105 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2107 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
2108 (gst_pad_fixate_caps):
2109 Implement default fixation once again, so that gst_pad_fixate()
2110 actually does anything at all. This probably needs to be some
2111 sort of a last resort, and use profile-based fixation first, but
2112 since that doesn't exist yet, this is the best we have. Fixes
2113 visualization in Totem.
2115 2005-07-22 Wim Taymans <wim@fluendo.com>
2117 * docs/design/part-events.txt:
2120 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2121 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
2122 (gst_base_sink_activate_pull):
2125 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
2126 (gst_fake_src_create):
2127 Fix handoff marshall.
2129 * gst/elements/gstidentity.c: (gst_identity_class_init),
2130 (gst_identity_transform_ip):
2131 We're a real inplace element.
2133 * gst/gstbus.c: (gst_bus_post):
2134 Added some comments.
2136 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
2137 * tests/muxing/case1.c: (main):
2138 * tests/sched/dynamic-pipeline.c: (main):
2139 * tests/sched/interrupt1.c: (main):
2140 * tests/sched/interrupt2.c: (main):
2141 * tests/sched/interrupt3.c: (main):
2142 * tests/sched/runxml.c: (main):
2143 * tests/sched/sched-stress.c: (main):
2144 * tests/seeking/seeking1.c: (event_received), (main):
2145 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2147 * tests/threadstate/threadstate3.c: (main):
2148 * tests/threadstate/threadstate4.c: (main):
2149 * tests/threadstate/threadstate5.c: (main):
2152 2005-07-21 Wim Taymans <wim@fluendo.com>
2154 * docs/design/part-seeking.txt:
2155 Some small additions.
2157 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2158 (gst_base_sink_get_times), (gst_base_sink_do_sync),
2159 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
2160 * gst/base/gstbasesink.h:
2161 discont values are gint64, handle the math correctly.
2163 * gst/base/gstbasesrc.c: (gst_base_src_loop):
2164 Make the basesrc report error if the source pad is not linked.
2166 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2167 (gst_queue_loop), (gst_queue_handle_src_query),
2168 (gst_queue_src_activate_push):
2169 Make queue collect data even if the srcpad is not linked.
2170 Start pushing out data as soon as it is linked.
2172 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
2174 Added gst_flow_get_name() to ease error reporting.
2176 2005-07-20 Wim Taymans <wim@fluendo.com>
2178 * gst/gstmessage.c: (gst_message_new_segment_start),
2179 (gst_message_new_segment_done), (gst_message_parse_segment_start),
2180 (gst_message_parse_segment_done):
2182 Added a bunch of messages for advanced seeking.
2184 * gst/parse/grammar.y:
2185 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
2186 (gst_dpman_state_changed):
2187 Fix some new-pad -> pad-added signals
2189 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2191 * docs/manual/appendix-porting.xml:
2192 * docs/pwg/appendix-porting.xml:
2193 Document new-pad/state-change signal renames and the FixedList
2196 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2198 * docs/manual/advanced-autoplugging.xml:
2199 * docs/manual/basics-helloworld.xml:
2200 * docs/manual/basics-pads.xml:
2201 * docs/random/ds/0.9-suggested-changes:
2202 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
2207 * gst/gststructure.c: (gst_structure_value_get_generic_type),
2208 (gst_structure_parse_array), (gst_structure_parse_value):
2209 * gst/gstvalue.c: (gst_type_is_fixed),
2210 (gst_value_list_prepend_value), (gst_value_list_append_value),
2211 (gst_value_list_get_size), (gst_value_list_get_value),
2212 (gst_value_transform_array_string), (gst_value_serialize_array),
2213 (gst_value_deserialize_array), (gst_value_intersect_array),
2214 (gst_value_is_fixed), (_gst_value_initialize):
2216 GstElement::new-pad -> pad-added, GstElement::state-change ->
2217 state-changed, GstValueFixedList -> GstValueArray, add format and
2218 flags as their own arguments in gst_element_seek() (should improve
2219 "bindeability"), remove function generators since they don't work
2220 under a whole bunch of compilers (they were deprecated already
2223 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2225 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
2226 (_gst_debug_register_funcptr):
2228 Fix illegal cast on some platforms (#309253).
2230 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2232 * gst/gstmessage.c: (gst_message_new_custom):
2234 Add _new_custom, make _new_application a macro to _new_custom.
2236 2005-07-20 Wim Taymans <wim@fluendo.com>
2238 * gst/base/gstbasesrc.c: (gst_base_src_init),
2239 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2240 * gst/base/gstbasesrc.h:
2241 Add a gboolean to decide when to push out a discont.
2243 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2244 (gst_queue_loop), (gst_queue_handle_src_query),
2245 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
2246 (gst_queue_set_property), (gst_queue_get_property):
2249 * tests/threadstate/threadstate1.c: (main):
2250 Make a thread test compile and run... very silly..
2253 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2255 * docs/manual/appendix-porting.xml:
2256 Mention removal of libgstgconf-0.9.la and existence of gconf
2259 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2261 * docs/pwg/advanced-clock.xml:
2262 * docs/pwg/appendix-porting.xml:
2263 * docs/pwg/intro-preface.xml:
2264 * docs/pwg/other-base.xml:
2265 * docs/pwg/other-manager.xml:
2266 * docs/pwg/other-nton.xml:
2267 * docs/pwg/other-ntoone.xml:
2268 * docs/pwg/other-oneton.xml:
2270 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
2271 demuxer), remove n-to-n (was never written), fix some code examples
2272 and links and update the porting section to include all this.
2274 2005-07-19 Wim Taymans <wim@fluendo.com>
2276 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
2277 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
2278 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
2279 (gst_queue_src_activate_push), (gst_queue_change_state),
2280 (gst_queue_get_property):
2282 Propagate GstFlowReturn more intelligently upstream and output
2283 an ERROR/EOS when streaming stopped due to fatal error.
2285 2005-07-19 Wim Taymans <wim@fluendo.com>
2287 * tools/gst-launch.c: (check_intr), (event_loop), (main):
2288 Don't block forever for the state change to complete, the
2289 pipeline already did with a sensible timeout.
2291 2005-07-19 Wim Taymans <wim@fluendo.com>
2293 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2294 Make sure we never call the create function is we
2297 2005-07-19 Andy Wingo <wingo@pobox.com>
2299 * gst/parse/parse.l: Attempt to solve bug #172815.
2301 2005-07-19 Wim Taymans <wim@fluendo.com>
2303 * docs/design/part-clocks.txt:
2304 * docs/design/part-events.txt:
2305 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
2307 Only update the seeking values when we are not
2310 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
2312 * gst/base/gstbasesrc.c: (gst_base_src_loop):
2313 Oops, ignore the result of gst_pad_push_event here.
2315 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
2317 * gst/base/gstbasesrc.c: (gst_base_src_loop),
2318 (gst_base_src_activate_push):
2319 Send discont event from the loop function, as pads
2320 aren't activated yet in the activate_push handler.
2322 * gst/gstbin.c: (bin_bus_handler):
2323 Don't leak element name.
2325 2005-07-18 Andy Wingo <wingo@pobox.com>
2327 * configure.ac: Use AS_LIBTOOL_TAGS.
2329 2005-07-18 Wim Taymans <wim@fluendo.com>
2331 * docs/gst/gstreamer.types:
2332 Remove deleted types.
2334 2005-07-18 Wim Taymans <wim@fluendo.com>
2336 * check/elements/gstfakesrc.c: (GST_START_TEST):
2339 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
2340 (init_popt_callback):
2342 * gst/gst_private.h:
2343 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
2344 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
2347 * gst/gstconfig.h.in:
2348 * gst/gstelement.c: (gst_element_class_init),
2349 (gst_element_set_base_time), (gst_element_get_base_time),
2350 (iterator_fold_with_resync), (gst_element_change_state),
2351 (gst_element_dispose), (gst_element_get_bus):
2353 * gst/gstelementfactory.h:
2354 * gst/gsterror.c: (_gst_core_errors_init):
2357 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
2359 * gst/gstinfo.c: (_gst_debug_init):
2360 * gst/gstmessage.c: (_gst_message_copy):
2362 * gst/gstminiobject.h:
2365 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
2366 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
2369 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
2370 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
2371 (gst_pipeline_get_last_stream_time):
2372 * gst/gstpipeline.h:
2373 * gst/gstpluginfeature.h:
2375 * gst/gstscheduler.c:
2376 * gst/gstscheduler.h:
2377 * gst/gststructure.h:
2378 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
2379 (gst_task_finalize), (gst_task_func), (gst_task_create),
2380 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
2381 (gst_task_stop), (gst_task_pause):
2383 * gst/gsttypefind.h:
2385 * gst/registries/gstlibxmlregistry.c: (load_feature),
2386 (gst_xml_registry_load), (gst_xml_registry_save_feature):
2387 * gst/registries/gstxmlregistry.c:
2388 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
2389 * gst/schedulers/threadscheduler.c:
2390 * libs/gst/control/dparammanager.h:
2391 * tools/gst-inspect.c: (print_element_list),
2392 (print_plugin_features), (print_element_features):
2393 * tools/gst-xmlinspect.c: (print_element_list),
2394 (print_plugin_info), (main):
2395 Removed plugable schedulers.
2396 Removed Scheduler/Manager from elements.
2397 Removed gsttypes.h, rearranged includes.
2398 Removed dependency pad<->element, element<>pipeline, and
2399 various others, fix includes.
2400 implement gst_pad_get_parent() with gst_object_get_parent()
2401 Make GstTask sefcontained.
2402 Fix _get_state() on GstBin, it did not return ASYNC with a 0
2404 Fix endless loop in iterator_fold_with_resync.
2407 2005-07-18 Wim Taymans <wim@fluendo.com>
2413 2005-07-18 Wim Taymans <wim@fluendo.com>
2418 2005-07-18 Wim Taymans <wim@fluendo.com>
2424 2005-07-18 Wim Taymans <wim@fluendo.com>
2426 * docs/design/part-dynamic.txt:
2427 * docs/design/part-events.txt:
2428 * docs/design/part-seeking.txt:
2429 Some more docs in the works.
2431 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2432 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
2433 (gst_base_transform_setcaps), (gst_base_transform_get_size),
2434 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
2435 (gst_base_transform_handle_buffer),
2436 (gst_base_transform_sink_activate_push),
2437 (gst_base_transform_src_activate_pull),
2438 (gst_base_transform_set_passthrough),
2439 (gst_base_transform_is_passthrough):
2442 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
2445 * gst/gstevent.c: (gst_event_finalize):
2448 * gst/gstutils.c: (gst_element_unlink),
2449 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
2450 (gst_pad_proxy_setcaps):
2452 Add _get_parent_element() to get a pads parent as an element.
2454 2005-07-18 Wim Taymans <wim@fluendo.com>
2456 * check/gst/gstbin.c: (GST_START_TEST):
2459 2005-07-18 Wim Taymans <wim@fluendo.com>
2461 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
2462 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
2463 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
2464 (gst_base_sink_event), (gst_base_sink_do_sync),
2465 (gst_base_sink_chain), (gst_base_sink_loop),
2466 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
2467 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
2469 Fix logic for returning ASYNC when not prerolled.
2471 2005-07-18 Wim Taymans <wim@fluendo.com>
2473 * gst/gstqueue.c: (gst_queue_handle_sink_event):
2474 Fix nasty refcount bug.
2476 2005-07-16 Philippe Khalaf <burger@speedy.org>
2478 * gst/elements/gstfdsrc.c:
2479 * gst/elements/gstfdsrc.h:
2480 * gst/elements/gstelements.c:
2481 * gst/elements/Makefile.am:
2482 Ported fdsrc to 0.9.
2484 2005-07-16 Wim Taymans <wim@fluendo.com>
2486 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2487 (gst_base_sink_do_sync):
2490 2005-07-16 Wim Taymans <wim@fluendo.com>
2492 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2493 (gst_base_sink_event), (gst_base_sink_get_times),
2494 (gst_base_sink_do_sync), (gst_base_sink_change_state):
2495 * gst/base/gstbasesink.h:
2496 Store and use discont values when syncing buffers as described
2499 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2500 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
2501 (gst_base_src_activate_push):
2502 Push discont event when starting.
2504 * gst/elements/gstidentity.c: (gst_identity_transform):
2507 * gst/gstbin.c: (gst_bin_change_state):
2508 Small cleanups in base_time distribution.
2510 * gst/gstelement.c: (gst_element_set_base_time),
2511 (gst_element_get_base_time), (gst_element_change_state):
2513 Added methods for the base_time of the element.
2516 * gst/gstpipeline.c: (gst_pipeline_send_event),
2517 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
2518 (gst_pipeline_get_last_stream_time):
2519 * gst/gstpipeline.h:
2521 Handle seeking as described in design doc, remove stream_time
2523 Cleanups clock and stream_time selection code. Added accessors
2524 for the stream_time.
2527 2005-07-16 Andy Wingo <wingo@pobox.com>
2529 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
2532 2005-07-16 Wim Taymans <wim@fluendo.com>
2534 * check/gst/gstbin.c: (GST_START_TEST):
2535 Make elements silent as the deep_notify refs the
2536 parent, which might make the test fail.
2538 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
2539 Don't hold the lock for too long.
2541 2005-07-16 Tim-Philipp M??ller <tim at centricular dot net>
2543 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2544 Don't unref the caps we passed to gst_caps_make_writable() after
2545 passing them. gst_caps_make_writable() will do that for us.
2547 2005-07-15 Andy Wingo <wingo@pobox.com>
2549 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
2552 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
2553 own marshalling function for the handoff signal. Properly type the
2554 buffer as a buffer. Fixes some warnings. Should do a more general
2556 (gst_identity_class_init): Plug into the right marshaller.
2558 2005-07-15 Wim Taymans <wim@fluendo.com>
2560 * docs/design/part-TODO.txt:
2561 * docs/design/part-clocks.txt:
2562 * docs/design/part-element-sink.txt:
2563 * docs/design/part-events.txt:
2564 * docs/design/part-gstpipeline.txt:
2565 Updated docs, mostly DISCONT related.
2567 2005-07-15 Tim-Philipp M??ller <tim at centricular dot net>
2569 * docs/pwg/building-pads.xml:
2570 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
2572 2005-07-15 Andy Wingo <wingo@pobox.com>
2574 * tools/gst-typefind.c: Update, add copyright block.
2576 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
2577 Normalize and truncate caps before fixation.
2580 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
2581 discards all but the first structure from its argument.
2583 2005-07-15 Wim Taymans <wim@fluendo.com>
2585 * gst/base/gstbasetransform.c: (gst_base_transform_init),
2586 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
2587 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2588 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
2589 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
2590 (gst_base_transform_chain), (gst_base_transform_change_state),
2591 (gst_base_transform_set_passthrough),
2592 (gst_base_transform_is_passthrough):
2593 * gst/base/gstbasetransform.h:
2594 Make passthrough work using the bufferpools.
2595 Changed API a bit, subclasses have to write into a buffer
2596 provided by the base class.
2597 More debug info in nego functions.
2599 * gst/elements/gstidentity.c: (gst_identity_init),
2600 (gst_identity_transform):
2601 Port to new base class.
2603 2005-07-15 Wim Taymans <wim@fluendo.com>
2605 * gst/gstmessage.c: (gst_message_new_state_changed):
2606 * tools/gst-launch.c: (event_loop), (main):
2607 Totally dump messages in -launch with the -m option.
2608 Fix message name for State messages,
2610 2005-07-14 Wim Taymans <wim@fluendo.com>
2612 * gst/base/gstbasesrc.c: (gst_base_src_loop):
2613 Post error messages on errors.
2615 2005-07-14 Wim Taymans <wim@fluendo.com>
2617 * gst/gstcaps.c: (gst_caps_do_simplify):
2621 Define error for stream stopped.
2623 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
2624 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
2625 Do proper return values.
2627 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
2628 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
2629 (gst_pad_get_range):
2630 Better return values.
2633 Reorganise return values, add macro to check for fatal errors.
2635 * gst/gstqueue.c: (gst_queue_chain):
2636 Return proper GstFlowReturn values,
2638 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
2640 * docs/gst/gstreamer-sections.txt:
2641 * docs/gst/gstreamer.types:
2642 * docs/gst/tmpl/gst.sgml:
2643 * docs/gst/tmpl/gstbasesink.sgml:
2644 * docs/gst/tmpl/gstbasesrc.sgml:
2645 * docs/gst/tmpl/gstbasetransform.sgml:
2646 * docs/gst/tmpl/gstbin.sgml:
2647 * docs/gst/tmpl/gstbuffer.sgml:
2648 * docs/gst/tmpl/gstcaps.sgml:
2649 * docs/gst/tmpl/gstclock.sgml:
2650 * docs/gst/tmpl/gstcompat.sgml:
2651 * docs/gst/tmpl/gstconfig.sgml:
2652 * docs/gst/tmpl/gstelement.sgml:
2653 * docs/gst/tmpl/gstelementdetails.sgml:
2654 * docs/gst/tmpl/gstelementfactory.sgml:
2655 * docs/gst/tmpl/gstenumtypes.sgml:
2656 * docs/gst/tmpl/gsterror.sgml:
2657 * docs/gst/tmpl/gstevent.sgml:
2658 * docs/gst/tmpl/gstfakesink.sgml:
2659 * docs/gst/tmpl/gstfakesrc.sgml:
2660 * docs/gst/tmpl/gstfilesink.sgml:
2661 * docs/gst/tmpl/gstfilesrc.sgml:
2662 * docs/gst/tmpl/gstfilter.sgml:
2663 * docs/gst/tmpl/gstformat.sgml:
2664 * docs/gst/tmpl/gstghostpad.sgml:
2665 * docs/gst/tmpl/gstimplementsinterface.sgml:
2666 * docs/gst/tmpl/gstindex.sgml:
2667 * docs/gst/tmpl/gstindexfactory.sgml:
2668 * docs/gst/tmpl/gstinfo.sgml:
2669 * docs/gst/tmpl/gstiterator.sgml:
2670 * docs/gst/tmpl/gstmacros.sgml:
2671 * docs/gst/tmpl/gstmemchunk.sgml:
2672 * docs/gst/tmpl/gstminiobject.sgml:
2673 * docs/gst/tmpl/gstobject.sgml:
2674 * docs/gst/tmpl/gstpad.sgml:
2675 * docs/gst/tmpl/gstpadtemplate.sgml:
2676 * docs/gst/tmpl/gstparse.sgml:
2677 * docs/gst/tmpl/gstpipeline.sgml:
2678 * docs/gst/tmpl/gstplugin.sgml:
2679 * docs/gst/tmpl/gstpluginfeature.sgml:
2680 * docs/gst/tmpl/gstquery.sgml:
2681 * docs/gst/tmpl/gstqueue.sgml:
2682 * docs/gst/tmpl/gstregistry.sgml:
2683 * docs/gst/tmpl/gstregistrypool.sgml:
2684 * docs/gst/tmpl/gstscheduler.sgml:
2685 * docs/gst/tmpl/gstschedulerfactory.sgml:
2686 * docs/gst/tmpl/gststructure.sgml:
2687 * docs/gst/tmpl/gstsystemclock.sgml:
2688 * docs/gst/tmpl/gsttaglist.sgml:
2689 * docs/gst/tmpl/gsttagsetter.sgml:
2690 * docs/gst/tmpl/gsttrace.sgml:
2691 * docs/gst/tmpl/gsttrashstack.sgml:
2692 * docs/gst/tmpl/gsttypefind.sgml:
2693 * docs/gst/tmpl/gsttypefindfactory.sgml:
2694 * docs/gst/tmpl/gsttypes.sgml:
2695 * docs/gst/tmpl/gsturihandler.sgml:
2696 * docs/gst/tmpl/gsturitype.sgml:
2697 * docs/gst/tmpl/gstutils.sgml:
2698 * docs/gst/tmpl/gstvalue.sgml:
2699 * docs/gst/tmpl/gstversion.sgml:
2700 * docs/gst/tmpl/gstxml.sgml:
2701 * docs/libs/tmpl/gstcontrol.sgml:
2702 * docs/libs/tmpl/gstdataprotocol.sgml:
2703 * docs/libs/tmpl/gstdparam.sgml:
2704 * docs/libs/tmpl/gstdplinint.sgml:
2705 * docs/libs/tmpl/gstdpman.sgml:
2706 * docs/libs/tmpl/gstdpsmooth.sgml:
2707 * docs/libs/tmpl/gstgetbits.sgml:
2708 * docs/libs/tmpl/gstunitconvert.sgml:
2709 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
2710 (gst_push_src_base_init), (gst_push_src_class_init),
2711 (gst_push_src_init), (gst_push_src_create):
2712 * gst/base/gstpushsrc.h:
2713 * gst/elements/gstelements.c:
2714 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
2715 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
2716 (gst_fake_sink_init), (gst_fake_sink_set_property),
2717 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
2718 (gst_fake_sink_event), (gst_fake_sink_preroll),
2719 (gst_fake_sink_render), (gst_fake_sink_change_state):
2720 * gst/elements/gstfakesink.h:
2721 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
2722 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
2723 (gst_fake_src_base_init), (gst_fake_src_class_init),
2724 (gst_fake_src_init), (gst_fake_src_event_handler),
2725 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
2726 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
2727 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
2728 (gst_fake_src_create_buffer), (gst_fake_src_create),
2729 (gst_fake_src_start), (gst_fake_src_stop):
2730 * gst/elements/gstfakesrc.h:
2731 * gst/elements/gstfilesink.c: (_do_init),
2732 (gst_file_sink_base_init), (gst_file_sink_class_init),
2733 (gst_file_sink_init), (gst_file_sink_dispose),
2734 (gst_file_sink_set_location), (gst_file_sink_set_property),
2735 (gst_file_sink_get_property), (gst_file_sink_open_file),
2736 (gst_file_sink_close_file), (gst_file_sink_query),
2737 (gst_file_sink_event), (gst_file_sink_render),
2738 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
2739 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
2740 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
2741 * gst/elements/gstfilesink.h:
2742 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
2743 (gst_file_src_class_init), (gst_file_src_init),
2744 (gst_file_src_finalize), (gst_file_src_set_location),
2745 (gst_file_src_set_property), (gst_file_src_get_property),
2746 (gst_file_src_map_region), (gst_file_src_map_small_region),
2747 (gst_file_src_create_mmap), (gst_file_src_create_read),
2748 (gst_file_src_create), (gst_file_src_is_seekable),
2749 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
2750 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
2751 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
2752 (gst_file_src_uri_handler_init):
2753 * gst/elements/gstfilesrc.h:
2754 more autistic cleanliness in functions/names/defines
2756 2005-07-13 Andy Wingo <wingo@pobox.com>
2758 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
2759 source couldn't negotiate.
2761 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
2765 * gst/gstutils.c (gst_element_link_pads_filtered): New old
2766 function. I am channeling Hades. Put your boots on suckers!!!
2768 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
2770 * testsuite/caps/Makefile.am:
2771 * testsuite/caps/value_compare.c:
2772 * testsuite/caps/value_intersect.c:
2773 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2774 move two testsuite apps over to the check dir
2776 2005-07-12 Wim Taymans <wim@fluendo.com>
2778 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
2779 Added more debug info in the negotiate process.
2782 Prepare for segment playback.
2784 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
2790 * tools/gst-launch.c: (main):
2791 NULL pipeline on errors.
2793 2005-07-12 Andy Wingo <wingo@pobox.com>
2795 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
2796 not it comes from a malloc region. Make sure our copy gets freed.
2798 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
2800 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2801 * check/gst/gstmessage.c: (GST_START_TEST):
2802 * check/gst/gststructure.c: (GST_START_TEST),
2803 (gst_structure_suite), (main):
2805 * gst/gstelement.c: (gst_element_message_full):
2806 clean up GError and debug string now that they get copied
2807 * gst/gstmessage.c: (gst_message_new_error),
2808 (gst_message_new_warning), (gst_message_parse_error),
2809 (gst_message_parse_warning):
2810 use GST_TYPE_G_ERROR for structure_new, and take copies of
2811 arguments, so that we don't mess up refcounting
2813 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
2815 * check/Makefile.am:
2816 add per-test valgrind targets
2817 * check/gst-libs/gdp.c: (GST_START_TEST),
2818 (gst_data_protocol_suite), (main):
2821 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
2823 * check/Makefile.am:
2824 instate more valgrindable tests
2825 * check/elements/gstfakesrc.c: (chain_func), (event_func),
2826 (GST_START_TEST), (fakesrc_suite):
2827 * check/gst/gstpad.c: (GST_START_TEST):
2828 * check/gst/gststructure.c: (GST_START_TEST):
2830 * docs/gst/tmpl/gstminiobject.sgml:
2831 * gst/gstpad.c: (gst_pad_finalize):
2832 fix the static mutex leak
2834 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
2836 * check/Makefile.am:
2837 add two more tests for valgrinding
2838 * check/gst/gstvalue.c: (GST_START_TEST):
2839 test refcount of deserialized buffer, found a leak
2840 * docs/gst/gstreamer-docs.sgml:
2841 * docs/gst/gstreamer-sections.txt:
2842 * docs/gst/gstreamer.types:
2843 * docs/gst/tmpl/gstminiobject.sgml:
2844 add miniobject to docs
2845 * gst/gstminiobject.c:
2847 * gst/gstvalue.c: (gst_value_deserialize_buffer),
2848 (gst_string_unwrap):
2849 fix a hard-to-find invalid write for one of the tests
2850 fix a leak for deserialized buffers
2852 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2854 * docs/pwg/advanced-events.xml:
2855 * docs/pwg/advanced-request.xml:
2856 * docs/pwg/advanced-scheduling.xml:
2857 * docs/pwg/appendix-porting.xml:
2858 * docs/pwg/building-boiler.xml:
2859 * docs/pwg/intro-preface.xml:
2860 * docs/pwg/other-ntoone.xml:
2861 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
2862 of example code and explanation for pad activation, loop() and
2863 getrange() functions and a bit more. Remove old comments pointing
2865 * examples/pwg/Makefile.am:
2866 Add loop/getrange examples.
2868 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
2871 check for valgrind binary + some fixes
2873 valgrind suppressions for the tests
2874 * check/Makefile.am:
2875 add a valgrind: target that valgrinds the unit tests
2876 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
2877 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
2878 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
2879 * check/gst/gstghostpad.c:
2881 * check/gst/gstdata.c:
2883 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
2884 (thread_unref), (gst_mini_object_suite), (main):
2886 * gst/gst.c: (gst_deinit):
2888 add a method to clean up.
2889 * gst/gstsystemclock.c: (gst_system_clock_dispose),
2890 (gst_system_clock_obtain):
2891 allow for disposing the system clock.
2892 * tools/gst-launch.c: (main):
2895 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
2897 * docs/gst/tmpl/gstbasesrc.sgml:
2898 * docs/gst/tmpl/gstfakesrc.sgml:
2899 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2900 (gst_base_src_init), (gst_base_src_set_property),
2901 (gst_base_src_get_property), (gst_base_src_get_range),
2902 (gst_base_src_start):
2903 * gst/base/gstbasesrc.h:
2904 add num-buffers property
2905 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
2906 (gst_fakesrc_init), (gst_fakesrc_set_property),
2907 (gst_fakesrc_get_property), (gst_fakesrc_create),
2908 (gst_fakesrc_start):
2909 remove num-buffers property
2911 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
2913 * docs/gst/gstreamer-sections.txt:
2914 * docs/gst/tmpl/gstbasesink.sgml:
2915 * docs/gst/tmpl/gstbasesrc.sgml:
2916 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
2917 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
2918 (gst_base_sink_finalize), (gst_base_sink_set_clock),
2919 (gst_base_sink_set_property), (gst_base_sink_get_property),
2920 (gst_base_sink_handle_object), (gst_base_sink_event),
2921 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
2922 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
2923 (gst_base_sink_loop), (gst_base_sink_deactivate),
2924 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
2925 (gst_base_sink_change_state):
2926 * gst/base/gstbasesink.h:
2927 * gst/base/gstbasesrc.h:
2928 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
2929 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
2930 (gst_filesink_init):
2931 more macro splitting
2933 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
2935 * gst/gstelement.c: (gst_element_get_bus):
2937 * tools/gst-launch.c: (check_intr), (event_loop):
2940 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
2942 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
2945 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
2947 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
2948 (gst_base_src_finalize):
2949 add finalize method and clean up properly
2950 * gst/gstpipeline.c: (gst_pipeline_dispose):
2953 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
2955 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
2957 add more things to check
2958 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
2962 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
2964 * check/elements/gstfakesrc.c: (chain_func), (event_func),
2965 (GST_START_TEST), (fakesrc_suite):
2966 * check/gst-libs/gdp.c: (GST_START_TEST):
2967 * check/gst/gst.c: (GST_START_TEST):
2968 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2969 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
2970 * check/gst/gstbus.c: (GST_START_TEST):
2971 * check/gst/gstcaps.c: (GST_START_TEST):
2972 * check/gst/gstdata.c: (GST_START_TEST):
2973 * check/gst/gstelement.c: (GST_START_TEST):
2974 * check/gst/gstghostpad.c: (GST_START_TEST):
2975 * check/gst/gstiterator.c: (GST_START_TEST):
2976 * check/gst/gstmessage.c: (GST_START_TEST):
2977 * check/gst/gstobject.c: (GST_START_TEST):
2978 * check/gst/gstpad.c: (GST_START_TEST):
2979 * check/gst/gststructure.c: (GST_START_TEST):
2980 * check/gst/gstsystemclock.c: (GST_START_TEST),
2981 (gst_systemclock_suite):
2982 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2983 * check/gst/gstvalue.c: (GST_START_TEST):
2984 * check/pipelines/cleanup.c: (GST_START_TEST):
2985 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
2986 * check/states/sinks.c: (GST_START_TEST):
2987 * check/gstcheck.c: (gst_check_init):
2989 add debugging category
2990 use GST_START_TEST now, so we add a debug line
2992 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
2994 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
2995 add test for state change message on a bin
2996 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
2998 * gst/gstbin.c: (gst_bin_init):
2999 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
3000 * gst/gstelement.c: (gst_element_post_message),
3001 (gst_element_set_state):
3002 * gst/gstelementfactory.c: (gst_element_factory_create):
3003 * gst/gstmessage.c: (gst_message_new):
3004 * gst/gstscheduler.c:
3005 various debugging additions and cleanups
3007 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
3009 * check/Makefile.am:
3010 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
3012 adding tests for elements
3013 * gst/gstelement.c: (gst_element_dispose):
3015 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
3017 * gst/registries/gstlibxmlregistry.c: (load_feature):
3018 plug more leaks. A simple gst_init() now is leakfree, yay.
3020 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
3022 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
3023 (gst_xml_registry_load):
3024 plug another memleak
3026 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
3029 use GST_SET_ERROR_CFLAGS
3031 change to ERROR_CFLAGS
3033 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
3036 make GST_ERROR_CFLAGS overridable and re-enable Werror
3038 add a note about error CFLAGS
3039 * docs/gst/tmpl/gstfakesrc.sgml:
3040 * gst/elements/gstfakesrc.c:
3041 comment out some unused code
3042 * gst/gst.c: (split_and_iterate):
3043 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
3047 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
3049 * common/Makefile.am:
3050 * common/gtk-doc.mak:
3051 * docs/gst/Makefile.am:
3052 factor out gtk-doc.mak
3054 2005-07-07 Wim Taymans <wim@fluendo.com>
3056 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
3057 (gst_thread_scheduler_dispose):
3058 Unlock the STREAM_LOCK completely.
3060 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
3062 * check/Makefile.am:
3063 * check/elements/.cvsignore:
3064 * check/elements/gstfakesrc.c: (chain_func), (event_func),
3065 (START_TEST), (fakesrc_suite), (main):
3066 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
3067 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
3068 (gst_fakesrc_create), (gst_fakesrc_start):
3069 * gst/elements/gstfakesrc.h:
3070 adding a first element test
3072 2005-07-07 Andy Wingo <wingo@pobox.com>
3074 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
3077 2005-07-07 Wim Taymans <wim@fluendo.com>
3083 2005-07-07 Wim Taymans <wim@fluendo.com>
3085 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
3086 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
3087 Allow subclasses to implement their own negotiation.
3089 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
3091 * docs/design/part-gstbin.txt:
3092 * docs/design/part-gstpipeline.txt:
3093 Update design notes to reflect the movement of
3094 responsibility for bus handling from GstPipeline to
3097 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
3100 Remove unnecessary queue2/3/4 examples.
3102 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
3104 * examples/Makefile.am:
3105 * examples/helloworld/helloworld.c: (event_loop), (main):
3106 * examples/queue/queue.c: (event_loop), (main):
3107 * examples/queue2/queue2.c: (main):
3108 Update a couple of the examples to work again.
3110 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3111 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
3112 Spelling corrections and extra debug.
3114 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
3115 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
3116 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
3118 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
3119 (gst_pipeline_change_state):
3120 * gst/gstpipeline.h:
3121 Move the bus handler for children to the GstBin, and create a
3122 separate bus for receiving messages from children to the one the
3123 bus sends 'upwards' on.
3125 2005-07-06 Wim Taymans <wim@fluendo.com>
3128 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3129 (gst_base_sink_handle_object), (gst_base_sink_loop),
3130 (gst_base_sink_change_state):
3131 * gst/base/gstbasesink.h:
3132 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3133 (gst_base_src_init), (gst_base_src_setcaps),
3134 (gst_base_src_getcaps), (gst_base_src_loop),
3135 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
3136 (gst_base_src_start), (gst_base_src_change_state):
3137 * gst/base/gstbasesrc.h:
3138 Make basesrc negotiate.
3139 Handle the case where preroll fails in basesink.
3142 2005-07-06 Wim Taymans <wim@fluendo.com>
3144 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
3145 Implement the fixate function.
3146 Clean up acceptcaps.
3148 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3150 * docs/pwg/building-filterfactory.xml:
3152 Remove never-written filter-factory chapter; I'll add the various
3153 base classes to part 4 ("other element types") later on.
3155 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3157 * docs/pwg/advanced-negotiation.xml:
3158 * docs/pwg/building-boiler.xml:
3159 * docs/pwg/building-pads.xml:
3161 * examples/pwg/Makefile.am:
3162 Add a chapter on caps negotiation, simplify the original code
3163 samples a bit w.r.t. caps negotiation, add link to the advanced
3164 section. Add a bunch of examples showing different use cases of
3165 different types of caps negotiation. Upstream renegotiation isn't
3166 fully documented yet since nobody knows how that works.
3168 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
3170 * check/gst/gstpad.c:
3172 * gst/gstpad.c: (gst_pad_get_internal_links_default):
3173 if pad has no parent, return NULL as list of internal links
3175 2005-07-05 Andy Wingo <wingo@pobox.com>
3177 * gst/elements/gstfilesrc.c:
3178 * gst/elements/gstfakesrc.c:
3179 * gst/base/gstpushsrc.c:
3180 * gst/base/gstbasesrc.h:
3181 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
3183 2005-07-05 Stefan Kost <ensonic@users.sf.net>
3186 better report generation target (lcov needs a patch)
3188 2005-07-05 Andy Wingo <wingo@pobox.com>
3190 * gst/elements, testsuite: Null if we got it...
3192 2005-07-05 Wim Taymans <wim@fluendo.com>
3195 * libs/gst/dataprotocol/Makefile.am:
3196 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
3197 * libs/gst/dataprotocol/dataprotocol.h:
3198 * pkgconfig/Makefile.am:
3199 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
3200 * pkgconfig/gstreamer-dataprotocol.pc.in:
3201 Ported dataprotol to 0.9.
3202 Added pkgconfig files.
3204 2005-07-05 Andy Wingo <wingo@pobox.com>
3206 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
3207 Default to returning TRUE for the case when tranform_caps returns
3208 a fixed caps, like for identity or volume.
3210 * check/gst/gstbus.c (pound_bus_with_messages):
3211 * check/gst/gstmessage.c (START_TEST):
3212 * check/pipelines/simple_launch_lines.c (got_handoff): Application
3215 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
3216 logic weaks here: always run transform_caps, trying passthrough
3217 operation only if the original caps intersects with the transform.
3219 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
3220 source and sink caps.
3222 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
3223 Intersect the peer caps with the pad template before going into
3225 (gst_base_transform_transform_caps): More debugging.
3227 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
3230 2005-07-04 Edward Hervey <edward@fluendo.com>
3234 (gst_pad_add_*_probe): now returns the signal id for better wrapping
3237 2005-07-04 Andy Wingo <wingo@pobox.com>
3239 * check/gst/gstpad.c: Only set explicit caps on pads.
3241 2005-07-01 Andy Wingo <wingo@pobox.com>
3243 * tests/network-clock.scm: Commentary update.
3245 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
3246 Didn't really make sense, not implementable with basetransform,
3248 (gst_identity_transform): Unref inbuf via make_writable. Feeble
3249 attempt at implementing the sync property, needs an unlock method.
3251 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
3252 New func, by default returns the same caps (the identity
3254 (gst_base_transform_getcaps): Uses transform_caps to return
3256 (gst_base_transform_setcaps): Complicated logic to get caps on
3257 both pads, even if they are different, and to call set_caps once
3258 for every time both pads get their caps set.
3259 (gst_base_transform_handle_buffer): Give the ref to the transform
3260 function. Allows in-place modification of the buffer.
3262 * gst/base/gstbasetransform.h (transform_caps): New class method.
3263 Given caps on one side, what can I do on the other.
3264 (set_caps): Take two caps, one for each side of the element.
3267 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
3268 caps in place. This is safe because we can check the mutability of
3269 the caps, and a good idea because fixate functions are just called
3270 as a matter of last resort. (Not actually implemented.)
3271 (gst_pad_set_caps): If the caps we're setting is actually the same
3272 as the existing pad caps, just update the pointer without calling
3273 setcaps. Assert that caps is either NULL or fixed, as per the
3276 * gst/gstghostpad.c: Update for fixate changes.
3278 2005-07-02 Andy Wingo <wingo@pobox.com>
3281 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
3282 two refcounts makes it immutable, which is enough. Doc more.
3284 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
3286 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
3287 Put the mini_object into GValue as a mini_object,
3288 not a gpointer, since that's how we declared
3291 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3293 * examples/pwg/Makefile.am:
3296 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3298 * docs/pwg/building-testapp.xml:
3300 * examples/pwg/Makefile.am:
3303 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3306 * examples/Makefile.am:
3307 * examples/pwg/Makefile.am:
3308 * examples/pwg/extract.pl:
3309 Enable building the PWG examples.
3310 * docs/pwg/advanced-interfaces.xml:
3311 Add URI interface stub.
3312 * docs/pwg/advanced-types.xml:
3313 * docs/pwg/other-autoplugger.xml:
3314 * docs/pwg/appendix-porting.xml:
3316 Add porting guide (mostly stubs), remove autoplugging (see ADM).
3317 * docs/pwg/building-boiler.xml:
3318 * docs/pwg/building-chainfn.xml:
3319 * docs/pwg/building-pads.xml:
3320 * docs/pwg/building-props.xml:
3321 * docs/pwg/building-state.xml:
3322 * docs/pwg/building-testapp.xml:
3323 Update the building-*.xml parts for 0.9 changes. All examples
3324 code blocks compile in examples/pwg/*.
3326 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3328 * docs/manual/advanced-autoplugging.xml:
3329 * docs/manual/appendix-checklist.xml:
3330 * docs/manual/appendix-integration.xml:
3331 * docs/manual/highlevel-components.xml:
3332 Fix playbin/decodebin examples, update docs a bit, mention bus
3333 instead of signals in various places, mention kmplayer and
3334 kaffeine since they have a working GStreamer backend in the KDE
3337 2005-06-30 Wim Taymans <wim@fluendo.com>
3340 * docs/design/draft-ghostpads.txt:
3341 * docs/design/draft-push-pull.txt:
3342 * docs/design/draft-query.txt:
3343 * docs/design/part-TODO.txt:
3344 * docs/design/part-query.txt:
3345 Added CHANGES-0.9 doc, updated status of other docs.
3350 2005-06-30 Wim Taymans <wim@fluendo.com>
3352 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3353 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
3354 (gst_base_sink_change_state):
3355 * gst/base/gstbasesink.h:
3356 Some tweaks, only EOS and a buffer complete a preroll.
3358 2005-06-30 Andy Wingo <wingo@pobox.com>
3360 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
3361 activate_push down to the internal pad as well.
3363 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
3365 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3367 * gst/gsttaginterface.c:
3368 Some documentation fixes (#307394 and #307397).
3370 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
3372 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3374 * gst/gstvalue.c: (gst_value_intersect_list):
3375 Fix memleak (#309125).
3377 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3379 * docs/manual/advanced-dataaccess.xml:
3380 Fix fakesrc example to compile; doesn't work, bug somewhere...?
3381 * docs/manual/basics-pads.xml:
3382 Add reference for filtered caps to above chapter.
3384 2005-06-30 Wim Taymans <wim@fluendo.com>
3386 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
3387 (gst_bin_change_state):
3389 Lame attempt at making the state change function a bit
3392 2005-06-30 Wim Taymans <wim@fluendo.com>
3394 * docs/design/part-clocks.txt:
3395 * docs/design/part-element-sink.txt:
3396 * docs/design/part-events.txt:
3397 * docs/design/part-preroll.txt:
3398 * docs/design/part-states.txt:
3399 Some more tweeks and additions to the docs.
3401 2005-06-30 Wim Taymans <wim@fluendo.com>
3403 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
3404 (default_have_data), (gst_pad_class_init), (gst_pad_init),
3405 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
3406 (gst_pad_check_pull_range), (gst_pad_get_range),
3407 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
3409 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
3410 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
3411 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
3412 (gst_pad_remove_buffer_probe):
3413 Removed atomic operations, use existing LOCK.
3414 Move exception handling out of main code path.
3416 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3418 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
3419 (silly_return_true_function), (gst_pad_class_init),
3420 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
3421 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
3422 (gst_pad_send_event):
3423 Fix accumulator, add default value by using _emitv() instead
3424 of _emit() for signal emission.
3426 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3428 * docs/manual/advanced-dataaccess.xml:
3429 * examples/manual/Makefile.am:
3431 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
3434 2005-06-29 Tim-Philipp M??ller <tim at centricular dot net>
3436 * gst/elements/gstfilesink.c: (gst_filesink_render):
3437 Simplify code so that we don't have to handle short
3438 writes and return GST_FLOW_ERROR if an error occured.
3440 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3442 * docs/gst/gstreamer-docs.sgml:
3445 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3447 * docs/gst/gstreamer-sections.txt:
3448 * docs/gst/tmpl/gstpad.sgml:
3449 * docs/gst/tmpl/gstprobe.sgml:
3451 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
3452 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
3453 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
3454 (gst_pad_push_event), (gst_pad_send_event):
3456 * gst/gstutils.c: (gst_pad_add_data_probe),
3457 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
3458 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
3459 (gst_pad_remove_buffer_probe):
3461 Remove old probes, add new g-signal-based probes and some utility
3464 2005-06-29 Edward Hervey <edward@fluendo.com>
3466 * gst/gstelementfactory.c:
3469 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
3470 the definition to the header file.
3472 2005-06-29 Andy Wingo <wingo@pobox.com>
3474 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
3475 plugins from the source directory.
3477 2005-06-29 Wim Taymans <wim@fluendo.com>
3479 * docs/gst/tmpl/gstbuffer.sgml:
3480 * docs/gst/tmpl/gstclock.sgml:
3481 Some fixings for blantently wrong text.
3483 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
3485 * check/Makefile.am:
3486 * gst/gst.c: (add_path_func), (init_pre):
3487 * gst/gstregistry.c: (gst_registry_add_path):
3488 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
3489 only scan the GST_PLUGIN_PATH locations, and not add
3492 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
3494 * docs/gst/gstreamer-sections.txt:
3495 * docs/gst/tmpl/gstbasesrc.sgml:
3502 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3504 * docs/manual/advanced-autoplugging.xml:
3505 Fix autoplugging example.
3507 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3509 * docs/manual/advanced-autoplugging.xml:
3510 * docs/manual/mime-world.fig:
3511 Try to get autoplugging working, fix type detection. Fix text
3512 in hello-world image.
3514 2005-06-29 Wim Taymans <wim@fluendo.com>
3516 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3517 (gst_base_sink_change_state):
3521 map SIGNAL and BROADCAST to the right function.
3524 Remove redundant braces.
3526 * gst/gstpad.c: (gst_pad_set_caps):
3527 Don't call setcaps function when reseting caps to NULL.
3529 * gst/gstsystemclock.c: (gst_system_clock_dispose),
3530 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
3531 (gst_system_clock_id_unschedule):
3532 Use BROADCAST as this is what we do.
3534 2005-06-29 Wim Taymans <wim@fluendo.com>
3536 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3537 We are actually prerolling before commiting the state
3540 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3542 * docs/manual/advanced-clocks.xml:
3543 * docs/manual/advanced-interfaces.xml:
3544 * docs/manual/advanced-metadata.xml:
3545 * docs/manual/advanced-position.xml:
3546 * docs/manual/advanced-schedulers.xml:
3547 * docs/manual/advanced-threads.xml:
3548 * docs/manual/appendix-porting.xml:
3549 * docs/manual/basics-bins.xml:
3550 * docs/manual/basics-bus.xml:
3551 * docs/manual/basics-elements.xml:
3552 * docs/manual/basics-helloworld.xml:
3553 * docs/manual/basics-pads.xml:
3554 * docs/manual/highlevel-components.xml:
3555 * docs/manual/manual.xml:
3556 * docs/manual/thread.fig:
3557 Update (until threads/scheduling) Application Development Manual;
3558 remove GstThread, add GstBus, add simple porting checklist, add
3559 documentation for tag writing, clocks, make all examples until this
3560 part compile and run.
3561 * examples/manual/Makefile.am:
3562 Update from changes to Application Development Manual; add bus
3563 example, remove thread example.
3565 2005-06-28 Wim Taymans <wim@fluendo.com>
3567 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
3568 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
3569 (gst_bus_source_dispatch):
3570 Add debugging messages.
3571 Make internal methods static.
3572 Handle the case where the bus is flushed in the handler.
3574 * gst/gstelement.c: (gst_element_get_bus):
3575 Fix refcount in _get_bus();
3577 * gst/gstpipeline.c: (gst_pipeline_change_state),
3578 (gst_pipeline_get_clock_func):
3579 Clock refcounting fixes.
3580 Handle the case where preroll timed out more gracefully.
3582 * gst/gstsystemclock.c: (gst_system_clock_dispose):
3583 Clean up the internal thread in dispose. This is needed
3584 for subclasses that actually get disposed.
3586 * gst/schedulers/threadscheduler.c:
3587 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
3588 (gst_thread_scheduler_dispose):
3589 Free thread pool in dispose.
3591 2005-06-28 Andy Wingo <wingo@pobox.com>
3593 * tests/network-clock-utils.scm (debug, print-event): New utils.
3595 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
3596 (*packet-loss*): Unified loss probability.
3597 (network-time): Report out-of-band events.
3599 * tests/plot-data: Add support for out-of-band events. Hack it
3600 into this script instead of passing it down the pipe; should fix
3603 2005-06-28 Wim Taymans <wim@fluendo.com>
3605 * docs/gst/gstreamer.types:
3606 * docs/gst/tmpl/gstbasesrc.sgml:
3607 * docs/gst/tmpl/gstpad.sgml:
3610 2005-06-28 Wim Taymans <wim@fluendo.com>
3612 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
3613 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
3614 (gst_proxy_pad_do_fixatecaps):
3615 Correctly proxy the check_pull_range function.
3617 2005-06-28 Andy Wingo <wingo@pobox.com>
3619 * tests/network-clock.scm: Removed need for slib.
3621 2005-06-28 Wim Taymans <wim@fluendo.com>
3623 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
3624 (gst_basesink_preroll_queue_flush):
3625 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
3626 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
3627 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
3628 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
3629 (gst_proxy_pad_set_property):
3632 * gst/gstqueue.c: (gst_queue_init):
3633 The deprecated pad loop function is removed now.
3635 2005-06-28 Andy Wingo <wingo@pobox.com>
3637 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
3638 New parameters, simulate network packet loss.
3640 * tests/network-clock-utils.scm: Initialize the RNG.
3642 2005-06-28 Wim Taymans <wim@fluendo.com>
3644 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
3645 (gst_basesink_event), (gst_basesink_deactivate):
3646 Flushing the preroll queue always needs to unlock the waiters.
3648 2005-06-28 Edward Hervey <edward@fluendo.com>
3650 * gst/gstpipeline.c: (gst_pipeline_send_event):
3651 Wheen a seek was successful on a pipeline, set the stream_time to the
3652 seek offset in order to have a synchronized stream_time.
3654 2005-06-28 Wim Taymans <wim@fluendo.com>
3656 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
3657 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
3658 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
3659 (gst_proxy_pad_do_fixatecaps):
3660 Call wrapper function instead of just calling the function
3661 pointers. This takes care of any locking and whatmore.
3663 2005-06-28 Wim Taymans <wim@fluendo.com>
3665 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
3666 (gst_pad_pull_range):
3668 CONNECTED -> LINKED.
3670 2005-06-28 Andy Wingo <wingo@pobox.com>
3672 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
3673 source-munging commit!!!
3675 * gst/gstobject.c (gst_object_unref, gst_object_ref)
3676 (gst_object_sink): Take gpointer arguments, not GstObject --
3677 avoids casts. Like GLib.
3679 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
3682 2005-06-27 Andy Wingo <wingo@pobox.com>
3684 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
3687 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
3688 returns a sorted copy of the trace list.
3689 (gst_alloc_trace_print_live): New API, only prints traces with
3690 live objects. Sort the list.
3691 (gst_alloc_trace_print_all): Sort the list.
3692 (gst_alloc_trace_print): Align columns.
3694 * gst/elements/gstttypefindelement.c:
3695 * gst/elements/gsttee.c:
3696 * gst/base/gstbasesrc.c:
3697 * gst/base/gstbasesink.c:
3698 * gst/base/gstbasetransform.c:
3699 * gst/gstqueue.c: Adapt for pad activation changes.
3701 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
3703 (gst_pipeline_dispose): Drop ref on sched.
3705 * gst/gstpad.c (gst_pad_init): Set the default activate func.
3706 (gst_pad_activate_default): Push mode by default.
3707 (pre_activate_switch, post_activate_switch): New stubs, things to
3708 do before and after switching activation modes on pads.
3709 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
3710 the pad's activate function to choose which mode to activate.
3711 Shortcut on deactivation and call the right function directly.
3712 (gst_pad_activate_pull): New API, (de)activates a pad in pull
3714 (gst_pad_activate_push): New API, same for push mode.
3715 (gst_pad_set_activate_function)
3716 (gst_pad_set_activatepull_function)
3717 (gst_pad_set_activatepush_function): Setters for new API.
3719 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
3720 Trace all miniobjects.
3721 (gst_mini_object_make_writable): Unref the arg if we copy, like
3722 gst_caps_make_writable.
3724 * gst/gstmessage.c (_gst_message_initialize): No trace init.
3726 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
3727 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
3728 Adapt for new pad API.
3730 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
3733 * gst/gstelement.c (gst_element_iterate_src_pads)
3734 (gst_element_iterate_sink_pads): New API functions.
3736 * gst/gstelement.c (iterator_fold_with_resync): New utility,
3737 should fold into gstiterator.c in some form.
3738 (gst_element_pads_activate): Simplified via use of fold and
3739 delegation of decisions to gstpad->activate.
3741 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
3744 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
3745 class once in init, like gstmessage. Didn't run into this issue
3746 but it seems correct. Don't initialize a trace, gstminiobject does
3749 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
3750 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
3752 (assert_live_count): New util function, uses alloc traces to check
3755 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
3756 To be modified when unlink drops the internal pad.
3758 2005-06-27 Wim Taymans <wim@fluendo.com>
3760 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
3761 (gst_bin_change_state):
3762 Cleanup the get_state() function a little, make sure it
3763 iterates the same set of elements.
3764 Added stub iterate_state_order().
3766 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
3768 * docs/gst/gstreamer-docs.sgml:
3769 * docs/gst/gstreamer-sections.txt:
3770 * docs/gst/gstreamer.types:
3771 * docs/gst/tmpl/gstbasesink.sgml:
3772 * docs/gst/tmpl/gstbasesrc.sgml:
3773 * docs/gst/tmpl/gstbasetransform.sgml:
3774 * docs/gst/tmpl/gstelement.sgml:
3775 * docs/gst/tmpl/gstiterator.sgml:
3776 * gst/base/gstbasesrc.c:
3777 * gst/base/gstbasesrc.h:
3778 * gst/base/gstbasetransform.h:
3780 * gst/gstiterator.h:
3781 adding basetransform and iterator docs
3783 2005-06-27 Andy Wingo <wingo@pobox.com>
3785 * docs/design/part-activation.txt: Notes on how activation should
3786 work -- not quite implemented yet.
3788 2005-06-25 Wim Taymans <wim@fluendo.com>
3790 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
3791 At least get the chain function correct, needs more
3794 2005-06-25 Wim Taymans <wim@fluendo.com>
3796 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
3797 (gst_basesink_handle_object), (gst_basesink_event),
3798 (gst_basesink_do_sync), (gst_basesink_handle_event),
3799 (gst_basesink_change_state):
3801 Right, two problems here: ghostpads don't take locks and
3802 glib _rec_mutex_lock_full() with depth==0 still locks.
3803 Catch illegal locking and g_warn them.
3805 2005-06-25 Wim Taymans <wim@fluendo.com>
3807 * check/states/sinks.c: (START_TEST), (gst_object_suite):
3808 Have to check for completion now...
3810 2005-06-25 Wim Taymans <wim@fluendo.com>
3812 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
3813 (gst_basesink_handle_object), (gst_basesink_event),
3814 (gst_basesink_do_sync), (gst_basesink_handle_event),
3815 (gst_basesink_change_state):
3817 Unlock STREAM_LOCK whatever the recursion was.
3819 2005-06-25 Wim Taymans <wim@fluendo.com>
3821 * gst/base/gstbasesink.c: (gst_basesink_set_property),
3822 (gst_basesink_preroll_queue_empty),
3823 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
3824 (gst_basesink_event), (gst_basesink_do_sync),
3825 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
3826 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
3827 (gst_basesink_change_state):
3828 Reworked the base sink, handle event and buffer serialisation
3829 correctly and removed possible deadlock.
3830 Handle EOS correctly.
3832 2005-06-25 Wim Taymans <wim@fluendo.com>
3834 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
3835 (gst_pipeline_change_state):
3836 * tools/gst-launch.c: (check_intr), (event_loop), (main):
3837 Allow elements to post EOS in the state change function.
3838 Fix up -launch, make it exit the poll loop when the
3839 pipeline actually changed state.
3840 Fix up warning parsing in -launch.
3842 2005-06-25 Wim Taymans <wim@fluendo.com>
3844 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
3845 (gst_tee_sink_activate):
3846 Core takes STREAM_LOCK for us now.
3848 2005-06-25 Wim Taymans <wim@fluendo.com>
3850 * gst/gstelement.c: (gst_element_get_state_func),
3851 (gst_element_set_state):
3853 * gst/gstmessage.c: (gst_message_parse_error),
3854 (gst_message_parse_warning):
3855 Keep track of current target state while performing a state
3856 change so that subclasses can do something interesting.
3857 Fix parsing of warning/error messages when GError is NULL.
3859 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
3861 * docs/gst/Makefile.am:
3862 * docs/gst/gstreamer-docs.sgml:
3863 * docs/gst/gstreamer-sections.txt:
3864 * docs/gst/gstreamer.types:
3865 * docs/gst/tmpl/gstbasesink.sgml:
3866 * docs/gst/tmpl/gstbasesrc.sgml:
3867 * docs/gst/tmpl/gstbin.sgml:
3868 * docs/gst/tmpl/gstcompat.sgml:
3869 * docs/gst/tmpl/gstfakesink.sgml:
3870 * docs/gst/tmpl/gstfakesrc.sgml:
3871 * docs/gst/tmpl/gstfilesink.sgml:
3872 * docs/gst/tmpl/gstfilesrc.sgml:
3873 * docs/gst/tmpl/gstindex.sgml:
3874 * docs/manual/appendix-quotes.xml:
3875 * gst/base/gstbasesrc.h:
3876 * gst/elements/gstfakesrc.h:
3878 start pulling in base classes and elements in our docs
3880 2005-06-24 Stefan Kost <ensonic@users.sf.net>
3882 * docs/gst/Makefile.am:
3883 * docs/libs/Makefile.am:
3884 fixed make distcheck with gtk-doc 1.3
3886 2005-06-23 Wim Taymans <wim@fluendo.com>
3888 * gst/gstelement.c: (gst_element_get_state_func),
3889 (gst_element_set_state), (gst_element_change_state):
3890 When the state did not change, also report NO_PREROLL
3893 2005-06-23 Wim Taymans <wim@fluendo.com>
3895 * gst/gstpad.c: (gst_pad_event_default):
3896 * gst/gstqueue.c: (gst_queue_loop):
3897 No unsafe task pausing please.
3899 2005-06-23 Wim Taymans <wim@fluendo.com>
3901 * gst/schedulers/threadscheduler.c:
3902 (gst_thread_scheduler_task_start),
3903 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
3904 Ref the task before pushing it on the threadpool. This
3905 makes sure that we have a ref when the threadfunction is
3908 2005-06-23 Andy Wingo <wingo@pobox.com>
3910 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
3911 offset is greater than the file's size.
3913 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
3914 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
3915 * gst/gstobject.c (gst_object_class_init): Make the class lock
3916 recursive. Wim won't let me drop deep_notify. Decodebin works
3919 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
3920 internal pad, and hacks accordingly. Doesn't do it on the target
3921 pad because we change its caps. Probably catches all cases of
3923 (gst_ghost_pad_set_property): Connect to notify::caps as
3926 * tests/network-clock.scm (plot-simulation): Pipe data to the
3927 elite python skript.
3929 * tests/network-clock-utils.scm (define-parameter): New macro,
3930 defines a parameter that can be set via the command line.
3931 (set-parameter!, parse-parameter-arguments): Command line args
3934 * tests/plot-data: Simple matplotlib-based plotter, takes input on
3937 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
3939 * gst/elements/gsttypefindelement.c:
3940 (gst_type_find_element_handle_event):
3941 Don't restart typefinding on a discont.
3942 * gst/gstelement.c: (gst_element_set_state):
3944 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
3945 Allow changing mode of an active pad.
3947 * gst/registries/gstlibxmlregistry.c: (load_feature):
3948 Don't cast a static pad template to a normal pad template.
3950 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
3952 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
3953 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
3954 remove gst_strtoll completely, since it didn't actually do
3955 anything more than what g_ascii_strtoull already does.
3956 check for range errors when deserializing
3957 do a cast for the unsigned cases; but further fixing needs
3958 a decision on what the interpretation of "(int)" and
3959 deserialization should be for values that fall outside the
3960 type's boundaries (ie, refuse, or interpret as casting)
3962 2005-06-23 Wim Taymans <wim@fluendo.com>
3964 * check/Makefile.am:
3965 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
3966 * docs/design/part-live-source.txt:
3967 * docs/design/part-states.txt:
3968 * gst/base/gstbasesrc.c: (gst_basesrc_init),
3969 (gst_basesrc_set_live), (gst_basesrc_is_live),
3970 (gst_basesrc_get_range), (gst_basesrc_activate),
3971 (gst_basesrc_change_state):
3972 * gst/base/gstbasesrc.h:
3973 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
3974 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
3975 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
3976 * gst/gstelement.c: (gst_element_get_state_func),
3977 (gst_element_set_state):
3980 * tools/gst-launch.c: (event_loop), (main):
3981 Added support for live sources and other elements that
3983 Updated design docs, added live-source design doc.
3984 Implemented live source functionality in basesrc
3985 Fix error condition in _bin_get_state()
3986 Implement live source handling in -launch.
3987 Added check for live sources.
3988 Fixed case in GstBin where elements were changed state
3992 2005-06-23 Andy Wingo <wingo@pobox.com>
3994 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
3997 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
3998 gst_caps_replace takes care of this for us.
4000 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
4001 gst_pad_set_caps on the target, not just its setcaps() function.
4003 * tests/network-clock.scm:
4004 * tests/network-clock-utils.scm: A network clock simulator.
4005 Something of an algorithmic testbed before doing something in C.
4007 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
4009 * check/Makefile.am:
4010 * check/gst/capslist.h:
4011 copy over from 0.8, and add two with bitmasks specified with
4013 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
4014 add test to parse everything from capslist.h
4015 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
4017 add test for structure deserialization
4018 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
4019 add tests for deserialization of strings to int types
4020 * gst/gststructure.c: (gst_structure_nth_field_name):
4021 * gst/gststructure.h:
4022 add a way to get the name of a field referenced by index
4023 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4024 instead of checking if the resulting long long lies between
4025 min and max, we check if the long long would fit into
4026 a number of bytes for the final type.
4027 This fixes cases where a string represents 2^32 - 1, which
4028 when cast to int would be the (valid) -1, but is bigger than
4031 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
4033 * gst/parse/grammar.y:
4034 add a log line for type deserialization
4036 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
4038 * check/gst/gstvalue.c: (START_TEST):
4039 * gst/gstvalue.c: (gst_value_deserialize):
4040 return long long, not int, so gint64 deserialization actually
4041 works. Is there any flag that makes the compiler check this ?
4044 2005-06-22 Wim Taymans <wim@fluendo.com>
4047 Added convenience macros for setting buffers in GValue.
4049 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
4051 * check/gst/.cvsignore:
4052 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
4053 add a test deserializing int64, and comment part out because
4056 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
4058 * check/Makefile.am:
4059 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
4060 * testsuite/Makefile.am:
4061 * testsuite/caps/Makefile.am:
4062 * testsuite/caps/value_serialize.c:
4063 * testsuite/test_gst_init.c:
4064 move a value_serialize test over
4066 2005-06-20 Wim Taymans <wim@fluendo.com>
4071 * gst/gstvalue.c: (gst_value_compare_buffer),
4072 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
4073 (gst_value_compare_flags), (gst_value_serialize_flags),
4074 (gst_value_deserialize_flags), (_gst_value_initialize):
4075 Fix serialisation of buffers, they are not boxed types anymore
4077 2005-06-20 Wim Taymans <wim@fluendo.com>
4079 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
4080 Testcase to show error in buffer-on-caps serialisation.
4082 2005-06-20 Andy Wingo <wingo@pobox.com>
4084 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
4085 will be adding to later.
4087 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
4088 if its socks fill with rocks.
4089 (gst_system_clock_obtain): Set the name on object construction.
4090 Avoid double-checked locking.
4092 2005-06-20 Tim-Philipp M??ller <tim at centricular dot net>
4094 * gst/gsturi.c: (gst_element_make_from_uri):
4095 Fix potential endless loop.
4097 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
4099 * check/Makefile.am:
4101 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
4103 move over from testsuite dir and clean up
4106 * testsuite/Makefile.am:
4107 * testsuite/tags/.cvsignore:
4108 * testsuite/tags/Makefile.am:
4109 * testsuite/tags/merge.c:
4110 remove testsuite/tags
4112 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
4114 * docs/gst/gstreamer-sections.txt:
4115 * docs/gst/tmpl/gstenumtypes.sgml:
4116 * win32/gstenumtypes.c:
4117 clean up documentation build a little
4119 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
4122 add macros for checking refcounts on objects and caps
4123 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
4124 add some more unit tests
4125 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
4126 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
4127 fix leaked refcounts (I hope :)) so unittest works
4131 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
4133 * configure.ac: back to HEAD
4135 === release 0.9.1 ===
4137 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
4143 2005-06-17 Andy Wingo <wingo@pobox.com>
4145 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
4146 assert; it's always possible that the pad gets deactivated in
4147 between the checks in gstpad.c and the implementation. Rely on
4148 finish_preroll() to return a FLUSHING or similar instead of on the
4151 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
4152 clock and post an EOS message if we come out of finish_preroll in
4155 2005-06-16 David Schleef <ds@schleef.org>
4157 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4158 (gst_capsfilter_set_property): Allow NULL as possible value
4159 for filter_caps property, indicating GST_CAPS_ANY.
4161 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
4163 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
4165 * gst/schedulers/Makefile.am:
4167 * gstreamer.spec.in:
4170 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
4172 * gstreamer.spec.in:
4175 2005-06-08 Andy Wingo <wingo@pobox.com>
4177 * gst/gstutils.c: RPAD fixes all around.
4178 (gst_element_link_pads): Refcounting fixes.
4180 * tools/gst-inspect.c:
4181 * tools/gst-xmlinspect.c:
4183 * gst/base/gsttypefindhelper.c:
4184 * gst/base/gstbasesink.c:
4185 * gst/gstqueue.c: RPAD fixes.
4187 * gst/gstghostpad.h:
4188 * gst/gstghostpad.c: New ghost pad implementation as full proxy
4189 pads. The tricky thing is they provide both source and sink
4190 interfaces, since they proxy the internal pad for the external
4191 pad, and vice versa. Implement with lower-level ProxyPad objects,
4192 with the interior proxy pad as a child of the exterior ghost pad.
4193 Should write a doc on this.
4195 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
4196 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
4199 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
4200 pads are real pads. No ghost pads in this file. Not documenting
4201 the myriad s/RPAD/PAD/ and REALIZE fixes.
4202 (gst_pad_class_init): Add properties for "direction" and
4203 "template". Both are construct-only, so they can't change during
4204 the life of the pad. Fixes properly deriving from GstPad.
4205 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
4206 derived objects, just set properties when creating the objects via
4208 (gst_pad_get_parent): Implement as a function, return NULL if the
4209 parent is not an element.
4210 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
4211 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
4213 * gst/gstobject.c (gst_object_class_init): Make name a construct
4214 property. Don't set it in the object init.
4216 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
4217 with UNKNOWN direction.
4218 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
4219 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
4220 (gst_element_remove_pad): Remove ghost-pad special cases.
4221 (gst_element_pads_activate): Remove rpad cruft.
4223 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
4224 catch the pad's-parent-not-an-element case.
4226 * gst/gst.h: Include gstghostpad.h.
4228 * gst/gst.c (init_post): No more real, ghost pads.
4230 * gst/Makefile.am: Add gstghostpad.[ch].
4232 * check/Makefile.am:
4233 * check/gst/gstbin.c:
4234 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
4235 into a bin creates ghost pads, and that the refcounts are right.
4236 Partly moved from gstbin.c.
4238 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
4240 * check/gst-libs/.cvsignore:
4241 * check/gst/.cvsignore:
4242 * check/pipelines/.cvsignore:
4244 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
4245 (START_TEST), (cleanup_suite), (main):
4246 add some tests related to cleanup after running pipelines
4248 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
4250 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
4251 add a testsuite for GstBuffer
4253 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
4255 * gst/gstminiobject.h:
4256 add defines for accessing the refcount
4258 2005-06-03 Stefan Kost <ensonic@users.sf.net>
4260 * Makefile.am: added support for html unit test coverage reports
4262 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
4264 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
4265 Free existing caps if the capsfilter changes. Add a FIXME about
4266 setting those caps on the pads.
4268 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
4269 Before adding a ghost pad to a parent bin, check that there isn't
4270 already one for the element on the bin. Prevents infinite recursion
4271 when using decodebin in parse pipelines. Andy says he'll rewrite the
4272 way this works anyway, so ignore the hack.
4274 2005-06-02 Andy Wingo <wingo@pobox.com>
4276 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
4277 file size, pass it on to the type find helper.
4279 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
4280 segment_start and segment_end properly according to the seek
4281 method. Segment_end is still a bit flaky because offset can be
4282 negative for CUR and END cases, but it takes -1 as an "unset"
4285 2005-06-02 Wim Taymans <wim@fluendo.com>
4287 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
4288 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
4289 (gst_basesink_activate):
4290 * gst/base/gstbasesink.h:
4291 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
4292 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
4293 (gst_pad_query), (gst_pad_start_task):
4295 * gst/gstqueue.c: (gst_queue_bufferalloc),
4296 (gst_queue_handle_sink_event), (gst_queue_chain):
4297 Bufferalloc: return GstFlowReturn to more accuratly report
4298 why allocation failed.
4300 2005-06-02 Wim Taymans <wim@fluendo.com>
4302 * gst/gstpipeline.c: (gst_pipeline_send_event):
4303 Take snapshot of state without blocking.
4305 2005-06-02 Wim Taymans <wim@fluendo.com>
4307 * docs/design/part-TODO.txt:
4308 * docs/design/part-caps.txt:
4309 * docs/design/part-clocks.txt:
4310 * docs/design/part-negotiation.txt:
4311 * docs/design/part-preroll.txt:
4314 2005-05-30 Wim Taymans <wim@fluendo.com>
4316 * gst/elements/gstidentity.c: (gst_identity_event),
4317 (gst_identity_transform), (gst_identity_get_property):
4318 Protect last_message property as it is accessed from
4321 2005-05-30 Wim Taymans <wim@fluendo.com>
4323 * gst/gstelement.c: (gst_element_init),
4324 (gst_element_pads_activate), (gst_element_change_state):
4325 Slicker pad activation code.
4327 2005-05-30 Wim Taymans <wim@fluendo.com>
4331 * gst/gstelementfactory.h:
4333 Move elementfactory methods to separate .h file.
4335 2005-05-30 Wim Taymans <wim@fluendo.com>
4337 * docs/design/part-overview.txt:
4338 * gst/gstsystemclock.h:
4339 Small typo fixes, doc updates.
4341 2005-05-30 Wim Taymans <wim@fluendo.com>
4343 * gst/gst.c: (gst_init_get_popt_table), (init_post),
4344 (init_popt_callback):
4345 Remove cpu-opt flag.
4347 2005-05-30 Wim Taymans <wim@fluendo.com>
4349 * gst/gstbuffer.c: (gst_subbuffer_finalize),
4350 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
4352 Avoid typechecking in places where not needed.
4353 Added accessor for malloc_data.
4355 2005-05-30 Wim Taymans <wim@fluendo.com>
4357 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
4358 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
4359 (gst_pad_configure_sink), (gst_pad_configure_src),
4360 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
4361 (gst_pad_start_task):
4362 Propagate errors from _set_caps() in configure_src/sink
4363 functions instead of returning TRUE.
4364 FLUSH events can travel up and downstream
4367 2005-05-30 Wim Taymans <wim@fluendo.com>
4369 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
4370 (gst_basesink_activate):
4371 Handle EOS in preroll.
4373 2005-05-30 Wim Taymans <wim@fluendo.com>
4375 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
4376 (gst_queue_loop), (gst_queue_handle_src_event):
4377 Remove old pieces of code
4378 Flushing the queue in an upstream event is a very bad idea.
4380 2005-05-26 Andy Wingo <wingo@pobox.com>
4382 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
4383 gst_value_set_mini_object so as to add a ref on the object (which
4384 will be removed when the value is unset).
4386 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
4387 arg type in ::handoff.
4389 * gst/gstelement.c (gst_element_change_state): Also deactivate
4390 pads in READY->NULL, just in case the element didn't make it to
4391 PAUSED. Wingo tested, Wim approved.
4393 2005-05-26 Wim Taymans <wim@fluendo.com>
4395 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
4396 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
4397 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
4398 A flushing pad cannot be used to alloc_buffer from.
4400 2005-05-26 Wim Taymans <wim@fluendo.com>
4402 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4403 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
4404 (gst_bus_source_dispatch), (gst_bus_source_finalize),
4405 (gst_bus_create_watch), (gst_bus_add_watch_full):
4407 Implement a real GSource and use g_main_context_wakeup() to
4408 signal new messages instead of the socketpair.
4410 2005-05-25 Wim Taymans <wim@fluendo.com>
4412 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
4413 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
4414 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
4415 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
4416 (gst_pad_send_event), (gst_pad_start_task):
4417 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
4418 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
4419 (gst_queue_sink_activate), (gst_queue_src_activate),
4420 (gst_queue_change_state):
4422 Fix state changes for non sinks. We now change sinks, then elements
4423 with unconnected srcpads, then the rest.
4424 More efficient queue unlocking in flush and state changes.
4425 Set the pad activate mode even if it does not have an activate
4428 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4430 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
4431 Don't go in pull mode for non-seekable sources.
4432 * gst/elements/gsttypefindelement.h:
4433 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
4434 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
4435 (free_entry), (stop_typefinding),
4436 (gst_type_find_element_handle_event), (find_peek),
4437 (gst_type_find_element_chain), (do_pull_typefind),
4438 (gst_type_find_element_change_state):
4439 Allow typefinding (w/o seeking) in push-mode, simplified version
4441 * gst/gstutils.c: (gst_buffer_join):
4443 gst_buffer_join() from 0.8.
4445 2005-05-25 Wim Taymans <wim@fluendo.com>
4447 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
4448 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
4449 (gst_pad_send_event), (gst_pad_start_task):
4450 Disable attempt at mode switching until it is figured out.
4452 2005-05-25 Wim Taymans <wim@fluendo.com>
4454 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
4455 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
4456 (gst_basesink_finish_preroll), (gst_basesink_chain),
4457 (gst_basesink_loop), (gst_basesink_activate),
4458 (gst_basesink_change_state):
4459 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
4460 (gst_basesrc_get_range), (gst_basesrc_loop),
4461 (gst_basesrc_activate):
4462 * gst/elements/gsttee.c: (gst_tee_sink_activate):
4463 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
4464 (gst_real_pad_init), (gst_real_pad_set_property),
4465 (gst_real_pad_get_property), (gst_pad_set_active),
4466 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
4467 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
4468 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
4469 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
4470 (gst_pad_event_default_dispatch), (gst_pad_event_default),
4471 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
4472 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
4473 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
4474 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
4475 (gst_pad_stop_task):
4477 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
4478 (gst_queue_loop), (gst_queue_src_activate):
4479 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
4480 (gst_task_get_state):
4482 * gst/schedulers/threadscheduler.c:
4483 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
4484 Implement gst_pad_pause/start/stop_task(), take STREAM lock
4486 Remove ACTIVE pad flag, use FLUSHING everywhere
4487 Added _pad_chain(), _pad_get_range() to call chain/getrange
4489 Add locks around IS_FLUSHING when reading.
4490 Take STREAM lock in chain(), get_range() functions so plugins
4491 don't need to take it anymore.
4495 2005-05-25 Wim Taymans <wim@fluendo.com>
4497 * tools/gst-launch.c: (event_loop):
4498 Unref message after using its contents instead of
4501 2005-05-24 Wim Taymans <wim@fluendo.com>
4503 * docs/design/draft-ghostpads.txt:
4504 * docs/design/draft-push-pull.txt:
4505 * docs/design/draft-query.txt:
4506 * docs/design/part-overview.txt:
4507 Docs updates, added general overview doc.
4509 2005-05-21 David Schleef <ds@schleef.org>
4511 * docs/gst/tmpl/old/GstBin.sgml:
4512 * docs/gst/tmpl/old/GstBuffer.sgml:
4513 * docs/gst/tmpl/old/GstCaps.sgml:
4514 * docs/gst/tmpl/old/GstClock.sgml:
4515 * docs/gst/tmpl/old/GstCompat.sgml:
4516 * docs/gst/tmpl/old/GstData.sgml:
4517 * docs/gst/tmpl/old/GstElement.sgml:
4518 * docs/gst/tmpl/old/GstEvent.sgml:
4519 * docs/gst/tmpl/old/GstIndex.sgml:
4520 * docs/gst/tmpl/old/GstStructure.sgml:
4521 * docs/gst/tmpl/old/GstTag.sgml:
4522 * docs/gst/tmpl/old/cothreads.sgml:
4523 * docs/gst/tmpl/old/cothreads_compat.sgml:
4524 * docs/gst/tmpl/old/gettext.sgml:
4525 * docs/gst/tmpl/old/gobject2gtk.sgml:
4526 * docs/gst/tmpl/old/grammar.tab.sgml:
4527 * docs/gst/tmpl/old/gst-i18n-app.sgml:
4528 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
4529 * docs/gst/tmpl/old/gst_private.sgml:
4530 * docs/gst/tmpl/old/gstaggregator.sgml:
4531 * docs/gst/tmpl/old/gstarch.sgml:
4532 * docs/gst/tmpl/old/gstatomic_impl.sgml:
4533 * docs/gst/tmpl/old/gstbufferstore.sgml:
4534 * docs/gst/tmpl/old/gstdata_private.sgml:
4535 * docs/gst/tmpl/old/gstdisksink.sgml:
4536 * docs/gst/tmpl/old/gstdisksrc.sgml:
4537 * docs/gst/tmpl/old/gstelementfactory.sgml:
4538 * docs/gst/tmpl/old/gstextratypes.sgml:
4539 * docs/gst/tmpl/old/gstfakesink.sgml:
4540 * docs/gst/tmpl/old/gstfakesrc.sgml:
4541 * docs/gst/tmpl/old/gstfdsink.sgml:
4542 * docs/gst/tmpl/old/gstfdsrc.sgml:
4543 * docs/gst/tmpl/old/gstfilesink.sgml:
4544 * docs/gst/tmpl/old/gstfilesrc.sgml:
4545 * docs/gst/tmpl/old/gsthttpsrc.sgml:
4546 * docs/gst/tmpl/old/gstidentity.sgml:
4547 * docs/gst/tmpl/old/gstindexfactory.sgml:
4548 * docs/gst/tmpl/old/gstmarshal.sgml:
4549 * docs/gst/tmpl/old/gstmd5sink.sgml:
4550 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
4551 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
4552 * docs/gst/tmpl/old/gstpadtemplate.sgml:
4553 * docs/gst/tmpl/old/gstpipefilter.sgml:
4554 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
4555 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
4556 * docs/gst/tmpl/old/gstshaper.sgml:
4557 * docs/gst/tmpl/old/gstspider.sgml:
4558 * docs/gst/tmpl/old/gstspideridentity.sgml:
4559 * docs/gst/tmpl/old/gststatistics.sgml:
4560 * docs/gst/tmpl/old/gsttee.sgml:
4561 * docs/gst/tmpl/old/gsttimecache.sgml:
4562 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
4563 * docs/gst/tmpl/old/gstxmlregistry.sgml:
4564 * docs/gst/tmpl/old/gthread-cothreads.sgml:
4565 * docs/gst/tmpl/old/types.sgml:
4566 I didn't intend to add these or check them in.
4568 2005-05-19 David Schleef <ds@schleef.org>
4570 * configure.ac: Use -no-common everywhere. In a sane world, it
4571 would be the default in libtool, because without it, you can't
4572 build DLLs on Windows.
4573 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
4574 * docs/gst/gstreamer-sections.txt:
4575 * docs/gst/tmpl/gstcpu.sgml:
4576 * docs/gst/tmpl/gstdata.sgml:
4577 * docs/gst/tmpl/gstthread.sgml:
4579 2005-05-19 David Schleef <ds@schleef.org>
4581 * gst/gstminiobject.c: (gst_value_set_mini_object),
4582 (gst_value_take_mini_object), (gst_value_get_mini_object):
4583 * gst/gstminiobject.h: Add GValue set/get functions.
4585 2005-05-19 Wim Taymans <wim@fluendo.com>
4587 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
4588 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
4589 (gst_subbuffer_init), (gst_buffer_is_span_fast):
4591 * gst/gstbus.c: (gst_bus_post):
4592 * gst/gstelement.c: (gst_element_get_random_pad):
4593 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
4594 Make subbufer unref the parent in finalize.
4595 some more debugging info.
4598 2005-05-19 Wim Taymans <wim@fluendo.com>
4600 * gst/base/gstbasesink.c: (gst_basesink_class_init),
4601 (gst_basesink_init), (gst_basesink_finalize),
4602 (gst_basesink_activate), (gst_basesink_change_state):
4603 Don't free preroll queue too early.
4605 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4609 Hi, I'm outdated. Please shoot me.
4611 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4613 * gst/gstpipeline.c: (gst_pipeline_send_event):
4614 Do not access variables after they have been deleted.
4616 2005-05-19 Wim Taymans <wim@fluendo.com>
4618 * tools/gst-inspect.c: (print_plugin_features):
4619 A plugin feature does unfortunatly not use the
4622 2005-05-18 Wim Taymans <wim@fluendo.com>
4624 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
4625 Port _span() functions to new subbuffers.
4627 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4629 * gst/gstbin.c: (gst_bin_add_func):
4630 Fix clock settery in bins when adding kids after the clock has
4633 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4635 * gst/elements/gstidentity.c: (gst_identity_class_init):
4636 Workaround until signals support GstMiniObject.
4638 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
4641 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
4643 2005-05-18 Wim Taymans <wim@fluendo.com>
4645 * gst/base/Makefile.am:
4646 * gst/base/gstadapter.c: (gst_adapter_base_init),
4647 (gst_adapter_class_init), (gst_adapter_init),
4648 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
4649 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
4650 (gst_adapter_flush), (gst_adapter_available),
4651 (gst_adapter_available_fast):
4652 * gst/base/gstadapter.h:
4653 Ported and added adapter to the base classes.
4655 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4659 Make sure the class is reffed/unreffed once before threads can be
4660 used. Fixes #304551.
4662 2005-05-17 Wim Taymans <wim@fluendo.com>
4664 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
4665 (gst_basesink_chain_unlocked), (gst_basesink_activate):
4666 * gst/gstminiobject.c: (gst_mini_object_get_type),
4667 (gst_mini_object_free):
4668 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
4669 (gst_pad_push), (gst_pad_push_event):
4670 * gst/gstqueue.c: (gst_queue_change_state):
4671 Don't queue buffers in basesink when we are flushing.
4672 Unref buffer when flushing in basesink.
4673 Flush queue when going to READY
4674 Unref buffer when _push() returns an error.
4675 Don't free MiniObject instance when refcount is incremented
4676 in _finalize() so that we can recover objects.
4678 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
4680 * docs/manual/advanced-schedulers.xml:
4681 * docs/manual/appendix-checklist.xml:
4682 * docs/pwg/advanced-clock.xml:
4683 * docs/pwg/advanced-interfaces.xml:
4684 * docs/pwg/advanced-request.xml:
4685 * docs/pwg/advanced-types.xml:
4686 * docs/pwg/intro-preface.xml:
4687 * examples/plugins/example.c: (gst_example_get_type),
4688 (gst_example_class_init), (gst_example_chain),
4689 (gst_example_set_property), (gst_example_get_property),
4690 (gst_example_change_state), (plugin_init):
4691 * examples/plugins/example.h:
4694 2005-05-17 Wim Taymans <wim@fluendo.com>
4696 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
4697 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
4698 * gst/gstqueue.c: (gst_queue_change_state):
4699 Clear queue when going to READY.
4700 Remove IN_SETCAPS flag too.
4702 2005-05-17 Tim-Philipp M??ller <tim at centricular dot net>
4704 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
4705 Remove implicit cast from gboolean to GstElementStateReturn;
4706 make sure we still return failure in paused => ready case if
4707 the parent class fails to change state and our own stop
4710 2005-05-17 Wim Taymans <wim@fluendo.com>
4712 * tools/gst-launch.c: (event_loop):
4713 Message was unreffed too soon.
4715 2005-05-16 Andy Wingo <wingo@pobox.com>
4717 * gst/gstbin.c (sink_iterator_filter): Err... um...
4719 * check/gst/gstbin.c (test_ghost_pads): New test for the
4720 ghosting-if-elements-not-in-same-bin behavior.
4722 2005-05-16 David Schleef <ds@schleef.org>
4724 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
4725 accessing refcount directly.
4727 2005-05-15 David Schleef <ds@schleef.org>
4729 * check/Makefile.am: remove GstData checks
4730 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
4731 * gst/Makefile.am: add miniobject, remove data
4732 * gst/gst.h: add miniobject, remove data
4733 * gst/gstdata.c: remove
4734 * gst/gstdata.h: remove
4735 * gst/gstdata_private.h: remove
4736 * gst/gsttypes.h: remove GstEvent and GstMessage
4737 * gst/gstelement.c: (gst_element_post_message): fix for API changes
4738 * gst/gstmarshal.list: change BOXED -> OBJECT
4740 Implement GstMiniObject.
4741 * gst/gstminiobject.c:
4742 * gst/gstminiobject.h:
4744 Modify to be subclasses of GstMiniObject.
4745 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
4746 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
4747 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
4748 (gst_subbuffer_get_type), (gst_subbuffer_init),
4749 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
4752 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
4753 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
4754 (_gst_event_copy), (gst_event_new):
4756 * gst/gstmessage.c: (_gst_message_initialize),
4757 (gst_message_get_type), (gst_message_class_init),
4758 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
4759 (gst_message_new), (gst_message_new_error),
4760 (gst_message_new_warning), (gst_message_new_tag),
4761 (gst_message_new_state_changed), (gst_message_new_application):
4763 * gst/gstprobe.c: (gst_probe_perform),
4764 (gst_probe_dispatcher_dispatch):
4766 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
4767 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
4768 (_gst_query_copy), (gst_query_new):
4770 Update elements for GstData -> GstMiniObject changes
4772 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
4773 (gst_queue_chain), (gst_queue_loop):
4774 * gst/elements/gstbufferstore.c:
4775 (gst_buffer_store_add_buffer_func),
4776 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
4777 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
4778 (gst_fakesink_render):
4779 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
4780 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
4781 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
4782 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
4783 (gst_filesrc_create_read):
4784 * gst/elements/gstidentity.c: (gst_identity_class_init):
4785 * gst/elements/gsttypefindelement.c:
4786 (gst_type_find_element_src_event), (free_entry_buffers),
4787 (gst_type_find_element_handle_event):
4788 * libs/gst/dataprotocol/dataprotocol.c:
4789 (gst_dp_header_from_buffer):
4790 * libs/gst/dataprotocol/dataprotocol.h:
4791 * libs/gst/dataprotocol/dp-private.h:
4793 2005-05-15 David Schleef <ds@schleef.org>
4795 * gst/elements/gstelements.c: Don't include headers that were
4798 2005-05-15 David Schleef <ds@schleef.org>
4800 * gst/elements/Makefile.am: Remove some elements that don't
4801 need to be in the core (or even exist at all).
4802 * gst/elements/gstaggregator.c:
4803 * gst/elements/gstaggregator.h:
4804 * gst/elements/gstmd5sink.c:
4805 * gst/elements/gstmd5sink.h:
4806 * gst/elements/gstmultifilesrc.c:
4807 * gst/elements/gstmultifilesrc.h:
4808 * gst/elements/gstpipefilter.c:
4809 * gst/elements/gstpipefilter.h:
4810 * gst/elements/gstshaper.c:
4811 * gst/elements/gstshaper.h:
4812 * gst/elements/gststatistics.c:
4813 * gst/elements/gststatistics.h:
4814 * po/POTFILES.in: Remove above files.
4816 2005-05-14 Andy Wingo <wingo@pobox.com>
4818 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
4819 so as to get the refs right.
4820 (sink_iterator_filter): New function, wraps bin_element_is_sink,
4821 unreffing objects that don't pass the filter.
4823 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
4824 gst_element_set_bus.
4825 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
4826 normal cases, this will destroy the bus.
4828 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
4831 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
4834 2005-05-13 Andy Wingo <wingo@pobox.com>
4836 * gst/gstutils.c (gst_element_link_pads): Instead of calling
4837 gst_pad_link, call pad_link_maybe_ghosting,
4838 (pad_link_maybe_ghosting): Links pads, making sure that the
4839 elements being linked are in the same bin.
4840 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
4841 Helpers for pad_link_maybe_ghosting.
4843 2005-05-13 Tim-Philipp M??ller <tim at centricular dot net>
4846 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
4848 2005-05-13 Tim-Philipp M??ller <tim at centricular dot net>
4850 * docs/design/part-element-source.txt:
4853 2005-05-12 Wim Taymans <wim@fluendo.com>
4855 * gst/base/gstbasesink.c: (gst_basesink_init),
4856 (gst_basesink_activate):
4857 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
4858 (gst_basesrc_is_seekable):
4859 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4860 (bin_element_is_sink), (gst_bin_change_state):
4861 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
4863 Identify sinks by their flag to avoid overly complicated
4865 Do state changes even for elements not reachable from the
4867 BaseSink is a sink now :)
4868 Some more debugging info in the basesrc.
4871 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4873 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
4874 Implement _query on a bin, similar to _send_event.
4876 2005-05-12 Tim-Philipp M??ller <tim at centricular dot net>
4878 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
4879 Discont event offset format should be GST_FORMAT_BYTES,
4880 not GST_FORMAT_TIME.
4882 2005-05-12 Wim Taymans <wim@fluendo.com>
4884 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
4885 Same fix as Ronald's but without the signal.
4887 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4889 * gst/gstutils.c: (gst_element_query_position):
4890 No, an element is not a pad.
4892 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4894 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
4895 (gst_bin_get_state):
4896 If a child is removed from a bin while we remove the child from
4897 the bin and while we're retrieving its state, signal this to the
4898 get_state function so we abort the wait (instead of waiting for
4899 a timeout) and can immediately re-iterate over all other elements.
4901 2005-05-12 Wim Taymans <wim@fluendo.com>
4903 * gst/base/Makefile.am:
4904 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
4905 (gst_basesrc_start):
4906 * gst/base/gstbasesrc.h:
4907 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
4908 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
4909 (gst_pushsrc_init), (gst_pushsrc_create):
4910 * gst/base/gstpushsrc.h:
4911 Added is_seekable to BaseSrc
4912 Added simple PushSrc.
4914 2005-05-11 Wim Taymans <wim@fluendo.com>
4916 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
4917 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
4918 (gst_element_link_pads), (gst_element_query_position),
4919 (gst_element_query_convert), (intersect_caps_func),
4920 (gst_pad_query_position), (gst_pad_query_convert):
4921 Fix refcounting in utils function.
4922 No point in trying to activate a pad when it's added, it could
4923 be added from the state change function and then we deadlock, the
4924 element has to decide what to do.
4926 2005-05-10 Andy Wingo <wingo@pobox.com>
4928 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
4929 *all* the arguments.
4931 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
4932 stream lock if it's a FLUSH_DONE; normal flushes don't get the
4933 lock (according to the docs -- if this is wrong change the docs).
4935 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
4936 flush messages in the NULL state.
4938 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
4939 message immediately and return.
4940 (gst_bus_set_flushing): New function. If a bus is flushing, it
4941 flushes out any queued messages and immediately unrefs new
4942 messages. This is so when an element goes to NULL, all of the
4943 unhandled messages coming from it can be freed, and their
4944 references to the element dropped. In other words: message source
4945 ref considered harmful :P
4947 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
4948 we're finished with it.
4950 * gst/gstmessage.c (gst_message_new_state_changed):
4952 2005-05-10 Wim Taymans <wim@fluendo.com>
4954 * gst/gstvalue.c: (gst_value_compare_flags),
4955 (gst_value_serialize_flags), (gst_value_deserialize_flags),
4956 (_gst_value_initialize):
4957 Added flags serialize/deserialize/compare code.
4959 2005-05-09 Andy Wingo <wingo@pobox.com>
4961 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
4962 Intersect the peer's caps with our caps.
4964 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4966 * gst/base/gsttypefindhelper.c: (helper_find_peek):
4967 * gst/elements/gsttypefindelement.c: (find_peek):
4968 Handle negative offsets better. Fixes decodebin.
4970 2005-05-09 Wim Taymans <wim@fluendo.com>
4972 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
4973 (gst_base_transform_event):
4974 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
4975 Implement accept_caps.
4976 Fix silly lock/unlock mismatch in base class.
4978 2005-05-09 Wim Taymans <wim@fluendo.com>
4980 * docs/design/draft-push-pull.txt:
4981 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
4982 * gst/elements/gstfilesink.c: (gst_filesink_init),
4983 (gst_filesink_query):
4984 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
4985 (gst_type_find_handle_src_query), (find_element_get_length):
4986 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
4990 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
4991 (gst_real_pad_get_caps_unlocked),
4992 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
4993 (gst_pad_event_default_dispatch), (gst_pad_event_default),
4994 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
4995 (gst_real_pad_dispose), (gst_real_pad_finalize),
4996 (gst_pad_load_and_link), (gst_pad_save_thyself),
4997 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
4998 (gst_pad_check_pull_range), (gst_pad_pull_range),
4999 (gst_pad_template_get_type), (gst_pad_template_class_init),
5000 (gst_pad_template_init), (gst_pad_template_dispose),
5001 (name_is_valid), (gst_static_pad_template_get),
5002 (gst_pad_template_new), (gst_static_pad_template_get_caps),
5003 (gst_pad_template_get_caps), (gst_pad_set_element_private),
5004 (gst_pad_get_element_private), (gst_pad_start_task),
5005 (gst_pad_pause_task), (gst_pad_stop_task),
5006 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
5007 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
5008 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
5009 (gst_ghost_pad_new):
5011 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
5012 (gst_query_new_position), (gst_query_set_position),
5013 (gst_query_parse_position), (gst_query_new_convert),
5014 (gst_query_set_convert), (gst_query_parse_convert):
5016 * gst/gstqueryutils.c:
5017 * gst/gstqueryutils.h:
5018 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
5019 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
5020 (gst_queue_handle_src_query):
5021 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
5022 (gst_element_query_position), (gst_element_query_convert),
5023 (intersect_caps_func), (gst_pad_query_position),
5024 (gst_pad_query_convert):
5026 * tools/gst-inspect.c: (print_pad_info):
5027 * tools/gst-xmlinspect.c: (print_element_info):
5028 Remove old query functions. Ported old code.
5029 Added position/convert helper functions to gstutils.
5030 Reordered gstpad.c code, grouping relevant things.
5031 Remove gst_message_new(), always need to speficy a specific
5035 2005-05-09 Andy Wingo <wingo@pobox.com>
5037 * gst/gstiterator.h: Add some includes.
5039 * gst/gstqueryutils.h: Include more headers.
5042 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
5043 some uses of gst_pad_query.
5045 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
5046 NULL out parameters.
5047 (gst_query_new_position): New proc, allocates a new position
5050 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
5051 gstqueryutils.c to the build.
5053 * gst/gststructure.c (gst_structure_set_valist): Implement with
5054 the generic G_VALUE_COLLECT.
5056 2005-05-08 Edward Hervey <bilboed@bilboed.com>
5058 * gst/Makefile.am: (gst_headers):
5059 Added gstqueryutils.h to the list of headers to install, that was
5060 a 'nachty' move wingo :)
5062 2005-05-06 Andy Wingo <wingo@pobox.com>
5065 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
5066 GstData, init a memchunk.
5067 (standard_definitions): Add a few query types, deprecate a few.
5068 (gst_query_get_type): New proc.
5069 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
5071 (gst_query_new_application, gst_query_get_structure): New public
5074 * docs/design/draft-query.txt: Removed LINKS from the query types,
5075 because all the rest can be dispatched to other pads -- seemed
5076 ugly to have a query that couldn't be dispatched. internal_links
5077 is fine as a pad method.
5079 * gst/gstpad.h: Add query2 as a pad method, add the new functions
5080 in gstpad.c, but maintain binary compatibility for the moment.
5081 Will fix before 0.9 is out.
5083 * gst/gstqueryutils.c:
5084 * gst/gstqueryutils.h: New files, implement 3 methods for each
5085 query type: parse_query, parse_response, and set. Probably need an
5088 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
5090 * gst/elements/gstfilesink.c (gst_filesink_query2):
5091 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
5092 query_types, and formats methods.
5094 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
5095 (gst_pad_set_query2_function): New functions.
5096 (gst_real_pad_init): Set query2_default as the default query2
5097 function. Basically just dispatches to internally linked pads.
5101 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
5102 without using the atomic operations. Only one thread can possibly
5103 be accessing the data at this point. Changed so as to avoid
5104 gst_atomic operations.
5106 2005-05-06 Wim Taymans <wim@fluendo.com>
5108 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
5109 Also set caps if we use the fallback buffer alloc.
5111 2005-05-06 Tim-Philipp M??ller <tim at centricular dot net>
5113 * docs/gst/Makefile.am:
5114 * docs/gst/gstreamer-docs.sgml:
5115 * docs/gst/gstreamer-sections.txt:
5116 * docs/gst/tmpl/gstatomic.sgml:
5117 * docs/gst/tmpl/gstmemchunk.sgml:
5118 * testsuite/elements/struct_i386.h:
5119 * win32/GStreamer.vcproj:
5121 Purge GstAtomic stuff from docs and win32 makefiles as well
5123 2005-05-06 Wim Taymans <wim@fluendo.com>
5125 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
5126 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
5127 * gst/gstpad.c: (gst_pad_peer_get_caps):
5128 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
5129 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
5130 (gst_queue_src_activate), (gst_queue_change_state):
5132 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
5133 (intersect_caps_func):
5134 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
5135 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
5136 Some fixes for the peer_get_caps() change.
5138 2005-05-06 Wim Taymans <wim@fluendo.com>
5140 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5141 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
5142 (gst_basesink_activate):
5143 Actually do something with error codes returned from the push
5146 2005-05-06 Wim Taymans <wim@fluendo.com>
5148 * docs/design/part-element-sink.txt:
5149 * docs/design/part-element-source.txt:
5150 * gst/base/gstbasesink.c: (gst_basesink_class_init),
5151 (gst_basesink_event), (gst_basesink_activate):
5152 * gst/base/gstbasesink.h:
5153 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
5154 (gst_basesrc_activate):
5155 * gst/base/gstbasesrc.h:
5156 * gst/gstelement.c: (gst_element_pads_activate):
5157 Some more documentation.
5158 Fixed scheduling decision in _pads_activate().
5160 2005-05-05 Andy Wingo <wingo@pobox.com>
5162 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
5165 2005-05-05 Wim Taymans <wim@fluendo.com>
5167 * gst/base/Makefile.am:
5168 * gst/base/gstbasesink.h:
5169 * gst/base/gstbasesrc.c: (gst_basesrc_init),
5170 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
5171 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
5172 (gst_collectpads_class_init), (gst_collectpads_init),
5173 (gst_collectpads_finalize), (gst_collectpads_new),
5174 (gst_collectpads_set_function), (gst_collectpads_add_pad),
5175 (find_pad), (gst_collectpads_remove_pad),
5176 (gst_collectpads_is_active), (gst_collectpads_collect),
5177 (gst_collectpads_collect_range), (gst_collectpads_start),
5178 (gst_collectpads_stop), (gst_collectpads_peek),
5179 (gst_collectpads_pop), (gst_collectpads_available),
5180 (gst_collectpads_read), (gst_collectpads_flush),
5181 (gst_collectpads_chain):
5182 * gst/base/gstcollectpads.h:
5183 * gst/elements/Makefile.am:
5184 * gst/elements/gstelements.c:
5185 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
5186 (gst_fakesink_get_times), (gst_fakesink_event),
5187 (gst_fakesink_preroll), (gst_fakesink_render):
5188 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
5189 (gst_filesink_init), (gst_filesink_set_location),
5190 (gst_filesink_open_file), (gst_filesink_close_file),
5191 (gst_filesink_pad_query), (gst_filesink_event),
5192 (gst_filesink_render), (gst_filesink_change_state):
5193 * gst/elements/gstfilesink.h:
5194 Added object to help in making collect pad based elements.
5196 Make event function in sink baseclass return gboolean.
5198 2005-05-05 Wim Taymans <wim@fluendo.com>
5200 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
5201 (gst_bin_get_by_name):
5203 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
5204 (gst_clock_finalize):
5205 * gst/gstdata.c: (gst_data_replace):
5207 * gst/gstelement.c: (gst_element_request_pad),
5208 (gst_element_pads_activate):
5209 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
5211 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
5212 (gst_pad_set_checkgetrange_function),
5213 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
5214 (gst_pad_check_pull_range), (gst_pad_pull_range),
5215 (gst_static_pad_template_get_caps), (gst_pad_start_task),
5216 (gst_pad_pause_task), (gst_pad_stop_task):
5217 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
5218 (gst_element_request_pad), (gst_pad_proxy_getcaps):
5219 Fix name lookup in GstBin.
5220 Added _data_replace() function and _buffer_replace()
5221 Use finalize method to clean up clock.
5222 Fix refcounting on request pads.
5223 Fix pad schedule mode error.
5224 Some more object refcounting debug info,
5227 2005-05-04 Andy Wingo <wingo@pobox.com>
5229 * check/Makefile.am:
5230 * docs/gst/tmpl/gstatomic.sgml:
5231 * docs/gst/tmpl/gstplugin.sgml:
5232 * gst/base/gstbasesink.c: (gst_basesink_activate):
5233 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
5234 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
5235 (gst_basesrc_query), (gst_basesrc_set_property),
5236 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
5237 (gst_basesrc_activate):
5238 * gst/base/gstbasesrc.h:
5239 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
5240 (gst_base_transform_src_activate):
5241 * gst/elements/gstelements.c:
5242 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5243 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
5244 * gst/elements/gsttee.c: (gst_tee_sink_activate):
5245 * gst/elements/gsttypefindelement.c: (find_element_get_length),
5246 (gst_type_find_element_checkgetrange),
5247 (gst_type_find_element_activate):
5248 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
5249 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
5250 (gst_caps_load_thyself):
5251 * gst/gstelement.c: (gst_element_pads_activate),
5252 (gst_element_save_thyself), (gst_element_restore_thyself):
5253 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
5254 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
5256 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
5257 (gst_xml_parse_file), (gst_xml_parse_memory),
5258 (gst_xml_get_element), (gst_xml_make_element):
5259 * gst/indexers/gstfileindex.c: (gst_file_index_load),
5260 (_file_index_id_save_xml), (gst_file_index_commit):
5261 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
5262 (read_enum), (load_pad_template), (load_feature), (load_plugin),
5264 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
5265 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
5266 * tools/gst-complete.c: (main):
5267 * tools/gst-compprep.c: (main):
5268 * tools/gst-inspect.c: (print_element_properties_info):
5269 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
5270 * tools/gst-xmlinspect.c: (print_element_properties):
5273 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
5275 * gst/gstplugin.c: (gst_plugin_check_module),
5276 (gst_plugin_check_file), (gst_plugin_load_file):
5277 apply patch from #172526 to make register work on MacOSX
5279 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
5281 * docs/gst/tmpl/gstconfig.sgml:
5282 * gst/gstconfig.h.in:
5283 move documentation for some symbols. Add doc for GST_PTR_FORMAT
5284 * testsuite/debug/printf_extension.c: (main):
5285 Do not use GST_PTR_FORMAT on pointers to types with
5286 sizeof < sizeof(gpointer). Fixes test on 64-bit
5287 * testsuite/elements/property.h:
5288 use correct printf format
5290 2005-05-02 Wim Taymans <wim@fluendo.com>
5292 * docs/design/draft-push-pull.txt:
5293 * docs/design/draft-query.txt:
5294 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
5295 (gst_basesrc_start):
5296 Added draft for new query API.
5297 Added draft for better selecting scheduling methods.
5298 Make basesrc ignore length if the subclass does not support
5301 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
5304 possible fixes for automake-1.5 - _LIBADD is reserved
5306 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
5308 * docs/faq/Makefile.am:
5309 * docs/manual/Makefile.am:
5311 * docs/pwg/Makefile.am:
5313 possible fixes for automake-1.5
5315 2005-04-28 Wim Taymans <wim@fluendo.com>
5317 * gst/base/gstbasesink.c: (gst_basesink_base_init),
5318 (gst_basesink_pad_getcaps), (gst_basesink_init),
5319 (gst_basesink_do_sync):
5320 * gst/gstclock.c: (gst_clock_entry_new):
5321 * gst/gstevent.c: (gst_event_discont_get_value):
5322 * gst/gstpipeline.c: (pipeline_bus_handler),
5323 (gst_pipeline_change_state):
5324 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5325 Better debugging of clocking info.
5326 Allow NULL values when getting discont values.
5328 2005-04-27 Wim Taymans <wim@fluendo.com>
5330 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
5331 * check/gst/gstpad.c: (gst_pad_suite):
5332 Increase timeout for checks.
5334 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5336 * check/Makefile.am:
5337 fix the broken rule for cleanup. Apparently this rule is
5338 only needed on FC2, so maybe this warrants further autotool
5341 2005-04-26 Wim Taymans <wim@fluendo.com>
5343 * gst/gsttrashstack.h:
5344 Ooohh. a nasty one! After having a failed pop() from the stack,
5345 it's possible that the stack is empty. In that case, don't
5346 follow the NULL pointer.
5348 2005-04-25 Wim Taymans <wim@fluendo.com>
5350 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
5351 (gst_pad_set_checkgetrange_function),
5352 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
5353 (gst_pad_check_pull_range), (gst_pad_pull_range),
5354 (gst_static_pad_template_get_caps), (gst_pad_start_task),
5355 (gst_pad_pause_task), (gst_pad_stop_task):
5356 * gst/gstplugin.c: (gst_plugin_load):
5358 Remove gst_library_load as it does more harm than good with
5359 the new g_module flags.
5360 Revert bogus caps template check in pad linking, pad caps
5361 are important when linking not the template, which is more
5362 general than the current caps.
5364 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5366 * gst/autoplug/.cvsignore:
5367 * gst/autoplug/Makefile.am:
5368 * gst/autoplug/gstsearchfuncs.c:
5369 * gst/autoplug/gstsearchfuncs.h:
5370 * gst/autoplug/gstspider.c:
5371 * gst/autoplug/gstspider.h:
5372 * gst/autoplug/gstspideridentity.c:
5373 * gst/autoplug/gstspideridentity.h:
5374 * gst/autoplug/spidertest.c:
5377 2005-04-25 Wim Taymans <wim@fluendo.com>
5379 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
5380 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
5381 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
5382 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
5384 Added stubs for unimplemented functions.
5386 2005-04-24 David Schleef <ds@schleef.org>
5388 * gst/gstpad.h: Disable some unimplemented functions. Wim,
5391 2005-04-24 David Schleef <ds@schleef.org>
5393 Convert everything from GstAtomicInt to g_atomic_int_*, and
5398 * gst/gstatomic_impl.h:
5406 * gst/gstdata_private.h:
5413 * gst/gststructure.c:
5414 * gst/gststructure.h:
5415 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
5418 2005-04-24 David Schleef <ds@schleef.org>
5420 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
5421 make the regressions tests work. Remove some code that is no
5423 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
5424 Disable warning for pads without templates.
5426 2005-04-24 David Schleef <ds@schleef.org>
5428 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
5429 functions that handle filtered links.
5430 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
5432 * gst/gstutils.c: Fix/remove utility functions that handle
5435 * gst/gstvalue.c: Add serialization/deserialization of caps
5436 * gst/parse/grammar.y: Ignore filtered caps when linking. This
5437 requires fixing so that the filter caps notation creates
5438 a capsfilter element and sets the filter_caps property. I
5439 think everyone probably wants to keep the shorthand notation.
5440 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
5441 * docs/gst/tmpl/gstpad.sgml:
5443 * gst/elements/gstelements.c: Register capsfilter element.
5444 * gst/Makefile.am: fix spacing
5445 * docs/random/ds/0.9-suggested-changes: random
5447 2005-04-23 David Schleef <ds@schleef.org>
5449 * gst/elements/Makefile.am:
5450 * gst/elements/gstcapsfilter.c: New element that acts like an
5451 identity, but filters caps. Will eventually replace filtered
5452 caps in pad linking.
5453 * gst/gstutils.c: (gst_element_create_all_pads): New function
5454 to create all the ALWAYS pads that are registered with an
5455 element class. This functionality should eventually be
5456 merged in with GstElement initialization.
5458 * testsuite/trigger/README: part of trigger test code that should
5459 have been checked in a long time ago.
5461 2005-04-23 David Schleef <ds@schleef.org>
5463 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
5464 needed with new versions of libtool (nobody will confirm this),
5465 and hard to carry around.
5466 * gst/autoplug/Makefile.am:
5467 * gst/base/Makefile.am:
5468 * gst/elements/Makefile.am:
5469 * gst/indexers/Makefile.am:
5470 * gst/schedulers/Makefile.am:
5471 * libs/gst/bytestream/Makefile.am:
5472 * libs/gst/control/Makefile.am:
5473 * libs/gst/dataprotocol/Makefile.am:
5474 * libs/gst/getbits/Makefile.am:
5476 2005-04-21 Wim Taymans <wim@fluendo.com>
5478 * docs/design/draft-push-pull.txt:
5479 * docs/design/part-MT-refcounting.txt:
5480 * docs/design/part-TODO.txt:
5481 * docs/design/part-caps.txt:
5482 * docs/design/part-events.txt:
5483 * docs/design/part-gstbus.txt:
5484 * docs/design/part-gstpipeline.txt:
5485 * docs/design/part-messages.txt:
5486 * docs/design/part-push-pull.txt:
5487 * docs/design/part-query.txt:
5490 2005-04-21 Wim Taymans <wim@fluendo.com>
5492 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
5493 (gst_message_new), (gst_message_new_error),
5494 (gst_message_new_warning), (gst_message_new_tag),
5495 (gst_message_new_state_changed), (gst_message_new_application),
5496 (gst_message_get_structure):
5498 * gst/gststructure.c: (gst_structure_set_parent_refcount),
5499 (gst_structure_copy_conditional):
5500 Use parent refcount in GstMessage to ensure GstStructure
5502 Cleaned up headers a bit.
5505 2005-04-20 Wim Taymans <wim@fluendo.com>
5507 * gst/base/gstbasesink.c: (gst_basesink_base_init),
5508 (gst_basesink_pad_getcaps), (gst_basesink_init),
5509 (gst_basesink_chain_unlocked):
5510 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
5511 (gst_type_find_helper):
5512 * gst/elements/gsttypefindelement.c:
5513 (gst_type_find_element_have_type), (gst_type_find_element_init),
5514 (stop_typefinding), (gst_type_find_element_handle_event),
5515 (find_suggest), (gst_type_find_element_chain),
5516 (gst_type_find_element_checkgetrange),
5517 (gst_type_find_element_getrange), (do_typefind),
5518 (gst_type_find_element_activate):
5519 * gst/gstbuffer.c: (_gst_buffer_sub_free),
5520 (gst_buffer_default_free), (gst_buffer_default_copy),
5521 (gst_buffer_set_caps):
5522 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
5524 * gst/gstmessage.c: (gst_message_new),
5525 (gst_message_new_state_changed):
5526 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
5527 (gst_pad_set_checkgetrange_function),
5528 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
5529 (gst_pad_set_caps), (gst_pad_check_pull_range),
5530 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
5532 * gst/gsttypefind.c: (gst_type_find_register):
5533 Make gst_caps_replace() work like other _replace() functions.
5534 Use _caps_replace() where possible.
5535 Make sure _message_new() initialises its field.
5536 Add gst_static_pad_template_get_caps()
5539 2005-04-18 Andy Wingo <wingo@pobox.com>
5541 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
5542 on the peer, not the pad. I think that was a typo. Pass an extra
5543 arg to see if random access is possible. Activate the pads as
5544 PULL_RANGE if possible.
5546 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
5548 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
5549 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
5552 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5554 * docs/faq/using.xml:
5555 Add note on gstreamer-properties (#154996).
5557 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5559 * docs/random/bbb/optional-properties:
5560 Some analysis on optional properties.
5562 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5564 * docs/gst/tmpl/gstelementfactory.sgml:
5566 * gst/gstelementfactory.c: (gst_element_factory_init),
5567 (gst_element_factory_cleanup), (gst_element_register),
5568 (__gst_element_factory_add_static_pad_template),
5569 (gst_element_factory_get_static_pad_templates),
5570 (gst_element_factory_can_src_caps),
5571 (gst_element_factory_can_sink_caps):
5572 * gst/registries/Makefile.am:
5573 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
5574 (gst_xml_registry_class_init), (gst_xml_registry_init),
5575 (gst_xml_registry_new), (gst_xml_registry_set_property),
5576 (gst_xml_registry_get_property), (get_time), (make_dir),
5577 (gst_xml_registry_get_perms_func),
5578 (plugin_times_older_than_recurse), (plugin_times_older_than),
5579 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
5580 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
5581 (add_to_char_array), (read_string), (read_uint), (read_enum),
5582 (load_pad_template), (load_feature), (load_plugin), (load_paths),
5583 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
5584 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
5585 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
5586 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
5587 (gst_xml_registry_rebuild):
5588 * gst/registries/gstlibxmlregistry.h:
5589 * tools/gst-compprep.c: (main):
5590 * tools/gst-inspect.c: (print_pad_templates_info):
5591 * tools/gst-xmlinspect.c: (print_element_info):
5592 Use libxml2 for registry parsing, use staticpadtemplates in
5593 elementfactories. Makes gst_init() +/- 10x faster.
5595 2005-04-12 Wim Taymans <wim@fluendo.com>
5597 * gst/base/Makefile.am:
5598 * gst/base/gstbasesink.c: (gst_basesink_base_init),
5599 (gst_basesink_pad_getcaps), (gst_basesink_init),
5600 (gst_basesink_event), (gst_basesink_change_state):
5601 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
5602 (gst_basesrc_init), (gst_basesrc_query),
5603 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
5604 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
5605 (gst_basesrc_check_get_range), (gst_basesrc_loop),
5606 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
5607 (gst_basesrc_stop), (gst_basesrc_activate),
5608 (gst_basesrc_change_state):
5609 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5610 (helper_find_suggest), (gst_type_find_helper):
5611 * gst/base/gsttypefindhelper.h:
5612 * gst/elements/Makefile.am:
5613 * gst/elements/gstelements.c:
5614 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
5615 (gst_fakesink_get_times), (gst_fakesink_event),
5616 (gst_fakesink_preroll), (gst_fakesink_render):
5617 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5618 (gst_fakesrc_init), (gst_fakesrc_event_handler),
5619 (gst_fakesrc_get_property), (gst_fakesrc_create),
5620 (gst_fakesrc_start), (gst_fakesrc_stop):
5621 * gst/elements/gstfakesrc.h:
5622 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
5623 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
5624 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
5625 (gst_filesrc_create_read), (gst_filesrc_create),
5626 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
5627 (gst_filesrc_start):
5628 * gst/elements/gsttypefindelement.c:
5629 (gst_type_find_element_have_type), (gst_type_find_element_init),
5630 (start_typefinding), (stop_typefinding), (push_buffer_store),
5631 (gst_type_find_element_handle_event),
5632 (gst_type_find_element_chain),
5633 (gst_type_find_element_checkgetrange),
5634 (gst_type_find_element_getrange), (do_typefind),
5635 (gst_type_find_element_activate),
5636 (gst_type_find_element_change_state):
5637 * gst/elements/gsttypefindelement.h:
5638 * gst/gstpipeline.c: (pipeline_bus_handler):
5639 Added typefind helper.
5640 Small preroll fix in the base sink.
5641 Disable typefind code in basesrc.
5642 Crude port of typefindelement.
5646 2005-04-11 Wim Taymans <wim@fluendo.com>
5648 * check/gst/gstbus.c: (gstbus_suite):
5649 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
5651 Fix up the timeout so that the test does not fail.
5653 2005-04-06 Wim Taymans <wim@fluendo.com>
5656 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
5657 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
5658 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
5659 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
5660 (gst_basesrc_check_get_range), (gst_basesrc_loop),
5661 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
5662 (gst_basesrc_stop), (gst_basesrc_activate),
5663 (gst_basesrc_change_state), (basesrc_find_peek),
5664 (basesrc_find_suggest), (gst_basesrc_type_find):
5665 * gst/base/gstbasesrc.h:
5666 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
5667 (gst_filesrc_class_init), (gst_filesrc_init),
5668 (gst_filesrc_finalize), (gst_filesrc_set_location),
5669 (gst_filesrc_set_property), (gst_filesrc_get_property),
5670 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
5671 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
5672 (gst_filesrc_create_read), (gst_filesrc_create),
5673 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
5674 * gst/elements/gstfilesrc.h:
5675 * gst/gstelement.c: (gst_element_get_state_func),
5676 (gst_element_lost_state), (gst_element_pads_activate):
5677 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
5678 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
5679 (gst_pad_pull_range):
5681 More work on the generic source base class, implement seeking,
5683 Make filesrc extend the base source class.
5684 Added gst_pad_set_checkgetrange_function to GstPad.
5686 2005-04-06 Andy Wingo <wingo@pobox.com>
5688 * pkgconfig/gstreamer-base.pc.in:
5689 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
5691 * pkgconfig/Makefile.am:
5692 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
5694 2005-04-04 Wim Taymans <wim@fluendo.com>
5696 * gst/base/Makefile.am:
5698 * gst/base/gstbasesink.c: (gst_basesink_base_init),
5699 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
5700 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
5701 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
5702 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
5703 (gst_basesrc_base_init), (gst_basesrc_class_init),
5704 (gst_basesrc_init), (gst_basesrc_get_formats),
5705 (gst_basesrc_get_query_types), (gst_basesrc_query),
5706 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
5707 (gst_basesrc_set_property), (gst_basesrc_get_property),
5708 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
5709 (gst_basesrc_loop), (gst_basesrc_activate),
5710 (gst_basesrc_change_state):
5711 * gst/base/gstbasesrc.h:
5712 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
5713 (gst_fakesrc_class_init), (gst_fakesrc_init),
5714 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
5715 (gst_fakesrc_get_property), (gst_fakesrc_create):
5716 * gst/elements/gstfakesrc.h:
5717 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
5718 (gst_filesrc_open_file), (gst_filesrc_loop),
5719 (gst_filesrc_activate), (filesrc_find_peek),
5720 (gst_filesrc_type_find):
5721 Made base source class, make fakesrc extend it.
5722 Add comments to basesink class.
5723 Some filesrc cleanup.
5725 2005-03-31 David Schleef <ds@schleef.org>
5727 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
5728 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
5729 expected to link against libgstreamer.
5730 * gst/base/Makefile.am: link against libgstreamer
5731 * gst/elements/Makefile.am: same
5733 2005-03-31 Andy Wingo <wingo@pobox.com>
5735 * tests/instantiate/Makefile.am:
5736 * tests/instantiate/caps.c: Add test to test speed of caps copy
5739 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
5740 GMemChunk to be fair.
5742 * gst/gsttrashstack.h: Remove warning about using the fallback
5743 trash stack implementation, it's still faster than malloc.
5745 2005-03-30 Andy Wingo <wingo@pobox.com>
5747 * tests/complexity.c: Add a copyright.
5749 2005-03-31 Wim Taymans <wim@fluendo.com>
5751 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
5752 (gst_base_transform_class_init), (gst_base_transform_init),
5753 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
5754 (gst_base_transform_get_property),
5755 (gst_base_transform_sink_activate),
5756 (gst_base_transform_src_activate),
5757 (gst_base_transform_change_state):
5758 * gst/base/gstbasetransform.h:
5759 * gst/elements/gstidentity.c: (gst_identity_class_init),
5760 (gst_identity_event), (gst_identity_check_perfect),
5761 (gst_identity_transform), (gst_identity_start),
5762 (gst_identity_stop):
5763 Added start/stop methods to transform base class so subclasses
5764 don't need to deal with state changes even.
5766 2005-03-31 Wim Taymans <wim@fluendo.com>
5768 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
5769 (gst_event_new_discontinuous), (gst_event_discont_get_value):
5771 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
5772 (gst_pad_pull_range):
5773 Added rate to the discont event to prepare for variable speed
5774 and reverse playback.
5776 2005-03-29 David Schleef <ds@schleef.org>
5779 * testsuite/trigger/Makefile.am:
5780 * testsuite/trigger/trigger.c: A little example program to show
5781 how trigger-based elements can work.
5783 2005-03-29 Wim Taymans <wim@fluendo.com>
5785 * gst/base/Makefile.am:
5787 * gst/base/gstbasesink.c: (gst_basesink_get_type),
5788 (gst_basesink_base_init), (gst_basesink_class_init),
5789 (gst_basesink_pad_getcaps), (gst_basesink_init),
5790 (gst_basesink_activate), (gst_basesink_change_state):
5791 * gst/base/gstbasesink.h:
5792 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
5793 (gst_base_transform_base_init), (gst_base_transform_finalize),
5794 (gst_base_transform_class_init), (gst_base_transform_init),
5795 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
5796 (gst_base_transform_event), (gst_base_transform_getrange),
5797 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
5798 (gst_base_transform_set_property),
5799 (gst_base_transform_get_property),
5800 (gst_base_transform_sink_activate),
5801 (gst_base_transform_src_activate),
5802 (gst_base_transform_change_state):
5803 * gst/base/gstbasetransform.h:
5804 * gst/elements/gstidentity.c: (gst_identity_finalize),
5805 (gst_identity_class_init), (gst_identity_init),
5806 (gst_identity_event), (gst_identity_check_perfect),
5807 (gst_identity_transform), (gst_identity_set_property),
5808 (gst_identity_get_property), (gst_identity_change_state):
5809 * gst/elements/gstidentity.h:
5810 * gst/gstelement.c: (gst_element_get_state_func),
5811 (gst_element_lost_state), (gst_element_pads_activate):
5812 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
5813 (gst_pad_check_pull_range), (gst_pad_pull_range):
5815 Simplify pad activation.
5816 Added function to check if pull_range can be performed.
5817 Error out when pulling inactive or flushing pads.
5818 Removed const from refcounted types as it does not make sense.
5819 Simplify pad templates in basesink
5820 Added base class for simple 1-to-1 transforms.
5821 Make identity subclass the base transform.
5823 2005-03-29 Andy Wingo <wingo@pobox.com>
5825 * docs/libs/gstreamer-libs-overrides.txt:
5826 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
5827 really don't understand what's going on, but like whatever. I want
5830 * docs/gst/Makefile.am:
5831 * docs/libs/Makefile.am: Dist the overrides files.
5833 * check/Makefile.am (clean-local): Remove .libs directories.
5835 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
5836 elements to EXTRA_DIST, so po/ files are happy.
5838 * po/POTFILES.in: Er, remove it here.
5840 * po/POTFILES: Remove gstspider.c.
5842 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
5844 * docs/libs/gstreamer-libs-docs.sgml:
5845 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
5848 * tests/complexity.c (main): Set the length of the preroll queue
5849 on the sinks to prevent a lockup.
5851 * libs/gst/dataprotocol/Makefile.am:
5852 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
5853 the same as the one in check/gst-libs/gdp.c.
5855 * po/, docs/gst/: Commit automatic changes to docs and po files.
5857 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
5858 the versioned libgstbase.
5860 * check/Makefile.am: Depend on an unversioned gst-register, seems
5861 to make autoconf happier.
5863 * gst/base/Makefile.am: Make libgstbase a versioned lib.
5865 2005-03-28 Wim Taymans <wim@fluendo.com>
5868 * docs/design/part-gstelement.txt:
5869 * docs/design/part-negotiation.txt:
5870 * docs/design/part-preroll.txt:
5871 * docs/design/part-scheduling.txt:
5872 * docs/design/part-states.txt:
5874 * gst/base/Makefile.am:
5876 * gst/base/gstbasesink.c: (gst_basesink_get_template),
5877 (gst_basesink_base_init), (gst_basesink_class_init),
5878 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
5879 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
5880 (gst_basesink_set_pad_functions),
5881 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
5882 (gst_basesink_set_property), (gst_basesink_get_property),
5883 (gst_base_sink_get_template), (gst_base_sink_get_caps),
5884 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
5885 (gst_basesink_preroll_queue_push),
5886 (gst_basesink_preroll_queue_empty),
5887 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
5888 (gst_basesink_event), (gst_basesink_get_times),
5889 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
5890 (gst_basesink_chain_unlocked), (gst_basesink_chain),
5891 (gst_basesink_loop), (gst_basesink_activate),
5892 (gst_basesink_change_state):
5893 * gst/base/gstbasesink.h:
5894 * gst/elements/Makefile.am:
5895 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
5896 (gst_fakesink_class_init), (gst_fakesink_init),
5897 (gst_fakesink_set_property), (gst_fakesink_get_property),
5898 (gst_fakesink_get_times), (gst_fakesink_event),
5899 (gst_fakesink_preroll), (gst_fakesink_render),
5900 (gst_fakesink_change_state):
5901 * gst/elements/gstfakesink.h:
5902 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
5903 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
5904 * gst/gstelement.c: (gst_element_add_pad),
5905 (gst_element_get_state_func), (gst_element_abort_state),
5906 (gst_element_commit_state), (gst_element_lost_state),
5907 (gst_element_set_state), (gst_element_pads_activate):
5908 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
5909 * gst/gstpipeline.c: (gst_pipeline_send_event),
5910 (gst_pipeline_change_state):
5911 Added state change code.
5913 Added sink base class, make fakesink extend the base class.
5914 Small cleanups in GstPipeline.
5916 2005-03-26 David Schleef <ds@schleef.org>
5918 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
5919 is broken and should be implemented in a different library.
5920 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
5921 * gst/gst.h: remove gstcpu.h
5922 * gst/gstcpu.c: remove
5923 * gst/gstcpu.h: remove
5924 * gst/Makefile.am.future: Remove this file. It's ancient.
5926 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5928 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
5929 (gst_bin_send_event):
5930 Add default event/set_manager handlers. The set_manager handler
5931 takes care that the manager is distributed over kids that were
5932 already in the bin before the manager was set. The event handler
5933 is a utility virtual function that sends the event over all sinks,
5934 so that gst_element_send_event (bin, event); has the expected
5936 * gst/gstpad.c: (gst_pad_event_default):
5937 Re-install default event handling for discontinuities, so that
5938 seeking works without requiring hacks in applications or extra
5940 * gst/gstpipeline.c: (gst_pipeline_class_init),
5941 (gst_pipeline_send_event):
5942 Half hack, half utility: set a pipeline to PAUSED for seek events,
5943 since that is the only way we can guarantee a/v sync. Means that
5944 you can do gst_element_seek (pipeline, method, pos); on a pipeline
5945 and it "just works".
5947 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5949 * gst/gstpipeline.c: (gst_pipeline_use_clock):
5950 Lock/unlock mismatch.
5952 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
5954 * docs/faq/gst-uninstalled:
5955 add gst-plugins-base
5956 * docs/gst/Makefile.am:
5957 don't error out until docs are fixed
5958 * docs/gst/gstreamer.types:
5961 2005-03-22 Wim Taymans <wim@fluendo.com>
5963 * check/Makefile.am:
5964 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
5965 * gst/gststructure.c: (gst_structure_set_valist),
5966 (gst_structure_copy_conditional):
5967 Activated more tests.
5969 Added G_TYPE_POINTER to GstStructure.
5972 2005-03-22 Wim Taymans <wim@fluendo.com>
5974 * docs/design/part-TODO.txt:
5975 * docs/design/part-events.txt:
5976 * docs/design/part-gstbin.txt:
5977 * docs/design/part-gstbus.txt:
5978 * docs/design/part-gstpipeline.txt:
5979 * docs/design/part-messages.txt:
5984 2005-03-21 Wim Taymans <wim@fluendo.com>
5986 * gst/gstbus.c: (gst_bus_post):
5987 Fix copy-and-paste error.
5989 2005-03-21 Wim Taymans <wim@fluendo.com>
5991 * check/Makefile.am:
5993 * gst/elements/Makefile.am:
5994 * gst/elements/gstelements.c:
5995 * gst/elements/gstfakesink.c: (gst_fakesink_init),
5996 (gst_fakesink_event), (gst_fakesink_chain):
5997 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5998 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
5999 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
6000 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
6001 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6002 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
6003 (gst_fakesrc_loop), (gst_fakesrc_activate),
6004 (gst_fakesrc_change_state):
6005 * gst/elements/gstfakesrc.h:
6006 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
6007 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
6008 (gst_filesrc_open_file), (gst_filesrc_loop),
6009 (gst_filesrc_activate), (gst_filesrc_change_state),
6010 (filesrc_find_peek), (filesrc_find_suggest),
6011 (gst_filesrc_type_find):
6012 * gst/elements/gstidentity.c: (gst_identity_finalize),
6013 (gst_identity_class_init), (gst_identity_init),
6014 (gst_identity_proxy_getcaps), (identity_queue_push),
6015 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
6016 (gst_identity_getrange), (gst_identity_chain),
6017 (gst_identity_sink_loop), (gst_identity_src_loop),
6018 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
6019 (gst_identity_set_property), (gst_identity_get_property),
6020 (gst_identity_change_state):
6021 * gst/elements/gstidentity.h:
6022 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6023 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
6024 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
6025 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
6026 (gst_tee_sink_activate):
6027 * gst/elements/gsttee.h:
6028 * gst/gst.c: (gst_register_core_elements), (init_post):
6030 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
6031 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
6032 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
6033 (gst_bin_change_state):
6035 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
6036 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
6037 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
6038 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
6039 (gst_bus_set_sync_handler), (gst_bus_create_watch),
6040 (bus_watch_callback), (bus_watch_destroy),
6041 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
6042 (poll_timeout), (gst_bus_poll):
6046 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
6047 (gst_element_post_message), (gst_element_message_full),
6048 (gst_element_get_state_func), (gst_element_get_state),
6049 (gst_element_abort_state), (gst_element_commit_state),
6050 (gst_element_lost_state), (gst_element_set_state),
6051 (gst_element_pads_activate), (gst_element_change_state),
6052 (gst_element_dispose), (gst_element_set_manager_func),
6053 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
6054 (gst_element_set_manager), (gst_element_get_manager),
6055 (gst_element_set_bus), (gst_element_get_bus),
6056 (gst_element_set_scheduler), (gst_element_get_scheduler):
6058 * gst/gstevent.c: (gst_event_new_segment_seek),
6059 (gst_event_new_flush):
6061 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
6062 (_gst_message_free), (gst_message_get_type), (gst_message_new),
6063 (gst_message_new_eos), (gst_message_new_error),
6064 (gst_message_new_warning), (gst_message_new_tag),
6065 (gst_message_new_state_changed), (gst_message_new_application),
6066 (gst_message_get_structure), (gst_message_parse_tag),
6067 (gst_message_parse_state_changed), (gst_message_parse_error),
6068 (gst_message_parse_warning):
6070 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
6071 (gst_real_pad_set_property), (gst_pad_set_active),
6072 (gst_pad_is_active), (gst_pad_set_blocked_async),
6073 (gst_pad_set_blocked), (gst_pad_is_blocked),
6074 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
6075 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
6076 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
6077 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
6078 (gst_pad_link_filtered), (gst_pad_relink_filtered),
6079 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
6080 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
6081 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
6082 (gst_pad_set_caps), (gst_pad_configure_sink),
6083 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
6084 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
6085 (gst_real_pad_dispose), (gst_real_pad_finalize),
6086 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
6087 (gst_pad_event_default_dispatch), (gst_pad_event_default),
6088 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
6090 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
6091 (pipeline_bus_handler), (gst_pipeline_change_state),
6092 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
6093 * gst/gstpipeline.h:
6095 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
6096 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
6097 (gst_queue_link_src), (gst_queue_bufferalloc),
6098 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
6099 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
6100 (gst_queue_loop), (gst_queue_handle_src_event),
6101 (gst_queue_handle_src_query), (gst_queue_src_activate),
6102 (gst_queue_change_state):
6104 * gst/gstscheduler.c: (gst_scheduler_init),
6105 (gst_scheduler_dispose), (gst_scheduler_create_task),
6106 (gst_scheduler_factory_create):
6107 * gst/gstscheduler.h:
6108 * gst/gststructure.c: (gst_structure_get_type),
6109 (gst_structure_copy_conditional):
6110 * gst/gststructure.h:
6111 * gst/gsttaginterface.h:
6112 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6113 (gst_task_init), (gst_task_dispose), (gst_task_create),
6114 (gst_task_get_state), (gst_task_start), (gst_task_stop),
6120 * gst/schedulers/Makefile.am:
6121 * gst/schedulers/cothreads_compat.h:
6122 * gst/schedulers/entryscheduler.c:
6123 * gst/schedulers/faircothreads.c:
6124 * gst/schedulers/faircothreads.h:
6125 * gst/schedulers/fairscheduler.c:
6126 * gst/schedulers/gstbasicscheduler.c:
6127 * gst/schedulers/gstoptimalscheduler.c:
6128 * gst/schedulers/gthread-cothreads.h:
6129 * gst/schedulers/threadscheduler.c:
6130 (gst_thread_scheduler_task_get_type),
6131 (gst_thread_scheduler_task_class_init),
6132 (gst_thread_scheduler_task_init),
6133 (gst_thread_scheduler_task_start),
6134 (gst_thread_scheduler_task_stop),
6135 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
6136 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
6137 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
6138 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
6140 * libs/gst/Makefile.am:
6141 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
6142 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
6143 (gst_file_pad_parent_set):
6144 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6145 (gst_dp_event_from_packet):
6146 * tests/complexity.c: (main):
6147 * tests/mass_elements.c: (main):
6148 * testsuite/states/locked.c: (message_received), (main):
6149 * testsuite/states/parent.c: (main):
6150 * tools/gst-inspect.c: (print_element_flag_info),
6151 (print_implementation_info), (print_pad_info):
6152 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
6154 * tools/gst-md5sum.c: (event_loop), (main):
6155 * tools/gst-typefind.c: (main):
6156 * tools/gst-xmlinspect.c: (print_element_info):
6158 Added GstBus for mainloop integration.
6159 Added GstMessage for sending notifications on the bus.
6160 Added GstTask as an abstraction for pipeline entry points.
6163 Simplified GstQueue for multithreaded core.
6164 Made _link threadsafe, removed old capsnego.
6165 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
6166 Added pad blocking functions.
6167 Reworked scheduling functions in GstPad to prepare for
6168 scheduling updates soon.
6169 Moved events out of data stream.
6170 Simplified GstEvent types.
6171 Added return values to push/pull.
6172 Removed clocking from GstElement.
6173 Added prototypes for state change function for next merge.
6174 Removed iterate from bins and state change management.
6175 Fixed some elements, disabled others for now.
6176 Fixed -inspect and -launch.
6177 Added check for GstBus.
6179 2005-03-10 Wim Taymans <wim@fluendo.com>
6181 * docs/design/part-MT-refcounting.txt:
6182 * docs/design/part-clocks.txt:
6183 * docs/design/part-gstelement.txt:
6184 * docs/design/part-gstobject.txt:
6185 * docs/design/part-standards.txt:
6186 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
6187 (gst_bin_remove_func), (gst_bin_remove):
6191 * testsuite/clock/clock1.c: (main):
6192 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
6194 * testsuite/dlopen/loadgst.c: (do_test):
6195 * testsuite/refcounting/bin.c: (add_remove_test1),
6196 (add_remove_test2), (main):
6197 * testsuite/refcounting/element.c: (main):
6198 * testsuite/refcounting/element_pad.c: (main):
6199 * testsuite/refcounting/pad.c: (main):
6200 * tools/gst-launch.c: (sigint_handler_sighandler):
6201 * tools/gst-typefind.c: (main):
6203 Added doc about clock.
6204 removed gst_bin_iterate_recurse_up(), marked methods
6206 Fix more testsuites.
6208 2005-03-09 Wim Taymans <wim@fluendo.com>
6210 * gst/gstpad.c: (gst_pad_get_direction),
6211 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
6212 (gst_pad_collect_valist):
6213 * testsuite/bins/interface.c: (main):
6214 * testsuite/caps/audioscale.c: (test_caps):
6215 * testsuite/caps/caps.c: (test1), (test2), (test3):
6216 * testsuite/caps/deserialize.c: (main):
6217 * testsuite/caps/enumcaps.c: (main):
6218 * testsuite/caps/filtercaps.c: (main):
6219 * testsuite/caps/intersect2.c: (main):
6220 * testsuite/caps/random.c: (main):
6221 * testsuite/caps/renegotiate.c: (my_fixate), (main):
6222 * testsuite/caps/sets.c: (check_caps):
6223 * testsuite/caps/simplify.c: (check_caps), (main):
6224 * testsuite/caps/subtract.c: (check_caps):
6225 Fix _pad_get_direction wrt ghostpads.
6228 2005-03-09 Wim Taymans <wim@fluendo.com>
6230 * check/Makefile.am:
6231 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
6232 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
6233 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
6234 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
6235 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
6236 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
6237 (gst_bin_remove), (gst_bin_iterate_recurse_up),
6238 (bin_element_is_sink), (gst_bin_iterate_sinks),
6239 (gst_bin_iterate_all_by_interface):
6241 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
6242 (gst_element_change_state), (gst_element_dispose),
6243 (gst_element_finalize), (gst_element_set_loop_function):
6245 * gst/gstiterator.c: (find_custom_fold_func):
6246 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
6247 (gst_pad_collectv), (gst_pad_collect_valist),
6248 (gst_pad_template_new):
6249 * gst/gstpipeline.c: (gst_pipeline_class_init),
6250 (gst_pipeline_dispose), (gst_pipeline_set_property),
6251 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
6252 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
6253 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
6255 * gst/schedulers/entryscheduler.c:
6256 * gst/schedulers/gstbasicscheduler.c:
6257 (gst_basic_scheduler_cothreaded_chain),
6258 (gst_basic_scheduler_chain_add_element):
6259 * testsuite/bins/interface.c: (main):
6261 Added GstSystemClock test.
6262 Implemented clock distribution code in GstBin.
6263 Implemented iterate sinks method for future use.
6264 Rearranged gstelement.h
6265 Fix GstIterator comparison bug.
6266 Moved some code to GstPipeline, mostly clocking related.
6268 2005-03-09 Wim Taymans <wim@fluendo.com>
6271 * gst/gst_private.h:
6272 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
6273 (gst_bin_remove_func), (gst_bin_remove),
6274 (gst_bin_get_by_name_recurse_up):
6275 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
6276 (gst_clock_id_compare_func), (gst_clock_id_wait),
6277 (gst_clock_id_wait_async), (gst_clock_init),
6278 (gst_clock_adjust_unlocked), (gst_clock_get_time):
6280 * gst/gstinfo.c: (_gst_debug_init):
6282 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
6283 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
6285 Bump version number, we're now 0.9.0
6286 Add future debugging category.
6287 Fix NULL _unref() in _get_by_name_recurse_up
6291 2005-03-08 Wim Taymans <wim@fluendo.com>
6293 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
6294 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
6295 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
6296 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
6297 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
6298 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
6299 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
6300 * gst/elements/gstidentity.c: (gst_identity_class_init):
6301 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
6302 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
6303 * gst/elements/gstshaper.c: (gst_shaper_class_init):
6304 * gst/elements/gststatistics.c: (gst_statistics_class_init):
6305 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
6307 * gst/gstelement.c: (gst_element_class_init),
6308 (gst_element_base_class_init), (gst_element_init),
6309 (gst_element_get_random_pad), (gst_element_wait_state_change),
6310 (gst_element_change_state), (gst_element_dispose),
6311 (gst_element_finalize), (gst_element_set_loop_function):
6313 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
6314 * gst/gstthread.c: (gst_thread_class_init),
6315 (gst_thread_release_children_locks), (gst_thread_change_state):
6316 * gst/schedulers/gstbasicscheduler.c:
6317 (gst_basic_scheduler_loopfunc_wrapper),
6318 (gst_basic_scheduler_chain_wrapper),
6319 (gst_basic_scheduler_src_wrapper),
6320 (gst_basic_scheduler_remove_element):
6321 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
6322 Remove threadsafe properties. Fix elements because GObject
6323 complains when installing a property before declaring a
6324 set/get_property handler.
6325 Rearrange gstelement.h file, use STATE macros for state locks.
6326 Free mutexes in the finalize method instead of dispose.
6328 2005-03-08 Wim Taymans <wim@fluendo.com>
6330 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
6331 * gst/gstthread.c: (gst_thread_release_children_locks):
6332 Added parentage check.
6333 Fix build og GstThread again.
6335 2005-03-08 Wim Taymans <wim@fluendo.com>
6337 * docs/design/part-MT-refcounting.txt:
6338 * docs/design/part-conventions.txt:
6339 * docs/design/part-gstobject.txt:
6340 * docs/design/part-relations.txt:
6341 * docs/design/part-standards.txt:
6342 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
6343 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
6344 (gst_bin_get_by_name), (gst_bin_get_by_interface),
6345 (gst_bin_iterate_all_by_interface):
6348 * gst/gstelement.c: (gst_element_class_init),
6349 (gst_element_change_state), (gst_element_set_loop_function):
6351 * gst/gstiterator.c:
6352 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
6353 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
6354 (gst_object_dispatch_properties_changed), (gst_object_set_name),
6355 (gst_object_set_parent), (gst_object_unparent),
6356 (gst_object_check_uniqueness):
6358 Docs updates, clean up some headers.
6360 2005-03-07 Wim Taymans <wim@fluendo.com>
6363 * check/Makefile.am:
6364 * check/gst-libs/.cvsignore:
6365 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
6366 * check/gst/.cvsignore:
6367 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
6368 (START_TEST), (gstbus_suite), (main):
6369 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
6370 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
6371 (gst_data_suite), (main):
6372 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
6373 (add_fold_func), (gstiterator_suite), (main):
6374 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
6375 (thread_name_object), (thread_name_object_default),
6376 (gst_object_name_compare), (gst_object_suite), (main):
6377 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
6378 (gst_pad_suite), (main):
6379 * check/gstcheck.c: (gst_check_log_message_func),
6380 (gst_check_log_critical_func), (gst_check_init):
6382 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
6383 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
6386 2005-03-07 Wim Taymans <wim@fluendo.com>
6388 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
6389 (gst_list_iterator_next), (gst_list_iterator_resync),
6390 (gst_list_iterator_free), (gst_iterator_new_list),
6391 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
6392 (gst_iterator_free), (gst_iterator_push), (filter_next),
6393 (filter_resync), (filter_uninit), (filter_free),
6394 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
6395 (gst_iterator_foreach), (find_custom_fold_func),
6396 (gst_iterator_find_custom):
6397 * gst/gstiterator.h:
6398 Added missing files.
6400 2005-03-07 Wim Taymans <wim@fluendo.com>
6404 * docs/design/part-MT-refcounting.txt:
6405 * docs/design/part-conventions.txt:
6406 * docs/design/part-gstobject.txt:
6407 * docs/design/part-relations.txt:
6408 * examples/mixer/mixer.c: (main):
6409 * examples/thread/thread.c: (eos), (main):
6411 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
6412 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
6413 (gst_spider_plug_from_srcpad):
6414 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
6415 (gst_spider_identity_change_state),
6416 (gst_spider_identity_sink_loop_type_finding):
6417 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
6418 * gst/elements/gstidentity.c: (gst_identity_init):
6419 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
6420 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
6421 * gst/elements/gsttypefindelement.c: (free_entry):
6424 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
6425 (gst_bin_set_clock_func), (gst_bin_auto_clock),
6426 (gst_bin_set_index), (gst_bin_set_element_sched),
6427 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
6428 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
6429 (gst_bin_iterate_elements), (iterate_child_recurse),
6430 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
6431 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
6432 (compare_interface), (gst_bin_get_by_interface),
6433 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
6435 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
6436 (gst_buffer_default_free), (gst_buffer_default_copy),
6437 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
6438 (gst_buffer_create_sub):
6440 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
6441 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
6442 (gst_caps_unref), (gst_static_caps_get),
6443 (gst_caps_remove_and_get_structure), (gst_caps_append),
6444 (gst_caps_append_structure), (gst_caps_remove_structure),
6445 (gst_caps_copy_nth), (gst_caps_set_simple),
6446 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
6447 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
6448 (gst_caps_structure_intersect_field), (gst_caps_intersect),
6449 (gst_caps_structure_subtract_field), (gst_caps_subtract),
6450 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
6451 (gst_caps_structure_figure_out_union),
6452 (gst_caps_switch_structures), (gst_caps_do_simplify),
6453 (gst_caps_replace), (gst_caps_from_string),
6454 (gst_caps_copy_conditional):
6456 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
6457 (_gst_clock_id_free), (gst_clock_id_unref),
6458 (gst_clock_id_compare_func), (gst_clock_id_wait),
6459 (gst_clock_id_wait_async), (gst_clock_class_init),
6460 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
6461 (gst_clock_get_time), (gst_clock_set_time_adjust),
6462 (gst_clock_set_property), (gst_clock_get_property):
6465 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
6466 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
6468 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
6469 (gst_element_requires_clock), (gst_element_provides_clock),
6470 (gst_element_set_clock), (gst_element_clock_wait),
6471 (gst_element_wait), (gst_element_set_time_delay),
6472 (gst_element_is_indexable), (gst_element_add_pad),
6473 (gst_element_add_ghost_pad), (gst_element_remove_pad),
6474 (pad_compare_name), (gst_element_get_static_pad),
6475 (gst_element_request_pad), (gst_element_get_request_pad),
6476 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
6477 (gst_element_class_get_pad_template_list),
6478 (gst_element_class_get_pad_template), (gst_element_error_func),
6479 (gst_element_get_random_pad), (gst_element_get_event_masks),
6480 (gst_element_send_event), (gst_element_seek),
6481 (gst_element_get_query_types), (gst_element_query),
6482 (gst_element_get_formats), (gst_element_convert),
6483 (gst_element_is_locked_state), (gst_element_set_locked_state),
6484 (gst_element_sync_state_with_parent), (gst_element_change_state),
6485 (gst_element_finalize), (gst_element_yield),
6486 (gst_element_interrupt), (gst_element_set_scheduler),
6487 (gst_element_get_scheduler), (gst_element_set_loop_function):
6490 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
6491 (gst_format_get_by_nick), (gst_format_get_details),
6492 (gst_format_iterate_definitions):
6494 * gst/gstindex.c: (gst_index_gtype_resolver):
6497 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
6498 (gst_mem_chunk_free):
6499 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
6500 (gst_object_ref), (gst_object_unref), (gst_object_sink),
6501 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
6502 (gst_object_dispatch_properties_changed),
6503 (gst_object_set_name_default), (gst_object_set_name),
6504 (gst_object_get_name), (gst_object_set_name_prefix),
6505 (gst_object_get_name_prefix), (gst_object_set_parent),
6506 (gst_object_get_parent), (gst_object_unparent),
6507 (gst_object_check_uniqueness), (gst_object_save_thyself),
6508 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
6509 (gst_object_set_property), (gst_object_get_property),
6510 (gst_object_get_path_string):
6512 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
6513 (gst_real_pad_init), (gst_real_pad_get_property),
6514 (gst_pad_custom_new), (gst_pad_get_direction),
6515 (gst_pad_set_active), (gst_pad_is_active),
6516 (gst_pad_set_event_function), (gst_pad_is_linked),
6517 (gst_pad_link_free), (gst_pad_link_intersect),
6518 (gst_pad_link_fixate), (gst_pad_set_caps),
6519 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
6520 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
6521 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
6522 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
6523 (gst_pad_get_caps), (gst_pad_peer_get_caps),
6524 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
6525 (gst_pad_realize), (gst_pad_get_allowed_caps),
6526 (gst_real_pad_dispose), (gst_real_pad_finalize),
6527 (gst_pad_collectv), (gst_pad_collect_valist),
6528 (gst_pad_template_dispose), (gst_pad_template_new),
6529 (gst_pad_get_internal_links):
6531 * gst/gstpipeline.c: (gst_pipeline_dispose),
6532 (gst_pipeline_change_state):
6533 * gst/gstpipeline.h:
6535 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
6536 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
6537 * gst/gstpluginfeature.h:
6538 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
6539 * gst/gstquery.c: (_gst_query_type_initialize),
6540 (gst_query_type_register), (gst_query_type_get_by_nick),
6541 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
6543 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
6544 * gst/gstscheduler.c: (gst_scheduler_add_element),
6545 (gst_scheduler_factory_create):
6546 * gst/gststructure.c: (gst_structure_set_parent_refcount),
6547 (gst_structure_free), (gst_structure_set_name),
6548 (gst_structure_id_set_value), (gst_structure_set_value),
6549 (gst_structure_set_valist), (gst_structure_remove_field),
6550 (gst_structure_remove_fields),
6551 (gst_structure_remove_fields_valist),
6552 (gst_structure_remove_all_fields), (gst_structure_foreach),
6553 (gst_structure_map_in_place),
6554 (gst_caps_structure_fixate_field_nearest_int),
6555 (gst_caps_structure_fixate_field_nearest_double):
6556 * gst/gststructure.h:
6557 * gst/gstsystemclock.c: (gst_system_clock_class_init),
6558 (gst_system_clock_init), (gst_system_clock_dispose),
6559 (gst_system_clock_async_thread),
6560 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
6561 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
6562 * gst/gstsystemclock.h:
6563 * gst/gsttag.c: (gst_tag_list_add_value_internal),
6564 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
6565 * gst/gsttaginterface.c:
6566 * gst/gstthread.c: (gst_thread_dispose),
6567 (gst_thread_release_children_locks), (gst_thread_change_state),
6568 (gst_thread_main_loop):
6569 * gst/gsttrashstack.h:
6570 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
6572 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6573 (gst_element_request_pad), (gst_element_get_pad_from_template),
6574 (gst_element_request_compatible_pad),
6575 (gst_element_get_compatible_pad_filtered),
6576 (gst_element_get_compatible_pad), (gst_element_state_get_name),
6577 (gst_element_link_pads_filtered), (gst_element_link_filtered),
6578 (gst_element_link_many), (gst_element_link),
6579 (gst_element_link_pads), (gst_element_unlink_pads),
6580 (gst_element_unlink_many), (gst_element_unlink),
6581 (gst_pad_can_link_filtered), (gst_pad_can_link),
6582 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
6583 (gst_object_default_error), (gst_bin_add_many),
6584 (gst_bin_remove_many), (gst_element_populate_std_props),
6585 (gst_element_class_install_std_props), (gst_buffer_merge),
6586 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
6587 (link_fold_func), (gst_pad_proxy_setcaps):
6589 * gst/gstvalue.c: (gst_value_deserialize_string):
6590 * gst/parse/grammar.y:
6591 * gst/schedulers/gstbasicscheduler.c:
6592 (gst_basic_scheduler_cothreaded_chain),
6593 (gst_basic_scheduler_chain_recursive_add),
6594 (gst_basic_scheduler_pad_link):
6595 * gst/schedulers/gstoptimalscheduler.c:
6596 (get_group_schedule_function),
6597 (gst_opt_scheduler_state_transition),
6598 (gst_opt_scheduler_add_element), (element_get_reachables_func):
6599 * libs/gst/bytestream/bytestream.c:
6600 * libs/gst/dataprotocol/dataprotocol.c:
6601 (gst_dp_header_from_buffer):
6604 * tests/threadstate/threadstate2.c: (eos):
6605 * tools/gst-compprep.c: (main):
6606 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
6607 (print_pad_info), (print_children_info):
6608 * tools/gst-launch.c: (idle_func), (main):
6609 * tools/gst-md5sum.c: (idle_func), (main):
6610 * tools/gst-xmlinspect.c: (print_element_info):
6611 First THREADED backport attempt, focusing on adding locks and
6612 making sure the API is threadsafe. Needs more work. More docs
6615 2005-02-24 Andy Wingo <wingo@pobox.com>
6617 * tests/bench-complexity.scm:
6618 * tests/complexity.gnuplot: New files, good for running complexity
6621 * tests/Makefile.am:
6622 * tests/complexity.c: New test, sets up N elements, at each level
6623 teeing into M streams per element. Eeeenteresting.
6625 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
6626 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
6627 running bench-mass_elements.scm.
6629 * tests/bench-mass_elements.scm: New script, runs mass_elements
6630 for various numbers of identities, outputting the results to a
6631 file. Requires guile 1.6. Just for testing.
6633 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
6635 * gst/schedulers/fairscheduler.c:
6636 compile with debug disabled
6638 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
6641 hunting season on 0.9 is now OPEN