1 2005-09-21 Andy Wingo <wingo@pobox.com>
3 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
4 data and event probes on the same pad.
5 (test_buffer_probe_once): Test that removing probes from within
6 the probe functions works.
8 2005-09-21 Andy Wingo <wingo@pobox.com>
10 * check/gst/gstutils.c: New file.
11 (test_buffer_probe_n_times): A simple buffer probe test. More to
14 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
15 have-data::buffer, not have-data.
16 (gst_pad_add_event_probe): Likewise for have-data::event.
17 (gst_pad_add_data_probe): More docs. The part about 'resolving the
18 peer' isn't quite right yet though.
19 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
20 (gst_pad_remove_data_probe): Change to take the guint handler_id
21 as their arg, not the function+data, which is more glib-like.
23 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
24 the signal emission to indicate if the data is a buffer or an
26 (gst_pad_get_type): Initialize buffer and event quarks.
27 (gst_pad_class_init): have-data is now a detailed signal, yes it
30 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
32 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
33 * gst/gstutils.c: (gst_util_set_value_from_string),
34 (gst_util_set_object_arg):
35 Don't put functional code in g_return_if_fail() or
36 g_return_val_if_fail() statements, otherwise things will
37 break when G_DISABLE_CHECKS is defined during compilation.
39 2005-09-21 Stefan Kost <ensonic@users.sf.net>
41 * docs/gst/tmpl/.cvsignore:
42 * docs/gst/tmpl/gstvalue.sgml:
45 inlied another one and added some obvious docs
47 2005-09-21 Wim Taymans <wim@fluendo.com>
49 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
50 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
51 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
52 (gst_fdsrc_get_property), (gst_fdsrc_create):
53 * gst/elements/gstfdsrc.h:
54 Properly implement fdsrc. Removed signal and timeout,
55 better implemented somewhere else.
57 2005-09-21 Stefan Kost <ensonic@users.sf.net>
59 * docs/gst/tmpl/.cvsignore:
60 * docs/gst/tmpl/gstimplementsinterface.sgml:
64 2005-09-21 Stefan Kost <ensonic@users.sf.net>
66 * docs/gst/gstreamer-sections.txt:
67 * docs/gst/tmpl/.cvsignore:
68 * docs/gst/tmpl/gstenumtypes.sgml:
69 remove obsolete doc file
71 2005-09-21 David Schleef <ds@schleef.org>
73 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
74 little beer, fix a little leak.
76 2005-09-21 Stefan Kost <ensonic@users.sf.net>
78 * docs/gst/gstreamer-docs.sgml:
79 * docs/gst/gstreamer-sections.txt:
80 * docs/gst/tmpl/.cvsignore:
85 * gst/gstindex.c: (gst_index_class_init):
87 * gst/gstindexfactory.c: (gst_index_factory_get_type),
88 (gst_index_factory_class_init), (gst_index_factory_init),
89 (gst_index_factory_finalize), (gst_index_factory_new),
90 (gst_index_factory_destroy), (gst_index_factory_find),
91 (gst_index_factory_create), (gst_index_factory_make):
92 * gst/gstindexfactory.h:
93 * gst/gstpluginfeature.c:
94 * gst/gstpluginfeature.h:
95 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
96 more docs inlined, splitted gstindex.{c,h}
98 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
100 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
103 2005-09-20 Tim-Philipp M??ller <tim at centricular dot net>
105 * gst/elements/gstfilesink.c: (gst_file_sink_init):
106 Set sync to FALSE by default.
108 2005-09-20 Wim Taymans <wim@fluendo.com>
110 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
111 (gst_base_sink_init):
112 Make sync property settable from subclass.
114 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
115 (gst_fake_sink_change_state):
116 Set sync to FALSE by default.
118 2005-09-20 Wim Taymans <wim@fluendo.com>
120 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
121 * tools/gst-launch.c: (main):
122 The timeout handler should have lower priority than the source
123 so we don't timeout before popping a message with 0 timeout.
124 Dump error messages after failed state change.
126 2005-09-20 Tim-Philipp M??ller <tim at centricular dot net>
128 * tools/gst-inspect.c: (print_element_properties_info):
131 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
133 * check/gst/gstevent.c:
134 * gst/elements/gstfakesink.c:
135 * gst/elements/gstfakesink.h:
136 remove the sync property from fakesink.
137 has the side effect of setting sync TRUE
138 for fakesink, which is a change. Anyone who knows how
139 to fix this nicely in a GObject-y way, feel free.
141 2005-09-20 Stefan Kost <ensonic@users.sf.net>
143 * docs/gst/gstreamer-docs.sgml:
144 remove probe refsection
146 2005-09-20 Stefan Kost <ensonic@users.sf.net>
149 disable valgrinding the controller test again
150 * docs/gst/gstreamer-sections.txt:
151 update for api-changes
153 2005-09-20 Wim Taymans <wim@fluendo.com>
155 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
156 (gst_base_sink_set_property), (gst_base_sink_get_property),
157 (gst_base_sink_do_sync):
158 * gst/base/gstbasesink.h:
159 Added sync property to basesink to disable clock sync.
161 2005-09-20 Andy Wingo <wingo@pobox.com>
163 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
164 eating the caller's refcount.
166 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
167 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
170 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
171 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
172 of GLib 2.8 public, so we can know which refcount to check in
175 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
176 (gst_object_init): Only set the gst refcount if we're going ahead
177 with the refcount hack.
179 2005-09-20 Stefan Kost <ensonic@users.sf.net>
181 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
182 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
183 more leaks plumbed, added more debug-logging
187 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
190 remove include of gstmemchunk.h
192 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
194 * gst/gstclock.c: (_gst_clock_id_free):
195 Commit from the Political Party For More Atomic CVS Commits,
196 so that people don't waste too much of their day fishing
197 out obvious leaks out of massive commits.
198 Oh, and fix a pretty damn obvious leak in the memchunk
201 2005-09-20 Stefan Kost <ensonic@users.sf.net>
204 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
205 plug mem-leak, re-add to valgrindable tests
207 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
210 unbreak the build for those who have chronic arthritis
211 and typing "make check" is just too taxing on the hands
213 2005-09-20 Andy Wingo <wingo@pobox.com>
215 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
216 really want it out, you should fix plugins at the same time.
218 2005-09-19 Stefan Kost <ensonic@users.sf.net>
221 * docs/gst/gstreamer-sections.txt:
223 added missing symbols to api docs
224 disable ref-count hack if we have glib >= 2.8
226 2005-09-19 David Schleef <ds@schleef.org>
228 * docs/gst/Makefile.am: Ignore a few more internal headers
229 * docs/gst/gstreamer-docs.sgml: Remove old sections
230 * docs/gst/gstreamer-sections.txt: Remove old sections
231 * docs/gst/tmpl/gstobject.sgml: update
232 * docs/gst/tmpl/gstplugin.sgml: update
233 * docs/gst/tmpl/gstpluginfeature.sgml: update
234 * docs/random/ds/0.9-suggested-changes: update.
235 * gst/Makefile.am: remove memchunk and trashstack, since they're
237 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
238 * gst/gst.h: don't include some headers
239 * gst/gstchildproxy.c: add gstmarshal.h
240 * gst/gstclock.c: Don't use memchunks
241 * gst/gstminiobject.c: Add some docs
242 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
243 * gst/gstobject.h: same
244 * gst/gstplugin.c: include gstmacros.h
245 * gst/gstplugin.h: don't include gstmacros.h, since it's private
246 * gst/gstquery.c: don't use memchunks
247 * gst/gstregistry.c: rename gst_registry_deinit()
248 * gst/gstregistry.h: same
250 2005-09-19 David Schleef <ds@schleef.org>
252 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
253 * docs/libs/gstreamer-libs-sections.txt:
254 * docs/libs/tmpl/gstgetbits.sgml:
255 * docs/libs/tmpl/gstputbits.sgml:
257 2005-09-19 Tim-Philipp M??ller <tim at centricular dot net>
259 * win32/gstenumtypes.c:
260 * win32/gstenumtypes.h:
263 2005-09-19 Wim Taymans <wim@fluendo.com>
265 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
266 Automatically PAUSE and RESUME a pipeline when a flushing seek
269 2005-09-19 Andy Wingo <wingo@pobox.com>
271 * gst/gstregistry.h: Spacing fixen.
273 2005-09-19 Wim Taymans <wim@fluendo.com>
275 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
276 Handle state change failure more correctly.
278 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
281 * check/pipelines/cleanup.c: (run_pipeline):
282 * check/pipelines/simple_launch_lines.c: (run_pipeline),
284 enable cleanup again after fixing the leak
286 some more info on docs
288 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
291 re-enable tests now that leaks are plugged
293 * check/gst/gstbin.c:
294 * check/gst/gstpipeline.c:
295 add some more tests while fixing leaks
297 make sure binaries are uptodate when valgrinding/gdbing
299 * gst/gstelementfactory.c:
300 remove a ref too many, and add a FIXME for when we get
301 round to disposing of classes
303 fix the refcounting when loading a plugin from a file and
304 the code pretends that the pointer is the same even though
305 of course it can change
306 * gst/gstpluginfeature.c:
307 unref plugins marked cached (a bit confusing as a name)
308 as the docs state should be done
309 various doc additions to explain refcounting
311 * gst/gstregistryxml.c:
314 2005-09-19 Wim Taymans <wim@fluendo.com>
316 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
317 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
318 (send_messages), (GST_START_TEST), (gstbus_suite):
319 * check/gst/gstpipeline.c: (GST_START_TEST):
320 * check/pipelines/cleanup.c: (run_pipeline):
321 * check/pipelines/simple_launch_lines.c: (run_pipeline),
323 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
324 (gst_bus_source_check), (gst_bus_source_dispatch),
325 (gst_bus_create_watch), (gst_bus_add_watch_full),
326 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
328 * tools/gst-launch.c: (event_loop):
329 * tools/gst-md5sum.c: (event_loop):
330 GstBusHandler -> GstBusFunc, return value has the same meaning as
331 any other GSource (FALSE == remove source).
332 _add_watch() and _add_watch_full() now take a MessageType mask to
333 only handle specific types of messages.
334 _poll() returns the GstMessage instead of the message type to avoid
336 _have_pending() takes a MessageType mask now too.
337 Added testsuite for multiple bus watches.
338 Fix testsuites and applications for new bus API.
340 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
343 mark a bunch of the tests as to fix until we fix them
345 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
348 use GST_PLUGIN settings for valgrind tests as well, so we're
349 valgrinding the correct thing
350 * gst/gst.c: (init_post):
353 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
355 * gst/gst.c: (init_post), (gst_deinit):
356 * gst/gstelementfactory.c: (gst_element_factory_class_init),
357 (gst_element_factory_finalize), (gst_element_factory_cleanup):
358 * gst/gstindex.c: (gst_index_factory_class_init),
359 (gst_index_factory_finalize):
360 * gst/gstobject.c: (gst_object_dispose):
361 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
362 (gst_plugin_load_file), (gst_plugin_desc_free):
363 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
364 (gst_plugin_feature_finalize):
365 * gst/gstregistry.c: (gst_registry_class_init),
366 (gst_registry_init), (gst_registry_finalize),
367 (gst_registry_get_default), (gst_registry_deinit):
369 * gst/gstregistryxml.c: (load_feature), (load_plugin):
370 various cleanups and memleak plugging. make valgrind is happy now.
372 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
375 add a check-valgrind target
377 2005-09-18 David Schleef <ds@schleef.org>
379 * tools/gst-inspect.c: Revert the GOption code.
381 2005-09-17 David Schleef <ds@schleef.org>
383 * check/Makefile.am: Fix environment variables.
384 * check/gst/gstplugin.c: Fix for API changes.
385 * tools/gst-inspect.c: Fix for API changes.
386 * tools/gst-xmlinspect.c: Fix for API changes.
387 * gst/gstelementfactory.c:
390 * gst/gstpluginfeature.c:
391 * gst/gstpluginfeature.h:
394 * gst/gstregistryxml.c:
396 * gst/gsttypefindfactory.c:
397 * gst/indexers/gstfileindex.c:
398 * gst/indexers/gstmemindex.c:
399 * gst/schedulers/Makefile.am:
400 Change registry to keep track of both plugins and features,
401 removing the feature tracking from plugins themselves.
403 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
406 * tools/gst-register.1.in:
409 2005-09-15 David Schleef <ds@schleef.org>
411 * check/gst/gstplugin.c:
412 * gst/gstelementfactory.c:
414 * gst/gstpluginfeature.c:
416 Getting tired of debugging. Disabled all the unreffing of
417 plugins and features, which fixes the segfaults, but of
418 course leaks like crazy. At least playbin works.
420 2005-09-15 David Schleef <ds@schleef.org>
422 * check/gst/gstplugin.c: (register_check_elements),
423 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
425 * gst/elements/gsttypefindelement.c: Fix refcounting.
427 * gst/gsttypefindfactory.c:
428 * gst/gsttypefindfactory.h:
430 2005-09-15 David Schleef <ds@schleef.org>
432 * gst/gstindex.c: get refcounting correct.
433 * gst/gstregistry.c: Handle the case where a feature/plugin is
436 2005-09-15 David Schleef <ds@schleef.org>
439 * check/gst/gstplugin.c: Add test
440 * gst/gstplugin.c: Fix problems noticed by testsuite
445 2005-09-15 David Schleef <ds@schleef.org>
447 * gst/gstplugin.c: Implement semi-decent recounting and locking
448 in plugins and plugin features.
450 * gst/gstpluginfeature.c:
451 * gst/gstpluginfeature.h:
454 2005-09-15 Michael Smith <msmith@fluendo.com>
456 * gst/gstregistry.c: (gst_registry_get_feature_list):
457 Implement this. Makes oggdemux work; decodebin still broken.
459 2005-09-14 David Schleef <ds@schleef.org>
461 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
463 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
464 * gst/check/Makefile.am:
465 * libs/gst/controller/Makefile.am:
466 * libs/gst/dataprotocol/Makefile.am:
468 2005-09-14 David Schleef <ds@schleef.org>
470 * configure.ac: Remove getbits library. Nothing uses it, and
471 it should be in something like liboil if someone did want
473 * libs/gst/Makefile.am:
474 * libs/gst/getbits/Makefile.am:
475 * libs/gst/getbits/gbtest.c:
476 * libs/gst/getbits/getbits.c:
477 * libs/gst/getbits/getbits.h:
478 * libs/gst/getbits/gstgetbits_generic.c:
479 * libs/gst/getbits/gstgetbits_i386.s:
480 * libs/gst/getbits/gstgetbits_inl.h:
482 2005-09-14 David Schleef <ds@schleef.org>
484 * gst/Makefile.am: Dist glib-compat.h
486 2005-09-14 David Schleef <ds@schleef.org>
488 * configure.ac: Remove gst/registries, since it's no longer used.
489 * gst/registries/Makefile.am:
490 * gst/registries/gstlibxmlregistry.c:
491 * gst/registries/gstlibxmlregistry.h:
492 * gst/registries/gstxmlregistry.c:
493 * gst/registries/gstxmlregistry.h:
494 * gst/registries/registrytest.c:
496 2005-09-14 David Schleef <ds@schleef.org>
499 * gst/gstregistryxml.c:
500 Convergence is near. Seriously.
502 2005-09-14 David Schleef <ds@schleef.org>
504 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
506 Attempt #4 to appease the buildbots.
508 2005-09-14 David Schleef <ds@schleef.org>
510 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
513 2005-09-14 David Schleef <ds@schleef.org>
515 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
518 2005-09-14 David Schleef <ds@schleef.org>
520 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
523 2005-09-14 David Schleef <ds@schleef.org>
525 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
526 * gst/glib-compat.h: Add some functions that are in newer versions
527 of glib than we care to require.
528 * gst/gstregistryxml.c: Use them.
530 2005-09-14 David Schleef <ds@schleef.org>
532 * po/POTFILES.in: remove gst-register.c
534 2005-09-14 David Schleef <ds@schleef.org>
536 * docs/gst/gstreamer-docs.sgml:
537 * docs/gst/gstreamer-sections.txt:
538 * docs/gst/gstreamer.types:
539 * docs/gst/tmpl/gstelement.sgml:
540 * docs/gst/tmpl/gstplugin.sgml:
541 * docs/gst/tmpl/gstpluginfeature.sgml:
542 Documentation updates for registry changes.
544 2005-09-14 David Schleef <ds@schleef.org>
546 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
547 because we don't require glib-2.8.
549 2005-09-14 David Schleef <ds@schleef.org>
551 * gst/gstregistryxml.c: Added. Essentially moved out of the
552 registries directory.
554 2005-09-14 David Schleef <ds@schleef.org>
557 * check/generic/states.c:
562 * gst/gstelementfactory.c:
567 * gst/gstpluginfeature.c:
568 * gst/gstpluginfeature.h:
571 * gst/gstregistrypool.c: remove
572 * gst/gstregistrypool.h: remove
574 * gst/gsttypefindfactory.c:
577 * tools/gst-compprep.c:
578 * tools/gst-inspect.c:
579 * tools/gst-register.c: remove
580 * tools/gst-xmlinspect.c:
581 Registry rewrite. Changes registry from being a file created
582 by a tool into a simple cache file created automatically by
583 libgstreamer. Removed gst-register (because it's no longer
584 needed). Remove registry pools, because we only have one
585 registry implementation (XML). Fix up other subsystems as
588 2005-09-13 Michael Smith <msmith@fluendo.com>
590 * gst/gstconfig.h.in:
591 Don't Use windows linking attributes for MinGW. Fixes #316157
593 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
595 * gst/gstutils.c: (set_state_async_thread_func),
596 (gst_element_set_state_async):
597 Apparently people think it's better if this function doesn't
598 try to set the state to whatever state was asked for on the first
599 call to this function for any object. Seriously.
601 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
603 * check/gst/gstpipeline.c: (GST_START_TEST):
604 * docs/gst/gstreamer-sections.txt:
605 * gst/gstutils.c: (set_state_async_thread_func),
606 (gst_element_set_state_async):
608 add a "gst_element_set_state_async" method that
609 sets the state and starts a thread to make sure the state
610 change completes as best as it can
612 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
614 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
615 codify design+behaviour in testsuite after discussion
617 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
619 * docs/gst/tmpl/gstelement.sgml:
620 * docs/manual/appendix-quotes.xml:
622 * gst/gstelement.c: (gst_element_set_state):
625 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
627 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
628 (gst_base_transform_prepare_output_buf),
629 (gst_base_transform_handle_buffer):
630 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
631 (gst_capsfilter_prepare_buf):
632 Remove the requirement for sub-classes to call the parent
633 implementation of prepare_output_buffer with a wrapper function.
636 * gst/gsttagsetter.h:
639 2005-09-11 Stefan Kost <ensonic@users.sf.net>
641 * docs/gst/gstreamer-sections.txt:
644 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
646 * docs/gst/gstreamer-sections.txt:
647 * docs/gst/tmpl/gstelement.sgml:
648 * docs/gst/tmpl/gstplugin.sgml:
649 * gst/gstminiobject.c:
651 docs now stop throwing warnings
653 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
655 * docs/gst/gstreamer-sections.txt:
656 * docs/gst/gstreamer.types:
657 * docs/gst/tmpl/gstpad.sgml:
658 * docs/gst/tmpl/gsttypes.sgml:
659 * gst/base/gstadapter.h:
660 * gst/base/gstbasesink.h:
661 * gst/base/gstbasesrc.h:
671 * gst/gststructure.c:
672 * gst/registries/gstlibxmlregistry.h:
673 various documentation fixes
675 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
677 * docs/gst/gstreamer-sections.txt:
678 * docs/gst/tmpl/gstvalue.sgml:
679 rearrange gstvalue section
680 * gst/gstutils.c: (gst_element_state_get_name):
682 * gst/gstvalue.c: (_gst_value_initialize):
686 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
688 * check/gst-libs/controller.c:
690 * gst/base/gstbasetransform.c:
691 (gst_base_transform_default_prepare_buf),
692 (gst_base_transform_handle_buffer):
693 * gst/base/gstbasetransform.h:
694 Some more basetransform changes and fixes to enable sub-classes
695 that modify buffer metadata only.
696 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
697 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
698 (gst_capsfilter_prepare_buf):
699 If the output pad has fixed allowed caps and input buffers
700 don't have any, set the fixed caps on outgoing buffers.
702 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
703 * check/elements/identity.c: (GST_START_TEST):
704 Make the error a little clearer when the test fails because
705 identity made a copy of the buffer.
706 * docs/gst/gstreamer-sections.txt:
707 New symbols in gstbasetransform.h
708 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
709 (gst_base_transform_init), (gst_base_transform_transform_size),
710 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
711 (gst_base_transform_default_prepare_buf),
712 (gst_base_transform_get_unit_size),
713 (gst_base_transform_buffer_alloc),
714 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
715 (gst_base_transform_change_state),
716 (gst_base_transform_set_passthrough),
717 (gst_base_transform_set_in_place),
718 (gst_base_transform_is_in_place):
719 * gst/base/gstbasetransform.h:
720 Change BaseTransform to separate in_place operate from same_caps
721 output. in_place implies that the element can perform the transform
722 on incoming buffers in-place, even if the caps on the output are
724 Sub-class elements can now implement special buffer allocation
725 methods for outgoing buffers if they wish to.
726 Big documentation addition.
727 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
728 * gst/elements/gstelements.c:
729 Changes for basetransform modifications.
730 * gst/elements/Makefile.am:
731 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
732 Compile fix. Extra debug output.
734 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
736 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
738 add tests for valid pad naming
739 * gst/check/gstcheck.c: (gst_check_log_message_func),
740 (gst_check_log_critical_func):
742 remove printing of code, it is fragile when the code contains
743 % and the line number is enough info
744 * gst/check/gstcheck.h:
745 * gst/gstpad.c: (gst_pad_template_new):
748 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
751 say what CHECK flags we use
752 * docs/libs/gstreamer-libs.types:
753 * libs/gst/controller/Makefile.am:
754 * libs/gst/controller/gst-controller.c:
755 * libs/gst/controller/gst-controller.h:
756 * libs/gst/controller/gst-helper.c:
757 * libs/gst/controller/gst-interpolation.c:
758 * libs/gst/controller/gstcontroller.c:
759 * libs/gst/controller/gsthelper.c:
760 * libs/gst/controller/gstinterpolation.c:
761 * tools/gst-inspect.c: (print_plugin_info):
762 we don't use dashes in header names
764 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
767 * check/gst/.cvsignore:
768 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
769 (gst_pipeline_suite), (main):
770 adding a test for pipelines and state changes
771 * gst/gstutils.c: (get_state_func):
776 2005-09-08 Michael Smith <msmith@fluendo.com>
778 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
779 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
780 (gst_file_src_is_seekable), (gst_file_src_get_size),
781 (gst_file_src_start):
782 * gst/elements/gstfilesrc.h:
783 Various fixes for unseekable, unmmapable, and non-normal files, so
784 that fallback to read() rather than mmap() works.
785 * gst/gstevent.c: (gst_event_new_newsegment):
786 Allow newsegment events with segment_start == segment_end, as will
787 correctly happen if you use filesrc on a zero-size file, for
790 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
792 * gst/gstplugin.c: (gst_plugin_load_file):
793 Call g_module_close when we don't load the module
795 * gst/registries/gstlibxmlregistry.c:
796 (gst_xml_registry_get_property):
797 Port leak fix from 0.8
799 2005-09-07 Stefan Kost <ensonic@users.sf.net>
801 * docs/gst/gstreamer-docs.sgml:
802 * docs/gst/tmpl/.cvsignore:
803 * docs/gst/tmpl/gsttrace.sgml:
804 * docs/gst/tmpl/gsttrashstack.sgml:
813 * gst/gsttaginterface.c:
814 * gst/gsttaginterface.h:
817 * gst/gsttagsetter.c:
818 * gst/gsttagsetter.h:
821 * gst/gsttrashstack.c:
822 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
823 inlined docs for gsttrace, gsttrashstack
825 2005-09-07 Stefan Kost <ensonic@users.sf.net>
828 * gst/elements/gstbufferstore.h:
829 * gst/elements/gsttypefindelement.c:
830 * gst/elements/gsttypefindelement.h:
834 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
835 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
836 (gst_type_find_factory_dispose),
837 (gst_type_find_factory_unload_thyself),
838 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
839 (gst_type_find_factory_get_caps),
840 (gst_type_find_factory_get_extensions),
841 (gst_type_find_factory_call_function):
842 * gst/gsttypefindfactory.h:
843 * gst/registries/gstlibxmlregistry.c:
844 * gst/registries/gstxmlregistry.c:
845 splitted gsttypefind into gsttypefind, gsttypefindfactory
847 2005-09-07 Andy Wingo <wingo@pobox.com>
849 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
850 condition whereby the pad's task function is entered before the
851 pad_mode variable was set.
853 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
855 * gst/gstpad.c: (gst_pad_alloc_buffer):
856 Catch misbehaving pad_alloc functions that don't
857 set up caps and do it for them.
859 2005-09-07 Stefan Kost <ensonic@users.sf.net>
861 * check/pipelines/simple_launch_lines.c: (run_pipeline):
863 * docs/gst/tmpl/.cvsignore:
864 * docs/gst/tmpl/gstmemchunk.sgml:
865 * docs/gst/tmpl/gstparse.sgml:
866 * docs/gst/tmpl/gsttaglist.sgml:
867 * docs/gst/tmpl/gsttagsetter.sgml:
868 * docs/gst/tmpl/gsttypefind.sgml:
869 * docs/gst/tmpl/gsttypefindfactory.sgml:
873 * gst/gsttaginterface.c:
878 === release 0.9.2 ===
880 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
885 releasing 0.9.2, "South"
887 2005-09-05 Andy Wingo <wingo@pobox.com>
889 * gst/registries/gstxmlregistry.h:
890 * gst/registries/gstxmlregistry.c: Um... resurrect...
892 * gst/registries/gstxmlregistry.h:
893 * gst/registries/gstxmlregistry.c: and update to newer API.
894 Incidentally they should be a bit faster now that they don't have
897 2005-09-05 Andy Wingo <wingo@pobox.com>
899 * gst/registries/gstxmlregistry.h:
900 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
901 replaced by the libxml registry a while back
903 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
905 * docs/gst/tmpl/gstplugin.sgml:
906 * gst/elements/gstelements.c:
908 * gst/gstplugin.c: (gst_plugin_register_func),
909 (gst_plugin_desc_copy), (gst_plugin_desc_free),
910 (gst_plugin_get_source):
912 * gst/registries/gstlibxmlregistry.c: (load_plugin),
913 (gst_xml_registry_save_plugin):
914 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
915 (gst_xml_registry_save_plugin):
916 * tools/gst-inspect.c: (print_plugin_info):
917 add a "source" plugin description field, to represent the source
918 module this plugin is a part of. By default GST_PLUGIN_DEFINE
919 will set it to PACKAGE, which is automake's idea of the name of
922 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
928 * docs/faq/Makefile.am:
929 * docs/gst/tmpl/gstelement.sgml:
930 * docs/gst/tmpl/gsttypes.sgml:
931 * docs/htmlinstall.mak:
932 * docs/manual/Makefile.am:
933 * docs/pwg/Makefile.am:
934 reorganize doc build a little
935 split out docbook and gtk-doc stuff
936 have two separate --enable's and enable them through autogen
937 but disable by default in configure (to be similar to other
940 clean up docs install
960 2005-09-03 Tim-Philipp M??ller <tim at centricular dot net>
962 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
965 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
966 (gst_fake_sink_change_state):
967 Make state change function thread-safe.
969 * gst/gstpad.c: (gst_pad_alloc_buffer):
970 Set offset on generic buffer allocated by fallback.
972 2005-09-03 Stefan Kost <ensonic@users.sf.net>
974 * docs/gst/gstreamer-sections.txt:
975 * docs/gst/tmpl/gstelement.sgml:
977 * libs/gst/controller/gst-controller.c:
978 (gst_controlled_property_set_interpolation_mode),
979 (gst_controlled_property_new),
980 (gst_controller_find_controlled_property):
981 run the wingo-magic script against the docs
983 2005-09-02 Stefan Kost <ensonic@users.sf.net>
985 * docs/gst/gstreamer-docs.sgml:
986 * docs/gst/gstreamer-sections.txt:
987 * docs/gst/tmpl/.cvsignore:
988 * docs/gst/tmpl/gstelementdetails.sgml:
989 * docs/gst/tmpl/gstelementfactory.sgml:
992 * gst/gstelementfactory.c:
993 * gst/gstelementfactory.h:
994 merged elementdetails docs into elementfactory docs
997 2005-09-02 Andy Wingo <wingo@pobox.com>
999 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
1000 consider this enum an enum and not a flags.
1002 2005-09-02 Stefan Kost <ensonic@users.sf.net>
1004 * docs/gst/gstreamer-docs.sgml:
1005 * docs/gst/tmpl/.cvsignore:
1006 * docs/gst/tmpl/gstghostpad.sgml:
1007 * docs/gst/tmpl/gstiterator.sgml:
1008 * docs/gst/tmpl/gstmacros.sgml:
1009 * docs/gst/tmpl/gstrealpad.sgml:
1010 * docs/gst/tmpl/gstregistry.sgml:
1011 * docs/gst/tmpl/gstregistrypool.sgml:
1012 * docs/gst/tmpl/gststructure.sgml:
1013 * docs/gst/tmpl/gstsystemclock.sgml:
1014 * docs/gst/tmpl/gsttrace.sgml:
1015 * gst/gstghostpad.c:
1017 * gst/gstmemchunk.c:
1018 * gst/gstmemchunk.h:
1020 * gst/gstregistry.c:
1021 * gst/gstregistrypool.c:
1022 * gst/gststructure.c:
1023 * gst/gstsystemclock.c:
1026 2005-09-02 Andy Wingo <wingo@pobox.com>
1028 * gst/gstelement.h (GstState): Renamed from GstElementState,
1029 changed to be a normal enum instead of flags.
1030 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
1031 munged to be GST_STATE_CHANGE_*.
1032 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
1033 work with the new state representation.
1034 (GstStateChange): New enumeration of possible state transitions.
1035 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
1036 (GstElementClass::change_state): Pass the GstStateChange along as
1037 an argument. Helps language bindings, so they don't have to use
1038 tricky lock-needing macros like GST_STATE_CHANGE ().
1040 * scripts/update-states (file): New script. Run it on a file to
1041 update it for state naming and API changes. Updates files in
1044 * All files updated for the new API.
1046 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
1048 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
1049 * gst/gstutils.c: (gst_util_set_value_from_string),
1050 (gst_util_set_object_arg):
1051 fix a bunch of unchecked return values
1052 * tools/gst-complete.c: (main):
1053 * gstreamer.spec.in:
1056 2005-09-01 Wim Taymans <wim@fluendo.com>
1058 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1059 (gst_base_sink_event), (gst_base_sink_do_sync),
1060 (gst_base_sink_handle_event):
1061 * gst/base/gstbasesink.h:
1062 Handle newsegments more correctly.
1067 * gst/gstevent.c: (gst_event_new_newsegment):
1068 A newsegment cannot have a start_time of -1
1070 2005-09-01 Tim-Philipp M??ller <tim at centricular dot net>
1072 * win32/gstenumtypes.c:
1073 * win32/gstenumtypes.h:
1076 2005-08-31 Stefan Kost <ensonic@users.sf.net>
1078 * libs/gst/controller/gst-controller.c:
1079 (gst_controlled_property_set_interpolation_mode),
1080 (gst_controlled_property_new):
1083 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
1085 * docs/faq/gst-uninstalled:
1090 * gst/gstutils.c: (gst_element_link_filtered):
1092 add gst_element_link_filtered
1094 2005-08-31 Stefan Kost <ensonic@users.sf.net>
1096 * docs/gst/gstreamer-docs.sgml:
1097 * docs/gst/gstreamer-sections.txt:
1098 * docs/gst/tmpl/.cvsignore:
1099 * docs/gst/tmpl/gsterror.sgml:
1100 * docs/gst/tmpl/gstfilter.sgml:
1101 * docs/gst/tmpl/gsturihandler.sgml:
1102 * docs/gst/tmpl/gsturitype.sgml:
1103 * docs/gst/tmpl/gstutils.sgml:
1104 * docs/gst/tmpl/gstxml.sgml:
1112 inlined more docs, fixed double id-ref
1114 2005-08-31 Wim Taymans <wim@fluendo.com>
1116 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
1117 (gst_base_transform_handle_buffer):
1118 Passthrough elements don't need the caps as they don't care.
1120 2005-08-31 Wim Taymans <wim@fluendo.com>
1122 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
1123 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
1124 Don't leak refcounts on buffers.
1126 2005-08-31 Wim Taymans <wim@fluendo.com>
1128 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
1129 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
1130 (gst_base_transform_chain), (gst_base_transform_change_state):
1131 * gst/base/gstbasetransform.h:
1132 Handle the case where we are not negotiated more gracefully.
1134 2005-08-31 Tim-Philipp M??ller <tim at centricular dot net>
1136 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
1137 (gst_file_src_map_region):
1138 Set READONLY flag on mmap'ed buffers, otherwise
1139 gst_buffer_make_writable() won't work properly (#314708).
1141 2005-08-31 Wim Taymans <wim@fluendo.com>
1143 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
1144 passthrough elements can even do inplace on non writable
1145 buffers (as they don't touch them).
1147 2005-08-31 Stefan Kost <ensonic@users.sf.net>
1149 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
1150 (gst_test_mono_source_set_property),
1151 (gst_test_mono_source_class_init), (GST_START_TEST),
1152 (gst_controller_suite):
1153 more tests (hehe I have the most)
1155 describe popping messages whenusing mulltiple sources
1156 * libs/gst/controller/gst-controller.c:
1157 (gst_controlled_property_set_interpolation_mode),
1158 (gst_controlled_property_new):
1159 * libs/gst/controller/gst-controller.h:
1160 * libs/gst/controller/gst-interpolation.c:
1161 implement boolean properties
1163 2005-08-31 Wim Taymans <wim@fluendo.com>
1165 * gst/gstminiobject.c: (gst_mini_object_ref):
1166 Cannot assert that the refcount has to be positive
1167 since a disposed object can be resurrected.
1169 2005-08-31 Wim Taymans <wim@fluendo.com>
1171 * gst/gstpad.c: (gst_pad_init):
1172 Revert change, need to first fix badly behaving
1175 2005-08-30 Wim Taymans <wim@fluendo.com>
1177 * check/elements/fakesrc.c: (setup_fakesrc):
1178 * check/elements/identity.c: (setup_identity):
1179 Activate pads before using them.
1181 2005-08-30 Wim Taymans <wim@fluendo.com>
1183 * gst/base/gstadapter.c: (gst_adapter_flush):
1184 Flushing out 0 bytes is ok for this function.
1186 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1187 no newsegment gives a warning and sets the start/stop to
1190 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
1191 (gst_base_transform_set_passthrough):
1194 * gst/gstminiobject.c: (gst_mini_object_ref):
1195 Check refcount here too.
1197 * gst/gstpad.c: (gst_pad_init):
1198 Pads are initially flushing and refusing data.
1200 * gst/gstutils.c: (gst_element_link_pads_filtered):
1201 When adding a capsfilter element make sure it has the
1202 same state as the parent bin.
1204 2005-08-30 Stefan Kost <ensonic@users.sf.net>
1206 * docs/gst/tmpl/.cvsignore:
1207 * docs/gst/tmpl/gstformat.sgml:
1208 * docs/gst/tmpl/gstversion.sgml:
1212 * gst/gstversion.h.in:
1213 more docs and two more inlined
1215 2005-08-30 Wim Taymans <wim@fluendo.com>
1217 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
1218 Don't sync to clock.
1220 2005-08-30 Stefan Kost <ensonic@users.sf.net>
1222 * docs/gst/gstreamer-sections.txt:
1223 ultral33t func10ns deserve to appear in the docs actually
1224 * docs/gst/tmpl/.cvsignore:
1225 * docs/gst/tmpl/gstcompat.sgml:
1226 * docs/gst/tmpl/gstconfig.sgml:
1227 * gst/check/gstcheck.c:
1229 * gst/gstconfig.h.in:
1232 2005-08-30 Stefan Kost <ensonic@users.sf.net>
1234 * docs/gst/tmpl/.cvsignore:
1235 * docs/gst/tmpl/gstquery.sgml:
1236 * docs/gst/tmpl/gstutils.sgml:
1239 inlined and extended docs
1241 2005-08-30 Stefan Kost <ensonic@users.sf.net>
1243 * check/gst-libs/controller.c: (GST_START_TEST),
1244 (gst_controller_suite):
1246 * docs/gst/tmpl/gstutils.sgml:
1247 * docs/libs/gstreamer-libs-sections.txt:
1248 * docs/libs/tmpl/gstdataprotocol.sgml:
1250 * examples/controller/audio-example.c: (main):
1251 controller example works now
1254 * tools/gst-inspect.c: (print_element_properties_info):
1255 show param spec flags
1257 2005-08-29 Andy Wingo <wingo@pobox.com>
1259 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
1261 2005-08-28 Andy Wingo <wingo@pobox.com>
1263 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
1264 as having two arguments instead of just one. Allows superclasses
1265 to access information on subclasses -- see the terrible for() loop
1266 in gtype.c:g_type_create_instance for the reason why. All callers
1269 2005-08-27 Stefan Kost <ensonic@users.sf.net>
1271 * docs/design/part-messages.txt:
1273 * docs/gst/tmpl/.cvsignore:
1274 * docs/gst/tmpl/gstcaps.sgml:
1275 * docs/gst/tmpl/gstclock.sgml:
1282 added descriptions for bus and message
1283 inline caps and clock docs
1285 2005-08-27 Stefan Kost <ensonic@users.sf.net>
1291 2005-08-27 Stefan Kost <ensonic@users.sf.net>
1293 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
1296 2005-08-26 Andy Wingo <wingo@pobox.com>
1298 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
1299 element_set_state's return val.
1300 (test_2_elements): Add test that's been disabled for months.
1302 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
1303 can-activate-pull properties.
1305 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
1306 can-activate-pull properties. Implement is_seekable so fakesrc can
1307 operate in pull mode.
1309 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
1311 (gst_base_sink_activate, gst_base_sink_activate_pull)
1312 (gst_base_sink_activate_push): Make activation mode choosing work.
1314 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
1315 is right. Make pull mode work. Post an eos before pausing in pull
1317 (gst_base_sink_change_state): Pay attention to the core's
1318 change_state() return val.
1320 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
1321 has-getrange properties. Cleanups.
1323 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
1324 has_getrange and replace with can_activate_pull and
1327 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
1328 locking comments. Remove has_loop, has_chain and replace with
1329 can_activate_pull and can_activate_push.
1331 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
1334 * examples/Makefile.am:
1335 * examples/metadata/Makefile.am:
1336 * examples/metadata/read-metadata.c: (message_loop),
1337 (have_pad_handler), (make_pipeline), (print_tag), (main):
1338 Add metadata reading example that loops over a list of filenames,
1339 dumping any tags found.
1341 * gst/gstbus.c: (gst_bus_dispose):
1342 * gst/gstelement.c: (gst_element_dispose):
1343 Release a few potentially-held references in dispose.
1345 2005-08-26 Stefan Kost <ensonic@users.sf.net>
1347 * docs/gst/tmpl/gstminiobject.sgml:
1348 do *not* add tmpl/*.sgml files to CVS!
1350 2005-08-26 Stefan Kost <ensonic@users.sf.net>
1352 * libs/gst/bytestream/.cvsignore:
1353 * libs/gst/bytestream/Makefile.am:
1354 * libs/gst/bytestream/adapter.c:
1355 * libs/gst/bytestream/adapter.h:
1356 * libs/gst/bytestream/bytestream.c:
1357 * libs/gst/bytestream/bytestream.h:
1358 * libs/gst/bytestream/filepad.c:
1359 * libs/gst/bytestream/filepad.h:
1360 removing obsolete files
1362 2005-08-26 Stefan Kost <ensonic@users.sf.net>
1364 * docs/gst/gstreamer-docs.sgml:
1365 * docs/libs/gstreamer-libs-docs.sgml:
1366 disabed additional index entries again, as this makes docs-gen just
1367 slow and they aren't useful yet
1368 * docs/libs/gstreamer-libs-sections.txt:
1369 little -section.txt cleanup for libs
1371 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
1373 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1374 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
1375 fix up some debugging
1376 (gst_base_transform_get_unit_size),
1377 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
1378 (gst_base_transform_handle_buffer):
1379 * gst/base/gstbasetransform.h:
1380 handle and store timed NEWSEGMENT events so that subclasses that
1381 calculate time by counting samples have a segment_start time they
1382 need to add to their timestamps - see audioresample
1384 2005-08-26 Stefan Kost <ensonic@users.sf.net>
1387 removed ';' from the end of macro defs
1388 * docs/gst/gstreamer-docs.sgml:
1389 * docs/gst/gstreamer-sections.txt:
1390 * docs/gst/tmpl/.cvsignore:
1392 * gst/gstelement.c: (gst_element_class_init),
1393 (gst_element_set_state), (activate_pads),
1394 (gst_element_save_thyself):
1395 * gst/gstevent.c: (gst_event_new_newsegment):
1397 * gst/gstiterator.c:
1398 * gst/gstiterator.h:
1401 * gst/gstutils.c: (gst_pad_query_convert):
1403 fixed parameter name mismatches between source, header and docs
1404 added some more docs, resolved the last batch of unused elements in
1405 docs (now someone needs to doc them)
1407 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
1409 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
1410 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
1411 don't walk through the plugins backwards. Where is all this
1412 reversed logic coming from ?
1414 2005-08-25 Wim Taymans <wim@fluendo.com>
1416 * gst/base/gstbasetransform.c: (gst_base_transform_init),
1417 (gst_base_transform_transform_size),
1418 (gst_base_transform_configure_caps),
1419 (gst_base_transform_get_unit_size),
1420 (gst_base_transform_buffer_alloc),
1421 (gst_base_transform_change_state):
1422 * gst/base/gstbasetransform.h:
1423 Cache caps unit_size.
1424 Make sure we cannot negotiate up and downstream at the
1427 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
1429 * gst/gst.c: (init_pre), (init_post):
1430 register the installed plugin path after the env var
1431 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
1432 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
1433 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
1434 directories, so the tests can prefer uninstalled over installed
1436 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
1438 * gst/base/gstbasetransform.h:
1443 2005-08-25 Wim Taymans <wim@fluendo.com>
1445 * gst/gstbin.c: (bin_bus_handler):
1446 Be a bit more conservative about the posted message.
1448 * gst/gstbus.c: (gst_bus_post):
1449 Some cleanups, warn wrong return values.
1451 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
1453 * check/gst/gstbin.c: (GST_START_TEST):
1454 * gst/gstbin.c: (bin_bus_handler):
1455 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
1456 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
1457 (gst_message_new_warning), (gst_message_new_tag),
1458 (gst_message_new_state_changed), (gst_message_new_segment_start),
1459 (gst_message_new_segment_done), (gst_message_new_custom):
1461 * tools/gst-launch.c: (event_loop):
1462 * tools/gst-md5sum.c: (event_loop):
1463 Revert unpopular change for GST_MESSAGE_SRC to GObject.
1465 2005-08-25 Wim Taymans <wim@fluendo.com>
1467 * check/generic/states.c: (GST_START_TEST):
1468 Cleanup can be done at the end.
1470 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
1471 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
1472 (gst_task_get_state), (gst_task_start), (gst_task_pause):
1473 Oh boy.. Thanks for finding this, Thomas.
1475 2005-08-25 Stefan Kost <ensonic@users.sf.net>
1477 * docs/gst/gstreamer.types:
1480 2005-08-25 Stefan Kost <ensonic@users.sf.net>
1482 * docs/gst/gstreamer-docs.sgml:
1483 * docs/gst/gstreamer-sections.txt:
1484 * docs/gst/tmpl/.cvsignore:
1486 * gst/gstiterator.c:
1488 * gst/registries/gstxmlregistry.h:
1489 added missing classes and symbols (123 more to go)
1490 removed removed symbols from section file
1491 fixed many doc-comments
1493 2005-08-24 Wim Taymans <wim@fluendo.com>
1495 * check/generic/states.c: (GST_START_TEST):
1496 Make sure all tasks are stopped.
1498 * check/gst/gstbin.c: (GST_START_TEST):
1499 Unref after usage for proper valgrinding.
1501 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
1502 Really wait for the task to stop before destroying the
1505 * gst/gstqueue.c: (gst_queue_sink_activate_push),
1506 (gst_queue_src_activate_push):
1507 Small cleanups. Don't stop the task when we did not start
1510 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
1511 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
1512 (gst_task_get_state), (gst_task_start), (gst_task_pause),
1515 Protect the stream lock with the object lock.
1516 Disallow setting the stream lock when running.
1517 Add cleanup_all to wait for the threadpool to finish.
1518 Remove code to autoallocate a mutex if none was provided.
1519 Add _join() to wait for a task to stop.
1520 Protect the thread pool with a global lock.
1522 2005-08-24 Wim Taymans <wim@fluendo.com>
1524 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1525 (gst_base_sink_get_times), (gst_base_sink_do_sync),
1526 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
1527 * gst/base/gstbasesink.h:
1528 Handle newsegment events correctly.
1529 Drop buffers out of the segment range.
1531 2005-08-22 Andy Wingo <wingo@pobox.com>
1533 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
1534 macro, implements an interface and gstimplementsinterface for a
1537 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
1539 * check/Makefile.am:
1540 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
1541 add a test that does a bunch of state changes on elements
1542 needs some fixing for valgrind
1543 * check/states/sinks.c: (gst_object_suite):
1546 add prototype for gst_caps_is_equal_fixed
1548 * gst/gstregistrypool.c:
1551 2005-08-24 Andy Wingo <wingo@pobox.com>
1553 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
1554 convert a negative value. Doesn't make much sense. Mostly this is
1555 here to force callers to ensure -1 maps to -1.
1557 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1559 * docs/pwg/advanced-types.xml:
1560 Well done to Michael for catching my deliberate introduction
1561 of this spelling mistake.
1562 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
1564 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
1565 unlink pads before removing the element from the bin.
1567 2005-08-24 Andy Wingo <wingo@pobox.com>
1569 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
1570 the same thing as GST_DEBUG=*:4.
1571 (parse_debug_level, parse_debug_category): New helper parsers.
1573 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
1575 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
1576 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
1577 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
1578 (gst_base_transform_buffer_alloc),
1579 (gst_base_transform_handle_buffer):
1580 use gboolean return values and pointers to size so we can use the
1581 full GST_BUFFER_SIZE range (guint) for buffer sizes
1582 use GstPadDirection for transform_caps
1583 * gst/base/gstbasetransform.h:
1584 rename get_size to get_unit_size since that's what it is
1585 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
1586 use GstPadDirection for transform_caps
1587 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
1589 cleanup and debugging
1591 2005-08-24 Stefan Kost <ensonic@users.sf.net>
1593 * gst/gstelement.c: (gst_element_class_init),
1594 (gst_element_set_state), (activate_pads),
1595 (gst_element_save_thyself):
1596 * tools/gst-compprep.c: (main):
1597 * tools/gst-inspect.c: (print_element_properties_info):
1598 * tools/gst-xmlinspect.c: (print_element_properties):
1599 Fixed long standing mem-leak
1601 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1603 * check/gst/gstbin.c: (GST_START_TEST):
1604 * gst/gstbin.c: (bin_bus_handler):
1605 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
1606 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
1607 (gst_message_new_warning), (gst_message_new_tag),
1608 (gst_message_new_state_changed), (gst_message_new_segment_start),
1609 (gst_message_new_segment_done), (gst_message_new_custom):
1611 * tools/gst-launch.c: (event_loop):
1612 * tools/gst-md5sum.c: (event_loop):
1613 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
1614 that applications can sensibly post custom messages with references
1615 to their own objects.
1617 2005-08-24 Andy Wingo <wingo@pobox.com>
1619 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
1622 2005-08-24 Wim Taymans <wim@fluendo.com>
1624 * gst/base/gstbasetransform.c: (gst_base_transform_init),
1625 (gst_base_transform_transform_caps),
1626 (gst_base_transform_transform_size),
1627 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
1628 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
1629 (gst_base_transform_handle_buffer):
1630 * gst/base/gstbasetransform.h:
1631 Many fixes and new features added by Thomas. Can now also do
1632 transforms with variable sizes and a custom fixate_caps function.
1634 2005-08-24 Wim Taymans <wim@fluendo.com>
1636 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
1640 Cast to ClockTime before formatting to time.
1645 2005-08-24 Stefan Kost <ensonic@users.sf.net>
1647 * check/gst-libs/controller.c: (GST_START_TEST),
1648 (gst_controller_suite):
1649 * docs/gst/tmpl/gstcaps.sgml:
1650 * docs/gst/tmpl/gstghostpad.sgml:
1651 * docs/gst/tmpl/gstquery.sgml:
1652 * docs/gst/tmpl/gstutils.sgml:
1653 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
1654 (gst_object_sink_values), (gst_object_get_value_arrays),
1655 (gst_object_get_value_array):
1656 gracefully handle helper method calls to objects that are not beeing
1657 controlled, added test case for that
1659 2005-08-23 Wim Taymans <wim@fluendo.com>
1661 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
1662 (gst_event_new_newsegment), (gst_event_parse_newsegment),
1663 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
1664 (gst_event_parse_qos), (gst_event_new_seek),
1665 (gst_event_parse_seek):
1667 Some more debugging output and doc cleanups.
1669 * gst/gstqueue.c: (gst_queue_handle_sink_event):
1670 Fix possible deadlock.
1672 2005-08-23 Stefan Kost <ensonic@users.sf.net>
1674 * docs/gst/gstreamer-docs.sgml:
1675 * docs/gst/gstreamer-sections.txt:
1676 * docs/gst/gstreamer.types:
1677 * docs/gst/tmpl/.cvsignore:
1682 added 100 symbols from gstreamer-unused.txt to the right sections
1683 fixed more broken comments
1684 added GstBus to docs
1686 2005-08-23 Stefan Kost <ensonic@users.sf.net>
1688 * docs/gst/gstreamer-sections.txt:
1689 * docs/gst/tmpl/.cvsignore:
1690 * docs/gst/tmpl/gstbin.sgml:
1691 * docs/gst/tmpl/gstbuffer.sgml:
1692 * gst/base/gstbasesrc.c:
1693 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
1696 * tools/gst-launch.1.in:
1697 inlined more doc comments, added missing comments and fixed comments
1700 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
1702 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
1706 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
1708 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
1709 * gst/gststructure.h:
1710 add a fixate function for booleans; add a FIXME that these func
1711 names should probably be gst_structure_fixate_*
1713 2005-08-23 Stefan Kost <ensonic@users.sf.net>
1715 * docs/gst/gstreamer-docs.sgml:
1716 * docs/gst/gstreamer-sections.txt:
1718 * gst/gstbin.c: (gst_bin_get_type),
1719 (gst_bin_child_proxy_get_child_by_index),
1720 (gst_bin_child_proxy_get_children_count),
1721 (gst_bin_child_proxy_init):
1722 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
1723 (gst_child_proxy_get_child_by_index),
1724 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
1725 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
1726 (gst_child_proxy_get), (gst_child_proxy_set_property),
1727 (gst_child_proxy_set_valist), (gst_child_proxy_set),
1728 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
1729 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
1730 * gst/gstchildproxy.h:
1731 * gst/parse/grammar.y:
1732 * tools/gst-inspect.c: (print_interfaces),
1733 (print_element_properties_info), (print_element_info):
1734 ported gstchildproxy over from 0.8
1735 ported gst-inspect fixes and enhancements over from 0.8
1737 2005-08-22 Wim Taymans <wim@fluendo.com>
1739 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
1740 (gst_base_transform_handle_buffer):
1741 Also call the transform function if we have ANY caps.
1743 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
1746 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
1748 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
1749 Don't pretend to handle seek events if the source is not seekable
1751 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
1753 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1754 Remove extra parameter to debug output
1756 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
1757 (gst_base_src_do_seek), (gst_base_src_activate_push):
1758 Fix seek event handling.
1760 * gst/gstpipeline.c: (gst_pipeline_change_state):
1761 * gst/gstqueue.c: (gst_queue_handle_sink_event),
1762 (gst_queue_src_activate_push):
1763 Don't start the src pad task on FLUSH_STOP if the pad
1767 2005-08-22 Wim Taymans <wim@fluendo.com>
1769 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1770 Added check for gst_static_caps_get() refcounting.
1772 2005-08-22 Wim Taymans <wim@fluendo.com>
1774 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
1775 Make _static_caps_get() refcounting sane.
1777 * gst/gstelement.c: (gst_element_set_state):
1778 Add g_return_val_if_fail() to protect against segfaults.
1780 2005-08-22 Stefan Kost <ensonic@users.sf.net>
1782 * docs/gst/tmpl/gstevent.sgml:
1785 inlined remaining docs, added missing doc comments
1787 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
1789 * check/gst/gstbin.c: (GST_START_TEST):
1790 since we don't know when preroll is done, use refcount range
1792 * gst/check/gstcheck.h:
1793 add macro for checking refcount range
1795 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
1797 * check/Makefile.am:
1798 clean up environment for when registry gets built versus
1799 when actual tests are run; valgrind seems to not report
1800 leaks if GST_PLUGIN_PATH is set to some specific values
1801 * check/gst/gstbin.c: (GST_START_TEST):
1802 add more refcounting checks; maybe this exposes a
1805 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1806 * gst/check/gstcheck.h:
1807 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
1808 (gst_bin_change_state):
1809 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
1810 add/fix debugging/whitespace
1812 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
1814 * check/gst/gstevent.c: (event_probe), (test_event),
1816 Er, don't call gst_bin_watch_for_state_change you idiot.
1818 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
1820 * check/Makefile.am:
1821 Use CHECK_CFLAGS and CHECK_LIBS
1822 * check/gst/gstevent.c: (event_probe), (test_event),
1825 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
1826 (gst_base_src_start), (gst_base_src_stop),
1827 (gst_base_src_activate_push), (gst_base_src_activate_pull),
1828 (gst_base_src_change_state):
1829 Sprinkle gst_base_src_stop liberally around error paths to fix
1830 problems reusing a source after failed state changes.
1831 * gst/base/gsttypefindhelper.c: (helper_find_peek),
1832 (helper_find_suggest), (gst_type_find_helper):
1833 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
1835 * docs/gst/tmpl/gstevent.sgml:
1836 Migrate part of the docs from the SGML file. Wait for ensonic to
1837 tell me how I did it wrong ;)
1838 * tools/gst-typefind.c: (main):
1839 Extra robustness to state changes between files.
1841 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
1843 * check/Makefile.am:
1844 don't valgrind the controller test - it's leaking - Stefan, HELP
1845 * gst/check/gstcheck.c: (gst_check_message_error),
1846 (gst_check_chain_func), (gst_check_setup_element),
1847 (gst_check_teardown_element), (gst_check_setup_src_pad),
1848 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
1849 (gst_check_teardown_sink_pad):
1850 * gst/check/gstcheck.h:
1851 add a bunch of methods to set up elements, and src and sink pads
1852 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
1853 * check/elements/identity.c: (setup_identity), (cleanup_identity),
1858 whitespace/doc fixes
1860 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
1863 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
1864 be handled by the application and not always printed as well
1866 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
1868 * check/Makefile.am:
1870 * gst/check/gstcheck.c: (gst_check_message_error):
1871 * gst/check/gstcheck.h:
1872 add a fail_unless_equals_int
1873 add fail_unless for error messages
1875 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
1877 * check/Makefile.am:
1879 * common/Makefile.am:
1882 factor out some of the common stuff so we can use it
1884 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
1886 * check/Makefile.am:
1887 * check/gst/gstiterator.c: (GST_START_TEST):
1888 * check/gst/gstsystemclock.c: (GST_START_TEST),
1889 (gst_systemclock_suite):
1890 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
1894 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
1896 * check/elements/.cvsignore:
1897 * check/elements/gstfakesrc.c:
1898 rename to name of element
1899 * check/elements/identity.c: (chain_func), (event_func),
1900 (setup_identity), (cleanup_identity), (GST_START_TEST),
1901 (identity_suite), (main):
1902 add a test for identity
1903 * check/Makefile.am:
1904 * pkgconfig/Makefile.am:
1905 * pkgconfig/gstreamer-check.pc.in:
1906 * pkgconfig/gstreamer-check-uninstalled.pc.in:
1910 move the check stuff to a library that gets installed
1911 * check/gst-libs/controller.c: (GST_START_TEST):
1912 * check/gst-libs/gdp.c:
1913 * check/gst/gst.c: (GST_START_TEST):
1914 * check/gst/gstbin.c:
1915 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
1916 * check/gst/gstbus.c:
1917 * check/gst/gstcaps.c: (GST_START_TEST):
1918 * check/gst/gstelement.c:
1919 * check/gst/gstghostpad.c:
1920 * check/gst/gstiterator.c:
1921 * check/gst/gstmessage.c:
1922 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
1923 * check/gst/gstobject.c:
1924 * check/gst/gstpad.c: (GST_START_TEST):
1925 * check/gst/gststructure.c: (GST_START_TEST):
1926 * check/gst/gstsystemclock.c: (GST_START_TEST),
1927 (gst_systemclock_suite):
1928 * check/gst/gsttag.c: (gst_tag_suite):
1929 * check/gst/gstvalue.c:
1930 * check/pipelines/cleanup.c:
1931 * check/pipelines/simple_launch_lines.c:
1932 * check/states/sinks.c:
1933 change include statement
1935 * docs/gst/gstreamer-sections.txt:
1936 * docs/gst/tmpl/gstpad.sgml:
1937 document more pad stuff
1938 * gst/gstminiobject.c: (gst_mini_object_ref),
1939 (gst_mini_object_unref):
1942 2005-08-19 Stefan Kost <ensonic@users.sf.net>
1944 * docs/gst/tmpl/gst.sgml:
1946 eliminate another tmpl file, fix spelling in the long-description
1948 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
1950 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
1951 (test_event), (timediff), (gstevents_suite):
1952 Should fix build on 64-bit arch's
1954 2005-08-18 Andy Wingo <wingo@pobox.com>
1956 Make sure that when a pipeline goes to PLAYING, that data has
1957 actually hit the sink.
1959 * check/states/sinks.c (test_sink): A sink that doesn't get any
1960 data shouldn't return SUCCESS for going to either PLAYING or
1961 PAUSED. Test also the return values on the way back down.
1963 * gst/gstelement.c (gst_element_set_state): When changing the
1964 state of an element currently changing state asynchronously, go to
1965 lost-state after commiting the pending state. Makes future calls
1966 to get_state continue to return ASYNC.
1968 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
1969 ASYNC when going to PLAYING if we still don't have preroll, as can
1970 happen with live sources.
1972 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
1974 * docs/pwg/advanced-types.xml:
1975 Hack long paragraph into 2 chunks as a workaround for buggy
1976 jadetex version in sid and breezy that loops infinitely and
1979 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
1981 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
1982 (test_event), (timediff), (gstevents_suite):
1983 Provide more error margin in clock measurements to allow for
1984 g_get_current_time inaccuracies.
1986 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
1988 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
1989 (test_event), (timediff), (gstevents_suite):
1990 Fix error message output so I might be able to tell why the
1991 test works here but fails on the build farm.
1993 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
1995 * check/Makefile.am:
1996 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
1997 (test_event), (timediff), (gstevents_suite), (main):
2000 * docs/design/part-seeking.txt:
2003 * docs/gst/tmpl/gstevent.sgml:
2004 * docs/gst/tmpl/gstfakesrc.sgml:
2007 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2008 Treat a buffer-without-newsegment the same as a receiving
2009 a newsegment not in time format, and disable syncing to the clock
2012 * gst/gstbus.c: (gst_bus_set_sync_handler):
2013 Assert if anyone tries to replace the existing sync_handler for bus,
2014 as only the owner should be setting it.
2017 Have a fixed set of custom event enums with events identified by
2018 their structure name (as in 0.8), rather than a free-for-all
2019 allowing collisions between enum values from different plugins.
2021 * gst/gstpad.c: (gst_pad_class_init):
2024 * gst/gstqueue.c: (gst_queue_handle_sink_event):
2025 Handle out-of-band downstream events from the sending thread.
2027 2005-08-17 Andy Wingo <wingo@pobox.com>
2029 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
2030 play-timeout==0 to mean no timeout at all. In that case, don't
2031 bother with a get_state or a warning, just return directly, even
2034 * gst/base/gstbasetransform.c: Debug changes.
2037 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
2038 ensure bins post state change messages. A bit of a hack but I can't
2039 think of a way to avoid it.
2041 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
2043 2005-08-16 Andy Wingo <wingo@pobox.com>
2045 * gst/base/gstadapter.h:
2046 * gst/base/gstadapter.c (gst_adapter_take): New function, like
2047 peek() but you own the data. Not terribly efficient atm.
2049 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2051 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
2052 (gst_element_found_tags):
2054 Add two utility functions for tag handling.
2056 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2058 * docs/manual/advanced-dataaccess.xml:
2059 * docs/manual/basics-helloworld.xml:
2060 Fix docs to use _bin_add() before _link(), which fixes the examples
2061 with recent core versions (reported by Madhan Raj M
2062 <raj_madan@rediffmail.com>, #313199).
2064 2005-08-16 Wim Taymans <wim@fluendo.com>
2066 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2067 Added subtract checks.
2069 * docs/design/part-events.txt:
2070 Some more docs about newsegment
2072 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
2075 * gst/gstcaps.c: (gst_caps_to_string):
2076 Add comments, cleanups.
2078 * gst/gstelement.c: (gst_element_save_thyself):
2081 * gst/gstvalue.c: (gst_value_collect_int_range),
2082 (gst_string_unwrap), (gst_value_union_int_int_range),
2083 (gst_value_union_int_range_int_range),
2084 (gst_value_intersect_int_int_range),
2085 (gst_value_intersect_int_range_int_range),
2086 (gst_value_intersect_double_double_range),
2087 (gst_value_intersect_double_range_double_range),
2088 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
2089 (gst_value_subtract_int_range_int),
2090 (gst_value_subtract_double_range_double),
2091 (gst_value_subtract_double_range_double_range),
2092 (gst_value_subtract_from_list), (gst_value_subtract_list),
2093 (gst_value_can_compare), (gst_value_compare_fraction):
2094 Cleanups, add comments, remove unneeded asserts.
2096 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
2098 * tools/gst-launch.c: (event_loop):
2099 don't convert NULL structures to strings
2101 2005-08-15 Stefan Kost <ensonic@users.sf.net>
2103 * docs/gst/gstreamer-sections.txt:
2104 made some defines private
2105 * docs/gst/tmpl/gstconfig.sgml:
2106 * docs/gst/tmpl/gstqueue.sgml:
2107 * docs/gst/tmpl/gsttaglist.sgml:
2108 * docs/gst/tmpl/gsttypes.sgml:
2109 * docs/gst/tmpl/gstutils.sgml:
2110 * docs/pwg/appendix-porting.xml:
2111 * gst/base/gstbasesink.h:
2112 * gst/base/gstbasesrc.c:
2113 * gst/base/gstbasesrc.h:
2114 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
2115 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
2116 * gst/gstelement.c: (gst_element_class_init):
2117 * gst/gstpad.c: (gst_pad_class_init):
2118 * gst/gstqueue.c: (gst_queue_class_init):
2119 * gst/gstxml.c: (gst_xml_class_init):
2120 documented all undocumented signal inline
2121 * libs/gst/controller/gst-controller.h:
2124 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2126 * docs/pwg/appendix-porting.xml:
2127 Document _set_link_function -> _set_setcaps_function.
2129 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
2131 * check/Makefile.am:
2132 add a .check target for running the check
2133 * check/gst-libs/controller.c: (GST_START_TEST):
2135 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
2136 complete checks for gstbuffer; would be nice if I could get the
2137 gcov stuff to work so I can see if I actually completed gstbuffer.c
2139 add ASSERT_BUFFER_REFCOUNT
2141 2005-08-13 Tim-Philipp M??ller <tim at centricular dot net>
2143 * docs/gst/gstreamer-sections.txt:
2144 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
2146 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
2147 spew out a warning if a tag that is already registered
2148 is re-registered, unless it is re-registered with a
2149 different type (#308438).
2151 2005-08-12 Tim-Philipp M??ller <tim at centricular dot net>
2153 * docs/pwg/appendix-porting.xml:
2154 * docs/pwg/building-state.xml:
2155 Add some paragraphs about state changes in 0.9 to the PWG
2156 and the porting guide, in particular about the new meaning
2157 of GST_STATE_PAUSED and how to write state change functions
2158 with concurrent access by multiple threads in mind.
2160 2005-08-11 Stefan Kost <ensonic@users.sf.net>
2162 * docs/gst/gstreamer-docs.sgml:
2163 * docs/libs/gstreamer-libs-docs.sgml:
2164 added deprecation and since indexes
2165 * libs/gst/controller/gst-controller.c:
2166 * libs/gst/controller/gst-helper.c:
2170 2005-08-11 Wim Taymans <wim@fluendo.com>
2172 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
2173 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
2174 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
2175 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
2176 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
2177 (gst_ghost_pad_set_target):
2178 Actually implement (re)setting the target on a ghostpad
2179 as described in the docs.
2181 2005-08-10 Tim-Philipp M??ller <tim at centricular dot net>
2183 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
2184 Check whether GST_DEBUG_NO_COLOR environment variable is
2185 set and disable coloured debug output if that is the case.
2187 2005-08-10 Tim-Philipp M??ller <tim at centricular dot net>
2189 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2190 (gst_type_find_helper):
2191 The memory returned by gst_type_find_peek() needs to
2192 stay valid until the end of a typefind function, and
2193 typefind functions may keep results from different
2194 offsets around, so we can't just unref the buffer from
2195 the previous _peek(), but have to save all buffers
2196 returned by _peek() until typefinding is done and only
2199 2005-08-09 Tim-Philipp M??ller <tim at centricular dot net>
2201 * docs/gst/gstreamer-sections.txt:
2203 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
2205 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2207 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
2208 Fix a pretty good memleak.
2210 2005-08-08 Tim-Philipp M??ller <tim at centricular dot net>
2212 * gst/gstiterator.h:
2213 Fix wrong include and 'make distcheck'.
2215 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2217 * gst/gstbin.c: (bin_bus_handler):
2218 Use gst_element_post_message() instead.
2220 2005-08-08 Tim-Philipp M??ller <tim at centricular dot net>
2222 * gst/base/gstadapter.h:
2223 * gst/base/gstbasesink.h:
2224 * gst/base/gstbasesrc.h:
2225 * gst/base/gstbasetransform.h:
2226 * gst/base/gstcollectpads.h:
2227 * gst/base/gstpushsrc.h:
2228 * gst/gstiterator.h:
2229 Add padding to our base elements' class and instance structs and
2230 to GstIterator (you will need to rebuild all plugins and apps!)
2232 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2234 * gst/gstbin.c: (bin_bus_handler):
2235 Make default message forwarding from child->bus to bin->bus
2236 threadsafe and make it not emit warnings if the parent has no bus.
2238 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2240 * gst/gstelement.c: (activate_pads):
2241 On paused->ready, set pad->caps to NULL, as is the documented
2242 behaviour in this state change. Fixes playback of series of
2243 media files when visualization is enabled in Totem.
2245 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2247 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
2248 Allow NULL as filter-caps (which means "any").
2250 2005-08-05 Stefan Kost <ensonic@users.sf.net>
2252 * docs/libs/gstreamer-libs-sections.txt:
2253 * libs/gst/controller/gst-controller.c:
2254 * libs/gst/controller/gst-controller.h:
2255 * libs/gst/controller/gst-helper.c:
2256 adding more entries to the docs and fix small doc-bugs
2258 2005-08-05 Stefan Kost <ensonic@users.sf.net>
2260 * docs/gst/gstreamer-docs.sgml:
2261 * docs/gst/gstreamer-sections.txt:
2262 * docs/gst/gstreamer.types:
2263 * docs/gst/tmpl/gstbasesink.sgml:
2264 * docs/gst/tmpl/gstbasesrc.sgml:
2265 * docs/gst/tmpl/gstbasetransform.sgml:
2266 * docs/gst/tmpl/gstfakesrc.sgml:
2267 * gst/base/gstcollectpads.c:
2268 * gst/base/gstcollectpads.h:
2269 * libs/gst/controller/gst-controller.c:
2270 * libs/gst/controller/gst-controller.h:
2271 * libs/gst/controller/gst-helper.c:
2272 * libs/gst/controller/gst-interpolation.c:
2273 * libs/gst/controller/lib.c:
2274 added long/short desc for controller docs
2275 added collectpads base class docs
2276 added correct includes to base-class docs
2278 2005-08-05 Stefan Kost <ensonic@users.sf.net>
2280 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
2281 (gst_test_mono_source_set_property),
2282 (gst_test_mono_source_class_init), (GST_START_TEST),
2283 (gst_controller_suite):
2284 * docs/gst/gstreamer-docs.sgml:
2285 * docs/gst/gstreamer-sections.txt:
2286 * docs/gst/gstreamer.types:
2287 * docs/libs/gstreamer-libs-docs.sgml:
2288 * docs/libs/gstreamer-libs-sections.txt:
2289 * gst/base/gstadapter.c:
2290 * libs/gst/controller/gst-controller.c:
2291 (gst_controlled_property_new), (gst_controlled_property_free),
2292 (gst_controller_new_valist),
2293 (gst_controller_remove_properties_valist),
2294 (gst_controller_sink_values), (_gst_controller_finalize):
2295 * libs/gst/controller/gst-controller.h:
2296 * libs/gst/controller/gst-helper.c:
2297 (gst_object_control_properties), (gst_object_uncontrol_properties),
2298 (gst_object_get_controller), (gst_object_set_controller),
2299 (gst_object_sink_values), (gst_object_get_value_arrays),
2300 (gst_object_get_value_array):
2301 more tests (and fixes) for the controller
2302 more docs for the controller
2303 integrated companies docs for the adapter
2305 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
2307 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
2308 (GST_START_TEST), (fakesrc_suite):
2309 add tests for sizetype
2311 2005-08-04 Andy Wingo <wingo@pobox.com>
2313 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
2314 fixes buffer_alloc proxying among other things.
2316 * gst/base/gstbasetransform.c:
2317 * gst/base/gstbasetransform.h:
2318 Revert patch to gstbasetransform from 7-28 removing
2321 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
2322 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
2323 Semantics changed, should return not the size of the output buffer
2324 but the byte size of a buffer with a given caps.
2326 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
2328 (gst_base_transform_configure_caps): Don't set out_size here: (in,
2329 out) are not the pad caps until setcaps finishes.
2330 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
2331 not-in-place case as well. Deal with changing from in-place to
2332 not-in-place within calling pad_alloc_buffer. Still a bit
2333 concerned about the overhead here...
2335 2005-08-03 Andy Wingo <wingo@pobox.com>
2337 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
2338 fixating is an error.
2340 2005-08-04 Edward Hervey <edward@fluendo.com>
2342 * gst/base/gstadapter.h:
2343 Added gst_adapter_get_type() to the header
2345 2005-08-03 Stefan Kost <ensonic@users.sf.net>
2347 * check/Makefile.am:
2348 * check/gst-libs/controller.c:
2349 * libs/gst/controller/gst-controller.c:
2350 (gst_controller_new_valist):
2351 added check test suite for the controller
2352 * gst/base/gstpushsrc.c:
2355 2005-08-03 Stefan Kost <ensonic@users.sf.net>
2357 * docs/gst/Makefile.am:
2358 * docs/gst/gstreamer-docs.sgml:
2359 * docs/gst/gstreamer-sections.txt:
2360 * docs/gst/gstreamer.types:
2361 * docs/gst/tmpl/gstfakesrc.sgml:
2363 * gst/base/gstbasesink.c:
2364 * gst/base/gstbasesink.h:
2365 * gst/base/gstbasesrc.c:
2366 * gst/base/gstbasesrc.h:
2367 * gst/base/gstbasetransform.c:
2368 * gst/base/gstpushsrc.c:
2369 * gst/base/gstpushsrc.h:
2370 add short/long description docs to base classes
2371 add pushsrc to the docs
2372 remove consolidated doc fragments
2374 2005-08-03 Stefan Kost <ensonic@users.sf.net>
2377 * docs/libs/Makefile.am:
2378 * docs/libs/gstreamer-libs-docs.sgml:
2379 * docs/libs/gstreamer-libs-sections.txt:
2380 * docs/libs/gstreamer-libs.types:
2381 * examples/Makefile.am:
2382 * examples/controller/.cvsignore:
2383 * examples/controller/Makefile.am:
2384 * examples/controller/audio-example.c: (main):
2385 * libs/gst/Makefile.am:
2386 * libs/gst/controller/.cvsignore:
2387 * libs/gst/controller/Makefile.am:
2388 * libs/gst/controller/gst-controller.c:
2389 (on_object_controlled_property_changed), (gst_timed_value_compare),
2390 (gst_timed_value_find),
2391 (gst_controlled_property_set_interpolation_mode),
2392 (gst_controlled_property_new), (gst_controlled_property_free),
2393 (gst_controller_find_controlled_property),
2394 (gst_controller_new_valist), (gst_controller_new),
2395 (gst_controller_remove_properties_valist),
2396 (gst_controller_remove_properties), (gst_controller_set),
2397 (gst_controller_set_from_list), (gst_controller_unset),
2398 (gst_controller_get), (gst_controller_get_all),
2399 (gst_controller_sink_values), (gst_controller_get_value_arrays),
2400 (gst_controller_get_value_array),
2401 (gst_controller_set_interpolation_mode),
2402 (_gst_controller_finalize), (_gst_controller_init),
2403 (_gst_controller_class_init), (gst_controller_get_type):
2404 * libs/gst/controller/gst-controller.h:
2405 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
2406 (g_object_uncontrol_properties), (g_object_get_controller),
2407 (g_object_set_controller), (g_object_sink_values),
2408 (g_object_get_value_arrays), (g_object_get_value_array):
2409 * libs/gst/controller/gst-interpolation.c:
2410 (gst_controlled_property_find_timed_value_node),
2411 (interpolate_none_get), (interpolate_trigger_get),
2412 (interpolate_trigger_get_value_array):
2413 * libs/gst/controller/lib.c: (gst_controller_init):
2414 * pkgconfig/Makefile.am:
2415 * pkgconfig/gstreamer-control-uninstalled.pc.in:
2416 * pkgconfig/gstreamer-control.pc.in:
2417 * testsuite/Makefile.am:
2418 * testsuite/controller/.cvsignore:
2419 * testsuite/controller/Makefile.am:
2420 * testsuite/controller/interpolator.c: (main):
2421 added controller code
2422 removed dparam pc files
2424 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
2425 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
2426 (gst_collectpads_stop):
2427 Broadcast the condition when shutting down, to make sure we wake all
2428 threads up. Shut down pads on finalize, for safety.
2430 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
2431 * gst/base/gstbasetransform.c: (gst_base_transform_init),
2432 (gst_base_transform_handle_buffer),
2433 (gst_base_transform_change_state):
2434 Handle PAUSED->READY->PAUSED transition after negotiation
2436 * gst/gstmessage.c: (gst_message_init):
2437 Extra piece of debug for new messages.
2439 2005-08-01 Stefan Kost <ensonic@users.sf.net>
2442 * docs/gst/tmpl/gstbasesrc.sgml:
2443 * docs/gst/tmpl/gstelement.sgml:
2444 * docs/gst/tmpl/gstevent.sgml:
2445 * docs/gst/tmpl/gstfakesrc.sgml:
2446 * docs/gst/tmpl/gstformat.sgml:
2447 * docs/gst/tmpl/gstghostpad.sgml:
2448 * docs/gst/tmpl/gstpad.sgml:
2449 * docs/gst/tmpl/gstquery.sgml:
2450 * docs/gst/tmpl/gststructure.sgml:
2451 * docs/gst/tmpl/gsttaglist.sgml:
2452 * docs/gst/tmpl/gstvalue.sgml:
2453 * docs/libs/gstreamer-libs-docs.sgml:
2454 * docs/libs/gstreamer-libs-sections.txt:
2455 * docs/libs/gstreamer-libs.types:
2456 * libs/gst/Makefile.am:
2457 * libs/gst/control/.cvsignore:
2458 * libs/gst/control/Makefile.am:
2459 * libs/gst/control/control.c:
2460 * libs/gst/control/control.h:
2461 * libs/gst/control/dparam.c:
2462 * libs/gst/control/dparam.h:
2463 * libs/gst/control/dparam_smooth.c:
2464 * libs/gst/control/dparam_smooth.h:
2465 * libs/gst/control/dparamcommon.h:
2466 * libs/gst/control/dparammanager.c:
2467 * libs/gst/control/dparammanager.h:
2468 * libs/gst/control/dplinearinterp.c:
2469 * libs/gst/control/dplinearinterp.h:
2470 * libs/gst/control/unitconvert.c:
2471 * libs/gst/control/unitconvert.h:
2472 * testsuite/Makefile.am:
2473 * testsuite/dynparams/.cvsignore:
2474 * testsuite/dynparams/Makefile.am:
2475 * testsuite/dynparams/dparamstest.c:
2476 * tools/Makefile.am:
2477 * tools/gst-inspect.c: (print_element_info), (main):
2478 * tools/gst-xmlinspect.c: (print_element_info), (main):
2479 deactivate and remove dparams (libgstcontrol)
2481 2005-08-01 Tim-Philipp M??ller <tim at centricular dot net>
2483 * gst/elements/gsttypefindelement.c:
2484 (gst_type_find_element_have_type), (gst_type_find_element_init),
2485 (stop_typefinding), (gst_type_find_element_handle_event),
2486 (gst_type_find_element_chain), (gst_type_find_element_getrange):
2487 * gst/elements/gsttypefindelement.h:
2488 Set caps on all outgoing buffers, not just the first one.
2490 2005-08-01 Tim-Philipp M??ller <tim at centricular dot net>
2492 * gst/elements/gsttypefindelement.c:
2493 (gst_type_find_element_have_type),
2494 (gst_type_find_element_check_set_buffer_caps),
2495 (gst_type_find_element_init), (stop_typefinding),
2496 (gst_type_find_element_handle_event),
2497 (gst_type_find_element_chain), (gst_type_find_element_getrange):
2498 * gst/elements/gsttypefindelement.h:
2499 Set caps on first outgoing buffer when we've found the type.
2501 2005-08-01 Tim-Philipp M??ller <tim at centricular dot net>
2503 * docs/gst/gstreamer-docs.sgml:
2504 * docs/gst/gstreamer-sections.txt:
2505 * docs/gst/tmpl/gstscheduler.sgml:
2506 * docs/gst/tmpl/gstschedulerfactory.sgml:
2507 Remove some old cruft from docs.
2509 2005-07-31 Tim-Philipp M??ller <tim at centricular dot net>
2512 Fix inline docs for GstPadLinkReturn.
2514 * gst/gststructure.c: (gst_structure_has_name):
2515 * gst/gststructure.h:
2516 * docs/gst/gstreamer-sections.txt:
2517 New API: gst_structure_has_name().
2519 2005-07-30 Tim-Philipp M??ller <tim at centricular dot net>
2522 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
2523 and _LARGEFILE_SOURCE in config.h as required. Do not
2524 export those flags in our .pc files any longer (#142209).
2526 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
2528 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
2529 (gst_file_sink_do_seek), (gst_file_sink_event),
2530 (gst_file_sink_get_current_offset), (gst_file_sink_render):
2531 Redo seek/tell calls with large file support in mind; add some
2532 debugging messages; add log message that tells us when large
2533 file support is unavailable or not enabled for some reason.
2535 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
2536 Add log message that tells us when large file support
2537 is unavailable or not enabled for some reason.
2539 2005-07-29 Wim Taymans <wim@fluendo.com>
2541 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2542 Added test for removing an element with ghostpad from a bin.
2543 Fixed test as current implementation does the right thing.
2545 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
2546 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
2547 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
2548 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
2549 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
2550 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
2551 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
2552 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
2553 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
2554 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
2555 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
2556 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
2557 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
2558 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
2559 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
2560 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
2561 * gst/gstghostpad.h:
2562 Clean up ghostpads, remove properties for internal stuff.
2565 Prepare for switching targets, not all use cases work yet.
2567 2005-07-29 Wim Taymans <wim@fluendo.com>
2569 * docs/design/part-gstghostpad.txt:
2572 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
2573 (gst_bin_remove_func):
2574 Unlinking pads while holding the bin LOCK is not a good
2577 * gst/gstpad.c: (gst_pad_class_init),
2578 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
2579 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
2580 No prob setting template after creating the pad.
2582 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
2584 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
2585 (gst_bus_peek), (gst_bus_source_dispatch),
2586 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
2587 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
2588 gst_bus_poll may be called from other threads. Handle
2589 this nicely by not making poll_data disappear off the
2590 stack once gst_bus_poll returns.
2591 gst_bus_peek now increments the refcount on the returned
2594 2005-07-29 Wim Taymans <wim@fluendo.com>
2596 * docs/design/part-gstghostpad.txt:
2597 Overview of current GhostPad datastructures and use
2598 cases for changing the target.
2600 2005-07-28 Wim Taymans <wim@fluendo.com>
2602 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2603 Added checks for hierarchy consistency whan adding linked
2606 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2607 Added check to test element scheduling without bin/pipeline.
2609 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
2610 First add elements to bin, then link.
2612 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
2613 (gst_bin_remove_func):
2614 Unlink pads from elements added/removed from bin to maintain
2615 hierarchy consistency.
2617 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2619 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2620 (gst_base_transform_handle_buffer):
2621 * gst/base/gstbasetransform.h:
2622 Remove broken delay_configure (fixes renegotiation of software
2623 scaling pipelines); remove some leftover printf()s.
2625 2005-07-28 Wim Taymans <wim@fluendo.com>
2627 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2628 Added some more tests for wrong hierarchy
2630 * docs/design/part-overview.txt:
2633 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
2636 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
2637 (gst_element_dispose):
2640 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
2641 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
2642 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
2643 (gst_pad_set_caps), (gst_pad_send_event):
2644 Check for correct hierarchy when linking pads. Moving to
2645 strict requirement for ghostpads when linking elements in
2649 Clean ups. Added WRONG_HIERARCHY return value.
2651 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2653 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
2654 Better debug if no transform is possible.
2656 2005-07-27 Wim Taymans <wim@fluendo.com>
2658 * docs/random/wtay/network-transp:
2661 2005-07-27 Wim Taymans <wim@fluendo.com>
2663 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
2664 (gst_dp_event_from_packet):
2665 Fix serialization of seek events.
2667 2005-07-27 Wim Taymans <wim@fluendo.com>
2669 * check/gst-libs/gdp.c: (GST_START_TEST):
2670 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
2671 Fix compilation and fix event serialization.
2673 2005-07-27 Wim Taymans <wim@fluendo.com>
2676 * docs/design/part-TODO.txt:
2677 * docs/design/part-events.txt:
2680 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2681 (gst_base_sink_event), (gst_base_sink_do_sync),
2682 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
2683 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2684 (gst_base_src_do_seek), (gst_base_src_event_handler),
2685 (gst_base_src_loop):
2686 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2687 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2688 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
2689 (gst_base_transform_event), (gst_base_transform_handle_buffer),
2690 (gst_base_transform_set_passthrough),
2691 (gst_base_transform_is_passthrough):
2692 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
2693 * gst/elements/gstfilesink.c: (gst_file_sink_event):
2699 * gst/gstelement.c: (gst_element_seek):
2701 Update gst_element_seek.
2703 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
2704 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
2705 (gst_event_new_flush_start), (gst_event_new_flush_stop),
2706 (gst_event_new_eos), (gst_event_new_newsegment),
2707 (gst_event_parse_newsegment), (gst_event_new_tag),
2708 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
2709 (gst_event_parse_qos), (gst_event_new_seek),
2710 (gst_event_parse_seek), (gst_event_new_navigation):
2712 Make GstEvent use GstStructure. Add parsing code, make sure the
2713 API is sufficiently generic.
2714 Mark possible directions of events and serialization.
2716 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
2717 (_gst_message_copy), (gst_message_new_segment_start),
2718 (gst_message_new_segment_done), (gst_message_new_custom),
2719 (gst_message_parse_segment_start),
2720 (gst_message_parse_segment_done):
2723 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
2724 (gst_pad_set_caps), (gst_pad_send_event):
2725 Update for new events.
2726 Catch events sent in wrong directions.
2728 * gst/gstqueue.c: (gst_queue_link_src),
2729 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
2730 (gst_queue_handle_src_query):
2735 Remove event code from this file.
2737 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
2738 (gst_dp_event_from_packet):
2741 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2743 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
2744 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2745 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
2746 Make debugging actually useful.
2748 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2750 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
2751 (gst_pad_fixate_caps):
2752 Implement default fixation once again, so that gst_pad_fixate()
2753 actually does anything at all. This probably needs to be some
2754 sort of a last resort, and use profile-based fixation first, but
2755 since that doesn't exist yet, this is the best we have. Fixes
2756 visualization in Totem.
2758 2005-07-22 Wim Taymans <wim@fluendo.com>
2760 * docs/design/part-events.txt:
2763 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2764 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
2765 (gst_base_sink_activate_pull):
2768 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
2769 (gst_fake_src_create):
2770 Fix handoff marshall.
2772 * gst/elements/gstidentity.c: (gst_identity_class_init),
2773 (gst_identity_transform_ip):
2774 We're a real inplace element.
2776 * gst/gstbus.c: (gst_bus_post):
2777 Added some comments.
2779 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
2780 * tests/muxing/case1.c: (main):
2781 * tests/sched/dynamic-pipeline.c: (main):
2782 * tests/sched/interrupt1.c: (main):
2783 * tests/sched/interrupt2.c: (main):
2784 * tests/sched/interrupt3.c: (main):
2785 * tests/sched/runxml.c: (main):
2786 * tests/sched/sched-stress.c: (main):
2787 * tests/seeking/seeking1.c: (event_received), (main):
2788 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
2790 * tests/threadstate/threadstate3.c: (main):
2791 * tests/threadstate/threadstate4.c: (main):
2792 * tests/threadstate/threadstate5.c: (main):
2795 2005-07-21 Wim Taymans <wim@fluendo.com>
2797 * docs/design/part-seeking.txt:
2798 Some small additions.
2800 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2801 (gst_base_sink_get_times), (gst_base_sink_do_sync),
2802 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
2803 * gst/base/gstbasesink.h:
2804 discont values are gint64, handle the math correctly.
2806 * gst/base/gstbasesrc.c: (gst_base_src_loop):
2807 Make the basesrc report error if the source pad is not linked.
2809 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
2810 (gst_queue_loop), (gst_queue_handle_src_query),
2811 (gst_queue_src_activate_push):
2812 Make queue collect data even if the srcpad is not linked.
2813 Start pushing out data as soon as it is linked.
2815 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
2817 Added gst_flow_get_name() to ease error reporting.
2819 2005-07-20 Wim Taymans <wim@fluendo.com>
2821 * gst/gstmessage.c: (gst_message_new_segment_start),
2822 (gst_message_new_segment_done), (gst_message_parse_segment_start),
2823 (gst_message_parse_segment_done):
2825 Added a bunch of messages for advanced seeking.
2827 * gst/parse/grammar.y:
2828 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
2829 (gst_dpman_state_changed):
2830 Fix some new-pad -> pad-added signals
2832 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2834 * docs/manual/appendix-porting.xml:
2835 * docs/pwg/appendix-porting.xml:
2836 Document new-pad/state-change signal renames and the FixedList
2839 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2841 * docs/manual/advanced-autoplugging.xml:
2842 * docs/manual/basics-helloworld.xml:
2843 * docs/manual/basics-pads.xml:
2844 * docs/random/ds/0.9-suggested-changes:
2845 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
2850 * gst/gststructure.c: (gst_structure_value_get_generic_type),
2851 (gst_structure_parse_array), (gst_structure_parse_value):
2852 * gst/gstvalue.c: (gst_type_is_fixed),
2853 (gst_value_list_prepend_value), (gst_value_list_append_value),
2854 (gst_value_list_get_size), (gst_value_list_get_value),
2855 (gst_value_transform_array_string), (gst_value_serialize_array),
2856 (gst_value_deserialize_array), (gst_value_intersect_array),
2857 (gst_value_is_fixed), (_gst_value_initialize):
2859 GstElement::new-pad -> pad-added, GstElement::state-change ->
2860 state-changed, GstValueFixedList -> GstValueArray, add format and
2861 flags as their own arguments in gst_element_seek() (should improve
2862 "bindeability"), remove function generators since they don't work
2863 under a whole bunch of compilers (they were deprecated already
2866 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2868 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
2869 (_gst_debug_register_funcptr):
2871 Fix illegal cast on some platforms (#309253).
2873 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2875 * gst/gstmessage.c: (gst_message_new_custom):
2877 Add _new_custom, make _new_application a macro to _new_custom.
2879 2005-07-20 Wim Taymans <wim@fluendo.com>
2881 * gst/base/gstbasesrc.c: (gst_base_src_init),
2882 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
2883 * gst/base/gstbasesrc.h:
2884 Add a gboolean to decide when to push out a discont.
2886 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
2887 (gst_queue_loop), (gst_queue_handle_src_query),
2888 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
2889 (gst_queue_set_property), (gst_queue_get_property):
2892 * tests/threadstate/threadstate1.c: (main):
2893 Make a thread test compile and run... very silly..
2896 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2898 * docs/manual/appendix-porting.xml:
2899 Mention removal of libgstgconf-0.9.la and existence of gconf
2902 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2904 * docs/pwg/advanced-clock.xml:
2905 * docs/pwg/appendix-porting.xml:
2906 * docs/pwg/intro-preface.xml:
2907 * docs/pwg/other-base.xml:
2908 * docs/pwg/other-manager.xml:
2909 * docs/pwg/other-nton.xml:
2910 * docs/pwg/other-ntoone.xml:
2911 * docs/pwg/other-oneton.xml:
2913 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
2914 demuxer), remove n-to-n (was never written), fix some code examples
2915 and links and update the porting section to include all this.
2917 2005-07-19 Wim Taymans <wim@fluendo.com>
2919 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
2920 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
2921 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
2922 (gst_queue_src_activate_push), (gst_queue_change_state),
2923 (gst_queue_get_property):
2925 Propagate GstFlowReturn more intelligently upstream and output
2926 an ERROR/EOS when streaming stopped due to fatal error.
2928 2005-07-19 Wim Taymans <wim@fluendo.com>
2930 * tools/gst-launch.c: (check_intr), (event_loop), (main):
2931 Don't block forever for the state change to complete, the
2932 pipeline already did with a sensible timeout.
2934 2005-07-19 Wim Taymans <wim@fluendo.com>
2936 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
2937 Make sure we never call the create function is we
2940 2005-07-19 Andy Wingo <wingo@pobox.com>
2942 * gst/parse/parse.l: Attempt to solve bug #172815.
2944 2005-07-19 Wim Taymans <wim@fluendo.com>
2946 * docs/design/part-clocks.txt:
2947 * docs/design/part-events.txt:
2948 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
2950 Only update the seeking values when we are not
2953 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
2955 * gst/base/gstbasesrc.c: (gst_base_src_loop):
2956 Oops, ignore the result of gst_pad_push_event here.
2958 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
2960 * gst/base/gstbasesrc.c: (gst_base_src_loop),
2961 (gst_base_src_activate_push):
2962 Send discont event from the loop function, as pads
2963 aren't activated yet in the activate_push handler.
2965 * gst/gstbin.c: (bin_bus_handler):
2966 Don't leak element name.
2968 2005-07-18 Andy Wingo <wingo@pobox.com>
2970 * configure.ac: Use AS_LIBTOOL_TAGS.
2972 2005-07-18 Wim Taymans <wim@fluendo.com>
2974 * docs/gst/gstreamer.types:
2975 Remove deleted types.
2977 2005-07-18 Wim Taymans <wim@fluendo.com>
2979 * check/elements/gstfakesrc.c: (GST_START_TEST):
2982 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
2983 (init_popt_callback):
2985 * gst/gst_private.h:
2986 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
2987 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
2990 * gst/gstconfig.h.in:
2991 * gst/gstelement.c: (gst_element_class_init),
2992 (gst_element_set_base_time), (gst_element_get_base_time),
2993 (iterator_fold_with_resync), (gst_element_change_state),
2994 (gst_element_dispose), (gst_element_get_bus):
2996 * gst/gstelementfactory.h:
2997 * gst/gsterror.c: (_gst_core_errors_init):
3000 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
3002 * gst/gstinfo.c: (_gst_debug_init):
3003 * gst/gstmessage.c: (_gst_message_copy):
3005 * gst/gstminiobject.h:
3008 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3009 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
3012 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
3013 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
3014 (gst_pipeline_get_last_stream_time):
3015 * gst/gstpipeline.h:
3016 * gst/gstpluginfeature.h:
3018 * gst/gstscheduler.c:
3019 * gst/gstscheduler.h:
3020 * gst/gststructure.h:
3021 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
3022 (gst_task_finalize), (gst_task_func), (gst_task_create),
3023 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
3024 (gst_task_stop), (gst_task_pause):
3026 * gst/gsttypefind.h:
3028 * gst/registries/gstlibxmlregistry.c: (load_feature),
3029 (gst_xml_registry_load), (gst_xml_registry_save_feature):
3030 * gst/registries/gstxmlregistry.c:
3031 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
3032 * gst/schedulers/threadscheduler.c:
3033 * libs/gst/control/dparammanager.h:
3034 * tools/gst-inspect.c: (print_element_list),
3035 (print_plugin_features), (print_element_features):
3036 * tools/gst-xmlinspect.c: (print_element_list),
3037 (print_plugin_info), (main):
3038 Removed plugable schedulers.
3039 Removed Scheduler/Manager from elements.
3040 Removed gsttypes.h, rearranged includes.
3041 Removed dependency pad<->element, element<>pipeline, and
3042 various others, fix includes.
3043 implement gst_pad_get_parent() with gst_object_get_parent()
3044 Make GstTask sefcontained.
3045 Fix _get_state() on GstBin, it did not return ASYNC with a 0
3047 Fix endless loop in iterator_fold_with_resync.
3050 2005-07-18 Wim Taymans <wim@fluendo.com>
3056 2005-07-18 Wim Taymans <wim@fluendo.com>
3061 2005-07-18 Wim Taymans <wim@fluendo.com>
3067 2005-07-18 Wim Taymans <wim@fluendo.com>
3069 * docs/design/part-dynamic.txt:
3070 * docs/design/part-events.txt:
3071 * docs/design/part-seeking.txt:
3072 Some more docs in the works.
3074 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3075 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
3076 (gst_base_transform_setcaps), (gst_base_transform_get_size),
3077 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
3078 (gst_base_transform_handle_buffer),
3079 (gst_base_transform_sink_activate_push),
3080 (gst_base_transform_src_activate_pull),
3081 (gst_base_transform_set_passthrough),
3082 (gst_base_transform_is_passthrough):
3085 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
3088 * gst/gstevent.c: (gst_event_finalize):
3091 * gst/gstutils.c: (gst_element_unlink),
3092 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
3093 (gst_pad_proxy_setcaps):
3095 Add _get_parent_element() to get a pads parent as an element.
3097 2005-07-18 Wim Taymans <wim@fluendo.com>
3099 * check/gst/gstbin.c: (GST_START_TEST):
3102 2005-07-18 Wim Taymans <wim@fluendo.com>
3104 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
3105 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
3106 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
3107 (gst_base_sink_event), (gst_base_sink_do_sync),
3108 (gst_base_sink_chain), (gst_base_sink_loop),
3109 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
3110 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
3112 Fix logic for returning ASYNC when not prerolled.
3114 2005-07-18 Wim Taymans <wim@fluendo.com>
3116 * gst/gstqueue.c: (gst_queue_handle_sink_event):
3117 Fix nasty refcount bug.
3119 2005-07-16 Philippe Khalaf <burger@speedy.org>
3121 * gst/elements/gstfdsrc.c:
3122 * gst/elements/gstfdsrc.h:
3123 * gst/elements/gstelements.c:
3124 * gst/elements/Makefile.am:
3125 Ported fdsrc to 0.9.
3127 2005-07-16 Wim Taymans <wim@fluendo.com>
3129 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3130 (gst_base_sink_do_sync):
3133 2005-07-16 Wim Taymans <wim@fluendo.com>
3135 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3136 (gst_base_sink_event), (gst_base_sink_get_times),
3137 (gst_base_sink_do_sync), (gst_base_sink_change_state):
3138 * gst/base/gstbasesink.h:
3139 Store and use discont values when syncing buffers as described
3142 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3143 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
3144 (gst_base_src_activate_push):
3145 Push discont event when starting.
3147 * gst/elements/gstidentity.c: (gst_identity_transform):
3150 * gst/gstbin.c: (gst_bin_change_state):
3151 Small cleanups in base_time distribution.
3153 * gst/gstelement.c: (gst_element_set_base_time),
3154 (gst_element_get_base_time), (gst_element_change_state):
3156 Added methods for the base_time of the element.
3159 * gst/gstpipeline.c: (gst_pipeline_send_event),
3160 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
3161 (gst_pipeline_get_last_stream_time):
3162 * gst/gstpipeline.h:
3164 Handle seeking as described in design doc, remove stream_time
3166 Cleanups clock and stream_time selection code. Added accessors
3167 for the stream_time.
3170 2005-07-16 Andy Wingo <wingo@pobox.com>
3172 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
3175 2005-07-16 Wim Taymans <wim@fluendo.com>
3177 * check/gst/gstbin.c: (GST_START_TEST):
3178 Make elements silent as the deep_notify refs the
3179 parent, which might make the test fail.
3181 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
3182 Don't hold the lock for too long.
3184 2005-07-16 Tim-Philipp M??ller <tim at centricular dot net>
3186 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
3187 Don't unref the caps we passed to gst_caps_make_writable() after
3188 passing them. gst_caps_make_writable() will do that for us.
3190 2005-07-15 Andy Wingo <wingo@pobox.com>
3192 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
3195 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
3196 own marshalling function for the handoff signal. Properly type the
3197 buffer as a buffer. Fixes some warnings. Should do a more general
3199 (gst_identity_class_init): Plug into the right marshaller.
3201 2005-07-15 Wim Taymans <wim@fluendo.com>
3203 * docs/design/part-TODO.txt:
3204 * docs/design/part-clocks.txt:
3205 * docs/design/part-element-sink.txt:
3206 * docs/design/part-events.txt:
3207 * docs/design/part-gstpipeline.txt:
3208 Updated docs, mostly DISCONT related.
3210 2005-07-15 Tim-Philipp M??ller <tim at centricular dot net>
3212 * docs/pwg/building-pads.xml:
3213 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
3215 2005-07-15 Andy Wingo <wingo@pobox.com>
3217 * tools/gst-typefind.c: Update, add copyright block.
3219 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
3220 Normalize and truncate caps before fixation.
3223 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
3224 discards all but the first structure from its argument.
3226 2005-07-15 Wim Taymans <wim@fluendo.com>
3228 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3229 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
3230 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3231 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
3232 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
3233 (gst_base_transform_chain), (gst_base_transform_change_state),
3234 (gst_base_transform_set_passthrough),
3235 (gst_base_transform_is_passthrough):
3236 * gst/base/gstbasetransform.h:
3237 Make passthrough work using the bufferpools.
3238 Changed API a bit, subclasses have to write into a buffer
3239 provided by the base class.
3240 More debug info in nego functions.
3242 * gst/elements/gstidentity.c: (gst_identity_init),
3243 (gst_identity_transform):
3244 Port to new base class.
3246 2005-07-15 Wim Taymans <wim@fluendo.com>
3248 * gst/gstmessage.c: (gst_message_new_state_changed):
3249 * tools/gst-launch.c: (event_loop), (main):
3250 Totally dump messages in -launch with the -m option.
3251 Fix message name for State messages,
3253 2005-07-14 Wim Taymans <wim@fluendo.com>
3255 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3256 Post error messages on errors.
3258 2005-07-14 Wim Taymans <wim@fluendo.com>
3260 * gst/gstcaps.c: (gst_caps_do_simplify):
3264 Define error for stream stopped.
3266 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
3267 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
3268 Do proper return values.
3270 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3271 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
3272 (gst_pad_get_range):
3273 Better return values.
3276 Reorganise return values, add macro to check for fatal errors.
3278 * gst/gstqueue.c: (gst_queue_chain):
3279 Return proper GstFlowReturn values,
3281 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
3283 * docs/gst/gstreamer-sections.txt:
3284 * docs/gst/gstreamer.types:
3285 * docs/gst/tmpl/gst.sgml:
3286 * docs/gst/tmpl/gstbasesink.sgml:
3287 * docs/gst/tmpl/gstbasesrc.sgml:
3288 * docs/gst/tmpl/gstbasetransform.sgml:
3289 * docs/gst/tmpl/gstbin.sgml:
3290 * docs/gst/tmpl/gstbuffer.sgml:
3291 * docs/gst/tmpl/gstcaps.sgml:
3292 * docs/gst/tmpl/gstclock.sgml:
3293 * docs/gst/tmpl/gstcompat.sgml:
3294 * docs/gst/tmpl/gstconfig.sgml:
3295 * docs/gst/tmpl/gstelement.sgml:
3296 * docs/gst/tmpl/gstelementdetails.sgml:
3297 * docs/gst/tmpl/gstelementfactory.sgml:
3298 * docs/gst/tmpl/gstenumtypes.sgml:
3299 * docs/gst/tmpl/gsterror.sgml:
3300 * docs/gst/tmpl/gstevent.sgml:
3301 * docs/gst/tmpl/gstfakesink.sgml:
3302 * docs/gst/tmpl/gstfakesrc.sgml:
3303 * docs/gst/tmpl/gstfilesink.sgml:
3304 * docs/gst/tmpl/gstfilesrc.sgml:
3305 * docs/gst/tmpl/gstfilter.sgml:
3306 * docs/gst/tmpl/gstformat.sgml:
3307 * docs/gst/tmpl/gstghostpad.sgml:
3308 * docs/gst/tmpl/gstimplementsinterface.sgml:
3309 * docs/gst/tmpl/gstindex.sgml:
3310 * docs/gst/tmpl/gstindexfactory.sgml:
3311 * docs/gst/tmpl/gstinfo.sgml:
3312 * docs/gst/tmpl/gstiterator.sgml:
3313 * docs/gst/tmpl/gstmacros.sgml:
3314 * docs/gst/tmpl/gstmemchunk.sgml:
3315 * docs/gst/tmpl/gstminiobject.sgml:
3316 * docs/gst/tmpl/gstobject.sgml:
3317 * docs/gst/tmpl/gstpad.sgml:
3318 * docs/gst/tmpl/gstpadtemplate.sgml:
3319 * docs/gst/tmpl/gstparse.sgml:
3320 * docs/gst/tmpl/gstpipeline.sgml:
3321 * docs/gst/tmpl/gstplugin.sgml:
3322 * docs/gst/tmpl/gstpluginfeature.sgml:
3323 * docs/gst/tmpl/gstquery.sgml:
3324 * docs/gst/tmpl/gstqueue.sgml:
3325 * docs/gst/tmpl/gstregistry.sgml:
3326 * docs/gst/tmpl/gstregistrypool.sgml:
3327 * docs/gst/tmpl/gstscheduler.sgml:
3328 * docs/gst/tmpl/gstschedulerfactory.sgml:
3329 * docs/gst/tmpl/gststructure.sgml:
3330 * docs/gst/tmpl/gstsystemclock.sgml:
3331 * docs/gst/tmpl/gsttaglist.sgml:
3332 * docs/gst/tmpl/gsttagsetter.sgml:
3333 * docs/gst/tmpl/gsttrace.sgml:
3334 * docs/gst/tmpl/gsttrashstack.sgml:
3335 * docs/gst/tmpl/gsttypefind.sgml:
3336 * docs/gst/tmpl/gsttypefindfactory.sgml:
3337 * docs/gst/tmpl/gsttypes.sgml:
3338 * docs/gst/tmpl/gsturihandler.sgml:
3339 * docs/gst/tmpl/gsturitype.sgml:
3340 * docs/gst/tmpl/gstutils.sgml:
3341 * docs/gst/tmpl/gstvalue.sgml:
3342 * docs/gst/tmpl/gstversion.sgml:
3343 * docs/gst/tmpl/gstxml.sgml:
3344 * docs/libs/tmpl/gstcontrol.sgml:
3345 * docs/libs/tmpl/gstdataprotocol.sgml:
3346 * docs/libs/tmpl/gstdparam.sgml:
3347 * docs/libs/tmpl/gstdplinint.sgml:
3348 * docs/libs/tmpl/gstdpman.sgml:
3349 * docs/libs/tmpl/gstdpsmooth.sgml:
3350 * docs/libs/tmpl/gstgetbits.sgml:
3351 * docs/libs/tmpl/gstunitconvert.sgml:
3352 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
3353 (gst_push_src_base_init), (gst_push_src_class_init),
3354 (gst_push_src_init), (gst_push_src_create):
3355 * gst/base/gstpushsrc.h:
3356 * gst/elements/gstelements.c:
3357 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
3358 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
3359 (gst_fake_sink_init), (gst_fake_sink_set_property),
3360 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
3361 (gst_fake_sink_event), (gst_fake_sink_preroll),
3362 (gst_fake_sink_render), (gst_fake_sink_change_state):
3363 * gst/elements/gstfakesink.h:
3364 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
3365 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
3366 (gst_fake_src_base_init), (gst_fake_src_class_init),
3367 (gst_fake_src_init), (gst_fake_src_event_handler),
3368 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
3369 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
3370 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
3371 (gst_fake_src_create_buffer), (gst_fake_src_create),
3372 (gst_fake_src_start), (gst_fake_src_stop):
3373 * gst/elements/gstfakesrc.h:
3374 * gst/elements/gstfilesink.c: (_do_init),
3375 (gst_file_sink_base_init), (gst_file_sink_class_init),
3376 (gst_file_sink_init), (gst_file_sink_dispose),
3377 (gst_file_sink_set_location), (gst_file_sink_set_property),
3378 (gst_file_sink_get_property), (gst_file_sink_open_file),
3379 (gst_file_sink_close_file), (gst_file_sink_query),
3380 (gst_file_sink_event), (gst_file_sink_render),
3381 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
3382 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
3383 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
3384 * gst/elements/gstfilesink.h:
3385 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
3386 (gst_file_src_class_init), (gst_file_src_init),
3387 (gst_file_src_finalize), (gst_file_src_set_location),
3388 (gst_file_src_set_property), (gst_file_src_get_property),
3389 (gst_file_src_map_region), (gst_file_src_map_small_region),
3390 (gst_file_src_create_mmap), (gst_file_src_create_read),
3391 (gst_file_src_create), (gst_file_src_is_seekable),
3392 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
3393 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
3394 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
3395 (gst_file_src_uri_handler_init):
3396 * gst/elements/gstfilesrc.h:
3397 more autistic cleanliness in functions/names/defines
3399 2005-07-13 Andy Wingo <wingo@pobox.com>
3401 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
3402 source couldn't negotiate.
3404 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
3408 * gst/gstutils.c (gst_element_link_pads_filtered): New old
3409 function. I am channeling Hades. Put your boots on suckers!!!
3411 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
3413 * testsuite/caps/Makefile.am:
3414 * testsuite/caps/value_compare.c:
3415 * testsuite/caps/value_intersect.c:
3416 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3417 move two testsuite apps over to the check dir
3419 2005-07-12 Wim Taymans <wim@fluendo.com>
3421 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
3422 Added more debug info in the negotiate process.
3425 Prepare for segment playback.
3427 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
3433 * tools/gst-launch.c: (main):
3434 NULL pipeline on errors.
3436 2005-07-12 Andy Wingo <wingo@pobox.com>
3438 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
3439 not it comes from a malloc region. Make sure our copy gets freed.
3441 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
3443 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
3444 * check/gst/gstmessage.c: (GST_START_TEST):
3445 * check/gst/gststructure.c: (GST_START_TEST),
3446 (gst_structure_suite), (main):
3448 * gst/gstelement.c: (gst_element_message_full):
3449 clean up GError and debug string now that they get copied
3450 * gst/gstmessage.c: (gst_message_new_error),
3451 (gst_message_new_warning), (gst_message_parse_error),
3452 (gst_message_parse_warning):
3453 use GST_TYPE_G_ERROR for structure_new, and take copies of
3454 arguments, so that we don't mess up refcounting
3456 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
3458 * check/Makefile.am:
3459 add per-test valgrind targets
3460 * check/gst-libs/gdp.c: (GST_START_TEST),
3461 (gst_data_protocol_suite), (main):
3464 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
3466 * check/Makefile.am:
3467 instate more valgrindable tests
3468 * check/elements/gstfakesrc.c: (chain_func), (event_func),
3469 (GST_START_TEST), (fakesrc_suite):
3470 * check/gst/gstpad.c: (GST_START_TEST):
3471 * check/gst/gststructure.c: (GST_START_TEST):
3473 * docs/gst/tmpl/gstminiobject.sgml:
3474 * gst/gstpad.c: (gst_pad_finalize):
3475 fix the static mutex leak
3477 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
3479 * check/Makefile.am:
3480 add two more tests for valgrinding
3481 * check/gst/gstvalue.c: (GST_START_TEST):
3482 test refcount of deserialized buffer, found a leak
3483 * docs/gst/gstreamer-docs.sgml:
3484 * docs/gst/gstreamer-sections.txt:
3485 * docs/gst/gstreamer.types:
3486 * docs/gst/tmpl/gstminiobject.sgml:
3487 add miniobject to docs
3488 * gst/gstminiobject.c:
3490 * gst/gstvalue.c: (gst_value_deserialize_buffer),
3491 (gst_string_unwrap):
3492 fix a hard-to-find invalid write for one of the tests
3493 fix a leak for deserialized buffers
3495 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3497 * docs/pwg/advanced-events.xml:
3498 * docs/pwg/advanced-request.xml:
3499 * docs/pwg/advanced-scheduling.xml:
3500 * docs/pwg/appendix-porting.xml:
3501 * docs/pwg/building-boiler.xml:
3502 * docs/pwg/intro-preface.xml:
3503 * docs/pwg/other-ntoone.xml:
3504 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
3505 of example code and explanation for pad activation, loop() and
3506 getrange() functions and a bit more. Remove old comments pointing
3508 * examples/pwg/Makefile.am:
3509 Add loop/getrange examples.
3511 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
3514 check for valgrind binary + some fixes
3516 valgrind suppressions for the tests
3517 * check/Makefile.am:
3518 add a valgrind: target that valgrinds the unit tests
3519 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
3520 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3521 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3522 * check/gst/gstghostpad.c:
3524 * check/gst/gstdata.c:
3526 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
3527 (thread_unref), (gst_mini_object_suite), (main):
3529 * gst/gst.c: (gst_deinit):
3531 add a method to clean up.
3532 * gst/gstsystemclock.c: (gst_system_clock_dispose),
3533 (gst_system_clock_obtain):
3534 allow for disposing the system clock.
3535 * tools/gst-launch.c: (main):
3538 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
3540 * docs/gst/tmpl/gstbasesrc.sgml:
3541 * docs/gst/tmpl/gstfakesrc.sgml:
3542 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3543 (gst_base_src_init), (gst_base_src_set_property),
3544 (gst_base_src_get_property), (gst_base_src_get_range),
3545 (gst_base_src_start):
3546 * gst/base/gstbasesrc.h:
3547 add num-buffers property
3548 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
3549 (gst_fakesrc_init), (gst_fakesrc_set_property),
3550 (gst_fakesrc_get_property), (gst_fakesrc_create),
3551 (gst_fakesrc_start):
3552 remove num-buffers property
3554 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
3556 * docs/gst/gstreamer-sections.txt:
3557 * docs/gst/tmpl/gstbasesink.sgml:
3558 * docs/gst/tmpl/gstbasesrc.sgml:
3559 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
3560 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
3561 (gst_base_sink_finalize), (gst_base_sink_set_clock),
3562 (gst_base_sink_set_property), (gst_base_sink_get_property),
3563 (gst_base_sink_handle_object), (gst_base_sink_event),
3564 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3565 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
3566 (gst_base_sink_loop), (gst_base_sink_deactivate),
3567 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
3568 (gst_base_sink_change_state):
3569 * gst/base/gstbasesink.h:
3570 * gst/base/gstbasesrc.h:
3571 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
3572 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
3573 (gst_filesink_init):
3574 more macro splitting
3576 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
3578 * gst/gstelement.c: (gst_element_get_bus):
3580 * tools/gst-launch.c: (check_intr), (event_loop):
3583 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
3585 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
3588 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
3590 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3591 (gst_base_src_finalize):
3592 add finalize method and clean up properly
3593 * gst/gstpipeline.c: (gst_pipeline_dispose):
3596 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
3598 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
3600 add more things to check
3601 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
3605 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
3607 * check/elements/gstfakesrc.c: (chain_func), (event_func),
3608 (GST_START_TEST), (fakesrc_suite):
3609 * check/gst-libs/gdp.c: (GST_START_TEST):
3610 * check/gst/gst.c: (GST_START_TEST):
3611 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3612 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3613 * check/gst/gstbus.c: (GST_START_TEST):
3614 * check/gst/gstcaps.c: (GST_START_TEST):
3615 * check/gst/gstdata.c: (GST_START_TEST):
3616 * check/gst/gstelement.c: (GST_START_TEST):
3617 * check/gst/gstghostpad.c: (GST_START_TEST):
3618 * check/gst/gstiterator.c: (GST_START_TEST):
3619 * check/gst/gstmessage.c: (GST_START_TEST):
3620 * check/gst/gstobject.c: (GST_START_TEST):
3621 * check/gst/gstpad.c: (GST_START_TEST):
3622 * check/gst/gststructure.c: (GST_START_TEST):
3623 * check/gst/gstsystemclock.c: (GST_START_TEST),
3624 (gst_systemclock_suite):
3625 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3626 * check/gst/gstvalue.c: (GST_START_TEST):
3627 * check/pipelines/cleanup.c: (GST_START_TEST):
3628 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3629 * check/states/sinks.c: (GST_START_TEST):
3630 * check/gstcheck.c: (gst_check_init):
3632 add debugging category
3633 use GST_START_TEST now, so we add a debug line
3635 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
3637 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
3638 add test for state change message on a bin
3639 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
3641 * gst/gstbin.c: (gst_bin_init):
3642 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
3643 * gst/gstelement.c: (gst_element_post_message),
3644 (gst_element_set_state):
3645 * gst/gstelementfactory.c: (gst_element_factory_create):
3646 * gst/gstmessage.c: (gst_message_new):
3647 * gst/gstscheduler.c:
3648 various debugging additions and cleanups
3650 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
3652 * check/Makefile.am:
3653 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
3655 adding tests for elements
3656 * gst/gstelement.c: (gst_element_dispose):
3658 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
3660 * gst/registries/gstlibxmlregistry.c: (load_feature):
3661 plug more leaks. A simple gst_init() now is leakfree, yay.
3663 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
3665 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
3666 (gst_xml_registry_load):
3667 plug another memleak
3669 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
3672 use GST_SET_ERROR_CFLAGS
3674 change to ERROR_CFLAGS
3676 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
3679 make GST_ERROR_CFLAGS overridable and re-enable Werror
3681 add a note about error CFLAGS
3682 * docs/gst/tmpl/gstfakesrc.sgml:
3683 * gst/elements/gstfakesrc.c:
3684 comment out some unused code
3685 * gst/gst.c: (split_and_iterate):
3686 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
3690 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
3692 * common/Makefile.am:
3693 * common/gtk-doc.mak:
3694 * docs/gst/Makefile.am:
3695 factor out gtk-doc.mak
3697 2005-07-07 Wim Taymans <wim@fluendo.com>
3699 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
3700 (gst_thread_scheduler_dispose):
3701 Unlock the STREAM_LOCK completely.
3703 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
3705 * check/Makefile.am:
3706 * check/elements/.cvsignore:
3707 * check/elements/gstfakesrc.c: (chain_func), (event_func),
3708 (START_TEST), (fakesrc_suite), (main):
3709 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
3710 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
3711 (gst_fakesrc_create), (gst_fakesrc_start):
3712 * gst/elements/gstfakesrc.h:
3713 adding a first element test
3715 2005-07-07 Andy Wingo <wingo@pobox.com>
3717 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
3720 2005-07-07 Wim Taymans <wim@fluendo.com>
3726 2005-07-07 Wim Taymans <wim@fluendo.com>
3728 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
3729 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
3730 Allow subclasses to implement their own negotiation.
3732 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
3734 * docs/design/part-gstbin.txt:
3735 * docs/design/part-gstpipeline.txt:
3736 Update design notes to reflect the movement of
3737 responsibility for bus handling from GstPipeline to
3740 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
3743 Remove unnecessary queue2/3/4 examples.
3745 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
3747 * examples/Makefile.am:
3748 * examples/helloworld/helloworld.c: (event_loop), (main):
3749 * examples/queue/queue.c: (event_loop), (main):
3750 * examples/queue2/queue2.c: (main):
3751 Update a couple of the examples to work again.
3753 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3754 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
3755 Spelling corrections and extra debug.
3757 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
3758 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
3759 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
3761 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
3762 (gst_pipeline_change_state):
3763 * gst/gstpipeline.h:
3764 Move the bus handler for children to the GstBin, and create a
3765 separate bus for receiving messages from children to the one the
3766 bus sends 'upwards' on.
3768 2005-07-06 Wim Taymans <wim@fluendo.com>
3771 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3772 (gst_base_sink_handle_object), (gst_base_sink_loop),
3773 (gst_base_sink_change_state):
3774 * gst/base/gstbasesink.h:
3775 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3776 (gst_base_src_init), (gst_base_src_setcaps),
3777 (gst_base_src_getcaps), (gst_base_src_loop),
3778 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
3779 (gst_base_src_start), (gst_base_src_change_state):
3780 * gst/base/gstbasesrc.h:
3781 Make basesrc negotiate.
3782 Handle the case where preroll fails in basesink.
3785 2005-07-06 Wim Taymans <wim@fluendo.com>
3787 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
3788 Implement the fixate function.
3789 Clean up acceptcaps.
3791 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3793 * docs/pwg/building-filterfactory.xml:
3795 Remove never-written filter-factory chapter; I'll add the various
3796 base classes to part 4 ("other element types") later on.
3798 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3800 * docs/pwg/advanced-negotiation.xml:
3801 * docs/pwg/building-boiler.xml:
3802 * docs/pwg/building-pads.xml:
3804 * examples/pwg/Makefile.am:
3805 Add a chapter on caps negotiation, simplify the original code
3806 samples a bit w.r.t. caps negotiation, add link to the advanced
3807 section. Add a bunch of examples showing different use cases of
3808 different types of caps negotiation. Upstream renegotiation isn't
3809 fully documented yet since nobody knows how that works.
3811 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
3813 * check/gst/gstpad.c:
3815 * gst/gstpad.c: (gst_pad_get_internal_links_default):
3816 if pad has no parent, return NULL as list of internal links
3818 2005-07-05 Andy Wingo <wingo@pobox.com>
3820 * gst/elements/gstfilesrc.c:
3821 * gst/elements/gstfakesrc.c:
3822 * gst/base/gstpushsrc.c:
3823 * gst/base/gstbasesrc.h:
3824 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
3826 2005-07-05 Stefan Kost <ensonic@users.sf.net>
3829 better report generation target (lcov needs a patch)
3831 2005-07-05 Andy Wingo <wingo@pobox.com>
3833 * gst/elements, testsuite: Null if we got it...
3835 2005-07-05 Wim Taymans <wim@fluendo.com>
3838 * libs/gst/dataprotocol/Makefile.am:
3839 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
3840 * libs/gst/dataprotocol/dataprotocol.h:
3841 * pkgconfig/Makefile.am:
3842 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
3843 * pkgconfig/gstreamer-dataprotocol.pc.in:
3844 Ported dataprotol to 0.9.
3845 Added pkgconfig files.
3847 2005-07-05 Andy Wingo <wingo@pobox.com>
3849 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
3850 Default to returning TRUE for the case when tranform_caps returns
3851 a fixed caps, like for identity or volume.
3853 * check/gst/gstbus.c (pound_bus_with_messages):
3854 * check/gst/gstmessage.c (START_TEST):
3855 * check/pipelines/simple_launch_lines.c (got_handoff): Application
3858 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
3859 logic weaks here: always run transform_caps, trying passthrough
3860 operation only if the original caps intersects with the transform.
3862 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
3863 source and sink caps.
3865 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
3866 Intersect the peer caps with the pad template before going into
3868 (gst_base_transform_transform_caps): More debugging.
3870 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
3873 2005-07-04 Edward Hervey <edward@fluendo.com>
3877 (gst_pad_add_*_probe): now returns the signal id for better wrapping
3880 2005-07-04 Andy Wingo <wingo@pobox.com>
3882 * check/gst/gstpad.c: Only set explicit caps on pads.
3884 2005-07-01 Andy Wingo <wingo@pobox.com>
3886 * tests/network-clock.scm: Commentary update.
3888 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
3889 Didn't really make sense, not implementable with basetransform,
3891 (gst_identity_transform): Unref inbuf via make_writable. Feeble
3892 attempt at implementing the sync property, needs an unlock method.
3894 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
3895 New func, by default returns the same caps (the identity
3897 (gst_base_transform_getcaps): Uses transform_caps to return
3899 (gst_base_transform_setcaps): Complicated logic to get caps on
3900 both pads, even if they are different, and to call set_caps once
3901 for every time both pads get their caps set.
3902 (gst_base_transform_handle_buffer): Give the ref to the transform
3903 function. Allows in-place modification of the buffer.
3905 * gst/base/gstbasetransform.h (transform_caps): New class method.
3906 Given caps on one side, what can I do on the other.
3907 (set_caps): Take two caps, one for each side of the element.
3910 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
3911 caps in place. This is safe because we can check the mutability of
3912 the caps, and a good idea because fixate functions are just called
3913 as a matter of last resort. (Not actually implemented.)
3914 (gst_pad_set_caps): If the caps we're setting is actually the same
3915 as the existing pad caps, just update the pointer without calling
3916 setcaps. Assert that caps is either NULL or fixed, as per the
3919 * gst/gstghostpad.c: Update for fixate changes.
3921 2005-07-02 Andy Wingo <wingo@pobox.com>
3924 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
3925 two refcounts makes it immutable, which is enough. Doc more.
3927 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
3929 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
3930 Put the mini_object into GValue as a mini_object,
3931 not a gpointer, since that's how we declared
3934 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3936 * examples/pwg/Makefile.am:
3939 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3941 * docs/pwg/building-testapp.xml:
3943 * examples/pwg/Makefile.am:
3946 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3949 * examples/Makefile.am:
3950 * examples/pwg/Makefile.am:
3951 * examples/pwg/extract.pl:
3952 Enable building the PWG examples.
3953 * docs/pwg/advanced-interfaces.xml:
3954 Add URI interface stub.
3955 * docs/pwg/advanced-types.xml:
3956 * docs/pwg/other-autoplugger.xml:
3957 * docs/pwg/appendix-porting.xml:
3959 Add porting guide (mostly stubs), remove autoplugging (see ADM).
3960 * docs/pwg/building-boiler.xml:
3961 * docs/pwg/building-chainfn.xml:
3962 * docs/pwg/building-pads.xml:
3963 * docs/pwg/building-props.xml:
3964 * docs/pwg/building-state.xml:
3965 * docs/pwg/building-testapp.xml:
3966 Update the building-*.xml parts for 0.9 changes. All examples
3967 code blocks compile in examples/pwg/*.
3969 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3971 * docs/manual/advanced-autoplugging.xml:
3972 * docs/manual/appendix-checklist.xml:
3973 * docs/manual/appendix-integration.xml:
3974 * docs/manual/highlevel-components.xml:
3975 Fix playbin/decodebin examples, update docs a bit, mention bus
3976 instead of signals in various places, mention kmplayer and
3977 kaffeine since they have a working GStreamer backend in the KDE
3980 2005-06-30 Wim Taymans <wim@fluendo.com>
3983 * docs/design/draft-ghostpads.txt:
3984 * docs/design/draft-push-pull.txt:
3985 * docs/design/draft-query.txt:
3986 * docs/design/part-TODO.txt:
3987 * docs/design/part-query.txt:
3988 Added CHANGES-0.9 doc, updated status of other docs.
3993 2005-06-30 Wim Taymans <wim@fluendo.com>
3995 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3996 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
3997 (gst_base_sink_change_state):
3998 * gst/base/gstbasesink.h:
3999 Some tweaks, only EOS and a buffer complete a preroll.
4001 2005-06-30 Andy Wingo <wingo@pobox.com>
4003 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
4004 activate_push down to the internal pad as well.
4006 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
4008 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4010 * gst/gsttaginterface.c:
4011 Some documentation fixes (#307394 and #307397).
4013 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
4015 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4017 * gst/gstvalue.c: (gst_value_intersect_list):
4018 Fix memleak (#309125).
4020 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4022 * docs/manual/advanced-dataaccess.xml:
4023 Fix fakesrc example to compile; doesn't work, bug somewhere...?
4024 * docs/manual/basics-pads.xml:
4025 Add reference for filtered caps to above chapter.
4027 2005-06-30 Wim Taymans <wim@fluendo.com>
4029 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
4030 (gst_bin_change_state):
4032 Lame attempt at making the state change function a bit
4035 2005-06-30 Wim Taymans <wim@fluendo.com>
4037 * docs/design/part-clocks.txt:
4038 * docs/design/part-element-sink.txt:
4039 * docs/design/part-events.txt:
4040 * docs/design/part-preroll.txt:
4041 * docs/design/part-states.txt:
4042 Some more tweeks and additions to the docs.
4044 2005-06-30 Wim Taymans <wim@fluendo.com>
4046 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4047 (default_have_data), (gst_pad_class_init), (gst_pad_init),
4048 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
4049 (gst_pad_check_pull_range), (gst_pad_get_range),
4050 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
4052 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
4053 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4054 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4055 (gst_pad_remove_buffer_probe):
4056 Removed atomic operations, use existing LOCK.
4057 Move exception handling out of main code path.
4059 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4061 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4062 (silly_return_true_function), (gst_pad_class_init),
4063 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
4064 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
4065 (gst_pad_send_event):
4066 Fix accumulator, add default value by using _emitv() instead
4067 of _emit() for signal emission.
4069 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4071 * docs/manual/advanced-dataaccess.xml:
4072 * examples/manual/Makefile.am:
4074 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
4077 2005-06-29 Tim-Philipp M??ller <tim at centricular dot net>
4079 * gst/elements/gstfilesink.c: (gst_filesink_render):
4080 Simplify code so that we don't have to handle short
4081 writes and return GST_FLOW_ERROR if an error occured.
4083 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4085 * docs/gst/gstreamer-docs.sgml:
4088 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4090 * docs/gst/gstreamer-sections.txt:
4091 * docs/gst/tmpl/gstpad.sgml:
4092 * docs/gst/tmpl/gstprobe.sgml:
4094 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4095 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
4096 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
4097 (gst_pad_push_event), (gst_pad_send_event):
4099 * gst/gstutils.c: (gst_pad_add_data_probe),
4100 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4101 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4102 (gst_pad_remove_buffer_probe):
4104 Remove old probes, add new g-signal-based probes and some utility
4107 2005-06-29 Edward Hervey <edward@fluendo.com>
4109 * gst/gstelementfactory.c:
4112 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
4113 the definition to the header file.
4115 2005-06-29 Andy Wingo <wingo@pobox.com>
4117 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
4118 plugins from the source directory.
4120 2005-06-29 Wim Taymans <wim@fluendo.com>
4122 * docs/gst/tmpl/gstbuffer.sgml:
4123 * docs/gst/tmpl/gstclock.sgml:
4124 Some fixings for blantently wrong text.
4126 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
4128 * check/Makefile.am:
4129 * gst/gst.c: (add_path_func), (init_pre):
4130 * gst/gstregistry.c: (gst_registry_add_path):
4131 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
4132 only scan the GST_PLUGIN_PATH locations, and not add
4135 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
4137 * docs/gst/gstreamer-sections.txt:
4138 * docs/gst/tmpl/gstbasesrc.sgml:
4145 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4147 * docs/manual/advanced-autoplugging.xml:
4148 Fix autoplugging example.
4150 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4152 * docs/manual/advanced-autoplugging.xml:
4153 * docs/manual/mime-world.fig:
4154 Try to get autoplugging working, fix type detection. Fix text
4155 in hello-world image.
4157 2005-06-29 Wim Taymans <wim@fluendo.com>
4159 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4160 (gst_base_sink_change_state):
4164 map SIGNAL and BROADCAST to the right function.
4167 Remove redundant braces.
4169 * gst/gstpad.c: (gst_pad_set_caps):
4170 Don't call setcaps function when reseting caps to NULL.
4172 * gst/gstsystemclock.c: (gst_system_clock_dispose),
4173 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
4174 (gst_system_clock_id_unschedule):
4175 Use BROADCAST as this is what we do.
4177 2005-06-29 Wim Taymans <wim@fluendo.com>
4179 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4180 We are actually prerolling before commiting the state
4183 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4185 * docs/manual/advanced-clocks.xml:
4186 * docs/manual/advanced-interfaces.xml:
4187 * docs/manual/advanced-metadata.xml:
4188 * docs/manual/advanced-position.xml:
4189 * docs/manual/advanced-schedulers.xml:
4190 * docs/manual/advanced-threads.xml:
4191 * docs/manual/appendix-porting.xml:
4192 * docs/manual/basics-bins.xml:
4193 * docs/manual/basics-bus.xml:
4194 * docs/manual/basics-elements.xml:
4195 * docs/manual/basics-helloworld.xml:
4196 * docs/manual/basics-pads.xml:
4197 * docs/manual/highlevel-components.xml:
4198 * docs/manual/manual.xml:
4199 * docs/manual/thread.fig:
4200 Update (until threads/scheduling) Application Development Manual;
4201 remove GstThread, add GstBus, add simple porting checklist, add
4202 documentation for tag writing, clocks, make all examples until this
4203 part compile and run.
4204 * examples/manual/Makefile.am:
4205 Update from changes to Application Development Manual; add bus
4206 example, remove thread example.
4208 2005-06-28 Wim Taymans <wim@fluendo.com>
4210 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
4211 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
4212 (gst_bus_source_dispatch):
4213 Add debugging messages.
4214 Make internal methods static.
4215 Handle the case where the bus is flushed in the handler.
4217 * gst/gstelement.c: (gst_element_get_bus):
4218 Fix refcount in _get_bus();
4220 * gst/gstpipeline.c: (gst_pipeline_change_state),
4221 (gst_pipeline_get_clock_func):
4222 Clock refcounting fixes.
4223 Handle the case where preroll timed out more gracefully.
4225 * gst/gstsystemclock.c: (gst_system_clock_dispose):
4226 Clean up the internal thread in dispose. This is needed
4227 for subclasses that actually get disposed.
4229 * gst/schedulers/threadscheduler.c:
4230 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
4231 (gst_thread_scheduler_dispose):
4232 Free thread pool in dispose.
4234 2005-06-28 Andy Wingo <wingo@pobox.com>
4236 * tests/network-clock-utils.scm (debug, print-event): New utils.
4238 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
4239 (*packet-loss*): Unified loss probability.
4240 (network-time): Report out-of-band events.
4242 * tests/plot-data: Add support for out-of-band events. Hack it
4243 into this script instead of passing it down the pipe; should fix
4246 2005-06-28 Wim Taymans <wim@fluendo.com>
4248 * docs/gst/gstreamer.types:
4249 * docs/gst/tmpl/gstbasesrc.sgml:
4250 * docs/gst/tmpl/gstpad.sgml:
4253 2005-06-28 Wim Taymans <wim@fluendo.com>
4255 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4256 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
4257 (gst_proxy_pad_do_fixatecaps):
4258 Correctly proxy the check_pull_range function.
4260 2005-06-28 Andy Wingo <wingo@pobox.com>
4262 * tests/network-clock.scm: Removed need for slib.
4264 2005-06-28 Wim Taymans <wim@fluendo.com>
4266 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
4267 (gst_basesink_preroll_queue_flush):
4268 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
4269 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
4270 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4271 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4272 (gst_proxy_pad_set_property):
4275 * gst/gstqueue.c: (gst_queue_init):
4276 The deprecated pad loop function is removed now.
4278 2005-06-28 Andy Wingo <wingo@pobox.com>
4280 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
4281 New parameters, simulate network packet loss.
4283 * tests/network-clock-utils.scm: Initialize the RNG.
4285 2005-06-28 Wim Taymans <wim@fluendo.com>
4287 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
4288 (gst_basesink_event), (gst_basesink_deactivate):
4289 Flushing the preroll queue always needs to unlock the waiters.
4291 2005-06-28 Edward Hervey <edward@fluendo.com>
4293 * gst/gstpipeline.c: (gst_pipeline_send_event):
4294 Wheen a seek was successful on a pipeline, set the stream_time to the
4295 seek offset in order to have a synchronized stream_time.
4297 2005-06-28 Wim Taymans <wim@fluendo.com>
4299 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4300 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
4301 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
4302 (gst_proxy_pad_do_fixatecaps):
4303 Call wrapper function instead of just calling the function
4304 pointers. This takes care of any locking and whatmore.
4306 2005-06-28 Wim Taymans <wim@fluendo.com>
4308 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
4309 (gst_pad_pull_range):
4311 CONNECTED -> LINKED.
4313 2005-06-28 Andy Wingo <wingo@pobox.com>
4315 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
4316 source-munging commit!!!
4318 * gst/gstobject.c (gst_object_unref, gst_object_ref)
4319 (gst_object_sink): Take gpointer arguments, not GstObject --
4320 avoids casts. Like GLib.
4322 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
4325 2005-06-27 Andy Wingo <wingo@pobox.com>
4327 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
4330 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
4331 returns a sorted copy of the trace list.
4332 (gst_alloc_trace_print_live): New API, only prints traces with
4333 live objects. Sort the list.
4334 (gst_alloc_trace_print_all): Sort the list.
4335 (gst_alloc_trace_print): Align columns.
4337 * gst/elements/gstttypefindelement.c:
4338 * gst/elements/gsttee.c:
4339 * gst/base/gstbasesrc.c:
4340 * gst/base/gstbasesink.c:
4341 * gst/base/gstbasetransform.c:
4342 * gst/gstqueue.c: Adapt for pad activation changes.
4344 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
4346 (gst_pipeline_dispose): Drop ref on sched.
4348 * gst/gstpad.c (gst_pad_init): Set the default activate func.
4349 (gst_pad_activate_default): Push mode by default.
4350 (pre_activate_switch, post_activate_switch): New stubs, things to
4351 do before and after switching activation modes on pads.
4352 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
4353 the pad's activate function to choose which mode to activate.
4354 Shortcut on deactivation and call the right function directly.
4355 (gst_pad_activate_pull): New API, (de)activates a pad in pull
4357 (gst_pad_activate_push): New API, same for push mode.
4358 (gst_pad_set_activate_function)
4359 (gst_pad_set_activatepull_function)
4360 (gst_pad_set_activatepush_function): Setters for new API.
4362 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
4363 Trace all miniobjects.
4364 (gst_mini_object_make_writable): Unref the arg if we copy, like
4365 gst_caps_make_writable.
4367 * gst/gstmessage.c (_gst_message_initialize): No trace init.
4369 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
4370 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
4371 Adapt for new pad API.
4373 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
4376 * gst/gstelement.c (gst_element_iterate_src_pads)
4377 (gst_element_iterate_sink_pads): New API functions.
4379 * gst/gstelement.c (iterator_fold_with_resync): New utility,
4380 should fold into gstiterator.c in some form.
4381 (gst_element_pads_activate): Simplified via use of fold and
4382 delegation of decisions to gstpad->activate.
4384 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
4387 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
4388 class once in init, like gstmessage. Didn't run into this issue
4389 but it seems correct. Don't initialize a trace, gstminiobject does
4392 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
4393 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
4395 (assert_live_count): New util function, uses alloc traces to check
4398 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
4399 To be modified when unlink drops the internal pad.
4401 2005-06-27 Wim Taymans <wim@fluendo.com>
4403 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
4404 (gst_bin_change_state):
4405 Cleanup the get_state() function a little, make sure it
4406 iterates the same set of elements.
4407 Added stub iterate_state_order().
4409 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
4411 * docs/gst/gstreamer-docs.sgml:
4412 * docs/gst/gstreamer-sections.txt:
4413 * docs/gst/gstreamer.types:
4414 * docs/gst/tmpl/gstbasesink.sgml:
4415 * docs/gst/tmpl/gstbasesrc.sgml:
4416 * docs/gst/tmpl/gstbasetransform.sgml:
4417 * docs/gst/tmpl/gstelement.sgml:
4418 * docs/gst/tmpl/gstiterator.sgml:
4419 * gst/base/gstbasesrc.c:
4420 * gst/base/gstbasesrc.h:
4421 * gst/base/gstbasetransform.h:
4423 * gst/gstiterator.h:
4424 adding basetransform and iterator docs
4426 2005-06-27 Andy Wingo <wingo@pobox.com>
4428 * docs/design/part-activation.txt: Notes on how activation should
4429 work -- not quite implemented yet.
4431 2005-06-25 Wim Taymans <wim@fluendo.com>
4433 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
4434 At least get the chain function correct, needs more
4437 2005-06-25 Wim Taymans <wim@fluendo.com>
4439 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
4440 (gst_basesink_handle_object), (gst_basesink_event),
4441 (gst_basesink_do_sync), (gst_basesink_handle_event),
4442 (gst_basesink_change_state):
4444 Right, two problems here: ghostpads don't take locks and
4445 glib _rec_mutex_lock_full() with depth==0 still locks.
4446 Catch illegal locking and g_warn them.
4448 2005-06-25 Wim Taymans <wim@fluendo.com>
4450 * check/states/sinks.c: (START_TEST), (gst_object_suite):
4451 Have to check for completion now...
4453 2005-06-25 Wim Taymans <wim@fluendo.com>
4455 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
4456 (gst_basesink_handle_object), (gst_basesink_event),
4457 (gst_basesink_do_sync), (gst_basesink_handle_event),
4458 (gst_basesink_change_state):
4460 Unlock STREAM_LOCK whatever the recursion was.
4462 2005-06-25 Wim Taymans <wim@fluendo.com>
4464 * gst/base/gstbasesink.c: (gst_basesink_set_property),
4465 (gst_basesink_preroll_queue_empty),
4466 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
4467 (gst_basesink_event), (gst_basesink_do_sync),
4468 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
4469 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
4470 (gst_basesink_change_state):
4471 Reworked the base sink, handle event and buffer serialisation
4472 correctly and removed possible deadlock.
4473 Handle EOS correctly.
4475 2005-06-25 Wim Taymans <wim@fluendo.com>
4477 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
4478 (gst_pipeline_change_state):
4479 * tools/gst-launch.c: (check_intr), (event_loop), (main):
4480 Allow elements to post EOS in the state change function.
4481 Fix up -launch, make it exit the poll loop when the
4482 pipeline actually changed state.
4483 Fix up warning parsing in -launch.
4485 2005-06-25 Wim Taymans <wim@fluendo.com>
4487 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
4488 (gst_tee_sink_activate):
4489 Core takes STREAM_LOCK for us now.
4491 2005-06-25 Wim Taymans <wim@fluendo.com>
4493 * gst/gstelement.c: (gst_element_get_state_func),
4494 (gst_element_set_state):
4496 * gst/gstmessage.c: (gst_message_parse_error),
4497 (gst_message_parse_warning):
4498 Keep track of current target state while performing a state
4499 change so that subclasses can do something interesting.
4500 Fix parsing of warning/error messages when GError is NULL.
4502 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
4504 * docs/gst/Makefile.am:
4505 * docs/gst/gstreamer-docs.sgml:
4506 * docs/gst/gstreamer-sections.txt:
4507 * docs/gst/gstreamer.types:
4508 * docs/gst/tmpl/gstbasesink.sgml:
4509 * docs/gst/tmpl/gstbasesrc.sgml:
4510 * docs/gst/tmpl/gstbin.sgml:
4511 * docs/gst/tmpl/gstcompat.sgml:
4512 * docs/gst/tmpl/gstfakesink.sgml:
4513 * docs/gst/tmpl/gstfakesrc.sgml:
4514 * docs/gst/tmpl/gstfilesink.sgml:
4515 * docs/gst/tmpl/gstfilesrc.sgml:
4516 * docs/gst/tmpl/gstindex.sgml:
4517 * docs/manual/appendix-quotes.xml:
4518 * gst/base/gstbasesrc.h:
4519 * gst/elements/gstfakesrc.h:
4521 start pulling in base classes and elements in our docs
4523 2005-06-24 Stefan Kost <ensonic@users.sf.net>
4525 * docs/gst/Makefile.am:
4526 * docs/libs/Makefile.am:
4527 fixed make distcheck with gtk-doc 1.3
4529 2005-06-23 Wim Taymans <wim@fluendo.com>
4531 * gst/gstelement.c: (gst_element_get_state_func),
4532 (gst_element_set_state), (gst_element_change_state):
4533 When the state did not change, also report NO_PREROLL
4536 2005-06-23 Wim Taymans <wim@fluendo.com>
4538 * gst/gstpad.c: (gst_pad_event_default):
4539 * gst/gstqueue.c: (gst_queue_loop):
4540 No unsafe task pausing please.
4542 2005-06-23 Wim Taymans <wim@fluendo.com>
4544 * gst/schedulers/threadscheduler.c:
4545 (gst_thread_scheduler_task_start),
4546 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
4547 Ref the task before pushing it on the threadpool. This
4548 makes sure that we have a ref when the threadfunction is
4551 2005-06-23 Andy Wingo <wingo@pobox.com>
4553 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
4554 offset is greater than the file's size.
4556 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
4557 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
4558 * gst/gstobject.c (gst_object_class_init): Make the class lock
4559 recursive. Wim won't let me drop deep_notify. Decodebin works
4562 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
4563 internal pad, and hacks accordingly. Doesn't do it on the target
4564 pad because we change its caps. Probably catches all cases of
4566 (gst_ghost_pad_set_property): Connect to notify::caps as
4569 * tests/network-clock.scm (plot-simulation): Pipe data to the
4570 elite python skript.
4572 * tests/network-clock-utils.scm (define-parameter): New macro,
4573 defines a parameter that can be set via the command line.
4574 (set-parameter!, parse-parameter-arguments): Command line args
4577 * tests/plot-data: Simple matplotlib-based plotter, takes input on
4580 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
4582 * gst/elements/gsttypefindelement.c:
4583 (gst_type_find_element_handle_event):
4584 Don't restart typefinding on a discont.
4585 * gst/gstelement.c: (gst_element_set_state):
4587 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
4588 Allow changing mode of an active pad.
4590 * gst/registries/gstlibxmlregistry.c: (load_feature):
4591 Don't cast a static pad template to a normal pad template.
4593 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
4595 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
4596 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4597 remove gst_strtoll completely, since it didn't actually do
4598 anything more than what g_ascii_strtoull already does.
4599 check for range errors when deserializing
4600 do a cast for the unsigned cases; but further fixing needs
4601 a decision on what the interpretation of "(int)" and
4602 deserialization should be for values that fall outside the
4603 type's boundaries (ie, refuse, or interpret as casting)
4605 2005-06-23 Wim Taymans <wim@fluendo.com>
4607 * check/Makefile.am:
4608 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
4609 * docs/design/part-live-source.txt:
4610 * docs/design/part-states.txt:
4611 * gst/base/gstbasesrc.c: (gst_basesrc_init),
4612 (gst_basesrc_set_live), (gst_basesrc_is_live),
4613 (gst_basesrc_get_range), (gst_basesrc_activate),
4614 (gst_basesrc_change_state):
4615 * gst/base/gstbasesrc.h:
4616 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4617 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
4618 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
4619 * gst/gstelement.c: (gst_element_get_state_func),
4620 (gst_element_set_state):
4623 * tools/gst-launch.c: (event_loop), (main):
4624 Added support for live sources and other elements that
4626 Updated design docs, added live-source design doc.
4627 Implemented live source functionality in basesrc
4628 Fix error condition in _bin_get_state()
4629 Implement live source handling in -launch.
4630 Added check for live sources.
4631 Fixed case in GstBin where elements were changed state
4635 2005-06-23 Andy Wingo <wingo@pobox.com>
4637 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
4640 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
4641 gst_caps_replace takes care of this for us.
4643 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
4644 gst_pad_set_caps on the target, not just its setcaps() function.
4646 * tests/network-clock.scm:
4647 * tests/network-clock-utils.scm: A network clock simulator.
4648 Something of an algorithmic testbed before doing something in C.
4650 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
4652 * check/Makefile.am:
4653 * check/gst/capslist.h:
4654 copy over from 0.8, and add two with bitmasks specified with
4656 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
4657 add test to parse everything from capslist.h
4658 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
4660 add test for structure deserialization
4661 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
4662 add tests for deserialization of strings to int types
4663 * gst/gststructure.c: (gst_structure_nth_field_name):
4664 * gst/gststructure.h:
4665 add a way to get the name of a field referenced by index
4666 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4667 instead of checking if the resulting long long lies between
4668 min and max, we check if the long long would fit into
4669 a number of bytes for the final type.
4670 This fixes cases where a string represents 2^32 - 1, which
4671 when cast to int would be the (valid) -1, but is bigger than
4674 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
4676 * gst/parse/grammar.y:
4677 add a log line for type deserialization
4679 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
4681 * check/gst/gstvalue.c: (START_TEST):
4682 * gst/gstvalue.c: (gst_value_deserialize):
4683 return long long, not int, so gint64 deserialization actually
4684 works. Is there any flag that makes the compiler check this ?
4687 2005-06-22 Wim Taymans <wim@fluendo.com>
4690 Added convenience macros for setting buffers in GValue.
4692 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
4694 * check/gst/.cvsignore:
4695 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
4696 add a test deserializing int64, and comment part out because
4699 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
4701 * check/Makefile.am:
4702 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
4703 * testsuite/Makefile.am:
4704 * testsuite/caps/Makefile.am:
4705 * testsuite/caps/value_serialize.c:
4706 * testsuite/test_gst_init.c:
4707 move a value_serialize test over
4709 2005-06-20 Wim Taymans <wim@fluendo.com>
4714 * gst/gstvalue.c: (gst_value_compare_buffer),
4715 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
4716 (gst_value_compare_flags), (gst_value_serialize_flags),
4717 (gst_value_deserialize_flags), (_gst_value_initialize):
4718 Fix serialisation of buffers, they are not boxed types anymore
4720 2005-06-20 Wim Taymans <wim@fluendo.com>
4722 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
4723 Testcase to show error in buffer-on-caps serialisation.
4725 2005-06-20 Andy Wingo <wingo@pobox.com>
4727 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
4728 will be adding to later.
4730 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
4731 if its socks fill with rocks.
4732 (gst_system_clock_obtain): Set the name on object construction.
4733 Avoid double-checked locking.
4735 2005-06-20 Tim-Philipp M??ller <tim at centricular dot net>
4737 * gst/gsturi.c: (gst_element_make_from_uri):
4738 Fix potential endless loop.
4740 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
4742 * check/Makefile.am:
4744 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
4746 move over from testsuite dir and clean up
4749 * testsuite/Makefile.am:
4750 * testsuite/tags/.cvsignore:
4751 * testsuite/tags/Makefile.am:
4752 * testsuite/tags/merge.c:
4753 remove testsuite/tags
4755 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
4757 * docs/gst/gstreamer-sections.txt:
4758 * docs/gst/tmpl/gstenumtypes.sgml:
4759 * win32/gstenumtypes.c:
4760 clean up documentation build a little
4762 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
4765 add macros for checking refcounts on objects and caps
4766 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
4767 add some more unit tests
4768 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
4769 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
4770 fix leaked refcounts (I hope :)) so unittest works
4774 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
4776 * configure.ac: back to HEAD
4778 === release 0.9.1 ===
4780 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
4786 2005-06-17 Andy Wingo <wingo@pobox.com>
4788 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
4789 assert; it's always possible that the pad gets deactivated in
4790 between the checks in gstpad.c and the implementation. Rely on
4791 finish_preroll() to return a FLUSHING or similar instead of on the
4794 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
4795 clock and post an EOS message if we come out of finish_preroll in
4798 2005-06-16 David Schleef <ds@schleef.org>
4800 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
4801 (gst_capsfilter_set_property): Allow NULL as possible value
4802 for filter_caps property, indicating GST_CAPS_ANY.
4804 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
4806 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
4808 * gst/schedulers/Makefile.am:
4810 * gstreamer.spec.in:
4813 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
4815 * gstreamer.spec.in:
4818 2005-06-08 Andy Wingo <wingo@pobox.com>
4820 * gst/gstutils.c: RPAD fixes all around.
4821 (gst_element_link_pads): Refcounting fixes.
4823 * tools/gst-inspect.c:
4824 * tools/gst-xmlinspect.c:
4826 * gst/base/gsttypefindhelper.c:
4827 * gst/base/gstbasesink.c:
4828 * gst/gstqueue.c: RPAD fixes.
4830 * gst/gstghostpad.h:
4831 * gst/gstghostpad.c: New ghost pad implementation as full proxy
4832 pads. The tricky thing is they provide both source and sink
4833 interfaces, since they proxy the internal pad for the external
4834 pad, and vice versa. Implement with lower-level ProxyPad objects,
4835 with the interior proxy pad as a child of the exterior ghost pad.
4836 Should write a doc on this.
4838 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
4839 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
4842 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
4843 pads are real pads. No ghost pads in this file. Not documenting
4844 the myriad s/RPAD/PAD/ and REALIZE fixes.
4845 (gst_pad_class_init): Add properties for "direction" and
4846 "template". Both are construct-only, so they can't change during
4847 the life of the pad. Fixes properly deriving from GstPad.
4848 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
4849 derived objects, just set properties when creating the objects via
4851 (gst_pad_get_parent): Implement as a function, return NULL if the
4852 parent is not an element.
4853 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
4854 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
4856 * gst/gstobject.c (gst_object_class_init): Make name a construct
4857 property. Don't set it in the object init.
4859 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
4860 with UNKNOWN direction.
4861 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
4862 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
4863 (gst_element_remove_pad): Remove ghost-pad special cases.
4864 (gst_element_pads_activate): Remove rpad cruft.
4866 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
4867 catch the pad's-parent-not-an-element case.
4869 * gst/gst.h: Include gstghostpad.h.
4871 * gst/gst.c (init_post): No more real, ghost pads.
4873 * gst/Makefile.am: Add gstghostpad.[ch].
4875 * check/Makefile.am:
4876 * check/gst/gstbin.c:
4877 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
4878 into a bin creates ghost pads, and that the refcounts are right.
4879 Partly moved from gstbin.c.
4881 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
4883 * check/gst-libs/.cvsignore:
4884 * check/gst/.cvsignore:
4885 * check/pipelines/.cvsignore:
4887 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
4888 (START_TEST), (cleanup_suite), (main):
4889 add some tests related to cleanup after running pipelines
4891 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
4893 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
4894 add a testsuite for GstBuffer
4896 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
4898 * gst/gstminiobject.h:
4899 add defines for accessing the refcount
4901 2005-06-03 Stefan Kost <ensonic@users.sf.net>
4903 * Makefile.am: added support for html unit test coverage reports
4905 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
4907 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
4908 Free existing caps if the capsfilter changes. Add a FIXME about
4909 setting those caps on the pads.
4911 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
4912 Before adding a ghost pad to a parent bin, check that there isn't
4913 already one for the element on the bin. Prevents infinite recursion
4914 when using decodebin in parse pipelines. Andy says he'll rewrite the
4915 way this works anyway, so ignore the hack.
4917 2005-06-02 Andy Wingo <wingo@pobox.com>
4919 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
4920 file size, pass it on to the type find helper.
4922 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
4923 segment_start and segment_end properly according to the seek
4924 method. Segment_end is still a bit flaky because offset can be
4925 negative for CUR and END cases, but it takes -1 as an "unset"
4928 2005-06-02 Wim Taymans <wim@fluendo.com>
4930 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
4931 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
4932 (gst_basesink_activate):
4933 * gst/base/gstbasesink.h:
4934 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
4935 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
4936 (gst_pad_query), (gst_pad_start_task):
4938 * gst/gstqueue.c: (gst_queue_bufferalloc),
4939 (gst_queue_handle_sink_event), (gst_queue_chain):
4940 Bufferalloc: return GstFlowReturn to more accuratly report
4941 why allocation failed.
4943 2005-06-02 Wim Taymans <wim@fluendo.com>
4945 * gst/gstpipeline.c: (gst_pipeline_send_event):
4946 Take snapshot of state without blocking.
4948 2005-06-02 Wim Taymans <wim@fluendo.com>
4950 * docs/design/part-TODO.txt:
4951 * docs/design/part-caps.txt:
4952 * docs/design/part-clocks.txt:
4953 * docs/design/part-negotiation.txt:
4954 * docs/design/part-preroll.txt:
4957 2005-05-30 Wim Taymans <wim@fluendo.com>
4959 * gst/elements/gstidentity.c: (gst_identity_event),
4960 (gst_identity_transform), (gst_identity_get_property):
4961 Protect last_message property as it is accessed from
4964 2005-05-30 Wim Taymans <wim@fluendo.com>
4966 * gst/gstelement.c: (gst_element_init),
4967 (gst_element_pads_activate), (gst_element_change_state):
4968 Slicker pad activation code.
4970 2005-05-30 Wim Taymans <wim@fluendo.com>
4974 * gst/gstelementfactory.h:
4976 Move elementfactory methods to separate .h file.
4978 2005-05-30 Wim Taymans <wim@fluendo.com>
4980 * docs/design/part-overview.txt:
4981 * gst/gstsystemclock.h:
4982 Small typo fixes, doc updates.
4984 2005-05-30 Wim Taymans <wim@fluendo.com>
4986 * gst/gst.c: (gst_init_get_popt_table), (init_post),
4987 (init_popt_callback):
4988 Remove cpu-opt flag.
4990 2005-05-30 Wim Taymans <wim@fluendo.com>
4992 * gst/gstbuffer.c: (gst_subbuffer_finalize),
4993 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
4995 Avoid typechecking in places where not needed.
4996 Added accessor for malloc_data.
4998 2005-05-30 Wim Taymans <wim@fluendo.com>
5000 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
5001 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
5002 (gst_pad_configure_sink), (gst_pad_configure_src),
5003 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
5004 (gst_pad_start_task):
5005 Propagate errors from _set_caps() in configure_src/sink
5006 functions instead of returning TRUE.
5007 FLUSH events can travel up and downstream
5010 2005-05-30 Wim Taymans <wim@fluendo.com>
5012 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
5013 (gst_basesink_activate):
5014 Handle EOS in preroll.
5016 2005-05-30 Wim Taymans <wim@fluendo.com>
5018 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5019 (gst_queue_loop), (gst_queue_handle_src_event):
5020 Remove old pieces of code
5021 Flushing the queue in an upstream event is a very bad idea.
5023 2005-05-26 Andy Wingo <wingo@pobox.com>
5025 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
5026 gst_value_set_mini_object so as to add a ref on the object (which
5027 will be removed when the value is unset).
5029 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
5030 arg type in ::handoff.
5032 * gst/gstelement.c (gst_element_change_state): Also deactivate
5033 pads in READY->NULL, just in case the element didn't make it to
5034 PAUSED. Wingo tested, Wim approved.
5036 2005-05-26 Wim Taymans <wim@fluendo.com>
5038 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5039 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
5040 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
5041 A flushing pad cannot be used to alloc_buffer from.
5043 2005-05-26 Wim Taymans <wim@fluendo.com>
5045 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
5046 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
5047 (gst_bus_source_dispatch), (gst_bus_source_finalize),
5048 (gst_bus_create_watch), (gst_bus_add_watch_full):
5050 Implement a real GSource and use g_main_context_wakeup() to
5051 signal new messages instead of the socketpair.
5053 2005-05-25 Wim Taymans <wim@fluendo.com>
5055 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
5056 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
5057 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5058 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
5059 (gst_pad_send_event), (gst_pad_start_task):
5060 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
5061 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5062 (gst_queue_sink_activate), (gst_queue_src_activate),
5063 (gst_queue_change_state):
5065 Fix state changes for non sinks. We now change sinks, then elements
5066 with unconnected srcpads, then the rest.
5067 More efficient queue unlocking in flush and state changes.
5068 Set the pad activate mode even if it does not have an activate
5071 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5073 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
5074 Don't go in pull mode for non-seekable sources.
5075 * gst/elements/gsttypefindelement.h:
5076 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
5077 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
5078 (free_entry), (stop_typefinding),
5079 (gst_type_find_element_handle_event), (find_peek),
5080 (gst_type_find_element_chain), (do_pull_typefind),
5081 (gst_type_find_element_change_state):
5082 Allow typefinding (w/o seeking) in push-mode, simplified version
5084 * gst/gstutils.c: (gst_buffer_join):
5086 gst_buffer_join() from 0.8.
5088 2005-05-25 Wim Taymans <wim@fluendo.com>
5090 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5091 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
5092 (gst_pad_send_event), (gst_pad_start_task):
5093 Disable attempt at mode switching until it is figured out.
5095 2005-05-25 Wim Taymans <wim@fluendo.com>
5097 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
5098 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
5099 (gst_basesink_finish_preroll), (gst_basesink_chain),
5100 (gst_basesink_loop), (gst_basesink_activate),
5101 (gst_basesink_change_state):
5102 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
5103 (gst_basesrc_get_range), (gst_basesrc_loop),
5104 (gst_basesrc_activate):
5105 * gst/elements/gsttee.c: (gst_tee_sink_activate):
5106 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
5107 (gst_real_pad_init), (gst_real_pad_set_property),
5108 (gst_real_pad_get_property), (gst_pad_set_active),
5109 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
5110 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
5111 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
5112 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
5113 (gst_pad_event_default_dispatch), (gst_pad_event_default),
5114 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
5115 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
5116 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
5117 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
5118 (gst_pad_stop_task):
5120 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5121 (gst_queue_loop), (gst_queue_src_activate):
5122 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
5123 (gst_task_get_state):
5125 * gst/schedulers/threadscheduler.c:
5126 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
5127 Implement gst_pad_pause/start/stop_task(), take STREAM lock
5129 Remove ACTIVE pad flag, use FLUSHING everywhere
5130 Added _pad_chain(), _pad_get_range() to call chain/getrange
5132 Add locks around IS_FLUSHING when reading.
5133 Take STREAM lock in chain(), get_range() functions so plugins
5134 don't need to take it anymore.
5138 2005-05-25 Wim Taymans <wim@fluendo.com>
5140 * tools/gst-launch.c: (event_loop):
5141 Unref message after using its contents instead of
5144 2005-05-24 Wim Taymans <wim@fluendo.com>
5146 * docs/design/draft-ghostpads.txt:
5147 * docs/design/draft-push-pull.txt:
5148 * docs/design/draft-query.txt:
5149 * docs/design/part-overview.txt:
5150 Docs updates, added general overview doc.
5152 2005-05-21 David Schleef <ds@schleef.org>
5154 * docs/gst/tmpl/old/GstBin.sgml:
5155 * docs/gst/tmpl/old/GstBuffer.sgml:
5156 * docs/gst/tmpl/old/GstCaps.sgml:
5157 * docs/gst/tmpl/old/GstClock.sgml:
5158 * docs/gst/tmpl/old/GstCompat.sgml:
5159 * docs/gst/tmpl/old/GstData.sgml:
5160 * docs/gst/tmpl/old/GstElement.sgml:
5161 * docs/gst/tmpl/old/GstEvent.sgml:
5162 * docs/gst/tmpl/old/GstIndex.sgml:
5163 * docs/gst/tmpl/old/GstStructure.sgml:
5164 * docs/gst/tmpl/old/GstTag.sgml:
5165 * docs/gst/tmpl/old/cothreads.sgml:
5166 * docs/gst/tmpl/old/cothreads_compat.sgml:
5167 * docs/gst/tmpl/old/gettext.sgml:
5168 * docs/gst/tmpl/old/gobject2gtk.sgml:
5169 * docs/gst/tmpl/old/grammar.tab.sgml:
5170 * docs/gst/tmpl/old/gst-i18n-app.sgml:
5171 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
5172 * docs/gst/tmpl/old/gst_private.sgml:
5173 * docs/gst/tmpl/old/gstaggregator.sgml:
5174 * docs/gst/tmpl/old/gstarch.sgml:
5175 * docs/gst/tmpl/old/gstatomic_impl.sgml:
5176 * docs/gst/tmpl/old/gstbufferstore.sgml:
5177 * docs/gst/tmpl/old/gstdata_private.sgml:
5178 * docs/gst/tmpl/old/gstdisksink.sgml:
5179 * docs/gst/tmpl/old/gstdisksrc.sgml:
5180 * docs/gst/tmpl/old/gstelementfactory.sgml:
5181 * docs/gst/tmpl/old/gstextratypes.sgml:
5182 * docs/gst/tmpl/old/gstfakesink.sgml:
5183 * docs/gst/tmpl/old/gstfakesrc.sgml:
5184 * docs/gst/tmpl/old/gstfdsink.sgml:
5185 * docs/gst/tmpl/old/gstfdsrc.sgml:
5186 * docs/gst/tmpl/old/gstfilesink.sgml:
5187 * docs/gst/tmpl/old/gstfilesrc.sgml:
5188 * docs/gst/tmpl/old/gsthttpsrc.sgml:
5189 * docs/gst/tmpl/old/gstidentity.sgml:
5190 * docs/gst/tmpl/old/gstindexfactory.sgml:
5191 * docs/gst/tmpl/old/gstmarshal.sgml:
5192 * docs/gst/tmpl/old/gstmd5sink.sgml:
5193 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
5194 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
5195 * docs/gst/tmpl/old/gstpadtemplate.sgml:
5196 * docs/gst/tmpl/old/gstpipefilter.sgml:
5197 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
5198 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
5199 * docs/gst/tmpl/old/gstshaper.sgml:
5200 * docs/gst/tmpl/old/gstspider.sgml:
5201 * docs/gst/tmpl/old/gstspideridentity.sgml:
5202 * docs/gst/tmpl/old/gststatistics.sgml:
5203 * docs/gst/tmpl/old/gsttee.sgml:
5204 * docs/gst/tmpl/old/gsttimecache.sgml:
5205 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
5206 * docs/gst/tmpl/old/gstxmlregistry.sgml:
5207 * docs/gst/tmpl/old/gthread-cothreads.sgml:
5208 * docs/gst/tmpl/old/types.sgml:
5209 I didn't intend to add these or check them in.
5211 2005-05-19 David Schleef <ds@schleef.org>
5213 * configure.ac: Use -no-common everywhere. In a sane world, it
5214 would be the default in libtool, because without it, you can't
5215 build DLLs on Windows.
5216 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
5217 * docs/gst/gstreamer-sections.txt:
5218 * docs/gst/tmpl/gstcpu.sgml:
5219 * docs/gst/tmpl/gstdata.sgml:
5220 * docs/gst/tmpl/gstthread.sgml:
5222 2005-05-19 David Schleef <ds@schleef.org>
5224 * gst/gstminiobject.c: (gst_value_set_mini_object),
5225 (gst_value_take_mini_object), (gst_value_get_mini_object):
5226 * gst/gstminiobject.h: Add GValue set/get functions.
5228 2005-05-19 Wim Taymans <wim@fluendo.com>
5230 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
5231 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
5232 (gst_subbuffer_init), (gst_buffer_is_span_fast):
5234 * gst/gstbus.c: (gst_bus_post):
5235 * gst/gstelement.c: (gst_element_get_random_pad):
5236 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
5237 Make subbufer unref the parent in finalize.
5238 some more debugging info.
5241 2005-05-19 Wim Taymans <wim@fluendo.com>
5243 * gst/base/gstbasesink.c: (gst_basesink_class_init),
5244 (gst_basesink_init), (gst_basesink_finalize),
5245 (gst_basesink_activate), (gst_basesink_change_state):
5246 Don't free preroll queue too early.
5248 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5252 Hi, I'm outdated. Please shoot me.
5254 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5256 * gst/gstpipeline.c: (gst_pipeline_send_event):
5257 Do not access variables after they have been deleted.
5259 2005-05-19 Wim Taymans <wim@fluendo.com>
5261 * tools/gst-inspect.c: (print_plugin_features):
5262 A plugin feature does unfortunatly not use the
5265 2005-05-18 Wim Taymans <wim@fluendo.com>
5267 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
5268 Port _span() functions to new subbuffers.
5270 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5272 * gst/gstbin.c: (gst_bin_add_func):
5273 Fix clock settery in bins when adding kids after the clock has
5276 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5278 * gst/elements/gstidentity.c: (gst_identity_class_init):
5279 Workaround until signals support GstMiniObject.
5281 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
5284 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
5286 2005-05-18 Wim Taymans <wim@fluendo.com>
5288 * gst/base/Makefile.am:
5289 * gst/base/gstadapter.c: (gst_adapter_base_init),
5290 (gst_adapter_class_init), (gst_adapter_init),
5291 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
5292 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
5293 (gst_adapter_flush), (gst_adapter_available),
5294 (gst_adapter_available_fast):
5295 * gst/base/gstadapter.h:
5296 Ported and added adapter to the base classes.
5298 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5302 Make sure the class is reffed/unreffed once before threads can be
5303 used. Fixes #304551.
5305 2005-05-17 Wim Taymans <wim@fluendo.com>
5307 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
5308 (gst_basesink_chain_unlocked), (gst_basesink_activate):
5309 * gst/gstminiobject.c: (gst_mini_object_get_type),
5310 (gst_mini_object_free):
5311 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
5312 (gst_pad_push), (gst_pad_push_event):
5313 * gst/gstqueue.c: (gst_queue_change_state):
5314 Don't queue buffers in basesink when we are flushing.
5315 Unref buffer when flushing in basesink.
5316 Flush queue when going to READY
5317 Unref buffer when _push() returns an error.
5318 Don't free MiniObject instance when refcount is incremented
5319 in _finalize() so that we can recover objects.
5321 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
5323 * docs/manual/advanced-schedulers.xml:
5324 * docs/manual/appendix-checklist.xml:
5325 * docs/pwg/advanced-clock.xml:
5326 * docs/pwg/advanced-interfaces.xml:
5327 * docs/pwg/advanced-request.xml:
5328 * docs/pwg/advanced-types.xml:
5329 * docs/pwg/intro-preface.xml:
5330 * examples/plugins/example.c: (gst_example_get_type),
5331 (gst_example_class_init), (gst_example_chain),
5332 (gst_example_set_property), (gst_example_get_property),
5333 (gst_example_change_state), (plugin_init):
5334 * examples/plugins/example.h:
5337 2005-05-17 Wim Taymans <wim@fluendo.com>
5339 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
5340 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
5341 * gst/gstqueue.c: (gst_queue_change_state):
5342 Clear queue when going to READY.
5343 Remove IN_SETCAPS flag too.
5345 2005-05-17 Tim-Philipp M??ller <tim at centricular dot net>
5347 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
5348 Remove implicit cast from gboolean to GstElementStateReturn;
5349 make sure we still return failure in paused => ready case if
5350 the parent class fails to change state and our own stop
5353 2005-05-17 Wim Taymans <wim@fluendo.com>
5355 * tools/gst-launch.c: (event_loop):
5356 Message was unreffed too soon.
5358 2005-05-16 Andy Wingo <wingo@pobox.com>
5360 * gst/gstbin.c (sink_iterator_filter): Err... um...
5362 * check/gst/gstbin.c (test_ghost_pads): New test for the
5363 ghosting-if-elements-not-in-same-bin behavior.
5365 2005-05-16 David Schleef <ds@schleef.org>
5367 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
5368 accessing refcount directly.
5370 2005-05-15 David Schleef <ds@schleef.org>
5372 * check/Makefile.am: remove GstData checks
5373 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
5374 * gst/Makefile.am: add miniobject, remove data
5375 * gst/gst.h: add miniobject, remove data
5376 * gst/gstdata.c: remove
5377 * gst/gstdata.h: remove
5378 * gst/gstdata_private.h: remove
5379 * gst/gsttypes.h: remove GstEvent and GstMessage
5380 * gst/gstelement.c: (gst_element_post_message): fix for API changes
5381 * gst/gstmarshal.list: change BOXED -> OBJECT
5383 Implement GstMiniObject.
5384 * gst/gstminiobject.c:
5385 * gst/gstminiobject.h:
5387 Modify to be subclasses of GstMiniObject.
5388 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
5389 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
5390 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
5391 (gst_subbuffer_get_type), (gst_subbuffer_init),
5392 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
5395 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
5396 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
5397 (_gst_event_copy), (gst_event_new):
5399 * gst/gstmessage.c: (_gst_message_initialize),
5400 (gst_message_get_type), (gst_message_class_init),
5401 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
5402 (gst_message_new), (gst_message_new_error),
5403 (gst_message_new_warning), (gst_message_new_tag),
5404 (gst_message_new_state_changed), (gst_message_new_application):
5406 * gst/gstprobe.c: (gst_probe_perform),
5407 (gst_probe_dispatcher_dispatch):
5409 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
5410 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
5411 (_gst_query_copy), (gst_query_new):
5413 Update elements for GstData -> GstMiniObject changes
5415 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
5416 (gst_queue_chain), (gst_queue_loop):
5417 * gst/elements/gstbufferstore.c:
5418 (gst_buffer_store_add_buffer_func),
5419 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
5420 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
5421 (gst_fakesink_render):
5422 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
5423 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
5424 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
5425 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
5426 (gst_filesrc_create_read):
5427 * gst/elements/gstidentity.c: (gst_identity_class_init):
5428 * gst/elements/gsttypefindelement.c:
5429 (gst_type_find_element_src_event), (free_entry_buffers),
5430 (gst_type_find_element_handle_event):
5431 * libs/gst/dataprotocol/dataprotocol.c:
5432 (gst_dp_header_from_buffer):
5433 * libs/gst/dataprotocol/dataprotocol.h:
5434 * libs/gst/dataprotocol/dp-private.h:
5436 2005-05-15 David Schleef <ds@schleef.org>
5438 * gst/elements/gstelements.c: Don't include headers that were
5441 2005-05-15 David Schleef <ds@schleef.org>
5443 * gst/elements/Makefile.am: Remove some elements that don't
5444 need to be in the core (or even exist at all).
5445 * gst/elements/gstaggregator.c:
5446 * gst/elements/gstaggregator.h:
5447 * gst/elements/gstmd5sink.c:
5448 * gst/elements/gstmd5sink.h:
5449 * gst/elements/gstmultifilesrc.c:
5450 * gst/elements/gstmultifilesrc.h:
5451 * gst/elements/gstpipefilter.c:
5452 * gst/elements/gstpipefilter.h:
5453 * gst/elements/gstshaper.c:
5454 * gst/elements/gstshaper.h:
5455 * gst/elements/gststatistics.c:
5456 * gst/elements/gststatistics.h:
5457 * po/POTFILES.in: Remove above files.
5459 2005-05-14 Andy Wingo <wingo@pobox.com>
5461 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
5462 so as to get the refs right.
5463 (sink_iterator_filter): New function, wraps bin_element_is_sink,
5464 unreffing objects that don't pass the filter.
5466 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
5467 gst_element_set_bus.
5468 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
5469 normal cases, this will destroy the bus.
5471 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
5474 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
5477 2005-05-13 Andy Wingo <wingo@pobox.com>
5479 * gst/gstutils.c (gst_element_link_pads): Instead of calling
5480 gst_pad_link, call pad_link_maybe_ghosting,
5481 (pad_link_maybe_ghosting): Links pads, making sure that the
5482 elements being linked are in the same bin.
5483 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
5484 Helpers for pad_link_maybe_ghosting.
5486 2005-05-13 Tim-Philipp M??ller <tim at centricular dot net>
5489 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
5491 2005-05-13 Tim-Philipp M??ller <tim at centricular dot net>
5493 * docs/design/part-element-source.txt:
5496 2005-05-12 Wim Taymans <wim@fluendo.com>
5498 * gst/base/gstbasesink.c: (gst_basesink_init),
5499 (gst_basesink_activate):
5500 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
5501 (gst_basesrc_is_seekable):
5502 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5503 (bin_element_is_sink), (gst_bin_change_state):
5504 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
5506 Identify sinks by their flag to avoid overly complicated
5508 Do state changes even for elements not reachable from the
5510 BaseSink is a sink now :)
5511 Some more debugging info in the basesrc.
5514 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5516 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
5517 Implement _query on a bin, similar to _send_event.
5519 2005-05-12 Tim-Philipp M??ller <tim at centricular dot net>
5521 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
5522 Discont event offset format should be GST_FORMAT_BYTES,
5523 not GST_FORMAT_TIME.
5525 2005-05-12 Wim Taymans <wim@fluendo.com>
5527 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
5528 Same fix as Ronald's but without the signal.
5530 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5532 * gst/gstutils.c: (gst_element_query_position):
5533 No, an element is not a pad.
5535 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5537 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
5538 (gst_bin_get_state):
5539 If a child is removed from a bin while we remove the child from
5540 the bin and while we're retrieving its state, signal this to the
5541 get_state function so we abort the wait (instead of waiting for
5542 a timeout) and can immediately re-iterate over all other elements.
5544 2005-05-12 Wim Taymans <wim@fluendo.com>
5546 * gst/base/Makefile.am:
5547 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
5548 (gst_basesrc_start):
5549 * gst/base/gstbasesrc.h:
5550 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
5551 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
5552 (gst_pushsrc_init), (gst_pushsrc_create):
5553 * gst/base/gstpushsrc.h:
5554 Added is_seekable to BaseSrc
5555 Added simple PushSrc.
5557 2005-05-11 Wim Taymans <wim@fluendo.com>
5559 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
5560 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
5561 (gst_element_link_pads), (gst_element_query_position),
5562 (gst_element_query_convert), (intersect_caps_func),
5563 (gst_pad_query_position), (gst_pad_query_convert):
5564 Fix refcounting in utils function.
5565 No point in trying to activate a pad when it's added, it could
5566 be added from the state change function and then we deadlock, the
5567 element has to decide what to do.
5569 2005-05-10 Andy Wingo <wingo@pobox.com>
5571 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
5572 *all* the arguments.
5574 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
5575 stream lock if it's a FLUSH_DONE; normal flushes don't get the
5576 lock (according to the docs -- if this is wrong change the docs).
5578 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
5579 flush messages in the NULL state.
5581 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
5582 message immediately and return.
5583 (gst_bus_set_flushing): New function. If a bus is flushing, it
5584 flushes out any queued messages and immediately unrefs new
5585 messages. This is so when an element goes to NULL, all of the
5586 unhandled messages coming from it can be freed, and their
5587 references to the element dropped. In other words: message source
5588 ref considered harmful :P
5590 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
5591 we're finished with it.
5593 * gst/gstmessage.c (gst_message_new_state_changed):
5595 2005-05-10 Wim Taymans <wim@fluendo.com>
5597 * gst/gstvalue.c: (gst_value_compare_flags),
5598 (gst_value_serialize_flags), (gst_value_deserialize_flags),
5599 (_gst_value_initialize):
5600 Added flags serialize/deserialize/compare code.
5602 2005-05-09 Andy Wingo <wingo@pobox.com>
5604 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
5605 Intersect the peer's caps with our caps.
5607 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5609 * gst/base/gsttypefindhelper.c: (helper_find_peek):
5610 * gst/elements/gsttypefindelement.c: (find_peek):
5611 Handle negative offsets better. Fixes decodebin.
5613 2005-05-09 Wim Taymans <wim@fluendo.com>
5615 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
5616 (gst_base_transform_event):
5617 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
5618 Implement accept_caps.
5619 Fix silly lock/unlock mismatch in base class.
5621 2005-05-09 Wim Taymans <wim@fluendo.com>
5623 * docs/design/draft-push-pull.txt:
5624 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
5625 * gst/elements/gstfilesink.c: (gst_filesink_init),
5626 (gst_filesink_query):
5627 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
5628 (gst_type_find_handle_src_query), (find_element_get_length):
5629 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
5633 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
5634 (gst_real_pad_get_caps_unlocked),
5635 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
5636 (gst_pad_event_default_dispatch), (gst_pad_event_default),
5637 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
5638 (gst_real_pad_dispose), (gst_real_pad_finalize),
5639 (gst_pad_load_and_link), (gst_pad_save_thyself),
5640 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
5641 (gst_pad_check_pull_range), (gst_pad_pull_range),
5642 (gst_pad_template_get_type), (gst_pad_template_class_init),
5643 (gst_pad_template_init), (gst_pad_template_dispose),
5644 (name_is_valid), (gst_static_pad_template_get),
5645 (gst_pad_template_new), (gst_static_pad_template_get_caps),
5646 (gst_pad_template_get_caps), (gst_pad_set_element_private),
5647 (gst_pad_get_element_private), (gst_pad_start_task),
5648 (gst_pad_pause_task), (gst_pad_stop_task),
5649 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
5650 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
5651 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
5652 (gst_ghost_pad_new):
5654 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
5655 (gst_query_new_position), (gst_query_set_position),
5656 (gst_query_parse_position), (gst_query_new_convert),
5657 (gst_query_set_convert), (gst_query_parse_convert):
5659 * gst/gstqueryutils.c:
5660 * gst/gstqueryutils.h:
5661 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
5662 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
5663 (gst_queue_handle_src_query):
5664 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
5665 (gst_element_query_position), (gst_element_query_convert),
5666 (intersect_caps_func), (gst_pad_query_position),
5667 (gst_pad_query_convert):
5669 * tools/gst-inspect.c: (print_pad_info):
5670 * tools/gst-xmlinspect.c: (print_element_info):
5671 Remove old query functions. Ported old code.
5672 Added position/convert helper functions to gstutils.
5673 Reordered gstpad.c code, grouping relevant things.
5674 Remove gst_message_new(), always need to speficy a specific
5678 2005-05-09 Andy Wingo <wingo@pobox.com>
5680 * gst/gstiterator.h: Add some includes.
5682 * gst/gstqueryutils.h: Include more headers.
5685 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
5686 some uses of gst_pad_query.
5688 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
5689 NULL out parameters.
5690 (gst_query_new_position): New proc, allocates a new position
5693 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
5694 gstqueryutils.c to the build.
5696 * gst/gststructure.c (gst_structure_set_valist): Implement with
5697 the generic G_VALUE_COLLECT.
5699 2005-05-08 Edward Hervey <bilboed@bilboed.com>
5701 * gst/Makefile.am: (gst_headers):
5702 Added gstqueryutils.h to the list of headers to install, that was
5703 a 'nachty' move wingo :)
5705 2005-05-06 Andy Wingo <wingo@pobox.com>
5708 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
5709 GstData, init a memchunk.
5710 (standard_definitions): Add a few query types, deprecate a few.
5711 (gst_query_get_type): New proc.
5712 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
5714 (gst_query_new_application, gst_query_get_structure): New public
5717 * docs/design/draft-query.txt: Removed LINKS from the query types,
5718 because all the rest can be dispatched to other pads -- seemed
5719 ugly to have a query that couldn't be dispatched. internal_links
5720 is fine as a pad method.
5722 * gst/gstpad.h: Add query2 as a pad method, add the new functions
5723 in gstpad.c, but maintain binary compatibility for the moment.
5724 Will fix before 0.9 is out.
5726 * gst/gstqueryutils.c:
5727 * gst/gstqueryutils.h: New files, implement 3 methods for each
5728 query type: parse_query, parse_response, and set. Probably need an
5731 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
5733 * gst/elements/gstfilesink.c (gst_filesink_query2):
5734 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
5735 query_types, and formats methods.
5737 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
5738 (gst_pad_set_query2_function): New functions.
5739 (gst_real_pad_init): Set query2_default as the default query2
5740 function. Basically just dispatches to internally linked pads.
5744 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
5745 without using the atomic operations. Only one thread can possibly
5746 be accessing the data at this point. Changed so as to avoid
5747 gst_atomic operations.
5749 2005-05-06 Wim Taymans <wim@fluendo.com>
5751 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
5752 Also set caps if we use the fallback buffer alloc.
5754 2005-05-06 Tim-Philipp M??ller <tim at centricular dot net>
5756 * docs/gst/Makefile.am:
5757 * docs/gst/gstreamer-docs.sgml:
5758 * docs/gst/gstreamer-sections.txt:
5759 * docs/gst/tmpl/gstatomic.sgml:
5760 * docs/gst/tmpl/gstmemchunk.sgml:
5761 * testsuite/elements/struct_i386.h:
5762 * win32/GStreamer.vcproj:
5764 Purge GstAtomic stuff from docs and win32 makefiles as well
5766 2005-05-06 Wim Taymans <wim@fluendo.com>
5768 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
5769 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
5770 * gst/gstpad.c: (gst_pad_peer_get_caps):
5771 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
5772 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
5773 (gst_queue_src_activate), (gst_queue_change_state):
5775 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
5776 (intersect_caps_func):
5777 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
5778 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
5779 Some fixes for the peer_get_caps() change.
5781 2005-05-06 Wim Taymans <wim@fluendo.com>
5783 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
5784 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
5785 (gst_basesink_activate):
5786 Actually do something with error codes returned from the push
5789 2005-05-06 Wim Taymans <wim@fluendo.com>
5791 * docs/design/part-element-sink.txt:
5792 * docs/design/part-element-source.txt:
5793 * gst/base/gstbasesink.c: (gst_basesink_class_init),
5794 (gst_basesink_event), (gst_basesink_activate):
5795 * gst/base/gstbasesink.h:
5796 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
5797 (gst_basesrc_activate):
5798 * gst/base/gstbasesrc.h:
5799 * gst/gstelement.c: (gst_element_pads_activate):
5800 Some more documentation.
5801 Fixed scheduling decision in _pads_activate().
5803 2005-05-05 Andy Wingo <wingo@pobox.com>
5805 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
5808 2005-05-05 Wim Taymans <wim@fluendo.com>
5810 * gst/base/Makefile.am:
5811 * gst/base/gstbasesink.h:
5812 * gst/base/gstbasesrc.c: (gst_basesrc_init),
5813 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
5814 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
5815 (gst_collectpads_class_init), (gst_collectpads_init),
5816 (gst_collectpads_finalize), (gst_collectpads_new),
5817 (gst_collectpads_set_function), (gst_collectpads_add_pad),
5818 (find_pad), (gst_collectpads_remove_pad),
5819 (gst_collectpads_is_active), (gst_collectpads_collect),
5820 (gst_collectpads_collect_range), (gst_collectpads_start),
5821 (gst_collectpads_stop), (gst_collectpads_peek),
5822 (gst_collectpads_pop), (gst_collectpads_available),
5823 (gst_collectpads_read), (gst_collectpads_flush),
5824 (gst_collectpads_chain):
5825 * gst/base/gstcollectpads.h:
5826 * gst/elements/Makefile.am:
5827 * gst/elements/gstelements.c:
5828 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
5829 (gst_fakesink_get_times), (gst_fakesink_event),
5830 (gst_fakesink_preroll), (gst_fakesink_render):
5831 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
5832 (gst_filesink_init), (gst_filesink_set_location),
5833 (gst_filesink_open_file), (gst_filesink_close_file),
5834 (gst_filesink_pad_query), (gst_filesink_event),
5835 (gst_filesink_render), (gst_filesink_change_state):
5836 * gst/elements/gstfilesink.h:
5837 Added object to help in making collect pad based elements.
5839 Make event function in sink baseclass return gboolean.
5841 2005-05-05 Wim Taymans <wim@fluendo.com>
5843 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
5844 (gst_bin_get_by_name):
5846 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
5847 (gst_clock_finalize):
5848 * gst/gstdata.c: (gst_data_replace):
5850 * gst/gstelement.c: (gst_element_request_pad),
5851 (gst_element_pads_activate):
5852 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
5854 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
5855 (gst_pad_set_checkgetrange_function),
5856 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
5857 (gst_pad_check_pull_range), (gst_pad_pull_range),
5858 (gst_static_pad_template_get_caps), (gst_pad_start_task),
5859 (gst_pad_pause_task), (gst_pad_stop_task):
5860 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
5861 (gst_element_request_pad), (gst_pad_proxy_getcaps):
5862 Fix name lookup in GstBin.
5863 Added _data_replace() function and _buffer_replace()
5864 Use finalize method to clean up clock.
5865 Fix refcounting on request pads.
5866 Fix pad schedule mode error.
5867 Some more object refcounting debug info,
5870 2005-05-04 Andy Wingo <wingo@pobox.com>
5872 * check/Makefile.am:
5873 * docs/gst/tmpl/gstatomic.sgml:
5874 * docs/gst/tmpl/gstplugin.sgml:
5875 * gst/base/gstbasesink.c: (gst_basesink_activate):
5876 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
5877 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
5878 (gst_basesrc_query), (gst_basesrc_set_property),
5879 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
5880 (gst_basesrc_activate):
5881 * gst/base/gstbasesrc.h:
5882 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
5883 (gst_base_transform_src_activate):
5884 * gst/elements/gstelements.c:
5885 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
5886 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
5887 * gst/elements/gsttee.c: (gst_tee_sink_activate):
5888 * gst/elements/gsttypefindelement.c: (find_element_get_length),
5889 (gst_type_find_element_checkgetrange),
5890 (gst_type_find_element_activate):
5891 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
5892 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
5893 (gst_caps_load_thyself):
5894 * gst/gstelement.c: (gst_element_pads_activate),
5895 (gst_element_save_thyself), (gst_element_restore_thyself):
5896 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
5897 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
5899 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
5900 (gst_xml_parse_file), (gst_xml_parse_memory),
5901 (gst_xml_get_element), (gst_xml_make_element):
5902 * gst/indexers/gstfileindex.c: (gst_file_index_load),
5903 (_file_index_id_save_xml), (gst_file_index_commit):
5904 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
5905 (read_enum), (load_pad_template), (load_feature), (load_plugin),
5907 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
5908 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
5909 * tools/gst-complete.c: (main):
5910 * tools/gst-compprep.c: (main):
5911 * tools/gst-inspect.c: (print_element_properties_info):
5912 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
5913 * tools/gst-xmlinspect.c: (print_element_properties):
5916 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
5918 * gst/gstplugin.c: (gst_plugin_check_module),
5919 (gst_plugin_check_file), (gst_plugin_load_file):
5920 apply patch from #172526 to make register work on MacOSX
5922 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
5924 * docs/gst/tmpl/gstconfig.sgml:
5925 * gst/gstconfig.h.in:
5926 move documentation for some symbols. Add doc for GST_PTR_FORMAT
5927 * testsuite/debug/printf_extension.c: (main):
5928 Do not use GST_PTR_FORMAT on pointers to types with
5929 sizeof < sizeof(gpointer). Fixes test on 64-bit
5930 * testsuite/elements/property.h:
5931 use correct printf format
5933 2005-05-02 Wim Taymans <wim@fluendo.com>
5935 * docs/design/draft-push-pull.txt:
5936 * docs/design/draft-query.txt:
5937 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
5938 (gst_basesrc_start):
5939 Added draft for new query API.
5940 Added draft for better selecting scheduling methods.
5941 Make basesrc ignore length if the subclass does not support
5944 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
5947 possible fixes for automake-1.5 - _LIBADD is reserved
5949 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
5951 * docs/faq/Makefile.am:
5952 * docs/manual/Makefile.am:
5954 * docs/pwg/Makefile.am:
5956 possible fixes for automake-1.5
5958 2005-04-28 Wim Taymans <wim@fluendo.com>
5960 * gst/base/gstbasesink.c: (gst_basesink_base_init),
5961 (gst_basesink_pad_getcaps), (gst_basesink_init),
5962 (gst_basesink_do_sync):
5963 * gst/gstclock.c: (gst_clock_entry_new):
5964 * gst/gstevent.c: (gst_event_discont_get_value):
5965 * gst/gstpipeline.c: (pipeline_bus_handler),
5966 (gst_pipeline_change_state):
5967 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
5968 Better debugging of clocking info.
5969 Allow NULL values when getting discont values.
5971 2005-04-27 Wim Taymans <wim@fluendo.com>
5973 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
5974 * check/gst/gstpad.c: (gst_pad_suite):
5975 Increase timeout for checks.
5977 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5979 * check/Makefile.am:
5980 fix the broken rule for cleanup. Apparently this rule is
5981 only needed on FC2, so maybe this warrants further autotool
5984 2005-04-26 Wim Taymans <wim@fluendo.com>
5986 * gst/gsttrashstack.h:
5987 Ooohh. a nasty one! After having a failed pop() from the stack,
5988 it's possible that the stack is empty. In that case, don't
5989 follow the NULL pointer.
5991 2005-04-25 Wim Taymans <wim@fluendo.com>
5993 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
5994 (gst_pad_set_checkgetrange_function),
5995 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
5996 (gst_pad_check_pull_range), (gst_pad_pull_range),
5997 (gst_static_pad_template_get_caps), (gst_pad_start_task),
5998 (gst_pad_pause_task), (gst_pad_stop_task):
5999 * gst/gstplugin.c: (gst_plugin_load):
6001 Remove gst_library_load as it does more harm than good with
6002 the new g_module flags.
6003 Revert bogus caps template check in pad linking, pad caps
6004 are important when linking not the template, which is more
6005 general than the current caps.
6007 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6009 * gst/autoplug/.cvsignore:
6010 * gst/autoplug/Makefile.am:
6011 * gst/autoplug/gstsearchfuncs.c:
6012 * gst/autoplug/gstsearchfuncs.h:
6013 * gst/autoplug/gstspider.c:
6014 * gst/autoplug/gstspider.h:
6015 * gst/autoplug/gstspideridentity.c:
6016 * gst/autoplug/gstspideridentity.h:
6017 * gst/autoplug/spidertest.c:
6020 2005-04-25 Wim Taymans <wim@fluendo.com>
6022 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6023 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
6024 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
6025 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
6027 Added stubs for unimplemented functions.
6029 2005-04-24 David Schleef <ds@schleef.org>
6031 * gst/gstpad.h: Disable some unimplemented functions. Wim,
6034 2005-04-24 David Schleef <ds@schleef.org>
6036 Convert everything from GstAtomicInt to g_atomic_int_*, and
6041 * gst/gstatomic_impl.h:
6049 * gst/gstdata_private.h:
6056 * gst/gststructure.c:
6057 * gst/gststructure.h:
6058 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
6061 2005-04-24 David Schleef <ds@schleef.org>
6063 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
6064 make the regressions tests work. Remove some code that is no
6066 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
6067 Disable warning for pads without templates.
6069 2005-04-24 David Schleef <ds@schleef.org>
6071 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
6072 functions that handle filtered links.
6073 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
6075 * gst/gstutils.c: Fix/remove utility functions that handle
6078 * gst/gstvalue.c: Add serialization/deserialization of caps
6079 * gst/parse/grammar.y: Ignore filtered caps when linking. This
6080 requires fixing so that the filter caps notation creates
6081 a capsfilter element and sets the filter_caps property. I
6082 think everyone probably wants to keep the shorthand notation.
6083 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
6084 * docs/gst/tmpl/gstpad.sgml:
6086 * gst/elements/gstelements.c: Register capsfilter element.
6087 * gst/Makefile.am: fix spacing
6088 * docs/random/ds/0.9-suggested-changes: random
6090 2005-04-23 David Schleef <ds@schleef.org>
6092 * gst/elements/Makefile.am:
6093 * gst/elements/gstcapsfilter.c: New element that acts like an
6094 identity, but filters caps. Will eventually replace filtered
6095 caps in pad linking.
6096 * gst/gstutils.c: (gst_element_create_all_pads): New function
6097 to create all the ALWAYS pads that are registered with an
6098 element class. This functionality should eventually be
6099 merged in with GstElement initialization.
6101 * testsuite/trigger/README: part of trigger test code that should
6102 have been checked in a long time ago.
6104 2005-04-23 David Schleef <ds@schleef.org>
6106 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
6107 needed with new versions of libtool (nobody will confirm this),
6108 and hard to carry around.
6109 * gst/autoplug/Makefile.am:
6110 * gst/base/Makefile.am:
6111 * gst/elements/Makefile.am:
6112 * gst/indexers/Makefile.am:
6113 * gst/schedulers/Makefile.am:
6114 * libs/gst/bytestream/Makefile.am:
6115 * libs/gst/control/Makefile.am:
6116 * libs/gst/dataprotocol/Makefile.am:
6117 * libs/gst/getbits/Makefile.am:
6119 2005-04-21 Wim Taymans <wim@fluendo.com>
6121 * docs/design/draft-push-pull.txt:
6122 * docs/design/part-MT-refcounting.txt:
6123 * docs/design/part-TODO.txt:
6124 * docs/design/part-caps.txt:
6125 * docs/design/part-events.txt:
6126 * docs/design/part-gstbus.txt:
6127 * docs/design/part-gstpipeline.txt:
6128 * docs/design/part-messages.txt:
6129 * docs/design/part-push-pull.txt:
6130 * docs/design/part-query.txt:
6133 2005-04-21 Wim Taymans <wim@fluendo.com>
6135 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
6136 (gst_message_new), (gst_message_new_error),
6137 (gst_message_new_warning), (gst_message_new_tag),
6138 (gst_message_new_state_changed), (gst_message_new_application),
6139 (gst_message_get_structure):
6141 * gst/gststructure.c: (gst_structure_set_parent_refcount),
6142 (gst_structure_copy_conditional):
6143 Use parent refcount in GstMessage to ensure GstStructure
6145 Cleaned up headers a bit.
6148 2005-04-20 Wim Taymans <wim@fluendo.com>
6150 * gst/base/gstbasesink.c: (gst_basesink_base_init),
6151 (gst_basesink_pad_getcaps), (gst_basesink_init),
6152 (gst_basesink_chain_unlocked):
6153 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
6154 (gst_type_find_helper):
6155 * gst/elements/gsttypefindelement.c:
6156 (gst_type_find_element_have_type), (gst_type_find_element_init),
6157 (stop_typefinding), (gst_type_find_element_handle_event),
6158 (find_suggest), (gst_type_find_element_chain),
6159 (gst_type_find_element_checkgetrange),
6160 (gst_type_find_element_getrange), (do_typefind),
6161 (gst_type_find_element_activate):
6162 * gst/gstbuffer.c: (_gst_buffer_sub_free),
6163 (gst_buffer_default_free), (gst_buffer_default_copy),
6164 (gst_buffer_set_caps):
6165 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
6167 * gst/gstmessage.c: (gst_message_new),
6168 (gst_message_new_state_changed):
6169 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6170 (gst_pad_set_checkgetrange_function),
6171 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
6172 (gst_pad_set_caps), (gst_pad_check_pull_range),
6173 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
6175 * gst/gsttypefind.c: (gst_type_find_register):
6176 Make gst_caps_replace() work like other _replace() functions.
6177 Use _caps_replace() where possible.
6178 Make sure _message_new() initialises its field.
6179 Add gst_static_pad_template_get_caps()
6182 2005-04-18 Andy Wingo <wingo@pobox.com>
6184 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
6185 on the peer, not the pad. I think that was a typo. Pass an extra
6186 arg to see if random access is possible. Activate the pads as
6187 PULL_RANGE if possible.
6189 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
6191 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
6192 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
6195 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6197 * docs/faq/using.xml:
6198 Add note on gstreamer-properties (#154996).
6200 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6202 * docs/random/bbb/optional-properties:
6203 Some analysis on optional properties.
6205 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6207 * docs/gst/tmpl/gstelementfactory.sgml:
6209 * gst/gstelementfactory.c: (gst_element_factory_init),
6210 (gst_element_factory_cleanup), (gst_element_register),
6211 (__gst_element_factory_add_static_pad_template),
6212 (gst_element_factory_get_static_pad_templates),
6213 (gst_element_factory_can_src_caps),
6214 (gst_element_factory_can_sink_caps):
6215 * gst/registries/Makefile.am:
6216 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
6217 (gst_xml_registry_class_init), (gst_xml_registry_init),
6218 (gst_xml_registry_new), (gst_xml_registry_set_property),
6219 (gst_xml_registry_get_property), (get_time), (make_dir),
6220 (gst_xml_registry_get_perms_func),
6221 (plugin_times_older_than_recurse), (plugin_times_older_than),
6222 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
6223 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
6224 (add_to_char_array), (read_string), (read_uint), (read_enum),
6225 (load_pad_template), (load_feature), (load_plugin), (load_paths),
6226 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
6227 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
6228 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
6229 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
6230 (gst_xml_registry_rebuild):
6231 * gst/registries/gstlibxmlregistry.h:
6232 * tools/gst-compprep.c: (main):
6233 * tools/gst-inspect.c: (print_pad_templates_info):
6234 * tools/gst-xmlinspect.c: (print_element_info):
6235 Use libxml2 for registry parsing, use staticpadtemplates in
6236 elementfactories. Makes gst_init() +/- 10x faster.
6238 2005-04-12 Wim Taymans <wim@fluendo.com>
6240 * gst/base/Makefile.am:
6241 * gst/base/gstbasesink.c: (gst_basesink_base_init),
6242 (gst_basesink_pad_getcaps), (gst_basesink_init),
6243 (gst_basesink_event), (gst_basesink_change_state):
6244 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
6245 (gst_basesrc_init), (gst_basesrc_query),
6246 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
6247 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
6248 (gst_basesrc_check_get_range), (gst_basesrc_loop),
6249 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
6250 (gst_basesrc_stop), (gst_basesrc_activate),
6251 (gst_basesrc_change_state):
6252 * gst/base/gsttypefindhelper.c: (helper_find_peek),
6253 (helper_find_suggest), (gst_type_find_helper):
6254 * gst/base/gsttypefindhelper.h:
6255 * gst/elements/Makefile.am:
6256 * gst/elements/gstelements.c:
6257 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6258 (gst_fakesink_get_times), (gst_fakesink_event),
6259 (gst_fakesink_preroll), (gst_fakesink_render):
6260 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6261 (gst_fakesrc_init), (gst_fakesrc_event_handler),
6262 (gst_fakesrc_get_property), (gst_fakesrc_create),
6263 (gst_fakesrc_start), (gst_fakesrc_stop):
6264 * gst/elements/gstfakesrc.h:
6265 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
6266 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
6267 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
6268 (gst_filesrc_create_read), (gst_filesrc_create),
6269 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
6270 (gst_filesrc_start):
6271 * gst/elements/gsttypefindelement.c:
6272 (gst_type_find_element_have_type), (gst_type_find_element_init),
6273 (start_typefinding), (stop_typefinding), (push_buffer_store),
6274 (gst_type_find_element_handle_event),
6275 (gst_type_find_element_chain),
6276 (gst_type_find_element_checkgetrange),
6277 (gst_type_find_element_getrange), (do_typefind),
6278 (gst_type_find_element_activate),
6279 (gst_type_find_element_change_state):
6280 * gst/elements/gsttypefindelement.h:
6281 * gst/gstpipeline.c: (pipeline_bus_handler):
6282 Added typefind helper.
6283 Small preroll fix in the base sink.
6284 Disable typefind code in basesrc.
6285 Crude port of typefindelement.
6289 2005-04-11 Wim Taymans <wim@fluendo.com>
6291 * check/gst/gstbus.c: (gstbus_suite):
6292 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
6294 Fix up the timeout so that the test does not fail.
6296 2005-04-06 Wim Taymans <wim@fluendo.com>
6299 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
6300 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
6301 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
6302 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
6303 (gst_basesrc_check_get_range), (gst_basesrc_loop),
6304 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
6305 (gst_basesrc_stop), (gst_basesrc_activate),
6306 (gst_basesrc_change_state), (basesrc_find_peek),
6307 (basesrc_find_suggest), (gst_basesrc_type_find):
6308 * gst/base/gstbasesrc.h:
6309 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
6310 (gst_filesrc_class_init), (gst_filesrc_init),
6311 (gst_filesrc_finalize), (gst_filesrc_set_location),
6312 (gst_filesrc_set_property), (gst_filesrc_get_property),
6313 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
6314 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
6315 (gst_filesrc_create_read), (gst_filesrc_create),
6316 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
6317 * gst/elements/gstfilesrc.h:
6318 * gst/gstelement.c: (gst_element_get_state_func),
6319 (gst_element_lost_state), (gst_element_pads_activate):
6320 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6321 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
6322 (gst_pad_pull_range):
6324 More work on the generic source base class, implement seeking,
6326 Make filesrc extend the base source class.
6327 Added gst_pad_set_checkgetrange_function to GstPad.
6329 2005-04-06 Andy Wingo <wingo@pobox.com>
6331 * pkgconfig/gstreamer-base.pc.in:
6332 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
6334 * pkgconfig/Makefile.am:
6335 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
6337 2005-04-04 Wim Taymans <wim@fluendo.com>
6339 * gst/base/Makefile.am:
6341 * gst/base/gstbasesink.c: (gst_basesink_base_init),
6342 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
6343 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
6344 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
6345 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
6346 (gst_basesrc_base_init), (gst_basesrc_class_init),
6347 (gst_basesrc_init), (gst_basesrc_get_formats),
6348 (gst_basesrc_get_query_types), (gst_basesrc_query),
6349 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
6350 (gst_basesrc_set_property), (gst_basesrc_get_property),
6351 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
6352 (gst_basesrc_loop), (gst_basesrc_activate),
6353 (gst_basesrc_change_state):
6354 * gst/base/gstbasesrc.h:
6355 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
6356 (gst_fakesrc_class_init), (gst_fakesrc_init),
6357 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
6358 (gst_fakesrc_get_property), (gst_fakesrc_create):
6359 * gst/elements/gstfakesrc.h:
6360 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
6361 (gst_filesrc_open_file), (gst_filesrc_loop),
6362 (gst_filesrc_activate), (filesrc_find_peek),
6363 (gst_filesrc_type_find):
6364 Made base source class, make fakesrc extend it.
6365 Add comments to basesink class.
6366 Some filesrc cleanup.
6368 2005-03-31 David Schleef <ds@schleef.org>
6370 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
6371 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
6372 expected to link against libgstreamer.
6373 * gst/base/Makefile.am: link against libgstreamer
6374 * gst/elements/Makefile.am: same
6376 2005-03-31 Andy Wingo <wingo@pobox.com>
6378 * tests/instantiate/Makefile.am:
6379 * tests/instantiate/caps.c: Add test to test speed of caps copy
6382 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
6383 GMemChunk to be fair.
6385 * gst/gsttrashstack.h: Remove warning about using the fallback
6386 trash stack implementation, it's still faster than malloc.
6388 2005-03-30 Andy Wingo <wingo@pobox.com>
6390 * tests/complexity.c: Add a copyright.
6392 2005-03-31 Wim Taymans <wim@fluendo.com>
6394 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
6395 (gst_base_transform_class_init), (gst_base_transform_init),
6396 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6397 (gst_base_transform_get_property),
6398 (gst_base_transform_sink_activate),
6399 (gst_base_transform_src_activate),
6400 (gst_base_transform_change_state):
6401 * gst/base/gstbasetransform.h:
6402 * gst/elements/gstidentity.c: (gst_identity_class_init),
6403 (gst_identity_event), (gst_identity_check_perfect),
6404 (gst_identity_transform), (gst_identity_start),
6405 (gst_identity_stop):
6406 Added start/stop methods to transform base class so subclasses
6407 don't need to deal with state changes even.
6409 2005-03-31 Wim Taymans <wim@fluendo.com>
6411 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
6412 (gst_event_new_discontinuous), (gst_event_discont_get_value):
6414 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6415 (gst_pad_pull_range):
6416 Added rate to the discont event to prepare for variable speed
6417 and reverse playback.
6419 2005-03-29 David Schleef <ds@schleef.org>
6422 * testsuite/trigger/Makefile.am:
6423 * testsuite/trigger/trigger.c: A little example program to show
6424 how trigger-based elements can work.
6426 2005-03-29 Wim Taymans <wim@fluendo.com>
6428 * gst/base/Makefile.am:
6430 * gst/base/gstbasesink.c: (gst_basesink_get_type),
6431 (gst_basesink_base_init), (gst_basesink_class_init),
6432 (gst_basesink_pad_getcaps), (gst_basesink_init),
6433 (gst_basesink_activate), (gst_basesink_change_state):
6434 * gst/base/gstbasesink.h:
6435 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
6436 (gst_base_transform_base_init), (gst_base_transform_finalize),
6437 (gst_base_transform_class_init), (gst_base_transform_init),
6438 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
6439 (gst_base_transform_event), (gst_base_transform_getrange),
6440 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
6441 (gst_base_transform_set_property),
6442 (gst_base_transform_get_property),
6443 (gst_base_transform_sink_activate),
6444 (gst_base_transform_src_activate),
6445 (gst_base_transform_change_state):
6446 * gst/base/gstbasetransform.h:
6447 * gst/elements/gstidentity.c: (gst_identity_finalize),
6448 (gst_identity_class_init), (gst_identity_init),
6449 (gst_identity_event), (gst_identity_check_perfect),
6450 (gst_identity_transform), (gst_identity_set_property),
6451 (gst_identity_get_property), (gst_identity_change_state):
6452 * gst/elements/gstidentity.h:
6453 * gst/gstelement.c: (gst_element_get_state_func),
6454 (gst_element_lost_state), (gst_element_pads_activate):
6455 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6456 (gst_pad_check_pull_range), (gst_pad_pull_range):
6458 Simplify pad activation.
6459 Added function to check if pull_range can be performed.
6460 Error out when pulling inactive or flushing pads.
6461 Removed const from refcounted types as it does not make sense.
6462 Simplify pad templates in basesink
6463 Added base class for simple 1-to-1 transforms.
6464 Make identity subclass the base transform.
6466 2005-03-29 Andy Wingo <wingo@pobox.com>
6468 * docs/libs/gstreamer-libs-overrides.txt:
6469 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
6470 really don't understand what's going on, but like whatever. I want
6473 * docs/gst/Makefile.am:
6474 * docs/libs/Makefile.am: Dist the overrides files.
6476 * check/Makefile.am (clean-local): Remove .libs directories.
6478 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
6479 elements to EXTRA_DIST, so po/ files are happy.
6481 * po/POTFILES.in: Er, remove it here.
6483 * po/POTFILES: Remove gstspider.c.
6485 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
6487 * docs/libs/gstreamer-libs-docs.sgml:
6488 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
6491 * tests/complexity.c (main): Set the length of the preroll queue
6492 on the sinks to prevent a lockup.
6494 * libs/gst/dataprotocol/Makefile.am:
6495 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
6496 the same as the one in check/gst-libs/gdp.c.
6498 * po/, docs/gst/: Commit automatic changes to docs and po files.
6500 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
6501 the versioned libgstbase.
6503 * check/Makefile.am: Depend on an unversioned gst-register, seems
6504 to make autoconf happier.
6506 * gst/base/Makefile.am: Make libgstbase a versioned lib.
6508 2005-03-28 Wim Taymans <wim@fluendo.com>
6511 * docs/design/part-gstelement.txt:
6512 * docs/design/part-negotiation.txt:
6513 * docs/design/part-preroll.txt:
6514 * docs/design/part-scheduling.txt:
6515 * docs/design/part-states.txt:
6517 * gst/base/Makefile.am:
6519 * gst/base/gstbasesink.c: (gst_basesink_get_template),
6520 (gst_basesink_base_init), (gst_basesink_class_init),
6521 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
6522 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
6523 (gst_basesink_set_pad_functions),
6524 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
6525 (gst_basesink_set_property), (gst_basesink_get_property),
6526 (gst_base_sink_get_template), (gst_base_sink_get_caps),
6527 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
6528 (gst_basesink_preroll_queue_push),
6529 (gst_basesink_preroll_queue_empty),
6530 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
6531 (gst_basesink_event), (gst_basesink_get_times),
6532 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
6533 (gst_basesink_chain_unlocked), (gst_basesink_chain),
6534 (gst_basesink_loop), (gst_basesink_activate),
6535 (gst_basesink_change_state):
6536 * gst/base/gstbasesink.h:
6537 * gst/elements/Makefile.am:
6538 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
6539 (gst_fakesink_class_init), (gst_fakesink_init),
6540 (gst_fakesink_set_property), (gst_fakesink_get_property),
6541 (gst_fakesink_get_times), (gst_fakesink_event),
6542 (gst_fakesink_preroll), (gst_fakesink_render),
6543 (gst_fakesink_change_state):
6544 * gst/elements/gstfakesink.h:
6545 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
6546 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
6547 * gst/gstelement.c: (gst_element_add_pad),
6548 (gst_element_get_state_func), (gst_element_abort_state),
6549 (gst_element_commit_state), (gst_element_lost_state),
6550 (gst_element_set_state), (gst_element_pads_activate):
6551 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
6552 * gst/gstpipeline.c: (gst_pipeline_send_event),
6553 (gst_pipeline_change_state):
6554 Added state change code.
6556 Added sink base class, make fakesink extend the base class.
6557 Small cleanups in GstPipeline.
6559 2005-03-26 David Schleef <ds@schleef.org>
6561 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
6562 is broken and should be implemented in a different library.
6563 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
6564 * gst/gst.h: remove gstcpu.h
6565 * gst/gstcpu.c: remove
6566 * gst/gstcpu.h: remove
6567 * gst/Makefile.am.future: Remove this file. It's ancient.
6569 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6571 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
6572 (gst_bin_send_event):
6573 Add default event/set_manager handlers. The set_manager handler
6574 takes care that the manager is distributed over kids that were
6575 already in the bin before the manager was set. The event handler
6576 is a utility virtual function that sends the event over all sinks,
6577 so that gst_element_send_event (bin, event); has the expected
6579 * gst/gstpad.c: (gst_pad_event_default):
6580 Re-install default event handling for discontinuities, so that
6581 seeking works without requiring hacks in applications or extra
6583 * gst/gstpipeline.c: (gst_pipeline_class_init),
6584 (gst_pipeline_send_event):
6585 Half hack, half utility: set a pipeline to PAUSED for seek events,
6586 since that is the only way we can guarantee a/v sync. Means that
6587 you can do gst_element_seek (pipeline, method, pos); on a pipeline
6588 and it "just works".
6590 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6592 * gst/gstpipeline.c: (gst_pipeline_use_clock):
6593 Lock/unlock mismatch.
6595 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
6597 * docs/faq/gst-uninstalled:
6598 add gst-plugins-base
6599 * docs/gst/Makefile.am:
6600 don't error out until docs are fixed
6601 * docs/gst/gstreamer.types:
6604 2005-03-22 Wim Taymans <wim@fluendo.com>
6606 * check/Makefile.am:
6607 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
6608 * gst/gststructure.c: (gst_structure_set_valist),
6609 (gst_structure_copy_conditional):
6610 Activated more tests.
6612 Added G_TYPE_POINTER to GstStructure.
6615 2005-03-22 Wim Taymans <wim@fluendo.com>
6617 * docs/design/part-TODO.txt:
6618 * docs/design/part-events.txt:
6619 * docs/design/part-gstbin.txt:
6620 * docs/design/part-gstbus.txt:
6621 * docs/design/part-gstpipeline.txt:
6622 * docs/design/part-messages.txt:
6627 2005-03-21 Wim Taymans <wim@fluendo.com>
6629 * gst/gstbus.c: (gst_bus_post):
6630 Fix copy-and-paste error.
6632 2005-03-21 Wim Taymans <wim@fluendo.com>
6634 * check/Makefile.am:
6636 * gst/elements/Makefile.am:
6637 * gst/elements/gstelements.c:
6638 * gst/elements/gstfakesink.c: (gst_fakesink_init),
6639 (gst_fakesink_event), (gst_fakesink_chain):
6640 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6641 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
6642 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
6643 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
6644 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6645 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
6646 (gst_fakesrc_loop), (gst_fakesrc_activate),
6647 (gst_fakesrc_change_state):
6648 * gst/elements/gstfakesrc.h:
6649 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
6650 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
6651 (gst_filesrc_open_file), (gst_filesrc_loop),
6652 (gst_filesrc_activate), (gst_filesrc_change_state),
6653 (filesrc_find_peek), (filesrc_find_suggest),
6654 (gst_filesrc_type_find):
6655 * gst/elements/gstidentity.c: (gst_identity_finalize),
6656 (gst_identity_class_init), (gst_identity_init),
6657 (gst_identity_proxy_getcaps), (identity_queue_push),
6658 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
6659 (gst_identity_getrange), (gst_identity_chain),
6660 (gst_identity_sink_loop), (gst_identity_src_loop),
6661 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
6662 (gst_identity_set_property), (gst_identity_get_property),
6663 (gst_identity_change_state):
6664 * gst/elements/gstidentity.h:
6665 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6666 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
6667 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
6668 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
6669 (gst_tee_sink_activate):
6670 * gst/elements/gsttee.h:
6671 * gst/gst.c: (gst_register_core_elements), (init_post):
6673 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
6674 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
6675 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
6676 (gst_bin_change_state):
6678 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
6679 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
6680 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
6681 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
6682 (gst_bus_set_sync_handler), (gst_bus_create_watch),
6683 (bus_watch_callback), (bus_watch_destroy),
6684 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
6685 (poll_timeout), (gst_bus_poll):
6689 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
6690 (gst_element_post_message), (gst_element_message_full),
6691 (gst_element_get_state_func), (gst_element_get_state),
6692 (gst_element_abort_state), (gst_element_commit_state),
6693 (gst_element_lost_state), (gst_element_set_state),
6694 (gst_element_pads_activate), (gst_element_change_state),
6695 (gst_element_dispose), (gst_element_set_manager_func),
6696 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
6697 (gst_element_set_manager), (gst_element_get_manager),
6698 (gst_element_set_bus), (gst_element_get_bus),
6699 (gst_element_set_scheduler), (gst_element_get_scheduler):
6701 * gst/gstevent.c: (gst_event_new_segment_seek),
6702 (gst_event_new_flush):
6704 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
6705 (_gst_message_free), (gst_message_get_type), (gst_message_new),
6706 (gst_message_new_eos), (gst_message_new_error),
6707 (gst_message_new_warning), (gst_message_new_tag),
6708 (gst_message_new_state_changed), (gst_message_new_application),
6709 (gst_message_get_structure), (gst_message_parse_tag),
6710 (gst_message_parse_state_changed), (gst_message_parse_error),
6711 (gst_message_parse_warning):
6713 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
6714 (gst_real_pad_set_property), (gst_pad_set_active),
6715 (gst_pad_is_active), (gst_pad_set_blocked_async),
6716 (gst_pad_set_blocked), (gst_pad_is_blocked),
6717 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
6718 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
6719 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
6720 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
6721 (gst_pad_link_filtered), (gst_pad_relink_filtered),
6722 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
6723 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
6724 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
6725 (gst_pad_set_caps), (gst_pad_configure_sink),
6726 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
6727 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
6728 (gst_real_pad_dispose), (gst_real_pad_finalize),
6729 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
6730 (gst_pad_event_default_dispatch), (gst_pad_event_default),
6731 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
6733 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
6734 (pipeline_bus_handler), (gst_pipeline_change_state),
6735 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
6736 * gst/gstpipeline.h:
6738 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
6739 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
6740 (gst_queue_link_src), (gst_queue_bufferalloc),
6741 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
6742 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
6743 (gst_queue_loop), (gst_queue_handle_src_event),
6744 (gst_queue_handle_src_query), (gst_queue_src_activate),
6745 (gst_queue_change_state):
6747 * gst/gstscheduler.c: (gst_scheduler_init),
6748 (gst_scheduler_dispose), (gst_scheduler_create_task),
6749 (gst_scheduler_factory_create):
6750 * gst/gstscheduler.h:
6751 * gst/gststructure.c: (gst_structure_get_type),
6752 (gst_structure_copy_conditional):
6753 * gst/gststructure.h:
6754 * gst/gsttaginterface.h:
6755 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
6756 (gst_task_init), (gst_task_dispose), (gst_task_create),
6757 (gst_task_get_state), (gst_task_start), (gst_task_stop),
6763 * gst/schedulers/Makefile.am:
6764 * gst/schedulers/cothreads_compat.h:
6765 * gst/schedulers/entryscheduler.c:
6766 * gst/schedulers/faircothreads.c:
6767 * gst/schedulers/faircothreads.h:
6768 * gst/schedulers/fairscheduler.c:
6769 * gst/schedulers/gstbasicscheduler.c:
6770 * gst/schedulers/gstoptimalscheduler.c:
6771 * gst/schedulers/gthread-cothreads.h:
6772 * gst/schedulers/threadscheduler.c:
6773 (gst_thread_scheduler_task_get_type),
6774 (gst_thread_scheduler_task_class_init),
6775 (gst_thread_scheduler_task_init),
6776 (gst_thread_scheduler_task_start),
6777 (gst_thread_scheduler_task_stop),
6778 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
6779 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
6780 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
6781 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
6783 * libs/gst/Makefile.am:
6784 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
6785 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
6786 (gst_file_pad_parent_set):
6787 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
6788 (gst_dp_event_from_packet):
6789 * tests/complexity.c: (main):
6790 * tests/mass_elements.c: (main):
6791 * testsuite/states/locked.c: (message_received), (main):
6792 * testsuite/states/parent.c: (main):
6793 * tools/gst-inspect.c: (print_element_flag_info),
6794 (print_implementation_info), (print_pad_info):
6795 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
6797 * tools/gst-md5sum.c: (event_loop), (main):
6798 * tools/gst-typefind.c: (main):
6799 * tools/gst-xmlinspect.c: (print_element_info):
6801 Added GstBus for mainloop integration.
6802 Added GstMessage for sending notifications on the bus.
6803 Added GstTask as an abstraction for pipeline entry points.
6806 Simplified GstQueue for multithreaded core.
6807 Made _link threadsafe, removed old capsnego.
6808 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
6809 Added pad blocking functions.
6810 Reworked scheduling functions in GstPad to prepare for
6811 scheduling updates soon.
6812 Moved events out of data stream.
6813 Simplified GstEvent types.
6814 Added return values to push/pull.
6815 Removed clocking from GstElement.
6816 Added prototypes for state change function for next merge.
6817 Removed iterate from bins and state change management.
6818 Fixed some elements, disabled others for now.
6819 Fixed -inspect and -launch.
6820 Added check for GstBus.
6822 2005-03-10 Wim Taymans <wim@fluendo.com>
6824 * docs/design/part-MT-refcounting.txt:
6825 * docs/design/part-clocks.txt:
6826 * docs/design/part-gstelement.txt:
6827 * docs/design/part-gstobject.txt:
6828 * docs/design/part-standards.txt:
6829 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
6830 (gst_bin_remove_func), (gst_bin_remove):
6834 * testsuite/clock/clock1.c: (main):
6835 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
6837 * testsuite/dlopen/loadgst.c: (do_test):
6838 * testsuite/refcounting/bin.c: (add_remove_test1),
6839 (add_remove_test2), (main):
6840 * testsuite/refcounting/element.c: (main):
6841 * testsuite/refcounting/element_pad.c: (main):
6842 * testsuite/refcounting/pad.c: (main):
6843 * tools/gst-launch.c: (sigint_handler_sighandler):
6844 * tools/gst-typefind.c: (main):
6846 Added doc about clock.
6847 removed gst_bin_iterate_recurse_up(), marked methods
6849 Fix more testsuites.
6851 2005-03-09 Wim Taymans <wim@fluendo.com>
6853 * gst/gstpad.c: (gst_pad_get_direction),
6854 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
6855 (gst_pad_collect_valist):
6856 * testsuite/bins/interface.c: (main):
6857 * testsuite/caps/audioscale.c: (test_caps):
6858 * testsuite/caps/caps.c: (test1), (test2), (test3):
6859 * testsuite/caps/deserialize.c: (main):
6860 * testsuite/caps/enumcaps.c: (main):
6861 * testsuite/caps/filtercaps.c: (main):
6862 * testsuite/caps/intersect2.c: (main):
6863 * testsuite/caps/random.c: (main):
6864 * testsuite/caps/renegotiate.c: (my_fixate), (main):
6865 * testsuite/caps/sets.c: (check_caps):
6866 * testsuite/caps/simplify.c: (check_caps), (main):
6867 * testsuite/caps/subtract.c: (check_caps):
6868 Fix _pad_get_direction wrt ghostpads.
6871 2005-03-09 Wim Taymans <wim@fluendo.com>
6873 * check/Makefile.am:
6874 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
6875 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
6876 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
6877 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
6878 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
6879 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
6880 (gst_bin_remove), (gst_bin_iterate_recurse_up),
6881 (bin_element_is_sink), (gst_bin_iterate_sinks),
6882 (gst_bin_iterate_all_by_interface):
6884 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
6885 (gst_element_change_state), (gst_element_dispose),
6886 (gst_element_finalize), (gst_element_set_loop_function):
6888 * gst/gstiterator.c: (find_custom_fold_func):
6889 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
6890 (gst_pad_collectv), (gst_pad_collect_valist),
6891 (gst_pad_template_new):
6892 * gst/gstpipeline.c: (gst_pipeline_class_init),
6893 (gst_pipeline_dispose), (gst_pipeline_set_property),
6894 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
6895 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
6896 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
6898 * gst/schedulers/entryscheduler.c:
6899 * gst/schedulers/gstbasicscheduler.c:
6900 (gst_basic_scheduler_cothreaded_chain),
6901 (gst_basic_scheduler_chain_add_element):
6902 * testsuite/bins/interface.c: (main):
6904 Added GstSystemClock test.
6905 Implemented clock distribution code in GstBin.
6906 Implemented iterate sinks method for future use.
6907 Rearranged gstelement.h
6908 Fix GstIterator comparison bug.
6909 Moved some code to GstPipeline, mostly clocking related.
6911 2005-03-09 Wim Taymans <wim@fluendo.com>
6914 * gst/gst_private.h:
6915 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
6916 (gst_bin_remove_func), (gst_bin_remove),
6917 (gst_bin_get_by_name_recurse_up):
6918 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
6919 (gst_clock_id_compare_func), (gst_clock_id_wait),
6920 (gst_clock_id_wait_async), (gst_clock_init),
6921 (gst_clock_adjust_unlocked), (gst_clock_get_time):
6923 * gst/gstinfo.c: (_gst_debug_init):
6925 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
6926 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
6928 Bump version number, we're now 0.9.0
6929 Add future debugging category.
6930 Fix NULL _unref() in _get_by_name_recurse_up
6934 2005-03-08 Wim Taymans <wim@fluendo.com>
6936 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
6937 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
6938 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
6939 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
6940 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
6941 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
6942 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
6943 * gst/elements/gstidentity.c: (gst_identity_class_init):
6944 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
6945 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
6946 * gst/elements/gstshaper.c: (gst_shaper_class_init):
6947 * gst/elements/gststatistics.c: (gst_statistics_class_init):
6948 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
6950 * gst/gstelement.c: (gst_element_class_init),
6951 (gst_element_base_class_init), (gst_element_init),
6952 (gst_element_get_random_pad), (gst_element_wait_state_change),
6953 (gst_element_change_state), (gst_element_dispose),
6954 (gst_element_finalize), (gst_element_set_loop_function):
6956 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
6957 * gst/gstthread.c: (gst_thread_class_init),
6958 (gst_thread_release_children_locks), (gst_thread_change_state):
6959 * gst/schedulers/gstbasicscheduler.c:
6960 (gst_basic_scheduler_loopfunc_wrapper),
6961 (gst_basic_scheduler_chain_wrapper),
6962 (gst_basic_scheduler_src_wrapper),
6963 (gst_basic_scheduler_remove_element):
6964 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
6965 Remove threadsafe properties. Fix elements because GObject
6966 complains when installing a property before declaring a
6967 set/get_property handler.
6968 Rearrange gstelement.h file, use STATE macros for state locks.
6969 Free mutexes in the finalize method instead of dispose.
6971 2005-03-08 Wim Taymans <wim@fluendo.com>
6973 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
6974 * gst/gstthread.c: (gst_thread_release_children_locks):
6975 Added parentage check.
6976 Fix build og GstThread again.
6978 2005-03-08 Wim Taymans <wim@fluendo.com>
6980 * docs/design/part-MT-refcounting.txt:
6981 * docs/design/part-conventions.txt:
6982 * docs/design/part-gstobject.txt:
6983 * docs/design/part-relations.txt:
6984 * docs/design/part-standards.txt:
6985 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
6986 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
6987 (gst_bin_get_by_name), (gst_bin_get_by_interface),
6988 (gst_bin_iterate_all_by_interface):
6991 * gst/gstelement.c: (gst_element_class_init),
6992 (gst_element_change_state), (gst_element_set_loop_function):
6994 * gst/gstiterator.c:
6995 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
6996 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
6997 (gst_object_dispatch_properties_changed), (gst_object_set_name),
6998 (gst_object_set_parent), (gst_object_unparent),
6999 (gst_object_check_uniqueness):
7001 Docs updates, clean up some headers.
7003 2005-03-07 Wim Taymans <wim@fluendo.com>
7006 * check/Makefile.am:
7007 * check/gst-libs/.cvsignore:
7008 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
7009 * check/gst/.cvsignore:
7010 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
7011 (START_TEST), (gstbus_suite), (main):
7012 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
7013 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
7014 (gst_data_suite), (main):
7015 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
7016 (add_fold_func), (gstiterator_suite), (main):
7017 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
7018 (thread_name_object), (thread_name_object_default),
7019 (gst_object_name_compare), (gst_object_suite), (main):
7020 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
7021 (gst_pad_suite), (main):
7022 * check/gstcheck.c: (gst_check_log_message_func),
7023 (gst_check_log_critical_func), (gst_check_init):
7025 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7026 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
7029 2005-03-07 Wim Taymans <wim@fluendo.com>
7031 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
7032 (gst_list_iterator_next), (gst_list_iterator_resync),
7033 (gst_list_iterator_free), (gst_iterator_new_list),
7034 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
7035 (gst_iterator_free), (gst_iterator_push), (filter_next),
7036 (filter_resync), (filter_uninit), (filter_free),
7037 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
7038 (gst_iterator_foreach), (find_custom_fold_func),
7039 (gst_iterator_find_custom):
7040 * gst/gstiterator.h:
7041 Added missing files.
7043 2005-03-07 Wim Taymans <wim@fluendo.com>
7047 * docs/design/part-MT-refcounting.txt:
7048 * docs/design/part-conventions.txt:
7049 * docs/design/part-gstobject.txt:
7050 * docs/design/part-relations.txt:
7051 * examples/mixer/mixer.c: (main):
7052 * examples/thread/thread.c: (eos), (main):
7054 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
7055 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
7056 (gst_spider_plug_from_srcpad):
7057 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
7058 (gst_spider_identity_change_state),
7059 (gst_spider_identity_sink_loop_type_finding):
7060 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
7061 * gst/elements/gstidentity.c: (gst_identity_init):
7062 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
7063 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
7064 * gst/elements/gsttypefindelement.c: (free_entry):
7067 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
7068 (gst_bin_set_clock_func), (gst_bin_auto_clock),
7069 (gst_bin_set_index), (gst_bin_set_element_sched),
7070 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
7071 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
7072 (gst_bin_iterate_elements), (iterate_child_recurse),
7073 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
7074 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
7075 (compare_interface), (gst_bin_get_by_interface),
7076 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
7078 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
7079 (gst_buffer_default_free), (gst_buffer_default_copy),
7080 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
7081 (gst_buffer_create_sub):
7083 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
7084 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
7085 (gst_caps_unref), (gst_static_caps_get),
7086 (gst_caps_remove_and_get_structure), (gst_caps_append),
7087 (gst_caps_append_structure), (gst_caps_remove_structure),
7088 (gst_caps_copy_nth), (gst_caps_set_simple),
7089 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
7090 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
7091 (gst_caps_structure_intersect_field), (gst_caps_intersect),
7092 (gst_caps_structure_subtract_field), (gst_caps_subtract),
7093 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
7094 (gst_caps_structure_figure_out_union),
7095 (gst_caps_switch_structures), (gst_caps_do_simplify),
7096 (gst_caps_replace), (gst_caps_from_string),
7097 (gst_caps_copy_conditional):
7099 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
7100 (_gst_clock_id_free), (gst_clock_id_unref),
7101 (gst_clock_id_compare_func), (gst_clock_id_wait),
7102 (gst_clock_id_wait_async), (gst_clock_class_init),
7103 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
7104 (gst_clock_get_time), (gst_clock_set_time_adjust),
7105 (gst_clock_set_property), (gst_clock_get_property):
7108 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
7109 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
7111 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
7112 (gst_element_requires_clock), (gst_element_provides_clock),
7113 (gst_element_set_clock), (gst_element_clock_wait),
7114 (gst_element_wait), (gst_element_set_time_delay),
7115 (gst_element_is_indexable), (gst_element_add_pad),
7116 (gst_element_add_ghost_pad), (gst_element_remove_pad),
7117 (pad_compare_name), (gst_element_get_static_pad),
7118 (gst_element_request_pad), (gst_element_get_request_pad),
7119 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
7120 (gst_element_class_get_pad_template_list),
7121 (gst_element_class_get_pad_template), (gst_element_error_func),
7122 (gst_element_get_random_pad), (gst_element_get_event_masks),
7123 (gst_element_send_event), (gst_element_seek),
7124 (gst_element_get_query_types), (gst_element_query),
7125 (gst_element_get_formats), (gst_element_convert),
7126 (gst_element_is_locked_state), (gst_element_set_locked_state),
7127 (gst_element_sync_state_with_parent), (gst_element_change_state),
7128 (gst_element_finalize), (gst_element_yield),
7129 (gst_element_interrupt), (gst_element_set_scheduler),
7130 (gst_element_get_scheduler), (gst_element_set_loop_function):
7133 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
7134 (gst_format_get_by_nick), (gst_format_get_details),
7135 (gst_format_iterate_definitions):
7137 * gst/gstindex.c: (gst_index_gtype_resolver):
7140 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
7141 (gst_mem_chunk_free):
7142 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
7143 (gst_object_ref), (gst_object_unref), (gst_object_sink),
7144 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
7145 (gst_object_dispatch_properties_changed),
7146 (gst_object_set_name_default), (gst_object_set_name),
7147 (gst_object_get_name), (gst_object_set_name_prefix),
7148 (gst_object_get_name_prefix), (gst_object_set_parent),
7149 (gst_object_get_parent), (gst_object_unparent),
7150 (gst_object_check_uniqueness), (gst_object_save_thyself),
7151 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
7152 (gst_object_set_property), (gst_object_get_property),
7153 (gst_object_get_path_string):
7155 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
7156 (gst_real_pad_init), (gst_real_pad_get_property),
7157 (gst_pad_custom_new), (gst_pad_get_direction),
7158 (gst_pad_set_active), (gst_pad_is_active),
7159 (gst_pad_set_event_function), (gst_pad_is_linked),
7160 (gst_pad_link_free), (gst_pad_link_intersect),
7161 (gst_pad_link_fixate), (gst_pad_set_caps),
7162 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
7163 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
7164 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
7165 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
7166 (gst_pad_get_caps), (gst_pad_peer_get_caps),
7167 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
7168 (gst_pad_realize), (gst_pad_get_allowed_caps),
7169 (gst_real_pad_dispose), (gst_real_pad_finalize),
7170 (gst_pad_collectv), (gst_pad_collect_valist),
7171 (gst_pad_template_dispose), (gst_pad_template_new),
7172 (gst_pad_get_internal_links):
7174 * gst/gstpipeline.c: (gst_pipeline_dispose),
7175 (gst_pipeline_change_state):
7176 * gst/gstpipeline.h:
7178 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
7179 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
7180 * gst/gstpluginfeature.h:
7181 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
7182 * gst/gstquery.c: (_gst_query_type_initialize),
7183 (gst_query_type_register), (gst_query_type_get_by_nick),
7184 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
7186 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
7187 * gst/gstscheduler.c: (gst_scheduler_add_element),
7188 (gst_scheduler_factory_create):
7189 * gst/gststructure.c: (gst_structure_set_parent_refcount),
7190 (gst_structure_free), (gst_structure_set_name),
7191 (gst_structure_id_set_value), (gst_structure_set_value),
7192 (gst_structure_set_valist), (gst_structure_remove_field),
7193 (gst_structure_remove_fields),
7194 (gst_structure_remove_fields_valist),
7195 (gst_structure_remove_all_fields), (gst_structure_foreach),
7196 (gst_structure_map_in_place),
7197 (gst_caps_structure_fixate_field_nearest_int),
7198 (gst_caps_structure_fixate_field_nearest_double):
7199 * gst/gststructure.h:
7200 * gst/gstsystemclock.c: (gst_system_clock_class_init),
7201 (gst_system_clock_init), (gst_system_clock_dispose),
7202 (gst_system_clock_async_thread),
7203 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
7204 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7205 * gst/gstsystemclock.h:
7206 * gst/gsttag.c: (gst_tag_list_add_value_internal),
7207 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
7208 * gst/gsttaginterface.c:
7209 * gst/gstthread.c: (gst_thread_dispose),
7210 (gst_thread_release_children_locks), (gst_thread_change_state),
7211 (gst_thread_main_loop):
7212 * gst/gsttrashstack.h:
7213 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
7215 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7216 (gst_element_request_pad), (gst_element_get_pad_from_template),
7217 (gst_element_request_compatible_pad),
7218 (gst_element_get_compatible_pad_filtered),
7219 (gst_element_get_compatible_pad), (gst_element_state_get_name),
7220 (gst_element_link_pads_filtered), (gst_element_link_filtered),
7221 (gst_element_link_many), (gst_element_link),
7222 (gst_element_link_pads), (gst_element_unlink_pads),
7223 (gst_element_unlink_many), (gst_element_unlink),
7224 (gst_pad_can_link_filtered), (gst_pad_can_link),
7225 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
7226 (gst_object_default_error), (gst_bin_add_many),
7227 (gst_bin_remove_many), (gst_element_populate_std_props),
7228 (gst_element_class_install_std_props), (gst_buffer_merge),
7229 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
7230 (link_fold_func), (gst_pad_proxy_setcaps):
7232 * gst/gstvalue.c: (gst_value_deserialize_string):
7233 * gst/parse/grammar.y:
7234 * gst/schedulers/gstbasicscheduler.c:
7235 (gst_basic_scheduler_cothreaded_chain),
7236 (gst_basic_scheduler_chain_recursive_add),
7237 (gst_basic_scheduler_pad_link):
7238 * gst/schedulers/gstoptimalscheduler.c:
7239 (get_group_schedule_function),
7240 (gst_opt_scheduler_state_transition),
7241 (gst_opt_scheduler_add_element), (element_get_reachables_func):
7242 * libs/gst/bytestream/bytestream.c:
7243 * libs/gst/dataprotocol/dataprotocol.c:
7244 (gst_dp_header_from_buffer):
7247 * tests/threadstate/threadstate2.c: (eos):
7248 * tools/gst-compprep.c: (main):
7249 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
7250 (print_pad_info), (print_children_info):
7251 * tools/gst-launch.c: (idle_func), (main):
7252 * tools/gst-md5sum.c: (idle_func), (main):
7253 * tools/gst-xmlinspect.c: (print_element_info):
7254 First THREADED backport attempt, focusing on adding locks and
7255 making sure the API is threadsafe. Needs more work. More docs
7258 2005-02-24 Andy Wingo <wingo@pobox.com>
7260 * tests/bench-complexity.scm:
7261 * tests/complexity.gnuplot: New files, good for running complexity
7264 * tests/Makefile.am:
7265 * tests/complexity.c: New test, sets up N elements, at each level
7266 teeing into M streams per element. Eeeenteresting.
7268 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
7269 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
7270 running bench-mass_elements.scm.
7272 * tests/bench-mass_elements.scm: New script, runs mass_elements
7273 for various numbers of identities, outputting the results to a
7274 file. Requires guile 1.6. Just for testing.
7276 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
7278 * gst/schedulers/fairscheduler.c:
7279 compile with debug disabled
7281 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
7284 hunting season on 0.9 is now OPEN