1 2005-09-25 Stefan Kost <ensonic@users.sf.net>
3 * docs/gst/gstreamer-sections.txt:
4 * docs/gst/tmpl/.cvsignore:
5 * docs/gst/tmpl/gstpad.sgml:
6 * docs/gst/tmpl/gstpadtemplate.sgml:
7 * gst/Makefile.am:
8 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
9 (gst_pad_finalize), (gst_pad_set_pad_template):
10 * gst/gstpad.h:
11 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12 (gst_pad_template_class_init), (gst_pad_template_init),
13 (gst_pad_template_dispose), (name_is_valid),
14 (gst_static_pad_template_get), (gst_pad_template_new),
15 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
16 (gst_pad_template_pad_created):
17 * gst/gstpadtemplate.h:
18 inlined two more docs
19 factored gstpadtemplate out of gstpad
21 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
23 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
24 (test_children_state_change_order_semi_sink):
25 Fix test case: we can't rely on a fixed state change order when
26 going from READY => PAUSED because the sink might commit its
27 new state first when the first buffer created by the source
28 reaches the sink before the source has finished its change state.
29 (Test case still fails at times, see #316856, comment 5 onwards)
31 2005-09-24 Wim Taymans <wim@fluendo.com>
33 * docs/design/part-events.txt:
34 * docs/design/part-gstbus.txt:
35 * docs/design/part-gstpipeline.txt:
36 * docs/design/part-messages.txt:
37 * docs/design/part-overview.txt:
38 * docs/design/part-segments.txt:
39 * gst/gstbin.c:
40 * gst/gstbuffer.c:
41 * gst/gstclock.c:
42 * gst/gstelement.c:
43 * gst/gstevent.c:
44 * gst/gstfilter.c:
45 * gst/gstiterator.c:
46 Various documentation updates.
48 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
50 * gst/gstclock.h:
51 Well, that's embarassing. Luckily we weren't using
52 GST_CLOCK_DIFF anywhere.
54 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
56 * common/gtk-doc.mak:
57 don't fail on building XML, FC4 slave shows a bunch of doc
58 missing bits that I don't get
59 * gst/gstpad.c:
60 * gst/gstpipeline.c:
61 * gst/gststructure.c:
62 some doc updates
64 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
66 * docs/design/part-gstbin.txt:
67 * docs/design/part-gstbus.txt:
68 * gst/gstbus.c:
69 Add blurb about how the bus goes into flushing mode and
70 drops all messages when its bin goes from READY into NULL
71 state.
73 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
75 * docs/gst/gstreamer-sections.txt:
76 * gst/gststructure.c: (gst_structure_get_clock_time):
77 * gst/gststructure.h:
78 add a method to get a GstClockTime out of a structure
80 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
82 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
83 (test_children_state_change_order_semi_sink), (gst_bin_suite):
84 Added test to check state change order in bins (can still be made
85 to fail here under heavy disk load; bails out with 'Push on pad
86 fakesink:sink0, but it was not activated in push mode').
88 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
89 Fix state change order when there is only a semi sink (#316856)
91 * gst/gstbus.c: (gst_bus_class_init):
92 Use _class_peek_parent(), not _class_ref(); fix docs to say
93 'default main context' instead of 'mainloop' where that is
94 what's meant.
96 * gst/gstelement.c: (gst_element_commit_state),
97 (gst_element_set_state):
98 Fix typos in debug messages
100 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
102 * docs/README:
103 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
104 * gst/gstpluginfeature.c:
105 * gst/gstutils.c:
106 various doc updates
107 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
108 change an assert into an error until it gets fixed properly
110 2005-09-23 Stefan Kost <ensonic@users.sf.net>
112 * docs/gst/gstreamer-sections.txt:
113 * docs/gst/tmpl/.cvsignore:
114 * docs/gst/tmpl/gstelement.sgml:
115 * docs/gst/tmpl/gstinfo.sgml:
116 * docs/gst/tmpl/gstobject.sgml:
117 * gst/gstelement.c:
118 * gst/gstelement.h:
119 * gst/gstinfo.c:
120 * gst/gstinfo.h:
121 * gst/gstobject.c: (gst_object_class_init):
122 * gst/gstobject.h:
123 inlined 3 more biiiig doc files and added some missing docs on the fly
125 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
127 * check/gst/.cvsignore:
128 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
129 * gst/gstregistryxml.c: (load_plugin),
130 (gst_registry_xml_save_plugin):
131 put back source in registry. add checks for find_plugin.
132 * testsuite/states/bin.c: (assert_state), (empty_bin),
133 (test_adding_one_element), (main):
134 * testsuite/states/locked.c: (main):
135 some compile/run fixes
137 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
139 * check/gst/gstvalue.c: (GST_START_TEST):
140 fix leaks in the test itself
142 2005-09-22 Wim Taymans <wim@fluendo.com>
144 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
145 (gst_base_sink_send_event), (gst_base_sink_peer_query),
146 (gst_base_sink_query):
147 Prepare for more accurate position reporting and query
148 handling.
150 * gst/gstelement.c: (gst_element_send_event),
151 (gst_element_set_state):
152 Add some comment.
154 2005-09-22 Wim Taymans <wim@fluendo.com>
156 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
157 (gst_query_parse_segment):
158 * gst/gstquery.h:
159 More documentation.
160 Add segment query for future use.
162 2005-09-22 Wim Taymans <wim@fluendo.com>
164 * gst/gstbin.c: (gst_bin_add_func):
165 Some more debug info.
167 * gst/gstelement.c: (gst_element_send_event):
168 Simplify send_event
170 * gst/gstelement.h:
171 Don't know how flags got broken.
173 * gst/gstquery.h:
174 Added new query.
176 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
178 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
179 Add simplistic test suite for GST_TYPE_DATE serialisation and
180 deserialisation.
182 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
184 * docs/gst/gstreamer-sections.txt:
185 * gst/gststructure.c: (gst_structure_set_valist),
186 (gst_structure_get_date):
187 * gst/gststructure.h:
188 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
189 (gst_date_copy), (gst_value_compare_date),
190 (gst_value_serialize_date), (gst_value_deserialize_date),
191 (gst_value_transform_date_string),
192 (gst_value_transform_string_date), (_gst_value_initialize):
193 * gst/gstvalue.h:
194 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
195 bunch of utility functions along with a hack that checks that
196 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
197 is required. Part of the grand scheme in #170777.
199 2005-09-22 Andy Wingo <wingo@pobox.com>
201 * gst/gstconfig.h.in: Psych out gtk-doc.
203 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
205 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
207 * tools/gst-inspect.c (print_element_list): Plug some
208 inconsequential leaks.
210 * gst/gstregistry.c (gst_registry_get_default): Doc.
212 * check/gst/gstplugin.c:
213 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
214 * gst/gstelementfactory.c (gst_element_factory_create):
215 * gst/gstindexfactory.c (gst_index_factory_create): Update for
216 refcount changes.
218 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
219 (gst_plugin_feature_load): Doc, don't eat refs.
221 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
222 (gst_plugin_list_free): Doc.
223 (gst_plugin_load_file): Doc updates.
225 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
226 accessors returning refcounted objects, return a ref.
228 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
229 accessor for caps. IDEMPOTENCE. Oh yes.
231 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
233 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
235 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
236 (_gst_debug_register_funcptr):
237 Add mutex to serialise access to the hash table with
238 the function pointer => function name string mapping;
239 make that hash table static scope (#316809).
241 * gst/registries/.cvsignore:
242 Remove left-over file.
244 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
246 * docs/pwg/appendix-porting.xml:
247 And something about newsegment events and caps-on-buffers to
248 the porting guide (feel free to improve).
250 2005-09-21 Andy Wingo <wingo@pobox.com>
252 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
253 data and event probes on the same pad.
254 (test_buffer_probe_once): Test that removing probes from within
255 the probe functions works.
257 2005-09-21 Andy Wingo <wingo@pobox.com>
259 * check/gst/gstutils.c: New file.
260 (test_buffer_probe_n_times): A simple buffer probe test. More to
261 come, foolios.
263 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
264 have-data::buffer, not have-data.
265 (gst_pad_add_event_probe): Likewise for have-data::event.
266 (gst_pad_add_data_probe): More docs. The part about 'resolving the
267 peer' isn't quite right yet though.
268 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
269 (gst_pad_remove_data_probe): Change to take the guint handler_id
270 as their arg, not the function+data, which is more glib-like.
272 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
273 the signal emission to indicate if the data is a buffer or an
274 event.
275 (gst_pad_get_type): Initialize buffer and event quarks.
276 (gst_pad_class_init): have-data is now a detailed signal, yes it
277 is.
279 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
281 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
282 * gst/gstutils.c: (gst_util_set_value_from_string),
283 (gst_util_set_object_arg):
284 Don't put functional code in g_return_if_fail() or
285 g_return_val_if_fail() statements, otherwise things will
286 break when G_DISABLE_CHECKS is defined during compilation.
288 2005-09-21 Stefan Kost <ensonic@users.sf.net>
290 * docs/gst/tmpl/.cvsignore:
291 * docs/gst/tmpl/gstvalue.sgml:
292 * gst/gstvalue.c:
293 * gst/gstvalue.h:
294 inlied another one and added some obvious docs
296 2005-09-21 Wim Taymans <wim@fluendo.com>
298 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
299 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
300 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
301 (gst_fdsrc_get_property), (gst_fdsrc_create):
302 * gst/elements/gstfdsrc.h:
303 Properly implement fdsrc. Removed signal and timeout,
304 better implemented somewhere else.
306 2005-09-21 Stefan Kost <ensonic@users.sf.net>
308 * docs/gst/tmpl/.cvsignore:
309 * docs/gst/tmpl/gstimplementsinterface.sgml:
310 * gst/gstinterface.c:
311 inlined more docs
313 2005-09-21 Stefan Kost <ensonic@users.sf.net>
315 * docs/gst/gstreamer-sections.txt:
316 * docs/gst/tmpl/.cvsignore:
317 * docs/gst/tmpl/gstenumtypes.sgml:
318 remove obsolete doc file
320 2005-09-21 David Schleef <ds@schleef.org>
322 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
323 little beer, fix a little leak.
325 2005-09-21 Stefan Kost <ensonic@users.sf.net>
327 * docs/gst/gstreamer-docs.sgml:
328 * docs/gst/gstreamer-sections.txt:
329 * docs/gst/tmpl/.cvsignore:
330 * gst/Makefile.am:
331 * gst/gst.h:
332 * gst/gstbin.c:
333 * gst/gstelement.h:
334 * gst/gstindex.c: (gst_index_class_init):
335 * gst/gstindex.h:
336 * gst/gstindexfactory.c: (gst_index_factory_get_type),
337 (gst_index_factory_class_init), (gst_index_factory_init),
338 (gst_index_factory_finalize), (gst_index_factory_new),
339 (gst_index_factory_destroy), (gst_index_factory_find),
340 (gst_index_factory_create), (gst_index_factory_make):
341 * gst/gstindexfactory.h:
342 * gst/gstpluginfeature.c:
343 * gst/gstpluginfeature.h:
344 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
345 more docs inlined, splitted gstindex.{c,h}
347 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
349 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
350 fix a leak
352 2005-09-20 Tim-Philipp M??ller <tim at centricular dot net>
354 * gst/elements/gstfilesink.c: (gst_file_sink_init):
355 Set sync to FALSE by default.
357 2005-09-20 Wim Taymans <wim@fluendo.com>
359 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
360 (gst_base_sink_init):
361 Make sync property settable from subclass.
363 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
364 (gst_fake_sink_change_state):
365 Set sync to FALSE by default.
367 2005-09-20 Wim Taymans <wim@fluendo.com>
369 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
370 * tools/gst-launch.c: (main):
371 The timeout handler should have lower priority than the source
372 so we don't timeout before popping a message with 0 timeout.
373 Dump error messages after failed state change.
375 2005-09-20 Tim-Philipp M??ller <tim at centricular dot net>
377 * tools/gst-inspect.c: (print_element_properties_info):
378 Fix two typos.
380 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
382 * check/gst/gstevent.c:
383 * gst/elements/gstfakesink.c:
384 * gst/elements/gstfakesink.h:
385 remove the sync property from fakesink.
386 has the side effect of setting sync TRUE
387 for fakesink, which is a change. Anyone who knows how
388 to fix this nicely in a GObject-y way, feel free.
390 2005-09-20 Stefan Kost <ensonic@users.sf.net>
392 * docs/gst/gstreamer-docs.sgml:
393 remove probe refsection
395 2005-09-20 Stefan Kost <ensonic@users.sf.net>
397 * check/Makefile.am:
398 disable valgrinding the controller test again
399 * docs/gst/gstreamer-sections.txt:
400 update for api-changes
402 2005-09-20 Wim Taymans <wim@fluendo.com>
404 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
405 (gst_base_sink_set_property), (gst_base_sink_get_property),
406 (gst_base_sink_do_sync):
407 * gst/base/gstbasesink.h:
408 Added sync property to basesink to disable clock sync.
410 2005-09-20 Andy Wingo <wingo@pobox.com>
412 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
413 eating the caller's refcount.
415 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
416 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
417 refcount.
419 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
420 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
421 of GLib 2.8 public, so we can know which refcount to check in
422 tests.
424 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
425 (gst_object_init): Only set the gst refcount if we're going ahead
426 with the refcount hack.
428 2005-09-20 Stefan Kost <ensonic@users.sf.net>
430 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
431 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
432 more leaks plumbed, added more debug-logging
433 * gst/gstmacros.h:
434 whitespace fix
436 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
438 * gst/gstmessage.c:
439 remove include of gstmemchunk.h
441 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
443 * gst/gstclock.c: (_gst_clock_id_free):
444 Commit from the Political Party For More Atomic CVS Commits,
445 so that people don't waste too much of their day fishing
446 out obvious leaks out of massive commits.
447 Oh, and fix a pretty damn obvious leak in the memchunk
448 removal code.
450 2005-09-20 Stefan Kost <ensonic@users.sf.net>
452 * check/Makefile.am:
453 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
454 plug mem-leak, re-add to valgrindable tests
456 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
458 * gst/gstplugin.h:
459 unbreak the build for those who have chronic arthritis
460 and typing "make check" is just too taxing on the hands
462 2005-09-20 Andy Wingo <wingo@pobox.com>
464 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
465 really want it out, you should fix plugins at the same time.
467 2005-09-19 Stefan Kost <ensonic@users.sf.net>
469 * configure.ac:
470 * docs/gst/gstreamer-sections.txt:
471 * gst/gstobject.c:
472 added missing symbols to api docs
473 disable ref-count hack if we have glib >= 2.8
475 2005-09-19 David Schleef <ds@schleef.org>
477 * docs/gst/Makefile.am: Ignore a few more internal headers
478 * docs/gst/gstreamer-docs.sgml: Remove old sections
479 * docs/gst/gstreamer-sections.txt: Remove old sections
480 * docs/gst/tmpl/gstobject.sgml: update
481 * docs/gst/tmpl/gstplugin.sgml: update
482 * docs/gst/tmpl/gstpluginfeature.sgml: update
483 * docs/random/ds/0.9-suggested-changes: update.
484 * gst/Makefile.am: remove memchunk and trashstack, since they're
485 not used.
486 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
487 * gst/gst.h: don't include some headers
488 * gst/gstchildproxy.c: add gstmarshal.h
489 * gst/gstclock.c: Don't use memchunks
490 * gst/gstminiobject.c: Add some docs
491 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
492 * gst/gstobject.h: same
493 * gst/gstplugin.c: include gstmacros.h
494 * gst/gstplugin.h: don't include gstmacros.h, since it's private
495 * gst/gstquery.c: don't use memchunks
496 * gst/gstregistry.c: rename gst_registry_deinit()
497 * gst/gstregistry.h: same
499 2005-09-19 David Schleef <ds@schleef.org>
501 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
502 * docs/libs/gstreamer-libs-sections.txt:
503 * docs/libs/tmpl/gstgetbits.sgml:
504 * docs/libs/tmpl/gstputbits.sgml:
506 2005-09-19 Tim-Philipp M??ller <tim at centricular dot net>
508 * win32/gstenumtypes.c:
509 * win32/gstenumtypes.h:
510 Update.
512 2005-09-19 Wim Taymans <wim@fluendo.com>
514 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
515 Automatically PAUSE and RESUME a pipeline when a flushing seek
516 is performed.
518 2005-09-19 Andy Wingo <wingo@pobox.com>
520 * gst/gstregistry.h: Spacing fixen.
522 2005-09-19 Wim Taymans <wim@fluendo.com>
524 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
525 Handle state change failure more correctly.
527 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
529 * check/Makefile.am:
530 * check/pipelines/cleanup.c: (run_pipeline):
531 * check/pipelines/simple_launch_lines.c: (run_pipeline),
532 (GST_START_TEST):
533 enable cleanup again after fixing the leak
534 * docs/README:
535 some more info on docs
537 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
539 * check/Makefile.am:
540 re-enable tests now that leaks are plugged
541 * check/gst/gst.c:
542 * check/gst/gstbin.c:
543 * check/gst/gstpipeline.c:
544 add some more tests while fixing leaks
545 * common/check.mak:
546 make sure binaries are uptodate when valgrinding/gdbing
547 * gst/gst.c:
548 * gst/gstelementfactory.c:
549 remove a ref too many, and add a FIXME for when we get
550 round to disposing of classes
551 * gst/gstplugin.c:
552 fix the refcounting when loading a plugin from a file and
553 the code pretends that the pointer is the same even though
554 of course it can change
555 * gst/gstpluginfeature.c:
556 unref plugins marked cached (a bit confusing as a name)
557 as the docs state should be done
558 various doc additions to explain refcounting
559 * gst/gstregistry.c:
560 * gst/gstregistryxml.c:
561 debugging
563 2005-09-19 Wim Taymans <wim@fluendo.com>
565 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
566 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
567 (send_messages), (GST_START_TEST), (gstbus_suite):
568 * check/gst/gstpipeline.c: (GST_START_TEST):
569 * check/pipelines/cleanup.c: (run_pipeline):
570 * check/pipelines/simple_launch_lines.c: (run_pipeline),
571 (GST_START_TEST):
572 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
573 (gst_bus_source_check), (gst_bus_source_dispatch),
574 (gst_bus_create_watch), (gst_bus_add_watch_full),
575 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
576 * gst/gstbus.h:
577 * tools/gst-launch.c: (event_loop):
578 * tools/gst-md5sum.c: (event_loop):
579 GstBusHandler -> GstBusFunc, return value has the same meaning as
580 any other GSource (FALSE == remove source).
581 _add_watch() and _add_watch_full() now take a MessageType mask to
582 only handle specific types of messages.
583 _poll() returns the GstMessage instead of the message type to avoid
584 race conditions.
585 _have_pending() takes a MessageType mask now too.
586 Added testsuite for multiple bus watches.
587 Fix testsuites and applications for new bus API.
589 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
591 * check/Makefile.am:
592 mark a bunch of the tests as to fix until we fix them
594 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
596 * common/check.mak:
597 use GST_PLUGIN settings for valgrind tests as well, so we're
598 valgrinding the correct thing
599 * gst/gst.c: (init_post):
600 plug another leak
602 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
604 * gst/gst.c: (init_post), (gst_deinit):
605 * gst/gstelementfactory.c: (gst_element_factory_class_init),
606 (gst_element_factory_finalize), (gst_element_factory_cleanup):
607 * gst/gstindex.c: (gst_index_factory_class_init),
608 (gst_index_factory_finalize):
609 * gst/gstobject.c: (gst_object_dispose):
610 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
611 (gst_plugin_load_file), (gst_plugin_desc_free):
612 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
613 (gst_plugin_feature_finalize):
614 * gst/gstregistry.c: (gst_registry_class_init),
615 (gst_registry_init), (gst_registry_finalize),
616 (gst_registry_get_default), (gst_registry_deinit):
617 * gst/gstregistry.h:
618 * gst/gstregistryxml.c: (load_feature), (load_plugin):
619 various cleanups and memleak plugging. make valgrind is happy now.
621 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
623 * common/check.mak:
624 add a check-valgrind target
626 2005-09-18 David Schleef <ds@schleef.org>
628 * tools/gst-inspect.c: Revert the GOption code.
630 2005-09-17 David Schleef <ds@schleef.org>
632 * check/Makefile.am: Fix environment variables.
633 * check/gst/gstplugin.c: Fix for API changes.
634 * tools/gst-inspect.c: Fix for API changes.
635 * tools/gst-xmlinspect.c: Fix for API changes.
636 * gst/gstelementfactory.c:
637 * gst/gstplugin.c:
638 * gst/gstplugin.h:
639 * gst/gstpluginfeature.c:
640 * gst/gstpluginfeature.h:
641 * gst/gstregistry.c:
642 * gst/gstregistry.h:
643 * gst/gstregistryxml.c:
644 * gst/gsttypefind.c:
645 * gst/gsttypefindfactory.c:
646 * gst/indexers/gstfileindex.c:
647 * gst/indexers/gstmemindex.c:
648 * gst/schedulers/Makefile.am:
649 Change registry to keep track of both plugins and features,
650 removing the feature tracking from plugins themselves.
652 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
654 * check/Makefile.am:
655 * tools/gst-register.1.in:
656 remove gst-register
658 2005-09-15 David Schleef <ds@schleef.org>
660 * check/gst/gstplugin.c:
661 * gst/gstelementfactory.c:
662 * gst/gstplugin.c:
663 * gst/gstpluginfeature.c:
664 * gst/gstregistry.c:
665 Getting tired of debugging. Disabled all the unreffing of
666 plugins and features, which fixes the segfaults, but of
667 course leaks like crazy. At least playbin works.
669 2005-09-15 David Schleef <ds@schleef.org>
671 * check/gst/gstplugin.c: (register_check_elements),
672 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
673 More testing
674 * gst/elements/gsttypefindelement.c: Fix refcounting.
675 * gst/gsttypefind.c:
676 * gst/gsttypefindfactory.c:
677 * gst/gsttypefindfactory.h:
679 2005-09-15 David Schleef <ds@schleef.org>
681 * gst/gstindex.c: get refcounting correct.
682 * gst/gstregistry.c: Handle the case where a feature/plugin is
683 not found.
685 2005-09-15 David Schleef <ds@schleef.org>
687 * check/Makefile.am:
688 * check/gst/gstplugin.c: Add test
689 * gst/gstplugin.c: Fix problems noticed by testsuite
690 * gst/gstplugin.h:
691 * gst/gstregistry.c:
692 * gst/gstregistry.h:
694 2005-09-15 David Schleef <ds@schleef.org>
696 * gst/gstplugin.c: Implement semi-decent recounting and locking
697 in plugins and plugin features.
698 * gst/gstplugin.h:
699 * gst/gstpluginfeature.c:
700 * gst/gstpluginfeature.h:
701 * gst/gstregistry.c:
703 2005-09-15 Michael Smith <msmith@fluendo.com>
705 * gst/gstregistry.c: (gst_registry_get_feature_list):
706 Implement this. Makes oggdemux work; decodebin still broken.
708 2005-09-14 David Schleef <ds@schleef.org>
710 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
711 #316076)
712 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
713 * gst/check/Makefile.am:
714 * libs/gst/controller/Makefile.am:
715 * libs/gst/dataprotocol/Makefile.am:
717 2005-09-14 David Schleef <ds@schleef.org>
719 * configure.ac: Remove getbits library. Nothing uses it, and
720 it should be in something like liboil if someone did want
721 to use it.
722 * libs/gst/Makefile.am:
723 * libs/gst/getbits/Makefile.am:
724 * libs/gst/getbits/gbtest.c:
725 * libs/gst/getbits/getbits.c:
726 * libs/gst/getbits/getbits.h:
727 * libs/gst/getbits/gstgetbits_generic.c:
728 * libs/gst/getbits/gstgetbits_i386.s:
729 * libs/gst/getbits/gstgetbits_inl.h:
731 2005-09-14 David Schleef <ds@schleef.org>
733 * gst/Makefile.am: Dist glib-compat.h
735 2005-09-14 David Schleef <ds@schleef.org>
737 * configure.ac: Remove gst/registries, since it's no longer used.
738 * gst/registries/Makefile.am:
739 * gst/registries/gstlibxmlregistry.c:
740 * gst/registries/gstlibxmlregistry.h:
741 * gst/registries/gstxmlregistry.c:
742 * gst/registries/gstxmlregistry.h:
743 * gst/registries/registrytest.c:
745 2005-09-14 David Schleef <ds@schleef.org>
747 * gst/glib-compat.h:
748 * gst/gstregistryxml.c:
749 Convergence is near. Seriously.
751 2005-09-14 David Schleef <ds@schleef.org>
753 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
754 * gst/glib-compat.h:
755 Attempt #4 to appease the buildbots.
757 2005-09-14 David Schleef <ds@schleef.org>
759 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
760 Attempt #3.
762 2005-09-14 David Schleef <ds@schleef.org>
764 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
765 Attempt #2.
767 2005-09-14 David Schleef <ds@schleef.org>
769 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
770 the new functions.
772 2005-09-14 David Schleef <ds@schleef.org>
774 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
775 * gst/glib-compat.h: Add some functions that are in newer versions
776 of glib than we care to require.
777 * gst/gstregistryxml.c: Use them.
779 2005-09-14 David Schleef <ds@schleef.org>
781 * po/POTFILES.in: remove gst-register.c
783 2005-09-14 David Schleef <ds@schleef.org>
785 * docs/gst/gstreamer-docs.sgml:
786 * docs/gst/gstreamer-sections.txt:
787 * docs/gst/gstreamer.types:
788 * docs/gst/tmpl/gstelement.sgml:
789 * docs/gst/tmpl/gstplugin.sgml:
790 * docs/gst/tmpl/gstpluginfeature.sgml:
791 Documentation updates for registry changes.
793 2005-09-14 David Schleef <ds@schleef.org>
795 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
796 because we don't require glib-2.8.
798 2005-09-14 David Schleef <ds@schleef.org>
800 * gst/gstregistryxml.c: Added. Essentially moved out of the
801 registries directory.
803 2005-09-14 David Schleef <ds@schleef.org>
805 * check/Makefile.am:
806 * check/generic/states.c:
807 * gst/Makefile.am:
808 * gst/gst.c:
809 * gst/gst.h:
810 * gst/gst_private.h:
811 * gst/gstelementfactory.c:
812 * gst/gstindex.c:
813 * gst/gstinfo.c:
814 * gst/gstplugin.c:
815 * gst/gstplugin.h:
816 * gst/gstpluginfeature.c:
817 * gst/gstpluginfeature.h:
818 * gst/gstregistry.c:
819 * gst/gstregistry.h:
820 * gst/gstregistrypool.c: remove
821 * gst/gstregistrypool.h: remove
822 * gst/gsttypefind.c:
823 * gst/gsttypefindfactory.c:
824 * gst/gsturi.c:
825 * tools/Makefile.am:
826 * tools/gst-compprep.c:
827 * tools/gst-inspect.c:
828 * tools/gst-register.c: remove
829 * tools/gst-xmlinspect.c:
830 Registry rewrite. Changes registry from being a file created
831 by a tool into a simple cache file created automatically by
832 libgstreamer. Removed gst-register (because it's no longer
833 needed). Remove registry pools, because we only have one
834 registry implementation (XML). Fix up other subsystems as
835 necessary.
837 2005-09-13 Michael Smith <msmith@fluendo.com>
839 * gst/gstconfig.h.in:
840 Don't Use windows linking attributes for MinGW. Fixes #316157
842 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
844 * gst/gstutils.c: (set_state_async_thread_func),
845 (gst_element_set_state_async):
846 Apparently people think it's better if this function doesn't
847 try to set the state to whatever state was asked for on the first
848 call to this function for any object. Seriously.
850 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
852 * check/gst/gstpipeline.c: (GST_START_TEST):
853 * docs/gst/gstreamer-sections.txt:
854 * gst/gstutils.c: (set_state_async_thread_func),
855 (gst_element_set_state_async):
856 * gst/gstutils.h:
857 add a "gst_element_set_state_async" method that
858 sets the state and starts a thread to make sure the state
859 change completes as best as it can
861 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
863 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
864 codify design+behaviour in testsuite after discussion
866 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
868 * docs/gst/tmpl/gstelement.sgml:
869 * docs/manual/appendix-quotes.xml:
870 add a quote
871 * gst/gstelement.c: (gst_element_set_state):
872 add some debug
874 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
876 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
877 (gst_base_transform_prepare_output_buf),
878 (gst_base_transform_handle_buffer):
879 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
880 (gst_capsfilter_prepare_buf):
881 Remove the requirement for sub-classes to call the parent
882 implementation of prepare_output_buffer with a wrapper function.
884 * gst/gsttaglist.h:
885 * gst/gsttagsetter.h:
886 Fix #define wrapper
888 2005-09-11 Stefan Kost <ensonic@users.sf.net>
890 * docs/gst/gstreamer-sections.txt:
891 more doc cleanups
893 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
895 * docs/gst/gstreamer-sections.txt:
896 * docs/gst/tmpl/gstelement.sgml:
897 * docs/gst/tmpl/gstplugin.sgml:
898 * gst/gstminiobject.c:
899 * gst/gstvalue.h:
900 docs now stop throwing warnings
902 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
904 * docs/gst/gstreamer-sections.txt:
905 * docs/gst/gstreamer.types:
906 * docs/gst/tmpl/gstpad.sgml:
907 * docs/gst/tmpl/gsttypes.sgml:
908 * gst/base/gstadapter.h:
909 * gst/base/gstbasesink.h:
910 * gst/base/gstbasesrc.h:
911 * gst/gstbin.h:
912 * gst/gstbuffer.h:
913 * gst/gstbus.h:
914 * gst/gstcaps.h:
915 * gst/gstclock.h:
916 * gst/gstelement.h:
917 * gst/gstevent.h:
918 * gst/gstmessage.h:
919 * gst/gstpad.h:
920 * gst/gststructure.c:
921 * gst/registries/gstlibxmlregistry.h:
922 various documentation fixes
924 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
926 * docs/gst/gstreamer-sections.txt:
927 * docs/gst/tmpl/gstvalue.sgml:
928 rearrange gstvalue section
929 * gst/gstutils.c: (gst_element_state_get_name):
930 NONE -> VOID
931 * gst/gstvalue.c: (_gst_value_initialize):
932 * gst/gstvalue.h:
933 doc updates
935 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
937 * check/gst-libs/controller.c:
938 Header include fix.
939 * gst/base/gstbasetransform.c:
940 (gst_base_transform_default_prepare_buf),
941 (gst_base_transform_handle_buffer):
942 * gst/base/gstbasetransform.h:
943 Some more basetransform changes and fixes to enable sub-classes
944 that modify buffer metadata only.
945 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
946 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
947 (gst_capsfilter_prepare_buf):
948 If the output pad has fixed allowed caps and input buffers
949 don't have any, set the fixed caps on outgoing buffers.
951 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
952 * check/elements/identity.c: (GST_START_TEST):
953 Make the error a little clearer when the test fails because
954 identity made a copy of the buffer.
955 * docs/gst/gstreamer-sections.txt:
956 New symbols in gstbasetransform.h
957 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
958 (gst_base_transform_init), (gst_base_transform_transform_size),
959 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
960 (gst_base_transform_default_prepare_buf),
961 (gst_base_transform_get_unit_size),
962 (gst_base_transform_buffer_alloc),
963 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
964 (gst_base_transform_change_state),
965 (gst_base_transform_set_passthrough),
966 (gst_base_transform_set_in_place),
967 (gst_base_transform_is_in_place):
968 * gst/base/gstbasetransform.h:
969 Change BaseTransform to separate in_place operate from same_caps
970 output. in_place implies that the element can perform the transform
971 on incoming buffers in-place, even if the caps on the output are
972 different.
973 Sub-class elements can now implement special buffer allocation
974 methods for outgoing buffers if they wish to.
975 Big documentation addition.
976 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
977 * gst/elements/gstelements.c:
978 Changes for basetransform modifications.
979 * gst/elements/Makefile.am:
980 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
981 Compile fix. Extra debug output.
983 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
985 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
986 (gst_pad_suite):
987 add tests for valid pad naming
988 * gst/check/gstcheck.c: (gst_check_log_message_func),
989 (gst_check_log_critical_func):
990 add ASSERT_WARNING
991 remove printing of code, it is fragile when the code contains
992 % and the line number is enough info
993 * gst/check/gstcheck.h:
994 * gst/gstpad.c: (gst_pad_template_new):
995 fix memleaks
997 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
999 * configure.ac:
1000 say what CHECK flags we use
1001 * docs/libs/gstreamer-libs.types:
1002 * libs/gst/controller/Makefile.am:
1003 * libs/gst/controller/gst-controller.c:
1004 * libs/gst/controller/gst-controller.h:
1005 * libs/gst/controller/gst-helper.c:
1006 * libs/gst/controller/gst-interpolation.c:
1007 * libs/gst/controller/gstcontroller.c:
1008 * libs/gst/controller/gsthelper.c:
1009 * libs/gst/controller/gstinterpolation.c:
1010 * tools/gst-inspect.c: (print_plugin_info):
1011 we don't use dashes in header names
1013 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
1015 * check/Makefile.am:
1016 * check/gst/.cvsignore:
1017 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
1018 (gst_pipeline_suite), (main):
1019 adding a test for pipelines and state changes
1020 * gst/gstutils.c: (get_state_func):
1021 add some debugging
1022 * gstreamer.spec.in:
1023 fix up spec file
1025 2005-09-08 Michael Smith <msmith@fluendo.com>
1027 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
1028 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
1029 (gst_file_src_is_seekable), (gst_file_src_get_size),
1030 (gst_file_src_start):
1031 * gst/elements/gstfilesrc.h:
1032 Various fixes for unseekable, unmmapable, and non-normal files, so
1033 that fallback to read() rather than mmap() works.
1034 * gst/gstevent.c: (gst_event_new_newsegment):
1035 Allow newsegment events with segment_start == segment_end, as will
1036 correctly happen if you use filesrc on a zero-size file, for
1037 example.
1039 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
1041 * gst/gstplugin.c: (gst_plugin_load_file):
1042 Call g_module_close when we don't load the module
1044 * gst/registries/gstlibxmlregistry.c:
1045 (gst_xml_registry_get_property):
1046 Port leak fix from 0.8
1048 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1050 * docs/gst/gstreamer-docs.sgml:
1051 * docs/gst/tmpl/.cvsignore:
1052 * docs/gst/tmpl/gsttrace.sgml:
1053 * docs/gst/tmpl/gsttrashstack.sgml:
1054 * gst/Makefile.am:
1055 * gst/gst.h:
1056 * gst/gstelement.h:
1057 * gst/gstevent.h:
1058 * gst/gstmessage.c:
1059 * gst/gstmessage.h:
1060 * gst/gsttag.c:
1061 * gst/gsttag.h:
1062 * gst/gsttaginterface.c:
1063 * gst/gsttaginterface.h:
1064 * gst/gsttaglist.c:
1065 * gst/gsttaglist.h:
1066 * gst/gsttagsetter.c:
1067 * gst/gsttagsetter.h:
1068 * gst/gsttrace.c:
1069 * gst/gsttrace.h:
1070 * gst/gsttrashstack.c:
1071 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
1072 inlined docs for gsttrace, gsttrashstack
1074 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1076 * gst/Makefile.am:
1077 * gst/elements/gstbufferstore.h:
1078 * gst/elements/gsttypefindelement.c:
1079 * gst/elements/gsttypefindelement.h:
1080 * gst/gst.h:
1081 * gst/gsttypefind.c:
1082 * gst/gsttypefind.h:
1083 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
1084 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
1085 (gst_type_find_factory_dispose),
1086 (gst_type_find_factory_unload_thyself),
1087 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
1088 (gst_type_find_factory_get_caps),
1089 (gst_type_find_factory_get_extensions),
1090 (gst_type_find_factory_call_function):
1091 * gst/gsttypefindfactory.h:
1092 * gst/registries/gstlibxmlregistry.c:
1093 * gst/registries/gstxmlregistry.c:
1094 splitted gsttypefind into gsttypefind, gsttypefindfactory
1096 2005-09-07 Andy Wingo <wingo@pobox.com>
1098 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
1099 condition whereby the pad's task function is entered before the
1100 pad_mode variable was set.
1102 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
1104 * gst/gstpad.c: (gst_pad_alloc_buffer):
1105 Catch misbehaving pad_alloc functions that don't
1106 set up caps and do it for them.
1108 2005-09-07 Stefan Kost <ensonic@users.sf.net>
1110 * check/pipelines/simple_launch_lines.c: (run_pipeline):
1111 test for pipe!=NULL
1112 * docs/gst/tmpl/.cvsignore:
1113 * docs/gst/tmpl/gstmemchunk.sgml:
1114 * docs/gst/tmpl/gstparse.sgml:
1115 * docs/gst/tmpl/gsttaglist.sgml:
1116 * docs/gst/tmpl/gsttagsetter.sgml:
1117 * docs/gst/tmpl/gsttypefind.sgml:
1118 * docs/gst/tmpl/gsttypefindfactory.sgml:
1119 * gst/gstmemchunk.c:
1120 * gst/gstparse.c:
1121 * gst/gsttag.c:
1122 * gst/gsttaginterface.c:
1123 * gst/gsttypefind.c:
1124 * gst/gsttypefind.h:
1125 inlined more docs
1127 === release 0.9.2 ===
1129 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
1131 * NEWS:
1132 * RELEASE:
1133 * configure.ac:
1134 releasing 0.9.2, "South"
1136 2005-09-05 Andy Wingo <wingo@pobox.com>
1138 * gst/registries/gstxmlregistry.h:
1139 * gst/registries/gstxmlregistry.c: Um... resurrect...
1141 * gst/registries/gstxmlregistry.h:
1142 * gst/registries/gstxmlregistry.c: and update to newer API.
1143 Incidentally they should be a bit faster now that they don't have
1144 to parse the caps.
1146 2005-09-05 Andy Wingo <wingo@pobox.com>
1148 * gst/registries/gstxmlregistry.h:
1149 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
1150 replaced by the libxml registry a while back
1152 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
1154 * docs/gst/tmpl/gstplugin.sgml:
1155 * gst/elements/gstelements.c:
1156 * gst/gst.c:
1157 * gst/gstplugin.c: (gst_plugin_register_func),
1158 (gst_plugin_desc_copy), (gst_plugin_desc_free),
1159 (gst_plugin_get_source):
1160 * gst/gstplugin.h:
1161 * gst/registries/gstlibxmlregistry.c: (load_plugin),
1162 (gst_xml_registry_save_plugin):
1163 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
1164 (gst_xml_registry_save_plugin):
1165 * tools/gst-inspect.c: (print_plugin_info):
1166 add a "source" plugin description field, to represent the source
1167 module this plugin is a part of. By default GST_PLUGIN_DEFINE
1168 will set it to PACKAGE, which is automake's idea of the name of
1169 the source project.
1171 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
1173 * Makefile.am:
1174 * autogen.sh:
1175 * configure.ac:
1176 * docs/Makefile.am:
1177 * docs/faq/Makefile.am:
1178 * docs/gst/tmpl/gstelement.sgml:
1179 * docs/gst/tmpl/gsttypes.sgml:
1180 * docs/htmlinstall.mak:
1181 * docs/manual/Makefile.am:
1182 * docs/pwg/Makefile.am:
1183 reorganize doc build a little
1184 split out docbook and gtk-doc stuff
1185 have two separate --enable's and enable them through autogen
1186 but disable by default in configure (to be similar to other
1187 projects)
1188 * gstreamer.spec.in:
1189 clean up docs install
1190 * po/af.po:
1191 * po/az.po:
1192 * po/ca.po:
1193 * po/cs.po:
1194 * po/de.po:
1195 * po/en_GB.po:
1196 * po/fr.po:
1197 * po/it.po:
1198 * po/nb.po:
1199 * po/nl.po:
1200 * po/ru.po:
1201 * po/sq.po:
1202 * po/sr.po:
1203 * po/sv.po:
1204 * po/tr.po:
1205 * po/uk.po:
1206 * po/vi.po:
1207 translation updates
1209 2005-09-03 Tim-Philipp M??ller <tim at centricular dot net>
1211 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
1212 Add comment.
1214 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
1215 (gst_fake_sink_change_state):
1216 Make state change function thread-safe.
1218 * gst/gstpad.c: (gst_pad_alloc_buffer):
1219 Set offset on generic buffer allocated by fallback.
1221 2005-09-03 Stefan Kost <ensonic@users.sf.net>
1223 * docs/gst/gstreamer-sections.txt:
1224 * docs/gst/tmpl/gstelement.sgml:
1225 * gst/gstpad.c:
1226 * libs/gst/controller/gst-controller.c:
1227 (gst_controlled_property_set_interpolation_mode),
1228 (gst_controlled_property_new),
1229 (gst_controller_find_controlled_property):
1230 run the wingo-magic script against the docs
1232 2005-09-02 Stefan Kost <ensonic@users.sf.net>
1234 * docs/gst/gstreamer-docs.sgml:
1235 * docs/gst/gstreamer-sections.txt:
1236 * docs/gst/tmpl/.cvsignore:
1237 * docs/gst/tmpl/gstelementdetails.sgml:
1238 * docs/gst/tmpl/gstelementfactory.sgml:
1239 * gst/gst.c:
1240 * gst/gstbus.c:
1241 * gst/gstelementfactory.c:
1242 * gst/gstelementfactory.h:
1243 merged elementdetails docs into elementfactory docs
1244 inlined both
1246 2005-09-02 Andy Wingo <wingo@pobox.com>
1248 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
1249 consider this enum an enum and not a flags.
1251 2005-09-02 Stefan Kost <ensonic@users.sf.net>
1253 * docs/gst/gstreamer-docs.sgml:
1254 * docs/gst/tmpl/.cvsignore:
1255 * docs/gst/tmpl/gstghostpad.sgml:
1256 * docs/gst/tmpl/gstiterator.sgml:
1257 * docs/gst/tmpl/gstmacros.sgml:
1258 * docs/gst/tmpl/gstrealpad.sgml:
1259 * docs/gst/tmpl/gstregistry.sgml:
1260 * docs/gst/tmpl/gstregistrypool.sgml:
1261 * docs/gst/tmpl/gststructure.sgml:
1262 * docs/gst/tmpl/gstsystemclock.sgml:
1263 * docs/gst/tmpl/gsttrace.sgml:
1264 * gst/gstghostpad.c:
1265 * gst/gstmacros.h:
1266 * gst/gstmemchunk.c:
1267 * gst/gstmemchunk.h:
1268 * gst/gstqueue.c:
1269 * gst/gstregistry.c:
1270 * gst/gstregistrypool.c:
1271 * gst/gststructure.c:
1272 * gst/gstsystemclock.c:
1273 more docs inlined
1275 2005-09-02 Andy Wingo <wingo@pobox.com>
1277 * gst/gstelement.h (GstState): Renamed from GstElementState,
1278 changed to be a normal enum instead of flags.
1279 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
1280 munged to be GST_STATE_CHANGE_*.
1281 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
1282 work with the new state representation.
1283 (GstStateChange): New enumeration of possible state transitions.
1284 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
1285 (GstElementClass::change_state): Pass the GstStateChange along as
1286 an argument. Helps language bindings, so they don't have to use
1287 tricky lock-needing macros like GST_STATE_CHANGE ().
1289 * scripts/update-states (file): New script. Run it on a file to
1290 update it for state naming and API changes. Updates files in
1291 place.
1293 * All files updated for the new API.
1295 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
1297 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
1298 * gst/gstutils.c: (gst_util_set_value_from_string),
1299 (gst_util_set_object_arg):
1300 fix a bunch of unchecked return values
1301 * tools/gst-complete.c: (main):
1302 * gstreamer.spec.in:
1303 clean up a little
1305 2005-09-01 Wim Taymans <wim@fluendo.com>
1307 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1308 (gst_base_sink_event), (gst_base_sink_do_sync),
1309 (gst_base_sink_handle_event):
1310 * gst/base/gstbasesink.h:
1311 Handle newsegments more correctly.
1313 * gst/gstbus.c:
1314 Fix docs.
1316 * gst/gstevent.c: (gst_event_new_newsegment):
1317 A newsegment cannot have a start_time of -1
1319 2005-09-01 Tim-Philipp M??ller <tim at centricular dot net>
1321 * win32/gstenumtypes.c:
1322 * win32/gstenumtypes.h:
1323 Update
1325 2005-08-31 Stefan Kost <ensonic@users.sf.net>
1327 * libs/gst/controller/gst-controller.c:
1328 (gst_controlled_property_set_interpolation_mode),
1329 (gst_controlled_property_new):
1330 fixed boolean again
1332 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
1334 * docs/faq/gst-uninstalled:
1335 add -good
1336 * gst/gstevent.c:
1337 * gst/gstevent.h:
1338 remove wrong docs
1339 * gst/gstutils.c: (gst_element_link_filtered):
1340 * gst/gstutils.h:
1341 add gst_element_link_filtered
1343 2005-08-31 Stefan Kost <ensonic@users.sf.net>
1345 * docs/gst/gstreamer-docs.sgml:
1346 * docs/gst/gstreamer-sections.txt:
1347 * docs/gst/tmpl/.cvsignore:
1348 * docs/gst/tmpl/gsterror.sgml:
1349 * docs/gst/tmpl/gstfilter.sgml:
1350 * docs/gst/tmpl/gsturihandler.sgml:
1351 * docs/gst/tmpl/gsturitype.sgml:
1352 * docs/gst/tmpl/gstutils.sgml:
1353 * docs/gst/tmpl/gstxml.sgml:
1354 * gst/gsterror.c:
1355 * gst/gsterror.h:
1356 * gst/gstfilter.c:
1357 * gst/gsturi.c:
1358 * gst/gsturitype.c:
1359 * gst/gstutils.c:
1360 * gst/gstxml.c:
1361 inlined more docs, fixed double id-ref
1363 2005-08-31 Wim Taymans <wim@fluendo.com>
1365 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
1366 (gst_base_transform_handle_buffer):
1367 Passthrough elements don't need the caps as they don't care.
1369 2005-08-31 Wim Taymans <wim@fluendo.com>
1371 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
1372 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
1373 Don't leak refcounts on buffers.
1375 2005-08-31 Wim Taymans <wim@fluendo.com>
1377 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
1378 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
1379 (gst_base_transform_chain), (gst_base_transform_change_state):
1380 * gst/base/gstbasetransform.h:
1381 Handle the case where we are not negotiated more gracefully.
1383 2005-08-31 Tim-Philipp M??ller <tim at centricular dot net>
1385 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
1386 (gst_file_src_map_region):
1387 Set READONLY flag on mmap'ed buffers, otherwise
1388 gst_buffer_make_writable() won't work properly (#314708).
1390 2005-08-31 Wim Taymans <wim@fluendo.com>
1392 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
1393 passthrough elements can even do inplace on non writable
1394 buffers (as they don't touch them).
1396 2005-08-31 Stefan Kost <ensonic@users.sf.net>
1398 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
1399 (gst_test_mono_source_set_property),
1400 (gst_test_mono_source_class_init), (GST_START_TEST),
1401 (gst_controller_suite):
1402 more tests (hehe I have the most)
1403 * gst/gstbus.c:
1404 describe popping messages whenusing mulltiple sources
1405 * libs/gst/controller/gst-controller.c:
1406 (gst_controlled_property_set_interpolation_mode),
1407 (gst_controlled_property_new):
1408 * libs/gst/controller/gst-controller.h:
1409 * libs/gst/controller/gst-interpolation.c:
1410 implement boolean properties
1412 2005-08-31 Wim Taymans <wim@fluendo.com>
1414 * gst/gstminiobject.c: (gst_mini_object_ref):
1415 Cannot assert that the refcount has to be positive
1416 since a disposed object can be resurrected.
1418 2005-08-31 Wim Taymans <wim@fluendo.com>
1420 * gst/gstpad.c: (gst_pad_init):
1421 Revert change, need to first fix badly behaving
1422 apps.
1424 2005-08-30 Wim Taymans <wim@fluendo.com>
1426 * check/elements/fakesrc.c: (setup_fakesrc):
1427 * check/elements/identity.c: (setup_identity):
1428 Activate pads before using them.
1430 2005-08-30 Wim Taymans <wim@fluendo.com>
1432 * gst/base/gstadapter.c: (gst_adapter_flush):
1433 Flushing out 0 bytes is ok for this function.
1435 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1436 no newsegment gives a warning and sets the start/stop to
1437 invalid.
1439 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
1440 (gst_base_transform_set_passthrough):
1441 Some debug info.
1443 * gst/gstminiobject.c: (gst_mini_object_ref):
1444 Check refcount here too.
1446 * gst/gstpad.c: (gst_pad_init):
1447 Pads are initially flushing and refusing data.
1449 * gst/gstutils.c: (gst_element_link_pads_filtered):
1450 When adding a capsfilter element make sure it has the
1451 same state as the parent bin.
1453 2005-08-30 Stefan Kost <ensonic@users.sf.net>
1455 * docs/gst/tmpl/.cvsignore:
1456 * docs/gst/tmpl/gstformat.sgml:
1457 * docs/gst/tmpl/gstversion.sgml:
1458 * gst/gstbus.h:
1459 * gst/gstformat.c:
1460 * gst/gstformat.h:
1461 * gst/gstversion.h.in:
1462 more docs and two more inlined
1464 2005-08-30 Wim Taymans <wim@fluendo.com>
1466 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
1467 Don't sync to clock.
1469 2005-08-30 Stefan Kost <ensonic@users.sf.net>
1471 * docs/gst/gstreamer-sections.txt:
1472 ultral33t func10ns deserve to appear in the docs actually
1473 * docs/gst/tmpl/.cvsignore:
1474 * docs/gst/tmpl/gstcompat.sgml:
1475 * docs/gst/tmpl/gstconfig.sgml:
1476 * gst/check/gstcheck.c:
1477 * gst/gstcompat.h:
1478 * gst/gstconfig.h.in:
1479 inlined more docs
1481 2005-08-30 Stefan Kost <ensonic@users.sf.net>
1483 * docs/gst/tmpl/.cvsignore:
1484 * docs/gst/tmpl/gstquery.sgml:
1485 * docs/gst/tmpl/gstutils.sgml:
1486 * gst/gstquery.c:
1487 * gst/gstquery.h:
1488 inlined and extended docs
1490 2005-08-30 Stefan Kost <ensonic@users.sf.net>
1492 * check/gst-libs/controller.c: (GST_START_TEST),
1493 (gst_controller_suite):
1494 more tests
1495 * docs/gst/tmpl/gstutils.sgml:
1496 * docs/libs/gstreamer-libs-sections.txt:
1497 * docs/libs/tmpl/gstdataprotocol.sgml:
1498 include path fixes
1499 * examples/controller/audio-example.c: (main):
1500 controller example works now
1501 * gst/gstclock.h:
1502 doc fixes
1503 * tools/gst-inspect.c: (print_element_properties_info):
1504 show param spec flags
1506 2005-08-29 Andy Wingo <wingo@pobox.com>
1508 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
1510 2005-08-28 Andy Wingo <wingo@pobox.com>
1512 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
1513 as having two arguments instead of just one. Allows superclasses
1514 to access information on subclasses -- see the terrible for() loop
1515 in gtype.c:g_type_create_instance for the reason why. All callers
1516 changed.
1518 2005-08-27 Stefan Kost <ensonic@users.sf.net>
1520 * docs/design/part-messages.txt:
1521 update info
1522 * docs/gst/tmpl/.cvsignore:
1523 * docs/gst/tmpl/gstcaps.sgml:
1524 * docs/gst/tmpl/gstclock.sgml:
1525 * gst/gstbus.c:
1526 * gst/gstcaps.c:
1527 * gst/gstcaps.h:
1528 * gst/gstclock.c:
1529 * gst/gstclock.h:
1530 * gst/gstmessage.c:
1531 added descriptions for bus and message
1532 inline caps and clock docs
1534 2005-08-27 Stefan Kost <ensonic@users.sf.net>
1536 * gst/gstmessage.c:
1537 * gst/gstmessage.h:
1538 doc fixes
1540 2005-08-27 Stefan Kost <ensonic@users.sf.net>
1542 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
1543 fix div-by-zero
1545 2005-08-26 Andy Wingo <wingo@pobox.com>
1547 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
1548 element_set_state's return val.
1549 (test_2_elements): Add test that's been disabled for months.
1551 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
1552 can-activate-pull properties.
1554 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
1555 can-activate-pull properties. Implement is_seekable so fakesrc can
1556 operate in pull mode.
1558 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
1559 properties.
1560 (gst_base_sink_activate, gst_base_sink_activate_pull)
1561 (gst_base_sink_activate_push): Make activation mode choosing work.
1562 Cleanups.
1563 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
1564 is right. Make pull mode work. Post an eos before pausing in pull
1565 mode.
1566 (gst_base_sink_change_state): Pay attention to the core's
1567 change_state() return val.
1569 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
1570 has-getrange properties. Cleanups.
1572 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
1573 has_getrange and replace with can_activate_pull and
1574 can_activate_push.
1576 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
1577 locking comments. Remove has_loop, has_chain and replace with
1578 can_activate_pull and can_activate_push.
1580 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
1582 * configure.ac:
1583 * examples/Makefile.am:
1584 * examples/metadata/Makefile.am:
1585 * examples/metadata/read-metadata.c: (message_loop),
1586 (have_pad_handler), (make_pipeline), (print_tag), (main):
1587 Add metadata reading example that loops over a list of filenames,
1588 dumping any tags found.
1590 * gst/gstbus.c: (gst_bus_dispose):
1591 * gst/gstelement.c: (gst_element_dispose):
1592 Release a few potentially-held references in dispose.
1594 2005-08-26 Stefan Kost <ensonic@users.sf.net>
1596 * docs/gst/tmpl/gstminiobject.sgml:
1597 do *not* add tmpl/*.sgml files to CVS!
1599 2005-08-26 Stefan Kost <ensonic@users.sf.net>
1601 * libs/gst/bytestream/.cvsignore:
1602 * libs/gst/bytestream/Makefile.am:
1603 * libs/gst/bytestream/adapter.c:
1604 * libs/gst/bytestream/adapter.h:
1605 * libs/gst/bytestream/bytestream.c:
1606 * libs/gst/bytestream/bytestream.h:
1607 * libs/gst/bytestream/filepad.c:
1608 * libs/gst/bytestream/filepad.h:
1609 removing obsolete files
1611 2005-08-26 Stefan Kost <ensonic@users.sf.net>
1613 * docs/gst/gstreamer-docs.sgml:
1614 * docs/libs/gstreamer-libs-docs.sgml:
1615 disabed additional index entries again, as this makes docs-gen just
1616 slow and they aren't useful yet
1617 * docs/libs/gstreamer-libs-sections.txt:
1618 little -section.txt cleanup for libs
1620 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
1622 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1623 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
1624 fix up some debugging
1625 (gst_base_transform_get_unit_size),
1626 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
1627 (gst_base_transform_handle_buffer):
1628 * gst/base/gstbasetransform.h:
1629 handle and store timed NEWSEGMENT events so that subclasses that
1630 calculate time by counting samples have a segment_start time they
1631 need to add to their timestamps - see audioresample
1633 2005-08-26 Stefan Kost <ensonic@users.sf.net>
1635 * gst/gstbin.h:
1636 removed ';' from the end of macro defs
1637 * docs/gst/gstreamer-docs.sgml:
1638 * docs/gst/gstreamer-sections.txt:
1639 * docs/gst/tmpl/.cvsignore:
1640 * gst/gstbus.h:
1641 * gst/gstelement.c: (gst_element_class_init),
1642 (gst_element_set_state), (activate_pads),
1643 (gst_element_save_thyself):
1644 * gst/gstevent.c: (gst_event_new_newsegment):
1645 * gst/gstevent.h:
1646 * gst/gstiterator.c:
1647 * gst/gstiterator.h:
1648 * gst/gstpad.c:
1649 * gst/gstprobe.h:
1650 * gst/gstutils.c: (gst_pad_query_convert):
1651 * gst/gstutils.h:
1652 fixed parameter name mismatches between source, header and docs
1653 added some more docs, resolved the last batch of unused elements in
1654 docs (now someone needs to doc them)
1656 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
1658 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
1659 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
1660 don't walk through the plugins backwards. Where is all this
1661 reversed logic coming from ?
1663 2005-08-25 Wim Taymans <wim@fluendo.com>
1665 * gst/base/gstbasetransform.c: (gst_base_transform_init),
1666 (gst_base_transform_transform_size),
1667 (gst_base_transform_configure_caps),
1668 (gst_base_transform_get_unit_size),
1669 (gst_base_transform_buffer_alloc),
1670 (gst_base_transform_change_state):
1671 * gst/base/gstbasetransform.h:
1672 Cache caps unit_size.
1673 Make sure we cannot negotiate up and downstream at the
1674 same time.
1676 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
1678 * gst/gst.c: (init_pre), (init_post):
1679 register the installed plugin path after the env var
1680 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
1681 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
1682 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
1683 directories, so the tests can prefer uninstalled over installed
1685 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
1687 * gst/base/gstbasetransform.h:
1688 comment
1689 * gst/gstpad.c:
1690 add to docs
1692 2005-08-25 Wim Taymans <wim@fluendo.com>
1694 * gst/gstbin.c: (bin_bus_handler):
1695 Be a bit more conservative about the posted message.
1697 * gst/gstbus.c: (gst_bus_post):
1698 Some cleanups, warn wrong return values.
1700 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
1702 * check/gst/gstbin.c: (GST_START_TEST):
1703 * gst/gstbin.c: (bin_bus_handler):
1704 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
1705 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
1706 (gst_message_new_warning), (gst_message_new_tag),
1707 (gst_message_new_state_changed), (gst_message_new_segment_start),
1708 (gst_message_new_segment_done), (gst_message_new_custom):
1709 * gst/gstmessage.h:
1710 * tools/gst-launch.c: (event_loop):
1711 * tools/gst-md5sum.c: (event_loop):
1712 Revert unpopular change for GST_MESSAGE_SRC to GObject.
1714 2005-08-25 Wim Taymans <wim@fluendo.com>
1716 * check/generic/states.c: (GST_START_TEST):
1717 Cleanup can be done at the end.
1719 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
1720 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
1721 (gst_task_get_state), (gst_task_start), (gst_task_pause):
1722 Oh boy.. Thanks for finding this, Thomas.
1724 2005-08-25 Stefan Kost <ensonic@users.sf.net>
1726 * docs/gst/gstreamer.types:
1727 added missing types
1729 2005-08-25 Stefan Kost <ensonic@users.sf.net>
1731 * docs/gst/gstreamer-docs.sgml:
1732 * docs/gst/gstreamer-sections.txt:
1733 * docs/gst/tmpl/.cvsignore:
1734 * gst/gstbin.c:
1735 * gst/gstiterator.c:
1736 * gst/gstutils.c:
1737 * gst/registries/gstxmlregistry.h:
1738 added missing classes and symbols (123 more to go)
1739 removed removed symbols from section file
1740 fixed many doc-comments
1742 2005-08-24 Wim Taymans <wim@fluendo.com>
1744 * check/generic/states.c: (GST_START_TEST):
1745 Make sure all tasks are stopped.
1747 * check/gst/gstbin.c: (GST_START_TEST):
1748 Unref after usage for proper valgrinding.
1750 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
1751 Really wait for the task to stop before destroying the
1752 mutex.
1754 * gst/gstqueue.c: (gst_queue_sink_activate_push),
1755 (gst_queue_src_activate_push):
1756 Small cleanups. Don't stop the task when we did not start
1757 it.
1759 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
1760 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
1761 (gst_task_get_state), (gst_task_start), (gst_task_pause),
1762 (gst_task_join):
1763 * gst/gsttask.h:
1764 Protect the stream lock with the object lock.
1765 Disallow setting the stream lock when running.
1766 Add cleanup_all to wait for the threadpool to finish.
1767 Remove code to autoallocate a mutex if none was provided.
1768 Add _join() to wait for a task to stop.
1769 Protect the thread pool with a global lock.
1771 2005-08-24 Wim Taymans <wim@fluendo.com>
1773 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1774 (gst_base_sink_get_times), (gst_base_sink_do_sync),
1775 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
1776 * gst/base/gstbasesink.h:
1777 Handle newsegment events correctly.
1778 Drop buffers out of the segment range.
1780 2005-08-22 Andy Wingo <wingo@pobox.com>
1782 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
1783 macro, implements an interface and gstimplementsinterface for a
1784 new type.
1786 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
1788 * check/Makefile.am:
1789 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
1790 add a test that does a bunch of state changes on elements
1791 needs some fixing for valgrind
1792 * check/states/sinks.c: (gst_object_suite):
1793 whitespace
1794 * gst/gstcaps.h:
1795 add prototype for gst_caps_is_equal_fixed
1796 * gst/gstplugin.c:
1797 * gst/gstregistrypool.c:
1798 doc fixes
1800 2005-08-24 Andy Wingo <wingo@pobox.com>
1802 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
1803 convert a negative value. Doesn't make much sense. Mostly this is
1804 here to force callers to ensure -1 maps to -1.
1806 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1808 * docs/pwg/advanced-types.xml:
1809 Well done to Michael for catching my deliberate introduction
1810 of this spelling mistake.
1811 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
1812 * gst/gstelement.h:
1813 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
1814 unlink pads before removing the element from the bin.
1816 2005-08-24 Andy Wingo <wingo@pobox.com>
1818 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
1819 the same thing as GST_DEBUG=*:4.
1820 (parse_debug_level, parse_debug_category): New helper parsers.
1822 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
1824 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
1825 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
1826 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
1827 (gst_base_transform_buffer_alloc),
1828 (gst_base_transform_handle_buffer):
1829 use gboolean return values and pointers to size so we can use the
1830 full GST_BUFFER_SIZE range (guint) for buffer sizes
1831 use GstPadDirection for transform_caps
1832 * gst/base/gstbasetransform.h:
1833 rename get_size to get_unit_size since that's what it is
1834 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
1835 use GstPadDirection for transform_caps
1836 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
1837 * gst/gstutils.h:
1838 cleanup and debugging
1840 2005-08-24 Stefan Kost <ensonic@users.sf.net>
1842 * gst/gstelement.c: (gst_element_class_init),
1843 (gst_element_set_state), (activate_pads),
1844 (gst_element_save_thyself):
1845 * tools/gst-compprep.c: (main):
1846 * tools/gst-inspect.c: (print_element_properties_info):
1847 * tools/gst-xmlinspect.c: (print_element_properties):
1848 Fixed long standing mem-leak
1850 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1852 * check/gst/gstbin.c: (GST_START_TEST):
1853 * gst/gstbin.c: (bin_bus_handler):
1854 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
1855 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
1856 (gst_message_new_warning), (gst_message_new_tag),
1857 (gst_message_new_state_changed), (gst_message_new_segment_start),
1858 (gst_message_new_segment_done), (gst_message_new_custom):
1859 * gst/gstmessage.h:
1860 * tools/gst-launch.c: (event_loop):
1861 * tools/gst-md5sum.c: (event_loop):
1862 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
1863 that applications can sensibly post custom messages with references
1864 to their own objects.
1866 2005-08-24 Andy Wingo <wingo@pobox.com>
1868 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
1869 already.
1871 2005-08-24 Wim Taymans <wim@fluendo.com>
1873 * gst/base/gstbasetransform.c: (gst_base_transform_init),
1874 (gst_base_transform_transform_caps),
1875 (gst_base_transform_transform_size),
1876 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
1877 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
1878 (gst_base_transform_handle_buffer):
1879 * gst/base/gstbasetransform.h:
1880 Many fixes and new features added by Thomas. Can now also do
1881 transforms with variable sizes and a custom fixate_caps function.
1883 2005-08-24 Wim Taymans <wim@fluendo.com>
1885 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
1886 Some debugging.
1888 * gst/gstclock.h:
1889 Cast to ClockTime before formatting to time.
1891 * gst/gstutils.h:
1892 Cleanups.
1894 2005-08-24 Stefan Kost <ensonic@users.sf.net>
1896 * check/gst-libs/controller.c: (GST_START_TEST),
1897 (gst_controller_suite):
1898 * docs/gst/tmpl/gstcaps.sgml:
1899 * docs/gst/tmpl/gstghostpad.sgml:
1900 * docs/gst/tmpl/gstquery.sgml:
1901 * docs/gst/tmpl/gstutils.sgml:
1902 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
1903 (gst_object_sink_values), (gst_object_get_value_arrays),
1904 (gst_object_get_value_array):
1905 gracefully handle helper method calls to objects that are not beeing
1906 controlled, added test case for that
1908 2005-08-23 Wim Taymans <wim@fluendo.com>
1910 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
1911 (gst_event_new_newsegment), (gst_event_parse_newsegment),
1912 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
1913 (gst_event_parse_qos), (gst_event_new_seek),
1914 (gst_event_parse_seek):
1915 * gst/gstevent.h:
1916 Some more debugging output and doc cleanups.
1918 * gst/gstqueue.c: (gst_queue_handle_sink_event):
1919 Fix possible deadlock.
1921 2005-08-23 Stefan Kost <ensonic@users.sf.net>
1923 * docs/gst/gstreamer-docs.sgml:
1924 * docs/gst/gstreamer-sections.txt:
1925 * docs/gst/gstreamer.types:
1926 * docs/gst/tmpl/.cvsignore:
1927 * gst/gstbin.h:
1928 * gst/gstbus.c:
1929 * gst/gstelement.c:
1930 * gst/gstevent.h:
1931 added 100 symbols from gstreamer-unused.txt to the right sections
1932 fixed more broken comments
1933 added GstBus to docs
1935 2005-08-23 Stefan Kost <ensonic@users.sf.net>
1937 * docs/gst/gstreamer-sections.txt:
1938 * docs/gst/tmpl/.cvsignore:
1939 * docs/gst/tmpl/gstbin.sgml:
1940 * docs/gst/tmpl/gstbuffer.sgml:
1941 * gst/base/gstbasesrc.c:
1942 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
1943 * gst/gstbuffer.c:
1944 * gst/gstbuffer.h:
1945 * tools/gst-launch.1.in:
1946 inlined more doc comments, added missing comments and fixed comments
1947 fixed typos
1949 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
1951 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
1952 some debugging
1953 * gst/gstcaps.h:
1954 whitespace fixes
1955 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
1956 more debugging
1957 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
1958 * gst/gststructure.h:
1959 add a fixate function for booleans; add a FIXME that these func
1960 names should probably be gst_structure_fixate_*
1962 2005-08-23 Stefan Kost <ensonic@users.sf.net>
1964 * docs/gst/gstreamer-docs.sgml:
1965 * docs/gst/gstreamer-sections.txt:
1966 * gst/Makefile.am:
1967 * gst/gstbin.c: (gst_bin_get_type),
1968 (gst_bin_child_proxy_get_child_by_index),
1969 (gst_bin_child_proxy_get_children_count),
1970 (gst_bin_child_proxy_init):
1971 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
1972 (gst_child_proxy_get_child_by_index),
1973 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
1974 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
1975 (gst_child_proxy_get), (gst_child_proxy_set_property),
1976 (gst_child_proxy_set_valist), (gst_child_proxy_set),
1977 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
1978 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
1979 * gst/gstchildproxy.h:
1980 * gst/parse/grammar.y:
1981 * tools/gst-inspect.c: (print_interfaces),
1982 (print_element_properties_info), (print_element_info):
1983 ported gstchildproxy over from 0.8
1984 ported gst-inspect fixes and enhancements over from 0.8
1986 2005-08-22 Wim Taymans <wim@fluendo.com>
1988 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
1989 (gst_base_transform_handle_buffer):
1990 Also call the transform function if we have ANY caps.
1992 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
1993 Fix debug info.
1995 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
1997 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
1998 Don't pretend to handle seek events if the source is not seekable
2000 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
2002 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2003 Remove extra parameter to debug output
2005 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2006 (gst_base_src_do_seek), (gst_base_src_activate_push):
2007 Fix seek event handling.
2009 * gst/gstpipeline.c: (gst_pipeline_change_state):
2010 * gst/gstqueue.c: (gst_queue_handle_sink_event),
2011 (gst_queue_src_activate_push):
2012 Don't start the src pad task on FLUSH_STOP if the pad
2013 isn't linked.
2014 Debug changes.
2016 2005-08-22 Wim Taymans <wim@fluendo.com>
2018 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2019 Added check for gst_static_caps_get() refcounting.
2021 2005-08-22 Wim Taymans <wim@fluendo.com>
2023 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
2024 Make _static_caps_get() refcounting sane.
2026 * gst/gstelement.c: (gst_element_set_state):
2027 Add g_return_val_if_fail() to protect against segfaults.
2029 2005-08-22 Stefan Kost <ensonic@users.sf.net>
2031 * docs/gst/tmpl/gstevent.sgml:
2032 * gst/gstevent.c:
2033 * gst/gstevent.h:
2034 inlined remaining docs, added missing doc comments
2036 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
2038 * check/gst/gstbin.c: (GST_START_TEST):
2039 since we don't know when preroll is done, use refcount range
2040 check for the sink
2041 * gst/check/gstcheck.h:
2042 add macro for checking refcount range
2044 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
2046 * check/Makefile.am:
2047 clean up environment for when registry gets built versus
2048 when actual tests are run; valgrind seems to not report
2049 leaks if GST_PLUGIN_PATH is set to some specific values
2050 * check/gst/gstbin.c: (GST_START_TEST):
2051 add more refcounting checks; maybe this exposes a
2052 preroll lock bug ?
2053 * common/check.mak:
2054 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2055 * gst/check/gstcheck.h:
2056 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
2057 (gst_bin_change_state):
2058 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
2059 add/fix debugging/whitespace
2061 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
2063 * check/gst/gstevent.c: (event_probe), (test_event),
2064 (GST_START_TEST):
2065 Er, don't call gst_bin_watch_for_state_change you idiot.
2067 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
2069 * check/Makefile.am:
2070 Use CHECK_CFLAGS and CHECK_LIBS
2071 * check/gst/gstevent.c: (event_probe), (test_event),
2072 (GST_START_TEST):
2073 Don't leak events.
2074 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2075 (gst_base_src_start), (gst_base_src_stop),
2076 (gst_base_src_activate_push), (gst_base_src_activate_pull),
2077 (gst_base_src_change_state):
2078 Sprinkle gst_base_src_stop liberally around error paths to fix
2079 problems reusing a source after failed state changes.
2080 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2081 (helper_find_suggest), (gst_type_find_helper):
2082 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
2083 * gst/gstevent.h:
2084 * docs/gst/tmpl/gstevent.sgml:
2085 Migrate part of the docs from the SGML file. Wait for ensonic to
2086 tell me how I did it wrong ;)
2087 * tools/gst-typefind.c: (main):
2088 Extra robustness to state changes between files.
2090 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
2092 * check/Makefile.am:
2093 don't valgrind the controller test - it's leaking - Stefan, HELP
2094 * gst/check/gstcheck.c: (gst_check_message_error),
2095 (gst_check_chain_func), (gst_check_setup_element),
2096 (gst_check_teardown_element), (gst_check_setup_src_pad),
2097 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
2098 (gst_check_teardown_sink_pad):
2099 * gst/check/gstcheck.h:
2100 add a bunch of methods to set up elements, and src and sink pads
2101 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
2102 * check/elements/identity.c: (setup_identity), (cleanup_identity),
2103 (GST_START_TEST):
2104 use them
2105 * gst/gstmessage.c:
2106 * gst/gsttag.h:
2107 whitespace/doc fixes
2109 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2111 * gst/gstelement.h:
2112 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
2113 be handled by the application and not always printed as well
2115 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2117 * check/Makefile.am:
2118 set GST_TOOLS_DIR
2119 * gst/check/gstcheck.c: (gst_check_message_error):
2120 * gst/check/gstcheck.h:
2121 add a fail_unless_equals_int
2122 add fail_unless for error messages
2124 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2126 * check/Makefile.am:
2127 * check/gst.supp:
2128 * common/Makefile.am:
2129 * common/check.mak:
2130 * common/gst.supp:
2131 factor out some of the common stuff so we can use it
2133 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2135 * check/Makefile.am:
2136 * check/gst/gstiterator.c: (GST_START_TEST):
2137 * check/gst/gstsystemclock.c: (GST_START_TEST),
2138 (gst_systemclock_suite):
2139 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
2140 * gst/gstclock.c:
2141 valgrind more tests
2143 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
2145 * check/elements/.cvsignore:
2146 * check/elements/gstfakesrc.c:
2147 rename to name of element
2148 * check/elements/identity.c: (chain_func), (event_func),
2149 (setup_identity), (cleanup_identity), (GST_START_TEST),
2150 (identity_suite), (main):
2151 add a test for identity
2152 * check/Makefile.am:
2153 * pkgconfig/Makefile.am:
2154 * pkgconfig/gstreamer-check.pc.in:
2155 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2156 * gst/check:
2157 * gst/Makefile.am:
2158 * configure.ac:
2159 move the check stuff to a library that gets installed
2160 * check/gst-libs/controller.c: (GST_START_TEST):
2161 * check/gst-libs/gdp.c:
2162 * check/gst/gst.c: (GST_START_TEST):
2163 * check/gst/gstbin.c:
2164 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
2165 * check/gst/gstbus.c:
2166 * check/gst/gstcaps.c: (GST_START_TEST):
2167 * check/gst/gstelement.c:
2168 * check/gst/gstghostpad.c:
2169 * check/gst/gstiterator.c:
2170 * check/gst/gstmessage.c:
2171 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
2172 * check/gst/gstobject.c:
2173 * check/gst/gstpad.c: (GST_START_TEST):
2174 * check/gst/gststructure.c: (GST_START_TEST):
2175 * check/gst/gstsystemclock.c: (GST_START_TEST),
2176 (gst_systemclock_suite):
2177 * check/gst/gsttag.c: (gst_tag_suite):
2178 * check/gst/gstvalue.c:
2179 * check/pipelines/cleanup.c:
2180 * check/pipelines/simple_launch_lines.c:
2181 * check/states/sinks.c:
2182 change include statement
2184 * docs/gst/gstreamer-sections.txt:
2185 * docs/gst/tmpl/gstpad.sgml:
2186 document more pad stuff
2187 * gst/gstminiobject.c: (gst_mini_object_ref),
2188 (gst_mini_object_unref):
2189 debug refcounting
2191 2005-08-19 Stefan Kost <ensonic@users.sf.net>
2193 * docs/gst/tmpl/gst.sgml:
2194 * gst/gst.c:
2195 eliminate another tmpl file, fix spelling in the long-description
2197 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2199 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2200 (test_event), (timediff), (gstevents_suite):
2201 Should fix build on 64-bit arch's
2203 2005-08-18 Andy Wingo <wingo@pobox.com>
2205 Make sure that when a pipeline goes to PLAYING, that data has
2206 actually hit the sink.
2208 * check/states/sinks.c (test_sink): A sink that doesn't get any
2209 data shouldn't return SUCCESS for going to either PLAYING or
2210 PAUSED. Test also the return values on the way back down.
2212 * gst/gstelement.c (gst_element_set_state): When changing the
2213 state of an element currently changing state asynchronously, go to
2214 lost-state after commiting the pending state. Makes future calls
2215 to get_state continue to return ASYNC.
2217 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
2218 ASYNC when going to PLAYING if we still don't have preroll, as can
2219 happen with live sources.
2221 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2223 * docs/pwg/advanced-types.xml:
2224 Hack long paragraph into 2 chunks as a workaround for buggy
2225 jadetex version in sid and breezy that loops infinitely and
2226 eats all RAM.
2228 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2230 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2231 (test_event), (timediff), (gstevents_suite):
2232 Provide more error margin in clock measurements to allow for
2233 g_get_current_time inaccuracies.
2235 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2237 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2238 (test_event), (timediff), (gstevents_suite):
2239 Fix error message output so I might be able to tell why the
2240 test works here but fails on the build farm.
2242 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
2244 * check/Makefile.am:
2245 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
2246 (test_event), (timediff), (gstevents_suite), (main):
2247 I wrote a test!
2249 * docs/design/part-seeking.txt:
2250 Spelling correction
2252 * docs/gst/tmpl/gstevent.sgml:
2253 * docs/gst/tmpl/gstfakesrc.sgml:
2254 Docs updates.
2256 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2257 Treat a buffer-without-newsegment the same as a receiving
2258 a newsegment not in time format, and disable syncing to the clock
2259 with a warning.
2261 * gst/gstbus.c: (gst_bus_set_sync_handler):
2262 Assert if anyone tries to replace the existing sync_handler for bus,
2263 as only the owner should be setting it.
2265 * gst/gstevent.h:
2266 Have a fixed set of custom event enums with events identified by
2267 their structure name (as in 0.8), rather than a free-for-all
2268 allowing collisions between enum values from different plugins.
2270 * gst/gstpad.c: (gst_pad_class_init):
2271 Docs change.
2273 * gst/gstqueue.c: (gst_queue_handle_sink_event):
2274 Handle out-of-band downstream events from the sending thread.
2276 2005-08-17 Andy Wingo <wingo@pobox.com>
2278 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
2279 play-timeout==0 to mean no timeout at all. In that case, don't
2280 bother with a get_state or a warning, just return directly, even
2281 if it's ASYNC.
2283 * gst/base/gstbasetransform.c: Debug changes.
2285 * gst/gstutils.h:
2286 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
2287 ensure bins post state change messages. A bit of a hack but I can't
2288 think of a way to avoid it.
2290 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
2292 2005-08-16 Andy Wingo <wingo@pobox.com>
2294 * gst/base/gstadapter.h:
2295 * gst/base/gstadapter.c (gst_adapter_take): New function, like
2296 peek() but you own the data. Not terribly efficient atm.
2298 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2300 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
2301 (gst_element_found_tags):
2302 * gst/gstutils.h:
2303 Add two utility functions for tag handling.
2305 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2307 * docs/manual/advanced-dataaccess.xml:
2308 * docs/manual/basics-helloworld.xml:
2309 Fix docs to use _bin_add() before _link(), which fixes the examples
2310 with recent core versions (reported by Madhan Raj M
2311 <raj_madan@rediffmail.com>, #313199).
2313 2005-08-16 Wim Taymans <wim@fluendo.com>
2315 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2316 Added subtract checks.
2318 * docs/design/part-events.txt:
2319 Some more docs about newsegment
2321 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
2322 Fix FIXME
2324 * gst/gstcaps.c: (gst_caps_to_string):
2325 Add comments, cleanups.
2327 * gst/gstelement.c: (gst_element_save_thyself):
2328 cleanups
2330 * gst/gstvalue.c: (gst_value_collect_int_range),
2331 (gst_string_unwrap), (gst_value_union_int_int_range),
2332 (gst_value_union_int_range_int_range),
2333 (gst_value_intersect_int_int_range),
2334 (gst_value_intersect_int_range_int_range),
2335 (gst_value_intersect_double_double_range),
2336 (gst_value_intersect_double_range_double_range),
2337 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
2338 (gst_value_subtract_int_range_int),
2339 (gst_value_subtract_double_range_double),
2340 (gst_value_subtract_double_range_double_range),
2341 (gst_value_subtract_from_list), (gst_value_subtract_list),
2342 (gst_value_can_compare), (gst_value_compare_fraction):
2343 Cleanups, add comments, remove unneeded asserts.
2345 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
2347 * tools/gst-launch.c: (event_loop):
2348 don't convert NULL structures to strings
2350 2005-08-15 Stefan Kost <ensonic@users.sf.net>
2352 * docs/gst/gstreamer-sections.txt:
2353 made some defines private
2354 * docs/gst/tmpl/gstconfig.sgml:
2355 * docs/gst/tmpl/gstqueue.sgml:
2356 * docs/gst/tmpl/gsttaglist.sgml:
2357 * docs/gst/tmpl/gsttypes.sgml:
2358 * docs/gst/tmpl/gstutils.sgml:
2359 * docs/pwg/appendix-porting.xml:
2360 * gst/base/gstbasesink.h:
2361 * gst/base/gstbasesrc.c:
2362 * gst/base/gstbasesrc.h:
2363 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
2364 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
2365 * gst/gstelement.c: (gst_element_class_init):
2366 * gst/gstpad.c: (gst_pad_class_init):
2367 * gst/gstqueue.c: (gst_queue_class_init):
2368 * gst/gstxml.c: (gst_xml_class_init):
2369 documented all undocumented signal inline
2370 * libs/gst/controller/gst-controller.h:
2371 added padding
2373 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2375 * docs/pwg/appendix-porting.xml:
2376 Document _set_link_function -> _set_setcaps_function.
2378 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
2380 * check/Makefile.am:
2381 add a .check target for running the check
2382 * check/gst-libs/controller.c: (GST_START_TEST):
2383 cosmetic fixups
2384 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
2385 complete checks for gstbuffer; would be nice if I could get the
2386 gcov stuff to work so I can see if I actually completed gstbuffer.c
2387 * check/gstcheck.h:
2388 add ASSERT_BUFFER_REFCOUNT
2390 2005-08-13 Tim-Philipp M??ller <tim at centricular dot net>
2392 * docs/gst/gstreamer-sections.txt:
2393 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
2394 * gst/gsttag.h:
2395 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
2396 spew out a warning if a tag that is already registered
2397 is re-registered, unless it is re-registered with a
2398 different type (#308438).
2400 2005-08-12 Tim-Philipp M??ller <tim at centricular dot net>
2402 * docs/pwg/appendix-porting.xml:
2403 * docs/pwg/building-state.xml:
2404 Add some paragraphs about state changes in 0.9 to the PWG
2405 and the porting guide, in particular about the new meaning
2406 of GST_STATE_PAUSED and how to write state change functions
2407 with concurrent access by multiple threads in mind.
2409 2005-08-11 Stefan Kost <ensonic@users.sf.net>
2411 * docs/gst/gstreamer-docs.sgml:
2412 * docs/libs/gstreamer-libs-docs.sgml:
2413 added deprecation and since indexes
2414 * libs/gst/controller/gst-controller.c:
2415 * libs/gst/controller/gst-helper.c:
2416 added since tags
2419 2005-08-11 Wim Taymans <wim@fluendo.com>
2421 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
2422 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
2423 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
2424 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
2425 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
2426 (gst_ghost_pad_set_target):
2427 Actually implement (re)setting the target on a ghostpad
2428 as described in the docs.
2430 2005-08-10 Tim-Philipp M??ller <tim at centricular dot net>
2432 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
2433 Check whether GST_DEBUG_NO_COLOR environment variable is
2434 set and disable coloured debug output if that is the case.
2436 2005-08-10 Tim-Philipp M??ller <tim at centricular dot net>
2438 * gst/base/gsttypefindhelper.c: (helper_find_peek),
2439 (gst_type_find_helper):
2440 The memory returned by gst_type_find_peek() needs to
2441 stay valid until the end of a typefind function, and
2442 typefind functions may keep results from different
2443 offsets around, so we can't just unref the buffer from
2444 the previous _peek(), but have to save all buffers
2445 returned by _peek() until typefinding is done and only
2446 free them then.
2448 2005-08-09 Tim-Philipp M??ller <tim at centricular dot net>
2450 * docs/gst/gstreamer-sections.txt:
2451 * gst/gstutils.h:
2452 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
2454 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2456 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
2457 Fix a pretty good memleak.
2459 2005-08-08 Tim-Philipp M??ller <tim at centricular dot net>
2461 * gst/gstiterator.h:
2462 Fix wrong include and 'make distcheck'.
2464 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2466 * gst/gstbin.c: (bin_bus_handler):
2467 Use gst_element_post_message() instead.
2469 2005-08-08 Tim-Philipp M??ller <tim at centricular dot net>
2471 * gst/base/gstadapter.h:
2472 * gst/base/gstbasesink.h:
2473 * gst/base/gstbasesrc.h:
2474 * gst/base/gstbasetransform.h:
2475 * gst/base/gstcollectpads.h:
2476 * gst/base/gstpushsrc.h:
2477 * gst/gstiterator.h:
2478 Add padding to our base elements' class and instance structs and
2479 to GstIterator (you will need to rebuild all plugins and apps!)
2481 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2483 * gst/gstbin.c: (bin_bus_handler):
2484 Make default message forwarding from child->bus to bin->bus
2485 threadsafe and make it not emit warnings if the parent has no bus.
2487 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2489 * gst/gstelement.c: (activate_pads):
2490 On paused->ready, set pad->caps to NULL, as is the documented
2491 behaviour in this state change. Fixes playback of series of
2492 media files when visualization is enabled in Totem.
2494 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2496 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
2497 Allow NULL as filter-caps (which means "any").
2499 2005-08-05 Stefan Kost <ensonic@users.sf.net>
2501 * docs/libs/gstreamer-libs-sections.txt:
2502 * libs/gst/controller/gst-controller.c:
2503 * libs/gst/controller/gst-controller.h:
2504 * libs/gst/controller/gst-helper.c:
2505 adding more entries to the docs and fix small doc-bugs
2507 2005-08-05 Stefan Kost <ensonic@users.sf.net>
2509 * docs/gst/gstreamer-docs.sgml:
2510 * docs/gst/gstreamer-sections.txt:
2511 * docs/gst/gstreamer.types:
2512 * docs/gst/tmpl/gstbasesink.sgml:
2513 * docs/gst/tmpl/gstbasesrc.sgml:
2514 * docs/gst/tmpl/gstbasetransform.sgml:
2515 * docs/gst/tmpl/gstfakesrc.sgml:
2516 * gst/base/gstcollectpads.c:
2517 * gst/base/gstcollectpads.h:
2518 * libs/gst/controller/gst-controller.c:
2519 * libs/gst/controller/gst-controller.h:
2520 * libs/gst/controller/gst-helper.c:
2521 * libs/gst/controller/gst-interpolation.c:
2522 * libs/gst/controller/lib.c:
2523 added long/short desc for controller docs
2524 added collectpads base class docs
2525 added correct includes to base-class docs
2527 2005-08-05 Stefan Kost <ensonic@users.sf.net>
2529 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
2530 (gst_test_mono_source_set_property),
2531 (gst_test_mono_source_class_init), (GST_START_TEST),
2532 (gst_controller_suite):
2533 * docs/gst/gstreamer-docs.sgml:
2534 * docs/gst/gstreamer-sections.txt:
2535 * docs/gst/gstreamer.types:
2536 * docs/libs/gstreamer-libs-docs.sgml:
2537 * docs/libs/gstreamer-libs-sections.txt:
2538 * gst/base/gstadapter.c:
2539 * libs/gst/controller/gst-controller.c:
2540 (gst_controlled_property_new), (gst_controlled_property_free),
2541 (gst_controller_new_valist),
2542 (gst_controller_remove_properties_valist),
2543 (gst_controller_sink_values), (_gst_controller_finalize):
2544 * libs/gst/controller/gst-controller.h:
2545 * libs/gst/controller/gst-helper.c:
2546 (gst_object_control_properties), (gst_object_uncontrol_properties),
2547 (gst_object_get_controller), (gst_object_set_controller),
2548 (gst_object_sink_values), (gst_object_get_value_arrays),
2549 (gst_object_get_value_array):
2550 more tests (and fixes) for the controller
2551 more docs for the controller
2552 integrated companies docs for the adapter
2554 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
2556 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
2557 (GST_START_TEST), (fakesrc_suite):
2558 add tests for sizetype
2560 2005-08-04 Andy Wingo <wingo@pobox.com>
2562 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
2563 fixes buffer_alloc proxying among other things.
2565 * gst/base/gstbasetransform.c:
2566 * gst/base/gstbasetransform.h:
2567 Revert patch to gstbasetransform from 7-28 removing
2568 delay_configure.
2570 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
2571 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
2572 Semantics changed, should return not the size of the output buffer
2573 but the byte size of a buffer with a given caps.
2575 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
2576 debug object.
2577 (gst_base_transform_configure_caps): Don't set out_size here: (in,
2578 out) are not the pad caps until setcaps finishes.
2579 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
2580 not-in-place case as well. Deal with changing from in-place to
2581 not-in-place within calling pad_alloc_buffer. Still a bit
2582 concerned about the overhead here...
2584 2005-08-03 Andy Wingo <wingo@pobox.com>
2586 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
2587 fixating is an error.
2589 2005-08-04 Edward Hervey <edward@fluendo.com>
2591 * gst/base/gstadapter.h:
2592 Added gst_adapter_get_type() to the header
2594 2005-08-03 Stefan Kost <ensonic@users.sf.net>
2596 * check/Makefile.am:
2597 * check/gst-libs/controller.c:
2598 * libs/gst/controller/gst-controller.c:
2599 (gst_controller_new_valist):
2600 added check test suite for the controller
2601 * gst/base/gstpushsrc.c:
2602 fixed a doc typo
2604 2005-08-03 Stefan Kost <ensonic@users.sf.net>
2606 * docs/gst/Makefile.am:
2607 * docs/gst/gstreamer-docs.sgml:
2608 * docs/gst/gstreamer-sections.txt:
2609 * docs/gst/gstreamer.types:
2610 * docs/gst/tmpl/gstfakesrc.sgml:
2611 * gst/base/README:
2612 * gst/base/gstbasesink.c:
2613 * gst/base/gstbasesink.h:
2614 * gst/base/gstbasesrc.c:
2615 * gst/base/gstbasesrc.h:
2616 * gst/base/gstbasetransform.c:
2617 * gst/base/gstpushsrc.c:
2618 * gst/base/gstpushsrc.h:
2619 add short/long description docs to base classes
2620 add pushsrc to the docs
2621 remove consolidated doc fragments
2623 2005-08-03 Stefan Kost <ensonic@users.sf.net>
2625 * configure.ac:
2626 * docs/libs/Makefile.am:
2627 * docs/libs/gstreamer-libs-docs.sgml:
2628 * docs/libs/gstreamer-libs-sections.txt:
2629 * docs/libs/gstreamer-libs.types:
2630 * examples/Makefile.am:
2631 * examples/controller/.cvsignore:
2632 * examples/controller/Makefile.am:
2633 * examples/controller/audio-example.c: (main):
2634 * libs/gst/Makefile.am:
2635 * libs/gst/controller/.cvsignore:
2636 * libs/gst/controller/Makefile.am:
2637 * libs/gst/controller/gst-controller.c:
2638 (on_object_controlled_property_changed), (gst_timed_value_compare),
2639 (gst_timed_value_find),
2640 (gst_controlled_property_set_interpolation_mode),
2641 (gst_controlled_property_new), (gst_controlled_property_free),
2642 (gst_controller_find_controlled_property),
2643 (gst_controller_new_valist), (gst_controller_new),
2644 (gst_controller_remove_properties_valist),
2645 (gst_controller_remove_properties), (gst_controller_set),
2646 (gst_controller_set_from_list), (gst_controller_unset),
2647 (gst_controller_get), (gst_controller_get_all),
2648 (gst_controller_sink_values), (gst_controller_get_value_arrays),
2649 (gst_controller_get_value_array),
2650 (gst_controller_set_interpolation_mode),
2651 (_gst_controller_finalize), (_gst_controller_init),
2652 (_gst_controller_class_init), (gst_controller_get_type):
2653 * libs/gst/controller/gst-controller.h:
2654 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
2655 (g_object_uncontrol_properties), (g_object_get_controller),
2656 (g_object_set_controller), (g_object_sink_values),
2657 (g_object_get_value_arrays), (g_object_get_value_array):
2658 * libs/gst/controller/gst-interpolation.c:
2659 (gst_controlled_property_find_timed_value_node),
2660 (interpolate_none_get), (interpolate_trigger_get),
2661 (interpolate_trigger_get_value_array):
2662 * libs/gst/controller/lib.c: (gst_controller_init):
2663 * pkgconfig/Makefile.am:
2664 * pkgconfig/gstreamer-control-uninstalled.pc.in:
2665 * pkgconfig/gstreamer-control.pc.in:
2666 * testsuite/Makefile.am:
2667 * testsuite/controller/.cvsignore:
2668 * testsuite/controller/Makefile.am:
2669 * testsuite/controller/interpolator.c: (main):
2670 added controller code
2671 removed dparam pc files
2673 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
2674 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
2675 (gst_collectpads_stop):
2676 Broadcast the condition when shutting down, to make sure we wake all
2677 threads up. Shut down pads on finalize, for safety.
2679 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
2680 * gst/base/gstbasetransform.c: (gst_base_transform_init),
2681 (gst_base_transform_handle_buffer),
2682 (gst_base_transform_change_state):
2683 Handle PAUSED->READY->PAUSED transition after negotiation
2684 occurred already.
2685 * gst/gstmessage.c: (gst_message_init):
2686 Extra piece of debug for new messages.
2688 2005-08-01 Stefan Kost <ensonic@users.sf.net>
2690 * configure.ac:
2691 * docs/gst/tmpl/gstbasesrc.sgml:
2692 * docs/gst/tmpl/gstelement.sgml:
2693 * docs/gst/tmpl/gstevent.sgml:
2694 * docs/gst/tmpl/gstfakesrc.sgml:
2695 * docs/gst/tmpl/gstformat.sgml:
2696 * docs/gst/tmpl/gstghostpad.sgml:
2697 * docs/gst/tmpl/gstpad.sgml:
2698 * docs/gst/tmpl/gstquery.sgml:
2699 * docs/gst/tmpl/gststructure.sgml:
2700 * docs/gst/tmpl/gsttaglist.sgml:
2701 * docs/gst/tmpl/gstvalue.sgml:
2702 * docs/libs/gstreamer-libs-docs.sgml:
2703 * docs/libs/gstreamer-libs-sections.txt:
2704 * docs/libs/gstreamer-libs.types:
2705 * libs/gst/Makefile.am:
2706 * libs/gst/control/.cvsignore:
2707 * libs/gst/control/Makefile.am:
2708 * libs/gst/control/control.c:
2709 * libs/gst/control/control.h:
2710 * libs/gst/control/dparam.c:
2711 * libs/gst/control/dparam.h:
2712 * libs/gst/control/dparam_smooth.c:
2713 * libs/gst/control/dparam_smooth.h:
2714 * libs/gst/control/dparamcommon.h:
2715 * libs/gst/control/dparammanager.c:
2716 * libs/gst/control/dparammanager.h:
2717 * libs/gst/control/dplinearinterp.c:
2718 * libs/gst/control/dplinearinterp.h:
2719 * libs/gst/control/unitconvert.c:
2720 * libs/gst/control/unitconvert.h:
2721 * testsuite/Makefile.am:
2722 * testsuite/dynparams/.cvsignore:
2723 * testsuite/dynparams/Makefile.am:
2724 * testsuite/dynparams/dparamstest.c:
2725 * tools/Makefile.am:
2726 * tools/gst-inspect.c: (print_element_info), (main):
2727 * tools/gst-xmlinspect.c: (print_element_info), (main):
2728 deactivate and remove dparams (libgstcontrol)
2730 2005-08-01 Tim-Philipp M??ller <tim at centricular dot net>
2732 * gst/elements/gsttypefindelement.c:
2733 (gst_type_find_element_have_type), (gst_type_find_element_init),
2734 (stop_typefinding), (gst_type_find_element_handle_event),
2735 (gst_type_find_element_chain), (gst_type_find_element_getrange):
2736 * gst/elements/gsttypefindelement.h:
2737 Set caps on all outgoing buffers, not just the first one.
2739 2005-08-01 Tim-Philipp M??ller <tim at centricular dot net>
2741 * gst/elements/gsttypefindelement.c:
2742 (gst_type_find_element_have_type),
2743 (gst_type_find_element_check_set_buffer_caps),
2744 (gst_type_find_element_init), (stop_typefinding),
2745 (gst_type_find_element_handle_event),
2746 (gst_type_find_element_chain), (gst_type_find_element_getrange):
2747 * gst/elements/gsttypefindelement.h:
2748 Set caps on first outgoing buffer when we've found the type.
2750 2005-08-01 Tim-Philipp M??ller <tim at centricular dot net>
2752 * docs/gst/gstreamer-docs.sgml:
2753 * docs/gst/gstreamer-sections.txt:
2754 * docs/gst/tmpl/gstscheduler.sgml:
2755 * docs/gst/tmpl/gstschedulerfactory.sgml:
2756 Remove some old cruft from docs.
2758 2005-07-31 Tim-Philipp M??ller <tim at centricular dot net>
2760 * gst/gstpad.h:
2761 Fix inline docs for GstPadLinkReturn.
2763 * gst/gststructure.c: (gst_structure_has_name):
2764 * gst/gststructure.h:
2765 * docs/gst/gstreamer-sections.txt:
2766 New API: gst_structure_has_name().
2768 2005-07-30 Tim-Philipp M??ller <tim at centricular dot net>
2770 * configure.ac:
2771 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
2772 and _LARGEFILE_SOURCE in config.h as required. Do not
2773 export those flags in our .pc files any longer (#142209).
2775 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
2777 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
2778 (gst_file_sink_do_seek), (gst_file_sink_event),
2779 (gst_file_sink_get_current_offset), (gst_file_sink_render):
2780 Redo seek/tell calls with large file support in mind; add some
2781 debugging messages; add log message that tells us when large
2782 file support is unavailable or not enabled for some reason.
2784 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
2785 Add log message that tells us when large file support
2786 is unavailable or not enabled for some reason.
2788 2005-07-29 Wim Taymans <wim@fluendo.com>
2790 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2791 Added test for removing an element with ghostpad from a bin.
2792 Fixed test as current implementation does the right thing.
2794 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
2795 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
2796 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
2797 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
2798 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
2799 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
2800 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
2801 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
2802 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
2803 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
2804 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
2805 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
2806 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
2807 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
2808 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
2809 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
2810 * gst/gstghostpad.h:
2811 Clean up ghostpads, remove properties for internal stuff.
2812 Make threadsafe.
2813 Fix refcounting.
2814 Prepare for switching targets, not all use cases work yet.
2816 2005-07-29 Wim Taymans <wim@fluendo.com>
2818 * docs/design/part-gstghostpad.txt:
2819 Small update.
2821 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
2822 (gst_bin_remove_func):
2823 Unlinking pads while holding the bin LOCK is not a good
2824 idea.
2826 * gst/gstpad.c: (gst_pad_class_init),
2827 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
2828 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
2829 No prob setting template after creating the pad.
2831 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
2833 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
2834 (gst_bus_peek), (gst_bus_source_dispatch),
2835 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
2836 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
2837 gst_bus_poll may be called from other threads. Handle
2838 this nicely by not making poll_data disappear off the
2839 stack once gst_bus_poll returns.
2840 gst_bus_peek now increments the refcount on the returned
2841 message.
2843 2005-07-29 Wim Taymans <wim@fluendo.com>
2845 * docs/design/part-gstghostpad.txt:
2846 Overview of current GhostPad datastructures and use
2847 cases for changing the target.
2849 2005-07-28 Wim Taymans <wim@fluendo.com>
2851 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2852 Added checks for hierarchy consistency whan adding linked
2853 elements to bins.
2855 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
2856 Added check to test element scheduling without bin/pipeline.
2858 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
2859 First add elements to bin, then link.
2861 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
2862 (gst_bin_remove_func):
2863 Unlink pads from elements added/removed from bin to maintain
2864 hierarchy consistency.
2866 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2868 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
2869 (gst_base_transform_handle_buffer):
2870 * gst/base/gstbasetransform.h:
2871 Remove broken delay_configure (fixes renegotiation of software
2872 scaling pipelines); remove some leftover printf()s.
2874 2005-07-28 Wim Taymans <wim@fluendo.com>
2876 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
2877 Added some more tests for wrong hierarchy
2879 * docs/design/part-overview.txt:
2880 Some updates.
2882 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
2883 Cleanups.
2885 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
2886 (gst_element_dispose):
2887 Some more cleanups.
2889 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
2890 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
2891 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
2892 (gst_pad_set_caps), (gst_pad_send_event):
2893 Check for correct hierarchy when linking pads. Moving to
2894 strict requirement for ghostpads when linking elements in
2895 different bins.
2897 * gst/gstpad.h:
2898 Clean ups. Added WRONG_HIERARCHY return value.
2900 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2902 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
2903 Better debug if no transform is possible.
2905 2005-07-27 Wim Taymans <wim@fluendo.com>
2907 * docs/random/wtay/network-transp:
2908 Some old doc I had.
2910 2005-07-27 Wim Taymans <wim@fluendo.com>
2912 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
2913 (gst_dp_event_from_packet):
2914 Fix serialization of seek events.
2916 2005-07-27 Wim Taymans <wim@fluendo.com>
2918 * check/gst-libs/gdp.c: (GST_START_TEST):
2919 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
2920 Fix compilation and fix event serialization.
2922 2005-07-27 Wim Taymans <wim@fluendo.com>
2924 * CHANGES-0.9:
2925 * docs/design/part-TODO.txt:
2926 * docs/design/part-events.txt:
2927 Some docs updates
2929 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2930 (gst_base_sink_event), (gst_base_sink_do_sync),
2931 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
2932 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
2933 (gst_base_src_do_seek), (gst_base_src_event_handler),
2934 (gst_base_src_loop):
2935 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
2936 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2937 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
2938 (gst_base_transform_event), (gst_base_transform_handle_buffer),
2939 (gst_base_transform_set_passthrough),
2940 (gst_base_transform_is_passthrough):
2941 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
2942 * gst/elements/gstfilesink.c: (gst_file_sink_event):
2943 Event updates.
2945 * gst/gstbuffer.h:
2946 Use faster casts.
2948 * gst/gstelement.c: (gst_element_seek):
2949 * gst/gstelement.h:
2950 Update gst_element_seek.
2952 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
2953 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
2954 (gst_event_new_flush_start), (gst_event_new_flush_stop),
2955 (gst_event_new_eos), (gst_event_new_newsegment),
2956 (gst_event_parse_newsegment), (gst_event_new_tag),
2957 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
2958 (gst_event_parse_qos), (gst_event_new_seek),
2959 (gst_event_parse_seek), (gst_event_new_navigation):
2960 * gst/gstevent.h:
2961 Make GstEvent use GstStructure. Add parsing code, make sure the
2962 API is sufficiently generic.
2963 Mark possible directions of events and serialization.
2965 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
2966 (_gst_message_copy), (gst_message_new_segment_start),
2967 (gst_message_new_segment_done), (gst_message_new_custom),
2968 (gst_message_parse_segment_start),
2969 (gst_message_parse_segment_done):
2970 Small cleanups.
2972 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
2973 (gst_pad_set_caps), (gst_pad_send_event):
2974 Update for new events.
2975 Catch events sent in wrong directions.
2977 * gst/gstqueue.c: (gst_queue_link_src),
2978 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
2979 (gst_queue_handle_src_query):
2980 Event updates.
2982 * gst/gsttag.c:
2983 * gst/gsttag.h:
2984 Remove event code from this file.
2986 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
2987 (gst_dp_event_from_packet):
2988 Event updates.
2990 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2992 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
2993 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
2994 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
2995 Make debugging actually useful.
2997 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
2999 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
3000 (gst_pad_fixate_caps):
3001 Implement default fixation once again, so that gst_pad_fixate()
3002 actually does anything at all. This probably needs to be some
3003 sort of a last resort, and use profile-based fixation first, but
3004 since that doesn't exist yet, this is the best we have. Fixes
3005 visualization in Totem.
3007 2005-07-22 Wim Taymans <wim@fluendo.com>
3009 * docs/design/part-events.txt:
3010 Small update.
3012 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3013 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
3014 (gst_base_sink_activate_pull):
3015 Some more comments.
3017 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
3018 (gst_fake_src_create):
3019 Fix handoff marshall.
3021 * gst/elements/gstidentity.c: (gst_identity_class_init),
3022 (gst_identity_transform_ip):
3023 We're a real inplace element.
3025 * gst/gstbus.c: (gst_bus_post):
3026 Added some comments.
3028 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
3029 * tests/muxing/case1.c: (main):
3030 * tests/sched/dynamic-pipeline.c: (main):
3031 * tests/sched/interrupt1.c: (main):
3032 * tests/sched/interrupt2.c: (main):
3033 * tests/sched/interrupt3.c: (main):
3034 * tests/sched/runxml.c: (main):
3035 * tests/sched/sched-stress.c: (main):
3036 * tests/seeking/seeking1.c: (event_received), (main):
3037 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
3038 (main):
3039 * tests/threadstate/threadstate3.c: (main):
3040 * tests/threadstate/threadstate4.c: (main):
3041 * tests/threadstate/threadstate5.c: (main):
3042 Fix the tests.
3044 2005-07-21 Wim Taymans <wim@fluendo.com>
3046 * docs/design/part-seeking.txt:
3047 Some small additions.
3049 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3050 (gst_base_sink_get_times), (gst_base_sink_do_sync),
3051 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
3052 * gst/base/gstbasesink.h:
3053 discont values are gint64, handle the math correctly.
3055 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3056 Make the basesrc report error if the source pad is not linked.
3058 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
3059 (gst_queue_loop), (gst_queue_handle_src_query),
3060 (gst_queue_src_activate_push):
3061 Make queue collect data even if the srcpad is not linked.
3062 Start pushing out data as soon as it is linked.
3064 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
3065 * gst/gstutils.h:
3066 Added gst_flow_get_name() to ease error reporting.
3068 2005-07-20 Wim Taymans <wim@fluendo.com>
3070 * gst/gstmessage.c: (gst_message_new_segment_start),
3071 (gst_message_new_segment_done), (gst_message_parse_segment_start),
3072 (gst_message_parse_segment_done):
3073 * gst/gstmessage.h:
3074 Added a bunch of messages for advanced seeking.
3076 * gst/parse/grammar.y:
3077 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
3078 (gst_dpman_state_changed):
3079 Fix some new-pad -> pad-added signals
3081 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3083 * docs/manual/appendix-porting.xml:
3084 * docs/pwg/appendix-porting.xml:
3085 Document new-pad/state-change signal renames and the FixedList
3086 type rename.
3088 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3090 * docs/manual/advanced-autoplugging.xml:
3091 * docs/manual/basics-helloworld.xml:
3092 * docs/manual/basics-pads.xml:
3093 * docs/random/ds/0.9-suggested-changes:
3094 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
3095 * gst/gstelement.h:
3096 * gst/gstevent.h:
3097 * gst/gstformat.h:
3098 * gst/gstquery.h:
3099 * gst/gststructure.c: (gst_structure_value_get_generic_type),
3100 (gst_structure_parse_array), (gst_structure_parse_value):
3101 * gst/gstvalue.c: (gst_type_is_fixed),
3102 (gst_value_list_prepend_value), (gst_value_list_append_value),
3103 (gst_value_list_get_size), (gst_value_list_get_value),
3104 (gst_value_transform_array_string), (gst_value_serialize_array),
3105 (gst_value_deserialize_array), (gst_value_intersect_array),
3106 (gst_value_is_fixed), (_gst_value_initialize):
3107 * gst/gstvalue.h:
3108 GstElement::new-pad -> pad-added, GstElement::state-change ->
3109 state-changed, GstValueFixedList -> GstValueArray, add format and
3110 flags as their own arguments in gst_element_seek() (should improve
3111 "bindeability"), remove function generators since they don't work
3112 under a whole bunch of compilers (they were deprecated already
3113 anyway).
3115 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3117 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
3118 (_gst_debug_register_funcptr):
3119 * gst/gstinfo.h:
3120 Fix illegal cast on some platforms (#309253).
3122 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3124 * gst/gstmessage.c: (gst_message_new_custom):
3125 * gst/gstmessage.h:
3126 Add _new_custom, make _new_application a macro to _new_custom.
3128 2005-07-20 Wim Taymans <wim@fluendo.com>
3130 * gst/base/gstbasesrc.c: (gst_base_src_init),
3131 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3132 * gst/base/gstbasesrc.h:
3133 Add a gboolean to decide when to push out a discont.
3135 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3136 (gst_queue_loop), (gst_queue_handle_src_query),
3137 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
3138 (gst_queue_set_property), (gst_queue_get_property):
3139 Some cleanups.
3141 * tests/threadstate/threadstate1.c: (main):
3142 Make a thread test compile and run... very silly..
3145 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3147 * docs/manual/appendix-porting.xml:
3148 Mention removal of libgstgconf-0.9.la and existence of gconf
3149 elements.
3151 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3153 * docs/pwg/advanced-clock.xml:
3154 * docs/pwg/appendix-porting.xml:
3155 * docs/pwg/intro-preface.xml:
3156 * docs/pwg/other-base.xml:
3157 * docs/pwg/other-manager.xml:
3158 * docs/pwg/other-nton.xml:
3159 * docs/pwg/other-ntoone.xml:
3160 * docs/pwg/other-oneton.xml:
3161 * docs/pwg/pwg.xml:
3162 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
3163 demuxer), remove n-to-n (was never written), fix some code examples
3164 and links and update the porting section to include all this.
3166 2005-07-19 Wim Taymans <wim@fluendo.com>
3168 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
3169 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
3170 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
3171 (gst_queue_src_activate_push), (gst_queue_change_state),
3172 (gst_queue_get_property):
3173 * gst/gstqueue.h:
3174 Propagate GstFlowReturn more intelligently upstream and output
3175 an ERROR/EOS when streaming stopped due to fatal error.
3177 2005-07-19 Wim Taymans <wim@fluendo.com>
3179 * tools/gst-launch.c: (check_intr), (event_loop), (main):
3180 Don't block forever for the state change to complete, the
3181 pipeline already did with a sensible timeout.
3183 2005-07-19 Wim Taymans <wim@fluendo.com>
3185 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3186 Make sure we never call the create function is we
3187 got deactivated.
3189 2005-07-19 Andy Wingo <wingo@pobox.com>
3191 * gst/parse/parse.l: Attempt to solve bug #172815.
3193 2005-07-19 Wim Taymans <wim@fluendo.com>
3195 * docs/design/part-clocks.txt:
3196 * docs/design/part-events.txt:
3197 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
3198 Small docs updates.
3199 Only update the seeking values when we are not
3200 busy streaming.
3202 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
3204 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3205 Oops, ignore the result of gst_pad_push_event here.
3207 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
3209 * gst/base/gstbasesrc.c: (gst_base_src_loop),
3210 (gst_base_src_activate_push):
3211 Send discont event from the loop function, as pads
3212 aren't activated yet in the activate_push handler.
3214 * gst/gstbin.c: (bin_bus_handler):
3215 Don't leak element name.
3217 2005-07-18 Andy Wingo <wingo@pobox.com>
3219 * configure.ac: Use AS_LIBTOOL_TAGS.
3221 2005-07-18 Wim Taymans <wim@fluendo.com>
3223 * docs/gst/gstreamer.types:
3224 Remove deleted types.
3226 2005-07-18 Wim Taymans <wim@fluendo.com>
3228 * check/elements/gstfakesrc.c: (GST_START_TEST):
3229 * configure.ac:
3230 * gst/Makefile.am:
3231 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
3232 (init_popt_callback):
3233 * gst/gst.h:
3234 * gst/gst_private.h:
3235 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
3236 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
3237 * gst/gstbin.h:
3238 * gst/gstbus.h:
3239 * gst/gstconfig.h.in:
3240 * gst/gstelement.c: (gst_element_class_init),
3241 (gst_element_set_base_time), (gst_element_get_base_time),
3242 (iterator_fold_with_resync), (gst_element_change_state),
3243 (gst_element_dispose), (gst_element_get_bus):
3244 * gst/gstelement.h:
3245 * gst/gstelementfactory.h:
3246 * gst/gsterror.c: (_gst_core_errors_init):
3247 * gst/gsterror.h:
3248 * gst/gstevent.h:
3249 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
3250 * gst/gstindex.c:
3251 * gst/gstinfo.c: (_gst_debug_init):
3252 * gst/gstmessage.c: (_gst_message_copy):
3253 * gst/gstmessage.h:
3254 * gst/gstminiobject.h:
3255 * gst/gstobject.c:
3256 * gst/gstobject.h:
3257 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3258 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
3259 * gst/gstpad.h:
3260 * gst/gstparse.h:
3261 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
3262 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
3263 (gst_pipeline_get_last_stream_time):
3264 * gst/gstpipeline.h:
3265 * gst/gstpluginfeature.h:
3266 * gst/gstquery.h:
3267 * gst/gstscheduler.c:
3268 * gst/gstscheduler.h:
3269 * gst/gststructure.h:
3270 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
3271 (gst_task_finalize), (gst_task_func), (gst_task_create),
3272 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
3273 (gst_task_stop), (gst_task_pause):
3274 * gst/gsttask.h:
3275 * gst/gsttypefind.h:
3276 * gst/gsttypes.h:
3277 * gst/registries/gstlibxmlregistry.c: (load_feature),
3278 (gst_xml_registry_load), (gst_xml_registry_save_feature):
3279 * gst/registries/gstxmlregistry.c:
3280 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
3281 * gst/schedulers/threadscheduler.c:
3282 * libs/gst/control/dparammanager.h:
3283 * tools/gst-inspect.c: (print_element_list),
3284 (print_plugin_features), (print_element_features):
3285 * tools/gst-xmlinspect.c: (print_element_list),
3286 (print_plugin_info), (main):
3287 Removed plugable schedulers.
3288 Removed Scheduler/Manager from elements.
3289 Removed gsttypes.h, rearranged includes.
3290 Removed dependency pad<->element, element<>pipeline, and
3291 various others, fix includes.
3292 implement gst_pad_get_parent() with gst_object_get_parent()
3293 Make GstTask sefcontained.
3294 Fix _get_state() on GstBin, it did not return ASYNC with a 0
3295 timeout.
3296 Fix endless loop in iterator_fold_with_resync.
3299 2005-07-18 Wim Taymans <wim@fluendo.com>
3301 * gst/Makefile.am:
3302 * gst/gstarch.h:
3303 Remove old file.
3305 2005-07-18 Wim Taymans <wim@fluendo.com>
3307 * gst/Makefile.am:
3308 No more cothreads.h
3310 2005-07-18 Wim Taymans <wim@fluendo.com>
3312 * gst/cothreads.c:
3313 * gst/cothreads.h:
3314 Let's remove these.
3316 2005-07-18 Wim Taymans <wim@fluendo.com>
3318 * docs/design/part-dynamic.txt:
3319 * docs/design/part-events.txt:
3320 * docs/design/part-seeking.txt:
3321 Some more docs in the works.
3323 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
3324 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
3325 (gst_base_transform_setcaps), (gst_base_transform_get_size),
3326 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
3327 (gst_base_transform_handle_buffer),
3328 (gst_base_transform_sink_activate_push),
3329 (gst_base_transform_src_activate_pull),
3330 (gst_base_transform_set_passthrough),
3331 (gst_base_transform_is_passthrough):
3332 Refcounting fixes.
3334 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
3335 Cleanups.
3337 * gst/gstevent.c: (gst_event_finalize):
3338 Set SRC to NULL.
3340 * gst/gstutils.c: (gst_element_unlink),
3341 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
3342 (gst_pad_proxy_setcaps):
3343 * gst/gstutils.h:
3344 Add _get_parent_element() to get a pads parent as an element.
3346 2005-07-18 Wim Taymans <wim@fluendo.com>
3348 * check/gst/gstbin.c: (GST_START_TEST):
3349 Remove bogus test.
3351 2005-07-18 Wim Taymans <wim@fluendo.com>
3353 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
3354 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
3355 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
3356 (gst_base_sink_event), (gst_base_sink_do_sync),
3357 (gst_base_sink_chain), (gst_base_sink_loop),
3358 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
3359 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
3360 Refcounting fixes.
3361 Fix logic for returning ASYNC when not prerolled.
3363 2005-07-18 Wim Taymans <wim@fluendo.com>
3365 * gst/gstqueue.c: (gst_queue_handle_sink_event):
3366 Fix nasty refcount bug.
3368 2005-07-16 Philippe Khalaf <burger@speedy.org>
3370 * gst/elements/gstfdsrc.c:
3371 * gst/elements/gstfdsrc.h:
3372 * gst/elements/gstelements.c:
3373 * gst/elements/Makefile.am:
3374 Ported fdsrc to 0.9.
3376 2005-07-16 Wim Taymans <wim@fluendo.com>
3378 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3379 (gst_base_sink_do_sync):
3380 Fix compile error.
3382 2005-07-16 Wim Taymans <wim@fluendo.com>
3384 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3385 (gst_base_sink_event), (gst_base_sink_get_times),
3386 (gst_base_sink_do_sync), (gst_base_sink_change_state):
3387 * gst/base/gstbasesink.h:
3388 Store and use discont values when syncing buffers as described
3389 in design docs.
3391 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
3392 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
3393 (gst_base_src_activate_push):
3394 Push discont event when starting.
3396 * gst/elements/gstidentity.c: (gst_identity_transform):
3397 Small cleanups.
3399 * gst/gstbin.c: (gst_bin_change_state):
3400 Small cleanups in base_time distribution.
3402 * gst/gstelement.c: (gst_element_set_base_time),
3403 (gst_element_get_base_time), (gst_element_change_state):
3404 * gst/gstelement.h:
3405 Added methods for the base_time of the element.
3406 Some MT fixes.
3408 * gst/gstpipeline.c: (gst_pipeline_send_event),
3409 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
3410 (gst_pipeline_get_last_stream_time):
3411 * gst/gstpipeline.h:
3412 MT fixes.
3413 Handle seeking as described in design doc, remove stream_time
3414 hack.
3415 Cleanups clock and stream_time selection code. Added accessors
3416 for the stream_time.
3419 2005-07-16 Andy Wingo <wingo@pobox.com>
3421 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
3422 (#305291).
3424 2005-07-16 Wim Taymans <wim@fluendo.com>
3426 * check/gst/gstbin.c: (GST_START_TEST):
3427 Make elements silent as the deep_notify refs the
3428 parent, which might make the test fail.
3430 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
3431 Don't hold the lock for too long.
3433 2005-07-16 Tim-Philipp M??ller <tim at centricular dot net>
3435 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
3436 Don't unref the caps we passed to gst_caps_make_writable() after
3437 passing them. gst_caps_make_writable() will do that for us.
3439 2005-07-15 Andy Wingo <wingo@pobox.com>
3441 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
3442 (#157311).
3444 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
3445 own marshalling function for the handoff signal. Properly type the
3446 buffer as a buffer. Fixes some warnings. Should do a more general
3447 solution.
3448 (gst_identity_class_init): Plug into the right marshaller.
3450 2005-07-15 Wim Taymans <wim@fluendo.com>
3452 * docs/design/part-TODO.txt:
3453 * docs/design/part-clocks.txt:
3454 * docs/design/part-element-sink.txt:
3455 * docs/design/part-events.txt:
3456 * docs/design/part-gstpipeline.txt:
3457 Updated docs, mostly DISCONT related.
3459 2005-07-15 Tim-Philipp M??ller <tim at centricular dot net>
3461 * docs/pwg/building-pads.xml:
3462 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
3464 2005-07-15 Andy Wingo <wingo@pobox.com>
3466 * tools/gst-typefind.c: Update, add copyright block.
3468 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
3469 Normalize and truncate caps before fixation.
3471 * gst/gstcaps.h:
3472 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
3473 discards all but the first structure from its argument.
3475 2005-07-15 Wim Taymans <wim@fluendo.com>
3477 * gst/base/gstbasetransform.c: (gst_base_transform_init),
3478 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
3479 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
3480 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
3481 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
3482 (gst_base_transform_chain), (gst_base_transform_change_state),
3483 (gst_base_transform_set_passthrough),
3484 (gst_base_transform_is_passthrough):
3485 * gst/base/gstbasetransform.h:
3486 Make passthrough work using the bufferpools.
3487 Changed API a bit, subclasses have to write into a buffer
3488 provided by the base class.
3489 More debug info in nego functions.
3491 * gst/elements/gstidentity.c: (gst_identity_init),
3492 (gst_identity_transform):
3493 Port to new base class.
3495 2005-07-15 Wim Taymans <wim@fluendo.com>
3497 * gst/gstmessage.c: (gst_message_new_state_changed):
3498 * tools/gst-launch.c: (event_loop), (main):
3499 Totally dump messages in -launch with the -m option.
3500 Fix message name for State messages,
3502 2005-07-14 Wim Taymans <wim@fluendo.com>
3504 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3505 Post error messages on errors.
3507 2005-07-14 Wim Taymans <wim@fluendo.com>
3509 * gst/gstcaps.c: (gst_caps_do_simplify):
3510 Remove debug info.
3512 * gst/gsterror.h:
3513 Define error for stream stopped.
3515 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
3516 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
3517 Do proper return values.
3519 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
3520 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
3521 (gst_pad_get_range):
3522 Better return values.
3524 * gst/gstpad.h:
3525 Reorganise return values, add macro to check for fatal errors.
3527 * gst/gstqueue.c: (gst_queue_chain):
3528 Return proper GstFlowReturn values,
3530 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
3532 * docs/gst/gstreamer-sections.txt:
3533 * docs/gst/gstreamer.types:
3534 * docs/gst/tmpl/gst.sgml:
3535 * docs/gst/tmpl/gstbasesink.sgml:
3536 * docs/gst/tmpl/gstbasesrc.sgml:
3537 * docs/gst/tmpl/gstbasetransform.sgml:
3538 * docs/gst/tmpl/gstbin.sgml:
3539 * docs/gst/tmpl/gstbuffer.sgml:
3540 * docs/gst/tmpl/gstcaps.sgml:
3541 * docs/gst/tmpl/gstclock.sgml:
3542 * docs/gst/tmpl/gstcompat.sgml:
3543 * docs/gst/tmpl/gstconfig.sgml:
3544 * docs/gst/tmpl/gstelement.sgml:
3545 * docs/gst/tmpl/gstelementdetails.sgml:
3546 * docs/gst/tmpl/gstelementfactory.sgml:
3547 * docs/gst/tmpl/gstenumtypes.sgml:
3548 * docs/gst/tmpl/gsterror.sgml:
3549 * docs/gst/tmpl/gstevent.sgml:
3550 * docs/gst/tmpl/gstfakesink.sgml:
3551 * docs/gst/tmpl/gstfakesrc.sgml:
3552 * docs/gst/tmpl/gstfilesink.sgml:
3553 * docs/gst/tmpl/gstfilesrc.sgml:
3554 * docs/gst/tmpl/gstfilter.sgml:
3555 * docs/gst/tmpl/gstformat.sgml:
3556 * docs/gst/tmpl/gstghostpad.sgml:
3557 * docs/gst/tmpl/gstimplementsinterface.sgml:
3558 * docs/gst/tmpl/gstindex.sgml:
3559 * docs/gst/tmpl/gstindexfactory.sgml:
3560 * docs/gst/tmpl/gstinfo.sgml:
3561 * docs/gst/tmpl/gstiterator.sgml:
3562 * docs/gst/tmpl/gstmacros.sgml:
3563 * docs/gst/tmpl/gstmemchunk.sgml:
3564 * docs/gst/tmpl/gstminiobject.sgml:
3565 * docs/gst/tmpl/gstobject.sgml:
3566 * docs/gst/tmpl/gstpad.sgml:
3567 * docs/gst/tmpl/gstpadtemplate.sgml:
3568 * docs/gst/tmpl/gstparse.sgml:
3569 * docs/gst/tmpl/gstpipeline.sgml:
3570 * docs/gst/tmpl/gstplugin.sgml:
3571 * docs/gst/tmpl/gstpluginfeature.sgml:
3572 * docs/gst/tmpl/gstquery.sgml:
3573 * docs/gst/tmpl/gstqueue.sgml:
3574 * docs/gst/tmpl/gstregistry.sgml:
3575 * docs/gst/tmpl/gstregistrypool.sgml:
3576 * docs/gst/tmpl/gstscheduler.sgml:
3577 * docs/gst/tmpl/gstschedulerfactory.sgml:
3578 * docs/gst/tmpl/gststructure.sgml:
3579 * docs/gst/tmpl/gstsystemclock.sgml:
3580 * docs/gst/tmpl/gsttaglist.sgml:
3581 * docs/gst/tmpl/gsttagsetter.sgml:
3582 * docs/gst/tmpl/gsttrace.sgml:
3583 * docs/gst/tmpl/gsttrashstack.sgml:
3584 * docs/gst/tmpl/gsttypefind.sgml:
3585 * docs/gst/tmpl/gsttypefindfactory.sgml:
3586 * docs/gst/tmpl/gsttypes.sgml:
3587 * docs/gst/tmpl/gsturihandler.sgml:
3588 * docs/gst/tmpl/gsturitype.sgml:
3589 * docs/gst/tmpl/gstutils.sgml:
3590 * docs/gst/tmpl/gstvalue.sgml:
3591 * docs/gst/tmpl/gstversion.sgml:
3592 * docs/gst/tmpl/gstxml.sgml:
3593 * docs/libs/tmpl/gstcontrol.sgml:
3594 * docs/libs/tmpl/gstdataprotocol.sgml:
3595 * docs/libs/tmpl/gstdparam.sgml:
3596 * docs/libs/tmpl/gstdplinint.sgml:
3597 * docs/libs/tmpl/gstdpman.sgml:
3598 * docs/libs/tmpl/gstdpsmooth.sgml:
3599 * docs/libs/tmpl/gstgetbits.sgml:
3600 * docs/libs/tmpl/gstunitconvert.sgml:
3601 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
3602 (gst_push_src_base_init), (gst_push_src_class_init),
3603 (gst_push_src_init), (gst_push_src_create):
3604 * gst/base/gstpushsrc.h:
3605 * gst/elements/gstelements.c:
3606 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
3607 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
3608 (gst_fake_sink_init), (gst_fake_sink_set_property),
3609 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
3610 (gst_fake_sink_event), (gst_fake_sink_preroll),
3611 (gst_fake_sink_render), (gst_fake_sink_change_state):
3612 * gst/elements/gstfakesink.h:
3613 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
3614 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
3615 (gst_fake_src_base_init), (gst_fake_src_class_init),
3616 (gst_fake_src_init), (gst_fake_src_event_handler),
3617 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
3618 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
3619 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
3620 (gst_fake_src_create_buffer), (gst_fake_src_create),
3621 (gst_fake_src_start), (gst_fake_src_stop):
3622 * gst/elements/gstfakesrc.h:
3623 * gst/elements/gstfilesink.c: (_do_init),
3624 (gst_file_sink_base_init), (gst_file_sink_class_init),
3625 (gst_file_sink_init), (gst_file_sink_dispose),
3626 (gst_file_sink_set_location), (gst_file_sink_set_property),
3627 (gst_file_sink_get_property), (gst_file_sink_open_file),
3628 (gst_file_sink_close_file), (gst_file_sink_query),
3629 (gst_file_sink_event), (gst_file_sink_render),
3630 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
3631 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
3632 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
3633 * gst/elements/gstfilesink.h:
3634 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
3635 (gst_file_src_class_init), (gst_file_src_init),
3636 (gst_file_src_finalize), (gst_file_src_set_location),
3637 (gst_file_src_set_property), (gst_file_src_get_property),
3638 (gst_file_src_map_region), (gst_file_src_map_small_region),
3639 (gst_file_src_create_mmap), (gst_file_src_create_read),
3640 (gst_file_src_create), (gst_file_src_is_seekable),
3641 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
3642 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
3643 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
3644 (gst_file_src_uri_handler_init):
3645 * gst/elements/gstfilesrc.h:
3646 more autistic cleanliness in functions/names/defines
3648 2005-07-13 Andy Wingo <wingo@pobox.com>
3650 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
3651 source couldn't negotiate.
3653 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
3654 connections again.
3656 * gst/gstutils.h:
3657 * gst/gstutils.c (gst_element_link_pads_filtered): New old
3658 function. I am channeling Hades. Put your boots on suckers!!!
3660 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
3662 * testsuite/caps/Makefile.am:
3663 * testsuite/caps/value_compare.c:
3664 * testsuite/caps/value_intersect.c:
3665 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3666 move two testsuite apps over to the check dir
3668 2005-07-12 Wim Taymans <wim@fluendo.com>
3670 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
3671 Added more debug info in the negotiate process.
3673 * gst/gstmessage.h:
3674 Prepare for segment playback.
3676 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
3677 Better debugging.
3679 * gst/gstutils.c:
3680 Some more docs.
3682 * tools/gst-launch.c: (main):
3683 NULL pipeline on errors.
3685 2005-07-12 Andy Wingo <wingo@pobox.com>
3687 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
3688 not it comes from a malloc region. Make sure our copy gets freed.
3690 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
3692 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
3693 * check/gst/gstmessage.c: (GST_START_TEST):
3694 * check/gst/gststructure.c: (GST_START_TEST),
3695 (gst_structure_suite), (main):
3696 more testing
3697 * gst/gstelement.c: (gst_element_message_full):
3698 clean up GError and debug string now that they get copied
3699 * gst/gstmessage.c: (gst_message_new_error),
3700 (gst_message_new_warning), (gst_message_parse_error),
3701 (gst_message_parse_warning):
3702 use GST_TYPE_G_ERROR for structure_new, and take copies of
3703 arguments, so that we don't mess up refcounting
3705 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
3707 * check/Makefile.am:
3708 add per-test valgrind targets
3709 * check/gst-libs/gdp.c: (GST_START_TEST),
3710 (gst_data_protocol_suite), (main):
3711 clean up
3713 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
3715 * check/Makefile.am:
3716 instate more valgrindable tests
3717 * check/elements/gstfakesrc.c: (chain_func), (event_func),
3718 (GST_START_TEST), (fakesrc_suite):
3719 * check/gst/gstpad.c: (GST_START_TEST):
3720 * check/gst/gststructure.c: (GST_START_TEST):
3721 fix test leaks
3722 * docs/gst/tmpl/gstminiobject.sgml:
3723 * gst/gstpad.c: (gst_pad_finalize):
3724 fix the static mutex leak
3726 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
3728 * check/Makefile.am:
3729 add two more tests for valgrinding
3730 * check/gst/gstvalue.c: (GST_START_TEST):
3731 test refcount of deserialized buffer, found a leak
3732 * docs/gst/gstreamer-docs.sgml:
3733 * docs/gst/gstreamer-sections.txt:
3734 * docs/gst/gstreamer.types:
3735 * docs/gst/tmpl/gstminiobject.sgml:
3736 add miniobject to docs
3737 * gst/gstminiobject.c:
3738 add some docs
3739 * gst/gstvalue.c: (gst_value_deserialize_buffer),
3740 (gst_string_unwrap):
3741 fix a hard-to-find invalid write for one of the tests
3742 fix a leak for deserialized buffers
3744 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
3746 * docs/pwg/advanced-events.xml:
3747 * docs/pwg/advanced-request.xml:
3748 * docs/pwg/advanced-scheduling.xml:
3749 * docs/pwg/appendix-porting.xml:
3750 * docs/pwg/building-boiler.xml:
3751 * docs/pwg/intro-preface.xml:
3752 * docs/pwg/other-ntoone.xml:
3753 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
3754 of example code and explanation for pad activation, loop() and
3755 getrange() functions and a bit more. Remove old comments pointing
3756 to loop-functions.
3757 * examples/pwg/Makefile.am:
3758 Add loop/getrange examples.
3760 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
3762 * configure.ac:
3763 check for valgrind binary + some fixes
3764 * check/gst.supp:
3765 valgrind suppressions for the tests
3766 * check/Makefile.am:
3767 add a valgrind: target that valgrinds the unit tests
3768 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
3769 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
3770 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3771 * check/gst/gstghostpad.c:
3772 added some cleanup
3773 * check/gst/gstdata.c:
3774 removed
3775 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
3776 (thread_unref), (gst_mini_object_suite), (main):
3777 added
3778 * gst/gst.c: (gst_deinit):
3779 * gst/gst.h:
3780 add a method to clean up.
3781 * gst/gstsystemclock.c: (gst_system_clock_dispose),
3782 (gst_system_clock_obtain):
3783 allow for disposing the system clock.
3784 * tools/gst-launch.c: (main):
3785 deinit
3787 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
3789 * docs/gst/tmpl/gstbasesrc.sgml:
3790 * docs/gst/tmpl/gstfakesrc.sgml:
3791 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3792 (gst_base_src_init), (gst_base_src_set_property),
3793 (gst_base_src_get_property), (gst_base_src_get_range),
3794 (gst_base_src_start):
3795 * gst/base/gstbasesrc.h:
3796 add num-buffers property
3797 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
3798 (gst_fakesrc_init), (gst_fakesrc_set_property),
3799 (gst_fakesrc_get_property), (gst_fakesrc_create),
3800 (gst_fakesrc_start):
3801 remove num-buffers property
3803 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
3805 * docs/gst/gstreamer-sections.txt:
3806 * docs/gst/tmpl/gstbasesink.sgml:
3807 * docs/gst/tmpl/gstbasesrc.sgml:
3808 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
3809 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
3810 (gst_base_sink_finalize), (gst_base_sink_set_clock),
3811 (gst_base_sink_set_property), (gst_base_sink_get_property),
3812 (gst_base_sink_handle_object), (gst_base_sink_event),
3813 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3814 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
3815 (gst_base_sink_loop), (gst_base_sink_deactivate),
3816 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
3817 (gst_base_sink_change_state):
3818 * gst/base/gstbasesink.h:
3819 * gst/base/gstbasesrc.h:
3820 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
3821 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
3822 (gst_filesink_init):
3823 more macro splitting
3825 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
3827 * gst/gstelement.c: (gst_element_get_bus):
3828 add debug
3829 * tools/gst-launch.c: (check_intr), (event_loop):
3830 fix bus leaks
3832 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
3834 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
3835 fix a caps leak
3837 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
3839 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3840 (gst_base_src_finalize):
3841 add finalize method and clean up properly
3842 * gst/gstpipeline.c: (gst_pipeline_dispose):
3843 add debug
3845 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
3847 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
3848 (gst_bin_suite):
3849 add more things to check
3850 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
3851 * gst/gstelement.c:
3852 more debug
3854 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
3856 * check/elements/gstfakesrc.c: (chain_func), (event_func),
3857 (GST_START_TEST), (fakesrc_suite):
3858 * check/gst-libs/gdp.c: (GST_START_TEST):
3859 * check/gst/gst.c: (GST_START_TEST):
3860 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
3861 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3862 * check/gst/gstbus.c: (GST_START_TEST):
3863 * check/gst/gstcaps.c: (GST_START_TEST):
3864 * check/gst/gstdata.c: (GST_START_TEST):
3865 * check/gst/gstelement.c: (GST_START_TEST):
3866 * check/gst/gstghostpad.c: (GST_START_TEST):
3867 * check/gst/gstiterator.c: (GST_START_TEST):
3868 * check/gst/gstmessage.c: (GST_START_TEST):
3869 * check/gst/gstobject.c: (GST_START_TEST):
3870 * check/gst/gstpad.c: (GST_START_TEST):
3871 * check/gst/gststructure.c: (GST_START_TEST):
3872 * check/gst/gstsystemclock.c: (GST_START_TEST),
3873 (gst_systemclock_suite):
3874 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
3875 * check/gst/gstvalue.c: (GST_START_TEST):
3876 * check/pipelines/cleanup.c: (GST_START_TEST):
3877 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
3878 * check/states/sinks.c: (GST_START_TEST):
3879 * check/gstcheck.c: (gst_check_init):
3880 * check/gstcheck.h:
3881 add debugging category
3882 use GST_START_TEST now, so we add a debug line
3884 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
3886 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
3887 add test for state change message on a bin
3888 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
3889 add another test
3890 * gst/gstbin.c: (gst_bin_init):
3891 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
3892 * gst/gstelement.c: (gst_element_post_message),
3893 (gst_element_set_state):
3894 * gst/gstelementfactory.c: (gst_element_factory_create):
3895 * gst/gstmessage.c: (gst_message_new):
3896 * gst/gstscheduler.c:
3897 various debugging additions and cleanups
3899 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
3901 * check/Makefile.am:
3902 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
3903 (main):
3904 adding tests for elements
3905 * gst/gstelement.c: (gst_element_dispose):
3907 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
3909 * gst/registries/gstlibxmlregistry.c: (load_feature):
3910 plug more leaks. A simple gst_init() now is leakfree, yay.
3912 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
3914 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
3915 (gst_xml_registry_load):
3916 plug another memleak
3918 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
3920 * configure.ac:
3921 use GST_SET_ERROR_CFLAGS
3922 * docs/faq/cvs.xml:
3923 change to ERROR_CFLAGS
3925 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
3927 * configure.ac:
3928 make GST_ERROR_CFLAGS overridable and re-enable Werror
3929 * docs/faq/cvs.xml:
3930 add a note about error CFLAGS
3931 * docs/gst/tmpl/gstfakesrc.sgml:
3932 * gst/elements/gstfakesrc.c:
3933 comment out some unused code
3934 * gst/gst.c: (split_and_iterate):
3935 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
3936 (load_feature):
3937 plug some memleaks
3939 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
3941 * common/Makefile.am:
3942 * common/gtk-doc.mak:
3943 * docs/gst/Makefile.am:
3944 factor out gtk-doc.mak
3946 2005-07-07 Wim Taymans <wim@fluendo.com>
3948 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
3949 (gst_thread_scheduler_dispose):
3950 Unlock the STREAM_LOCK completely.
3952 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
3954 * check/Makefile.am:
3955 * check/elements/.cvsignore:
3956 * check/elements/gstfakesrc.c: (chain_func), (event_func),
3957 (START_TEST), (fakesrc_suite), (main):
3958 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
3959 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
3960 (gst_fakesrc_create), (gst_fakesrc_start):
3961 * gst/elements/gstfakesrc.h:
3962 adding a first element test
3964 2005-07-07 Andy Wingo <wingo@pobox.com>
3966 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
3967 debug message.
3969 2005-07-07 Wim Taymans <wim@fluendo.com>
3971 * gst/gstquery.c:
3972 * gst/gstquery.h:
3973 Remove old types
3975 2005-07-07 Wim Taymans <wim@fluendo.com>
3977 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
3978 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
3979 Allow subclasses to implement their own negotiation.
3981 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
3983 * docs/design/part-gstbin.txt:
3984 * docs/design/part-gstpipeline.txt:
3985 Update design notes to reflect the movement of
3986 responsibility for bus handling from GstPipeline to
3987 GstBin
3989 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
3991 * configure.ac:
3992 Remove unnecessary queue2/3/4 examples.
3994 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
3996 * examples/Makefile.am:
3997 * examples/helloworld/helloworld.c: (event_loop), (main):
3998 * examples/queue/queue.c: (event_loop), (main):
3999 * examples/queue2/queue2.c: (main):
4000 Update a couple of the examples to work again.
4002 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4003 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
4004 Spelling corrections and extra debug.
4006 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
4007 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
4008 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
4009 * gst/gstbin.h:
4010 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
4011 (gst_pipeline_change_state):
4012 * gst/gstpipeline.h:
4013 Move the bus handler for children to the GstBin, and create a
4014 separate bus for receiving messages from children to the one the
4015 bus sends 'upwards' on.
4017 2005-07-06 Wim Taymans <wim@fluendo.com>
4019 * gst/base/README:
4020 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4021 (gst_base_sink_handle_object), (gst_base_sink_loop),
4022 (gst_base_sink_change_state):
4023 * gst/base/gstbasesink.h:
4024 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
4025 (gst_base_src_init), (gst_base_src_setcaps),
4026 (gst_base_src_getcaps), (gst_base_src_loop),
4027 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
4028 (gst_base_src_start), (gst_base_src_change_state):
4029 * gst/base/gstbasesrc.h:
4030 Make basesrc negotiate.
4031 Handle the case where preroll fails in basesink.
4032 Update README.
4034 2005-07-06 Wim Taymans <wim@fluendo.com>
4036 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
4037 Implement the fixate function.
4038 Clean up acceptcaps.
4040 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4042 * docs/pwg/building-filterfactory.xml:
4043 * docs/pwg/pwg.xml:
4044 Remove never-written filter-factory chapter; I'll add the various
4045 base classes to part 4 ("other element types") later on.
4047 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4049 * docs/pwg/advanced-negotiation.xml:
4050 * docs/pwg/building-boiler.xml:
4051 * docs/pwg/building-pads.xml:
4052 * docs/pwg/pwg.xml:
4053 * examples/pwg/Makefile.am:
4054 Add a chapter on caps negotiation, simplify the original code
4055 samples a bit w.r.t. caps negotiation, add link to the advanced
4056 section. Add a bunch of examples showing different use cases of
4057 different types of caps negotiation. Upstream renegotiation isn't
4058 fully documented yet since nobody knows how that works.
4060 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
4062 * check/gst/gstpad.c:
4063 * check/gstcheck.c:
4064 * gst/gstpad.c: (gst_pad_get_internal_links_default):
4065 if pad has no parent, return NULL as list of internal links
4067 2005-07-05 Andy Wingo <wingo@pobox.com>
4069 * gst/elements/gstfilesrc.c:
4070 * gst/elements/gstfakesrc.c:
4071 * gst/base/gstpushsrc.c:
4072 * gst/base/gstbasesrc.h:
4073 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
4075 2005-07-05 Stefan Kost <ensonic@users.sf.net>
4077 * Makefile.am:
4078 better report generation target (lcov needs a patch)
4080 2005-07-05 Andy Wingo <wingo@pobox.com>
4082 * gst/elements, testsuite: Null if we got it...
4084 2005-07-05 Wim Taymans <wim@fluendo.com>
4086 * configure.ac:
4087 * libs/gst/dataprotocol/Makefile.am:
4088 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
4089 * libs/gst/dataprotocol/dataprotocol.h:
4090 * pkgconfig/Makefile.am:
4091 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
4092 * pkgconfig/gstreamer-dataprotocol.pc.in:
4093 Ported dataprotol to 0.9.
4094 Added pkgconfig files.
4096 2005-07-05 Andy Wingo <wingo@pobox.com>
4098 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
4099 Default to returning TRUE for the case when tranform_caps returns
4100 a fixed caps, like for identity or volume.
4102 * check/gst/gstbus.c (pound_bus_with_messages):
4103 * check/gst/gstmessage.c (START_TEST):
4104 * check/pipelines/simple_launch_lines.c (got_handoff): Application
4105 message API change.
4107 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
4108 logic weaks here: always run transform_caps, trying passthrough
4109 operation only if the original caps intersects with the transform.
4111 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
4112 source and sink caps.
4114 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
4115 Intersect the peer caps with the pad template before going into
4116 transform_caps.
4117 (gst_base_transform_transform_caps): More debugging.
4119 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
4120 src argument.
4122 2005-07-04 Edward Hervey <edward@fluendo.com>
4124 * gst/gstutils.c:
4125 * gst/gstutils.h:
4126 (gst_pad_add_*_probe): now returns the signal id for better wrapping
4127 in bindings.
4129 2005-07-04 Andy Wingo <wingo@pobox.com>
4131 * check/gst/gstpad.c: Only set explicit caps on pads.
4133 2005-07-01 Andy Wingo <wingo@pobox.com>
4135 * tests/network-clock.scm: Commentary update.
4137 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
4138 Didn't really make sense, not implementable with basetransform,
4139 etc.
4140 (gst_identity_transform): Unref inbuf via make_writable. Feeble
4141 attempt at implementing the sync property, needs an unlock method.
4143 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
4144 New func, by default returns the same caps (the identity
4145 transformation).
4146 (gst_base_transform_getcaps): Uses transform_caps to return
4147 something sensible.
4148 (gst_base_transform_setcaps): Complicated logic to get caps on
4149 both pads, even if they are different, and to call set_caps once
4150 for every time both pads get their caps set.
4151 (gst_base_transform_handle_buffer): Give the ref to the transform
4152 function. Allows in-place modification of the buffer.
4154 * gst/base/gstbasetransform.h (transform_caps): New class method.
4155 Given caps on one side, what can I do on the other.
4156 (set_caps): Take two caps, one for each side of the element.
4158 * gst/gstpad.h:
4159 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
4160 caps in place. This is safe because we can check the mutability of
4161 the caps, and a good idea because fixate functions are just called
4162 as a matter of last resort. (Not actually implemented.)
4163 (gst_pad_set_caps): If the caps we're setting is actually the same
4164 as the existing pad caps, just update the pointer without calling
4165 setcaps. Assert that caps is either NULL or fixed, as per the
4166 docs.
4168 * gst/gstghostpad.c: Update for fixate changes.
4170 2005-07-02 Andy Wingo <wingo@pobox.com>
4172 * gst/gstcaps.c:
4173 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
4174 two refcounts makes it immutable, which is enough. Doc more.
4176 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
4178 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
4179 Put the mini_object into GValue as a mini_object,
4180 not a gpointer, since that's how we declared
4181 the signal.
4183 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4185 * examples/pwg/Makefile.am:
4186 Fix buildbot again.
4188 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4190 * docs/pwg/building-testapp.xml:
4191 Add extra check.
4192 * examples/pwg/Makefile.am:
4193 Fix buildbot.
4195 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4197 * configure.ac:
4198 * examples/Makefile.am:
4199 * examples/pwg/Makefile.am:
4200 * examples/pwg/extract.pl:
4201 Enable building the PWG examples.
4202 * docs/pwg/advanced-interfaces.xml:
4203 Add URI interface stub.
4204 * docs/pwg/advanced-types.xml:
4205 * docs/pwg/other-autoplugger.xml:
4206 * docs/pwg/appendix-porting.xml:
4207 * docs/pwg/pwg.xml:
4208 Add porting guide (mostly stubs), remove autoplugging (see ADM).
4209 * docs/pwg/building-boiler.xml:
4210 * docs/pwg/building-chainfn.xml:
4211 * docs/pwg/building-pads.xml:
4212 * docs/pwg/building-props.xml:
4213 * docs/pwg/building-state.xml:
4214 * docs/pwg/building-testapp.xml:
4215 Update the building-*.xml parts for 0.9 changes. All examples
4216 code blocks compile in examples/pwg/*.
4218 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4220 * docs/manual/advanced-autoplugging.xml:
4221 * docs/manual/appendix-checklist.xml:
4222 * docs/manual/appendix-integration.xml:
4223 * docs/manual/highlevel-components.xml:
4224 Fix playbin/decodebin examples, update docs a bit, mention bus
4225 instead of signals in various places, mention kmplayer and
4226 kaffeine since they have a working GStreamer backend in the KDE
4227 section.
4229 2005-06-30 Wim Taymans <wim@fluendo.com>
4231 * CHANGES-0.9:
4232 * docs/design/draft-ghostpads.txt:
4233 * docs/design/draft-push-pull.txt:
4234 * docs/design/draft-query.txt:
4235 * docs/design/part-TODO.txt:
4236 * docs/design/part-query.txt:
4237 Added CHANGES-0.9 doc, updated status of other docs.
4239 * gst/gstquery.h:
4240 Remove "hmm" macro
4242 2005-06-30 Wim Taymans <wim@fluendo.com>
4244 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
4245 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
4246 (gst_base_sink_change_state):
4247 * gst/base/gstbasesink.h:
4248 Some tweaks, only EOS and a buffer complete a preroll.
4250 2005-06-30 Andy Wingo <wingo@pobox.com>
4252 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
4253 activate_push down to the internal pad as well.
4255 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
4257 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4259 * gst/gsttaginterface.c:
4260 Some documentation fixes (#307394 and #307397).
4262 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
4264 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4266 * gst/gstvalue.c: (gst_value_intersect_list):
4267 Fix memleak (#309125).
4269 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4271 * docs/manual/advanced-dataaccess.xml:
4272 Fix fakesrc example to compile; doesn't work, bug somewhere...?
4273 * docs/manual/basics-pads.xml:
4274 Add reference for filtered caps to above chapter.
4276 2005-06-30 Wim Taymans <wim@fluendo.com>
4278 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
4279 (gst_bin_change_state):
4280 Probes are gone.
4281 Lame attempt at making the state change function a bit
4282 more readable.
4284 2005-06-30 Wim Taymans <wim@fluendo.com>
4286 * docs/design/part-clocks.txt:
4287 * docs/design/part-element-sink.txt:
4288 * docs/design/part-events.txt:
4289 * docs/design/part-preroll.txt:
4290 * docs/design/part-states.txt:
4291 Some more tweeks and additions to the docs.
4293 2005-06-30 Wim Taymans <wim@fluendo.com>
4295 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4296 (default_have_data), (gst_pad_class_init), (gst_pad_init),
4297 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
4298 (gst_pad_check_pull_range), (gst_pad_get_range),
4299 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
4300 * gst/gstpad.h:
4301 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
4302 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4303 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4304 (gst_pad_remove_buffer_probe):
4305 Removed atomic operations, use existing LOCK.
4306 Move exception handling out of main code path.
4308 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4310 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4311 (silly_return_true_function), (gst_pad_class_init),
4312 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
4313 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
4314 (gst_pad_send_event):
4315 Fix accumulator, add default value by using _emitv() instead
4316 of _emit() for signal emission.
4318 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4320 * docs/manual/advanced-dataaccess.xml:
4321 * examples/manual/Makefile.am:
4322 Add probe example.
4323 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
4324 Make work (??).
4326 2005-06-29 Tim-Philipp M??ller <tim at centricular dot net>
4328 * gst/elements/gstfilesink.c: (gst_filesink_render):
4329 Simplify code so that we don't have to handle short
4330 writes and return GST_FLOW_ERROR if an error occured.
4332 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4334 * docs/gst/gstreamer-docs.sgml:
4335 Remove probes more.
4337 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4339 * docs/gst/gstreamer-sections.txt:
4340 * docs/gst/tmpl/gstpad.sgml:
4341 * docs/gst/tmpl/gstprobe.sgml:
4342 * gst/Makefile.am:
4343 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
4344 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
4345 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
4346 (gst_pad_push_event), (gst_pad_send_event):
4347 * gst/gstpad.h:
4348 * gst/gstutils.c: (gst_pad_add_data_probe),
4349 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
4350 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
4351 (gst_pad_remove_buffer_probe):
4352 * gst/gstutils.h:
4353 Remove old probes, add new g-signal-based probes and some utility
4354 functions.
4356 2005-06-29 Edward Hervey <edward@fluendo.com>
4358 * gst/gstelementfactory.c:
4359 * gst/gstutils.h:
4360 * gst/gstutils.c:
4361 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
4362 the definition to the header file.
4364 2005-06-29 Andy Wingo <wingo@pobox.com>
4366 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
4367 plugins from the source directory.
4369 2005-06-29 Wim Taymans <wim@fluendo.com>
4371 * docs/gst/tmpl/gstbuffer.sgml:
4372 * docs/gst/tmpl/gstclock.sgml:
4373 Some fixings for blantently wrong text.
4375 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
4377 * check/Makefile.am:
4378 * gst/gst.c: (add_path_func), (init_pre):
4379 * gst/gstregistry.c: (gst_registry_add_path):
4380 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
4381 only scan the GST_PLUGIN_PATH locations, and not add
4382 system locations
4384 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
4386 * docs/gst/gstreamer-sections.txt:
4387 * docs/gst/tmpl/gstbasesrc.sgml:
4388 * gst/gstelement.c:
4389 * gst/gstelement.h:
4390 * gst/gstevent.c:
4391 * gst/gstutils.c:
4392 doc fixes
4394 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4396 * docs/manual/advanced-autoplugging.xml:
4397 Fix autoplugging example.
4399 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4401 * docs/manual/advanced-autoplugging.xml:
4402 * docs/manual/mime-world.fig:
4403 Try to get autoplugging working, fix type detection. Fix text
4404 in hello-world image.
4406 2005-06-29 Wim Taymans <wim@fluendo.com>
4408 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4409 (gst_base_sink_change_state):
4410 Small debug line.
4412 * gst/gstclock.h:
4413 map SIGNAL and BROADCAST to the right function.
4415 * gst/gstobject.h:
4416 Remove redundant braces.
4418 * gst/gstpad.c: (gst_pad_set_caps):
4419 Don't call setcaps function when reseting caps to NULL.
4421 * gst/gstsystemclock.c: (gst_system_clock_dispose),
4422 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
4423 (gst_system_clock_id_unschedule):
4424 Use BROADCAST as this is what we do.
4426 2005-06-29 Wim Taymans <wim@fluendo.com>
4428 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4429 We are actually prerolling before commiting the state
4430 change.
4432 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4434 * docs/manual/advanced-clocks.xml:
4435 * docs/manual/advanced-interfaces.xml:
4436 * docs/manual/advanced-metadata.xml:
4437 * docs/manual/advanced-position.xml:
4438 * docs/manual/advanced-schedulers.xml:
4439 * docs/manual/advanced-threads.xml:
4440 * docs/manual/appendix-porting.xml:
4441 * docs/manual/basics-bins.xml:
4442 * docs/manual/basics-bus.xml:
4443 * docs/manual/basics-elements.xml:
4444 * docs/manual/basics-helloworld.xml:
4445 * docs/manual/basics-pads.xml:
4446 * docs/manual/highlevel-components.xml:
4447 * docs/manual/manual.xml:
4448 * docs/manual/thread.fig:
4449 Update (until threads/scheduling) Application Development Manual;
4450 remove GstThread, add GstBus, add simple porting checklist, add
4451 documentation for tag writing, clocks, make all examples until this
4452 part compile and run.
4453 * examples/manual/Makefile.am:
4454 Update from changes to Application Development Manual; add bus
4455 example, remove thread example.
4457 2005-06-28 Wim Taymans <wim@fluendo.com>
4459 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
4460 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
4461 (gst_bus_source_dispatch):
4462 Add debugging messages.
4463 Make internal methods static.
4464 Handle the case where the bus is flushed in the handler.
4466 * gst/gstelement.c: (gst_element_get_bus):
4467 Fix refcount in _get_bus();
4469 * gst/gstpipeline.c: (gst_pipeline_change_state),
4470 (gst_pipeline_get_clock_func):
4471 Clock refcounting fixes.
4472 Handle the case where preroll timed out more gracefully.
4474 * gst/gstsystemclock.c: (gst_system_clock_dispose):
4475 Clean up the internal thread in dispose. This is needed
4476 for subclasses that actually get disposed.
4478 * gst/schedulers/threadscheduler.c:
4479 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
4480 (gst_thread_scheduler_dispose):
4481 Free thread pool in dispose.
4483 2005-06-28 Andy Wingo <wingo@pobox.com>
4485 * tests/network-clock-utils.scm (debug, print-event): New utils.
4487 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
4488 (*packet-loss*): Unified loss probability.
4489 (network-time): Report out-of-band events.
4491 * tests/plot-data: Add support for out-of-band events. Hack it
4492 into this script instead of passing it down the pipe; should fix
4493 this later.
4495 2005-06-28 Wim Taymans <wim@fluendo.com>
4497 * docs/gst/gstreamer.types:
4498 * docs/gst/tmpl/gstbasesrc.sgml:
4499 * docs/gst/tmpl/gstpad.sgml:
4500 Docs fixes.
4502 2005-06-28 Wim Taymans <wim@fluendo.com>
4504 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4505 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
4506 (gst_proxy_pad_do_fixatecaps):
4507 Correctly proxy the check_pull_range function.
4509 2005-06-28 Andy Wingo <wingo@pobox.com>
4511 * tests/network-clock.scm: Removed need for slib.
4513 2005-06-28 Wim Taymans <wim@fluendo.com>
4515 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
4516 (gst_basesink_preroll_queue_flush):
4517 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
4518 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
4519 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4520 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
4521 (gst_proxy_pad_set_property):
4522 * gst/gstpad.c:
4523 * gst/gstpad.h:
4524 * gst/gstqueue.c: (gst_queue_init):
4525 The deprecated pad loop function is removed now.
4527 2005-06-28 Andy Wingo <wingo@pobox.com>
4529 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
4530 New parameters, simulate network packet loss.
4532 * tests/network-clock-utils.scm: Initialize the RNG.
4534 2005-06-28 Wim Taymans <wim@fluendo.com>
4536 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
4537 (gst_basesink_event), (gst_basesink_deactivate):
4538 Flushing the preroll queue always needs to unlock the waiters.
4540 2005-06-28 Edward Hervey <edward@fluendo.com>
4542 * gst/gstpipeline.c: (gst_pipeline_send_event):
4543 Wheen a seek was successful on a pipeline, set the stream_time to the
4544 seek offset in order to have a synchronized stream_time.
4546 2005-06-28 Wim Taymans <wim@fluendo.com>
4548 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
4549 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
4550 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
4551 (gst_proxy_pad_do_fixatecaps):
4552 Call wrapper function instead of just calling the function
4553 pointers. This takes care of any locking and whatmore.
4555 2005-06-28 Wim Taymans <wim@fluendo.com>
4557 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
4558 (gst_pad_pull_range):
4559 * gst/gstpad.h:
4560 CONNECTED -> LINKED.
4562 2005-06-28 Andy Wingo <wingo@pobox.com>
4564 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
4565 source-munging commit!!!
4567 * gst/gstobject.c (gst_object_unref, gst_object_ref)
4568 (gst_object_sink): Take gpointer arguments, not GstObject --
4569 avoids casts. Like GLib.
4571 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
4572 activate.
4574 2005-06-27 Andy Wingo <wingo@pobox.com>
4576 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
4577 remaining buffer.
4579 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
4580 returns a sorted copy of the trace list.
4581 (gst_alloc_trace_print_live): New API, only prints traces with
4582 live objects. Sort the list.
4583 (gst_alloc_trace_print_all): Sort the list.
4584 (gst_alloc_trace_print): Align columns.
4586 * gst/elements/gstttypefindelement.c:
4587 * gst/elements/gsttee.c:
4588 * gst/base/gstbasesrc.c:
4589 * gst/base/gstbasesink.c:
4590 * gst/base/gstbasetransform.c:
4591 * gst/gstqueue.c: Adapt for pad activation changes.
4593 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
4594 sched.
4595 (gst_pipeline_dispose): Drop ref on sched.
4597 * gst/gstpad.c (gst_pad_init): Set the default activate func.
4598 (gst_pad_activate_default): Push mode by default.
4599 (pre_activate_switch, post_activate_switch): New stubs, things to
4600 do before and after switching activation modes on pads.
4601 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
4602 the pad's activate function to choose which mode to activate.
4603 Shortcut on deactivation and call the right function directly.
4604 (gst_pad_activate_pull): New API, (de)activates a pad in pull
4605 mode.
4606 (gst_pad_activate_push): New API, same for push mode.
4607 (gst_pad_set_activate_function)
4608 (gst_pad_set_activatepull_function)
4609 (gst_pad_set_activatepush_function): Setters for new API.
4611 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
4612 Trace all miniobjects.
4613 (gst_mini_object_make_writable): Unref the arg if we copy, like
4614 gst_caps_make_writable.
4616 * gst/gstmessage.c (_gst_message_initialize): No trace init.
4618 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
4619 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
4620 Adapt for new pad API.
4622 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
4624 * gst/gstelement.h:
4625 * gst/gstelement.c (gst_element_iterate_src_pads)
4626 (gst_element_iterate_sink_pads): New API functions.
4628 * gst/gstelement.c (iterator_fold_with_resync): New utility,
4629 should fold into gstiterator.c in some form.
4630 (gst_element_pads_activate): Simplified via use of fold and
4631 delegation of decisions to gstpad->activate.
4633 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
4634 help in debugging.
4636 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
4637 class once in init, like gstmessage. Didn't run into this issue
4638 but it seems correct. Don't initialize a trace, gstminiobject does
4639 that.
4641 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
4642 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
4643 to the bus.
4644 (assert_live_count): New util function, uses alloc traces to check
4645 cleanup.
4647 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
4648 To be modified when unlink drops the internal pad.
4650 2005-06-27 Wim Taymans <wim@fluendo.com>
4652 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
4653 (gst_bin_change_state):
4654 Cleanup the get_state() function a little, make sure it
4655 iterates the same set of elements.
4656 Added stub iterate_state_order().
4658 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
4660 * docs/gst/gstreamer-docs.sgml:
4661 * docs/gst/gstreamer-sections.txt:
4662 * docs/gst/gstreamer.types:
4663 * docs/gst/tmpl/gstbasesink.sgml:
4664 * docs/gst/tmpl/gstbasesrc.sgml:
4665 * docs/gst/tmpl/gstbasetransform.sgml:
4666 * docs/gst/tmpl/gstelement.sgml:
4667 * docs/gst/tmpl/gstiterator.sgml:
4668 * gst/base/gstbasesrc.c:
4669 * gst/base/gstbasesrc.h:
4670 * gst/base/gstbasetransform.h:
4671 * gst/gstelement.c:
4672 * gst/gstiterator.h:
4673 adding basetransform and iterator docs
4675 2005-06-27 Andy Wingo <wingo@pobox.com>
4677 * docs/design/part-activation.txt: Notes on how activation should
4678 work -- not quite implemented yet.
4680 2005-06-25 Wim Taymans <wim@fluendo.com>
4682 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
4683 At least get the chain function correct, needs more
4684 fixing.
4686 2005-06-25 Wim Taymans <wim@fluendo.com>
4688 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
4689 (gst_basesink_handle_object), (gst_basesink_event),
4690 (gst_basesink_do_sync), (gst_basesink_handle_event),
4691 (gst_basesink_change_state):
4692 * gst/gsttask.h:
4693 Right, two problems here: ghostpads don't take locks and
4694 glib _rec_mutex_lock_full() with depth==0 still locks.
4695 Catch illegal locking and g_warn them.
4697 2005-06-25 Wim Taymans <wim@fluendo.com>
4699 * check/states/sinks.c: (START_TEST), (gst_object_suite):
4700 Have to check for completion now...
4702 2005-06-25 Wim Taymans <wim@fluendo.com>
4704 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
4705 (gst_basesink_handle_object), (gst_basesink_event),
4706 (gst_basesink_do_sync), (gst_basesink_handle_event),
4707 (gst_basesink_change_state):
4708 * gst/gstpad.h:
4709 Unlock STREAM_LOCK whatever the recursion was.
4711 2005-06-25 Wim Taymans <wim@fluendo.com>
4713 * gst/base/gstbasesink.c: (gst_basesink_set_property),
4714 (gst_basesink_preroll_queue_empty),
4715 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
4716 (gst_basesink_event), (gst_basesink_do_sync),
4717 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
4718 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
4719 (gst_basesink_change_state):
4720 Reworked the base sink, handle event and buffer serialisation
4721 correctly and removed possible deadlock.
4722 Handle EOS correctly.
4724 2005-06-25 Wim Taymans <wim@fluendo.com>
4726 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
4727 (gst_pipeline_change_state):
4728 * tools/gst-launch.c: (check_intr), (event_loop), (main):
4729 Allow elements to post EOS in the state change function.
4730 Fix up -launch, make it exit the poll loop when the
4731 pipeline actually changed state.
4732 Fix up warning parsing in -launch.
4734 2005-06-25 Wim Taymans <wim@fluendo.com>
4736 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
4737 (gst_tee_sink_activate):
4738 Core takes STREAM_LOCK for us now.
4740 2005-06-25 Wim Taymans <wim@fluendo.com>
4742 * gst/gstelement.c: (gst_element_get_state_func),
4743 (gst_element_set_state):
4744 * gst/gstelement.h:
4745 * gst/gstmessage.c: (gst_message_parse_error),
4746 (gst_message_parse_warning):
4747 Keep track of current target state while performing a state
4748 change so that subclasses can do something interesting.
4749 Fix parsing of warning/error messages when GError is NULL.
4751 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
4753 * docs/gst/Makefile.am:
4754 * docs/gst/gstreamer-docs.sgml:
4755 * docs/gst/gstreamer-sections.txt:
4756 * docs/gst/gstreamer.types:
4757 * docs/gst/tmpl/gstbasesink.sgml:
4758 * docs/gst/tmpl/gstbasesrc.sgml:
4759 * docs/gst/tmpl/gstbin.sgml:
4760 * docs/gst/tmpl/gstcompat.sgml:
4761 * docs/gst/tmpl/gstfakesink.sgml:
4762 * docs/gst/tmpl/gstfakesrc.sgml:
4763 * docs/gst/tmpl/gstfilesink.sgml:
4764 * docs/gst/tmpl/gstfilesrc.sgml:
4765 * docs/gst/tmpl/gstindex.sgml:
4766 * docs/manual/appendix-quotes.xml:
4767 * gst/base/gstbasesrc.h:
4768 * gst/elements/gstfakesrc.h:
4769 * gst/gstmessage.h:
4770 start pulling in base classes and elements in our docs
4772 2005-06-24 Stefan Kost <ensonic@users.sf.net>
4774 * docs/gst/Makefile.am:
4775 * docs/libs/Makefile.am:
4776 fixed make distcheck with gtk-doc 1.3
4778 2005-06-23 Wim Taymans <wim@fluendo.com>
4780 * gst/gstelement.c: (gst_element_get_state_func),
4781 (gst_element_set_state), (gst_element_change_state):
4782 When the state did not change, also report NO_PREROLL
4783 when it matters.
4785 2005-06-23 Wim Taymans <wim@fluendo.com>
4787 * gst/gstpad.c: (gst_pad_event_default):
4788 * gst/gstqueue.c: (gst_queue_loop):
4789 No unsafe task pausing please.
4791 2005-06-23 Wim Taymans <wim@fluendo.com>
4793 * gst/schedulers/threadscheduler.c:
4794 (gst_thread_scheduler_task_start),
4795 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
4796 Ref the task before pushing it on the threadpool. This
4797 makes sure that we have a ref when the threadfunction is
4798 actually called.
4800 2005-06-23 Andy Wingo <wingo@pobox.com>
4802 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
4803 offset is greater than the file's size.
4805 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
4806 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
4807 * gst/gstobject.c (gst_object_class_init): Make the class lock
4808 recursive. Wim won't let me drop deep_notify. Decodebin works
4809 again, whoopdy doo.
4811 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
4812 internal pad, and hacks accordingly. Doesn't do it on the target
4813 pad because we change its caps. Probably catches all cases of
4814 interest tho.
4815 (gst_ghost_pad_set_property): Connect to notify::caps as
4816 appropritate.
4818 * tests/network-clock.scm (plot-simulation): Pipe data to the
4819 elite python skript.
4821 * tests/network-clock-utils.scm (define-parameter): New macro,
4822 defines a parameter that can be set via the command line.
4823 (set-parameter!, parse-parameter-arguments): Command line args
4824 parser.
4826 * tests/plot-data: Simple matplotlib-based plotter, takes input on
4827 stdin.
4829 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
4831 * gst/elements/gsttypefindelement.c:
4832 (gst_type_find_element_handle_event):
4833 Don't restart typefinding on a discont.
4834 * gst/gstelement.c: (gst_element_set_state):
4835 Debug spelling fix.
4836 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
4837 Allow changing mode of an active pad.
4838 Debug output fixes.
4839 * gst/registries/gstlibxmlregistry.c: (load_feature):
4840 Don't cast a static pad template to a normal pad template.
4842 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
4844 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
4845 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4846 remove gst_strtoll completely, since it didn't actually do
4847 anything more than what g_ascii_strtoull already does.
4848 check for range errors when deserializing
4849 do a cast for the unsigned cases; but further fixing needs
4850 a decision on what the interpretation of "(int)" and
4851 deserialization should be for values that fall outside the
4852 type's boundaries (ie, refuse, or interpret as casting)
4854 2005-06-23 Wim Taymans <wim@fluendo.com>
4856 * check/Makefile.am:
4857 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
4858 * docs/design/part-live-source.txt:
4859 * docs/design/part-states.txt:
4860 * gst/base/gstbasesrc.c: (gst_basesrc_init),
4861 (gst_basesrc_set_live), (gst_basesrc_is_live),
4862 (gst_basesrc_get_range), (gst_basesrc_activate),
4863 (gst_basesrc_change_state):
4864 * gst/base/gstbasesrc.h:
4865 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
4866 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
4867 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
4868 * gst/gstelement.c: (gst_element_get_state_func),
4869 (gst_element_set_state):
4870 * gst/gstelement.h:
4871 * gst/gsttypes.h:
4872 * tools/gst-launch.c: (event_loop), (main):
4873 Added support for live sources and other elements that
4874 cannot do preroll.
4875 Updated design docs, added live-source design doc.
4876 Implemented live source functionality in basesrc
4877 Fix error condition in _bin_get_state()
4878 Implement live source handling in -launch.
4879 Added check for live sources.
4880 Fixed case in GstBin where elements were changed state
4881 multiple times.
4884 2005-06-23 Andy Wingo <wingo@pobox.com>
4886 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
4887 borken refcounting.
4889 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
4890 gst_caps_replace takes care of this for us.
4892 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
4893 gst_pad_set_caps on the target, not just its setcaps() function.
4895 * tests/network-clock.scm:
4896 * tests/network-clock-utils.scm: A network clock simulator.
4897 Something of an algorithmic testbed before doing something in C.
4899 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
4901 * check/Makefile.am:
4902 * check/gst/capslist.h:
4903 copy over from 0.8, and add two with bitmasks specified with
4904 (int) 0xFF...
4905 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
4906 add test to parse everything from capslist.h
4907 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
4908 (main):
4909 add test for structure deserialization
4910 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
4911 add tests for deserialization of strings to int types
4912 * gst/gststructure.c: (gst_structure_nth_field_name):
4913 * gst/gststructure.h:
4914 add a way to get the name of a field referenced by index
4915 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
4916 instead of checking if the resulting long long lies between
4917 min and max, we check if the long long would fit into
4918 a number of bytes for the final type.
4919 This fixes cases where a string represents 2^32 - 1, which
4920 when cast to int would be the (valid) -1, but is bigger than
4921 G_MAXINT
4923 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
4925 * gst/parse/grammar.y:
4926 add a log line for type deserialization
4928 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
4930 * check/gst/gstvalue.c: (START_TEST):
4931 * gst/gstvalue.c: (gst_value_deserialize):
4932 return long long, not int, so gint64 deserialization actually
4933 works. Is there any flag that makes the compiler check this ?
4934 Fixes #308559
4936 2005-06-22 Wim Taymans <wim@fluendo.com>
4938 * gst/gstbuffer.h:
4939 Added convenience macros for setting buffers in GValue.
4941 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
4943 * check/gst/.cvsignore:
4944 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
4945 add a test deserializing int64, and comment part out because
4946 it fails, yay !
4948 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
4950 * check/Makefile.am:
4951 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
4952 * testsuite/Makefile.am:
4953 * testsuite/caps/Makefile.am:
4954 * testsuite/caps/value_serialize.c:
4955 * testsuite/test_gst_init.c:
4956 move a value_serialize test over
4958 2005-06-20 Wim Taymans <wim@fluendo.com>
4960 * gst/gstpad.c:
4961 Small doc updates.
4963 * gst/gstvalue.c: (gst_value_compare_buffer),
4964 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
4965 (gst_value_compare_flags), (gst_value_serialize_flags),
4966 (gst_value_deserialize_flags), (_gst_value_initialize):
4967 Fix serialisation of buffers, they are not boxed types anymore
4969 2005-06-20 Wim Taymans <wim@fluendo.com>
4971 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
4972 Testcase to show error in buffer-on-caps serialisation.
4974 2005-06-20 Andy Wingo <wingo@pobox.com>
4976 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
4977 will be adding to later.
4979 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
4980 if its socks fill with rocks.
4981 (gst_system_clock_obtain): Set the name on object construction.
4982 Avoid double-checked locking.
4984 2005-06-20 Tim-Philipp M??ller <tim at centricular dot net>
4986 * gst/gsturi.c: (gst_element_make_from_uri):
4987 Fix potential endless loop.
4989 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
4991 * check/Makefile.am:
4992 add gsttag
4993 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
4994 (main):
4995 move over from testsuite dir and clean up
4996 * configure.ac:
4997 * gst/gsttag.c:
4998 * testsuite/Makefile.am:
4999 * testsuite/tags/.cvsignore:
5000 * testsuite/tags/Makefile.am:
5001 * testsuite/tags/merge.c:
5002 remove testsuite/tags
5004 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5006 * docs/gst/gstreamer-sections.txt:
5007 * docs/gst/tmpl/gstenumtypes.sgml:
5008 * win32/gstenumtypes.c:
5009 clean up documentation build a little
5011 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5013 * check/gstcheck.h:
5014 add macros for checking refcounts on objects and caps
5015 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
5016 add some more unit tests
5017 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
5018 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
5019 fix leaked refcounts (I hope :)) so unittest works
5020 * gst/gstpad.h:
5021 whitespace removal
5023 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
5025 * configure.ac: back to HEAD
5027 === release 0.9.1 ===
5029 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
5031 * NEWS:
5032 * RELEASE:
5033 updated
5035 2005-06-17 Andy Wingo <wingo@pobox.com>
5037 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
5038 assert; it's always possible that the pad gets deactivated in
5039 between the checks in gstpad.c and the implementation. Rely on
5040 finish_preroll() to return a FLUSHING or similar instead of on the
5041 assert.
5043 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
5044 clock and post an EOS message if we come out of finish_preroll in
5045 the playing state.
5047 2005-06-16 David Schleef <ds@schleef.org>
5049 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5050 (gst_capsfilter_set_property): Allow NULL as possible value
5051 for filter_caps property, indicating GST_CAPS_ANY.
5053 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5055 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
5056 fix debug output
5057 * gst/schedulers/Makefile.am:
5058 use libgst prefix
5059 * gstreamer.spec.in:
5060 fix spec for it
5062 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
5064 * gstreamer.spec.in:
5065 clean up
5067 2005-06-08 Andy Wingo <wingo@pobox.com>
5069 * gst/gstutils.c: RPAD fixes all around.
5070 (gst_element_link_pads): Refcounting fixes.
5072 * tools/gst-inspect.c:
5073 * tools/gst-xmlinspect.c:
5074 * parse/grammar.y:
5075 * gst/base/gsttypefindhelper.c:
5076 * gst/base/gstbasesink.c:
5077 * gst/gstqueue.c: RPAD fixes.
5079 * gst/gstghostpad.h:
5080 * gst/gstghostpad.c: New ghost pad implementation as full proxy
5081 pads. The tricky thing is they provide both source and sink
5082 interfaces, since they proxy the internal pad for the external
5083 pad, and vice versa. Implement with lower-level ProxyPad objects,
5084 with the interior proxy pad as a child of the exterior ghost pad.
5085 Should write a doc on this.
5087 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
5088 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
5089 gst_object API.
5091 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
5092 pads are real pads. No ghost pads in this file. Not documenting
5093 the myriad s/RPAD/PAD/ and REALIZE fixes.
5094 (gst_pad_class_init): Add properties for "direction" and
5095 "template". Both are construct-only, so they can't change during
5096 the life of the pad. Fixes properly deriving from GstPad.
5097 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
5098 derived objects, just set properties when creating the objects via
5099 g_object_new.
5100 (gst_pad_get_parent): Implement as a function, return NULL if the
5101 parent is not an element.
5102 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
5103 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
5105 * gst/gstobject.c (gst_object_class_init): Make name a construct
5106 property. Don't set it in the object init.
5108 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
5109 with UNKNOWN direction.
5110 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
5111 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
5112 (gst_element_remove_pad): Remove ghost-pad special cases.
5113 (gst_element_pads_activate): Remove rpad cruft.
5115 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
5116 catch the pad's-parent-not-an-element case.
5118 * gst/gst.h: Include gstghostpad.h.
5120 * gst/gst.c (init_post): No more real, ghost pads.
5122 * gst/Makefile.am: Add gstghostpad.[ch].
5124 * check/Makefile.am:
5125 * check/gst/gstbin.c:
5126 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
5127 into a bin creates ghost pads, and that the refcounts are right.
5128 Partly moved from gstbin.c.
5130 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5132 * check/gst-libs/.cvsignore:
5133 * check/gst/.cvsignore:
5134 * check/pipelines/.cvsignore:
5135 ignore more
5136 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
5137 (START_TEST), (cleanup_suite), (main):
5138 add some tests related to cleanup after running pipelines
5140 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5142 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
5143 add a testsuite for GstBuffer
5145 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
5147 * gst/gstminiobject.h:
5148 add defines for accessing the refcount
5150 2005-06-03 Stefan Kost <ensonic@users.sf.net>
5152 * Makefile.am: added support for html unit test coverage reports
5154 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
5156 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
5157 Free existing caps if the capsfilter changes. Add a FIXME about
5158 setting those caps on the pads.
5160 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
5161 Before adding a ghost pad to a parent bin, check that there isn't
5162 already one for the element on the bin. Prevents infinite recursion
5163 when using decodebin in parse pipelines. Andy says he'll rewrite the
5164 way this works anyway, so ignore the hack.
5166 2005-06-02 Andy Wingo <wingo@pobox.com>
5168 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
5169 file size, pass it on to the type find helper.
5171 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
5172 segment_start and segment_end properly according to the seek
5173 method. Segment_end is still a bit flaky because offset can be
5174 negative for CUR and END cases, but it takes -1 as an "unset"
5175 value.
5177 2005-06-02 Wim Taymans <wim@fluendo.com>
5179 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
5180 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
5181 (gst_basesink_activate):
5182 * gst/base/gstbasesink.h:
5183 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5184 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
5185 (gst_pad_query), (gst_pad_start_task):
5186 * gst/gstpad.h:
5187 * gst/gstqueue.c: (gst_queue_bufferalloc),
5188 (gst_queue_handle_sink_event), (gst_queue_chain):
5189 Bufferalloc: return GstFlowReturn to more accuratly report
5190 why allocation failed.
5192 2005-06-02 Wim Taymans <wim@fluendo.com>
5194 * gst/gstpipeline.c: (gst_pipeline_send_event):
5195 Take snapshot of state without blocking.
5197 2005-06-02 Wim Taymans <wim@fluendo.com>
5199 * docs/design/part-TODO.txt:
5200 * docs/design/part-caps.txt:
5201 * docs/design/part-clocks.txt:
5202 * docs/design/part-negotiation.txt:
5203 * docs/design/part-preroll.txt:
5204 Small doc updates
5206 2005-05-30 Wim Taymans <wim@fluendo.com>
5208 * gst/elements/gstidentity.c: (gst_identity_event),
5209 (gst_identity_transform), (gst_identity_get_property):
5210 Protect last_message property as it is accessed from
5211 multiple threads.
5213 2005-05-30 Wim Taymans <wim@fluendo.com>
5215 * gst/gstelement.c: (gst_element_init),
5216 (gst_element_pads_activate), (gst_element_change_state):
5217 Slicker pad activation code.
5219 2005-05-30 Wim Taymans <wim@fluendo.com>
5221 * gst/Makefile.am:
5222 * gst/gstelement.h:
5223 * gst/gstelementfactory.h:
5224 * gst/gsttypes.h:
5225 Move elementfactory methods to separate .h file.
5227 2005-05-30 Wim Taymans <wim@fluendo.com>
5229 * docs/design/part-overview.txt:
5230 * gst/gstsystemclock.h:
5231 Small typo fixes, doc updates.
5233 2005-05-30 Wim Taymans <wim@fluendo.com>
5235 * gst/gst.c: (gst_init_get_popt_table), (init_post),
5236 (init_popt_callback):
5237 Remove cpu-opt flag.
5239 2005-05-30 Wim Taymans <wim@fluendo.com>
5241 * gst/gstbuffer.c: (gst_subbuffer_finalize),
5242 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
5243 * gst/gstbuffer.h:
5244 Avoid typechecking in places where not needed.
5245 Added accessor for malloc_data.
5247 2005-05-30 Wim Taymans <wim@fluendo.com>
5249 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
5250 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
5251 (gst_pad_configure_sink), (gst_pad_configure_src),
5252 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
5253 (gst_pad_start_task):
5254 Propagate errors from _set_caps() in configure_src/sink
5255 functions instead of returning TRUE.
5256 FLUSH events can travel up and downstream
5259 2005-05-30 Wim Taymans <wim@fluendo.com>
5261 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
5262 (gst_basesink_activate):
5263 Handle EOS in preroll.
5265 2005-05-30 Wim Taymans <wim@fluendo.com>
5267 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5268 (gst_queue_loop), (gst_queue_handle_src_event):
5269 Remove old pieces of code
5270 Flushing the queue in an upstream event is a very bad idea.
5272 2005-05-26 Andy Wingo <wingo@pobox.com>
5274 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
5275 gst_value_set_mini_object so as to add a ref on the object (which
5276 will be removed when the value is unset).
5278 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
5279 arg type in ::handoff.
5281 * gst/gstelement.c (gst_element_change_state): Also deactivate
5282 pads in READY->NULL, just in case the element didn't make it to
5283 PAUSED. Wingo tested, Wim approved.
5285 2005-05-26 Wim Taymans <wim@fluendo.com>
5287 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5288 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
5289 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
5290 A flushing pad cannot be used to alloc_buffer from.
5292 2005-05-26 Wim Taymans <wim@fluendo.com>
5294 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
5295 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
5296 (gst_bus_source_dispatch), (gst_bus_source_finalize),
5297 (gst_bus_create_watch), (gst_bus_add_watch_full):
5298 * gst/gstbus.h:
5299 Implement a real GSource and use g_main_context_wakeup() to
5300 signal new messages instead of the socketpair.
5302 2005-05-25 Wim Taymans <wim@fluendo.com>
5304 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
5305 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
5306 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5307 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
5308 (gst_pad_send_event), (gst_pad_start_task):
5309 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
5310 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
5311 (gst_queue_sink_activate), (gst_queue_src_activate),
5312 (gst_queue_change_state):
5313 * gst/gstqueue.h:
5314 Fix state changes for non sinks. We now change sinks, then elements
5315 with unconnected srcpads, then the rest.
5316 More efficient queue unlocking in flush and state changes.
5317 Set the pad activate mode even if it does not have an activate
5318 function.
5320 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5322 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
5323 Don't go in pull mode for non-seekable sources.
5324 * gst/elements/gsttypefindelement.h:
5325 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
5326 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
5327 (free_entry), (stop_typefinding),
5328 (gst_type_find_element_handle_event), (find_peek),
5329 (gst_type_find_element_chain), (do_pull_typefind),
5330 (gst_type_find_element_change_state):
5331 Allow typefinding (w/o seeking) in push-mode, simplified version
5332 of what was in 0.8.
5333 * gst/gstutils.c: (gst_buffer_join):
5334 * gst/gstutils.h:
5335 gst_buffer_join() from 0.8.
5337 2005-05-25 Wim Taymans <wim@fluendo.com>
5339 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
5340 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
5341 (gst_pad_send_event), (gst_pad_start_task):
5342 Disable attempt at mode switching until it is figured out.
5344 2005-05-25 Wim Taymans <wim@fluendo.com>
5346 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
5347 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
5348 (gst_basesink_finish_preroll), (gst_basesink_chain),
5349 (gst_basesink_loop), (gst_basesink_activate),
5350 (gst_basesink_change_state):
5351 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
5352 (gst_basesrc_get_range), (gst_basesrc_loop),
5353 (gst_basesrc_activate):
5354 * gst/elements/gsttee.c: (gst_tee_sink_activate):
5355 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
5356 (gst_real_pad_init), (gst_real_pad_set_property),
5357 (gst_real_pad_get_property), (gst_pad_set_active),
5358 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
5359 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
5360 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
5361 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
5362 (gst_pad_event_default_dispatch), (gst_pad_event_default),
5363 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
5364 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
5365 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
5366 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
5367 (gst_pad_stop_task):
5368 * gst/gstpad.h:
5369 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
5370 (gst_queue_loop), (gst_queue_src_activate):
5371 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
5372 (gst_task_get_state):
5373 * gst/gsttask.h:
5374 * gst/schedulers/threadscheduler.c:
5375 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
5376 Implement gst_pad_pause/start/stop_task(), take STREAM lock
5377 in task function.
5378 Remove ACTIVE pad flag, use FLUSHING everywhere
5379 Added _pad_chain(), _pad_get_range() to call chain/getrange
5380 functions.
5381 Add locks around IS_FLUSHING when reading.
5382 Take STREAM lock in chain(), get_range() functions so plugins
5383 don't need to take it anymore.
5387 2005-05-25 Wim Taymans <wim@fluendo.com>
5389 * tools/gst-launch.c: (event_loop):
5390 Unref message after using its contents instead of
5391 before.
5393 2005-05-24 Wim Taymans <wim@fluendo.com>
5395 * docs/design/draft-ghostpads.txt:
5396 * docs/design/draft-push-pull.txt:
5397 * docs/design/draft-query.txt:
5398 * docs/design/part-overview.txt:
5399 Docs updates, added general overview doc.
5401 2005-05-21 David Schleef <ds@schleef.org>
5403 * docs/gst/tmpl/old/GstBin.sgml:
5404 * docs/gst/tmpl/old/GstBuffer.sgml:
5405 * docs/gst/tmpl/old/GstCaps.sgml:
5406 * docs/gst/tmpl/old/GstClock.sgml:
5407 * docs/gst/tmpl/old/GstCompat.sgml:
5408 * docs/gst/tmpl/old/GstData.sgml:
5409 * docs/gst/tmpl/old/GstElement.sgml:
5410 * docs/gst/tmpl/old/GstEvent.sgml:
5411 * docs/gst/tmpl/old/GstIndex.sgml:
5412 * docs/gst/tmpl/old/GstStructure.sgml:
5413 * docs/gst/tmpl/old/GstTag.sgml:
5414 * docs/gst/tmpl/old/cothreads.sgml:
5415 * docs/gst/tmpl/old/cothreads_compat.sgml:
5416 * docs/gst/tmpl/old/gettext.sgml:
5417 * docs/gst/tmpl/old/gobject2gtk.sgml:
5418 * docs/gst/tmpl/old/grammar.tab.sgml:
5419 * docs/gst/tmpl/old/gst-i18n-app.sgml:
5420 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
5421 * docs/gst/tmpl/old/gst_private.sgml:
5422 * docs/gst/tmpl/old/gstaggregator.sgml:
5423 * docs/gst/tmpl/old/gstarch.sgml:
5424 * docs/gst/tmpl/old/gstatomic_impl.sgml:
5425 * docs/gst/tmpl/old/gstbufferstore.sgml:
5426 * docs/gst/tmpl/old/gstdata_private.sgml:
5427 * docs/gst/tmpl/old/gstdisksink.sgml:
5428 * docs/gst/tmpl/old/gstdisksrc.sgml:
5429 * docs/gst/tmpl/old/gstelementfactory.sgml:
5430 * docs/gst/tmpl/old/gstextratypes.sgml:
5431 * docs/gst/tmpl/old/gstfakesink.sgml:
5432 * docs/gst/tmpl/old/gstfakesrc.sgml:
5433 * docs/gst/tmpl/old/gstfdsink.sgml:
5434 * docs/gst/tmpl/old/gstfdsrc.sgml:
5435 * docs/gst/tmpl/old/gstfilesink.sgml:
5436 * docs/gst/tmpl/old/gstfilesrc.sgml:
5437 * docs/gst/tmpl/old/gsthttpsrc.sgml:
5438 * docs/gst/tmpl/old/gstidentity.sgml:
5439 * docs/gst/tmpl/old/gstindexfactory.sgml:
5440 * docs/gst/tmpl/old/gstmarshal.sgml:
5441 * docs/gst/tmpl/old/gstmd5sink.sgml:
5442 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
5443 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
5444 * docs/gst/tmpl/old/gstpadtemplate.sgml:
5445 * docs/gst/tmpl/old/gstpipefilter.sgml:
5446 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
5447 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
5448 * docs/gst/tmpl/old/gstshaper.sgml:
5449 * docs/gst/tmpl/old/gstspider.sgml:
5450 * docs/gst/tmpl/old/gstspideridentity.sgml:
5451 * docs/gst/tmpl/old/gststatistics.sgml:
5452 * docs/gst/tmpl/old/gsttee.sgml:
5453 * docs/gst/tmpl/old/gsttimecache.sgml:
5454 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
5455 * docs/gst/tmpl/old/gstxmlregistry.sgml:
5456 * docs/gst/tmpl/old/gthread-cothreads.sgml:
5457 * docs/gst/tmpl/old/types.sgml:
5458 I didn't intend to add these or check them in.
5460 2005-05-19 David Schleef <ds@schleef.org>
5462 * configure.ac: Use -no-common everywhere. In a sane world, it
5463 would be the default in libtool, because without it, you can't
5464 build DLLs on Windows.
5465 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
5466 * docs/gst/gstreamer-sections.txt:
5467 * docs/gst/tmpl/gstcpu.sgml:
5468 * docs/gst/tmpl/gstdata.sgml:
5469 * docs/gst/tmpl/gstthread.sgml:
5471 2005-05-19 David Schleef <ds@schleef.org>
5473 * gst/gstminiobject.c: (gst_value_set_mini_object),
5474 (gst_value_take_mini_object), (gst_value_get_mini_object):
5475 * gst/gstminiobject.h: Add GValue set/get functions.
5477 2005-05-19 Wim Taymans <wim@fluendo.com>
5479 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
5480 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
5481 (gst_subbuffer_init), (gst_buffer_is_span_fast):
5482 * gst/gstbuffer.h:
5483 * gst/gstbus.c: (gst_bus_post):
5484 * gst/gstelement.c: (gst_element_get_random_pad):
5485 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
5486 Make subbufer unref the parent in finalize.
5487 some more debugging info.
5490 2005-05-19 Wim Taymans <wim@fluendo.com>
5492 * gst/base/gstbasesink.c: (gst_basesink_class_init),
5493 (gst_basesink_init), (gst_basesink_finalize),
5494 (gst_basesink_activate), (gst_basesink_change_state):
5495 Don't free preroll queue too early.
5497 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5499 * gst/Makefile.am:
5500 * gst/ROADMAP:
5501 Hi, I'm outdated. Please shoot me.
5503 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5505 * gst/gstpipeline.c: (gst_pipeline_send_event):
5506 Do not access variables after they have been deleted.
5508 2005-05-19 Wim Taymans <wim@fluendo.com>
5510 * tools/gst-inspect.c: (print_plugin_features):
5511 A plugin feature does unfortunatly not use the
5512 object name yet...
5514 2005-05-18 Wim Taymans <wim@fluendo.com>
5516 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
5517 Port _span() functions to new subbuffers.
5519 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5521 * gst/gstbin.c: (gst_bin_add_func):
5522 Fix clock settery in bins when adding kids after the clock has
5523 been selected.
5525 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5527 * gst/elements/gstidentity.c: (gst_identity_class_init):
5528 Workaround until signals support GstMiniObject.
5530 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
5532 * gst/gstbuffer.c:
5533 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
5535 2005-05-18 Wim Taymans <wim@fluendo.com>
5537 * gst/base/Makefile.am:
5538 * gst/base/gstadapter.c: (gst_adapter_base_init),
5539 (gst_adapter_class_init), (gst_adapter_init),
5540 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
5541 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
5542 (gst_adapter_flush), (gst_adapter_available),
5543 (gst_adapter_available_fast):
5544 * gst/base/gstadapter.h:
5545 Ported and added adapter to the base classes.
5547 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
5549 * gst/gst.c:
5550 * gst/gstmessage.c:
5551 Make sure the class is reffed/unreffed once before threads can be
5552 used. Fixes #304551.
5554 2005-05-17 Wim Taymans <wim@fluendo.com>
5556 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
5557 (gst_basesink_chain_unlocked), (gst_basesink_activate):
5558 * gst/gstminiobject.c: (gst_mini_object_get_type),
5559 (gst_mini_object_free):
5560 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
5561 (gst_pad_push), (gst_pad_push_event):
5562 * gst/gstqueue.c: (gst_queue_change_state):
5563 Don't queue buffers in basesink when we are flushing.
5564 Unref buffer when flushing in basesink.
5565 Flush queue when going to READY
5566 Unref buffer when _push() returns an error.
5567 Don't free MiniObject instance when refcount is incremented
5568 in _finalize() so that we can recover objects.
5570 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
5572 * docs/manual/advanced-schedulers.xml:
5573 * docs/manual/appendix-checklist.xml:
5574 * docs/pwg/advanced-clock.xml:
5575 * docs/pwg/advanced-interfaces.xml:
5576 * docs/pwg/advanced-request.xml:
5577 * docs/pwg/advanced-types.xml:
5578 * docs/pwg/intro-preface.xml:
5579 * examples/plugins/example.c: (gst_example_get_type),
5580 (gst_example_class_init), (gst_example_chain),
5581 (gst_example_set_property), (gst_example_get_property),
5582 (gst_example_change_state), (plugin_init):
5583 * examples/plugins/example.h:
5584 small doc fixes
5586 2005-05-17 Wim Taymans <wim@fluendo.com>
5588 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
5589 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
5590 * gst/gstqueue.c: (gst_queue_change_state):
5591 Clear queue when going to READY.
5592 Remove IN_SETCAPS flag too.
5594 2005-05-17 Tim-Philipp M??ller <tim at centricular dot net>
5596 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
5597 Remove implicit cast from gboolean to GstElementStateReturn;
5598 make sure we still return failure in paused => ready case if
5599 the parent class fails to change state and our own stop
5600 vfunc succeeds.
5602 2005-05-17 Wim Taymans <wim@fluendo.com>
5604 * tools/gst-launch.c: (event_loop):
5605 Message was unreffed too soon.
5607 2005-05-16 Andy Wingo <wingo@pobox.com>
5609 * gst/gstbin.c (sink_iterator_filter): Err... um...
5611 * check/gst/gstbin.c (test_ghost_pads): New test for the
5612 ghosting-if-elements-not-in-same-bin behavior.
5614 2005-05-16 David Schleef <ds@schleef.org>
5616 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
5617 accessing refcount directly.
5619 2005-05-15 David Schleef <ds@schleef.org>
5621 * check/Makefile.am: remove GstData checks
5622 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
5623 * gst/Makefile.am: add miniobject, remove data
5624 * gst/gst.h: add miniobject, remove data
5625 * gst/gstdata.c: remove
5626 * gst/gstdata.h: remove
5627 * gst/gstdata_private.h: remove
5628 * gst/gsttypes.h: remove GstEvent and GstMessage
5629 * gst/gstelement.c: (gst_element_post_message): fix for API changes
5630 * gst/gstmarshal.list: change BOXED -> OBJECT
5632 Implement GstMiniObject.
5633 * gst/gstminiobject.c:
5634 * gst/gstminiobject.h:
5636 Modify to be subclasses of GstMiniObject.
5637 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
5638 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
5639 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
5640 (gst_subbuffer_get_type), (gst_subbuffer_init),
5641 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
5642 (gst_buffer_span):
5643 * gst/gstbuffer.h:
5644 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
5645 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
5646 (_gst_event_copy), (gst_event_new):
5647 * gst/gstevent.h:
5648 * gst/gstmessage.c: (_gst_message_initialize),
5649 (gst_message_get_type), (gst_message_class_init),
5650 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
5651 (gst_message_new), (gst_message_new_error),
5652 (gst_message_new_warning), (gst_message_new_tag),
5653 (gst_message_new_state_changed), (gst_message_new_application):
5654 * gst/gstmessage.h:
5655 * gst/gstprobe.c: (gst_probe_perform),
5656 (gst_probe_dispatcher_dispatch):
5657 * gst/gstprobe.h:
5658 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
5659 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
5660 (_gst_query_copy), (gst_query_new):
5662 Update elements for GstData -> GstMiniObject changes
5663 * gst/gstquery.h:
5664 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
5665 (gst_queue_chain), (gst_queue_loop):
5666 * gst/elements/gstbufferstore.c:
5667 (gst_buffer_store_add_buffer_func),
5668 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
5669 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
5670 (gst_fakesink_render):
5671 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
5672 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
5673 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
5674 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
5675 (gst_filesrc_create_read):
5676 * gst/elements/gstidentity.c: (gst_identity_class_init):
5677 * gst/elements/gsttypefindelement.c:
5678 (gst_type_find_element_src_event), (free_entry_buffers),
5679 (gst_type_find_element_handle_event):
5680 * libs/gst/dataprotocol/dataprotocol.c:
5681 (gst_dp_header_from_buffer):
5682 * libs/gst/dataprotocol/dataprotocol.h:
5683 * libs/gst/dataprotocol/dp-private.h:
5685 2005-05-15 David Schleef <ds@schleef.org>
5687 * gst/elements/gstelements.c: Don't include headers that were
5688 just removed.
5690 2005-05-15 David Schleef <ds@schleef.org>
5692 * gst/elements/Makefile.am: Remove some elements that don't
5693 need to be in the core (or even exist at all).
5694 * gst/elements/gstaggregator.c:
5695 * gst/elements/gstaggregator.h:
5696 * gst/elements/gstmd5sink.c:
5697 * gst/elements/gstmd5sink.h:
5698 * gst/elements/gstmultifilesrc.c:
5699 * gst/elements/gstmultifilesrc.h:
5700 * gst/elements/gstpipefilter.c:
5701 * gst/elements/gstpipefilter.h:
5702 * gst/elements/gstshaper.c:
5703 * gst/elements/gstshaper.h:
5704 * gst/elements/gststatistics.c:
5705 * gst/elements/gststatistics.h:
5706 * po/POTFILES.in: Remove above files.
5708 2005-05-14 Andy Wingo <wingo@pobox.com>
5710 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
5711 so as to get the refs right.
5712 (sink_iterator_filter): New function, wraps bin_element_is_sink,
5713 unreffing objects that don't pass the filter.
5715 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
5716 gst_element_set_bus.
5717 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
5718 normal cases, this will destroy the bus.
5720 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
5721 object.
5723 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
5724 has no sinks.
5726 2005-05-13 Andy Wingo <wingo@pobox.com>
5728 * gst/gstutils.c (gst_element_link_pads): Instead of calling
5729 gst_pad_link, call pad_link_maybe_ghosting,
5730 (pad_link_maybe_ghosting): Links pads, making sure that the
5731 elements being linked are in the same bin.
5732 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
5733 Helpers for pad_link_maybe_ghosting.
5735 2005-05-13 Tim-Philipp M??ller <tim at centricular dot net>
5737 * configure.ac:
5738 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
5740 2005-05-13 Tim-Philipp M??ller <tim at centricular dot net>
5742 * docs/design/part-element-source.txt:
5743 Mention GstPushSrc
5745 2005-05-12 Wim Taymans <wim@fluendo.com>
5747 * gst/base/gstbasesink.c: (gst_basesink_init),
5748 (gst_basesink_activate):
5749 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
5750 (gst_basesrc_is_seekable):
5751 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5752 (bin_element_is_sink), (gst_bin_change_state):
5753 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
5754 * gst/gstelement.h:
5755 Identify sinks by their flag to avoid overly complicated
5756 checks (fow now).
5757 Do state changes even for elements not reachable from the
5758 sinks.
5759 BaseSink is a sink now :)
5760 Some more debugging info in the basesrc.
5763 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5765 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
5766 Implement _query on a bin, similar to _send_event.
5768 2005-05-12 Tim-Philipp M??ller <tim at centricular dot net>
5770 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
5771 Discont event offset format should be GST_FORMAT_BYTES,
5772 not GST_FORMAT_TIME.
5774 2005-05-12 Wim Taymans <wim@fluendo.com>
5776 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
5777 Same fix as Ronald's but without the signal.
5779 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5781 * gst/gstutils.c: (gst_element_query_position):
5782 No, an element is not a pad.
5784 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5786 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
5787 (gst_bin_get_state):
5788 If a child is removed from a bin while we remove the child from
5789 the bin and while we're retrieving its state, signal this to the
5790 get_state function so we abort the wait (instead of waiting for
5791 a timeout) and can immediately re-iterate over all other elements.
5793 2005-05-12 Wim Taymans <wim@fluendo.com>
5795 * gst/base/Makefile.am:
5796 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
5797 (gst_basesrc_start):
5798 * gst/base/gstbasesrc.h:
5799 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
5800 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
5801 (gst_pushsrc_init), (gst_pushsrc_create):
5802 * gst/base/gstpushsrc.h:
5803 Added is_seekable to BaseSrc
5804 Added simple PushSrc.
5806 2005-05-11 Wim Taymans <wim@fluendo.com>
5808 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
5809 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
5810 (gst_element_link_pads), (gst_element_query_position),
5811 (gst_element_query_convert), (intersect_caps_func),
5812 (gst_pad_query_position), (gst_pad_query_convert):
5813 Fix refcounting in utils function.
5814 No point in trying to activate a pad when it's added, it could
5815 be added from the state change function and then we deadlock, the
5816 element has to decide what to do.
5818 2005-05-10 Andy Wingo <wingo@pobox.com>
5820 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
5821 *all* the arguments.
5823 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
5824 stream lock if it's a FLUSH_DONE; normal flushes don't get the
5825 lock (according to the docs -- if this is wrong change the docs).
5827 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
5828 flush messages in the NULL state.
5830 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
5831 message immediately and return.
5832 (gst_bus_set_flushing): New function. If a bus is flushing, it
5833 flushes out any queued messages and immediately unrefs new
5834 messages. This is so when an element goes to NULL, all of the
5835 unhandled messages coming from it can be freed, and their
5836 references to the element dropped. In other words: message source
5837 ref considered harmful :P
5839 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
5840 we're finished with it.
5842 * gst/gstmessage.c (gst_message_new_state_changed):
5844 2005-05-10 Wim Taymans <wim@fluendo.com>
5846 * gst/gstvalue.c: (gst_value_compare_flags),
5847 (gst_value_serialize_flags), (gst_value_deserialize_flags),
5848 (_gst_value_initialize):
5849 Added flags serialize/deserialize/compare code.
5851 2005-05-09 Andy Wingo <wingo@pobox.com>
5853 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
5854 Intersect the peer's caps with our caps.
5856 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
5858 * gst/base/gsttypefindhelper.c: (helper_find_peek):
5859 * gst/elements/gsttypefindelement.c: (find_peek):
5860 Handle negative offsets better. Fixes decodebin.
5862 2005-05-09 Wim Taymans <wim@fluendo.com>
5864 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
5865 (gst_base_transform_event):
5866 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
5867 Implement accept_caps.
5868 Fix silly lock/unlock mismatch in base class.
5870 2005-05-09 Wim Taymans <wim@fluendo.com>
5872 * docs/design/draft-push-pull.txt:
5873 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
5874 * gst/elements/gstfilesink.c: (gst_filesink_init),
5875 (gst_filesink_query):
5876 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
5877 (gst_type_find_handle_src_query), (find_element_get_length):
5878 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
5879 * gst/gstelement.h:
5880 * gst/gstmessage.c:
5881 * gst/gstmessage.h:
5882 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
5883 (gst_real_pad_get_caps_unlocked),
5884 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
5885 (gst_pad_event_default_dispatch), (gst_pad_event_default),
5886 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
5887 (gst_real_pad_dispose), (gst_real_pad_finalize),
5888 (gst_pad_load_and_link), (gst_pad_save_thyself),
5889 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
5890 (gst_pad_check_pull_range), (gst_pad_pull_range),
5891 (gst_pad_template_get_type), (gst_pad_template_class_init),
5892 (gst_pad_template_init), (gst_pad_template_dispose),
5893 (name_is_valid), (gst_static_pad_template_get),
5894 (gst_pad_template_new), (gst_static_pad_template_get_caps),
5895 (gst_pad_template_get_caps), (gst_pad_set_element_private),
5896 (gst_pad_get_element_private), (gst_pad_start_task),
5897 (gst_pad_pause_task), (gst_pad_stop_task),
5898 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
5899 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
5900 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
5901 (gst_ghost_pad_new):
5902 * gst/gstpad.h:
5903 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
5904 (gst_query_new_position), (gst_query_set_position),
5905 (gst_query_parse_position), (gst_query_new_convert),
5906 (gst_query_set_convert), (gst_query_parse_convert):
5907 * gst/gstquery.h:
5908 * gst/gstqueryutils.c:
5909 * gst/gstqueryutils.h:
5910 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
5911 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
5912 (gst_queue_handle_src_query):
5913 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
5914 (gst_element_query_position), (gst_element_query_convert),
5915 (intersect_caps_func), (gst_pad_query_position),
5916 (gst_pad_query_convert):
5917 * gst/gstutils.h:
5918 * tools/gst-inspect.c: (print_pad_info):
5919 * tools/gst-xmlinspect.c: (print_element_info):
5920 Remove old query functions. Ported old code.
5921 Added position/convert helper functions to gstutils.
5922 Reordered gstpad.c code, grouping relevant things.
5923 Remove gst_message_new(), always need to speficy a specific
5924 message.
5927 2005-05-09 Andy Wingo <wingo@pobox.com>
5929 * gst/gstiterator.h: Add some includes.
5931 * gst/gstqueryutils.h: Include more headers.
5933 * gst/gstpad.h:
5934 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
5935 some uses of gst_pad_query.
5937 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
5938 NULL out parameters.
5939 (gst_query_new_position): New proc, allocates a new position
5940 query.
5942 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
5943 gstqueryutils.c to the build.
5945 * gst/gststructure.c (gst_structure_set_valist): Implement with
5946 the generic G_VALUE_COLLECT.
5948 2005-05-08 Edward Hervey <bilboed@bilboed.com>
5950 * gst/Makefile.am: (gst_headers):
5951 Added gstqueryutils.h to the list of headers to install, that was
5952 a 'nachty' move wingo :)
5954 2005-05-06 Andy Wingo <wingo@pobox.com>
5956 * gst/gstquery.h
5957 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
5958 GstData, init a memchunk.
5959 (standard_definitions): Add a few query types, deprecate a few.
5960 (gst_query_get_type): New proc.
5961 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
5962 implementation.
5963 (gst_query_new_application, gst_query_get_structure): New public
5964 procs.
5966 * docs/design/draft-query.txt: Removed LINKS from the query types,
5967 because all the rest can be dispatched to other pads -- seemed
5968 ugly to have a query that couldn't be dispatched. internal_links
5969 is fine as a pad method.
5971 * gst/gstpad.h: Add query2 as a pad method, add the new functions
5972 in gstpad.c, but maintain binary compatibility for the moment.
5973 Will fix before 0.9 is out.
5975 * gst/gstqueryutils.c:
5976 * gst/gstqueryutils.h: New files, implement 3 methods for each
5977 query type: parse_query, parse_response, and set. Probably need an
5978 allocator as well.
5980 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
5982 * gst/elements/gstfilesink.c (gst_filesink_query2):
5983 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
5984 query_types, and formats methods.
5986 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
5987 (gst_pad_set_query2_function): New functions.
5988 (gst_real_pad_init): Set query2_default as the default query2
5989 function. Basically just dispatches to internally linked pads.
5991 Needs review!
5993 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
5994 without using the atomic operations. Only one thread can possibly
5995 be accessing the data at this point. Changed so as to avoid
5996 gst_atomic operations.
5998 2005-05-06 Wim Taymans <wim@fluendo.com>
6000 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
6001 Also set caps if we use the fallback buffer alloc.
6003 2005-05-06 Tim-Philipp M??ller <tim at centricular dot net>
6005 * docs/gst/Makefile.am:
6006 * docs/gst/gstreamer-docs.sgml:
6007 * docs/gst/gstreamer-sections.txt:
6008 * docs/gst/tmpl/gstatomic.sgml:
6009 * docs/gst/tmpl/gstmemchunk.sgml:
6010 * testsuite/elements/struct_i386.h:
6011 * win32/GStreamer.vcproj:
6012 * win32/Makefile:
6013 Purge GstAtomic stuff from docs and win32 makefiles as well
6015 2005-05-06 Wim Taymans <wim@fluendo.com>
6017 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
6018 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
6019 * gst/gstpad.c: (gst_pad_peer_get_caps):
6020 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
6021 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
6022 (gst_queue_src_activate), (gst_queue_change_state):
6023 * gst/gstqueue.h:
6024 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6025 (intersect_caps_func):
6026 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
6027 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
6028 Some fixes for the peer_get_caps() change.
6030 2005-05-06 Wim Taymans <wim@fluendo.com>
6032 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
6033 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
6034 (gst_basesink_activate):
6035 Actually do something with error codes returned from the push
6036 functions.
6038 2005-05-06 Wim Taymans <wim@fluendo.com>
6040 * docs/design/part-element-sink.txt:
6041 * docs/design/part-element-source.txt:
6042 * gst/base/gstbasesink.c: (gst_basesink_class_init),
6043 (gst_basesink_event), (gst_basesink_activate):
6044 * gst/base/gstbasesink.h:
6045 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
6046 (gst_basesrc_activate):
6047 * gst/base/gstbasesrc.h:
6048 * gst/gstelement.c: (gst_element_pads_activate):
6049 Some more documentation.
6050 Fixed scheduling decision in _pads_activate().
6052 2005-05-05 Andy Wingo <wingo@pobox.com>
6054 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
6055 the test suite.
6057 2005-05-05 Wim Taymans <wim@fluendo.com>
6059 * gst/base/Makefile.am:
6060 * gst/base/gstbasesink.h:
6061 * gst/base/gstbasesrc.c: (gst_basesrc_init),
6062 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
6063 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
6064 (gst_collectpads_class_init), (gst_collectpads_init),
6065 (gst_collectpads_finalize), (gst_collectpads_new),
6066 (gst_collectpads_set_function), (gst_collectpads_add_pad),
6067 (find_pad), (gst_collectpads_remove_pad),
6068 (gst_collectpads_is_active), (gst_collectpads_collect),
6069 (gst_collectpads_collect_range), (gst_collectpads_start),
6070 (gst_collectpads_stop), (gst_collectpads_peek),
6071 (gst_collectpads_pop), (gst_collectpads_available),
6072 (gst_collectpads_read), (gst_collectpads_flush),
6073 (gst_collectpads_chain):
6074 * gst/base/gstcollectpads.h:
6075 * gst/elements/Makefile.am:
6076 * gst/elements/gstelements.c:
6077 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6078 (gst_fakesink_get_times), (gst_fakesink_event),
6079 (gst_fakesink_preroll), (gst_fakesink_render):
6080 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
6081 (gst_filesink_init), (gst_filesink_set_location),
6082 (gst_filesink_open_file), (gst_filesink_close_file),
6083 (gst_filesink_pad_query), (gst_filesink_event),
6084 (gst_filesink_render), (gst_filesink_change_state):
6085 * gst/elements/gstfilesink.h:
6086 Added object to help in making collect pad based elements.
6087 Ported filesink.
6088 Make event function in sink baseclass return gboolean.
6090 2005-05-05 Wim Taymans <wim@fluendo.com>
6092 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
6093 (gst_bin_get_by_name):
6094 * gst/gstbuffer.h:
6095 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
6096 (gst_clock_finalize):
6097 * gst/gstdata.c: (gst_data_replace):
6098 * gst/gstdata.h:
6099 * gst/gstelement.c: (gst_element_request_pad),
6100 (gst_element_pads_activate):
6101 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
6102 (gst_object_unref):
6103 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6104 (gst_pad_set_checkgetrange_function),
6105 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
6106 (gst_pad_check_pull_range), (gst_pad_pull_range),
6107 (gst_static_pad_template_get_caps), (gst_pad_start_task),
6108 (gst_pad_pause_task), (gst_pad_stop_task):
6109 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
6110 (gst_element_request_pad), (gst_pad_proxy_getcaps):
6111 Fix name lookup in GstBin.
6112 Added _data_replace() function and _buffer_replace()
6113 Use finalize method to clean up clock.
6114 Fix refcounting on request pads.
6115 Fix pad schedule mode error.
6116 Some more object refcounting debug info,
6119 2005-05-04 Andy Wingo <wingo@pobox.com>
6121 * check/Makefile.am:
6122 * docs/gst/tmpl/gstatomic.sgml:
6123 * docs/gst/tmpl/gstplugin.sgml:
6124 * gst/base/gstbasesink.c: (gst_basesink_activate):
6125 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
6126 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
6127 (gst_basesrc_query), (gst_basesrc_set_property),
6128 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
6129 (gst_basesrc_activate):
6130 * gst/base/gstbasesrc.h:
6131 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
6132 (gst_base_transform_src_activate):
6133 * gst/elements/gstelements.c:
6134 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6135 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
6136 * gst/elements/gsttee.c: (gst_tee_sink_activate):
6137 * gst/elements/gsttypefindelement.c: (find_element_get_length),
6138 (gst_type_find_element_checkgetrange),
6139 (gst_type_find_element_activate):
6140 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
6141 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
6142 (gst_caps_load_thyself):
6143 * gst/gstelement.c: (gst_element_pads_activate),
6144 (gst_element_save_thyself), (gst_element_restore_thyself):
6145 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
6146 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
6147 * gst/gstpad.h:
6148 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
6149 (gst_xml_parse_file), (gst_xml_parse_memory),
6150 (gst_xml_get_element), (gst_xml_make_element):
6151 * gst/indexers/gstfileindex.c: (gst_file_index_load),
6152 (_file_index_id_save_xml), (gst_file_index_commit):
6153 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
6154 (read_enum), (load_pad_template), (load_feature), (load_plugin),
6155 (load_paths):
6156 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
6157 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
6158 * tools/gst-complete.c: (main):
6159 * tools/gst-compprep.c: (main):
6160 * tools/gst-inspect.c: (print_element_properties_info):
6161 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
6162 * tools/gst-xmlinspect.c: (print_element_properties):
6163 GCC 4 fixen.
6165 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
6167 * gst/gstplugin.c: (gst_plugin_check_module),
6168 (gst_plugin_check_file), (gst_plugin_load_file):
6169 apply patch from #172526 to make register work on MacOSX
6171 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6173 * docs/gst/tmpl/gstconfig.sgml:
6174 * gst/gstconfig.h.in:
6175 move documentation for some symbols. Add doc for GST_PTR_FORMAT
6176 * testsuite/debug/printf_extension.c: (main):
6177 Do not use GST_PTR_FORMAT on pointers to types with
6178 sizeof < sizeof(gpointer). Fixes test on 64-bit
6179 * testsuite/elements/property.h:
6180 use correct printf format
6182 2005-05-02 Wim Taymans <wim@fluendo.com>
6184 * docs/design/draft-push-pull.txt:
6185 * docs/design/draft-query.txt:
6186 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
6187 (gst_basesrc_start):
6188 Added draft for new query API.
6189 Added draft for better selecting scheduling methods.
6190 Make basesrc ignore length if the subclass does not support
6191 it.
6193 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6195 * gst/Makefile.am:
6196 possible fixes for automake-1.5 - _LIBADD is reserved
6198 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
6200 * docs/faq/Makefile.am:
6201 * docs/manual/Makefile.am:
6202 * docs/manuals.mak:
6203 * docs/pwg/Makefile.am:
6204 * gst/Makefile.am:
6205 possible fixes for automake-1.5
6207 2005-04-28 Wim Taymans <wim@fluendo.com>
6209 * gst/base/gstbasesink.c: (gst_basesink_base_init),
6210 (gst_basesink_pad_getcaps), (gst_basesink_init),
6211 (gst_basesink_do_sync):
6212 * gst/gstclock.c: (gst_clock_entry_new):
6213 * gst/gstevent.c: (gst_event_discont_get_value):
6214 * gst/gstpipeline.c: (pipeline_bus_handler),
6215 (gst_pipeline_change_state):
6216 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6217 Better debugging of clocking info.
6218 Allow NULL values when getting discont values.
6220 2005-04-27 Wim Taymans <wim@fluendo.com>
6222 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
6223 * check/gst/gstpad.c: (gst_pad_suite):
6224 Increase timeout for checks.
6226 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6228 * check/Makefile.am:
6229 fix the broken rule for cleanup. Apparently this rule is
6230 only needed on FC2, so maybe this warrants further autotool
6231 inspection.
6233 2005-04-26 Wim Taymans <wim@fluendo.com>
6235 * gst/gsttrashstack.h:
6236 Ooohh. a nasty one! After having a failed pop() from the stack,
6237 it's possible that the stack is empty. In that case, don't
6238 follow the NULL pointer.
6240 2005-04-25 Wim Taymans <wim@fluendo.com>
6242 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6243 (gst_pad_set_checkgetrange_function),
6244 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
6245 (gst_pad_check_pull_range), (gst_pad_pull_range),
6246 (gst_static_pad_template_get_caps), (gst_pad_start_task),
6247 (gst_pad_pause_task), (gst_pad_stop_task):
6248 * gst/gstplugin.c: (gst_plugin_load):
6249 * gst/gstplugin.h:
6250 Remove gst_library_load as it does more harm than good with
6251 the new g_module flags.
6252 Revert bogus caps template check in pad linking, pad caps
6253 are important when linking not the template, which is more
6254 general than the current caps.
6256 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6258 * gst/autoplug/.cvsignore:
6259 * gst/autoplug/Makefile.am:
6260 * gst/autoplug/gstsearchfuncs.c:
6261 * gst/autoplug/gstsearchfuncs.h:
6262 * gst/autoplug/gstspider.c:
6263 * gst/autoplug/gstspider.h:
6264 * gst/autoplug/gstspideridentity.c:
6265 * gst/autoplug/gstspideridentity.h:
6266 * gst/autoplug/spidertest.c:
6267 Die, spider, die.
6269 2005-04-25 Wim Taymans <wim@fluendo.com>
6271 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6272 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
6273 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
6274 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
6275 * gst/gstpad.h:
6276 Added stubs for unimplemented functions.
6278 2005-04-24 David Schleef <ds@schleef.org>
6280 * gst/gstpad.h: Disable some unimplemented functions. Wim,
6281 please fix.
6283 2005-04-24 David Schleef <ds@schleef.org>
6285 Convert everything from GstAtomicInt to g_atomic_int_*, and
6286 remove gstatomic.
6287 * gst/Makefile.am:
6288 * gst/gstatomic.c:
6289 * gst/gstatomic.h:
6290 * gst/gstatomic_impl.h:
6291 * gst/gstbuffer.c:
6292 * gst/gstcaps.c:
6293 * gst/gstcaps.h:
6294 * gst/gstclock.c:
6295 * gst/gstclock.h:
6296 * gst/gstdata.c:
6297 * gst/gstdata.h:
6298 * gst/gstdata_private.h:
6299 * gst/gstevent.c:
6300 * gst/gstinfo.c:
6301 * gst/gstinfo.h:
6302 * gst/gstmessage.c:
6303 * gst/gstobject.c:
6304 * gst/gstobject.h:
6305 * gst/gststructure.c:
6306 * gst/gststructure.h:
6307 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
6308 * gst/gstutils.h:
6310 2005-04-24 David Schleef <ds@schleef.org>
6312 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
6313 make the regressions tests work. Remove some code that is no
6314 longer true.
6315 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
6316 Disable warning for pads without templates.
6318 2005-04-24 David Schleef <ds@schleef.org>
6320 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
6321 functions that handle filtered links.
6322 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
6323 removed functions.
6324 * gst/gstutils.c: Fix/remove utility functions that handle
6325 filtered caps.
6326 * gst/gstutils.h:
6327 * gst/gstvalue.c: Add serialization/deserialization of caps
6328 * gst/parse/grammar.y: Ignore filtered caps when linking. This
6329 requires fixing so that the filter caps notation creates
6330 a capsfilter element and sets the filter_caps property. I
6331 think everyone probably wants to keep the shorthand notation.
6332 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
6333 * docs/gst/tmpl/gstpad.sgml:
6335 * gst/elements/gstelements.c: Register capsfilter element.
6336 * gst/Makefile.am: fix spacing
6337 * docs/random/ds/0.9-suggested-changes: random
6339 2005-04-23 David Schleef <ds@schleef.org>
6341 * gst/elements/Makefile.am:
6342 * gst/elements/gstcapsfilter.c: New element that acts like an
6343 identity, but filters caps. Will eventually replace filtered
6344 caps in pad linking.
6345 * gst/gstutils.c: (gst_element_create_all_pads): New function
6346 to create all the ALWAYS pads that are registered with an
6347 element class. This functionality should eventually be
6348 merged in with GstElement initialization.
6349 * gst/gstutils.h:
6350 * testsuite/trigger/README: part of trigger test code that should
6351 have been checked in a long time ago.
6353 2005-04-23 David Schleef <ds@schleef.org>
6355 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
6356 needed with new versions of libtool (nobody will confirm this),
6357 and hard to carry around.
6358 * gst/autoplug/Makefile.am:
6359 * gst/base/Makefile.am:
6360 * gst/elements/Makefile.am:
6361 * gst/indexers/Makefile.am:
6362 * gst/schedulers/Makefile.am:
6363 * libs/gst/bytestream/Makefile.am:
6364 * libs/gst/control/Makefile.am:
6365 * libs/gst/dataprotocol/Makefile.am:
6366 * libs/gst/getbits/Makefile.am:
6368 2005-04-21 Wim Taymans <wim@fluendo.com>
6370 * docs/design/draft-push-pull.txt:
6371 * docs/design/part-MT-refcounting.txt:
6372 * docs/design/part-TODO.txt:
6373 * docs/design/part-caps.txt:
6374 * docs/design/part-events.txt:
6375 * docs/design/part-gstbus.txt:
6376 * docs/design/part-gstpipeline.txt:
6377 * docs/design/part-messages.txt:
6378 * docs/design/part-push-pull.txt:
6379 * docs/design/part-query.txt:
6380 Some more docs.
6382 2005-04-21 Wim Taymans <wim@fluendo.com>
6384 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
6385 (gst_message_new), (gst_message_new_error),
6386 (gst_message_new_warning), (gst_message_new_tag),
6387 (gst_message_new_state_changed), (gst_message_new_application),
6388 (gst_message_get_structure):
6389 * gst/gstmessage.h:
6390 * gst/gststructure.c: (gst_structure_set_parent_refcount),
6391 (gst_structure_copy_conditional):
6392 Use parent refcount in GstMessage to ensure GstStructure
6393 consistency.
6394 Cleaned up headers a bit.
6397 2005-04-20 Wim Taymans <wim@fluendo.com>
6399 * gst/base/gstbasesink.c: (gst_basesink_base_init),
6400 (gst_basesink_pad_getcaps), (gst_basesink_init),
6401 (gst_basesink_chain_unlocked):
6402 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
6403 (gst_type_find_helper):
6404 * gst/elements/gsttypefindelement.c:
6405 (gst_type_find_element_have_type), (gst_type_find_element_init),
6406 (stop_typefinding), (gst_type_find_element_handle_event),
6407 (find_suggest), (gst_type_find_element_chain),
6408 (gst_type_find_element_checkgetrange),
6409 (gst_type_find_element_getrange), (do_typefind),
6410 (gst_type_find_element_activate):
6411 * gst/gstbuffer.c: (_gst_buffer_sub_free),
6412 (gst_buffer_default_free), (gst_buffer_default_copy),
6413 (gst_buffer_set_caps):
6414 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
6415 (gst_caps_replace):
6416 * gst/gstmessage.c: (gst_message_new),
6417 (gst_message_new_state_changed):
6418 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6419 (gst_pad_set_checkgetrange_function),
6420 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
6421 (gst_pad_set_caps), (gst_pad_check_pull_range),
6422 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
6423 * gst/gstpad.h:
6424 * gst/gsttypefind.c: (gst_type_find_register):
6425 Make gst_caps_replace() work like other _replace() functions.
6426 Use _caps_replace() where possible.
6427 Make sure _message_new() initialises its field.
6428 Add gst_static_pad_template_get_caps()
6431 2005-04-18 Andy Wingo <wingo@pobox.com>
6433 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
6434 on the peer, not the pad. I think that was a typo. Pass an extra
6435 arg to see if random access is possible. Activate the pads as
6436 PULL_RANGE if possible.
6438 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
6440 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
6441 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
6442 to PROP_....
6444 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6446 * docs/faq/using.xml:
6447 Add note on gstreamer-properties (#154996).
6449 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6451 * docs/random/bbb/optional-properties:
6452 Some analysis on optional properties.
6454 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6456 * docs/gst/tmpl/gstelementfactory.sgml:
6457 * gst/gstelement.h:
6458 * gst/gstelementfactory.c: (gst_element_factory_init),
6459 (gst_element_factory_cleanup), (gst_element_register),
6460 (__gst_element_factory_add_static_pad_template),
6461 (gst_element_factory_get_static_pad_templates),
6462 (gst_element_factory_can_src_caps),
6463 (gst_element_factory_can_sink_caps):
6464 * gst/registries/Makefile.am:
6465 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
6466 (gst_xml_registry_class_init), (gst_xml_registry_init),
6467 (gst_xml_registry_new), (gst_xml_registry_set_property),
6468 (gst_xml_registry_get_property), (get_time), (make_dir),
6469 (gst_xml_registry_get_perms_func),
6470 (plugin_times_older_than_recurse), (plugin_times_older_than),
6471 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
6472 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
6473 (add_to_char_array), (read_string), (read_uint), (read_enum),
6474 (load_pad_template), (load_feature), (load_plugin), (load_paths),
6475 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
6476 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
6477 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
6478 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
6479 (gst_xml_registry_rebuild):
6480 * gst/registries/gstlibxmlregistry.h:
6481 * tools/gst-compprep.c: (main):
6482 * tools/gst-inspect.c: (print_pad_templates_info):
6483 * tools/gst-xmlinspect.c: (print_element_info):
6484 Use libxml2 for registry parsing, use staticpadtemplates in
6485 elementfactories. Makes gst_init() +/- 10x faster.
6487 2005-04-12 Wim Taymans <wim@fluendo.com>
6489 * gst/base/Makefile.am:
6490 * gst/base/gstbasesink.c: (gst_basesink_base_init),
6491 (gst_basesink_pad_getcaps), (gst_basesink_init),
6492 (gst_basesink_event), (gst_basesink_change_state):
6493 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
6494 (gst_basesrc_init), (gst_basesrc_query),
6495 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
6496 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
6497 (gst_basesrc_check_get_range), (gst_basesrc_loop),
6498 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
6499 (gst_basesrc_stop), (gst_basesrc_activate),
6500 (gst_basesrc_change_state):
6501 * gst/base/gsttypefindhelper.c: (helper_find_peek),
6502 (helper_find_suggest), (gst_type_find_helper):
6503 * gst/base/gsttypefindhelper.h:
6504 * gst/elements/Makefile.am:
6505 * gst/elements/gstelements.c:
6506 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
6507 (gst_fakesink_get_times), (gst_fakesink_event),
6508 (gst_fakesink_preroll), (gst_fakesink_render):
6509 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6510 (gst_fakesrc_init), (gst_fakesrc_event_handler),
6511 (gst_fakesrc_get_property), (gst_fakesrc_create),
6512 (gst_fakesrc_start), (gst_fakesrc_stop):
6513 * gst/elements/gstfakesrc.h:
6514 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
6515 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
6516 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
6517 (gst_filesrc_create_read), (gst_filesrc_create),
6518 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
6519 (gst_filesrc_start):
6520 * gst/elements/gsttypefindelement.c:
6521 (gst_type_find_element_have_type), (gst_type_find_element_init),
6522 (start_typefinding), (stop_typefinding), (push_buffer_store),
6523 (gst_type_find_element_handle_event),
6524 (gst_type_find_element_chain),
6525 (gst_type_find_element_checkgetrange),
6526 (gst_type_find_element_getrange), (do_typefind),
6527 (gst_type_find_element_activate),
6528 (gst_type_find_element_change_state):
6529 * gst/elements/gsttypefindelement.h:
6530 * gst/gstpipeline.c: (pipeline_bus_handler):
6531 Added typefind helper.
6532 Small preroll fix in the base sink.
6533 Disable typefind code in basesrc.
6534 Crude port of typefindelement.
6535 Fakesrc cleanups.
6538 2005-04-11 Wim Taymans <wim@fluendo.com>
6540 * check/gst/gstbus.c: (gstbus_suite):
6541 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
6542 * check/gstcheck.h:
6543 Fix up the timeout so that the test does not fail.
6545 2005-04-06 Wim Taymans <wim@fluendo.com>
6547 * gst/base/README:
6548 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
6549 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
6550 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
6551 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
6552 (gst_basesrc_check_get_range), (gst_basesrc_loop),
6553 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
6554 (gst_basesrc_stop), (gst_basesrc_activate),
6555 (gst_basesrc_change_state), (basesrc_find_peek),
6556 (basesrc_find_suggest), (gst_basesrc_type_find):
6557 * gst/base/gstbasesrc.h:
6558 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
6559 (gst_filesrc_class_init), (gst_filesrc_init),
6560 (gst_filesrc_finalize), (gst_filesrc_set_location),
6561 (gst_filesrc_set_property), (gst_filesrc_get_property),
6562 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
6563 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
6564 (gst_filesrc_create_read), (gst_filesrc_create),
6565 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
6566 * gst/elements/gstfilesrc.h:
6567 * gst/gstelement.c: (gst_element_get_state_func),
6568 (gst_element_lost_state), (gst_element_pads_activate):
6569 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6570 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
6571 (gst_pad_pull_range):
6572 * gst/gstpad.h:
6573 More work on the generic source base class, implement seeking,
6574 query.
6575 Make filesrc extend the base source class.
6576 Added gst_pad_set_checkgetrange_function to GstPad.
6578 2005-04-06 Andy Wingo <wingo@pobox.com>
6580 * pkgconfig/gstreamer-base.pc.in:
6581 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
6583 * pkgconfig/Makefile.am:
6584 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
6586 2005-04-04 Wim Taymans <wim@fluendo.com>
6588 * gst/base/Makefile.am:
6589 * gst/base/README:
6590 * gst/base/gstbasesink.c: (gst_basesink_base_init),
6591 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
6592 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
6593 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
6594 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
6595 (gst_basesrc_base_init), (gst_basesrc_class_init),
6596 (gst_basesrc_init), (gst_basesrc_get_formats),
6597 (gst_basesrc_get_query_types), (gst_basesrc_query),
6598 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
6599 (gst_basesrc_set_property), (gst_basesrc_get_property),
6600 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
6601 (gst_basesrc_loop), (gst_basesrc_activate),
6602 (gst_basesrc_change_state):
6603 * gst/base/gstbasesrc.h:
6604 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
6605 (gst_fakesrc_class_init), (gst_fakesrc_init),
6606 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
6607 (gst_fakesrc_get_property), (gst_fakesrc_create):
6608 * gst/elements/gstfakesrc.h:
6609 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
6610 (gst_filesrc_open_file), (gst_filesrc_loop),
6611 (gst_filesrc_activate), (filesrc_find_peek),
6612 (gst_filesrc_type_find):
6613 Made base source class, make fakesrc extend it.
6614 Add comments to basesink class.
6615 Some filesrc cleanup.
6617 2005-03-31 David Schleef <ds@schleef.org>
6619 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
6620 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
6621 expected to link against libgstreamer.
6622 * gst/base/Makefile.am: link against libgstreamer
6623 * gst/elements/Makefile.am: same
6625 2005-03-31 Andy Wingo <wingo@pobox.com>
6627 * tests/instantiate/Makefile.am:
6628 * tests/instantiate/caps.c: Add test to test speed of caps copy
6629 and free.
6631 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
6632 GMemChunk to be fair.
6634 * gst/gsttrashstack.h: Remove warning about using the fallback
6635 trash stack implementation, it's still faster than malloc.
6637 2005-03-30 Andy Wingo <wingo@pobox.com>
6639 * tests/complexity.c: Add a copyright.
6641 2005-03-31 Wim Taymans <wim@fluendo.com>
6643 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
6644 (gst_base_transform_class_init), (gst_base_transform_init),
6645 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
6646 (gst_base_transform_get_property),
6647 (gst_base_transform_sink_activate),
6648 (gst_base_transform_src_activate),
6649 (gst_base_transform_change_state):
6650 * gst/base/gstbasetransform.h:
6651 * gst/elements/gstidentity.c: (gst_identity_class_init),
6652 (gst_identity_event), (gst_identity_check_perfect),
6653 (gst_identity_transform), (gst_identity_start),
6654 (gst_identity_stop):
6655 Added start/stop methods to transform base class so subclasses
6656 don't need to deal with state changes even.
6658 2005-03-31 Wim Taymans <wim@fluendo.com>
6660 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
6661 (gst_event_new_discontinuous), (gst_event_discont_get_value):
6662 * gst/gstevent.h:
6663 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6664 (gst_pad_pull_range):
6665 Added rate to the discont event to prepare for variable speed
6666 and reverse playback.
6668 2005-03-29 David Schleef <ds@schleef.org>
6670 * configure.ac:
6671 * testsuite/trigger/Makefile.am:
6672 * testsuite/trigger/trigger.c: A little example program to show
6673 how trigger-based elements can work.
6675 2005-03-29 Wim Taymans <wim@fluendo.com>
6677 * gst/base/Makefile.am:
6678 * gst/base/README:
6679 * gst/base/gstbasesink.c: (gst_basesink_get_type),
6680 (gst_basesink_base_init), (gst_basesink_class_init),
6681 (gst_basesink_pad_getcaps), (gst_basesink_init),
6682 (gst_basesink_activate), (gst_basesink_change_state):
6683 * gst/base/gstbasesink.h:
6684 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
6685 (gst_base_transform_base_init), (gst_base_transform_finalize),
6686 (gst_base_transform_class_init), (gst_base_transform_init),
6687 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
6688 (gst_base_transform_event), (gst_base_transform_getrange),
6689 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
6690 (gst_base_transform_set_property),
6691 (gst_base_transform_get_property),
6692 (gst_base_transform_sink_activate),
6693 (gst_base_transform_src_activate),
6694 (gst_base_transform_change_state):
6695 * gst/base/gstbasetransform.h:
6696 * gst/elements/gstidentity.c: (gst_identity_finalize),
6697 (gst_identity_class_init), (gst_identity_init),
6698 (gst_identity_event), (gst_identity_check_perfect),
6699 (gst_identity_transform), (gst_identity_set_property),
6700 (gst_identity_get_property), (gst_identity_change_state):
6701 * gst/elements/gstidentity.h:
6702 * gst/gstelement.c: (gst_element_get_state_func),
6703 (gst_element_lost_state), (gst_element_pads_activate):
6704 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
6705 (gst_pad_check_pull_range), (gst_pad_pull_range):
6706 * gst/gstpad.h:
6707 Simplify pad activation.
6708 Added function to check if pull_range can be performed.
6709 Error out when pulling inactive or flushing pads.
6710 Removed const from refcounted types as it does not make sense.
6711 Simplify pad templates in basesink
6712 Added base class for simple 1-to-1 transforms.
6713 Make identity subclass the base transform.
6715 2005-03-29 Andy Wingo <wingo@pobox.com>
6717 * docs/libs/gstreamer-libs-overrides.txt:
6718 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
6719 really don't understand what's going on, but like whatever. I want
6720 green buildbot!
6722 * docs/gst/Makefile.am:
6723 * docs/libs/Makefile.am: Dist the overrides files.
6725 * check/Makefile.am (clean-local): Remove .libs directories.
6727 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
6728 elements to EXTRA_DIST, so po/ files are happy.
6730 * po/POTFILES.in: Er, remove it here.
6732 * po/POTFILES: Remove gstspider.c.
6734 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
6736 * docs/libs/gstreamer-libs-docs.sgml:
6737 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
6738 bytestream.
6740 * tests/complexity.c (main): Set the length of the preroll queue
6741 on the sinks to prevent a lockup.
6743 * libs/gst/dataprotocol/Makefile.am:
6744 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
6745 the same as the one in check/gst-libs/gdp.c.
6747 * po/, docs/gst/: Commit automatic changes to docs and po files.
6749 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
6750 the versioned libgstbase.
6752 * check/Makefile.am: Depend on an unversioned gst-register, seems
6753 to make autoconf happier.
6755 * gst/base/Makefile.am: Make libgstbase a versioned lib.
6757 2005-03-28 Wim Taymans <wim@fluendo.com>
6759 * configure.ac:
6760 * docs/design/part-gstelement.txt:
6761 * docs/design/part-negotiation.txt:
6762 * docs/design/part-preroll.txt:
6763 * docs/design/part-scheduling.txt:
6764 * docs/design/part-states.txt:
6765 * gst/Makefile.am:
6766 * gst/base/Makefile.am:
6767 * gst/base/README:
6768 * gst/base/gstbasesink.c: (gst_basesink_get_template),
6769 (gst_basesink_base_init), (gst_basesink_class_init),
6770 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
6771 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
6772 (gst_basesink_set_pad_functions),
6773 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
6774 (gst_basesink_set_property), (gst_basesink_get_property),
6775 (gst_base_sink_get_template), (gst_base_sink_get_caps),
6776 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
6777 (gst_basesink_preroll_queue_push),
6778 (gst_basesink_preroll_queue_empty),
6779 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
6780 (gst_basesink_event), (gst_basesink_get_times),
6781 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
6782 (gst_basesink_chain_unlocked), (gst_basesink_chain),
6783 (gst_basesink_loop), (gst_basesink_activate),
6784 (gst_basesink_change_state):
6785 * gst/base/gstbasesink.h:
6786 * gst/elements/Makefile.am:
6787 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
6788 (gst_fakesink_class_init), (gst_fakesink_init),
6789 (gst_fakesink_set_property), (gst_fakesink_get_property),
6790 (gst_fakesink_get_times), (gst_fakesink_event),
6791 (gst_fakesink_preroll), (gst_fakesink_render),
6792 (gst_fakesink_change_state):
6793 * gst/elements/gstfakesink.h:
6794 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
6795 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
6796 * gst/gstelement.c: (gst_element_add_pad),
6797 (gst_element_get_state_func), (gst_element_abort_state),
6798 (gst_element_commit_state), (gst_element_lost_state),
6799 (gst_element_set_state), (gst_element_pads_activate):
6800 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
6801 * gst/gstpipeline.c: (gst_pipeline_send_event),
6802 (gst_pipeline_change_state):
6803 Added state change code.
6804 Added/updated docs.
6805 Added sink base class, make fakesink extend the base class.
6806 Small cleanups in GstPipeline.
6808 2005-03-26 David Schleef <ds@schleef.org>
6810 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
6811 is broken and should be implemented in a different library.
6812 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
6813 * gst/gst.h: remove gstcpu.h
6814 * gst/gstcpu.c: remove
6815 * gst/gstcpu.h: remove
6816 * gst/Makefile.am.future: Remove this file. It's ancient.
6818 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6820 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
6821 (gst_bin_send_event):
6822 Add default event/set_manager handlers. The set_manager handler
6823 takes care that the manager is distributed over kids that were
6824 already in the bin before the manager was set. The event handler
6825 is a utility virtual function that sends the event over all sinks,
6826 so that gst_element_send_event (bin, event); has the expected
6827 behaviour.
6828 * gst/gstpad.c: (gst_pad_event_default):
6829 Re-install default event handling for discontinuities, so that
6830 seeking works without requiring hacks in applications or extra
6831 code in sinks.
6832 * gst/gstpipeline.c: (gst_pipeline_class_init),
6833 (gst_pipeline_send_event):
6834 Half hack, half utility: set a pipeline to PAUSED for seek events,
6835 since that is the only way we can guarantee a/v sync. Means that
6836 you can do gst_element_seek (pipeline, method, pos); on a pipeline
6837 and it "just works".
6839 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
6841 * gst/gstpipeline.c: (gst_pipeline_use_clock):
6842 Lock/unlock mismatch.
6844 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
6846 * docs/faq/gst-uninstalled:
6847 add gst-plugins-base
6848 * docs/gst/Makefile.am:
6849 don't error out until docs are fixed
6850 * docs/gst/gstreamer.types:
6851 remove thread
6853 2005-03-22 Wim Taymans <wim@fluendo.com>
6855 * check/Makefile.am:
6856 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
6857 * gst/gststructure.c: (gst_structure_set_valist),
6858 (gst_structure_copy_conditional):
6859 Activated more tests.
6860 Added message test.
6861 Added G_TYPE_POINTER to GstStructure.
6864 2005-03-22 Wim Taymans <wim@fluendo.com>
6866 * docs/design/part-TODO.txt:
6867 * docs/design/part-events.txt:
6868 * docs/design/part-gstbin.txt:
6869 * docs/design/part-gstbus.txt:
6870 * docs/design/part-gstpipeline.txt:
6871 * docs/design/part-messages.txt:
6872 * gst/gstbus.c:
6873 * gst/gstmessage.c:
6874 Docs updates
6876 2005-03-21 Wim Taymans <wim@fluendo.com>
6878 * gst/gstbus.c: (gst_bus_post):
6879 Fix copy-and-paste error.
6881 2005-03-21 Wim Taymans <wim@fluendo.com>
6883 * check/Makefile.am:
6884 * gst/Makefile.am:
6885 * gst/elements/Makefile.am:
6886 * gst/elements/gstelements.c:
6887 * gst/elements/gstfakesink.c: (gst_fakesink_init),
6888 (gst_fakesink_event), (gst_fakesink_chain):
6889 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
6890 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
6891 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
6892 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
6893 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
6894 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
6895 (gst_fakesrc_loop), (gst_fakesrc_activate),
6896 (gst_fakesrc_change_state):
6897 * gst/elements/gstfakesrc.h:
6898 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
6899 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
6900 (gst_filesrc_open_file), (gst_filesrc_loop),
6901 (gst_filesrc_activate), (gst_filesrc_change_state),
6902 (filesrc_find_peek), (filesrc_find_suggest),
6903 (gst_filesrc_type_find):
6904 * gst/elements/gstidentity.c: (gst_identity_finalize),
6905 (gst_identity_class_init), (gst_identity_init),
6906 (gst_identity_proxy_getcaps), (identity_queue_push),
6907 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
6908 (gst_identity_getrange), (gst_identity_chain),
6909 (gst_identity_sink_loop), (gst_identity_src_loop),
6910 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
6911 (gst_identity_set_property), (gst_identity_get_property),
6912 (gst_identity_change_state):
6913 * gst/elements/gstidentity.h:
6914 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6915 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
6916 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
6917 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
6918 (gst_tee_sink_activate):
6919 * gst/elements/gsttee.h:
6920 * gst/gst.c: (gst_register_core_elements), (init_post):
6921 * gst/gst.h:
6922 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
6923 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
6924 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
6925 (gst_bin_change_state):
6926 * gst/gstbin.h:
6927 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
6928 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
6929 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
6930 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
6931 (gst_bus_set_sync_handler), (gst_bus_create_watch),
6932 (bus_watch_callback), (bus_watch_destroy),
6933 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
6934 (poll_timeout), (gst_bus_poll):
6935 * gst/gstbus.h:
6936 * gst/gstcaps.h:
6937 * gst/gstdata.h:
6938 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
6939 (gst_element_post_message), (gst_element_message_full),
6940 (gst_element_get_state_func), (gst_element_get_state),
6941 (gst_element_abort_state), (gst_element_commit_state),
6942 (gst_element_lost_state), (gst_element_set_state),
6943 (gst_element_pads_activate), (gst_element_change_state),
6944 (gst_element_dispose), (gst_element_set_manager_func),
6945 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
6946 (gst_element_set_manager), (gst_element_get_manager),
6947 (gst_element_set_bus), (gst_element_get_bus),
6948 (gst_element_set_scheduler), (gst_element_get_scheduler):
6949 * gst/gstelement.h:
6950 * gst/gstevent.c: (gst_event_new_segment_seek),
6951 (gst_event_new_flush):
6952 * gst/gstevent.h:
6953 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
6954 (_gst_message_free), (gst_message_get_type), (gst_message_new),
6955 (gst_message_new_eos), (gst_message_new_error),
6956 (gst_message_new_warning), (gst_message_new_tag),
6957 (gst_message_new_state_changed), (gst_message_new_application),
6958 (gst_message_get_structure), (gst_message_parse_tag),
6959 (gst_message_parse_state_changed), (gst_message_parse_error),
6960 (gst_message_parse_warning):
6961 * gst/gstmessage.h:
6962 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
6963 (gst_real_pad_set_property), (gst_pad_set_active),
6964 (gst_pad_is_active), (gst_pad_set_blocked_async),
6965 (gst_pad_set_blocked), (gst_pad_is_blocked),
6966 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
6967 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
6968 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
6969 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
6970 (gst_pad_link_filtered), (gst_pad_relink_filtered),
6971 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
6972 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
6973 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
6974 (gst_pad_set_caps), (gst_pad_configure_sink),
6975 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
6976 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
6977 (gst_real_pad_dispose), (gst_real_pad_finalize),
6978 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
6979 (gst_pad_event_default_dispatch), (gst_pad_event_default),
6980 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
6981 * gst/gstpad.h:
6982 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
6983 (pipeline_bus_handler), (gst_pipeline_change_state),
6984 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
6985 * gst/gstpipeline.h:
6986 * gst/gstprobe.h:
6987 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
6988 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
6989 (gst_queue_link_src), (gst_queue_bufferalloc),
6990 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
6991 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
6992 (gst_queue_loop), (gst_queue_handle_src_event),
6993 (gst_queue_handle_src_query), (gst_queue_src_activate),
6994 (gst_queue_change_state):
6995 * gst/gstqueue.h:
6996 * gst/gstscheduler.c: (gst_scheduler_init),
6997 (gst_scheduler_dispose), (gst_scheduler_create_task),
6998 (gst_scheduler_factory_create):
6999 * gst/gstscheduler.h:
7000 * gst/gststructure.c: (gst_structure_get_type),
7001 (gst_structure_copy_conditional):
7002 * gst/gststructure.h:
7003 * gst/gsttaginterface.h:
7004 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
7005 (gst_task_init), (gst_task_dispose), (gst_task_create),
7006 (gst_task_get_state), (gst_task_start), (gst_task_stop),
7007 (gst_task_pause):
7008 * gst/gsttask.h:
7009 * gst/gstthread.c:
7010 * gst/gstthread.h:
7011 * gst/gsttypes.h:
7012 * gst/schedulers/Makefile.am:
7013 * gst/schedulers/cothreads_compat.h:
7014 * gst/schedulers/entryscheduler.c:
7015 * gst/schedulers/faircothreads.c:
7016 * gst/schedulers/faircothreads.h:
7017 * gst/schedulers/fairscheduler.c:
7018 * gst/schedulers/gstbasicscheduler.c:
7019 * gst/schedulers/gstoptimalscheduler.c:
7020 * gst/schedulers/gthread-cothreads.h:
7021 * gst/schedulers/threadscheduler.c:
7022 (gst_thread_scheduler_task_get_type),
7023 (gst_thread_scheduler_task_class_init),
7024 (gst_thread_scheduler_task_init),
7025 (gst_thread_scheduler_task_start),
7026 (gst_thread_scheduler_task_stop),
7027 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
7028 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
7029 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
7030 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
7031 (plugin_init):
7032 * libs/gst/Makefile.am:
7033 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
7034 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
7035 (gst_file_pad_parent_set):
7036 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
7037 (gst_dp_event_from_packet):
7038 * tests/complexity.c: (main):
7039 * tests/mass_elements.c: (main):
7040 * testsuite/states/locked.c: (message_received), (main):
7041 * testsuite/states/parent.c: (main):
7042 * tools/gst-inspect.c: (print_element_flag_info),
7043 (print_implementation_info), (print_pad_info):
7044 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
7045 (main):
7046 * tools/gst-md5sum.c: (event_loop), (main):
7047 * tools/gst-typefind.c: (main):
7048 * tools/gst-xmlinspect.c: (print_element_info):
7049 Next big merge.
7050 Added GstBus for mainloop integration.
7051 Added GstMessage for sending notifications on the bus.
7052 Added GstTask as an abstraction for pipeline entry points.
7053 Removed GstThread.
7054 Removed Schedulers.
7055 Simplified GstQueue for multithreaded core.
7056 Made _link threadsafe, removed old capsnego.
7057 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
7058 Added pad blocking functions.
7059 Reworked scheduling functions in GstPad to prepare for
7060 scheduling updates soon.
7061 Moved events out of data stream.
7062 Simplified GstEvent types.
7063 Added return values to push/pull.
7064 Removed clocking from GstElement.
7065 Added prototypes for state change function for next merge.
7066 Removed iterate from bins and state change management.
7067 Fixed some elements, disabled others for now.
7068 Fixed -inspect and -launch.
7069 Added check for GstBus.
7071 2005-03-10 Wim Taymans <wim@fluendo.com>
7073 * docs/design/part-MT-refcounting.txt:
7074 * docs/design/part-clocks.txt:
7075 * docs/design/part-gstelement.txt:
7076 * docs/design/part-gstobject.txt:
7077 * docs/design/part-standards.txt:
7078 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7079 (gst_bin_remove_func), (gst_bin_remove):
7080 * gst/gstbin.h:
7081 * gst/gstbuffer.c:
7082 * gst/gstcaps.h:
7083 * testsuite/clock/clock1.c: (main):
7084 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
7085 (main):
7086 * testsuite/dlopen/loadgst.c: (do_test):
7087 * testsuite/refcounting/bin.c: (add_remove_test1),
7088 (add_remove_test2), (main):
7089 * testsuite/refcounting/element.c: (main):
7090 * testsuite/refcounting/element_pad.c: (main):
7091 * testsuite/refcounting/pad.c: (main):
7092 * tools/gst-launch.c: (sigint_handler_sighandler):
7093 * tools/gst-typefind.c: (main):
7094 Doc updates.
7095 Added doc about clock.
7096 removed gst_bin_iterate_recurse_up(), marked methods
7097 for removal.
7098 Fix more testsuites.
7100 2005-03-09 Wim Taymans <wim@fluendo.com>
7102 * gst/gstpad.c: (gst_pad_get_direction),
7103 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
7104 (gst_pad_collect_valist):
7105 * testsuite/bins/interface.c: (main):
7106 * testsuite/caps/audioscale.c: (test_caps):
7107 * testsuite/caps/caps.c: (test1), (test2), (test3):
7108 * testsuite/caps/deserialize.c: (main):
7109 * testsuite/caps/enumcaps.c: (main):
7110 * testsuite/caps/filtercaps.c: (main):
7111 * testsuite/caps/intersect2.c: (main):
7112 * testsuite/caps/random.c: (main):
7113 * testsuite/caps/renegotiate.c: (my_fixate), (main):
7114 * testsuite/caps/sets.c: (check_caps):
7115 * testsuite/caps/simplify.c: (check_caps), (main):
7116 * testsuite/caps/subtract.c: (check_caps):
7117 Fix _pad_get_direction wrt ghostpads.
7118 Fix caps testsuite.
7120 2005-03-09 Wim Taymans <wim@fluendo.com>
7122 * check/Makefile.am:
7123 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
7124 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
7125 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
7126 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
7127 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
7128 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
7129 (gst_bin_remove), (gst_bin_iterate_recurse_up),
7130 (bin_element_is_sink), (gst_bin_iterate_sinks),
7131 (gst_bin_iterate_all_by_interface):
7132 * gst/gstbin.h:
7133 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
7134 (gst_element_change_state), (gst_element_dispose),
7135 (gst_element_finalize), (gst_element_set_loop_function):
7136 * gst/gstelement.h:
7137 * gst/gstiterator.c: (find_custom_fold_func):
7138 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
7139 (gst_pad_collectv), (gst_pad_collect_valist),
7140 (gst_pad_template_new):
7141 * gst/gstpipeline.c: (gst_pipeline_class_init),
7142 (gst_pipeline_dispose), (gst_pipeline_set_property),
7143 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
7144 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
7145 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
7146 * gst/gstutils.h:
7147 * gst/schedulers/entryscheduler.c:
7148 * gst/schedulers/gstbasicscheduler.c:
7149 (gst_basic_scheduler_cothreaded_chain),
7150 (gst_basic_scheduler_chain_add_element):
7151 * testsuite/bins/interface.c: (main):
7152 Added GstBin test.
7153 Added GstSystemClock test.
7154 Implemented clock distribution code in GstBin.
7155 Implemented iterate sinks method for future use.
7156 Rearranged gstelement.h
7157 Fix GstIterator comparison bug.
7158 Moved some code to GstPipeline, mostly clocking related.
7160 2005-03-09 Wim Taymans <wim@fluendo.com>
7162 * configure.ac:
7163 * gst/gst_private.h:
7164 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7165 (gst_bin_remove_func), (gst_bin_remove),
7166 (gst_bin_get_by_name_recurse_up):
7167 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
7168 (gst_clock_id_compare_func), (gst_clock_id_wait),
7169 (gst_clock_id_wait_async), (gst_clock_init),
7170 (gst_clock_adjust_unlocked), (gst_clock_get_time):
7171 * gst/gstelement.h:
7172 * gst/gstinfo.c: (_gst_debug_init):
7173 * gst/gstobject.h:
7174 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
7175 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
7176 * gst/gstpad.h:
7177 Bump version number, we're now 0.9.0
7178 Add future debugging category.
7179 Fix NULL _unref() in _get_by_name_recurse_up
7180 Rearrange gstpad.h.
7181 Update some docs.
7183 2005-03-08 Wim Taymans <wim@fluendo.com>
7185 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
7186 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
7187 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
7188 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
7189 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
7190 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
7191 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
7192 * gst/elements/gstidentity.c: (gst_identity_class_init):
7193 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
7194 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
7195 * gst/elements/gstshaper.c: (gst_shaper_class_init):
7196 * gst/elements/gststatistics.c: (gst_statistics_class_init):
7197 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
7198 (gst_tee_link):
7199 * gst/gstelement.c: (gst_element_class_init),
7200 (gst_element_base_class_init), (gst_element_init),
7201 (gst_element_get_random_pad), (gst_element_wait_state_change),
7202 (gst_element_change_state), (gst_element_dispose),
7203 (gst_element_finalize), (gst_element_set_loop_function):
7204 * gst/gstelement.h:
7205 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
7206 * gst/gstthread.c: (gst_thread_class_init),
7207 (gst_thread_release_children_locks), (gst_thread_change_state):
7208 * gst/schedulers/gstbasicscheduler.c:
7209 (gst_basic_scheduler_loopfunc_wrapper),
7210 (gst_basic_scheduler_chain_wrapper),
7211 (gst_basic_scheduler_src_wrapper),
7212 (gst_basic_scheduler_remove_element):
7213 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
7214 Remove threadsafe properties. Fix elements because GObject
7215 complains when installing a property before declaring a
7216 set/get_property handler.
7217 Rearrange gstelement.h file, use STATE macros for state locks.
7218 Free mutexes in the finalize method instead of dispose.
7220 2005-03-08 Wim Taymans <wim@fluendo.com>
7222 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
7223 * gst/gstthread.c: (gst_thread_release_children_locks):
7224 Added parentage check.
7225 Fix build og GstThread again.
7227 2005-03-08 Wim Taymans <wim@fluendo.com>
7229 * docs/design/part-MT-refcounting.txt:
7230 * docs/design/part-conventions.txt:
7231 * docs/design/part-gstobject.txt:
7232 * docs/design/part-relations.txt:
7233 * docs/design/part-standards.txt:
7234 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
7235 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
7236 (gst_bin_get_by_name), (gst_bin_get_by_interface),
7237 (gst_bin_iterate_all_by_interface):
7238 * gst/gstbuffer.h:
7239 * gst/gstclock.h:
7240 * gst/gstelement.c: (gst_element_class_init),
7241 (gst_element_change_state), (gst_element_set_loop_function):
7242 * gst/gstelement.h:
7243 * gst/gstiterator.c:
7244 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
7245 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
7246 (gst_object_dispatch_properties_changed), (gst_object_set_name),
7247 (gst_object_set_parent), (gst_object_unparent),
7248 (gst_object_check_uniqueness):
7249 * gst/gstobject.h:
7250 Docs updates, clean up some headers.
7252 2005-03-07 Wim Taymans <wim@fluendo.com>
7254 * check/.cvsignore:
7255 * check/Makefile.am:
7256 * check/gst-libs/.cvsignore:
7257 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
7258 * check/gst/.cvsignore:
7259 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
7260 (START_TEST), (gstbus_suite), (main):
7261 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
7262 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
7263 (gst_data_suite), (main):
7264 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
7265 (add_fold_func), (gstiterator_suite), (main):
7266 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
7267 (thread_name_object), (thread_name_object_default),
7268 (gst_object_name_compare), (gst_object_suite), (main):
7269 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
7270 (gst_pad_suite), (main):
7271 * check/gstcheck.c: (gst_check_log_message_func),
7272 (gst_check_log_critical_func), (gst_check_init):
7273 * check/gstcheck.h:
7274 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
7275 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
7276 Added checks.
7278 2005-03-07 Wim Taymans <wim@fluendo.com>
7280 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
7281 (gst_list_iterator_next), (gst_list_iterator_resync),
7282 (gst_list_iterator_free), (gst_iterator_new_list),
7283 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
7284 (gst_iterator_free), (gst_iterator_push), (filter_next),
7285 (filter_resync), (filter_uninit), (filter_free),
7286 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
7287 (gst_iterator_foreach), (find_custom_fold_func),
7288 (gst_iterator_find_custom):
7289 * gst/gstiterator.h:
7290 Added missing files.
7292 2005-03-07 Wim Taymans <wim@fluendo.com>
7294 * Makefile.am:
7295 * configure.ac:
7296 * docs/design/part-MT-refcounting.txt:
7297 * docs/design/part-conventions.txt:
7298 * docs/design/part-gstobject.txt:
7299 * docs/design/part-relations.txt:
7300 * examples/mixer/mixer.c: (main):
7301 * examples/thread/thread.c: (eos), (main):
7302 * gst/Makefile.am:
7303 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
7304 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
7305 (gst_spider_plug_from_srcpad):
7306 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
7307 (gst_spider_identity_change_state),
7308 (gst_spider_identity_sink_loop_type_finding):
7309 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
7310 * gst/elements/gstidentity.c: (gst_identity_init):
7311 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
7312 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
7313 * gst/elements/gsttypefindelement.c: (free_entry):
7314 * gst/gst.c:
7315 * gst/gst.h:
7316 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
7317 (gst_bin_set_clock_func), (gst_bin_auto_clock),
7318 (gst_bin_set_index), (gst_bin_set_element_sched),
7319 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
7320 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
7321 (gst_bin_iterate_elements), (iterate_child_recurse),
7322 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
7323 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
7324 (compare_interface), (gst_bin_get_by_interface),
7325 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
7326 * gst/gstbin.h:
7327 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
7328 (gst_buffer_default_free), (gst_buffer_default_copy),
7329 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
7330 (gst_buffer_create_sub):
7331 * gst/gstbuffer.h:
7332 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
7333 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
7334 (gst_caps_unref), (gst_static_caps_get),
7335 (gst_caps_remove_and_get_structure), (gst_caps_append),
7336 (gst_caps_append_structure), (gst_caps_remove_structure),
7337 (gst_caps_copy_nth), (gst_caps_set_simple),
7338 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
7339 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
7340 (gst_caps_structure_intersect_field), (gst_caps_intersect),
7341 (gst_caps_structure_subtract_field), (gst_caps_subtract),
7342 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
7343 (gst_caps_structure_figure_out_union),
7344 (gst_caps_switch_structures), (gst_caps_do_simplify),
7345 (gst_caps_replace), (gst_caps_from_string),
7346 (gst_caps_copy_conditional):
7347 * gst/gstcaps.h:
7348 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
7349 (_gst_clock_id_free), (gst_clock_id_unref),
7350 (gst_clock_id_compare_func), (gst_clock_id_wait),
7351 (gst_clock_id_wait_async), (gst_clock_class_init),
7352 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
7353 (gst_clock_get_time), (gst_clock_set_time_adjust),
7354 (gst_clock_set_property), (gst_clock_get_property):
7355 * gst/gstclock.h:
7356 * gst/gstcompat.h:
7357 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
7358 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
7359 * gst/gstdata.h:
7360 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
7361 (gst_element_requires_clock), (gst_element_provides_clock),
7362 (gst_element_set_clock), (gst_element_clock_wait),
7363 (gst_element_wait), (gst_element_set_time_delay),
7364 (gst_element_is_indexable), (gst_element_add_pad),
7365 (gst_element_add_ghost_pad), (gst_element_remove_pad),
7366 (pad_compare_name), (gst_element_get_static_pad),
7367 (gst_element_request_pad), (gst_element_get_request_pad),
7368 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
7369 (gst_element_class_get_pad_template_list),
7370 (gst_element_class_get_pad_template), (gst_element_error_func),
7371 (gst_element_get_random_pad), (gst_element_get_event_masks),
7372 (gst_element_send_event), (gst_element_seek),
7373 (gst_element_get_query_types), (gst_element_query),
7374 (gst_element_get_formats), (gst_element_convert),
7375 (gst_element_is_locked_state), (gst_element_set_locked_state),
7376 (gst_element_sync_state_with_parent), (gst_element_change_state),
7377 (gst_element_finalize), (gst_element_yield),
7378 (gst_element_interrupt), (gst_element_set_scheduler),
7379 (gst_element_get_scheduler), (gst_element_set_loop_function):
7380 * gst/gstelement.h:
7381 * gst/gstevent.h:
7382 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
7383 (gst_format_get_by_nick), (gst_format_get_details),
7384 (gst_format_iterate_definitions):
7385 * gst/gstformat.h:
7386 * gst/gstindex.c: (gst_index_gtype_resolver):
7387 * gst/gstinfo.c:
7388 * gst/gstinfo.h:
7389 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
7390 (gst_mem_chunk_free):
7391 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
7392 (gst_object_ref), (gst_object_unref), (gst_object_sink),
7393 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
7394 (gst_object_dispatch_properties_changed),
7395 (gst_object_set_name_default), (gst_object_set_name),
7396 (gst_object_get_name), (gst_object_set_name_prefix),
7397 (gst_object_get_name_prefix), (gst_object_set_parent),
7398 (gst_object_get_parent), (gst_object_unparent),
7399 (gst_object_check_uniqueness), (gst_object_save_thyself),
7400 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
7401 (gst_object_set_property), (gst_object_get_property),
7402 (gst_object_get_path_string):
7403 * gst/gstobject.h:
7404 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
7405 (gst_real_pad_init), (gst_real_pad_get_property),
7406 (gst_pad_custom_new), (gst_pad_get_direction),
7407 (gst_pad_set_active), (gst_pad_is_active),
7408 (gst_pad_set_event_function), (gst_pad_is_linked),
7409 (gst_pad_link_free), (gst_pad_link_intersect),
7410 (gst_pad_link_fixate), (gst_pad_set_caps),
7411 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
7412 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
7413 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
7414 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
7415 (gst_pad_get_caps), (gst_pad_peer_get_caps),
7416 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
7417 (gst_pad_realize), (gst_pad_get_allowed_caps),
7418 (gst_real_pad_dispose), (gst_real_pad_finalize),
7419 (gst_pad_collectv), (gst_pad_collect_valist),
7420 (gst_pad_template_dispose), (gst_pad_template_new),
7421 (gst_pad_get_internal_links):
7422 * gst/gstpad.h:
7423 * gst/gstpipeline.c: (gst_pipeline_dispose),
7424 (gst_pipeline_change_state):
7425 * gst/gstpipeline.h:
7426 * gst/gstplugin.c:
7427 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
7428 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
7429 * gst/gstpluginfeature.h:
7430 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
7431 * gst/gstquery.c: (_gst_query_type_initialize),
7432 (gst_query_type_register), (gst_query_type_get_by_nick),
7433 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
7434 * gst/gstquery.h:
7435 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
7436 * gst/gstscheduler.c: (gst_scheduler_add_element),
7437 (gst_scheduler_factory_create):
7438 * gst/gststructure.c: (gst_structure_set_parent_refcount),
7439 (gst_structure_free), (gst_structure_set_name),
7440 (gst_structure_id_set_value), (gst_structure_set_value),
7441 (gst_structure_set_valist), (gst_structure_remove_field),
7442 (gst_structure_remove_fields),
7443 (gst_structure_remove_fields_valist),
7444 (gst_structure_remove_all_fields), (gst_structure_foreach),
7445 (gst_structure_map_in_place),
7446 (gst_caps_structure_fixate_field_nearest_int),
7447 (gst_caps_structure_fixate_field_nearest_double):
7448 * gst/gststructure.h:
7449 * gst/gstsystemclock.c: (gst_system_clock_class_init),
7450 (gst_system_clock_init), (gst_system_clock_dispose),
7451 (gst_system_clock_async_thread),
7452 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
7453 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7454 * gst/gstsystemclock.h:
7455 * gst/gsttag.c: (gst_tag_list_add_value_internal),
7456 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
7457 * gst/gsttaginterface.c:
7458 * gst/gstthread.c: (gst_thread_dispose),
7459 (gst_thread_release_children_locks), (gst_thread_change_state),
7460 (gst_thread_main_loop):
7461 * gst/gsttrashstack.h:
7462 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
7463 * gst/gsttypes.h:
7464 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
7465 (gst_element_request_pad), (gst_element_get_pad_from_template),
7466 (gst_element_request_compatible_pad),
7467 (gst_element_get_compatible_pad_filtered),
7468 (gst_element_get_compatible_pad), (gst_element_state_get_name),
7469 (gst_element_link_pads_filtered), (gst_element_link_filtered),
7470 (gst_element_link_many), (gst_element_link),
7471 (gst_element_link_pads), (gst_element_unlink_pads),
7472 (gst_element_unlink_many), (gst_element_unlink),
7473 (gst_pad_can_link_filtered), (gst_pad_can_link),
7474 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
7475 (gst_object_default_error), (gst_bin_add_many),
7476 (gst_bin_remove_many), (gst_element_populate_std_props),
7477 (gst_element_class_install_std_props), (gst_buffer_merge),
7478 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
7479 (link_fold_func), (gst_pad_proxy_setcaps):
7480 * gst/gstutils.h:
7481 * gst/gstvalue.c: (gst_value_deserialize_string):
7482 * gst/parse/grammar.y:
7483 * gst/schedulers/gstbasicscheduler.c:
7484 (gst_basic_scheduler_cothreaded_chain),
7485 (gst_basic_scheduler_chain_recursive_add),
7486 (gst_basic_scheduler_pad_link):
7487 * gst/schedulers/gstoptimalscheduler.c:
7488 (get_group_schedule_function),
7489 (gst_opt_scheduler_state_transition),
7490 (gst_opt_scheduler_add_element), (element_get_reachables_func):
7491 * libs/gst/bytestream/bytestream.c:
7492 * libs/gst/dataprotocol/dataprotocol.c:
7493 (gst_dp_header_from_buffer):
7494 * po/nb.po:
7495 * po/ru.po:
7496 * tests/threadstate/threadstate2.c: (eos):
7497 * tools/gst-compprep.c: (main):
7498 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
7499 (print_pad_info), (print_children_info):
7500 * tools/gst-launch.c: (idle_func), (main):
7501 * tools/gst-md5sum.c: (idle_func), (main):
7502 * tools/gst-xmlinspect.c: (print_element_info):
7503 First THREADED backport attempt, focusing on adding locks and
7504 making sure the API is threadsafe. Needs more work. More docs
7505 follow this week.
7507 2005-02-24 Andy Wingo <wingo@pobox.com>
7509 * tests/bench-complexity.scm:
7510 * tests/complexity.gnuplot: New files, good for running complexity
7511 benchmarks.
7513 * tests/Makefile.am:
7514 * tests/complexity.c: New test, sets up N elements, at each level
7515 teeing into M streams per element. Eeeenteresting.
7517 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
7518 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
7519 running bench-mass_elements.scm.
7521 * tests/bench-mass_elements.scm: New script, runs mass_elements
7522 for various numbers of identities, outputting the results to a
7523 file. Requires guile 1.6. Just for testing.
7525 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
7527 * gst/schedulers/fairscheduler.c:
7528 compile with debug disabled
7530 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
7532 * configure.ac:
7533 hunting season on 0.9 is now OPEN