1 2005-12-24 David Schleef <ds@schleef.org>
3 * tools/gstreamer-completion:
4 Replacement for gst-complete written in sh and sed. Only
5 completes names of features, but that's 90% of what I want
6 it for. Properties are not available in registry.xml. (Maybe
11 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
14 releasing 0.10.1, "Nollaig chridheil"
16 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
19 Add missing quote, should be make ERROR_CFLAGS="".
21 2005-12-20 Wim Taymans <wim@fluendo.com>
23 * docs/design/part-trickmodes.txt:
24 More documentation on trickmodes.
26 2005-12-20 Edward Hervey <edward@fluendo.com>
28 * gst/gstcaps.c: (gst_static_caps_get_type):
30 API addition: GST_TYPE_STATIC_CAPS
31 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
32 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
33 * gst/gstpadtemplate.h:
34 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
35 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
38 2005-12-18 Wim Taymans <wim@fluendo.com>
40 * libs/gst/base/gstadapter.c:
41 * libs/gst/base/gstadapter.h:
42 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
43 (gst_base_sink_get_position):
44 * libs/gst/base/gstbasesink.h:
45 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
46 (gst_base_src_default_query), (gst_base_src_default_do_seek),
47 (gst_base_src_do_seek), (gst_base_src_perform_seek),
48 (gst_base_src_send_event), (gst_base_src_update_length),
49 (gst_base_src_get_range), (gst_base_src_loop),
51 * libs/gst/base/gstbasesrc.h:
52 * libs/gst/base/gstbasetransform.h:
53 * libs/gst/base/gstcollectpads.h:
54 * libs/gst/base/gstpushsrc.c:
55 * libs/gst/base/gstpushsrc.h:
56 * libs/gst/dataprotocol/dataprotocol.c:
57 * libs/gst/dataprotocol/dataprotocol.h:
58 * libs/gst/net/gstnetclientclock.h:
59 * libs/gst/net/gstnettimeprovider.h:
60 Documentation updates.
62 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
64 * docs/manual/basics-helloworld.xml:
65 Remove superfluous closing bracket in helloworld example.
67 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
69 * tools/gst-launch.1.in:
70 Update gst-launch man page; add a section with useful
71 environment variables. Fixes #323882.
73 2005-12-16 Stefan Kost <ensonic@users.sf.net>
77 change some char* into char[]
79 2005-12-16 Wim Taymans <wim@fluendo.com>
81 * gst/gstregistryxml.c: (load_feature):
83 Don't use g_object_unref on GstObjects so that we avoid
84 leaks on unsafe glibs.
86 2005-12-16 Wim Taymans <wim@fluendo.com>
88 * gst/gstbin.c: (gst_bin_recalc_state):
91 2005-12-16 Wim Taymans <wim@fluendo.com>
94 Added make forever target for check.
96 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
98 * gst/gst.c: (init_post):
99 make the registry cache file HOST_CPU-dependent
101 2005-12-16 Andy Wingo <wingo@pobox.com>
103 * plugins/elements/gstbufferstore.c
104 (gst_buffer_store_cleared_func): Pay attention to g_list_append
107 * tests/check/gst/gstobject.c
108 (test_fake_object_name_threaded_unique): Pay attention to
109 g_list_sort return value.
111 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
113 * tools/gst-feedback-m.m:
114 Update for 0.9/0.10 (fixes #323870).
116 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
118 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
119 Fix lcopy for mini objects, the mini object needs to be ref'ed.
121 * tests/check/gst/gstminiobject.c: (my_foo_init),
122 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
123 (test_value_collection), (gst_mini_object_suite):
124 Add test to ensure refcounts end up as expected when passing
125 GstMiniObjects through g_object_get() and g_object_set().
127 2005-12-14 Julien MOUTTE <julien@moutte.net>
129 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
130 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
131 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
132 of collectpads. This version removes a lot of races without
133 touching API/ABI. Yay !
135 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
137 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
138 Don't allow activation of a srcpad in pull_range if it has no
140 Change some debug statements to be a little clearer
142 * plugins/elements/gsttypefindelement.c:
143 (gst_type_find_handle_src_query):
144 Check that we have a peer before executing queries thereupon.
146 * tests/examples/metadata/read-metadata.c: (message_loop):
147 Use gst_bus_pop instead of gst_bus_poll when we just want it to
148 immediately return us any available message with 0 timeout.
150 2005-12-12 Michael Smith <msmith@fluendo.com>
152 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
153 Don't unref factories after calling them.
154 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
155 * plugins/elements/gsttypefindelement.c:
156 (gst_type_find_element_chain):
157 Free lists of factories after using them. Fixing typefinding memory
160 2005-12-12 Stefan Kost <ensonic@users.sf.net>
162 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
163 (gst_plugin_feature_load):
164 more meaningful debug output
167 * tests/old/examples/Makefile.am:
168 make make distcheck happy again
170 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
172 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
173 Catch the special case where we are operating chain-based,
174 but the downstream peer pad has no chain function. Emit a
175 custom error message in this case instead of letting the
176 core generate one implying that this is some sort of core
177 bug. It's not, it just means that whatever got plugged
178 into the pipeline downstream when we announced the type
179 can only operate pull-based, while our source can only
180 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
181 Error string has not been marked for translation yet, as
182 it probably needs some more work first.
184 (gst_type_find_element_get_best_possibility):
185 Add helper function to find the best of all available
186 found possibilities that qualify given the min. threshold.
188 (gst_type_find_element_handle_event):
189 Fix the case where we get an EOS while still in TYPEFIND
190 mode (we want to chose the best of all possible types,
191 not just the first type that happens to be in our unsorted
192 list of possible types).
194 (gst_type_find_element_chain):
195 Make sure we return GST_FLOW_ERROR when we errored out
196 in stop_typefinding(); also, don't just find the best of
197 all found type entries and then use the last examined
198 type entry, but actually use the best entry.
200 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
202 * tests/examples/typefind/typefind.c: (type_found):
203 * tests/examples/xml/runxml.c: (xml_loaded):
204 More gcc4 fixes and a mem leak fix.
206 2005-12-12 Stefan Kost <ensonic@users.sf.net>
208 * tests/examples/xml/createxml.c: (object_saved):
211 2005-12-12 Stefan Kost <ensonic@users.sf.net>
214 enable the examples even more
216 2005-12-12 Andy Wingo <wingo@pobox.com>
218 * libs/gst/net/gstnettimeprovider.c
219 (gst_net_time_provider_class_init, gst_net_time_provider_init)
220 (gst_net_time_provider_set_property)
221 (gst_net_time_provider_get_property):
222 API addition: Export "active" as a GObject property.
223 (gst_net_time_provider_thread): Only respond to time queries if
224 the time provider is active.
226 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
227 NetTimeProvider, preserving binary compat.
229 2005-12-12 Stefan Kost <ensonic@users.sf.net>
231 * tests/examples/controller/audio-example.c: (main):
232 * tests/examples/launch/Makefile.am:
233 convert comments again
235 2005-12-12 Wim Taymans <wim@fluendo.com>
237 * libs/gst/base/gstpushsrc.c:
240 2005-12-12 Wim Taymans <wim@fluendo.com>
242 * docs/libs/gstreamer-libs-sections.txt:
243 Added new symbol to docs.
245 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
246 (gst_base_src_init), (gst_base_src_set_format),
247 (gst_base_src_default_query), (gst_base_src_query),
248 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
249 (gst_base_src_perform_seek), (gst_base_src_send_event),
250 (gst_base_src_default_event), (gst_base_src_event_handler),
251 (gst_base_src_set_property), (gst_base_src_get_property),
252 (gst_base_src_wait), (gst_base_src_do_sync),
253 (gst_base_src_update_length), (gst_base_src_get_range),
254 (gst_base_src_check_get_range), (gst_base_src_loop),
255 (gst_base_src_default_negotiate), (gst_base_src_start),
256 (gst_base_src_activate_push), (gst_base_src_activate_pull),
257 (gst_base_src_change_state):
258 * libs/gst/base/gstbasesrc.h:
259 Implement seeking to other formats than _BYTES.
260 Implement more seeking methods correctly.
263 Added do_seek vmethod to make life easier for subclasses
265 API addition: gst_base_src_set_format()
267 2005-12-12 Stefan Kost <ensonic@users.sf.net>
269 * tests/examples/Makefile.am:
272 2005-12-12 Stefan Kost <ensonic@users.sf.net>
275 * docs/random/ensonic/media-device-daemon.txt:
276 * tests/examples/controller/.cvsignore:
277 * tests/examples/controller/Makefile.am:
278 * tests/examples/controller/audio-example.c: (main):
279 * tests/examples/helloworld/.cvsignore:
280 * tests/examples/helloworld/Makefile.am:
281 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
282 * tests/examples/launch/.cvsignore:
283 * tests/examples/launch/Makefile.am:
284 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
285 * tests/examples/metadata/.cvsignore:
286 * tests/examples/metadata/Makefile.am:
287 * tests/examples/metadata/read-metadata.c: (message_loop),
288 (make_pipeline), (print_tag), (main):
289 * tests/examples/queue/.cvsignore:
290 * tests/examples/queue/Makefile.am:
291 * tests/examples/queue/queue.c: (event_loop), (main):
292 * tests/examples/typefind/.cvsignore:
293 * tests/examples/typefind/Makefile.am:
294 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
296 * tests/examples/xml/.cvsignore:
297 * tests/examples/xml/Makefile.am:
298 * tests/examples/xml/createxml.c: (object_saved), (main):
299 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
300 * tests/old/examples/Makefile.am:
301 * tests/old/examples/TODO:
302 * tests/old/examples/controller/.cvsignore:
303 * tests/old/examples/controller/Makefile.am:
304 * tests/old/examples/controller/audio-example.c:
305 * tests/old/examples/helloworld/.cvsignore:
306 * tests/old/examples/helloworld/Makefile.am:
307 * tests/old/examples/helloworld/helloworld.c:
308 * tests/old/examples/launch/.cvsignore:
309 * tests/old/examples/launch/Makefile.am:
310 * tests/old/examples/launch/mp3parselaunch.c:
311 * tests/old/examples/launch/mp3play:
312 * tests/old/examples/manual/Makefile.am:
313 * tests/old/examples/metadata/Makefile.am:
314 * tests/old/examples/metadata/read-metadata.c:
315 * tests/old/examples/queue/.cvsignore:
316 * tests/old/examples/queue/Makefile.am:
317 * tests/old/examples/queue/queue.c:
318 * tests/old/examples/typefind/.cvsignore:
319 * tests/old/examples/typefind/Makefile.am:
320 * tests/old/examples/typefind/typefind.c:
321 * tests/old/examples/xml/.cvsignore:
322 * tests/old/examples/xml/Makefile.am:
323 * tests/old/examples/xml/createxml.c:
324 * tests/old/examples/xml/runxml.c:
325 applied some simple fixing to some examples
326 re-enabled the working examples
328 2005-12-12 Wim Taymans <wim@fluendo.com>
330 * gst/gstsegment.c: (gst_segment_init),
331 (gst_segment_set_last_stop), (gst_segment_set_seek),
332 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
333 (gst_segment_to_running_time):
334 Added more documentation.
335 Make sure the last_pos value is updated properly.
336 Make sure to_stream_time and to_running_time don't
337 operate on wrong values.
339 * tests/check/gst/gstsegment.c: (GST_START_TEST):
342 2005-12-12 Michael Smith <msmith@fluendo.com>
344 * plugins/elements/gsttypefindelement.c: (free_entry),
345 (gst_type_find_element_chain):
346 Now that we're not leaking factories, make sure we keep references
347 to them while we need them.
349 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
351 * tests/check/gst/struct_i386.h:
352 ifdef out the XML structs
354 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
356 * gst/gstvalue.c: (gst_value_transform_double_fraction):
357 floor is not needed, F is always positive; this obviates the
358 need for adding -lm when building without libxml
360 2005-12-12 Wim Taymans <wim@fluendo.com>
362 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
363 Take current playback rate into account when reporting
366 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
368 * docs/manual/mime-world.fig:
369 Let's try this again, this time with a file that is
370 actually in XFig format.
372 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
374 * docs/manual/mime-world.fig:
375 Add audioconvert element to diagram so that it
376 matches the text and the code (fixes #319526).
378 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
380 * docs/pwg/building-chainfn.xml:
381 * docs/pwg/building-pads.xml:
382 * docs/pwg/building-state.xml:
383 * docs/pwg/other-source.xml:
384 Update state change stuff for 0.10 (fixes #322969).
386 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
388 * docs/manual/advanced-dataaccess.xml:
389 * docs/manual/appendix-checklist.xml:
390 * docs/manual/appendix-programs.xml:
391 * docs/manual/basics-pads.xml:
392 * docs/manual/highlevel-components.xml:
393 * docs/manual/manual.xml:
394 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
395 add converters in front of pipelines; remove curly
396 brackets for threads stuff, they no longer exist; use
397 GST_TYPE_FRACTION for framerates; update some pieces of
398 code to 0.10, but there's plenty more to do.
400 * docs/manual/appendix-porting.xml:
401 Expand on asynchroneous state changes; s/0.9/0.10/;
402 mention disappearance of gst_init_get_popt_table()
405 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
407 * docs/faq/using.xml:
408 Spider no longer exists, and neither does gst-launch-ext.
409 Update examples to use decodebin and playbin and put
410 converters in front of sinks (fixes #323726).
412 2005-12-09 Michael Smith <msmith@fluendo.com>
414 * plugins/elements/gsttypefindelement.c: (find_peek),
415 (gst_type_find_element_chain):
416 Fix leaking element factories in typefinding.
417 Fix problem where we forgot about a probable type on non-seekable
418 files, and thus later mis-typefound it.
420 2005-12-09 Michael Smith <msmith@fluendo.com>
422 * common/m4/gst-makecontext.m4:
423 * common/m4/gst-mcsc.m4:
425 * win32/common/config.h:
426 * win32/common/config.h.in:
427 Remove makecontext stuff; not used in 0.10 and causes problems on
428 HPUX according to bug #322441
430 2005-12-07 Wim Taymans <wim@fluendo.com>
432 * tests/check/Makefile.am:
433 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
435 * tests/check/libs/struct_i386.h:
436 Added ABI check for libs
438 2005-12-07 Wim Taymans <wim@fluendo.com>
440 * tests/check/Makefile.am:
441 And add the struct_i386.h to dist.
443 2005-12-07 Wim Taymans <wim@fluendo.com>
445 * tests/check/Makefile.am:
446 * tests/check/gst/.cvsignore:
447 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
449 * tests/check/gst/struct_i386.h:
450 Added check for ABI compatibility.
452 2005-12-07 Wim Taymans <wim@fluendo.com>
454 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
455 (gst_fake_src_get_times), (gst_fake_src_create):
456 Fix broken sync option, fixes #323259
458 2005-12-07 Wim Taymans <wim@fluendo.com>
463 * gst/gstcaps.c: (gst_caps_is_equal):
464 Don't assert on NULL <--> X. Fixes #323260
466 * gst/gstminiobject.c: (gst_mini_object_replace):
467 If we're doing atomic operations, we might just as well use
468 the proper way to get an atomic pointer.
470 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
473 2005-12-07 Michael Smith <msmith@fluendo.com>
475 * gst/parse/grammar.y:
476 Remove handling of { } for threads.
478 2005-12-06 David Schleef <ds@schleef.org>
480 * libs/gst/base/gstbasetransform.c: speling fix.
482 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
484 * docs/libs/tmpl/gstdataprotocol.sgml:
485 * docs/random/omega/testing/gstobject.c:
489 * gst/gstelementfactory.c:
494 * gst/gstpadtemplate.c:
495 * gst/gstregistryxml.c:
497 * gst/gsttagsetter.c:
500 * libs/gst/base/gstbasesrc.c:
501 * libs/gst/net/gstnetclientclock.c:
502 * libs/gst/net/gstnettimeprovider.c:
503 * plugins/elements/gstfakesrc.c:
504 * plugins/elements/gstfdsrc.c:
505 * plugins/elements/gstfilesrc.c:
506 * plugins/elements/gstidentity.c:
507 * plugins/elements/gstqueue.c:
508 * plugins/elements/gsttypefindelement.c:
509 * plugins/indexers/gstfileindex.c:
510 * plugins/indexers/gstmemindex.c:
511 * tests/check/gst/gsttag.c:
512 * tests/old/examples/cutter/cutter.c:
513 * tests/old/examples/mixer/mixer.c:
514 * tests/old/examples/xml/runxml.c: (main):
515 * tests/old/testsuite/caps/normalisation.c:
516 * tests/old/testsuite/debug/global.c:
517 * tests/old/testsuite/parse/parse1.c:
518 * tools/gst-xmlinspect.c:
519 * win32/common/dirent.c:
522 === release 0.10.0 ===
524 2005-12-05 <thomas (at) apestaart (dot) org>
527 releasing 0.10.0, "Maroilles"
529 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
531 submitted by: Funda Wang <fundawang@linux.net.cn>
535 added Chinese (Traditional) translation
537 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
539 * docs/gst/gstreamer-sections.txt:
540 * docs/libs/tmpl/gstdataprotocol.sgml:
541 * docs/random/thomasvs/TODO:
546 2005-12-05 Andy Wingo <wingo@pobox.com>
548 patch by: Wim Taymans <wim@fluendo.com>
550 * libs/gst/base/gstbasetransform.c
551 (gst_base_transform_prepare_output_buf)
552 (gst_base_transform_buffer_alloc):
553 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
554 alloc_buffer_and_set_caps.
556 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
557 set_caps on the source pad.
558 (gst_pad_alloc_buffer_and_set_caps): New function, does what
559 alloc_buffer used to do. Fixes #322874.
561 * docs/gst/gstreamer-sections.txt:
562 * docs/design/part-negotiation.txt:
563 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
566 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
568 patch by: Sebastien Moutte
571 * win32/common/config.h.in:
572 * win32/vs6/libgstcontroller.dsp:
575 2005-12-05 Wim Taymans <wim@fluendo.com>
577 * gst/gstcaps.c: (gst_caps_is_equal):
578 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
579 (gst_fake_src_create):
580 Back out previous code changes, leave doc updates, file bugs
583 2005-12-05 Wim Taymans <wim@fluendo.com>
585 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
586 (gst_fake_src_get_times), (gst_fake_src_create):
587 * plugins/elements/gstfakesrc.h:
588 Fix broken sync code.
590 2005-12-05 Wim Taymans <wim@fluendo.com>
592 * gst/gstcaps.c: (gst_caps_is_equal):
593 Comparing NULL against !NULL yields different caps, not a
596 2005-12-05 Wim Taymans <wim@fluendo.com>
599 Fix small typo in docs.
601 2005-12-05 Andy Wingo <wingo@pobox.com>
603 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
605 * gst/gst.c (init_post): remove hard-coded 0.9 location for
606 registries/plugins with a MAJORMINOR one.
607 (plugin_desc): Rename library from gstcoreleements to
608 staticelements. Fixes #323222.
610 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
612 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
613 Change debug category to 'collectpads' from 'collect_pads'
616 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
618 patch by: Sebastien Moutte
620 * libs/gst/controller/gstinterpolation.c:
621 use convert function for uint64/double
622 * win32/vs6/libgstcontroller.dsp:
625 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
627 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
628 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
630 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
631 add tests that seem to show that the guint64/gdouble conversions
634 2005-12-02 Wim Taymans <wim@fluendo.com>
636 * gst/gstregistry.c: (gst_registry_add_path):
638 * gst/gstregistryxml.c:
641 2005-12-02 Wim Taymans <wim@fluendo.com>
643 * gst/gstutils.c: (gst_util_uint64_scale_int64),
644 (gst_util_uint64_scale_int):
647 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
650 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
653 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
656 * win32/common/config.h:
657 * win32/vs6/gstreamer.dsw:
658 * win32/vs6/libgstcoreelements.dsp:
659 * win32/vs6/libgstelements.dsp:
660 renamed core elements plugin
662 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
664 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
666 do piece-wise major/minor comparison so 0.9 < 0.10
667 also allow .exe extensions for tools
669 2005-12-02 Michael Smith <msmith@fluendo.com>
672 Escape a % to make gtkdoc happier; bug 322958.
674 === release 0.9.7 ===
676 2005-12-01 <thomas (at) apestaart (dot) org>
679 releasing 0.9.7, "My Dog Has No Nose"
681 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
683 * common/gst-xmlinspect.py:
685 * docs/libs/tmpl/gstdataprotocol.sgml:
686 * docs/random/release:
705 * win32/common/config.h:
706 * win32/common/config.h.in:
707 * win32/vs6/gst_inspect.dsp:
708 * win32/vs6/gst_launch.dsp:
709 * win32/vs6/libgstbase.dsp:
710 * win32/vs6/libgstelements.dsp:
711 * win32/vs6/libgstreamer.dsp:
712 * win32/vs7/GStreamer.vcproj:
713 * win32/vs7/gst-inspect.vcproj:
714 * win32/vs7/gst-launch.vcproj:
715 * win32/vs7/libgstbase.vcproj:
716 bump GST_MAJORMINOR to 0.10
717 reset libtool version
719 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
723 Added Bulgarian translation by (Alexander Shopov)
725 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
727 * tests/check/gst/gstplugin.c:
730 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
732 * common/gst-xmlinspect.py:
733 * common/gtk-doc-plugins.mak:
736 * docs/gst/Makefile.am:
737 * docs/gst/gstreamer-docs.sgml:
738 * docs/gst/gstreamer-sections.txt:
739 * docs/gst/gstreamer.types:
740 * docs/gst/gstreamer.types.in:
741 * docs/plugins/Makefile.am:
742 * docs/plugins/gstreamer-plugins-docs.sgml:
743 * docs/plugins/gstreamer-plugins-sections.txt:
744 * docs/plugins/gstreamer-plugins.types:
745 * docs/plugins/inspect.stamp:
746 * docs/plugins/inspect/plugin-coreelements.xml:
747 * docs/plugins/inspect/plugin-coreindexers.xml:
748 * docs/plugins/scanobj-build.stamp:
750 * plugins/elements/Makefile.am:
751 * plugins/elements/gstelements.c:
752 * plugins/elements/gstfakesink.c:
753 * plugins/elements/gstfakesrc.c:
754 * plugins/elements/gstfilesink.c:
755 * plugins/elements/gstfilesrc.c:
756 * plugins/elements/gstqueue.c:
757 * plugins/indexers/Makefile.am:
758 * plugins/indexers/gstindexers.c:
759 document core plugins in a separate document just like all the
761 rename these plugins to something starting with core
763 2005-12-01 Andy Wingo <wingo@pobox.com>
765 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
766 padding here before, but it missed the commit.
768 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
770 * libs/gst/controller/gstinterpolation.c:
771 whitespace prices have crashed, we should feel free to use some now
772 use gst_guint64_to_gdouble
774 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
776 * libs/gst/controller/gstcontroller.c:
777 * libs/gst/controller/gsthelper.c:
778 * libs/gst/controller/gstinterpolation.c:
779 * libs/gst/controller/lib.c:
780 wrap config.h include
782 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
784 * docs/gst/gstreamer-sections.txt:
787 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
789 * plugins/elements/gstelements.c:
790 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
791 (gst_fd_sink__class_init), (gst_fd_sink__init),
792 (gst_fd_sink__chain), (gst_fd_sink__set_property),
793 (gst_fd_sink__get_property):
794 * plugins/elements/gstfdsink.h:
795 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
796 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
797 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
798 (gst_fd_src_unlock), (gst_fd_src_set_property),
799 (gst_fd_src_get_property), (gst_fd_src_create),
800 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
801 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
802 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
803 (gst_fd_src_uri_handler_init):
804 * plugins/elements/gstfdsrc.h:
805 * plugins/elements/gstqueue.c: (gst_queue_get_type):
808 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
810 * docs/gst/Makefile.am:
811 * docs/gst/gstreamer.types.in:
815 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
822 * tests/benchmarks/complexity.c:
823 * tests/benchmarks/mass-elements.c:
824 * tests/check/Makefile.am:
826 * tools/gst-inspect.c:
827 * tools/gst-xmlinspect.c:
828 various fixes to make
829 --disable-nls --disable-registry --disable-loadsave
830 --disable-parse --disable-gst-debug
831 work and get the core .so down to 360444 bytes after stripping
833 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
838 * docs/random/thomasvs/TODO:
843 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
845 * win32/GStreamer.vcproj:
848 * win32/Makefile.inspect:
849 * win32/Makefile.launch:
850 * win32/Makefile.register:
852 * win32/gst-inspect.vcproj:
853 * win32/gst-launch.vcproj:
854 * win32/gst-register.vcproj:
855 * win32/gstelements.vcproj:
856 * win32/gstgetbits.def:
857 * win32/gstgetbits.vcproj:
858 * win32/gstreamer-dbg.def:
859 * win32/gstreamer.def:
860 * win32/libgstbase.def:
861 * win32/libgstbase.vcproj:
862 * win32/link_oldruntime.c:
867 move even more stuff, win32/ is nice and clean now
869 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
871 * libs/gst/control/.cvsignore:
876 * win32/gstbytestream.def:
877 * win32/gstbytestream.vcproj:
879 * win32/gstenumtypes.c:
880 * win32/gstenumtypes.h:
881 * win32/gstoptimalscheduler.vcproj:
882 * win32/gstversion.h:
884 * win32/testsuite/bins.vcproj:
885 * win32/testsuite/bytestream.vcproj:
886 * win32/testsuite/caps.vcproj:
887 * win32/testsuite/cleanup.vcproj:
888 * win32/testsuite/clock.vcproj:
889 * win32/testsuite/debug.vcproj:
890 * win32/testsuite/dlopen.vcproj:
891 * win32/testsuite/dynparams.vcproj:
892 * win32/testsuite/elements.vcproj:
893 * win32/testsuite/ghostpads.vcproj:
894 * win32/testsuite/indexers.vcproj:
895 * win32/testsuite/negotiation.vcproj:
896 * win32/testsuite/parse.vcproj:
897 * win32/testsuite/plugin.vcproj:
898 * win32/testsuite/refcounting.vcproj:
899 * win32/testsuite/schedulers.vcproj:
900 * win32/testsuite/states.vcproj:
901 * win32/testsuite/tags.vcproj:
902 * win32/testsuite/threads.vcproj:
903 remove old win32 stuff that isn't maintained and should be
906 2005-11-30 Andy Wingo <wingo@pobox.com>
908 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
909 loading the gst.interfaces python module bork.
911 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
912 available since GLib 2.2. Fixes #318031.
914 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
919 * check/elements/.cvsignore:
920 * check/elements/fakesrc.c:
921 * check/elements/fdsrc.c:
922 * check/elements/identity.c:
923 * check/generic/.cvsignore:
924 * check/generic/states.c:
925 * check/gst-libs/.cvsignore:
926 * check/gst-libs/controller.c:
927 * check/gst-libs/gdp.c:
928 * check/gst/.cvsignore:
929 * check/gst/capslist.h:
931 * check/gst/gstbin.c:
932 * check/gst/gstbuffer.c:
933 * check/gst/gstbus.c:
934 * check/gst/gstcaps.c:
935 * check/gst/gstelement.c:
936 * check/gst/gstevent.c:
937 * check/gst/gstghostpad.c:
938 * check/gst/gstiterator.c:
939 * check/gst/gstmessage.c:
940 * check/gst/gstminiobject.c:
941 * check/gst/gstobject.c:
942 * check/gst/gstpad.c:
943 * check/gst/gstpipeline.c:
944 * check/gst/gstplugin.c:
945 * check/gst/gstsegment.c:
946 * check/gst/gststructure.c:
947 * check/gst/gstsystemclock.c:
948 * check/gst/gsttag.c:
949 * check/gst/gstutils.c:
950 * check/gst/gstvalue.c:
951 * check/net/.cvsignore:
952 * check/net/gstnetclientclock.c:
953 * check/net/gstnettimeprovider.c:
954 * check/pipelines/.cvsignore:
955 * check/pipelines/cleanup.c:
956 * check/pipelines/simple_launch_lines.c:
957 * check/pipelines/stress.c:
958 * check/states/.cvsignore:
959 * check/states/sinks.c:
961 * examples/Makefile.am:
962 * examples/appreader/.cvsignore:
963 * examples/appreader/Makefile.am:
964 * examples/appreader/appreader.c:
965 * examples/controller/.cvsignore:
966 * examples/controller/Makefile.am:
967 * examples/controller/audio-example.c:
968 * examples/cutter/.cvsignore:
969 * examples/cutter/Makefile.am:
970 * examples/cutter/cutter.c:
971 * examples/cutter/cutter.h:
972 * examples/events/Makefile.am:
973 * examples/events/seek.c:
974 * examples/helloworld/.cvsignore:
975 * examples/helloworld/Makefile.am:
976 * examples/helloworld/helloworld.c:
977 * examples/helloworld2/.cvsignore:
978 * examples/helloworld2/Makefile.am:
979 * examples/helloworld2/helloworld2.c:
980 * examples/launch/.cvsignore:
981 * examples/launch/Makefile.am:
982 * examples/launch/mp3parselaunch.c:
983 * examples/launch/mp3play:
984 * examples/manual/.cvsignore:
985 * examples/manual/Makefile.am:
986 * examples/manual/extract.pl:
987 * examples/metadata/Makefile.am:
988 * examples/metadata/read-metadata.c:
989 * examples/mixer/.cvsignore:
990 * examples/mixer/Makefile.am:
991 * examples/mixer/mixer.c:
992 * examples/mixer/mixer.h:
993 * examples/pingpong/.cvsignore:
994 * examples/pingpong/Makefile.am:
995 * examples/pingpong/pingpong.c:
996 * examples/plugins/.cvsignore:
997 * examples/plugins/Makefile.am:
998 * examples/plugins/example.c:
999 * examples/plugins/example.h:
1000 * examples/pwg/.cvsignore:
1001 * examples/pwg/Makefile.am:
1002 * examples/pwg/extract.pl:
1003 * examples/queue/.cvsignore:
1004 * examples/queue/Makefile.am:
1005 * examples/queue/queue.c:
1006 * examples/queue2/.cvsignore:
1007 * examples/queue2/Makefile.am:
1008 * examples/queue2/queue2.c:
1009 * examples/queue3/.cvsignore:
1010 * examples/queue3/Makefile.am:
1011 * examples/queue3/queue3.c:
1012 * examples/queue4/.cvsignore:
1013 * examples/queue4/Makefile.am:
1014 * examples/queue4/queue4.c:
1015 * examples/retag/.cvsignore:
1016 * examples/retag/Makefile.am:
1017 * examples/retag/retag.c:
1018 * examples/retag/transcode.c:
1019 * examples/thread/.cvsignore:
1020 * examples/thread/Makefile.am:
1021 * examples/thread/thread.c:
1022 * examples/typefind/.cvsignore:
1023 * examples/typefind/Makefile.am:
1024 * examples/typefind/typefind.c:
1025 * examples/xml/.cvsignore:
1026 * examples/xml/Makefile.am:
1027 * examples/xml/createxml.c:
1028 * examples/xml/runxml.c:
1029 * tests/Makefile.am:
1030 * tests/check/Makefile.am:
1031 * testsuite/.cvsignore:
1032 * testsuite/Makefile.am:
1034 * testsuite/caps/.cvsignore:
1035 * testsuite/caps/Makefile.am:
1036 * testsuite/caps/app_fixate.c:
1037 * testsuite/caps/audioscale.c:
1038 * testsuite/caps/caps.c:
1039 * testsuite/caps/caps.h:
1040 * testsuite/caps/caps_strings:
1041 * testsuite/caps/compatibility.c:
1042 * testsuite/caps/deserialize.c:
1043 * testsuite/caps/enumcaps.c:
1044 * testsuite/caps/eratosthenes.c:
1045 * testsuite/caps/filtercaps.c:
1046 * testsuite/caps/fixed.c:
1047 * testsuite/caps/fraction-convert.c:
1048 * testsuite/caps/fraction-multiply-and-zero.c:
1049 * testsuite/caps/intersect2.c:
1050 * testsuite/caps/intersection.c:
1051 * testsuite/caps/normalisation.c:
1052 * testsuite/caps/random.c:
1053 * testsuite/caps/renegotiate.c:
1054 * testsuite/caps/sets.c:
1055 * testsuite/caps/simplify.c:
1056 * testsuite/caps/string-conversions.c:
1057 * testsuite/caps/structure.c:
1058 * testsuite/caps/subtract.c:
1059 * testsuite/caps/union.c:
1060 * testsuite/debug/.cvsignore:
1061 * testsuite/debug/Makefile.am:
1062 * testsuite/debug/category.c:
1063 * testsuite/debug/commandline.c:
1064 * testsuite/debug/global.c:
1065 * testsuite/debug/output.c:
1066 * testsuite/debug/printf_extension.c:
1067 * testsuite/dlopen/.cvsignore:
1068 * testsuite/dlopen/Makefile.am:
1069 * testsuite/dlopen/dlopen_gst.c:
1070 * testsuite/dlopen/loadgst.c:
1071 * testsuite/elements/.cvsignore:
1072 * testsuite/elements/Makefile.am:
1073 * testsuite/elements/gst-inspect-check.in:
1074 * testsuite/elements/struct_i386.h:
1075 * testsuite/elements/struct_size.c:
1076 * testsuite/indexers/.cvsignore:
1077 * testsuite/indexers/Makefile.am:
1078 * testsuite/indexers/cache1.c:
1079 * testsuite/indexers/indexdump.c:
1080 * testsuite/parse/.cvsignore:
1081 * testsuite/parse/Makefile.am:
1082 * testsuite/parse/parse1.c:
1083 * testsuite/parse/parse2.c:
1084 * testsuite/plugin/.cvsignore:
1085 * testsuite/plugin/Makefile.am:
1086 * testsuite/plugin/README:
1087 * testsuite/plugin/dynamic.c:
1088 * testsuite/plugin/linked.c:
1089 * testsuite/plugin/loading.c:
1090 * testsuite/plugin/registry.c:
1091 * testsuite/plugin/static.c:
1092 * testsuite/plugin/static2.c:
1093 * testsuite/plugin/testplugin.c:
1094 * testsuite/plugin/testplugin2.c:
1095 * testsuite/plugin/testplugin2_s.c:
1096 * testsuite/plugin/testplugin_s.c:
1097 * testsuite/refcounting/.cvsignore:
1098 * testsuite/refcounting/Makefile.am:
1099 * testsuite/refcounting/bin.c:
1100 * testsuite/refcounting/element.c:
1101 * testsuite/refcounting/element_pad.c:
1102 * testsuite/refcounting/mainloop.c:
1103 * testsuite/refcounting/mem.c:
1104 * testsuite/refcounting/mem.h:
1105 * testsuite/refcounting/object.c:
1106 * testsuite/refcounting/pad.c:
1107 * testsuite/refcounting/sched.c:
1108 * testsuite/refcounting/thread.c:
1109 * testsuite/states/.cvsignore:
1110 * testsuite/states/Makefile.am:
1111 * testsuite/states/bin.c:
1112 * testsuite/states/locked.c:
1113 * testsuite/states/parent.c:
1114 * testsuite/threads/.cvsignore:
1115 * testsuite/threads/159566.c:
1116 * testsuite/threads/159852.c:
1117 * testsuite/threads/Makefile.am:
1118 * testsuite/threads/queue.c:
1119 * testsuite/threads/signals.c:
1120 * testsuite/threads/staticrec.c:
1121 * testsuite/threads/thread.c:
1122 * testsuite/threads/threadb.c:
1123 * testsuite/threads/threadc.c:
1124 * testsuite/threads/threadd.c:
1125 * testsuite/threads/threade.c:
1126 * testsuite/threads/threadf.c:
1127 * testsuite/threads/threadg.c:
1128 * testsuite/threads/threadh.c:
1129 * testsuite/threads/threadi.c:
1130 move all of these under tests
1132 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1135 * tests/Makefile.am:
1138 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1140 * docs/gst/gstreamer-sections.txt:
1141 * tests/sched/.cvsignore:
1142 * tests/sched/Makefile.am:
1143 * tests/sched/cases/(fs-fs).xml:
1144 * tests/sched/cases/(fs-i-fs).xml:
1145 * tests/sched/cases/(fs-i-i-fs).xml:
1146 * tests/sched/cases/(fs-i-q[i-fs]).xml:
1147 * tests/sched/dynamic-pipeline.c:
1148 * tests/sched/interrupt1.c:
1149 * tests/sched/interrupt2.c:
1150 * tests/sched/interrupt3.c:
1151 * tests/sched/runtestcases:
1152 * tests/sched/runxml.c:
1153 * tests/sched/sched-stress.c:
1154 * tests/sched/sort.c:
1155 * tests/sched/testcases:
1156 * tests/sched/testcases1.tc:
1157 * tests/seeking/.cvsignore:
1158 * tests/seeking/Makefile.am:
1159 * tests/seeking/seeking1.c:
1160 * tests/threadstate/.cvsignore:
1161 * tests/threadstate/Makefile.am:
1162 * tests/threadstate/test1.c:
1163 * tests/threadstate/test2.c:
1164 * tests/threadstate/threadstate1.c:
1165 * tests/threadstate/threadstate2.c:
1166 * tests/threadstate/threadstate3.c:
1167 * tests/threadstate/threadstate4.c:
1168 * tests/threadstate/threadstate5.c:
1169 remove obsolete tests
1171 * tests/bench-complexity.scm:
1172 * tests/bench-mass_elements.scm:
1173 * tests/complexity.c:
1174 * tests/complexity.gnuplot:
1175 * tests/instantiate/.cvsignore:
1176 * tests/instantiate/Makefile.am:
1177 * tests/instantiate/caps.c:
1178 * tests/mass_elements.c:
1179 * tests/network-clock-utils.scm:
1180 * tests/network-clock.scm:
1182 First pass at cleaning up tests/ dir before moving the rest
1183 Combined with CVS surgery
1185 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1188 queue has moved, update
1190 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1192 * docs/gst/gstreamer-sections.txt:
1193 remove double entries from the docs
1194 * gst/gst_private.h:
1195 * gst/gstinfo.c: (_gst_debug_init):
1196 remove the THREAD debug category
1200 * docs/gst/gstreamer.types:
1201 * plugins/elements/gstqueue.c: (gst_queue_get_type),
1202 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
1203 completely move queue and fix up debugging categories
1205 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1207 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1208 make initialization portable, using LL is not
1210 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1212 * win32/common/gstconfig.h:
1215 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1217 * win32/common/libgstreamer.def:
1218 rename symbols; sort base section
1220 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1222 * gst/gstclock.c: (do_linear_regression):
1223 remove crack non-portable handrolled DEBUG macro
1225 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1227 * docs/random/release:
1229 * win32/common/gstenumtypes.c: (register_gst_object_flags),
1230 (gst_object_flags_get_type), (register_gst_bin_flags),
1231 (gst_bin_flags_get_type), (register_gst_buffer_flag),
1232 (gst_buffer_flag_get_type), (register_gst_bus_flags),
1233 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
1234 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
1235 (gst_caps_flags_get_type), (register_gst_clock_return),
1236 (gst_clock_return_get_type), (register_gst_clock_entry_type),
1237 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
1238 (gst_clock_flags_get_type), (register_gst_state),
1239 (gst_state_get_type), (register_gst_state_change_return),
1240 (gst_state_change_return_get_type), (register_gst_state_change),
1241 (gst_state_change_get_type), (register_gst_element_flags),
1242 (gst_element_flags_get_type), (register_gst_core_error),
1243 (gst_core_error_get_type), (register_gst_library_error),
1244 (gst_library_error_get_type), (register_gst_resource_error),
1245 (gst_resource_error_get_type), (register_gst_stream_error),
1246 (gst_stream_error_get_type), (register_gst_event_type_flags),
1247 (gst_event_type_flags_get_type), (register_gst_event_type),
1248 (gst_event_type_get_type), (register_gst_seek_type),
1249 (gst_seek_type_get_type), (register_gst_seek_flags),
1250 (gst_seek_flags_get_type), (register_gst_format),
1251 (gst_format_get_type), (register_gst_index_certainty),
1252 (gst_index_certainty_get_type), (register_gst_index_entry_type),
1253 (gst_index_entry_type_get_type),
1254 (register_gst_index_lookup_method),
1255 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
1256 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
1257 (gst_index_resolver_method_get_type), (register_gst_index_flags),
1258 (gst_index_flags_get_type), (register_gst_debug_level),
1259 (gst_debug_level_get_type), (register_gst_debug_color_flags),
1260 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
1261 (gst_iterator_result_get_type), (register_gst_iterator_item),
1262 (gst_iterator_item_get_type), (register_gst_message_type),
1263 (gst_message_type_get_type), (register_gst_mini_object_flags),
1264 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
1265 (gst_pad_link_return_get_type), (register_gst_flow_return),
1266 (gst_flow_return_get_type), (register_gst_activate_mode),
1267 (gst_activate_mode_get_type), (register_gst_pad_direction),
1268 (gst_pad_direction_get_type), (register_gst_pad_flags),
1269 (gst_pad_flags_get_type), (register_gst_pad_presence),
1270 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
1271 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
1272 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
1273 (gst_plugin_error_get_type), (register_gst_plugin_flags),
1274 (gst_plugin_flags_get_type), (register_gst_rank),
1275 (gst_rank_get_type), (register_gst_query_type),
1276 (gst_query_type_get_type), (register_gst_tag_merge_mode),
1277 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
1278 (gst_tag_flag_get_type), (register_gst_task_state),
1279 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
1280 (gst_alloc_trace_flags_get_type),
1281 (register_gst_type_find_probability),
1282 (gst_type_find_probability_get_type), (register_gst_uri_type),
1283 (gst_uri_type_get_type), (register_gst_parse_error),
1284 (gst_parse_error_get_type):
1285 * win32/common/gstenumtypes.h:
1286 * win32/common/gstversion.h:
1287 update visual studio generated files
1289 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1291 * win32/vs6/libgstbase.dsp:
1292 * win32/vs6/libgstelements.dsp:
1293 update project files for new locations
1295 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1300 reinstate and update
1305 * docs/random/LICENSE:
1308 2005-11-30 Edward Hervey <edward@fluendo.com>
1310 * gst/gsttypefind.c: (gst_type_find_register):
1311 * gst/gsttypefind.h:
1312 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
1313 (gst_type_find_factory_dispose):
1314 * gst/gsttypefindfactory.h:
1315 Fix memory leak in GstTypeFindFactory.
1317 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1320 * plugins/elements/Makefile.am:
1321 * plugins/elements/gstelements.c:
1322 * plugins/elements/gstqueue.c:
1323 move queue from core to the elements plugin
1325 2005-11-29 Andy Wingo <wingo@pobox.com>
1327 * libs/gst/base/gstbasetransform.h:
1328 * libs/gst/base/gstbasesrc.h:
1329 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
1331 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
1332 of pointers by which to pad very extensible base classes (like the
1333 ones in libs/gst/base).
1335 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1337 * docs/gst/gstreamer-docs.sgml:
1338 * docs/gst/gstreamer-sections.txt:
1339 * docs/libs/gstreamer-libs-docs.sgml:
1340 * docs/libs/gstreamer-libs-sections.txt:
1341 moving documentation from core to lib
1343 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1345 * check/Makefile.am:
1347 * docs/gst/Makefile.am:
1349 * gst/base/.cvsignore:
1350 * gst/base/Makefile.am:
1352 * gst/base/gstadapter.c:
1353 * gst/base/gstadapter.h:
1354 * gst/base/gstbasesink.c:
1355 * gst/base/gstbasesink.h:
1356 * gst/base/gstbasesrc.c:
1357 * gst/base/gstbasesrc.h:
1358 * gst/base/gstbasetransform.c:
1359 * gst/base/gstbasetransform.h:
1360 * gst/base/gstcollectpads.c:
1361 * gst/base/gstcollectpads.h:
1362 * gst/base/gstpushsrc.c:
1363 * gst/base/gstpushsrc.h:
1364 * gst/base/gsttypefindhelper.c:
1365 * gst/base/gsttypefindhelper.h:
1366 * gst/check/Makefile.am:
1367 * gst/check/gstcheck.c:
1368 * gst/check/gstcheck.h:
1369 * gst/net/Makefile.am:
1371 * gst/net/gstnetclientclock.c:
1372 * gst/net/gstnetclientclock.h:
1373 * gst/net/gstnettimepacket.c:
1374 * gst/net/gstnettimepacket.h:
1375 * gst/net/gstnettimeprovider.c:
1376 * gst/net/gstnettimeprovider.h:
1377 * libs/gst/Makefile.am:
1378 * libs/gst/base/Makefile.am:
1379 * libs/gst/base/gstbasetransform.c:
1380 * libs/gst/check/Makefile.am:
1381 * plugins/elements/Makefile.am:
1383 CVS surgery + support to move base, check, and net out of gst
1386 2005-11-29 Andy Wingo <wingo@pobox.com>
1388 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
1390 * gst/gststructure.h (struct _GstStructure): Only one pointer of
1393 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
1395 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
1397 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
1399 * gst/gstobject.h: (struct _GstObject): Only one pointer of
1400 padding; reduces object size by about 30%. We don't expect
1401 anything else to go into gstobject.
1403 * gst/gstminiobject.h (struct _GstMiniObject)
1404 (struct _GstMiniObjectClass): Only one pointer of padding; the
1405 payload is only a pointer and two ints anyway. For the class there
1406 are only two methods as well.
1408 * gst/gstelement.h (struct _GstElementClass): Removed
1409 the state_changed signal callback, it is not used.
1411 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1413 * docs/gst/gstreamer.types:
1414 fix includes, though they are a little dinky
1416 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1418 * check/Makefile.am:
1419 look in the right place for elements, a lot more chance of
1422 remove indexers and elements subdirs
1423 * plugins/Makefile.am:
1424 make indexers conditional
1426 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1430 * plugins/elements/Makefile.am:
1431 * plugins/elements/gstcapsfilter.c:
1432 * plugins/elements/gstfilesink.c:
1433 * plugins/elements/gstfilesrc.c:
1434 * plugins/elements/gstidentity.c:
1435 * plugins/indexers/Makefile.am:
1436 do CVS surgery and related build fixery to move elements
1437 and indexers in a new gstreamer/plugins directory, out of the
1440 2005-11-29 Andy Wingo <wingo@pobox.com>
1442 * check/Makefile.am:
1443 * pkgconfig/gstreamer-net-uninstalled.pc.in:
1444 * pkgconfig/gstreamer-net.pc.in:
1445 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
1448 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1450 * tools/Makefile.am:
1451 * tools/gst-complete.1.in:
1452 * tools/gst-complete.c:
1453 * tools/gst-compprep.1.in:
1454 * tools/gst-compprep.c:
1455 removing -compprep and -complete
1457 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1459 * gst/gstevent.c: (gst_event_new_new_segment),
1460 (gst_event_parse_new_segment):
1462 fix #320529 - clean up new_segment API and structure.
1463 Let's hope everyone was using the methods, and not the structure.
1465 2005-11-29 Edward Hervey <edward@fluendo.com>
1467 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1468 (gst_base_sink_event), (gst_base_sink_do_sync),
1469 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
1470 Properly handle non GST_FORMAT_TIME segment
1471 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1472 Properly handle non GST_FORMAT_TIME segment
1474 This function is valid if the accumulator is 0 and the format
1475 is different from the requested format.
1477 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1479 * docs/gst/gstreamer-sections.txt:
1480 Add gst_query_new_seeking and gst_query_parse_seeking to the
1483 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1485 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
1486 Treat a pad alloc with new caps the same as if we were not
1487 negotiated, in order to allow a changing upstream output
1488 to produce a new format of data.
1490 2005-11-29 Edward Hervey <edward@fluendo.com>
1492 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1493 (gst_base_transform_event), (gst_base_transform_eventfunc):
1494 The event virtual method is now properly implemented, with a default
1496 Sub classes should call the parent_class event method. They should
1497 return FALSE if they had a problem handling the given event, or don't
1498 want GstBaseTransform to send that even downstream
1499 * gst/elements/gstidentity.c: (gst_identity_class_init),
1500 (gst_identity_init), (gst_identity_event),
1501 (gst_identity_transform_ip), (gst_identity_set_property),
1502 (gst_identity_get_property):
1503 * gst/elements/gstidentity.h:
1504 Added the single-segment boolean property.
1505 If set to TRUE, it will output a single segment of data, starting from
1506 0, will eat up all incoming newsegment, and modify the timestamp of the
1509 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
1511 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
1512 Don't ref NULL target pad (#322751). Improve docs.
1514 2005-11-29 Michael Smith <msmith@fluendo.com>
1516 * gst/gstregistryxml.c: (load_plugin):
1517 Don't crash if we failed to load a feature from a plugin.
1519 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1521 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
1523 use more check API and less GLib API
1525 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1528 don't run checks if we don't have check
1530 remove the registry when running make torture
1531 * docs/gst/gstreamer-sections.txt:
1532 remove second multiply
1533 * gst/gstqueue.c: (gst_queue_loop):
1534 fix a compile warning when disabling debug
1536 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1539 Hey! Let's print the pad name if the pointer != NULL instead
1540 of when it == NULL :-)
1542 2005-11-28 Wim Taymans <wim@fluendo.com>
1544 * check/gst/gstutils.c: (GST_START_TEST):
1545 Updated check, add some scaling accuracy checking code.
1547 * gst/gstutils.c: (gst_util_div128_64),
1548 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
1549 (gst_util_uint64_scale_int):
1550 Fix 6 times faster division code. Optimize for common
1551 1/1 and less common X/1 cases.
1553 2005-11-28 Wim Taymans <wim@fluendo.com>
1555 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1558 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
1559 (do_linear_regression), (gst_clock_add_observation):
1561 Release lock when the clock cannot be slaved.
1562 Catch the case where the regression returned an invalid denominator.
1564 * gst/gstutils.c: (gst_util_div128_64_iterate),
1565 (gst_util_div128_64), (gst_util_uint64_scale_int64),
1566 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1567 Add protentially more performant non-iterative 128/64 divide function
1568 that unfortunatly does not work yet.
1569 Shortcut the trivial 0/X = 0 case.
1570 Remove the warnings on overflow.
1572 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1574 * gst/gstplugin.c: (gst_plugin_register_func):
1575 everything causing a plugin not to load should be at least a WARNING
1577 2005-11-28 Stefan Kost <ensonic@users.sf.net>
1579 * docs/random/ensonic/dparams.txt:
1580 some TODOs for the next dev cycle
1581 * libs/gst/controller/gstcontroller.c:
1582 (gst_controlled_property_set_interpolation_mode),
1583 (gst_controlled_property_new):
1584 * libs/gst/controller/gstcontroller.h:
1585 use base type to assign acccessor functions
1587 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1589 * check/Makefile.am:
1590 Oops, that should have been top_srcdir
1592 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1594 * check/Makefile.am:
1595 * check/elements/fdsrc.c: (GST_START_TEST):
1596 Use a cmdline define to specify the location of a file to use for
1597 testing, to avoid breaking distcheck.
1599 2005-11-28 Andy Wingo <wingo@pobox.com>
1601 * gst/gstpad.c (fixate_value): Use array functions for arrays.
1603 2005-11-28 Edward Hervey <edward@fluendo.com>
1605 * tools/gst-launch.c: (main):
1606 Clarify the output strings, makes it easier to translate.
1609 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1612 don't try and build net if we don't even have <sys/socket.h>
1614 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
1616 * check/Makefile.am:
1617 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1618 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1619 Add tests for fdsrc seekability
1621 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1622 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1623 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1624 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1625 * gst/elements/gstfdsrc.h:
1626 fdsrc should not be a 'live' source.
1627 Implement seeking on seekable fd's.
1629 * gst/gstquery.c: (gst_query_new_seeking),
1630 (gst_query_parse_seeking):
1632 Implement SEEKING query functions:
1633 *_new_seeking and *_parse_seeking
1635 2005-11-27 Stefan Kost <ensonic@users.sf.net>
1637 * gst/gstelement.c: (gst_element_dispose):
1640 * gst/gstiterator.c:
1641 * gst/gststructure.c:
1644 * libs/gst/controller/gstcontroller.c:
1645 (gst_controlled_property_set_interpolation_mode):
1646 * libs/gst/controller/gstcontroller.h:
1647 * libs/gst/controller/gstinterpolation.c:
1648 (interpolate_none_get_enum_value_array):
1649 support controlling enums
1651 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1654 Improve documentation for gst_value_union().
1657 Change return value for union, intersect and subtract functions
1658 from gint to gboolean.
1660 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1662 * gst/gstvalue.c: (gst_value_serialize_any_list),
1663 (gst_value_transform_any_list_string),
1664 (gst_value_deserialize_list), (gst_value_deserialize_array),
1665 (gst_value_set_int_range), (gst_value_deserialize_int_range),
1666 (gst_value_set_double_range), (gst_value_deserialize_double_range),
1667 (gst_value_set_fraction_range_full),
1668 (gst_value_deserialize_fraction_range),
1669 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1670 (gst_value_deserialize_boolean),
1671 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1672 (gst_value_serialize_float), (gst_value_deserialize_float),
1673 (gst_string_wrap), (gst_value_deserialize_string),
1674 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1675 (gst_value_union_int_range_int_range),
1676 (gst_value_intersect_int_range_int_range),
1677 (gst_value_intersect_double_range_double_range),
1678 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1679 (gst_value_subtract_int_range_int_range),
1680 (gst_value_subtract_double_double_range),
1681 (gst_value_subtract_double_range_double_range),
1682 (gst_value_deserialize_fraction):
1684 Use gint, gdouble and gchar in our API instead of int, double and
1685 char (and make usage in gstvalue.c more consistent).
1687 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1689 * check/Makefile.am:
1690 * libs/gst/controller/Makefile.am:
1691 * libs/gst/dataprotocol/Makefile.am:
1692 fix up Makefile.am and remove GST_ENABLE_NEW
1694 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1698 * gst/base/Makefile.am:
1699 * gst/check/Makefile.am:
1700 * gst/elements/Makefile.am:
1701 * gst/net/Makefile.am:
1702 update LDFLAGS use some more
1704 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1706 * common/m4/gst-doc.m4:
1709 2005-11-26 Edward Hervey <edward@fluendo.com>
1711 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1712 This shouldn't issue a g_warning since it returns NULL if it
1713 couldn't find the plugin, and all functions using this behave
1714 properly on a NULL return. Switching to a GST_WARNING.
1716 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
1718 * gst/gstbin.c: (gst_bin_handle_message_func):
1719 Don't leak clock messages.
1721 2005-11-25 Wim Taymans <wim@fluendo.com>
1723 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1724 (gst_util_uint64_scale_int):
1725 Optimisations, remove unneeded vars.
1727 2005-11-25 Wim Taymans <wim@fluendo.com>
1729 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1730 Added more checks for the high precision uint64 cases.
1732 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1733 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1734 Implement high precision (guint64 * guint64) / guint64.
1736 2005-11-24 Wim Taymans <wim@fluendo.com>
1738 * gst/base/gstbasesrc.c: (gst_base_src_query):
1739 Fix wrong percentage query.
1741 * gst/gstutils.c: (gst_util_uint64_scale),
1742 (gst_util_uint64_scale_int):
1743 Add some more common cases that can be handled
1744 efficiently to _scale.
1746 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1748 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1749 (gst_mini_object_suite):
1750 don't use check calls from threads; check probably isn't
1751 threadsafe and using a lock to make it threadsafe would
1752 defeat the purpose of this check
1753 * gst/check/gstcheck.c:
1754 * gst/check/gstcheck.h:
1755 use GST_DEBUG some more
1757 2005-11-24 Wim Taymans <wim@fluendo.com>
1759 * gst/gstutils.c: (gst_util_uint64_scale),
1760 (gst_util_uint64_scale_int):
1761 Chain trivial case to _scale_int.
1763 2005-11-24 Wim Taymans <wim@fluendo.com>
1765 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1766 Added test for scaling.
1771 * gst/gstutils.c: (gst_util_uint64_scale_int):
1772 Implemented high precision scaling code.
1774 2005-11-24 Stefan Kost <ensonic@users.sf.net>
1777 do not crash on pad==NULL
1779 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1781 Patch by: Stefan Kost
1783 * common/gtk-doc.mak:
1784 * docs/gst/Makefile.am:
1785 * docs/libs/Makefile.am:
1786 Fix distcheck issues for the libraries docs build
1789 2005-11-24 Michael Smith <msmith@fluendo.com>
1791 * docs/manual/basics-helloworld.xml:
1792 Fix bug #315027: memory leak in example code in docs.
1794 2005-11-24 Michael Smith <msmith@fluendo.com>
1796 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1797 Unlock the PREROLL_LOCK in a failure case.
1799 2005-11-24 Wim Taymans <wim@fluendo.com>
1801 * docs/gst/gstreamer-sections.txt:
1802 * gst/base/gstadapter.h:
1803 * gst/base/gstbasesink.h:
1804 * gst/base/gstbasesrc.h:
1805 * gst/base/gstbasetransform.h:
1806 * gst/base/gstpushsrc.h:
1807 * gst/elements/gstfakesink.h:
1808 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1809 * gst/elements/gstfakesrc.h:
1810 * gst/elements/gstfilesink.h:
1811 * gst/elements/gstfilesrc.h:
1814 * gst/gstbuffer.c: (_gst_buffer_copy):
1817 * gst/gstchildproxy.c:
1820 * gst/gstelementfactory.c:
1821 * gst/gstelementfactory.h:
1823 * gst/gstghostpad.h:
1825 * gst/gstinterface.h:
1826 * gst/gstminiobject.c:
1827 * gst/gstminiobject.h:
1830 * gst/gstpadtemplate.h:
1831 * gst/gstpipeline.h:
1832 * gst/gstpluginfeature.h:
1837 * gst/gsttagsetter.c:
1838 * gst/gsttagsetter.h:
1841 * gst/gsttypefind.h:
1844 * gst/net/gstnetclientclock.c:
1845 * gst/net/gstnetclientclock.h:
1846 * gst/net/gstnettimepacket.c:
1847 * gst/net/gstnettimeprovider.c:
1848 * gst/net/gstnettimeprovider.h:
1851 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1853 * configure.ac: back to HEAD
1855 === release 0.9.6 ===
1857 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1860 releasing 0.9.6, "Always On Time"
1862 2005-11-23 Wim Taymans <wim@fluendo.com>
1864 * docs/gst/gstreamer-sections.txt:
1865 * gst/glib-compat.c:
1866 * gst/gsttagsetter.c:
1868 * gst/net/gstnetclientclock.c:
1869 * gst/net/gstnettimepacket.h:
1872 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1874 * docs/faq/using.xml:
1875 * docs/libs/tmpl/gstcontrol.sgml:
1876 * docs/manual/advanced-dparams.xml:
1877 * docs/manual/appendix-checklist.xml:
1878 * docs/manual/basics-elements.xml:
1879 * docs/pwg/other-source.xml:
1880 * docs/random/moving-plugins:
1882 * tools/gst-launch.1.in:
1883 remove mentions of sinesrc
1885 2005-11-23 Michael Smith <msmith@fluendo.com>
1887 * docs/gst/gstreamer-sections.txt:
1888 Update for new API and API changes.
1890 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1892 Documentation typo fix.
1893 * gst/net/gstnettimepacket.c:
1894 Documentation fixes for arguments.
1896 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
1898 * gst/gststructure.c: (gst_structure_get_fraction),
1899 (gst_structure_parse_value),
1900 (gst_structure_fixate_field_nearest_fraction):
1901 * gst/gststructure.h:
1902 * gst/gstutils.c: (gst_util_uint64_scale_int):
1904 * scripts/update-funcnames:
1906 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1907 Make gst_structure_fixate_field_nearest_fraction take a numerator
1908 and denominator argument instead of a GValue
1909 add gst_structure_get_fraction helper function.
1911 2005-11-23 Wim Taymans <wim@fluendo.com>
1913 * docs/design/part-TODO.txt:
1916 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1917 * gst/net/gstnetclientclock.h:
1918 Use parent fields for timeout and window_size.
1920 2005-11-23 Andy Wingo <wingo@pobox.com>
1922 * check/net/gstnetclientclock.c (test_functioning): Adjust to
1923 rate_num/rate_denom change.
1925 * gst/net/gstnetclientclock.c
1926 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1927 OBJECT_LOCK. Don't call add_observation with the lock.
1929 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1931 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1933 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1934 deal with rate as a fraction whose numerator and denominator are
1935 GstClockTime values.
1936 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1937 master; the other fields are protected by the SLAVE_LOCK.
1938 (do_linear_regression): Note that this must be called with the
1940 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1941 OBJECT_LOCK. Call set_calibration instead of touching the
1943 (gst_clock_set_property, gst_clock_get_property): Protect
1944 master/slave parameters with the SLAVE_LOCK.
1946 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1947 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1948 note that all of the instance variables that add_observation and
1949 the set_master functions use are protected by that lock and not
1951 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1953 * gst/gstclock.c (gst_clock_add_observation): No longer requires
1954 the caller to take the object lock.
1956 2005-11-23 Wim Taymans <wim@fluendo.com>
1958 * gst/gsterror.c: (_gst_core_errors_init):
1960 Add error for clock stuff.
1962 * gst/gstpipeline.c: (gst_pipeline_change_state),
1963 (gst_pipeline_set_clock):
1964 Post clock error when clock cannot be used in a pipeline.
1966 2005-11-23 Stefan Kost <ensonic@users.sf.net>
1968 * docs/gst/gstreamer-sections.txt:
1969 make two symbols from gstinfo private for the docs
1970 * gst/base/gstcollectpads.h:
1972 fix doc typos, update docs
1974 2005-11-22 Wim Taymans <wim@fluendo.com>
1976 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1977 (gst_base_sink_wait), (gst_base_sink_do_sync),
1978 (gst_base_sink_handle_event):
1979 * gst/base/gstbasesink.h:
1980 No need to store the clock, the parent element class already
1983 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1984 Updates for clock_set returning a gboolean
1986 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1987 (gst_clock_id_wait_async), (gst_clock_class_init),
1988 (gst_clock_init), (gst_clock_finalize),
1989 (gst_clock_get_internal_time), (gst_clock_get_time),
1990 (gst_clock_slave_callback), (gst_clock_set_master),
1991 (gst_clock_get_master), (do_linear_regression),
1992 (gst_clock_add_observation), (gst_clock_set_property),
1993 (gst_clock_get_property):
1995 Implement master/slave. When setting a clock as a slave, a
1996 periodic timeout is scheduled to sample master and slave times.
1997 Then the slave clock is recalibrated to match offset and rate
1998 of the master clock.
1999 Update logging a bit.
2000 Add flag so that a clock can state that is cannot be slaved to
2003 * gst/gstelement.c: (gst_element_set_clock):
2005 The set clock returns a gboolean for when an element cannot
2006 deal with the selected clock in the pipeline.
2008 * gst/gstpipeline.c: (gst_pipeline_change_state),
2009 (gst_pipeline_set_clock):
2010 * gst/gstpipeline.h:
2011 Handle the case where the selected clock cannot be set on
2014 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
2015 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
2016 (gst_net_client_clock_set_property),
2017 (gst_net_client_clock_get_property),
2018 (gst_net_client_clock_observe_times):
2019 * gst/net/gstnetclientclock.h:
2020 Use regression code in GstClock parent, remove duplicated
2023 2005-11-22 Michael Smith <msmith@fluendo.com>
2025 * gst/gstutils.c: (gst_util_clock_time_scale):
2027 * docs/gst/gstreamer-sections.txt:
2028 Rename method to have extra underscore.
2030 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
2032 * gst/elements/Makefile.am:
2033 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
2034 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
2035 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
2036 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
2037 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
2038 * gst/elements/gstfakesrc.h:
2039 * gst/gstqueue.c: (queue_leaky_get_type):
2040 correctly fix GEnumValues so that nick is the short lowercase
2042 * tools/gst-inspect.c: (print_element_properties_info):
2043 also show the nick, since it's useful to use from parse_launch
2047 2005-11-22 Michael Smith <msmith@fluendo.com>
2049 * gst/gstutils.c: (gst_util_clocktime_scale):
2051 * docs/gst/gstreamer-sections.txt:
2052 Add util method for scaling a clocktime by a fraction. Useful
2053 implementation is left as an exercise for the reader.
2055 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2057 * gst/gstvalue.c: (gst_value_collect_fraction_range):
2058 If needed, allocate storage in the destination value during
2061 2005-11-22 Edward Hervey <edward@fluendo.com>
2063 * docs/gst/gstreamer-sections.txt:
2068 * gst/gstutils.c: (gst_util_set_object_arg):
2069 * tools/gst-compprep.c: (main):
2070 * tools/gst-inspect.c: (print_element_properties_info):
2071 Removed GstURI, closes bug #321061
2073 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2075 * check/gst/gststructure.c: (GST_START_TEST):
2076 * gst/gststructure.c: (gst_structure_parse_value):
2077 Oops, broke automatic string type parsing.
2078 Add a test to catch it in future.
2080 2005-11-22 Andy Wingo <wingo@pobox.com>
2082 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
2083 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
2084 Actually rename the function implementations. Grr.
2086 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2088 * check/gst/capslist.h:
2090 * check/gst/gststructure.c: (GST_START_TEST),
2091 (gst_structure_suite):
2092 Test automatic value type detection in gst_structure_from_string.
2093 * gst/gststructure.c: (gst_structure_parse_value):
2094 Add fraction as a type we try and guess automatically in
2095 caps/structure strings.
2097 2005-11-22 Andy Wingo <wingo@pobox.com>
2099 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
2101 * gst/gsttagsetter.h:
2102 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
2103 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
2104 (gst_tag_setter_add_tag_valist)
2105 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
2106 _add_values, _add_valist, and _add_valist_values. Since this is an
2107 interface the function suffixes should be more explicit so
2108 language binding don't end up with element.add_valist ->
2109 gst_tag_setter_add_valist, for example. Fixes #322069.
2111 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2113 * check/gst/gstcaps.c: (GST_START_TEST):
2114 Extend caps string tests to check that a caps to string
2115 conversion is reversible and produces the same caps.
2117 * gst/gststructure.c: (gst_structure_value_get_generic_type):
2118 Output "fraction" as the generic type fraction range, so caps
2119 serialisation and deserialisation works.
2120 * check/gst/capslist.h:
2121 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2122 Support 'MIN' and 'MAX' for deserialising fractions.
2124 2005-11-22 Andy Wingo <wingo@pobox.com>
2126 * gst/gstevent.h (gst_event_new_new_segment)
2127 (gst_event_parse_new_segment, gst_event_new_buffer_size)
2128 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
2129 Renamed from *_newsegment, *_buffersize, *_notarget.
2131 * scripts/update-funcnames: New script, performs the changes
2134 2005-11-22 Wim Taymans <wim@fluendo.com>
2136 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2137 Make sure the GstFlowReturn is returned.
2139 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
2140 (gst_bus_add_signal_watch):
2142 add gst_bus_add_signal_watch_full.
2144 * gst/gstplugin.c: (gst_plugin_load_file):
2145 Small style cleanup.
2147 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2149 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
2150 Block the fakesrc srcpad when we send an event, to avoid
2151 contention on the stream_lock causing random test failures.
2153 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2155 * check/gst/gstvalue.c: (GST_START_TEST):
2156 * gst/gstvalue.c: (gst_value_fraction_subtract):
2159 2005-11-22 Stefan Kost <ensonic@users.sf.net>
2162 include "gstchildproxy.h"
2163 * gst/gstchildproxy.h:
2164 * libs/gst/controller/gstcontroller.h:
2165 use G_GNUC_NULL_TERMINATED
2167 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2169 * check/gst/capslist.h:
2170 * check/gst/gstcaps.c: (GST_START_TEST):
2171 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2172 * gst/gststructure.c: (gst_structure_parse_range),
2173 (gst_structure_fixate_field_nearest_fraction):
2174 * gst/gststructure.h:
2175 * gst/gstvalue.c: (gst_value_init_fraction_range),
2176 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
2177 (gst_value_collect_fraction_range),
2178 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
2179 (gst_value_set_fraction_range_full),
2180 (gst_value_get_fraction_range_min),
2181 (gst_value_get_fraction_range_max),
2182 (gst_value_serialize_fraction_range),
2183 (gst_value_transform_fraction_range_string),
2184 (gst_value_compare_fraction_range),
2185 (gst_value_deserialize_fraction_range),
2186 (gst_value_intersect_fraction_fraction_range),
2187 (gst_value_intersect_fraction_range_fraction_range),
2188 (gst_value_subtract_fraction_fraction_range),
2189 (gst_value_subtract_fraction_range_fraction),
2190 (gst_value_subtract_fraction_range_fraction_range),
2191 (gst_value_collect_fraction), (gst_value_fraction_multiply),
2192 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
2193 (gst_value_transform_string_fraction), (_gst_value_initialize):
2195 Implement fraction ranges and extend GstFraction to support
2196 arithmetic subtraction, as well as deserialization from integer
2197 strings such as "100"
2198 Add a testsuite as for int and double range set operations
2200 2005-11-21 Andy Wingo <wingo@pobox.com>
2204 * gst/gststructure.h: Add glib-compat.h.
2206 2005-11-21 Wim Taymans <wim@fluendo.com>
2208 * gst/gstbin.c: (gst_bin_change_state_func):
2211 2005-11-21 Wim Taymans <wim@fluendo.com>
2214 And add a nice define too.
2216 2005-11-21 Wim Taymans <wim@fluendo.com>
2218 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
2219 (gst_segment_new), (gst_segment_free), (gst_segment_init),
2220 (gst_segment_set_duration), (gst_segment_set_last_stop),
2221 (gst_segment_set_seek), (gst_segment_set_newsegment),
2222 (gst_segment_to_stream_time), (gst_segment_to_running_time),
2225 Make binding friendly.
2227 2005-11-21 Andy Wingo <wingo@pobox.com>
2229 * gst/gsttagsetter.h:
2231 * gst/gststructure.h:
2233 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
2236 * gst/gsterror.c (_gst_core_errors_init):
2237 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
2240 * gst/Makefile.am (gst_headers): Add glib-compat.h.
2241 (noinst_HEADERS): noinst the -private.
2243 2005-11-21 Michael Smith <msmith@fluendo.com>
2246 * gst/gstregistry.h:
2247 Remove unimplemented declarations for which we can see no sensible
2250 2005-11-21 Andy Wingo <wingo@pobox.com>
2252 * gst/gst.h: Include glib-compat.h.
2254 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
2256 * gst/glib-compat.c: Include the public and the private header.
2258 * gst/glib-compat-private.h: Copied here from glib-compat.h.
2262 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
2264 * check/gst/gstevent.c (create_custom_events): Check that
2265 FLUSH_STOP is serialized.
2267 * check/elements/identity.c (event_func):
2268 * check/elements/fakesrc.c (event_func): No stream lock, the core
2271 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
2272 stream lock taking, yay.
2274 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
2275 ensure that core takes the stream lock.
2277 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
2280 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
2281 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
2282 it already. For the flush start we do take it though so we get the
2283 right preroll state change messages.
2285 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
2286 the stream lock here, the core does it for us.
2288 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
2289 GST_STREAM_GET_LOCK.
2290 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
2291 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
2292 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
2293 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
2294 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
2295 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
2297 * gst/gstpad.c: Update for stream lock name change.
2299 * gst/base/gstbasesink.c: Update for preroll lock name change.
2301 2005-11-21 Wim Taymans <wim@fluendo.com>
2303 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
2304 (gst_clock_get_master):
2306 * gst/gstsystemclock.c: (gst_system_clock_init):
2307 Convert Clock flags to object flags.
2308 Added methods to manage master/slave clocks.
2310 2005-11-21 Wim Taymans <wim@fluendo.com>
2312 * check/gst/gstsegment.c: (GST_START_TEST):
2313 * docs/design/part-TODO.txt:
2314 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2315 (gst_base_sink_event), (gst_base_sink_do_sync),
2316 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
2317 (gst_base_sink_query), (gst_base_sink_change_state):
2318 * gst/base/gstbasesink.h:
2319 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2320 (gst_base_src_default_newsegment),
2321 (gst_base_src_configure_segment), (gst_base_src_do_seek),
2322 (gst_base_src_get_range), (gst_base_src_loop),
2323 (gst_base_src_change_state):
2324 * gst/base/gstbasesrc.h:
2325 * gst/base/gstbasetransform.c:
2326 (gst_base_transform_prepare_output_buf),
2327 (gst_base_transform_event), (gst_base_transform_change_state):
2328 * gst/base/gstbasetransform.h:
2329 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2330 (gst_collect_pads_event):
2331 * gst/base/gstcollectpads.h:
2332 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
2333 (gst_fake_src_create):
2334 * gst/elements/gstfakesrc.h:
2335 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2336 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2337 (gst_segment_set_last_stop), (gst_segment_set_seek),
2338 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
2339 (gst_segment_to_running_time), (gst_segment_clip):
2341 More segment updates, replace code in plugins with segment
2344 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
2346 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
2347 Don't ignore sscanf results
2349 2005-11-21 Andy Wingo <wingo@pobox.com>
2351 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
2354 * *.c: Ran scripts/update-macros. Oh yes.
2356 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
2357 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
2360 * scripts/update-macros: New script. Run it on your files to
2361 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
2364 2005-11-21 Stefan Kost <ensonic@users.sf.net>
2366 * docs/gst/Makefile.am:
2367 * docs/gst/gstreamer-docs.sgml:
2368 * docs/gst/gstreamer-sections.txt:
2369 * docs/gst/gstreamer.types:
2371 more docs fixes, add new api to the docs
2373 2005-11-21 Andy Wingo <wingo@pobox.com>
2375 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
2376 state_broadcast call.
2378 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
2380 2005-11-21 Julien MOUTTE <julien@moutte.net>
2382 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
2383 function calls for arrays.
2385 2005-11-21 Stefan Kost <ensonic@users.sf.net>
2387 * docs/random/ensonic/media-device-daemon.txt:
2388 wild idea, can this be done?
2389 * docs/gst/gstreamer-sections.txt:
2394 * gst/gstpluginfeature.c:
2398 doc fixes and additions
2400 2005-11-21 Andy Wingo <wingo@pobox.com>
2402 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
2403 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
2404 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
2405 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
2406 private to the basesrc implementation.
2408 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
2409 behalf of event function if necessary. It should no longer be
2410 necessary to take the stream lock in pad's event functions. Fixes
2413 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
2414 * docs/gst/gstreamer-sections.txt:
2415 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
2416 (gst_structure_fixate_field_nearest_double),
2417 (gst_structure_fixate_field_boolean):
2418 * gst/gststructure.h:
2419 * win32/common/libgstreamer.def:
2420 * win32/gstreamer.def:
2422 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
2425 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
2427 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
2428 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
2429 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
2430 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
2431 (gst_fdsrc_uri_handler_init):
2432 * gst/elements/gstfdsrc.h:
2433 Port fd:// URI handler from 0.8 to fdsrc
2435 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2437 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
2438 (gst_value_serialize_fourcc):
2440 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
2441 consistent with our other format defines (#320324).
2443 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2445 * gst/gstvalue.c: (gst_value_is_fixed):
2446 Revert previous commit. Value lists are by definition
2447 not fixed, as they are a list of possible values.
2449 2005-11-21 Andy Wingo <wingo@pobox.com>
2451 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
2452 during the stable series if we need it. Fixes #319178.
2454 * gst/gstevent.c (gst_event_new_filler): Removed.
2456 * check/gst/gstevent.c: Update comment about filler events.
2458 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2460 * gst/gstvalue.c: (gst_value_is_fixed):
2461 Should handle both value arrays and value lists.
2463 2005-11-21 Andy Wingo <wingo@pobox.com>
2465 patch by: Alessandro Dessina <alessandro nnva org>
2467 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
2468 functions to access arrays. Fixes #321962.
2470 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2472 * docs/gst/gstreamer.types:
2473 gst_collectpads_get_type => gst_collect_pads_get_type.
2475 * gst/base/gstbasetransform.c:
2476 Remove unused SIGNAL_HANDOFF enum.
2478 2005-11-21 Andy Wingo <wingo@pobox.com>
2480 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
2481 the event type (upstream, downstream, serialized). Renamed
2482 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
2483 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
2484 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
2486 * gst/gstevent.c: Update for new CUSTOM event names.
2488 * check/gst/gstevent.c: Update check for new CUSTOM event names.
2491 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
2494 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2496 * docs/gst/gstreamer-sections.txt:
2497 * win32/common/libgstbase.def:
2498 * win32/libgstbase.def:
2499 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2500 (gst_collect_pads_class_init), (gst_collect_pads_init),
2501 (gst_collect_pads_finalize), (gst_collect_pads_new),
2502 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
2503 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
2504 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
2505 (gst_collect_pads_start), (gst_collect_pads_stop),
2506 (gst_collect_pads_peek), (gst_collect_pads_pop),
2507 (gst_collect_pads_available), (gst_collect_pads_read),
2508 (gst_collect_pads_flush), (gst_collect_pads_event),
2509 (gst_collect_pads_chain):
2510 * gst/base/gstcollectpads.h:
2511 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
2512 unimplemented functions as unimplemented. Add padding to
2513 GstCollectData. (#320766, #320423)
2515 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2518 Improve docs for DURATION message (usage of duration parameter)
2521 2005-11-20 Wim Taymans <wim@fluendo.com>
2523 * check/Makefile.am:
2524 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
2528 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2529 (gst_segment_set_seek), (gst_segment_set_newsegment),
2530 (gst_segment_to_stream_time), (gst_segment_to_running_time),
2533 Added segment helper structure and methods. Not fully implemented
2535 Added segment check.
2537 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
2539 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2540 Add a deserialisation test for fractions
2541 * examples/metadata/read-metadata.c: (message_loop),
2542 (make_pipeline), (main):
2543 Fix up metadata reading sample.
2544 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2546 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2547 Don't try and fixate empty caps
2548 * gst/gst_private.h:
2549 Wrap in G_BEGIN_DECLS/G_END_DECLS
2550 * gst/gstvalue.c: (gst_value_collect_fraction),
2551 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
2552 (gst_value_transform_string_fraction),
2553 (gst_value_compare_fraction):
2554 Add some extra guards to ensure that we don't end up
2555 with an invalid denominator of 0 in a gstfraction and
2556 that fractions always get reduced.
2558 2005-11-20 Wim Taymans <wim@fluendo.com>
2560 * docs/gst/gstreamer-sections.txt:
2571 2005-11-20 Wim Taymans <wim@fluendo.com>
2573 * docs/design/part-TODO.txt:
2575 Make a proper enum of the flag.
2577 2005-11-19 Wim Taymans <wim@fluendo.com>
2579 * docs/design/part-TODO.txt:
2580 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
2581 (gst_format_to_quark), (gst_format_register):
2583 * gst/gstquery.c: (_gst_query_initialize),
2584 (gst_query_type_get_name), (gst_query_type_to_quark),
2585 (gst_query_type_register):
2587 Add type to quark and type to string conversions.
2589 2005-11-19 Andy Wingo <wingo@pobox.com>
2591 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
2594 2005-11-19 Wim Taymans <wim@fluendo.com>
2596 * docs/design/part-TODO.txt:
2597 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2598 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2599 (gst_bin_handle_message_func):
2601 Make message handling overridable.
2603 2005-11-19 Andy Wingo <wingo@pobox.com>
2605 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2608 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2610 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2611 is a GstClockTime. Fixes #321710.
2613 * gst/gstclock.h (GstClock): Remove offset property. Add
2614 internal_calibration and external_calibration. Fix padding. Pad
2615 also by GstClockTime so we don't run into problems.
2617 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2618 (gst_clock_get_rate_offset): Remove.
2619 (gst_clock_set_time_adjust): Remove. Fixes #321712.
2622 * gst/gstutils.c (g_static_rec_cond_wait)
2623 (g_static_rec_cond_timed_wait): Removed, no longer needed.
2625 * gst/gstbin.c: Remove terrible continue_state prototype.
2627 * gst/gstelement.h (gst_element_continue_state): Make public.
2630 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2631 by continue_state. Fixes #319389.
2633 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2634 Really fixes #168438. However I don't see anywhere where the
2635 filter function is called... stupid GStreamer...
2637 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2638 don't have a dispose function, so it won't get called when the
2639 object is unreffed, but oh well!
2641 * gst/gstindex.c (gst_index_set_filter_full): New API function,
2642 allows a destroy function to be set so user_data can be freed.
2644 (gst_index_set_filter): Call gst_index_set_filter_full.
2646 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2648 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2649 string should produce an error, given the lack of a way to
2650 represent NULL strings. Fixes #165650.
2653 * gst/gstvalue.c (gst_value_array_append_value)
2654 (gst_value_array_prepend_value, gst_value_array_get_size)
2655 (gst_value_array_get_value): New API, copied from
2656 gst_value_list_*, only operates on arrays.
2657 (gst_value_list_append_value, gst_value_list_prepend_value)
2658 (gst_value_list_concat, gst_value_list_get_size)
2659 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2661 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2662 init_list, because it works on both.
2663 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2664 (gst_value_copy_list_or_array): Renamed from copy_list.
2665 (gst_value_free_list_or_array): Renamed from free_list.
2666 (gst_value_collect_list_or_array): Renamed from collect_list.
2667 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2668 (gst_value_list_or_array_peek_pointer): Renamed from
2670 (_gst_value_array_value_table, _gst_value_list_value_table):
2671 Update value table functions.
2672 (gst_value_compare_list_or_array): Renamed from compare_list.
2674 * gsttaglist.h: Whoops, foreach function returns void. Also fix
2678 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2679 GstTagList*. Fixes #143472.
2681 * gst/gststructure.h: Clarify what the foreach/map functions can
2682 or can't do to their arguments.
2684 2005-11-18 Wim Taymans <wim@fluendo.com>
2686 * gst/gstclock.c: (gst_clock_set_calibration),
2687 (gst_clock_get_calibration):
2689 Calibration can be set with internal time equal to current
2692 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
2698 2005-11-18 Andy Wingo <wingo@pobox.com>
2701 * pkgconfig/gstreamer-net.pc.in:
2702 * pkgconfig/gstreamer-net-uninstalled.pc.in:
2703 * pkgconfig/Makefile.am: Add net pkgconfig files.
2705 2005-11-18 Stefan Kost <ensonic@users.sf.net>
2708 * gst/gstghostpad.c:
2714 2005-11-18 Andy Wingo <wingo@pobox.com>
2716 * gst/net/gstnetclientclock.c: Turn off debugging.
2718 * check/net/gstnetclientclock.c (test_functioning): Assert that the
2719 times connverge somewhat. Can't make a real test.
2721 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2722 integer arithmetic. Return the minimum of the domain, which can be
2723 set as "internal" for gst_clock_set_calibration.
2724 (gst_net_client_clock_observe_times): Call _set_calibration.
2725 (gst_net_client_clock_new): Call _set_calibration instead of
2728 * check/net/gstnetclientclock.c (test_functioning): Use the right
2732 * gst/gstclock.c (gst_clock_get_calibration)
2733 (gst_clock_set_calibration): New functions, obsolete the ones I
2734 added yesterday. Doh. Precision issues mean we have to extrapolate
2735 from a point in the more recent past than 1970.
2736 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2738 (gst_clock_adjust_unlocked): Use the right calibration data.
2740 2005-11-18 Edward Hervey <edward@fluendo.com>
2742 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2743 Also reset the ->current_* values in READY->PAUSED
2745 2005-11-18 Andy Wingo <wingo@pobox.com>
2747 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2748 Whoops, check the right fd. Also add some debugging.
2749 (gst_net_client_clock_observe_times): Adjust for int64 offset.
2750 (do_linear_regression): Add a crapload of debugging. Subtract off
2751 the minimum values from the input series to discard unneeded bits.
2752 Use only int arithmetic. There is still double arithmetic when
2753 calculating the intercept that needs fixing. Return boolean to
2754 indicate success; FALSE would mean the domain or range is too
2755 great. Still needs fixes.
2757 2005-11-18 Wim Taymans <wim@fluendo.com>
2759 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2760 For the current position in stream time, we need to subtract
2763 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2764 Release lock before calling the callback function of async
2767 2005-11-18 Andy Wingo <wingo@pobox.com>
2769 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2770 Port goes all the way to MAXUINT16.
2772 * gst/net/gstnettimeprovider.c: Make the port range the same as
2773 for the kernel: 0 assigns, otherwise ports are less than
2776 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2779 * check/net/gstnetclientclock.c (test_functioning): Add the start
2782 2005-11-18 Wim Taymans <wim@fluendo.com>
2784 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2785 (gst_bin_remove_func), (bin_bus_handler):
2787 Removing a clock provider from a bin, triggers a clock lost message
2788 so that a new clock will be selected.
2789 Adding a clock to a bin triggers a clock provider message.
2790 Make sure we reselect a clock when we received a clock lost message.
2791 Keep a reference to the element that provided the clock.
2793 2005-11-18 Andy Wingo <wingo@pobox.com>
2795 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2796 the clock initially so it produces values around the base time.
2797 (gst_net_client_clock_class_init): Typo fix.
2798 (gst_net_client_clock_thread): Add note on when the socket gets
2801 2005-11-17 Wim Taymans <wim@fluendo.com>
2803 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2804 Free remote and local time arrays.
2806 2005-11-17 Wim Taymans <wim@fluendo.com>
2808 * gst/net/gstnetclientclock.c: (do_linear_regression),
2809 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2810 Fix compilation, uninitialized vars and a forgotten continue.
2812 2005-11-17 Andy Wingo <wingo@pobox.com>
2814 * check/Makefile.am (check_PROGRAMS):
2815 * check/net/gstnetclientclock.c: Add a most minimal test for the
2816 net client clock. More to come later.
2819 * gst/net/Makefile.am: Add netclientclock.
2821 * gst/net/gstnetclientclock.h:
2822 * gst/net/gstnetclientclock.c: New files, implement an untested
2823 GstClock that takes its time from a network time provider.
2824 Implements the algorithm in network-clock.scm.
2826 * tests/network-clock.scm (*window-size*): Rename from
2828 * tests/network-clock.scm (network-time):
2829 * tests/network-clock-utils.scm (q-push): Update callers.
2831 2005-11-17 Wim Taymans <wim@fluendo.com>
2833 * gst/gstbin.c: (gst_bin_provide_clock_func),
2834 (gst_bin_sort_iterator_new):
2835 And unref the child too..
2837 2005-11-17 Wim Taymans <wim@fluendo.com>
2839 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2840 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2841 Refactor the sort iterator so it can be used while holding the
2843 Make clock selection select a clock closest to the source.
2845 2005-11-17 Michael Smith <msmith@fluendo.com>
2847 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2848 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2850 Anonymous structs are a gcc (and some other compilers) extension, so
2851 don't use them. Since this is only for ABI-compatibility, and our
2852 API/ABI freeze is over in a few days, this whole thing will only
2853 last a few days, so don't bother trying to think up a meaningful
2854 name for the struct.
2856 2005-11-17 Andy Wingo <wingo@pobox.com>
2858 * gst/gstclock.h (GstClock): Add rate and offset properties,
2859 preserving ABI stability. Add rate/offset accessors. Will file bug
2860 for the freeze break.
2862 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2863 and offset, trying to keep precision and avoiding
2865 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2866 functions. Make gst_clock_set_time_adjust obsolete.
2867 (gst_clock_set_time_adjust): Note that this function is obsolete.
2870 * gst/base/gstbasetransform.h: Make the ABI-stability hack
2871 greppable by using GST_PADDING-1+1.
2873 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
2875 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2877 * gst/gstmessage.c: (gst_message_parse_clock_lost):
2878 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2880 * gst/gstpadtemplate.h:
2881 * gst/gstpluginfeature.h:
2882 Don't use c++ style comments in headers (#321638).
2884 2005-11-16 Andy Wingo <wingo@pobox.com>
2886 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2889 * check/net/gstnettimeprovider.c: Check to see that the time
2890 provider actually provides times. Works, yo!
2892 2005-11-16 Wim Taymans <wim@fluendo.com>
2894 * check/Makefile.am:
2897 * check/elements/fakesrc.c: (GST_START_TEST):
2898 Set element to NULL before disposing it.
2900 2005-11-16 Andy Wingo <wingo@pobox.com>
2902 * gst/net/Makefile.am:
2904 * gst/net/gstnettimeprovider.c:
2905 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2906 provider, include it from gstnet.h, and add it to the build.
2908 * gst/net/gstnettimepacket.h:
2909 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2910 sending and receiving.
2912 2005-11-16 Wim Taymans <wim@fluendo.com>
2914 * check/Makefile.am:
2915 Enable valgrind check.
2917 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2918 (gst_fake_src_alloc_buffer):
2921 2005-11-16 Wim Taymans <wim@fluendo.com>
2923 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2924 Call parent finalize too.
2926 2005-11-16 Wim Taymans <wim@fluendo.com>
2928 * check/Makefile.am:
2929 Enable valgrind check that should work fine now.
2931 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2932 * gst/gstqueue.c: (gst_queue_init):
2933 Fix memleaks in pad allocation.
2935 2005-11-16 Andy Wingo <wingo@pobox.com>
2937 * gst/net/Makefile.am:
2938 * gst/net/gstnet.h: New part of core to hold network elements and
2939 objects. Put in core because it exposes API that applications want
2940 to use. The library is named libgstnet-tempname right now because
2941 of the existing libgstnet in gst-plugins-base. Solution is
2942 probably to rename the one in plugins-base; will file a bug for
2945 * gst/net/gstnettimeprovider.c:
2946 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2947 get_time call over the network.
2950 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2952 * check/Makefile.am:
2953 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2954 get additions shortly.
2956 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2958 * gst/gstpad.c: (gst_pad_new_from_static_template):
2960 add gst_pad_new_from_static_template functions
2961 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2962 (gst_check_setup_sink_pad):
2963 * gst/elements/gsttee.c: (gst_tee_init):
2966 2005-11-16 Wim Taymans <wim@fluendo.com>
2968 * gst/gstpad.c: (gst_pad_pause_task):
2969 Removed warning, it's not really an error either.
2971 2005-11-16 Wim Taymans <wim@fluendo.com>
2973 * gst/base/gstbasetransform.c:
2974 (gst_base_transform_prepare_output_buf),
2975 (gst_base_transform_event):
2976 Check if the caps are NULL, this can happen if the element
2977 is shutting down and the pad caps are set to NULL.
2979 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2981 * gst/elements/gsttee.c: (gst_tee_init):
2982 fix pad template leak in tee
2984 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2986 * gst/glib-compat.c: (g_value_dup_gst_object):
2987 * gst/glib-compat.h:
2988 * gst/gstpad.c: (gst_pad_set_property):
2989 use gst_object_ref when setting the pad template; this will
2990 trigger the pad template leaks on GLib 2.6 and the slaves
2992 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2994 * gst/glib-compat.c: (gst_flags_get_first_value):
2995 * gst/glib-compat.h:
2996 * gst/gstregistryxml.c:
2997 remove functions copied from GLib 2.6
2999 2005-11-16 Michael Smith <msmith@fluendo.com>
3002 Don't link against VALGRIND_LIBS. That was always the wrong thing to
3003 do, but only breaks with newer valgrind versions. We're not a
3004 valgrind tool, we have no link-time dependencies on libcoregrind.
3006 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
3008 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
3013 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
3015 * gst/base/gstbasesrc.c: (gst_base_src_init):
3016 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
3017 * gst/gstqueue.c: (gst_queue_init):
3018 * gst/gstregistryxml.c: (load_feature):
3019 Revert all these unrefs, they don't even pass make check !
3021 2005-11-15 Johan Dahlin <johan@gnome.org>
3023 * gst/base/gstbasesrc.c: (gst_base_src_init):
3024 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
3025 * gst/gstqueue.c: (gst_queue_init):
3026 Free pad templates, fixes a couple of leaks.
3028 2005-11-15 Daniel Fischer <dan at f3c dot com>
3030 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3032 * gst/gstpad.c: (gst_pad_get_property):
3033 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
3034 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
3037 2005-11-15 Wim Taymans <wim@fluendo.com>
3042 2005-11-15 Andy Wingo <wingo@pobox.com>
3044 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
3046 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
3047 using GST_CLOCK_TIME_NONE to disable base time management.
3048 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
3049 time if it was NONE before.
3050 (gst_pipeline_change_state): Only munge the base time if
3051 stream_time != GST_CLOCK_TIME_NONE.
3053 * check/gst/gstpipeline.c (test_base_time): Punt around the
3054 problem of the probe not being called, because that's not the
3055 issue I'm looking at. Add a check that setting stream_time to NONE
3056 disables base time management.
3058 2005-11-15 Wim Taymans <wim@fluendo.com>
3060 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
3061 segment_stop == -1 at startup.
3063 * gst/base/gstbasetransform.c: (gst_base_transform_event),
3064 (gst_base_transform_change_state):
3065 Init segment values at start.
3067 2005-11-15 Wim Taymans <wim@fluendo.com>
3069 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3070 0 segment values are 0 in any format.
3072 * gst/base/gstbasetransform.c: (gst_base_transform_event):
3073 * gst/base/gstbasetransform.h:
3074 Parse newsegment correctly in basetransform
3076 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
3077 Sync to clock using updated segment values.
3079 2005-11-15 Andy Wingo <wingo@pobox.com>
3081 * check/gst/gstpipeline.c (test_base_time): Add check that the
3082 base time and stream time are reset correctly.
3084 2005-11-15 Wim Taymans <wim@fluendo.com>
3086 * docs/design/part-TODO.txt:
3087 Some more TODO items.
3089 2005-11-15 Andy Wingo <wingo@pobox.com>
3091 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
3092 error if the user selected "no clock" as the clocking method.
3094 * check/gst/gstpipeline.c (test_base_time): New test for buffer
3095 timestamps with live capture.
3097 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
3098 is 0 but we are a live source, timestamp the buffers using the
3101 2005-11-14 Stefan Kost <ensonic@users.sf.net>
3103 * docs/gst/gstreamer-sections.txt:
3105 * gst/gstghostpad.c:
3110 2005-11-14 Wim Taymans <wim@fluendo.com>
3113 add suppressions from Wim's Debian machine
3115 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
3118 add suppressions from Andy's AMD64 Ubuntu machine
3120 2005-11-14 Andy Wingo <wingo@pobox.com>
3122 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
3123 STATE_LOCK not necessary. Fixes #311489.
3125 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
3128 * gst/gstindex.c (gst_index_add_object): Note in the docs that
3129 this function is not implemented.
3131 2005-11-14 Julien MOUTTE <julien@moutte.net>
3133 * gst/base/gstbasetransform.c:
3134 (gst_base_transform_prepare_output_buf):
3135 Ref the source pad caps while we need them.
3138 2005-11-11 Wim Taymans <wim@fluendo.com>
3140 * docs/gst/gstreamer-sections.txt:
3141 Added some docs for GstCollectData.
3143 * gst/base/gstadapter.c:
3144 Some small code example fix.
3146 * gst/base/gstcollectpads.c:
3147 * gst/base/gstcollectpads.h:
3150 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
3152 * configure.ac: back to HEAD
3154 === release 0.9.5 ===
3156 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
3159 releasing 0.9.5, "Bike Lunch Day"
3161 2005-11-11 Wim Taymans <wim@fluendo.com>
3163 * gst/gstbuffer.c: (_gst_buffer_copy):
3166 * gst/gstcaps.c: (gst_caps_is_equal):
3168 Make _is_equal fast in the trivial cases.
3170 * gst/gstminiobject.c:
3171 * gst/gstminiobject.h:
3172 More docs. Spifify .h file.
3177 2005-11-11 Wim Taymans <wim@fluendo.com>
3179 * gst/base/gstbasetransform.c:
3180 (gst_base_transform_prepare_output_buf),
3181 (gst_base_transform_handle_buffer):
3183 If we're processing a buffer and need to allocate an output
3184 buffer, we cannot accept a format change. If we did get a
3185 format change, we have to alloc a buffer ourselves of the
3188 2005-11-11 Wim Taymans <wim@fluendo.com>
3190 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
3191 While checking the flag for reentrancy in the gstcaps function
3192 is nice to detect recursive invocations, it also makes it
3193 impossible to call getcaps from multiple threads, which must be
3194 possible. So, checking for recursive calls has to go.
3196 2005-11-11 Michael Smith <msmith@fluendo.com>
3198 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3199 Don't sync on buffers that fall partially outside our current
3200 segment. Prevents an assertion failure/abort playing some files.
3202 2005-11-10 Andy Wingo <wingo@pobox.com>
3204 * check/gst/gstbin.c (test_message_state_changed_children): Style
3207 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
3208 gst_bus_poll with the signal watch. Ensures that poll and a signal
3209 watch see the same messages.
3211 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
3212 a poll and a watch at the same time get the same messages.
3214 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
3216 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
3217 * gst/gstcaps.c: (gst_caps_intersect):
3218 Don't call gst_caps_do_simplify - it doesn't respect order of caps
3219 and it's not needed.
3221 2005-11-10 Wim Taymans <wim@fluendo.com>
3223 * docs/design/part-TODO.txt:
3226 2005-11-10 Wim Taymans <wim@fluendo.com>
3228 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3229 * gst/base/gstbasesrc.c: (gst_base_src_wait),
3230 (gst_base_src_do_sync), (gst_base_src_get_range):
3231 Implement clock sync in base class.
3233 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
3235 patch by: Tim-Philipp Müller <tim at centricular dot net>
3237 * gst/gststructure.c: (gst_structure_parse_field),
3238 (gst_structure_from_string):
3239 Forward-port a 0.8 patch to handle escaped spaces in structure string,
3240 so that gst_parse_launch() can deal with spaces in filtered link
3241 caps (fixes #164479)
3242 * check/gst/capslist.h:
3243 * check/gst/gststructure.c: (GST_START_TEST):
3244 add unit tests for this change
3246 2005-11-10 Wim Taymans <wim@fluendo.com>
3248 * docs/gst/gstreamer-sections.txt:
3251 Fix docs, move some STATE macros to private.
3253 2005-11-10 Wim Taymans <wim@fluendo.com>
3255 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3256 Added check for bug #317341
3260 Some more spiffifying.
3262 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
3263 Call peer linkfunction if we are a source pad. Totally fixes
3267 Update docs, source pads should call the peer linkfunction
3268 so they can atomically perform the pad link.
3270 2005-11-09 Wim Taymans <wim@fluendo.com>
3274 Uber-spiffy-spiffify some more.
3276 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
3278 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
3279 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3280 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
3281 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
3282 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
3283 * gst/gstpad.c: (gst_pad_init):
3284 Use GST_DEBUG_FUNCPTR() more extensively.
3286 2005-11-09 Wim Taymans <wim@fluendo.com>
3288 * gst/gstobject.c: (gst_object_class_init):
3290 Documentation fixes.
3292 2005-11-09 Edward Hervey <edward@fluendo.com>
3294 * gst/gsttypefindfactory.c:
3297 2005-11-09 Edward Hervey <edward@fluendo.com>
3299 * gst/base/gsttypefindhelper.c:
3300 * gst/gsttypefind.c:
3301 * gst/gsttypefind.h:
3304 2005-11-09 Wim Taymans <wim@fluendo.com>
3306 * gst/gstiterator.c:
3313 2005-11-09 Wim Taymans <wim@fluendo.com>
3319 2005-11-09 Wim Taymans <wim@fluendo.com>
3321 * docs/gst/gstreamer-sections.txt:
3322 Moved the message async delivery private lock and cond
3323 to the private section.
3329 2005-11-09 Edward Hervey <edward@fluendo.com>
3331 * docs/gst/gstreamer-sections.txt:
3334 Document GstURIHandler
3336 2005-11-09 Wim Taymans <wim@fluendo.com>
3338 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
3339 (gst_iterator_find_custom):
3340 * gst/gstiterator.h:
3343 2005-11-09 Wim Taymans <wim@fluendo.com>
3346 Document another field.
3348 * gst/gststructure.c:
3349 * gst/gststructure.h:
3352 2005-11-09 Wim Taymans <wim@fluendo.com>
3357 2005-11-09 Wim Taymans <wim@fluendo.com>
3359 * docs/gst/gstreamer-sections.txt:
3360 Added some new macros.
3367 2005-11-09 Wim Taymans <wim@fluendo.com>
3369 * docs/design/part-TODO.txt:
3370 Some more items for the TODO
3376 2005-11-09 Andy Wingo <wingo@pobox.com>
3378 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
3379 to work on something else now tho...
3381 * gst/base/gstadapter.c: More adapter docs.
3383 * gst/elements/gstfilesink.c (gst_file_sink_start)
3384 (gst_file_sink_stop): New functions, replace the state change
3386 (gst_file_sink_class_init): Hook up the start and stop functions.
3387 (gst_file_sink_base_init): Don't set the state change handler any
3388 more. It was a bit ugly too, being set from here...
3389 (gst_file_sink_get_property, gst_file_sink_set_property):
3391 (gst_file_sink_set_location): More robust check that doesn't call
3394 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
3396 * gst/base/gstbasetransform.c: (gst_base_transform_event):
3397 Hold STREAM_LOCK while pushing newsegment or tag events as well.
3399 2005-11-08 Wim Taymans <wim@fluendo.com>
3401 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3402 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3403 (gst_base_sink_chain), (gst_base_sink_change_state):
3404 * gst/base/gstbasesink.h:
3405 * gst/base/gstbasesrc.h:
3408 Avoid excessive typechecking in macros.
3410 * gst/gstminiobject.c: (gst_mini_object_get_type),
3411 (gst_mini_object_init), (gst_mini_object_new),
3412 (gst_mini_object_free):
3413 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
3414 (gst_object_finalize):
3415 Remove cruft code, optimize alloc_trace.
3417 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
3419 * docs/faq/gst-uninstalled:
3420 fix up PS1 for systems that try to reset it
3422 2005-11-07 Wim Taymans <wim@fluendo.com>
3424 * gst/base/gstbasesrc.c: (gst_base_src_init),
3425 (gst_base_src_get_range):
3426 Set the segment_end to -1 initially. Fixed typefind.
3428 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
3430 * gst/base/gstadapter.c:
3431 Debug category should be 'adapter', not 'GstAdapter'.
3433 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
3434 (gst_collectpads_class_init), (gst_collectpads_init),
3435 (gst_collectpads_peek), (gst_collectpads_pop),
3436 (gst_collectpads_event), (gst_collectpads_chain):
3437 Add debug category and some debugging output. Use boilerplate
3438 macros. Remove some extraneous words from docs.
3440 2005-11-05 Andy Wingo <wingo@pobox.com>
3442 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
3445 2005-11-04 Stefan Kost <ensonic@users.sf.net>
3447 * docs/gst/gstreamer-sections.txt:
3450 * gst/gstminiobject.h:
3455 2005-11-04 Wim Taymans <wim@fluendo.com>
3457 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3458 Small update to stop at the configured segment_end
3461 2005-11-04 Stefan Kost <ensonic@users.sf.net>
3463 * gst/gstregistry.c:
3464 * gst/gstregistry.h:
3467 2005-11-04 Edward Hervey <edward@fluendo.com>
3469 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3470 Check if we are doing a segment seek and have arrived at the
3471 end of that segment.
3473 2005-11-04 Wim Taymans <wim@fluendo.com>
3475 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
3476 Don't leak a mutex unlock in case of an error.
3481 2005-11-04 Wim Taymans <wim@fluendo.com>
3483 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
3485 Get the context to wake up only once.
3487 2005-11-03 Wim Taymans <wim@fluendo.com>
3489 * check/states/sinks.c: (GST_START_TEST):
3490 Uncomment fixed check.
3492 * docs/design/part-TODO.txt:
3495 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3496 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3497 (gst_base_sink_get_position):
3498 If we are going to PLAYING, post the right pending state
3499 when we post the intermediate paused message.
3501 * gst/gstelement.c: (gst_element_continue_state),
3502 (gst_element_set_state_func), (gst_element_change_state):
3503 Don't post state changes that were between the same state
3506 2005-11-03 Stefan Kost <ensonic@users.sf.net>
3508 * docs/gst/gstreamer-sections.txt:
3511 * gst/gstminiobject.h:
3514 more docs and doc style fixes
3516 2005-11-03 Stefan Kost <ensonic@users.sf.net>
3518 * docs/gst/gstreamer-sections.txt:
3520 * gst/gstminiobject.c:
3523 2005-11-03 Andy Wingo <wingo@pobox.com>
3525 * check/states/sinks.c (test_livesrc_sink): Add checks that the
3526 state-changed messages actually have the right order and the right
3529 2005-11-03 Wim Taymans <wim@fluendo.com>
3531 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3532 Added some more checks. Specifically the case where NO_PREROLL
3533 elements are in the pipeline.
3535 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3536 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3537 (gst_base_sink_get_position):
3538 Post READY->PAUSED state change messages too.
3539 Fix bug where VOID was posted as pending state...
3541 * gst/gstbin.c: (gst_bin_recalc_state):
3542 use _element_continue_state() to continue the state change.
3544 * gst/gstelement.c: (gst_element_continue_state),
3545 (gst_element_commit_state), (gst_element_set_state_func),
3546 (gst_element_change_state), (gst_element_change_state_func):
3547 Lots of state change cleanups, assign the STATE_RETURN in
3548 a new continue_state() function that also propagates the
3549 last return value from a state change to the app.
3550 Update some debug statements with proper category.
3552 2005-11-03 Wim Taymans <wim@fluendo.com>
3554 * docs/design/part-events.txt:
3555 * docs/design/part-gstpipeline.txt:
3556 * docs/design/part-messages.txt:
3557 * docs/design/part-overview.txt:
3558 * docs/design/part-seeking.txt:
3559 * docs/design/part-states.txt:
3560 * docs/design/part-trickmodes.txt:
3561 * docs/manual/advanced-position.xml:
3565 People think !! is ugly, this looks better.
3567 * gst/gstpad.c: (gst_pad_set_blocked_async):
3568 Remove !! since it's fixed elsewhere now.
3570 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3572 * gst/gstminiobject.h:
3574 Add !! to _FLAG_IS_SET macros to make the result boolean.
3576 2005-11-03 Edward Hervey <edward@fluendo.com>
3578 * gst/gstpad.c: (gst_pad_set_blocked_async):
3579 comparing a flag and a gboolean rarely returns coherent results...
3580 Added two characters (!!) to make that work correctly.
3582 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3584 * gst/gstbus.c: (gst_bus_class_init):
3587 * gst/gstqueue.c: (gst_queue_loop):
3588 Don't assume a miniobject that isn't a buffer is an
3589 event (it could be that there is a refcounting
3590 problem somewhere and the pointer is stale and
3591 refers to an already destroyed miniobject).
3593 2005-11-03 Julien MOUTTE <julien@moutte.net>
3595 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3597 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3599 * docs/manual/advanced-position.xml:
3600 Update seek example and explanations to current 0.9 API.
3602 * gst/elements/gsttypefindelement.c:
3603 (gst_type_find_element_activate):
3604 Remove FIXME comment now that the found caps
3607 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
3609 * gst/gstregistryxml.c: (load_feature):
3610 Add another GST_STR_NULL instance
3612 2005-11-02 Edward Hervey <edward@fluendo.com>
3614 * gst/gstpad.c: (handle_pad_block):
3615 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3617 2005-11-02 Wim Taymans <wim@fluendo.com>
3622 * gst/gstelement.c: (gst_element_commit_state):
3623 Remove unused value.
3625 * gst/gstiterator.c:
3626 Mention that the returned element is reffed in the docs.
3628 2005-11-02 Wim Taymans <wim@fluendo.com>
3630 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3631 (gst_pad_push), (gst_pad_push_event):
3632 Unlock blocked pads when they are flushed.
3634 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3637 * docs/gst/gstreamer-sections.txt:
3640 * gst/gstregistry.c: (gst_registry_scan_path_level):
3641 fix for a nasty little missed situation where an installed plug-in
3642 which was in the cache did not get overridden by an uninstalled one
3643 which was earlier in the plugin path because the newly created plugin
3644 for the uninstalled one (not in the registry) didn't get its
3645 ->registered set to TRUE
3647 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3649 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3650 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3651 (gst_collectpads_is_active), (gst_collectpads_collect),
3652 (gst_collectpads_collect_range), (gst_collectpads_start),
3653 (gst_collectpads_stop), (gst_collectpads_peek),
3654 (gst_collectpads_pop), (gst_collectpads_available),
3655 (gst_collectpads_read), (gst_collectpads_flush):
3656 Guard public API with assertions.
3659 Fix docs for gst_pad_set_link_function().
3661 2005-11-02 Johan Dahlin <johan@gnome.org>
3663 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
3664 Unref found_caps after we used it.
3666 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3668 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3669 Don't try to ref NULL.
3671 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3673 * win32/common/config.h.in:
3674 provide a GST_FUNCTION that just gives a string for now
3676 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3678 * win32/common/gstenumtypes.c: (register_gst_object_flags),
3679 (gst_object_flags_get_type), (register_gst_bin_flags),
3680 (gst_bin_flags_get_type), (register_gst_buffer_flag),
3681 (gst_buffer_flag_get_type), (register_gst_bus_flags),
3682 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3683 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3684 (gst_clock_return_get_type), (register_gst_clock_entry_type),
3685 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3686 (gst_clock_flags_get_type), (register_gst_state),
3687 (gst_state_get_type), (register_gst_state_change_return),
3688 (gst_state_change_return_get_type), (register_gst_state_change),
3689 (gst_state_change_get_type), (register_gst_element_flags),
3690 (gst_element_flags_get_type), (register_gst_core_error),
3691 (gst_core_error_get_type), (register_gst_library_error),
3692 (gst_library_error_get_type), (register_gst_resource_error),
3693 (gst_resource_error_get_type), (register_gst_stream_error),
3694 (gst_stream_error_get_type), (register_gst_event_type),
3695 (gst_event_type_get_type), (register_gst_seek_type),
3696 (gst_seek_type_get_type), (register_gst_seek_flags),
3697 (gst_seek_flags_get_type), (register_gst_format),
3698 (gst_format_get_type), (register_gst_index_certainty),
3699 (gst_index_certainty_get_type), (register_gst_index_entry_type),
3700 (gst_index_entry_type_get_type),
3701 (register_gst_index_lookup_method),
3702 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3703 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3704 (gst_index_resolver_method_get_type), (register_gst_index_flags),
3705 (gst_index_flags_get_type), (register_gst_debug_level),
3706 (gst_debug_level_get_type), (register_gst_debug_color_flags),
3707 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3708 (gst_iterator_result_get_type), (register_gst_iterator_item),
3709 (gst_iterator_item_get_type), (register_gst_message_type),
3710 (gst_message_type_get_type), (register_gst_mini_object_flags),
3711 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3712 (gst_pad_link_return_get_type), (register_gst_flow_return),
3713 (gst_flow_return_get_type), (register_gst_activate_mode),
3714 (gst_activate_mode_get_type), (register_gst_pad_direction),
3715 (gst_pad_direction_get_type), (register_gst_pad_flags),
3716 (gst_pad_flags_get_type), (register_gst_pad_presence),
3717 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3718 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3719 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3720 (gst_plugin_error_get_type), (register_gst_plugin_flags),
3721 (gst_plugin_flags_get_type), (register_gst_rank),
3722 (gst_rank_get_type), (register_gst_query_type),
3723 (gst_query_type_get_type), (register_gst_tag_merge_mode),
3724 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3725 (gst_tag_flag_get_type), (register_gst_task_state),
3726 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3727 (gst_alloc_trace_flags_get_type),
3728 (register_gst_type_find_probability),
3729 (gst_type_find_probability_get_type), (register_gst_uri_type),
3730 (gst_uri_type_get_type), (register_gst_parse_error),
3731 (gst_parse_error_get_type):
3732 * win32/common/gstversion.h:
3735 2005-11-01 Luca Ognibene <luogni@tin.it>
3738 fix docs. popt is dead, long live GOption.
3740 2005-10-31 Wim Taymans <wim@fluendo.com>
3745 2005-10-31 Andy Wingo <wingo@pobox.com>
3749 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3751 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3752 need to serialize property notifications on GLib 2.8. GLib 2.6 has
3753 the possibility of deadlocks here if code calling notify() or
3754 set() has a lock that can be taken in another notify handler (ABBA
3755 with class lock and e.g. python GIL state lock).
3757 2005-10-28 Julien MOUTTE <julien@moutte.net>
3759 * gst/gstbus.c: Doc updates.
3761 2005-10-28 Wim Taymans <wim@fluendo.com>
3763 * docs/design/part-TODO.txt:
3764 * gst/gstiterator.c:
3765 * gst/gstsystemclock.c:
3766 * gst/gstsystemclock.h:
3769 2005-10-28 Edward Hervey <edward@fluendo.com>
3771 * docs/gst/gstreamer-docs.sgml:
3772 * docs/gst/gstreamer-sections.txt:
3773 the GstURIType documentation page is private, it only defines GstURIType
3774 which should be defined in the GstURIHandler page
3776 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
3778 * gst/gstbin.c: (gst_bin_class_init):
3781 Documentation updates.
3783 2005-10-28 Wim Taymans <wim@fluendo.com>
3785 * docs/gst/gstreamer-sections.txt:
3788 Documented the clocks.
3790 2005-10-28 Stefan Kost <ensonic@users.sf.net>
3792 * docs/gst/gstreamer-sections.txt:
3793 move some macros to private sections
3794 * gst/gstminiobject.c:
3795 * gst/gstminiobject.h:
3796 add descriptions provided by ds and some more
3798 mark macro as to be removed
3800 2005-10-28 Wim Taymans <wim@fluendo.com>
3802 * docs/design/part-TODO.txt:
3803 Add an item to TODO.
3805 * gst/gstiterator.c: (gst_iterator_fold),
3806 (gst_iterator_find_custom):
3807 * gst/gstiterator.h:
3810 2005-10-28 Wim Taymans <wim@fluendo.com>
3812 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3813 (gst_base_transform_init):
3816 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3817 An EOS event marks the queue as completely filled.
3819 2005-10-27 Wim Taymans <wim@fluendo.com>
3821 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3822 (gst_base_sink_do_sync), (gst_base_sink_get_position):
3823 Some more debugging.
3825 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3826 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3827 (gst_base_transform_event), (gst_base_transform_getrange),
3828 (gst_base_transform_chain):
3829 * gst/base/gstbasetransform.h:
3831 Protect transform and concurrent buffer alloc with a new lock.
3832 Try not to break ABI/API.
3834 2005-10-27 Wim Taymans <wim@fluendo.com>
3836 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3837 (gst_base_src_init), (gst_base_src_query),
3838 (gst_base_src_default_newsegment),
3839 (gst_base_src_configure_segment), (gst_base_src_do_seek),
3840 (gst_base_src_send_event), (gst_base_src_event_handler),
3841 (gst_base_src_pad_get_range), (gst_base_src_loop),
3842 (gst_base_src_unlock), (gst_base_src_default_negotiate),
3843 (gst_base_src_start), (gst_base_src_deactivate),
3844 (gst_base_src_activate_push), (gst_base_src_change_state):
3845 Move some stuff around and cleanup things.
3847 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
3849 * gst/base/gstbasesrc.c: (gst_base_src_query):
3850 Add missing break statements.
3852 2005-10-27 Wim Taymans <wim@fluendo.com>
3854 * check/gst/gstbin.c: (GST_START_TEST):
3855 An extra refcount is taken in basesrc.
3857 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3858 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3859 (gst_base_src_loop):
3860 Small cleanups, check for flushing after being unlocked from the
3861 LIVE_LOCK. take refcounts correctly (not yet everywhere).
3862 Don't send out EOS when going to READY.
3864 2005-10-27 Wim Taymans <wim@fluendo.com>
3866 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3867 (gst_base_sink_get_position):
3870 * gst/gstbin.c: (message_check), (bin_replace_message),
3871 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3872 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3873 (bin_query_duration_init), (bin_query_duration_fold),
3874 (bin_query_duration_done), (bin_query_generic_fold),
3876 * tools/gst-launch.c: (main):
3879 2005-10-26 Stefan Kost <ensonic@users.sf.net>
3881 * examples/controller/audio-example.c: (main):
3882 * examples/queue/queue.c: (event_loop):
3883 * gst/base/gstbasetransform.h:
3884 * gst/gstelement.c: (gst_element_send_event):
3886 * gst/gstpad.c: (gst_pad_send_event):
3889 changing log priority in error situations
3891 2005-10-25 Wim Taymans <wim@fluendo.com>
3893 * gst/gstbin.c: (message_check), (bin_replace_message),
3894 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3895 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3896 (bin_query_duration_init), (bin_query_duration_fold),
3897 (bin_query_duration_done), (bin_query_generic_fold),
3899 Some doc and debug updates.
3900 Cache previously requested query DURATION for speed. invalidate
3901 cached duration if element posts a DURATION message.
3903 2005-10-25 Wim Taymans <wim@fluendo.com>
3905 * docs/design/part-TODO.txt:
3908 * gst/gstbin.c: (message_check), (bin_replace_message),
3909 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3910 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3911 (bin_query_duration_init), (bin_query_duration_fold),
3912 (bin_query_duration_done), (bin_query_generic_fold),
3914 Handle SEGMENT_START/DONE messages correctly.
3915 More evolved query algorithm that handles duration queries
3918 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3919 (gst_element_get_state_func), (gst_element_abort_state),
3920 (gst_element_commit_state), (gst_element_lost_state):
3921 Some more debugging.
3926 2005-10-25 Wim Taymans <wim@fluendo.com>
3928 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3929 Don't use invalid stream_time.
3931 * gst/gstevent.c: (gst_event_new_newsegment):
3932 stream_time in newsegment cannot be undefined.
3934 2005-10-24 Wim Taymans <wim@fluendo.com>
3939 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3941 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3943 2005-10-24 Stefan Kost <ensonic@users.sf.net>
3945 * docs/libs/tmpl/gstdparam.sgml:
3946 * docs/libs/tmpl/gstdplinint.sgml:
3947 * docs/libs/tmpl/gstdpman.sgml:
3948 * docs/libs/tmpl/gstdpsmooth.sgml:
3949 * docs/libs/tmpl/gstunitconvert.sgml:
3952 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
3957 === release 0.9.4 ===
3959 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3962 releasing 0.9.4, "Tyrannosaurus Rex"
3964 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
3966 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3967 (gst_file_sink_get_current_offset):
3968 Use fseeko() and ftello() if available. When falling back on
3969 lseek() to get the current offset, fflush() first to make sure
3970 everything is up-to-date and we get the right offset.
3972 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3974 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3975 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3976 * gst/gsterror.c: (_gst_stream_errors_init):
3978 * gst/gstqueue.c: (gst_queue_loop):
3980 remove prematurely added error category and clean up the instances
3982 2005-10-21 Wim Taymans <wim@fluendo.com>
3984 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3985 (gst_base_sink_get_position), (gst_base_sink_query),
3986 (gst_base_sink_change_state):
3987 Simply set the right flag when going to playing, that's all
3988 we need to do instead of calling a function inside the object
3989 lock (that could take the lock as well and deadlock)
3991 2005-10-21 Wim Taymans <wim@fluendo.com>
3993 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3994 (gst_base_src_loop):
3995 Don't warn, the peer element knows what to do best when
3996 the seek failed, it might try something else.
3998 2005-10-21 Wim Taymans <wim@fluendo.com>
4000 * gst/base/gstbasesrc.c: (gst_base_src_init),
4001 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
4004 2005-10-21 Wim Taymans <wim@fluendo.com>
4006 * docs/design/part-segments.txt:
4009 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4010 Correctly set caps, even on the subbufer.
4012 2005-10-21 Wim Taymans <wim@fluendo.com>
4014 * docs/gst/gstreamer-docs.sgml:
4015 * docs/gst/gstreamer-sections.txt:
4022 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
4026 And 2% more doc coverage.
4028 2005-10-21 Andy Wingo <wingo@pobox.com>
4030 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
4033 2005-10-20 Wim Taymans <wim@fluendo.com>
4035 * gst/gsterror.c: (gst_error_get_message):
4038 * gst/gststructure.c:
4043 2005-10-20 Wim Taymans <wim@fluendo.com>
4048 Another 1% more coverage.
4050 2005-10-20 Wim Taymans <wim@fluendo.com>
4052 * docs/gst/gstreamer-sections.txt:
4053 * gst/gstelement.c: (gst_element_get_state_func),
4054 (gst_element_abort_state), (gst_element_commit_state),
4055 (gst_element_lost_state):
4057 * gst/gstquery.c: (gst_query_set_position),
4058 (gst_query_parse_position), (gst_query_set_duration),
4059 (gst_query_parse_duration), (gst_query_new_convert):
4061 Yay! 1% more docs coverage.
4063 2005-10-20 Wim Taymans <wim@fluendo.com>
4066 * gst/gstquery.c: (gst_query_set_position),
4067 (gst_query_parse_position), (gst_query_set_duration),
4068 (gst_query_parse_duration), (gst_query_new_convert):
4070 * gst/gstutils.c: (gst_element_query_convert):
4072 Docs and consistency fixes.
4074 2005-10-20 Wim Taymans <wim@fluendo.com>
4080 2005-10-20 Wim Taymans <wim@fluendo.com>
4082 * gst/gstbin.c: (message_check), (bin_replace_message),
4083 (bin_remove_messages), (is_eos), (gst_bin_add_func),
4084 (update_degree), (gst_bin_sort_iterator_next),
4085 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
4086 Reworked the message handling a bit, cache the messages instead of
4087 only the senders. alows us to do more in the future.
4089 2005-10-20 Wim Taymans <wim@fluendo.com>
4091 * docs/design/part-TODO.txt:
4094 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
4095 (gst_base_sink_query):
4096 Don't use clock time to report position when in EOS.
4098 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
4100 * tools/gst-inspect.c: (print_interfaces),
4101 (print_element_properties_info), (print_element_info):
4102 Fix interface output with gst-inspect -a; don't print
4103 newlines after double/float properties.
4105 2005-10-20 Wim Taymans <wim@fluendo.com>
4107 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
4108 (gst_base_sink_query):
4109 Speed up current position calculation.
4111 * gst/base/gstbasesrc.c: (gst_base_src_query),
4112 (gst_base_src_default_newsegment):
4113 Correctly set stream position in newsegment.
4115 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
4116 (update_degree), (gst_bin_sort_iterator_next),
4117 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
4118 * gst/gstmessage.c: (gst_message_new_custom):
4119 Clean up debugging info
4121 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
4122 (gst_queue_loop), (gst_queue_handle_src_query):
4125 2005-10-19 Wim Taymans <wim@fluendo.com>
4127 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4128 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
4129 Fix query handling again.
4131 2005-10-19 Wim Taymans <wim@fluendo.com>
4133 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4134 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
4135 * gst/base/gstbasesrc.c: (gst_base_src_query):
4136 * gst/elements/gstfilesink.c: (gst_file_sink_query):
4137 * gst/elements/gsttypefindelement.c:
4138 (gst_type_find_handle_src_query), (find_element_get_length),
4139 (gst_type_find_element_activate):
4142 * gst/gstquery.c: (gst_query_new_position),
4143 (gst_query_set_position), (gst_query_parse_position),
4144 (gst_query_new_duration), (gst_query_set_duration),
4145 (gst_query_parse_duration), (gst_query_set_segment),
4146 (gst_query_parse_segment):
4148 Bundling query position/duration is not a good idea since duration
4149 does not change much and we don't want to recalculate it for every
4150 position query, so they are separated again..
4151 Base value in segment query is not needed.
4153 * gst/gstqueue.c: (gst_queue_handle_src_query):
4154 * gst/gstutils.c: (gst_element_query_position),
4155 (gst_element_query_duration), (gst_pad_query_position),
4156 (gst_pad_query_duration):
4158 Updates for query API change.
4159 Added some docs here and there.
4161 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
4163 * check/gst/gstbin.c: (GST_START_TEST):
4164 * check/gst/gstghostpad.c: (GST_START_TEST):
4165 * check/pipelines/cleanup.c: (GST_START_TEST):
4166 wait on thread to die so we can check refcount correctly
4168 2005-10-18 Wim Taymans <wim@fluendo.com>
4170 * check/pipelines/stress.c: (GST_START_TEST):
4171 Make check a little more time consuming.
4173 2005-10-18 Wim Taymans <wim@fluendo.com>
4175 * check/Makefile.am:
4176 * check/pipelines/stress.c: (GST_START_TEST),
4177 (simple_launch_lines_suite), (main):
4178 Small state change torture test.
4180 * docs/design/part-states.txt:
4181 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4182 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
4183 (gst_base_sink_change_state):
4184 Never take state lock from streaming thread, clean up ugly
4185 hacks. Unfortunatly core does not yet support nice ways to
4188 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
4190 Start state recalc if a STATE_DIRTY message is posted, but only
4191 on the toplevel bin.
4193 * gst/gstelement.c: (gst_element_sync_state_with_parent),
4194 (gst_element_get_state_func), (gst_element_abort_state),
4195 (gst_element_commit_state), (gst_element_lost_state),
4196 (gst_element_set_state_func), (gst_element_change_state):
4198 State variables are now protected with the LOCK, the state
4199 lock is only used to serialize _set_state().
4201 2005-10-18 Wim Taymans <wim@fluendo.com>
4203 * check/gst/gstbin.c: (GST_START_TEST):
4204 * check/gst/gstmessage.c: (GST_START_TEST):
4205 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4206 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
4208 * gst/gstelement.c: (gst_element_abort_state),
4209 (gst_element_commit_state), (gst_element_lost_state):
4210 * gst/gstmessage.c: (gst_message_new_state_changed),
4211 (gst_message_new_state_dirty), (gst_message_new_segment_start),
4212 (gst_message_new_segment_done), (gst_message_new_duration),
4213 (gst_message_parse_state_changed),
4214 (gst_message_parse_segment_start),
4215 (gst_message_parse_segment_done), (gst_message_parse_duration):
4217 * tools/gst-launch.c: (event_loop):
4218 Seriously, this is better than a previous commit as we only need
4219 to notify the fact that an element changed state in a streaming
4220 thread, marking the state of the parents dirty, hence the
4221 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
4224 2005-10-18 Wim Taymans <wim@fluendo.com>
4226 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
4227 (gst_bin_recalc_func):
4228 * gst/gstelement.c: (gst_element_set_clock),
4229 (gst_element_abort_state), (gst_element_lost_state):
4230 Cleanups, prepare for state change fixes.
4232 2005-10-18 Wim Taymans <wim@fluendo.com>
4235 * gst/gstelement.c: (gst_element_class_init),
4236 (gst_element_set_state), (gst_element_set_state_func):
4238 Pending ABI changes.
4239 GThreadPool in GstBinClass to monitor async state changes.
4240 state_cookie in GstElement to detect concurrent gst/set state.
4241 set_state is now virtual too in case a very complicated element
4242 has to be constructed.
4244 2005-10-18 Wim Taymans <wim@fluendo.com>
4246 * check/gst/gstbin.c: (GST_START_TEST):
4247 * check/gst/gstmessage.c: (GST_START_TEST):
4248 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4249 * gst/gstbin.c: (bin_bus_handler):
4250 * gst/gstelement.c: (gst_element_commit_state),
4251 (gst_element_lost_state):
4252 * gst/gstmessage.c: (gst_message_new_state_changed),
4253 (gst_message_new_segment_start), (gst_message_new_segment_done),
4254 (gst_message_new_duration), (gst_message_parse_state_changed),
4255 (gst_message_parse_segment_start),
4256 (gst_message_parse_segment_done), (gst_message_parse_duration):
4258 * tools/gst-launch.c: (event_loop):
4259 Make messages future proof.
4260 state-change gets a flag if it was a message comming from the
4262 segment-start/stop can also be specified in other formats.
4263 A message to notify an app that a pipeline changed playback
4265 Also fix a GstMessage leak in -launch
4267 2005-10-18 Andy Wingo <wingo@pobox.com>
4269 * gst/gstelement.c (gst_element_dispose): More helpful message.
4271 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
4273 reviewed by: <delete if not using a buddy>
4275 * common/gtk-doc.mak:
4277 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
4279 * gst/gstregistry.c: (gst_registry_scan_path_level):
4280 unref a plug-in we get that was already initialized
4282 2005-10-18 Stefan Kost <ensonic@users.sf.net>
4284 * docs/gst/gstreamer-sections.txt:
4285 * docs/libs/gstreamer-libs-sections.txt:
4290 2005-10-17 Andy Wingo <wingo@pobox.com>
4292 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
4295 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
4297 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
4299 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
4300 (gst_element_get_state_func): Better debug message.
4301 (gst_element_commit_state): s/INFO/DEBUG/.
4302 (gst_element_lost_state, gst_element_change_state):
4304 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
4305 (gst_message_new_custom): s/INFO/LOG/.
4307 2005-10-17 Michael Smith <msmith@fluendo.com>
4309 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4310 Check if end time is valid using end time, not start time.
4312 2005-10-17 Stefan Kost <ensonic@users.sf.net>
4314 * check/gst-libs/controller.c: (GST_START_TEST),
4315 (gst_controller_suite):
4316 * libs/gst/controller/gstcontroller.c:
4317 (gst_controlled_property_set_interpolation_mode):
4318 * libs/gst/controller/gstcontroller.h:
4319 * libs/gst/controller/gstinterpolation.c:
4320 * testsuite/controller/.cvsignore:
4321 * testsuite/controller/Makefile.am:
4322 * testsuite/controller/interpolator.c:
4323 merge controller testsuites
4325 remove mem-chunk from docs
4327 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
4329 * gst/gstmemchunk.c:
4330 * gst/gstmemchunk.h:
4331 * gst/gsttrashstack.c:
4332 * gst/gsttrashstack.h:
4333 out. get out. you're fired. to the Attic !
4335 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
4337 * gst/gstcaps.c: (gst_caps_intersect):
4338 fix signedness issues in a (hopefully) correct way
4339 * gst/gstelement.c: (gst_element_pads_activate):
4341 * gst/gstobject.c: (gst_object_set_parent):
4344 2005-10-17 Julien MOUTTE <julien@moutte.net>
4346 * gst/gstvalue.h: Fix prototypes.
4348 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4350 * docs/gst/gstreamer-sections.txt:
4351 * gst/gst.c: (gst_version_string):
4353 * gst/gstversion.h.in:
4354 * win32/common/libgstreamer.def:
4355 add gst_version_string ()
4357 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4361 * gst/gst.c: (init_post):
4362 * win32/common/config.h.in:
4364 * gst/gstcaps.c: (gst_caps_intersect):
4365 use gint64, the range could be bigger than a guint
4367 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4370 document potential problem in 2038
4372 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4374 * gst/gstcaps.c: (gst_caps_intersect):
4375 Fix guint j diving under 0
4377 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4380 * win32/common/config.h:
4381 * win32/common/config.h.in:
4382 check for process.h, declares getpid() on Windows
4384 include process.h if we have it
4385 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
4386 * gst/gstmemchunk.h:
4387 fix signedness issues
4388 * win32/common/libgstreamer.def:
4391 2005-10-16 Julien MOUTTE <julien@moutte.net>
4393 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
4394 fix. Because of unsigned ints, caps intersection was going nuts and
4395 trying to access structures with G_MAXUINT index. That fixes
4396 videotestsrc ! ffmpegcolorspace ! fakesink
4397 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
4400 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4403 use the gettext macro
4404 * gst/elements/gstelements.c:
4406 * gst/indexers/gstindexers.c:
4407 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
4408 * win32/common/config.h:
4410 * win32/common/config.h.in:
4411 add the template to generate config.h
4412 * win32/common/gstenumtypes.c:
4413 * win32/common/gstversion.h:
4416 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4418 * gst/gst.c: (gst_version):
4419 * gst/gstversion.h.in:
4422 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
4425 Oops, add missing closing bracket.
4427 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4430 use common m4's for argument checking
4432 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
4434 * docs/gst/gstreamer-sections.txt:
4436 Add GST_EVENT_TYPE_NAME() macro.
4438 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4441 * gst/gstpluginfeature.c:
4443 privatize more symbols
4445 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4448 add srcdir, builddir includes to GST_ALL_CFLAGS, since
4449 everything that uses GStreamer API should have the includes
4451 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4453 * docs/gst/gstreamer-sections.txt:
4454 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4456 give each value a _get_type, removes the DATA exports
4458 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4462 remove _gst_registry_auto_load, not used anymore
4463 * gst/gstbin.c: (gst_bin_get_type):
4465 * gst/gstelement.c: (gst_element_get_type):
4467 * gst/gstobject.c: (gst_object_get_type):
4469 * gst/gstpad.c: (gst_pad_get_type):
4471 make _get_type functions similar, fixes data export from library
4473 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4476 correctly make conditionals
4477 * gst/elements/Makefile.am:
4478 * gst/elements/gstelements.c:
4479 fix typo causing fdsrc not to build
4481 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4483 * testsuite/Makefile.am:
4484 * testsuite/bytestream/.cvsignore:
4485 * testsuite/bytestream/Makefile.am:
4486 * testsuite/bytestream/filepadsink.c:
4487 * testsuite/bytestream/gstbstest.c:
4488 * testsuite/bytestream/test1.c:
4489 * testsuite/bytestream/testfile1:
4490 * testsuite/caps/normalisation.c:
4491 * testsuite/caps/random.c: (main):
4492 * testsuite/cleanup/.cvsignore:
4493 * testsuite/cleanup/Makefile.am:
4494 * testsuite/cleanup/cleanup1.c:
4495 * testsuite/cleanup/cleanup2.c:
4496 * testsuite/cleanup/cleanup3.c:
4497 * testsuite/cleanup/cleanup4.c:
4498 * testsuite/cleanup/cleanup5.c:
4499 * testsuite/controller/interpolator.c:
4500 * testsuite/debug/printf_extension.c: (main):
4501 * testsuite/elements/tee.c:
4502 * testsuite/negotiation/.cvsignore:
4503 * testsuite/negotiation/Makefile.am:
4504 * testsuite/negotiation/pad_link.c:
4505 * testsuite/pad/Makefile.am:
4506 * testsuite/pad/chainnopull.c:
4507 * testsuite/pad/getnopush.c:
4508 * testsuite/pad/link.c:
4509 * testsuite/refcounting/sched.c: (create_pipeline):
4510 * testsuite/registry/Makefile.am:
4511 * testsuite/registry/gst-print-formats.c:
4512 * testsuite/schedulers/.cvsignore:
4513 * testsuite/schedulers/142183-2.c:
4514 * testsuite/schedulers/142183.c:
4515 * testsuite/schedulers/143777-2.c:
4516 * testsuite/schedulers/143777.c:
4517 * testsuite/schedulers/147713.c:
4518 * testsuite/schedulers/147819.c:
4519 * testsuite/schedulers/147894-2.c:
4520 * testsuite/schedulers/147894.c:
4521 * testsuite/schedulers/Makefile.am:
4522 * testsuite/schedulers/group_link.c:
4523 * testsuite/schedulers/queue_link.c:
4524 * testsuite/schedulers/relink.c:
4525 * testsuite/schedulers/unlink.c:
4526 * testsuite/schedulers/unref.c:
4527 * testsuite/schedulers/useless_iteration.c:
4528 * testsuite/states/bin.c:
4529 clean out/remove some stuff from the testsuite directories
4531 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4534 check for some headers
4535 * gst/elements/Makefile.am:
4536 * gst/elements/gstelements.c:
4537 don't compile fdsrc without sys/socket.h
4538 * gst/indexers/Makefile.am:
4539 * gst/indexers/gstindexers.c: (plugin_init):
4540 don't compile fileindex without mmap
4542 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4549 * check/Makefile.am:
4550 * docs/gst/Makefile.am:
4551 * examples/helloworld/Makefile.am:
4553 * gst/base/Makefile.am:
4554 * gst/check/Makefile.am:
4555 * gst/elements/Makefile.am:
4556 * gst/indexers/Makefile.am:
4557 * gst/parse/Makefile.am:
4558 * libs/gst/controller/Makefile.am:
4559 * libs/gst/dataprotocol/Makefile.am:
4560 * examples/helloworld/helloworld.c: (event_loop):
4561 compile fixes, though it's not being compiled currently
4563 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4565 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
4566 Add some simple tests for the new taglist date API.
4568 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4570 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
4571 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
4572 Beautify 'last-message' output: print 'none' for buffer timestamps
4573 and durations if none is set; improve alignment with next messages.
4575 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4577 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
4578 * gst/gstpluginfeature.h:
4579 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
4580 * gst/gstregistry.h:
4581 * docs/gst/gstreamer-sections.txt:
4582 Add new API to check plugin feature version requirements.
4584 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
4585 Some basic tests for the above.
4587 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4589 * gst/gststructure.c: (gst_structure_to_string):
4590 guard against NULL printf - happens when for example
4591 a message structure with GstClock gets serialized
4593 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4595 * gst/base/gstcollectpads.c: (gst_collectpads_event):
4596 Fix presumable copy'n'pasto.
4598 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4600 * gst/elements/gstfakesrc.h:
4601 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4602 * gst/elements/gsttypefindelement.c:
4604 * gst/elements/gstfilesink.c: (gst_file_sink_render):
4605 I wonder if this could actually write +2GB files before
4607 2005-10-13 Andy Wingo <wingo@pobox.com>
4609 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4610 Fix Timmeke Waymans bug.
4611 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4612 string of the proper length to gst_caps_from_string. There's a
4613 potential for, before this fix, that this could cause someone
4614 connecting over the network to cause a segfault if the payload is
4617 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4619 * docs/design/draft-push-pull.txt:
4620 * docs/design/part-overview.txt:
4621 * docs/random/TODO-pre-0.9:
4622 * docs/random/old/ChangeLog.gstreamer:
4623 * gst/base/gstpushsrc.c:
4627 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4629 * gst/glib-compat.c: (gst_flags_get_first_value):
4630 * gst/glib-compat.h:
4631 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4632 (gst_value_compare_double), (gst_value_serialize_flags):
4633 GLib 2.6 g_flags_get_first_value has a bug that triggers an
4636 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4638 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4639 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4641 * tools/gst-launch.c: (event_loop):
4642 print out clock nicely
4644 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4646 * docs/gst/gstreamer-sections.txt:
4648 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4649 (gst_tag_list_get_date_index):
4650 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4651 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4653 2005-10-13 Julien MOUTTE <julien@moutte.net>
4655 * gst/base/gstcollectpads.c: (gst_collectpads_event),
4656 (gst_collectpads_chain):
4657 * gst/base/gstcollectpads.h: Handle newsegment and store informations
4660 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4662 * docs/gst/gstreamer-sections.txt:
4665 * tools/gst-inspect.c: (main):
4666 * tools/gst-launch.c: (main):
4667 * tools/gst-run.c: (main):
4668 * tools/gst-xmlinspect.c: (main):
4669 fix GOption context leaks
4672 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4676 * win32/common/config.h:
4678 * win32/vs6/grammar.dsp:
4679 * win32/vs6/libgstelements.dsp:
4680 * win32/vs6/libgstreamer.dsp:
4683 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4685 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4686 * gst/base/gstbasesrc.c: (gst_base_src_query):
4687 fix more guint64<->gdouble conversions
4689 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4692 add win32-update target
4693 * win32/common/gstconfig.h:
4694 * win32/common/gstenumtypes.c:
4695 * win32/common/gstenumtypes.h:
4696 * win32/common/gstversion.h:
4697 add files that visual studio can't generate
4699 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4702 add a win32-update target
4705 2005-10-12 Wim Taymans <wim@fluendo.com>
4707 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4708 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4709 * gst/gstelement.c: (gst_element_commit_state),
4710 (gst_element_set_state):
4711 Protect flags with proper lock.
4712 unref provided cached clock in dispose.
4714 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4717 * gst/gstminiobject.h:
4719 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4720 removed unused flags from miniobject
4723 2005-10-12 Wim Taymans <wim@fluendo.com>
4725 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4726 (gst_file_sink_event), (gst_file_sink_render):
4727 Flush before seeking.
4729 2005-10-12 Andy Wingo <wingo@pobox.com>
4731 * gst/gst.c (gst_init_check): Ignore unknown options, as has
4732 always been the case.
4734 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4736 * check/gst/gstbin.c: (GST_START_TEST):
4737 * docs/gst/gstreamer-sections.txt:
4738 * gst/base/gstbasesink.c: (gst_base_sink_init):
4739 * gst/base/gstbasesrc.c: (gst_base_src_init),
4740 (gst_base_src_get_range), (gst_base_src_check_get_range),
4741 (gst_base_src_start), (gst_base_src_stop):
4742 * gst/base/gstbasesrc.h:
4743 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4744 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4745 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4749 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4751 * gst/gstelement.c: (gst_element_is_locked_state),
4752 (gst_element_set_locked_state), (gst_element_commit_state),
4753 (gst_element_set_state):
4755 * gst/gstindex.c: (gst_index_init):
4757 * gst/gstminiobject.h:
4758 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4759 (gst_object_set_parent):
4761 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4762 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4764 * gst/gstpadtemplate.h:
4765 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4766 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4767 * gst/gstpipeline.h:
4768 * gst/indexers/gstfileindex.c: (gst_file_index_load),
4769 (gst_file_index_commit):
4770 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4771 * testsuite/pad/link.c: (gst_test_src_init),
4772 (gst_test_filter_init), (gst_test_sink_init):
4773 * testsuite/states/locked.c: (main):
4774 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4775 moved bitshift from macro to enum definition
4777 2005-10-12 Wim Taymans <wim@fluendo.com>
4779 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4780 * gst/elements/gstfilesink.c: (gst_file_sink_event),
4781 (gst_file_sink_render):
4782 Some more debugging info.
4784 2005-10-12 Wim Taymans <wim@fluendo.com>
4786 * docs/design/part-states.txt:
4787 * tools/gst-launch.c: (main):
4789 Revert non-intentional change.
4791 2005-10-12 Wim Taymans <wim@fluendo.com>
4793 * check/gst/gstbin.c: (GST_START_TEST):
4794 * check/gst/gstelement.c: (GST_START_TEST):
4795 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4796 * check/gst/gstghostpad.c: (GST_START_TEST):
4797 * check/gst/gstpipeline.c: (GST_START_TEST):
4798 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4799 * check/states/sinks.c: (GST_START_TEST):
4800 * gst/elements/gsttypefindelement.c: (stop_typefinding):
4801 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4802 (gst_bin_remove_func), (gst_bin_get_state_func),
4803 (gst_bin_recalc_state), (gst_bin_change_state_func),
4805 * gst/gstelement.c: (gst_element_get_state_func),
4806 (gst_element_get_state), (gst_element_abort_state),
4807 (gst_element_commit_state), (gst_element_set_state),
4808 (gst_element_change_state), (gst_element_change_state_func):
4810 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4811 (gst_pipeline_provide_clock_func):
4812 * gst/gstutils.c: (gst_element_link_pads_filtered):
4813 * tools/gst-launch.c: (main):
4814 * tools/gst-typefind.c: (main):
4815 Use GstClockTime in _get_state() instead of GTimeVal.
4816 Remove old code in gstutils.c
4818 2005-10-12 Andy Wingo <wingo@pobox.com>
4820 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4823 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4824 there is no task. Shouldn't affect any code, as nothing in our
4825 plugins checks this return value.
4826 (gst_pad_stop_task): Also take the stream lock if the pad has no
4829 2005-10-12 Wim Taymans <wim@fluendo.com>
4831 * gst/gstpad.c: (pre_activate), (post_activate),
4832 (gst_pad_activate_pull), (gst_pad_activate_push):
4833 Cleanup activation code. Reset old state if
4836 2005-10-12 Wim Taymans <wim@fluendo.com>
4838 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4839 (gst_base_sink_change_state):
4840 No need to prerol after receiving EOS.
4842 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4843 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4844 * gst/elements/gstidentity.c: (gst_identity_event):
4845 Print events more verbosely.
4847 2005-10-12 Wim Taymans <wim@fluendo.com>
4849 * check/Makefile.am:
4850 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4851 * check/states/sinks2.c:
4852 Moved sinks2 testcode in sinks check.
4854 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4855 (gst_bin_remove_func), (gst_bin_recalc_state),
4856 (gst_bin_change_state_func), (bin_bus_handler):
4857 Fix potential race condition when _get_state() iterated over an
4858 ASYNC element right before it posted a state completion.
4861 Do proper cast here.
4863 * gst/gstevent.c: (gst_event_new_newsegment),
4864 (gst_event_parse_newsegment):
4865 A playback rate of 0.0 is not allowed.
4867 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4869 * win32/common/config.h:
4870 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4871 (_trewinddir), (_ttelldir), (_tseekdir):
4872 * win32/common/dirent.h:
4873 * win32/common/gtchar.h:
4874 * win32/common/libgstbase.def:
4875 * win32/common/libgstreamer.def:
4876 * win32/vs6/grammar.dsp:
4877 * win32/vs6/gst_inspect.dsp:
4878 * win32/vs6/gst_launch.dsp:
4879 * win32/vs6/gstreamer.dsw:
4880 * win32/vs6/libgstbase.dsp:
4881 * win32/vs6/libgstelements.dsp:
4882 * win32/vs6/libgstreamer.dsp:
4883 Visual Studio 6 project files, and a new common directory.
4886 2005-10-11 Wim Taymans <wim@fluendo.com>
4888 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4889 (gst_base_sink_do_sync), (gst_base_sink_query),
4890 (gst_base_sink_change_state):
4891 * gst/base/gstbasesink.h:
4892 Correctly parse newsegment info.
4894 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4896 * gst/gst.c: (init_post):
4897 split plugin paths correctly
4899 2005-10-11 Wim Taymans <wim@fluendo.com>
4901 * check/gst/gstevent.c: (GST_START_TEST):
4902 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4903 (gst_base_sink_change_state):
4904 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4905 * gst/base/gstbasetransform.c: (gst_base_transform_event):
4906 * gst/elements/gstfilesink.c: (gst_file_sink_event):
4907 * gst/gstevent.c: (gst_event_new_newsegment),
4908 (gst_event_parse_newsegment):
4910 Added extra flag to newsegment for future API freeze.
4911 Updated check and base elements.
4913 2005-10-11 Julien MOUTTE <julien@moutte.net>
4915 * gst/base/gstcollectpads.c: (gst_collectpads_init),
4916 (gst_collectpads_add_pad), (gst_collectpads_pop),
4917 (gst_collectpads_event), (gst_collectpads_chain):
4918 * gst/base/gstcollectpads.h: Handle EOS correctly.
4920 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4922 * tools/gst-launch.c: (main):
4923 more null protecting
4925 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4927 * gst/gst-i18n-lib.h:
4928 check for ENABLE_NLS, not GETTEXT_PACKAGE
4929 * gst/gstregistry.c: (gst_registry_add_plugin),
4930 (gst_registry_scan_path_level),
4931 (_gst_registry_remove_cache_plugins):
4932 protect possibly NULL strings
4933 * gst/parse/types.h:
4934 config.h already included before
4935 * tools/gst-inspect.c: (main):
4936 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4937 check for ENABLE_NLS, not GETTEXT_PACKAGE
4938 * tools/gst-launch.c: (main):
4939 check for ENABLE_NLS, not GETTEXT_PACKAGE
4941 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4944 if we don't have glib, fail before testing 2.8
4945 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4946 fix a leak, should fix plugins-base testsuite
4948 2005-10-11 Andy Wingo <wingo@pobox.com>
4950 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4951 take the mode we're going to as an arg. Go head and set the mode
4952 and flushing flags now, so that if the activate function starts a
4953 thread all the flags will be in the right state.
4954 (post_activate): Renamed also. Just handle making sure streaming
4955 finishes for the deactivation case, and setting the deactivated
4957 (gst_pad_set_active): Complain loudly if deactivation fails.
4958 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4959 (gst_pad_activate_push): Adapt to pre/post_activate changes,
4960 remove the terrible hack.
4962 2005-10-11 Wim Taymans <wim@fluendo.com>
4964 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4965 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4966 (gst_bin_recalc_state), (gst_bin_change_state_func),
4967 (gst_bin_dispose), (bin_bus_handler):
4969 Prepare to make current EOS message queue more generic.
4972 * gst/gstevent.c: (gst_event_new_newsegment),
4973 (gst_event_parse_newsegment):
4975 Rename base to stream_time.
4980 2005-10-11 Wim Taymans <wim@fluendo.com>
4982 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4983 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4984 (gst_bin_change_state_func), (bin_bus_handler):
4986 Work on proper clock selection.
4988 2005-10-11 Edward Hervey <edward@fluendo.com>
4990 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
4991 * libs/gst/controller/gstcontroller.h:
4992 Added GList* version of _remove_properties() in order to be able to wrap
4995 2005-10-11 Wim Taymans <wim@fluendo.com>
4997 * docs/design/part-states.txt:
5000 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
5001 (gst_bin_change_state_func), (bin_bus_handler):
5002 Doc updates. Don't distribute the same clock over and over again.
5008 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
5009 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
5010 (gst_pad_send_event):
5012 Make probe emission threadsafe again.
5013 Register quarks and move _get_name() from utils.
5016 * gst/gstpipeline.c: (gst_pipeline_class_init),
5017 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
5018 Only redistribute the clock of it changed.
5020 * gst/gstsystemclock.h:
5025 Moved the _flow_get_name() to GstPad.
5027 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
5029 * check/gst-libs/gdp.c: (GST_START_TEST):
5030 * check/gst/gstcaps.c: (GST_START_TEST):
5031 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
5032 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
5033 (gst_dp_packet_from_caps):
5034 fix more valgrind warnings before turning up the heat
5036 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
5038 * gst/parse/grammar.y:
5039 some cleanup before the hacking
5041 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
5043 * gst/base/gstbasesrc.c: (gst_base_src_query):
5045 * gst/gstutils.c: (gst_guint64_to_gdouble),
5046 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
5048 externalize, basesrc uses it
5049 obviously the implementation needs testing
5051 2005-10-10 Wim Taymans <wim@fluendo.com>
5053 * tests/sched/Makefile.am:
5054 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
5055 (make_pipeline3), (make_pipeline4), (print_elem), (main):
5057 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
5059 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
5060 apparently converting from guint64 to double is not implemented
5063 2005-10-10 Wim Taymans <wim@fluendo.com>
5065 * check/Makefile.am:
5066 * check/generic/states.c: (GST_START_TEST):
5067 * check/gst/gstbin.c: (GST_START_TEST):
5068 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5069 * check/states/sinks.c: (GST_START_TEST):
5070 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
5072 Check fixes, use API as stated in design docs, remove hacks.
5074 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5075 (gst_base_sink_change_state):
5076 Catch stopping our task while we're shutting down.
5078 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5079 (gst_bin_remove_func), (gst_bin_get_state_func),
5080 (gst_bin_recalc_state), (gst_bin_change_state_func),
5083 * gst/gstelement.c: (gst_element_init),
5084 (gst_element_get_state_func), (gst_element_abort_state),
5085 (gst_element_commit_state), (gst_element_lost_state),
5086 (gst_element_set_state), (gst_element_change_state),
5087 (gst_element_change_state_func):
5089 New state change algorithm (see #318116)
5091 * gst/gstpipeline.c: (gst_pipeline_class_init),
5092 (gst_pipeline_init), (gst_pipeline_set_property),
5093 (gst_pipeline_get_property), (do_pipeline_seek),
5094 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
5095 * gst/gstpipeline.h:
5096 Remove crude state change hacks.
5101 * tools/gst-launch.c: (main):
5102 Fixes for state change. Needs some more work to fully use the
5105 2005-10-10 Andy Wingo <wingo@pobox.com>
5107 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
5109 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
5110 this flag, but it's not even in GLib 2.6. Odd. Hack around the
5113 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
5115 * gst/gstiterator.c: (gst_iterator_new):
5116 Fix my previous commit: GTypes passed to gst_iterator_new()
5117 can be fundamental types.
5119 2005-10-10 Wim Taymans <wim@fluendo.com>
5121 * gst/gstelement.c: (gst_element_iterate_pad_list),
5122 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
5123 (gst_element_iterate_sink_pads):
5124 Use src/sink pads lists for the respective iterators instead
5127 2005-10-10 Andy Wingo <wingo@pobox.com>
5129 Merged in popt removal + GOption addition patch from Ronald, bug
5132 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
5133 GstElement macros around, remove popt-related symbols, add goption
5136 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
5138 * docs/gst/Makefile.am:
5139 * docs/libs/Makefile.am: No POPT_CFLAGS.
5141 * examples/manual/Makefile.am:
5142 * docs/manual/basics-init.xml: Doc updates with an example.
5144 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5145 (gst_init), (parse_one_option), (parse_goption_arg):
5146 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
5147 bit of hand merging and debugging to get the GOption stuff working
5150 * tests/Makefile.am:
5151 * tools/Makefile.am:
5152 * tools/gst-inspect.c: (main):
5153 * tools/gst-launch.c: (main):
5154 * tools/gst-run.c: (main):
5155 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
5157 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
5159 * gst/gstiterator.c: (gst_iterator_new):
5160 Add assertions to make sure passed GType is likely to really
5161 be a GType (as the compiler won't catch it if the size and
5162 GType arguments get mixed up, see #318447).
5164 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
5166 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5168 * gst/gstbin.c: (gst_bin_iterate_sorted):
5169 Pass GType and size arguments to gst_iterator_new() in the right
5170 order (maybe we should make _new() take the GType as first argument
5171 just like _new_list()?) (#318447).
5174 2005-10-10 Wim Taymans <wim@fluendo.com>
5176 * gst/gstelement.c: (gst_element_finalize):
5177 And free the GStaticRecMutex too
5179 2005-10-10 Andy Wingo <wingo@pobox.com>
5181 * gst/gstelement.c (gst_element_init, gst_element_finalize):
5182 Allocate and free the mutex properly.
5184 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
5186 (GstElement): The state_lock is now recursive. Rebuild your
5187 plugins, suckers. Old macros adapted.
5189 * docs/gst/gstreamer-sections.txt: Doc updates.
5192 * gst/gstutils.c (g_static_rec_cond_timed_wait)
5193 (g_static_rec_cond_wait): Ported from state changes patch, while
5194 we wait on bug #317802 to be solved in a well-distributed GLib.
5196 * gst/gstelement.c (gst_element_change_state_func): Renamed from
5197 gst_element_change_state, variable name changes.
5198 (gst_element_change_state): Split out of gst_element_set_state in
5199 preparation for the state change merge. Doesn't pay attention to
5200 the 'transition' argument.
5201 (gst_element_set_state): Updates, hopefully purely cosmetic.
5202 (gst_element_sync_state_with_parent): MT-safety. Ported from the
5204 (gst_element_get_state_func): Renamed from get_state, cosmetic
5207 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
5209 * gst/elements/gstelements.c:
5210 * win32/GStreamer.vcproj:
5212 * win32/dirent.c: (_tseekdir):
5213 * win32/gst-inspect.vcproj:
5214 * win32/gst-launch.vcproj:
5215 * win32/gstconfig.h:
5216 * win32/gstelements.vcproj:
5217 * win32/gstenumtypes.c: (gst_object_flags_get_type):
5218 * win32/gstreamer.def:
5220 updates for the win32 build (patch from Sebastien Moutte)
5222 2005-10-10 Andy Wingo <wingo@pobox.com>
5224 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
5225 gst_bin_get_state, cleaned up (but no logic changes).
5226 (bin_element_is_sink): Comment updates.
5227 (sink_iterator_filter): Remove needless cast.
5228 (gst_bin_iterate_sinks): Doc update.
5229 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
5230 cleaned up (but no logic changes).
5232 * check/states/sinks.c (test_src_sink): Cleanups from the state
5234 (test_livesrc_sink): Sync on the state.
5236 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
5237 the state change patch.
5239 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
5242 * check/gst/gstbin.c: Merge in some style fixes and additional
5243 checks from Wim's state change patch.
5245 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
5247 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5248 (gst_type_find_helper):
5249 Check whether we have the requested data already in our list of
5250 cached buffers before pulling a new buffer; also make the buffer
5251 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
5253 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
5258 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5259 don't use long long, it's not portable. Replacing with
5260 gint64 seems to work; let's hope no skeletons fall out of the closet.
5262 2005-10-10 Andy Wingo <wingo@pobox.com>
5264 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
5266 2005-10-09 Stefan Kost <ensonic@users.sf.net>
5268 * docs/gst/gstreamer-sections.txt:
5273 * gst/gstmessage.c: (gst_message_parse_state_changed):
5276 more docs, fix compilation
5278 2005-10-09 Philippe Khalaf <burger@speedy.org>
5280 Fixed a few forgotten variables on previous commit
5282 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
5284 * gst/base/gsttypefindhelper.c: (helper_find_peek):
5285 Fix evil typefind crasher: getrange() might return a short
5286 buffer at the end of a file, but gst_type_find_peek() must
5287 either return the full data as requested or NULL, but
5288 never a short buffer.
5290 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
5292 * gst/gstmessage.c: (gst_message_new_state_changed),
5293 (gst_message_parse_state_changed):
5295 don't use "new", it's a C++ keyword
5297 2005-10-08 Wim Taymans <wim@fluendo.com>
5299 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
5300 * gst/gstelement.c: (gst_element_post_message):
5301 * gst/gstpipeline.c: (gst_pipeline_change_state):
5302 Small docs and debug updates.
5304 2005-10-08 Stefan Kost <ensonic@users.sf.net>
5306 * docs/gst/gstreamer-sections.txt:
5307 * gst/gstelementfactory.c:
5312 2005-10-08 Wim Taymans <wim@fluendo.com>
5314 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
5315 (gst_bin_dispose), (bin_bus_handler):
5316 Fix typos, add comments.
5317 Clear EOS list when going to PAUSED from any direction and do it
5318 in a threadsafe way.
5319 Get base time in a threadsafe way too.
5320 Fix confusing debug in the change_state function.
5321 Various other small cleanups.
5323 * gst/gstelement.c: (gst_element_post_message):
5324 Fix very verbose bus posting code.
5326 * gst/gstpipeline.c: (gst_pipeline_class_init),
5327 (gst_pipeline_set_property), (gst_pipeline_get_property),
5328 (gst_pipeline_change_state):
5329 Small ARG_ -> PROP_ cleanup
5331 2005-10-08 Wim Taymans <wim@fluendo.com>
5333 * gst/gstbin.c: (is_eos), (bin_bus_handler):
5334 Do a less CPU demanding EOS check because we can.
5336 2005-10-08 Wim Taymans <wim@fluendo.com>
5338 * libs/gst/dataprotocol/dataprotocol.c:
5339 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5340 (gst_dp_packet_from_event):
5341 * libs/gst/dataprotocol/dataprotocol.h:
5342 * libs/gst/dataprotocol/dp-private.h:
5343 It's about time we bump the version number.
5344 Since event types don't fit in the guint8 anymore describing
5345 the payload type, make payload type 16 bits wide.
5347 2005-10-08 Wim Taymans <wim@fluendo.com>
5349 * docs/design/part-TODO.txt:
5350 * docs/design/part-clocks.txt:
5351 * docs/design/part-events.txt:
5352 * docs/design/part-gstbin.txt:
5353 * docs/design/part-gstelement.txt:
5354 * docs/design/part-gstpipeline.txt:
5355 * docs/design/part-live-source.txt:
5356 * docs/design/part-messages.txt:
5357 * docs/design/part-overview.txt:
5358 * docs/design/part-states.txt:
5361 2005-10-08 Wim Taymans <wim@fluendo.com>
5365 Fix event quark registration.
5366 Add some space between events so we can insert them in the
5369 2005-10-08 Wim Taymans <wim@fluendo.com>
5371 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5372 (gst_base_sink_handle_buffer):
5379 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
5380 (gst_queue_set_property), (gst_queue_get_property):
5382 Remove old unused properties.
5384 2005-10-08 Stefan Kost <ensonic@users.sf.net>
5385 * docs/gst/gstreamer-sections.txt:
5388 * gst/gstminiobject.c:
5389 * gst/gstminiobject.h:
5393 lots of new docs and doc fixes
5395 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5397 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
5399 * gst/gstregistry.c: (gst_registry_lookup_locked),
5400 (gst_registry_scan_path_level):
5401 * gst/gstregistryxml.c: (load_plugin):
5402 Only ever load one plugin for a given plugin basename.
5403 This ensures correct overriding of GST_PLUGIN_PATH over
5404 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
5405 system installed plugins.
5407 2005-10-08 Wim Taymans <wim@fluendo.com>
5409 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5410 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
5411 Prepare for doing QOS.
5413 2005-10-08 Wim Taymans <wim@fluendo.com>
5415 * check/gst/gstbin.c: (GST_START_TEST):
5416 * check/pipelines/cleanup.c: (GST_START_TEST):
5417 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5418 Allow new clock message too.
5420 2005-10-08 Wim Taymans <wim@fluendo.com>
5422 * gst/gstmessage.c: (gst_message_new_error),
5423 (gst_message_new_warning), (gst_message_new_tag),
5424 (gst_message_new_state_changed), (gst_message_new_clock_provide),
5425 (gst_message_new_clock_lost), (gst_message_new_new_clock),
5426 (gst_message_new_segment_start), (gst_message_new_segment_done),
5427 (gst_message_parse_state_changed),
5428 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
5429 (gst_message_parse_new_clock):
5431 Also carry the clock in question.
5433 2005-10-08 Wim Taymans <wim@fluendo.com>
5435 * gst/gstmessage.c: (gst_message_new_custom),
5436 (gst_message_new_eos), (gst_message_new_error),
5437 (gst_message_new_warning), (gst_message_new_tag),
5438 (gst_message_new_state_changed), (gst_message_new_clock_provide),
5439 (gst_message_new_new_clock), (gst_message_new_segment_start),
5440 (gst_message_new_segment_done), (gst_message_parse_state_changed),
5441 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
5444 Added clock related messages.
5446 * gst/gstpipeline.c: (gst_pipeline_change_state):
5447 Post message when the clock changed.
5449 * tools/gst-launch.c: (event_loop):
5452 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
5454 * tools/gst-inspect.c: (print_element_properties_info):
5455 Can't pass NULL strings to g_print() on windows.
5457 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5460 * docs/gst/Makefile.am:
5461 * docs/gst/gstreamer-docs.sgml:
5462 * docs/gst/running.xml:
5463 * docs/version.entities.in:
5464 add a chapter on running GStreamer.
5465 document GST_DEBUG and GST_PLUGIN* env vars
5467 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5472 remove PLUGINS_BUILDDIR stuff
5473 * gst/gst.c: (init_post):
5474 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
5476 remove, it was condescending and not needed
5478 2005-10-08 Wim Taymans <wim@fluendo.com>
5480 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5481 (gst_base_sink_handle_object), (gst_base_sink_event),
5482 (gst_base_sink_wait), (gst_base_sink_handle_event),
5483 (gst_base_sink_change_state):
5484 * gst/base/gstbasesink.h:
5485 Repost EOS message while going to PLAYING if still EOS.
5486 Make sure that when receiving a FLUSH_START we don't attempt
5487 to sync on the clock anymore.
5489 2005-10-08 Wim Taymans <wim@fluendo.com>
5491 * tools/gst-launch.c: (event_loop):
5492 Better message printout.
5494 2005-10-08 Wim Taymans <wim@fluendo.com>
5496 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
5497 (gst_bin_child_proxy_get_children_count):
5498 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5499 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
5500 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
5501 (gst_child_proxy_set_valist):
5502 * gst/parse/grammar.y:
5503 Make ChildProxy threadsafe and fix mem leaks.
5505 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5507 * gst/gst.c: (init_post):
5508 debug the GST_PLUGIN_ env vars
5510 2005-10-08 Wim Taymans <wim@fluendo.com>
5512 * check/gst/gstbin.c: (GST_START_TEST):
5513 * check/gst/gstmessage.c: (GST_START_TEST):
5514 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5515 * gst/gstelement.c: (gst_element_commit_state),
5516 (gst_element_lost_state):
5517 * gst/gstmessage.c: (gst_message_new_state_changed),
5518 (gst_message_parse_state_changed):
5520 * tools/gst-launch.c: (event_loop):
5521 Added extra field to STATE_CHANGE message with the pending
5522 state, which will be different from the new state soon.
5524 2005-10-08 Wim Taymans <wim@fluendo.com>
5526 * gst/gstbus.c: (gst_bus_pop):
5528 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
5529 Small cleanups and doc updates.
5531 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5533 * gst/gst.c: (init_pre):
5534 * gst/gstbin.c: (gst_bin_add_func):
5535 log distributing clocks and base time
5536 * gst/gstregistry.c: (gst_registry_add_plugin),
5537 (gst_registry_scan_path_level), (gst_registry_scan_path):
5538 clean up the debugging output a little
5539 * gst/gstutils.c: (gst_element_state_get_name):
5540 warn about a memleak (I've actually seen this be used, though
5541 it was probably a bug)
5543 2005-10-07 Wim Taymans <wim@fluendo.com>
5545 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5546 (gst_base_src_init), (gst_base_src_default_newsegment),
5547 (gst_base_src_newsegment), (gst_base_src_do_seek),
5548 (gst_base_src_loop), (gst_base_src_start):
5549 * gst/base/gstbasesrc.h:
5550 Make the newsegment event customizable by subclasses.
5552 2005-10-07 Wim Taymans <wim@fluendo.com>
5554 * gst/gstevent.c: (gst_event_new_buffersize),
5555 (gst_event_parse_buffersize):
5557 New event for future idea.
5559 2005-10-07 Andy Wingo <wingo@pobox.com>
5561 * gst/gstelement.c (gst_element_post_message): Doc update.
5563 * docs/gst/gstreamer-sections.txt: Update.
5565 * gst/gstmessage.c (gst_message_new_application): Made into a
5566 function like honest API calls.
5567 (gst_message_new_element): New message type.
5569 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
5571 * check/elements/fakesrc.c (test_no_preroll): New check, checks
5572 that setting a live fakesrc to PAUSED returns NO_PREROLL both
5575 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
5576 NO_PREROLL from gst_element_change_state to fall through.
5578 2005-10-07 Wim Taymans <wim@fluendo.com>
5580 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
5581 (gst_ghost_pad_do_activate_push):
5582 Activating a ghostpad with no internal pad in push mode
5585 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
5588 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
5589 Fixes compilation on Windows.
5591 2005-10-07 Michael Smith <msmith@fluendo.com>
5593 * tools/gst-inspect.c:
5594 Print out feature and plugin count at the end when printing out
5597 2005-10-04 Michael Smith <msmith@fluendo.com>
5599 * gst/gsterror.c: (_gst_stream_errors_init):
5600 Add another error string used in a few existing plugins.
5603 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5604 * tools/gst-inspect.c: (print_element_info):
5605 When a feature disappears from a plugin (and the feature exists in
5606 the cached registry file), things went horribly wrong. This isn't a
5607 complete fix, we should actually be removing the 'missing' features
5608 from the features list when we load the actual plugin. That's not
5611 2005-10-04 Johan Dahlin <johan@gnome.org>
5613 * check/gst/gstiterator.c: (GST_START_TEST):
5614 * gst/gstbin.c: (gst_bin_iterate_elements),
5615 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5616 * gst/gstelement.c: (gst_element_iterate_pads):
5617 * gst/gstformat.c: (gst_format_iterate_definitions):
5618 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5619 (gst_iterator_new_list), (gst_iterator_filter):
5620 * gst/gstiterator.h:
5621 * gst/gstquery.c: (gst_query_type_iterate_definitions):
5622 Add a GType to GstIterator, update callsites and tests.
5624 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5626 * gst/gstpad.c: (gst_pad_event_default_dispatch):
5627 give events a chance to be handled by event probes when the pad
5630 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5632 * gst/gstevent.c: (gst_event_type_get_name),
5633 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5635 add string representations for event types
5637 2005-10-06 Wim Taymans <wim@fluendo.com>
5639 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5640 Don't use NULL pointers.
5642 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5644 * gst/gst_private.h:
5648 * gst/gstpluginfeature.c:
5649 widen the debug category in output to fit the biggest one we have
5650 add a bus category and use it
5651 play with the colors
5652 fix up some categories
5654 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5656 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5657 add push activation of sink ghost pads.
5658 Andye, please verify
5660 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5662 * gst/gstutils.c: (gst_element_link_pads):
5663 fix a bug in the case where neither element has a pad
5664 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5665 add a test for that case
5667 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5669 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5670 emit have-data before checking for peers. This allows
5671 for probe handlers to connect elements. This helps autopluggers.
5672 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5674 add six checks, linked/unlinked with no/true/false probe
5676 2005-10-04 Wim Taymans <wim@fluendo.com>
5678 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5679 (gst_fake_sink_event), (gst_fake_sink_preroll),
5680 (gst_fake_sink_render), (gst_fake_sink_change_state):
5681 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5682 (gst_fake_src_get_property), (gst_fake_src_create),
5683 (gst_fake_src_stop):
5684 * gst/elements/gstidentity.c: (gst_identity_stop):
5685 Protect last_message with lock.
5687 2005-10-04 Edward Hervey <edward@fluendo.com>
5690 Added precision in the comments for GST_FORMAT_DEFAULT
5692 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
5694 * tools/gst-launch.c: (main):
5695 Don't try to run erroneous pipelines.
5697 2005-10-04 Julien MOUTTE <julien@moutte.net>
5699 * gst/gstbus.c: We don't need this header.
5701 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5706 === release 0.9.3 ===
5708 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5712 Releasing 0.9.3, "Unregistered"
5714 2005-10-03 Andy Wingo <wingo@pobox.com>
5716 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5717 whereby calling a pad's activatepush() function can start a thread
5718 that starts to push or pull before the pad gets the FLUSHING flag
5719 unset. Hack around it by holding the stream lock until the flag is
5720 set. Need to replace this with a proper solution. Together with
5721 the ghost pad fixes, this fixes mp3 playing/tagreading.
5723 * docs/design/part-gstghostpad.txt: Add a note about activation of
5724 proxy pads outside of ghost pads.
5726 * gst/gstghostpad.c: Implement the ghost pad activation design.
5728 2005-10-02 Andy Wingo <wingo@pobox.com>
5730 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5731 It is volatile, after all.
5733 * docs/design/part-gstghostpad.txt: Flesh out activation with
5736 * gst/base/gstbasesrc.c (gst_base_src_init): Use
5739 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
5742 Fix (unused) AM_CONDITIONAL tests.
5744 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
5746 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5748 * gst/gstutils.c: (gst_pad_query_convert):
5749 Add assertion that makes sure src_val is >=0, just like
5750 gst_query_new_convert() has. (#315895)
5752 2005-09-30 Edward Hervey <edward@fluendo.com>
5754 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5755 Let's not iterate pads we're not interested in, it avoids getting
5756 sky-high refcounts on sinkpad.
5758 2005-09-30 Wim Taymans <wim@fluendo.com>
5760 * gst/gstelement.c: (gst_element_set_state),
5761 (gst_element_change_state):
5762 Small tweak, element in ASYNC remains ASYNC.
5764 2005-09-30 Wim Taymans <wim@fluendo.com>
5766 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5767 Only error is an error.
5769 * gst/gstbin.c: (gst_bin_change_state):
5772 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5773 Also call pad_block in pad alloc.
5775 * gst/gstutils.c: (gst_flow_get_name):
5778 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5780 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5781 (gst_base_src_get_range):
5782 Fix documentation typos. Add some more debug info.
5784 2005-09-29 David Schleef <ds@schleef.org>
5786 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5787 more end-user friendly.
5788 * tools/gst-inspect.c: (main): Check if command-line argument is
5789 a file and attempt to load that file as a plugin.
5791 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5793 * check/gst/gstbin.c:
5794 * check/states/sinks.c:
5795 fix tests for the new warning
5796 * check/gst/gstpipeline.c:
5797 add a test for pipeline and bus interaction
5799 elements should be NULL if they get disposed; add a warning if not
5801 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5804 for 2.6 refcounting, make debug log more correct by printing
5805 the actual refcounts at the time of swap (Wim)
5807 2005-09-29 Andy Wingo <wingo@pobox.com>
5809 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5810 removes signal watches previously added via
5811 gst_bus_add_signal_watch.
5812 (gst_bus_add_signal_watch): Don't return the source id, just store
5813 it on the bus if there wasn't an id already.
5815 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5816 add_signal_watch and remove_signal_watch.
5818 2005-09-29 Edward Hervey <edward@fluendo.com>
5820 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5821 Better if we actually iterate the list :)
5823 2005-09-29 Wim Taymans <wim@fluendo.com>
5825 * check/gst/gstbin.c: (GST_START_TEST):
5826 Change for new bus API.
5828 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5829 (send_messages), (GST_START_TEST), (gstbus_suite):
5830 Change for new bus signal API.
5832 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5833 (gst_bus_source_prepare), (gst_bus_source_check),
5834 (gst_bus_create_watch), (gst_bus_add_watch_full),
5835 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5836 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5838 Remove support for multiple GSources operating on different
5839 message types as it is too complex and unneeded when using
5841 Added support for receiving signals from the bus.
5843 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5845 * docs/libs/tmpl/gstdataprotocol.sgml:
5846 * docs/manual/advanced-dataaccess.xml:
5847 * gst/elements/gstcapsfilter.c:
5849 rename filter-caps to caps property
5851 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5853 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5854 More robust fraction string parsing.
5856 * docs/pwg/appendix-porting.xml:
5857 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5859 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5861 * gst/gstcaps.c: (gst_caps_do_simplify):
5862 Thou shalt not free a structure and then continue using it
5863 in the next loop iteration.
5865 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5867 Add test case for caps simplification.
5869 2005-09-29 Wim Taymans <wim@fluendo.com>
5871 * check/gst/gstbin.c: (GST_START_TEST):
5874 2005-09-29 Wim Taymans <wim@fluendo.com>
5876 * check/gst/gstbin.c: (GST_START_TEST):
5879 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5880 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5881 (find_element), (gst_bin_sort_iterator_next),
5882 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5883 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5884 (gst_bin_change_state), (gst_bin_dispose):
5885 A bin does not have a bus, it gets the bus from the parent.
5887 * gst/gstelement.c: (gst_element_requires_clock),
5888 (gst_element_provides_clock), (gst_element_is_indexable),
5889 (gst_element_is_locked_state), (gst_element_change_state),
5890 (gst_element_set_bus_func):
5893 * gst/gstpipeline.c: (gst_pipeline_class_init),
5894 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5895 The pipeline provides a bus.
5897 2005-09-28 Johan Dahlin <johan@gnome.org>
5899 * gst/gstmessage.c (gst_message_parse_state_changed): Use
5900 gst_structure_get_enum instead of gst_structure_get_int
5902 * gst/gststructure.c (gst_structure_get_enum): Impl.
5904 * gst/gststructure.h (gst_structure_get_enum): Add
5906 * docs/gst/gstreamer-sections.txt: Ditto
5908 * gst/gstmessage.c (gst_message_new_state_changed): Use
5909 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5910 which does introspection.
5911 Reviewed by Christian Schaller
5913 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5915 * gst/gstinfo.c: (gst_debug_log_default):
5916 don't do dummy g_strdup()s
5917 * libs/gst/controller/gstcontroller.c:
5918 (on_object_controlled_property_changed),
5919 (gst_controlled_property_new), (gst_controller_new_valist),
5920 (gst_controller_new_list),
5921 (gst_controller_remove_properties_valist), (gst_controller_set),
5922 (gst_controller_get), (gst_controller_sync_values),
5923 (gst_controller_get_value_array), (_gst_controller_class_init),
5924 (gst_controller_get_type):
5925 * libs/gst/controller/gstcontroller.h:
5926 * libs/gst/controller/gstinterpolation.c:
5927 (gst_controlled_property_find_timed_value_node):
5928 convert // to /**/ comments
5930 2005-09-28 Wim Taymans <wim@fluendo.com>
5932 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5933 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5934 (gst_bus_sync_signal_handler):
5936 Added async-message and sync-message signals to the bus.
5937 Added helper BusFunc to emit signals for all posted messages.
5939 * gst/gstmessage.c: (gst_message_type_get_name),
5940 (gst_message_type_to_quark), (gst_message_get_type):
5942 Register quarks for message names.
5944 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5946 * docs/libs/gstreamer-libs-sections.txt:
5947 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5948 (gst_controller_new_list):
5949 * libs/gst/controller/gstcontroller.h:
5950 added another constructor for language bindings
5952 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
5954 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5958 * gst/gstinfo.c: (_gst_debug_init):
5959 slightly more readable color for refcount debugging
5961 2005-09-28 Wim Taymans <wim@fluendo.com>
5963 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5964 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5965 (find_element), (gst_bin_sort_iterator_next),
5966 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5967 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5968 (gst_bin_change_state), (gst_bin_dispose):
5969 Small doc fixes. get_clock -> provide_clock.
5971 * gst/gstelement.c: (gst_element_class_init),
5972 (gst_element_provides_clock), (gst_element_provide_clock),
5973 (gst_element_get_clock), (gst_element_commit_state),
5974 (gst_element_lost_state):
5976 Make get/set_clock() symetric. Add provide_clock vmethod since
5977 that is actually what this function does.
5979 * gst/gstpipeline.c: (gst_pipeline_class_init),
5980 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5981 (gst_pipeline_get_clock):
5982 get_clock -> provide_clock.
5984 2005-09-28 Andy Wingo <wingo@pobox.com>
5986 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5987 lieu of real docs...
5989 * gst/elements/gstfdsrc.c: Cleaned up a bit.
5991 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
5993 * gst/elements/gstcapsfilter.c:
5994 * gst/elements/gstfakesink.c:
5995 * gst/elements/gstfakesrc.c:
5996 * gst/elements/gstfdsink.c:
5997 * gst/elements/gstfdsrc.c:
5998 * gst/elements/gstfilesink.c:
5999 * gst/elements/gstfilesrc.c:
6000 * gst/elements/gstidentity.c:
6001 * gst/elements/gsttee.c:
6002 * gst/elements/gsttypefindelement.c:
6003 Make element details static.
6005 2005-09-28 Wim Taymans <wim@fluendo.com>
6007 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
6008 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
6009 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
6010 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
6011 (gst_bin_change_state), (gst_bin_dispose):
6012 Some documentation updates.
6013 Clean up dispose handlers.
6015 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
6016 * gst/gstpad.c: (gst_pad_dispose):
6017 Clean up dispose handler.
6019 * gst/gstpipeline.c: (gst_pipeline_change_state):
6020 Removed spurious UNLOCK.
6022 2005-09-27 Stefan Kost <ensonic@users.sf.net>
6024 * docs/gst/gstreamer-sections.txt:
6025 * gst/base/gstbasesrc.h:
6030 * gst/gstpipeline.c:
6031 * gst/gstpipeline.h:
6034 added two new functions to the docs
6035 documents all undocumented GstXXXFlags
6036 completed some incomplete docs
6038 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
6040 * gst/gstbin.c: (gst_bin_dispose):
6041 * gst/gstelement.c: (gst_element_dispose):
6042 remove now useless and leaky resurrection code in dispose
6043 * gst/base/gstbasesrc.c: (gst_base_src_init):
6044 * gst/gstelementfactory.c: (gst_element_factory_create):
6045 * gst/gstobject.c: (gst_object_set_parent):
6048 2005-09-27 Wim Taymans <wim@fluendo.com>
6050 * docs/design/part-TODO.txt:
6053 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
6054 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
6055 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
6056 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
6057 (gst_bin_change_state):
6059 Remove element variable, we keep element info in the iterator now.
6061 2005-09-27 Andy Wingo <wingo@pobox.com>
6063 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
6066 2005-09-27 Wim Taymans <wim@fluendo.com>
6068 * check/gst/gstbin.c: (GST_START_TEST):
6069 Enable check that works now.
6071 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
6072 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
6073 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
6074 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
6075 (gst_bin_change_state):
6077 Redid the state change algorithm using a topological sort algo.
6078 Handles all cases correctly.
6079 Exposed iterator for state change order.
6082 Temp storage for state changes. Need to get rid of this soon.
6084 2005-09-27 Wim Taymans <wim@fluendo.com>
6086 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
6087 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
6088 (link_fold_func), (gst_pad_proxy_setcaps):
6089 Leak fixes, the fold functions need to unref the passed object and
6090 _get_parent_*() returns ref to parent.
6092 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
6094 * check/gst/gstbuffer.c: (test_make_writable):
6095 Plug leak in test case and fix 'make check-valgrind'
6097 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
6099 * gst/gstbuffer.c: (gst_subbuffer_init):
6100 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
6101 works correctly in all circumstances (we could have just copied
6102 the parent buffer's readonly flag, but conceptually it seems
6103 cleaner to mark all subbuffers as read-only). (based on patch
6104 by Alessandro Decina, #314710).
6106 * check/gst/gstbuffer.c: (create_read_only_buffer),
6107 (test_make_writable), (test_subbuffer_make_writable),
6109 Add some tests for gst_buffer_make_writable().
6111 2005-09-27 Wim Taymans <wim@fluendo.com>
6113 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
6114 use gst_object_has_ancestor().
6116 * gst/gstobject.c: (gst_object_has_ancestor):
6118 gst_object_has_ancestor() copied from gstbin.c as it is a
6121 * tests/instantiate/create.c: (create_all_elements):
6122 * tests/lat.c: (handoff_src), (handoff_sink):
6123 * tests/sched/runxml.c: (main):
6124 * tests/seeking/seeking1.c: (main):
6125 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
6127 Fix compilation of some tests.
6129 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
6132 Remove comment. GST_TYPE_G_ERROR is here to stay,
6133 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
6136 2005-09-26 Wim Taymans <wim@fluendo.com>
6138 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6139 Added check that shows error in state change order.
6141 2005-09-26 Wim Taymans <wim@fluendo.com>
6143 * gst/gstbin.c: (gst_bin_change_state):
6144 Make state change function use 3 queues again, we were
6145 adding elements in the wrong order.
6147 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
6150 * gst/gstpad.c: (gst_pad_dispose):
6151 Added some debug info first.
6153 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
6155 * docs/design/draft-push-pull.txt:
6156 * docs/design/part-events.txt:
6157 * docs/design/part-overview.txt:
6158 * docs/design/part-scheduling.txt:
6159 Replace all _pull_region() with _pull_range()
6161 2005-09-26 Andy Wingo <wingo@pobox.com>
6163 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
6165 * check/gst-libs/controller.c: Update for controller api change.
6168 * tests/Makefile.am:
6169 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
6170 over by GLib bug 118439.
6172 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
6173 routines to a function.
6175 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
6177 * libs/gst/controller/gsthelper.c:
6178 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
6179 (gst_object_sync_values): Renamed from sink_values. Ugh.
6181 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
6183 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
6184 Renamed from controller_key, as it is exported.
6186 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
6188 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
6193 * gst/gstpadtemplate.h:
6196 * gst/gstqueryutils.c:
6197 * gst/gstqueryutils.h:
6198 remove queryutils headers after moving the two used functions
6199 to gstquery. also fixes build problem for gstsiddec
6201 2005-09-26 Michael Smith <msmith@fluendo.com>
6203 * tools/gst-launch.1.in:
6204 Correct documentation in manpage of debug syntax
6206 2005-09-26 Wim Taymans <wim@fluendo.com>
6208 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6209 (gst_base_src_is_seekable), (gst_base_src_change_state):
6210 Some more debugging info.
6212 2005-09-25 Stefan Kost <ensonic@users.sf.net>
6214 * docs/gst/gstreamer-sections.txt:
6215 * gst/base/gstbasetransform.h:
6219 2005-09-25 Stefan Kost <ensonic@users.sf.net>
6221 * docs/gst/.cvsignore:
6222 * docs/gst/tmpl/.cvsignore:
6223 * docs/gst/tmpl/gstpipeline.sgml:
6224 * docs/gst/tmpl/gstplugin.sgml:
6225 * gst/gstpipeline.c:
6228 inlined the last two docs files
6229 removed the tmpl directory from cvs (no more conflicts here!)
6231 2005-09-25 Stefan Kost <ensonic@users.sf.net>
6233 * docs/gst/gstreamer-sections.txt:
6234 * docs/gst/tmpl/.cvsignore:
6235 * docs/gst/tmpl/gstpad.sgml:
6236 * docs/gst/tmpl/gstpadtemplate.sgml:
6238 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
6239 (gst_pad_finalize), (gst_pad_set_pad_template):
6241 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
6242 (gst_pad_template_class_init), (gst_pad_template_init),
6243 (gst_pad_template_dispose), (name_is_valid),
6244 (gst_static_pad_template_get), (gst_pad_template_new),
6245 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
6246 (gst_pad_template_pad_created):
6247 * gst/gstpadtemplate.h:
6248 inlined two more docs
6249 factored gstpadtemplate out of gstpad
6251 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
6253 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
6254 (test_children_state_change_order_semi_sink):
6255 Fix test case: we can't rely on a fixed state change order when
6256 going from READY => PAUSED because the sink might commit its
6257 new state first when the first buffer created by the source
6258 reaches the sink before the source has finished its change state.
6259 (Test case still fails at times, see #316856, comment 5 onwards)
6261 2005-09-24 Wim Taymans <wim@fluendo.com>
6263 * docs/design/part-events.txt:
6264 * docs/design/part-gstbus.txt:
6265 * docs/design/part-gstpipeline.txt:
6266 * docs/design/part-messages.txt:
6267 * docs/design/part-overview.txt:
6268 * docs/design/part-segments.txt:
6275 * gst/gstiterator.c:
6276 Various documentation updates.
6278 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
6281 Well, that's embarassing. Luckily we weren't using
6282 GST_CLOCK_DIFF anywhere.
6284 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
6286 * common/gtk-doc.mak:
6287 don't fail on building XML, FC4 slave shows a bunch of doc
6288 missing bits that I don't get
6290 * gst/gstpipeline.c:
6291 * gst/gststructure.c:
6294 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
6296 * docs/design/part-gstbin.txt:
6297 * docs/design/part-gstbus.txt:
6299 Add blurb about how the bus goes into flushing mode and
6300 drops all messages when its bin goes from READY into NULL
6303 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
6305 * docs/gst/gstreamer-sections.txt:
6306 * gst/gststructure.c: (gst_structure_get_clock_time):
6307 * gst/gststructure.h:
6308 add a method to get a GstClockTime out of a structure
6310 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
6312 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
6313 (test_children_state_change_order_semi_sink), (gst_bin_suite):
6314 Added test to check state change order in bins (can still be made
6315 to fail here under heavy disk load; bails out with 'Push on pad
6316 fakesink:sink0, but it was not activated in push mode').
6318 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
6319 Fix state change order when there is only a semi sink (#316856)
6321 * gst/gstbus.c: (gst_bus_class_init):
6322 Use _class_peek_parent(), not _class_ref(); fix docs to say
6323 'default main context' instead of 'mainloop' where that is
6326 * gst/gstelement.c: (gst_element_commit_state),
6327 (gst_element_set_state):
6328 Fix typos in debug messages
6330 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
6333 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
6334 * gst/gstpluginfeature.c:
6337 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6338 change an assert into an error until it gets fixed properly
6340 2005-09-23 Stefan Kost <ensonic@users.sf.net>
6342 * docs/gst/gstreamer-sections.txt:
6343 * docs/gst/tmpl/.cvsignore:
6344 * docs/gst/tmpl/gstelement.sgml:
6345 * docs/gst/tmpl/gstinfo.sgml:
6346 * docs/gst/tmpl/gstobject.sgml:
6351 * gst/gstobject.c: (gst_object_class_init):
6353 inlined 3 more biiiig doc files and added some missing docs on the fly
6355 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
6357 * check/gst/.cvsignore:
6358 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
6359 * gst/gstregistryxml.c: (load_plugin),
6360 (gst_registry_xml_save_plugin):
6361 put back source in registry. add checks for find_plugin.
6362 * testsuite/states/bin.c: (assert_state), (empty_bin),
6363 (test_adding_one_element), (main):
6364 * testsuite/states/locked.c: (main):
6365 some compile/run fixes
6367 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6369 * check/gst/gstvalue.c: (GST_START_TEST):
6370 fix leaks in the test itself
6372 2005-09-22 Wim Taymans <wim@fluendo.com>
6374 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6375 (gst_base_sink_send_event), (gst_base_sink_peer_query),
6376 (gst_base_sink_query):
6377 Prepare for more accurate position reporting and query
6380 * gst/gstelement.c: (gst_element_send_event),
6381 (gst_element_set_state):
6384 2005-09-22 Wim Taymans <wim@fluendo.com>
6386 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
6387 (gst_query_parse_segment):
6390 Add segment query for future use.
6392 2005-09-22 Wim Taymans <wim@fluendo.com>
6394 * gst/gstbin.c: (gst_bin_add_func):
6395 Some more debug info.
6397 * gst/gstelement.c: (gst_element_send_event):
6401 Don't know how flags got broken.
6406 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
6408 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
6409 Add simplistic test suite for GST_TYPE_DATE serialisation and
6412 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
6414 * docs/gst/gstreamer-sections.txt:
6415 * gst/gststructure.c: (gst_structure_set_valist),
6416 (gst_structure_get_date):
6417 * gst/gststructure.h:
6418 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
6419 (gst_date_copy), (gst_value_compare_date),
6420 (gst_value_serialize_date), (gst_value_deserialize_date),
6421 (gst_value_transform_date_string),
6422 (gst_value_transform_string_date), (_gst_value_initialize):
6424 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
6425 bunch of utility functions along with a hack that checks that
6426 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
6427 is required. Part of the grand scheme in #170777.
6429 2005-09-22 Andy Wingo <wingo@pobox.com>
6431 * gst/gstconfig.h.in: Psych out gtk-doc.
6433 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
6435 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
6437 * tools/gst-inspect.c (print_element_list): Plug some
6438 inconsequential leaks.
6440 * gst/gstregistry.c (gst_registry_get_default): Doc.
6442 * check/gst/gstplugin.c:
6443 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
6444 * gst/gstelementfactory.c (gst_element_factory_create):
6445 * gst/gstindexfactory.c (gst_index_factory_create): Update for
6448 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
6449 (gst_plugin_feature_load): Doc, don't eat refs.
6451 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
6452 (gst_plugin_list_free): Doc.
6453 (gst_plugin_load_file): Doc updates.
6455 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
6456 accessors returning refcounted objects, return a ref.
6458 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
6459 accessor for caps. IDEMPOTENCE. Oh yes.
6461 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
6463 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6465 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6466 (_gst_debug_register_funcptr):
6467 Add mutex to serialise access to the hash table with
6468 the function pointer => function name string mapping;
6469 make that hash table static scope (#316809).
6471 * gst/registries/.cvsignore:
6472 Remove left-over file.
6474 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
6476 * docs/pwg/appendix-porting.xml:
6477 And something about newsegment events and caps-on-buffers to
6478 the porting guide (feel free to improve).
6480 2005-09-21 Andy Wingo <wingo@pobox.com>
6482 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
6483 data and event probes on the same pad.
6484 (test_buffer_probe_once): Test that removing probes from within
6485 the probe functions works.
6487 2005-09-21 Andy Wingo <wingo@pobox.com>
6489 * check/gst/gstutils.c: New file.
6490 (test_buffer_probe_n_times): A simple buffer probe test. More to
6493 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
6494 have-data::buffer, not have-data.
6495 (gst_pad_add_event_probe): Likewise for have-data::event.
6496 (gst_pad_add_data_probe): More docs. The part about 'resolving the
6497 peer' isn't quite right yet though.
6498 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
6499 (gst_pad_remove_data_probe): Change to take the guint handler_id
6500 as their arg, not the function+data, which is more glib-like.
6502 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
6503 the signal emission to indicate if the data is a buffer or an
6505 (gst_pad_get_type): Initialize buffer and event quarks.
6506 (gst_pad_class_init): have-data is now a detailed signal, yes it
6509 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
6511 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6512 * gst/gstutils.c: (gst_util_set_value_from_string),
6513 (gst_util_set_object_arg):
6514 Don't put functional code in g_return_if_fail() or
6515 g_return_val_if_fail() statements, otherwise things will
6516 break when G_DISABLE_CHECKS is defined during compilation.
6518 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6520 * docs/gst/tmpl/.cvsignore:
6521 * docs/gst/tmpl/gstvalue.sgml:
6524 inlied another one and added some obvious docs
6526 2005-09-21 Wim Taymans <wim@fluendo.com>
6528 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6529 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
6530 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
6531 (gst_fdsrc_get_property), (gst_fdsrc_create):
6532 * gst/elements/gstfdsrc.h:
6533 Properly implement fdsrc. Removed signal and timeout,
6534 better implemented somewhere else.
6536 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6538 * docs/gst/tmpl/.cvsignore:
6539 * docs/gst/tmpl/gstimplementsinterface.sgml:
6540 * gst/gstinterface.c:
6543 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6545 * docs/gst/gstreamer-sections.txt:
6546 * docs/gst/tmpl/.cvsignore:
6547 * docs/gst/tmpl/gstenumtypes.sgml:
6548 remove obsolete doc file
6550 2005-09-21 David Schleef <ds@schleef.org>
6552 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
6553 little beer, fix a little leak.
6555 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6557 * docs/gst/gstreamer-docs.sgml:
6558 * docs/gst/gstreamer-sections.txt:
6559 * docs/gst/tmpl/.cvsignore:
6564 * gst/gstindex.c: (gst_index_class_init):
6566 * gst/gstindexfactory.c: (gst_index_factory_get_type),
6567 (gst_index_factory_class_init), (gst_index_factory_init),
6568 (gst_index_factory_finalize), (gst_index_factory_new),
6569 (gst_index_factory_destroy), (gst_index_factory_find),
6570 (gst_index_factory_create), (gst_index_factory_make):
6571 * gst/gstindexfactory.h:
6572 * gst/gstpluginfeature.c:
6573 * gst/gstpluginfeature.h:
6574 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6575 more docs inlined, splitted gstindex.{c,h}
6577 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6579 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6582 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6584 * gst/elements/gstfilesink.c: (gst_file_sink_init):
6585 Set sync to FALSE by default.
6587 2005-09-20 Wim Taymans <wim@fluendo.com>
6589 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6590 (gst_base_sink_init):
6591 Make sync property settable from subclass.
6593 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6594 (gst_fake_sink_change_state):
6595 Set sync to FALSE by default.
6597 2005-09-20 Wim Taymans <wim@fluendo.com>
6599 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6600 * tools/gst-launch.c: (main):
6601 The timeout handler should have lower priority than the source
6602 so we don't timeout before popping a message with 0 timeout.
6603 Dump error messages after failed state change.
6605 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6607 * tools/gst-inspect.c: (print_element_properties_info):
6610 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6612 * check/gst/gstevent.c:
6613 * gst/elements/gstfakesink.c:
6614 * gst/elements/gstfakesink.h:
6615 remove the sync property from fakesink.
6616 has the side effect of setting sync TRUE
6617 for fakesink, which is a change. Anyone who knows how
6618 to fix this nicely in a GObject-y way, feel free.
6620 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6622 * docs/gst/gstreamer-docs.sgml:
6623 remove probe refsection
6625 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6627 * check/Makefile.am:
6628 disable valgrinding the controller test again
6629 * docs/gst/gstreamer-sections.txt:
6630 update for api-changes
6632 2005-09-20 Wim Taymans <wim@fluendo.com>
6634 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6635 (gst_base_sink_set_property), (gst_base_sink_get_property),
6636 (gst_base_sink_do_sync):
6637 * gst/base/gstbasesink.h:
6638 Added sync property to basesink to disable clock sync.
6640 2005-09-20 Andy Wingo <wingo@pobox.com>
6642 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6643 eating the caller's refcount.
6645 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
6646 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6649 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6650 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6651 of GLib 2.8 public, so we can know which refcount to check in
6654 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6655 (gst_object_init): Only set the gst refcount if we're going ahead
6656 with the refcount hack.
6658 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6660 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6661 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6662 more leaks plumbed, added more debug-logging
6666 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6669 remove include of gstmemchunk.h
6671 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6673 * gst/gstclock.c: (_gst_clock_id_free):
6674 Commit from the Political Party For More Atomic CVS Commits,
6675 so that people don't waste too much of their day fishing
6676 out obvious leaks out of massive commits.
6677 Oh, and fix a pretty damn obvious leak in the memchunk
6680 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6682 * check/Makefile.am:
6683 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6684 plug mem-leak, re-add to valgrindable tests
6686 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6689 unbreak the build for those who have chronic arthritis
6690 and typing "make check" is just too taxing on the hands
6692 2005-09-20 Andy Wingo <wingo@pobox.com>
6694 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6695 really want it out, you should fix plugins at the same time.
6697 2005-09-19 Stefan Kost <ensonic@users.sf.net>
6700 * docs/gst/gstreamer-sections.txt:
6702 added missing symbols to api docs
6703 disable ref-count hack if we have glib >= 2.8
6705 2005-09-19 David Schleef <ds@schleef.org>
6707 * docs/gst/Makefile.am: Ignore a few more internal headers
6708 * docs/gst/gstreamer-docs.sgml: Remove old sections
6709 * docs/gst/gstreamer-sections.txt: Remove old sections
6710 * docs/gst/tmpl/gstobject.sgml: update
6711 * docs/gst/tmpl/gstplugin.sgml: update
6712 * docs/gst/tmpl/gstpluginfeature.sgml: update
6713 * docs/random/ds/0.9-suggested-changes: update.
6714 * gst/Makefile.am: remove memchunk and trashstack, since they're
6716 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6717 * gst/gst.h: don't include some headers
6718 * gst/gstchildproxy.c: add gstmarshal.h
6719 * gst/gstclock.c: Don't use memchunks
6720 * gst/gstminiobject.c: Add some docs
6721 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6722 * gst/gstobject.h: same
6723 * gst/gstplugin.c: include gstmacros.h
6724 * gst/gstplugin.h: don't include gstmacros.h, since it's private
6725 * gst/gstquery.c: don't use memchunks
6726 * gst/gstregistry.c: rename gst_registry_deinit()
6727 * gst/gstregistry.h: same
6729 2005-09-19 David Schleef <ds@schleef.org>
6731 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6732 * docs/libs/gstreamer-libs-sections.txt:
6733 * docs/libs/tmpl/gstgetbits.sgml:
6734 * docs/libs/tmpl/gstputbits.sgml:
6736 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
6738 * win32/gstenumtypes.c:
6739 * win32/gstenumtypes.h:
6742 2005-09-19 Wim Taymans <wim@fluendo.com>
6744 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6745 Automatically PAUSE and RESUME a pipeline when a flushing seek
6748 2005-09-19 Andy Wingo <wingo@pobox.com>
6750 * gst/gstregistry.h: Spacing fixen.
6752 2005-09-19 Wim Taymans <wim@fluendo.com>
6754 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6755 Handle state change failure more correctly.
6757 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6759 * check/Makefile.am:
6760 * check/pipelines/cleanup.c: (run_pipeline):
6761 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6763 enable cleanup again after fixing the leak
6765 some more info on docs
6767 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6769 * check/Makefile.am:
6770 re-enable tests now that leaks are plugged
6772 * check/gst/gstbin.c:
6773 * check/gst/gstpipeline.c:
6774 add some more tests while fixing leaks
6776 make sure binaries are uptodate when valgrinding/gdbing
6778 * gst/gstelementfactory.c:
6779 remove a ref too many, and add a FIXME for when we get
6780 round to disposing of classes
6782 fix the refcounting when loading a plugin from a file and
6783 the code pretends that the pointer is the same even though
6784 of course it can change
6785 * gst/gstpluginfeature.c:
6786 unref plugins marked cached (a bit confusing as a name)
6787 as the docs state should be done
6788 various doc additions to explain refcounting
6789 * gst/gstregistry.c:
6790 * gst/gstregistryxml.c:
6793 2005-09-19 Wim Taymans <wim@fluendo.com>
6795 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6796 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6797 (send_messages), (GST_START_TEST), (gstbus_suite):
6798 * check/gst/gstpipeline.c: (GST_START_TEST):
6799 * check/pipelines/cleanup.c: (run_pipeline):
6800 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6802 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6803 (gst_bus_source_check), (gst_bus_source_dispatch),
6804 (gst_bus_create_watch), (gst_bus_add_watch_full),
6805 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6807 * tools/gst-launch.c: (event_loop):
6808 * tools/gst-md5sum.c: (event_loop):
6809 GstBusHandler -> GstBusFunc, return value has the same meaning as
6810 any other GSource (FALSE == remove source).
6811 _add_watch() and _add_watch_full() now take a MessageType mask to
6812 only handle specific types of messages.
6813 _poll() returns the GstMessage instead of the message type to avoid
6815 _have_pending() takes a MessageType mask now too.
6816 Added testsuite for multiple bus watches.
6817 Fix testsuites and applications for new bus API.
6819 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6821 * check/Makefile.am:
6822 mark a bunch of the tests as to fix until we fix them
6824 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6827 use GST_PLUGIN settings for valgrind tests as well, so we're
6828 valgrinding the correct thing
6829 * gst/gst.c: (init_post):
6832 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6834 * gst/gst.c: (init_post), (gst_deinit):
6835 * gst/gstelementfactory.c: (gst_element_factory_class_init),
6836 (gst_element_factory_finalize), (gst_element_factory_cleanup):
6837 * gst/gstindex.c: (gst_index_factory_class_init),
6838 (gst_index_factory_finalize):
6839 * gst/gstobject.c: (gst_object_dispose):
6840 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6841 (gst_plugin_load_file), (gst_plugin_desc_free):
6842 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6843 (gst_plugin_feature_finalize):
6844 * gst/gstregistry.c: (gst_registry_class_init),
6845 (gst_registry_init), (gst_registry_finalize),
6846 (gst_registry_get_default), (gst_registry_deinit):
6847 * gst/gstregistry.h:
6848 * gst/gstregistryxml.c: (load_feature), (load_plugin):
6849 various cleanups and memleak plugging. make valgrind is happy now.
6851 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6854 add a check-valgrind target
6856 2005-09-18 David Schleef <ds@schleef.org>
6858 * tools/gst-inspect.c: Revert the GOption code.
6860 2005-09-17 David Schleef <ds@schleef.org>
6862 * check/Makefile.am: Fix environment variables.
6863 * check/gst/gstplugin.c: Fix for API changes.
6864 * tools/gst-inspect.c: Fix for API changes.
6865 * tools/gst-xmlinspect.c: Fix for API changes.
6866 * gst/gstelementfactory.c:
6869 * gst/gstpluginfeature.c:
6870 * gst/gstpluginfeature.h:
6871 * gst/gstregistry.c:
6872 * gst/gstregistry.h:
6873 * gst/gstregistryxml.c:
6874 * gst/gsttypefind.c:
6875 * gst/gsttypefindfactory.c:
6876 * gst/indexers/gstfileindex.c:
6877 * gst/indexers/gstmemindex.c:
6878 * gst/schedulers/Makefile.am:
6879 Change registry to keep track of both plugins and features,
6880 removing the feature tracking from plugins themselves.
6882 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6884 * check/Makefile.am:
6885 * tools/gst-register.1.in:
6888 2005-09-15 David Schleef <ds@schleef.org>
6890 * check/gst/gstplugin.c:
6891 * gst/gstelementfactory.c:
6893 * gst/gstpluginfeature.c:
6894 * gst/gstregistry.c:
6895 Getting tired of debugging. Disabled all the unreffing of
6896 plugins and features, which fixes the segfaults, but of
6897 course leaks like crazy. At least playbin works.
6899 2005-09-15 David Schleef <ds@schleef.org>
6901 * check/gst/gstplugin.c: (register_check_elements),
6902 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6904 * gst/elements/gsttypefindelement.c: Fix refcounting.
6905 * gst/gsttypefind.c:
6906 * gst/gsttypefindfactory.c:
6907 * gst/gsttypefindfactory.h:
6909 2005-09-15 David Schleef <ds@schleef.org>
6911 * gst/gstindex.c: get refcounting correct.
6912 * gst/gstregistry.c: Handle the case where a feature/plugin is
6915 2005-09-15 David Schleef <ds@schleef.org>
6917 * check/Makefile.am:
6918 * check/gst/gstplugin.c: Add test
6919 * gst/gstplugin.c: Fix problems noticed by testsuite
6921 * gst/gstregistry.c:
6922 * gst/gstregistry.h:
6924 2005-09-15 David Schleef <ds@schleef.org>
6926 * gst/gstplugin.c: Implement semi-decent recounting and locking
6927 in plugins and plugin features.
6929 * gst/gstpluginfeature.c:
6930 * gst/gstpluginfeature.h:
6931 * gst/gstregistry.c:
6933 2005-09-15 Michael Smith <msmith@fluendo.com>
6935 * gst/gstregistry.c: (gst_registry_get_feature_list):
6936 Implement this. Makes oggdemux work; decodebin still broken.
6938 2005-09-14 David Schleef <ds@schleef.org>
6940 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6942 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6943 * gst/check/Makefile.am:
6944 * libs/gst/controller/Makefile.am:
6945 * libs/gst/dataprotocol/Makefile.am:
6947 2005-09-14 David Schleef <ds@schleef.org>
6949 * configure.ac: Remove getbits library. Nothing uses it, and
6950 it should be in something like liboil if someone did want
6952 * libs/gst/Makefile.am:
6953 * libs/gst/getbits/Makefile.am:
6954 * libs/gst/getbits/gbtest.c:
6955 * libs/gst/getbits/getbits.c:
6956 * libs/gst/getbits/getbits.h:
6957 * libs/gst/getbits/gstgetbits_generic.c:
6958 * libs/gst/getbits/gstgetbits_i386.s:
6959 * libs/gst/getbits/gstgetbits_inl.h:
6961 2005-09-14 David Schleef <ds@schleef.org>
6963 * gst/Makefile.am: Dist glib-compat.h
6965 2005-09-14 David Schleef <ds@schleef.org>
6967 * configure.ac: Remove gst/registries, since it's no longer used.
6968 * gst/registries/Makefile.am:
6969 * gst/registries/gstlibxmlregistry.c:
6970 * gst/registries/gstlibxmlregistry.h:
6971 * gst/registries/gstxmlregistry.c:
6972 * gst/registries/gstxmlregistry.h:
6973 * gst/registries/registrytest.c:
6975 2005-09-14 David Schleef <ds@schleef.org>
6977 * gst/glib-compat.h:
6978 * gst/gstregistryxml.c:
6979 Convergence is near. Seriously.
6981 2005-09-14 David Schleef <ds@schleef.org>
6983 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6984 * gst/glib-compat.h:
6985 Attempt #4 to appease the buildbots.
6987 2005-09-14 David Schleef <ds@schleef.org>
6989 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6992 2005-09-14 David Schleef <ds@schleef.org>
6994 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6997 2005-09-14 David Schleef <ds@schleef.org>
6999 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
7002 2005-09-14 David Schleef <ds@schleef.org>
7004 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
7005 * gst/glib-compat.h: Add some functions that are in newer versions
7006 of glib than we care to require.
7007 * gst/gstregistryxml.c: Use them.
7009 2005-09-14 David Schleef <ds@schleef.org>
7011 * po/POTFILES.in: remove gst-register.c
7013 2005-09-14 David Schleef <ds@schleef.org>
7015 * docs/gst/gstreamer-docs.sgml:
7016 * docs/gst/gstreamer-sections.txt:
7017 * docs/gst/gstreamer.types:
7018 * docs/gst/tmpl/gstelement.sgml:
7019 * docs/gst/tmpl/gstplugin.sgml:
7020 * docs/gst/tmpl/gstpluginfeature.sgml:
7021 Documentation updates for registry changes.
7023 2005-09-14 David Schleef <ds@schleef.org>
7025 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
7026 because we don't require glib-2.8.
7028 2005-09-14 David Schleef <ds@schleef.org>
7030 * gst/gstregistryxml.c: Added. Essentially moved out of the
7031 registries directory.
7033 2005-09-14 David Schleef <ds@schleef.org>
7035 * check/Makefile.am:
7036 * check/generic/states.c:
7040 * gst/gst_private.h:
7041 * gst/gstelementfactory.c:
7046 * gst/gstpluginfeature.c:
7047 * gst/gstpluginfeature.h:
7048 * gst/gstregistry.c:
7049 * gst/gstregistry.h:
7050 * gst/gstregistrypool.c: remove
7051 * gst/gstregistrypool.h: remove
7052 * gst/gsttypefind.c:
7053 * gst/gsttypefindfactory.c:
7055 * tools/Makefile.am:
7056 * tools/gst-compprep.c:
7057 * tools/gst-inspect.c:
7058 * tools/gst-register.c: remove
7059 * tools/gst-xmlinspect.c:
7060 Registry rewrite. Changes registry from being a file created
7061 by a tool into a simple cache file created automatically by
7062 libgstreamer. Removed gst-register (because it's no longer
7063 needed). Remove registry pools, because we only have one
7064 registry implementation (XML). Fix up other subsystems as
7067 2005-09-13 Michael Smith <msmith@fluendo.com>
7069 * gst/gstconfig.h.in:
7070 Don't Use windows linking attributes for MinGW. Fixes #316157
7072 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
7074 * gst/gstutils.c: (set_state_async_thread_func),
7075 (gst_element_set_state_async):
7076 Apparently people think it's better if this function doesn't
7077 try to set the state to whatever state was asked for on the first
7078 call to this function for any object. Seriously.
7080 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
7082 * check/gst/gstpipeline.c: (GST_START_TEST):
7083 * docs/gst/gstreamer-sections.txt:
7084 * gst/gstutils.c: (set_state_async_thread_func),
7085 (gst_element_set_state_async):
7087 add a "gst_element_set_state_async" method that
7088 sets the state and starts a thread to make sure the state
7089 change completes as best as it can
7091 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
7093 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
7094 codify design+behaviour in testsuite after discussion
7096 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
7098 * docs/gst/tmpl/gstelement.sgml:
7099 * docs/manual/appendix-quotes.xml:
7101 * gst/gstelement.c: (gst_element_set_state):
7104 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
7106 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7107 (gst_base_transform_prepare_output_buf),
7108 (gst_base_transform_handle_buffer):
7109 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
7110 (gst_capsfilter_prepare_buf):
7111 Remove the requirement for sub-classes to call the parent
7112 implementation of prepare_output_buffer with a wrapper function.
7115 * gst/gsttagsetter.h:
7118 2005-09-11 Stefan Kost <ensonic@users.sf.net>
7120 * docs/gst/gstreamer-sections.txt:
7123 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
7125 * docs/gst/gstreamer-sections.txt:
7126 * docs/gst/tmpl/gstelement.sgml:
7127 * docs/gst/tmpl/gstplugin.sgml:
7128 * gst/gstminiobject.c:
7130 docs now stop throwing warnings
7132 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
7134 * docs/gst/gstreamer-sections.txt:
7135 * docs/gst/gstreamer.types:
7136 * docs/gst/tmpl/gstpad.sgml:
7137 * docs/gst/tmpl/gsttypes.sgml:
7138 * gst/base/gstadapter.h:
7139 * gst/base/gstbasesink.h:
7140 * gst/base/gstbasesrc.h:
7150 * gst/gststructure.c:
7151 * gst/registries/gstlibxmlregistry.h:
7152 various documentation fixes
7154 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
7156 * docs/gst/gstreamer-sections.txt:
7157 * docs/gst/tmpl/gstvalue.sgml:
7158 rearrange gstvalue section
7159 * gst/gstutils.c: (gst_element_state_get_name):
7161 * gst/gstvalue.c: (_gst_value_initialize):
7165 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
7167 * check/gst-libs/controller.c:
7169 * gst/base/gstbasetransform.c:
7170 (gst_base_transform_default_prepare_buf),
7171 (gst_base_transform_handle_buffer):
7172 * gst/base/gstbasetransform.h:
7173 Some more basetransform changes and fixes to enable sub-classes
7174 that modify buffer metadata only.
7175 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7176 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
7177 (gst_capsfilter_prepare_buf):
7178 If the output pad has fixed allowed caps and input buffers
7179 don't have any, set the fixed caps on outgoing buffers.
7181 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
7182 * check/elements/identity.c: (GST_START_TEST):
7183 Make the error a little clearer when the test fails because
7184 identity made a copy of the buffer.
7185 * docs/gst/gstreamer-sections.txt:
7186 New symbols in gstbasetransform.h
7187 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7188 (gst_base_transform_init), (gst_base_transform_transform_size),
7189 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7190 (gst_base_transform_default_prepare_buf),
7191 (gst_base_transform_get_unit_size),
7192 (gst_base_transform_buffer_alloc),
7193 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7194 (gst_base_transform_change_state),
7195 (gst_base_transform_set_passthrough),
7196 (gst_base_transform_set_in_place),
7197 (gst_base_transform_is_in_place):
7198 * gst/base/gstbasetransform.h:
7199 Change BaseTransform to separate in_place operate from same_caps
7200 output. in_place implies that the element can perform the transform
7201 on incoming buffers in-place, even if the caps on the output are
7203 Sub-class elements can now implement special buffer allocation
7204 methods for outgoing buffers if they wish to.
7205 Big documentation addition.
7206 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
7207 * gst/elements/gstelements.c:
7208 Changes for basetransform modifications.
7209 * gst/elements/Makefile.am:
7210 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
7211 Compile fix. Extra debug output.
7213 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
7215 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
7217 add tests for valid pad naming
7218 * gst/check/gstcheck.c: (gst_check_log_message_func),
7219 (gst_check_log_critical_func):
7221 remove printing of code, it is fragile when the code contains
7222 % and the line number is enough info
7223 * gst/check/gstcheck.h:
7224 * gst/gstpad.c: (gst_pad_template_new):
7227 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
7230 say what CHECK flags we use
7231 * docs/libs/gstreamer-libs.types:
7232 * libs/gst/controller/Makefile.am:
7233 * libs/gst/controller/gst-controller.c:
7234 * libs/gst/controller/gst-controller.h:
7235 * libs/gst/controller/gst-helper.c:
7236 * libs/gst/controller/gst-interpolation.c:
7237 * libs/gst/controller/gstcontroller.c:
7238 * libs/gst/controller/gsthelper.c:
7239 * libs/gst/controller/gstinterpolation.c:
7240 * tools/gst-inspect.c: (print_plugin_info):
7241 we don't use dashes in header names
7243 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
7245 * check/Makefile.am:
7246 * check/gst/.cvsignore:
7247 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
7248 (gst_pipeline_suite), (main):
7249 adding a test for pipelines and state changes
7250 * gst/gstutils.c: (get_state_func):
7252 * gstreamer.spec.in:
7255 2005-09-08 Michael Smith <msmith@fluendo.com>
7257 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
7258 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
7259 (gst_file_src_is_seekable), (gst_file_src_get_size),
7260 (gst_file_src_start):
7261 * gst/elements/gstfilesrc.h:
7262 Various fixes for unseekable, unmmapable, and non-normal files, so
7263 that fallback to read() rather than mmap() works.
7264 * gst/gstevent.c: (gst_event_new_newsegment):
7265 Allow newsegment events with segment_start == segment_end, as will
7266 correctly happen if you use filesrc on a zero-size file, for
7269 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
7271 * gst/gstplugin.c: (gst_plugin_load_file):
7272 Call g_module_close when we don't load the module
7274 * gst/registries/gstlibxmlregistry.c:
7275 (gst_xml_registry_get_property):
7276 Port leak fix from 0.8
7278 2005-09-07 Stefan Kost <ensonic@users.sf.net>
7280 * docs/gst/gstreamer-docs.sgml:
7281 * docs/gst/tmpl/.cvsignore:
7282 * docs/gst/tmpl/gsttrace.sgml:
7283 * docs/gst/tmpl/gsttrashstack.sgml:
7292 * gst/gsttaginterface.c:
7293 * gst/gsttaginterface.h:
7296 * gst/gsttagsetter.c:
7297 * gst/gsttagsetter.h:
7300 * gst/gsttrashstack.c:
7301 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
7302 inlined docs for gsttrace, gsttrashstack
7304 2005-09-07 Stefan Kost <ensonic@users.sf.net>
7307 * gst/elements/gstbufferstore.h:
7308 * gst/elements/gsttypefindelement.c:
7309 * gst/elements/gsttypefindelement.h:
7311 * gst/gsttypefind.c:
7312 * gst/gsttypefind.h:
7313 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
7314 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
7315 (gst_type_find_factory_dispose),
7316 (gst_type_find_factory_unload_thyself),
7317 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
7318 (gst_type_find_factory_get_caps),
7319 (gst_type_find_factory_get_extensions),
7320 (gst_type_find_factory_call_function):
7321 * gst/gsttypefindfactory.h:
7322 * gst/registries/gstlibxmlregistry.c:
7323 * gst/registries/gstxmlregistry.c:
7324 splitted gsttypefind into gsttypefind, gsttypefindfactory
7326 2005-09-07 Andy Wingo <wingo@pobox.com>
7328 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
7329 condition whereby the pad's task function is entered before the
7330 pad_mode variable was set.
7332 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
7334 * gst/gstpad.c: (gst_pad_alloc_buffer):
7335 Catch misbehaving pad_alloc functions that don't
7336 set up caps and do it for them.
7338 2005-09-07 Stefan Kost <ensonic@users.sf.net>
7340 * check/pipelines/simple_launch_lines.c: (run_pipeline):
7342 * docs/gst/tmpl/.cvsignore:
7343 * docs/gst/tmpl/gstmemchunk.sgml:
7344 * docs/gst/tmpl/gstparse.sgml:
7345 * docs/gst/tmpl/gsttaglist.sgml:
7346 * docs/gst/tmpl/gsttagsetter.sgml:
7347 * docs/gst/tmpl/gsttypefind.sgml:
7348 * docs/gst/tmpl/gsttypefindfactory.sgml:
7349 * gst/gstmemchunk.c:
7352 * gst/gsttaginterface.c:
7353 * gst/gsttypefind.c:
7354 * gst/gsttypefind.h:
7357 === release 0.9.2 ===
7359 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
7364 releasing 0.9.2, "South"
7366 2005-09-05 Andy Wingo <wingo@pobox.com>
7368 * gst/registries/gstxmlregistry.h:
7369 * gst/registries/gstxmlregistry.c: Um... resurrect...
7371 * gst/registries/gstxmlregistry.h:
7372 * gst/registries/gstxmlregistry.c: and update to newer API.
7373 Incidentally they should be a bit faster now that they don't have
7376 2005-09-05 Andy Wingo <wingo@pobox.com>
7378 * gst/registries/gstxmlregistry.h:
7379 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
7380 replaced by the libxml registry a while back
7382 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
7384 * docs/gst/tmpl/gstplugin.sgml:
7385 * gst/elements/gstelements.c:
7387 * gst/gstplugin.c: (gst_plugin_register_func),
7388 (gst_plugin_desc_copy), (gst_plugin_desc_free),
7389 (gst_plugin_get_source):
7391 * gst/registries/gstlibxmlregistry.c: (load_plugin),
7392 (gst_xml_registry_save_plugin):
7393 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
7394 (gst_xml_registry_save_plugin):
7395 * tools/gst-inspect.c: (print_plugin_info):
7396 add a "source" plugin description field, to represent the source
7397 module this plugin is a part of. By default GST_PLUGIN_DEFINE
7398 will set it to PACKAGE, which is automake's idea of the name of
7401 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
7407 * docs/faq/Makefile.am:
7408 * docs/gst/tmpl/gstelement.sgml:
7409 * docs/gst/tmpl/gsttypes.sgml:
7410 * docs/htmlinstall.mak:
7411 * docs/manual/Makefile.am:
7412 * docs/pwg/Makefile.am:
7413 reorganize doc build a little
7414 split out docbook and gtk-doc stuff
7415 have two separate --enable's and enable them through autogen
7416 but disable by default in configure (to be similar to other
7418 * gstreamer.spec.in:
7419 clean up docs install
7439 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
7441 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
7444 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
7445 (gst_fake_sink_change_state):
7446 Make state change function thread-safe.
7448 * gst/gstpad.c: (gst_pad_alloc_buffer):
7449 Set offset on generic buffer allocated by fallback.
7451 2005-09-03 Stefan Kost <ensonic@users.sf.net>
7453 * docs/gst/gstreamer-sections.txt:
7454 * docs/gst/tmpl/gstelement.sgml:
7456 * libs/gst/controller/gst-controller.c:
7457 (gst_controlled_property_set_interpolation_mode),
7458 (gst_controlled_property_new),
7459 (gst_controller_find_controlled_property):
7460 run the wingo-magic script against the docs
7462 2005-09-02 Stefan Kost <ensonic@users.sf.net>
7464 * docs/gst/gstreamer-docs.sgml:
7465 * docs/gst/gstreamer-sections.txt:
7466 * docs/gst/tmpl/.cvsignore:
7467 * docs/gst/tmpl/gstelementdetails.sgml:
7468 * docs/gst/tmpl/gstelementfactory.sgml:
7471 * gst/gstelementfactory.c:
7472 * gst/gstelementfactory.h:
7473 merged elementdetails docs into elementfactory docs
7476 2005-09-02 Andy Wingo <wingo@pobox.com>
7478 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
7479 consider this enum an enum and not a flags.
7481 2005-09-02 Stefan Kost <ensonic@users.sf.net>
7483 * docs/gst/gstreamer-docs.sgml:
7484 * docs/gst/tmpl/.cvsignore:
7485 * docs/gst/tmpl/gstghostpad.sgml:
7486 * docs/gst/tmpl/gstiterator.sgml:
7487 * docs/gst/tmpl/gstmacros.sgml:
7488 * docs/gst/tmpl/gstrealpad.sgml:
7489 * docs/gst/tmpl/gstregistry.sgml:
7490 * docs/gst/tmpl/gstregistrypool.sgml:
7491 * docs/gst/tmpl/gststructure.sgml:
7492 * docs/gst/tmpl/gstsystemclock.sgml:
7493 * docs/gst/tmpl/gsttrace.sgml:
7494 * gst/gstghostpad.c:
7496 * gst/gstmemchunk.c:
7497 * gst/gstmemchunk.h:
7499 * gst/gstregistry.c:
7500 * gst/gstregistrypool.c:
7501 * gst/gststructure.c:
7502 * gst/gstsystemclock.c:
7505 2005-09-02 Andy Wingo <wingo@pobox.com>
7507 * gst/gstelement.h (GstState): Renamed from GstElementState,
7508 changed to be a normal enum instead of flags.
7509 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
7510 munged to be GST_STATE_CHANGE_*.
7511 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
7512 work with the new state representation.
7513 (GstStateChange): New enumeration of possible state transitions.
7514 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
7515 (GstElementClass::change_state): Pass the GstStateChange along as
7516 an argument. Helps language bindings, so they don't have to use
7517 tricky lock-needing macros like GST_STATE_CHANGE ().
7519 * scripts/update-states (file): New script. Run it on a file to
7520 update it for state naming and API changes. Updates files in
7523 * All files updated for the new API.
7525 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
7527 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
7528 * gst/gstutils.c: (gst_util_set_value_from_string),
7529 (gst_util_set_object_arg):
7530 fix a bunch of unchecked return values
7531 * tools/gst-complete.c: (main):
7532 * gstreamer.spec.in:
7535 2005-09-01 Wim Taymans <wim@fluendo.com>
7537 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7538 (gst_base_sink_event), (gst_base_sink_do_sync),
7539 (gst_base_sink_handle_event):
7540 * gst/base/gstbasesink.h:
7541 Handle newsegments more correctly.
7546 * gst/gstevent.c: (gst_event_new_newsegment):
7547 A newsegment cannot have a start_time of -1
7549 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
7551 * win32/gstenumtypes.c:
7552 * win32/gstenumtypes.h:
7555 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7557 * libs/gst/controller/gst-controller.c:
7558 (gst_controlled_property_set_interpolation_mode),
7559 (gst_controlled_property_new):
7562 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
7564 * docs/faq/gst-uninstalled:
7569 * gst/gstutils.c: (gst_element_link_filtered):
7571 add gst_element_link_filtered
7573 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7575 * docs/gst/gstreamer-docs.sgml:
7576 * docs/gst/gstreamer-sections.txt:
7577 * docs/gst/tmpl/.cvsignore:
7578 * docs/gst/tmpl/gsterror.sgml:
7579 * docs/gst/tmpl/gstfilter.sgml:
7580 * docs/gst/tmpl/gsturihandler.sgml:
7581 * docs/gst/tmpl/gsturitype.sgml:
7582 * docs/gst/tmpl/gstutils.sgml:
7583 * docs/gst/tmpl/gstxml.sgml:
7591 inlined more docs, fixed double id-ref
7593 2005-08-31 Wim Taymans <wim@fluendo.com>
7595 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7596 (gst_base_transform_handle_buffer):
7597 Passthrough elements don't need the caps as they don't care.
7599 2005-08-31 Wim Taymans <wim@fluendo.com>
7601 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7602 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7603 Don't leak refcounts on buffers.
7605 2005-08-31 Wim Taymans <wim@fluendo.com>
7607 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7608 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7609 (gst_base_transform_chain), (gst_base_transform_change_state):
7610 * gst/base/gstbasetransform.h:
7611 Handle the case where we are not negotiated more gracefully.
7613 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
7615 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7616 (gst_file_src_map_region):
7617 Set READONLY flag on mmap'ed buffers, otherwise
7618 gst_buffer_make_writable() won't work properly (#314708).
7620 2005-08-31 Wim Taymans <wim@fluendo.com>
7622 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7623 passthrough elements can even do inplace on non writable
7624 buffers (as they don't touch them).
7626 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7628 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7629 (gst_test_mono_source_set_property),
7630 (gst_test_mono_source_class_init), (GST_START_TEST),
7631 (gst_controller_suite):
7632 more tests (hehe I have the most)
7634 describe popping messages whenusing mulltiple sources
7635 * libs/gst/controller/gst-controller.c:
7636 (gst_controlled_property_set_interpolation_mode),
7637 (gst_controlled_property_new):
7638 * libs/gst/controller/gst-controller.h:
7639 * libs/gst/controller/gst-interpolation.c:
7640 implement boolean properties
7642 2005-08-31 Wim Taymans <wim@fluendo.com>
7644 * gst/gstminiobject.c: (gst_mini_object_ref):
7645 Cannot assert that the refcount has to be positive
7646 since a disposed object can be resurrected.
7648 2005-08-31 Wim Taymans <wim@fluendo.com>
7650 * gst/gstpad.c: (gst_pad_init):
7651 Revert change, need to first fix badly behaving
7654 2005-08-30 Wim Taymans <wim@fluendo.com>
7656 * check/elements/fakesrc.c: (setup_fakesrc):
7657 * check/elements/identity.c: (setup_identity):
7658 Activate pads before using them.
7660 2005-08-30 Wim Taymans <wim@fluendo.com>
7662 * gst/base/gstadapter.c: (gst_adapter_flush):
7663 Flushing out 0 bytes is ok for this function.
7665 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7666 no newsegment gives a warning and sets the start/stop to
7669 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7670 (gst_base_transform_set_passthrough):
7673 * gst/gstminiobject.c: (gst_mini_object_ref):
7674 Check refcount here too.
7676 * gst/gstpad.c: (gst_pad_init):
7677 Pads are initially flushing and refusing data.
7679 * gst/gstutils.c: (gst_element_link_pads_filtered):
7680 When adding a capsfilter element make sure it has the
7681 same state as the parent bin.
7683 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7685 * docs/gst/tmpl/.cvsignore:
7686 * docs/gst/tmpl/gstformat.sgml:
7687 * docs/gst/tmpl/gstversion.sgml:
7691 * gst/gstversion.h.in:
7692 more docs and two more inlined
7694 2005-08-30 Wim Taymans <wim@fluendo.com>
7696 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7697 Don't sync to clock.
7699 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7701 * docs/gst/gstreamer-sections.txt:
7702 ultral33t func10ns deserve to appear in the docs actually
7703 * docs/gst/tmpl/.cvsignore:
7704 * docs/gst/tmpl/gstcompat.sgml:
7705 * docs/gst/tmpl/gstconfig.sgml:
7706 * gst/check/gstcheck.c:
7708 * gst/gstconfig.h.in:
7711 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7713 * docs/gst/tmpl/.cvsignore:
7714 * docs/gst/tmpl/gstquery.sgml:
7715 * docs/gst/tmpl/gstutils.sgml:
7718 inlined and extended docs
7720 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7722 * check/gst-libs/controller.c: (GST_START_TEST),
7723 (gst_controller_suite):
7725 * docs/gst/tmpl/gstutils.sgml:
7726 * docs/libs/gstreamer-libs-sections.txt:
7727 * docs/libs/tmpl/gstdataprotocol.sgml:
7729 * examples/controller/audio-example.c: (main):
7730 controller example works now
7733 * tools/gst-inspect.c: (print_element_properties_info):
7734 show param spec flags
7736 2005-08-29 Andy Wingo <wingo@pobox.com>
7738 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7740 2005-08-28 Andy Wingo <wingo@pobox.com>
7742 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7743 as having two arguments instead of just one. Allows superclasses
7744 to access information on subclasses -- see the terrible for() loop
7745 in gtype.c:g_type_create_instance for the reason why. All callers
7748 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7750 * docs/design/part-messages.txt:
7752 * docs/gst/tmpl/.cvsignore:
7753 * docs/gst/tmpl/gstcaps.sgml:
7754 * docs/gst/tmpl/gstclock.sgml:
7761 added descriptions for bus and message
7762 inline caps and clock docs
7764 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7770 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7772 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7775 2005-08-26 Andy Wingo <wingo@pobox.com>
7777 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7778 element_set_state's return val.
7779 (test_2_elements): Add test that's been disabled for months.
7781 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7782 can-activate-pull properties.
7784 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7785 can-activate-pull properties. Implement is_seekable so fakesrc can
7786 operate in pull mode.
7788 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7790 (gst_base_sink_activate, gst_base_sink_activate_pull)
7791 (gst_base_sink_activate_push): Make activation mode choosing work.
7793 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7794 is right. Make pull mode work. Post an eos before pausing in pull
7796 (gst_base_sink_change_state): Pay attention to the core's
7797 change_state() return val.
7799 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7800 has-getrange properties. Cleanups.
7802 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7803 has_getrange and replace with can_activate_pull and
7806 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7807 locking comments. Remove has_loop, has_chain and replace with
7808 can_activate_pull and can_activate_push.
7810 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
7813 * examples/Makefile.am:
7814 * examples/metadata/Makefile.am:
7815 * examples/metadata/read-metadata.c: (message_loop),
7816 (have_pad_handler), (make_pipeline), (print_tag), (main):
7817 Add metadata reading example that loops over a list of filenames,
7818 dumping any tags found.
7820 * gst/gstbus.c: (gst_bus_dispose):
7821 * gst/gstelement.c: (gst_element_dispose):
7822 Release a few potentially-held references in dispose.
7824 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7826 * docs/gst/tmpl/gstminiobject.sgml:
7827 do *not* add tmpl/*.sgml files to CVS!
7829 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7831 * libs/gst/bytestream/.cvsignore:
7832 * libs/gst/bytestream/Makefile.am:
7833 * libs/gst/bytestream/adapter.c:
7834 * libs/gst/bytestream/adapter.h:
7835 * libs/gst/bytestream/bytestream.c:
7836 * libs/gst/bytestream/bytestream.h:
7837 * libs/gst/bytestream/filepad.c:
7838 * libs/gst/bytestream/filepad.h:
7839 removing obsolete files
7841 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7843 * docs/gst/gstreamer-docs.sgml:
7844 * docs/libs/gstreamer-libs-docs.sgml:
7845 disabed additional index entries again, as this makes docs-gen just
7846 slow and they aren't useful yet
7847 * docs/libs/gstreamer-libs-sections.txt:
7848 little -section.txt cleanup for libs
7850 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
7852 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7853 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7854 fix up some debugging
7855 (gst_base_transform_get_unit_size),
7856 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7857 (gst_base_transform_handle_buffer):
7858 * gst/base/gstbasetransform.h:
7859 handle and store timed NEWSEGMENT events so that subclasses that
7860 calculate time by counting samples have a segment_start time they
7861 need to add to their timestamps - see audioresample
7863 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7866 removed ';' from the end of macro defs
7867 * docs/gst/gstreamer-docs.sgml:
7868 * docs/gst/gstreamer-sections.txt:
7869 * docs/gst/tmpl/.cvsignore:
7871 * gst/gstelement.c: (gst_element_class_init),
7872 (gst_element_set_state), (activate_pads),
7873 (gst_element_save_thyself):
7874 * gst/gstevent.c: (gst_event_new_newsegment):
7876 * gst/gstiterator.c:
7877 * gst/gstiterator.h:
7880 * gst/gstutils.c: (gst_pad_query_convert):
7882 fixed parameter name mismatches between source, header and docs
7883 added some more docs, resolved the last batch of unused elements in
7884 docs (now someone needs to doc them)
7886 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7888 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7889 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7890 don't walk through the plugins backwards. Where is all this
7891 reversed logic coming from ?
7893 2005-08-25 Wim Taymans <wim@fluendo.com>
7895 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7896 (gst_base_transform_transform_size),
7897 (gst_base_transform_configure_caps),
7898 (gst_base_transform_get_unit_size),
7899 (gst_base_transform_buffer_alloc),
7900 (gst_base_transform_change_state):
7901 * gst/base/gstbasetransform.h:
7902 Cache caps unit_size.
7903 Make sure we cannot negotiate up and downstream at the
7906 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7908 * gst/gst.c: (init_pre), (init_post):
7909 register the installed plugin path after the env var
7910 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7911 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7912 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7913 directories, so the tests can prefer uninstalled over installed
7915 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7917 * gst/base/gstbasetransform.h:
7922 2005-08-25 Wim Taymans <wim@fluendo.com>
7924 * gst/gstbin.c: (bin_bus_handler):
7925 Be a bit more conservative about the posted message.
7927 * gst/gstbus.c: (gst_bus_post):
7928 Some cleanups, warn wrong return values.
7930 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
7932 * check/gst/gstbin.c: (GST_START_TEST):
7933 * gst/gstbin.c: (bin_bus_handler):
7934 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7935 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7936 (gst_message_new_warning), (gst_message_new_tag),
7937 (gst_message_new_state_changed), (gst_message_new_segment_start),
7938 (gst_message_new_segment_done), (gst_message_new_custom):
7940 * tools/gst-launch.c: (event_loop):
7941 * tools/gst-md5sum.c: (event_loop):
7942 Revert unpopular change for GST_MESSAGE_SRC to GObject.
7944 2005-08-25 Wim Taymans <wim@fluendo.com>
7946 * check/generic/states.c: (GST_START_TEST):
7947 Cleanup can be done at the end.
7949 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7950 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7951 (gst_task_get_state), (gst_task_start), (gst_task_pause):
7952 Oh boy.. Thanks for finding this, Thomas.
7954 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7956 * docs/gst/gstreamer.types:
7959 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7961 * docs/gst/gstreamer-docs.sgml:
7962 * docs/gst/gstreamer-sections.txt:
7963 * docs/gst/tmpl/.cvsignore:
7965 * gst/gstiterator.c:
7967 * gst/registries/gstxmlregistry.h:
7968 added missing classes and symbols (123 more to go)
7969 removed removed symbols from section file
7970 fixed many doc-comments
7972 2005-08-24 Wim Taymans <wim@fluendo.com>
7974 * check/generic/states.c: (GST_START_TEST):
7975 Make sure all tasks are stopped.
7977 * check/gst/gstbin.c: (GST_START_TEST):
7978 Unref after usage for proper valgrinding.
7980 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7981 Really wait for the task to stop before destroying the
7984 * gst/gstqueue.c: (gst_queue_sink_activate_push),
7985 (gst_queue_src_activate_push):
7986 Small cleanups. Don't stop the task when we did not start
7989 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7990 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7991 (gst_task_get_state), (gst_task_start), (gst_task_pause),
7994 Protect the stream lock with the object lock.
7995 Disallow setting the stream lock when running.
7996 Add cleanup_all to wait for the threadpool to finish.
7997 Remove code to autoallocate a mutex if none was provided.
7998 Add _join() to wait for a task to stop.
7999 Protect the thread pool with a global lock.
8001 2005-08-24 Wim Taymans <wim@fluendo.com>
8003 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8004 (gst_base_sink_get_times), (gst_base_sink_do_sync),
8005 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
8006 * gst/base/gstbasesink.h:
8007 Handle newsegment events correctly.
8008 Drop buffers out of the segment range.
8010 2005-08-22 Andy Wingo <wingo@pobox.com>
8012 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
8013 macro, implements an interface and gstimplementsinterface for a
8016 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
8018 * check/Makefile.am:
8019 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
8020 add a test that does a bunch of state changes on elements
8021 needs some fixing for valgrind
8022 * check/states/sinks.c: (gst_object_suite):
8025 add prototype for gst_caps_is_equal_fixed
8027 * gst/gstregistrypool.c:
8030 2005-08-24 Andy Wingo <wingo@pobox.com>
8032 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
8033 convert a negative value. Doesn't make much sense. Mostly this is
8034 here to force callers to ensure -1 maps to -1.
8036 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
8038 * docs/pwg/advanced-types.xml:
8039 Well done to Michael for catching my deliberate introduction
8040 of this spelling mistake.
8041 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
8043 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
8044 unlink pads before removing the element from the bin.
8046 2005-08-24 Andy Wingo <wingo@pobox.com>
8048 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
8049 the same thing as GST_DEBUG=*:4.
8050 (parse_debug_level, parse_debug_category): New helper parsers.
8052 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
8054 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8055 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
8056 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
8057 (gst_base_transform_buffer_alloc),
8058 (gst_base_transform_handle_buffer):
8059 use gboolean return values and pointers to size so we can use the
8060 full GST_BUFFER_SIZE range (guint) for buffer sizes
8061 use GstPadDirection for transform_caps
8062 * gst/base/gstbasetransform.h:
8063 rename get_size to get_unit_size since that's what it is
8064 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
8065 use GstPadDirection for transform_caps
8066 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
8068 cleanup and debugging
8070 2005-08-24 Stefan Kost <ensonic@users.sf.net>
8072 * gst/gstelement.c: (gst_element_class_init),
8073 (gst_element_set_state), (activate_pads),
8074 (gst_element_save_thyself):
8075 * tools/gst-compprep.c: (main):
8076 * tools/gst-inspect.c: (print_element_properties_info):
8077 * tools/gst-xmlinspect.c: (print_element_properties):
8078 Fixed long standing mem-leak
8080 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
8082 * check/gst/gstbin.c: (GST_START_TEST):
8083 * gst/gstbin.c: (bin_bus_handler):
8084 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
8085 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
8086 (gst_message_new_warning), (gst_message_new_tag),
8087 (gst_message_new_state_changed), (gst_message_new_segment_start),
8088 (gst_message_new_segment_done), (gst_message_new_custom):
8090 * tools/gst-launch.c: (event_loop):
8091 * tools/gst-md5sum.c: (event_loop):
8092 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
8093 that applications can sensibly post custom messages with references
8094 to their own objects.
8096 2005-08-24 Andy Wingo <wingo@pobox.com>
8098 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
8101 2005-08-24 Wim Taymans <wim@fluendo.com>
8103 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8104 (gst_base_transform_transform_caps),
8105 (gst_base_transform_transform_size),
8106 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8107 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8108 (gst_base_transform_handle_buffer):
8109 * gst/base/gstbasetransform.h:
8110 Many fixes and new features added by Thomas. Can now also do
8111 transforms with variable sizes and a custom fixate_caps function.
8113 2005-08-24 Wim Taymans <wim@fluendo.com>
8115 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
8119 Cast to ClockTime before formatting to time.
8124 2005-08-24 Stefan Kost <ensonic@users.sf.net>
8126 * check/gst-libs/controller.c: (GST_START_TEST),
8127 (gst_controller_suite):
8128 * docs/gst/tmpl/gstcaps.sgml:
8129 * docs/gst/tmpl/gstghostpad.sgml:
8130 * docs/gst/tmpl/gstquery.sgml:
8131 * docs/gst/tmpl/gstutils.sgml:
8132 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
8133 (gst_object_sink_values), (gst_object_get_value_arrays),
8134 (gst_object_get_value_array):
8135 gracefully handle helper method calls to objects that are not beeing
8136 controlled, added test case for that
8138 2005-08-23 Wim Taymans <wim@fluendo.com>
8140 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
8141 (gst_event_new_newsegment), (gst_event_parse_newsegment),
8142 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
8143 (gst_event_parse_qos), (gst_event_new_seek),
8144 (gst_event_parse_seek):
8146 Some more debugging output and doc cleanups.
8148 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8149 Fix possible deadlock.
8151 2005-08-23 Stefan Kost <ensonic@users.sf.net>
8153 * docs/gst/gstreamer-docs.sgml:
8154 * docs/gst/gstreamer-sections.txt:
8155 * docs/gst/gstreamer.types:
8156 * docs/gst/tmpl/.cvsignore:
8161 added 100 symbols from gstreamer-unused.txt to the right sections
8162 fixed more broken comments
8163 added GstBus to docs
8165 2005-08-23 Stefan Kost <ensonic@users.sf.net>
8167 * docs/gst/gstreamer-sections.txt:
8168 * docs/gst/tmpl/.cvsignore:
8169 * docs/gst/tmpl/gstbin.sgml:
8170 * docs/gst/tmpl/gstbuffer.sgml:
8171 * gst/base/gstbasesrc.c:
8172 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
8175 * tools/gst-launch.1.in:
8176 inlined more doc comments, added missing comments and fixed comments
8179 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
8181 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
8185 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
8187 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
8188 * gst/gststructure.h:
8189 add a fixate function for booleans; add a FIXME that these func
8190 names should probably be gst_structure_fixate_*
8192 2005-08-23 Stefan Kost <ensonic@users.sf.net>
8194 * docs/gst/gstreamer-docs.sgml:
8195 * docs/gst/gstreamer-sections.txt:
8197 * gst/gstbin.c: (gst_bin_get_type),
8198 (gst_bin_child_proxy_get_child_by_index),
8199 (gst_bin_child_proxy_get_children_count),
8200 (gst_bin_child_proxy_init):
8201 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
8202 (gst_child_proxy_get_child_by_index),
8203 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
8204 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
8205 (gst_child_proxy_get), (gst_child_proxy_set_property),
8206 (gst_child_proxy_set_valist), (gst_child_proxy_set),
8207 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
8208 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
8209 * gst/gstchildproxy.h:
8210 * gst/parse/grammar.y:
8211 * tools/gst-inspect.c: (print_interfaces),
8212 (print_element_properties_info), (print_element_info):
8213 ported gstchildproxy over from 0.8
8214 ported gst-inspect fixes and enhancements over from 0.8
8216 2005-08-22 Wim Taymans <wim@fluendo.com>
8218 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8219 (gst_base_transform_handle_buffer):
8220 Also call the transform function if we have ANY caps.
8222 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
8225 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
8227 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
8228 Don't pretend to handle seek events if the source is not seekable
8230 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
8232 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8233 Remove extra parameter to debug output
8235 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8236 (gst_base_src_do_seek), (gst_base_src_activate_push):
8237 Fix seek event handling.
8239 * gst/gstpipeline.c: (gst_pipeline_change_state):
8240 * gst/gstqueue.c: (gst_queue_handle_sink_event),
8241 (gst_queue_src_activate_push):
8242 Don't start the src pad task on FLUSH_STOP if the pad
8246 2005-08-22 Wim Taymans <wim@fluendo.com>
8248 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8249 Added check for gst_static_caps_get() refcounting.
8251 2005-08-22 Wim Taymans <wim@fluendo.com>
8253 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
8254 Make _static_caps_get() refcounting sane.
8256 * gst/gstelement.c: (gst_element_set_state):
8257 Add g_return_val_if_fail() to protect against segfaults.
8259 2005-08-22 Stefan Kost <ensonic@users.sf.net>
8261 * docs/gst/tmpl/gstevent.sgml:
8264 inlined remaining docs, added missing doc comments
8266 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
8268 * check/gst/gstbin.c: (GST_START_TEST):
8269 since we don't know when preroll is done, use refcount range
8271 * gst/check/gstcheck.h:
8272 add macro for checking refcount range
8274 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
8276 * check/Makefile.am:
8277 clean up environment for when registry gets built versus
8278 when actual tests are run; valgrind seems to not report
8279 leaks if GST_PLUGIN_PATH is set to some specific values
8280 * check/gst/gstbin.c: (GST_START_TEST):
8281 add more refcounting checks; maybe this exposes a
8284 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8285 * gst/check/gstcheck.h:
8286 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
8287 (gst_bin_change_state):
8288 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
8289 add/fix debugging/whitespace
8291 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
8293 * check/gst/gstevent.c: (event_probe), (test_event),
8295 Er, don't call gst_bin_watch_for_state_change you idiot.
8297 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
8299 * check/Makefile.am:
8300 Use CHECK_CFLAGS and CHECK_LIBS
8301 * check/gst/gstevent.c: (event_probe), (test_event),
8304 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8305 (gst_base_src_start), (gst_base_src_stop),
8306 (gst_base_src_activate_push), (gst_base_src_activate_pull),
8307 (gst_base_src_change_state):
8308 Sprinkle gst_base_src_stop liberally around error paths to fix
8309 problems reusing a source after failed state changes.
8310 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8311 (helper_find_suggest), (gst_type_find_helper):
8312 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
8314 * docs/gst/tmpl/gstevent.sgml:
8315 Migrate part of the docs from the SGML file. Wait for ensonic to
8316 tell me how I did it wrong ;)
8317 * tools/gst-typefind.c: (main):
8318 Extra robustness to state changes between files.
8320 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
8322 * check/Makefile.am:
8323 don't valgrind the controller test - it's leaking - Stefan, HELP
8324 * gst/check/gstcheck.c: (gst_check_message_error),
8325 (gst_check_chain_func), (gst_check_setup_element),
8326 (gst_check_teardown_element), (gst_check_setup_src_pad),
8327 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8328 (gst_check_teardown_sink_pad):
8329 * gst/check/gstcheck.h:
8330 add a bunch of methods to set up elements, and src and sink pads
8331 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
8332 * check/elements/identity.c: (setup_identity), (cleanup_identity),
8337 whitespace/doc fixes
8339 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8342 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
8343 be handled by the application and not always printed as well
8345 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8347 * check/Makefile.am:
8349 * gst/check/gstcheck.c: (gst_check_message_error):
8350 * gst/check/gstcheck.h:
8351 add a fail_unless_equals_int
8352 add fail_unless for error messages
8354 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8356 * check/Makefile.am:
8358 * common/Makefile.am:
8361 factor out some of the common stuff so we can use it
8363 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8365 * check/Makefile.am:
8366 * check/gst/gstiterator.c: (GST_START_TEST):
8367 * check/gst/gstsystemclock.c: (GST_START_TEST),
8368 (gst_systemclock_suite):
8369 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8373 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8375 * check/elements/.cvsignore:
8376 * check/elements/gstfakesrc.c:
8377 rename to name of element
8378 * check/elements/identity.c: (chain_func), (event_func),
8379 (setup_identity), (cleanup_identity), (GST_START_TEST),
8380 (identity_suite), (main):
8381 add a test for identity
8382 * check/Makefile.am:
8383 * pkgconfig/Makefile.am:
8384 * pkgconfig/gstreamer-check.pc.in:
8385 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8389 move the check stuff to a library that gets installed
8390 * check/gst-libs/controller.c: (GST_START_TEST):
8391 * check/gst-libs/gdp.c:
8392 * check/gst/gst.c: (GST_START_TEST):
8393 * check/gst/gstbin.c:
8394 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8395 * check/gst/gstbus.c:
8396 * check/gst/gstcaps.c: (GST_START_TEST):
8397 * check/gst/gstelement.c:
8398 * check/gst/gstghostpad.c:
8399 * check/gst/gstiterator.c:
8400 * check/gst/gstmessage.c:
8401 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
8402 * check/gst/gstobject.c:
8403 * check/gst/gstpad.c: (GST_START_TEST):
8404 * check/gst/gststructure.c: (GST_START_TEST):
8405 * check/gst/gstsystemclock.c: (GST_START_TEST),
8406 (gst_systemclock_suite):
8407 * check/gst/gsttag.c: (gst_tag_suite):
8408 * check/gst/gstvalue.c:
8409 * check/pipelines/cleanup.c:
8410 * check/pipelines/simple_launch_lines.c:
8411 * check/states/sinks.c:
8412 change include statement
8414 * docs/gst/gstreamer-sections.txt:
8415 * docs/gst/tmpl/gstpad.sgml:
8416 document more pad stuff
8417 * gst/gstminiobject.c: (gst_mini_object_ref),
8418 (gst_mini_object_unref):
8421 2005-08-19 Stefan Kost <ensonic@users.sf.net>
8423 * docs/gst/tmpl/gst.sgml:
8425 eliminate another tmpl file, fix spelling in the long-description
8427 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8429 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8430 (test_event), (timediff), (gstevents_suite):
8431 Should fix build on 64-bit arch's
8433 2005-08-18 Andy Wingo <wingo@pobox.com>
8435 Make sure that when a pipeline goes to PLAYING, that data has
8436 actually hit the sink.
8438 * check/states/sinks.c (test_sink): A sink that doesn't get any
8439 data shouldn't return SUCCESS for going to either PLAYING or
8440 PAUSED. Test also the return values on the way back down.
8442 * gst/gstelement.c (gst_element_set_state): When changing the
8443 state of an element currently changing state asynchronously, go to
8444 lost-state after commiting the pending state. Makes future calls
8445 to get_state continue to return ASYNC.
8447 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
8448 ASYNC when going to PLAYING if we still don't have preroll, as can
8449 happen with live sources.
8451 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8453 * docs/pwg/advanced-types.xml:
8454 Hack long paragraph into 2 chunks as a workaround for buggy
8455 jadetex version in sid and breezy that loops infinitely and
8458 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8460 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8461 (test_event), (timediff), (gstevents_suite):
8462 Provide more error margin in clock measurements to allow for
8463 g_get_current_time inaccuracies.
8465 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8467 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8468 (test_event), (timediff), (gstevents_suite):
8469 Fix error message output so I might be able to tell why the
8470 test works here but fails on the build farm.
8472 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8474 * check/Makefile.am:
8475 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8476 (test_event), (timediff), (gstevents_suite), (main):
8479 * docs/design/part-seeking.txt:
8482 * docs/gst/tmpl/gstevent.sgml:
8483 * docs/gst/tmpl/gstfakesrc.sgml:
8486 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8487 Treat a buffer-without-newsegment the same as a receiving
8488 a newsegment not in time format, and disable syncing to the clock
8491 * gst/gstbus.c: (gst_bus_set_sync_handler):
8492 Assert if anyone tries to replace the existing sync_handler for bus,
8493 as only the owner should be setting it.
8496 Have a fixed set of custom event enums with events identified by
8497 their structure name (as in 0.8), rather than a free-for-all
8498 allowing collisions between enum values from different plugins.
8500 * gst/gstpad.c: (gst_pad_class_init):
8503 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8504 Handle out-of-band downstream events from the sending thread.
8506 2005-08-17 Andy Wingo <wingo@pobox.com>
8508 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
8509 play-timeout==0 to mean no timeout at all. In that case, don't
8510 bother with a get_state or a warning, just return directly, even
8513 * gst/base/gstbasetransform.c: Debug changes.
8516 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
8517 ensure bins post state change messages. A bit of a hack but I can't
8518 think of a way to avoid it.
8520 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
8522 2005-08-16 Andy Wingo <wingo@pobox.com>
8524 * gst/base/gstadapter.h:
8525 * gst/base/gstadapter.c (gst_adapter_take): New function, like
8526 peek() but you own the data. Not terribly efficient atm.
8528 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8530 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
8531 (gst_element_found_tags):
8533 Add two utility functions for tag handling.
8535 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8537 * docs/manual/advanced-dataaccess.xml:
8538 * docs/manual/basics-helloworld.xml:
8539 Fix docs to use _bin_add() before _link(), which fixes the examples
8540 with recent core versions (reported by Madhan Raj M
8541 <raj_madan@rediffmail.com>, #313199).
8543 2005-08-16 Wim Taymans <wim@fluendo.com>
8545 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8546 Added subtract checks.
8548 * docs/design/part-events.txt:
8549 Some more docs about newsegment
8551 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8554 * gst/gstcaps.c: (gst_caps_to_string):
8555 Add comments, cleanups.
8557 * gst/gstelement.c: (gst_element_save_thyself):
8560 * gst/gstvalue.c: (gst_value_collect_int_range),
8561 (gst_string_unwrap), (gst_value_union_int_int_range),
8562 (gst_value_union_int_range_int_range),
8563 (gst_value_intersect_int_int_range),
8564 (gst_value_intersect_int_range_int_range),
8565 (gst_value_intersect_double_double_range),
8566 (gst_value_intersect_double_range_double_range),
8567 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
8568 (gst_value_subtract_int_range_int),
8569 (gst_value_subtract_double_range_double),
8570 (gst_value_subtract_double_range_double_range),
8571 (gst_value_subtract_from_list), (gst_value_subtract_list),
8572 (gst_value_can_compare), (gst_value_compare_fraction):
8573 Cleanups, add comments, remove unneeded asserts.
8575 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8577 * tools/gst-launch.c: (event_loop):
8578 don't convert NULL structures to strings
8580 2005-08-15 Stefan Kost <ensonic@users.sf.net>
8582 * docs/gst/gstreamer-sections.txt:
8583 made some defines private
8584 * docs/gst/tmpl/gstconfig.sgml:
8585 * docs/gst/tmpl/gstqueue.sgml:
8586 * docs/gst/tmpl/gsttaglist.sgml:
8587 * docs/gst/tmpl/gsttypes.sgml:
8588 * docs/gst/tmpl/gstutils.sgml:
8589 * docs/pwg/appendix-porting.xml:
8590 * gst/base/gstbasesink.h:
8591 * gst/base/gstbasesrc.c:
8592 * gst/base/gstbasesrc.h:
8593 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
8594 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8595 * gst/gstelement.c: (gst_element_class_init):
8596 * gst/gstpad.c: (gst_pad_class_init):
8597 * gst/gstqueue.c: (gst_queue_class_init):
8598 * gst/gstxml.c: (gst_xml_class_init):
8599 documented all undocumented signal inline
8600 * libs/gst/controller/gst-controller.h:
8603 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8605 * docs/pwg/appendix-porting.xml:
8606 Document _set_link_function -> _set_setcaps_function.
8608 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8610 * check/Makefile.am:
8611 add a .check target for running the check
8612 * check/gst-libs/controller.c: (GST_START_TEST):
8614 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8615 complete checks for gstbuffer; would be nice if I could get the
8616 gcov stuff to work so I can see if I actually completed gstbuffer.c
8618 add ASSERT_BUFFER_REFCOUNT
8620 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
8622 * docs/gst/gstreamer-sections.txt:
8623 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8625 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8626 spew out a warning if a tag that is already registered
8627 is re-registered, unless it is re-registered with a
8628 different type (#308438).
8630 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
8632 * docs/pwg/appendix-porting.xml:
8633 * docs/pwg/building-state.xml:
8634 Add some paragraphs about state changes in 0.9 to the PWG
8635 and the porting guide, in particular about the new meaning
8636 of GST_STATE_PAUSED and how to write state change functions
8637 with concurrent access by multiple threads in mind.
8639 2005-08-11 Stefan Kost <ensonic@users.sf.net>
8641 * docs/gst/gstreamer-docs.sgml:
8642 * docs/libs/gstreamer-libs-docs.sgml:
8643 added deprecation and since indexes
8644 * libs/gst/controller/gst-controller.c:
8645 * libs/gst/controller/gst-helper.c:
8649 2005-08-11 Wim Taymans <wim@fluendo.com>
8651 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8652 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8653 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8654 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8655 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8656 (gst_ghost_pad_set_target):
8657 Actually implement (re)setting the target on a ghostpad
8658 as described in the docs.
8660 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8662 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8663 Check whether GST_DEBUG_NO_COLOR environment variable is
8664 set and disable coloured debug output if that is the case.
8666 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8668 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8669 (gst_type_find_helper):
8670 The memory returned by gst_type_find_peek() needs to
8671 stay valid until the end of a typefind function, and
8672 typefind functions may keep results from different
8673 offsets around, so we can't just unref the buffer from
8674 the previous _peek(), but have to save all buffers
8675 returned by _peek() until typefinding is done and only
8678 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
8680 * docs/gst/gstreamer-sections.txt:
8682 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8684 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8686 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8687 Fix a pretty good memleak.
8689 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8691 * gst/gstiterator.h:
8692 Fix wrong include and 'make distcheck'.
8694 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8696 * gst/gstbin.c: (bin_bus_handler):
8697 Use gst_element_post_message() instead.
8699 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8701 * gst/base/gstadapter.h:
8702 * gst/base/gstbasesink.h:
8703 * gst/base/gstbasesrc.h:
8704 * gst/base/gstbasetransform.h:
8705 * gst/base/gstcollectpads.h:
8706 * gst/base/gstpushsrc.h:
8707 * gst/gstiterator.h:
8708 Add padding to our base elements' class and instance structs and
8709 to GstIterator (you will need to rebuild all plugins and apps!)
8711 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8713 * gst/gstbin.c: (bin_bus_handler):
8714 Make default message forwarding from child->bus to bin->bus
8715 threadsafe and make it not emit warnings if the parent has no bus.
8717 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8719 * gst/gstelement.c: (activate_pads):
8720 On paused->ready, set pad->caps to NULL, as is the documented
8721 behaviour in this state change. Fixes playback of series of
8722 media files when visualization is enabled in Totem.
8724 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8726 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8727 Allow NULL as filter-caps (which means "any").
8729 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8731 * docs/libs/gstreamer-libs-sections.txt:
8732 * libs/gst/controller/gst-controller.c:
8733 * libs/gst/controller/gst-controller.h:
8734 * libs/gst/controller/gst-helper.c:
8735 adding more entries to the docs and fix small doc-bugs
8737 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8739 * docs/gst/gstreamer-docs.sgml:
8740 * docs/gst/gstreamer-sections.txt:
8741 * docs/gst/gstreamer.types:
8742 * docs/gst/tmpl/gstbasesink.sgml:
8743 * docs/gst/tmpl/gstbasesrc.sgml:
8744 * docs/gst/tmpl/gstbasetransform.sgml:
8745 * docs/gst/tmpl/gstfakesrc.sgml:
8746 * gst/base/gstcollectpads.c:
8747 * gst/base/gstcollectpads.h:
8748 * libs/gst/controller/gst-controller.c:
8749 * libs/gst/controller/gst-controller.h:
8750 * libs/gst/controller/gst-helper.c:
8751 * libs/gst/controller/gst-interpolation.c:
8752 * libs/gst/controller/lib.c:
8753 added long/short desc for controller docs
8754 added collectpads base class docs
8755 added correct includes to base-class docs
8757 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8759 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8760 (gst_test_mono_source_set_property),
8761 (gst_test_mono_source_class_init), (GST_START_TEST),
8762 (gst_controller_suite):
8763 * docs/gst/gstreamer-docs.sgml:
8764 * docs/gst/gstreamer-sections.txt:
8765 * docs/gst/gstreamer.types:
8766 * docs/libs/gstreamer-libs-docs.sgml:
8767 * docs/libs/gstreamer-libs-sections.txt:
8768 * gst/base/gstadapter.c:
8769 * libs/gst/controller/gst-controller.c:
8770 (gst_controlled_property_new), (gst_controlled_property_free),
8771 (gst_controller_new_valist),
8772 (gst_controller_remove_properties_valist),
8773 (gst_controller_sink_values), (_gst_controller_finalize):
8774 * libs/gst/controller/gst-controller.h:
8775 * libs/gst/controller/gst-helper.c:
8776 (gst_object_control_properties), (gst_object_uncontrol_properties),
8777 (gst_object_get_controller), (gst_object_set_controller),
8778 (gst_object_sink_values), (gst_object_get_value_arrays),
8779 (gst_object_get_value_array):
8780 more tests (and fixes) for the controller
8781 more docs for the controller
8782 integrated companies docs for the adapter
8784 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
8786 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8787 (GST_START_TEST), (fakesrc_suite):
8788 add tests for sizetype
8790 2005-08-04 Andy Wingo <wingo@pobox.com>
8792 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8793 fixes buffer_alloc proxying among other things.
8795 * gst/base/gstbasetransform.c:
8796 * gst/base/gstbasetransform.h:
8797 Revert patch to gstbasetransform from 7-28 removing
8800 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8801 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8802 Semantics changed, should return not the size of the output buffer
8803 but the byte size of a buffer with a given caps.
8805 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8807 (gst_base_transform_configure_caps): Don't set out_size here: (in,
8808 out) are not the pad caps until setcaps finishes.
8809 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8810 not-in-place case as well. Deal with changing from in-place to
8811 not-in-place within calling pad_alloc_buffer. Still a bit
8812 concerned about the overhead here...
8814 2005-08-03 Andy Wingo <wingo@pobox.com>
8816 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8817 fixating is an error.
8819 2005-08-04 Edward Hervey <edward@fluendo.com>
8821 * gst/base/gstadapter.h:
8822 Added gst_adapter_get_type() to the header
8824 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8826 * check/Makefile.am:
8827 * check/gst-libs/controller.c:
8828 * libs/gst/controller/gst-controller.c:
8829 (gst_controller_new_valist):
8830 added check test suite for the controller
8831 * gst/base/gstpushsrc.c:
8834 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8836 * docs/gst/Makefile.am:
8837 * docs/gst/gstreamer-docs.sgml:
8838 * docs/gst/gstreamer-sections.txt:
8839 * docs/gst/gstreamer.types:
8840 * docs/gst/tmpl/gstfakesrc.sgml:
8842 * gst/base/gstbasesink.c:
8843 * gst/base/gstbasesink.h:
8844 * gst/base/gstbasesrc.c:
8845 * gst/base/gstbasesrc.h:
8846 * gst/base/gstbasetransform.c:
8847 * gst/base/gstpushsrc.c:
8848 * gst/base/gstpushsrc.h:
8849 add short/long description docs to base classes
8850 add pushsrc to the docs
8851 remove consolidated doc fragments
8853 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8856 * docs/libs/Makefile.am:
8857 * docs/libs/gstreamer-libs-docs.sgml:
8858 * docs/libs/gstreamer-libs-sections.txt:
8859 * docs/libs/gstreamer-libs.types:
8860 * examples/Makefile.am:
8861 * examples/controller/.cvsignore:
8862 * examples/controller/Makefile.am:
8863 * examples/controller/audio-example.c: (main):
8864 * libs/gst/Makefile.am:
8865 * libs/gst/controller/.cvsignore:
8866 * libs/gst/controller/Makefile.am:
8867 * libs/gst/controller/gst-controller.c:
8868 (on_object_controlled_property_changed), (gst_timed_value_compare),
8869 (gst_timed_value_find),
8870 (gst_controlled_property_set_interpolation_mode),
8871 (gst_controlled_property_new), (gst_controlled_property_free),
8872 (gst_controller_find_controlled_property),
8873 (gst_controller_new_valist), (gst_controller_new),
8874 (gst_controller_remove_properties_valist),
8875 (gst_controller_remove_properties), (gst_controller_set),
8876 (gst_controller_set_from_list), (gst_controller_unset),
8877 (gst_controller_get), (gst_controller_get_all),
8878 (gst_controller_sink_values), (gst_controller_get_value_arrays),
8879 (gst_controller_get_value_array),
8880 (gst_controller_set_interpolation_mode),
8881 (_gst_controller_finalize), (_gst_controller_init),
8882 (_gst_controller_class_init), (gst_controller_get_type):
8883 * libs/gst/controller/gst-controller.h:
8884 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8885 (g_object_uncontrol_properties), (g_object_get_controller),
8886 (g_object_set_controller), (g_object_sink_values),
8887 (g_object_get_value_arrays), (g_object_get_value_array):
8888 * libs/gst/controller/gst-interpolation.c:
8889 (gst_controlled_property_find_timed_value_node),
8890 (interpolate_none_get), (interpolate_trigger_get),
8891 (interpolate_trigger_get_value_array):
8892 * libs/gst/controller/lib.c: (gst_controller_init):
8893 * pkgconfig/Makefile.am:
8894 * pkgconfig/gstreamer-control-uninstalled.pc.in:
8895 * pkgconfig/gstreamer-control.pc.in:
8896 * testsuite/Makefile.am:
8897 * testsuite/controller/.cvsignore:
8898 * testsuite/controller/Makefile.am:
8899 * testsuite/controller/interpolator.c: (main):
8900 added controller code
8901 removed dparam pc files
8903 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8904 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8905 (gst_collectpads_stop):
8906 Broadcast the condition when shutting down, to make sure we wake all
8907 threads up. Shut down pads on finalize, for safety.
8909 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8910 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8911 (gst_base_transform_handle_buffer),
8912 (gst_base_transform_change_state):
8913 Handle PAUSED->READY->PAUSED transition after negotiation
8915 * gst/gstmessage.c: (gst_message_init):
8916 Extra piece of debug for new messages.
8918 2005-08-01 Stefan Kost <ensonic@users.sf.net>
8921 * docs/gst/tmpl/gstbasesrc.sgml:
8922 * docs/gst/tmpl/gstelement.sgml:
8923 * docs/gst/tmpl/gstevent.sgml:
8924 * docs/gst/tmpl/gstfakesrc.sgml:
8925 * docs/gst/tmpl/gstformat.sgml:
8926 * docs/gst/tmpl/gstghostpad.sgml:
8927 * docs/gst/tmpl/gstpad.sgml:
8928 * docs/gst/tmpl/gstquery.sgml:
8929 * docs/gst/tmpl/gststructure.sgml:
8930 * docs/gst/tmpl/gsttaglist.sgml:
8931 * docs/gst/tmpl/gstvalue.sgml:
8932 * docs/libs/gstreamer-libs-docs.sgml:
8933 * docs/libs/gstreamer-libs-sections.txt:
8934 * docs/libs/gstreamer-libs.types:
8935 * libs/gst/Makefile.am:
8936 * libs/gst/control/.cvsignore:
8937 * libs/gst/control/Makefile.am:
8938 * libs/gst/control/control.c:
8939 * libs/gst/control/control.h:
8940 * libs/gst/control/dparam.c:
8941 * libs/gst/control/dparam.h:
8942 * libs/gst/control/dparam_smooth.c:
8943 * libs/gst/control/dparam_smooth.h:
8944 * libs/gst/control/dparamcommon.h:
8945 * libs/gst/control/dparammanager.c:
8946 * libs/gst/control/dparammanager.h:
8947 * libs/gst/control/dplinearinterp.c:
8948 * libs/gst/control/dplinearinterp.h:
8949 * libs/gst/control/unitconvert.c:
8950 * libs/gst/control/unitconvert.h:
8951 * testsuite/Makefile.am:
8952 * testsuite/dynparams/.cvsignore:
8953 * testsuite/dynparams/Makefile.am:
8954 * testsuite/dynparams/dparamstest.c:
8955 * tools/Makefile.am:
8956 * tools/gst-inspect.c: (print_element_info), (main):
8957 * tools/gst-xmlinspect.c: (print_element_info), (main):
8958 deactivate and remove dparams (libgstcontrol)
8960 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8962 * gst/elements/gsttypefindelement.c:
8963 (gst_type_find_element_have_type), (gst_type_find_element_init),
8964 (stop_typefinding), (gst_type_find_element_handle_event),
8965 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8966 * gst/elements/gsttypefindelement.h:
8967 Set caps on all outgoing buffers, not just the first one.
8969 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8971 * gst/elements/gsttypefindelement.c:
8972 (gst_type_find_element_have_type),
8973 (gst_type_find_element_check_set_buffer_caps),
8974 (gst_type_find_element_init), (stop_typefinding),
8975 (gst_type_find_element_handle_event),
8976 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8977 * gst/elements/gsttypefindelement.h:
8978 Set caps on first outgoing buffer when we've found the type.
8980 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8982 * docs/gst/gstreamer-docs.sgml:
8983 * docs/gst/gstreamer-sections.txt:
8984 * docs/gst/tmpl/gstscheduler.sgml:
8985 * docs/gst/tmpl/gstschedulerfactory.sgml:
8986 Remove some old cruft from docs.
8988 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
8991 Fix inline docs for GstPadLinkReturn.
8993 * gst/gststructure.c: (gst_structure_has_name):
8994 * gst/gststructure.h:
8995 * docs/gst/gstreamer-sections.txt:
8996 New API: gst_structure_has_name().
8998 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
9001 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
9002 and _LARGEFILE_SOURCE in config.h as required. Do not
9003 export those flags in our .pc files any longer (#142209).
9005 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
9007 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
9008 (gst_file_sink_do_seek), (gst_file_sink_event),
9009 (gst_file_sink_get_current_offset), (gst_file_sink_render):
9010 Redo seek/tell calls with large file support in mind; add some
9011 debugging messages; add log message that tells us when large
9012 file support is unavailable or not enabled for some reason.
9014 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
9015 Add log message that tells us when large file support
9016 is unavailable or not enabled for some reason.
9018 2005-07-29 Wim Taymans <wim@fluendo.com>
9020 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9021 Added test for removing an element with ghostpad from a bin.
9022 Fixed test as current implementation does the right thing.
9024 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
9025 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
9026 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
9027 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
9028 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
9029 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
9030 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
9031 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9032 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
9033 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
9034 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
9035 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
9036 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
9037 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
9038 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
9039 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
9040 * gst/gstghostpad.h:
9041 Clean up ghostpads, remove properties for internal stuff.
9044 Prepare for switching targets, not all use cases work yet.
9046 2005-07-29 Wim Taymans <wim@fluendo.com>
9048 * docs/design/part-gstghostpad.txt:
9051 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
9052 (gst_bin_remove_func):
9053 Unlinking pads while holding the bin LOCK is not a good
9056 * gst/gstpad.c: (gst_pad_class_init),
9057 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
9058 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
9059 No prob setting template after creating the pad.
9061 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
9063 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
9064 (gst_bus_peek), (gst_bus_source_dispatch),
9065 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
9066 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
9067 gst_bus_poll may be called from other threads. Handle
9068 this nicely by not making poll_data disappear off the
9069 stack once gst_bus_poll returns.
9070 gst_bus_peek now increments the refcount on the returned
9073 2005-07-29 Wim Taymans <wim@fluendo.com>
9075 * docs/design/part-gstghostpad.txt:
9076 Overview of current GhostPad datastructures and use
9077 cases for changing the target.
9079 2005-07-28 Wim Taymans <wim@fluendo.com>
9081 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9082 Added checks for hierarchy consistency whan adding linked
9085 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9086 Added check to test element scheduling without bin/pipeline.
9088 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9089 First add elements to bin, then link.
9091 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
9092 (gst_bin_remove_func):
9093 Unlink pads from elements added/removed from bin to maintain
9094 hierarchy consistency.
9096 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9098 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
9099 (gst_base_transform_handle_buffer):
9100 * gst/base/gstbasetransform.h:
9101 Remove broken delay_configure (fixes renegotiation of software
9102 scaling pipelines); remove some leftover printf()s.
9104 2005-07-28 Wim Taymans <wim@fluendo.com>
9106 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9107 Added some more tests for wrong hierarchy
9109 * docs/design/part-overview.txt:
9112 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
9115 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
9116 (gst_element_dispose):
9119 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9120 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
9121 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9122 (gst_pad_set_caps), (gst_pad_send_event):
9123 Check for correct hierarchy when linking pads. Moving to
9124 strict requirement for ghostpads when linking elements in
9128 Clean ups. Added WRONG_HIERARCHY return value.
9130 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9132 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9133 Better debug if no transform is possible.
9135 2005-07-27 Wim Taymans <wim@fluendo.com>
9137 * docs/random/wtay/network-transp:
9140 2005-07-27 Wim Taymans <wim@fluendo.com>
9142 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9143 (gst_dp_event_from_packet):
9144 Fix serialization of seek events.
9146 2005-07-27 Wim Taymans <wim@fluendo.com>
9148 * check/gst-libs/gdp.c: (GST_START_TEST):
9149 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9150 Fix compilation and fix event serialization.
9152 2005-07-27 Wim Taymans <wim@fluendo.com>
9155 * docs/design/part-TODO.txt:
9156 * docs/design/part-events.txt:
9159 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9160 (gst_base_sink_event), (gst_base_sink_do_sync),
9161 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
9162 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9163 (gst_base_src_do_seek), (gst_base_src_event_handler),
9164 (gst_base_src_loop):
9165 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9166 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9167 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9168 (gst_base_transform_event), (gst_base_transform_handle_buffer),
9169 (gst_base_transform_set_passthrough),
9170 (gst_base_transform_is_passthrough):
9171 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9172 * gst/elements/gstfilesink.c: (gst_file_sink_event):
9178 * gst/gstelement.c: (gst_element_seek):
9180 Update gst_element_seek.
9182 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
9183 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
9184 (gst_event_new_flush_start), (gst_event_new_flush_stop),
9185 (gst_event_new_eos), (gst_event_new_newsegment),
9186 (gst_event_parse_newsegment), (gst_event_new_tag),
9187 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
9188 (gst_event_parse_qos), (gst_event_new_seek),
9189 (gst_event_parse_seek), (gst_event_new_navigation):
9191 Make GstEvent use GstStructure. Add parsing code, make sure the
9192 API is sufficiently generic.
9193 Mark possible directions of events and serialization.
9195 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
9196 (_gst_message_copy), (gst_message_new_segment_start),
9197 (gst_message_new_segment_done), (gst_message_new_custom),
9198 (gst_message_parse_segment_start),
9199 (gst_message_parse_segment_done):
9202 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9203 (gst_pad_set_caps), (gst_pad_send_event):
9204 Update for new events.
9205 Catch events sent in wrong directions.
9207 * gst/gstqueue.c: (gst_queue_link_src),
9208 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
9209 (gst_queue_handle_src_query):
9214 Remove event code from this file.
9216 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9217 (gst_dp_event_from_packet):
9220 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9222 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
9223 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9224 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
9225 Make debugging actually useful.
9227 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9229 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
9230 (gst_pad_fixate_caps):
9231 Implement default fixation once again, so that gst_pad_fixate()
9232 actually does anything at all. This probably needs to be some
9233 sort of a last resort, and use profile-based fixation first, but
9234 since that doesn't exist yet, this is the best we have. Fixes
9235 visualization in Totem.
9237 2005-07-22 Wim Taymans <wim@fluendo.com>
9239 * docs/design/part-events.txt:
9242 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9243 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
9244 (gst_base_sink_activate_pull):
9247 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
9248 (gst_fake_src_create):
9249 Fix handoff marshall.
9251 * gst/elements/gstidentity.c: (gst_identity_class_init),
9252 (gst_identity_transform_ip):
9253 We're a real inplace element.
9255 * gst/gstbus.c: (gst_bus_post):
9256 Added some comments.
9258 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
9259 * tests/muxing/case1.c: (main):
9260 * tests/sched/dynamic-pipeline.c: (main):
9261 * tests/sched/interrupt1.c: (main):
9262 * tests/sched/interrupt2.c: (main):
9263 * tests/sched/interrupt3.c: (main):
9264 * tests/sched/runxml.c: (main):
9265 * tests/sched/sched-stress.c: (main):
9266 * tests/seeking/seeking1.c: (event_received), (main):
9267 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
9269 * tests/threadstate/threadstate3.c: (main):
9270 * tests/threadstate/threadstate4.c: (main):
9271 * tests/threadstate/threadstate5.c: (main):
9274 2005-07-21 Wim Taymans <wim@fluendo.com>
9276 * docs/design/part-seeking.txt:
9277 Some small additions.
9279 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9280 (gst_base_sink_get_times), (gst_base_sink_do_sync),
9281 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
9282 * gst/base/gstbasesink.h:
9283 discont values are gint64, handle the math correctly.
9285 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9286 Make the basesrc report error if the source pad is not linked.
9288 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
9289 (gst_queue_loop), (gst_queue_handle_src_query),
9290 (gst_queue_src_activate_push):
9291 Make queue collect data even if the srcpad is not linked.
9292 Start pushing out data as soon as it is linked.
9294 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
9296 Added gst_flow_get_name() to ease error reporting.
9298 2005-07-20 Wim Taymans <wim@fluendo.com>
9300 * gst/gstmessage.c: (gst_message_new_segment_start),
9301 (gst_message_new_segment_done), (gst_message_parse_segment_start),
9302 (gst_message_parse_segment_done):
9304 Added a bunch of messages for advanced seeking.
9306 * gst/parse/grammar.y:
9307 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
9308 (gst_dpman_state_changed):
9309 Fix some new-pad -> pad-added signals
9311 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9313 * docs/manual/appendix-porting.xml:
9314 * docs/pwg/appendix-porting.xml:
9315 Document new-pad/state-change signal renames and the FixedList
9318 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9320 * docs/manual/advanced-autoplugging.xml:
9321 * docs/manual/basics-helloworld.xml:
9322 * docs/manual/basics-pads.xml:
9323 * docs/random/ds/0.9-suggested-changes:
9324 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
9329 * gst/gststructure.c: (gst_structure_value_get_generic_type),
9330 (gst_structure_parse_array), (gst_structure_parse_value):
9331 * gst/gstvalue.c: (gst_type_is_fixed),
9332 (gst_value_list_prepend_value), (gst_value_list_append_value),
9333 (gst_value_list_get_size), (gst_value_list_get_value),
9334 (gst_value_transform_array_string), (gst_value_serialize_array),
9335 (gst_value_deserialize_array), (gst_value_intersect_array),
9336 (gst_value_is_fixed), (_gst_value_initialize):
9338 GstElement::new-pad -> pad-added, GstElement::state-change ->
9339 state-changed, GstValueFixedList -> GstValueArray, add format and
9340 flags as their own arguments in gst_element_seek() (should improve
9341 "bindeability"), remove function generators since they don't work
9342 under a whole bunch of compilers (they were deprecated already
9345 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9347 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
9348 (_gst_debug_register_funcptr):
9350 Fix illegal cast on some platforms (#309253).
9352 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9354 * gst/gstmessage.c: (gst_message_new_custom):
9356 Add _new_custom, make _new_application a macro to _new_custom.
9358 2005-07-20 Wim Taymans <wim@fluendo.com>
9360 * gst/base/gstbasesrc.c: (gst_base_src_init),
9361 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
9362 * gst/base/gstbasesrc.h:
9363 Add a gboolean to decide when to push out a discont.
9365 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9366 (gst_queue_loop), (gst_queue_handle_src_query),
9367 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
9368 (gst_queue_set_property), (gst_queue_get_property):
9371 * tests/threadstate/threadstate1.c: (main):
9372 Make a thread test compile and run... very silly..
9375 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9377 * docs/manual/appendix-porting.xml:
9378 Mention removal of libgstgconf-0.9.la and existence of gconf
9381 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9383 * docs/pwg/advanced-clock.xml:
9384 * docs/pwg/appendix-porting.xml:
9385 * docs/pwg/intro-preface.xml:
9386 * docs/pwg/other-base.xml:
9387 * docs/pwg/other-manager.xml:
9388 * docs/pwg/other-nton.xml:
9389 * docs/pwg/other-ntoone.xml:
9390 * docs/pwg/other-oneton.xml:
9392 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
9393 demuxer), remove n-to-n (was never written), fix some code examples
9394 and links and update the porting section to include all this.
9396 2005-07-19 Wim Taymans <wim@fluendo.com>
9398 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
9399 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
9400 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
9401 (gst_queue_src_activate_push), (gst_queue_change_state),
9402 (gst_queue_get_property):
9404 Propagate GstFlowReturn more intelligently upstream and output
9405 an ERROR/EOS when streaming stopped due to fatal error.
9407 2005-07-19 Wim Taymans <wim@fluendo.com>
9409 * tools/gst-launch.c: (check_intr), (event_loop), (main):
9410 Don't block forever for the state change to complete, the
9411 pipeline already did with a sensible timeout.
9413 2005-07-19 Wim Taymans <wim@fluendo.com>
9415 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9416 Make sure we never call the create function is we
9419 2005-07-19 Andy Wingo <wingo@pobox.com>
9421 * gst/parse/parse.l: Attempt to solve bug #172815.
9423 2005-07-19 Wim Taymans <wim@fluendo.com>
9425 * docs/design/part-clocks.txt:
9426 * docs/design/part-events.txt:
9427 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
9429 Only update the seeking values when we are not
9432 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
9434 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9435 Oops, ignore the result of gst_pad_push_event here.
9437 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
9439 * gst/base/gstbasesrc.c: (gst_base_src_loop),
9440 (gst_base_src_activate_push):
9441 Send discont event from the loop function, as pads
9442 aren't activated yet in the activate_push handler.
9444 * gst/gstbin.c: (bin_bus_handler):
9445 Don't leak element name.
9447 2005-07-18 Andy Wingo <wingo@pobox.com>
9449 * configure.ac: Use AS_LIBTOOL_TAGS.
9451 2005-07-18 Wim Taymans <wim@fluendo.com>
9453 * docs/gst/gstreamer.types:
9454 Remove deleted types.
9456 2005-07-18 Wim Taymans <wim@fluendo.com>
9458 * check/elements/gstfakesrc.c: (GST_START_TEST):
9461 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
9462 (init_popt_callback):
9464 * gst/gst_private.h:
9465 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
9466 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
9469 * gst/gstconfig.h.in:
9470 * gst/gstelement.c: (gst_element_class_init),
9471 (gst_element_set_base_time), (gst_element_get_base_time),
9472 (iterator_fold_with_resync), (gst_element_change_state),
9473 (gst_element_dispose), (gst_element_get_bus):
9475 * gst/gstelementfactory.h:
9476 * gst/gsterror.c: (_gst_core_errors_init):
9479 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9481 * gst/gstinfo.c: (_gst_debug_init):
9482 * gst/gstmessage.c: (_gst_message_copy):
9484 * gst/gstminiobject.h:
9487 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9488 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
9491 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9492 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9493 (gst_pipeline_get_last_stream_time):
9494 * gst/gstpipeline.h:
9495 * gst/gstpluginfeature.h:
9497 * gst/gstscheduler.c:
9498 * gst/gstscheduler.h:
9499 * gst/gststructure.h:
9500 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9501 (gst_task_finalize), (gst_task_func), (gst_task_create),
9502 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
9503 (gst_task_stop), (gst_task_pause):
9505 * gst/gsttypefind.h:
9507 * gst/registries/gstlibxmlregistry.c: (load_feature),
9508 (gst_xml_registry_load), (gst_xml_registry_save_feature):
9509 * gst/registries/gstxmlregistry.c:
9510 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
9511 * gst/schedulers/threadscheduler.c:
9512 * libs/gst/control/dparammanager.h:
9513 * tools/gst-inspect.c: (print_element_list),
9514 (print_plugin_features), (print_element_features):
9515 * tools/gst-xmlinspect.c: (print_element_list),
9516 (print_plugin_info), (main):
9517 Removed plugable schedulers.
9518 Removed Scheduler/Manager from elements.
9519 Removed gsttypes.h, rearranged includes.
9520 Removed dependency pad<->element, element<>pipeline, and
9521 various others, fix includes.
9522 implement gst_pad_get_parent() with gst_object_get_parent()
9523 Make GstTask sefcontained.
9524 Fix _get_state() on GstBin, it did not return ASYNC with a 0
9526 Fix endless loop in iterator_fold_with_resync.
9529 2005-07-18 Wim Taymans <wim@fluendo.com>
9535 2005-07-18 Wim Taymans <wim@fluendo.com>
9540 2005-07-18 Wim Taymans <wim@fluendo.com>
9546 2005-07-18 Wim Taymans <wim@fluendo.com>
9548 * docs/design/part-dynamic.txt:
9549 * docs/design/part-events.txt:
9550 * docs/design/part-seeking.txt:
9551 Some more docs in the works.
9553 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9554 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
9555 (gst_base_transform_setcaps), (gst_base_transform_get_size),
9556 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
9557 (gst_base_transform_handle_buffer),
9558 (gst_base_transform_sink_activate_push),
9559 (gst_base_transform_src_activate_pull),
9560 (gst_base_transform_set_passthrough),
9561 (gst_base_transform_is_passthrough):
9564 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
9567 * gst/gstevent.c: (gst_event_finalize):
9570 * gst/gstutils.c: (gst_element_unlink),
9571 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
9572 (gst_pad_proxy_setcaps):
9574 Add _get_parent_element() to get a pads parent as an element.
9576 2005-07-18 Wim Taymans <wim@fluendo.com>
9578 * check/gst/gstbin.c: (GST_START_TEST):
9581 2005-07-18 Wim Taymans <wim@fluendo.com>
9583 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9584 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9585 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9586 (gst_base_sink_event), (gst_base_sink_do_sync),
9587 (gst_base_sink_chain), (gst_base_sink_loop),
9588 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
9589 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
9591 Fix logic for returning ASYNC when not prerolled.
9593 2005-07-18 Wim Taymans <wim@fluendo.com>
9595 * gst/gstqueue.c: (gst_queue_handle_sink_event):
9596 Fix nasty refcount bug.
9598 2005-07-16 Philippe Khalaf <burger@speedy.org>
9600 * gst/elements/gstfdsrc.c:
9601 * gst/elements/gstfdsrc.h:
9602 * gst/elements/gstelements.c:
9603 * gst/elements/Makefile.am:
9604 Ported fdsrc to 0.9.
9606 2005-07-16 Wim Taymans <wim@fluendo.com>
9608 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9609 (gst_base_sink_do_sync):
9612 2005-07-16 Wim Taymans <wim@fluendo.com>
9614 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9615 (gst_base_sink_event), (gst_base_sink_get_times),
9616 (gst_base_sink_do_sync), (gst_base_sink_change_state):
9617 * gst/base/gstbasesink.h:
9618 Store and use discont values when syncing buffers as described
9621 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9622 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9623 (gst_base_src_activate_push):
9624 Push discont event when starting.
9626 * gst/elements/gstidentity.c: (gst_identity_transform):
9629 * gst/gstbin.c: (gst_bin_change_state):
9630 Small cleanups in base_time distribution.
9632 * gst/gstelement.c: (gst_element_set_base_time),
9633 (gst_element_get_base_time), (gst_element_change_state):
9635 Added methods for the base_time of the element.
9638 * gst/gstpipeline.c: (gst_pipeline_send_event),
9639 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9640 (gst_pipeline_get_last_stream_time):
9641 * gst/gstpipeline.h:
9643 Handle seeking as described in design doc, remove stream_time
9645 Cleanups clock and stream_time selection code. Added accessors
9646 for the stream_time.
9649 2005-07-16 Andy Wingo <wingo@pobox.com>
9651 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9654 2005-07-16 Wim Taymans <wim@fluendo.com>
9656 * check/gst/gstbin.c: (GST_START_TEST):
9657 Make elements silent as the deep_notify refs the
9658 parent, which might make the test fail.
9660 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9661 Don't hold the lock for too long.
9663 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
9665 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9666 Don't unref the caps we passed to gst_caps_make_writable() after
9667 passing them. gst_caps_make_writable() will do that for us.
9669 2005-07-15 Andy Wingo <wingo@pobox.com>
9671 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9674 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9675 own marshalling function for the handoff signal. Properly type the
9676 buffer as a buffer. Fixes some warnings. Should do a more general
9678 (gst_identity_class_init): Plug into the right marshaller.
9680 2005-07-15 Wim Taymans <wim@fluendo.com>
9682 * docs/design/part-TODO.txt:
9683 * docs/design/part-clocks.txt:
9684 * docs/design/part-element-sink.txt:
9685 * docs/design/part-events.txt:
9686 * docs/design/part-gstpipeline.txt:
9687 Updated docs, mostly DISCONT related.
9689 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
9691 * docs/pwg/building-pads.xml:
9692 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9694 2005-07-15 Andy Wingo <wingo@pobox.com>
9696 * tools/gst-typefind.c: Update, add copyright block.
9698 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9699 Normalize and truncate caps before fixation.
9702 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9703 discards all but the first structure from its argument.
9705 2005-07-15 Wim Taymans <wim@fluendo.com>
9707 * gst/base/gstbasetransform.c: (gst_base_transform_init),
9708 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9709 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9710 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9711 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9712 (gst_base_transform_chain), (gst_base_transform_change_state),
9713 (gst_base_transform_set_passthrough),
9714 (gst_base_transform_is_passthrough):
9715 * gst/base/gstbasetransform.h:
9716 Make passthrough work using the bufferpools.
9717 Changed API a bit, subclasses have to write into a buffer
9718 provided by the base class.
9719 More debug info in nego functions.
9721 * gst/elements/gstidentity.c: (gst_identity_init),
9722 (gst_identity_transform):
9723 Port to new base class.
9725 2005-07-15 Wim Taymans <wim@fluendo.com>
9727 * gst/gstmessage.c: (gst_message_new_state_changed):
9728 * tools/gst-launch.c: (event_loop), (main):
9729 Totally dump messages in -launch with the -m option.
9730 Fix message name for State messages,
9732 2005-07-14 Wim Taymans <wim@fluendo.com>
9734 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9735 Post error messages on errors.
9737 2005-07-14 Wim Taymans <wim@fluendo.com>
9739 * gst/gstcaps.c: (gst_caps_do_simplify):
9743 Define error for stream stopped.
9745 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9746 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9747 Do proper return values.
9749 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9750 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9751 (gst_pad_get_range):
9752 Better return values.
9755 Reorganise return values, add macro to check for fatal errors.
9757 * gst/gstqueue.c: (gst_queue_chain):
9758 Return proper GstFlowReturn values,
9760 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
9762 * docs/gst/gstreamer-sections.txt:
9763 * docs/gst/gstreamer.types:
9764 * docs/gst/tmpl/gst.sgml:
9765 * docs/gst/tmpl/gstbasesink.sgml:
9766 * docs/gst/tmpl/gstbasesrc.sgml:
9767 * docs/gst/tmpl/gstbasetransform.sgml:
9768 * docs/gst/tmpl/gstbin.sgml:
9769 * docs/gst/tmpl/gstbuffer.sgml:
9770 * docs/gst/tmpl/gstcaps.sgml:
9771 * docs/gst/tmpl/gstclock.sgml:
9772 * docs/gst/tmpl/gstcompat.sgml:
9773 * docs/gst/tmpl/gstconfig.sgml:
9774 * docs/gst/tmpl/gstelement.sgml:
9775 * docs/gst/tmpl/gstelementdetails.sgml:
9776 * docs/gst/tmpl/gstelementfactory.sgml:
9777 * docs/gst/tmpl/gstenumtypes.sgml:
9778 * docs/gst/tmpl/gsterror.sgml:
9779 * docs/gst/tmpl/gstevent.sgml:
9780 * docs/gst/tmpl/gstfakesink.sgml:
9781 * docs/gst/tmpl/gstfakesrc.sgml:
9782 * docs/gst/tmpl/gstfilesink.sgml:
9783 * docs/gst/tmpl/gstfilesrc.sgml:
9784 * docs/gst/tmpl/gstfilter.sgml:
9785 * docs/gst/tmpl/gstformat.sgml:
9786 * docs/gst/tmpl/gstghostpad.sgml:
9787 * docs/gst/tmpl/gstimplementsinterface.sgml:
9788 * docs/gst/tmpl/gstindex.sgml:
9789 * docs/gst/tmpl/gstindexfactory.sgml:
9790 * docs/gst/tmpl/gstinfo.sgml:
9791 * docs/gst/tmpl/gstiterator.sgml:
9792 * docs/gst/tmpl/gstmacros.sgml:
9793 * docs/gst/tmpl/gstmemchunk.sgml:
9794 * docs/gst/tmpl/gstminiobject.sgml:
9795 * docs/gst/tmpl/gstobject.sgml:
9796 * docs/gst/tmpl/gstpad.sgml:
9797 * docs/gst/tmpl/gstpadtemplate.sgml:
9798 * docs/gst/tmpl/gstparse.sgml:
9799 * docs/gst/tmpl/gstpipeline.sgml:
9800 * docs/gst/tmpl/gstplugin.sgml:
9801 * docs/gst/tmpl/gstpluginfeature.sgml:
9802 * docs/gst/tmpl/gstquery.sgml:
9803 * docs/gst/tmpl/gstqueue.sgml:
9804 * docs/gst/tmpl/gstregistry.sgml:
9805 * docs/gst/tmpl/gstregistrypool.sgml:
9806 * docs/gst/tmpl/gstscheduler.sgml:
9807 * docs/gst/tmpl/gstschedulerfactory.sgml:
9808 * docs/gst/tmpl/gststructure.sgml:
9809 * docs/gst/tmpl/gstsystemclock.sgml:
9810 * docs/gst/tmpl/gsttaglist.sgml:
9811 * docs/gst/tmpl/gsttagsetter.sgml:
9812 * docs/gst/tmpl/gsttrace.sgml:
9813 * docs/gst/tmpl/gsttrashstack.sgml:
9814 * docs/gst/tmpl/gsttypefind.sgml:
9815 * docs/gst/tmpl/gsttypefindfactory.sgml:
9816 * docs/gst/tmpl/gsttypes.sgml:
9817 * docs/gst/tmpl/gsturihandler.sgml:
9818 * docs/gst/tmpl/gsturitype.sgml:
9819 * docs/gst/tmpl/gstutils.sgml:
9820 * docs/gst/tmpl/gstvalue.sgml:
9821 * docs/gst/tmpl/gstversion.sgml:
9822 * docs/gst/tmpl/gstxml.sgml:
9823 * docs/libs/tmpl/gstcontrol.sgml:
9824 * docs/libs/tmpl/gstdataprotocol.sgml:
9825 * docs/libs/tmpl/gstdparam.sgml:
9826 * docs/libs/tmpl/gstdplinint.sgml:
9827 * docs/libs/tmpl/gstdpman.sgml:
9828 * docs/libs/tmpl/gstdpsmooth.sgml:
9829 * docs/libs/tmpl/gstgetbits.sgml:
9830 * docs/libs/tmpl/gstunitconvert.sgml:
9831 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9832 (gst_push_src_base_init), (gst_push_src_class_init),
9833 (gst_push_src_init), (gst_push_src_create):
9834 * gst/base/gstpushsrc.h:
9835 * gst/elements/gstelements.c:
9836 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9837 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9838 (gst_fake_sink_init), (gst_fake_sink_set_property),
9839 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9840 (gst_fake_sink_event), (gst_fake_sink_preroll),
9841 (gst_fake_sink_render), (gst_fake_sink_change_state):
9842 * gst/elements/gstfakesink.h:
9843 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9844 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9845 (gst_fake_src_base_init), (gst_fake_src_class_init),
9846 (gst_fake_src_init), (gst_fake_src_event_handler),
9847 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9848 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9849 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9850 (gst_fake_src_create_buffer), (gst_fake_src_create),
9851 (gst_fake_src_start), (gst_fake_src_stop):
9852 * gst/elements/gstfakesrc.h:
9853 * gst/elements/gstfilesink.c: (_do_init),
9854 (gst_file_sink_base_init), (gst_file_sink_class_init),
9855 (gst_file_sink_init), (gst_file_sink_dispose),
9856 (gst_file_sink_set_location), (gst_file_sink_set_property),
9857 (gst_file_sink_get_property), (gst_file_sink_open_file),
9858 (gst_file_sink_close_file), (gst_file_sink_query),
9859 (gst_file_sink_event), (gst_file_sink_render),
9860 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9861 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9862 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9863 * gst/elements/gstfilesink.h:
9864 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9865 (gst_file_src_class_init), (gst_file_src_init),
9866 (gst_file_src_finalize), (gst_file_src_set_location),
9867 (gst_file_src_set_property), (gst_file_src_get_property),
9868 (gst_file_src_map_region), (gst_file_src_map_small_region),
9869 (gst_file_src_create_mmap), (gst_file_src_create_read),
9870 (gst_file_src_create), (gst_file_src_is_seekable),
9871 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9872 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9873 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9874 (gst_file_src_uri_handler_init):
9875 * gst/elements/gstfilesrc.h:
9876 more autistic cleanliness in functions/names/defines
9878 2005-07-13 Andy Wingo <wingo@pobox.com>
9880 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9881 source couldn't negotiate.
9883 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9887 * gst/gstutils.c (gst_element_link_pads_filtered): New old
9888 function. I am channeling Hades. Put your boots on suckers!!!
9890 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9892 * testsuite/caps/Makefile.am:
9893 * testsuite/caps/value_compare.c:
9894 * testsuite/caps/value_intersect.c:
9895 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9896 move two testsuite apps over to the check dir
9898 2005-07-12 Wim Taymans <wim@fluendo.com>
9900 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9901 Added more debug info in the negotiate process.
9904 Prepare for segment playback.
9906 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9912 * tools/gst-launch.c: (main):
9913 NULL pipeline on errors.
9915 2005-07-12 Andy Wingo <wingo@pobox.com>
9917 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9918 not it comes from a malloc region. Make sure our copy gets freed.
9920 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9922 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9923 * check/gst/gstmessage.c: (GST_START_TEST):
9924 * check/gst/gststructure.c: (GST_START_TEST),
9925 (gst_structure_suite), (main):
9927 * gst/gstelement.c: (gst_element_message_full):
9928 clean up GError and debug string now that they get copied
9929 * gst/gstmessage.c: (gst_message_new_error),
9930 (gst_message_new_warning), (gst_message_parse_error),
9931 (gst_message_parse_warning):
9932 use GST_TYPE_G_ERROR for structure_new, and take copies of
9933 arguments, so that we don't mess up refcounting
9935 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9937 * check/Makefile.am:
9938 add per-test valgrind targets
9939 * check/gst-libs/gdp.c: (GST_START_TEST),
9940 (gst_data_protocol_suite), (main):
9943 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9945 * check/Makefile.am:
9946 instate more valgrindable tests
9947 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9948 (GST_START_TEST), (fakesrc_suite):
9949 * check/gst/gstpad.c: (GST_START_TEST):
9950 * check/gst/gststructure.c: (GST_START_TEST):
9952 * docs/gst/tmpl/gstminiobject.sgml:
9953 * gst/gstpad.c: (gst_pad_finalize):
9954 fix the static mutex leak
9956 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9958 * check/Makefile.am:
9959 add two more tests for valgrinding
9960 * check/gst/gstvalue.c: (GST_START_TEST):
9961 test refcount of deserialized buffer, found a leak
9962 * docs/gst/gstreamer-docs.sgml:
9963 * docs/gst/gstreamer-sections.txt:
9964 * docs/gst/gstreamer.types:
9965 * docs/gst/tmpl/gstminiobject.sgml:
9966 add miniobject to docs
9967 * gst/gstminiobject.c:
9969 * gst/gstvalue.c: (gst_value_deserialize_buffer),
9970 (gst_string_unwrap):
9971 fix a hard-to-find invalid write for one of the tests
9972 fix a leak for deserialized buffers
9974 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9976 * docs/pwg/advanced-events.xml:
9977 * docs/pwg/advanced-request.xml:
9978 * docs/pwg/advanced-scheduling.xml:
9979 * docs/pwg/appendix-porting.xml:
9980 * docs/pwg/building-boiler.xml:
9981 * docs/pwg/intro-preface.xml:
9982 * docs/pwg/other-ntoone.xml:
9983 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9984 of example code and explanation for pad activation, loop() and
9985 getrange() functions and a bit more. Remove old comments pointing
9987 * examples/pwg/Makefile.am:
9988 Add loop/getrange examples.
9990 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9993 check for valgrind binary + some fixes
9995 valgrind suppressions for the tests
9996 * check/Makefile.am:
9997 add a valgrind: target that valgrinds the unit tests
9998 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9999 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
10000 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10001 * check/gst/gstghostpad.c:
10003 * check/gst/gstdata.c:
10005 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
10006 (thread_unref), (gst_mini_object_suite), (main):
10008 * gst/gst.c: (gst_deinit):
10010 add a method to clean up.
10011 * gst/gstsystemclock.c: (gst_system_clock_dispose),
10012 (gst_system_clock_obtain):
10013 allow for disposing the system clock.
10014 * tools/gst-launch.c: (main):
10017 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
10019 * docs/gst/tmpl/gstbasesrc.sgml:
10020 * docs/gst/tmpl/gstfakesrc.sgml:
10021 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10022 (gst_base_src_init), (gst_base_src_set_property),
10023 (gst_base_src_get_property), (gst_base_src_get_range),
10024 (gst_base_src_start):
10025 * gst/base/gstbasesrc.h:
10026 add num-buffers property
10027 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10028 (gst_fakesrc_init), (gst_fakesrc_set_property),
10029 (gst_fakesrc_get_property), (gst_fakesrc_create),
10030 (gst_fakesrc_start):
10031 remove num-buffers property
10033 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
10035 * docs/gst/gstreamer-sections.txt:
10036 * docs/gst/tmpl/gstbasesink.sgml:
10037 * docs/gst/tmpl/gstbasesrc.sgml:
10038 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
10039 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
10040 (gst_base_sink_finalize), (gst_base_sink_set_clock),
10041 (gst_base_sink_set_property), (gst_base_sink_get_property),
10042 (gst_base_sink_handle_object), (gst_base_sink_event),
10043 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10044 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
10045 (gst_base_sink_loop), (gst_base_sink_deactivate),
10046 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
10047 (gst_base_sink_change_state):
10048 * gst/base/gstbasesink.h:
10049 * gst/base/gstbasesrc.h:
10050 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
10051 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10052 (gst_filesink_init):
10053 more macro splitting
10055 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
10057 * gst/gstelement.c: (gst_element_get_bus):
10059 * tools/gst-launch.c: (check_intr), (event_loop):
10062 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
10064 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
10067 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
10069 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10070 (gst_base_src_finalize):
10071 add finalize method and clean up properly
10072 * gst/gstpipeline.c: (gst_pipeline_dispose):
10075 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
10077 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
10079 add more things to check
10080 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
10081 * gst/gstelement.c:
10084 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
10086 * check/elements/gstfakesrc.c: (chain_func), (event_func),
10087 (GST_START_TEST), (fakesrc_suite):
10088 * check/gst-libs/gdp.c: (GST_START_TEST):
10089 * check/gst/gst.c: (GST_START_TEST):
10090 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
10091 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10092 * check/gst/gstbus.c: (GST_START_TEST):
10093 * check/gst/gstcaps.c: (GST_START_TEST):
10094 * check/gst/gstdata.c: (GST_START_TEST):
10095 * check/gst/gstelement.c: (GST_START_TEST):
10096 * check/gst/gstghostpad.c: (GST_START_TEST):
10097 * check/gst/gstiterator.c: (GST_START_TEST):
10098 * check/gst/gstmessage.c: (GST_START_TEST):
10099 * check/gst/gstobject.c: (GST_START_TEST):
10100 * check/gst/gstpad.c: (GST_START_TEST):
10101 * check/gst/gststructure.c: (GST_START_TEST):
10102 * check/gst/gstsystemclock.c: (GST_START_TEST),
10103 (gst_systemclock_suite):
10104 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10105 * check/gst/gstvalue.c: (GST_START_TEST):
10106 * check/pipelines/cleanup.c: (GST_START_TEST):
10107 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
10108 * check/states/sinks.c: (GST_START_TEST):
10109 * check/gstcheck.c: (gst_check_init):
10110 * check/gstcheck.h:
10111 add debugging category
10112 use GST_START_TEST now, so we add a debug line
10114 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
10116 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
10117 add test for state change message on a bin
10118 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
10120 * gst/gstbin.c: (gst_bin_init):
10121 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
10122 * gst/gstelement.c: (gst_element_post_message),
10123 (gst_element_set_state):
10124 * gst/gstelementfactory.c: (gst_element_factory_create):
10125 * gst/gstmessage.c: (gst_message_new):
10126 * gst/gstscheduler.c:
10127 various debugging additions and cleanups
10129 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
10131 * check/Makefile.am:
10132 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
10134 adding tests for elements
10135 * gst/gstelement.c: (gst_element_dispose):
10137 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
10139 * gst/registries/gstlibxmlregistry.c: (load_feature):
10140 plug more leaks. A simple gst_init() now is leakfree, yay.
10142 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
10144 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
10145 (gst_xml_registry_load):
10146 plug another memleak
10148 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
10151 use GST_SET_ERROR_CFLAGS
10152 * docs/faq/cvs.xml:
10153 change to ERROR_CFLAGS
10155 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
10158 make GST_ERROR_CFLAGS overridable and re-enable Werror
10159 * docs/faq/cvs.xml:
10160 add a note about error CFLAGS
10161 * docs/gst/tmpl/gstfakesrc.sgml:
10162 * gst/elements/gstfakesrc.c:
10163 comment out some unused code
10164 * gst/gst.c: (split_and_iterate):
10165 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
10169 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
10171 * common/Makefile.am:
10172 * common/gtk-doc.mak:
10173 * docs/gst/Makefile.am:
10174 factor out gtk-doc.mak
10176 2005-07-07 Wim Taymans <wim@fluendo.com>
10178 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
10179 (gst_thread_scheduler_dispose):
10180 Unlock the STREAM_LOCK completely.
10182 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
10184 * check/Makefile.am:
10185 * check/elements/.cvsignore:
10186 * check/elements/gstfakesrc.c: (chain_func), (event_func),
10187 (START_TEST), (fakesrc_suite), (main):
10188 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10189 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
10190 (gst_fakesrc_create), (gst_fakesrc_start):
10191 * gst/elements/gstfakesrc.h:
10192 adding a first element test
10194 2005-07-07 Andy Wingo <wingo@pobox.com>
10196 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
10199 2005-07-07 Wim Taymans <wim@fluendo.com>
10205 2005-07-07 Wim Taymans <wim@fluendo.com>
10207 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
10208 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
10209 Allow subclasses to implement their own negotiation.
10211 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
10213 * docs/design/part-gstbin.txt:
10214 * docs/design/part-gstpipeline.txt:
10215 Update design notes to reflect the movement of
10216 responsibility for bus handling from GstPipeline to
10219 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
10222 Remove unnecessary queue2/3/4 examples.
10224 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
10226 * examples/Makefile.am:
10227 * examples/helloworld/helloworld.c: (event_loop), (main):
10228 * examples/queue/queue.c: (event_loop), (main):
10229 * examples/queue2/queue2.c: (main):
10230 Update a couple of the examples to work again.
10232 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10233 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
10234 Spelling corrections and extra debug.
10236 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
10237 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
10238 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
10240 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
10241 (gst_pipeline_change_state):
10242 * gst/gstpipeline.h:
10243 Move the bus handler for children to the GstBin, and create a
10244 separate bus for receiving messages from children to the one the
10245 bus sends 'upwards' on.
10247 2005-07-06 Wim Taymans <wim@fluendo.com>
10250 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10251 (gst_base_sink_handle_object), (gst_base_sink_loop),
10252 (gst_base_sink_change_state):
10253 * gst/base/gstbasesink.h:
10254 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10255 (gst_base_src_init), (gst_base_src_setcaps),
10256 (gst_base_src_getcaps), (gst_base_src_loop),
10257 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
10258 (gst_base_src_start), (gst_base_src_change_state):
10259 * gst/base/gstbasesrc.h:
10260 Make basesrc negotiate.
10261 Handle the case where preroll fails in basesink.
10264 2005-07-06 Wim Taymans <wim@fluendo.com>
10266 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
10267 Implement the fixate function.
10268 Clean up acceptcaps.
10270 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10272 * docs/pwg/building-filterfactory.xml:
10273 * docs/pwg/pwg.xml:
10274 Remove never-written filter-factory chapter; I'll add the various
10275 base classes to part 4 ("other element types") later on.
10277 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10279 * docs/pwg/advanced-negotiation.xml:
10280 * docs/pwg/building-boiler.xml:
10281 * docs/pwg/building-pads.xml:
10282 * docs/pwg/pwg.xml:
10283 * examples/pwg/Makefile.am:
10284 Add a chapter on caps negotiation, simplify the original code
10285 samples a bit w.r.t. caps negotiation, add link to the advanced
10286 section. Add a bunch of examples showing different use cases of
10287 different types of caps negotiation. Upstream renegotiation isn't
10288 fully documented yet since nobody knows how that works.
10290 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
10292 * check/gst/gstpad.c:
10293 * check/gstcheck.c:
10294 * gst/gstpad.c: (gst_pad_get_internal_links_default):
10295 if pad has no parent, return NULL as list of internal links
10297 2005-07-05 Andy Wingo <wingo@pobox.com>
10299 * gst/elements/gstfilesrc.c:
10300 * gst/elements/gstfakesrc.c:
10301 * gst/base/gstpushsrc.c:
10302 * gst/base/gstbasesrc.h:
10303 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
10305 2005-07-05 Stefan Kost <ensonic@users.sf.net>
10308 better report generation target (lcov needs a patch)
10310 2005-07-05 Andy Wingo <wingo@pobox.com>
10312 * gst/elements, testsuite: Null if we got it...
10314 2005-07-05 Wim Taymans <wim@fluendo.com>
10317 * libs/gst/dataprotocol/Makefile.am:
10318 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
10319 * libs/gst/dataprotocol/dataprotocol.h:
10320 * pkgconfig/Makefile.am:
10321 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
10322 * pkgconfig/gstreamer-dataprotocol.pc.in:
10323 Ported dataprotol to 0.9.
10324 Added pkgconfig files.
10326 2005-07-05 Andy Wingo <wingo@pobox.com>
10328 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
10329 Default to returning TRUE for the case when tranform_caps returns
10330 a fixed caps, like for identity or volume.
10332 * check/gst/gstbus.c (pound_bus_with_messages):
10333 * check/gst/gstmessage.c (START_TEST):
10334 * check/pipelines/simple_launch_lines.c (got_handoff): Application
10335 message API change.
10337 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
10338 logic weaks here: always run transform_caps, trying passthrough
10339 operation only if the original caps intersects with the transform.
10341 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
10342 source and sink caps.
10344 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
10345 Intersect the peer caps with the pad template before going into
10347 (gst_base_transform_transform_caps): More debugging.
10349 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
10352 2005-07-04 Edward Hervey <edward@fluendo.com>
10356 (gst_pad_add_*_probe): now returns the signal id for better wrapping
10359 2005-07-04 Andy Wingo <wingo@pobox.com>
10361 * check/gst/gstpad.c: Only set explicit caps on pads.
10363 2005-07-01 Andy Wingo <wingo@pobox.com>
10365 * tests/network-clock.scm: Commentary update.
10367 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
10368 Didn't really make sense, not implementable with basetransform,
10370 (gst_identity_transform): Unref inbuf via make_writable. Feeble
10371 attempt at implementing the sync property, needs an unlock method.
10373 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
10374 New func, by default returns the same caps (the identity
10376 (gst_base_transform_getcaps): Uses transform_caps to return
10377 something sensible.
10378 (gst_base_transform_setcaps): Complicated logic to get caps on
10379 both pads, even if they are different, and to call set_caps once
10380 for every time both pads get their caps set.
10381 (gst_base_transform_handle_buffer): Give the ref to the transform
10382 function. Allows in-place modification of the buffer.
10384 * gst/base/gstbasetransform.h (transform_caps): New class method.
10385 Given caps on one side, what can I do on the other.
10386 (set_caps): Take two caps, one for each side of the element.
10389 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
10390 caps in place. This is safe because we can check the mutability of
10391 the caps, and a good idea because fixate functions are just called
10392 as a matter of last resort. (Not actually implemented.)
10393 (gst_pad_set_caps): If the caps we're setting is actually the same
10394 as the existing pad caps, just update the pointer without calling
10395 setcaps. Assert that caps is either NULL or fixed, as per the
10398 * gst/gstghostpad.c: Update for fixate changes.
10400 2005-07-02 Andy Wingo <wingo@pobox.com>
10403 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
10404 two refcounts makes it immutable, which is enough. Doc more.
10406 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
10408 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
10409 Put the mini_object into GValue as a mini_object,
10410 not a gpointer, since that's how we declared
10413 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10415 * examples/pwg/Makefile.am:
10416 Fix buildbot again.
10418 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10420 * docs/pwg/building-testapp.xml:
10422 * examples/pwg/Makefile.am:
10425 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10428 * examples/Makefile.am:
10429 * examples/pwg/Makefile.am:
10430 * examples/pwg/extract.pl:
10431 Enable building the PWG examples.
10432 * docs/pwg/advanced-interfaces.xml:
10433 Add URI interface stub.
10434 * docs/pwg/advanced-types.xml:
10435 * docs/pwg/other-autoplugger.xml:
10436 * docs/pwg/appendix-porting.xml:
10437 * docs/pwg/pwg.xml:
10438 Add porting guide (mostly stubs), remove autoplugging (see ADM).
10439 * docs/pwg/building-boiler.xml:
10440 * docs/pwg/building-chainfn.xml:
10441 * docs/pwg/building-pads.xml:
10442 * docs/pwg/building-props.xml:
10443 * docs/pwg/building-state.xml:
10444 * docs/pwg/building-testapp.xml:
10445 Update the building-*.xml parts for 0.9 changes. All examples
10446 code blocks compile in examples/pwg/*.
10448 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10450 * docs/manual/advanced-autoplugging.xml:
10451 * docs/manual/appendix-checklist.xml:
10452 * docs/manual/appendix-integration.xml:
10453 * docs/manual/highlevel-components.xml:
10454 Fix playbin/decodebin examples, update docs a bit, mention bus
10455 instead of signals in various places, mention kmplayer and
10456 kaffeine since they have a working GStreamer backend in the KDE
10459 2005-06-30 Wim Taymans <wim@fluendo.com>
10462 * docs/design/draft-ghostpads.txt:
10463 * docs/design/draft-push-pull.txt:
10464 * docs/design/draft-query.txt:
10465 * docs/design/part-TODO.txt:
10466 * docs/design/part-query.txt:
10467 Added CHANGES-0.9 doc, updated status of other docs.
10472 2005-06-30 Wim Taymans <wim@fluendo.com>
10474 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10475 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
10476 (gst_base_sink_change_state):
10477 * gst/base/gstbasesink.h:
10478 Some tweaks, only EOS and a buffer complete a preroll.
10480 2005-06-30 Andy Wingo <wingo@pobox.com>
10482 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
10483 activate_push down to the internal pad as well.
10485 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
10487 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10489 * gst/gsttaginterface.c:
10490 Some documentation fixes (#307394 and #307397).
10492 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
10494 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10496 * gst/gstvalue.c: (gst_value_intersect_list):
10497 Fix memleak (#309125).
10499 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10501 * docs/manual/advanced-dataaccess.xml:
10502 Fix fakesrc example to compile; doesn't work, bug somewhere...?
10503 * docs/manual/basics-pads.xml:
10504 Add reference for filtered caps to above chapter.
10506 2005-06-30 Wim Taymans <wim@fluendo.com>
10508 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
10509 (gst_bin_change_state):
10511 Lame attempt at making the state change function a bit
10514 2005-06-30 Wim Taymans <wim@fluendo.com>
10516 * docs/design/part-clocks.txt:
10517 * docs/design/part-element-sink.txt:
10518 * docs/design/part-events.txt:
10519 * docs/design/part-preroll.txt:
10520 * docs/design/part-states.txt:
10521 Some more tweeks and additions to the docs.
10523 2005-06-30 Wim Taymans <wim@fluendo.com>
10525 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10526 (default_have_data), (gst_pad_class_init), (gst_pad_init),
10527 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10528 (gst_pad_check_pull_range), (gst_pad_get_range),
10529 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
10531 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
10532 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10533 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10534 (gst_pad_remove_buffer_probe):
10535 Removed atomic operations, use existing LOCK.
10536 Move exception handling out of main code path.
10538 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10540 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10541 (silly_return_true_function), (gst_pad_class_init),
10542 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10543 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
10544 (gst_pad_send_event):
10545 Fix accumulator, add default value by using _emitv() instead
10546 of _emit() for signal emission.
10548 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10550 * docs/manual/advanced-dataaccess.xml:
10551 * examples/manual/Makefile.am:
10553 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
10556 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
10558 * gst/elements/gstfilesink.c: (gst_filesink_render):
10559 Simplify code so that we don't have to handle short
10560 writes and return GST_FLOW_ERROR if an error occured.
10562 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10564 * docs/gst/gstreamer-docs.sgml:
10565 Remove probes more.
10567 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10569 * docs/gst/gstreamer-sections.txt:
10570 * docs/gst/tmpl/gstpad.sgml:
10571 * docs/gst/tmpl/gstprobe.sgml:
10573 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10574 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
10575 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10576 (gst_pad_push_event), (gst_pad_send_event):
10578 * gst/gstutils.c: (gst_pad_add_data_probe),
10579 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10580 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10581 (gst_pad_remove_buffer_probe):
10583 Remove old probes, add new g-signal-based probes and some utility
10586 2005-06-29 Edward Hervey <edward@fluendo.com>
10588 * gst/gstelementfactory.c:
10591 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
10592 the definition to the header file.
10594 2005-06-29 Andy Wingo <wingo@pobox.com>
10596 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10597 plugins from the source directory.
10599 2005-06-29 Wim Taymans <wim@fluendo.com>
10601 * docs/gst/tmpl/gstbuffer.sgml:
10602 * docs/gst/tmpl/gstclock.sgml:
10603 Some fixings for blantently wrong text.
10605 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10607 * check/Makefile.am:
10608 * gst/gst.c: (add_path_func), (init_pre):
10609 * gst/gstregistry.c: (gst_registry_add_path):
10610 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10611 only scan the GST_PLUGIN_PATH locations, and not add
10614 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10616 * docs/gst/gstreamer-sections.txt:
10617 * docs/gst/tmpl/gstbasesrc.sgml:
10618 * gst/gstelement.c:
10619 * gst/gstelement.h:
10624 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10626 * docs/manual/advanced-autoplugging.xml:
10627 Fix autoplugging example.
10629 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10631 * docs/manual/advanced-autoplugging.xml:
10632 * docs/manual/mime-world.fig:
10633 Try to get autoplugging working, fix type detection. Fix text
10634 in hello-world image.
10636 2005-06-29 Wim Taymans <wim@fluendo.com>
10638 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10639 (gst_base_sink_change_state):
10643 map SIGNAL and BROADCAST to the right function.
10646 Remove redundant braces.
10648 * gst/gstpad.c: (gst_pad_set_caps):
10649 Don't call setcaps function when reseting caps to NULL.
10651 * gst/gstsystemclock.c: (gst_system_clock_dispose),
10652 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10653 (gst_system_clock_id_unschedule):
10654 Use BROADCAST as this is what we do.
10656 2005-06-29 Wim Taymans <wim@fluendo.com>
10658 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10659 We are actually prerolling before commiting the state
10662 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10664 * docs/manual/advanced-clocks.xml:
10665 * docs/manual/advanced-interfaces.xml:
10666 * docs/manual/advanced-metadata.xml:
10667 * docs/manual/advanced-position.xml:
10668 * docs/manual/advanced-schedulers.xml:
10669 * docs/manual/advanced-threads.xml:
10670 * docs/manual/appendix-porting.xml:
10671 * docs/manual/basics-bins.xml:
10672 * docs/manual/basics-bus.xml:
10673 * docs/manual/basics-elements.xml:
10674 * docs/manual/basics-helloworld.xml:
10675 * docs/manual/basics-pads.xml:
10676 * docs/manual/highlevel-components.xml:
10677 * docs/manual/manual.xml:
10678 * docs/manual/thread.fig:
10679 Update (until threads/scheduling) Application Development Manual;
10680 remove GstThread, add GstBus, add simple porting checklist, add
10681 documentation for tag writing, clocks, make all examples until this
10682 part compile and run.
10683 * examples/manual/Makefile.am:
10684 Update from changes to Application Development Manual; add bus
10685 example, remove thread example.
10687 2005-06-28 Wim Taymans <wim@fluendo.com>
10689 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10690 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10691 (gst_bus_source_dispatch):
10692 Add debugging messages.
10693 Make internal methods static.
10694 Handle the case where the bus is flushed in the handler.
10696 * gst/gstelement.c: (gst_element_get_bus):
10697 Fix refcount in _get_bus();
10699 * gst/gstpipeline.c: (gst_pipeline_change_state),
10700 (gst_pipeline_get_clock_func):
10701 Clock refcounting fixes.
10702 Handle the case where preroll timed out more gracefully.
10704 * gst/gstsystemclock.c: (gst_system_clock_dispose):
10705 Clean up the internal thread in dispose. This is needed
10706 for subclasses that actually get disposed.
10708 * gst/schedulers/threadscheduler.c:
10709 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10710 (gst_thread_scheduler_dispose):
10711 Free thread pool in dispose.
10713 2005-06-28 Andy Wingo <wingo@pobox.com>
10715 * tests/network-clock-utils.scm (debug, print-event): New utils.
10717 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10718 (*packet-loss*): Unified loss probability.
10719 (network-time): Report out-of-band events.
10721 * tests/plot-data: Add support for out-of-band events. Hack it
10722 into this script instead of passing it down the pipe; should fix
10725 2005-06-28 Wim Taymans <wim@fluendo.com>
10727 * docs/gst/gstreamer.types:
10728 * docs/gst/tmpl/gstbasesrc.sgml:
10729 * docs/gst/tmpl/gstpad.sgml:
10732 2005-06-28 Wim Taymans <wim@fluendo.com>
10734 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10735 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10736 (gst_proxy_pad_do_fixatecaps):
10737 Correctly proxy the check_pull_range function.
10739 2005-06-28 Andy Wingo <wingo@pobox.com>
10741 * tests/network-clock.scm: Removed need for slib.
10743 2005-06-28 Wim Taymans <wim@fluendo.com>
10745 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10746 (gst_basesink_preroll_queue_flush):
10747 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10748 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10749 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10750 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10751 (gst_proxy_pad_set_property):
10754 * gst/gstqueue.c: (gst_queue_init):
10755 The deprecated pad loop function is removed now.
10757 2005-06-28 Andy Wingo <wingo@pobox.com>
10759 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10760 New parameters, simulate network packet loss.
10762 * tests/network-clock-utils.scm: Initialize the RNG.
10764 2005-06-28 Wim Taymans <wim@fluendo.com>
10766 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10767 (gst_basesink_event), (gst_basesink_deactivate):
10768 Flushing the preroll queue always needs to unlock the waiters.
10770 2005-06-28 Edward Hervey <edward@fluendo.com>
10772 * gst/gstpipeline.c: (gst_pipeline_send_event):
10773 Wheen a seek was successful on a pipeline, set the stream_time to the
10774 seek offset in order to have a synchronized stream_time.
10776 2005-06-28 Wim Taymans <wim@fluendo.com>
10778 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10779 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10780 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10781 (gst_proxy_pad_do_fixatecaps):
10782 Call wrapper function instead of just calling the function
10783 pointers. This takes care of any locking and whatmore.
10785 2005-06-28 Wim Taymans <wim@fluendo.com>
10787 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10788 (gst_pad_pull_range):
10790 CONNECTED -> LINKED.
10792 2005-06-28 Andy Wingo <wingo@pobox.com>
10794 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10795 source-munging commit!!!
10797 * gst/gstobject.c (gst_object_unref, gst_object_ref)
10798 (gst_object_sink): Take gpointer arguments, not GstObject --
10799 avoids casts. Like GLib.
10801 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10804 2005-06-27 Andy Wingo <wingo@pobox.com>
10806 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10809 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10810 returns a sorted copy of the trace list.
10811 (gst_alloc_trace_print_live): New API, only prints traces with
10812 live objects. Sort the list.
10813 (gst_alloc_trace_print_all): Sort the list.
10814 (gst_alloc_trace_print): Align columns.
10816 * gst/elements/gstttypefindelement.c:
10817 * gst/elements/gsttee.c:
10818 * gst/base/gstbasesrc.c:
10819 * gst/base/gstbasesink.c:
10820 * gst/base/gstbasetransform.c:
10821 * gst/gstqueue.c: Adapt for pad activation changes.
10823 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10825 (gst_pipeline_dispose): Drop ref on sched.
10827 * gst/gstpad.c (gst_pad_init): Set the default activate func.
10828 (gst_pad_activate_default): Push mode by default.
10829 (pre_activate_switch, post_activate_switch): New stubs, things to
10830 do before and after switching activation modes on pads.
10831 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10832 the pad's activate function to choose which mode to activate.
10833 Shortcut on deactivation and call the right function directly.
10834 (gst_pad_activate_pull): New API, (de)activates a pad in pull
10836 (gst_pad_activate_push): New API, same for push mode.
10837 (gst_pad_set_activate_function)
10838 (gst_pad_set_activatepull_function)
10839 (gst_pad_set_activatepush_function): Setters for new API.
10841 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10842 Trace all miniobjects.
10843 (gst_mini_object_make_writable): Unref the arg if we copy, like
10844 gst_caps_make_writable.
10846 * gst/gstmessage.c (_gst_message_initialize): No trace init.
10848 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
10849 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10850 Adapt for new pad API.
10852 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10854 * gst/gstelement.h:
10855 * gst/gstelement.c (gst_element_iterate_src_pads)
10856 (gst_element_iterate_sink_pads): New API functions.
10858 * gst/gstelement.c (iterator_fold_with_resync): New utility,
10859 should fold into gstiterator.c in some form.
10860 (gst_element_pads_activate): Simplified via use of fold and
10861 delegation of decisions to gstpad->activate.
10863 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10866 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10867 class once in init, like gstmessage. Didn't run into this issue
10868 but it seems correct. Don't initialize a trace, gstminiobject does
10871 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10872 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10874 (assert_live_count): New util function, uses alloc traces to check
10877 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10878 To be modified when unlink drops the internal pad.
10880 2005-06-27 Wim Taymans <wim@fluendo.com>
10882 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10883 (gst_bin_change_state):
10884 Cleanup the get_state() function a little, make sure it
10885 iterates the same set of elements.
10886 Added stub iterate_state_order().
10888 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
10890 * docs/gst/gstreamer-docs.sgml:
10891 * docs/gst/gstreamer-sections.txt:
10892 * docs/gst/gstreamer.types:
10893 * docs/gst/tmpl/gstbasesink.sgml:
10894 * docs/gst/tmpl/gstbasesrc.sgml:
10895 * docs/gst/tmpl/gstbasetransform.sgml:
10896 * docs/gst/tmpl/gstelement.sgml:
10897 * docs/gst/tmpl/gstiterator.sgml:
10898 * gst/base/gstbasesrc.c:
10899 * gst/base/gstbasesrc.h:
10900 * gst/base/gstbasetransform.h:
10901 * gst/gstelement.c:
10902 * gst/gstiterator.h:
10903 adding basetransform and iterator docs
10905 2005-06-27 Andy Wingo <wingo@pobox.com>
10907 * docs/design/part-activation.txt: Notes on how activation should
10908 work -- not quite implemented yet.
10910 2005-06-25 Wim Taymans <wim@fluendo.com>
10912 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10913 At least get the chain function correct, needs more
10916 2005-06-25 Wim Taymans <wim@fluendo.com>
10918 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10919 (gst_basesink_handle_object), (gst_basesink_event),
10920 (gst_basesink_do_sync), (gst_basesink_handle_event),
10921 (gst_basesink_change_state):
10923 Right, two problems here: ghostpads don't take locks and
10924 glib _rec_mutex_lock_full() with depth==0 still locks.
10925 Catch illegal locking and g_warn them.
10927 2005-06-25 Wim Taymans <wim@fluendo.com>
10929 * check/states/sinks.c: (START_TEST), (gst_object_suite):
10930 Have to check for completion now...
10932 2005-06-25 Wim Taymans <wim@fluendo.com>
10934 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10935 (gst_basesink_handle_object), (gst_basesink_event),
10936 (gst_basesink_do_sync), (gst_basesink_handle_event),
10937 (gst_basesink_change_state):
10939 Unlock STREAM_LOCK whatever the recursion was.
10941 2005-06-25 Wim Taymans <wim@fluendo.com>
10943 * gst/base/gstbasesink.c: (gst_basesink_set_property),
10944 (gst_basesink_preroll_queue_empty),
10945 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10946 (gst_basesink_event), (gst_basesink_do_sync),
10947 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10948 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10949 (gst_basesink_change_state):
10950 Reworked the base sink, handle event and buffer serialisation
10951 correctly and removed possible deadlock.
10952 Handle EOS correctly.
10954 2005-06-25 Wim Taymans <wim@fluendo.com>
10956 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10957 (gst_pipeline_change_state):
10958 * tools/gst-launch.c: (check_intr), (event_loop), (main):
10959 Allow elements to post EOS in the state change function.
10960 Fix up -launch, make it exit the poll loop when the
10961 pipeline actually changed state.
10962 Fix up warning parsing in -launch.
10964 2005-06-25 Wim Taymans <wim@fluendo.com>
10966 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10967 (gst_tee_sink_activate):
10968 Core takes STREAM_LOCK for us now.
10970 2005-06-25 Wim Taymans <wim@fluendo.com>
10972 * gst/gstelement.c: (gst_element_get_state_func),
10973 (gst_element_set_state):
10974 * gst/gstelement.h:
10975 * gst/gstmessage.c: (gst_message_parse_error),
10976 (gst_message_parse_warning):
10977 Keep track of current target state while performing a state
10978 change so that subclasses can do something interesting.
10979 Fix parsing of warning/error messages when GError is NULL.
10981 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
10983 * docs/gst/Makefile.am:
10984 * docs/gst/gstreamer-docs.sgml:
10985 * docs/gst/gstreamer-sections.txt:
10986 * docs/gst/gstreamer.types:
10987 * docs/gst/tmpl/gstbasesink.sgml:
10988 * docs/gst/tmpl/gstbasesrc.sgml:
10989 * docs/gst/tmpl/gstbin.sgml:
10990 * docs/gst/tmpl/gstcompat.sgml:
10991 * docs/gst/tmpl/gstfakesink.sgml:
10992 * docs/gst/tmpl/gstfakesrc.sgml:
10993 * docs/gst/tmpl/gstfilesink.sgml:
10994 * docs/gst/tmpl/gstfilesrc.sgml:
10995 * docs/gst/tmpl/gstindex.sgml:
10996 * docs/manual/appendix-quotes.xml:
10997 * gst/base/gstbasesrc.h:
10998 * gst/elements/gstfakesrc.h:
10999 * gst/gstmessage.h:
11000 start pulling in base classes and elements in our docs
11002 2005-06-24 Stefan Kost <ensonic@users.sf.net>
11004 * docs/gst/Makefile.am:
11005 * docs/libs/Makefile.am:
11006 fixed make distcheck with gtk-doc 1.3
11008 2005-06-23 Wim Taymans <wim@fluendo.com>
11010 * gst/gstelement.c: (gst_element_get_state_func),
11011 (gst_element_set_state), (gst_element_change_state):
11012 When the state did not change, also report NO_PREROLL
11015 2005-06-23 Wim Taymans <wim@fluendo.com>
11017 * gst/gstpad.c: (gst_pad_event_default):
11018 * gst/gstqueue.c: (gst_queue_loop):
11019 No unsafe task pausing please.
11021 2005-06-23 Wim Taymans <wim@fluendo.com>
11023 * gst/schedulers/threadscheduler.c:
11024 (gst_thread_scheduler_task_start),
11025 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
11026 Ref the task before pushing it on the threadpool. This
11027 makes sure that we have a ref when the threadfunction is
11030 2005-06-23 Andy Wingo <wingo@pobox.com>
11032 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
11033 offset is greater than the file's size.
11035 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
11036 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
11037 * gst/gstobject.c (gst_object_class_init): Make the class lock
11038 recursive. Wim won't let me drop deep_notify. Decodebin works
11039 again, whoopdy doo.
11041 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
11042 internal pad, and hacks accordingly. Doesn't do it on the target
11043 pad because we change its caps. Probably catches all cases of
11045 (gst_ghost_pad_set_property): Connect to notify::caps as
11048 * tests/network-clock.scm (plot-simulation): Pipe data to the
11049 elite python skript.
11051 * tests/network-clock-utils.scm (define-parameter): New macro,
11052 defines a parameter that can be set via the command line.
11053 (set-parameter!, parse-parameter-arguments): Command line args
11056 * tests/plot-data: Simple matplotlib-based plotter, takes input on
11059 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
11061 * gst/elements/gsttypefindelement.c:
11062 (gst_type_find_element_handle_event):
11063 Don't restart typefinding on a discont.
11064 * gst/gstelement.c: (gst_element_set_state):
11065 Debug spelling fix.
11066 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
11067 Allow changing mode of an active pad.
11068 Debug output fixes.
11069 * gst/registries/gstlibxmlregistry.c: (load_feature):
11070 Don't cast a static pad template to a normal pad template.
11072 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
11074 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
11075 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11076 remove gst_strtoll completely, since it didn't actually do
11077 anything more than what g_ascii_strtoull already does.
11078 check for range errors when deserializing
11079 do a cast for the unsigned cases; but further fixing needs
11080 a decision on what the interpretation of "(int)" and
11081 deserialization should be for values that fall outside the
11082 type's boundaries (ie, refuse, or interpret as casting)
11084 2005-06-23 Wim Taymans <wim@fluendo.com>
11086 * check/Makefile.am:
11087 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
11088 * docs/design/part-live-source.txt:
11089 * docs/design/part-states.txt:
11090 * gst/base/gstbasesrc.c: (gst_basesrc_init),
11091 (gst_basesrc_set_live), (gst_basesrc_is_live),
11092 (gst_basesrc_get_range), (gst_basesrc_activate),
11093 (gst_basesrc_change_state):
11094 * gst/base/gstbasesrc.h:
11095 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11096 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11097 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
11098 * gst/gstelement.c: (gst_element_get_state_func),
11099 (gst_element_set_state):
11100 * gst/gstelement.h:
11102 * tools/gst-launch.c: (event_loop), (main):
11103 Added support for live sources and other elements that
11105 Updated design docs, added live-source design doc.
11106 Implemented live source functionality in basesrc
11107 Fix error condition in _bin_get_state()
11108 Implement live source handling in -launch.
11109 Added check for live sources.
11110 Fixed case in GstBin where elements were changed state
11114 2005-06-23 Andy Wingo <wingo@pobox.com>
11116 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
11117 borken refcounting.
11119 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
11120 gst_caps_replace takes care of this for us.
11122 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
11123 gst_pad_set_caps on the target, not just its setcaps() function.
11125 * tests/network-clock.scm:
11126 * tests/network-clock-utils.scm: A network clock simulator.
11127 Something of an algorithmic testbed before doing something in C.
11129 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
11131 * check/Makefile.am:
11132 * check/gst/capslist.h:
11133 copy over from 0.8, and add two with bitmasks specified with
11135 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
11136 add test to parse everything from capslist.h
11137 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
11139 add test for structure deserialization
11140 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
11141 add tests for deserialization of strings to int types
11142 * gst/gststructure.c: (gst_structure_nth_field_name):
11143 * gst/gststructure.h:
11144 add a way to get the name of a field referenced by index
11145 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11146 instead of checking if the resulting long long lies between
11147 min and max, we check if the long long would fit into
11148 a number of bytes for the final type.
11149 This fixes cases where a string represents 2^32 - 1, which
11150 when cast to int would be the (valid) -1, but is bigger than
11153 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
11155 * gst/parse/grammar.y:
11156 add a log line for type deserialization
11158 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
11160 * check/gst/gstvalue.c: (START_TEST):
11161 * gst/gstvalue.c: (gst_value_deserialize):
11162 return long long, not int, so gint64 deserialization actually
11163 works. Is there any flag that makes the compiler check this ?
11166 2005-06-22 Wim Taymans <wim@fluendo.com>
11169 Added convenience macros for setting buffers in GValue.
11171 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
11173 * check/gst/.cvsignore:
11174 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
11175 add a test deserializing int64, and comment part out because
11178 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
11180 * check/Makefile.am:
11181 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
11182 * testsuite/Makefile.am:
11183 * testsuite/caps/Makefile.am:
11184 * testsuite/caps/value_serialize.c:
11185 * testsuite/test_gst_init.c:
11186 move a value_serialize test over
11188 2005-06-20 Wim Taymans <wim@fluendo.com>
11193 * gst/gstvalue.c: (gst_value_compare_buffer),
11194 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
11195 (gst_value_compare_flags), (gst_value_serialize_flags),
11196 (gst_value_deserialize_flags), (_gst_value_initialize):
11197 Fix serialisation of buffers, they are not boxed types anymore
11199 2005-06-20 Wim Taymans <wim@fluendo.com>
11201 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
11202 Testcase to show error in buffer-on-caps serialisation.
11204 2005-06-20 Andy Wingo <wingo@pobox.com>
11206 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
11207 will be adding to later.
11209 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
11210 if its socks fill with rocks.
11211 (gst_system_clock_obtain): Set the name on object construction.
11212 Avoid double-checked locking.
11214 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
11216 * gst/gsturi.c: (gst_element_make_from_uri):
11217 Fix potential endless loop.
11219 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
11221 * check/Makefile.am:
11223 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
11225 move over from testsuite dir and clean up
11228 * testsuite/Makefile.am:
11229 * testsuite/tags/.cvsignore:
11230 * testsuite/tags/Makefile.am:
11231 * testsuite/tags/merge.c:
11232 remove testsuite/tags
11234 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
11236 * docs/gst/gstreamer-sections.txt:
11237 * docs/gst/tmpl/gstenumtypes.sgml:
11238 * win32/gstenumtypes.c:
11239 clean up documentation build a little
11241 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
11243 * check/gstcheck.h:
11244 add macros for checking refcounts on objects and caps
11245 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
11246 add some more unit tests
11247 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
11248 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
11249 fix leaked refcounts (I hope :)) so unittest works
11253 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
11255 * configure.ac: back to HEAD
11257 === release 0.9.1 ===
11259 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
11265 2005-06-17 Andy Wingo <wingo@pobox.com>
11267 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
11268 assert; it's always possible that the pad gets deactivated in
11269 between the checks in gstpad.c and the implementation. Rely on
11270 finish_preroll() to return a FLUSHING or similar instead of on the
11273 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
11274 clock and post an EOS message if we come out of finish_preroll in
11277 2005-06-16 David Schleef <ds@schleef.org>
11279 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
11280 (gst_capsfilter_set_property): Allow NULL as possible value
11281 for filter_caps property, indicating GST_CAPS_ANY.
11283 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
11285 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
11287 * gst/schedulers/Makefile.am:
11289 * gstreamer.spec.in:
11292 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
11294 * gstreamer.spec.in:
11297 2005-06-08 Andy Wingo <wingo@pobox.com>
11299 * gst/gstutils.c: RPAD fixes all around.
11300 (gst_element_link_pads): Refcounting fixes.
11302 * tools/gst-inspect.c:
11303 * tools/gst-xmlinspect.c:
11305 * gst/base/gsttypefindhelper.c:
11306 * gst/base/gstbasesink.c:
11307 * gst/gstqueue.c: RPAD fixes.
11309 * gst/gstghostpad.h:
11310 * gst/gstghostpad.c: New ghost pad implementation as full proxy
11311 pads. The tricky thing is they provide both source and sink
11312 interfaces, since they proxy the internal pad for the external
11313 pad, and vice versa. Implement with lower-level ProxyPad objects,
11314 with the interior proxy pad as a child of the exterior ghost pad.
11315 Should write a doc on this.
11317 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
11318 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
11321 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
11322 pads are real pads. No ghost pads in this file. Not documenting
11323 the myriad s/RPAD/PAD/ and REALIZE fixes.
11324 (gst_pad_class_init): Add properties for "direction" and
11325 "template". Both are construct-only, so they can't change during
11326 the life of the pad. Fixes properly deriving from GstPad.
11327 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
11328 derived objects, just set properties when creating the objects via
11330 (gst_pad_get_parent): Implement as a function, return NULL if the
11331 parent is not an element.
11332 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
11333 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
11335 * gst/gstobject.c (gst_object_class_init): Make name a construct
11336 property. Don't set it in the object init.
11338 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
11339 with UNKNOWN direction.
11340 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
11341 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
11342 (gst_element_remove_pad): Remove ghost-pad special cases.
11343 (gst_element_pads_activate): Remove rpad cruft.
11345 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
11346 catch the pad's-parent-not-an-element case.
11348 * gst/gst.h: Include gstghostpad.h.
11350 * gst/gst.c (init_post): No more real, ghost pads.
11352 * gst/Makefile.am: Add gstghostpad.[ch].
11354 * check/Makefile.am:
11355 * check/gst/gstbin.c:
11356 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
11357 into a bin creates ghost pads, and that the refcounts are right.
11358 Partly moved from gstbin.c.
11360 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
11362 * check/gst-libs/.cvsignore:
11363 * check/gst/.cvsignore:
11364 * check/pipelines/.cvsignore:
11366 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
11367 (START_TEST), (cleanup_suite), (main):
11368 add some tests related to cleanup after running pipelines
11370 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
11372 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
11373 add a testsuite for GstBuffer
11375 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
11377 * gst/gstminiobject.h:
11378 add defines for accessing the refcount
11380 2005-06-03 Stefan Kost <ensonic@users.sf.net>
11382 * Makefile.am: added support for html unit test coverage reports
11384 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
11386 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
11387 Free existing caps if the capsfilter changes. Add a FIXME about
11388 setting those caps on the pads.
11390 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
11391 Before adding a ghost pad to a parent bin, check that there isn't
11392 already one for the element on the bin. Prevents infinite recursion
11393 when using decodebin in parse pipelines. Andy says he'll rewrite the
11394 way this works anyway, so ignore the hack.
11396 2005-06-02 Andy Wingo <wingo@pobox.com>
11398 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
11399 file size, pass it on to the type find helper.
11401 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
11402 segment_start and segment_end properly according to the seek
11403 method. Segment_end is still a bit flaky because offset can be
11404 negative for CUR and END cases, but it takes -1 as an "unset"
11407 2005-06-02 Wim Taymans <wim@fluendo.com>
11409 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
11410 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
11411 (gst_basesink_activate):
11412 * gst/base/gstbasesink.h:
11413 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11414 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11415 (gst_pad_query), (gst_pad_start_task):
11417 * gst/gstqueue.c: (gst_queue_bufferalloc),
11418 (gst_queue_handle_sink_event), (gst_queue_chain):
11419 Bufferalloc: return GstFlowReturn to more accuratly report
11420 why allocation failed.
11422 2005-06-02 Wim Taymans <wim@fluendo.com>
11424 * gst/gstpipeline.c: (gst_pipeline_send_event):
11425 Take snapshot of state without blocking.
11427 2005-06-02 Wim Taymans <wim@fluendo.com>
11429 * docs/design/part-TODO.txt:
11430 * docs/design/part-caps.txt:
11431 * docs/design/part-clocks.txt:
11432 * docs/design/part-negotiation.txt:
11433 * docs/design/part-preroll.txt:
11436 2005-05-30 Wim Taymans <wim@fluendo.com>
11438 * gst/elements/gstidentity.c: (gst_identity_event),
11439 (gst_identity_transform), (gst_identity_get_property):
11440 Protect last_message property as it is accessed from
11443 2005-05-30 Wim Taymans <wim@fluendo.com>
11445 * gst/gstelement.c: (gst_element_init),
11446 (gst_element_pads_activate), (gst_element_change_state):
11447 Slicker pad activation code.
11449 2005-05-30 Wim Taymans <wim@fluendo.com>
11452 * gst/gstelement.h:
11453 * gst/gstelementfactory.h:
11455 Move elementfactory methods to separate .h file.
11457 2005-05-30 Wim Taymans <wim@fluendo.com>
11459 * docs/design/part-overview.txt:
11460 * gst/gstsystemclock.h:
11461 Small typo fixes, doc updates.
11463 2005-05-30 Wim Taymans <wim@fluendo.com>
11465 * gst/gst.c: (gst_init_get_popt_table), (init_post),
11466 (init_popt_callback):
11467 Remove cpu-opt flag.
11469 2005-05-30 Wim Taymans <wim@fluendo.com>
11471 * gst/gstbuffer.c: (gst_subbuffer_finalize),
11472 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
11474 Avoid typechecking in places where not needed.
11475 Added accessor for malloc_data.
11477 2005-05-30 Wim Taymans <wim@fluendo.com>
11479 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
11480 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
11481 (gst_pad_configure_sink), (gst_pad_configure_src),
11482 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
11483 (gst_pad_start_task):
11484 Propagate errors from _set_caps() in configure_src/sink
11485 functions instead of returning TRUE.
11486 FLUSH events can travel up and downstream
11489 2005-05-30 Wim Taymans <wim@fluendo.com>
11491 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11492 (gst_basesink_activate):
11493 Handle EOS in preroll.
11495 2005-05-30 Wim Taymans <wim@fluendo.com>
11497 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11498 (gst_queue_loop), (gst_queue_handle_src_event):
11499 Remove old pieces of code
11500 Flushing the queue in an upstream event is a very bad idea.
11502 2005-05-26 Andy Wingo <wingo@pobox.com>
11504 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
11505 gst_value_set_mini_object so as to add a ref on the object (which
11506 will be removed when the value is unset).
11508 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
11509 arg type in ::handoff.
11511 * gst/gstelement.c (gst_element_change_state): Also deactivate
11512 pads in READY->NULL, just in case the element didn't make it to
11513 PAUSED. Wingo tested, Wim approved.
11515 2005-05-26 Wim Taymans <wim@fluendo.com>
11517 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11518 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11519 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
11520 A flushing pad cannot be used to alloc_buffer from.
11522 2005-05-26 Wim Taymans <wim@fluendo.com>
11524 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
11525 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
11526 (gst_bus_source_dispatch), (gst_bus_source_finalize),
11527 (gst_bus_create_watch), (gst_bus_add_watch_full):
11529 Implement a real GSource and use g_main_context_wakeup() to
11530 signal new messages instead of the socketpair.
11532 2005-05-25 Wim Taymans <wim@fluendo.com>
11534 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
11535 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
11536 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11537 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11538 (gst_pad_send_event), (gst_pad_start_task):
11539 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
11540 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
11541 (gst_queue_sink_activate), (gst_queue_src_activate),
11542 (gst_queue_change_state):
11544 Fix state changes for non sinks. We now change sinks, then elements
11545 with unconnected srcpads, then the rest.
11546 More efficient queue unlocking in flush and state changes.
11547 Set the pad activate mode even if it does not have an activate
11550 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11552 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
11553 Don't go in pull mode for non-seekable sources.
11554 * gst/elements/gsttypefindelement.h:
11555 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11556 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
11557 (free_entry), (stop_typefinding),
11558 (gst_type_find_element_handle_event), (find_peek),
11559 (gst_type_find_element_chain), (do_pull_typefind),
11560 (gst_type_find_element_change_state):
11561 Allow typefinding (w/o seeking) in push-mode, simplified version
11562 of what was in 0.8.
11563 * gst/gstutils.c: (gst_buffer_join):
11565 gst_buffer_join() from 0.8.
11567 2005-05-25 Wim Taymans <wim@fluendo.com>
11569 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11570 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11571 (gst_pad_send_event), (gst_pad_start_task):
11572 Disable attempt at mode switching until it is figured out.
11574 2005-05-25 Wim Taymans <wim@fluendo.com>
11576 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
11577 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11578 (gst_basesink_finish_preroll), (gst_basesink_chain),
11579 (gst_basesink_loop), (gst_basesink_activate),
11580 (gst_basesink_change_state):
11581 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
11582 (gst_basesrc_get_range), (gst_basesrc_loop),
11583 (gst_basesrc_activate):
11584 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11585 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11586 (gst_real_pad_init), (gst_real_pad_set_property),
11587 (gst_real_pad_get_property), (gst_pad_set_active),
11588 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
11589 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
11590 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
11591 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
11592 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11593 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
11594 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11595 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11596 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11597 (gst_pad_stop_task):
11599 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11600 (gst_queue_loop), (gst_queue_src_activate):
11601 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11602 (gst_task_get_state):
11604 * gst/schedulers/threadscheduler.c:
11605 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11606 Implement gst_pad_pause/start/stop_task(), take STREAM lock
11608 Remove ACTIVE pad flag, use FLUSHING everywhere
11609 Added _pad_chain(), _pad_get_range() to call chain/getrange
11611 Add locks around IS_FLUSHING when reading.
11612 Take STREAM lock in chain(), get_range() functions so plugins
11613 don't need to take it anymore.
11617 2005-05-25 Wim Taymans <wim@fluendo.com>
11619 * tools/gst-launch.c: (event_loop):
11620 Unref message after using its contents instead of
11623 2005-05-24 Wim Taymans <wim@fluendo.com>
11625 * docs/design/draft-ghostpads.txt:
11626 * docs/design/draft-push-pull.txt:
11627 * docs/design/draft-query.txt:
11628 * docs/design/part-overview.txt:
11629 Docs updates, added general overview doc.
11631 2005-05-21 David Schleef <ds@schleef.org>
11633 * docs/gst/tmpl/old/GstBin.sgml:
11634 * docs/gst/tmpl/old/GstBuffer.sgml:
11635 * docs/gst/tmpl/old/GstCaps.sgml:
11636 * docs/gst/tmpl/old/GstClock.sgml:
11637 * docs/gst/tmpl/old/GstCompat.sgml:
11638 * docs/gst/tmpl/old/GstData.sgml:
11639 * docs/gst/tmpl/old/GstElement.sgml:
11640 * docs/gst/tmpl/old/GstEvent.sgml:
11641 * docs/gst/tmpl/old/GstIndex.sgml:
11642 * docs/gst/tmpl/old/GstStructure.sgml:
11643 * docs/gst/tmpl/old/GstTag.sgml:
11644 * docs/gst/tmpl/old/cothreads.sgml:
11645 * docs/gst/tmpl/old/cothreads_compat.sgml:
11646 * docs/gst/tmpl/old/gettext.sgml:
11647 * docs/gst/tmpl/old/gobject2gtk.sgml:
11648 * docs/gst/tmpl/old/grammar.tab.sgml:
11649 * docs/gst/tmpl/old/gst-i18n-app.sgml:
11650 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11651 * docs/gst/tmpl/old/gst_private.sgml:
11652 * docs/gst/tmpl/old/gstaggregator.sgml:
11653 * docs/gst/tmpl/old/gstarch.sgml:
11654 * docs/gst/tmpl/old/gstatomic_impl.sgml:
11655 * docs/gst/tmpl/old/gstbufferstore.sgml:
11656 * docs/gst/tmpl/old/gstdata_private.sgml:
11657 * docs/gst/tmpl/old/gstdisksink.sgml:
11658 * docs/gst/tmpl/old/gstdisksrc.sgml:
11659 * docs/gst/tmpl/old/gstelementfactory.sgml:
11660 * docs/gst/tmpl/old/gstextratypes.sgml:
11661 * docs/gst/tmpl/old/gstfakesink.sgml:
11662 * docs/gst/tmpl/old/gstfakesrc.sgml:
11663 * docs/gst/tmpl/old/gstfdsink.sgml:
11664 * docs/gst/tmpl/old/gstfdsrc.sgml:
11665 * docs/gst/tmpl/old/gstfilesink.sgml:
11666 * docs/gst/tmpl/old/gstfilesrc.sgml:
11667 * docs/gst/tmpl/old/gsthttpsrc.sgml:
11668 * docs/gst/tmpl/old/gstidentity.sgml:
11669 * docs/gst/tmpl/old/gstindexfactory.sgml:
11670 * docs/gst/tmpl/old/gstmarshal.sgml:
11671 * docs/gst/tmpl/old/gstmd5sink.sgml:
11672 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11673 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11674 * docs/gst/tmpl/old/gstpadtemplate.sgml:
11675 * docs/gst/tmpl/old/gstpipefilter.sgml:
11676 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11677 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11678 * docs/gst/tmpl/old/gstshaper.sgml:
11679 * docs/gst/tmpl/old/gstspider.sgml:
11680 * docs/gst/tmpl/old/gstspideridentity.sgml:
11681 * docs/gst/tmpl/old/gststatistics.sgml:
11682 * docs/gst/tmpl/old/gsttee.sgml:
11683 * docs/gst/tmpl/old/gsttimecache.sgml:
11684 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11685 * docs/gst/tmpl/old/gstxmlregistry.sgml:
11686 * docs/gst/tmpl/old/gthread-cothreads.sgml:
11687 * docs/gst/tmpl/old/types.sgml:
11688 I didn't intend to add these or check them in.
11690 2005-05-19 David Schleef <ds@schleef.org>
11692 * configure.ac: Use -no-common everywhere. In a sane world, it
11693 would be the default in libtool, because without it, you can't
11694 build DLLs on Windows.
11695 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11696 * docs/gst/gstreamer-sections.txt:
11697 * docs/gst/tmpl/gstcpu.sgml:
11698 * docs/gst/tmpl/gstdata.sgml:
11699 * docs/gst/tmpl/gstthread.sgml:
11701 2005-05-19 David Schleef <ds@schleef.org>
11703 * gst/gstminiobject.c: (gst_value_set_mini_object),
11704 (gst_value_take_mini_object), (gst_value_get_mini_object):
11705 * gst/gstminiobject.h: Add GValue set/get functions.
11707 2005-05-19 Wim Taymans <wim@fluendo.com>
11709 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11710 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11711 (gst_subbuffer_init), (gst_buffer_is_span_fast):
11713 * gst/gstbus.c: (gst_bus_post):
11714 * gst/gstelement.c: (gst_element_get_random_pad):
11715 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11716 Make subbufer unref the parent in finalize.
11717 some more debugging info.
11720 2005-05-19 Wim Taymans <wim@fluendo.com>
11722 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11723 (gst_basesink_init), (gst_basesink_finalize),
11724 (gst_basesink_activate), (gst_basesink_change_state):
11725 Don't free preroll queue too early.
11727 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11731 Hi, I'm outdated. Please shoot me.
11733 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11735 * gst/gstpipeline.c: (gst_pipeline_send_event):
11736 Do not access variables after they have been deleted.
11738 2005-05-19 Wim Taymans <wim@fluendo.com>
11740 * tools/gst-inspect.c: (print_plugin_features):
11741 A plugin feature does unfortunatly not use the
11744 2005-05-18 Wim Taymans <wim@fluendo.com>
11746 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11747 Port _span() functions to new subbuffers.
11749 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11751 * gst/gstbin.c: (gst_bin_add_func):
11752 Fix clock settery in bins when adding kids after the clock has
11755 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11757 * gst/elements/gstidentity.c: (gst_identity_class_init):
11758 Workaround until signals support GstMiniObject.
11760 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
11763 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11765 2005-05-18 Wim Taymans <wim@fluendo.com>
11767 * gst/base/Makefile.am:
11768 * gst/base/gstadapter.c: (gst_adapter_base_init),
11769 (gst_adapter_class_init), (gst_adapter_init),
11770 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11771 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11772 (gst_adapter_flush), (gst_adapter_available),
11773 (gst_adapter_available_fast):
11774 * gst/base/gstadapter.h:
11775 Ported and added adapter to the base classes.
11777 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11780 * gst/gstmessage.c:
11781 Make sure the class is reffed/unreffed once before threads can be
11782 used. Fixes #304551.
11784 2005-05-17 Wim Taymans <wim@fluendo.com>
11786 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11787 (gst_basesink_chain_unlocked), (gst_basesink_activate):
11788 * gst/gstminiobject.c: (gst_mini_object_get_type),
11789 (gst_mini_object_free):
11790 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11791 (gst_pad_push), (gst_pad_push_event):
11792 * gst/gstqueue.c: (gst_queue_change_state):
11793 Don't queue buffers in basesink when we are flushing.
11794 Unref buffer when flushing in basesink.
11795 Flush queue when going to READY
11796 Unref buffer when _push() returns an error.
11797 Don't free MiniObject instance when refcount is incremented
11798 in _finalize() so that we can recover objects.
11800 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
11802 * docs/manual/advanced-schedulers.xml:
11803 * docs/manual/appendix-checklist.xml:
11804 * docs/pwg/advanced-clock.xml:
11805 * docs/pwg/advanced-interfaces.xml:
11806 * docs/pwg/advanced-request.xml:
11807 * docs/pwg/advanced-types.xml:
11808 * docs/pwg/intro-preface.xml:
11809 * examples/plugins/example.c: (gst_example_get_type),
11810 (gst_example_class_init), (gst_example_chain),
11811 (gst_example_set_property), (gst_example_get_property),
11812 (gst_example_change_state), (plugin_init):
11813 * examples/plugins/example.h:
11816 2005-05-17 Wim Taymans <wim@fluendo.com>
11818 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11819 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11820 * gst/gstqueue.c: (gst_queue_change_state):
11821 Clear queue when going to READY.
11822 Remove IN_SETCAPS flag too.
11824 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
11826 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11827 Remove implicit cast from gboolean to GstElementStateReturn;
11828 make sure we still return failure in paused => ready case if
11829 the parent class fails to change state and our own stop
11832 2005-05-17 Wim Taymans <wim@fluendo.com>
11834 * tools/gst-launch.c: (event_loop):
11835 Message was unreffed too soon.
11837 2005-05-16 Andy Wingo <wingo@pobox.com>
11839 * gst/gstbin.c (sink_iterator_filter): Err... um...
11841 * check/gst/gstbin.c (test_ghost_pads): New test for the
11842 ghosting-if-elements-not-in-same-bin behavior.
11844 2005-05-16 David Schleef <ds@schleef.org>
11846 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11847 accessing refcount directly.
11849 2005-05-15 David Schleef <ds@schleef.org>
11851 * check/Makefile.am: remove GstData checks
11852 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11853 * gst/Makefile.am: add miniobject, remove data
11854 * gst/gst.h: add miniobject, remove data
11855 * gst/gstdata.c: remove
11856 * gst/gstdata.h: remove
11857 * gst/gstdata_private.h: remove
11858 * gst/gsttypes.h: remove GstEvent and GstMessage
11859 * gst/gstelement.c: (gst_element_post_message): fix for API changes
11860 * gst/gstmarshal.list: change BOXED -> OBJECT
11862 Implement GstMiniObject.
11863 * gst/gstminiobject.c:
11864 * gst/gstminiobject.h:
11866 Modify to be subclasses of GstMiniObject.
11867 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11868 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11869 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11870 (gst_subbuffer_get_type), (gst_subbuffer_init),
11871 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11874 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11875 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11876 (_gst_event_copy), (gst_event_new):
11878 * gst/gstmessage.c: (_gst_message_initialize),
11879 (gst_message_get_type), (gst_message_class_init),
11880 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11881 (gst_message_new), (gst_message_new_error),
11882 (gst_message_new_warning), (gst_message_new_tag),
11883 (gst_message_new_state_changed), (gst_message_new_application):
11884 * gst/gstmessage.h:
11885 * gst/gstprobe.c: (gst_probe_perform),
11886 (gst_probe_dispatcher_dispatch):
11888 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11889 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11890 (_gst_query_copy), (gst_query_new):
11892 Update elements for GstData -> GstMiniObject changes
11894 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11895 (gst_queue_chain), (gst_queue_loop):
11896 * gst/elements/gstbufferstore.c:
11897 (gst_buffer_store_add_buffer_func),
11898 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11899 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11900 (gst_fakesink_render):
11901 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11902 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11903 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11904 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11905 (gst_filesrc_create_read):
11906 * gst/elements/gstidentity.c: (gst_identity_class_init):
11907 * gst/elements/gsttypefindelement.c:
11908 (gst_type_find_element_src_event), (free_entry_buffers),
11909 (gst_type_find_element_handle_event):
11910 * libs/gst/dataprotocol/dataprotocol.c:
11911 (gst_dp_header_from_buffer):
11912 * libs/gst/dataprotocol/dataprotocol.h:
11913 * libs/gst/dataprotocol/dp-private.h:
11915 2005-05-15 David Schleef <ds@schleef.org>
11917 * gst/elements/gstelements.c: Don't include headers that were
11920 2005-05-15 David Schleef <ds@schleef.org>
11922 * gst/elements/Makefile.am: Remove some elements that don't
11923 need to be in the core (or even exist at all).
11924 * gst/elements/gstaggregator.c:
11925 * gst/elements/gstaggregator.h:
11926 * gst/elements/gstmd5sink.c:
11927 * gst/elements/gstmd5sink.h:
11928 * gst/elements/gstmultifilesrc.c:
11929 * gst/elements/gstmultifilesrc.h:
11930 * gst/elements/gstpipefilter.c:
11931 * gst/elements/gstpipefilter.h:
11932 * gst/elements/gstshaper.c:
11933 * gst/elements/gstshaper.h:
11934 * gst/elements/gststatistics.c:
11935 * gst/elements/gststatistics.h:
11936 * po/POTFILES.in: Remove above files.
11938 2005-05-14 Andy Wingo <wingo@pobox.com>
11940 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11941 so as to get the refs right.
11942 (sink_iterator_filter): New function, wraps bin_element_is_sink,
11943 unreffing objects that don't pass the filter.
11945 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11946 gst_element_set_bus.
11947 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11948 normal cases, this will destroy the bus.
11950 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11953 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11956 2005-05-13 Andy Wingo <wingo@pobox.com>
11958 * gst/gstutils.c (gst_element_link_pads): Instead of calling
11959 gst_pad_link, call pad_link_maybe_ghosting,
11960 (pad_link_maybe_ghosting): Links pads, making sure that the
11961 elements being linked are in the same bin.
11962 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11963 Helpers for pad_link_maybe_ghosting.
11965 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11968 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11970 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11972 * docs/design/part-element-source.txt:
11975 2005-05-12 Wim Taymans <wim@fluendo.com>
11977 * gst/base/gstbasesink.c: (gst_basesink_init),
11978 (gst_basesink_activate):
11979 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11980 (gst_basesrc_is_seekable):
11981 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11982 (bin_element_is_sink), (gst_bin_change_state):
11983 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11984 * gst/gstelement.h:
11985 Identify sinks by their flag to avoid overly complicated
11987 Do state changes even for elements not reachable from the
11989 BaseSink is a sink now :)
11990 Some more debugging info in the basesrc.
11993 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11995 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11996 Implement _query on a bin, similar to _send_event.
11998 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
12000 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
12001 Discont event offset format should be GST_FORMAT_BYTES,
12002 not GST_FORMAT_TIME.
12004 2005-05-12 Wim Taymans <wim@fluendo.com>
12006 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
12007 Same fix as Ronald's but without the signal.
12009 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12011 * gst/gstutils.c: (gst_element_query_position):
12012 No, an element is not a pad.
12014 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12016 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
12017 (gst_bin_get_state):
12018 If a child is removed from a bin while we remove the child from
12019 the bin and while we're retrieving its state, signal this to the
12020 get_state function so we abort the wait (instead of waiting for
12021 a timeout) and can immediately re-iterate over all other elements.
12023 2005-05-12 Wim Taymans <wim@fluendo.com>
12025 * gst/base/Makefile.am:
12026 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
12027 (gst_basesrc_start):
12028 * gst/base/gstbasesrc.h:
12029 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
12030 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
12031 (gst_pushsrc_init), (gst_pushsrc_create):
12032 * gst/base/gstpushsrc.h:
12033 Added is_seekable to BaseSrc
12034 Added simple PushSrc.
12036 2005-05-11 Wim Taymans <wim@fluendo.com>
12038 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
12039 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12040 (gst_element_link_pads), (gst_element_query_position),
12041 (gst_element_query_convert), (intersect_caps_func),
12042 (gst_pad_query_position), (gst_pad_query_convert):
12043 Fix refcounting in utils function.
12044 No point in trying to activate a pad when it's added, it could
12045 be added from the state change function and then we deadlock, the
12046 element has to decide what to do.
12048 2005-05-10 Andy Wingo <wingo@pobox.com>
12050 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
12051 *all* the arguments.
12053 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
12054 stream lock if it's a FLUSH_DONE; normal flushes don't get the
12055 lock (according to the docs -- if this is wrong change the docs).
12057 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
12058 flush messages in the NULL state.
12060 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
12061 message immediately and return.
12062 (gst_bus_set_flushing): New function. If a bus is flushing, it
12063 flushes out any queued messages and immediately unrefs new
12064 messages. This is so when an element goes to NULL, all of the
12065 unhandled messages coming from it can be freed, and their
12066 references to the element dropped. In other words: message source
12067 ref considered harmful :P
12069 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
12070 we're finished with it.
12072 * gst/gstmessage.c (gst_message_new_state_changed):
12074 2005-05-10 Wim Taymans <wim@fluendo.com>
12076 * gst/gstvalue.c: (gst_value_compare_flags),
12077 (gst_value_serialize_flags), (gst_value_deserialize_flags),
12078 (_gst_value_initialize):
12079 Added flags serialize/deserialize/compare code.
12081 2005-05-09 Andy Wingo <wingo@pobox.com>
12083 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
12084 Intersect the peer's caps with our caps.
12086 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12088 * gst/base/gsttypefindhelper.c: (helper_find_peek):
12089 * gst/elements/gsttypefindelement.c: (find_peek):
12090 Handle negative offsets better. Fixes decodebin.
12092 2005-05-09 Wim Taymans <wim@fluendo.com>
12094 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
12095 (gst_base_transform_event):
12096 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
12097 Implement accept_caps.
12098 Fix silly lock/unlock mismatch in base class.
12100 2005-05-09 Wim Taymans <wim@fluendo.com>
12102 * docs/design/draft-push-pull.txt:
12103 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
12104 * gst/elements/gstfilesink.c: (gst_filesink_init),
12105 (gst_filesink_query):
12106 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
12107 (gst_type_find_handle_src_query), (find_element_get_length):
12108 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
12109 * gst/gstelement.h:
12110 * gst/gstmessage.c:
12111 * gst/gstmessage.h:
12112 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
12113 (gst_real_pad_get_caps_unlocked),
12114 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
12115 (gst_pad_event_default_dispatch), (gst_pad_event_default),
12116 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
12117 (gst_real_pad_dispose), (gst_real_pad_finalize),
12118 (gst_pad_load_and_link), (gst_pad_save_thyself),
12119 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
12120 (gst_pad_check_pull_range), (gst_pad_pull_range),
12121 (gst_pad_template_get_type), (gst_pad_template_class_init),
12122 (gst_pad_template_init), (gst_pad_template_dispose),
12123 (name_is_valid), (gst_static_pad_template_get),
12124 (gst_pad_template_new), (gst_static_pad_template_get_caps),
12125 (gst_pad_template_get_caps), (gst_pad_set_element_private),
12126 (gst_pad_get_element_private), (gst_pad_start_task),
12127 (gst_pad_pause_task), (gst_pad_stop_task),
12128 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
12129 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12130 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
12131 (gst_ghost_pad_new):
12133 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
12134 (gst_query_new_position), (gst_query_set_position),
12135 (gst_query_parse_position), (gst_query_new_convert),
12136 (gst_query_set_convert), (gst_query_parse_convert):
12138 * gst/gstqueryutils.c:
12139 * gst/gstqueryutils.h:
12140 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
12141 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
12142 (gst_queue_handle_src_query):
12143 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12144 (gst_element_query_position), (gst_element_query_convert),
12145 (intersect_caps_func), (gst_pad_query_position),
12146 (gst_pad_query_convert):
12148 * tools/gst-inspect.c: (print_pad_info):
12149 * tools/gst-xmlinspect.c: (print_element_info):
12150 Remove old query functions. Ported old code.
12151 Added position/convert helper functions to gstutils.
12152 Reordered gstpad.c code, grouping relevant things.
12153 Remove gst_message_new(), always need to speficy a specific
12157 2005-05-09 Andy Wingo <wingo@pobox.com>
12159 * gst/gstiterator.h: Add some includes.
12161 * gst/gstqueryutils.h: Include more headers.
12164 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
12165 some uses of gst_pad_query.
12167 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
12168 NULL out parameters.
12169 (gst_query_new_position): New proc, allocates a new position
12172 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
12173 gstqueryutils.c to the build.
12175 * gst/gststructure.c (gst_structure_set_valist): Implement with
12176 the generic G_VALUE_COLLECT.
12178 2005-05-08 Edward Hervey <bilboed@bilboed.com>
12180 * gst/Makefile.am: (gst_headers):
12181 Added gstqueryutils.h to the list of headers to install, that was
12182 a 'nachty' move wingo :)
12184 2005-05-06 Andy Wingo <wingo@pobox.com>
12187 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
12188 GstData, init a memchunk.
12189 (standard_definitions): Add a few query types, deprecate a few.
12190 (gst_query_get_type): New proc.
12191 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
12193 (gst_query_new_application, gst_query_get_structure): New public
12196 * docs/design/draft-query.txt: Removed LINKS from the query types,
12197 because all the rest can be dispatched to other pads -- seemed
12198 ugly to have a query that couldn't be dispatched. internal_links
12199 is fine as a pad method.
12201 * gst/gstpad.h: Add query2 as a pad method, add the new functions
12202 in gstpad.c, but maintain binary compatibility for the moment.
12203 Will fix before 0.9 is out.
12205 * gst/gstqueryutils.c:
12206 * gst/gstqueryutils.h: New files, implement 3 methods for each
12207 query type: parse_query, parse_response, and set. Probably need an
12210 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
12212 * gst/elements/gstfilesink.c (gst_filesink_query2):
12213 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
12214 query_types, and formats methods.
12216 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
12217 (gst_pad_set_query2_function): New functions.
12218 (gst_real_pad_init): Set query2_default as the default query2
12219 function. Basically just dispatches to internally linked pads.
12223 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
12224 without using the atomic operations. Only one thread can possibly
12225 be accessing the data at this point. Changed so as to avoid
12226 gst_atomic operations.
12228 2005-05-06 Wim Taymans <wim@fluendo.com>
12230 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
12231 Also set caps if we use the fallback buffer alloc.
12233 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
12235 * docs/gst/Makefile.am:
12236 * docs/gst/gstreamer-docs.sgml:
12237 * docs/gst/gstreamer-sections.txt:
12238 * docs/gst/tmpl/gstatomic.sgml:
12239 * docs/gst/tmpl/gstmemchunk.sgml:
12240 * testsuite/elements/struct_i386.h:
12241 * win32/GStreamer.vcproj:
12243 Purge GstAtomic stuff from docs and win32 makefiles as well
12245 2005-05-06 Wim Taymans <wim@fluendo.com>
12247 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
12248 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
12249 * gst/gstpad.c: (gst_pad_peer_get_caps):
12250 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
12251 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
12252 (gst_queue_src_activate), (gst_queue_change_state):
12254 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12255 (intersect_caps_func):
12256 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
12257 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
12258 Some fixes for the peer_get_caps() change.
12260 2005-05-06 Wim Taymans <wim@fluendo.com>
12262 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
12263 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
12264 (gst_basesink_activate):
12265 Actually do something with error codes returned from the push
12268 2005-05-06 Wim Taymans <wim@fluendo.com>
12270 * docs/design/part-element-sink.txt:
12271 * docs/design/part-element-source.txt:
12272 * gst/base/gstbasesink.c: (gst_basesink_class_init),
12273 (gst_basesink_event), (gst_basesink_activate):
12274 * gst/base/gstbasesink.h:
12275 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
12276 (gst_basesrc_activate):
12277 * gst/base/gstbasesrc.h:
12278 * gst/gstelement.c: (gst_element_pads_activate):
12279 Some more documentation.
12280 Fixed scheduling decision in _pads_activate().
12282 2005-05-05 Andy Wingo <wingo@pobox.com>
12284 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
12287 2005-05-05 Wim Taymans <wim@fluendo.com>
12289 * gst/base/Makefile.am:
12290 * gst/base/gstbasesink.h:
12291 * gst/base/gstbasesrc.c: (gst_basesrc_init),
12292 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
12293 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
12294 (gst_collectpads_class_init), (gst_collectpads_init),
12295 (gst_collectpads_finalize), (gst_collectpads_new),
12296 (gst_collectpads_set_function), (gst_collectpads_add_pad),
12297 (find_pad), (gst_collectpads_remove_pad),
12298 (gst_collectpads_is_active), (gst_collectpads_collect),
12299 (gst_collectpads_collect_range), (gst_collectpads_start),
12300 (gst_collectpads_stop), (gst_collectpads_peek),
12301 (gst_collectpads_pop), (gst_collectpads_available),
12302 (gst_collectpads_read), (gst_collectpads_flush),
12303 (gst_collectpads_chain):
12304 * gst/base/gstcollectpads.h:
12305 * gst/elements/Makefile.am:
12306 * gst/elements/gstelements.c:
12307 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12308 (gst_fakesink_get_times), (gst_fakesink_event),
12309 (gst_fakesink_preroll), (gst_fakesink_render):
12310 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
12311 (gst_filesink_init), (gst_filesink_set_location),
12312 (gst_filesink_open_file), (gst_filesink_close_file),
12313 (gst_filesink_pad_query), (gst_filesink_event),
12314 (gst_filesink_render), (gst_filesink_change_state):
12315 * gst/elements/gstfilesink.h:
12316 Added object to help in making collect pad based elements.
12318 Make event function in sink baseclass return gboolean.
12320 2005-05-05 Wim Taymans <wim@fluendo.com>
12322 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
12323 (gst_bin_get_by_name):
12325 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
12326 (gst_clock_finalize):
12327 * gst/gstdata.c: (gst_data_replace):
12329 * gst/gstelement.c: (gst_element_request_pad),
12330 (gst_element_pads_activate):
12331 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
12332 (gst_object_unref):
12333 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12334 (gst_pad_set_checkgetrange_function),
12335 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
12336 (gst_pad_check_pull_range), (gst_pad_pull_range),
12337 (gst_static_pad_template_get_caps), (gst_pad_start_task),
12338 (gst_pad_pause_task), (gst_pad_stop_task):
12339 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12340 (gst_element_request_pad), (gst_pad_proxy_getcaps):
12341 Fix name lookup in GstBin.
12342 Added _data_replace() function and _buffer_replace()
12343 Use finalize method to clean up clock.
12344 Fix refcounting on request pads.
12345 Fix pad schedule mode error.
12346 Some more object refcounting debug info,
12349 2005-05-04 Andy Wingo <wingo@pobox.com>
12351 * check/Makefile.am:
12352 * docs/gst/tmpl/gstatomic.sgml:
12353 * docs/gst/tmpl/gstplugin.sgml:
12354 * gst/base/gstbasesink.c: (gst_basesink_activate):
12355 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
12356 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
12357 (gst_basesrc_query), (gst_basesrc_set_property),
12358 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
12359 (gst_basesrc_activate):
12360 * gst/base/gstbasesrc.h:
12361 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
12362 (gst_base_transform_src_activate):
12363 * gst/elements/gstelements.c:
12364 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12365 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
12366 * gst/elements/gsttee.c: (gst_tee_sink_activate):
12367 * gst/elements/gsttypefindelement.c: (find_element_get_length),
12368 (gst_type_find_element_checkgetrange),
12369 (gst_type_find_element_activate):
12370 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
12371 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
12372 (gst_caps_load_thyself):
12373 * gst/gstelement.c: (gst_element_pads_activate),
12374 (gst_element_save_thyself), (gst_element_restore_thyself):
12375 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
12376 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
12378 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
12379 (gst_xml_parse_file), (gst_xml_parse_memory),
12380 (gst_xml_get_element), (gst_xml_make_element):
12381 * gst/indexers/gstfileindex.c: (gst_file_index_load),
12382 (_file_index_id_save_xml), (gst_file_index_commit):
12383 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
12384 (read_enum), (load_pad_template), (load_feature), (load_plugin),
12386 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
12387 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
12388 * tools/gst-complete.c: (main):
12389 * tools/gst-compprep.c: (main):
12390 * tools/gst-inspect.c: (print_element_properties_info):
12391 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12392 * tools/gst-xmlinspect.c: (print_element_properties):
12395 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
12397 * gst/gstplugin.c: (gst_plugin_check_module),
12398 (gst_plugin_check_file), (gst_plugin_load_file):
12399 apply patch from #172526 to make register work on MacOSX
12401 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12403 * docs/gst/tmpl/gstconfig.sgml:
12404 * gst/gstconfig.h.in:
12405 move documentation for some symbols. Add doc for GST_PTR_FORMAT
12406 * testsuite/debug/printf_extension.c: (main):
12407 Do not use GST_PTR_FORMAT on pointers to types with
12408 sizeof < sizeof(gpointer). Fixes test on 64-bit
12409 * testsuite/elements/property.h:
12410 use correct printf format
12412 2005-05-02 Wim Taymans <wim@fluendo.com>
12414 * docs/design/draft-push-pull.txt:
12415 * docs/design/draft-query.txt:
12416 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
12417 (gst_basesrc_start):
12418 Added draft for new query API.
12419 Added draft for better selecting scheduling methods.
12420 Make basesrc ignore length if the subclass does not support
12423 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12426 possible fixes for automake-1.5 - _LIBADD is reserved
12428 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12430 * docs/faq/Makefile.am:
12431 * docs/manual/Makefile.am:
12432 * docs/manuals.mak:
12433 * docs/pwg/Makefile.am:
12435 possible fixes for automake-1.5
12437 2005-04-28 Wim Taymans <wim@fluendo.com>
12439 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12440 (gst_basesink_pad_getcaps), (gst_basesink_init),
12441 (gst_basesink_do_sync):
12442 * gst/gstclock.c: (gst_clock_entry_new):
12443 * gst/gstevent.c: (gst_event_discont_get_value):
12444 * gst/gstpipeline.c: (pipeline_bus_handler),
12445 (gst_pipeline_change_state):
12446 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12447 Better debugging of clocking info.
12448 Allow NULL values when getting discont values.
12450 2005-04-27 Wim Taymans <wim@fluendo.com>
12452 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12453 * check/gst/gstpad.c: (gst_pad_suite):
12454 Increase timeout for checks.
12456 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12458 * check/Makefile.am:
12459 fix the broken rule for cleanup. Apparently this rule is
12460 only needed on FC2, so maybe this warrants further autotool
12463 2005-04-26 Wim Taymans <wim@fluendo.com>
12465 * gst/gsttrashstack.h:
12466 Ooohh. a nasty one! After having a failed pop() from the stack,
12467 it's possible that the stack is empty. In that case, don't
12468 follow the NULL pointer.
12470 2005-04-25 Wim Taymans <wim@fluendo.com>
12472 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12473 (gst_pad_set_checkgetrange_function),
12474 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
12475 (gst_pad_check_pull_range), (gst_pad_pull_range),
12476 (gst_static_pad_template_get_caps), (gst_pad_start_task),
12477 (gst_pad_pause_task), (gst_pad_stop_task):
12478 * gst/gstplugin.c: (gst_plugin_load):
12480 Remove gst_library_load as it does more harm than good with
12481 the new g_module flags.
12482 Revert bogus caps template check in pad linking, pad caps
12483 are important when linking not the template, which is more
12484 general than the current caps.
12486 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12488 * gst/autoplug/.cvsignore:
12489 * gst/autoplug/Makefile.am:
12490 * gst/autoplug/gstsearchfuncs.c:
12491 * gst/autoplug/gstsearchfuncs.h:
12492 * gst/autoplug/gstspider.c:
12493 * gst/autoplug/gstspider.h:
12494 * gst/autoplug/gstspideridentity.c:
12495 * gst/autoplug/gstspideridentity.h:
12496 * gst/autoplug/spidertest.c:
12499 2005-04-25 Wim Taymans <wim@fluendo.com>
12501 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12502 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12503 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
12504 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
12506 Added stubs for unimplemented functions.
12508 2005-04-24 David Schleef <ds@schleef.org>
12510 * gst/gstpad.h: Disable some unimplemented functions. Wim,
12513 2005-04-24 David Schleef <ds@schleef.org>
12515 Convert everything from GstAtomicInt to g_atomic_int_*, and
12520 * gst/gstatomic_impl.h:
12528 * gst/gstdata_private.h:
12532 * gst/gstmessage.c:
12535 * gst/gststructure.c:
12536 * gst/gststructure.h:
12537 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
12540 2005-04-24 David Schleef <ds@schleef.org>
12542 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
12543 make the regressions tests work. Remove some code that is no
12545 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
12546 Disable warning for pads without templates.
12548 2005-04-24 David Schleef <ds@schleef.org>
12550 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
12551 functions that handle filtered links.
12552 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
12554 * gst/gstutils.c: Fix/remove utility functions that handle
12557 * gst/gstvalue.c: Add serialization/deserialization of caps
12558 * gst/parse/grammar.y: Ignore filtered caps when linking. This
12559 requires fixing so that the filter caps notation creates
12560 a capsfilter element and sets the filter_caps property. I
12561 think everyone probably wants to keep the shorthand notation.
12562 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
12563 * docs/gst/tmpl/gstpad.sgml:
12565 * gst/elements/gstelements.c: Register capsfilter element.
12566 * gst/Makefile.am: fix spacing
12567 * docs/random/ds/0.9-suggested-changes: random
12569 2005-04-23 David Schleef <ds@schleef.org>
12571 * gst/elements/Makefile.am:
12572 * gst/elements/gstcapsfilter.c: New element that acts like an
12573 identity, but filters caps. Will eventually replace filtered
12574 caps in pad linking.
12575 * gst/gstutils.c: (gst_element_create_all_pads): New function
12576 to create all the ALWAYS pads that are registered with an
12577 element class. This functionality should eventually be
12578 merged in with GstElement initialization.
12580 * testsuite/trigger/README: part of trigger test code that should
12581 have been checked in a long time ago.
12583 2005-04-23 David Schleef <ds@schleef.org>
12585 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
12586 needed with new versions of libtool (nobody will confirm this),
12587 and hard to carry around.
12588 * gst/autoplug/Makefile.am:
12589 * gst/base/Makefile.am:
12590 * gst/elements/Makefile.am:
12591 * gst/indexers/Makefile.am:
12592 * gst/schedulers/Makefile.am:
12593 * libs/gst/bytestream/Makefile.am:
12594 * libs/gst/control/Makefile.am:
12595 * libs/gst/dataprotocol/Makefile.am:
12596 * libs/gst/getbits/Makefile.am:
12598 2005-04-21 Wim Taymans <wim@fluendo.com>
12600 * docs/design/draft-push-pull.txt:
12601 * docs/design/part-MT-refcounting.txt:
12602 * docs/design/part-TODO.txt:
12603 * docs/design/part-caps.txt:
12604 * docs/design/part-events.txt:
12605 * docs/design/part-gstbus.txt:
12606 * docs/design/part-gstpipeline.txt:
12607 * docs/design/part-messages.txt:
12608 * docs/design/part-push-pull.txt:
12609 * docs/design/part-query.txt:
12612 2005-04-21 Wim Taymans <wim@fluendo.com>
12614 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12615 (gst_message_new), (gst_message_new_error),
12616 (gst_message_new_warning), (gst_message_new_tag),
12617 (gst_message_new_state_changed), (gst_message_new_application),
12618 (gst_message_get_structure):
12619 * gst/gstmessage.h:
12620 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12621 (gst_structure_copy_conditional):
12622 Use parent refcount in GstMessage to ensure GstStructure
12624 Cleaned up headers a bit.
12627 2005-04-20 Wim Taymans <wim@fluendo.com>
12629 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12630 (gst_basesink_pad_getcaps), (gst_basesink_init),
12631 (gst_basesink_chain_unlocked):
12632 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12633 (gst_type_find_helper):
12634 * gst/elements/gsttypefindelement.c:
12635 (gst_type_find_element_have_type), (gst_type_find_element_init),
12636 (stop_typefinding), (gst_type_find_element_handle_event),
12637 (find_suggest), (gst_type_find_element_chain),
12638 (gst_type_find_element_checkgetrange),
12639 (gst_type_find_element_getrange), (do_typefind),
12640 (gst_type_find_element_activate):
12641 * gst/gstbuffer.c: (_gst_buffer_sub_free),
12642 (gst_buffer_default_free), (gst_buffer_default_copy),
12643 (gst_buffer_set_caps):
12644 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12645 (gst_caps_replace):
12646 * gst/gstmessage.c: (gst_message_new),
12647 (gst_message_new_state_changed):
12648 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12649 (gst_pad_set_checkgetrange_function),
12650 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12651 (gst_pad_set_caps), (gst_pad_check_pull_range),
12652 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12654 * gst/gsttypefind.c: (gst_type_find_register):
12655 Make gst_caps_replace() work like other _replace() functions.
12656 Use _caps_replace() where possible.
12657 Make sure _message_new() initialises its field.
12658 Add gst_static_pad_template_get_caps()
12661 2005-04-18 Andy Wingo <wingo@pobox.com>
12663 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12664 on the peer, not the pad. I think that was a typo. Pass an extra
12665 arg to see if random access is possible. Activate the pads as
12666 PULL_RANGE if possible.
12668 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12670 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
12671 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12674 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12676 * docs/faq/using.xml:
12677 Add note on gstreamer-properties (#154996).
12679 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12681 * docs/random/bbb/optional-properties:
12682 Some analysis on optional properties.
12684 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12686 * docs/gst/tmpl/gstelementfactory.sgml:
12687 * gst/gstelement.h:
12688 * gst/gstelementfactory.c: (gst_element_factory_init),
12689 (gst_element_factory_cleanup), (gst_element_register),
12690 (__gst_element_factory_add_static_pad_template),
12691 (gst_element_factory_get_static_pad_templates),
12692 (gst_element_factory_can_src_caps),
12693 (gst_element_factory_can_sink_caps):
12694 * gst/registries/Makefile.am:
12695 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12696 (gst_xml_registry_class_init), (gst_xml_registry_init),
12697 (gst_xml_registry_new), (gst_xml_registry_set_property),
12698 (gst_xml_registry_get_property), (get_time), (make_dir),
12699 (gst_xml_registry_get_perms_func),
12700 (plugin_times_older_than_recurse), (plugin_times_older_than),
12701 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12702 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12703 (add_to_char_array), (read_string), (read_uint), (read_enum),
12704 (load_pad_template), (load_feature), (load_plugin), (load_paths),
12705 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12706 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12707 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12708 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12709 (gst_xml_registry_rebuild):
12710 * gst/registries/gstlibxmlregistry.h:
12711 * tools/gst-compprep.c: (main):
12712 * tools/gst-inspect.c: (print_pad_templates_info):
12713 * tools/gst-xmlinspect.c: (print_element_info):
12714 Use libxml2 for registry parsing, use staticpadtemplates in
12715 elementfactories. Makes gst_init() +/- 10x faster.
12717 2005-04-12 Wim Taymans <wim@fluendo.com>
12719 * gst/base/Makefile.am:
12720 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12721 (gst_basesink_pad_getcaps), (gst_basesink_init),
12722 (gst_basesink_event), (gst_basesink_change_state):
12723 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12724 (gst_basesrc_init), (gst_basesrc_query),
12725 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12726 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12727 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12728 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12729 (gst_basesrc_stop), (gst_basesrc_activate),
12730 (gst_basesrc_change_state):
12731 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12732 (helper_find_suggest), (gst_type_find_helper):
12733 * gst/base/gsttypefindhelper.h:
12734 * gst/elements/Makefile.am:
12735 * gst/elements/gstelements.c:
12736 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12737 (gst_fakesink_get_times), (gst_fakesink_event),
12738 (gst_fakesink_preroll), (gst_fakesink_render):
12739 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12740 (gst_fakesrc_init), (gst_fakesrc_event_handler),
12741 (gst_fakesrc_get_property), (gst_fakesrc_create),
12742 (gst_fakesrc_start), (gst_fakesrc_stop):
12743 * gst/elements/gstfakesrc.h:
12744 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12745 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12746 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12747 (gst_filesrc_create_read), (gst_filesrc_create),
12748 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12749 (gst_filesrc_start):
12750 * gst/elements/gsttypefindelement.c:
12751 (gst_type_find_element_have_type), (gst_type_find_element_init),
12752 (start_typefinding), (stop_typefinding), (push_buffer_store),
12753 (gst_type_find_element_handle_event),
12754 (gst_type_find_element_chain),
12755 (gst_type_find_element_checkgetrange),
12756 (gst_type_find_element_getrange), (do_typefind),
12757 (gst_type_find_element_activate),
12758 (gst_type_find_element_change_state):
12759 * gst/elements/gsttypefindelement.h:
12760 * gst/gstpipeline.c: (pipeline_bus_handler):
12761 Added typefind helper.
12762 Small preroll fix in the base sink.
12763 Disable typefind code in basesrc.
12764 Crude port of typefindelement.
12768 2005-04-11 Wim Taymans <wim@fluendo.com>
12770 * check/gst/gstbus.c: (gstbus_suite):
12771 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12772 * check/gstcheck.h:
12773 Fix up the timeout so that the test does not fail.
12775 2005-04-06 Wim Taymans <wim@fluendo.com>
12778 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12779 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12780 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12781 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12782 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12783 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12784 (gst_basesrc_stop), (gst_basesrc_activate),
12785 (gst_basesrc_change_state), (basesrc_find_peek),
12786 (basesrc_find_suggest), (gst_basesrc_type_find):
12787 * gst/base/gstbasesrc.h:
12788 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12789 (gst_filesrc_class_init), (gst_filesrc_init),
12790 (gst_filesrc_finalize), (gst_filesrc_set_location),
12791 (gst_filesrc_set_property), (gst_filesrc_get_property),
12792 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12793 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12794 (gst_filesrc_create_read), (gst_filesrc_create),
12795 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12796 * gst/elements/gstfilesrc.h:
12797 * gst/gstelement.c: (gst_element_get_state_func),
12798 (gst_element_lost_state), (gst_element_pads_activate):
12799 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12800 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12801 (gst_pad_pull_range):
12803 More work on the generic source base class, implement seeking,
12805 Make filesrc extend the base source class.
12806 Added gst_pad_set_checkgetrange_function to GstPad.
12808 2005-04-06 Andy Wingo <wingo@pobox.com>
12810 * pkgconfig/gstreamer-base.pc.in:
12811 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12813 * pkgconfig/Makefile.am:
12814 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12816 2005-04-04 Wim Taymans <wim@fluendo.com>
12818 * gst/base/Makefile.am:
12820 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12821 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12822 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12823 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12824 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12825 (gst_basesrc_base_init), (gst_basesrc_class_init),
12826 (gst_basesrc_init), (gst_basesrc_get_formats),
12827 (gst_basesrc_get_query_types), (gst_basesrc_query),
12828 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12829 (gst_basesrc_set_property), (gst_basesrc_get_property),
12830 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12831 (gst_basesrc_loop), (gst_basesrc_activate),
12832 (gst_basesrc_change_state):
12833 * gst/base/gstbasesrc.h:
12834 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12835 (gst_fakesrc_class_init), (gst_fakesrc_init),
12836 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12837 (gst_fakesrc_get_property), (gst_fakesrc_create):
12838 * gst/elements/gstfakesrc.h:
12839 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12840 (gst_filesrc_open_file), (gst_filesrc_loop),
12841 (gst_filesrc_activate), (filesrc_find_peek),
12842 (gst_filesrc_type_find):
12843 Made base source class, make fakesrc extend it.
12844 Add comments to basesink class.
12845 Some filesrc cleanup.
12847 2005-03-31 David Schleef <ds@schleef.org>
12849 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12850 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12851 expected to link against libgstreamer.
12852 * gst/base/Makefile.am: link against libgstreamer
12853 * gst/elements/Makefile.am: same
12855 2005-03-31 Andy Wingo <wingo@pobox.com>
12857 * tests/instantiate/Makefile.am:
12858 * tests/instantiate/caps.c: Add test to test speed of caps copy
12861 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12862 GMemChunk to be fair.
12864 * gst/gsttrashstack.h: Remove warning about using the fallback
12865 trash stack implementation, it's still faster than malloc.
12867 2005-03-30 Andy Wingo <wingo@pobox.com>
12869 * tests/complexity.c: Add a copyright.
12871 2005-03-31 Wim Taymans <wim@fluendo.com>
12873 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12874 (gst_base_transform_class_init), (gst_base_transform_init),
12875 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12876 (gst_base_transform_get_property),
12877 (gst_base_transform_sink_activate),
12878 (gst_base_transform_src_activate),
12879 (gst_base_transform_change_state):
12880 * gst/base/gstbasetransform.h:
12881 * gst/elements/gstidentity.c: (gst_identity_class_init),
12882 (gst_identity_event), (gst_identity_check_perfect),
12883 (gst_identity_transform), (gst_identity_start),
12884 (gst_identity_stop):
12885 Added start/stop methods to transform base class so subclasses
12886 don't need to deal with state changes even.
12888 2005-03-31 Wim Taymans <wim@fluendo.com>
12890 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12891 (gst_event_new_discontinuous), (gst_event_discont_get_value):
12893 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12894 (gst_pad_pull_range):
12895 Added rate to the discont event to prepare for variable speed
12896 and reverse playback.
12898 2005-03-29 David Schleef <ds@schleef.org>
12901 * testsuite/trigger/Makefile.am:
12902 * testsuite/trigger/trigger.c: A little example program to show
12903 how trigger-based elements can work.
12905 2005-03-29 Wim Taymans <wim@fluendo.com>
12907 * gst/base/Makefile.am:
12909 * gst/base/gstbasesink.c: (gst_basesink_get_type),
12910 (gst_basesink_base_init), (gst_basesink_class_init),
12911 (gst_basesink_pad_getcaps), (gst_basesink_init),
12912 (gst_basesink_activate), (gst_basesink_change_state):
12913 * gst/base/gstbasesink.h:
12914 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12915 (gst_base_transform_base_init), (gst_base_transform_finalize),
12916 (gst_base_transform_class_init), (gst_base_transform_init),
12917 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12918 (gst_base_transform_event), (gst_base_transform_getrange),
12919 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12920 (gst_base_transform_set_property),
12921 (gst_base_transform_get_property),
12922 (gst_base_transform_sink_activate),
12923 (gst_base_transform_src_activate),
12924 (gst_base_transform_change_state):
12925 * gst/base/gstbasetransform.h:
12926 * gst/elements/gstidentity.c: (gst_identity_finalize),
12927 (gst_identity_class_init), (gst_identity_init),
12928 (gst_identity_event), (gst_identity_check_perfect),
12929 (gst_identity_transform), (gst_identity_set_property),
12930 (gst_identity_get_property), (gst_identity_change_state):
12931 * gst/elements/gstidentity.h:
12932 * gst/gstelement.c: (gst_element_get_state_func),
12933 (gst_element_lost_state), (gst_element_pads_activate):
12934 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12935 (gst_pad_check_pull_range), (gst_pad_pull_range):
12937 Simplify pad activation.
12938 Added function to check if pull_range can be performed.
12939 Error out when pulling inactive or flushing pads.
12940 Removed const from refcounted types as it does not make sense.
12941 Simplify pad templates in basesink
12942 Added base class for simple 1-to-1 transforms.
12943 Make identity subclass the base transform.
12945 2005-03-29 Andy Wingo <wingo@pobox.com>
12947 * docs/libs/gstreamer-libs-overrides.txt:
12948 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12949 really don't understand what's going on, but like whatever. I want
12952 * docs/gst/Makefile.am:
12953 * docs/libs/Makefile.am: Dist the overrides files.
12955 * check/Makefile.am (clean-local): Remove .libs directories.
12957 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12958 elements to EXTRA_DIST, so po/ files are happy.
12960 * po/POTFILES.in: Er, remove it here.
12962 * po/POTFILES: Remove gstspider.c.
12964 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12966 * docs/libs/gstreamer-libs-docs.sgml:
12967 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12970 * tests/complexity.c (main): Set the length of the preroll queue
12971 on the sinks to prevent a lockup.
12973 * libs/gst/dataprotocol/Makefile.am:
12974 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12975 the same as the one in check/gst-libs/gdp.c.
12977 * po/, docs/gst/: Commit automatic changes to docs and po files.
12979 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12980 the versioned libgstbase.
12982 * check/Makefile.am: Depend on an unversioned gst-register, seems
12983 to make autoconf happier.
12985 * gst/base/Makefile.am: Make libgstbase a versioned lib.
12987 2005-03-28 Wim Taymans <wim@fluendo.com>
12990 * docs/design/part-gstelement.txt:
12991 * docs/design/part-negotiation.txt:
12992 * docs/design/part-preroll.txt:
12993 * docs/design/part-scheduling.txt:
12994 * docs/design/part-states.txt:
12996 * gst/base/Makefile.am:
12998 * gst/base/gstbasesink.c: (gst_basesink_get_template),
12999 (gst_basesink_base_init), (gst_basesink_class_init),
13000 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
13001 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
13002 (gst_basesink_set_pad_functions),
13003 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
13004 (gst_basesink_set_property), (gst_basesink_get_property),
13005 (gst_base_sink_get_template), (gst_base_sink_get_caps),
13006 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
13007 (gst_basesink_preroll_queue_push),
13008 (gst_basesink_preroll_queue_empty),
13009 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
13010 (gst_basesink_event), (gst_basesink_get_times),
13011 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
13012 (gst_basesink_chain_unlocked), (gst_basesink_chain),
13013 (gst_basesink_loop), (gst_basesink_activate),
13014 (gst_basesink_change_state):
13015 * gst/base/gstbasesink.h:
13016 * gst/elements/Makefile.am:
13017 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
13018 (gst_fakesink_class_init), (gst_fakesink_init),
13019 (gst_fakesink_set_property), (gst_fakesink_get_property),
13020 (gst_fakesink_get_times), (gst_fakesink_event),
13021 (gst_fakesink_preroll), (gst_fakesink_render),
13022 (gst_fakesink_change_state):
13023 * gst/elements/gstfakesink.h:
13024 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
13025 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
13026 * gst/gstelement.c: (gst_element_add_pad),
13027 (gst_element_get_state_func), (gst_element_abort_state),
13028 (gst_element_commit_state), (gst_element_lost_state),
13029 (gst_element_set_state), (gst_element_pads_activate):
13030 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
13031 * gst/gstpipeline.c: (gst_pipeline_send_event),
13032 (gst_pipeline_change_state):
13033 Added state change code.
13034 Added/updated docs.
13035 Added sink base class, make fakesink extend the base class.
13036 Small cleanups in GstPipeline.
13038 2005-03-26 David Schleef <ds@schleef.org>
13040 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
13041 is broken and should be implemented in a different library.
13042 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
13043 * gst/gst.h: remove gstcpu.h
13044 * gst/gstcpu.c: remove
13045 * gst/gstcpu.h: remove
13046 * gst/Makefile.am.future: Remove this file. It's ancient.
13048 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13050 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
13051 (gst_bin_send_event):
13052 Add default event/set_manager handlers. The set_manager handler
13053 takes care that the manager is distributed over kids that were
13054 already in the bin before the manager was set. The event handler
13055 is a utility virtual function that sends the event over all sinks,
13056 so that gst_element_send_event (bin, event); has the expected
13058 * gst/gstpad.c: (gst_pad_event_default):
13059 Re-install default event handling for discontinuities, so that
13060 seeking works without requiring hacks in applications or extra
13062 * gst/gstpipeline.c: (gst_pipeline_class_init),
13063 (gst_pipeline_send_event):
13064 Half hack, half utility: set a pipeline to PAUSED for seek events,
13065 since that is the only way we can guarantee a/v sync. Means that
13066 you can do gst_element_seek (pipeline, method, pos); on a pipeline
13067 and it "just works".
13069 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13071 * gst/gstpipeline.c: (gst_pipeline_use_clock):
13072 Lock/unlock mismatch.
13074 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
13076 * docs/faq/gst-uninstalled:
13077 add gst-plugins-base
13078 * docs/gst/Makefile.am:
13079 don't error out until docs are fixed
13080 * docs/gst/gstreamer.types:
13083 2005-03-22 Wim Taymans <wim@fluendo.com>
13085 * check/Makefile.am:
13086 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
13087 * gst/gststructure.c: (gst_structure_set_valist),
13088 (gst_structure_copy_conditional):
13089 Activated more tests.
13090 Added message test.
13091 Added G_TYPE_POINTER to GstStructure.
13094 2005-03-22 Wim Taymans <wim@fluendo.com>
13096 * docs/design/part-TODO.txt:
13097 * docs/design/part-events.txt:
13098 * docs/design/part-gstbin.txt:
13099 * docs/design/part-gstbus.txt:
13100 * docs/design/part-gstpipeline.txt:
13101 * docs/design/part-messages.txt:
13103 * gst/gstmessage.c:
13106 2005-03-21 Wim Taymans <wim@fluendo.com>
13108 * gst/gstbus.c: (gst_bus_post):
13109 Fix copy-and-paste error.
13111 2005-03-21 Wim Taymans <wim@fluendo.com>
13113 * check/Makefile.am:
13115 * gst/elements/Makefile.am:
13116 * gst/elements/gstelements.c:
13117 * gst/elements/gstfakesink.c: (gst_fakesink_init),
13118 (gst_fakesink_event), (gst_fakesink_chain):
13119 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
13120 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
13121 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
13122 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
13123 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
13124 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
13125 (gst_fakesrc_loop), (gst_fakesrc_activate),
13126 (gst_fakesrc_change_state):
13127 * gst/elements/gstfakesrc.h:
13128 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
13129 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
13130 (gst_filesrc_open_file), (gst_filesrc_loop),
13131 (gst_filesrc_activate), (gst_filesrc_change_state),
13132 (filesrc_find_peek), (filesrc_find_suggest),
13133 (gst_filesrc_type_find):
13134 * gst/elements/gstidentity.c: (gst_identity_finalize),
13135 (gst_identity_class_init), (gst_identity_init),
13136 (gst_identity_proxy_getcaps), (identity_queue_push),
13137 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
13138 (gst_identity_getrange), (gst_identity_chain),
13139 (gst_identity_sink_loop), (gst_identity_src_loop),
13140 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
13141 (gst_identity_set_property), (gst_identity_get_property),
13142 (gst_identity_change_state):
13143 * gst/elements/gstidentity.h:
13144 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
13145 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
13146 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
13147 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
13148 (gst_tee_sink_activate):
13149 * gst/elements/gsttee.h:
13150 * gst/gst.c: (gst_register_core_elements), (init_post):
13152 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
13153 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
13154 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
13155 (gst_bin_change_state):
13157 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
13158 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
13159 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
13160 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
13161 (gst_bus_set_sync_handler), (gst_bus_create_watch),
13162 (bus_watch_callback), (bus_watch_destroy),
13163 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
13164 (poll_timeout), (gst_bus_poll):
13168 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13169 (gst_element_post_message), (gst_element_message_full),
13170 (gst_element_get_state_func), (gst_element_get_state),
13171 (gst_element_abort_state), (gst_element_commit_state),
13172 (gst_element_lost_state), (gst_element_set_state),
13173 (gst_element_pads_activate), (gst_element_change_state),
13174 (gst_element_dispose), (gst_element_set_manager_func),
13175 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
13176 (gst_element_set_manager), (gst_element_get_manager),
13177 (gst_element_set_bus), (gst_element_get_bus),
13178 (gst_element_set_scheduler), (gst_element_get_scheduler):
13179 * gst/gstelement.h:
13180 * gst/gstevent.c: (gst_event_new_segment_seek),
13181 (gst_event_new_flush):
13183 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
13184 (_gst_message_free), (gst_message_get_type), (gst_message_new),
13185 (gst_message_new_eos), (gst_message_new_error),
13186 (gst_message_new_warning), (gst_message_new_tag),
13187 (gst_message_new_state_changed), (gst_message_new_application),
13188 (gst_message_get_structure), (gst_message_parse_tag),
13189 (gst_message_parse_state_changed), (gst_message_parse_error),
13190 (gst_message_parse_warning):
13191 * gst/gstmessage.h:
13192 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
13193 (gst_real_pad_set_property), (gst_pad_set_active),
13194 (gst_pad_is_active), (gst_pad_set_blocked_async),
13195 (gst_pad_set_blocked), (gst_pad_is_blocked),
13196 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
13197 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
13198 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13199 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
13200 (gst_pad_link_filtered), (gst_pad_relink_filtered),
13201 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
13202 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
13203 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
13204 (gst_pad_set_caps), (gst_pad_configure_sink),
13205 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
13206 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
13207 (gst_real_pad_dispose), (gst_real_pad_finalize),
13208 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
13209 (gst_pad_event_default_dispatch), (gst_pad_event_default),
13210 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
13212 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
13213 (pipeline_bus_handler), (gst_pipeline_change_state),
13214 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
13215 * gst/gstpipeline.h:
13217 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
13218 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
13219 (gst_queue_link_src), (gst_queue_bufferalloc),
13220 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13221 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
13222 (gst_queue_loop), (gst_queue_handle_src_event),
13223 (gst_queue_handle_src_query), (gst_queue_src_activate),
13224 (gst_queue_change_state):
13226 * gst/gstscheduler.c: (gst_scheduler_init),
13227 (gst_scheduler_dispose), (gst_scheduler_create_task),
13228 (gst_scheduler_factory_create):
13229 * gst/gstscheduler.h:
13230 * gst/gststructure.c: (gst_structure_get_type),
13231 (gst_structure_copy_conditional):
13232 * gst/gststructure.h:
13233 * gst/gsttaginterface.h:
13234 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
13235 (gst_task_init), (gst_task_dispose), (gst_task_create),
13236 (gst_task_get_state), (gst_task_start), (gst_task_stop),
13242 * gst/schedulers/Makefile.am:
13243 * gst/schedulers/cothreads_compat.h:
13244 * gst/schedulers/entryscheduler.c:
13245 * gst/schedulers/faircothreads.c:
13246 * gst/schedulers/faircothreads.h:
13247 * gst/schedulers/fairscheduler.c:
13248 * gst/schedulers/gstbasicscheduler.c:
13249 * gst/schedulers/gstoptimalscheduler.c:
13250 * gst/schedulers/gthread-cothreads.h:
13251 * gst/schedulers/threadscheduler.c:
13252 (gst_thread_scheduler_task_get_type),
13253 (gst_thread_scheduler_task_class_init),
13254 (gst_thread_scheduler_task_init),
13255 (gst_thread_scheduler_task_start),
13256 (gst_thread_scheduler_task_stop),
13257 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
13258 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
13259 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
13260 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
13262 * libs/gst/Makefile.am:
13263 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
13264 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
13265 (gst_file_pad_parent_set):
13266 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13267 (gst_dp_event_from_packet):
13268 * tests/complexity.c: (main):
13269 * tests/mass_elements.c: (main):
13270 * testsuite/states/locked.c: (message_received), (main):
13271 * testsuite/states/parent.c: (main):
13272 * tools/gst-inspect.c: (print_element_flag_info),
13273 (print_implementation_info), (print_pad_info):
13274 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
13276 * tools/gst-md5sum.c: (event_loop), (main):
13277 * tools/gst-typefind.c: (main):
13278 * tools/gst-xmlinspect.c: (print_element_info):
13280 Added GstBus for mainloop integration.
13281 Added GstMessage for sending notifications on the bus.
13282 Added GstTask as an abstraction for pipeline entry points.
13284 Removed Schedulers.
13285 Simplified GstQueue for multithreaded core.
13286 Made _link threadsafe, removed old capsnego.
13287 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
13288 Added pad blocking functions.
13289 Reworked scheduling functions in GstPad to prepare for
13290 scheduling updates soon.
13291 Moved events out of data stream.
13292 Simplified GstEvent types.
13293 Added return values to push/pull.
13294 Removed clocking from GstElement.
13295 Added prototypes for state change function for next merge.
13296 Removed iterate from bins and state change management.
13297 Fixed some elements, disabled others for now.
13298 Fixed -inspect and -launch.
13299 Added check for GstBus.
13301 2005-03-10 Wim Taymans <wim@fluendo.com>
13303 * docs/design/part-MT-refcounting.txt:
13304 * docs/design/part-clocks.txt:
13305 * docs/design/part-gstelement.txt:
13306 * docs/design/part-gstobject.txt:
13307 * docs/design/part-standards.txt:
13308 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13309 (gst_bin_remove_func), (gst_bin_remove):
13313 * testsuite/clock/clock1.c: (main):
13314 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
13316 * testsuite/dlopen/loadgst.c: (do_test):
13317 * testsuite/refcounting/bin.c: (add_remove_test1),
13318 (add_remove_test2), (main):
13319 * testsuite/refcounting/element.c: (main):
13320 * testsuite/refcounting/element_pad.c: (main):
13321 * testsuite/refcounting/pad.c: (main):
13322 * tools/gst-launch.c: (sigint_handler_sighandler):
13323 * tools/gst-typefind.c: (main):
13325 Added doc about clock.
13326 removed gst_bin_iterate_recurse_up(), marked methods
13328 Fix more testsuites.
13330 2005-03-09 Wim Taymans <wim@fluendo.com>
13332 * gst/gstpad.c: (gst_pad_get_direction),
13333 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
13334 (gst_pad_collect_valist):
13335 * testsuite/bins/interface.c: (main):
13336 * testsuite/caps/audioscale.c: (test_caps):
13337 * testsuite/caps/caps.c: (test1), (test2), (test3):
13338 * testsuite/caps/deserialize.c: (main):
13339 * testsuite/caps/enumcaps.c: (main):
13340 * testsuite/caps/filtercaps.c: (main):
13341 * testsuite/caps/intersect2.c: (main):
13342 * testsuite/caps/random.c: (main):
13343 * testsuite/caps/renegotiate.c: (my_fixate), (main):
13344 * testsuite/caps/sets.c: (check_caps):
13345 * testsuite/caps/simplify.c: (check_caps), (main):
13346 * testsuite/caps/subtract.c: (check_caps):
13347 Fix _pad_get_direction wrt ghostpads.
13348 Fix caps testsuite.
13350 2005-03-09 Wim Taymans <wim@fluendo.com>
13352 * check/Makefile.am:
13353 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
13354 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
13355 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
13356 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
13357 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
13358 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
13359 (gst_bin_remove), (gst_bin_iterate_recurse_up),
13360 (bin_element_is_sink), (gst_bin_iterate_sinks),
13361 (gst_bin_iterate_all_by_interface):
13363 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
13364 (gst_element_change_state), (gst_element_dispose),
13365 (gst_element_finalize), (gst_element_set_loop_function):
13366 * gst/gstelement.h:
13367 * gst/gstiterator.c: (find_custom_fold_func):
13368 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13369 (gst_pad_collectv), (gst_pad_collect_valist),
13370 (gst_pad_template_new):
13371 * gst/gstpipeline.c: (gst_pipeline_class_init),
13372 (gst_pipeline_dispose), (gst_pipeline_set_property),
13373 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
13374 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
13375 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
13377 * gst/schedulers/entryscheduler.c:
13378 * gst/schedulers/gstbasicscheduler.c:
13379 (gst_basic_scheduler_cothreaded_chain),
13380 (gst_basic_scheduler_chain_add_element):
13381 * testsuite/bins/interface.c: (main):
13383 Added GstSystemClock test.
13384 Implemented clock distribution code in GstBin.
13385 Implemented iterate sinks method for future use.
13386 Rearranged gstelement.h
13387 Fix GstIterator comparison bug.
13388 Moved some code to GstPipeline, mostly clocking related.
13390 2005-03-09 Wim Taymans <wim@fluendo.com>
13393 * gst/gst_private.h:
13394 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13395 (gst_bin_remove_func), (gst_bin_remove),
13396 (gst_bin_get_by_name_recurse_up):
13397 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
13398 (gst_clock_id_compare_func), (gst_clock_id_wait),
13399 (gst_clock_id_wait_async), (gst_clock_init),
13400 (gst_clock_adjust_unlocked), (gst_clock_get_time):
13401 * gst/gstelement.h:
13402 * gst/gstinfo.c: (_gst_debug_init):
13404 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13405 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
13407 Bump version number, we're now 0.9.0
13408 Add future debugging category.
13409 Fix NULL _unref() in _get_by_name_recurse_up
13410 Rearrange gstpad.h.
13413 2005-03-08 Wim Taymans <wim@fluendo.com>
13415 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
13416 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
13417 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
13418 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
13419 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
13420 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
13421 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
13422 * gst/elements/gstidentity.c: (gst_identity_class_init):
13423 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
13424 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
13425 * gst/elements/gstshaper.c: (gst_shaper_class_init):
13426 * gst/elements/gststatistics.c: (gst_statistics_class_init):
13427 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
13429 * gst/gstelement.c: (gst_element_class_init),
13430 (gst_element_base_class_init), (gst_element_init),
13431 (gst_element_get_random_pad), (gst_element_wait_state_change),
13432 (gst_element_change_state), (gst_element_dispose),
13433 (gst_element_finalize), (gst_element_set_loop_function):
13434 * gst/gstelement.h:
13435 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
13436 * gst/gstthread.c: (gst_thread_class_init),
13437 (gst_thread_release_children_locks), (gst_thread_change_state):
13438 * gst/schedulers/gstbasicscheduler.c:
13439 (gst_basic_scheduler_loopfunc_wrapper),
13440 (gst_basic_scheduler_chain_wrapper),
13441 (gst_basic_scheduler_src_wrapper),
13442 (gst_basic_scheduler_remove_element):
13443 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
13444 Remove threadsafe properties. Fix elements because GObject
13445 complains when installing a property before declaring a
13446 set/get_property handler.
13447 Rearrange gstelement.h file, use STATE macros for state locks.
13448 Free mutexes in the finalize method instead of dispose.
13450 2005-03-08 Wim Taymans <wim@fluendo.com>
13452 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
13453 * gst/gstthread.c: (gst_thread_release_children_locks):
13454 Added parentage check.
13455 Fix build og GstThread again.
13457 2005-03-08 Wim Taymans <wim@fluendo.com>
13459 * docs/design/part-MT-refcounting.txt:
13460 * docs/design/part-conventions.txt:
13461 * docs/design/part-gstobject.txt:
13462 * docs/design/part-relations.txt:
13463 * docs/design/part-standards.txt:
13464 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13465 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
13466 (gst_bin_get_by_name), (gst_bin_get_by_interface),
13467 (gst_bin_iterate_all_by_interface):
13470 * gst/gstelement.c: (gst_element_class_init),
13471 (gst_element_change_state), (gst_element_set_loop_function):
13472 * gst/gstelement.h:
13473 * gst/gstiterator.c:
13474 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
13475 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
13476 (gst_object_dispatch_properties_changed), (gst_object_set_name),
13477 (gst_object_set_parent), (gst_object_unparent),
13478 (gst_object_check_uniqueness):
13480 Docs updates, clean up some headers.
13482 2005-03-07 Wim Taymans <wim@fluendo.com>
13484 * check/.cvsignore:
13485 * check/Makefile.am:
13486 * check/gst-libs/.cvsignore:
13487 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
13488 * check/gst/.cvsignore:
13489 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
13490 (START_TEST), (gstbus_suite), (main):
13491 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
13492 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
13493 (gst_data_suite), (main):
13494 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
13495 (add_fold_func), (gstiterator_suite), (main):
13496 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
13497 (thread_name_object), (thread_name_object_default),
13498 (gst_object_name_compare), (gst_object_suite), (main):
13499 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
13500 (gst_pad_suite), (main):
13501 * check/gstcheck.c: (gst_check_log_message_func),
13502 (gst_check_log_critical_func), (gst_check_init):
13503 * check/gstcheck.h:
13504 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13505 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
13508 2005-03-07 Wim Taymans <wim@fluendo.com>
13510 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
13511 (gst_list_iterator_next), (gst_list_iterator_resync),
13512 (gst_list_iterator_free), (gst_iterator_new_list),
13513 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
13514 (gst_iterator_free), (gst_iterator_push), (filter_next),
13515 (filter_resync), (filter_uninit), (filter_free),
13516 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
13517 (gst_iterator_foreach), (find_custom_fold_func),
13518 (gst_iterator_find_custom):
13519 * gst/gstiterator.h:
13520 Added missing files.
13522 2005-03-07 Wim Taymans <wim@fluendo.com>
13526 * docs/design/part-MT-refcounting.txt:
13527 * docs/design/part-conventions.txt:
13528 * docs/design/part-gstobject.txt:
13529 * docs/design/part-relations.txt:
13530 * examples/mixer/mixer.c: (main):
13531 * examples/thread/thread.c: (eos), (main):
13533 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
13534 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
13535 (gst_spider_plug_from_srcpad):
13536 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
13537 (gst_spider_identity_change_state),
13538 (gst_spider_identity_sink_loop_type_finding):
13539 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
13540 * gst/elements/gstidentity.c: (gst_identity_init):
13541 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
13542 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
13543 * gst/elements/gsttypefindelement.c: (free_entry):
13546 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
13547 (gst_bin_set_clock_func), (gst_bin_auto_clock),
13548 (gst_bin_set_index), (gst_bin_set_element_sched),
13549 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
13550 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
13551 (gst_bin_iterate_elements), (iterate_child_recurse),
13552 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
13553 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
13554 (compare_interface), (gst_bin_get_by_interface),
13555 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
13557 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
13558 (gst_buffer_default_free), (gst_buffer_default_copy),
13559 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
13560 (gst_buffer_create_sub):
13562 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
13563 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
13564 (gst_caps_unref), (gst_static_caps_get),
13565 (gst_caps_remove_and_get_structure), (gst_caps_append),
13566 (gst_caps_append_structure), (gst_caps_remove_structure),
13567 (gst_caps_copy_nth), (gst_caps_set_simple),
13568 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
13569 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
13570 (gst_caps_structure_intersect_field), (gst_caps_intersect),
13571 (gst_caps_structure_subtract_field), (gst_caps_subtract),
13572 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
13573 (gst_caps_structure_figure_out_union),
13574 (gst_caps_switch_structures), (gst_caps_do_simplify),
13575 (gst_caps_replace), (gst_caps_from_string),
13576 (gst_caps_copy_conditional):
13578 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
13579 (_gst_clock_id_free), (gst_clock_id_unref),
13580 (gst_clock_id_compare_func), (gst_clock_id_wait),
13581 (gst_clock_id_wait_async), (gst_clock_class_init),
13582 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
13583 (gst_clock_get_time), (gst_clock_set_time_adjust),
13584 (gst_clock_set_property), (gst_clock_get_property):
13587 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
13588 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
13590 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13591 (gst_element_requires_clock), (gst_element_provides_clock),
13592 (gst_element_set_clock), (gst_element_clock_wait),
13593 (gst_element_wait), (gst_element_set_time_delay),
13594 (gst_element_is_indexable), (gst_element_add_pad),
13595 (gst_element_add_ghost_pad), (gst_element_remove_pad),
13596 (pad_compare_name), (gst_element_get_static_pad),
13597 (gst_element_request_pad), (gst_element_get_request_pad),
13598 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13599 (gst_element_class_get_pad_template_list),
13600 (gst_element_class_get_pad_template), (gst_element_error_func),
13601 (gst_element_get_random_pad), (gst_element_get_event_masks),
13602 (gst_element_send_event), (gst_element_seek),
13603 (gst_element_get_query_types), (gst_element_query),
13604 (gst_element_get_formats), (gst_element_convert),
13605 (gst_element_is_locked_state), (gst_element_set_locked_state),
13606 (gst_element_sync_state_with_parent), (gst_element_change_state),
13607 (gst_element_finalize), (gst_element_yield),
13608 (gst_element_interrupt), (gst_element_set_scheduler),
13609 (gst_element_get_scheduler), (gst_element_set_loop_function):
13610 * gst/gstelement.h:
13612 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13613 (gst_format_get_by_nick), (gst_format_get_details),
13614 (gst_format_iterate_definitions):
13616 * gst/gstindex.c: (gst_index_gtype_resolver):
13619 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13620 (gst_mem_chunk_free):
13621 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13622 (gst_object_ref), (gst_object_unref), (gst_object_sink),
13623 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13624 (gst_object_dispatch_properties_changed),
13625 (gst_object_set_name_default), (gst_object_set_name),
13626 (gst_object_get_name), (gst_object_set_name_prefix),
13627 (gst_object_get_name_prefix), (gst_object_set_parent),
13628 (gst_object_get_parent), (gst_object_unparent),
13629 (gst_object_check_uniqueness), (gst_object_save_thyself),
13630 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13631 (gst_object_set_property), (gst_object_get_property),
13632 (gst_object_get_path_string):
13634 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13635 (gst_real_pad_init), (gst_real_pad_get_property),
13636 (gst_pad_custom_new), (gst_pad_get_direction),
13637 (gst_pad_set_active), (gst_pad_is_active),
13638 (gst_pad_set_event_function), (gst_pad_is_linked),
13639 (gst_pad_link_free), (gst_pad_link_intersect),
13640 (gst_pad_link_fixate), (gst_pad_set_caps),
13641 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13642 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13643 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13644 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13645 (gst_pad_get_caps), (gst_pad_peer_get_caps),
13646 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13647 (gst_pad_realize), (gst_pad_get_allowed_caps),
13648 (gst_real_pad_dispose), (gst_real_pad_finalize),
13649 (gst_pad_collectv), (gst_pad_collect_valist),
13650 (gst_pad_template_dispose), (gst_pad_template_new),
13651 (gst_pad_get_internal_links):
13653 * gst/gstpipeline.c: (gst_pipeline_dispose),
13654 (gst_pipeline_change_state):
13655 * gst/gstpipeline.h:
13657 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13658 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13659 * gst/gstpluginfeature.h:
13660 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13661 * gst/gstquery.c: (_gst_query_type_initialize),
13662 (gst_query_type_register), (gst_query_type_get_by_nick),
13663 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13665 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13666 * gst/gstscheduler.c: (gst_scheduler_add_element),
13667 (gst_scheduler_factory_create):
13668 * gst/gststructure.c: (gst_structure_set_parent_refcount),
13669 (gst_structure_free), (gst_structure_set_name),
13670 (gst_structure_id_set_value), (gst_structure_set_value),
13671 (gst_structure_set_valist), (gst_structure_remove_field),
13672 (gst_structure_remove_fields),
13673 (gst_structure_remove_fields_valist),
13674 (gst_structure_remove_all_fields), (gst_structure_foreach),
13675 (gst_structure_map_in_place),
13676 (gst_caps_structure_fixate_field_nearest_int),
13677 (gst_caps_structure_fixate_field_nearest_double):
13678 * gst/gststructure.h:
13679 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13680 (gst_system_clock_init), (gst_system_clock_dispose),
13681 (gst_system_clock_async_thread),
13682 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13683 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13684 * gst/gstsystemclock.h:
13685 * gst/gsttag.c: (gst_tag_list_add_value_internal),
13686 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13687 * gst/gsttaginterface.c:
13688 * gst/gstthread.c: (gst_thread_dispose),
13689 (gst_thread_release_children_locks), (gst_thread_change_state),
13690 (gst_thread_main_loop):
13691 * gst/gsttrashstack.h:
13692 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13694 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13695 (gst_element_request_pad), (gst_element_get_pad_from_template),
13696 (gst_element_request_compatible_pad),
13697 (gst_element_get_compatible_pad_filtered),
13698 (gst_element_get_compatible_pad), (gst_element_state_get_name),
13699 (gst_element_link_pads_filtered), (gst_element_link_filtered),
13700 (gst_element_link_many), (gst_element_link),
13701 (gst_element_link_pads), (gst_element_unlink_pads),
13702 (gst_element_unlink_many), (gst_element_unlink),
13703 (gst_pad_can_link_filtered), (gst_pad_can_link),
13704 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13705 (gst_object_default_error), (gst_bin_add_many),
13706 (gst_bin_remove_many), (gst_element_populate_std_props),
13707 (gst_element_class_install_std_props), (gst_buffer_merge),
13708 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13709 (link_fold_func), (gst_pad_proxy_setcaps):
13711 * gst/gstvalue.c: (gst_value_deserialize_string):
13712 * gst/parse/grammar.y:
13713 * gst/schedulers/gstbasicscheduler.c:
13714 (gst_basic_scheduler_cothreaded_chain),
13715 (gst_basic_scheduler_chain_recursive_add),
13716 (gst_basic_scheduler_pad_link):
13717 * gst/schedulers/gstoptimalscheduler.c:
13718 (get_group_schedule_function),
13719 (gst_opt_scheduler_state_transition),
13720 (gst_opt_scheduler_add_element), (element_get_reachables_func):
13721 * libs/gst/bytestream/bytestream.c:
13722 * libs/gst/dataprotocol/dataprotocol.c:
13723 (gst_dp_header_from_buffer):
13726 * tests/threadstate/threadstate2.c: (eos):
13727 * tools/gst-compprep.c: (main):
13728 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13729 (print_pad_info), (print_children_info):
13730 * tools/gst-launch.c: (idle_func), (main):
13731 * tools/gst-md5sum.c: (idle_func), (main):
13732 * tools/gst-xmlinspect.c: (print_element_info):
13733 First THREADED backport attempt, focusing on adding locks and
13734 making sure the API is threadsafe. Needs more work. More docs
13737 2005-02-24 Andy Wingo <wingo@pobox.com>
13739 * tests/bench-complexity.scm:
13740 * tests/complexity.gnuplot: New files, good for running complexity
13743 * tests/Makefile.am:
13744 * tests/complexity.c: New test, sets up N elements, at each level
13745 teeing into M streams per element. Eeeenteresting.
13747 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13748 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13749 running bench-mass_elements.scm.
13751 * tests/bench-mass_elements.scm: New script, runs mass_elements
13752 for various numbers of identities, outputting the results to a
13753 file. Requires guile 1.6. Just for testing.
13755 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
13757 * gst/schedulers/fairscheduler.c:
13758 compile with debug disabled
13760 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
13763 hunting season on 0.9 is now OPEN