1 2005-09-14 David Schleef <ds@schleef.org>
3 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6 2005-09-14 David Schleef <ds@schleef.org>
8 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11 2005-09-14 David Schleef <ds@schleef.org>
13 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
16 2005-09-14 David Schleef <ds@schleef.org>
18 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19 * gst/glib-compat.h: Add some functions that are in newer versions
20 of glib than we care to require.
21 * gst/gstregistryxml.c: Use them.
23 2005-09-14 David Schleef <ds@schleef.org>
25 * po/POTFILES.in: remove gst-register.c
27 2005-09-14 David Schleef <ds@schleef.org>
29 * docs/gst/gstreamer-docs.sgml:
30 * docs/gst/gstreamer-sections.txt:
31 * docs/gst/gstreamer.types:
32 * docs/gst/tmpl/gstelement.sgml:
33 * docs/gst/tmpl/gstplugin.sgml:
34 * docs/gst/tmpl/gstpluginfeature.sgml:
35 Documentation updates for registry changes.
37 2005-09-14 David Schleef <ds@schleef.org>
39 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
40 because we don't require glib-2.8.
42 2005-09-14 David Schleef <ds@schleef.org>
44 * gst/gstregistryxml.c: Added. Essentially moved out of the
47 2005-09-14 David Schleef <ds@schleef.org>
50 * check/generic/states.c:
55 * gst/gstelementfactory.c:
60 * gst/gstpluginfeature.c:
61 * gst/gstpluginfeature.h:
64 * gst/gstregistrypool.c: remove
65 * gst/gstregistrypool.h: remove
67 * gst/gsttypefindfactory.c:
70 * tools/gst-compprep.c:
71 * tools/gst-inspect.c:
72 * tools/gst-register.c: remove
73 * tools/gst-xmlinspect.c:
74 Registry rewrite. Changes registry from being a file created
75 by a tool into a simple cache file created automatically by
76 libgstreamer. Removed gst-register (because it's no longer
77 needed). Remove registry pools, because we only have one
78 registry implementation (XML). Fix up other subsystems as
81 2005-09-13 Michael Smith <msmith@fluendo.com>
84 Don't Use windows linking attributes for MinGW. Fixes #316157
86 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
88 * gst/gstutils.c: (set_state_async_thread_func),
89 (gst_element_set_state_async):
90 Apparently people think it's better if this function doesn't
91 try to set the state to whatever state was asked for on the first
92 call to this function for any object. Seriously.
94 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
96 * check/gst/gstpipeline.c: (GST_START_TEST):
97 * docs/gst/gstreamer-sections.txt:
98 * gst/gstutils.c: (set_state_async_thread_func),
99 (gst_element_set_state_async):
101 add a "gst_element_set_state_async" method that
102 sets the state and starts a thread to make sure the state
103 change completes as best as it can
105 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
107 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
108 codify design+behaviour in testsuite after discussion
110 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
112 * docs/gst/tmpl/gstelement.sgml:
113 * docs/manual/appendix-quotes.xml:
115 * gst/gstelement.c: (gst_element_set_state):
118 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
120 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
121 (gst_base_transform_prepare_output_buf),
122 (gst_base_transform_handle_buffer):
123 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
124 (gst_capsfilter_prepare_buf):
125 Remove the requirement for sub-classes to call the parent
126 implementation of prepare_output_buffer with a wrapper function.
129 * gst/gsttagsetter.h:
132 2005-09-11 Stefan Kost <ensonic@users.sf.net>
134 * docs/gst/gstreamer-sections.txt:
137 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
139 * docs/gst/gstreamer-sections.txt:
140 * docs/gst/tmpl/gstelement.sgml:
141 * docs/gst/tmpl/gstplugin.sgml:
142 * gst/gstminiobject.c:
144 docs now stop throwing warnings
146 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
148 * docs/gst/gstreamer-sections.txt:
149 * docs/gst/gstreamer.types:
150 * docs/gst/tmpl/gstpad.sgml:
151 * docs/gst/tmpl/gsttypes.sgml:
152 * gst/base/gstadapter.h:
153 * gst/base/gstbasesink.h:
154 * gst/base/gstbasesrc.h:
164 * gst/gststructure.c:
165 * gst/registries/gstlibxmlregistry.h:
166 various documentation fixes
168 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
170 * docs/gst/gstreamer-sections.txt:
171 * docs/gst/tmpl/gstvalue.sgml:
172 rearrange gstvalue section
173 * gst/gstutils.c: (gst_element_state_get_name):
175 * gst/gstvalue.c: (_gst_value_initialize):
179 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
181 * check/gst-libs/controller.c:
183 * gst/base/gstbasetransform.c:
184 (gst_base_transform_default_prepare_buf),
185 (gst_base_transform_handle_buffer):
186 * gst/base/gstbasetransform.h:
187 Some more basetransform changes and fixes to enable sub-classes
188 that modify buffer metadata only.
189 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
190 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
191 (gst_capsfilter_prepare_buf):
192 If the output pad has fixed allowed caps and input buffers
193 don't have any, set the fixed caps on outgoing buffers.
195 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
196 * check/elements/identity.c: (GST_START_TEST):
197 Make the error a little clearer when the test fails because
198 identity made a copy of the buffer.
199 * docs/gst/gstreamer-sections.txt:
200 New symbols in gstbasetransform.h
201 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
202 (gst_base_transform_init), (gst_base_transform_transform_size),
203 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
204 (gst_base_transform_default_prepare_buf),
205 (gst_base_transform_get_unit_size),
206 (gst_base_transform_buffer_alloc),
207 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
208 (gst_base_transform_change_state),
209 (gst_base_transform_set_passthrough),
210 (gst_base_transform_set_in_place),
211 (gst_base_transform_is_in_place):
212 * gst/base/gstbasetransform.h:
213 Change BaseTransform to separate in_place operate from same_caps
214 output. in_place implies that the element can perform the transform
215 on incoming buffers in-place, even if the caps on the output are
217 Sub-class elements can now implement special buffer allocation
218 methods for outgoing buffers if they wish to.
219 Big documentation addition.
220 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
221 * gst/elements/gstelements.c:
222 Changes for basetransform modifications.
223 * gst/elements/Makefile.am:
224 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
225 Compile fix. Extra debug output.
227 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
229 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
231 add tests for valid pad naming
232 * gst/check/gstcheck.c: (gst_check_log_message_func),
233 (gst_check_log_critical_func):
235 remove printing of code, it is fragile when the code contains
236 % and the line number is enough info
237 * gst/check/gstcheck.h:
238 * gst/gstpad.c: (gst_pad_template_new):
241 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
244 say what CHECK flags we use
245 * docs/libs/gstreamer-libs.types:
246 * libs/gst/controller/Makefile.am:
247 * libs/gst/controller/gst-controller.c:
248 * libs/gst/controller/gst-controller.h:
249 * libs/gst/controller/gst-helper.c:
250 * libs/gst/controller/gst-interpolation.c:
251 * libs/gst/controller/gstcontroller.c:
252 * libs/gst/controller/gsthelper.c:
253 * libs/gst/controller/gstinterpolation.c:
254 * tools/gst-inspect.c: (print_plugin_info):
255 we don't use dashes in header names
257 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
260 * check/gst/.cvsignore:
261 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
262 (gst_pipeline_suite), (main):
263 adding a test for pipelines and state changes
264 * gst/gstutils.c: (get_state_func):
269 2005-09-08 Michael Smith <msmith@fluendo.com>
271 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
272 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
273 (gst_file_src_is_seekable), (gst_file_src_get_size),
274 (gst_file_src_start):
275 * gst/elements/gstfilesrc.h:
276 Various fixes for unseekable, unmmapable, and non-normal files, so
277 that fallback to read() rather than mmap() works.
278 * gst/gstevent.c: (gst_event_new_newsegment):
279 Allow newsegment events with segment_start == segment_end, as will
280 correctly happen if you use filesrc on a zero-size file, for
283 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
285 * gst/gstplugin.c: (gst_plugin_load_file):
286 Call g_module_close when we don't load the module
288 * gst/registries/gstlibxmlregistry.c:
289 (gst_xml_registry_get_property):
290 Port leak fix from 0.8
292 2005-09-07 Stefan Kost <ensonic@users.sf.net>
294 * docs/gst/gstreamer-docs.sgml:
295 * docs/gst/tmpl/.cvsignore:
296 * docs/gst/tmpl/gsttrace.sgml:
297 * docs/gst/tmpl/gsttrashstack.sgml:
306 * gst/gsttaginterface.c:
307 * gst/gsttaginterface.h:
310 * gst/gsttagsetter.c:
311 * gst/gsttagsetter.h:
314 * gst/gsttrashstack.c:
315 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
316 inlined docs for gsttrace, gsttrashstack
318 2005-09-07 Stefan Kost <ensonic@users.sf.net>
321 * gst/elements/gstbufferstore.h:
322 * gst/elements/gsttypefindelement.c:
323 * gst/elements/gsttypefindelement.h:
327 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
328 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
329 (gst_type_find_factory_dispose),
330 (gst_type_find_factory_unload_thyself),
331 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
332 (gst_type_find_factory_get_caps),
333 (gst_type_find_factory_get_extensions),
334 (gst_type_find_factory_call_function):
335 * gst/gsttypefindfactory.h:
336 * gst/registries/gstlibxmlregistry.c:
337 * gst/registries/gstxmlregistry.c:
338 splitted gsttypefind into gsttypefind, gsttypefindfactory
340 2005-09-07 Andy Wingo <wingo@pobox.com>
342 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
343 condition whereby the pad's task function is entered before the
344 pad_mode variable was set.
346 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
348 * gst/gstpad.c: (gst_pad_alloc_buffer):
349 Catch misbehaving pad_alloc functions that don't
350 set up caps and do it for them.
352 2005-09-07 Stefan Kost <ensonic@users.sf.net>
354 * check/pipelines/simple_launch_lines.c: (run_pipeline):
356 * docs/gst/tmpl/.cvsignore:
357 * docs/gst/tmpl/gstmemchunk.sgml:
358 * docs/gst/tmpl/gstparse.sgml:
359 * docs/gst/tmpl/gsttaglist.sgml:
360 * docs/gst/tmpl/gsttagsetter.sgml:
361 * docs/gst/tmpl/gsttypefind.sgml:
362 * docs/gst/tmpl/gsttypefindfactory.sgml:
366 * gst/gsttaginterface.c:
371 === release 0.9.2 ===
373 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
378 releasing 0.9.2, "South"
380 2005-09-05 Andy Wingo <wingo@pobox.com>
382 * gst/registries/gstxmlregistry.h:
383 * gst/registries/gstxmlregistry.c: Um... resurrect...
385 * gst/registries/gstxmlregistry.h:
386 * gst/registries/gstxmlregistry.c: and update to newer API.
387 Incidentally they should be a bit faster now that they don't have
390 2005-09-05 Andy Wingo <wingo@pobox.com>
392 * gst/registries/gstxmlregistry.h:
393 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
394 replaced by the libxml registry a while back
396 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
398 * docs/gst/tmpl/gstplugin.sgml:
399 * gst/elements/gstelements.c:
401 * gst/gstplugin.c: (gst_plugin_register_func),
402 (gst_plugin_desc_copy), (gst_plugin_desc_free),
403 (gst_plugin_get_source):
405 * gst/registries/gstlibxmlregistry.c: (load_plugin),
406 (gst_xml_registry_save_plugin):
407 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
408 (gst_xml_registry_save_plugin):
409 * tools/gst-inspect.c: (print_plugin_info):
410 add a "source" plugin description field, to represent the source
411 module this plugin is a part of. By default GST_PLUGIN_DEFINE
412 will set it to PACKAGE, which is automake's idea of the name of
415 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
421 * docs/faq/Makefile.am:
422 * docs/gst/tmpl/gstelement.sgml:
423 * docs/gst/tmpl/gsttypes.sgml:
424 * docs/htmlinstall.mak:
425 * docs/manual/Makefile.am:
426 * docs/pwg/Makefile.am:
427 reorganize doc build a little
428 split out docbook and gtk-doc stuff
429 have two separate --enable's and enable them through autogen
430 but disable by default in configure (to be similar to other
433 clean up docs install
453 2005-09-03 Tim-Philipp M??ller <tim at centricular dot net>
455 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
458 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
459 (gst_fake_sink_change_state):
460 Make state change function thread-safe.
462 * gst/gstpad.c: (gst_pad_alloc_buffer):
463 Set offset on generic buffer allocated by fallback.
465 2005-09-03 Stefan Kost <ensonic@users.sf.net>
467 * docs/gst/gstreamer-sections.txt:
468 * docs/gst/tmpl/gstelement.sgml:
470 * libs/gst/controller/gst-controller.c:
471 (gst_controlled_property_set_interpolation_mode),
472 (gst_controlled_property_new),
473 (gst_controller_find_controlled_property):
474 run the wingo-magic script against the docs
476 2005-09-02 Stefan Kost <ensonic@users.sf.net>
478 * docs/gst/gstreamer-docs.sgml:
479 * docs/gst/gstreamer-sections.txt:
480 * docs/gst/tmpl/.cvsignore:
481 * docs/gst/tmpl/gstelementdetails.sgml:
482 * docs/gst/tmpl/gstelementfactory.sgml:
485 * gst/gstelementfactory.c:
486 * gst/gstelementfactory.h:
487 merged elementdetails docs into elementfactory docs
490 2005-09-02 Andy Wingo <wingo@pobox.com>
492 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
493 consider this enum an enum and not a flags.
495 2005-09-02 Stefan Kost <ensonic@users.sf.net>
497 * docs/gst/gstreamer-docs.sgml:
498 * docs/gst/tmpl/.cvsignore:
499 * docs/gst/tmpl/gstghostpad.sgml:
500 * docs/gst/tmpl/gstiterator.sgml:
501 * docs/gst/tmpl/gstmacros.sgml:
502 * docs/gst/tmpl/gstrealpad.sgml:
503 * docs/gst/tmpl/gstregistry.sgml:
504 * docs/gst/tmpl/gstregistrypool.sgml:
505 * docs/gst/tmpl/gststructure.sgml:
506 * docs/gst/tmpl/gstsystemclock.sgml:
507 * docs/gst/tmpl/gsttrace.sgml:
514 * gst/gstregistrypool.c:
515 * gst/gststructure.c:
516 * gst/gstsystemclock.c:
519 2005-09-02 Andy Wingo <wingo@pobox.com>
521 * gst/gstelement.h (GstState): Renamed from GstElementState,
522 changed to be a normal enum instead of flags.
523 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
524 munged to be GST_STATE_CHANGE_*.
525 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
526 work with the new state representation.
527 (GstStateChange): New enumeration of possible state transitions.
528 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
529 (GstElementClass::change_state): Pass the GstStateChange along as
530 an argument. Helps language bindings, so they don't have to use
531 tricky lock-needing macros like GST_STATE_CHANGE ().
533 * scripts/update-states (file): New script. Run it on a file to
534 update it for state naming and API changes. Updates files in
537 * All files updated for the new API.
539 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
541 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
542 * gst/gstutils.c: (gst_util_set_value_from_string),
543 (gst_util_set_object_arg):
544 fix a bunch of unchecked return values
545 * tools/gst-complete.c: (main):
549 2005-09-01 Wim Taymans <wim@fluendo.com>
551 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
552 (gst_base_sink_event), (gst_base_sink_do_sync),
553 (gst_base_sink_handle_event):
554 * gst/base/gstbasesink.h:
555 Handle newsegments more correctly.
560 * gst/gstevent.c: (gst_event_new_newsegment):
561 A newsegment cannot have a start_time of -1
563 2005-09-01 Tim-Philipp M??ller <tim at centricular dot net>
565 * win32/gstenumtypes.c:
566 * win32/gstenumtypes.h:
569 2005-08-31 Stefan Kost <ensonic@users.sf.net>
571 * libs/gst/controller/gst-controller.c:
572 (gst_controlled_property_set_interpolation_mode),
573 (gst_controlled_property_new):
576 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
578 * docs/faq/gst-uninstalled:
583 * gst/gstutils.c: (gst_element_link_filtered):
585 add gst_element_link_filtered
587 2005-08-31 Stefan Kost <ensonic@users.sf.net>
589 * docs/gst/gstreamer-docs.sgml:
590 * docs/gst/gstreamer-sections.txt:
591 * docs/gst/tmpl/.cvsignore:
592 * docs/gst/tmpl/gsterror.sgml:
593 * docs/gst/tmpl/gstfilter.sgml:
594 * docs/gst/tmpl/gsturihandler.sgml:
595 * docs/gst/tmpl/gsturitype.sgml:
596 * docs/gst/tmpl/gstutils.sgml:
597 * docs/gst/tmpl/gstxml.sgml:
605 inlined more docs, fixed double id-ref
607 2005-08-31 Wim Taymans <wim@fluendo.com>
609 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
610 (gst_base_transform_handle_buffer):
611 Passthrough elements don't need the caps as they don't care.
613 2005-08-31 Wim Taymans <wim@fluendo.com>
615 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
616 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
617 Don't leak refcounts on buffers.
619 2005-08-31 Wim Taymans <wim@fluendo.com>
621 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
622 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
623 (gst_base_transform_chain), (gst_base_transform_change_state):
624 * gst/base/gstbasetransform.h:
625 Handle the case where we are not negotiated more gracefully.
627 2005-08-31 Tim-Philipp M??ller <tim at centricular dot net>
629 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
630 (gst_file_src_map_region):
631 Set READONLY flag on mmap'ed buffers, otherwise
632 gst_buffer_make_writable() won't work properly (#314708).
634 2005-08-31 Wim Taymans <wim@fluendo.com>
636 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
637 passthrough elements can even do inplace on non writable
638 buffers (as they don't touch them).
640 2005-08-31 Stefan Kost <ensonic@users.sf.net>
642 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
643 (gst_test_mono_source_set_property),
644 (gst_test_mono_source_class_init), (GST_START_TEST),
645 (gst_controller_suite):
646 more tests (hehe I have the most)
648 describe popping messages whenusing mulltiple sources
649 * libs/gst/controller/gst-controller.c:
650 (gst_controlled_property_set_interpolation_mode),
651 (gst_controlled_property_new):
652 * libs/gst/controller/gst-controller.h:
653 * libs/gst/controller/gst-interpolation.c:
654 implement boolean properties
656 2005-08-31 Wim Taymans <wim@fluendo.com>
658 * gst/gstminiobject.c: (gst_mini_object_ref):
659 Cannot assert that the refcount has to be positive
660 since a disposed object can be resurrected.
662 2005-08-31 Wim Taymans <wim@fluendo.com>
664 * gst/gstpad.c: (gst_pad_init):
665 Revert change, need to first fix badly behaving
668 2005-08-30 Wim Taymans <wim@fluendo.com>
670 * check/elements/fakesrc.c: (setup_fakesrc):
671 * check/elements/identity.c: (setup_identity):
672 Activate pads before using them.
674 2005-08-30 Wim Taymans <wim@fluendo.com>
676 * gst/base/gstadapter.c: (gst_adapter_flush):
677 Flushing out 0 bytes is ok for this function.
679 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
680 no newsegment gives a warning and sets the start/stop to
683 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
684 (gst_base_transform_set_passthrough):
687 * gst/gstminiobject.c: (gst_mini_object_ref):
688 Check refcount here too.
690 * gst/gstpad.c: (gst_pad_init):
691 Pads are initially flushing and refusing data.
693 * gst/gstutils.c: (gst_element_link_pads_filtered):
694 When adding a capsfilter element make sure it has the
695 same state as the parent bin.
697 2005-08-30 Stefan Kost <ensonic@users.sf.net>
699 * docs/gst/tmpl/.cvsignore:
700 * docs/gst/tmpl/gstformat.sgml:
701 * docs/gst/tmpl/gstversion.sgml:
705 * gst/gstversion.h.in:
706 more docs and two more inlined
708 2005-08-30 Wim Taymans <wim@fluendo.com>
710 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
713 2005-08-30 Stefan Kost <ensonic@users.sf.net>
715 * docs/gst/gstreamer-sections.txt:
716 ultral33t func10ns deserve to appear in the docs actually
717 * docs/gst/tmpl/.cvsignore:
718 * docs/gst/tmpl/gstcompat.sgml:
719 * docs/gst/tmpl/gstconfig.sgml:
720 * gst/check/gstcheck.c:
722 * gst/gstconfig.h.in:
725 2005-08-30 Stefan Kost <ensonic@users.sf.net>
727 * docs/gst/tmpl/.cvsignore:
728 * docs/gst/tmpl/gstquery.sgml:
729 * docs/gst/tmpl/gstutils.sgml:
732 inlined and extended docs
734 2005-08-30 Stefan Kost <ensonic@users.sf.net>
736 * check/gst-libs/controller.c: (GST_START_TEST),
737 (gst_controller_suite):
739 * docs/gst/tmpl/gstutils.sgml:
740 * docs/libs/gstreamer-libs-sections.txt:
741 * docs/libs/tmpl/gstdataprotocol.sgml:
743 * examples/controller/audio-example.c: (main):
744 controller example works now
747 * tools/gst-inspect.c: (print_element_properties_info):
748 show param spec flags
750 2005-08-29 Andy Wingo <wingo@pobox.com>
752 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
754 2005-08-28 Andy Wingo <wingo@pobox.com>
756 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
757 as having two arguments instead of just one. Allows superclasses
758 to access information on subclasses -- see the terrible for() loop
759 in gtype.c:g_type_create_instance for the reason why. All callers
762 2005-08-27 Stefan Kost <ensonic@users.sf.net>
764 * docs/design/part-messages.txt:
766 * docs/gst/tmpl/.cvsignore:
767 * docs/gst/tmpl/gstcaps.sgml:
768 * docs/gst/tmpl/gstclock.sgml:
775 added descriptions for bus and message
776 inline caps and clock docs
778 2005-08-27 Stefan Kost <ensonic@users.sf.net>
784 2005-08-27 Stefan Kost <ensonic@users.sf.net>
786 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
789 2005-08-26 Andy Wingo <wingo@pobox.com>
791 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
792 element_set_state's return val.
793 (test_2_elements): Add test that's been disabled for months.
795 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
796 can-activate-pull properties.
798 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
799 can-activate-pull properties. Implement is_seekable so fakesrc can
800 operate in pull mode.
802 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
804 (gst_base_sink_activate, gst_base_sink_activate_pull)
805 (gst_base_sink_activate_push): Make activation mode choosing work.
807 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
808 is right. Make pull mode work. Post an eos before pausing in pull
810 (gst_base_sink_change_state): Pay attention to the core's
811 change_state() return val.
813 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
814 has-getrange properties. Cleanups.
816 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
817 has_getrange and replace with can_activate_pull and
820 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
821 locking comments. Remove has_loop, has_chain and replace with
822 can_activate_pull and can_activate_push.
824 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
827 * examples/Makefile.am:
828 * examples/metadata/Makefile.am:
829 * examples/metadata/read-metadata.c: (message_loop),
830 (have_pad_handler), (make_pipeline), (print_tag), (main):
831 Add metadata reading example that loops over a list of filenames,
832 dumping any tags found.
834 * gst/gstbus.c: (gst_bus_dispose):
835 * gst/gstelement.c: (gst_element_dispose):
836 Release a few potentially-held references in dispose.
838 2005-08-26 Stefan Kost <ensonic@users.sf.net>
840 * docs/gst/tmpl/gstminiobject.sgml:
841 do *not* add tmpl/*.sgml files to CVS!
843 2005-08-26 Stefan Kost <ensonic@users.sf.net>
845 * libs/gst/bytestream/.cvsignore:
846 * libs/gst/bytestream/Makefile.am:
847 * libs/gst/bytestream/adapter.c:
848 * libs/gst/bytestream/adapter.h:
849 * libs/gst/bytestream/bytestream.c:
850 * libs/gst/bytestream/bytestream.h:
851 * libs/gst/bytestream/filepad.c:
852 * libs/gst/bytestream/filepad.h:
853 removing obsolete files
855 2005-08-26 Stefan Kost <ensonic@users.sf.net>
857 * docs/gst/gstreamer-docs.sgml:
858 * docs/libs/gstreamer-libs-docs.sgml:
859 disabed additional index entries again, as this makes docs-gen just
860 slow and they aren't useful yet
861 * docs/libs/gstreamer-libs-sections.txt:
862 little -section.txt cleanup for libs
864 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
866 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
867 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
868 fix up some debugging
869 (gst_base_transform_get_unit_size),
870 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
871 (gst_base_transform_handle_buffer):
872 * gst/base/gstbasetransform.h:
873 handle and store timed NEWSEGMENT events so that subclasses that
874 calculate time by counting samples have a segment_start time they
875 need to add to their timestamps - see audioresample
877 2005-08-26 Stefan Kost <ensonic@users.sf.net>
880 removed ';' from the end of macro defs
881 * docs/gst/gstreamer-docs.sgml:
882 * docs/gst/gstreamer-sections.txt:
883 * docs/gst/tmpl/.cvsignore:
885 * gst/gstelement.c: (gst_element_class_init),
886 (gst_element_set_state), (activate_pads),
887 (gst_element_save_thyself):
888 * gst/gstevent.c: (gst_event_new_newsegment):
894 * gst/gstutils.c: (gst_pad_query_convert):
896 fixed parameter name mismatches between source, header and docs
897 added some more docs, resolved the last batch of unused elements in
898 docs (now someone needs to doc them)
900 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
902 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
903 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
904 don't walk through the plugins backwards. Where is all this
905 reversed logic coming from ?
907 2005-08-25 Wim Taymans <wim@fluendo.com>
909 * gst/base/gstbasetransform.c: (gst_base_transform_init),
910 (gst_base_transform_transform_size),
911 (gst_base_transform_configure_caps),
912 (gst_base_transform_get_unit_size),
913 (gst_base_transform_buffer_alloc),
914 (gst_base_transform_change_state):
915 * gst/base/gstbasetransform.h:
916 Cache caps unit_size.
917 Make sure we cannot negotiate up and downstream at the
920 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
922 * gst/gst.c: (init_pre), (init_post):
923 register the installed plugin path after the env var
924 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
925 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
926 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
927 directories, so the tests can prefer uninstalled over installed
929 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
931 * gst/base/gstbasetransform.h:
936 2005-08-25 Wim Taymans <wim@fluendo.com>
938 * gst/gstbin.c: (bin_bus_handler):
939 Be a bit more conservative about the posted message.
941 * gst/gstbus.c: (gst_bus_post):
942 Some cleanups, warn wrong return values.
944 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
946 * check/gst/gstbin.c: (GST_START_TEST):
947 * gst/gstbin.c: (bin_bus_handler):
948 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
949 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
950 (gst_message_new_warning), (gst_message_new_tag),
951 (gst_message_new_state_changed), (gst_message_new_segment_start),
952 (gst_message_new_segment_done), (gst_message_new_custom):
954 * tools/gst-launch.c: (event_loop):
955 * tools/gst-md5sum.c: (event_loop):
956 Revert unpopular change for GST_MESSAGE_SRC to GObject.
958 2005-08-25 Wim Taymans <wim@fluendo.com>
960 * check/generic/states.c: (GST_START_TEST):
961 Cleanup can be done at the end.
963 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
964 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
965 (gst_task_get_state), (gst_task_start), (gst_task_pause):
966 Oh boy.. Thanks for finding this, Thomas.
968 2005-08-25 Stefan Kost <ensonic@users.sf.net>
970 * docs/gst/gstreamer.types:
973 2005-08-25 Stefan Kost <ensonic@users.sf.net>
975 * docs/gst/gstreamer-docs.sgml:
976 * docs/gst/gstreamer-sections.txt:
977 * docs/gst/tmpl/.cvsignore:
981 * gst/registries/gstxmlregistry.h:
982 added missing classes and symbols (123 more to go)
983 removed removed symbols from section file
984 fixed many doc-comments
986 2005-08-24 Wim Taymans <wim@fluendo.com>
988 * check/generic/states.c: (GST_START_TEST):
989 Make sure all tasks are stopped.
991 * check/gst/gstbin.c: (GST_START_TEST):
992 Unref after usage for proper valgrinding.
994 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
995 Really wait for the task to stop before destroying the
998 * gst/gstqueue.c: (gst_queue_sink_activate_push),
999 (gst_queue_src_activate_push):
1000 Small cleanups. Don't stop the task when we did not start
1003 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
1004 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
1005 (gst_task_get_state), (gst_task_start), (gst_task_pause),
1008 Protect the stream lock with the object lock.
1009 Disallow setting the stream lock when running.
1010 Add cleanup_all to wait for the threadpool to finish.
1011 Remove code to autoallocate a mutex if none was provided.
1012 Add _join() to wait for a task to stop.
1013 Protect the thread pool with a global lock.
1015 2005-08-24 Wim Taymans <wim@fluendo.com>
1017 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1018 (gst_base_sink_get_times), (gst_base_sink_do_sync),
1019 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
1020 * gst/base/gstbasesink.h:
1021 Handle newsegment events correctly.
1022 Drop buffers out of the segment range.
1024 2005-08-22 Andy Wingo <wingo@pobox.com>
1026 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
1027 macro, implements an interface and gstimplementsinterface for a
1030 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
1032 * check/Makefile.am:
1033 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
1034 add a test that does a bunch of state changes on elements
1035 needs some fixing for valgrind
1036 * check/states/sinks.c: (gst_object_suite):
1039 add prototype for gst_caps_is_equal_fixed
1041 * gst/gstregistrypool.c:
1044 2005-08-24 Andy Wingo <wingo@pobox.com>
1046 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
1047 convert a negative value. Doesn't make much sense. Mostly this is
1048 here to force callers to ensure -1 maps to -1.
1050 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1052 * docs/pwg/advanced-types.xml:
1053 Well done to Michael for catching my deliberate introduction
1054 of this spelling mistake.
1055 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
1057 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
1058 unlink pads before removing the element from the bin.
1060 2005-08-24 Andy Wingo <wingo@pobox.com>
1062 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
1063 the same thing as GST_DEBUG=*:4.
1064 (parse_debug_level, parse_debug_category): New helper parsers.
1066 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
1068 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
1069 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
1070 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
1071 (gst_base_transform_buffer_alloc),
1072 (gst_base_transform_handle_buffer):
1073 use gboolean return values and pointers to size so we can use the
1074 full GST_BUFFER_SIZE range (guint) for buffer sizes
1075 use GstPadDirection for transform_caps
1076 * gst/base/gstbasetransform.h:
1077 rename get_size to get_unit_size since that's what it is
1078 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
1079 use GstPadDirection for transform_caps
1080 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
1082 cleanup and debugging
1084 2005-08-24 Stefan Kost <ensonic@users.sf.net>
1086 * gst/gstelement.c: (gst_element_class_init),
1087 (gst_element_set_state), (activate_pads),
1088 (gst_element_save_thyself):
1089 * tools/gst-compprep.c: (main):
1090 * tools/gst-inspect.c: (print_element_properties_info):
1091 * tools/gst-xmlinspect.c: (print_element_properties):
1092 Fixed long standing mem-leak
1094 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1096 * check/gst/gstbin.c: (GST_START_TEST):
1097 * gst/gstbin.c: (bin_bus_handler):
1098 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
1099 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
1100 (gst_message_new_warning), (gst_message_new_tag),
1101 (gst_message_new_state_changed), (gst_message_new_segment_start),
1102 (gst_message_new_segment_done), (gst_message_new_custom):
1104 * tools/gst-launch.c: (event_loop):
1105 * tools/gst-md5sum.c: (event_loop):
1106 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
1107 that applications can sensibly post custom messages with references
1108 to their own objects.
1110 2005-08-24 Andy Wingo <wingo@pobox.com>
1112 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
1115 2005-08-24 Wim Taymans <wim@fluendo.com>
1117 * gst/base/gstbasetransform.c: (gst_base_transform_init),
1118 (gst_base_transform_transform_caps),
1119 (gst_base_transform_transform_size),
1120 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
1121 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
1122 (gst_base_transform_handle_buffer):
1123 * gst/base/gstbasetransform.h:
1124 Many fixes and new features added by Thomas. Can now also do
1125 transforms with variable sizes and a custom fixate_caps function.
1127 2005-08-24 Wim Taymans <wim@fluendo.com>
1129 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
1133 Cast to ClockTime before formatting to time.
1138 2005-08-24 Stefan Kost <ensonic@users.sf.net>
1140 * check/gst-libs/controller.c: (GST_START_TEST),
1141 (gst_controller_suite):
1142 * docs/gst/tmpl/gstcaps.sgml:
1143 * docs/gst/tmpl/gstghostpad.sgml:
1144 * docs/gst/tmpl/gstquery.sgml:
1145 * docs/gst/tmpl/gstutils.sgml:
1146 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
1147 (gst_object_sink_values), (gst_object_get_value_arrays),
1148 (gst_object_get_value_array):
1149 gracefully handle helper method calls to objects that are not beeing
1150 controlled, added test case for that
1152 2005-08-23 Wim Taymans <wim@fluendo.com>
1154 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
1155 (gst_event_new_newsegment), (gst_event_parse_newsegment),
1156 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
1157 (gst_event_parse_qos), (gst_event_new_seek),
1158 (gst_event_parse_seek):
1160 Some more debugging output and doc cleanups.
1162 * gst/gstqueue.c: (gst_queue_handle_sink_event):
1163 Fix possible deadlock.
1165 2005-08-23 Stefan Kost <ensonic@users.sf.net>
1167 * docs/gst/gstreamer-docs.sgml:
1168 * docs/gst/gstreamer-sections.txt:
1169 * docs/gst/gstreamer.types:
1170 * docs/gst/tmpl/.cvsignore:
1175 added 100 symbols from gstreamer-unused.txt to the right sections
1176 fixed more broken comments
1177 added GstBus to docs
1179 2005-08-23 Stefan Kost <ensonic@users.sf.net>
1181 * docs/gst/gstreamer-sections.txt:
1182 * docs/gst/tmpl/.cvsignore:
1183 * docs/gst/tmpl/gstbin.sgml:
1184 * docs/gst/tmpl/gstbuffer.sgml:
1185 * gst/base/gstbasesrc.c:
1186 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
1189 * tools/gst-launch.1.in:
1190 inlined more doc comments, added missing comments and fixed comments
1193 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
1195 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
1199 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
1201 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
1202 * gst/gststructure.h:
1203 add a fixate function for booleans; add a FIXME that these func
1204 names should probably be gst_structure_fixate_*
1206 2005-08-23 Stefan Kost <ensonic@users.sf.net>
1208 * docs/gst/gstreamer-docs.sgml:
1209 * docs/gst/gstreamer-sections.txt:
1211 * gst/gstbin.c: (gst_bin_get_type),
1212 (gst_bin_child_proxy_get_child_by_index),
1213 (gst_bin_child_proxy_get_children_count),
1214 (gst_bin_child_proxy_init):
1215 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
1216 (gst_child_proxy_get_child_by_index),
1217 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
1218 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
1219 (gst_child_proxy_get), (gst_child_proxy_set_property),
1220 (gst_child_proxy_set_valist), (gst_child_proxy_set),
1221 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
1222 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
1223 * gst/gstchildproxy.h:
1224 * gst/parse/grammar.y:
1225 * tools/gst-inspect.c: (print_interfaces),
1226 (print_element_properties_info), (print_element_info):
1227 ported gstchildproxy over from 0.8
1228 ported gst-inspect fixes and enhancements over from 0.8
1230 2005-08-22 Wim Taymans <wim@fluendo.com>
1232 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
1233 (gst_base_transform_handle_buffer):
1234 Also call the transform function if we have ANY caps.
1236 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
1239 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
1241 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
1242 Don't pretend to handle seek events if the source is not seekable
1244 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
1246 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1247 Remove extra parameter to debug output
1249 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
1250 (gst_base_src_do_seek), (gst_base_src_activate_push):
1251 Fix seek event handling.
1253 * gst/gstpipeline.c: (gst_pipeline_change_state):
1254 * gst/gstqueue.c: (gst_queue_handle_sink_event),
1255 (gst_queue_src_activate_push):
1256 Don't start the src pad task on FLUSH_STOP if the pad
1260 2005-08-22 Wim Taymans <wim@fluendo.com>
1262 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1263 Added check for gst_static_caps_get() refcounting.
1265 2005-08-22 Wim Taymans <wim@fluendo.com>
1267 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
1268 Make _static_caps_get() refcounting sane.
1270 * gst/gstelement.c: (gst_element_set_state):
1271 Add g_return_val_if_fail() to protect against segfaults.
1273 2005-08-22 Stefan Kost <ensonic@users.sf.net>
1275 * docs/gst/tmpl/gstevent.sgml:
1278 inlined remaining docs, added missing doc comments
1280 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
1282 * check/gst/gstbin.c: (GST_START_TEST):
1283 since we don't know when preroll is done, use refcount range
1285 * gst/check/gstcheck.h:
1286 add macro for checking refcount range
1288 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
1290 * check/Makefile.am:
1291 clean up environment for when registry gets built versus
1292 when actual tests are run; valgrind seems to not report
1293 leaks if GST_PLUGIN_PATH is set to some specific values
1294 * check/gst/gstbin.c: (GST_START_TEST):
1295 add more refcounting checks; maybe this exposes a
1298 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1299 * gst/check/gstcheck.h:
1300 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
1301 (gst_bin_change_state):
1302 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
1303 add/fix debugging/whitespace
1305 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
1307 * check/gst/gstevent.c: (event_probe), (test_event),
1309 Er, don't call gst_bin_watch_for_state_change you idiot.
1311 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
1313 * check/Makefile.am:
1314 Use CHECK_CFLAGS and CHECK_LIBS
1315 * check/gst/gstevent.c: (event_probe), (test_event),
1318 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
1319 (gst_base_src_start), (gst_base_src_stop),
1320 (gst_base_src_activate_push), (gst_base_src_activate_pull),
1321 (gst_base_src_change_state):
1322 Sprinkle gst_base_src_stop liberally around error paths to fix
1323 problems reusing a source after failed state changes.
1324 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1325 (helper_find_suggest), (gst_type_find_helper):
1326 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
1328 * docs/gst/tmpl/gstevent.sgml:
1329 Migrate part of the docs from the SGML file. Wait for ensonic to
1330 tell me how I did it wrong ;)
1331 * tools/gst-typefind.c: (main):
1332 Extra robustness to state changes between files.
1334 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
1336 * check/Makefile.am:
1337 don't valgrind the controller test - it's leaking - Stefan, HELP
1338 * gst/check/gstcheck.c: (gst_check_message_error),
1339 (gst_check_chain_func), (gst_check_setup_element),
1340 (gst_check_teardown_element), (gst_check_setup_src_pad),
1341 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1342 (gst_check_teardown_sink_pad):
1343 * gst/check/gstcheck.h:
1344 add a bunch of methods to set up elements, and src and sink pads
1345 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
1346 * check/elements/identity.c: (setup_identity), (cleanup_identity),
1351 whitespace/doc fixes
1353 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
1356 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
1357 be handled by the application and not always printed as well
1359 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
1361 * check/Makefile.am:
1363 * gst/check/gstcheck.c: (gst_check_message_error):
1364 * gst/check/gstcheck.h:
1365 add a fail_unless_equals_int
1366 add fail_unless for error messages
1368 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
1370 * check/Makefile.am:
1372 * common/Makefile.am:
1375 factor out some of the common stuff so we can use it
1377 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
1379 * check/Makefile.am:
1380 * check/gst/gstiterator.c: (GST_START_TEST):
1381 * check/gst/gstsystemclock.c: (GST_START_TEST),
1382 (gst_systemclock_suite):
1383 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
1387 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
1389 * check/elements/.cvsignore:
1390 * check/elements/gstfakesrc.c:
1391 rename to name of element
1392 * check/elements/identity.c: (chain_func), (event_func),
1393 (setup_identity), (cleanup_identity), (GST_START_TEST),
1394 (identity_suite), (main):
1395 add a test for identity
1396 * check/Makefile.am:
1397 * pkgconfig/Makefile.am:
1398 * pkgconfig/gstreamer-check.pc.in:
1399 * pkgconfig/gstreamer-check-uninstalled.pc.in:
1403 move the check stuff to a library that gets installed
1404 * check/gst-libs/controller.c: (GST_START_TEST):
1405 * check/gst-libs/gdp.c:
1406 * check/gst/gst.c: (GST_START_TEST):
1407 * check/gst/gstbin.c:
1408 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
1409 * check/gst/gstbus.c:
1410 * check/gst/gstcaps.c: (GST_START_TEST):
1411 * check/gst/gstelement.c:
1412 * check/gst/gstghostpad.c:
1413 * check/gst/gstiterator.c:
1414 * check/gst/gstmessage.c:
1415 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
1416 * check/gst/gstobject.c:
1417 * check/gst/gstpad.c: (GST_START_TEST):
1418 * check/gst/gststructure.c: (GST_START_TEST):
1419 * check/gst/gstsystemclock.c: (GST_START_TEST),
1420 (gst_systemclock_suite):
1421 * check/gst/gsttag.c: (gst_tag_suite):
1422 * check/gst/gstvalue.c:
1423 * check/pipelines/cleanup.c:
1424 * check/pipelines/simple_launch_lines.c:
1425 * check/states/sinks.c:
1426 change include statement
1428 * docs/gst/gstreamer-sections.txt:
1429 * docs/gst/tmpl/gstpad.sgml:
1430 document more pad stuff
1431 * gst/gstminiobject.c: (gst_mini_object_ref),
1432 (gst_mini_object_unref):
1435 2005-08-19 Stefan Kost <ensonic@users.sf.net>
1437 * docs/gst/tmpl/gst.sgml:
1439 eliminate another tmpl file, fix spelling in the long-description
1441 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
1443 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
1444 (test_event), (timediff), (gstevents_suite):
1445 Should fix build on 64-bit arch's
1447 2005-08-18 Andy Wingo <wingo@pobox.com>
1449 Make sure that when a pipeline goes to PLAYING, that data has
1450 actually hit the sink.
1452 * check/states/sinks.c (test_sink): A sink that doesn't get any
1453 data shouldn't return SUCCESS for going to either PLAYING or
1454 PAUSED. Test also the return values on the way back down.
1456 * gst/gstelement.c (gst_element_set_state): When changing the
1457 state of an element currently changing state asynchronously, go to
1458 lost-state after commiting the pending state. Makes future calls
1459 to get_state continue to return ASYNC.
1461 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
1462 ASYNC when going to PLAYING if we still don't have preroll, as can
1463 happen with live sources.
1465 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
1467 * docs/pwg/advanced-types.xml:
1468 Hack long paragraph into 2 chunks as a workaround for buggy
1469 jadetex version in sid and breezy that loops infinitely and
1472 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
1474 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
1475 (test_event), (timediff), (gstevents_suite):
1476 Provide more error margin in clock measurements to allow for
1477 g_get_current_time inaccuracies.
1479 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
1481 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
1482 (test_event), (timediff), (gstevents_suite):
1483 Fix error message output so I might be able to tell why the
1484 test works here but fails on the build farm.
1486 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
1488 * check/Makefile.am:
1489 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
1490 (test_event), (timediff), (gstevents_suite), (main):
1493 * docs/design/part-seeking.txt:
1496 * docs/gst/tmpl/gstevent.sgml:
1497 * docs/gst/tmpl/gstfakesrc.sgml:
1500 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1501 Treat a buffer-without-newsegment the same as a receiving
1502 a newsegment not in time format, and disable syncing to the clock
1505 * gst/gstbus.c: (gst_bus_set_sync_handler):
1506 Assert if anyone tries to replace the existing sync_handler for bus,
1507 as only the owner should be setting it.
1510 Have a fixed set of custom event enums with events identified by
1511 their structure name (as in 0.8), rather than a free-for-all
1512 allowing collisions between enum values from different plugins.
1514 * gst/gstpad.c: (gst_pad_class_init):
1517 * gst/gstqueue.c: (gst_queue_handle_sink_event):
1518 Handle out-of-band downstream events from the sending thread.
1520 2005-08-17 Andy Wingo <wingo@pobox.com>
1522 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
1523 play-timeout==0 to mean no timeout at all. In that case, don't
1524 bother with a get_state or a warning, just return directly, even
1527 * gst/base/gstbasetransform.c: Debug changes.
1530 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
1531 ensure bins post state change messages. A bit of a hack but I can't
1532 think of a way to avoid it.
1534 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
1536 2005-08-16 Andy Wingo <wingo@pobox.com>
1538 * gst/base/gstadapter.h:
1539 * gst/base/gstadapter.c (gst_adapter_take): New function, like
1540 peek() but you own the data. Not terribly efficient atm.
1542 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1544 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
1545 (gst_element_found_tags):
1547 Add two utility functions for tag handling.
1549 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1551 * docs/manual/advanced-dataaccess.xml:
1552 * docs/manual/basics-helloworld.xml:
1553 Fix docs to use _bin_add() before _link(), which fixes the examples
1554 with recent core versions (reported by Madhan Raj M
1555 <raj_madan@rediffmail.com>, #313199).
1557 2005-08-16 Wim Taymans <wim@fluendo.com>
1559 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1560 Added subtract checks.
1562 * docs/design/part-events.txt:
1563 Some more docs about newsegment
1565 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
1568 * gst/gstcaps.c: (gst_caps_to_string):
1569 Add comments, cleanups.
1571 * gst/gstelement.c: (gst_element_save_thyself):
1574 * gst/gstvalue.c: (gst_value_collect_int_range),
1575 (gst_string_unwrap), (gst_value_union_int_int_range),
1576 (gst_value_union_int_range_int_range),
1577 (gst_value_intersect_int_int_range),
1578 (gst_value_intersect_int_range_int_range),
1579 (gst_value_intersect_double_double_range),
1580 (gst_value_intersect_double_range_double_range),
1581 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
1582 (gst_value_subtract_int_range_int),
1583 (gst_value_subtract_double_range_double),
1584 (gst_value_subtract_double_range_double_range),
1585 (gst_value_subtract_from_list), (gst_value_subtract_list),
1586 (gst_value_can_compare), (gst_value_compare_fraction):
1587 Cleanups, add comments, remove unneeded asserts.
1589 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
1591 * tools/gst-launch.c: (event_loop):
1592 don't convert NULL structures to strings
1594 2005-08-15 Stefan Kost <ensonic@users.sf.net>
1596 * docs/gst/gstreamer-sections.txt:
1597 made some defines private
1598 * docs/gst/tmpl/gstconfig.sgml:
1599 * docs/gst/tmpl/gstqueue.sgml:
1600 * docs/gst/tmpl/gsttaglist.sgml:
1601 * docs/gst/tmpl/gsttypes.sgml:
1602 * docs/gst/tmpl/gstutils.sgml:
1603 * docs/pwg/appendix-porting.xml:
1604 * gst/base/gstbasesink.h:
1605 * gst/base/gstbasesrc.c:
1606 * gst/base/gstbasesrc.h:
1607 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
1608 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
1609 * gst/gstelement.c: (gst_element_class_init):
1610 * gst/gstpad.c: (gst_pad_class_init):
1611 * gst/gstqueue.c: (gst_queue_class_init):
1612 * gst/gstxml.c: (gst_xml_class_init):
1613 documented all undocumented signal inline
1614 * libs/gst/controller/gst-controller.h:
1617 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1619 * docs/pwg/appendix-porting.xml:
1620 Document _set_link_function -> _set_setcaps_function.
1622 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
1624 * check/Makefile.am:
1625 add a .check target for running the check
1626 * check/gst-libs/controller.c: (GST_START_TEST):
1628 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
1629 complete checks for gstbuffer; would be nice if I could get the
1630 gcov stuff to work so I can see if I actually completed gstbuffer.c
1632 add ASSERT_BUFFER_REFCOUNT
1634 2005-08-13 Tim-Philipp M??ller <tim at centricular dot net>
1636 * docs/gst/gstreamer-sections.txt:
1637 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
1639 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
1640 spew out a warning if a tag that is already registered
1641 is re-registered, unless it is re-registered with a
1642 different type (#308438).
1644 2005-08-12 Tim-Philipp M??ller <tim at centricular dot net>
1646 * docs/pwg/appendix-porting.xml:
1647 * docs/pwg/building-state.xml:
1648 Add some paragraphs about state changes in 0.9 to the PWG
1649 and the porting guide, in particular about the new meaning
1650 of GST_STATE_PAUSED and how to write state change functions
1651 with concurrent access by multiple threads in mind.
1653 2005-08-11 Stefan Kost <ensonic@users.sf.net>
1655 * docs/gst/gstreamer-docs.sgml:
1656 * docs/libs/gstreamer-libs-docs.sgml:
1657 added deprecation and since indexes
1658 * libs/gst/controller/gst-controller.c:
1659 * libs/gst/controller/gst-helper.c:
1663 2005-08-11 Wim Taymans <wim@fluendo.com>
1665 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
1666 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
1667 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
1668 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
1669 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
1670 (gst_ghost_pad_set_target):
1671 Actually implement (re)setting the target on a ghostpad
1672 as described in the docs.
1674 2005-08-10 Tim-Philipp M??ller <tim at centricular dot net>
1676 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
1677 Check whether GST_DEBUG_NO_COLOR environment variable is
1678 set and disable coloured debug output if that is the case.
1680 2005-08-10 Tim-Philipp M??ller <tim at centricular dot net>
1682 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1683 (gst_type_find_helper):
1684 The memory returned by gst_type_find_peek() needs to
1685 stay valid until the end of a typefind function, and
1686 typefind functions may keep results from different
1687 offsets around, so we can't just unref the buffer from
1688 the previous _peek(), but have to save all buffers
1689 returned by _peek() until typefinding is done and only
1692 2005-08-09 Tim-Philipp M??ller <tim at centricular dot net>
1694 * docs/gst/gstreamer-sections.txt:
1696 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
1698 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1700 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
1701 Fix a pretty good memleak.
1703 2005-08-08 Tim-Philipp M??ller <tim at centricular dot net>
1705 * gst/gstiterator.h:
1706 Fix wrong include and 'make distcheck'.
1708 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1710 * gst/gstbin.c: (bin_bus_handler):
1711 Use gst_element_post_message() instead.
1713 2005-08-08 Tim-Philipp M??ller <tim at centricular dot net>
1715 * gst/base/gstadapter.h:
1716 * gst/base/gstbasesink.h:
1717 * gst/base/gstbasesrc.h:
1718 * gst/base/gstbasetransform.h:
1719 * gst/base/gstcollectpads.h:
1720 * gst/base/gstpushsrc.h:
1721 * gst/gstiterator.h:
1722 Add padding to our base elements' class and instance structs and
1723 to GstIterator (you will need to rebuild all plugins and apps!)
1725 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1727 * gst/gstbin.c: (bin_bus_handler):
1728 Make default message forwarding from child->bus to bin->bus
1729 threadsafe and make it not emit warnings if the parent has no bus.
1731 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1733 * gst/gstelement.c: (activate_pads):
1734 On paused->ready, set pad->caps to NULL, as is the documented
1735 behaviour in this state change. Fixes playback of series of
1736 media files when visualization is enabled in Totem.
1738 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1740 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
1741 Allow NULL as filter-caps (which means "any").
1743 2005-08-05 Stefan Kost <ensonic@users.sf.net>
1745 * docs/libs/gstreamer-libs-sections.txt:
1746 * libs/gst/controller/gst-controller.c:
1747 * libs/gst/controller/gst-controller.h:
1748 * libs/gst/controller/gst-helper.c:
1749 adding more entries to the docs and fix small doc-bugs
1751 2005-08-05 Stefan Kost <ensonic@users.sf.net>
1753 * docs/gst/gstreamer-docs.sgml:
1754 * docs/gst/gstreamer-sections.txt:
1755 * docs/gst/gstreamer.types:
1756 * docs/gst/tmpl/gstbasesink.sgml:
1757 * docs/gst/tmpl/gstbasesrc.sgml:
1758 * docs/gst/tmpl/gstbasetransform.sgml:
1759 * docs/gst/tmpl/gstfakesrc.sgml:
1760 * gst/base/gstcollectpads.c:
1761 * gst/base/gstcollectpads.h:
1762 * libs/gst/controller/gst-controller.c:
1763 * libs/gst/controller/gst-controller.h:
1764 * libs/gst/controller/gst-helper.c:
1765 * libs/gst/controller/gst-interpolation.c:
1766 * libs/gst/controller/lib.c:
1767 added long/short desc for controller docs
1768 added collectpads base class docs
1769 added correct includes to base-class docs
1771 2005-08-05 Stefan Kost <ensonic@users.sf.net>
1773 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
1774 (gst_test_mono_source_set_property),
1775 (gst_test_mono_source_class_init), (GST_START_TEST),
1776 (gst_controller_suite):
1777 * docs/gst/gstreamer-docs.sgml:
1778 * docs/gst/gstreamer-sections.txt:
1779 * docs/gst/gstreamer.types:
1780 * docs/libs/gstreamer-libs-docs.sgml:
1781 * docs/libs/gstreamer-libs-sections.txt:
1782 * gst/base/gstadapter.c:
1783 * libs/gst/controller/gst-controller.c:
1784 (gst_controlled_property_new), (gst_controlled_property_free),
1785 (gst_controller_new_valist),
1786 (gst_controller_remove_properties_valist),
1787 (gst_controller_sink_values), (_gst_controller_finalize):
1788 * libs/gst/controller/gst-controller.h:
1789 * libs/gst/controller/gst-helper.c:
1790 (gst_object_control_properties), (gst_object_uncontrol_properties),
1791 (gst_object_get_controller), (gst_object_set_controller),
1792 (gst_object_sink_values), (gst_object_get_value_arrays),
1793 (gst_object_get_value_array):
1794 more tests (and fixes) for the controller
1795 more docs for the controller
1796 integrated companies docs for the adapter
1798 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
1800 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
1801 (GST_START_TEST), (fakesrc_suite):
1802 add tests for sizetype
1804 2005-08-04 Andy Wingo <wingo@pobox.com>
1806 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
1807 fixes buffer_alloc proxying among other things.
1809 * gst/base/gstbasetransform.c:
1810 * gst/base/gstbasetransform.h:
1811 Revert patch to gstbasetransform from 7-28 removing
1814 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
1815 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
1816 Semantics changed, should return not the size of the output buffer
1817 but the byte size of a buffer with a given caps.
1819 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
1821 (gst_base_transform_configure_caps): Don't set out_size here: (in,
1822 out) are not the pad caps until setcaps finishes.
1823 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
1824 not-in-place case as well. Deal with changing from in-place to
1825 not-in-place within calling pad_alloc_buffer. Still a bit
1826 concerned about the overhead here...
1828 2005-08-03 Andy Wingo <wingo@pobox.com>
1830 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
1831 fixating is an error.
1833 2005-08-04 Edward Hervey <edward@fluendo.com>
1835 * gst/base/gstadapter.h:
1836 Added gst_adapter_get_type() to the header
1838 2005-08-03 Stefan Kost <ensonic@users.sf.net>
1840 * check/Makefile.am:
1841 * check/gst-libs/controller.c:
1842 * libs/gst/controller/gst-controller.c:
1843 (gst_controller_new_valist):
1844 added check test suite for the controller
1845 * gst/base/gstpushsrc.c:
1848 2005-08-03 Stefan Kost <ensonic@users.sf.net>
1850 * docs/gst/Makefile.am:
1851 * docs/gst/gstreamer-docs.sgml:
1852 * docs/gst/gstreamer-sections.txt:
1853 * docs/gst/gstreamer.types:
1854 * docs/gst/tmpl/gstfakesrc.sgml:
1856 * gst/base/gstbasesink.c:
1857 * gst/base/gstbasesink.h:
1858 * gst/base/gstbasesrc.c:
1859 * gst/base/gstbasesrc.h:
1860 * gst/base/gstbasetransform.c:
1861 * gst/base/gstpushsrc.c:
1862 * gst/base/gstpushsrc.h:
1863 add short/long description docs to base classes
1864 add pushsrc to the docs
1865 remove consolidated doc fragments
1867 2005-08-03 Stefan Kost <ensonic@users.sf.net>
1870 * docs/libs/Makefile.am:
1871 * docs/libs/gstreamer-libs-docs.sgml:
1872 * docs/libs/gstreamer-libs-sections.txt:
1873 * docs/libs/gstreamer-libs.types:
1874 * examples/Makefile.am:
1875 * examples/controller/.cvsignore:
1876 * examples/controller/Makefile.am:
1877 * examples/controller/audio-example.c: (main):
1878 * libs/gst/Makefile.am:
1879 * libs/gst/controller/.cvsignore:
1880 * libs/gst/controller/Makefile.am:
1881 * libs/gst/controller/gst-controller.c:
1882 (on_object_controlled_property_changed), (gst_timed_value_compare),
1883 (gst_timed_value_find),
1884 (gst_controlled_property_set_interpolation_mode),
1885 (gst_controlled_property_new), (gst_controlled_property_free),
1886 (gst_controller_find_controlled_property),
1887 (gst_controller_new_valist), (gst_controller_new),
1888 (gst_controller_remove_properties_valist),
1889 (gst_controller_remove_properties), (gst_controller_set),
1890 (gst_controller_set_from_list), (gst_controller_unset),
1891 (gst_controller_get), (gst_controller_get_all),
1892 (gst_controller_sink_values), (gst_controller_get_value_arrays),
1893 (gst_controller_get_value_array),
1894 (gst_controller_set_interpolation_mode),
1895 (_gst_controller_finalize), (_gst_controller_init),
1896 (_gst_controller_class_init), (gst_controller_get_type):
1897 * libs/gst/controller/gst-controller.h:
1898 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
1899 (g_object_uncontrol_properties), (g_object_get_controller),
1900 (g_object_set_controller), (g_object_sink_values),
1901 (g_object_get_value_arrays), (g_object_get_value_array):
1902 * libs/gst/controller/gst-interpolation.c:
1903 (gst_controlled_property_find_timed_value_node),
1904 (interpolate_none_get), (interpolate_trigger_get),
1905 (interpolate_trigger_get_value_array):
1906 * libs/gst/controller/lib.c: (gst_controller_init):
1907 * pkgconfig/Makefile.am:
1908 * pkgconfig/gstreamer-control-uninstalled.pc.in:
1909 * pkgconfig/gstreamer-control.pc.in:
1910 * testsuite/Makefile.am:
1911 * testsuite/controller/.cvsignore:
1912 * testsuite/controller/Makefile.am:
1913 * testsuite/controller/interpolator.c: (main):
1914 added controller code
1915 removed dparam pc files
1917 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
1918 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
1919 (gst_collectpads_stop):
1920 Broadcast the condition when shutting down, to make sure we wake all
1921 threads up. Shut down pads on finalize, for safety.
1923 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
1924 * gst/base/gstbasetransform.c: (gst_base_transform_init),
1925 (gst_base_transform_handle_buffer),
1926 (gst_base_transform_change_state):
1927 Handle PAUSED->READY->PAUSED transition after negotiation
1929 * gst/gstmessage.c: (gst_message_init):
1930 Extra piece of debug for new messages.
1932 2005-08-01 Stefan Kost <ensonic@users.sf.net>
1935 * docs/gst/tmpl/gstbasesrc.sgml:
1936 * docs/gst/tmpl/gstelement.sgml:
1937 * docs/gst/tmpl/gstevent.sgml:
1938 * docs/gst/tmpl/gstfakesrc.sgml:
1939 * docs/gst/tmpl/gstformat.sgml:
1940 * docs/gst/tmpl/gstghostpad.sgml:
1941 * docs/gst/tmpl/gstpad.sgml:
1942 * docs/gst/tmpl/gstquery.sgml:
1943 * docs/gst/tmpl/gststructure.sgml:
1944 * docs/gst/tmpl/gsttaglist.sgml:
1945 * docs/gst/tmpl/gstvalue.sgml:
1946 * docs/libs/gstreamer-libs-docs.sgml:
1947 * docs/libs/gstreamer-libs-sections.txt:
1948 * docs/libs/gstreamer-libs.types:
1949 * libs/gst/Makefile.am:
1950 * libs/gst/control/.cvsignore:
1951 * libs/gst/control/Makefile.am:
1952 * libs/gst/control/control.c:
1953 * libs/gst/control/control.h:
1954 * libs/gst/control/dparam.c:
1955 * libs/gst/control/dparam.h:
1956 * libs/gst/control/dparam_smooth.c:
1957 * libs/gst/control/dparam_smooth.h:
1958 * libs/gst/control/dparamcommon.h:
1959 * libs/gst/control/dparammanager.c:
1960 * libs/gst/control/dparammanager.h:
1961 * libs/gst/control/dplinearinterp.c:
1962 * libs/gst/control/dplinearinterp.h:
1963 * libs/gst/control/unitconvert.c:
1964 * libs/gst/control/unitconvert.h:
1965 * testsuite/Makefile.am:
1966 * testsuite/dynparams/.cvsignore:
1967 * testsuite/dynparams/Makefile.am:
1968 * testsuite/dynparams/dparamstest.c:
1969 * tools/Makefile.am:
1970 * tools/gst-inspect.c: (print_element_info), (main):
1971 * tools/gst-xmlinspect.c: (print_element_info), (main):
1972 deactivate and remove dparams (libgstcontrol)
1974 2005-08-01 Tim-Philipp M??ller <tim at centricular dot net>
1976 * gst/elements/gsttypefindelement.c:
1977 (gst_type_find_element_have_type), (gst_type_find_element_init),
1978 (stop_typefinding), (gst_type_find_element_handle_event),
1979 (gst_type_find_element_chain), (gst_type_find_element_getrange):
1980 * gst/elements/gsttypefindelement.h:
1981 Set caps on all outgoing buffers, not just the first one.
1983 2005-08-01 Tim-Philipp M??ller <tim at centricular dot net>
1985 * gst/elements/gsttypefindelement.c:
1986 (gst_type_find_element_have_type),
1987 (gst_type_find_element_check_set_buffer_caps),
1988 (gst_type_find_element_init), (stop_typefinding),
1989 (gst_type_find_element_handle_event),
1990 (gst_type_find_element_chain), (gst_type_find_element_getrange):
1991 * gst/elements/gsttypefindelement.h:
1992 Set caps on first outgoing buffer when we've found the type.
1994 2005-08-01 Tim-Philipp M??ller <tim at centricular dot net>
1996 * docs/gst/gstreamer-docs.sgml:
1997 * docs/gst/gstreamer-sections.txt:
1998 * docs/gst/tmpl/gstscheduler.sgml:
1999 * docs/gst/tmpl/gstschedulerfactory.sgml:
2000 Remove some old cruft from docs.
2002 2005-07-31 Tim-Philipp M??ller <tim at centricular dot net>
2005 Fix inline docs for GstPadLinkReturn.
2007 * gst/gststructure.c: (gst_structure_has_name):
2008 * gst/gststructure.h:
2009 * docs/gst/gstreamer-sections.txt:
2010 New API: gst_structure_has_name().
2012 2005-07-30 Tim-Philipp M??ller <tim at centricular dot net>
2015 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
2016 and _LARGEFILE_SOURCE in config.h as required. Do not
2017 export those flags in our .pc files any longer (#142209).
2019 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
2021 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
2022 (gst_file_sink_do_seek), (gst_file_sink_event),
2023 (gst_file_sink_get_current_offset), (gst_file_sink_render):
2024 Redo seek/tell calls with large file support in mind; add some
2025 debugging messages; add log message that tells us when large
2026 file support is unavailable or not enabled for some reason.
2028 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
2029 Add log message that tells us when large file support
2030 is unavailable or not enabled for some reason.
2032 2005-07-29 Wim Taymans <wim@fluendo.com>
2034 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2035 Added test for removing an element with ghostpad from a bin.
2036 Fixed test as current implementation does the right thing.
2038 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
2039 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
2040 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
2041 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
2042 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
2043 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
2044 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
2045 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
2046 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
2047 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
2048 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
2049 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
2050 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
2051 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
2052 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
2053 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
2054 * gst/gstghostpad.h:
2055 Clean up ghostpads, remove properties for internal stuff.
2058 Prepare for switching targets, not all use cases work yet.
2060 2005-07-29 Wim Taymans <wim@fluendo.com>
2062 * docs/design/part-gstghostpad.txt:
2065 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
2066 (gst_bin_remove_func):
2067 Unlinking pads while holding the bin LOCK is not a good
2070 * gst/gstpad.c: (gst_pad_class_init),
2071 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
2072 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
2073 No prob setting template after creating the pad.
2075 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
2077 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
2078 (gst_bus_peek), (gst_bus_source_dispatch),
2079 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
2080 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
2081 gst_bus_poll may be called from other threads. Handle
2082 this nicely by not making poll_data disappear off the
2083 stack once gst_bus_poll returns.
2084 gst_bus_peek now increments the refcount on the returned
2087 2005-07-29 Wim Taymans <wim@fluendo.com>
2089 * docs/design/part-gstghostpad.txt:
2090 Overview of current GhostPad datastructures and use
2091 cases for changing the target.
2093 2005-07-28 Wim Taymans <wim@fluendo.com>
2095 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2096 Added checks for hierarchy consistency whan adding linked
2099 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2100 Added check to test element scheduling without bin/pipeline.
2102 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
2103 First add elements to bin, then link.
2105 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
2106 (gst_bin_remove_func):
2107 Unlink pads from elements added/removed from bin to maintain
2108 hierarchy consistency.
2110 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2112 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2113 (gst_base_transform_handle_buffer):
2114 * gst/base/gstbasetransform.h:
2115 Remove broken delay_configure (fixes renegotiation of software
2116 scaling pipelines); remove some leftover printf()s.
2118 2005-07-28 Wim Taymans <wim@fluendo.com>
2120 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2121 Added some more tests for wrong hierarchy
2123 * docs/design/part-overview.txt:
2126 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
2129 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
2130 (gst_element_dispose):
2133 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
2134 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
2135 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
2136 (gst_pad_set_caps), (gst_pad_send_event):
2137 Check for correct hierarchy when linking pads. Moving to
2138 strict requirement for ghostpads when linking elements in
2142 Clean ups. Added WRONG_HIERARCHY return value.
2144 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2146 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
2147 Better debug if no transform is possible.
2149 2005-07-27 Wim Taymans <wim@fluendo.com>
2151 * docs/random/wtay/network-transp:
2154 2005-07-27 Wim Taymans <wim@fluendo.com>
2156 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
2157 (gst_dp_event_from_packet):
2158 Fix serialization of seek events.
2160 2005-07-27 Wim Taymans <wim@fluendo.com>
2162 * check/gst-libs/gdp.c: (GST_START_TEST):
2163 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
2164 Fix compilation and fix event serialization.
2166 2005-07-27 Wim Taymans <wim@fluendo.com>
2169 * docs/design/part-TODO.txt:
2170 * docs/design/part-events.txt:
2173 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2174 (gst_base_sink_event), (gst_base_sink_do_sync),
2175 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
2176 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2177 (gst_base_src_do_seek), (gst_base_src_event_handler),
2178 (gst_base_src_loop):
2179 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2180 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2181 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
2182 (gst_base_transform_event), (gst_base_transform_handle_buffer),
2183 (gst_base_transform_set_passthrough),
2184 (gst_base_transform_is_passthrough):
2185 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
2186 * gst/elements/gstfilesink.c: (gst_file_sink_event):
2192 * gst/gstelement.c: (gst_element_seek):
2194 Update gst_element_seek.
2196 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
2197 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
2198 (gst_event_new_flush_start), (gst_event_new_flush_stop),
2199 (gst_event_new_eos), (gst_event_new_newsegment),
2200 (gst_event_parse_newsegment), (gst_event_new_tag),
2201 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
2202 (gst_event_parse_qos), (gst_event_new_seek),
2203 (gst_event_parse_seek), (gst_event_new_navigation):
2205 Make GstEvent use GstStructure. Add parsing code, make sure the
2206 API is sufficiently generic.
2207 Mark possible directions of events and serialization.
2209 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
2210 (_gst_message_copy), (gst_message_new_segment_start),
2211 (gst_message_new_segment_done), (gst_message_new_custom),
2212 (gst_message_parse_segment_start),
2213 (gst_message_parse_segment_done):
2216 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
2217 (gst_pad_set_caps), (gst_pad_send_event):
2218 Update for new events.
2219 Catch events sent in wrong directions.
2221 * gst/gstqueue.c: (gst_queue_link_src),
2222 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
2223 (gst_queue_handle_src_query):
2228 Remove event code from this file.
2230 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
2231 (gst_dp_event_from_packet):
2234 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2236 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
2237 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2238 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
2239 Make debugging actually useful.
2241 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2243 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
2244 (gst_pad_fixate_caps):
2245 Implement default fixation once again, so that gst_pad_fixate()
2246 actually does anything at all. This probably needs to be some
2247 sort of a last resort, and use profile-based fixation first, but
2248 since that doesn't exist yet, this is the best we have. Fixes
2249 visualization in Totem.
2251 2005-07-22 Wim Taymans <wim@fluendo.com>
2253 * docs/design/part-events.txt:
2256 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2257 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
2258 (gst_base_sink_activate_pull):
2261 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
2262 (gst_fake_src_create):
2263 Fix handoff marshall.
2265 * gst/elements/gstidentity.c: (gst_identity_class_init),
2266 (gst_identity_transform_ip):
2267 We're a real inplace element.
2269 * gst/gstbus.c: (gst_bus_post):
2270 Added some comments.
2272 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
2273 * tests/muxing/case1.c: (main):
2274 * tests/sched/dynamic-pipeline.c: (main):
2275 * tests/sched/interrupt1.c: (main):
2276 * tests/sched/interrupt2.c: (main):
2277 * tests/sched/interrupt3.c: (main):
2278 * tests/sched/runxml.c: (main):
2279 * tests/sched/sched-stress.c: (main):
2280 * tests/seeking/seeking1.c: (event_received), (main):
2281 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2283 * tests/threadstate/threadstate3.c: (main):
2284 * tests/threadstate/threadstate4.c: (main):
2285 * tests/threadstate/threadstate5.c: (main):
2288 2005-07-21 Wim Taymans <wim@fluendo.com>
2290 * docs/design/part-seeking.txt:
2291 Some small additions.
2293 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2294 (gst_base_sink_get_times), (gst_base_sink_do_sync),
2295 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
2296 * gst/base/gstbasesink.h:
2297 discont values are gint64, handle the math correctly.
2299 * gst/base/gstbasesrc.c: (gst_base_src_loop):
2300 Make the basesrc report error if the source pad is not linked.
2302 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2303 (gst_queue_loop), (gst_queue_handle_src_query),
2304 (gst_queue_src_activate_push):
2305 Make queue collect data even if the srcpad is not linked.
2306 Start pushing out data as soon as it is linked.
2308 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
2310 Added gst_flow_get_name() to ease error reporting.
2312 2005-07-20 Wim Taymans <wim@fluendo.com>
2314 * gst/gstmessage.c: (gst_message_new_segment_start),
2315 (gst_message_new_segment_done), (gst_message_parse_segment_start),
2316 (gst_message_parse_segment_done):
2318 Added a bunch of messages for advanced seeking.
2320 * gst/parse/grammar.y:
2321 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
2322 (gst_dpman_state_changed):
2323 Fix some new-pad -> pad-added signals
2325 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2327 * docs/manual/appendix-porting.xml:
2328 * docs/pwg/appendix-porting.xml:
2329 Document new-pad/state-change signal renames and the FixedList
2332 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2334 * docs/manual/advanced-autoplugging.xml:
2335 * docs/manual/basics-helloworld.xml:
2336 * docs/manual/basics-pads.xml:
2337 * docs/random/ds/0.9-suggested-changes:
2338 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
2343 * gst/gststructure.c: (gst_structure_value_get_generic_type),
2344 (gst_structure_parse_array), (gst_structure_parse_value):
2345 * gst/gstvalue.c: (gst_type_is_fixed),
2346 (gst_value_list_prepend_value), (gst_value_list_append_value),
2347 (gst_value_list_get_size), (gst_value_list_get_value),
2348 (gst_value_transform_array_string), (gst_value_serialize_array),
2349 (gst_value_deserialize_array), (gst_value_intersect_array),
2350 (gst_value_is_fixed), (_gst_value_initialize):
2352 GstElement::new-pad -> pad-added, GstElement::state-change ->
2353 state-changed, GstValueFixedList -> GstValueArray, add format and
2354 flags as their own arguments in gst_element_seek() (should improve
2355 "bindeability"), remove function generators since they don't work
2356 under a whole bunch of compilers (they were deprecated already
2359 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2361 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
2362 (_gst_debug_register_funcptr):
2364 Fix illegal cast on some platforms (#309253).
2366 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2368 * gst/gstmessage.c: (gst_message_new_custom):
2370 Add _new_custom, make _new_application a macro to _new_custom.
2372 2005-07-20 Wim Taymans <wim@fluendo.com>
2374 * gst/base/gstbasesrc.c: (gst_base_src_init),
2375 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2376 * gst/base/gstbasesrc.h:
2377 Add a gboolean to decide when to push out a discont.
2379 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2380 (gst_queue_loop), (gst_queue_handle_src_query),
2381 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
2382 (gst_queue_set_property), (gst_queue_get_property):
2385 * tests/threadstate/threadstate1.c: (main):
2386 Make a thread test compile and run... very silly..
2389 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2391 * docs/manual/appendix-porting.xml:
2392 Mention removal of libgstgconf-0.9.la and existence of gconf
2395 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2397 * docs/pwg/advanced-clock.xml:
2398 * docs/pwg/appendix-porting.xml:
2399 * docs/pwg/intro-preface.xml:
2400 * docs/pwg/other-base.xml:
2401 * docs/pwg/other-manager.xml:
2402 * docs/pwg/other-nton.xml:
2403 * docs/pwg/other-ntoone.xml:
2404 * docs/pwg/other-oneton.xml:
2406 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
2407 demuxer), remove n-to-n (was never written), fix some code examples
2408 and links and update the porting section to include all this.
2410 2005-07-19 Wim Taymans <wim@fluendo.com>
2412 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
2413 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
2414 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
2415 (gst_queue_src_activate_push), (gst_queue_change_state),
2416 (gst_queue_get_property):
2418 Propagate GstFlowReturn more intelligently upstream and output
2419 an ERROR/EOS when streaming stopped due to fatal error.
2421 2005-07-19 Wim Taymans <wim@fluendo.com>
2423 * tools/gst-launch.c: (check_intr), (event_loop), (main):
2424 Don't block forever for the state change to complete, the
2425 pipeline already did with a sensible timeout.
2427 2005-07-19 Wim Taymans <wim@fluendo.com>
2429 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2430 Make sure we never call the create function is we
2433 2005-07-19 Andy Wingo <wingo@pobox.com>
2435 * gst/parse/parse.l: Attempt to solve bug #172815.
2437 2005-07-19 Wim Taymans <wim@fluendo.com>
2439 * docs/design/part-clocks.txt:
2440 * docs/design/part-events.txt:
2441 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
2443 Only update the seeking values when we are not
2446 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
2448 * gst/base/gstbasesrc.c: (gst_base_src_loop):
2449 Oops, ignore the result of gst_pad_push_event here.
2451 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
2453 * gst/base/gstbasesrc.c: (gst_base_src_loop),
2454 (gst_base_src_activate_push):
2455 Send discont event from the loop function, as pads
2456 aren't activated yet in the activate_push handler.
2458 * gst/gstbin.c: (bin_bus_handler):
2459 Don't leak element name.
2461 2005-07-18 Andy Wingo <wingo@pobox.com>
2463 * configure.ac: Use AS_LIBTOOL_TAGS.
2465 2005-07-18 Wim Taymans <wim@fluendo.com>
2467 * docs/gst/gstreamer.types:
2468 Remove deleted types.
2470 2005-07-18 Wim Taymans <wim@fluendo.com>
2472 * check/elements/gstfakesrc.c: (GST_START_TEST):
2475 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
2476 (init_popt_callback):
2478 * gst/gst_private.h:
2479 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
2480 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
2483 * gst/gstconfig.h.in:
2484 * gst/gstelement.c: (gst_element_class_init),
2485 (gst_element_set_base_time), (gst_element_get_base_time),
2486 (iterator_fold_with_resync), (gst_element_change_state),
2487 (gst_element_dispose), (gst_element_get_bus):
2489 * gst/gstelementfactory.h:
2490 * gst/gsterror.c: (_gst_core_errors_init):
2493 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
2495 * gst/gstinfo.c: (_gst_debug_init):
2496 * gst/gstmessage.c: (_gst_message_copy):
2498 * gst/gstminiobject.h:
2501 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
2502 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
2505 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
2506 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
2507 (gst_pipeline_get_last_stream_time):
2508 * gst/gstpipeline.h:
2509 * gst/gstpluginfeature.h:
2511 * gst/gstscheduler.c:
2512 * gst/gstscheduler.h:
2513 * gst/gststructure.h:
2514 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
2515 (gst_task_finalize), (gst_task_func), (gst_task_create),
2516 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
2517 (gst_task_stop), (gst_task_pause):
2519 * gst/gsttypefind.h:
2521 * gst/registries/gstlibxmlregistry.c: (load_feature),
2522 (gst_xml_registry_load), (gst_xml_registry_save_feature):
2523 * gst/registries/gstxmlregistry.c:
2524 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
2525 * gst/schedulers/threadscheduler.c:
2526 * libs/gst/control/dparammanager.h:
2527 * tools/gst-inspect.c: (print_element_list),
2528 (print_plugin_features), (print_element_features):
2529 * tools/gst-xmlinspect.c: (print_element_list),
2530 (print_plugin_info), (main):
2531 Removed plugable schedulers.
2532 Removed Scheduler/Manager from elements.
2533 Removed gsttypes.h, rearranged includes.
2534 Removed dependency pad<->element, element<>pipeline, and
2535 various others, fix includes.
2536 implement gst_pad_get_parent() with gst_object_get_parent()
2537 Make GstTask sefcontained.
2538 Fix _get_state() on GstBin, it did not return ASYNC with a 0
2540 Fix endless loop in iterator_fold_with_resync.
2543 2005-07-18 Wim Taymans <wim@fluendo.com>
2549 2005-07-18 Wim Taymans <wim@fluendo.com>
2554 2005-07-18 Wim Taymans <wim@fluendo.com>
2560 2005-07-18 Wim Taymans <wim@fluendo.com>
2562 * docs/design/part-dynamic.txt:
2563 * docs/design/part-events.txt:
2564 * docs/design/part-seeking.txt:
2565 Some more docs in the works.
2567 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2568 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
2569 (gst_base_transform_setcaps), (gst_base_transform_get_size),
2570 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
2571 (gst_base_transform_handle_buffer),
2572 (gst_base_transform_sink_activate_push),
2573 (gst_base_transform_src_activate_pull),
2574 (gst_base_transform_set_passthrough),
2575 (gst_base_transform_is_passthrough):
2578 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
2581 * gst/gstevent.c: (gst_event_finalize):
2584 * gst/gstutils.c: (gst_element_unlink),
2585 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
2586 (gst_pad_proxy_setcaps):
2588 Add _get_parent_element() to get a pads parent as an element.
2590 2005-07-18 Wim Taymans <wim@fluendo.com>
2592 * check/gst/gstbin.c: (GST_START_TEST):
2595 2005-07-18 Wim Taymans <wim@fluendo.com>
2597 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
2598 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
2599 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
2600 (gst_base_sink_event), (gst_base_sink_do_sync),
2601 (gst_base_sink_chain), (gst_base_sink_loop),
2602 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
2603 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
2605 Fix logic for returning ASYNC when not prerolled.
2607 2005-07-18 Wim Taymans <wim@fluendo.com>
2609 * gst/gstqueue.c: (gst_queue_handle_sink_event):
2610 Fix nasty refcount bug.
2612 2005-07-16 Philippe Khalaf <burger@speedy.org>
2614 * gst/elements/gstfdsrc.c:
2615 * gst/elements/gstfdsrc.h:
2616 * gst/elements/gstelements.c:
2617 * gst/elements/Makefile.am:
2618 Ported fdsrc to 0.9.
2620 2005-07-16 Wim Taymans <wim@fluendo.com>
2622 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2623 (gst_base_sink_do_sync):
2626 2005-07-16 Wim Taymans <wim@fluendo.com>
2628 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2629 (gst_base_sink_event), (gst_base_sink_get_times),
2630 (gst_base_sink_do_sync), (gst_base_sink_change_state):
2631 * gst/base/gstbasesink.h:
2632 Store and use discont values when syncing buffers as described
2635 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2636 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
2637 (gst_base_src_activate_push):
2638 Push discont event when starting.
2640 * gst/elements/gstidentity.c: (gst_identity_transform):
2643 * gst/gstbin.c: (gst_bin_change_state):
2644 Small cleanups in base_time distribution.
2646 * gst/gstelement.c: (gst_element_set_base_time),
2647 (gst_element_get_base_time), (gst_element_change_state):
2649 Added methods for the base_time of the element.
2652 * gst/gstpipeline.c: (gst_pipeline_send_event),
2653 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
2654 (gst_pipeline_get_last_stream_time):
2655 * gst/gstpipeline.h:
2657 Handle seeking as described in design doc, remove stream_time
2659 Cleanups clock and stream_time selection code. Added accessors
2660 for the stream_time.
2663 2005-07-16 Andy Wingo <wingo@pobox.com>
2665 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
2668 2005-07-16 Wim Taymans <wim@fluendo.com>
2670 * check/gst/gstbin.c: (GST_START_TEST):
2671 Make elements silent as the deep_notify refs the
2672 parent, which might make the test fail.
2674 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
2675 Don't hold the lock for too long.
2677 2005-07-16 Tim-Philipp M??ller <tim at centricular dot net>
2679 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2680 Don't unref the caps we passed to gst_caps_make_writable() after
2681 passing them. gst_caps_make_writable() will do that for us.
2683 2005-07-15 Andy Wingo <wingo@pobox.com>
2685 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
2688 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
2689 own marshalling function for the handoff signal. Properly type the
2690 buffer as a buffer. Fixes some warnings. Should do a more general
2692 (gst_identity_class_init): Plug into the right marshaller.
2694 2005-07-15 Wim Taymans <wim@fluendo.com>
2696 * docs/design/part-TODO.txt:
2697 * docs/design/part-clocks.txt:
2698 * docs/design/part-element-sink.txt:
2699 * docs/design/part-events.txt:
2700 * docs/design/part-gstpipeline.txt:
2701 Updated docs, mostly DISCONT related.
2703 2005-07-15 Tim-Philipp M??ller <tim at centricular dot net>
2705 * docs/pwg/building-pads.xml:
2706 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
2708 2005-07-15 Andy Wingo <wingo@pobox.com>
2710 * tools/gst-typefind.c: Update, add copyright block.
2712 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
2713 Normalize and truncate caps before fixation.
2716 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
2717 discards all but the first structure from its argument.
2719 2005-07-15 Wim Taymans <wim@fluendo.com>
2721 * gst/base/gstbasetransform.c: (gst_base_transform_init),
2722 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
2723 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2724 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
2725 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
2726 (gst_base_transform_chain), (gst_base_transform_change_state),
2727 (gst_base_transform_set_passthrough),
2728 (gst_base_transform_is_passthrough):
2729 * gst/base/gstbasetransform.h:
2730 Make passthrough work using the bufferpools.
2731 Changed API a bit, subclasses have to write into a buffer
2732 provided by the base class.
2733 More debug info in nego functions.
2735 * gst/elements/gstidentity.c: (gst_identity_init),
2736 (gst_identity_transform):
2737 Port to new base class.
2739 2005-07-15 Wim Taymans <wim@fluendo.com>
2741 * gst/gstmessage.c: (gst_message_new_state_changed):
2742 * tools/gst-launch.c: (event_loop), (main):
2743 Totally dump messages in -launch with the -m option.
2744 Fix message name for State messages,
2746 2005-07-14 Wim Taymans <wim@fluendo.com>
2748 * gst/base/gstbasesrc.c: (gst_base_src_loop):
2749 Post error messages on errors.
2751 2005-07-14 Wim Taymans <wim@fluendo.com>
2753 * gst/gstcaps.c: (gst_caps_do_simplify):
2757 Define error for stream stopped.
2759 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
2760 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
2761 Do proper return values.
2763 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
2764 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
2765 (gst_pad_get_range):
2766 Better return values.
2769 Reorganise return values, add macro to check for fatal errors.
2771 * gst/gstqueue.c: (gst_queue_chain):
2772 Return proper GstFlowReturn values,
2774 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
2776 * docs/gst/gstreamer-sections.txt:
2777 * docs/gst/gstreamer.types:
2778 * docs/gst/tmpl/gst.sgml:
2779 * docs/gst/tmpl/gstbasesink.sgml:
2780 * docs/gst/tmpl/gstbasesrc.sgml:
2781 * docs/gst/tmpl/gstbasetransform.sgml:
2782 * docs/gst/tmpl/gstbin.sgml:
2783 * docs/gst/tmpl/gstbuffer.sgml:
2784 * docs/gst/tmpl/gstcaps.sgml:
2785 * docs/gst/tmpl/gstclock.sgml:
2786 * docs/gst/tmpl/gstcompat.sgml:
2787 * docs/gst/tmpl/gstconfig.sgml:
2788 * docs/gst/tmpl/gstelement.sgml:
2789 * docs/gst/tmpl/gstelementdetails.sgml:
2790 * docs/gst/tmpl/gstelementfactory.sgml:
2791 * docs/gst/tmpl/gstenumtypes.sgml:
2792 * docs/gst/tmpl/gsterror.sgml:
2793 * docs/gst/tmpl/gstevent.sgml:
2794 * docs/gst/tmpl/gstfakesink.sgml:
2795 * docs/gst/tmpl/gstfakesrc.sgml:
2796 * docs/gst/tmpl/gstfilesink.sgml:
2797 * docs/gst/tmpl/gstfilesrc.sgml:
2798 * docs/gst/tmpl/gstfilter.sgml:
2799 * docs/gst/tmpl/gstformat.sgml:
2800 * docs/gst/tmpl/gstghostpad.sgml:
2801 * docs/gst/tmpl/gstimplementsinterface.sgml:
2802 * docs/gst/tmpl/gstindex.sgml:
2803 * docs/gst/tmpl/gstindexfactory.sgml:
2804 * docs/gst/tmpl/gstinfo.sgml:
2805 * docs/gst/tmpl/gstiterator.sgml:
2806 * docs/gst/tmpl/gstmacros.sgml:
2807 * docs/gst/tmpl/gstmemchunk.sgml:
2808 * docs/gst/tmpl/gstminiobject.sgml:
2809 * docs/gst/tmpl/gstobject.sgml:
2810 * docs/gst/tmpl/gstpad.sgml:
2811 * docs/gst/tmpl/gstpadtemplate.sgml:
2812 * docs/gst/tmpl/gstparse.sgml:
2813 * docs/gst/tmpl/gstpipeline.sgml:
2814 * docs/gst/tmpl/gstplugin.sgml:
2815 * docs/gst/tmpl/gstpluginfeature.sgml:
2816 * docs/gst/tmpl/gstquery.sgml:
2817 * docs/gst/tmpl/gstqueue.sgml:
2818 * docs/gst/tmpl/gstregistry.sgml:
2819 * docs/gst/tmpl/gstregistrypool.sgml:
2820 * docs/gst/tmpl/gstscheduler.sgml:
2821 * docs/gst/tmpl/gstschedulerfactory.sgml:
2822 * docs/gst/tmpl/gststructure.sgml:
2823 * docs/gst/tmpl/gstsystemclock.sgml:
2824 * docs/gst/tmpl/gsttaglist.sgml:
2825 * docs/gst/tmpl/gsttagsetter.sgml:
2826 * docs/gst/tmpl/gsttrace.sgml:
2827 * docs/gst/tmpl/gsttrashstack.sgml:
2828 * docs/gst/tmpl/gsttypefind.sgml:
2829 * docs/gst/tmpl/gsttypefindfactory.sgml:
2830 * docs/gst/tmpl/gsttypes.sgml:
2831 * docs/gst/tmpl/gsturihandler.sgml:
2832 * docs/gst/tmpl/gsturitype.sgml:
2833 * docs/gst/tmpl/gstutils.sgml:
2834 * docs/gst/tmpl/gstvalue.sgml:
2835 * docs/gst/tmpl/gstversion.sgml:
2836 * docs/gst/tmpl/gstxml.sgml:
2837 * docs/libs/tmpl/gstcontrol.sgml:
2838 * docs/libs/tmpl/gstdataprotocol.sgml:
2839 * docs/libs/tmpl/gstdparam.sgml:
2840 * docs/libs/tmpl/gstdplinint.sgml:
2841 * docs/libs/tmpl/gstdpman.sgml:
2842 * docs/libs/tmpl/gstdpsmooth.sgml:
2843 * docs/libs/tmpl/gstgetbits.sgml:
2844 * docs/libs/tmpl/gstunitconvert.sgml:
2845 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
2846 (gst_push_src_base_init), (gst_push_src_class_init),
2847 (gst_push_src_init), (gst_push_src_create):
2848 * gst/base/gstpushsrc.h:
2849 * gst/elements/gstelements.c:
2850 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
2851 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
2852 (gst_fake_sink_init), (gst_fake_sink_set_property),
2853 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
2854 (gst_fake_sink_event), (gst_fake_sink_preroll),
2855 (gst_fake_sink_render), (gst_fake_sink_change_state):
2856 * gst/elements/gstfakesink.h:
2857 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
2858 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
2859 (gst_fake_src_base_init), (gst_fake_src_class_init),
2860 (gst_fake_src_init), (gst_fake_src_event_handler),
2861 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
2862 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
2863 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
2864 (gst_fake_src_create_buffer), (gst_fake_src_create),
2865 (gst_fake_src_start), (gst_fake_src_stop):
2866 * gst/elements/gstfakesrc.h:
2867 * gst/elements/gstfilesink.c: (_do_init),
2868 (gst_file_sink_base_init), (gst_file_sink_class_init),
2869 (gst_file_sink_init), (gst_file_sink_dispose),
2870 (gst_file_sink_set_location), (gst_file_sink_set_property),
2871 (gst_file_sink_get_property), (gst_file_sink_open_file),
2872 (gst_file_sink_close_file), (gst_file_sink_query),
2873 (gst_file_sink_event), (gst_file_sink_render),
2874 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
2875 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
2876 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
2877 * gst/elements/gstfilesink.h:
2878 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
2879 (gst_file_src_class_init), (gst_file_src_init),
2880 (gst_file_src_finalize), (gst_file_src_set_location),
2881 (gst_file_src_set_property), (gst_file_src_get_property),
2882 (gst_file_src_map_region), (gst_file_src_map_small_region),
2883 (gst_file_src_create_mmap), (gst_file_src_create_read),
2884 (gst_file_src_create), (gst_file_src_is_seekable),
2885 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
2886 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
2887 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
2888 (gst_file_src_uri_handler_init):
2889 * gst/elements/gstfilesrc.h:
2890 more autistic cleanliness in functions/names/defines
2892 2005-07-13 Andy Wingo <wingo@pobox.com>
2894 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
2895 source couldn't negotiate.
2897 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
2901 * gst/gstutils.c (gst_element_link_pads_filtered): New old
2902 function. I am channeling Hades. Put your boots on suckers!!!
2904 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
2906 * testsuite/caps/Makefile.am:
2907 * testsuite/caps/value_compare.c:
2908 * testsuite/caps/value_intersect.c:
2909 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2910 move two testsuite apps over to the check dir
2912 2005-07-12 Wim Taymans <wim@fluendo.com>
2914 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
2915 Added more debug info in the negotiate process.
2918 Prepare for segment playback.
2920 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
2926 * tools/gst-launch.c: (main):
2927 NULL pipeline on errors.
2929 2005-07-12 Andy Wingo <wingo@pobox.com>
2931 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
2932 not it comes from a malloc region. Make sure our copy gets freed.
2934 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
2936 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2937 * check/gst/gstmessage.c: (GST_START_TEST):
2938 * check/gst/gststructure.c: (GST_START_TEST),
2939 (gst_structure_suite), (main):
2941 * gst/gstelement.c: (gst_element_message_full):
2942 clean up GError and debug string now that they get copied
2943 * gst/gstmessage.c: (gst_message_new_error),
2944 (gst_message_new_warning), (gst_message_parse_error),
2945 (gst_message_parse_warning):
2946 use GST_TYPE_G_ERROR for structure_new, and take copies of
2947 arguments, so that we don't mess up refcounting
2949 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
2951 * check/Makefile.am:
2952 add per-test valgrind targets
2953 * check/gst-libs/gdp.c: (GST_START_TEST),
2954 (gst_data_protocol_suite), (main):
2957 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
2959 * check/Makefile.am:
2960 instate more valgrindable tests
2961 * check/elements/gstfakesrc.c: (chain_func), (event_func),
2962 (GST_START_TEST), (fakesrc_suite):
2963 * check/gst/gstpad.c: (GST_START_TEST):
2964 * check/gst/gststructure.c: (GST_START_TEST):
2966 * docs/gst/tmpl/gstminiobject.sgml:
2967 * gst/gstpad.c: (gst_pad_finalize):
2968 fix the static mutex leak
2970 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
2972 * check/Makefile.am:
2973 add two more tests for valgrinding
2974 * check/gst/gstvalue.c: (GST_START_TEST):
2975 test refcount of deserialized buffer, found a leak
2976 * docs/gst/gstreamer-docs.sgml:
2977 * docs/gst/gstreamer-sections.txt:
2978 * docs/gst/gstreamer.types:
2979 * docs/gst/tmpl/gstminiobject.sgml:
2980 add miniobject to docs
2981 * gst/gstminiobject.c:
2983 * gst/gstvalue.c: (gst_value_deserialize_buffer),
2984 (gst_string_unwrap):
2985 fix a hard-to-find invalid write for one of the tests
2986 fix a leak for deserialized buffers
2988 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2990 * docs/pwg/advanced-events.xml:
2991 * docs/pwg/advanced-request.xml:
2992 * docs/pwg/advanced-scheduling.xml:
2993 * docs/pwg/appendix-porting.xml:
2994 * docs/pwg/building-boiler.xml:
2995 * docs/pwg/intro-preface.xml:
2996 * docs/pwg/other-ntoone.xml:
2997 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
2998 of example code and explanation for pad activation, loop() and
2999 getrange() functions and a bit more. Remove old comments pointing
3001 * examples/pwg/Makefile.am:
3002 Add loop/getrange examples.
3004 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
3007 check for valgrind binary + some fixes
3009 valgrind suppressions for the tests
3010 * check/Makefile.am:
3011 add a valgrind: target that valgrinds the unit tests
3012 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
3013 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3014 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3015 * check/gst/gstghostpad.c:
3017 * check/gst/gstdata.c:
3019 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
3020 (thread_unref), (gst_mini_object_suite), (main):
3022 * gst/gst.c: (gst_deinit):
3024 add a method to clean up.
3025 * gst/gstsystemclock.c: (gst_system_clock_dispose),
3026 (gst_system_clock_obtain):
3027 allow for disposing the system clock.
3028 * tools/gst-launch.c: (main):
3031 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
3033 * docs/gst/tmpl/gstbasesrc.sgml:
3034 * docs/gst/tmpl/gstfakesrc.sgml:
3035 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3036 (gst_base_src_init), (gst_base_src_set_property),
3037 (gst_base_src_get_property), (gst_base_src_get_range),
3038 (gst_base_src_start):
3039 * gst/base/gstbasesrc.h:
3040 add num-buffers property
3041 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
3042 (gst_fakesrc_init), (gst_fakesrc_set_property),
3043 (gst_fakesrc_get_property), (gst_fakesrc_create),
3044 (gst_fakesrc_start):
3045 remove num-buffers property
3047 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
3049 * docs/gst/gstreamer-sections.txt:
3050 * docs/gst/tmpl/gstbasesink.sgml:
3051 * docs/gst/tmpl/gstbasesrc.sgml:
3052 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
3053 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
3054 (gst_base_sink_finalize), (gst_base_sink_set_clock),
3055 (gst_base_sink_set_property), (gst_base_sink_get_property),
3056 (gst_base_sink_handle_object), (gst_base_sink_event),
3057 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3058 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
3059 (gst_base_sink_loop), (gst_base_sink_deactivate),
3060 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
3061 (gst_base_sink_change_state):
3062 * gst/base/gstbasesink.h:
3063 * gst/base/gstbasesrc.h:
3064 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
3065 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
3066 (gst_filesink_init):
3067 more macro splitting
3069 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
3071 * gst/gstelement.c: (gst_element_get_bus):
3073 * tools/gst-launch.c: (check_intr), (event_loop):
3076 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
3078 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
3081 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
3083 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3084 (gst_base_src_finalize):
3085 add finalize method and clean up properly
3086 * gst/gstpipeline.c: (gst_pipeline_dispose):
3089 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
3091 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
3093 add more things to check
3094 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
3098 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
3100 * check/elements/gstfakesrc.c: (chain_func), (event_func),
3101 (GST_START_TEST), (fakesrc_suite):
3102 * check/gst-libs/gdp.c: (GST_START_TEST):
3103 * check/gst/gst.c: (GST_START_TEST):
3104 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3105 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3106 * check/gst/gstbus.c: (GST_START_TEST):
3107 * check/gst/gstcaps.c: (GST_START_TEST):
3108 * check/gst/gstdata.c: (GST_START_TEST):
3109 * check/gst/gstelement.c: (GST_START_TEST):
3110 * check/gst/gstghostpad.c: (GST_START_TEST):
3111 * check/gst/gstiterator.c: (GST_START_TEST):
3112 * check/gst/gstmessage.c: (GST_START_TEST):
3113 * check/gst/gstobject.c: (GST_START_TEST):
3114 * check/gst/gstpad.c: (GST_START_TEST):
3115 * check/gst/gststructure.c: (GST_START_TEST):
3116 * check/gst/gstsystemclock.c: (GST_START_TEST),
3117 (gst_systemclock_suite):
3118 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3119 * check/gst/gstvalue.c: (GST_START_TEST):
3120 * check/pipelines/cleanup.c: (GST_START_TEST):
3121 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3122 * check/states/sinks.c: (GST_START_TEST):
3123 * check/gstcheck.c: (gst_check_init):
3125 add debugging category
3126 use GST_START_TEST now, so we add a debug line
3128 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
3130 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
3131 add test for state change message on a bin
3132 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
3134 * gst/gstbin.c: (gst_bin_init):
3135 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
3136 * gst/gstelement.c: (gst_element_post_message),
3137 (gst_element_set_state):
3138 * gst/gstelementfactory.c: (gst_element_factory_create):
3139 * gst/gstmessage.c: (gst_message_new):
3140 * gst/gstscheduler.c:
3141 various debugging additions and cleanups
3143 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
3145 * check/Makefile.am:
3146 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
3148 adding tests for elements
3149 * gst/gstelement.c: (gst_element_dispose):
3151 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
3153 * gst/registries/gstlibxmlregistry.c: (load_feature):
3154 plug more leaks. A simple gst_init() now is leakfree, yay.
3156 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
3158 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
3159 (gst_xml_registry_load):
3160 plug another memleak
3162 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
3165 use GST_SET_ERROR_CFLAGS
3167 change to ERROR_CFLAGS
3169 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
3172 make GST_ERROR_CFLAGS overridable and re-enable Werror
3174 add a note about error CFLAGS
3175 * docs/gst/tmpl/gstfakesrc.sgml:
3176 * gst/elements/gstfakesrc.c:
3177 comment out some unused code
3178 * gst/gst.c: (split_and_iterate):
3179 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
3183 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
3185 * common/Makefile.am:
3186 * common/gtk-doc.mak:
3187 * docs/gst/Makefile.am:
3188 factor out gtk-doc.mak
3190 2005-07-07 Wim Taymans <wim@fluendo.com>
3192 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
3193 (gst_thread_scheduler_dispose):
3194 Unlock the STREAM_LOCK completely.
3196 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
3198 * check/Makefile.am:
3199 * check/elements/.cvsignore:
3200 * check/elements/gstfakesrc.c: (chain_func), (event_func),
3201 (START_TEST), (fakesrc_suite), (main):
3202 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
3203 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
3204 (gst_fakesrc_create), (gst_fakesrc_start):
3205 * gst/elements/gstfakesrc.h:
3206 adding a first element test
3208 2005-07-07 Andy Wingo <wingo@pobox.com>
3210 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
3213 2005-07-07 Wim Taymans <wim@fluendo.com>
3219 2005-07-07 Wim Taymans <wim@fluendo.com>
3221 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
3222 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
3223 Allow subclasses to implement their own negotiation.
3225 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
3227 * docs/design/part-gstbin.txt:
3228 * docs/design/part-gstpipeline.txt:
3229 Update design notes to reflect the movement of
3230 responsibility for bus handling from GstPipeline to
3233 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
3236 Remove unnecessary queue2/3/4 examples.
3238 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
3240 * examples/Makefile.am:
3241 * examples/helloworld/helloworld.c: (event_loop), (main):
3242 * examples/queue/queue.c: (event_loop), (main):
3243 * examples/queue2/queue2.c: (main):
3244 Update a couple of the examples to work again.
3246 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3247 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
3248 Spelling corrections and extra debug.
3250 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
3251 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
3252 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
3254 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
3255 (gst_pipeline_change_state):
3256 * gst/gstpipeline.h:
3257 Move the bus handler for children to the GstBin, and create a
3258 separate bus for receiving messages from children to the one the
3259 bus sends 'upwards' on.
3261 2005-07-06 Wim Taymans <wim@fluendo.com>
3264 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3265 (gst_base_sink_handle_object), (gst_base_sink_loop),
3266 (gst_base_sink_change_state):
3267 * gst/base/gstbasesink.h:
3268 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3269 (gst_base_src_init), (gst_base_src_setcaps),
3270 (gst_base_src_getcaps), (gst_base_src_loop),
3271 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
3272 (gst_base_src_start), (gst_base_src_change_state):
3273 * gst/base/gstbasesrc.h:
3274 Make basesrc negotiate.
3275 Handle the case where preroll fails in basesink.
3278 2005-07-06 Wim Taymans <wim@fluendo.com>
3280 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
3281 Implement the fixate function.
3282 Clean up acceptcaps.
3284 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3286 * docs/pwg/building-filterfactory.xml:
3288 Remove never-written filter-factory chapter; I'll add the various
3289 base classes to part 4 ("other element types") later on.
3291 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3293 * docs/pwg/advanced-negotiation.xml:
3294 * docs/pwg/building-boiler.xml:
3295 * docs/pwg/building-pads.xml:
3297 * examples/pwg/Makefile.am:
3298 Add a chapter on caps negotiation, simplify the original code
3299 samples a bit w.r.t. caps negotiation, add link to the advanced
3300 section. Add a bunch of examples showing different use cases of
3301 different types of caps negotiation. Upstream renegotiation isn't
3302 fully documented yet since nobody knows how that works.
3304 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
3306 * check/gst/gstpad.c:
3308 * gst/gstpad.c: (gst_pad_get_internal_links_default):
3309 if pad has no parent, return NULL as list of internal links
3311 2005-07-05 Andy Wingo <wingo@pobox.com>
3313 * gst/elements/gstfilesrc.c:
3314 * gst/elements/gstfakesrc.c:
3315 * gst/base/gstpushsrc.c:
3316 * gst/base/gstbasesrc.h:
3317 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
3319 2005-07-05 Stefan Kost <ensonic@users.sf.net>
3322 better report generation target (lcov needs a patch)
3324 2005-07-05 Andy Wingo <wingo@pobox.com>
3326 * gst/elements, testsuite: Null if we got it...
3328 2005-07-05 Wim Taymans <wim@fluendo.com>
3331 * libs/gst/dataprotocol/Makefile.am:
3332 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
3333 * libs/gst/dataprotocol/dataprotocol.h:
3334 * pkgconfig/Makefile.am:
3335 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
3336 * pkgconfig/gstreamer-dataprotocol.pc.in:
3337 Ported dataprotol to 0.9.
3338 Added pkgconfig files.
3340 2005-07-05 Andy Wingo <wingo@pobox.com>
3342 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
3343 Default to returning TRUE for the case when tranform_caps returns
3344 a fixed caps, like for identity or volume.
3346 * check/gst/gstbus.c (pound_bus_with_messages):
3347 * check/gst/gstmessage.c (START_TEST):
3348 * check/pipelines/simple_launch_lines.c (got_handoff): Application
3351 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
3352 logic weaks here: always run transform_caps, trying passthrough
3353 operation only if the original caps intersects with the transform.
3355 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
3356 source and sink caps.
3358 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
3359 Intersect the peer caps with the pad template before going into
3361 (gst_base_transform_transform_caps): More debugging.
3363 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
3366 2005-07-04 Edward Hervey <edward@fluendo.com>
3370 (gst_pad_add_*_probe): now returns the signal id for better wrapping
3373 2005-07-04 Andy Wingo <wingo@pobox.com>
3375 * check/gst/gstpad.c: Only set explicit caps on pads.
3377 2005-07-01 Andy Wingo <wingo@pobox.com>
3379 * tests/network-clock.scm: Commentary update.
3381 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
3382 Didn't really make sense, not implementable with basetransform,
3384 (gst_identity_transform): Unref inbuf via make_writable. Feeble
3385 attempt at implementing the sync property, needs an unlock method.
3387 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
3388 New func, by default returns the same caps (the identity
3390 (gst_base_transform_getcaps): Uses transform_caps to return
3392 (gst_base_transform_setcaps): Complicated logic to get caps on
3393 both pads, even if they are different, and to call set_caps once
3394 for every time both pads get their caps set.
3395 (gst_base_transform_handle_buffer): Give the ref to the transform
3396 function. Allows in-place modification of the buffer.
3398 * gst/base/gstbasetransform.h (transform_caps): New class method.
3399 Given caps on one side, what can I do on the other.
3400 (set_caps): Take two caps, one for each side of the element.
3403 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
3404 caps in place. This is safe because we can check the mutability of
3405 the caps, and a good idea because fixate functions are just called
3406 as a matter of last resort. (Not actually implemented.)
3407 (gst_pad_set_caps): If the caps we're setting is actually the same
3408 as the existing pad caps, just update the pointer without calling
3409 setcaps. Assert that caps is either NULL or fixed, as per the
3412 * gst/gstghostpad.c: Update for fixate changes.
3414 2005-07-02 Andy Wingo <wingo@pobox.com>
3417 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
3418 two refcounts makes it immutable, which is enough. Doc more.
3420 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
3422 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
3423 Put the mini_object into GValue as a mini_object,
3424 not a gpointer, since that's how we declared
3427 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3429 * examples/pwg/Makefile.am:
3432 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3434 * docs/pwg/building-testapp.xml:
3436 * examples/pwg/Makefile.am:
3439 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3442 * examples/Makefile.am:
3443 * examples/pwg/Makefile.am:
3444 * examples/pwg/extract.pl:
3445 Enable building the PWG examples.
3446 * docs/pwg/advanced-interfaces.xml:
3447 Add URI interface stub.
3448 * docs/pwg/advanced-types.xml:
3449 * docs/pwg/other-autoplugger.xml:
3450 * docs/pwg/appendix-porting.xml:
3452 Add porting guide (mostly stubs), remove autoplugging (see ADM).
3453 * docs/pwg/building-boiler.xml:
3454 * docs/pwg/building-chainfn.xml:
3455 * docs/pwg/building-pads.xml:
3456 * docs/pwg/building-props.xml:
3457 * docs/pwg/building-state.xml:
3458 * docs/pwg/building-testapp.xml:
3459 Update the building-*.xml parts for 0.9 changes. All examples
3460 code blocks compile in examples/pwg/*.
3462 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3464 * docs/manual/advanced-autoplugging.xml:
3465 * docs/manual/appendix-checklist.xml:
3466 * docs/manual/appendix-integration.xml:
3467 * docs/manual/highlevel-components.xml:
3468 Fix playbin/decodebin examples, update docs a bit, mention bus
3469 instead of signals in various places, mention kmplayer and
3470 kaffeine since they have a working GStreamer backend in the KDE
3473 2005-06-30 Wim Taymans <wim@fluendo.com>
3476 * docs/design/draft-ghostpads.txt:
3477 * docs/design/draft-push-pull.txt:
3478 * docs/design/draft-query.txt:
3479 * docs/design/part-TODO.txt:
3480 * docs/design/part-query.txt:
3481 Added CHANGES-0.9 doc, updated status of other docs.
3486 2005-06-30 Wim Taymans <wim@fluendo.com>
3488 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3489 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
3490 (gst_base_sink_change_state):
3491 * gst/base/gstbasesink.h:
3492 Some tweaks, only EOS and a buffer complete a preroll.
3494 2005-06-30 Andy Wingo <wingo@pobox.com>
3496 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
3497 activate_push down to the internal pad as well.
3499 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
3501 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3503 * gst/gsttaginterface.c:
3504 Some documentation fixes (#307394 and #307397).
3506 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
3508 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3510 * gst/gstvalue.c: (gst_value_intersect_list):
3511 Fix memleak (#309125).
3513 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3515 * docs/manual/advanced-dataaccess.xml:
3516 Fix fakesrc example to compile; doesn't work, bug somewhere...?
3517 * docs/manual/basics-pads.xml:
3518 Add reference for filtered caps to above chapter.
3520 2005-06-30 Wim Taymans <wim@fluendo.com>
3522 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
3523 (gst_bin_change_state):
3525 Lame attempt at making the state change function a bit
3528 2005-06-30 Wim Taymans <wim@fluendo.com>
3530 * docs/design/part-clocks.txt:
3531 * docs/design/part-element-sink.txt:
3532 * docs/design/part-events.txt:
3533 * docs/design/part-preroll.txt:
3534 * docs/design/part-states.txt:
3535 Some more tweeks and additions to the docs.
3537 2005-06-30 Wim Taymans <wim@fluendo.com>
3539 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
3540 (default_have_data), (gst_pad_class_init), (gst_pad_init),
3541 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
3542 (gst_pad_check_pull_range), (gst_pad_get_range),
3543 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
3545 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
3546 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
3547 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
3548 (gst_pad_remove_buffer_probe):
3549 Removed atomic operations, use existing LOCK.
3550 Move exception handling out of main code path.
3552 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3554 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
3555 (silly_return_true_function), (gst_pad_class_init),
3556 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
3557 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
3558 (gst_pad_send_event):
3559 Fix accumulator, add default value by using _emitv() instead
3560 of _emit() for signal emission.
3562 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3564 * docs/manual/advanced-dataaccess.xml:
3565 * examples/manual/Makefile.am:
3567 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
3570 2005-06-29 Tim-Philipp M??ller <tim at centricular dot net>
3572 * gst/elements/gstfilesink.c: (gst_filesink_render):
3573 Simplify code so that we don't have to handle short
3574 writes and return GST_FLOW_ERROR if an error occured.
3576 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3578 * docs/gst/gstreamer-docs.sgml:
3581 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3583 * docs/gst/gstreamer-sections.txt:
3584 * docs/gst/tmpl/gstpad.sgml:
3585 * docs/gst/tmpl/gstprobe.sgml:
3587 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
3588 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
3589 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
3590 (gst_pad_push_event), (gst_pad_send_event):
3592 * gst/gstutils.c: (gst_pad_add_data_probe),
3593 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
3594 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
3595 (gst_pad_remove_buffer_probe):
3597 Remove old probes, add new g-signal-based probes and some utility
3600 2005-06-29 Edward Hervey <edward@fluendo.com>
3602 * gst/gstelementfactory.c:
3605 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
3606 the definition to the header file.
3608 2005-06-29 Andy Wingo <wingo@pobox.com>
3610 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
3611 plugins from the source directory.
3613 2005-06-29 Wim Taymans <wim@fluendo.com>
3615 * docs/gst/tmpl/gstbuffer.sgml:
3616 * docs/gst/tmpl/gstclock.sgml:
3617 Some fixings for blantently wrong text.
3619 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
3621 * check/Makefile.am:
3622 * gst/gst.c: (add_path_func), (init_pre):
3623 * gst/gstregistry.c: (gst_registry_add_path):
3624 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
3625 only scan the GST_PLUGIN_PATH locations, and not add
3628 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
3630 * docs/gst/gstreamer-sections.txt:
3631 * docs/gst/tmpl/gstbasesrc.sgml:
3638 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3640 * docs/manual/advanced-autoplugging.xml:
3641 Fix autoplugging example.
3643 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3645 * docs/manual/advanced-autoplugging.xml:
3646 * docs/manual/mime-world.fig:
3647 Try to get autoplugging working, fix type detection. Fix text
3648 in hello-world image.
3650 2005-06-29 Wim Taymans <wim@fluendo.com>
3652 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3653 (gst_base_sink_change_state):
3657 map SIGNAL and BROADCAST to the right function.
3660 Remove redundant braces.
3662 * gst/gstpad.c: (gst_pad_set_caps):
3663 Don't call setcaps function when reseting caps to NULL.
3665 * gst/gstsystemclock.c: (gst_system_clock_dispose),
3666 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
3667 (gst_system_clock_id_unschedule):
3668 Use BROADCAST as this is what we do.
3670 2005-06-29 Wim Taymans <wim@fluendo.com>
3672 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3673 We are actually prerolling before commiting the state
3676 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3678 * docs/manual/advanced-clocks.xml:
3679 * docs/manual/advanced-interfaces.xml:
3680 * docs/manual/advanced-metadata.xml:
3681 * docs/manual/advanced-position.xml:
3682 * docs/manual/advanced-schedulers.xml:
3683 * docs/manual/advanced-threads.xml:
3684 * docs/manual/appendix-porting.xml:
3685 * docs/manual/basics-bins.xml:
3686 * docs/manual/basics-bus.xml:
3687 * docs/manual/basics-elements.xml:
3688 * docs/manual/basics-helloworld.xml:
3689 * docs/manual/basics-pads.xml:
3690 * docs/manual/highlevel-components.xml:
3691 * docs/manual/manual.xml:
3692 * docs/manual/thread.fig:
3693 Update (until threads/scheduling) Application Development Manual;
3694 remove GstThread, add GstBus, add simple porting checklist, add
3695 documentation for tag writing, clocks, make all examples until this
3696 part compile and run.
3697 * examples/manual/Makefile.am:
3698 Update from changes to Application Development Manual; add bus
3699 example, remove thread example.
3701 2005-06-28 Wim Taymans <wim@fluendo.com>
3703 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
3704 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
3705 (gst_bus_source_dispatch):
3706 Add debugging messages.
3707 Make internal methods static.
3708 Handle the case where the bus is flushed in the handler.
3710 * gst/gstelement.c: (gst_element_get_bus):
3711 Fix refcount in _get_bus();
3713 * gst/gstpipeline.c: (gst_pipeline_change_state),
3714 (gst_pipeline_get_clock_func):
3715 Clock refcounting fixes.
3716 Handle the case where preroll timed out more gracefully.
3718 * gst/gstsystemclock.c: (gst_system_clock_dispose):
3719 Clean up the internal thread in dispose. This is needed
3720 for subclasses that actually get disposed.
3722 * gst/schedulers/threadscheduler.c:
3723 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
3724 (gst_thread_scheduler_dispose):
3725 Free thread pool in dispose.
3727 2005-06-28 Andy Wingo <wingo@pobox.com>
3729 * tests/network-clock-utils.scm (debug, print-event): New utils.
3731 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
3732 (*packet-loss*): Unified loss probability.
3733 (network-time): Report out-of-band events.
3735 * tests/plot-data: Add support for out-of-band events. Hack it
3736 into this script instead of passing it down the pipe; should fix
3739 2005-06-28 Wim Taymans <wim@fluendo.com>
3741 * docs/gst/gstreamer.types:
3742 * docs/gst/tmpl/gstbasesrc.sgml:
3743 * docs/gst/tmpl/gstpad.sgml:
3746 2005-06-28 Wim Taymans <wim@fluendo.com>
3748 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
3749 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
3750 (gst_proxy_pad_do_fixatecaps):
3751 Correctly proxy the check_pull_range function.
3753 2005-06-28 Andy Wingo <wingo@pobox.com>
3755 * tests/network-clock.scm: Removed need for slib.
3757 2005-06-28 Wim Taymans <wim@fluendo.com>
3759 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
3760 (gst_basesink_preroll_queue_flush):
3761 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
3762 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
3763 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
3764 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
3765 (gst_proxy_pad_set_property):
3768 * gst/gstqueue.c: (gst_queue_init):
3769 The deprecated pad loop function is removed now.
3771 2005-06-28 Andy Wingo <wingo@pobox.com>
3773 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
3774 New parameters, simulate network packet loss.
3776 * tests/network-clock-utils.scm: Initialize the RNG.
3778 2005-06-28 Wim Taymans <wim@fluendo.com>
3780 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
3781 (gst_basesink_event), (gst_basesink_deactivate):
3782 Flushing the preroll queue always needs to unlock the waiters.
3784 2005-06-28 Edward Hervey <edward@fluendo.com>
3786 * gst/gstpipeline.c: (gst_pipeline_send_event):
3787 Wheen a seek was successful on a pipeline, set the stream_time to the
3788 seek offset in order to have a synchronized stream_time.
3790 2005-06-28 Wim Taymans <wim@fluendo.com>
3792 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
3793 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
3794 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
3795 (gst_proxy_pad_do_fixatecaps):
3796 Call wrapper function instead of just calling the function
3797 pointers. This takes care of any locking and whatmore.
3799 2005-06-28 Wim Taymans <wim@fluendo.com>
3801 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
3802 (gst_pad_pull_range):
3804 CONNECTED -> LINKED.
3806 2005-06-28 Andy Wingo <wingo@pobox.com>
3808 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
3809 source-munging commit!!!
3811 * gst/gstobject.c (gst_object_unref, gst_object_ref)
3812 (gst_object_sink): Take gpointer arguments, not GstObject --
3813 avoids casts. Like GLib.
3815 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
3818 2005-06-27 Andy Wingo <wingo@pobox.com>
3820 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
3823 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
3824 returns a sorted copy of the trace list.
3825 (gst_alloc_trace_print_live): New API, only prints traces with
3826 live objects. Sort the list.
3827 (gst_alloc_trace_print_all): Sort the list.
3828 (gst_alloc_trace_print): Align columns.
3830 * gst/elements/gstttypefindelement.c:
3831 * gst/elements/gsttee.c:
3832 * gst/base/gstbasesrc.c:
3833 * gst/base/gstbasesink.c:
3834 * gst/base/gstbasetransform.c:
3835 * gst/gstqueue.c: Adapt for pad activation changes.
3837 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
3839 (gst_pipeline_dispose): Drop ref on sched.
3841 * gst/gstpad.c (gst_pad_init): Set the default activate func.
3842 (gst_pad_activate_default): Push mode by default.
3843 (pre_activate_switch, post_activate_switch): New stubs, things to
3844 do before and after switching activation modes on pads.
3845 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
3846 the pad's activate function to choose which mode to activate.
3847 Shortcut on deactivation and call the right function directly.
3848 (gst_pad_activate_pull): New API, (de)activates a pad in pull
3850 (gst_pad_activate_push): New API, same for push mode.
3851 (gst_pad_set_activate_function)
3852 (gst_pad_set_activatepull_function)
3853 (gst_pad_set_activatepush_function): Setters for new API.
3855 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
3856 Trace all miniobjects.
3857 (gst_mini_object_make_writable): Unref the arg if we copy, like
3858 gst_caps_make_writable.
3860 * gst/gstmessage.c (_gst_message_initialize): No trace init.
3862 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
3863 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
3864 Adapt for new pad API.
3866 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
3869 * gst/gstelement.c (gst_element_iterate_src_pads)
3870 (gst_element_iterate_sink_pads): New API functions.
3872 * gst/gstelement.c (iterator_fold_with_resync): New utility,
3873 should fold into gstiterator.c in some form.
3874 (gst_element_pads_activate): Simplified via use of fold and
3875 delegation of decisions to gstpad->activate.
3877 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
3880 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
3881 class once in init, like gstmessage. Didn't run into this issue
3882 but it seems correct. Don't initialize a trace, gstminiobject does
3885 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
3886 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
3888 (assert_live_count): New util function, uses alloc traces to check
3891 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
3892 To be modified when unlink drops the internal pad.
3894 2005-06-27 Wim Taymans <wim@fluendo.com>
3896 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
3897 (gst_bin_change_state):
3898 Cleanup the get_state() function a little, make sure it
3899 iterates the same set of elements.
3900 Added stub iterate_state_order().
3902 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
3904 * docs/gst/gstreamer-docs.sgml:
3905 * docs/gst/gstreamer-sections.txt:
3906 * docs/gst/gstreamer.types:
3907 * docs/gst/tmpl/gstbasesink.sgml:
3908 * docs/gst/tmpl/gstbasesrc.sgml:
3909 * docs/gst/tmpl/gstbasetransform.sgml:
3910 * docs/gst/tmpl/gstelement.sgml:
3911 * docs/gst/tmpl/gstiterator.sgml:
3912 * gst/base/gstbasesrc.c:
3913 * gst/base/gstbasesrc.h:
3914 * gst/base/gstbasetransform.h:
3916 * gst/gstiterator.h:
3917 adding basetransform and iterator docs
3919 2005-06-27 Andy Wingo <wingo@pobox.com>
3921 * docs/design/part-activation.txt: Notes on how activation should
3922 work -- not quite implemented yet.
3924 2005-06-25 Wim Taymans <wim@fluendo.com>
3926 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
3927 At least get the chain function correct, needs more
3930 2005-06-25 Wim Taymans <wim@fluendo.com>
3932 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
3933 (gst_basesink_handle_object), (gst_basesink_event),
3934 (gst_basesink_do_sync), (gst_basesink_handle_event),
3935 (gst_basesink_change_state):
3937 Right, two problems here: ghostpads don't take locks and
3938 glib _rec_mutex_lock_full() with depth==0 still locks.
3939 Catch illegal locking and g_warn them.
3941 2005-06-25 Wim Taymans <wim@fluendo.com>
3943 * check/states/sinks.c: (START_TEST), (gst_object_suite):
3944 Have to check for completion now...
3946 2005-06-25 Wim Taymans <wim@fluendo.com>
3948 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
3949 (gst_basesink_handle_object), (gst_basesink_event),
3950 (gst_basesink_do_sync), (gst_basesink_handle_event),
3951 (gst_basesink_change_state):
3953 Unlock STREAM_LOCK whatever the recursion was.
3955 2005-06-25 Wim Taymans <wim@fluendo.com>
3957 * gst/base/gstbasesink.c: (gst_basesink_set_property),
3958 (gst_basesink_preroll_queue_empty),
3959 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
3960 (gst_basesink_event), (gst_basesink_do_sync),
3961 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
3962 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
3963 (gst_basesink_change_state):
3964 Reworked the base sink, handle event and buffer serialisation
3965 correctly and removed possible deadlock.
3966 Handle EOS correctly.
3968 2005-06-25 Wim Taymans <wim@fluendo.com>
3970 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
3971 (gst_pipeline_change_state):
3972 * tools/gst-launch.c: (check_intr), (event_loop), (main):
3973 Allow elements to post EOS in the state change function.
3974 Fix up -launch, make it exit the poll loop when the
3975 pipeline actually changed state.
3976 Fix up warning parsing in -launch.
3978 2005-06-25 Wim Taymans <wim@fluendo.com>
3980 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
3981 (gst_tee_sink_activate):
3982 Core takes STREAM_LOCK for us now.
3984 2005-06-25 Wim Taymans <wim@fluendo.com>
3986 * gst/gstelement.c: (gst_element_get_state_func),
3987 (gst_element_set_state):
3989 * gst/gstmessage.c: (gst_message_parse_error),
3990 (gst_message_parse_warning):
3991 Keep track of current target state while performing a state
3992 change so that subclasses can do something interesting.
3993 Fix parsing of warning/error messages when GError is NULL.
3995 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
3997 * docs/gst/Makefile.am:
3998 * docs/gst/gstreamer-docs.sgml:
3999 * docs/gst/gstreamer-sections.txt:
4000 * docs/gst/gstreamer.types:
4001 * docs/gst/tmpl/gstbasesink.sgml:
4002 * docs/gst/tmpl/gstbasesrc.sgml:
4003 * docs/gst/tmpl/gstbin.sgml:
4004 * docs/gst/tmpl/gstcompat.sgml:
4005 * docs/gst/tmpl/gstfakesink.sgml:
4006 * docs/gst/tmpl/gstfakesrc.sgml:
4007 * docs/gst/tmpl/gstfilesink.sgml:
4008 * docs/gst/tmpl/gstfilesrc.sgml:
4009 * docs/gst/tmpl/gstindex.sgml:
4010 * docs/manual/appendix-quotes.xml:
4011 * gst/base/gstbasesrc.h:
4012 * gst/elements/gstfakesrc.h:
4014 start pulling in base classes and elements in our docs
4016 2005-06-24 Stefan Kost <ensonic@users.sf.net>
4018 * docs/gst/Makefile.am:
4019 * docs/libs/Makefile.am:
4020 fixed make distcheck with gtk-doc 1.3
4022 2005-06-23 Wim Taymans <wim@fluendo.com>
4024 * gst/gstelement.c: (gst_element_get_state_func),
4025 (gst_element_set_state), (gst_element_change_state):
4026 When the state did not change, also report NO_PREROLL
4029 2005-06-23 Wim Taymans <wim@fluendo.com>
4031 * gst/gstpad.c: (gst_pad_event_default):
4032 * gst/gstqueue.c: (gst_queue_loop):
4033 No unsafe task pausing please.
4035 2005-06-23 Wim Taymans <wim@fluendo.com>
4037 * gst/schedulers/threadscheduler.c:
4038 (gst_thread_scheduler_task_start),
4039 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
4040 Ref the task before pushing it on the threadpool. This
4041 makes sure that we have a ref when the threadfunction is
4044 2005-06-23 Andy Wingo <wingo@pobox.com>
4046 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
4047 offset is greater than the file's size.
4049 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
4050 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
4051 * gst/gstobject.c (gst_object_class_init): Make the class lock
4052 recursive. Wim won't let me drop deep_notify. Decodebin works
4055 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
4056 internal pad, and hacks accordingly. Doesn't do it on the target
4057 pad because we change its caps. Probably catches all cases of
4059 (gst_ghost_pad_set_property): Connect to notify::caps as
4062 * tests/network-clock.scm (plot-simulation): Pipe data to the
4063 elite python skript.
4065 * tests/network-clock-utils.scm (define-parameter): New macro,
4066 defines a parameter that can be set via the command line.
4067 (set-parameter!, parse-parameter-arguments): Command line args
4070 * tests/plot-data: Simple matplotlib-based plotter, takes input on
4073 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
4075 * gst/elements/gsttypefindelement.c:
4076 (gst_type_find_element_handle_event):
4077 Don't restart typefinding on a discont.
4078 * gst/gstelement.c: (gst_element_set_state):
4080 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
4081 Allow changing mode of an active pad.
4083 * gst/registries/gstlibxmlregistry.c: (load_feature):
4084 Don't cast a static pad template to a normal pad template.
4086 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
4088 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
4089 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4090 remove gst_strtoll completely, since it didn't actually do
4091 anything more than what g_ascii_strtoull already does.
4092 check for range errors when deserializing
4093 do a cast for the unsigned cases; but further fixing needs
4094 a decision on what the interpretation of "(int)" and
4095 deserialization should be for values that fall outside the
4096 type's boundaries (ie, refuse, or interpret as casting)
4098 2005-06-23 Wim Taymans <wim@fluendo.com>
4100 * check/Makefile.am:
4101 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
4102 * docs/design/part-live-source.txt:
4103 * docs/design/part-states.txt:
4104 * gst/base/gstbasesrc.c: (gst_basesrc_init),
4105 (gst_basesrc_set_live), (gst_basesrc_is_live),
4106 (gst_basesrc_get_range), (gst_basesrc_activate),
4107 (gst_basesrc_change_state):
4108 * gst/base/gstbasesrc.h:
4109 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4110 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
4111 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
4112 * gst/gstelement.c: (gst_element_get_state_func),
4113 (gst_element_set_state):
4116 * tools/gst-launch.c: (event_loop), (main):
4117 Added support for live sources and other elements that
4119 Updated design docs, added live-source design doc.
4120 Implemented live source functionality in basesrc
4121 Fix error condition in _bin_get_state()
4122 Implement live source handling in -launch.
4123 Added check for live sources.
4124 Fixed case in GstBin where elements were changed state
4128 2005-06-23 Andy Wingo <wingo@pobox.com>
4130 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
4133 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
4134 gst_caps_replace takes care of this for us.
4136 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
4137 gst_pad_set_caps on the target, not just its setcaps() function.
4139 * tests/network-clock.scm:
4140 * tests/network-clock-utils.scm: A network clock simulator.
4141 Something of an algorithmic testbed before doing something in C.
4143 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
4145 * check/Makefile.am:
4146 * check/gst/capslist.h:
4147 copy over from 0.8, and add two with bitmasks specified with
4149 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
4150 add test to parse everything from capslist.h
4151 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
4153 add test for structure deserialization
4154 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
4155 add tests for deserialization of strings to int types
4156 * gst/gststructure.c: (gst_structure_nth_field_name):
4157 * gst/gststructure.h:
4158 add a way to get the name of a field referenced by index
4159 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4160 instead of checking if the resulting long long lies between
4161 min and max, we check if the long long would fit into
4162 a number of bytes for the final type.
4163 This fixes cases where a string represents 2^32 - 1, which
4164 when cast to int would be the (valid) -1, but is bigger than
4167 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
4169 * gst/parse/grammar.y:
4170 add a log line for type deserialization
4172 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
4174 * check/gst/gstvalue.c: (START_TEST):
4175 * gst/gstvalue.c: (gst_value_deserialize):
4176 return long long, not int, so gint64 deserialization actually
4177 works. Is there any flag that makes the compiler check this ?
4180 2005-06-22 Wim Taymans <wim@fluendo.com>
4183 Added convenience macros for setting buffers in GValue.
4185 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
4187 * check/gst/.cvsignore:
4188 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
4189 add a test deserializing int64, and comment part out because
4192 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
4194 * check/Makefile.am:
4195 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
4196 * testsuite/Makefile.am:
4197 * testsuite/caps/Makefile.am:
4198 * testsuite/caps/value_serialize.c:
4199 * testsuite/test_gst_init.c:
4200 move a value_serialize test over
4202 2005-06-20 Wim Taymans <wim@fluendo.com>
4207 * gst/gstvalue.c: (gst_value_compare_buffer),
4208 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
4209 (gst_value_compare_flags), (gst_value_serialize_flags),
4210 (gst_value_deserialize_flags), (_gst_value_initialize):
4211 Fix serialisation of buffers, they are not boxed types anymore
4213 2005-06-20 Wim Taymans <wim@fluendo.com>
4215 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
4216 Testcase to show error in buffer-on-caps serialisation.
4218 2005-06-20 Andy Wingo <wingo@pobox.com>
4220 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
4221 will be adding to later.
4223 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
4224 if its socks fill with rocks.
4225 (gst_system_clock_obtain): Set the name on object construction.
4226 Avoid double-checked locking.
4228 2005-06-20 Tim-Philipp M??ller <tim at centricular dot net>
4230 * gst/gsturi.c: (gst_element_make_from_uri):
4231 Fix potential endless loop.
4233 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
4235 * check/Makefile.am:
4237 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
4239 move over from testsuite dir and clean up
4242 * testsuite/Makefile.am:
4243 * testsuite/tags/.cvsignore:
4244 * testsuite/tags/Makefile.am:
4245 * testsuite/tags/merge.c:
4246 remove testsuite/tags
4248 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
4250 * docs/gst/gstreamer-sections.txt:
4251 * docs/gst/tmpl/gstenumtypes.sgml:
4252 * win32/gstenumtypes.c:
4253 clean up documentation build a little
4255 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
4258 add macros for checking refcounts on objects and caps
4259 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
4260 add some more unit tests
4261 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
4262 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
4263 fix leaked refcounts (I hope :)) so unittest works
4267 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
4269 * configure.ac: back to HEAD
4271 === release 0.9.1 ===
4273 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
4279 2005-06-17 Andy Wingo <wingo@pobox.com>
4281 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
4282 assert; it's always possible that the pad gets deactivated in
4283 between the checks in gstpad.c and the implementation. Rely on
4284 finish_preroll() to return a FLUSHING or similar instead of on the
4287 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
4288 clock and post an EOS message if we come out of finish_preroll in
4291 2005-06-16 David Schleef <ds@schleef.org>
4293 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4294 (gst_capsfilter_set_property): Allow NULL as possible value
4295 for filter_caps property, indicating GST_CAPS_ANY.
4297 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
4299 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
4301 * gst/schedulers/Makefile.am:
4303 * gstreamer.spec.in:
4306 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
4308 * gstreamer.spec.in:
4311 2005-06-08 Andy Wingo <wingo@pobox.com>
4313 * gst/gstutils.c: RPAD fixes all around.
4314 (gst_element_link_pads): Refcounting fixes.
4316 * tools/gst-inspect.c:
4317 * tools/gst-xmlinspect.c:
4319 * gst/base/gsttypefindhelper.c:
4320 * gst/base/gstbasesink.c:
4321 * gst/gstqueue.c: RPAD fixes.
4323 * gst/gstghostpad.h:
4324 * gst/gstghostpad.c: New ghost pad implementation as full proxy
4325 pads. The tricky thing is they provide both source and sink
4326 interfaces, since they proxy the internal pad for the external
4327 pad, and vice versa. Implement with lower-level ProxyPad objects,
4328 with the interior proxy pad as a child of the exterior ghost pad.
4329 Should write a doc on this.
4331 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
4332 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
4335 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
4336 pads are real pads. No ghost pads in this file. Not documenting
4337 the myriad s/RPAD/PAD/ and REALIZE fixes.
4338 (gst_pad_class_init): Add properties for "direction" and
4339 "template". Both are construct-only, so they can't change during
4340 the life of the pad. Fixes properly deriving from GstPad.
4341 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
4342 derived objects, just set properties when creating the objects via
4344 (gst_pad_get_parent): Implement as a function, return NULL if the
4345 parent is not an element.
4346 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
4347 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
4349 * gst/gstobject.c (gst_object_class_init): Make name a construct
4350 property. Don't set it in the object init.
4352 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
4353 with UNKNOWN direction.
4354 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
4355 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
4356 (gst_element_remove_pad): Remove ghost-pad special cases.
4357 (gst_element_pads_activate): Remove rpad cruft.
4359 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
4360 catch the pad's-parent-not-an-element case.
4362 * gst/gst.h: Include gstghostpad.h.
4364 * gst/gst.c (init_post): No more real, ghost pads.
4366 * gst/Makefile.am: Add gstghostpad.[ch].
4368 * check/Makefile.am:
4369 * check/gst/gstbin.c:
4370 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
4371 into a bin creates ghost pads, and that the refcounts are right.
4372 Partly moved from gstbin.c.
4374 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
4376 * check/gst-libs/.cvsignore:
4377 * check/gst/.cvsignore:
4378 * check/pipelines/.cvsignore:
4380 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
4381 (START_TEST), (cleanup_suite), (main):
4382 add some tests related to cleanup after running pipelines
4384 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
4386 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
4387 add a testsuite for GstBuffer
4389 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
4391 * gst/gstminiobject.h:
4392 add defines for accessing the refcount
4394 2005-06-03 Stefan Kost <ensonic@users.sf.net>
4396 * Makefile.am: added support for html unit test coverage reports
4398 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
4400 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
4401 Free existing caps if the capsfilter changes. Add a FIXME about
4402 setting those caps on the pads.
4404 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
4405 Before adding a ghost pad to a parent bin, check that there isn't
4406 already one for the element on the bin. Prevents infinite recursion
4407 when using decodebin in parse pipelines. Andy says he'll rewrite the
4408 way this works anyway, so ignore the hack.
4410 2005-06-02 Andy Wingo <wingo@pobox.com>
4412 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
4413 file size, pass it on to the type find helper.
4415 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
4416 segment_start and segment_end properly according to the seek
4417 method. Segment_end is still a bit flaky because offset can be
4418 negative for CUR and END cases, but it takes -1 as an "unset"
4421 2005-06-02 Wim Taymans <wim@fluendo.com>
4423 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
4424 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
4425 (gst_basesink_activate):
4426 * gst/base/gstbasesink.h:
4427 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
4428 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
4429 (gst_pad_query), (gst_pad_start_task):
4431 * gst/gstqueue.c: (gst_queue_bufferalloc),
4432 (gst_queue_handle_sink_event), (gst_queue_chain):
4433 Bufferalloc: return GstFlowReturn to more accuratly report
4434 why allocation failed.
4436 2005-06-02 Wim Taymans <wim@fluendo.com>
4438 * gst/gstpipeline.c: (gst_pipeline_send_event):
4439 Take snapshot of state without blocking.
4441 2005-06-02 Wim Taymans <wim@fluendo.com>
4443 * docs/design/part-TODO.txt:
4444 * docs/design/part-caps.txt:
4445 * docs/design/part-clocks.txt:
4446 * docs/design/part-negotiation.txt:
4447 * docs/design/part-preroll.txt:
4450 2005-05-30 Wim Taymans <wim@fluendo.com>
4452 * gst/elements/gstidentity.c: (gst_identity_event),
4453 (gst_identity_transform), (gst_identity_get_property):
4454 Protect last_message property as it is accessed from
4457 2005-05-30 Wim Taymans <wim@fluendo.com>
4459 * gst/gstelement.c: (gst_element_init),
4460 (gst_element_pads_activate), (gst_element_change_state):
4461 Slicker pad activation code.
4463 2005-05-30 Wim Taymans <wim@fluendo.com>
4467 * gst/gstelementfactory.h:
4469 Move elementfactory methods to separate .h file.
4471 2005-05-30 Wim Taymans <wim@fluendo.com>
4473 * docs/design/part-overview.txt:
4474 * gst/gstsystemclock.h:
4475 Small typo fixes, doc updates.
4477 2005-05-30 Wim Taymans <wim@fluendo.com>
4479 * gst/gst.c: (gst_init_get_popt_table), (init_post),
4480 (init_popt_callback):
4481 Remove cpu-opt flag.
4483 2005-05-30 Wim Taymans <wim@fluendo.com>
4485 * gst/gstbuffer.c: (gst_subbuffer_finalize),
4486 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
4488 Avoid typechecking in places where not needed.
4489 Added accessor for malloc_data.
4491 2005-05-30 Wim Taymans <wim@fluendo.com>
4493 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
4494 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
4495 (gst_pad_configure_sink), (gst_pad_configure_src),
4496 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
4497 (gst_pad_start_task):
4498 Propagate errors from _set_caps() in configure_src/sink
4499 functions instead of returning TRUE.
4500 FLUSH events can travel up and downstream
4503 2005-05-30 Wim Taymans <wim@fluendo.com>
4505 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
4506 (gst_basesink_activate):
4507 Handle EOS in preroll.
4509 2005-05-30 Wim Taymans <wim@fluendo.com>
4511 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
4512 (gst_queue_loop), (gst_queue_handle_src_event):
4513 Remove old pieces of code
4514 Flushing the queue in an upstream event is a very bad idea.
4516 2005-05-26 Andy Wingo <wingo@pobox.com>
4518 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
4519 gst_value_set_mini_object so as to add a ref on the object (which
4520 will be removed when the value is unset).
4522 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
4523 arg type in ::handoff.
4525 * gst/gstelement.c (gst_element_change_state): Also deactivate
4526 pads in READY->NULL, just in case the element didn't make it to
4527 PAUSED. Wingo tested, Wim approved.
4529 2005-05-26 Wim Taymans <wim@fluendo.com>
4531 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
4532 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
4533 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
4534 A flushing pad cannot be used to alloc_buffer from.
4536 2005-05-26 Wim Taymans <wim@fluendo.com>
4538 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4539 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
4540 (gst_bus_source_dispatch), (gst_bus_source_finalize),
4541 (gst_bus_create_watch), (gst_bus_add_watch_full):
4543 Implement a real GSource and use g_main_context_wakeup() to
4544 signal new messages instead of the socketpair.
4546 2005-05-25 Wim Taymans <wim@fluendo.com>
4548 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
4549 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
4550 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
4551 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
4552 (gst_pad_send_event), (gst_pad_start_task):
4553 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
4554 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
4555 (gst_queue_sink_activate), (gst_queue_src_activate),
4556 (gst_queue_change_state):
4558 Fix state changes for non sinks. We now change sinks, then elements
4559 with unconnected srcpads, then the rest.
4560 More efficient queue unlocking in flush and state changes.
4561 Set the pad activate mode even if it does not have an activate
4564 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4566 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
4567 Don't go in pull mode for non-seekable sources.
4568 * gst/elements/gsttypefindelement.h:
4569 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
4570 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
4571 (free_entry), (stop_typefinding),
4572 (gst_type_find_element_handle_event), (find_peek),
4573 (gst_type_find_element_chain), (do_pull_typefind),
4574 (gst_type_find_element_change_state):
4575 Allow typefinding (w/o seeking) in push-mode, simplified version
4577 * gst/gstutils.c: (gst_buffer_join):
4579 gst_buffer_join() from 0.8.
4581 2005-05-25 Wim Taymans <wim@fluendo.com>
4583 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
4584 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
4585 (gst_pad_send_event), (gst_pad_start_task):
4586 Disable attempt at mode switching until it is figured out.
4588 2005-05-25 Wim Taymans <wim@fluendo.com>
4590 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
4591 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
4592 (gst_basesink_finish_preroll), (gst_basesink_chain),
4593 (gst_basesink_loop), (gst_basesink_activate),
4594 (gst_basesink_change_state):
4595 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
4596 (gst_basesrc_get_range), (gst_basesrc_loop),
4597 (gst_basesrc_activate):
4598 * gst/elements/gsttee.c: (gst_tee_sink_activate):
4599 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
4600 (gst_real_pad_init), (gst_real_pad_set_property),
4601 (gst_real_pad_get_property), (gst_pad_set_active),
4602 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
4603 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
4604 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
4605 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
4606 (gst_pad_event_default_dispatch), (gst_pad_event_default),
4607 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
4608 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
4609 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
4610 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
4611 (gst_pad_stop_task):
4613 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
4614 (gst_queue_loop), (gst_queue_src_activate):
4615 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
4616 (gst_task_get_state):
4618 * gst/schedulers/threadscheduler.c:
4619 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
4620 Implement gst_pad_pause/start/stop_task(), take STREAM lock
4622 Remove ACTIVE pad flag, use FLUSHING everywhere
4623 Added _pad_chain(), _pad_get_range() to call chain/getrange
4625 Add locks around IS_FLUSHING when reading.
4626 Take STREAM lock in chain(), get_range() functions so plugins
4627 don't need to take it anymore.
4631 2005-05-25 Wim Taymans <wim@fluendo.com>
4633 * tools/gst-launch.c: (event_loop):
4634 Unref message after using its contents instead of
4637 2005-05-24 Wim Taymans <wim@fluendo.com>
4639 * docs/design/draft-ghostpads.txt:
4640 * docs/design/draft-push-pull.txt:
4641 * docs/design/draft-query.txt:
4642 * docs/design/part-overview.txt:
4643 Docs updates, added general overview doc.
4645 2005-05-21 David Schleef <ds@schleef.org>
4647 * docs/gst/tmpl/old/GstBin.sgml:
4648 * docs/gst/tmpl/old/GstBuffer.sgml:
4649 * docs/gst/tmpl/old/GstCaps.sgml:
4650 * docs/gst/tmpl/old/GstClock.sgml:
4651 * docs/gst/tmpl/old/GstCompat.sgml:
4652 * docs/gst/tmpl/old/GstData.sgml:
4653 * docs/gst/tmpl/old/GstElement.sgml:
4654 * docs/gst/tmpl/old/GstEvent.sgml:
4655 * docs/gst/tmpl/old/GstIndex.sgml:
4656 * docs/gst/tmpl/old/GstStructure.sgml:
4657 * docs/gst/tmpl/old/GstTag.sgml:
4658 * docs/gst/tmpl/old/cothreads.sgml:
4659 * docs/gst/tmpl/old/cothreads_compat.sgml:
4660 * docs/gst/tmpl/old/gettext.sgml:
4661 * docs/gst/tmpl/old/gobject2gtk.sgml:
4662 * docs/gst/tmpl/old/grammar.tab.sgml:
4663 * docs/gst/tmpl/old/gst-i18n-app.sgml:
4664 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
4665 * docs/gst/tmpl/old/gst_private.sgml:
4666 * docs/gst/tmpl/old/gstaggregator.sgml:
4667 * docs/gst/tmpl/old/gstarch.sgml:
4668 * docs/gst/tmpl/old/gstatomic_impl.sgml:
4669 * docs/gst/tmpl/old/gstbufferstore.sgml:
4670 * docs/gst/tmpl/old/gstdata_private.sgml:
4671 * docs/gst/tmpl/old/gstdisksink.sgml:
4672 * docs/gst/tmpl/old/gstdisksrc.sgml:
4673 * docs/gst/tmpl/old/gstelementfactory.sgml:
4674 * docs/gst/tmpl/old/gstextratypes.sgml:
4675 * docs/gst/tmpl/old/gstfakesink.sgml:
4676 * docs/gst/tmpl/old/gstfakesrc.sgml:
4677 * docs/gst/tmpl/old/gstfdsink.sgml:
4678 * docs/gst/tmpl/old/gstfdsrc.sgml:
4679 * docs/gst/tmpl/old/gstfilesink.sgml:
4680 * docs/gst/tmpl/old/gstfilesrc.sgml:
4681 * docs/gst/tmpl/old/gsthttpsrc.sgml:
4682 * docs/gst/tmpl/old/gstidentity.sgml:
4683 * docs/gst/tmpl/old/gstindexfactory.sgml:
4684 * docs/gst/tmpl/old/gstmarshal.sgml:
4685 * docs/gst/tmpl/old/gstmd5sink.sgml:
4686 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
4687 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
4688 * docs/gst/tmpl/old/gstpadtemplate.sgml:
4689 * docs/gst/tmpl/old/gstpipefilter.sgml:
4690 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
4691 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
4692 * docs/gst/tmpl/old/gstshaper.sgml:
4693 * docs/gst/tmpl/old/gstspider.sgml:
4694 * docs/gst/tmpl/old/gstspideridentity.sgml:
4695 * docs/gst/tmpl/old/gststatistics.sgml:
4696 * docs/gst/tmpl/old/gsttee.sgml:
4697 * docs/gst/tmpl/old/gsttimecache.sgml:
4698 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
4699 * docs/gst/tmpl/old/gstxmlregistry.sgml:
4700 * docs/gst/tmpl/old/gthread-cothreads.sgml:
4701 * docs/gst/tmpl/old/types.sgml:
4702 I didn't intend to add these or check them in.
4704 2005-05-19 David Schleef <ds@schleef.org>
4706 * configure.ac: Use -no-common everywhere. In a sane world, it
4707 would be the default in libtool, because without it, you can't
4708 build DLLs on Windows.
4709 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
4710 * docs/gst/gstreamer-sections.txt:
4711 * docs/gst/tmpl/gstcpu.sgml:
4712 * docs/gst/tmpl/gstdata.sgml:
4713 * docs/gst/tmpl/gstthread.sgml:
4715 2005-05-19 David Schleef <ds@schleef.org>
4717 * gst/gstminiobject.c: (gst_value_set_mini_object),
4718 (gst_value_take_mini_object), (gst_value_get_mini_object):
4719 * gst/gstminiobject.h: Add GValue set/get functions.
4721 2005-05-19 Wim Taymans <wim@fluendo.com>
4723 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
4724 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
4725 (gst_subbuffer_init), (gst_buffer_is_span_fast):
4727 * gst/gstbus.c: (gst_bus_post):
4728 * gst/gstelement.c: (gst_element_get_random_pad):
4729 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
4730 Make subbufer unref the parent in finalize.
4731 some more debugging info.
4734 2005-05-19 Wim Taymans <wim@fluendo.com>
4736 * gst/base/gstbasesink.c: (gst_basesink_class_init),
4737 (gst_basesink_init), (gst_basesink_finalize),
4738 (gst_basesink_activate), (gst_basesink_change_state):
4739 Don't free preroll queue too early.
4741 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4745 Hi, I'm outdated. Please shoot me.
4747 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4749 * gst/gstpipeline.c: (gst_pipeline_send_event):
4750 Do not access variables after they have been deleted.
4752 2005-05-19 Wim Taymans <wim@fluendo.com>
4754 * tools/gst-inspect.c: (print_plugin_features):
4755 A plugin feature does unfortunatly not use the
4758 2005-05-18 Wim Taymans <wim@fluendo.com>
4760 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
4761 Port _span() functions to new subbuffers.
4763 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4765 * gst/gstbin.c: (gst_bin_add_func):
4766 Fix clock settery in bins when adding kids after the clock has
4769 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4771 * gst/elements/gstidentity.c: (gst_identity_class_init):
4772 Workaround until signals support GstMiniObject.
4774 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
4777 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
4779 2005-05-18 Wim Taymans <wim@fluendo.com>
4781 * gst/base/Makefile.am:
4782 * gst/base/gstadapter.c: (gst_adapter_base_init),
4783 (gst_adapter_class_init), (gst_adapter_init),
4784 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
4785 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
4786 (gst_adapter_flush), (gst_adapter_available),
4787 (gst_adapter_available_fast):
4788 * gst/base/gstadapter.h:
4789 Ported and added adapter to the base classes.
4791 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
4795 Make sure the class is reffed/unreffed once before threads can be
4796 used. Fixes #304551.
4798 2005-05-17 Wim Taymans <wim@fluendo.com>
4800 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
4801 (gst_basesink_chain_unlocked), (gst_basesink_activate):
4802 * gst/gstminiobject.c: (gst_mini_object_get_type),
4803 (gst_mini_object_free):
4804 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
4805 (gst_pad_push), (gst_pad_push_event):
4806 * gst/gstqueue.c: (gst_queue_change_state):
4807 Don't queue buffers in basesink when we are flushing.
4808 Unref buffer when flushing in basesink.
4809 Flush queue when going to READY
4810 Unref buffer when _push() returns an error.
4811 Don't free MiniObject instance when refcount is incremented
4812 in _finalize() so that we can recover objects.
4814 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
4816 * docs/manual/advanced-schedulers.xml:
4817 * docs/manual/appendix-checklist.xml:
4818 * docs/pwg/advanced-clock.xml:
4819 * docs/pwg/advanced-interfaces.xml:
4820 * docs/pwg/advanced-request.xml:
4821 * docs/pwg/advanced-types.xml:
4822 * docs/pwg/intro-preface.xml:
4823 * examples/plugins/example.c: (gst_example_get_type),
4824 (gst_example_class_init), (gst_example_chain),
4825 (gst_example_set_property), (gst_example_get_property),
4826 (gst_example_change_state), (plugin_init):
4827 * examples/plugins/example.h:
4830 2005-05-17 Wim Taymans <wim@fluendo.com>
4832 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
4833 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
4834 * gst/gstqueue.c: (gst_queue_change_state):
4835 Clear queue when going to READY.
4836 Remove IN_SETCAPS flag too.
4838 2005-05-17 Tim-Philipp M??ller <tim at centricular dot net>
4840 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
4841 Remove implicit cast from gboolean to GstElementStateReturn;
4842 make sure we still return failure in paused => ready case if
4843 the parent class fails to change state and our own stop
4846 2005-05-17 Wim Taymans <wim@fluendo.com>
4848 * tools/gst-launch.c: (event_loop):
4849 Message was unreffed too soon.
4851 2005-05-16 Andy Wingo <wingo@pobox.com>
4853 * gst/gstbin.c (sink_iterator_filter): Err... um...
4855 * check/gst/gstbin.c (test_ghost_pads): New test for the
4856 ghosting-if-elements-not-in-same-bin behavior.
4858 2005-05-16 David Schleef <ds@schleef.org>
4860 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
4861 accessing refcount directly.
4863 2005-05-15 David Schleef <ds@schleef.org>
4865 * check/Makefile.am: remove GstData checks
4866 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
4867 * gst/Makefile.am: add miniobject, remove data
4868 * gst/gst.h: add miniobject, remove data
4869 * gst/gstdata.c: remove
4870 * gst/gstdata.h: remove
4871 * gst/gstdata_private.h: remove
4872 * gst/gsttypes.h: remove GstEvent and GstMessage
4873 * gst/gstelement.c: (gst_element_post_message): fix for API changes
4874 * gst/gstmarshal.list: change BOXED -> OBJECT
4876 Implement GstMiniObject.
4877 * gst/gstminiobject.c:
4878 * gst/gstminiobject.h:
4880 Modify to be subclasses of GstMiniObject.
4881 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
4882 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
4883 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
4884 (gst_subbuffer_get_type), (gst_subbuffer_init),
4885 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
4888 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
4889 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
4890 (_gst_event_copy), (gst_event_new):
4892 * gst/gstmessage.c: (_gst_message_initialize),
4893 (gst_message_get_type), (gst_message_class_init),
4894 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
4895 (gst_message_new), (gst_message_new_error),
4896 (gst_message_new_warning), (gst_message_new_tag),
4897 (gst_message_new_state_changed), (gst_message_new_application):
4899 * gst/gstprobe.c: (gst_probe_perform),
4900 (gst_probe_dispatcher_dispatch):
4902 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
4903 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
4904 (_gst_query_copy), (gst_query_new):
4906 Update elements for GstData -> GstMiniObject changes
4908 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
4909 (gst_queue_chain), (gst_queue_loop):
4910 * gst/elements/gstbufferstore.c:
4911 (gst_buffer_store_add_buffer_func),
4912 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
4913 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
4914 (gst_fakesink_render):
4915 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
4916 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
4917 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
4918 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
4919 (gst_filesrc_create_read):
4920 * gst/elements/gstidentity.c: (gst_identity_class_init):
4921 * gst/elements/gsttypefindelement.c:
4922 (gst_type_find_element_src_event), (free_entry_buffers),
4923 (gst_type_find_element_handle_event):
4924 * libs/gst/dataprotocol/dataprotocol.c:
4925 (gst_dp_header_from_buffer):
4926 * libs/gst/dataprotocol/dataprotocol.h:
4927 * libs/gst/dataprotocol/dp-private.h:
4929 2005-05-15 David Schleef <ds@schleef.org>
4931 * gst/elements/gstelements.c: Don't include headers that were
4934 2005-05-15 David Schleef <ds@schleef.org>
4936 * gst/elements/Makefile.am: Remove some elements that don't
4937 need to be in the core (or even exist at all).
4938 * gst/elements/gstaggregator.c:
4939 * gst/elements/gstaggregator.h:
4940 * gst/elements/gstmd5sink.c:
4941 * gst/elements/gstmd5sink.h:
4942 * gst/elements/gstmultifilesrc.c:
4943 * gst/elements/gstmultifilesrc.h:
4944 * gst/elements/gstpipefilter.c:
4945 * gst/elements/gstpipefilter.h:
4946 * gst/elements/gstshaper.c:
4947 * gst/elements/gstshaper.h:
4948 * gst/elements/gststatistics.c:
4949 * gst/elements/gststatistics.h:
4950 * po/POTFILES.in: Remove above files.
4952 2005-05-14 Andy Wingo <wingo@pobox.com>
4954 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
4955 so as to get the refs right.
4956 (sink_iterator_filter): New function, wraps bin_element_is_sink,
4957 unreffing objects that don't pass the filter.
4959 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
4960 gst_element_set_bus.
4961 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
4962 normal cases, this will destroy the bus.
4964 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
4967 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
4970 2005-05-13 Andy Wingo <wingo@pobox.com>
4972 * gst/gstutils.c (gst_element_link_pads): Instead of calling
4973 gst_pad_link, call pad_link_maybe_ghosting,
4974 (pad_link_maybe_ghosting): Links pads, making sure that the
4975 elements being linked are in the same bin.
4976 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
4977 Helpers for pad_link_maybe_ghosting.
4979 2005-05-13 Tim-Philipp M??ller <tim at centricular dot net>
4982 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
4984 2005-05-13 Tim-Philipp M??ller <tim at centricular dot net>
4986 * docs/design/part-element-source.txt:
4989 2005-05-12 Wim Taymans <wim@fluendo.com>
4991 * gst/base/gstbasesink.c: (gst_basesink_init),
4992 (gst_basesink_activate):
4993 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
4994 (gst_basesrc_is_seekable):
4995 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4996 (bin_element_is_sink), (gst_bin_change_state):
4997 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
4999 Identify sinks by their flag to avoid overly complicated
5001 Do state changes even for elements not reachable from the
5003 BaseSink is a sink now :)
5004 Some more debugging info in the basesrc.
5007 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5009 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
5010 Implement _query on a bin, similar to _send_event.
5012 2005-05-12 Tim-Philipp M??ller <tim at centricular dot net>
5014 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
5015 Discont event offset format should be GST_FORMAT_BYTES,
5016 not GST_FORMAT_TIME.
5018 2005-05-12 Wim Taymans <wim@fluendo.com>
5020 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
5021 Same fix as Ronald's but without the signal.
5023 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5025 * gst/gstutils.c: (gst_element_query_position):
5026 No, an element is not a pad.
5028 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5030 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
5031 (gst_bin_get_state):
5032 If a child is removed from a bin while we remove the child from
5033 the bin and while we're retrieving its state, signal this to the
5034 get_state function so we abort the wait (instead of waiting for
5035 a timeout) and can immediately re-iterate over all other elements.
5037 2005-05-12 Wim Taymans <wim@fluendo.com>
5039 * gst/base/Makefile.am:
5040 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
5041 (gst_basesrc_start):
5042 * gst/base/gstbasesrc.h:
5043 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
5044 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
5045 (gst_pushsrc_init), (gst_pushsrc_create):
5046 * gst/base/gstpushsrc.h:
5047 Added is_seekable to BaseSrc
5048 Added simple PushSrc.
5050 2005-05-11 Wim Taymans <wim@fluendo.com>
5052 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
5053 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
5054 (gst_element_link_pads), (gst_element_query_position),
5055 (gst_element_query_convert), (intersect_caps_func),
5056 (gst_pad_query_position), (gst_pad_query_convert):
5057 Fix refcounting in utils function.
5058 No point in trying to activate a pad when it's added, it could
5059 be added from the state change function and then we deadlock, the
5060 element has to decide what to do.
5062 2005-05-10 Andy Wingo <wingo@pobox.com>
5064 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
5065 *all* the arguments.
5067 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
5068 stream lock if it's a FLUSH_DONE; normal flushes don't get the
5069 lock (according to the docs -- if this is wrong change the docs).
5071 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
5072 flush messages in the NULL state.
5074 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
5075 message immediately and return.
5076 (gst_bus_set_flushing): New function. If a bus is flushing, it
5077 flushes out any queued messages and immediately unrefs new
5078 messages. This is so when an element goes to NULL, all of the
5079 unhandled messages coming from it can be freed, and their
5080 references to the element dropped. In other words: message source
5081 ref considered harmful :P
5083 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
5084 we're finished with it.
5086 * gst/gstmessage.c (gst_message_new_state_changed):
5088 2005-05-10 Wim Taymans <wim@fluendo.com>
5090 * gst/gstvalue.c: (gst_value_compare_flags),
5091 (gst_value_serialize_flags), (gst_value_deserialize_flags),
5092 (_gst_value_initialize):
5093 Added flags serialize/deserialize/compare code.
5095 2005-05-09 Andy Wingo <wingo@pobox.com>
5097 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
5098 Intersect the peer's caps with our caps.
5100 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5102 * gst/base/gsttypefindhelper.c: (helper_find_peek):
5103 * gst/elements/gsttypefindelement.c: (find_peek):
5104 Handle negative offsets better. Fixes decodebin.
5106 2005-05-09 Wim Taymans <wim@fluendo.com>
5108 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
5109 (gst_base_transform_event):
5110 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
5111 Implement accept_caps.
5112 Fix silly lock/unlock mismatch in base class.
5114 2005-05-09 Wim Taymans <wim@fluendo.com>
5116 * docs/design/draft-push-pull.txt:
5117 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
5118 * gst/elements/gstfilesink.c: (gst_filesink_init),
5119 (gst_filesink_query):
5120 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
5121 (gst_type_find_handle_src_query), (find_element_get_length):
5122 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
5126 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
5127 (gst_real_pad_get_caps_unlocked),
5128 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
5129 (gst_pad_event_default_dispatch), (gst_pad_event_default),
5130 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
5131 (gst_real_pad_dispose), (gst_real_pad_finalize),
5132 (gst_pad_load_and_link), (gst_pad_save_thyself),
5133 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
5134 (gst_pad_check_pull_range), (gst_pad_pull_range),
5135 (gst_pad_template_get_type), (gst_pad_template_class_init),
5136 (gst_pad_template_init), (gst_pad_template_dispose),
5137 (name_is_valid), (gst_static_pad_template_get),
5138 (gst_pad_template_new), (gst_static_pad_template_get_caps),
5139 (gst_pad_template_get_caps), (gst_pad_set_element_private),
5140 (gst_pad_get_element_private), (gst_pad_start_task),
5141 (gst_pad_pause_task), (gst_pad_stop_task),
5142 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
5143 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
5144 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
5145 (gst_ghost_pad_new):
5147 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
5148 (gst_query_new_position), (gst_query_set_position),
5149 (gst_query_parse_position), (gst_query_new_convert),
5150 (gst_query_set_convert), (gst_query_parse_convert):
5152 * gst/gstqueryutils.c:
5153 * gst/gstqueryutils.h:
5154 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
5155 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
5156 (gst_queue_handle_src_query):
5157 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
5158 (gst_element_query_position), (gst_element_query_convert),
5159 (intersect_caps_func), (gst_pad_query_position),
5160 (gst_pad_query_convert):
5162 * tools/gst-inspect.c: (print_pad_info):
5163 * tools/gst-xmlinspect.c: (print_element_info):
5164 Remove old query functions. Ported old code.
5165 Added position/convert helper functions to gstutils.
5166 Reordered gstpad.c code, grouping relevant things.
5167 Remove gst_message_new(), always need to speficy a specific
5171 2005-05-09 Andy Wingo <wingo@pobox.com>
5173 * gst/gstiterator.h: Add some includes.
5175 * gst/gstqueryutils.h: Include more headers.
5178 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
5179 some uses of gst_pad_query.
5181 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
5182 NULL out parameters.
5183 (gst_query_new_position): New proc, allocates a new position
5186 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
5187 gstqueryutils.c to the build.
5189 * gst/gststructure.c (gst_structure_set_valist): Implement with
5190 the generic G_VALUE_COLLECT.
5192 2005-05-08 Edward Hervey <bilboed@bilboed.com>
5194 * gst/Makefile.am: (gst_headers):
5195 Added gstqueryutils.h to the list of headers to install, that was
5196 a 'nachty' move wingo :)
5198 2005-05-06 Andy Wingo <wingo@pobox.com>
5201 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
5202 GstData, init a memchunk.
5203 (standard_definitions): Add a few query types, deprecate a few.
5204 (gst_query_get_type): New proc.
5205 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
5207 (gst_query_new_application, gst_query_get_structure): New public
5210 * docs/design/draft-query.txt: Removed LINKS from the query types,
5211 because all the rest can be dispatched to other pads -- seemed
5212 ugly to have a query that couldn't be dispatched. internal_links
5213 is fine as a pad method.
5215 * gst/gstpad.h: Add query2 as a pad method, add the new functions
5216 in gstpad.c, but maintain binary compatibility for the moment.
5217 Will fix before 0.9 is out.
5219 * gst/gstqueryutils.c:
5220 * gst/gstqueryutils.h: New files, implement 3 methods for each
5221 query type: parse_query, parse_response, and set. Probably need an
5224 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
5226 * gst/elements/gstfilesink.c (gst_filesink_query2):
5227 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
5228 query_types, and formats methods.
5230 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
5231 (gst_pad_set_query2_function): New functions.
5232 (gst_real_pad_init): Set query2_default as the default query2
5233 function. Basically just dispatches to internally linked pads.
5237 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
5238 without using the atomic operations. Only one thread can possibly
5239 be accessing the data at this point. Changed so as to avoid
5240 gst_atomic operations.
5242 2005-05-06 Wim Taymans <wim@fluendo.com>
5244 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
5245 Also set caps if we use the fallback buffer alloc.
5247 2005-05-06 Tim-Philipp M??ller <tim at centricular dot net>
5249 * docs/gst/Makefile.am:
5250 * docs/gst/gstreamer-docs.sgml:
5251 * docs/gst/gstreamer-sections.txt:
5252 * docs/gst/tmpl/gstatomic.sgml:
5253 * docs/gst/tmpl/gstmemchunk.sgml:
5254 * testsuite/elements/struct_i386.h:
5255 * win32/GStreamer.vcproj:
5257 Purge GstAtomic stuff from docs and win32 makefiles as well
5259 2005-05-06 Wim Taymans <wim@fluendo.com>
5261 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
5262 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
5263 * gst/gstpad.c: (gst_pad_peer_get_caps):
5264 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
5265 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
5266 (gst_queue_src_activate), (gst_queue_change_state):
5268 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
5269 (intersect_caps_func):
5270 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
5271 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
5272 Some fixes for the peer_get_caps() change.
5274 2005-05-06 Wim Taymans <wim@fluendo.com>
5276 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5277 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
5278 (gst_basesink_activate):
5279 Actually do something with error codes returned from the push
5282 2005-05-06 Wim Taymans <wim@fluendo.com>
5284 * docs/design/part-element-sink.txt:
5285 * docs/design/part-element-source.txt:
5286 * gst/base/gstbasesink.c: (gst_basesink_class_init),
5287 (gst_basesink_event), (gst_basesink_activate):
5288 * gst/base/gstbasesink.h:
5289 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
5290 (gst_basesrc_activate):
5291 * gst/base/gstbasesrc.h:
5292 * gst/gstelement.c: (gst_element_pads_activate):
5293 Some more documentation.
5294 Fixed scheduling decision in _pads_activate().
5296 2005-05-05 Andy Wingo <wingo@pobox.com>
5298 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
5301 2005-05-05 Wim Taymans <wim@fluendo.com>
5303 * gst/base/Makefile.am:
5304 * gst/base/gstbasesink.h:
5305 * gst/base/gstbasesrc.c: (gst_basesrc_init),
5306 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
5307 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
5308 (gst_collectpads_class_init), (gst_collectpads_init),
5309 (gst_collectpads_finalize), (gst_collectpads_new),
5310 (gst_collectpads_set_function), (gst_collectpads_add_pad),
5311 (find_pad), (gst_collectpads_remove_pad),
5312 (gst_collectpads_is_active), (gst_collectpads_collect),
5313 (gst_collectpads_collect_range), (gst_collectpads_start),
5314 (gst_collectpads_stop), (gst_collectpads_peek),
5315 (gst_collectpads_pop), (gst_collectpads_available),
5316 (gst_collectpads_read), (gst_collectpads_flush),
5317 (gst_collectpads_chain):
5318 * gst/base/gstcollectpads.h:
5319 * gst/elements/Makefile.am:
5320 * gst/elements/gstelements.c:
5321 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
5322 (gst_fakesink_get_times), (gst_fakesink_event),
5323 (gst_fakesink_preroll), (gst_fakesink_render):
5324 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
5325 (gst_filesink_init), (gst_filesink_set_location),
5326 (gst_filesink_open_file), (gst_filesink_close_file),
5327 (gst_filesink_pad_query), (gst_filesink_event),
5328 (gst_filesink_render), (gst_filesink_change_state):
5329 * gst/elements/gstfilesink.h:
5330 Added object to help in making collect pad based elements.
5332 Make event function in sink baseclass return gboolean.
5334 2005-05-05 Wim Taymans <wim@fluendo.com>
5336 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
5337 (gst_bin_get_by_name):
5339 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
5340 (gst_clock_finalize):
5341 * gst/gstdata.c: (gst_data_replace):
5343 * gst/gstelement.c: (gst_element_request_pad),
5344 (gst_element_pads_activate):
5345 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
5347 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
5348 (gst_pad_set_checkgetrange_function),
5349 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
5350 (gst_pad_check_pull_range), (gst_pad_pull_range),
5351 (gst_static_pad_template_get_caps), (gst_pad_start_task),
5352 (gst_pad_pause_task), (gst_pad_stop_task):
5353 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
5354 (gst_element_request_pad), (gst_pad_proxy_getcaps):
5355 Fix name lookup in GstBin.
5356 Added _data_replace() function and _buffer_replace()
5357 Use finalize method to clean up clock.
5358 Fix refcounting on request pads.
5359 Fix pad schedule mode error.
5360 Some more object refcounting debug info,
5363 2005-05-04 Andy Wingo <wingo@pobox.com>
5365 * check/Makefile.am:
5366 * docs/gst/tmpl/gstatomic.sgml:
5367 * docs/gst/tmpl/gstplugin.sgml:
5368 * gst/base/gstbasesink.c: (gst_basesink_activate):
5369 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
5370 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
5371 (gst_basesrc_query), (gst_basesrc_set_property),
5372 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
5373 (gst_basesrc_activate):
5374 * gst/base/gstbasesrc.h:
5375 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
5376 (gst_base_transform_src_activate):
5377 * gst/elements/gstelements.c:
5378 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5379 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
5380 * gst/elements/gsttee.c: (gst_tee_sink_activate):
5381 * gst/elements/gsttypefindelement.c: (find_element_get_length),
5382 (gst_type_find_element_checkgetrange),
5383 (gst_type_find_element_activate):
5384 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
5385 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
5386 (gst_caps_load_thyself):
5387 * gst/gstelement.c: (gst_element_pads_activate),
5388 (gst_element_save_thyself), (gst_element_restore_thyself):
5389 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
5390 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
5392 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
5393 (gst_xml_parse_file), (gst_xml_parse_memory),
5394 (gst_xml_get_element), (gst_xml_make_element):
5395 * gst/indexers/gstfileindex.c: (gst_file_index_load),
5396 (_file_index_id_save_xml), (gst_file_index_commit):
5397 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
5398 (read_enum), (load_pad_template), (load_feature), (load_plugin),
5400 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
5401 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
5402 * tools/gst-complete.c: (main):
5403 * tools/gst-compprep.c: (main):
5404 * tools/gst-inspect.c: (print_element_properties_info):
5405 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
5406 * tools/gst-xmlinspect.c: (print_element_properties):
5409 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
5411 * gst/gstplugin.c: (gst_plugin_check_module),
5412 (gst_plugin_check_file), (gst_plugin_load_file):
5413 apply patch from #172526 to make register work on MacOSX
5415 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
5417 * docs/gst/tmpl/gstconfig.sgml:
5418 * gst/gstconfig.h.in:
5419 move documentation for some symbols. Add doc for GST_PTR_FORMAT
5420 * testsuite/debug/printf_extension.c: (main):
5421 Do not use GST_PTR_FORMAT on pointers to types with
5422 sizeof < sizeof(gpointer). Fixes test on 64-bit
5423 * testsuite/elements/property.h:
5424 use correct printf format
5426 2005-05-02 Wim Taymans <wim@fluendo.com>
5428 * docs/design/draft-push-pull.txt:
5429 * docs/design/draft-query.txt:
5430 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
5431 (gst_basesrc_start):
5432 Added draft for new query API.
5433 Added draft for better selecting scheduling methods.
5434 Make basesrc ignore length if the subclass does not support
5437 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
5440 possible fixes for automake-1.5 - _LIBADD is reserved
5442 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
5444 * docs/faq/Makefile.am:
5445 * docs/manual/Makefile.am:
5447 * docs/pwg/Makefile.am:
5449 possible fixes for automake-1.5
5451 2005-04-28 Wim Taymans <wim@fluendo.com>
5453 * gst/base/gstbasesink.c: (gst_basesink_base_init),
5454 (gst_basesink_pad_getcaps), (gst_basesink_init),
5455 (gst_basesink_do_sync):
5456 * gst/gstclock.c: (gst_clock_entry_new):
5457 * gst/gstevent.c: (gst_event_discont_get_value):
5458 * gst/gstpipeline.c: (pipeline_bus_handler),
5459 (gst_pipeline_change_state):
5460 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5461 Better debugging of clocking info.
5462 Allow NULL values when getting discont values.
5464 2005-04-27 Wim Taymans <wim@fluendo.com>
5466 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
5467 * check/gst/gstpad.c: (gst_pad_suite):
5468 Increase timeout for checks.
5470 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5472 * check/Makefile.am:
5473 fix the broken rule for cleanup. Apparently this rule is
5474 only needed on FC2, so maybe this warrants further autotool
5477 2005-04-26 Wim Taymans <wim@fluendo.com>
5479 * gst/gsttrashstack.h:
5480 Ooohh. a nasty one! After having a failed pop() from the stack,
5481 it's possible that the stack is empty. In that case, don't
5482 follow the NULL pointer.
5484 2005-04-25 Wim Taymans <wim@fluendo.com>
5486 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
5487 (gst_pad_set_checkgetrange_function),
5488 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
5489 (gst_pad_check_pull_range), (gst_pad_pull_range),
5490 (gst_static_pad_template_get_caps), (gst_pad_start_task),
5491 (gst_pad_pause_task), (gst_pad_stop_task):
5492 * gst/gstplugin.c: (gst_plugin_load):
5494 Remove gst_library_load as it does more harm than good with
5495 the new g_module flags.
5496 Revert bogus caps template check in pad linking, pad caps
5497 are important when linking not the template, which is more
5498 general than the current caps.
5500 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5502 * gst/autoplug/.cvsignore:
5503 * gst/autoplug/Makefile.am:
5504 * gst/autoplug/gstsearchfuncs.c:
5505 * gst/autoplug/gstsearchfuncs.h:
5506 * gst/autoplug/gstspider.c:
5507 * gst/autoplug/gstspider.h:
5508 * gst/autoplug/gstspideridentity.c:
5509 * gst/autoplug/gstspideridentity.h:
5510 * gst/autoplug/spidertest.c:
5513 2005-04-25 Wim Taymans <wim@fluendo.com>
5515 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
5516 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
5517 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
5518 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
5520 Added stubs for unimplemented functions.
5522 2005-04-24 David Schleef <ds@schleef.org>
5524 * gst/gstpad.h: Disable some unimplemented functions. Wim,
5527 2005-04-24 David Schleef <ds@schleef.org>
5529 Convert everything from GstAtomicInt to g_atomic_int_*, and
5534 * gst/gstatomic_impl.h:
5542 * gst/gstdata_private.h:
5549 * gst/gststructure.c:
5550 * gst/gststructure.h:
5551 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
5554 2005-04-24 David Schleef <ds@schleef.org>
5556 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
5557 make the regressions tests work. Remove some code that is no
5559 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
5560 Disable warning for pads without templates.
5562 2005-04-24 David Schleef <ds@schleef.org>
5564 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
5565 functions that handle filtered links.
5566 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
5568 * gst/gstutils.c: Fix/remove utility functions that handle
5571 * gst/gstvalue.c: Add serialization/deserialization of caps
5572 * gst/parse/grammar.y: Ignore filtered caps when linking. This
5573 requires fixing so that the filter caps notation creates
5574 a capsfilter element and sets the filter_caps property. I
5575 think everyone probably wants to keep the shorthand notation.
5576 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
5577 * docs/gst/tmpl/gstpad.sgml:
5579 * gst/elements/gstelements.c: Register capsfilter element.
5580 * gst/Makefile.am: fix spacing
5581 * docs/random/ds/0.9-suggested-changes: random
5583 2005-04-23 David Schleef <ds@schleef.org>
5585 * gst/elements/Makefile.am:
5586 * gst/elements/gstcapsfilter.c: New element that acts like an
5587 identity, but filters caps. Will eventually replace filtered
5588 caps in pad linking.
5589 * gst/gstutils.c: (gst_element_create_all_pads): New function
5590 to create all the ALWAYS pads that are registered with an
5591 element class. This functionality should eventually be
5592 merged in with GstElement initialization.
5594 * testsuite/trigger/README: part of trigger test code that should
5595 have been checked in a long time ago.
5597 2005-04-23 David Schleef <ds@schleef.org>
5599 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
5600 needed with new versions of libtool (nobody will confirm this),
5601 and hard to carry around.
5602 * gst/autoplug/Makefile.am:
5603 * gst/base/Makefile.am:
5604 * gst/elements/Makefile.am:
5605 * gst/indexers/Makefile.am:
5606 * gst/schedulers/Makefile.am:
5607 * libs/gst/bytestream/Makefile.am:
5608 * libs/gst/control/Makefile.am:
5609 * libs/gst/dataprotocol/Makefile.am:
5610 * libs/gst/getbits/Makefile.am:
5612 2005-04-21 Wim Taymans <wim@fluendo.com>
5614 * docs/design/draft-push-pull.txt:
5615 * docs/design/part-MT-refcounting.txt:
5616 * docs/design/part-TODO.txt:
5617 * docs/design/part-caps.txt:
5618 * docs/design/part-events.txt:
5619 * docs/design/part-gstbus.txt:
5620 * docs/design/part-gstpipeline.txt:
5621 * docs/design/part-messages.txt:
5622 * docs/design/part-push-pull.txt:
5623 * docs/design/part-query.txt:
5626 2005-04-21 Wim Taymans <wim@fluendo.com>
5628 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
5629 (gst_message_new), (gst_message_new_error),
5630 (gst_message_new_warning), (gst_message_new_tag),
5631 (gst_message_new_state_changed), (gst_message_new_application),
5632 (gst_message_get_structure):
5634 * gst/gststructure.c: (gst_structure_set_parent_refcount),
5635 (gst_structure_copy_conditional):
5636 Use parent refcount in GstMessage to ensure GstStructure
5638 Cleaned up headers a bit.
5641 2005-04-20 Wim Taymans <wim@fluendo.com>
5643 * gst/base/gstbasesink.c: (gst_basesink_base_init),
5644 (gst_basesink_pad_getcaps), (gst_basesink_init),
5645 (gst_basesink_chain_unlocked):
5646 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
5647 (gst_type_find_helper):
5648 * gst/elements/gsttypefindelement.c:
5649 (gst_type_find_element_have_type), (gst_type_find_element_init),
5650 (stop_typefinding), (gst_type_find_element_handle_event),
5651 (find_suggest), (gst_type_find_element_chain),
5652 (gst_type_find_element_checkgetrange),
5653 (gst_type_find_element_getrange), (do_typefind),
5654 (gst_type_find_element_activate):
5655 * gst/gstbuffer.c: (_gst_buffer_sub_free),
5656 (gst_buffer_default_free), (gst_buffer_default_copy),
5657 (gst_buffer_set_caps):
5658 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
5660 * gst/gstmessage.c: (gst_message_new),
5661 (gst_message_new_state_changed):
5662 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
5663 (gst_pad_set_checkgetrange_function),
5664 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
5665 (gst_pad_set_caps), (gst_pad_check_pull_range),
5666 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
5668 * gst/gsttypefind.c: (gst_type_find_register):
5669 Make gst_caps_replace() work like other _replace() functions.
5670 Use _caps_replace() where possible.
5671 Make sure _message_new() initialises its field.
5672 Add gst_static_pad_template_get_caps()
5675 2005-04-18 Andy Wingo <wingo@pobox.com>
5677 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
5678 on the peer, not the pad. I think that was a typo. Pass an extra
5679 arg to see if random access is possible. Activate the pads as
5680 PULL_RANGE if possible.
5682 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
5684 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
5685 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
5688 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5690 * docs/faq/using.xml:
5691 Add note on gstreamer-properties (#154996).
5693 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5695 * docs/random/bbb/optional-properties:
5696 Some analysis on optional properties.
5698 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5700 * docs/gst/tmpl/gstelementfactory.sgml:
5702 * gst/gstelementfactory.c: (gst_element_factory_init),
5703 (gst_element_factory_cleanup), (gst_element_register),
5704 (__gst_element_factory_add_static_pad_template),
5705 (gst_element_factory_get_static_pad_templates),
5706 (gst_element_factory_can_src_caps),
5707 (gst_element_factory_can_sink_caps):
5708 * gst/registries/Makefile.am:
5709 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
5710 (gst_xml_registry_class_init), (gst_xml_registry_init),
5711 (gst_xml_registry_new), (gst_xml_registry_set_property),
5712 (gst_xml_registry_get_property), (get_time), (make_dir),
5713 (gst_xml_registry_get_perms_func),
5714 (plugin_times_older_than_recurse), (plugin_times_older_than),
5715 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
5716 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
5717 (add_to_char_array), (read_string), (read_uint), (read_enum),
5718 (load_pad_template), (load_feature), (load_plugin), (load_paths),
5719 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
5720 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
5721 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
5722 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
5723 (gst_xml_registry_rebuild):
5724 * gst/registries/gstlibxmlregistry.h:
5725 * tools/gst-compprep.c: (main):
5726 * tools/gst-inspect.c: (print_pad_templates_info):
5727 * tools/gst-xmlinspect.c: (print_element_info):
5728 Use libxml2 for registry parsing, use staticpadtemplates in
5729 elementfactories. Makes gst_init() +/- 10x faster.
5731 2005-04-12 Wim Taymans <wim@fluendo.com>
5733 * gst/base/Makefile.am:
5734 * gst/base/gstbasesink.c: (gst_basesink_base_init),
5735 (gst_basesink_pad_getcaps), (gst_basesink_init),
5736 (gst_basesink_event), (gst_basesink_change_state):
5737 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
5738 (gst_basesrc_init), (gst_basesrc_query),
5739 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
5740 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
5741 (gst_basesrc_check_get_range), (gst_basesrc_loop),
5742 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
5743 (gst_basesrc_stop), (gst_basesrc_activate),
5744 (gst_basesrc_change_state):
5745 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5746 (helper_find_suggest), (gst_type_find_helper):
5747 * gst/base/gsttypefindhelper.h:
5748 * gst/elements/Makefile.am:
5749 * gst/elements/gstelements.c:
5750 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
5751 (gst_fakesink_get_times), (gst_fakesink_event),
5752 (gst_fakesink_preroll), (gst_fakesink_render):
5753 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5754 (gst_fakesrc_init), (gst_fakesrc_event_handler),
5755 (gst_fakesrc_get_property), (gst_fakesrc_create),
5756 (gst_fakesrc_start), (gst_fakesrc_stop):
5757 * gst/elements/gstfakesrc.h:
5758 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
5759 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
5760 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
5761 (gst_filesrc_create_read), (gst_filesrc_create),
5762 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
5763 (gst_filesrc_start):
5764 * gst/elements/gsttypefindelement.c:
5765 (gst_type_find_element_have_type), (gst_type_find_element_init),
5766 (start_typefinding), (stop_typefinding), (push_buffer_store),
5767 (gst_type_find_element_handle_event),
5768 (gst_type_find_element_chain),
5769 (gst_type_find_element_checkgetrange),
5770 (gst_type_find_element_getrange), (do_typefind),
5771 (gst_type_find_element_activate),
5772 (gst_type_find_element_change_state):
5773 * gst/elements/gsttypefindelement.h:
5774 * gst/gstpipeline.c: (pipeline_bus_handler):
5775 Added typefind helper.
5776 Small preroll fix in the base sink.
5777 Disable typefind code in basesrc.
5778 Crude port of typefindelement.
5782 2005-04-11 Wim Taymans <wim@fluendo.com>
5784 * check/gst/gstbus.c: (gstbus_suite):
5785 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
5787 Fix up the timeout so that the test does not fail.
5789 2005-04-06 Wim Taymans <wim@fluendo.com>
5792 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
5793 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
5794 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
5795 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
5796 (gst_basesrc_check_get_range), (gst_basesrc_loop),
5797 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
5798 (gst_basesrc_stop), (gst_basesrc_activate),
5799 (gst_basesrc_change_state), (basesrc_find_peek),
5800 (basesrc_find_suggest), (gst_basesrc_type_find):
5801 * gst/base/gstbasesrc.h:
5802 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
5803 (gst_filesrc_class_init), (gst_filesrc_init),
5804 (gst_filesrc_finalize), (gst_filesrc_set_location),
5805 (gst_filesrc_set_property), (gst_filesrc_get_property),
5806 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
5807 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
5808 (gst_filesrc_create_read), (gst_filesrc_create),
5809 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
5810 * gst/elements/gstfilesrc.h:
5811 * gst/gstelement.c: (gst_element_get_state_func),
5812 (gst_element_lost_state), (gst_element_pads_activate):
5813 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
5814 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
5815 (gst_pad_pull_range):
5817 More work on the generic source base class, implement seeking,
5819 Make filesrc extend the base source class.
5820 Added gst_pad_set_checkgetrange_function to GstPad.
5822 2005-04-06 Andy Wingo <wingo@pobox.com>
5824 * pkgconfig/gstreamer-base.pc.in:
5825 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
5827 * pkgconfig/Makefile.am:
5828 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
5830 2005-04-04 Wim Taymans <wim@fluendo.com>
5832 * gst/base/Makefile.am:
5834 * gst/base/gstbasesink.c: (gst_basesink_base_init),
5835 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
5836 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
5837 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
5838 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
5839 (gst_basesrc_base_init), (gst_basesrc_class_init),
5840 (gst_basesrc_init), (gst_basesrc_get_formats),
5841 (gst_basesrc_get_query_types), (gst_basesrc_query),
5842 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
5843 (gst_basesrc_set_property), (gst_basesrc_get_property),
5844 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
5845 (gst_basesrc_loop), (gst_basesrc_activate),
5846 (gst_basesrc_change_state):
5847 * gst/base/gstbasesrc.h:
5848 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
5849 (gst_fakesrc_class_init), (gst_fakesrc_init),
5850 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
5851 (gst_fakesrc_get_property), (gst_fakesrc_create):
5852 * gst/elements/gstfakesrc.h:
5853 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
5854 (gst_filesrc_open_file), (gst_filesrc_loop),
5855 (gst_filesrc_activate), (filesrc_find_peek),
5856 (gst_filesrc_type_find):
5857 Made base source class, make fakesrc extend it.
5858 Add comments to basesink class.
5859 Some filesrc cleanup.
5861 2005-03-31 David Schleef <ds@schleef.org>
5863 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
5864 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
5865 expected to link against libgstreamer.
5866 * gst/base/Makefile.am: link against libgstreamer
5867 * gst/elements/Makefile.am: same
5869 2005-03-31 Andy Wingo <wingo@pobox.com>
5871 * tests/instantiate/Makefile.am:
5872 * tests/instantiate/caps.c: Add test to test speed of caps copy
5875 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
5876 GMemChunk to be fair.
5878 * gst/gsttrashstack.h: Remove warning about using the fallback
5879 trash stack implementation, it's still faster than malloc.
5881 2005-03-30 Andy Wingo <wingo@pobox.com>
5883 * tests/complexity.c: Add a copyright.
5885 2005-03-31 Wim Taymans <wim@fluendo.com>
5887 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
5888 (gst_base_transform_class_init), (gst_base_transform_init),
5889 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
5890 (gst_base_transform_get_property),
5891 (gst_base_transform_sink_activate),
5892 (gst_base_transform_src_activate),
5893 (gst_base_transform_change_state):
5894 * gst/base/gstbasetransform.h:
5895 * gst/elements/gstidentity.c: (gst_identity_class_init),
5896 (gst_identity_event), (gst_identity_check_perfect),
5897 (gst_identity_transform), (gst_identity_start),
5898 (gst_identity_stop):
5899 Added start/stop methods to transform base class so subclasses
5900 don't need to deal with state changes even.
5902 2005-03-31 Wim Taymans <wim@fluendo.com>
5904 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
5905 (gst_event_new_discontinuous), (gst_event_discont_get_value):
5907 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
5908 (gst_pad_pull_range):
5909 Added rate to the discont event to prepare for variable speed
5910 and reverse playback.
5912 2005-03-29 David Schleef <ds@schleef.org>
5915 * testsuite/trigger/Makefile.am:
5916 * testsuite/trigger/trigger.c: A little example program to show
5917 how trigger-based elements can work.
5919 2005-03-29 Wim Taymans <wim@fluendo.com>
5921 * gst/base/Makefile.am:
5923 * gst/base/gstbasesink.c: (gst_basesink_get_type),
5924 (gst_basesink_base_init), (gst_basesink_class_init),
5925 (gst_basesink_pad_getcaps), (gst_basesink_init),
5926 (gst_basesink_activate), (gst_basesink_change_state):
5927 * gst/base/gstbasesink.h:
5928 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
5929 (gst_base_transform_base_init), (gst_base_transform_finalize),
5930 (gst_base_transform_class_init), (gst_base_transform_init),
5931 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
5932 (gst_base_transform_event), (gst_base_transform_getrange),
5933 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
5934 (gst_base_transform_set_property),
5935 (gst_base_transform_get_property),
5936 (gst_base_transform_sink_activate),
5937 (gst_base_transform_src_activate),
5938 (gst_base_transform_change_state):
5939 * gst/base/gstbasetransform.h:
5940 * gst/elements/gstidentity.c: (gst_identity_finalize),
5941 (gst_identity_class_init), (gst_identity_init),
5942 (gst_identity_event), (gst_identity_check_perfect),
5943 (gst_identity_transform), (gst_identity_set_property),
5944 (gst_identity_get_property), (gst_identity_change_state):
5945 * gst/elements/gstidentity.h:
5946 * gst/gstelement.c: (gst_element_get_state_func),
5947 (gst_element_lost_state), (gst_element_pads_activate):
5948 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
5949 (gst_pad_check_pull_range), (gst_pad_pull_range):
5951 Simplify pad activation.
5952 Added function to check if pull_range can be performed.
5953 Error out when pulling inactive or flushing pads.
5954 Removed const from refcounted types as it does not make sense.
5955 Simplify pad templates in basesink
5956 Added base class for simple 1-to-1 transforms.
5957 Make identity subclass the base transform.
5959 2005-03-29 Andy Wingo <wingo@pobox.com>
5961 * docs/libs/gstreamer-libs-overrides.txt:
5962 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
5963 really don't understand what's going on, but like whatever. I want
5966 * docs/gst/Makefile.am:
5967 * docs/libs/Makefile.am: Dist the overrides files.
5969 * check/Makefile.am (clean-local): Remove .libs directories.
5971 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
5972 elements to EXTRA_DIST, so po/ files are happy.
5974 * po/POTFILES.in: Er, remove it here.
5976 * po/POTFILES: Remove gstspider.c.
5978 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
5980 * docs/libs/gstreamer-libs-docs.sgml:
5981 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
5984 * tests/complexity.c (main): Set the length of the preroll queue
5985 on the sinks to prevent a lockup.
5987 * libs/gst/dataprotocol/Makefile.am:
5988 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
5989 the same as the one in check/gst-libs/gdp.c.
5991 * po/, docs/gst/: Commit automatic changes to docs and po files.
5993 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
5994 the versioned libgstbase.
5996 * check/Makefile.am: Depend on an unversioned gst-register, seems
5997 to make autoconf happier.
5999 * gst/base/Makefile.am: Make libgstbase a versioned lib.
6001 2005-03-28 Wim Taymans <wim@fluendo.com>
6004 * docs/design/part-gstelement.txt:
6005 * docs/design/part-negotiation.txt:
6006 * docs/design/part-preroll.txt:
6007 * docs/design/part-scheduling.txt:
6008 * docs/design/part-states.txt:
6010 * gst/base/Makefile.am:
6012 * gst/base/gstbasesink.c: (gst_basesink_get_template),
6013 (gst_basesink_base_init), (gst_basesink_class_init),
6014 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
6015 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
6016 (gst_basesink_set_pad_functions),
6017 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
6018 (gst_basesink_set_property), (gst_basesink_get_property),
6019 (gst_base_sink_get_template), (gst_base_sink_get_caps),
6020 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
6021 (gst_basesink_preroll_queue_push),
6022 (gst_basesink_preroll_queue_empty),
6023 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
6024 (gst_basesink_event), (gst_basesink_get_times),
6025 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
6026 (gst_basesink_chain_unlocked), (gst_basesink_chain),
6027 (gst_basesink_loop), (gst_basesink_activate),
6028 (gst_basesink_change_state):
6029 * gst/base/gstbasesink.h:
6030 * gst/elements/Makefile.am:
6031 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
6032 (gst_fakesink_class_init), (gst_fakesink_init),
6033 (gst_fakesink_set_property), (gst_fakesink_get_property),
6034 (gst_fakesink_get_times), (gst_fakesink_event),
6035 (gst_fakesink_preroll), (gst_fakesink_render),
6036 (gst_fakesink_change_state):
6037 * gst/elements/gstfakesink.h:
6038 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
6039 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
6040 * gst/gstelement.c: (gst_element_add_pad),
6041 (gst_element_get_state_func), (gst_element_abort_state),
6042 (gst_element_commit_state), (gst_element_lost_state),
6043 (gst_element_set_state), (gst_element_pads_activate):
6044 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
6045 * gst/gstpipeline.c: (gst_pipeline_send_event),
6046 (gst_pipeline_change_state):
6047 Added state change code.
6049 Added sink base class, make fakesink extend the base class.
6050 Small cleanups in GstPipeline.
6052 2005-03-26 David Schleef <ds@schleef.org>
6054 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
6055 is broken and should be implemented in a different library.
6056 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
6057 * gst/gst.h: remove gstcpu.h
6058 * gst/gstcpu.c: remove
6059 * gst/gstcpu.h: remove
6060 * gst/Makefile.am.future: Remove this file. It's ancient.
6062 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6064 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
6065 (gst_bin_send_event):
6066 Add default event/set_manager handlers. The set_manager handler
6067 takes care that the manager is distributed over kids that were
6068 already in the bin before the manager was set. The event handler
6069 is a utility virtual function that sends the event over all sinks,
6070 so that gst_element_send_event (bin, event); has the expected
6072 * gst/gstpad.c: (gst_pad_event_default):
6073 Re-install default event handling for discontinuities, so that
6074 seeking works without requiring hacks in applications or extra
6076 * gst/gstpipeline.c: (gst_pipeline_class_init),
6077 (gst_pipeline_send_event):
6078 Half hack, half utility: set a pipeline to PAUSED for seek events,
6079 since that is the only way we can guarantee a/v sync. Means that
6080 you can do gst_element_seek (pipeline, method, pos); on a pipeline
6081 and it "just works".
6083 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6085 * gst/gstpipeline.c: (gst_pipeline_use_clock):
6086 Lock/unlock mismatch.
6088 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
6090 * docs/faq/gst-uninstalled:
6091 add gst-plugins-base
6092 * docs/gst/Makefile.am:
6093 don't error out until docs are fixed
6094 * docs/gst/gstreamer.types:
6097 2005-03-22 Wim Taymans <wim@fluendo.com>
6099 * check/Makefile.am:
6100 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
6101 * gst/gststructure.c: (gst_structure_set_valist),
6102 (gst_structure_copy_conditional):
6103 Activated more tests.
6105 Added G_TYPE_POINTER to GstStructure.
6108 2005-03-22 Wim Taymans <wim@fluendo.com>
6110 * docs/design/part-TODO.txt:
6111 * docs/design/part-events.txt:
6112 * docs/design/part-gstbin.txt:
6113 * docs/design/part-gstbus.txt:
6114 * docs/design/part-gstpipeline.txt:
6115 * docs/design/part-messages.txt:
6120 2005-03-21 Wim Taymans <wim@fluendo.com>
6122 * gst/gstbus.c: (gst_bus_post):
6123 Fix copy-and-paste error.
6125 2005-03-21 Wim Taymans <wim@fluendo.com>
6127 * check/Makefile.am:
6129 * gst/elements/Makefile.am:
6130 * gst/elements/gstelements.c:
6131 * gst/elements/gstfakesink.c: (gst_fakesink_init),
6132 (gst_fakesink_event), (gst_fakesink_chain):
6133 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6134 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
6135 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
6136 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
6137 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6138 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
6139 (gst_fakesrc_loop), (gst_fakesrc_activate),
6140 (gst_fakesrc_change_state):
6141 * gst/elements/gstfakesrc.h:
6142 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
6143 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
6144 (gst_filesrc_open_file), (gst_filesrc_loop),
6145 (gst_filesrc_activate), (gst_filesrc_change_state),
6146 (filesrc_find_peek), (filesrc_find_suggest),
6147 (gst_filesrc_type_find):
6148 * gst/elements/gstidentity.c: (gst_identity_finalize),
6149 (gst_identity_class_init), (gst_identity_init),
6150 (gst_identity_proxy_getcaps), (identity_queue_push),
6151 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
6152 (gst_identity_getrange), (gst_identity_chain),
6153 (gst_identity_sink_loop), (gst_identity_src_loop),
6154 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
6155 (gst_identity_set_property), (gst_identity_get_property),
6156 (gst_identity_change_state):
6157 * gst/elements/gstidentity.h:
6158 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6159 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
6160 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
6161 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
6162 (gst_tee_sink_activate):
6163 * gst/elements/gsttee.h:
6164 * gst/gst.c: (gst_register_core_elements), (init_post):
6166 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
6167 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
6168 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
6169 (gst_bin_change_state):
6171 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
6172 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
6173 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
6174 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
6175 (gst_bus_set_sync_handler), (gst_bus_create_watch),
6176 (bus_watch_callback), (bus_watch_destroy),
6177 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
6178 (poll_timeout), (gst_bus_poll):
6182 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
6183 (gst_element_post_message), (gst_element_message_full),
6184 (gst_element_get_state_func), (gst_element_get_state),
6185 (gst_element_abort_state), (gst_element_commit_state),
6186 (gst_element_lost_state), (gst_element_set_state),
6187 (gst_element_pads_activate), (gst_element_change_state),
6188 (gst_element_dispose), (gst_element_set_manager_func),
6189 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
6190 (gst_element_set_manager), (gst_element_get_manager),
6191 (gst_element_set_bus), (gst_element_get_bus),
6192 (gst_element_set_scheduler), (gst_element_get_scheduler):
6194 * gst/gstevent.c: (gst_event_new_segment_seek),
6195 (gst_event_new_flush):
6197 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
6198 (_gst_message_free), (gst_message_get_type), (gst_message_new),
6199 (gst_message_new_eos), (gst_message_new_error),
6200 (gst_message_new_warning), (gst_message_new_tag),
6201 (gst_message_new_state_changed), (gst_message_new_application),
6202 (gst_message_get_structure), (gst_message_parse_tag),
6203 (gst_message_parse_state_changed), (gst_message_parse_error),
6204 (gst_message_parse_warning):
6206 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
6207 (gst_real_pad_set_property), (gst_pad_set_active),
6208 (gst_pad_is_active), (gst_pad_set_blocked_async),
6209 (gst_pad_set_blocked), (gst_pad_is_blocked),
6210 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
6211 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
6212 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
6213 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
6214 (gst_pad_link_filtered), (gst_pad_relink_filtered),
6215 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
6216 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
6217 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
6218 (gst_pad_set_caps), (gst_pad_configure_sink),
6219 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
6220 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
6221 (gst_real_pad_dispose), (gst_real_pad_finalize),
6222 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
6223 (gst_pad_event_default_dispatch), (gst_pad_event_default),
6224 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
6226 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
6227 (pipeline_bus_handler), (gst_pipeline_change_state),
6228 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
6229 * gst/gstpipeline.h:
6231 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
6232 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
6233 (gst_queue_link_src), (gst_queue_bufferalloc),
6234 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
6235 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
6236 (gst_queue_loop), (gst_queue_handle_src_event),
6237 (gst_queue_handle_src_query), (gst_queue_src_activate),
6238 (gst_queue_change_state):
6240 * gst/gstscheduler.c: (gst_scheduler_init),
6241 (gst_scheduler_dispose), (gst_scheduler_create_task),
6242 (gst_scheduler_factory_create):
6243 * gst/gstscheduler.h:
6244 * gst/gststructure.c: (gst_structure_get_type),
6245 (gst_structure_copy_conditional):
6246 * gst/gststructure.h:
6247 * gst/gsttaginterface.h:
6248 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6249 (gst_task_init), (gst_task_dispose), (gst_task_create),
6250 (gst_task_get_state), (gst_task_start), (gst_task_stop),
6256 * gst/schedulers/Makefile.am:
6257 * gst/schedulers/cothreads_compat.h:
6258 * gst/schedulers/entryscheduler.c:
6259 * gst/schedulers/faircothreads.c:
6260 * gst/schedulers/faircothreads.h:
6261 * gst/schedulers/fairscheduler.c:
6262 * gst/schedulers/gstbasicscheduler.c:
6263 * gst/schedulers/gstoptimalscheduler.c:
6264 * gst/schedulers/gthread-cothreads.h:
6265 * gst/schedulers/threadscheduler.c:
6266 (gst_thread_scheduler_task_get_type),
6267 (gst_thread_scheduler_task_class_init),
6268 (gst_thread_scheduler_task_init),
6269 (gst_thread_scheduler_task_start),
6270 (gst_thread_scheduler_task_stop),
6271 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
6272 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
6273 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
6274 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
6276 * libs/gst/Makefile.am:
6277 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
6278 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
6279 (gst_file_pad_parent_set):
6280 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6281 (gst_dp_event_from_packet):
6282 * tests/complexity.c: (main):
6283 * tests/mass_elements.c: (main):
6284 * testsuite/states/locked.c: (message_received), (main):
6285 * testsuite/states/parent.c: (main):
6286 * tools/gst-inspect.c: (print_element_flag_info),
6287 (print_implementation_info), (print_pad_info):
6288 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
6290 * tools/gst-md5sum.c: (event_loop), (main):
6291 * tools/gst-typefind.c: (main):
6292 * tools/gst-xmlinspect.c: (print_element_info):
6294 Added GstBus for mainloop integration.
6295 Added GstMessage for sending notifications on the bus.
6296 Added GstTask as an abstraction for pipeline entry points.
6299 Simplified GstQueue for multithreaded core.
6300 Made _link threadsafe, removed old capsnego.
6301 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
6302 Added pad blocking functions.
6303 Reworked scheduling functions in GstPad to prepare for
6304 scheduling updates soon.
6305 Moved events out of data stream.
6306 Simplified GstEvent types.
6307 Added return values to push/pull.
6308 Removed clocking from GstElement.
6309 Added prototypes for state change function for next merge.
6310 Removed iterate from bins and state change management.
6311 Fixed some elements, disabled others for now.
6312 Fixed -inspect and -launch.
6313 Added check for GstBus.
6315 2005-03-10 Wim Taymans <wim@fluendo.com>
6317 * docs/design/part-MT-refcounting.txt:
6318 * docs/design/part-clocks.txt:
6319 * docs/design/part-gstelement.txt:
6320 * docs/design/part-gstobject.txt:
6321 * docs/design/part-standards.txt:
6322 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
6323 (gst_bin_remove_func), (gst_bin_remove):
6327 * testsuite/clock/clock1.c: (main):
6328 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
6330 * testsuite/dlopen/loadgst.c: (do_test):
6331 * testsuite/refcounting/bin.c: (add_remove_test1),
6332 (add_remove_test2), (main):
6333 * testsuite/refcounting/element.c: (main):
6334 * testsuite/refcounting/element_pad.c: (main):
6335 * testsuite/refcounting/pad.c: (main):
6336 * tools/gst-launch.c: (sigint_handler_sighandler):
6337 * tools/gst-typefind.c: (main):
6339 Added doc about clock.
6340 removed gst_bin_iterate_recurse_up(), marked methods
6342 Fix more testsuites.
6344 2005-03-09 Wim Taymans <wim@fluendo.com>
6346 * gst/gstpad.c: (gst_pad_get_direction),
6347 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
6348 (gst_pad_collect_valist):
6349 * testsuite/bins/interface.c: (main):
6350 * testsuite/caps/audioscale.c: (test_caps):
6351 * testsuite/caps/caps.c: (test1), (test2), (test3):
6352 * testsuite/caps/deserialize.c: (main):
6353 * testsuite/caps/enumcaps.c: (main):
6354 * testsuite/caps/filtercaps.c: (main):
6355 * testsuite/caps/intersect2.c: (main):
6356 * testsuite/caps/random.c: (main):
6357 * testsuite/caps/renegotiate.c: (my_fixate), (main):
6358 * testsuite/caps/sets.c: (check_caps):
6359 * testsuite/caps/simplify.c: (check_caps), (main):
6360 * testsuite/caps/subtract.c: (check_caps):
6361 Fix _pad_get_direction wrt ghostpads.
6364 2005-03-09 Wim Taymans <wim@fluendo.com>
6366 * check/Makefile.am:
6367 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
6368 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
6369 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
6370 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
6371 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
6372 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
6373 (gst_bin_remove), (gst_bin_iterate_recurse_up),
6374 (bin_element_is_sink), (gst_bin_iterate_sinks),
6375 (gst_bin_iterate_all_by_interface):
6377 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
6378 (gst_element_change_state), (gst_element_dispose),
6379 (gst_element_finalize), (gst_element_set_loop_function):
6381 * gst/gstiterator.c: (find_custom_fold_func):
6382 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
6383 (gst_pad_collectv), (gst_pad_collect_valist),
6384 (gst_pad_template_new):
6385 * gst/gstpipeline.c: (gst_pipeline_class_init),
6386 (gst_pipeline_dispose), (gst_pipeline_set_property),
6387 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
6388 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
6389 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
6391 * gst/schedulers/entryscheduler.c:
6392 * gst/schedulers/gstbasicscheduler.c:
6393 (gst_basic_scheduler_cothreaded_chain),
6394 (gst_basic_scheduler_chain_add_element):
6395 * testsuite/bins/interface.c: (main):
6397 Added GstSystemClock test.
6398 Implemented clock distribution code in GstBin.
6399 Implemented iterate sinks method for future use.
6400 Rearranged gstelement.h
6401 Fix GstIterator comparison bug.
6402 Moved some code to GstPipeline, mostly clocking related.
6404 2005-03-09 Wim Taymans <wim@fluendo.com>
6407 * gst/gst_private.h:
6408 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
6409 (gst_bin_remove_func), (gst_bin_remove),
6410 (gst_bin_get_by_name_recurse_up):
6411 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
6412 (gst_clock_id_compare_func), (gst_clock_id_wait),
6413 (gst_clock_id_wait_async), (gst_clock_init),
6414 (gst_clock_adjust_unlocked), (gst_clock_get_time):
6416 * gst/gstinfo.c: (_gst_debug_init):
6418 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
6419 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
6421 Bump version number, we're now 0.9.0
6422 Add future debugging category.
6423 Fix NULL _unref() in _get_by_name_recurse_up
6427 2005-03-08 Wim Taymans <wim@fluendo.com>
6429 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
6430 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
6431 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
6432 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
6433 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
6434 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
6435 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
6436 * gst/elements/gstidentity.c: (gst_identity_class_init):
6437 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
6438 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
6439 * gst/elements/gstshaper.c: (gst_shaper_class_init):
6440 * gst/elements/gststatistics.c: (gst_statistics_class_init):
6441 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
6443 * gst/gstelement.c: (gst_element_class_init),
6444 (gst_element_base_class_init), (gst_element_init),
6445 (gst_element_get_random_pad), (gst_element_wait_state_change),
6446 (gst_element_change_state), (gst_element_dispose),
6447 (gst_element_finalize), (gst_element_set_loop_function):
6449 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
6450 * gst/gstthread.c: (gst_thread_class_init),
6451 (gst_thread_release_children_locks), (gst_thread_change_state):
6452 * gst/schedulers/gstbasicscheduler.c:
6453 (gst_basic_scheduler_loopfunc_wrapper),
6454 (gst_basic_scheduler_chain_wrapper),
6455 (gst_basic_scheduler_src_wrapper),
6456 (gst_basic_scheduler_remove_element):
6457 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
6458 Remove threadsafe properties. Fix elements because GObject
6459 complains when installing a property before declaring a
6460 set/get_property handler.
6461 Rearrange gstelement.h file, use STATE macros for state locks.
6462 Free mutexes in the finalize method instead of dispose.
6464 2005-03-08 Wim Taymans <wim@fluendo.com>
6466 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
6467 * gst/gstthread.c: (gst_thread_release_children_locks):
6468 Added parentage check.
6469 Fix build og GstThread again.
6471 2005-03-08 Wim Taymans <wim@fluendo.com>
6473 * docs/design/part-MT-refcounting.txt:
6474 * docs/design/part-conventions.txt:
6475 * docs/design/part-gstobject.txt:
6476 * docs/design/part-relations.txt:
6477 * docs/design/part-standards.txt:
6478 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
6479 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
6480 (gst_bin_get_by_name), (gst_bin_get_by_interface),
6481 (gst_bin_iterate_all_by_interface):
6484 * gst/gstelement.c: (gst_element_class_init),
6485 (gst_element_change_state), (gst_element_set_loop_function):
6487 * gst/gstiterator.c:
6488 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
6489 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
6490 (gst_object_dispatch_properties_changed), (gst_object_set_name),
6491 (gst_object_set_parent), (gst_object_unparent),
6492 (gst_object_check_uniqueness):
6494 Docs updates, clean up some headers.
6496 2005-03-07 Wim Taymans <wim@fluendo.com>
6499 * check/Makefile.am:
6500 * check/gst-libs/.cvsignore:
6501 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
6502 * check/gst/.cvsignore:
6503 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
6504 (START_TEST), (gstbus_suite), (main):
6505 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
6506 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
6507 (gst_data_suite), (main):
6508 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
6509 (add_fold_func), (gstiterator_suite), (main):
6510 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
6511 (thread_name_object), (thread_name_object_default),
6512 (gst_object_name_compare), (gst_object_suite), (main):
6513 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
6514 (gst_pad_suite), (main):
6515 * check/gstcheck.c: (gst_check_log_message_func),
6516 (gst_check_log_critical_func), (gst_check_init):
6518 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
6519 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
6522 2005-03-07 Wim Taymans <wim@fluendo.com>
6524 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
6525 (gst_list_iterator_next), (gst_list_iterator_resync),
6526 (gst_list_iterator_free), (gst_iterator_new_list),
6527 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
6528 (gst_iterator_free), (gst_iterator_push), (filter_next),
6529 (filter_resync), (filter_uninit), (filter_free),
6530 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
6531 (gst_iterator_foreach), (find_custom_fold_func),
6532 (gst_iterator_find_custom):
6533 * gst/gstiterator.h:
6534 Added missing files.
6536 2005-03-07 Wim Taymans <wim@fluendo.com>
6540 * docs/design/part-MT-refcounting.txt:
6541 * docs/design/part-conventions.txt:
6542 * docs/design/part-gstobject.txt:
6543 * docs/design/part-relations.txt:
6544 * examples/mixer/mixer.c: (main):
6545 * examples/thread/thread.c: (eos), (main):
6547 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
6548 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
6549 (gst_spider_plug_from_srcpad):
6550 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
6551 (gst_spider_identity_change_state),
6552 (gst_spider_identity_sink_loop_type_finding):
6553 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
6554 * gst/elements/gstidentity.c: (gst_identity_init):
6555 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
6556 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
6557 * gst/elements/gsttypefindelement.c: (free_entry):
6560 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
6561 (gst_bin_set_clock_func), (gst_bin_auto_clock),
6562 (gst_bin_set_index), (gst_bin_set_element_sched),
6563 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
6564 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
6565 (gst_bin_iterate_elements), (iterate_child_recurse),
6566 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
6567 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
6568 (compare_interface), (gst_bin_get_by_interface),
6569 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
6571 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
6572 (gst_buffer_default_free), (gst_buffer_default_copy),
6573 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
6574 (gst_buffer_create_sub):
6576 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
6577 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
6578 (gst_caps_unref), (gst_static_caps_get),
6579 (gst_caps_remove_and_get_structure), (gst_caps_append),
6580 (gst_caps_append_structure), (gst_caps_remove_structure),
6581 (gst_caps_copy_nth), (gst_caps_set_simple),
6582 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
6583 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
6584 (gst_caps_structure_intersect_field), (gst_caps_intersect),
6585 (gst_caps_structure_subtract_field), (gst_caps_subtract),
6586 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
6587 (gst_caps_structure_figure_out_union),
6588 (gst_caps_switch_structures), (gst_caps_do_simplify),
6589 (gst_caps_replace), (gst_caps_from_string),
6590 (gst_caps_copy_conditional):
6592 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
6593 (_gst_clock_id_free), (gst_clock_id_unref),
6594 (gst_clock_id_compare_func), (gst_clock_id_wait),
6595 (gst_clock_id_wait_async), (gst_clock_class_init),
6596 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
6597 (gst_clock_get_time), (gst_clock_set_time_adjust),
6598 (gst_clock_set_property), (gst_clock_get_property):
6601 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
6602 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
6604 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
6605 (gst_element_requires_clock), (gst_element_provides_clock),
6606 (gst_element_set_clock), (gst_element_clock_wait),
6607 (gst_element_wait), (gst_element_set_time_delay),
6608 (gst_element_is_indexable), (gst_element_add_pad),
6609 (gst_element_add_ghost_pad), (gst_element_remove_pad),
6610 (pad_compare_name), (gst_element_get_static_pad),
6611 (gst_element_request_pad), (gst_element_get_request_pad),
6612 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
6613 (gst_element_class_get_pad_template_list),
6614 (gst_element_class_get_pad_template), (gst_element_error_func),
6615 (gst_element_get_random_pad), (gst_element_get_event_masks),
6616 (gst_element_send_event), (gst_element_seek),
6617 (gst_element_get_query_types), (gst_element_query),
6618 (gst_element_get_formats), (gst_element_convert),
6619 (gst_element_is_locked_state), (gst_element_set_locked_state),
6620 (gst_element_sync_state_with_parent), (gst_element_change_state),
6621 (gst_element_finalize), (gst_element_yield),
6622 (gst_element_interrupt), (gst_element_set_scheduler),
6623 (gst_element_get_scheduler), (gst_element_set_loop_function):
6626 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
6627 (gst_format_get_by_nick), (gst_format_get_details),
6628 (gst_format_iterate_definitions):
6630 * gst/gstindex.c: (gst_index_gtype_resolver):
6633 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
6634 (gst_mem_chunk_free):
6635 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
6636 (gst_object_ref), (gst_object_unref), (gst_object_sink),
6637 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
6638 (gst_object_dispatch_properties_changed),
6639 (gst_object_set_name_default), (gst_object_set_name),
6640 (gst_object_get_name), (gst_object_set_name_prefix),
6641 (gst_object_get_name_prefix), (gst_object_set_parent),
6642 (gst_object_get_parent), (gst_object_unparent),
6643 (gst_object_check_uniqueness), (gst_object_save_thyself),
6644 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
6645 (gst_object_set_property), (gst_object_get_property),
6646 (gst_object_get_path_string):
6648 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
6649 (gst_real_pad_init), (gst_real_pad_get_property),
6650 (gst_pad_custom_new), (gst_pad_get_direction),
6651 (gst_pad_set_active), (gst_pad_is_active),
6652 (gst_pad_set_event_function), (gst_pad_is_linked),
6653 (gst_pad_link_free), (gst_pad_link_intersect),
6654 (gst_pad_link_fixate), (gst_pad_set_caps),
6655 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
6656 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
6657 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
6658 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
6659 (gst_pad_get_caps), (gst_pad_peer_get_caps),
6660 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
6661 (gst_pad_realize), (gst_pad_get_allowed_caps),
6662 (gst_real_pad_dispose), (gst_real_pad_finalize),
6663 (gst_pad_collectv), (gst_pad_collect_valist),
6664 (gst_pad_template_dispose), (gst_pad_template_new),
6665 (gst_pad_get_internal_links):
6667 * gst/gstpipeline.c: (gst_pipeline_dispose),
6668 (gst_pipeline_change_state):
6669 * gst/gstpipeline.h:
6671 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
6672 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
6673 * gst/gstpluginfeature.h:
6674 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
6675 * gst/gstquery.c: (_gst_query_type_initialize),
6676 (gst_query_type_register), (gst_query_type_get_by_nick),
6677 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
6679 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
6680 * gst/gstscheduler.c: (gst_scheduler_add_element),
6681 (gst_scheduler_factory_create):
6682 * gst/gststructure.c: (gst_structure_set_parent_refcount),
6683 (gst_structure_free), (gst_structure_set_name),
6684 (gst_structure_id_set_value), (gst_structure_set_value),
6685 (gst_structure_set_valist), (gst_structure_remove_field),
6686 (gst_structure_remove_fields),
6687 (gst_structure_remove_fields_valist),
6688 (gst_structure_remove_all_fields), (gst_structure_foreach),
6689 (gst_structure_map_in_place),
6690 (gst_caps_structure_fixate_field_nearest_int),
6691 (gst_caps_structure_fixate_field_nearest_double):
6692 * gst/gststructure.h:
6693 * gst/gstsystemclock.c: (gst_system_clock_class_init),
6694 (gst_system_clock_init), (gst_system_clock_dispose),
6695 (gst_system_clock_async_thread),
6696 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
6697 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
6698 * gst/gstsystemclock.h:
6699 * gst/gsttag.c: (gst_tag_list_add_value_internal),
6700 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
6701 * gst/gsttaginterface.c:
6702 * gst/gstthread.c: (gst_thread_dispose),
6703 (gst_thread_release_children_locks), (gst_thread_change_state),
6704 (gst_thread_main_loop):
6705 * gst/gsttrashstack.h:
6706 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
6708 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6709 (gst_element_request_pad), (gst_element_get_pad_from_template),
6710 (gst_element_request_compatible_pad),
6711 (gst_element_get_compatible_pad_filtered),
6712 (gst_element_get_compatible_pad), (gst_element_state_get_name),
6713 (gst_element_link_pads_filtered), (gst_element_link_filtered),
6714 (gst_element_link_many), (gst_element_link),
6715 (gst_element_link_pads), (gst_element_unlink_pads),
6716 (gst_element_unlink_many), (gst_element_unlink),
6717 (gst_pad_can_link_filtered), (gst_pad_can_link),
6718 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
6719 (gst_object_default_error), (gst_bin_add_many),
6720 (gst_bin_remove_many), (gst_element_populate_std_props),
6721 (gst_element_class_install_std_props), (gst_buffer_merge),
6722 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
6723 (link_fold_func), (gst_pad_proxy_setcaps):
6725 * gst/gstvalue.c: (gst_value_deserialize_string):
6726 * gst/parse/grammar.y:
6727 * gst/schedulers/gstbasicscheduler.c:
6728 (gst_basic_scheduler_cothreaded_chain),
6729 (gst_basic_scheduler_chain_recursive_add),
6730 (gst_basic_scheduler_pad_link):
6731 * gst/schedulers/gstoptimalscheduler.c:
6732 (get_group_schedule_function),
6733 (gst_opt_scheduler_state_transition),
6734 (gst_opt_scheduler_add_element), (element_get_reachables_func):
6735 * libs/gst/bytestream/bytestream.c:
6736 * libs/gst/dataprotocol/dataprotocol.c:
6737 (gst_dp_header_from_buffer):
6740 * tests/threadstate/threadstate2.c: (eos):
6741 * tools/gst-compprep.c: (main):
6742 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
6743 (print_pad_info), (print_children_info):
6744 * tools/gst-launch.c: (idle_func), (main):
6745 * tools/gst-md5sum.c: (idle_func), (main):
6746 * tools/gst-xmlinspect.c: (print_element_info):
6747 First THREADED backport attempt, focusing on adding locks and
6748 making sure the API is threadsafe. Needs more work. More docs
6751 2005-02-24 Andy Wingo <wingo@pobox.com>
6753 * tests/bench-complexity.scm:
6754 * tests/complexity.gnuplot: New files, good for running complexity
6757 * tests/Makefile.am:
6758 * tests/complexity.c: New test, sets up N elements, at each level
6759 teeing into M streams per element. Eeeenteresting.
6761 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
6762 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
6763 running bench-mass_elements.scm.
6765 * tests/bench-mass_elements.scm: New script, runs mass_elements
6766 for various numbers of identities, outputting the results to a
6767 file. Requires guile 1.6. Just for testing.
6769 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
6771 * gst/schedulers/fairscheduler.c:
6772 compile with debug disabled
6774 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
6777 hunting season on 0.9 is now OPEN