1 2005-12-16 Wim Taymans <wim@fluendo.com>
3 * gst/gstbin.c: (gst_bin_recalc_state):
6 2005-12-16 Wim Taymans <wim@fluendo.com>
9 Added make forever target for check.
11 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
13 * gst/gst.c: (init_post):
14 make the registry cache file HOST_CPU-dependent
16 2005-12-16 Andy Wingo <wingo@pobox.com>
18 * plugins/elements/gstbufferstore.c
19 (gst_buffer_store_cleared_func): Pay attention to g_list_append
22 * tests/check/gst/gstobject.c
23 (test_fake_object_name_threaded_unique): Pay attention to
24 g_list_sort return value.
26 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
28 * tools/gst-feedback-m.m:
29 Update for 0.9/0.10 (fixes #323870).
31 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
33 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
34 Fix lcopy for mini objects, the mini object needs to be ref'ed.
36 * tests/check/gst/gstminiobject.c: (my_foo_init),
37 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
38 (test_value_collection), (gst_mini_object_suite):
39 Add test to ensure refcounts end up as expected when passing
40 GstMiniObjects through g_object_get() and g_object_set().
42 2005-12-14 Julien MOUTTE <julien@moutte.net>
44 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
45 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
46 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
47 of collectpads. This version removes a lot of races without
48 touching API/ABI. Yay !
50 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
52 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
53 Don't allow activation of a srcpad in pull_range if it has no
55 Change some debug statements to be a little clearer
57 * plugins/elements/gsttypefindelement.c:
58 (gst_type_find_handle_src_query):
59 Check that we have a peer before executing queries thereupon.
61 * tests/examples/metadata/read-metadata.c: (message_loop):
62 Use gst_bus_pop instead of gst_bus_poll when we just want it to
63 immediately return us any available message with 0 timeout.
65 2005-12-12 Michael Smith <msmith@fluendo.com>
67 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
68 Don't unref factories after calling them.
69 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
70 * plugins/elements/gsttypefindelement.c:
71 (gst_type_find_element_chain):
72 Free lists of factories after using them. Fixing typefinding memory
75 2005-12-12 Stefan Kost <ensonic@users.sf.net>
77 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
78 (gst_plugin_feature_load):
79 more meaningful debug output
82 * tests/old/examples/Makefile.am:
83 make make distcheck happy again
85 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
87 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
88 Catch the special case where we are operating chain-based,
89 but the downstream peer pad has no chain function. Emit a
90 custom error message in this case instead of letting the
91 core generate one implying that this is some sort of core
92 bug. It's not, it just means that whatever got plugged
93 into the pipeline downstream when we announced the type
94 can only operate pull-based, while our source can only
95 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
96 Error string has not been marked for translation yet, as
97 it probably needs some more work first.
99 (gst_type_find_element_get_best_possibility):
100 Add helper function to find the best of all available
101 found possibilities that qualify given the min. threshold.
103 (gst_type_find_element_handle_event):
104 Fix the case where we get an EOS while still in TYPEFIND
105 mode (we want to chose the best of all possible types,
106 not just the first type that happens to be in our unsorted
107 list of possible types).
109 (gst_type_find_element_chain):
110 Make sure we return GST_FLOW_ERROR when we errored out
111 in stop_typefinding(); also, don't just find the best of
112 all found type entries and then use the last examined
113 type entry, but actually use the best entry.
115 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
117 * tests/examples/typefind/typefind.c: (type_found):
118 * tests/examples/xml/runxml.c: (xml_loaded):
119 More gcc4 fixes and a mem leak fix.
121 2005-12-12 Stefan Kost <ensonic@users.sf.net>
123 * tests/examples/xml/createxml.c: (object_saved):
126 2005-12-12 Stefan Kost <ensonic@users.sf.net>
129 enable the examples even more
131 2005-12-12 Andy Wingo <wingo@pobox.com>
133 * libs/gst/net/gstnettimeprovider.c
134 (gst_net_time_provider_class_init, gst_net_time_provider_init)
135 (gst_net_time_provider_set_property)
136 (gst_net_time_provider_get_property): Export "active" as a GObject
138 (gst_net_time_provider_thread): Only respond to time queries if
139 the time provider is active.
141 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
142 NetTimeProvider, preserving binary compat.
144 2005-12-12 Stefan Kost <ensonic@users.sf.net>
146 * tests/examples/controller/audio-example.c: (main):
147 * tests/examples/launch/Makefile.am:
148 convert comments again
150 2005-12-12 Wim Taymans <wim@fluendo.com>
152 * libs/gst/base/gstpushsrc.c:
155 2005-12-12 Wim Taymans <wim@fluendo.com>
157 * docs/libs/gstreamer-libs-sections.txt:
158 Added new symbol to docs.
160 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
161 (gst_base_src_init), (gst_base_src_set_format),
162 (gst_base_src_default_query), (gst_base_src_query),
163 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
164 (gst_base_src_perform_seek), (gst_base_src_send_event),
165 (gst_base_src_default_event), (gst_base_src_event_handler),
166 (gst_base_src_set_property), (gst_base_src_get_property),
167 (gst_base_src_wait), (gst_base_src_do_sync),
168 (gst_base_src_update_length), (gst_base_src_get_range),
169 (gst_base_src_check_get_range), (gst_base_src_loop),
170 (gst_base_src_default_negotiate), (gst_base_src_start),
171 (gst_base_src_activate_push), (gst_base_src_activate_pull),
172 (gst_base_src_change_state):
173 * libs/gst/base/gstbasesrc.h:
174 Implement seeking to other formats than _BYTES.
175 Implement more seeking methods correctly.
178 Added do_seek vmethod to make life easier for subclasses
180 API addition: gst_base_src_set_format()
182 2005-12-12 Stefan Kost <ensonic@users.sf.net>
184 * tests/examples/Makefile.am:
187 2005-12-12 Stefan Kost <ensonic@users.sf.net>
190 * docs/random/ensonic/media-device-daemon.txt:
191 * tests/examples/controller/.cvsignore:
192 * tests/examples/controller/Makefile.am:
193 * tests/examples/controller/audio-example.c: (main):
194 * tests/examples/helloworld/.cvsignore:
195 * tests/examples/helloworld/Makefile.am:
196 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
197 * tests/examples/launch/.cvsignore:
198 * tests/examples/launch/Makefile.am:
199 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
200 * tests/examples/metadata/.cvsignore:
201 * tests/examples/metadata/Makefile.am:
202 * tests/examples/metadata/read-metadata.c: (message_loop),
203 (make_pipeline), (print_tag), (main):
204 * tests/examples/queue/.cvsignore:
205 * tests/examples/queue/Makefile.am:
206 * tests/examples/queue/queue.c: (event_loop), (main):
207 * tests/examples/typefind/.cvsignore:
208 * tests/examples/typefind/Makefile.am:
209 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
211 * tests/examples/xml/.cvsignore:
212 * tests/examples/xml/Makefile.am:
213 * tests/examples/xml/createxml.c: (object_saved), (main):
214 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
215 * tests/old/examples/Makefile.am:
216 * tests/old/examples/TODO:
217 * tests/old/examples/controller/.cvsignore:
218 * tests/old/examples/controller/Makefile.am:
219 * tests/old/examples/controller/audio-example.c:
220 * tests/old/examples/helloworld/.cvsignore:
221 * tests/old/examples/helloworld/Makefile.am:
222 * tests/old/examples/helloworld/helloworld.c:
223 * tests/old/examples/launch/.cvsignore:
224 * tests/old/examples/launch/Makefile.am:
225 * tests/old/examples/launch/mp3parselaunch.c:
226 * tests/old/examples/launch/mp3play:
227 * tests/old/examples/manual/Makefile.am:
228 * tests/old/examples/metadata/Makefile.am:
229 * tests/old/examples/metadata/read-metadata.c:
230 * tests/old/examples/queue/.cvsignore:
231 * tests/old/examples/queue/Makefile.am:
232 * tests/old/examples/queue/queue.c:
233 * tests/old/examples/typefind/.cvsignore:
234 * tests/old/examples/typefind/Makefile.am:
235 * tests/old/examples/typefind/typefind.c:
236 * tests/old/examples/xml/.cvsignore:
237 * tests/old/examples/xml/Makefile.am:
238 * tests/old/examples/xml/createxml.c:
239 * tests/old/examples/xml/runxml.c:
240 applied some simple fixing to some examples
241 re-enabled the working examples
243 2005-12-12 Wim Taymans <wim@fluendo.com>
245 * gst/gstsegment.c: (gst_segment_init),
246 (gst_segment_set_last_stop), (gst_segment_set_seek),
247 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
248 (gst_segment_to_running_time):
249 Added more documentation.
250 Make sure the last_pos value is updated properly.
251 Make sure to_stream_time and to_running_time don't
252 operate on wrong values.
254 * tests/check/gst/gstsegment.c: (GST_START_TEST):
257 2005-12-12 Michael Smith <msmith@fluendo.com>
259 * plugins/elements/gsttypefindelement.c: (free_entry),
260 (gst_type_find_element_chain):
261 Now that we're not leaking factories, make sure we keep references
262 to them while we need them.
264 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
266 * tests/check/gst/struct_i386.h:
267 ifdef out the XML structs
269 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
271 * gst/gstvalue.c: (gst_value_transform_double_fraction):
272 floor is not needed, F is always positive; this obviates the
273 need for adding -lm when building without libxml
275 2005-12-12 Wim Taymans <wim@fluendo.com>
277 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
278 Take current playback rate into account when reporting
281 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
283 * docs/manual/mime-world.fig:
284 Let's try this again, this time with a file that is
285 actually in XFig format.
287 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
289 * docs/manual/mime-world.fig:
290 Add audioconvert element to diagram so that it
291 matches the text and the code (fixes #319526).
293 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
295 * docs/pwg/building-chainfn.xml:
296 * docs/pwg/building-pads.xml:
297 * docs/pwg/building-state.xml:
298 * docs/pwg/other-source.xml:
299 Update state change stuff for 0.10 (fixes #322969).
301 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
303 * docs/manual/advanced-dataaccess.xml:
304 * docs/manual/appendix-checklist.xml:
305 * docs/manual/appendix-programs.xml:
306 * docs/manual/basics-pads.xml:
307 * docs/manual/highlevel-components.xml:
308 * docs/manual/manual.xml:
309 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
310 add converters in front of pipelines; remove curly
311 brackets for threads stuff, they no longer exist; use
312 GST_TYPE_FRACTION for framerates; update some pieces of
313 code to 0.10, but there's plenty more to do.
315 * docs/manual/appendix-porting.xml:
316 Expand on asynchroneous state changes; s/0.9/0.10/;
317 mention disappearance of gst_init_get_popt_table()
320 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
322 * docs/faq/using.xml:
323 Spider no longer exists, and neither does gst-launch-ext.
324 Update examples to use decodebin and playbin and put
325 converters in front of sinks (fixes #323726).
327 2005-12-09 Michael Smith <msmith@fluendo.com>
329 * plugins/elements/gsttypefindelement.c: (find_peek),
330 (gst_type_find_element_chain):
331 Fix leaking element factories in typefinding.
332 Fix problem where we forgot about a probable type on non-seekable
333 files, and thus later mis-typefound it.
335 2005-12-09 Michael Smith <msmith@fluendo.com>
337 * common/m4/gst-makecontext.m4:
338 * common/m4/gst-mcsc.m4:
340 * win32/common/config.h:
341 * win32/common/config.h.in:
342 Remove makecontext stuff; not used in 0.10 and causes problems on
343 HPUX according to bug #322441
345 2005-12-07 Wim Taymans <wim@fluendo.com>
347 * tests/check/Makefile.am:
348 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
350 * tests/check/libs/struct_i386.h:
351 Added ABI check for libs
353 2005-12-07 Wim Taymans <wim@fluendo.com>
355 * tests/check/Makefile.am:
356 And add the struct_i386.h to dist.
358 2005-12-07 Wim Taymans <wim@fluendo.com>
360 * tests/check/Makefile.am:
361 * tests/check/gst/.cvsignore:
362 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
364 * tests/check/gst/struct_i386.h:
365 Added check for ABI compatibility.
367 2005-12-07 Wim Taymans <wim@fluendo.com>
369 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
370 (gst_fake_src_get_times), (gst_fake_src_create):
371 Fix broken sync option, fixes #323259
373 2005-12-07 Wim Taymans <wim@fluendo.com>
378 * gst/gstcaps.c: (gst_caps_is_equal):
379 Don't assert on NULL <--> X. Fixes #323260
381 * gst/gstminiobject.c: (gst_mini_object_replace):
382 If we're doing atomic operations, we might just as well use
383 the proper way to get an atomic pointer.
385 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
388 2005-12-07 Michael Smith <msmith@fluendo.com>
390 * gst/parse/grammar.y:
391 Remove handling of { } for threads.
393 2005-12-06 David Schleef <ds@schleef.org>
395 * libs/gst/base/gstbasetransform.c: speling fix.
397 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
399 * docs/libs/tmpl/gstdataprotocol.sgml:
400 * docs/random/omega/testing/gstobject.c:
404 * gst/gstelementfactory.c:
409 * gst/gstpadtemplate.c:
410 * gst/gstregistryxml.c:
412 * gst/gsttagsetter.c:
415 * libs/gst/base/gstbasesrc.c:
416 * libs/gst/net/gstnetclientclock.c:
417 * libs/gst/net/gstnettimeprovider.c:
418 * plugins/elements/gstfakesrc.c:
419 * plugins/elements/gstfdsrc.c:
420 * plugins/elements/gstfilesrc.c:
421 * plugins/elements/gstidentity.c:
422 * plugins/elements/gstqueue.c:
423 * plugins/elements/gsttypefindelement.c:
424 * plugins/indexers/gstfileindex.c:
425 * plugins/indexers/gstmemindex.c:
426 * tests/check/gst/gsttag.c:
427 * tests/old/examples/cutter/cutter.c:
428 * tests/old/examples/mixer/mixer.c:
429 * tests/old/examples/xml/runxml.c: (main):
430 * tests/old/testsuite/caps/normalisation.c:
431 * tests/old/testsuite/debug/global.c:
432 * tests/old/testsuite/parse/parse1.c:
433 * tools/gst-xmlinspect.c:
434 * win32/common/dirent.c:
437 === release 0.10.0 ===
439 2005-12-05 <thomas (at) apestaart (dot) org>
442 releasing 0.10.0, "Maroilles"
444 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
446 submitted by: Funda Wang <fundawang@linux.net.cn>
450 added Chinese (Traditional) translation
452 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
454 * docs/gst/gstreamer-sections.txt:
455 * docs/libs/tmpl/gstdataprotocol.sgml:
456 * docs/random/thomasvs/TODO:
461 2005-12-05 Andy Wingo <wingo@pobox.com>
463 patch by: Wim Taymans <wim@fluendo.com>
465 * libs/gst/base/gstbasetransform.c
466 (gst_base_transform_prepare_output_buf)
467 (gst_base_transform_buffer_alloc):
468 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
469 alloc_buffer_and_set_caps.
471 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
472 set_caps on the source pad.
473 (gst_pad_alloc_buffer_and_set_caps): New function, does what
474 alloc_buffer used to do. Fixes #322874.
476 * docs/gst/gstreamer-sections.txt:
477 * docs/design/part-negotiation.txt:
478 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
481 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
483 patch by: Sebastien Moutte
486 * win32/common/config.h.in:
487 * win32/vs6/libgstcontroller.dsp:
490 2005-12-05 Wim Taymans <wim@fluendo.com>
492 * gst/gstcaps.c: (gst_caps_is_equal):
493 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
494 (gst_fake_src_create):
495 Back out previous code changes, leave doc updates, file bugs
498 2005-12-05 Wim Taymans <wim@fluendo.com>
500 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
501 (gst_fake_src_get_times), (gst_fake_src_create):
502 * plugins/elements/gstfakesrc.h:
503 Fix broken sync code.
505 2005-12-05 Wim Taymans <wim@fluendo.com>
507 * gst/gstcaps.c: (gst_caps_is_equal):
508 Comparing NULL against !NULL yields different caps, not a
511 2005-12-05 Wim Taymans <wim@fluendo.com>
514 Fix small typo in docs.
516 2005-12-05 Andy Wingo <wingo@pobox.com>
518 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
520 * gst/gst.c (init_post): remove hard-coded 0.9 location for
521 registries/plugins with a MAJORMINOR one.
522 (plugin_desc): Rename library from gstcoreleements to
523 staticelements. Fixes #323222.
525 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
527 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
528 Change debug category to 'collectpads' from 'collect_pads'
531 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
533 patch by: Sebastien Moutte
535 * libs/gst/controller/gstinterpolation.c:
536 use convert function for uint64/double
537 * win32/vs6/libgstcontroller.dsp:
540 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
542 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
543 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
545 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
546 add tests that seem to show that the guint64/gdouble conversions
549 2005-12-02 Wim Taymans <wim@fluendo.com>
551 * gst/gstregistry.c: (gst_registry_add_path):
553 * gst/gstregistryxml.c:
556 2005-12-02 Wim Taymans <wim@fluendo.com>
558 * gst/gstutils.c: (gst_util_uint64_scale_int64),
559 (gst_util_uint64_scale_int):
562 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
565 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
568 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
571 * win32/common/config.h:
572 * win32/vs6/gstreamer.dsw:
573 * win32/vs6/libgstcoreelements.dsp:
574 * win32/vs6/libgstelements.dsp:
575 renamed core elements plugin
577 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
579 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
581 do piece-wise major/minor comparison so 0.9 < 0.10
582 also allow .exe extensions for tools
584 2005-12-02 Michael Smith <msmith@fluendo.com>
587 Escape a % to make gtkdoc happier; bug 322958.
589 === release 0.9.7 ===
591 2005-12-01 <thomas (at) apestaart (dot) org>
594 releasing 0.9.7, "My Dog Has No Nose"
596 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
598 * common/gst-xmlinspect.py:
600 * docs/libs/tmpl/gstdataprotocol.sgml:
601 * docs/random/release:
620 * win32/common/config.h:
621 * win32/common/config.h.in:
622 * win32/vs6/gst_inspect.dsp:
623 * win32/vs6/gst_launch.dsp:
624 * win32/vs6/libgstbase.dsp:
625 * win32/vs6/libgstelements.dsp:
626 * win32/vs6/libgstreamer.dsp:
627 * win32/vs7/GStreamer.vcproj:
628 * win32/vs7/gst-inspect.vcproj:
629 * win32/vs7/gst-launch.vcproj:
630 * win32/vs7/libgstbase.vcproj:
631 bump GST_MAJORMINOR to 0.10
632 reset libtool version
634 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
638 Added Bulgarian translation by (Alexander Shopov)
640 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
642 * tests/check/gst/gstplugin.c:
645 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
647 * common/gst-xmlinspect.py:
648 * common/gtk-doc-plugins.mak:
651 * docs/gst/Makefile.am:
652 * docs/gst/gstreamer-docs.sgml:
653 * docs/gst/gstreamer-sections.txt:
654 * docs/gst/gstreamer.types:
655 * docs/gst/gstreamer.types.in:
656 * docs/plugins/Makefile.am:
657 * docs/plugins/gstreamer-plugins-docs.sgml:
658 * docs/plugins/gstreamer-plugins-sections.txt:
659 * docs/plugins/gstreamer-plugins.types:
660 * docs/plugins/inspect.stamp:
661 * docs/plugins/inspect/plugin-coreelements.xml:
662 * docs/plugins/inspect/plugin-coreindexers.xml:
663 * docs/plugins/scanobj-build.stamp:
665 * plugins/elements/Makefile.am:
666 * plugins/elements/gstelements.c:
667 * plugins/elements/gstfakesink.c:
668 * plugins/elements/gstfakesrc.c:
669 * plugins/elements/gstfilesink.c:
670 * plugins/elements/gstfilesrc.c:
671 * plugins/elements/gstqueue.c:
672 * plugins/indexers/Makefile.am:
673 * plugins/indexers/gstindexers.c:
674 document core plugins in a separate document just like all the
676 rename these plugins to something starting with core
678 2005-12-01 Andy Wingo <wingo@pobox.com>
680 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
681 padding here before, but it missed the commit.
683 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
685 * libs/gst/controller/gstinterpolation.c:
686 whitespace prices have crashed, we should feel free to use some now
687 use gst_guint64_to_gdouble
689 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
691 * libs/gst/controller/gstcontroller.c:
692 * libs/gst/controller/gsthelper.c:
693 * libs/gst/controller/gstinterpolation.c:
694 * libs/gst/controller/lib.c:
695 wrap config.h include
697 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
699 * docs/gst/gstreamer-sections.txt:
702 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
704 * plugins/elements/gstelements.c:
705 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
706 (gst_fd_sink__class_init), (gst_fd_sink__init),
707 (gst_fd_sink__chain), (gst_fd_sink__set_property),
708 (gst_fd_sink__get_property):
709 * plugins/elements/gstfdsink.h:
710 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
711 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
712 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
713 (gst_fd_src_unlock), (gst_fd_src_set_property),
714 (gst_fd_src_get_property), (gst_fd_src_create),
715 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
716 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
717 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
718 (gst_fd_src_uri_handler_init):
719 * plugins/elements/gstfdsrc.h:
720 * plugins/elements/gstqueue.c: (gst_queue_get_type):
723 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
725 * docs/gst/Makefile.am:
726 * docs/gst/gstreamer.types.in:
730 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
737 * tests/benchmarks/complexity.c:
738 * tests/benchmarks/mass-elements.c:
739 * tests/check/Makefile.am:
741 * tools/gst-inspect.c:
742 * tools/gst-xmlinspect.c:
743 various fixes to make
744 --disable-nls --disable-registry --disable-loadsave
745 --disable-parse --disable-gst-debug
746 work and get the core .so down to 360444 bytes after stripping
748 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
753 * docs/random/thomasvs/TODO:
758 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
760 * win32/GStreamer.vcproj:
763 * win32/Makefile.inspect:
764 * win32/Makefile.launch:
765 * win32/Makefile.register:
767 * win32/gst-inspect.vcproj:
768 * win32/gst-launch.vcproj:
769 * win32/gst-register.vcproj:
770 * win32/gstelements.vcproj:
771 * win32/gstgetbits.def:
772 * win32/gstgetbits.vcproj:
773 * win32/gstreamer-dbg.def:
774 * win32/gstreamer.def:
775 * win32/libgstbase.def:
776 * win32/libgstbase.vcproj:
777 * win32/link_oldruntime.c:
782 move even more stuff, win32/ is nice and clean now
784 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
786 * libs/gst/control/.cvsignore:
791 * win32/gstbytestream.def:
792 * win32/gstbytestream.vcproj:
794 * win32/gstenumtypes.c:
795 * win32/gstenumtypes.h:
796 * win32/gstoptimalscheduler.vcproj:
797 * win32/gstversion.h:
799 * win32/testsuite/bins.vcproj:
800 * win32/testsuite/bytestream.vcproj:
801 * win32/testsuite/caps.vcproj:
802 * win32/testsuite/cleanup.vcproj:
803 * win32/testsuite/clock.vcproj:
804 * win32/testsuite/debug.vcproj:
805 * win32/testsuite/dlopen.vcproj:
806 * win32/testsuite/dynparams.vcproj:
807 * win32/testsuite/elements.vcproj:
808 * win32/testsuite/ghostpads.vcproj:
809 * win32/testsuite/indexers.vcproj:
810 * win32/testsuite/negotiation.vcproj:
811 * win32/testsuite/parse.vcproj:
812 * win32/testsuite/plugin.vcproj:
813 * win32/testsuite/refcounting.vcproj:
814 * win32/testsuite/schedulers.vcproj:
815 * win32/testsuite/states.vcproj:
816 * win32/testsuite/tags.vcproj:
817 * win32/testsuite/threads.vcproj:
818 remove old win32 stuff that isn't maintained and should be
821 2005-11-30 Andy Wingo <wingo@pobox.com>
823 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
824 loading the gst.interfaces python module bork.
826 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
827 available since GLib 2.2. Fixes #318031.
829 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
834 * check/elements/.cvsignore:
835 * check/elements/fakesrc.c:
836 * check/elements/fdsrc.c:
837 * check/elements/identity.c:
838 * check/generic/.cvsignore:
839 * check/generic/states.c:
840 * check/gst-libs/.cvsignore:
841 * check/gst-libs/controller.c:
842 * check/gst-libs/gdp.c:
843 * check/gst/.cvsignore:
844 * check/gst/capslist.h:
846 * check/gst/gstbin.c:
847 * check/gst/gstbuffer.c:
848 * check/gst/gstbus.c:
849 * check/gst/gstcaps.c:
850 * check/gst/gstelement.c:
851 * check/gst/gstevent.c:
852 * check/gst/gstghostpad.c:
853 * check/gst/gstiterator.c:
854 * check/gst/gstmessage.c:
855 * check/gst/gstminiobject.c:
856 * check/gst/gstobject.c:
857 * check/gst/gstpad.c:
858 * check/gst/gstpipeline.c:
859 * check/gst/gstplugin.c:
860 * check/gst/gstsegment.c:
861 * check/gst/gststructure.c:
862 * check/gst/gstsystemclock.c:
863 * check/gst/gsttag.c:
864 * check/gst/gstutils.c:
865 * check/gst/gstvalue.c:
866 * check/net/.cvsignore:
867 * check/net/gstnetclientclock.c:
868 * check/net/gstnettimeprovider.c:
869 * check/pipelines/.cvsignore:
870 * check/pipelines/cleanup.c:
871 * check/pipelines/simple_launch_lines.c:
872 * check/pipelines/stress.c:
873 * check/states/.cvsignore:
874 * check/states/sinks.c:
876 * examples/Makefile.am:
877 * examples/appreader/.cvsignore:
878 * examples/appreader/Makefile.am:
879 * examples/appreader/appreader.c:
880 * examples/controller/.cvsignore:
881 * examples/controller/Makefile.am:
882 * examples/controller/audio-example.c:
883 * examples/cutter/.cvsignore:
884 * examples/cutter/Makefile.am:
885 * examples/cutter/cutter.c:
886 * examples/cutter/cutter.h:
887 * examples/events/Makefile.am:
888 * examples/events/seek.c:
889 * examples/helloworld/.cvsignore:
890 * examples/helloworld/Makefile.am:
891 * examples/helloworld/helloworld.c:
892 * examples/helloworld2/.cvsignore:
893 * examples/helloworld2/Makefile.am:
894 * examples/helloworld2/helloworld2.c:
895 * examples/launch/.cvsignore:
896 * examples/launch/Makefile.am:
897 * examples/launch/mp3parselaunch.c:
898 * examples/launch/mp3play:
899 * examples/manual/.cvsignore:
900 * examples/manual/Makefile.am:
901 * examples/manual/extract.pl:
902 * examples/metadata/Makefile.am:
903 * examples/metadata/read-metadata.c:
904 * examples/mixer/.cvsignore:
905 * examples/mixer/Makefile.am:
906 * examples/mixer/mixer.c:
907 * examples/mixer/mixer.h:
908 * examples/pingpong/.cvsignore:
909 * examples/pingpong/Makefile.am:
910 * examples/pingpong/pingpong.c:
911 * examples/plugins/.cvsignore:
912 * examples/plugins/Makefile.am:
913 * examples/plugins/example.c:
914 * examples/plugins/example.h:
915 * examples/pwg/.cvsignore:
916 * examples/pwg/Makefile.am:
917 * examples/pwg/extract.pl:
918 * examples/queue/.cvsignore:
919 * examples/queue/Makefile.am:
920 * examples/queue/queue.c:
921 * examples/queue2/.cvsignore:
922 * examples/queue2/Makefile.am:
923 * examples/queue2/queue2.c:
924 * examples/queue3/.cvsignore:
925 * examples/queue3/Makefile.am:
926 * examples/queue3/queue3.c:
927 * examples/queue4/.cvsignore:
928 * examples/queue4/Makefile.am:
929 * examples/queue4/queue4.c:
930 * examples/retag/.cvsignore:
931 * examples/retag/Makefile.am:
932 * examples/retag/retag.c:
933 * examples/retag/transcode.c:
934 * examples/thread/.cvsignore:
935 * examples/thread/Makefile.am:
936 * examples/thread/thread.c:
937 * examples/typefind/.cvsignore:
938 * examples/typefind/Makefile.am:
939 * examples/typefind/typefind.c:
940 * examples/xml/.cvsignore:
941 * examples/xml/Makefile.am:
942 * examples/xml/createxml.c:
943 * examples/xml/runxml.c:
945 * tests/check/Makefile.am:
946 * testsuite/.cvsignore:
947 * testsuite/Makefile.am:
949 * testsuite/caps/.cvsignore:
950 * testsuite/caps/Makefile.am:
951 * testsuite/caps/app_fixate.c:
952 * testsuite/caps/audioscale.c:
953 * testsuite/caps/caps.c:
954 * testsuite/caps/caps.h:
955 * testsuite/caps/caps_strings:
956 * testsuite/caps/compatibility.c:
957 * testsuite/caps/deserialize.c:
958 * testsuite/caps/enumcaps.c:
959 * testsuite/caps/eratosthenes.c:
960 * testsuite/caps/filtercaps.c:
961 * testsuite/caps/fixed.c:
962 * testsuite/caps/fraction-convert.c:
963 * testsuite/caps/fraction-multiply-and-zero.c:
964 * testsuite/caps/intersect2.c:
965 * testsuite/caps/intersection.c:
966 * testsuite/caps/normalisation.c:
967 * testsuite/caps/random.c:
968 * testsuite/caps/renegotiate.c:
969 * testsuite/caps/sets.c:
970 * testsuite/caps/simplify.c:
971 * testsuite/caps/string-conversions.c:
972 * testsuite/caps/structure.c:
973 * testsuite/caps/subtract.c:
974 * testsuite/caps/union.c:
975 * testsuite/debug/.cvsignore:
976 * testsuite/debug/Makefile.am:
977 * testsuite/debug/category.c:
978 * testsuite/debug/commandline.c:
979 * testsuite/debug/global.c:
980 * testsuite/debug/output.c:
981 * testsuite/debug/printf_extension.c:
982 * testsuite/dlopen/.cvsignore:
983 * testsuite/dlopen/Makefile.am:
984 * testsuite/dlopen/dlopen_gst.c:
985 * testsuite/dlopen/loadgst.c:
986 * testsuite/elements/.cvsignore:
987 * testsuite/elements/Makefile.am:
988 * testsuite/elements/gst-inspect-check.in:
989 * testsuite/elements/struct_i386.h:
990 * testsuite/elements/struct_size.c:
991 * testsuite/indexers/.cvsignore:
992 * testsuite/indexers/Makefile.am:
993 * testsuite/indexers/cache1.c:
994 * testsuite/indexers/indexdump.c:
995 * testsuite/parse/.cvsignore:
996 * testsuite/parse/Makefile.am:
997 * testsuite/parse/parse1.c:
998 * testsuite/parse/parse2.c:
999 * testsuite/plugin/.cvsignore:
1000 * testsuite/plugin/Makefile.am:
1001 * testsuite/plugin/README:
1002 * testsuite/plugin/dynamic.c:
1003 * testsuite/plugin/linked.c:
1004 * testsuite/plugin/loading.c:
1005 * testsuite/plugin/registry.c:
1006 * testsuite/plugin/static.c:
1007 * testsuite/plugin/static2.c:
1008 * testsuite/plugin/testplugin.c:
1009 * testsuite/plugin/testplugin2.c:
1010 * testsuite/plugin/testplugin2_s.c:
1011 * testsuite/plugin/testplugin_s.c:
1012 * testsuite/refcounting/.cvsignore:
1013 * testsuite/refcounting/Makefile.am:
1014 * testsuite/refcounting/bin.c:
1015 * testsuite/refcounting/element.c:
1016 * testsuite/refcounting/element_pad.c:
1017 * testsuite/refcounting/mainloop.c:
1018 * testsuite/refcounting/mem.c:
1019 * testsuite/refcounting/mem.h:
1020 * testsuite/refcounting/object.c:
1021 * testsuite/refcounting/pad.c:
1022 * testsuite/refcounting/sched.c:
1023 * testsuite/refcounting/thread.c:
1024 * testsuite/states/.cvsignore:
1025 * testsuite/states/Makefile.am:
1026 * testsuite/states/bin.c:
1027 * testsuite/states/locked.c:
1028 * testsuite/states/parent.c:
1029 * testsuite/threads/.cvsignore:
1030 * testsuite/threads/159566.c:
1031 * testsuite/threads/159852.c:
1032 * testsuite/threads/Makefile.am:
1033 * testsuite/threads/queue.c:
1034 * testsuite/threads/signals.c:
1035 * testsuite/threads/staticrec.c:
1036 * testsuite/threads/thread.c:
1037 * testsuite/threads/threadb.c:
1038 * testsuite/threads/threadc.c:
1039 * testsuite/threads/threadd.c:
1040 * testsuite/threads/threade.c:
1041 * testsuite/threads/threadf.c:
1042 * testsuite/threads/threadg.c:
1043 * testsuite/threads/threadh.c:
1044 * testsuite/threads/threadi.c:
1045 move all of these under tests
1047 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1050 * tests/Makefile.am:
1053 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1055 * docs/gst/gstreamer-sections.txt:
1056 * tests/sched/.cvsignore:
1057 * tests/sched/Makefile.am:
1058 * tests/sched/cases/(fs-fs).xml:
1059 * tests/sched/cases/(fs-i-fs).xml:
1060 * tests/sched/cases/(fs-i-i-fs).xml:
1061 * tests/sched/cases/(fs-i-q[i-fs]).xml:
1062 * tests/sched/dynamic-pipeline.c:
1063 * tests/sched/interrupt1.c:
1064 * tests/sched/interrupt2.c:
1065 * tests/sched/interrupt3.c:
1066 * tests/sched/runtestcases:
1067 * tests/sched/runxml.c:
1068 * tests/sched/sched-stress.c:
1069 * tests/sched/sort.c:
1070 * tests/sched/testcases:
1071 * tests/sched/testcases1.tc:
1072 * tests/seeking/.cvsignore:
1073 * tests/seeking/Makefile.am:
1074 * tests/seeking/seeking1.c:
1075 * tests/threadstate/.cvsignore:
1076 * tests/threadstate/Makefile.am:
1077 * tests/threadstate/test1.c:
1078 * tests/threadstate/test2.c:
1079 * tests/threadstate/threadstate1.c:
1080 * tests/threadstate/threadstate2.c:
1081 * tests/threadstate/threadstate3.c:
1082 * tests/threadstate/threadstate4.c:
1083 * tests/threadstate/threadstate5.c:
1084 remove obsolete tests
1086 * tests/bench-complexity.scm:
1087 * tests/bench-mass_elements.scm:
1088 * tests/complexity.c:
1089 * tests/complexity.gnuplot:
1090 * tests/instantiate/.cvsignore:
1091 * tests/instantiate/Makefile.am:
1092 * tests/instantiate/caps.c:
1093 * tests/mass_elements.c:
1094 * tests/network-clock-utils.scm:
1095 * tests/network-clock.scm:
1097 First pass at cleaning up tests/ dir before moving the rest
1098 Combined with CVS surgery
1100 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1103 queue has moved, update
1105 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1107 * docs/gst/gstreamer-sections.txt:
1108 remove double entries from the docs
1109 * gst/gst_private.h:
1110 * gst/gstinfo.c: (_gst_debug_init):
1111 remove the THREAD debug category
1115 * docs/gst/gstreamer.types:
1116 * plugins/elements/gstqueue.c: (gst_queue_get_type),
1117 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
1118 completely move queue and fix up debugging categories
1120 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1122 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1123 make initialization portable, using LL is not
1125 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1127 * win32/common/gstconfig.h:
1130 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1132 * win32/common/libgstreamer.def:
1133 rename symbols; sort base section
1135 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1137 * gst/gstclock.c: (do_linear_regression):
1138 remove crack non-portable handrolled DEBUG macro
1140 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1142 * docs/random/release:
1144 * win32/common/gstenumtypes.c: (register_gst_object_flags),
1145 (gst_object_flags_get_type), (register_gst_bin_flags),
1146 (gst_bin_flags_get_type), (register_gst_buffer_flag),
1147 (gst_buffer_flag_get_type), (register_gst_bus_flags),
1148 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
1149 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
1150 (gst_caps_flags_get_type), (register_gst_clock_return),
1151 (gst_clock_return_get_type), (register_gst_clock_entry_type),
1152 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
1153 (gst_clock_flags_get_type), (register_gst_state),
1154 (gst_state_get_type), (register_gst_state_change_return),
1155 (gst_state_change_return_get_type), (register_gst_state_change),
1156 (gst_state_change_get_type), (register_gst_element_flags),
1157 (gst_element_flags_get_type), (register_gst_core_error),
1158 (gst_core_error_get_type), (register_gst_library_error),
1159 (gst_library_error_get_type), (register_gst_resource_error),
1160 (gst_resource_error_get_type), (register_gst_stream_error),
1161 (gst_stream_error_get_type), (register_gst_event_type_flags),
1162 (gst_event_type_flags_get_type), (register_gst_event_type),
1163 (gst_event_type_get_type), (register_gst_seek_type),
1164 (gst_seek_type_get_type), (register_gst_seek_flags),
1165 (gst_seek_flags_get_type), (register_gst_format),
1166 (gst_format_get_type), (register_gst_index_certainty),
1167 (gst_index_certainty_get_type), (register_gst_index_entry_type),
1168 (gst_index_entry_type_get_type),
1169 (register_gst_index_lookup_method),
1170 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
1171 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
1172 (gst_index_resolver_method_get_type), (register_gst_index_flags),
1173 (gst_index_flags_get_type), (register_gst_debug_level),
1174 (gst_debug_level_get_type), (register_gst_debug_color_flags),
1175 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
1176 (gst_iterator_result_get_type), (register_gst_iterator_item),
1177 (gst_iterator_item_get_type), (register_gst_message_type),
1178 (gst_message_type_get_type), (register_gst_mini_object_flags),
1179 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
1180 (gst_pad_link_return_get_type), (register_gst_flow_return),
1181 (gst_flow_return_get_type), (register_gst_activate_mode),
1182 (gst_activate_mode_get_type), (register_gst_pad_direction),
1183 (gst_pad_direction_get_type), (register_gst_pad_flags),
1184 (gst_pad_flags_get_type), (register_gst_pad_presence),
1185 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
1186 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
1187 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
1188 (gst_plugin_error_get_type), (register_gst_plugin_flags),
1189 (gst_plugin_flags_get_type), (register_gst_rank),
1190 (gst_rank_get_type), (register_gst_query_type),
1191 (gst_query_type_get_type), (register_gst_tag_merge_mode),
1192 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
1193 (gst_tag_flag_get_type), (register_gst_task_state),
1194 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
1195 (gst_alloc_trace_flags_get_type),
1196 (register_gst_type_find_probability),
1197 (gst_type_find_probability_get_type), (register_gst_uri_type),
1198 (gst_uri_type_get_type), (register_gst_parse_error),
1199 (gst_parse_error_get_type):
1200 * win32/common/gstenumtypes.h:
1201 * win32/common/gstversion.h:
1202 update visual studio generated files
1204 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1206 * win32/vs6/libgstbase.dsp:
1207 * win32/vs6/libgstelements.dsp:
1208 update project files for new locations
1210 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1215 reinstate and update
1220 * docs/random/LICENSE:
1223 2005-11-30 Edward Hervey <edward@fluendo.com>
1225 * gst/gsttypefind.c: (gst_type_find_register):
1226 * gst/gsttypefind.h:
1227 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
1228 (gst_type_find_factory_dispose):
1229 * gst/gsttypefindfactory.h:
1230 Fix memory leak in GstTypeFindFactory.
1232 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1235 * plugins/elements/Makefile.am:
1236 * plugins/elements/gstelements.c:
1237 * plugins/elements/gstqueue.c:
1238 move queue from core to the elements plugin
1240 2005-11-29 Andy Wingo <wingo@pobox.com>
1242 * libs/gst/base/gstbasetransform.h:
1243 * libs/gst/base/gstbasesrc.h:
1244 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
1246 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
1247 of pointers by which to pad very extensible base classes (like the
1248 ones in libs/gst/base).
1250 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1252 * docs/gst/gstreamer-docs.sgml:
1253 * docs/gst/gstreamer-sections.txt:
1254 * docs/libs/gstreamer-libs-docs.sgml:
1255 * docs/libs/gstreamer-libs-sections.txt:
1256 moving documentation from core to lib
1258 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1260 * check/Makefile.am:
1262 * docs/gst/Makefile.am:
1264 * gst/base/.cvsignore:
1265 * gst/base/Makefile.am:
1267 * gst/base/gstadapter.c:
1268 * gst/base/gstadapter.h:
1269 * gst/base/gstbasesink.c:
1270 * gst/base/gstbasesink.h:
1271 * gst/base/gstbasesrc.c:
1272 * gst/base/gstbasesrc.h:
1273 * gst/base/gstbasetransform.c:
1274 * gst/base/gstbasetransform.h:
1275 * gst/base/gstcollectpads.c:
1276 * gst/base/gstcollectpads.h:
1277 * gst/base/gstpushsrc.c:
1278 * gst/base/gstpushsrc.h:
1279 * gst/base/gsttypefindhelper.c:
1280 * gst/base/gsttypefindhelper.h:
1281 * gst/check/Makefile.am:
1282 * gst/check/gstcheck.c:
1283 * gst/check/gstcheck.h:
1284 * gst/net/Makefile.am:
1286 * gst/net/gstnetclientclock.c:
1287 * gst/net/gstnetclientclock.h:
1288 * gst/net/gstnettimepacket.c:
1289 * gst/net/gstnettimepacket.h:
1290 * gst/net/gstnettimeprovider.c:
1291 * gst/net/gstnettimeprovider.h:
1292 * libs/gst/Makefile.am:
1293 * libs/gst/base/Makefile.am:
1294 * libs/gst/base/gstbasetransform.c:
1295 * libs/gst/check/Makefile.am:
1296 * plugins/elements/Makefile.am:
1298 CVS surgery + support to move base, check, and net out of gst
1301 2005-11-29 Andy Wingo <wingo@pobox.com>
1303 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
1305 * gst/gststructure.h (struct _GstStructure): Only one pointer of
1308 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
1310 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
1312 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
1314 * gst/gstobject.h: (struct _GstObject): Only one pointer of
1315 padding; reduces object size by about 30%. We don't expect
1316 anything else to go into gstobject.
1318 * gst/gstminiobject.h (struct _GstMiniObject)
1319 (struct _GstMiniObjectClass): Only one pointer of padding; the
1320 payload is only a pointer and two ints anyway. For the class there
1321 are only two methods as well.
1323 * gst/gstelement.h (struct _GstElementClass): Removed
1324 the state_changed signal callback, it is not used.
1326 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1328 * docs/gst/gstreamer.types:
1329 fix includes, though they are a little dinky
1331 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1333 * check/Makefile.am:
1334 look in the right place for elements, a lot more chance of
1337 remove indexers and elements subdirs
1338 * plugins/Makefile.am:
1339 make indexers conditional
1341 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1345 * plugins/elements/Makefile.am:
1346 * plugins/elements/gstcapsfilter.c:
1347 * plugins/elements/gstfilesink.c:
1348 * plugins/elements/gstfilesrc.c:
1349 * plugins/elements/gstidentity.c:
1350 * plugins/indexers/Makefile.am:
1351 do CVS surgery and related build fixery to move elements
1352 and indexers in a new gstreamer/plugins directory, out of the
1355 2005-11-29 Andy Wingo <wingo@pobox.com>
1357 * check/Makefile.am:
1358 * pkgconfig/gstreamer-net-uninstalled.pc.in:
1359 * pkgconfig/gstreamer-net.pc.in:
1360 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
1363 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1365 * tools/Makefile.am:
1366 * tools/gst-complete.1.in:
1367 * tools/gst-complete.c:
1368 * tools/gst-compprep.1.in:
1369 * tools/gst-compprep.c:
1370 removing -compprep and -complete
1372 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1374 * gst/gstevent.c: (gst_event_new_new_segment),
1375 (gst_event_parse_new_segment):
1377 fix #320529 - clean up new_segment API and structure.
1378 Let's hope everyone was using the methods, and not the structure.
1380 2005-11-29 Edward Hervey <edward@fluendo.com>
1382 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1383 (gst_base_sink_event), (gst_base_sink_do_sync),
1384 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
1385 Properly handle non GST_FORMAT_TIME segment
1386 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1387 Properly handle non GST_FORMAT_TIME segment
1389 This function is valid if the accumulator is 0 and the format
1390 is different from the requested format.
1392 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1394 * docs/gst/gstreamer-sections.txt:
1395 Add gst_query_new_seeking and gst_query_parse_seeking to the
1398 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1400 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
1401 Treat a pad alloc with new caps the same as if we were not
1402 negotiated, in order to allow a changing upstream output
1403 to produce a new format of data.
1405 2005-11-29 Edward Hervey <edward@fluendo.com>
1407 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1408 (gst_base_transform_event), (gst_base_transform_eventfunc):
1409 The event virtual method is now properly implemented, with a default
1411 Sub classes should call the parent_class event method. They should
1412 return FALSE if they had a problem handling the given event, or don't
1413 want GstBaseTransform to send that even downstream
1414 * gst/elements/gstidentity.c: (gst_identity_class_init),
1415 (gst_identity_init), (gst_identity_event),
1416 (gst_identity_transform_ip), (gst_identity_set_property),
1417 (gst_identity_get_property):
1418 * gst/elements/gstidentity.h:
1419 Added the single-segment boolean property.
1420 If set to TRUE, it will output a single segment of data, starting from
1421 0, will eat up all incoming newsegment, and modify the timestamp of the
1424 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
1426 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
1427 Don't ref NULL target pad (#322751). Improve docs.
1429 2005-11-29 Michael Smith <msmith@fluendo.com>
1431 * gst/gstregistryxml.c: (load_plugin):
1432 Don't crash if we failed to load a feature from a plugin.
1434 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1436 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
1438 use more check API and less GLib API
1440 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1443 don't run checks if we don't have check
1445 remove the registry when running make torture
1446 * docs/gst/gstreamer-sections.txt:
1447 remove second multiply
1448 * gst/gstqueue.c: (gst_queue_loop):
1449 fix a compile warning when disabling debug
1451 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1454 Hey! Let's print the pad name if the pointer != NULL instead
1455 of when it == NULL :-)
1457 2005-11-28 Wim Taymans <wim@fluendo.com>
1459 * check/gst/gstutils.c: (GST_START_TEST):
1460 Updated check, add some scaling accuracy checking code.
1462 * gst/gstutils.c: (gst_util_div128_64),
1463 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
1464 (gst_util_uint64_scale_int):
1465 Fix 6 times faster division code. Optimize for common
1466 1/1 and less common X/1 cases.
1468 2005-11-28 Wim Taymans <wim@fluendo.com>
1470 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1473 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
1474 (do_linear_regression), (gst_clock_add_observation):
1476 Release lock when the clock cannot be slaved.
1477 Catch the case where the regression returned an invalid denominator.
1479 * gst/gstutils.c: (gst_util_div128_64_iterate),
1480 (gst_util_div128_64), (gst_util_uint64_scale_int64),
1481 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1482 Add protentially more performant non-iterative 128/64 divide function
1483 that unfortunatly does not work yet.
1484 Shortcut the trivial 0/X = 0 case.
1485 Remove the warnings on overflow.
1487 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1489 * gst/gstplugin.c: (gst_plugin_register_func):
1490 everything causing a plugin not to load should be at least a WARNING
1492 2005-11-28 Stefan Kost <ensonic@users.sf.net>
1494 * docs/random/ensonic/dparams.txt:
1495 some TODOs for the next dev cycle
1496 * libs/gst/controller/gstcontroller.c:
1497 (gst_controlled_property_set_interpolation_mode),
1498 (gst_controlled_property_new):
1499 * libs/gst/controller/gstcontroller.h:
1500 use base type to assign acccessor functions
1502 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1504 * check/Makefile.am:
1505 Oops, that should have been top_srcdir
1507 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1509 * check/Makefile.am:
1510 * check/elements/fdsrc.c: (GST_START_TEST):
1511 Use a cmdline define to specify the location of a file to use for
1512 testing, to avoid breaking distcheck.
1514 2005-11-28 Andy Wingo <wingo@pobox.com>
1516 * gst/gstpad.c (fixate_value): Use array functions for arrays.
1518 2005-11-28 Edward Hervey <edward@fluendo.com>
1520 * tools/gst-launch.c: (main):
1521 Clarify the output strings, makes it easier to translate.
1524 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1527 don't try and build net if we don't even have <sys/socket.h>
1529 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
1531 * check/Makefile.am:
1532 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1533 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1534 Add tests for fdsrc seekability
1536 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1537 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1538 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1539 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1540 * gst/elements/gstfdsrc.h:
1541 fdsrc should not be a 'live' source.
1542 Implement seeking on seekable fd's.
1544 * gst/gstquery.c: (gst_query_new_seeking),
1545 (gst_query_parse_seeking):
1547 Implement SEEKING query functions:
1548 *_new_seeking and *_parse_seeking
1550 2005-11-27 Stefan Kost <ensonic@users.sf.net>
1552 * gst/gstelement.c: (gst_element_dispose):
1555 * gst/gstiterator.c:
1556 * gst/gststructure.c:
1559 * libs/gst/controller/gstcontroller.c:
1560 (gst_controlled_property_set_interpolation_mode):
1561 * libs/gst/controller/gstcontroller.h:
1562 * libs/gst/controller/gstinterpolation.c:
1563 (interpolate_none_get_enum_value_array):
1564 support controlling enums
1566 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1569 Improve documentation for gst_value_union().
1572 Change return value for union, intersect and subtract functions
1573 from gint to gboolean.
1575 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1577 * gst/gstvalue.c: (gst_value_serialize_any_list),
1578 (gst_value_transform_any_list_string),
1579 (gst_value_deserialize_list), (gst_value_deserialize_array),
1580 (gst_value_set_int_range), (gst_value_deserialize_int_range),
1581 (gst_value_set_double_range), (gst_value_deserialize_double_range),
1582 (gst_value_set_fraction_range_full),
1583 (gst_value_deserialize_fraction_range),
1584 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1585 (gst_value_deserialize_boolean),
1586 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1587 (gst_value_serialize_float), (gst_value_deserialize_float),
1588 (gst_string_wrap), (gst_value_deserialize_string),
1589 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1590 (gst_value_union_int_range_int_range),
1591 (gst_value_intersect_int_range_int_range),
1592 (gst_value_intersect_double_range_double_range),
1593 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1594 (gst_value_subtract_int_range_int_range),
1595 (gst_value_subtract_double_double_range),
1596 (gst_value_subtract_double_range_double_range),
1597 (gst_value_deserialize_fraction):
1599 Use gint, gdouble and gchar in our API instead of int, double and
1600 char (and make usage in gstvalue.c more consistent).
1602 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1604 * check/Makefile.am:
1605 * libs/gst/controller/Makefile.am:
1606 * libs/gst/dataprotocol/Makefile.am:
1607 fix up Makefile.am and remove GST_ENABLE_NEW
1609 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1613 * gst/base/Makefile.am:
1614 * gst/check/Makefile.am:
1615 * gst/elements/Makefile.am:
1616 * gst/net/Makefile.am:
1617 update LDFLAGS use some more
1619 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1621 * common/m4/gst-doc.m4:
1624 2005-11-26 Edward Hervey <edward@fluendo.com>
1626 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1627 This shouldn't issue a g_warning since it returns NULL if it
1628 couldn't find the plugin, and all functions using this behave
1629 properly on a NULL return. Switching to a GST_WARNING.
1631 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
1633 * gst/gstbin.c: (gst_bin_handle_message_func):
1634 Don't leak clock messages.
1636 2005-11-25 Wim Taymans <wim@fluendo.com>
1638 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1639 (gst_util_uint64_scale_int):
1640 Optimisations, remove unneeded vars.
1642 2005-11-25 Wim Taymans <wim@fluendo.com>
1644 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1645 Added more checks for the high precision uint64 cases.
1647 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1648 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1649 Implement high precision (guint64 * guint64) / guint64.
1651 2005-11-24 Wim Taymans <wim@fluendo.com>
1653 * gst/base/gstbasesrc.c: (gst_base_src_query):
1654 Fix wrong percentage query.
1656 * gst/gstutils.c: (gst_util_uint64_scale),
1657 (gst_util_uint64_scale_int):
1658 Add some more common cases that can be handled
1659 efficiently to _scale.
1661 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1663 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1664 (gst_mini_object_suite):
1665 don't use check calls from threads; check probably isn't
1666 threadsafe and using a lock to make it threadsafe would
1667 defeat the purpose of this check
1668 * gst/check/gstcheck.c:
1669 * gst/check/gstcheck.h:
1670 use GST_DEBUG some more
1672 2005-11-24 Wim Taymans <wim@fluendo.com>
1674 * gst/gstutils.c: (gst_util_uint64_scale),
1675 (gst_util_uint64_scale_int):
1676 Chain trivial case to _scale_int.
1678 2005-11-24 Wim Taymans <wim@fluendo.com>
1680 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1681 Added test for scaling.
1686 * gst/gstutils.c: (gst_util_uint64_scale_int):
1687 Implemented high precision scaling code.
1689 2005-11-24 Stefan Kost <ensonic@users.sf.net>
1692 do not crash on pad==NULL
1694 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1696 Patch by: Stefan Kost
1698 * common/gtk-doc.mak:
1699 * docs/gst/Makefile.am:
1700 * docs/libs/Makefile.am:
1701 Fix distcheck issues for the libraries docs build
1704 2005-11-24 Michael Smith <msmith@fluendo.com>
1706 * docs/manual/basics-helloworld.xml:
1707 Fix bug #315027: memory leak in example code in docs.
1709 2005-11-24 Michael Smith <msmith@fluendo.com>
1711 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1712 Unlock the PREROLL_LOCK in a failure case.
1714 2005-11-24 Wim Taymans <wim@fluendo.com>
1716 * docs/gst/gstreamer-sections.txt:
1717 * gst/base/gstadapter.h:
1718 * gst/base/gstbasesink.h:
1719 * gst/base/gstbasesrc.h:
1720 * gst/base/gstbasetransform.h:
1721 * gst/base/gstpushsrc.h:
1722 * gst/elements/gstfakesink.h:
1723 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1724 * gst/elements/gstfakesrc.h:
1725 * gst/elements/gstfilesink.h:
1726 * gst/elements/gstfilesrc.h:
1729 * gst/gstbuffer.c: (_gst_buffer_copy):
1732 * gst/gstchildproxy.c:
1735 * gst/gstelementfactory.c:
1736 * gst/gstelementfactory.h:
1738 * gst/gstghostpad.h:
1740 * gst/gstinterface.h:
1741 * gst/gstminiobject.c:
1742 * gst/gstminiobject.h:
1745 * gst/gstpadtemplate.h:
1746 * gst/gstpipeline.h:
1747 * gst/gstpluginfeature.h:
1752 * gst/gsttagsetter.c:
1753 * gst/gsttagsetter.h:
1756 * gst/gsttypefind.h:
1759 * gst/net/gstnetclientclock.c:
1760 * gst/net/gstnetclientclock.h:
1761 * gst/net/gstnettimepacket.c:
1762 * gst/net/gstnettimeprovider.c:
1763 * gst/net/gstnettimeprovider.h:
1766 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1768 * configure.ac: back to HEAD
1770 === release 0.9.6 ===
1772 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1775 releasing 0.9.6, "Always On Time"
1777 2005-11-23 Wim Taymans <wim@fluendo.com>
1779 * docs/gst/gstreamer-sections.txt:
1780 * gst/glib-compat.c:
1781 * gst/gsttagsetter.c:
1783 * gst/net/gstnetclientclock.c:
1784 * gst/net/gstnettimepacket.h:
1787 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1789 * docs/faq/using.xml:
1790 * docs/libs/tmpl/gstcontrol.sgml:
1791 * docs/manual/advanced-dparams.xml:
1792 * docs/manual/appendix-checklist.xml:
1793 * docs/manual/basics-elements.xml:
1794 * docs/pwg/other-source.xml:
1795 * docs/random/moving-plugins:
1797 * tools/gst-launch.1.in:
1798 remove mentions of sinesrc
1800 2005-11-23 Michael Smith <msmith@fluendo.com>
1802 * docs/gst/gstreamer-sections.txt:
1803 Update for new API and API changes.
1805 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1807 Documentation typo fix.
1808 * gst/net/gstnettimepacket.c:
1809 Documentation fixes for arguments.
1811 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
1813 * gst/gststructure.c: (gst_structure_get_fraction),
1814 (gst_structure_parse_value),
1815 (gst_structure_fixate_field_nearest_fraction):
1816 * gst/gststructure.h:
1817 * gst/gstutils.c: (gst_util_uint64_scale_int):
1819 * scripts/update-funcnames:
1821 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1822 Make gst_structure_fixate_field_nearest_fraction take a numerator
1823 and denominator argument instead of a GValue
1824 add gst_structure_get_fraction helper function.
1826 2005-11-23 Wim Taymans <wim@fluendo.com>
1828 * docs/design/part-TODO.txt:
1831 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1832 * gst/net/gstnetclientclock.h:
1833 Use parent fields for timeout and window_size.
1835 2005-11-23 Andy Wingo <wingo@pobox.com>
1837 * check/net/gstnetclientclock.c (test_functioning): Adjust to
1838 rate_num/rate_denom change.
1840 * gst/net/gstnetclientclock.c
1841 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1842 OBJECT_LOCK. Don't call add_observation with the lock.
1844 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1846 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1848 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1849 deal with rate as a fraction whose numerator and denominator are
1850 GstClockTime values.
1851 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1852 master; the other fields are protected by the SLAVE_LOCK.
1853 (do_linear_regression): Note that this must be called with the
1855 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1856 OBJECT_LOCK. Call set_calibration instead of touching the
1858 (gst_clock_set_property, gst_clock_get_property): Protect
1859 master/slave parameters with the SLAVE_LOCK.
1861 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1862 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1863 note that all of the instance variables that add_observation and
1864 the set_master functions use are protected by that lock and not
1866 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1868 * gst/gstclock.c (gst_clock_add_observation): No longer requires
1869 the caller to take the object lock.
1871 2005-11-23 Wim Taymans <wim@fluendo.com>
1873 * gst/gsterror.c: (_gst_core_errors_init):
1875 Add error for clock stuff.
1877 * gst/gstpipeline.c: (gst_pipeline_change_state),
1878 (gst_pipeline_set_clock):
1879 Post clock error when clock cannot be used in a pipeline.
1881 2005-11-23 Stefan Kost <ensonic@users.sf.net>
1883 * docs/gst/gstreamer-sections.txt:
1884 make two symbols from gstinfo private for the docs
1885 * gst/base/gstcollectpads.h:
1887 fix doc typos, update docs
1889 2005-11-22 Wim Taymans <wim@fluendo.com>
1891 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1892 (gst_base_sink_wait), (gst_base_sink_do_sync),
1893 (gst_base_sink_handle_event):
1894 * gst/base/gstbasesink.h:
1895 No need to store the clock, the parent element class already
1898 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1899 Updates for clock_set returning a gboolean
1901 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1902 (gst_clock_id_wait_async), (gst_clock_class_init),
1903 (gst_clock_init), (gst_clock_finalize),
1904 (gst_clock_get_internal_time), (gst_clock_get_time),
1905 (gst_clock_slave_callback), (gst_clock_set_master),
1906 (gst_clock_get_master), (do_linear_regression),
1907 (gst_clock_add_observation), (gst_clock_set_property),
1908 (gst_clock_get_property):
1910 Implement master/slave. When setting a clock as a slave, a
1911 periodic timeout is scheduled to sample master and slave times.
1912 Then the slave clock is recalibrated to match offset and rate
1913 of the master clock.
1914 Update logging a bit.
1915 Add flag so that a clock can state that is cannot be slaved to
1918 * gst/gstelement.c: (gst_element_set_clock):
1920 The set clock returns a gboolean for when an element cannot
1921 deal with the selected clock in the pipeline.
1923 * gst/gstpipeline.c: (gst_pipeline_change_state),
1924 (gst_pipeline_set_clock):
1925 * gst/gstpipeline.h:
1926 Handle the case where the selected clock cannot be set on
1929 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1930 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1931 (gst_net_client_clock_set_property),
1932 (gst_net_client_clock_get_property),
1933 (gst_net_client_clock_observe_times):
1934 * gst/net/gstnetclientclock.h:
1935 Use regression code in GstClock parent, remove duplicated
1938 2005-11-22 Michael Smith <msmith@fluendo.com>
1940 * gst/gstutils.c: (gst_util_clock_time_scale):
1942 * docs/gst/gstreamer-sections.txt:
1943 Rename method to have extra underscore.
1945 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
1947 * gst/elements/Makefile.am:
1948 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1949 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1950 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1951 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1952 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1953 * gst/elements/gstfakesrc.h:
1954 * gst/gstqueue.c: (queue_leaky_get_type):
1955 correctly fix GEnumValues so that nick is the short lowercase
1957 * tools/gst-inspect.c: (print_element_properties_info):
1958 also show the nick, since it's useful to use from parse_launch
1962 2005-11-22 Michael Smith <msmith@fluendo.com>
1964 * gst/gstutils.c: (gst_util_clocktime_scale):
1966 * docs/gst/gstreamer-sections.txt:
1967 Add util method for scaling a clocktime by a fraction. Useful
1968 implementation is left as an exercise for the reader.
1970 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1972 * gst/gstvalue.c: (gst_value_collect_fraction_range):
1973 If needed, allocate storage in the destination value during
1976 2005-11-22 Edward Hervey <edward@fluendo.com>
1978 * docs/gst/gstreamer-sections.txt:
1983 * gst/gstutils.c: (gst_util_set_object_arg):
1984 * tools/gst-compprep.c: (main):
1985 * tools/gst-inspect.c: (print_element_properties_info):
1986 Removed GstURI, closes bug #321061
1988 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1990 * check/gst/gststructure.c: (GST_START_TEST):
1991 * gst/gststructure.c: (gst_structure_parse_value):
1992 Oops, broke automatic string type parsing.
1993 Add a test to catch it in future.
1995 2005-11-22 Andy Wingo <wingo@pobox.com>
1997 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
1998 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1999 Actually rename the function implementations. Grr.
2001 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2003 * check/gst/capslist.h:
2005 * check/gst/gststructure.c: (GST_START_TEST),
2006 (gst_structure_suite):
2007 Test automatic value type detection in gst_structure_from_string.
2008 * gst/gststructure.c: (gst_structure_parse_value):
2009 Add fraction as a type we try and guess automatically in
2010 caps/structure strings.
2012 2005-11-22 Andy Wingo <wingo@pobox.com>
2014 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
2016 * gst/gsttagsetter.h:
2017 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
2018 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
2019 (gst_tag_setter_add_tag_valist)
2020 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
2021 _add_values, _add_valist, and _add_valist_values. Since this is an
2022 interface the function suffixes should be more explicit so
2023 language binding don't end up with element.add_valist ->
2024 gst_tag_setter_add_valist, for example. Fixes #322069.
2026 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2028 * check/gst/gstcaps.c: (GST_START_TEST):
2029 Extend caps string tests to check that a caps to string
2030 conversion is reversible and produces the same caps.
2032 * gst/gststructure.c: (gst_structure_value_get_generic_type):
2033 Output "fraction" as the generic type fraction range, so caps
2034 serialisation and deserialisation works.
2035 * check/gst/capslist.h:
2036 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2037 Support 'MIN' and 'MAX' for deserialising fractions.
2039 2005-11-22 Andy Wingo <wingo@pobox.com>
2041 * gst/gstevent.h (gst_event_new_new_segment)
2042 (gst_event_parse_new_segment, gst_event_new_buffer_size)
2043 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
2044 Renamed from *_newsegment, *_buffersize, *_notarget.
2046 * scripts/update-funcnames: New script, performs the changes
2049 2005-11-22 Wim Taymans <wim@fluendo.com>
2051 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2052 Make sure the GstFlowReturn is returned.
2054 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
2055 (gst_bus_add_signal_watch):
2057 add gst_bus_add_signal_watch_full.
2059 * gst/gstplugin.c: (gst_plugin_load_file):
2060 Small style cleanup.
2062 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2064 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
2065 Block the fakesrc srcpad when we send an event, to avoid
2066 contention on the stream_lock causing random test failures.
2068 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2070 * check/gst/gstvalue.c: (GST_START_TEST):
2071 * gst/gstvalue.c: (gst_value_fraction_subtract):
2074 2005-11-22 Stefan Kost <ensonic@users.sf.net>
2077 include "gstchildproxy.h"
2078 * gst/gstchildproxy.h:
2079 * libs/gst/controller/gstcontroller.h:
2080 use G_GNUC_NULL_TERMINATED
2082 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2084 * check/gst/capslist.h:
2085 * check/gst/gstcaps.c: (GST_START_TEST):
2086 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2087 * gst/gststructure.c: (gst_structure_parse_range),
2088 (gst_structure_fixate_field_nearest_fraction):
2089 * gst/gststructure.h:
2090 * gst/gstvalue.c: (gst_value_init_fraction_range),
2091 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
2092 (gst_value_collect_fraction_range),
2093 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
2094 (gst_value_set_fraction_range_full),
2095 (gst_value_get_fraction_range_min),
2096 (gst_value_get_fraction_range_max),
2097 (gst_value_serialize_fraction_range),
2098 (gst_value_transform_fraction_range_string),
2099 (gst_value_compare_fraction_range),
2100 (gst_value_deserialize_fraction_range),
2101 (gst_value_intersect_fraction_fraction_range),
2102 (gst_value_intersect_fraction_range_fraction_range),
2103 (gst_value_subtract_fraction_fraction_range),
2104 (gst_value_subtract_fraction_range_fraction),
2105 (gst_value_subtract_fraction_range_fraction_range),
2106 (gst_value_collect_fraction), (gst_value_fraction_multiply),
2107 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
2108 (gst_value_transform_string_fraction), (_gst_value_initialize):
2110 Implement fraction ranges and extend GstFraction to support
2111 arithmetic subtraction, as well as deserialization from integer
2112 strings such as "100"
2113 Add a testsuite as for int and double range set operations
2115 2005-11-21 Andy Wingo <wingo@pobox.com>
2119 * gst/gststructure.h: Add glib-compat.h.
2121 2005-11-21 Wim Taymans <wim@fluendo.com>
2123 * gst/gstbin.c: (gst_bin_change_state_func):
2126 2005-11-21 Wim Taymans <wim@fluendo.com>
2129 And add a nice define too.
2131 2005-11-21 Wim Taymans <wim@fluendo.com>
2133 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
2134 (gst_segment_new), (gst_segment_free), (gst_segment_init),
2135 (gst_segment_set_duration), (gst_segment_set_last_stop),
2136 (gst_segment_set_seek), (gst_segment_set_newsegment),
2137 (gst_segment_to_stream_time), (gst_segment_to_running_time),
2140 Make binding friendly.
2142 2005-11-21 Andy Wingo <wingo@pobox.com>
2144 * gst/gsttagsetter.h:
2146 * gst/gststructure.h:
2148 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
2151 * gst/gsterror.c (_gst_core_errors_init):
2152 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
2155 * gst/Makefile.am (gst_headers): Add glib-compat.h.
2156 (noinst_HEADERS): noinst the -private.
2158 2005-11-21 Michael Smith <msmith@fluendo.com>
2161 * gst/gstregistry.h:
2162 Remove unimplemented declarations for which we can see no sensible
2165 2005-11-21 Andy Wingo <wingo@pobox.com>
2167 * gst/gst.h: Include glib-compat.h.
2169 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
2171 * gst/glib-compat.c: Include the public and the private header.
2173 * gst/glib-compat-private.h: Copied here from glib-compat.h.
2177 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
2179 * check/gst/gstevent.c (create_custom_events): Check that
2180 FLUSH_STOP is serialized.
2182 * check/elements/identity.c (event_func):
2183 * check/elements/fakesrc.c (event_func): No stream lock, the core
2186 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
2187 stream lock taking, yay.
2189 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
2190 ensure that core takes the stream lock.
2192 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
2195 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
2196 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
2197 it already. For the flush start we do take it though so we get the
2198 right preroll state change messages.
2200 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
2201 the stream lock here, the core does it for us.
2203 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
2204 GST_STREAM_GET_LOCK.
2205 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
2206 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
2207 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
2208 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
2209 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
2210 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
2212 * gst/gstpad.c: Update for stream lock name change.
2214 * gst/base/gstbasesink.c: Update for preroll lock name change.
2216 2005-11-21 Wim Taymans <wim@fluendo.com>
2218 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
2219 (gst_clock_get_master):
2221 * gst/gstsystemclock.c: (gst_system_clock_init):
2222 Convert Clock flags to object flags.
2223 Added methods to manage master/slave clocks.
2225 2005-11-21 Wim Taymans <wim@fluendo.com>
2227 * check/gst/gstsegment.c: (GST_START_TEST):
2228 * docs/design/part-TODO.txt:
2229 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2230 (gst_base_sink_event), (gst_base_sink_do_sync),
2231 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
2232 (gst_base_sink_query), (gst_base_sink_change_state):
2233 * gst/base/gstbasesink.h:
2234 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2235 (gst_base_src_default_newsegment),
2236 (gst_base_src_configure_segment), (gst_base_src_do_seek),
2237 (gst_base_src_get_range), (gst_base_src_loop),
2238 (gst_base_src_change_state):
2239 * gst/base/gstbasesrc.h:
2240 * gst/base/gstbasetransform.c:
2241 (gst_base_transform_prepare_output_buf),
2242 (gst_base_transform_event), (gst_base_transform_change_state):
2243 * gst/base/gstbasetransform.h:
2244 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2245 (gst_collect_pads_event):
2246 * gst/base/gstcollectpads.h:
2247 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
2248 (gst_fake_src_create):
2249 * gst/elements/gstfakesrc.h:
2250 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2251 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2252 (gst_segment_set_last_stop), (gst_segment_set_seek),
2253 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
2254 (gst_segment_to_running_time), (gst_segment_clip):
2256 More segment updates, replace code in plugins with segment
2259 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
2261 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
2262 Don't ignore sscanf results
2264 2005-11-21 Andy Wingo <wingo@pobox.com>
2266 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
2269 * *.c: Ran scripts/update-macros. Oh yes.
2271 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
2272 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
2275 * scripts/update-macros: New script. Run it on your files to
2276 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
2279 2005-11-21 Stefan Kost <ensonic@users.sf.net>
2281 * docs/gst/Makefile.am:
2282 * docs/gst/gstreamer-docs.sgml:
2283 * docs/gst/gstreamer-sections.txt:
2284 * docs/gst/gstreamer.types:
2286 more docs fixes, add new api to the docs
2288 2005-11-21 Andy Wingo <wingo@pobox.com>
2290 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
2291 state_broadcast call.
2293 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
2295 2005-11-21 Julien MOUTTE <julien@moutte.net>
2297 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
2298 function calls for arrays.
2300 2005-11-21 Stefan Kost <ensonic@users.sf.net>
2302 * docs/random/ensonic/media-device-daemon.txt:
2303 wild idea, can this be done?
2304 * docs/gst/gstreamer-sections.txt:
2309 * gst/gstpluginfeature.c:
2313 doc fixes and additions
2315 2005-11-21 Andy Wingo <wingo@pobox.com>
2317 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
2318 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
2319 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
2320 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
2321 private to the basesrc implementation.
2323 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
2324 behalf of event function if necessary. It should no longer be
2325 necessary to take the stream lock in pad's event functions. Fixes
2328 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
2329 * docs/gst/gstreamer-sections.txt:
2330 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
2331 (gst_structure_fixate_field_nearest_double),
2332 (gst_structure_fixate_field_boolean):
2333 * gst/gststructure.h:
2334 * win32/common/libgstreamer.def:
2335 * win32/gstreamer.def:
2337 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
2340 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
2342 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
2343 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
2344 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
2345 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
2346 (gst_fdsrc_uri_handler_init):
2347 * gst/elements/gstfdsrc.h:
2348 Port fd:// URI handler from 0.8 to fdsrc
2350 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2352 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
2353 (gst_value_serialize_fourcc):
2355 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
2356 consistent with our other format defines (#320324).
2358 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2360 * gst/gstvalue.c: (gst_value_is_fixed):
2361 Revert previous commit. Value lists are by definition
2362 not fixed, as they are a list of possible values.
2364 2005-11-21 Andy Wingo <wingo@pobox.com>
2366 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
2367 during the stable series if we need it. Fixes #319178.
2369 * gst/gstevent.c (gst_event_new_filler): Removed.
2371 * check/gst/gstevent.c: Update comment about filler events.
2373 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2375 * gst/gstvalue.c: (gst_value_is_fixed):
2376 Should handle both value arrays and value lists.
2378 2005-11-21 Andy Wingo <wingo@pobox.com>
2380 patch by: Alessandro Dessina <alessandro nnva org>
2382 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
2383 functions to access arrays. Fixes #321962.
2385 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2387 * docs/gst/gstreamer.types:
2388 gst_collectpads_get_type => gst_collect_pads_get_type.
2390 * gst/base/gstbasetransform.c:
2391 Remove unused SIGNAL_HANDOFF enum.
2393 2005-11-21 Andy Wingo <wingo@pobox.com>
2395 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
2396 the event type (upstream, downstream, serialized). Renamed
2397 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
2398 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
2399 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
2401 * gst/gstevent.c: Update for new CUSTOM event names.
2403 * check/gst/gstevent.c: Update check for new CUSTOM event names.
2406 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
2409 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2411 * docs/gst/gstreamer-sections.txt:
2412 * win32/common/libgstbase.def:
2413 * win32/libgstbase.def:
2414 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2415 (gst_collect_pads_class_init), (gst_collect_pads_init),
2416 (gst_collect_pads_finalize), (gst_collect_pads_new),
2417 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
2418 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
2419 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
2420 (gst_collect_pads_start), (gst_collect_pads_stop),
2421 (gst_collect_pads_peek), (gst_collect_pads_pop),
2422 (gst_collect_pads_available), (gst_collect_pads_read),
2423 (gst_collect_pads_flush), (gst_collect_pads_event),
2424 (gst_collect_pads_chain):
2425 * gst/base/gstcollectpads.h:
2426 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
2427 unimplemented functions as unimplemented. Add padding to
2428 GstCollectData. (#320766, #320423)
2430 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2433 Improve docs for DURATION message (usage of duration parameter)
2436 2005-11-20 Wim Taymans <wim@fluendo.com>
2438 * check/Makefile.am:
2439 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
2443 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2444 (gst_segment_set_seek), (gst_segment_set_newsegment),
2445 (gst_segment_to_stream_time), (gst_segment_to_running_time),
2448 Added segment helper structure and methods. Not fully implemented
2450 Added segment check.
2452 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
2454 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2455 Add a deserialisation test for fractions
2456 * examples/metadata/read-metadata.c: (message_loop),
2457 (make_pipeline), (main):
2458 Fix up metadata reading sample.
2459 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2461 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2462 Don't try and fixate empty caps
2463 * gst/gst_private.h:
2464 Wrap in G_BEGIN_DECLS/G_END_DECLS
2465 * gst/gstvalue.c: (gst_value_collect_fraction),
2466 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
2467 (gst_value_transform_string_fraction),
2468 (gst_value_compare_fraction):
2469 Add some extra guards to ensure that we don't end up
2470 with an invalid denominator of 0 in a gstfraction and
2471 that fractions always get reduced.
2473 2005-11-20 Wim Taymans <wim@fluendo.com>
2475 * docs/gst/gstreamer-sections.txt:
2486 2005-11-20 Wim Taymans <wim@fluendo.com>
2488 * docs/design/part-TODO.txt:
2490 Make a proper enum of the flag.
2492 2005-11-19 Wim Taymans <wim@fluendo.com>
2494 * docs/design/part-TODO.txt:
2495 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
2496 (gst_format_to_quark), (gst_format_register):
2498 * gst/gstquery.c: (_gst_query_initialize),
2499 (gst_query_type_get_name), (gst_query_type_to_quark),
2500 (gst_query_type_register):
2502 Add type to quark and type to string conversions.
2504 2005-11-19 Andy Wingo <wingo@pobox.com>
2506 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
2509 2005-11-19 Wim Taymans <wim@fluendo.com>
2511 * docs/design/part-TODO.txt:
2512 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2513 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2514 (gst_bin_handle_message_func):
2516 Make message handling overridable.
2518 2005-11-19 Andy Wingo <wingo@pobox.com>
2520 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2523 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2525 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2526 is a GstClockTime. Fixes #321710.
2528 * gst/gstclock.h (GstClock): Remove offset property. Add
2529 internal_calibration and external_calibration. Fix padding. Pad
2530 also by GstClockTime so we don't run into problems.
2532 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2533 (gst_clock_get_rate_offset): Remove.
2534 (gst_clock_set_time_adjust): Remove. Fixes #321712.
2537 * gst/gstutils.c (g_static_rec_cond_wait)
2538 (g_static_rec_cond_timed_wait): Removed, no longer needed.
2540 * gst/gstbin.c: Remove terrible continue_state prototype.
2542 * gst/gstelement.h (gst_element_continue_state): Make public.
2545 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2546 by continue_state. Fixes #319389.
2548 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2549 Really fixes #168438. However I don't see anywhere where the
2550 filter function is called... stupid GStreamer...
2552 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2553 don't have a dispose function, so it won't get called when the
2554 object is unreffed, but oh well!
2556 * gst/gstindex.c (gst_index_set_filter_full): New API function,
2557 allows a destroy function to be set so user_data can be freed.
2559 (gst_index_set_filter): Call gst_index_set_filter_full.
2561 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2563 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2564 string should produce an error, given the lack of a way to
2565 represent NULL strings. Fixes #165650.
2568 * gst/gstvalue.c (gst_value_array_append_value)
2569 (gst_value_array_prepend_value, gst_value_array_get_size)
2570 (gst_value_array_get_value): New API, copied from
2571 gst_value_list_*, only operates on arrays.
2572 (gst_value_list_append_value, gst_value_list_prepend_value)
2573 (gst_value_list_concat, gst_value_list_get_size)
2574 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2576 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2577 init_list, because it works on both.
2578 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2579 (gst_value_copy_list_or_array): Renamed from copy_list.
2580 (gst_value_free_list_or_array): Renamed from free_list.
2581 (gst_value_collect_list_or_array): Renamed from collect_list.
2582 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2583 (gst_value_list_or_array_peek_pointer): Renamed from
2585 (_gst_value_array_value_table, _gst_value_list_value_table):
2586 Update value table functions.
2587 (gst_value_compare_list_or_array): Renamed from compare_list.
2589 * gsttaglist.h: Whoops, foreach function returns void. Also fix
2593 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2594 GstTagList*. Fixes #143472.
2596 * gst/gststructure.h: Clarify what the foreach/map functions can
2597 or can't do to their arguments.
2599 2005-11-18 Wim Taymans <wim@fluendo.com>
2601 * gst/gstclock.c: (gst_clock_set_calibration),
2602 (gst_clock_get_calibration):
2604 Calibration can be set with internal time equal to current
2607 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
2613 2005-11-18 Andy Wingo <wingo@pobox.com>
2616 * pkgconfig/gstreamer-net.pc.in:
2617 * pkgconfig/gstreamer-net-uninstalled.pc.in:
2618 * pkgconfig/Makefile.am: Add net pkgconfig files.
2620 2005-11-18 Stefan Kost <ensonic@users.sf.net>
2623 * gst/gstghostpad.c:
2629 2005-11-18 Andy Wingo <wingo@pobox.com>
2631 * gst/net/gstnetclientclock.c: Turn off debugging.
2633 * check/net/gstnetclientclock.c (test_functioning): Assert that the
2634 times connverge somewhat. Can't make a real test.
2636 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2637 integer arithmetic. Return the minimum of the domain, which can be
2638 set as "internal" for gst_clock_set_calibration.
2639 (gst_net_client_clock_observe_times): Call _set_calibration.
2640 (gst_net_client_clock_new): Call _set_calibration instead of
2643 * check/net/gstnetclientclock.c (test_functioning): Use the right
2647 * gst/gstclock.c (gst_clock_get_calibration)
2648 (gst_clock_set_calibration): New functions, obsolete the ones I
2649 added yesterday. Doh. Precision issues mean we have to extrapolate
2650 from a point in the more recent past than 1970.
2651 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2653 (gst_clock_adjust_unlocked): Use the right calibration data.
2655 2005-11-18 Edward Hervey <edward@fluendo.com>
2657 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2658 Also reset the ->current_* values in READY->PAUSED
2660 2005-11-18 Andy Wingo <wingo@pobox.com>
2662 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2663 Whoops, check the right fd. Also add some debugging.
2664 (gst_net_client_clock_observe_times): Adjust for int64 offset.
2665 (do_linear_regression): Add a crapload of debugging. Subtract off
2666 the minimum values from the input series to discard unneeded bits.
2667 Use only int arithmetic. There is still double arithmetic when
2668 calculating the intercept that needs fixing. Return boolean to
2669 indicate success; FALSE would mean the domain or range is too
2670 great. Still needs fixes.
2672 2005-11-18 Wim Taymans <wim@fluendo.com>
2674 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2675 For the current position in stream time, we need to subtract
2678 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2679 Release lock before calling the callback function of async
2682 2005-11-18 Andy Wingo <wingo@pobox.com>
2684 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2685 Port goes all the way to MAXUINT16.
2687 * gst/net/gstnettimeprovider.c: Make the port range the same as
2688 for the kernel: 0 assigns, otherwise ports are less than
2691 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2694 * check/net/gstnetclientclock.c (test_functioning): Add the start
2697 2005-11-18 Wim Taymans <wim@fluendo.com>
2699 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2700 (gst_bin_remove_func), (bin_bus_handler):
2702 Removing a clock provider from a bin, triggers a clock lost message
2703 so that a new clock will be selected.
2704 Adding a clock to a bin triggers a clock provider message.
2705 Make sure we reselect a clock when we received a clock lost message.
2706 Keep a reference to the element that provided the clock.
2708 2005-11-18 Andy Wingo <wingo@pobox.com>
2710 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2711 the clock initially so it produces values around the base time.
2712 (gst_net_client_clock_class_init): Typo fix.
2713 (gst_net_client_clock_thread): Add note on when the socket gets
2716 2005-11-17 Wim Taymans <wim@fluendo.com>
2718 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2719 Free remote and local time arrays.
2721 2005-11-17 Wim Taymans <wim@fluendo.com>
2723 * gst/net/gstnetclientclock.c: (do_linear_regression),
2724 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2725 Fix compilation, uninitialized vars and a forgotten continue.
2727 2005-11-17 Andy Wingo <wingo@pobox.com>
2729 * check/Makefile.am (check_PROGRAMS):
2730 * check/net/gstnetclientclock.c: Add a most minimal test for the
2731 net client clock. More to come later.
2734 * gst/net/Makefile.am: Add netclientclock.
2736 * gst/net/gstnetclientclock.h:
2737 * gst/net/gstnetclientclock.c: New files, implement an untested
2738 GstClock that takes its time from a network time provider.
2739 Implements the algorithm in network-clock.scm.
2741 * tests/network-clock.scm (*window-size*): Rename from
2743 * tests/network-clock.scm (network-time):
2744 * tests/network-clock-utils.scm (q-push): Update callers.
2746 2005-11-17 Wim Taymans <wim@fluendo.com>
2748 * gst/gstbin.c: (gst_bin_provide_clock_func),
2749 (gst_bin_sort_iterator_new):
2750 And unref the child too..
2752 2005-11-17 Wim Taymans <wim@fluendo.com>
2754 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2755 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2756 Refactor the sort iterator so it can be used while holding the
2758 Make clock selection select a clock closest to the source.
2760 2005-11-17 Michael Smith <msmith@fluendo.com>
2762 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2763 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2765 Anonymous structs are a gcc (and some other compilers) extension, so
2766 don't use them. Since this is only for ABI-compatibility, and our
2767 API/ABI freeze is over in a few days, this whole thing will only
2768 last a few days, so don't bother trying to think up a meaningful
2769 name for the struct.
2771 2005-11-17 Andy Wingo <wingo@pobox.com>
2773 * gst/gstclock.h (GstClock): Add rate and offset properties,
2774 preserving ABI stability. Add rate/offset accessors. Will file bug
2775 for the freeze break.
2777 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2778 and offset, trying to keep precision and avoiding
2780 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2781 functions. Make gst_clock_set_time_adjust obsolete.
2782 (gst_clock_set_time_adjust): Note that this function is obsolete.
2785 * gst/base/gstbasetransform.h: Make the ABI-stability hack
2786 greppable by using GST_PADDING-1+1.
2788 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
2790 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2792 * gst/gstmessage.c: (gst_message_parse_clock_lost):
2793 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2795 * gst/gstpadtemplate.h:
2796 * gst/gstpluginfeature.h:
2797 Don't use c++ style comments in headers (#321638).
2799 2005-11-16 Andy Wingo <wingo@pobox.com>
2801 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2804 * check/net/gstnettimeprovider.c: Check to see that the time
2805 provider actually provides times. Works, yo!
2807 2005-11-16 Wim Taymans <wim@fluendo.com>
2809 * check/Makefile.am:
2812 * check/elements/fakesrc.c: (GST_START_TEST):
2813 Set element to NULL before disposing it.
2815 2005-11-16 Andy Wingo <wingo@pobox.com>
2817 * gst/net/Makefile.am:
2819 * gst/net/gstnettimeprovider.c:
2820 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2821 provider, include it from gstnet.h, and add it to the build.
2823 * gst/net/gstnettimepacket.h:
2824 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2825 sending and receiving.
2827 2005-11-16 Wim Taymans <wim@fluendo.com>
2829 * check/Makefile.am:
2830 Enable valgrind check.
2832 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2833 (gst_fake_src_alloc_buffer):
2836 2005-11-16 Wim Taymans <wim@fluendo.com>
2838 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2839 Call parent finalize too.
2841 2005-11-16 Wim Taymans <wim@fluendo.com>
2843 * check/Makefile.am:
2844 Enable valgrind check that should work fine now.
2846 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2847 * gst/gstqueue.c: (gst_queue_init):
2848 Fix memleaks in pad allocation.
2850 2005-11-16 Andy Wingo <wingo@pobox.com>
2852 * gst/net/Makefile.am:
2853 * gst/net/gstnet.h: New part of core to hold network elements and
2854 objects. Put in core because it exposes API that applications want
2855 to use. The library is named libgstnet-tempname right now because
2856 of the existing libgstnet in gst-plugins-base. Solution is
2857 probably to rename the one in plugins-base; will file a bug for
2860 * gst/net/gstnettimeprovider.c:
2861 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2862 get_time call over the network.
2865 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2867 * check/Makefile.am:
2868 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2869 get additions shortly.
2871 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2873 * gst/gstpad.c: (gst_pad_new_from_static_template):
2875 add gst_pad_new_from_static_template functions
2876 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2877 (gst_check_setup_sink_pad):
2878 * gst/elements/gsttee.c: (gst_tee_init):
2881 2005-11-16 Wim Taymans <wim@fluendo.com>
2883 * gst/gstpad.c: (gst_pad_pause_task):
2884 Removed warning, it's not really an error either.
2886 2005-11-16 Wim Taymans <wim@fluendo.com>
2888 * gst/base/gstbasetransform.c:
2889 (gst_base_transform_prepare_output_buf),
2890 (gst_base_transform_event):
2891 Check if the caps are NULL, this can happen if the element
2892 is shutting down and the pad caps are set to NULL.
2894 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2896 * gst/elements/gsttee.c: (gst_tee_init):
2897 fix pad template leak in tee
2899 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2901 * gst/glib-compat.c: (g_value_dup_gst_object):
2902 * gst/glib-compat.h:
2903 * gst/gstpad.c: (gst_pad_set_property):
2904 use gst_object_ref when setting the pad template; this will
2905 trigger the pad template leaks on GLib 2.6 and the slaves
2907 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2909 * gst/glib-compat.c: (gst_flags_get_first_value):
2910 * gst/glib-compat.h:
2911 * gst/gstregistryxml.c:
2912 remove functions copied from GLib 2.6
2914 2005-11-16 Michael Smith <msmith@fluendo.com>
2917 Don't link against VALGRIND_LIBS. That was always the wrong thing to
2918 do, but only breaks with newer valgrind versions. We're not a
2919 valgrind tool, we have no link-time dependencies on libcoregrind.
2921 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2923 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2928 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2930 * gst/base/gstbasesrc.c: (gst_base_src_init):
2931 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2932 * gst/gstqueue.c: (gst_queue_init):
2933 * gst/gstregistryxml.c: (load_feature):
2934 Revert all these unrefs, they don't even pass make check !
2936 2005-11-15 Johan Dahlin <johan@gnome.org>
2938 * gst/base/gstbasesrc.c: (gst_base_src_init):
2939 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2940 * gst/gstqueue.c: (gst_queue_init):
2941 Free pad templates, fixes a couple of leaks.
2943 2005-11-15 Daniel Fischer <dan at f3c dot com>
2945 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2947 * gst/gstpad.c: (gst_pad_get_property):
2948 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2949 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2952 2005-11-15 Wim Taymans <wim@fluendo.com>
2957 2005-11-15 Andy Wingo <wingo@pobox.com>
2959 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2961 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2962 using GST_CLOCK_TIME_NONE to disable base time management.
2963 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2964 time if it was NONE before.
2965 (gst_pipeline_change_state): Only munge the base time if
2966 stream_time != GST_CLOCK_TIME_NONE.
2968 * check/gst/gstpipeline.c (test_base_time): Punt around the
2969 problem of the probe not being called, because that's not the
2970 issue I'm looking at. Add a check that setting stream_time to NONE
2971 disables base time management.
2973 2005-11-15 Wim Taymans <wim@fluendo.com>
2975 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2976 segment_stop == -1 at startup.
2978 * gst/base/gstbasetransform.c: (gst_base_transform_event),
2979 (gst_base_transform_change_state):
2980 Init segment values at start.
2982 2005-11-15 Wim Taymans <wim@fluendo.com>
2984 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2985 0 segment values are 0 in any format.
2987 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2988 * gst/base/gstbasetransform.h:
2989 Parse newsegment correctly in basetransform
2991 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2992 Sync to clock using updated segment values.
2994 2005-11-15 Andy Wingo <wingo@pobox.com>
2996 * check/gst/gstpipeline.c (test_base_time): Add check that the
2997 base time and stream time are reset correctly.
2999 2005-11-15 Wim Taymans <wim@fluendo.com>
3001 * docs/design/part-TODO.txt:
3002 Some more TODO items.
3004 2005-11-15 Andy Wingo <wingo@pobox.com>
3006 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
3007 error if the user selected "no clock" as the clocking method.
3009 * check/gst/gstpipeline.c (test_base_time): New test for buffer
3010 timestamps with live capture.
3012 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
3013 is 0 but we are a live source, timestamp the buffers using the
3016 2005-11-14 Stefan Kost <ensonic@users.sf.net>
3018 * docs/gst/gstreamer-sections.txt:
3020 * gst/gstghostpad.c:
3025 2005-11-14 Wim Taymans <wim@fluendo.com>
3028 add suppressions from Wim's Debian machine
3030 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
3033 add suppressions from Andy's AMD64 Ubuntu machine
3035 2005-11-14 Andy Wingo <wingo@pobox.com>
3037 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
3038 STATE_LOCK not necessary. Fixes #311489.
3040 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
3043 * gst/gstindex.c (gst_index_add_object): Note in the docs that
3044 this function is not implemented.
3046 2005-11-14 Julien MOUTTE <julien@moutte.net>
3048 * gst/base/gstbasetransform.c:
3049 (gst_base_transform_prepare_output_buf):
3050 Ref the source pad caps while we need them.
3053 2005-11-11 Wim Taymans <wim@fluendo.com>
3055 * docs/gst/gstreamer-sections.txt:
3056 Added some docs for GstCollectData.
3058 * gst/base/gstadapter.c:
3059 Some small code example fix.
3061 * gst/base/gstcollectpads.c:
3062 * gst/base/gstcollectpads.h:
3065 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
3067 * configure.ac: back to HEAD
3069 === release 0.9.5 ===
3071 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
3074 releasing 0.9.5, "Bike Lunch Day"
3076 2005-11-11 Wim Taymans <wim@fluendo.com>
3078 * gst/gstbuffer.c: (_gst_buffer_copy):
3081 * gst/gstcaps.c: (gst_caps_is_equal):
3083 Make _is_equal fast in the trivial cases.
3085 * gst/gstminiobject.c:
3086 * gst/gstminiobject.h:
3087 More docs. Spifify .h file.
3092 2005-11-11 Wim Taymans <wim@fluendo.com>
3094 * gst/base/gstbasetransform.c:
3095 (gst_base_transform_prepare_output_buf),
3096 (gst_base_transform_handle_buffer):
3098 If we're processing a buffer and need to allocate an output
3099 buffer, we cannot accept a format change. If we did get a
3100 format change, we have to alloc a buffer ourselves of the
3103 2005-11-11 Wim Taymans <wim@fluendo.com>
3105 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
3106 While checking the flag for reentrancy in the gstcaps function
3107 is nice to detect recursive invocations, it also makes it
3108 impossible to call getcaps from multiple threads, which must be
3109 possible. So, checking for recursive calls has to go.
3111 2005-11-11 Michael Smith <msmith@fluendo.com>
3113 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3114 Don't sync on buffers that fall partially outside our current
3115 segment. Prevents an assertion failure/abort playing some files.
3117 2005-11-10 Andy Wingo <wingo@pobox.com>
3119 * check/gst/gstbin.c (test_message_state_changed_children): Style
3122 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
3123 gst_bus_poll with the signal watch. Ensures that poll and a signal
3124 watch see the same messages.
3126 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
3127 a poll and a watch at the same time get the same messages.
3129 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
3131 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
3132 * gst/gstcaps.c: (gst_caps_intersect):
3133 Don't call gst_caps_do_simplify - it doesn't respect order of caps
3134 and it's not needed.
3136 2005-11-10 Wim Taymans <wim@fluendo.com>
3138 * docs/design/part-TODO.txt:
3141 2005-11-10 Wim Taymans <wim@fluendo.com>
3143 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3144 * gst/base/gstbasesrc.c: (gst_base_src_wait),
3145 (gst_base_src_do_sync), (gst_base_src_get_range):
3146 Implement clock sync in base class.
3148 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
3150 patch by: Tim-Philipp Müller <tim at centricular dot net>
3152 * gst/gststructure.c: (gst_structure_parse_field),
3153 (gst_structure_from_string):
3154 Forward-port a 0.8 patch to handle escaped spaces in structure string,
3155 so that gst_parse_launch() can deal with spaces in filtered link
3156 caps (fixes #164479)
3157 * check/gst/capslist.h:
3158 * check/gst/gststructure.c: (GST_START_TEST):
3159 add unit tests for this change
3161 2005-11-10 Wim Taymans <wim@fluendo.com>
3163 * docs/gst/gstreamer-sections.txt:
3166 Fix docs, move some STATE macros to private.
3168 2005-11-10 Wim Taymans <wim@fluendo.com>
3170 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3171 Added check for bug #317341
3175 Some more spiffifying.
3177 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
3178 Call peer linkfunction if we are a source pad. Totally fixes
3182 Update docs, source pads should call the peer linkfunction
3183 so they can atomically perform the pad link.
3185 2005-11-09 Wim Taymans <wim@fluendo.com>
3189 Uber-spiffy-spiffify some more.
3191 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
3193 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
3194 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3195 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
3196 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
3197 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
3198 * gst/gstpad.c: (gst_pad_init):
3199 Use GST_DEBUG_FUNCPTR() more extensively.
3201 2005-11-09 Wim Taymans <wim@fluendo.com>
3203 * gst/gstobject.c: (gst_object_class_init):
3205 Documentation fixes.
3207 2005-11-09 Edward Hervey <edward@fluendo.com>
3209 * gst/gsttypefindfactory.c:
3212 2005-11-09 Edward Hervey <edward@fluendo.com>
3214 * gst/base/gsttypefindhelper.c:
3215 * gst/gsttypefind.c:
3216 * gst/gsttypefind.h:
3219 2005-11-09 Wim Taymans <wim@fluendo.com>
3221 * gst/gstiterator.c:
3228 2005-11-09 Wim Taymans <wim@fluendo.com>
3234 2005-11-09 Wim Taymans <wim@fluendo.com>
3236 * docs/gst/gstreamer-sections.txt:
3237 Moved the message async delivery private lock and cond
3238 to the private section.
3244 2005-11-09 Edward Hervey <edward@fluendo.com>
3246 * docs/gst/gstreamer-sections.txt:
3249 Document GstURIHandler
3251 2005-11-09 Wim Taymans <wim@fluendo.com>
3253 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
3254 (gst_iterator_find_custom):
3255 * gst/gstiterator.h:
3258 2005-11-09 Wim Taymans <wim@fluendo.com>
3261 Document another field.
3263 * gst/gststructure.c:
3264 * gst/gststructure.h:
3267 2005-11-09 Wim Taymans <wim@fluendo.com>
3272 2005-11-09 Wim Taymans <wim@fluendo.com>
3274 * docs/gst/gstreamer-sections.txt:
3275 Added some new macros.
3282 2005-11-09 Wim Taymans <wim@fluendo.com>
3284 * docs/design/part-TODO.txt:
3285 Some more items for the TODO
3291 2005-11-09 Andy Wingo <wingo@pobox.com>
3293 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
3294 to work on something else now tho...
3296 * gst/base/gstadapter.c: More adapter docs.
3298 * gst/elements/gstfilesink.c (gst_file_sink_start)
3299 (gst_file_sink_stop): New functions, replace the state change
3301 (gst_file_sink_class_init): Hook up the start and stop functions.
3302 (gst_file_sink_base_init): Don't set the state change handler any
3303 more. It was a bit ugly too, being set from here...
3304 (gst_file_sink_get_property, gst_file_sink_set_property):
3306 (gst_file_sink_set_location): More robust check that doesn't call
3309 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
3311 * gst/base/gstbasetransform.c: (gst_base_transform_event):
3312 Hold STREAM_LOCK while pushing newsegment or tag events as well.
3314 2005-11-08 Wim Taymans <wim@fluendo.com>
3316 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3317 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3318 (gst_base_sink_chain), (gst_base_sink_change_state):
3319 * gst/base/gstbasesink.h:
3320 * gst/base/gstbasesrc.h:
3323 Avoid excessive typechecking in macros.
3325 * gst/gstminiobject.c: (gst_mini_object_get_type),
3326 (gst_mini_object_init), (gst_mini_object_new),
3327 (gst_mini_object_free):
3328 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
3329 (gst_object_finalize):
3330 Remove cruft code, optimize alloc_trace.
3332 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
3334 * docs/faq/gst-uninstalled:
3335 fix up PS1 for systems that try to reset it
3337 2005-11-07 Wim Taymans <wim@fluendo.com>
3339 * gst/base/gstbasesrc.c: (gst_base_src_init),
3340 (gst_base_src_get_range):
3341 Set the segment_end to -1 initially. Fixed typefind.
3343 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
3345 * gst/base/gstadapter.c:
3346 Debug category should be 'adapter', not 'GstAdapter'.
3348 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
3349 (gst_collectpads_class_init), (gst_collectpads_init),
3350 (gst_collectpads_peek), (gst_collectpads_pop),
3351 (gst_collectpads_event), (gst_collectpads_chain):
3352 Add debug category and some debugging output. Use boilerplate
3353 macros. Remove some extraneous words from docs.
3355 2005-11-05 Andy Wingo <wingo@pobox.com>
3357 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
3360 2005-11-04 Stefan Kost <ensonic@users.sf.net>
3362 * docs/gst/gstreamer-sections.txt:
3365 * gst/gstminiobject.h:
3370 2005-11-04 Wim Taymans <wim@fluendo.com>
3372 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3373 Small update to stop at the configured segment_end
3376 2005-11-04 Stefan Kost <ensonic@users.sf.net>
3378 * gst/gstregistry.c:
3379 * gst/gstregistry.h:
3382 2005-11-04 Edward Hervey <edward@fluendo.com>
3384 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3385 Check if we are doing a segment seek and have arrived at the
3386 end of that segment.
3388 2005-11-04 Wim Taymans <wim@fluendo.com>
3390 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
3391 Don't leak a mutex unlock in case of an error.
3396 2005-11-04 Wim Taymans <wim@fluendo.com>
3398 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
3400 Get the context to wake up only once.
3402 2005-11-03 Wim Taymans <wim@fluendo.com>
3404 * check/states/sinks.c: (GST_START_TEST):
3405 Uncomment fixed check.
3407 * docs/design/part-TODO.txt:
3410 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3411 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3412 (gst_base_sink_get_position):
3413 If we are going to PLAYING, post the right pending state
3414 when we post the intermediate paused message.
3416 * gst/gstelement.c: (gst_element_continue_state),
3417 (gst_element_set_state_func), (gst_element_change_state):
3418 Don't post state changes that were between the same state
3421 2005-11-03 Stefan Kost <ensonic@users.sf.net>
3423 * docs/gst/gstreamer-sections.txt:
3426 * gst/gstminiobject.h:
3429 more docs and doc style fixes
3431 2005-11-03 Stefan Kost <ensonic@users.sf.net>
3433 * docs/gst/gstreamer-sections.txt:
3435 * gst/gstminiobject.c:
3438 2005-11-03 Andy Wingo <wingo@pobox.com>
3440 * check/states/sinks.c (test_livesrc_sink): Add checks that the
3441 state-changed messages actually have the right order and the right
3444 2005-11-03 Wim Taymans <wim@fluendo.com>
3446 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3447 Added some more checks. Specifically the case where NO_PREROLL
3448 elements are in the pipeline.
3450 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3451 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3452 (gst_base_sink_get_position):
3453 Post READY->PAUSED state change messages too.
3454 Fix bug where VOID was posted as pending state...
3456 * gst/gstbin.c: (gst_bin_recalc_state):
3457 use _element_continue_state() to continue the state change.
3459 * gst/gstelement.c: (gst_element_continue_state),
3460 (gst_element_commit_state), (gst_element_set_state_func),
3461 (gst_element_change_state), (gst_element_change_state_func):
3462 Lots of state change cleanups, assign the STATE_RETURN in
3463 a new continue_state() function that also propagates the
3464 last return value from a state change to the app.
3465 Update some debug statements with proper category.
3467 2005-11-03 Wim Taymans <wim@fluendo.com>
3469 * docs/design/part-events.txt:
3470 * docs/design/part-gstpipeline.txt:
3471 * docs/design/part-messages.txt:
3472 * docs/design/part-overview.txt:
3473 * docs/design/part-seeking.txt:
3474 * docs/design/part-states.txt:
3475 * docs/design/part-trickmodes.txt:
3476 * docs/manual/advanced-position.xml:
3480 People think !! is ugly, this looks better.
3482 * gst/gstpad.c: (gst_pad_set_blocked_async):
3483 Remove !! since it's fixed elsewhere now.
3485 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3487 * gst/gstminiobject.h:
3489 Add !! to _FLAG_IS_SET macros to make the result boolean.
3491 2005-11-03 Edward Hervey <edward@fluendo.com>
3493 * gst/gstpad.c: (gst_pad_set_blocked_async):
3494 comparing a flag and a gboolean rarely returns coherent results...
3495 Added two characters (!!) to make that work correctly.
3497 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3499 * gst/gstbus.c: (gst_bus_class_init):
3502 * gst/gstqueue.c: (gst_queue_loop):
3503 Don't assume a miniobject that isn't a buffer is an
3504 event (it could be that there is a refcounting
3505 problem somewhere and the pointer is stale and
3506 refers to an already destroyed miniobject).
3508 2005-11-03 Julien MOUTTE <julien@moutte.net>
3510 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3512 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3514 * docs/manual/advanced-position.xml:
3515 Update seek example and explanations to current 0.9 API.
3517 * gst/elements/gsttypefindelement.c:
3518 (gst_type_find_element_activate):
3519 Remove FIXME comment now that the found caps
3522 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
3524 * gst/gstregistryxml.c: (load_feature):
3525 Add another GST_STR_NULL instance
3527 2005-11-02 Edward Hervey <edward@fluendo.com>
3529 * gst/gstpad.c: (handle_pad_block):
3530 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3532 2005-11-02 Wim Taymans <wim@fluendo.com>
3537 * gst/gstelement.c: (gst_element_commit_state):
3538 Remove unused value.
3540 * gst/gstiterator.c:
3541 Mention that the returned element is reffed in the docs.
3543 2005-11-02 Wim Taymans <wim@fluendo.com>
3545 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3546 (gst_pad_push), (gst_pad_push_event):
3547 Unlock blocked pads when they are flushed.
3549 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3552 * docs/gst/gstreamer-sections.txt:
3555 * gst/gstregistry.c: (gst_registry_scan_path_level):
3556 fix for a nasty little missed situation where an installed plug-in
3557 which was in the cache did not get overridden by an uninstalled one
3558 which was earlier in the plugin path because the newly created plugin
3559 for the uninstalled one (not in the registry) didn't get its
3560 ->registered set to TRUE
3562 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3564 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3565 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3566 (gst_collectpads_is_active), (gst_collectpads_collect),
3567 (gst_collectpads_collect_range), (gst_collectpads_start),
3568 (gst_collectpads_stop), (gst_collectpads_peek),
3569 (gst_collectpads_pop), (gst_collectpads_available),
3570 (gst_collectpads_read), (gst_collectpads_flush):
3571 Guard public API with assertions.
3574 Fix docs for gst_pad_set_link_function().
3576 2005-11-02 Johan Dahlin <johan@gnome.org>
3578 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
3579 Unref found_caps after we used it.
3581 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3583 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3584 Don't try to ref NULL.
3586 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3588 * win32/common/config.h.in:
3589 provide a GST_FUNCTION that just gives a string for now
3591 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3593 * win32/common/gstenumtypes.c: (register_gst_object_flags),
3594 (gst_object_flags_get_type), (register_gst_bin_flags),
3595 (gst_bin_flags_get_type), (register_gst_buffer_flag),
3596 (gst_buffer_flag_get_type), (register_gst_bus_flags),
3597 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3598 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3599 (gst_clock_return_get_type), (register_gst_clock_entry_type),
3600 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3601 (gst_clock_flags_get_type), (register_gst_state),
3602 (gst_state_get_type), (register_gst_state_change_return),
3603 (gst_state_change_return_get_type), (register_gst_state_change),
3604 (gst_state_change_get_type), (register_gst_element_flags),
3605 (gst_element_flags_get_type), (register_gst_core_error),
3606 (gst_core_error_get_type), (register_gst_library_error),
3607 (gst_library_error_get_type), (register_gst_resource_error),
3608 (gst_resource_error_get_type), (register_gst_stream_error),
3609 (gst_stream_error_get_type), (register_gst_event_type),
3610 (gst_event_type_get_type), (register_gst_seek_type),
3611 (gst_seek_type_get_type), (register_gst_seek_flags),
3612 (gst_seek_flags_get_type), (register_gst_format),
3613 (gst_format_get_type), (register_gst_index_certainty),
3614 (gst_index_certainty_get_type), (register_gst_index_entry_type),
3615 (gst_index_entry_type_get_type),
3616 (register_gst_index_lookup_method),
3617 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3618 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3619 (gst_index_resolver_method_get_type), (register_gst_index_flags),
3620 (gst_index_flags_get_type), (register_gst_debug_level),
3621 (gst_debug_level_get_type), (register_gst_debug_color_flags),
3622 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3623 (gst_iterator_result_get_type), (register_gst_iterator_item),
3624 (gst_iterator_item_get_type), (register_gst_message_type),
3625 (gst_message_type_get_type), (register_gst_mini_object_flags),
3626 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3627 (gst_pad_link_return_get_type), (register_gst_flow_return),
3628 (gst_flow_return_get_type), (register_gst_activate_mode),
3629 (gst_activate_mode_get_type), (register_gst_pad_direction),
3630 (gst_pad_direction_get_type), (register_gst_pad_flags),
3631 (gst_pad_flags_get_type), (register_gst_pad_presence),
3632 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3633 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3634 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3635 (gst_plugin_error_get_type), (register_gst_plugin_flags),
3636 (gst_plugin_flags_get_type), (register_gst_rank),
3637 (gst_rank_get_type), (register_gst_query_type),
3638 (gst_query_type_get_type), (register_gst_tag_merge_mode),
3639 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3640 (gst_tag_flag_get_type), (register_gst_task_state),
3641 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3642 (gst_alloc_trace_flags_get_type),
3643 (register_gst_type_find_probability),
3644 (gst_type_find_probability_get_type), (register_gst_uri_type),
3645 (gst_uri_type_get_type), (register_gst_parse_error),
3646 (gst_parse_error_get_type):
3647 * win32/common/gstversion.h:
3650 2005-11-01 Luca Ognibene <luogni@tin.it>
3653 fix docs. popt is dead, long live GOption.
3655 2005-10-31 Wim Taymans <wim@fluendo.com>
3660 2005-10-31 Andy Wingo <wingo@pobox.com>
3664 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3666 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3667 need to serialize property notifications on GLib 2.8. GLib 2.6 has
3668 the possibility of deadlocks here if code calling notify() or
3669 set() has a lock that can be taken in another notify handler (ABBA
3670 with class lock and e.g. python GIL state lock).
3672 2005-10-28 Julien MOUTTE <julien@moutte.net>
3674 * gst/gstbus.c: Doc updates.
3676 2005-10-28 Wim Taymans <wim@fluendo.com>
3678 * docs/design/part-TODO.txt:
3679 * gst/gstiterator.c:
3680 * gst/gstsystemclock.c:
3681 * gst/gstsystemclock.h:
3684 2005-10-28 Edward Hervey <edward@fluendo.com>
3686 * docs/gst/gstreamer-docs.sgml:
3687 * docs/gst/gstreamer-sections.txt:
3688 the GstURIType documentation page is private, it only defines GstURIType
3689 which should be defined in the GstURIHandler page
3691 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
3693 * gst/gstbin.c: (gst_bin_class_init):
3696 Documentation updates.
3698 2005-10-28 Wim Taymans <wim@fluendo.com>
3700 * docs/gst/gstreamer-sections.txt:
3703 Documented the clocks.
3705 2005-10-28 Stefan Kost <ensonic@users.sf.net>
3707 * docs/gst/gstreamer-sections.txt:
3708 move some macros to private sections
3709 * gst/gstminiobject.c:
3710 * gst/gstminiobject.h:
3711 add descriptions provided by ds and some more
3713 mark macro as to be removed
3715 2005-10-28 Wim Taymans <wim@fluendo.com>
3717 * docs/design/part-TODO.txt:
3718 Add an item to TODO.
3720 * gst/gstiterator.c: (gst_iterator_fold),
3721 (gst_iterator_find_custom):
3722 * gst/gstiterator.h:
3725 2005-10-28 Wim Taymans <wim@fluendo.com>
3727 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3728 (gst_base_transform_init):
3731 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3732 An EOS event marks the queue as completely filled.
3734 2005-10-27 Wim Taymans <wim@fluendo.com>
3736 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3737 (gst_base_sink_do_sync), (gst_base_sink_get_position):
3738 Some more debugging.
3740 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3741 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3742 (gst_base_transform_event), (gst_base_transform_getrange),
3743 (gst_base_transform_chain):
3744 * gst/base/gstbasetransform.h:
3746 Protect transform and concurrent buffer alloc with a new lock.
3747 Try not to break ABI/API.
3749 2005-10-27 Wim Taymans <wim@fluendo.com>
3751 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3752 (gst_base_src_init), (gst_base_src_query),
3753 (gst_base_src_default_newsegment),
3754 (gst_base_src_configure_segment), (gst_base_src_do_seek),
3755 (gst_base_src_send_event), (gst_base_src_event_handler),
3756 (gst_base_src_pad_get_range), (gst_base_src_loop),
3757 (gst_base_src_unlock), (gst_base_src_default_negotiate),
3758 (gst_base_src_start), (gst_base_src_deactivate),
3759 (gst_base_src_activate_push), (gst_base_src_change_state):
3760 Move some stuff around and cleanup things.
3762 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
3764 * gst/base/gstbasesrc.c: (gst_base_src_query):
3765 Add missing break statements.
3767 2005-10-27 Wim Taymans <wim@fluendo.com>
3769 * check/gst/gstbin.c: (GST_START_TEST):
3770 An extra refcount is taken in basesrc.
3772 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3773 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3774 (gst_base_src_loop):
3775 Small cleanups, check for flushing after being unlocked from the
3776 LIVE_LOCK. take refcounts correctly (not yet everywhere).
3777 Don't send out EOS when going to READY.
3779 2005-10-27 Wim Taymans <wim@fluendo.com>
3781 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3782 (gst_base_sink_get_position):
3785 * gst/gstbin.c: (message_check), (bin_replace_message),
3786 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3787 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3788 (bin_query_duration_init), (bin_query_duration_fold),
3789 (bin_query_duration_done), (bin_query_generic_fold),
3791 * tools/gst-launch.c: (main):
3794 2005-10-26 Stefan Kost <ensonic@users.sf.net>
3796 * examples/controller/audio-example.c: (main):
3797 * examples/queue/queue.c: (event_loop):
3798 * gst/base/gstbasetransform.h:
3799 * gst/gstelement.c: (gst_element_send_event):
3801 * gst/gstpad.c: (gst_pad_send_event):
3804 changing log priority in error situations
3806 2005-10-25 Wim Taymans <wim@fluendo.com>
3808 * gst/gstbin.c: (message_check), (bin_replace_message),
3809 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3810 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3811 (bin_query_duration_init), (bin_query_duration_fold),
3812 (bin_query_duration_done), (bin_query_generic_fold),
3814 Some doc and debug updates.
3815 Cache previously requested query DURATION for speed. invalidate
3816 cached duration if element posts a DURATION message.
3818 2005-10-25 Wim Taymans <wim@fluendo.com>
3820 * docs/design/part-TODO.txt:
3823 * gst/gstbin.c: (message_check), (bin_replace_message),
3824 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3825 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3826 (bin_query_duration_init), (bin_query_duration_fold),
3827 (bin_query_duration_done), (bin_query_generic_fold),
3829 Handle SEGMENT_START/DONE messages correctly.
3830 More evolved query algorithm that handles duration queries
3833 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3834 (gst_element_get_state_func), (gst_element_abort_state),
3835 (gst_element_commit_state), (gst_element_lost_state):
3836 Some more debugging.
3841 2005-10-25 Wim Taymans <wim@fluendo.com>
3843 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3844 Don't use invalid stream_time.
3846 * gst/gstevent.c: (gst_event_new_newsegment):
3847 stream_time in newsegment cannot be undefined.
3849 2005-10-24 Wim Taymans <wim@fluendo.com>
3854 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3856 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3858 2005-10-24 Stefan Kost <ensonic@users.sf.net>
3860 * docs/libs/tmpl/gstdparam.sgml:
3861 * docs/libs/tmpl/gstdplinint.sgml:
3862 * docs/libs/tmpl/gstdpman.sgml:
3863 * docs/libs/tmpl/gstdpsmooth.sgml:
3864 * docs/libs/tmpl/gstunitconvert.sgml:
3867 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
3872 === release 0.9.4 ===
3874 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3877 releasing 0.9.4, "Tyrannosaurus Rex"
3879 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
3881 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3882 (gst_file_sink_get_current_offset):
3883 Use fseeko() and ftello() if available. When falling back on
3884 lseek() to get the current offset, fflush() first to make sure
3885 everything is up-to-date and we get the right offset.
3887 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3889 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3890 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3891 * gst/gsterror.c: (_gst_stream_errors_init):
3893 * gst/gstqueue.c: (gst_queue_loop):
3895 remove prematurely added error category and clean up the instances
3897 2005-10-21 Wim Taymans <wim@fluendo.com>
3899 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3900 (gst_base_sink_get_position), (gst_base_sink_query),
3901 (gst_base_sink_change_state):
3902 Simply set the right flag when going to playing, that's all
3903 we need to do instead of calling a function inside the object
3904 lock (that could take the lock as well and deadlock)
3906 2005-10-21 Wim Taymans <wim@fluendo.com>
3908 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3909 (gst_base_src_loop):
3910 Don't warn, the peer element knows what to do best when
3911 the seek failed, it might try something else.
3913 2005-10-21 Wim Taymans <wim@fluendo.com>
3915 * gst/base/gstbasesrc.c: (gst_base_src_init),
3916 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3919 2005-10-21 Wim Taymans <wim@fluendo.com>
3921 * docs/design/part-segments.txt:
3924 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3925 Correctly set caps, even on the subbufer.
3927 2005-10-21 Wim Taymans <wim@fluendo.com>
3929 * docs/gst/gstreamer-docs.sgml:
3930 * docs/gst/gstreamer-sections.txt:
3937 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3941 And 2% more doc coverage.
3943 2005-10-21 Andy Wingo <wingo@pobox.com>
3945 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3948 2005-10-20 Wim Taymans <wim@fluendo.com>
3950 * gst/gsterror.c: (gst_error_get_message):
3953 * gst/gststructure.c:
3958 2005-10-20 Wim Taymans <wim@fluendo.com>
3963 Another 1% more coverage.
3965 2005-10-20 Wim Taymans <wim@fluendo.com>
3967 * docs/gst/gstreamer-sections.txt:
3968 * gst/gstelement.c: (gst_element_get_state_func),
3969 (gst_element_abort_state), (gst_element_commit_state),
3970 (gst_element_lost_state):
3972 * gst/gstquery.c: (gst_query_set_position),
3973 (gst_query_parse_position), (gst_query_set_duration),
3974 (gst_query_parse_duration), (gst_query_new_convert):
3976 Yay! 1% more docs coverage.
3978 2005-10-20 Wim Taymans <wim@fluendo.com>
3981 * gst/gstquery.c: (gst_query_set_position),
3982 (gst_query_parse_position), (gst_query_set_duration),
3983 (gst_query_parse_duration), (gst_query_new_convert):
3985 * gst/gstutils.c: (gst_element_query_convert):
3987 Docs and consistency fixes.
3989 2005-10-20 Wim Taymans <wim@fluendo.com>
3995 2005-10-20 Wim Taymans <wim@fluendo.com>
3997 * gst/gstbin.c: (message_check), (bin_replace_message),
3998 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3999 (update_degree), (gst_bin_sort_iterator_next),
4000 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
4001 Reworked the message handling a bit, cache the messages instead of
4002 only the senders. alows us to do more in the future.
4004 2005-10-20 Wim Taymans <wim@fluendo.com>
4006 * docs/design/part-TODO.txt:
4009 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
4010 (gst_base_sink_query):
4011 Don't use clock time to report position when in EOS.
4013 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
4015 * tools/gst-inspect.c: (print_interfaces),
4016 (print_element_properties_info), (print_element_info):
4017 Fix interface output with gst-inspect -a; don't print
4018 newlines after double/float properties.
4020 2005-10-20 Wim Taymans <wim@fluendo.com>
4022 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
4023 (gst_base_sink_query):
4024 Speed up current position calculation.
4026 * gst/base/gstbasesrc.c: (gst_base_src_query),
4027 (gst_base_src_default_newsegment):
4028 Correctly set stream position in newsegment.
4030 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
4031 (update_degree), (gst_bin_sort_iterator_next),
4032 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
4033 * gst/gstmessage.c: (gst_message_new_custom):
4034 Clean up debugging info
4036 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
4037 (gst_queue_loop), (gst_queue_handle_src_query):
4040 2005-10-19 Wim Taymans <wim@fluendo.com>
4042 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4043 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
4044 Fix query handling again.
4046 2005-10-19 Wim Taymans <wim@fluendo.com>
4048 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4049 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
4050 * gst/base/gstbasesrc.c: (gst_base_src_query):
4051 * gst/elements/gstfilesink.c: (gst_file_sink_query):
4052 * gst/elements/gsttypefindelement.c:
4053 (gst_type_find_handle_src_query), (find_element_get_length),
4054 (gst_type_find_element_activate):
4057 * gst/gstquery.c: (gst_query_new_position),
4058 (gst_query_set_position), (gst_query_parse_position),
4059 (gst_query_new_duration), (gst_query_set_duration),
4060 (gst_query_parse_duration), (gst_query_set_segment),
4061 (gst_query_parse_segment):
4063 Bundling query position/duration is not a good idea since duration
4064 does not change much and we don't want to recalculate it for every
4065 position query, so they are separated again..
4066 Base value in segment query is not needed.
4068 * gst/gstqueue.c: (gst_queue_handle_src_query):
4069 * gst/gstutils.c: (gst_element_query_position),
4070 (gst_element_query_duration), (gst_pad_query_position),
4071 (gst_pad_query_duration):
4073 Updates for query API change.
4074 Added some docs here and there.
4076 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
4078 * check/gst/gstbin.c: (GST_START_TEST):
4079 * check/gst/gstghostpad.c: (GST_START_TEST):
4080 * check/pipelines/cleanup.c: (GST_START_TEST):
4081 wait on thread to die so we can check refcount correctly
4083 2005-10-18 Wim Taymans <wim@fluendo.com>
4085 * check/pipelines/stress.c: (GST_START_TEST):
4086 Make check a little more time consuming.
4088 2005-10-18 Wim Taymans <wim@fluendo.com>
4090 * check/Makefile.am:
4091 * check/pipelines/stress.c: (GST_START_TEST),
4092 (simple_launch_lines_suite), (main):
4093 Small state change torture test.
4095 * docs/design/part-states.txt:
4096 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4097 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
4098 (gst_base_sink_change_state):
4099 Never take state lock from streaming thread, clean up ugly
4100 hacks. Unfortunatly core does not yet support nice ways to
4103 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
4105 Start state recalc if a STATE_DIRTY message is posted, but only
4106 on the toplevel bin.
4108 * gst/gstelement.c: (gst_element_sync_state_with_parent),
4109 (gst_element_get_state_func), (gst_element_abort_state),
4110 (gst_element_commit_state), (gst_element_lost_state),
4111 (gst_element_set_state_func), (gst_element_change_state):
4113 State variables are now protected with the LOCK, the state
4114 lock is only used to serialize _set_state().
4116 2005-10-18 Wim Taymans <wim@fluendo.com>
4118 * check/gst/gstbin.c: (GST_START_TEST):
4119 * check/gst/gstmessage.c: (GST_START_TEST):
4120 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4121 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
4123 * gst/gstelement.c: (gst_element_abort_state),
4124 (gst_element_commit_state), (gst_element_lost_state):
4125 * gst/gstmessage.c: (gst_message_new_state_changed),
4126 (gst_message_new_state_dirty), (gst_message_new_segment_start),
4127 (gst_message_new_segment_done), (gst_message_new_duration),
4128 (gst_message_parse_state_changed),
4129 (gst_message_parse_segment_start),
4130 (gst_message_parse_segment_done), (gst_message_parse_duration):
4132 * tools/gst-launch.c: (event_loop):
4133 Seriously, this is better than a previous commit as we only need
4134 to notify the fact that an element changed state in a streaming
4135 thread, marking the state of the parents dirty, hence the
4136 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
4139 2005-10-18 Wim Taymans <wim@fluendo.com>
4141 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
4142 (gst_bin_recalc_func):
4143 * gst/gstelement.c: (gst_element_set_clock),
4144 (gst_element_abort_state), (gst_element_lost_state):
4145 Cleanups, prepare for state change fixes.
4147 2005-10-18 Wim Taymans <wim@fluendo.com>
4150 * gst/gstelement.c: (gst_element_class_init),
4151 (gst_element_set_state), (gst_element_set_state_func):
4153 Pending ABI changes.
4154 GThreadPool in GstBinClass to monitor async state changes.
4155 state_cookie in GstElement to detect concurrent gst/set state.
4156 set_state is now virtual too in case a very complicated element
4157 has to be constructed.
4159 2005-10-18 Wim Taymans <wim@fluendo.com>
4161 * check/gst/gstbin.c: (GST_START_TEST):
4162 * check/gst/gstmessage.c: (GST_START_TEST):
4163 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4164 * gst/gstbin.c: (bin_bus_handler):
4165 * gst/gstelement.c: (gst_element_commit_state),
4166 (gst_element_lost_state):
4167 * gst/gstmessage.c: (gst_message_new_state_changed),
4168 (gst_message_new_segment_start), (gst_message_new_segment_done),
4169 (gst_message_new_duration), (gst_message_parse_state_changed),
4170 (gst_message_parse_segment_start),
4171 (gst_message_parse_segment_done), (gst_message_parse_duration):
4173 * tools/gst-launch.c: (event_loop):
4174 Make messages future proof.
4175 state-change gets a flag if it was a message comming from the
4177 segment-start/stop can also be specified in other formats.
4178 A message to notify an app that a pipeline changed playback
4180 Also fix a GstMessage leak in -launch
4182 2005-10-18 Andy Wingo <wingo@pobox.com>
4184 * gst/gstelement.c (gst_element_dispose): More helpful message.
4186 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
4188 reviewed by: <delete if not using a buddy>
4190 * common/gtk-doc.mak:
4192 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
4194 * gst/gstregistry.c: (gst_registry_scan_path_level):
4195 unref a plug-in we get that was already initialized
4197 2005-10-18 Stefan Kost <ensonic@users.sf.net>
4199 * docs/gst/gstreamer-sections.txt:
4200 * docs/libs/gstreamer-libs-sections.txt:
4205 2005-10-17 Andy Wingo <wingo@pobox.com>
4207 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
4210 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
4212 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
4214 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
4215 (gst_element_get_state_func): Better debug message.
4216 (gst_element_commit_state): s/INFO/DEBUG/.
4217 (gst_element_lost_state, gst_element_change_state):
4219 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
4220 (gst_message_new_custom): s/INFO/LOG/.
4222 2005-10-17 Michael Smith <msmith@fluendo.com>
4224 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4225 Check if end time is valid using end time, not start time.
4227 2005-10-17 Stefan Kost <ensonic@users.sf.net>
4229 * check/gst-libs/controller.c: (GST_START_TEST),
4230 (gst_controller_suite):
4231 * libs/gst/controller/gstcontroller.c:
4232 (gst_controlled_property_set_interpolation_mode):
4233 * libs/gst/controller/gstcontroller.h:
4234 * libs/gst/controller/gstinterpolation.c:
4235 * testsuite/controller/.cvsignore:
4236 * testsuite/controller/Makefile.am:
4237 * testsuite/controller/interpolator.c:
4238 merge controller testsuites
4240 remove mem-chunk from docs
4242 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
4244 * gst/gstmemchunk.c:
4245 * gst/gstmemchunk.h:
4246 * gst/gsttrashstack.c:
4247 * gst/gsttrashstack.h:
4248 out. get out. you're fired. to the Attic !
4250 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
4252 * gst/gstcaps.c: (gst_caps_intersect):
4253 fix signedness issues in a (hopefully) correct way
4254 * gst/gstelement.c: (gst_element_pads_activate):
4256 * gst/gstobject.c: (gst_object_set_parent):
4259 2005-10-17 Julien MOUTTE <julien@moutte.net>
4261 * gst/gstvalue.h: Fix prototypes.
4263 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4265 * docs/gst/gstreamer-sections.txt:
4266 * gst/gst.c: (gst_version_string):
4268 * gst/gstversion.h.in:
4269 * win32/common/libgstreamer.def:
4270 add gst_version_string ()
4272 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4276 * gst/gst.c: (init_post):
4277 * win32/common/config.h.in:
4279 * gst/gstcaps.c: (gst_caps_intersect):
4280 use gint64, the range could be bigger than a guint
4282 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4285 document potential problem in 2038
4287 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4289 * gst/gstcaps.c: (gst_caps_intersect):
4290 Fix guint j diving under 0
4292 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4295 * win32/common/config.h:
4296 * win32/common/config.h.in:
4297 check for process.h, declares getpid() on Windows
4299 include process.h if we have it
4300 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
4301 * gst/gstmemchunk.h:
4302 fix signedness issues
4303 * win32/common/libgstreamer.def:
4306 2005-10-16 Julien MOUTTE <julien@moutte.net>
4308 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
4309 fix. Because of unsigned ints, caps intersection was going nuts and
4310 trying to access structures with G_MAXUINT index. That fixes
4311 videotestsrc ! ffmpegcolorspace ! fakesink
4312 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
4315 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4318 use the gettext macro
4319 * gst/elements/gstelements.c:
4321 * gst/indexers/gstindexers.c:
4322 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
4323 * win32/common/config.h:
4325 * win32/common/config.h.in:
4326 add the template to generate config.h
4327 * win32/common/gstenumtypes.c:
4328 * win32/common/gstversion.h:
4331 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4333 * gst/gst.c: (gst_version):
4334 * gst/gstversion.h.in:
4337 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
4340 Oops, add missing closing bracket.
4342 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4345 use common m4's for argument checking
4347 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
4349 * docs/gst/gstreamer-sections.txt:
4351 Add GST_EVENT_TYPE_NAME() macro.
4353 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4356 * gst/gstpluginfeature.c:
4358 privatize more symbols
4360 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4363 add srcdir, builddir includes to GST_ALL_CFLAGS, since
4364 everything that uses GStreamer API should have the includes
4366 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4368 * docs/gst/gstreamer-sections.txt:
4369 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4371 give each value a _get_type, removes the DATA exports
4373 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4377 remove _gst_registry_auto_load, not used anymore
4378 * gst/gstbin.c: (gst_bin_get_type):
4380 * gst/gstelement.c: (gst_element_get_type):
4382 * gst/gstobject.c: (gst_object_get_type):
4384 * gst/gstpad.c: (gst_pad_get_type):
4386 make _get_type functions similar, fixes data export from library
4388 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4391 correctly make conditionals
4392 * gst/elements/Makefile.am:
4393 * gst/elements/gstelements.c:
4394 fix typo causing fdsrc not to build
4396 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4398 * testsuite/Makefile.am:
4399 * testsuite/bytestream/.cvsignore:
4400 * testsuite/bytestream/Makefile.am:
4401 * testsuite/bytestream/filepadsink.c:
4402 * testsuite/bytestream/gstbstest.c:
4403 * testsuite/bytestream/test1.c:
4404 * testsuite/bytestream/testfile1:
4405 * testsuite/caps/normalisation.c:
4406 * testsuite/caps/random.c: (main):
4407 * testsuite/cleanup/.cvsignore:
4408 * testsuite/cleanup/Makefile.am:
4409 * testsuite/cleanup/cleanup1.c:
4410 * testsuite/cleanup/cleanup2.c:
4411 * testsuite/cleanup/cleanup3.c:
4412 * testsuite/cleanup/cleanup4.c:
4413 * testsuite/cleanup/cleanup5.c:
4414 * testsuite/controller/interpolator.c:
4415 * testsuite/debug/printf_extension.c: (main):
4416 * testsuite/elements/tee.c:
4417 * testsuite/negotiation/.cvsignore:
4418 * testsuite/negotiation/Makefile.am:
4419 * testsuite/negotiation/pad_link.c:
4420 * testsuite/pad/Makefile.am:
4421 * testsuite/pad/chainnopull.c:
4422 * testsuite/pad/getnopush.c:
4423 * testsuite/pad/link.c:
4424 * testsuite/refcounting/sched.c: (create_pipeline):
4425 * testsuite/registry/Makefile.am:
4426 * testsuite/registry/gst-print-formats.c:
4427 * testsuite/schedulers/.cvsignore:
4428 * testsuite/schedulers/142183-2.c:
4429 * testsuite/schedulers/142183.c:
4430 * testsuite/schedulers/143777-2.c:
4431 * testsuite/schedulers/143777.c:
4432 * testsuite/schedulers/147713.c:
4433 * testsuite/schedulers/147819.c:
4434 * testsuite/schedulers/147894-2.c:
4435 * testsuite/schedulers/147894.c:
4436 * testsuite/schedulers/Makefile.am:
4437 * testsuite/schedulers/group_link.c:
4438 * testsuite/schedulers/queue_link.c:
4439 * testsuite/schedulers/relink.c:
4440 * testsuite/schedulers/unlink.c:
4441 * testsuite/schedulers/unref.c:
4442 * testsuite/schedulers/useless_iteration.c:
4443 * testsuite/states/bin.c:
4444 clean out/remove some stuff from the testsuite directories
4446 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4449 check for some headers
4450 * gst/elements/Makefile.am:
4451 * gst/elements/gstelements.c:
4452 don't compile fdsrc without sys/socket.h
4453 * gst/indexers/Makefile.am:
4454 * gst/indexers/gstindexers.c: (plugin_init):
4455 don't compile fileindex without mmap
4457 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4464 * check/Makefile.am:
4465 * docs/gst/Makefile.am:
4466 * examples/helloworld/Makefile.am:
4468 * gst/base/Makefile.am:
4469 * gst/check/Makefile.am:
4470 * gst/elements/Makefile.am:
4471 * gst/indexers/Makefile.am:
4472 * gst/parse/Makefile.am:
4473 * libs/gst/controller/Makefile.am:
4474 * libs/gst/dataprotocol/Makefile.am:
4475 * examples/helloworld/helloworld.c: (event_loop):
4476 compile fixes, though it's not being compiled currently
4478 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4480 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
4481 Add some simple tests for the new taglist date API.
4483 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4485 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
4486 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
4487 Beautify 'last-message' output: print 'none' for buffer timestamps
4488 and durations if none is set; improve alignment with next messages.
4490 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4492 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
4493 * gst/gstpluginfeature.h:
4494 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
4495 * gst/gstregistry.h:
4496 * docs/gst/gstreamer-sections.txt:
4497 Add new API to check plugin feature version requirements.
4499 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
4500 Some basic tests for the above.
4502 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4504 * gst/gststructure.c: (gst_structure_to_string):
4505 guard against NULL printf - happens when for example
4506 a message structure with GstClock gets serialized
4508 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4510 * gst/base/gstcollectpads.c: (gst_collectpads_event):
4511 Fix presumable copy'n'pasto.
4513 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4515 * gst/elements/gstfakesrc.h:
4516 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4517 * gst/elements/gsttypefindelement.c:
4519 * gst/elements/gstfilesink.c: (gst_file_sink_render):
4520 I wonder if this could actually write +2GB files before
4522 2005-10-13 Andy Wingo <wingo@pobox.com>
4524 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4525 Fix Timmeke Waymans bug.
4526 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4527 string of the proper length to gst_caps_from_string. There's a
4528 potential for, before this fix, that this could cause someone
4529 connecting over the network to cause a segfault if the payload is
4532 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4534 * docs/design/draft-push-pull.txt:
4535 * docs/design/part-overview.txt:
4536 * docs/random/TODO-pre-0.9:
4537 * docs/random/old/ChangeLog.gstreamer:
4538 * gst/base/gstpushsrc.c:
4542 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4544 * gst/glib-compat.c: (gst_flags_get_first_value):
4545 * gst/glib-compat.h:
4546 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4547 (gst_value_compare_double), (gst_value_serialize_flags):
4548 GLib 2.6 g_flags_get_first_value has a bug that triggers an
4551 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4553 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4554 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4556 * tools/gst-launch.c: (event_loop):
4557 print out clock nicely
4559 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4561 * docs/gst/gstreamer-sections.txt:
4563 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4564 (gst_tag_list_get_date_index):
4565 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4566 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4568 2005-10-13 Julien MOUTTE <julien@moutte.net>
4570 * gst/base/gstcollectpads.c: (gst_collectpads_event),
4571 (gst_collectpads_chain):
4572 * gst/base/gstcollectpads.h: Handle newsegment and store informations
4575 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4577 * docs/gst/gstreamer-sections.txt:
4580 * tools/gst-inspect.c: (main):
4581 * tools/gst-launch.c: (main):
4582 * tools/gst-run.c: (main):
4583 * tools/gst-xmlinspect.c: (main):
4584 fix GOption context leaks
4587 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4591 * win32/common/config.h:
4593 * win32/vs6/grammar.dsp:
4594 * win32/vs6/libgstelements.dsp:
4595 * win32/vs6/libgstreamer.dsp:
4598 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4600 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4601 * gst/base/gstbasesrc.c: (gst_base_src_query):
4602 fix more guint64<->gdouble conversions
4604 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4607 add win32-update target
4608 * win32/common/gstconfig.h:
4609 * win32/common/gstenumtypes.c:
4610 * win32/common/gstenumtypes.h:
4611 * win32/common/gstversion.h:
4612 add files that visual studio can't generate
4614 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4617 add a win32-update target
4620 2005-10-12 Wim Taymans <wim@fluendo.com>
4622 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4623 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4624 * gst/gstelement.c: (gst_element_commit_state),
4625 (gst_element_set_state):
4626 Protect flags with proper lock.
4627 unref provided cached clock in dispose.
4629 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4632 * gst/gstminiobject.h:
4634 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4635 removed unused flags from miniobject
4638 2005-10-12 Wim Taymans <wim@fluendo.com>
4640 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4641 (gst_file_sink_event), (gst_file_sink_render):
4642 Flush before seeking.
4644 2005-10-12 Andy Wingo <wingo@pobox.com>
4646 * gst/gst.c (gst_init_check): Ignore unknown options, as has
4647 always been the case.
4649 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4651 * check/gst/gstbin.c: (GST_START_TEST):
4652 * docs/gst/gstreamer-sections.txt:
4653 * gst/base/gstbasesink.c: (gst_base_sink_init):
4654 * gst/base/gstbasesrc.c: (gst_base_src_init),
4655 (gst_base_src_get_range), (gst_base_src_check_get_range),
4656 (gst_base_src_start), (gst_base_src_stop):
4657 * gst/base/gstbasesrc.h:
4658 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4659 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4660 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4664 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4666 * gst/gstelement.c: (gst_element_is_locked_state),
4667 (gst_element_set_locked_state), (gst_element_commit_state),
4668 (gst_element_set_state):
4670 * gst/gstindex.c: (gst_index_init):
4672 * gst/gstminiobject.h:
4673 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4674 (gst_object_set_parent):
4676 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4677 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4679 * gst/gstpadtemplate.h:
4680 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4681 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4682 * gst/gstpipeline.h:
4683 * gst/indexers/gstfileindex.c: (gst_file_index_load),
4684 (gst_file_index_commit):
4685 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4686 * testsuite/pad/link.c: (gst_test_src_init),
4687 (gst_test_filter_init), (gst_test_sink_init):
4688 * testsuite/states/locked.c: (main):
4689 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4690 moved bitshift from macro to enum definition
4692 2005-10-12 Wim Taymans <wim@fluendo.com>
4694 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4695 * gst/elements/gstfilesink.c: (gst_file_sink_event),
4696 (gst_file_sink_render):
4697 Some more debugging info.
4699 2005-10-12 Wim Taymans <wim@fluendo.com>
4701 * docs/design/part-states.txt:
4702 * tools/gst-launch.c: (main):
4704 Revert non-intentional change.
4706 2005-10-12 Wim Taymans <wim@fluendo.com>
4708 * check/gst/gstbin.c: (GST_START_TEST):
4709 * check/gst/gstelement.c: (GST_START_TEST):
4710 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4711 * check/gst/gstghostpad.c: (GST_START_TEST):
4712 * check/gst/gstpipeline.c: (GST_START_TEST):
4713 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4714 * check/states/sinks.c: (GST_START_TEST):
4715 * gst/elements/gsttypefindelement.c: (stop_typefinding):
4716 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4717 (gst_bin_remove_func), (gst_bin_get_state_func),
4718 (gst_bin_recalc_state), (gst_bin_change_state_func),
4720 * gst/gstelement.c: (gst_element_get_state_func),
4721 (gst_element_get_state), (gst_element_abort_state),
4722 (gst_element_commit_state), (gst_element_set_state),
4723 (gst_element_change_state), (gst_element_change_state_func):
4725 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4726 (gst_pipeline_provide_clock_func):
4727 * gst/gstutils.c: (gst_element_link_pads_filtered):
4728 * tools/gst-launch.c: (main):
4729 * tools/gst-typefind.c: (main):
4730 Use GstClockTime in _get_state() instead of GTimeVal.
4731 Remove old code in gstutils.c
4733 2005-10-12 Andy Wingo <wingo@pobox.com>
4735 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4738 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4739 there is no task. Shouldn't affect any code, as nothing in our
4740 plugins checks this return value.
4741 (gst_pad_stop_task): Also take the stream lock if the pad has no
4744 2005-10-12 Wim Taymans <wim@fluendo.com>
4746 * gst/gstpad.c: (pre_activate), (post_activate),
4747 (gst_pad_activate_pull), (gst_pad_activate_push):
4748 Cleanup activation code. Reset old state if
4751 2005-10-12 Wim Taymans <wim@fluendo.com>
4753 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4754 (gst_base_sink_change_state):
4755 No need to prerol after receiving EOS.
4757 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4758 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4759 * gst/elements/gstidentity.c: (gst_identity_event):
4760 Print events more verbosely.
4762 2005-10-12 Wim Taymans <wim@fluendo.com>
4764 * check/Makefile.am:
4765 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4766 * check/states/sinks2.c:
4767 Moved sinks2 testcode in sinks check.
4769 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4770 (gst_bin_remove_func), (gst_bin_recalc_state),
4771 (gst_bin_change_state_func), (bin_bus_handler):
4772 Fix potential race condition when _get_state() iterated over an
4773 ASYNC element right before it posted a state completion.
4776 Do proper cast here.
4778 * gst/gstevent.c: (gst_event_new_newsegment),
4779 (gst_event_parse_newsegment):
4780 A playback rate of 0.0 is not allowed.
4782 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4784 * win32/common/config.h:
4785 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4786 (_trewinddir), (_ttelldir), (_tseekdir):
4787 * win32/common/dirent.h:
4788 * win32/common/gtchar.h:
4789 * win32/common/libgstbase.def:
4790 * win32/common/libgstreamer.def:
4791 * win32/vs6/grammar.dsp:
4792 * win32/vs6/gst_inspect.dsp:
4793 * win32/vs6/gst_launch.dsp:
4794 * win32/vs6/gstreamer.dsw:
4795 * win32/vs6/libgstbase.dsp:
4796 * win32/vs6/libgstelements.dsp:
4797 * win32/vs6/libgstreamer.dsp:
4798 Visual Studio 6 project files, and a new common directory.
4801 2005-10-11 Wim Taymans <wim@fluendo.com>
4803 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4804 (gst_base_sink_do_sync), (gst_base_sink_query),
4805 (gst_base_sink_change_state):
4806 * gst/base/gstbasesink.h:
4807 Correctly parse newsegment info.
4809 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4811 * gst/gst.c: (init_post):
4812 split plugin paths correctly
4814 2005-10-11 Wim Taymans <wim@fluendo.com>
4816 * check/gst/gstevent.c: (GST_START_TEST):
4817 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4818 (gst_base_sink_change_state):
4819 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4820 * gst/base/gstbasetransform.c: (gst_base_transform_event):
4821 * gst/elements/gstfilesink.c: (gst_file_sink_event):
4822 * gst/gstevent.c: (gst_event_new_newsegment),
4823 (gst_event_parse_newsegment):
4825 Added extra flag to newsegment for future API freeze.
4826 Updated check and base elements.
4828 2005-10-11 Julien MOUTTE <julien@moutte.net>
4830 * gst/base/gstcollectpads.c: (gst_collectpads_init),
4831 (gst_collectpads_add_pad), (gst_collectpads_pop),
4832 (gst_collectpads_event), (gst_collectpads_chain):
4833 * gst/base/gstcollectpads.h: Handle EOS correctly.
4835 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4837 * tools/gst-launch.c: (main):
4838 more null protecting
4840 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4842 * gst/gst-i18n-lib.h:
4843 check for ENABLE_NLS, not GETTEXT_PACKAGE
4844 * gst/gstregistry.c: (gst_registry_add_plugin),
4845 (gst_registry_scan_path_level),
4846 (_gst_registry_remove_cache_plugins):
4847 protect possibly NULL strings
4848 * gst/parse/types.h:
4849 config.h already included before
4850 * tools/gst-inspect.c: (main):
4851 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4852 check for ENABLE_NLS, not GETTEXT_PACKAGE
4853 * tools/gst-launch.c: (main):
4854 check for ENABLE_NLS, not GETTEXT_PACKAGE
4856 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4859 if we don't have glib, fail before testing 2.8
4860 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4861 fix a leak, should fix plugins-base testsuite
4863 2005-10-11 Andy Wingo <wingo@pobox.com>
4865 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4866 take the mode we're going to as an arg. Go head and set the mode
4867 and flushing flags now, so that if the activate function starts a
4868 thread all the flags will be in the right state.
4869 (post_activate): Renamed also. Just handle making sure streaming
4870 finishes for the deactivation case, and setting the deactivated
4872 (gst_pad_set_active): Complain loudly if deactivation fails.
4873 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4874 (gst_pad_activate_push): Adapt to pre/post_activate changes,
4875 remove the terrible hack.
4877 2005-10-11 Wim Taymans <wim@fluendo.com>
4879 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4880 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4881 (gst_bin_recalc_state), (gst_bin_change_state_func),
4882 (gst_bin_dispose), (bin_bus_handler):
4884 Prepare to make current EOS message queue more generic.
4887 * gst/gstevent.c: (gst_event_new_newsegment),
4888 (gst_event_parse_newsegment):
4890 Rename base to stream_time.
4895 2005-10-11 Wim Taymans <wim@fluendo.com>
4897 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4898 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4899 (gst_bin_change_state_func), (bin_bus_handler):
4901 Work on proper clock selection.
4903 2005-10-11 Edward Hervey <edward@fluendo.com>
4905 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
4906 * libs/gst/controller/gstcontroller.h:
4907 Added GList* version of _remove_properties() in order to be able to wrap
4910 2005-10-11 Wim Taymans <wim@fluendo.com>
4912 * docs/design/part-states.txt:
4915 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4916 (gst_bin_change_state_func), (bin_bus_handler):
4917 Doc updates. Don't distribute the same clock over and over again.
4923 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4924 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4925 (gst_pad_send_event):
4927 Make probe emission threadsafe again.
4928 Register quarks and move _get_name() from utils.
4931 * gst/gstpipeline.c: (gst_pipeline_class_init),
4932 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4933 Only redistribute the clock of it changed.
4935 * gst/gstsystemclock.h:
4940 Moved the _flow_get_name() to GstPad.
4942 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4944 * check/gst-libs/gdp.c: (GST_START_TEST):
4945 * check/gst/gstcaps.c: (GST_START_TEST):
4946 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4947 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4948 (gst_dp_packet_from_caps):
4949 fix more valgrind warnings before turning up the heat
4951 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4953 * gst/parse/grammar.y:
4954 some cleanup before the hacking
4956 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4958 * gst/base/gstbasesrc.c: (gst_base_src_query):
4960 * gst/gstutils.c: (gst_guint64_to_gdouble),
4961 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4963 externalize, basesrc uses it
4964 obviously the implementation needs testing
4966 2005-10-10 Wim Taymans <wim@fluendo.com>
4968 * tests/sched/Makefile.am:
4969 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4970 (make_pipeline3), (make_pipeline4), (print_elem), (main):
4972 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4974 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4975 apparently converting from guint64 to double is not implemented
4978 2005-10-10 Wim Taymans <wim@fluendo.com>
4980 * check/Makefile.am:
4981 * check/generic/states.c: (GST_START_TEST):
4982 * check/gst/gstbin.c: (GST_START_TEST):
4983 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4984 * check/states/sinks.c: (GST_START_TEST):
4985 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4987 Check fixes, use API as stated in design docs, remove hacks.
4989 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4990 (gst_base_sink_change_state):
4991 Catch stopping our task while we're shutting down.
4993 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4994 (gst_bin_remove_func), (gst_bin_get_state_func),
4995 (gst_bin_recalc_state), (gst_bin_change_state_func),
4998 * gst/gstelement.c: (gst_element_init),
4999 (gst_element_get_state_func), (gst_element_abort_state),
5000 (gst_element_commit_state), (gst_element_lost_state),
5001 (gst_element_set_state), (gst_element_change_state),
5002 (gst_element_change_state_func):
5004 New state change algorithm (see #318116)
5006 * gst/gstpipeline.c: (gst_pipeline_class_init),
5007 (gst_pipeline_init), (gst_pipeline_set_property),
5008 (gst_pipeline_get_property), (do_pipeline_seek),
5009 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
5010 * gst/gstpipeline.h:
5011 Remove crude state change hacks.
5016 * tools/gst-launch.c: (main):
5017 Fixes for state change. Needs some more work to fully use the
5020 2005-10-10 Andy Wingo <wingo@pobox.com>
5022 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
5024 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
5025 this flag, but it's not even in GLib 2.6. Odd. Hack around the
5028 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
5030 * gst/gstiterator.c: (gst_iterator_new):
5031 Fix my previous commit: GTypes passed to gst_iterator_new()
5032 can be fundamental types.
5034 2005-10-10 Wim Taymans <wim@fluendo.com>
5036 * gst/gstelement.c: (gst_element_iterate_pad_list),
5037 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
5038 (gst_element_iterate_sink_pads):
5039 Use src/sink pads lists for the respective iterators instead
5042 2005-10-10 Andy Wingo <wingo@pobox.com>
5044 Merged in popt removal + GOption addition patch from Ronald, bug
5047 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
5048 GstElement macros around, remove popt-related symbols, add goption
5051 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
5053 * docs/gst/Makefile.am:
5054 * docs/libs/Makefile.am: No POPT_CFLAGS.
5056 * examples/manual/Makefile.am:
5057 * docs/manual/basics-init.xml: Doc updates with an example.
5059 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5060 (gst_init), (parse_one_option), (parse_goption_arg):
5061 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
5062 bit of hand merging and debugging to get the GOption stuff working
5065 * tests/Makefile.am:
5066 * tools/Makefile.am:
5067 * tools/gst-inspect.c: (main):
5068 * tools/gst-launch.c: (main):
5069 * tools/gst-run.c: (main):
5070 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
5072 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
5074 * gst/gstiterator.c: (gst_iterator_new):
5075 Add assertions to make sure passed GType is likely to really
5076 be a GType (as the compiler won't catch it if the size and
5077 GType arguments get mixed up, see #318447).
5079 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
5081 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5083 * gst/gstbin.c: (gst_bin_iterate_sorted):
5084 Pass GType and size arguments to gst_iterator_new() in the right
5085 order (maybe we should make _new() take the GType as first argument
5086 just like _new_list()?) (#318447).
5089 2005-10-10 Wim Taymans <wim@fluendo.com>
5091 * gst/gstelement.c: (gst_element_finalize):
5092 And free the GStaticRecMutex too
5094 2005-10-10 Andy Wingo <wingo@pobox.com>
5096 * gst/gstelement.c (gst_element_init, gst_element_finalize):
5097 Allocate and free the mutex properly.
5099 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
5101 (GstElement): The state_lock is now recursive. Rebuild your
5102 plugins, suckers. Old macros adapted.
5104 * docs/gst/gstreamer-sections.txt: Doc updates.
5107 * gst/gstutils.c (g_static_rec_cond_timed_wait)
5108 (g_static_rec_cond_wait): Ported from state changes patch, while
5109 we wait on bug #317802 to be solved in a well-distributed GLib.
5111 * gst/gstelement.c (gst_element_change_state_func): Renamed from
5112 gst_element_change_state, variable name changes.
5113 (gst_element_change_state): Split out of gst_element_set_state in
5114 preparation for the state change merge. Doesn't pay attention to
5115 the 'transition' argument.
5116 (gst_element_set_state): Updates, hopefully purely cosmetic.
5117 (gst_element_sync_state_with_parent): MT-safety. Ported from the
5119 (gst_element_get_state_func): Renamed from get_state, cosmetic
5122 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
5124 * gst/elements/gstelements.c:
5125 * win32/GStreamer.vcproj:
5127 * win32/dirent.c: (_tseekdir):
5128 * win32/gst-inspect.vcproj:
5129 * win32/gst-launch.vcproj:
5130 * win32/gstconfig.h:
5131 * win32/gstelements.vcproj:
5132 * win32/gstenumtypes.c: (gst_object_flags_get_type):
5133 * win32/gstreamer.def:
5135 updates for the win32 build (patch from Sebastien Moutte)
5137 2005-10-10 Andy Wingo <wingo@pobox.com>
5139 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
5140 gst_bin_get_state, cleaned up (but no logic changes).
5141 (bin_element_is_sink): Comment updates.
5142 (sink_iterator_filter): Remove needless cast.
5143 (gst_bin_iterate_sinks): Doc update.
5144 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
5145 cleaned up (but no logic changes).
5147 * check/states/sinks.c (test_src_sink): Cleanups from the state
5149 (test_livesrc_sink): Sync on the state.
5151 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
5152 the state change patch.
5154 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
5157 * check/gst/gstbin.c: Merge in some style fixes and additional
5158 checks from Wim's state change patch.
5160 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
5162 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5163 (gst_type_find_helper):
5164 Check whether we have the requested data already in our list of
5165 cached buffers before pulling a new buffer; also make the buffer
5166 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
5168 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
5173 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5174 don't use long long, it's not portable. Replacing with
5175 gint64 seems to work; let's hope no skeletons fall out of the closet.
5177 2005-10-10 Andy Wingo <wingo@pobox.com>
5179 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
5181 2005-10-09 Stefan Kost <ensonic@users.sf.net>
5183 * docs/gst/gstreamer-sections.txt:
5188 * gst/gstmessage.c: (gst_message_parse_state_changed):
5191 more docs, fix compilation
5193 2005-10-09 Philippe Khalaf <burger@speedy.org>
5195 Fixed a few forgotten variables on previous commit
5197 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
5199 * gst/base/gsttypefindhelper.c: (helper_find_peek):
5200 Fix evil typefind crasher: getrange() might return a short
5201 buffer at the end of a file, but gst_type_find_peek() must
5202 either return the full data as requested or NULL, but
5203 never a short buffer.
5205 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
5207 * gst/gstmessage.c: (gst_message_new_state_changed),
5208 (gst_message_parse_state_changed):
5210 don't use "new", it's a C++ keyword
5212 2005-10-08 Wim Taymans <wim@fluendo.com>
5214 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
5215 * gst/gstelement.c: (gst_element_post_message):
5216 * gst/gstpipeline.c: (gst_pipeline_change_state):
5217 Small docs and debug updates.
5219 2005-10-08 Stefan Kost <ensonic@users.sf.net>
5221 * docs/gst/gstreamer-sections.txt:
5222 * gst/gstelementfactory.c:
5227 2005-10-08 Wim Taymans <wim@fluendo.com>
5229 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
5230 (gst_bin_dispose), (bin_bus_handler):
5231 Fix typos, add comments.
5232 Clear EOS list when going to PAUSED from any direction and do it
5233 in a threadsafe way.
5234 Get base time in a threadsafe way too.
5235 Fix confusing debug in the change_state function.
5236 Various other small cleanups.
5238 * gst/gstelement.c: (gst_element_post_message):
5239 Fix very verbose bus posting code.
5241 * gst/gstpipeline.c: (gst_pipeline_class_init),
5242 (gst_pipeline_set_property), (gst_pipeline_get_property),
5243 (gst_pipeline_change_state):
5244 Small ARG_ -> PROP_ cleanup
5246 2005-10-08 Wim Taymans <wim@fluendo.com>
5248 * gst/gstbin.c: (is_eos), (bin_bus_handler):
5249 Do a less CPU demanding EOS check because we can.
5251 2005-10-08 Wim Taymans <wim@fluendo.com>
5253 * libs/gst/dataprotocol/dataprotocol.c:
5254 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5255 (gst_dp_packet_from_event):
5256 * libs/gst/dataprotocol/dataprotocol.h:
5257 * libs/gst/dataprotocol/dp-private.h:
5258 It's about time we bump the version number.
5259 Since event types don't fit in the guint8 anymore describing
5260 the payload type, make payload type 16 bits wide.
5262 2005-10-08 Wim Taymans <wim@fluendo.com>
5264 * docs/design/part-TODO.txt:
5265 * docs/design/part-clocks.txt:
5266 * docs/design/part-events.txt:
5267 * docs/design/part-gstbin.txt:
5268 * docs/design/part-gstelement.txt:
5269 * docs/design/part-gstpipeline.txt:
5270 * docs/design/part-live-source.txt:
5271 * docs/design/part-messages.txt:
5272 * docs/design/part-overview.txt:
5273 * docs/design/part-states.txt:
5276 2005-10-08 Wim Taymans <wim@fluendo.com>
5280 Fix event quark registration.
5281 Add some space between events so we can insert them in the
5284 2005-10-08 Wim Taymans <wim@fluendo.com>
5286 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5287 (gst_base_sink_handle_buffer):
5294 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
5295 (gst_queue_set_property), (gst_queue_get_property):
5297 Remove old unused properties.
5299 2005-10-08 Stefan Kost <ensonic@users.sf.net>
5300 * docs/gst/gstreamer-sections.txt:
5303 * gst/gstminiobject.c:
5304 * gst/gstminiobject.h:
5308 lots of new docs and doc fixes
5310 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5312 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
5314 * gst/gstregistry.c: (gst_registry_lookup_locked),
5315 (gst_registry_scan_path_level):
5316 * gst/gstregistryxml.c: (load_plugin):
5317 Only ever load one plugin for a given plugin basename.
5318 This ensures correct overriding of GST_PLUGIN_PATH over
5319 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
5320 system installed plugins.
5322 2005-10-08 Wim Taymans <wim@fluendo.com>
5324 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5325 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
5326 Prepare for doing QOS.
5328 2005-10-08 Wim Taymans <wim@fluendo.com>
5330 * check/gst/gstbin.c: (GST_START_TEST):
5331 * check/pipelines/cleanup.c: (GST_START_TEST):
5332 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5333 Allow new clock message too.
5335 2005-10-08 Wim Taymans <wim@fluendo.com>
5337 * gst/gstmessage.c: (gst_message_new_error),
5338 (gst_message_new_warning), (gst_message_new_tag),
5339 (gst_message_new_state_changed), (gst_message_new_clock_provide),
5340 (gst_message_new_clock_lost), (gst_message_new_new_clock),
5341 (gst_message_new_segment_start), (gst_message_new_segment_done),
5342 (gst_message_parse_state_changed),
5343 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
5344 (gst_message_parse_new_clock):
5346 Also carry the clock in question.
5348 2005-10-08 Wim Taymans <wim@fluendo.com>
5350 * gst/gstmessage.c: (gst_message_new_custom),
5351 (gst_message_new_eos), (gst_message_new_error),
5352 (gst_message_new_warning), (gst_message_new_tag),
5353 (gst_message_new_state_changed), (gst_message_new_clock_provide),
5354 (gst_message_new_new_clock), (gst_message_new_segment_start),
5355 (gst_message_new_segment_done), (gst_message_parse_state_changed),
5356 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
5359 Added clock related messages.
5361 * gst/gstpipeline.c: (gst_pipeline_change_state):
5362 Post message when the clock changed.
5364 * tools/gst-launch.c: (event_loop):
5367 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
5369 * tools/gst-inspect.c: (print_element_properties_info):
5370 Can't pass NULL strings to g_print() on windows.
5372 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5375 * docs/gst/Makefile.am:
5376 * docs/gst/gstreamer-docs.sgml:
5377 * docs/gst/running.xml:
5378 * docs/version.entities.in:
5379 add a chapter on running GStreamer.
5380 document GST_DEBUG and GST_PLUGIN* env vars
5382 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5387 remove PLUGINS_BUILDDIR stuff
5388 * gst/gst.c: (init_post):
5389 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
5391 remove, it was condescending and not needed
5393 2005-10-08 Wim Taymans <wim@fluendo.com>
5395 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5396 (gst_base_sink_handle_object), (gst_base_sink_event),
5397 (gst_base_sink_wait), (gst_base_sink_handle_event),
5398 (gst_base_sink_change_state):
5399 * gst/base/gstbasesink.h:
5400 Repost EOS message while going to PLAYING if still EOS.
5401 Make sure that when receiving a FLUSH_START we don't attempt
5402 to sync on the clock anymore.
5404 2005-10-08 Wim Taymans <wim@fluendo.com>
5406 * tools/gst-launch.c: (event_loop):
5407 Better message printout.
5409 2005-10-08 Wim Taymans <wim@fluendo.com>
5411 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
5412 (gst_bin_child_proxy_get_children_count):
5413 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5414 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
5415 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
5416 (gst_child_proxy_set_valist):
5417 * gst/parse/grammar.y:
5418 Make ChildProxy threadsafe and fix mem leaks.
5420 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5422 * gst/gst.c: (init_post):
5423 debug the GST_PLUGIN_ env vars
5425 2005-10-08 Wim Taymans <wim@fluendo.com>
5427 * check/gst/gstbin.c: (GST_START_TEST):
5428 * check/gst/gstmessage.c: (GST_START_TEST):
5429 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5430 * gst/gstelement.c: (gst_element_commit_state),
5431 (gst_element_lost_state):
5432 * gst/gstmessage.c: (gst_message_new_state_changed),
5433 (gst_message_parse_state_changed):
5435 * tools/gst-launch.c: (event_loop):
5436 Added extra field to STATE_CHANGE message with the pending
5437 state, which will be different from the new state soon.
5439 2005-10-08 Wim Taymans <wim@fluendo.com>
5441 * gst/gstbus.c: (gst_bus_pop):
5443 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
5444 Small cleanups and doc updates.
5446 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5448 * gst/gst.c: (init_pre):
5449 * gst/gstbin.c: (gst_bin_add_func):
5450 log distributing clocks and base time
5451 * gst/gstregistry.c: (gst_registry_add_plugin),
5452 (gst_registry_scan_path_level), (gst_registry_scan_path):
5453 clean up the debugging output a little
5454 * gst/gstutils.c: (gst_element_state_get_name):
5455 warn about a memleak (I've actually seen this be used, though
5456 it was probably a bug)
5458 2005-10-07 Wim Taymans <wim@fluendo.com>
5460 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5461 (gst_base_src_init), (gst_base_src_default_newsegment),
5462 (gst_base_src_newsegment), (gst_base_src_do_seek),
5463 (gst_base_src_loop), (gst_base_src_start):
5464 * gst/base/gstbasesrc.h:
5465 Make the newsegment event customizable by subclasses.
5467 2005-10-07 Wim Taymans <wim@fluendo.com>
5469 * gst/gstevent.c: (gst_event_new_buffersize),
5470 (gst_event_parse_buffersize):
5472 New event for future idea.
5474 2005-10-07 Andy Wingo <wingo@pobox.com>
5476 * gst/gstelement.c (gst_element_post_message): Doc update.
5478 * docs/gst/gstreamer-sections.txt: Update.
5480 * gst/gstmessage.c (gst_message_new_application): Made into a
5481 function like honest API calls.
5482 (gst_message_new_element): New message type.
5484 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
5486 * check/elements/fakesrc.c (test_no_preroll): New check, checks
5487 that setting a live fakesrc to PAUSED returns NO_PREROLL both
5490 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
5491 NO_PREROLL from gst_element_change_state to fall through.
5493 2005-10-07 Wim Taymans <wim@fluendo.com>
5495 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
5496 (gst_ghost_pad_do_activate_push):
5497 Activating a ghostpad with no internal pad in push mode
5500 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
5503 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
5504 Fixes compilation on Windows.
5506 2005-10-07 Michael Smith <msmith@fluendo.com>
5508 * tools/gst-inspect.c:
5509 Print out feature and plugin count at the end when printing out
5512 2005-10-04 Michael Smith <msmith@fluendo.com>
5514 * gst/gsterror.c: (_gst_stream_errors_init):
5515 Add another error string used in a few existing plugins.
5518 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5519 * tools/gst-inspect.c: (print_element_info):
5520 When a feature disappears from a plugin (and the feature exists in
5521 the cached registry file), things went horribly wrong. This isn't a
5522 complete fix, we should actually be removing the 'missing' features
5523 from the features list when we load the actual plugin. That's not
5526 2005-10-04 Johan Dahlin <johan@gnome.org>
5528 * check/gst/gstiterator.c: (GST_START_TEST):
5529 * gst/gstbin.c: (gst_bin_iterate_elements),
5530 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5531 * gst/gstelement.c: (gst_element_iterate_pads):
5532 * gst/gstformat.c: (gst_format_iterate_definitions):
5533 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5534 (gst_iterator_new_list), (gst_iterator_filter):
5535 * gst/gstiterator.h:
5536 * gst/gstquery.c: (gst_query_type_iterate_definitions):
5537 Add a GType to GstIterator, update callsites and tests.
5539 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5541 * gst/gstpad.c: (gst_pad_event_default_dispatch):
5542 give events a chance to be handled by event probes when the pad
5545 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5547 * gst/gstevent.c: (gst_event_type_get_name),
5548 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5550 add string representations for event types
5552 2005-10-06 Wim Taymans <wim@fluendo.com>
5554 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5555 Don't use NULL pointers.
5557 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5559 * gst/gst_private.h:
5563 * gst/gstpluginfeature.c:
5564 widen the debug category in output to fit the biggest one we have
5565 add a bus category and use it
5566 play with the colors
5567 fix up some categories
5569 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5571 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5572 add push activation of sink ghost pads.
5573 Andye, please verify
5575 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5577 * gst/gstutils.c: (gst_element_link_pads):
5578 fix a bug in the case where neither element has a pad
5579 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5580 add a test for that case
5582 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5584 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5585 emit have-data before checking for peers. This allows
5586 for probe handlers to connect elements. This helps autopluggers.
5587 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5589 add six checks, linked/unlinked with no/true/false probe
5591 2005-10-04 Wim Taymans <wim@fluendo.com>
5593 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5594 (gst_fake_sink_event), (gst_fake_sink_preroll),
5595 (gst_fake_sink_render), (gst_fake_sink_change_state):
5596 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5597 (gst_fake_src_get_property), (gst_fake_src_create),
5598 (gst_fake_src_stop):
5599 * gst/elements/gstidentity.c: (gst_identity_stop):
5600 Protect last_message with lock.
5602 2005-10-04 Edward Hervey <edward@fluendo.com>
5605 Added precision in the comments for GST_FORMAT_DEFAULT
5607 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
5609 * tools/gst-launch.c: (main):
5610 Don't try to run erroneous pipelines.
5612 2005-10-04 Julien MOUTTE <julien@moutte.net>
5614 * gst/gstbus.c: We don't need this header.
5616 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5621 === release 0.9.3 ===
5623 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5627 Releasing 0.9.3, "Unregistered"
5629 2005-10-03 Andy Wingo <wingo@pobox.com>
5631 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5632 whereby calling a pad's activatepush() function can start a thread
5633 that starts to push or pull before the pad gets the FLUSHING flag
5634 unset. Hack around it by holding the stream lock until the flag is
5635 set. Need to replace this with a proper solution. Together with
5636 the ghost pad fixes, this fixes mp3 playing/tagreading.
5638 * docs/design/part-gstghostpad.txt: Add a note about activation of
5639 proxy pads outside of ghost pads.
5641 * gst/gstghostpad.c: Implement the ghost pad activation design.
5643 2005-10-02 Andy Wingo <wingo@pobox.com>
5645 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5646 It is volatile, after all.
5648 * docs/design/part-gstghostpad.txt: Flesh out activation with
5651 * gst/base/gstbasesrc.c (gst_base_src_init): Use
5654 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
5657 Fix (unused) AM_CONDITIONAL tests.
5659 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
5661 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5663 * gst/gstutils.c: (gst_pad_query_convert):
5664 Add assertion that makes sure src_val is >=0, just like
5665 gst_query_new_convert() has. (#315895)
5667 2005-09-30 Edward Hervey <edward@fluendo.com>
5669 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5670 Let's not iterate pads we're not interested in, it avoids getting
5671 sky-high refcounts on sinkpad.
5673 2005-09-30 Wim Taymans <wim@fluendo.com>
5675 * gst/gstelement.c: (gst_element_set_state),
5676 (gst_element_change_state):
5677 Small tweak, element in ASYNC remains ASYNC.
5679 2005-09-30 Wim Taymans <wim@fluendo.com>
5681 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5682 Only error is an error.
5684 * gst/gstbin.c: (gst_bin_change_state):
5687 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5688 Also call pad_block in pad alloc.
5690 * gst/gstutils.c: (gst_flow_get_name):
5693 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5695 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5696 (gst_base_src_get_range):
5697 Fix documentation typos. Add some more debug info.
5699 2005-09-29 David Schleef <ds@schleef.org>
5701 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5702 more end-user friendly.
5703 * tools/gst-inspect.c: (main): Check if command-line argument is
5704 a file and attempt to load that file as a plugin.
5706 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5708 * check/gst/gstbin.c:
5709 * check/states/sinks.c:
5710 fix tests for the new warning
5711 * check/gst/gstpipeline.c:
5712 add a test for pipeline and bus interaction
5714 elements should be NULL if they get disposed; add a warning if not
5716 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5719 for 2.6 refcounting, make debug log more correct by printing
5720 the actual refcounts at the time of swap (Wim)
5722 2005-09-29 Andy Wingo <wingo@pobox.com>
5724 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5725 removes signal watches previously added via
5726 gst_bus_add_signal_watch.
5727 (gst_bus_add_signal_watch): Don't return the source id, just store
5728 it on the bus if there wasn't an id already.
5730 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5731 add_signal_watch and remove_signal_watch.
5733 2005-09-29 Edward Hervey <edward@fluendo.com>
5735 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5736 Better if we actually iterate the list :)
5738 2005-09-29 Wim Taymans <wim@fluendo.com>
5740 * check/gst/gstbin.c: (GST_START_TEST):
5741 Change for new bus API.
5743 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5744 (send_messages), (GST_START_TEST), (gstbus_suite):
5745 Change for new bus signal API.
5747 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5748 (gst_bus_source_prepare), (gst_bus_source_check),
5749 (gst_bus_create_watch), (gst_bus_add_watch_full),
5750 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5751 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5753 Remove support for multiple GSources operating on different
5754 message types as it is too complex and unneeded when using
5756 Added support for receiving signals from the bus.
5758 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5760 * docs/libs/tmpl/gstdataprotocol.sgml:
5761 * docs/manual/advanced-dataaccess.xml:
5762 * gst/elements/gstcapsfilter.c:
5764 rename filter-caps to caps property
5766 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5768 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5769 More robust fraction string parsing.
5771 * docs/pwg/appendix-porting.xml:
5772 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5774 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5776 * gst/gstcaps.c: (gst_caps_do_simplify):
5777 Thou shalt not free a structure and then continue using it
5778 in the next loop iteration.
5780 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5782 Add test case for caps simplification.
5784 2005-09-29 Wim Taymans <wim@fluendo.com>
5786 * check/gst/gstbin.c: (GST_START_TEST):
5789 2005-09-29 Wim Taymans <wim@fluendo.com>
5791 * check/gst/gstbin.c: (GST_START_TEST):
5794 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5795 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5796 (find_element), (gst_bin_sort_iterator_next),
5797 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5798 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5799 (gst_bin_change_state), (gst_bin_dispose):
5800 A bin does not have a bus, it gets the bus from the parent.
5802 * gst/gstelement.c: (gst_element_requires_clock),
5803 (gst_element_provides_clock), (gst_element_is_indexable),
5804 (gst_element_is_locked_state), (gst_element_change_state),
5805 (gst_element_set_bus_func):
5808 * gst/gstpipeline.c: (gst_pipeline_class_init),
5809 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5810 The pipeline provides a bus.
5812 2005-09-28 Johan Dahlin <johan@gnome.org>
5814 * gst/gstmessage.c (gst_message_parse_state_changed): Use
5815 gst_structure_get_enum instead of gst_structure_get_int
5817 * gst/gststructure.c (gst_structure_get_enum): Impl.
5819 * gst/gststructure.h (gst_structure_get_enum): Add
5821 * docs/gst/gstreamer-sections.txt: Ditto
5823 * gst/gstmessage.c (gst_message_new_state_changed): Use
5824 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5825 which does introspection.
5826 Reviewed by Christian Schaller
5828 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5830 * gst/gstinfo.c: (gst_debug_log_default):
5831 don't do dummy g_strdup()s
5832 * libs/gst/controller/gstcontroller.c:
5833 (on_object_controlled_property_changed),
5834 (gst_controlled_property_new), (gst_controller_new_valist),
5835 (gst_controller_new_list),
5836 (gst_controller_remove_properties_valist), (gst_controller_set),
5837 (gst_controller_get), (gst_controller_sync_values),
5838 (gst_controller_get_value_array), (_gst_controller_class_init),
5839 (gst_controller_get_type):
5840 * libs/gst/controller/gstcontroller.h:
5841 * libs/gst/controller/gstinterpolation.c:
5842 (gst_controlled_property_find_timed_value_node):
5843 convert // to /**/ comments
5845 2005-09-28 Wim Taymans <wim@fluendo.com>
5847 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5848 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5849 (gst_bus_sync_signal_handler):
5851 Added async-message and sync-message signals to the bus.
5852 Added helper BusFunc to emit signals for all posted messages.
5854 * gst/gstmessage.c: (gst_message_type_get_name),
5855 (gst_message_type_to_quark), (gst_message_get_type):
5857 Register quarks for message names.
5859 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5861 * docs/libs/gstreamer-libs-sections.txt:
5862 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5863 (gst_controller_new_list):
5864 * libs/gst/controller/gstcontroller.h:
5865 added another constructor for language bindings
5867 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
5869 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5873 * gst/gstinfo.c: (_gst_debug_init):
5874 slightly more readable color for refcount debugging
5876 2005-09-28 Wim Taymans <wim@fluendo.com>
5878 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5879 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5880 (find_element), (gst_bin_sort_iterator_next),
5881 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5882 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5883 (gst_bin_change_state), (gst_bin_dispose):
5884 Small doc fixes. get_clock -> provide_clock.
5886 * gst/gstelement.c: (gst_element_class_init),
5887 (gst_element_provides_clock), (gst_element_provide_clock),
5888 (gst_element_get_clock), (gst_element_commit_state),
5889 (gst_element_lost_state):
5891 Make get/set_clock() symetric. Add provide_clock vmethod since
5892 that is actually what this function does.
5894 * gst/gstpipeline.c: (gst_pipeline_class_init),
5895 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5896 (gst_pipeline_get_clock):
5897 get_clock -> provide_clock.
5899 2005-09-28 Andy Wingo <wingo@pobox.com>
5901 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5902 lieu of real docs...
5904 * gst/elements/gstfdsrc.c: Cleaned up a bit.
5906 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
5908 * gst/elements/gstcapsfilter.c:
5909 * gst/elements/gstfakesink.c:
5910 * gst/elements/gstfakesrc.c:
5911 * gst/elements/gstfdsink.c:
5912 * gst/elements/gstfdsrc.c:
5913 * gst/elements/gstfilesink.c:
5914 * gst/elements/gstfilesrc.c:
5915 * gst/elements/gstidentity.c:
5916 * gst/elements/gsttee.c:
5917 * gst/elements/gsttypefindelement.c:
5918 Make element details static.
5920 2005-09-28 Wim Taymans <wim@fluendo.com>
5922 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5923 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5924 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5925 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5926 (gst_bin_change_state), (gst_bin_dispose):
5927 Some documentation updates.
5928 Clean up dispose handlers.
5930 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5931 * gst/gstpad.c: (gst_pad_dispose):
5932 Clean up dispose handler.
5934 * gst/gstpipeline.c: (gst_pipeline_change_state):
5935 Removed spurious UNLOCK.
5937 2005-09-27 Stefan Kost <ensonic@users.sf.net>
5939 * docs/gst/gstreamer-sections.txt:
5940 * gst/base/gstbasesrc.h:
5945 * gst/gstpipeline.c:
5946 * gst/gstpipeline.h:
5949 added two new functions to the docs
5950 documents all undocumented GstXXXFlags
5951 completed some incomplete docs
5953 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
5955 * gst/gstbin.c: (gst_bin_dispose):
5956 * gst/gstelement.c: (gst_element_dispose):
5957 remove now useless and leaky resurrection code in dispose
5958 * gst/base/gstbasesrc.c: (gst_base_src_init):
5959 * gst/gstelementfactory.c: (gst_element_factory_create):
5960 * gst/gstobject.c: (gst_object_set_parent):
5963 2005-09-27 Wim Taymans <wim@fluendo.com>
5965 * docs/design/part-TODO.txt:
5968 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5969 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5970 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5971 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5972 (gst_bin_change_state):
5974 Remove element variable, we keep element info in the iterator now.
5976 2005-09-27 Andy Wingo <wingo@pobox.com>
5978 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5981 2005-09-27 Wim Taymans <wim@fluendo.com>
5983 * check/gst/gstbin.c: (GST_START_TEST):
5984 Enable check that works now.
5986 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5987 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5988 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5989 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5990 (gst_bin_change_state):
5992 Redid the state change algorithm using a topological sort algo.
5993 Handles all cases correctly.
5994 Exposed iterator for state change order.
5997 Temp storage for state changes. Need to get rid of this soon.
5999 2005-09-27 Wim Taymans <wim@fluendo.com>
6001 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
6002 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
6003 (link_fold_func), (gst_pad_proxy_setcaps):
6004 Leak fixes, the fold functions need to unref the passed object and
6005 _get_parent_*() returns ref to parent.
6007 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
6009 * check/gst/gstbuffer.c: (test_make_writable):
6010 Plug leak in test case and fix 'make check-valgrind'
6012 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
6014 * gst/gstbuffer.c: (gst_subbuffer_init):
6015 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
6016 works correctly in all circumstances (we could have just copied
6017 the parent buffer's readonly flag, but conceptually it seems
6018 cleaner to mark all subbuffers as read-only). (based on patch
6019 by Alessandro Decina, #314710).
6021 * check/gst/gstbuffer.c: (create_read_only_buffer),
6022 (test_make_writable), (test_subbuffer_make_writable),
6024 Add some tests for gst_buffer_make_writable().
6026 2005-09-27 Wim Taymans <wim@fluendo.com>
6028 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
6029 use gst_object_has_ancestor().
6031 * gst/gstobject.c: (gst_object_has_ancestor):
6033 gst_object_has_ancestor() copied from gstbin.c as it is a
6036 * tests/instantiate/create.c: (create_all_elements):
6037 * tests/lat.c: (handoff_src), (handoff_sink):
6038 * tests/sched/runxml.c: (main):
6039 * tests/seeking/seeking1.c: (main):
6040 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
6042 Fix compilation of some tests.
6044 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
6047 Remove comment. GST_TYPE_G_ERROR is here to stay,
6048 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
6051 2005-09-26 Wim Taymans <wim@fluendo.com>
6053 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6054 Added check that shows error in state change order.
6056 2005-09-26 Wim Taymans <wim@fluendo.com>
6058 * gst/gstbin.c: (gst_bin_change_state):
6059 Make state change function use 3 queues again, we were
6060 adding elements in the wrong order.
6062 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
6065 * gst/gstpad.c: (gst_pad_dispose):
6066 Added some debug info first.
6068 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
6070 * docs/design/draft-push-pull.txt:
6071 * docs/design/part-events.txt:
6072 * docs/design/part-overview.txt:
6073 * docs/design/part-scheduling.txt:
6074 Replace all _pull_region() with _pull_range()
6076 2005-09-26 Andy Wingo <wingo@pobox.com>
6078 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
6080 * check/gst-libs/controller.c: Update for controller api change.
6083 * tests/Makefile.am:
6084 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
6085 over by GLib bug 118439.
6087 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
6088 routines to a function.
6090 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
6092 * libs/gst/controller/gsthelper.c:
6093 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
6094 (gst_object_sync_values): Renamed from sink_values. Ugh.
6096 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
6098 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
6099 Renamed from controller_key, as it is exported.
6101 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
6103 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
6108 * gst/gstpadtemplate.h:
6111 * gst/gstqueryutils.c:
6112 * gst/gstqueryutils.h:
6113 remove queryutils headers after moving the two used functions
6114 to gstquery. also fixes build problem for gstsiddec
6116 2005-09-26 Michael Smith <msmith@fluendo.com>
6118 * tools/gst-launch.1.in:
6119 Correct documentation in manpage of debug syntax
6121 2005-09-26 Wim Taymans <wim@fluendo.com>
6123 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6124 (gst_base_src_is_seekable), (gst_base_src_change_state):
6125 Some more debugging info.
6127 2005-09-25 Stefan Kost <ensonic@users.sf.net>
6129 * docs/gst/gstreamer-sections.txt:
6130 * gst/base/gstbasetransform.h:
6134 2005-09-25 Stefan Kost <ensonic@users.sf.net>
6136 * docs/gst/.cvsignore:
6137 * docs/gst/tmpl/.cvsignore:
6138 * docs/gst/tmpl/gstpipeline.sgml:
6139 * docs/gst/tmpl/gstplugin.sgml:
6140 * gst/gstpipeline.c:
6143 inlined the last two docs files
6144 removed the tmpl directory from cvs (no more conflicts here!)
6146 2005-09-25 Stefan Kost <ensonic@users.sf.net>
6148 * docs/gst/gstreamer-sections.txt:
6149 * docs/gst/tmpl/.cvsignore:
6150 * docs/gst/tmpl/gstpad.sgml:
6151 * docs/gst/tmpl/gstpadtemplate.sgml:
6153 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
6154 (gst_pad_finalize), (gst_pad_set_pad_template):
6156 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
6157 (gst_pad_template_class_init), (gst_pad_template_init),
6158 (gst_pad_template_dispose), (name_is_valid),
6159 (gst_static_pad_template_get), (gst_pad_template_new),
6160 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
6161 (gst_pad_template_pad_created):
6162 * gst/gstpadtemplate.h:
6163 inlined two more docs
6164 factored gstpadtemplate out of gstpad
6166 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
6168 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
6169 (test_children_state_change_order_semi_sink):
6170 Fix test case: we can't rely on a fixed state change order when
6171 going from READY => PAUSED because the sink might commit its
6172 new state first when the first buffer created by the source
6173 reaches the sink before the source has finished its change state.
6174 (Test case still fails at times, see #316856, comment 5 onwards)
6176 2005-09-24 Wim Taymans <wim@fluendo.com>
6178 * docs/design/part-events.txt:
6179 * docs/design/part-gstbus.txt:
6180 * docs/design/part-gstpipeline.txt:
6181 * docs/design/part-messages.txt:
6182 * docs/design/part-overview.txt:
6183 * docs/design/part-segments.txt:
6190 * gst/gstiterator.c:
6191 Various documentation updates.
6193 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
6196 Well, that's embarassing. Luckily we weren't using
6197 GST_CLOCK_DIFF anywhere.
6199 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
6201 * common/gtk-doc.mak:
6202 don't fail on building XML, FC4 slave shows a bunch of doc
6203 missing bits that I don't get
6205 * gst/gstpipeline.c:
6206 * gst/gststructure.c:
6209 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
6211 * docs/design/part-gstbin.txt:
6212 * docs/design/part-gstbus.txt:
6214 Add blurb about how the bus goes into flushing mode and
6215 drops all messages when its bin goes from READY into NULL
6218 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
6220 * docs/gst/gstreamer-sections.txt:
6221 * gst/gststructure.c: (gst_structure_get_clock_time):
6222 * gst/gststructure.h:
6223 add a method to get a GstClockTime out of a structure
6225 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
6227 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
6228 (test_children_state_change_order_semi_sink), (gst_bin_suite):
6229 Added test to check state change order in bins (can still be made
6230 to fail here under heavy disk load; bails out with 'Push on pad
6231 fakesink:sink0, but it was not activated in push mode').
6233 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
6234 Fix state change order when there is only a semi sink (#316856)
6236 * gst/gstbus.c: (gst_bus_class_init):
6237 Use _class_peek_parent(), not _class_ref(); fix docs to say
6238 'default main context' instead of 'mainloop' where that is
6241 * gst/gstelement.c: (gst_element_commit_state),
6242 (gst_element_set_state):
6243 Fix typos in debug messages
6245 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
6248 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
6249 * gst/gstpluginfeature.c:
6252 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6253 change an assert into an error until it gets fixed properly
6255 2005-09-23 Stefan Kost <ensonic@users.sf.net>
6257 * docs/gst/gstreamer-sections.txt:
6258 * docs/gst/tmpl/.cvsignore:
6259 * docs/gst/tmpl/gstelement.sgml:
6260 * docs/gst/tmpl/gstinfo.sgml:
6261 * docs/gst/tmpl/gstobject.sgml:
6266 * gst/gstobject.c: (gst_object_class_init):
6268 inlined 3 more biiiig doc files and added some missing docs on the fly
6270 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
6272 * check/gst/.cvsignore:
6273 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
6274 * gst/gstregistryxml.c: (load_plugin),
6275 (gst_registry_xml_save_plugin):
6276 put back source in registry. add checks for find_plugin.
6277 * testsuite/states/bin.c: (assert_state), (empty_bin),
6278 (test_adding_one_element), (main):
6279 * testsuite/states/locked.c: (main):
6280 some compile/run fixes
6282 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6284 * check/gst/gstvalue.c: (GST_START_TEST):
6285 fix leaks in the test itself
6287 2005-09-22 Wim Taymans <wim@fluendo.com>
6289 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6290 (gst_base_sink_send_event), (gst_base_sink_peer_query),
6291 (gst_base_sink_query):
6292 Prepare for more accurate position reporting and query
6295 * gst/gstelement.c: (gst_element_send_event),
6296 (gst_element_set_state):
6299 2005-09-22 Wim Taymans <wim@fluendo.com>
6301 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
6302 (gst_query_parse_segment):
6305 Add segment query for future use.
6307 2005-09-22 Wim Taymans <wim@fluendo.com>
6309 * gst/gstbin.c: (gst_bin_add_func):
6310 Some more debug info.
6312 * gst/gstelement.c: (gst_element_send_event):
6316 Don't know how flags got broken.
6321 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
6323 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
6324 Add simplistic test suite for GST_TYPE_DATE serialisation and
6327 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
6329 * docs/gst/gstreamer-sections.txt:
6330 * gst/gststructure.c: (gst_structure_set_valist),
6331 (gst_structure_get_date):
6332 * gst/gststructure.h:
6333 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
6334 (gst_date_copy), (gst_value_compare_date),
6335 (gst_value_serialize_date), (gst_value_deserialize_date),
6336 (gst_value_transform_date_string),
6337 (gst_value_transform_string_date), (_gst_value_initialize):
6339 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
6340 bunch of utility functions along with a hack that checks that
6341 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
6342 is required. Part of the grand scheme in #170777.
6344 2005-09-22 Andy Wingo <wingo@pobox.com>
6346 * gst/gstconfig.h.in: Psych out gtk-doc.
6348 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
6350 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
6352 * tools/gst-inspect.c (print_element_list): Plug some
6353 inconsequential leaks.
6355 * gst/gstregistry.c (gst_registry_get_default): Doc.
6357 * check/gst/gstplugin.c:
6358 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
6359 * gst/gstelementfactory.c (gst_element_factory_create):
6360 * gst/gstindexfactory.c (gst_index_factory_create): Update for
6363 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
6364 (gst_plugin_feature_load): Doc, don't eat refs.
6366 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
6367 (gst_plugin_list_free): Doc.
6368 (gst_plugin_load_file): Doc updates.
6370 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
6371 accessors returning refcounted objects, return a ref.
6373 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
6374 accessor for caps. IDEMPOTENCE. Oh yes.
6376 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
6378 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6380 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6381 (_gst_debug_register_funcptr):
6382 Add mutex to serialise access to the hash table with
6383 the function pointer => function name string mapping;
6384 make that hash table static scope (#316809).
6386 * gst/registries/.cvsignore:
6387 Remove left-over file.
6389 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
6391 * docs/pwg/appendix-porting.xml:
6392 And something about newsegment events and caps-on-buffers to
6393 the porting guide (feel free to improve).
6395 2005-09-21 Andy Wingo <wingo@pobox.com>
6397 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
6398 data and event probes on the same pad.
6399 (test_buffer_probe_once): Test that removing probes from within
6400 the probe functions works.
6402 2005-09-21 Andy Wingo <wingo@pobox.com>
6404 * check/gst/gstutils.c: New file.
6405 (test_buffer_probe_n_times): A simple buffer probe test. More to
6408 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
6409 have-data::buffer, not have-data.
6410 (gst_pad_add_event_probe): Likewise for have-data::event.
6411 (gst_pad_add_data_probe): More docs. The part about 'resolving the
6412 peer' isn't quite right yet though.
6413 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
6414 (gst_pad_remove_data_probe): Change to take the guint handler_id
6415 as their arg, not the function+data, which is more glib-like.
6417 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
6418 the signal emission to indicate if the data is a buffer or an
6420 (gst_pad_get_type): Initialize buffer and event quarks.
6421 (gst_pad_class_init): have-data is now a detailed signal, yes it
6424 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
6426 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6427 * gst/gstutils.c: (gst_util_set_value_from_string),
6428 (gst_util_set_object_arg):
6429 Don't put functional code in g_return_if_fail() or
6430 g_return_val_if_fail() statements, otherwise things will
6431 break when G_DISABLE_CHECKS is defined during compilation.
6433 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6435 * docs/gst/tmpl/.cvsignore:
6436 * docs/gst/tmpl/gstvalue.sgml:
6439 inlied another one and added some obvious docs
6441 2005-09-21 Wim Taymans <wim@fluendo.com>
6443 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6444 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
6445 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
6446 (gst_fdsrc_get_property), (gst_fdsrc_create):
6447 * gst/elements/gstfdsrc.h:
6448 Properly implement fdsrc. Removed signal and timeout,
6449 better implemented somewhere else.
6451 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6453 * docs/gst/tmpl/.cvsignore:
6454 * docs/gst/tmpl/gstimplementsinterface.sgml:
6455 * gst/gstinterface.c:
6458 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6460 * docs/gst/gstreamer-sections.txt:
6461 * docs/gst/tmpl/.cvsignore:
6462 * docs/gst/tmpl/gstenumtypes.sgml:
6463 remove obsolete doc file
6465 2005-09-21 David Schleef <ds@schleef.org>
6467 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
6468 little beer, fix a little leak.
6470 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6472 * docs/gst/gstreamer-docs.sgml:
6473 * docs/gst/gstreamer-sections.txt:
6474 * docs/gst/tmpl/.cvsignore:
6479 * gst/gstindex.c: (gst_index_class_init):
6481 * gst/gstindexfactory.c: (gst_index_factory_get_type),
6482 (gst_index_factory_class_init), (gst_index_factory_init),
6483 (gst_index_factory_finalize), (gst_index_factory_new),
6484 (gst_index_factory_destroy), (gst_index_factory_find),
6485 (gst_index_factory_create), (gst_index_factory_make):
6486 * gst/gstindexfactory.h:
6487 * gst/gstpluginfeature.c:
6488 * gst/gstpluginfeature.h:
6489 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6490 more docs inlined, splitted gstindex.{c,h}
6492 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6494 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6497 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6499 * gst/elements/gstfilesink.c: (gst_file_sink_init):
6500 Set sync to FALSE by default.
6502 2005-09-20 Wim Taymans <wim@fluendo.com>
6504 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6505 (gst_base_sink_init):
6506 Make sync property settable from subclass.
6508 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6509 (gst_fake_sink_change_state):
6510 Set sync to FALSE by default.
6512 2005-09-20 Wim Taymans <wim@fluendo.com>
6514 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6515 * tools/gst-launch.c: (main):
6516 The timeout handler should have lower priority than the source
6517 so we don't timeout before popping a message with 0 timeout.
6518 Dump error messages after failed state change.
6520 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6522 * tools/gst-inspect.c: (print_element_properties_info):
6525 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6527 * check/gst/gstevent.c:
6528 * gst/elements/gstfakesink.c:
6529 * gst/elements/gstfakesink.h:
6530 remove the sync property from fakesink.
6531 has the side effect of setting sync TRUE
6532 for fakesink, which is a change. Anyone who knows how
6533 to fix this nicely in a GObject-y way, feel free.
6535 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6537 * docs/gst/gstreamer-docs.sgml:
6538 remove probe refsection
6540 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6542 * check/Makefile.am:
6543 disable valgrinding the controller test again
6544 * docs/gst/gstreamer-sections.txt:
6545 update for api-changes
6547 2005-09-20 Wim Taymans <wim@fluendo.com>
6549 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6550 (gst_base_sink_set_property), (gst_base_sink_get_property),
6551 (gst_base_sink_do_sync):
6552 * gst/base/gstbasesink.h:
6553 Added sync property to basesink to disable clock sync.
6555 2005-09-20 Andy Wingo <wingo@pobox.com>
6557 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6558 eating the caller's refcount.
6560 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
6561 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6564 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6565 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6566 of GLib 2.8 public, so we can know which refcount to check in
6569 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6570 (gst_object_init): Only set the gst refcount if we're going ahead
6571 with the refcount hack.
6573 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6575 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6576 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6577 more leaks plumbed, added more debug-logging
6581 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6584 remove include of gstmemchunk.h
6586 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6588 * gst/gstclock.c: (_gst_clock_id_free):
6589 Commit from the Political Party For More Atomic CVS Commits,
6590 so that people don't waste too much of their day fishing
6591 out obvious leaks out of massive commits.
6592 Oh, and fix a pretty damn obvious leak in the memchunk
6595 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6597 * check/Makefile.am:
6598 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6599 plug mem-leak, re-add to valgrindable tests
6601 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6604 unbreak the build for those who have chronic arthritis
6605 and typing "make check" is just too taxing on the hands
6607 2005-09-20 Andy Wingo <wingo@pobox.com>
6609 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6610 really want it out, you should fix plugins at the same time.
6612 2005-09-19 Stefan Kost <ensonic@users.sf.net>
6615 * docs/gst/gstreamer-sections.txt:
6617 added missing symbols to api docs
6618 disable ref-count hack if we have glib >= 2.8
6620 2005-09-19 David Schleef <ds@schleef.org>
6622 * docs/gst/Makefile.am: Ignore a few more internal headers
6623 * docs/gst/gstreamer-docs.sgml: Remove old sections
6624 * docs/gst/gstreamer-sections.txt: Remove old sections
6625 * docs/gst/tmpl/gstobject.sgml: update
6626 * docs/gst/tmpl/gstplugin.sgml: update
6627 * docs/gst/tmpl/gstpluginfeature.sgml: update
6628 * docs/random/ds/0.9-suggested-changes: update.
6629 * gst/Makefile.am: remove memchunk and trashstack, since they're
6631 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6632 * gst/gst.h: don't include some headers
6633 * gst/gstchildproxy.c: add gstmarshal.h
6634 * gst/gstclock.c: Don't use memchunks
6635 * gst/gstminiobject.c: Add some docs
6636 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6637 * gst/gstobject.h: same
6638 * gst/gstplugin.c: include gstmacros.h
6639 * gst/gstplugin.h: don't include gstmacros.h, since it's private
6640 * gst/gstquery.c: don't use memchunks
6641 * gst/gstregistry.c: rename gst_registry_deinit()
6642 * gst/gstregistry.h: same
6644 2005-09-19 David Schleef <ds@schleef.org>
6646 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6647 * docs/libs/gstreamer-libs-sections.txt:
6648 * docs/libs/tmpl/gstgetbits.sgml:
6649 * docs/libs/tmpl/gstputbits.sgml:
6651 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
6653 * win32/gstenumtypes.c:
6654 * win32/gstenumtypes.h:
6657 2005-09-19 Wim Taymans <wim@fluendo.com>
6659 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6660 Automatically PAUSE and RESUME a pipeline when a flushing seek
6663 2005-09-19 Andy Wingo <wingo@pobox.com>
6665 * gst/gstregistry.h: Spacing fixen.
6667 2005-09-19 Wim Taymans <wim@fluendo.com>
6669 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6670 Handle state change failure more correctly.
6672 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6674 * check/Makefile.am:
6675 * check/pipelines/cleanup.c: (run_pipeline):
6676 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6678 enable cleanup again after fixing the leak
6680 some more info on docs
6682 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6684 * check/Makefile.am:
6685 re-enable tests now that leaks are plugged
6687 * check/gst/gstbin.c:
6688 * check/gst/gstpipeline.c:
6689 add some more tests while fixing leaks
6691 make sure binaries are uptodate when valgrinding/gdbing
6693 * gst/gstelementfactory.c:
6694 remove a ref too many, and add a FIXME for when we get
6695 round to disposing of classes
6697 fix the refcounting when loading a plugin from a file and
6698 the code pretends that the pointer is the same even though
6699 of course it can change
6700 * gst/gstpluginfeature.c:
6701 unref plugins marked cached (a bit confusing as a name)
6702 as the docs state should be done
6703 various doc additions to explain refcounting
6704 * gst/gstregistry.c:
6705 * gst/gstregistryxml.c:
6708 2005-09-19 Wim Taymans <wim@fluendo.com>
6710 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6711 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6712 (send_messages), (GST_START_TEST), (gstbus_suite):
6713 * check/gst/gstpipeline.c: (GST_START_TEST):
6714 * check/pipelines/cleanup.c: (run_pipeline):
6715 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6717 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6718 (gst_bus_source_check), (gst_bus_source_dispatch),
6719 (gst_bus_create_watch), (gst_bus_add_watch_full),
6720 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6722 * tools/gst-launch.c: (event_loop):
6723 * tools/gst-md5sum.c: (event_loop):
6724 GstBusHandler -> GstBusFunc, return value has the same meaning as
6725 any other GSource (FALSE == remove source).
6726 _add_watch() and _add_watch_full() now take a MessageType mask to
6727 only handle specific types of messages.
6728 _poll() returns the GstMessage instead of the message type to avoid
6730 _have_pending() takes a MessageType mask now too.
6731 Added testsuite for multiple bus watches.
6732 Fix testsuites and applications for new bus API.
6734 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6736 * check/Makefile.am:
6737 mark a bunch of the tests as to fix until we fix them
6739 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6742 use GST_PLUGIN settings for valgrind tests as well, so we're
6743 valgrinding the correct thing
6744 * gst/gst.c: (init_post):
6747 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6749 * gst/gst.c: (init_post), (gst_deinit):
6750 * gst/gstelementfactory.c: (gst_element_factory_class_init),
6751 (gst_element_factory_finalize), (gst_element_factory_cleanup):
6752 * gst/gstindex.c: (gst_index_factory_class_init),
6753 (gst_index_factory_finalize):
6754 * gst/gstobject.c: (gst_object_dispose):
6755 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6756 (gst_plugin_load_file), (gst_plugin_desc_free):
6757 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6758 (gst_plugin_feature_finalize):
6759 * gst/gstregistry.c: (gst_registry_class_init),
6760 (gst_registry_init), (gst_registry_finalize),
6761 (gst_registry_get_default), (gst_registry_deinit):
6762 * gst/gstregistry.h:
6763 * gst/gstregistryxml.c: (load_feature), (load_plugin):
6764 various cleanups and memleak plugging. make valgrind is happy now.
6766 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6769 add a check-valgrind target
6771 2005-09-18 David Schleef <ds@schleef.org>
6773 * tools/gst-inspect.c: Revert the GOption code.
6775 2005-09-17 David Schleef <ds@schleef.org>
6777 * check/Makefile.am: Fix environment variables.
6778 * check/gst/gstplugin.c: Fix for API changes.
6779 * tools/gst-inspect.c: Fix for API changes.
6780 * tools/gst-xmlinspect.c: Fix for API changes.
6781 * gst/gstelementfactory.c:
6784 * gst/gstpluginfeature.c:
6785 * gst/gstpluginfeature.h:
6786 * gst/gstregistry.c:
6787 * gst/gstregistry.h:
6788 * gst/gstregistryxml.c:
6789 * gst/gsttypefind.c:
6790 * gst/gsttypefindfactory.c:
6791 * gst/indexers/gstfileindex.c:
6792 * gst/indexers/gstmemindex.c:
6793 * gst/schedulers/Makefile.am:
6794 Change registry to keep track of both plugins and features,
6795 removing the feature tracking from plugins themselves.
6797 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6799 * check/Makefile.am:
6800 * tools/gst-register.1.in:
6803 2005-09-15 David Schleef <ds@schleef.org>
6805 * check/gst/gstplugin.c:
6806 * gst/gstelementfactory.c:
6808 * gst/gstpluginfeature.c:
6809 * gst/gstregistry.c:
6810 Getting tired of debugging. Disabled all the unreffing of
6811 plugins and features, which fixes the segfaults, but of
6812 course leaks like crazy. At least playbin works.
6814 2005-09-15 David Schleef <ds@schleef.org>
6816 * check/gst/gstplugin.c: (register_check_elements),
6817 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6819 * gst/elements/gsttypefindelement.c: Fix refcounting.
6820 * gst/gsttypefind.c:
6821 * gst/gsttypefindfactory.c:
6822 * gst/gsttypefindfactory.h:
6824 2005-09-15 David Schleef <ds@schleef.org>
6826 * gst/gstindex.c: get refcounting correct.
6827 * gst/gstregistry.c: Handle the case where a feature/plugin is
6830 2005-09-15 David Schleef <ds@schleef.org>
6832 * check/Makefile.am:
6833 * check/gst/gstplugin.c: Add test
6834 * gst/gstplugin.c: Fix problems noticed by testsuite
6836 * gst/gstregistry.c:
6837 * gst/gstregistry.h:
6839 2005-09-15 David Schleef <ds@schleef.org>
6841 * gst/gstplugin.c: Implement semi-decent recounting and locking
6842 in plugins and plugin features.
6844 * gst/gstpluginfeature.c:
6845 * gst/gstpluginfeature.h:
6846 * gst/gstregistry.c:
6848 2005-09-15 Michael Smith <msmith@fluendo.com>
6850 * gst/gstregistry.c: (gst_registry_get_feature_list):
6851 Implement this. Makes oggdemux work; decodebin still broken.
6853 2005-09-14 David Schleef <ds@schleef.org>
6855 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6857 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6858 * gst/check/Makefile.am:
6859 * libs/gst/controller/Makefile.am:
6860 * libs/gst/dataprotocol/Makefile.am:
6862 2005-09-14 David Schleef <ds@schleef.org>
6864 * configure.ac: Remove getbits library. Nothing uses it, and
6865 it should be in something like liboil if someone did want
6867 * libs/gst/Makefile.am:
6868 * libs/gst/getbits/Makefile.am:
6869 * libs/gst/getbits/gbtest.c:
6870 * libs/gst/getbits/getbits.c:
6871 * libs/gst/getbits/getbits.h:
6872 * libs/gst/getbits/gstgetbits_generic.c:
6873 * libs/gst/getbits/gstgetbits_i386.s:
6874 * libs/gst/getbits/gstgetbits_inl.h:
6876 2005-09-14 David Schleef <ds@schleef.org>
6878 * gst/Makefile.am: Dist glib-compat.h
6880 2005-09-14 David Schleef <ds@schleef.org>
6882 * configure.ac: Remove gst/registries, since it's no longer used.
6883 * gst/registries/Makefile.am:
6884 * gst/registries/gstlibxmlregistry.c:
6885 * gst/registries/gstlibxmlregistry.h:
6886 * gst/registries/gstxmlregistry.c:
6887 * gst/registries/gstxmlregistry.h:
6888 * gst/registries/registrytest.c:
6890 2005-09-14 David Schleef <ds@schleef.org>
6892 * gst/glib-compat.h:
6893 * gst/gstregistryxml.c:
6894 Convergence is near. Seriously.
6896 2005-09-14 David Schleef <ds@schleef.org>
6898 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6899 * gst/glib-compat.h:
6900 Attempt #4 to appease the buildbots.
6902 2005-09-14 David Schleef <ds@schleef.org>
6904 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6907 2005-09-14 David Schleef <ds@schleef.org>
6909 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6912 2005-09-14 David Schleef <ds@schleef.org>
6914 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6917 2005-09-14 David Schleef <ds@schleef.org>
6919 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6920 * gst/glib-compat.h: Add some functions that are in newer versions
6921 of glib than we care to require.
6922 * gst/gstregistryxml.c: Use them.
6924 2005-09-14 David Schleef <ds@schleef.org>
6926 * po/POTFILES.in: remove gst-register.c
6928 2005-09-14 David Schleef <ds@schleef.org>
6930 * docs/gst/gstreamer-docs.sgml:
6931 * docs/gst/gstreamer-sections.txt:
6932 * docs/gst/gstreamer.types:
6933 * docs/gst/tmpl/gstelement.sgml:
6934 * docs/gst/tmpl/gstplugin.sgml:
6935 * docs/gst/tmpl/gstpluginfeature.sgml:
6936 Documentation updates for registry changes.
6938 2005-09-14 David Schleef <ds@schleef.org>
6940 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6941 because we don't require glib-2.8.
6943 2005-09-14 David Schleef <ds@schleef.org>
6945 * gst/gstregistryxml.c: Added. Essentially moved out of the
6946 registries directory.
6948 2005-09-14 David Schleef <ds@schleef.org>
6950 * check/Makefile.am:
6951 * check/generic/states.c:
6955 * gst/gst_private.h:
6956 * gst/gstelementfactory.c:
6961 * gst/gstpluginfeature.c:
6962 * gst/gstpluginfeature.h:
6963 * gst/gstregistry.c:
6964 * gst/gstregistry.h:
6965 * gst/gstregistrypool.c: remove
6966 * gst/gstregistrypool.h: remove
6967 * gst/gsttypefind.c:
6968 * gst/gsttypefindfactory.c:
6970 * tools/Makefile.am:
6971 * tools/gst-compprep.c:
6972 * tools/gst-inspect.c:
6973 * tools/gst-register.c: remove
6974 * tools/gst-xmlinspect.c:
6975 Registry rewrite. Changes registry from being a file created
6976 by a tool into a simple cache file created automatically by
6977 libgstreamer. Removed gst-register (because it's no longer
6978 needed). Remove registry pools, because we only have one
6979 registry implementation (XML). Fix up other subsystems as
6982 2005-09-13 Michael Smith <msmith@fluendo.com>
6984 * gst/gstconfig.h.in:
6985 Don't Use windows linking attributes for MinGW. Fixes #316157
6987 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
6989 * gst/gstutils.c: (set_state_async_thread_func),
6990 (gst_element_set_state_async):
6991 Apparently people think it's better if this function doesn't
6992 try to set the state to whatever state was asked for on the first
6993 call to this function for any object. Seriously.
6995 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6997 * check/gst/gstpipeline.c: (GST_START_TEST):
6998 * docs/gst/gstreamer-sections.txt:
6999 * gst/gstutils.c: (set_state_async_thread_func),
7000 (gst_element_set_state_async):
7002 add a "gst_element_set_state_async" method that
7003 sets the state and starts a thread to make sure the state
7004 change completes as best as it can
7006 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
7008 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
7009 codify design+behaviour in testsuite after discussion
7011 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
7013 * docs/gst/tmpl/gstelement.sgml:
7014 * docs/manual/appendix-quotes.xml:
7016 * gst/gstelement.c: (gst_element_set_state):
7019 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
7021 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7022 (gst_base_transform_prepare_output_buf),
7023 (gst_base_transform_handle_buffer):
7024 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
7025 (gst_capsfilter_prepare_buf):
7026 Remove the requirement for sub-classes to call the parent
7027 implementation of prepare_output_buffer with a wrapper function.
7030 * gst/gsttagsetter.h:
7033 2005-09-11 Stefan Kost <ensonic@users.sf.net>
7035 * docs/gst/gstreamer-sections.txt:
7038 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
7040 * docs/gst/gstreamer-sections.txt:
7041 * docs/gst/tmpl/gstelement.sgml:
7042 * docs/gst/tmpl/gstplugin.sgml:
7043 * gst/gstminiobject.c:
7045 docs now stop throwing warnings
7047 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
7049 * docs/gst/gstreamer-sections.txt:
7050 * docs/gst/gstreamer.types:
7051 * docs/gst/tmpl/gstpad.sgml:
7052 * docs/gst/tmpl/gsttypes.sgml:
7053 * gst/base/gstadapter.h:
7054 * gst/base/gstbasesink.h:
7055 * gst/base/gstbasesrc.h:
7065 * gst/gststructure.c:
7066 * gst/registries/gstlibxmlregistry.h:
7067 various documentation fixes
7069 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
7071 * docs/gst/gstreamer-sections.txt:
7072 * docs/gst/tmpl/gstvalue.sgml:
7073 rearrange gstvalue section
7074 * gst/gstutils.c: (gst_element_state_get_name):
7076 * gst/gstvalue.c: (_gst_value_initialize):
7080 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
7082 * check/gst-libs/controller.c:
7084 * gst/base/gstbasetransform.c:
7085 (gst_base_transform_default_prepare_buf),
7086 (gst_base_transform_handle_buffer):
7087 * gst/base/gstbasetransform.h:
7088 Some more basetransform changes and fixes to enable sub-classes
7089 that modify buffer metadata only.
7090 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7091 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
7092 (gst_capsfilter_prepare_buf):
7093 If the output pad has fixed allowed caps and input buffers
7094 don't have any, set the fixed caps on outgoing buffers.
7096 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
7097 * check/elements/identity.c: (GST_START_TEST):
7098 Make the error a little clearer when the test fails because
7099 identity made a copy of the buffer.
7100 * docs/gst/gstreamer-sections.txt:
7101 New symbols in gstbasetransform.h
7102 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7103 (gst_base_transform_init), (gst_base_transform_transform_size),
7104 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7105 (gst_base_transform_default_prepare_buf),
7106 (gst_base_transform_get_unit_size),
7107 (gst_base_transform_buffer_alloc),
7108 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7109 (gst_base_transform_change_state),
7110 (gst_base_transform_set_passthrough),
7111 (gst_base_transform_set_in_place),
7112 (gst_base_transform_is_in_place):
7113 * gst/base/gstbasetransform.h:
7114 Change BaseTransform to separate in_place operate from same_caps
7115 output. in_place implies that the element can perform the transform
7116 on incoming buffers in-place, even if the caps on the output are
7118 Sub-class elements can now implement special buffer allocation
7119 methods for outgoing buffers if they wish to.
7120 Big documentation addition.
7121 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
7122 * gst/elements/gstelements.c:
7123 Changes for basetransform modifications.
7124 * gst/elements/Makefile.am:
7125 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
7126 Compile fix. Extra debug output.
7128 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
7130 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
7132 add tests for valid pad naming
7133 * gst/check/gstcheck.c: (gst_check_log_message_func),
7134 (gst_check_log_critical_func):
7136 remove printing of code, it is fragile when the code contains
7137 % and the line number is enough info
7138 * gst/check/gstcheck.h:
7139 * gst/gstpad.c: (gst_pad_template_new):
7142 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
7145 say what CHECK flags we use
7146 * docs/libs/gstreamer-libs.types:
7147 * libs/gst/controller/Makefile.am:
7148 * libs/gst/controller/gst-controller.c:
7149 * libs/gst/controller/gst-controller.h:
7150 * libs/gst/controller/gst-helper.c:
7151 * libs/gst/controller/gst-interpolation.c:
7152 * libs/gst/controller/gstcontroller.c:
7153 * libs/gst/controller/gsthelper.c:
7154 * libs/gst/controller/gstinterpolation.c:
7155 * tools/gst-inspect.c: (print_plugin_info):
7156 we don't use dashes in header names
7158 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
7160 * check/Makefile.am:
7161 * check/gst/.cvsignore:
7162 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
7163 (gst_pipeline_suite), (main):
7164 adding a test for pipelines and state changes
7165 * gst/gstutils.c: (get_state_func):
7167 * gstreamer.spec.in:
7170 2005-09-08 Michael Smith <msmith@fluendo.com>
7172 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
7173 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
7174 (gst_file_src_is_seekable), (gst_file_src_get_size),
7175 (gst_file_src_start):
7176 * gst/elements/gstfilesrc.h:
7177 Various fixes for unseekable, unmmapable, and non-normal files, so
7178 that fallback to read() rather than mmap() works.
7179 * gst/gstevent.c: (gst_event_new_newsegment):
7180 Allow newsegment events with segment_start == segment_end, as will
7181 correctly happen if you use filesrc on a zero-size file, for
7184 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
7186 * gst/gstplugin.c: (gst_plugin_load_file):
7187 Call g_module_close when we don't load the module
7189 * gst/registries/gstlibxmlregistry.c:
7190 (gst_xml_registry_get_property):
7191 Port leak fix from 0.8
7193 2005-09-07 Stefan Kost <ensonic@users.sf.net>
7195 * docs/gst/gstreamer-docs.sgml:
7196 * docs/gst/tmpl/.cvsignore:
7197 * docs/gst/tmpl/gsttrace.sgml:
7198 * docs/gst/tmpl/gsttrashstack.sgml:
7207 * gst/gsttaginterface.c:
7208 * gst/gsttaginterface.h:
7211 * gst/gsttagsetter.c:
7212 * gst/gsttagsetter.h:
7215 * gst/gsttrashstack.c:
7216 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
7217 inlined docs for gsttrace, gsttrashstack
7219 2005-09-07 Stefan Kost <ensonic@users.sf.net>
7222 * gst/elements/gstbufferstore.h:
7223 * gst/elements/gsttypefindelement.c:
7224 * gst/elements/gsttypefindelement.h:
7226 * gst/gsttypefind.c:
7227 * gst/gsttypefind.h:
7228 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
7229 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
7230 (gst_type_find_factory_dispose),
7231 (gst_type_find_factory_unload_thyself),
7232 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
7233 (gst_type_find_factory_get_caps),
7234 (gst_type_find_factory_get_extensions),
7235 (gst_type_find_factory_call_function):
7236 * gst/gsttypefindfactory.h:
7237 * gst/registries/gstlibxmlregistry.c:
7238 * gst/registries/gstxmlregistry.c:
7239 splitted gsttypefind into gsttypefind, gsttypefindfactory
7241 2005-09-07 Andy Wingo <wingo@pobox.com>
7243 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
7244 condition whereby the pad's task function is entered before the
7245 pad_mode variable was set.
7247 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
7249 * gst/gstpad.c: (gst_pad_alloc_buffer):
7250 Catch misbehaving pad_alloc functions that don't
7251 set up caps and do it for them.
7253 2005-09-07 Stefan Kost <ensonic@users.sf.net>
7255 * check/pipelines/simple_launch_lines.c: (run_pipeline):
7257 * docs/gst/tmpl/.cvsignore:
7258 * docs/gst/tmpl/gstmemchunk.sgml:
7259 * docs/gst/tmpl/gstparse.sgml:
7260 * docs/gst/tmpl/gsttaglist.sgml:
7261 * docs/gst/tmpl/gsttagsetter.sgml:
7262 * docs/gst/tmpl/gsttypefind.sgml:
7263 * docs/gst/tmpl/gsttypefindfactory.sgml:
7264 * gst/gstmemchunk.c:
7267 * gst/gsttaginterface.c:
7268 * gst/gsttypefind.c:
7269 * gst/gsttypefind.h:
7272 === release 0.9.2 ===
7274 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
7279 releasing 0.9.2, "South"
7281 2005-09-05 Andy Wingo <wingo@pobox.com>
7283 * gst/registries/gstxmlregistry.h:
7284 * gst/registries/gstxmlregistry.c: Um... resurrect...
7286 * gst/registries/gstxmlregistry.h:
7287 * gst/registries/gstxmlregistry.c: and update to newer API.
7288 Incidentally they should be a bit faster now that they don't have
7291 2005-09-05 Andy Wingo <wingo@pobox.com>
7293 * gst/registries/gstxmlregistry.h:
7294 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
7295 replaced by the libxml registry a while back
7297 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
7299 * docs/gst/tmpl/gstplugin.sgml:
7300 * gst/elements/gstelements.c:
7302 * gst/gstplugin.c: (gst_plugin_register_func),
7303 (gst_plugin_desc_copy), (gst_plugin_desc_free),
7304 (gst_plugin_get_source):
7306 * gst/registries/gstlibxmlregistry.c: (load_plugin),
7307 (gst_xml_registry_save_plugin):
7308 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
7309 (gst_xml_registry_save_plugin):
7310 * tools/gst-inspect.c: (print_plugin_info):
7311 add a "source" plugin description field, to represent the source
7312 module this plugin is a part of. By default GST_PLUGIN_DEFINE
7313 will set it to PACKAGE, which is automake's idea of the name of
7316 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
7322 * docs/faq/Makefile.am:
7323 * docs/gst/tmpl/gstelement.sgml:
7324 * docs/gst/tmpl/gsttypes.sgml:
7325 * docs/htmlinstall.mak:
7326 * docs/manual/Makefile.am:
7327 * docs/pwg/Makefile.am:
7328 reorganize doc build a little
7329 split out docbook and gtk-doc stuff
7330 have two separate --enable's and enable them through autogen
7331 but disable by default in configure (to be similar to other
7333 * gstreamer.spec.in:
7334 clean up docs install
7354 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
7356 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
7359 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
7360 (gst_fake_sink_change_state):
7361 Make state change function thread-safe.
7363 * gst/gstpad.c: (gst_pad_alloc_buffer):
7364 Set offset on generic buffer allocated by fallback.
7366 2005-09-03 Stefan Kost <ensonic@users.sf.net>
7368 * docs/gst/gstreamer-sections.txt:
7369 * docs/gst/tmpl/gstelement.sgml:
7371 * libs/gst/controller/gst-controller.c:
7372 (gst_controlled_property_set_interpolation_mode),
7373 (gst_controlled_property_new),
7374 (gst_controller_find_controlled_property):
7375 run the wingo-magic script against the docs
7377 2005-09-02 Stefan Kost <ensonic@users.sf.net>
7379 * docs/gst/gstreamer-docs.sgml:
7380 * docs/gst/gstreamer-sections.txt:
7381 * docs/gst/tmpl/.cvsignore:
7382 * docs/gst/tmpl/gstelementdetails.sgml:
7383 * docs/gst/tmpl/gstelementfactory.sgml:
7386 * gst/gstelementfactory.c:
7387 * gst/gstelementfactory.h:
7388 merged elementdetails docs into elementfactory docs
7391 2005-09-02 Andy Wingo <wingo@pobox.com>
7393 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
7394 consider this enum an enum and not a flags.
7396 2005-09-02 Stefan Kost <ensonic@users.sf.net>
7398 * docs/gst/gstreamer-docs.sgml:
7399 * docs/gst/tmpl/.cvsignore:
7400 * docs/gst/tmpl/gstghostpad.sgml:
7401 * docs/gst/tmpl/gstiterator.sgml:
7402 * docs/gst/tmpl/gstmacros.sgml:
7403 * docs/gst/tmpl/gstrealpad.sgml:
7404 * docs/gst/tmpl/gstregistry.sgml:
7405 * docs/gst/tmpl/gstregistrypool.sgml:
7406 * docs/gst/tmpl/gststructure.sgml:
7407 * docs/gst/tmpl/gstsystemclock.sgml:
7408 * docs/gst/tmpl/gsttrace.sgml:
7409 * gst/gstghostpad.c:
7411 * gst/gstmemchunk.c:
7412 * gst/gstmemchunk.h:
7414 * gst/gstregistry.c:
7415 * gst/gstregistrypool.c:
7416 * gst/gststructure.c:
7417 * gst/gstsystemclock.c:
7420 2005-09-02 Andy Wingo <wingo@pobox.com>
7422 * gst/gstelement.h (GstState): Renamed from GstElementState,
7423 changed to be a normal enum instead of flags.
7424 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
7425 munged to be GST_STATE_CHANGE_*.
7426 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
7427 work with the new state representation.
7428 (GstStateChange): New enumeration of possible state transitions.
7429 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
7430 (GstElementClass::change_state): Pass the GstStateChange along as
7431 an argument. Helps language bindings, so they don't have to use
7432 tricky lock-needing macros like GST_STATE_CHANGE ().
7434 * scripts/update-states (file): New script. Run it on a file to
7435 update it for state naming and API changes. Updates files in
7438 * All files updated for the new API.
7440 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
7442 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
7443 * gst/gstutils.c: (gst_util_set_value_from_string),
7444 (gst_util_set_object_arg):
7445 fix a bunch of unchecked return values
7446 * tools/gst-complete.c: (main):
7447 * gstreamer.spec.in:
7450 2005-09-01 Wim Taymans <wim@fluendo.com>
7452 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7453 (gst_base_sink_event), (gst_base_sink_do_sync),
7454 (gst_base_sink_handle_event):
7455 * gst/base/gstbasesink.h:
7456 Handle newsegments more correctly.
7461 * gst/gstevent.c: (gst_event_new_newsegment):
7462 A newsegment cannot have a start_time of -1
7464 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
7466 * win32/gstenumtypes.c:
7467 * win32/gstenumtypes.h:
7470 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7472 * libs/gst/controller/gst-controller.c:
7473 (gst_controlled_property_set_interpolation_mode),
7474 (gst_controlled_property_new):
7477 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
7479 * docs/faq/gst-uninstalled:
7484 * gst/gstutils.c: (gst_element_link_filtered):
7486 add gst_element_link_filtered
7488 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7490 * docs/gst/gstreamer-docs.sgml:
7491 * docs/gst/gstreamer-sections.txt:
7492 * docs/gst/tmpl/.cvsignore:
7493 * docs/gst/tmpl/gsterror.sgml:
7494 * docs/gst/tmpl/gstfilter.sgml:
7495 * docs/gst/tmpl/gsturihandler.sgml:
7496 * docs/gst/tmpl/gsturitype.sgml:
7497 * docs/gst/tmpl/gstutils.sgml:
7498 * docs/gst/tmpl/gstxml.sgml:
7506 inlined more docs, fixed double id-ref
7508 2005-08-31 Wim Taymans <wim@fluendo.com>
7510 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7511 (gst_base_transform_handle_buffer):
7512 Passthrough elements don't need the caps as they don't care.
7514 2005-08-31 Wim Taymans <wim@fluendo.com>
7516 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7517 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7518 Don't leak refcounts on buffers.
7520 2005-08-31 Wim Taymans <wim@fluendo.com>
7522 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7523 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7524 (gst_base_transform_chain), (gst_base_transform_change_state):
7525 * gst/base/gstbasetransform.h:
7526 Handle the case where we are not negotiated more gracefully.
7528 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
7530 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7531 (gst_file_src_map_region):
7532 Set READONLY flag on mmap'ed buffers, otherwise
7533 gst_buffer_make_writable() won't work properly (#314708).
7535 2005-08-31 Wim Taymans <wim@fluendo.com>
7537 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7538 passthrough elements can even do inplace on non writable
7539 buffers (as they don't touch them).
7541 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7543 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7544 (gst_test_mono_source_set_property),
7545 (gst_test_mono_source_class_init), (GST_START_TEST),
7546 (gst_controller_suite):
7547 more tests (hehe I have the most)
7549 describe popping messages whenusing mulltiple sources
7550 * libs/gst/controller/gst-controller.c:
7551 (gst_controlled_property_set_interpolation_mode),
7552 (gst_controlled_property_new):
7553 * libs/gst/controller/gst-controller.h:
7554 * libs/gst/controller/gst-interpolation.c:
7555 implement boolean properties
7557 2005-08-31 Wim Taymans <wim@fluendo.com>
7559 * gst/gstminiobject.c: (gst_mini_object_ref):
7560 Cannot assert that the refcount has to be positive
7561 since a disposed object can be resurrected.
7563 2005-08-31 Wim Taymans <wim@fluendo.com>
7565 * gst/gstpad.c: (gst_pad_init):
7566 Revert change, need to first fix badly behaving
7569 2005-08-30 Wim Taymans <wim@fluendo.com>
7571 * check/elements/fakesrc.c: (setup_fakesrc):
7572 * check/elements/identity.c: (setup_identity):
7573 Activate pads before using them.
7575 2005-08-30 Wim Taymans <wim@fluendo.com>
7577 * gst/base/gstadapter.c: (gst_adapter_flush):
7578 Flushing out 0 bytes is ok for this function.
7580 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7581 no newsegment gives a warning and sets the start/stop to
7584 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7585 (gst_base_transform_set_passthrough):
7588 * gst/gstminiobject.c: (gst_mini_object_ref):
7589 Check refcount here too.
7591 * gst/gstpad.c: (gst_pad_init):
7592 Pads are initially flushing and refusing data.
7594 * gst/gstutils.c: (gst_element_link_pads_filtered):
7595 When adding a capsfilter element make sure it has the
7596 same state as the parent bin.
7598 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7600 * docs/gst/tmpl/.cvsignore:
7601 * docs/gst/tmpl/gstformat.sgml:
7602 * docs/gst/tmpl/gstversion.sgml:
7606 * gst/gstversion.h.in:
7607 more docs and two more inlined
7609 2005-08-30 Wim Taymans <wim@fluendo.com>
7611 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7612 Don't sync to clock.
7614 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7616 * docs/gst/gstreamer-sections.txt:
7617 ultral33t func10ns deserve to appear in the docs actually
7618 * docs/gst/tmpl/.cvsignore:
7619 * docs/gst/tmpl/gstcompat.sgml:
7620 * docs/gst/tmpl/gstconfig.sgml:
7621 * gst/check/gstcheck.c:
7623 * gst/gstconfig.h.in:
7626 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7628 * docs/gst/tmpl/.cvsignore:
7629 * docs/gst/tmpl/gstquery.sgml:
7630 * docs/gst/tmpl/gstutils.sgml:
7633 inlined and extended docs
7635 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7637 * check/gst-libs/controller.c: (GST_START_TEST),
7638 (gst_controller_suite):
7640 * docs/gst/tmpl/gstutils.sgml:
7641 * docs/libs/gstreamer-libs-sections.txt:
7642 * docs/libs/tmpl/gstdataprotocol.sgml:
7644 * examples/controller/audio-example.c: (main):
7645 controller example works now
7648 * tools/gst-inspect.c: (print_element_properties_info):
7649 show param spec flags
7651 2005-08-29 Andy Wingo <wingo@pobox.com>
7653 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7655 2005-08-28 Andy Wingo <wingo@pobox.com>
7657 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7658 as having two arguments instead of just one. Allows superclasses
7659 to access information on subclasses -- see the terrible for() loop
7660 in gtype.c:g_type_create_instance for the reason why. All callers
7663 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7665 * docs/design/part-messages.txt:
7667 * docs/gst/tmpl/.cvsignore:
7668 * docs/gst/tmpl/gstcaps.sgml:
7669 * docs/gst/tmpl/gstclock.sgml:
7676 added descriptions for bus and message
7677 inline caps and clock docs
7679 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7685 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7687 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7690 2005-08-26 Andy Wingo <wingo@pobox.com>
7692 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7693 element_set_state's return val.
7694 (test_2_elements): Add test that's been disabled for months.
7696 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7697 can-activate-pull properties.
7699 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7700 can-activate-pull properties. Implement is_seekable so fakesrc can
7701 operate in pull mode.
7703 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7705 (gst_base_sink_activate, gst_base_sink_activate_pull)
7706 (gst_base_sink_activate_push): Make activation mode choosing work.
7708 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7709 is right. Make pull mode work. Post an eos before pausing in pull
7711 (gst_base_sink_change_state): Pay attention to the core's
7712 change_state() return val.
7714 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7715 has-getrange properties. Cleanups.
7717 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7718 has_getrange and replace with can_activate_pull and
7721 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7722 locking comments. Remove has_loop, has_chain and replace with
7723 can_activate_pull and can_activate_push.
7725 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
7728 * examples/Makefile.am:
7729 * examples/metadata/Makefile.am:
7730 * examples/metadata/read-metadata.c: (message_loop),
7731 (have_pad_handler), (make_pipeline), (print_tag), (main):
7732 Add metadata reading example that loops over a list of filenames,
7733 dumping any tags found.
7735 * gst/gstbus.c: (gst_bus_dispose):
7736 * gst/gstelement.c: (gst_element_dispose):
7737 Release a few potentially-held references in dispose.
7739 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7741 * docs/gst/tmpl/gstminiobject.sgml:
7742 do *not* add tmpl/*.sgml files to CVS!
7744 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7746 * libs/gst/bytestream/.cvsignore:
7747 * libs/gst/bytestream/Makefile.am:
7748 * libs/gst/bytestream/adapter.c:
7749 * libs/gst/bytestream/adapter.h:
7750 * libs/gst/bytestream/bytestream.c:
7751 * libs/gst/bytestream/bytestream.h:
7752 * libs/gst/bytestream/filepad.c:
7753 * libs/gst/bytestream/filepad.h:
7754 removing obsolete files
7756 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7758 * docs/gst/gstreamer-docs.sgml:
7759 * docs/libs/gstreamer-libs-docs.sgml:
7760 disabed additional index entries again, as this makes docs-gen just
7761 slow and they aren't useful yet
7762 * docs/libs/gstreamer-libs-sections.txt:
7763 little -section.txt cleanup for libs
7765 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
7767 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7768 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7769 fix up some debugging
7770 (gst_base_transform_get_unit_size),
7771 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7772 (gst_base_transform_handle_buffer):
7773 * gst/base/gstbasetransform.h:
7774 handle and store timed NEWSEGMENT events so that subclasses that
7775 calculate time by counting samples have a segment_start time they
7776 need to add to their timestamps - see audioresample
7778 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7781 removed ';' from the end of macro defs
7782 * docs/gst/gstreamer-docs.sgml:
7783 * docs/gst/gstreamer-sections.txt:
7784 * docs/gst/tmpl/.cvsignore:
7786 * gst/gstelement.c: (gst_element_class_init),
7787 (gst_element_set_state), (activate_pads),
7788 (gst_element_save_thyself):
7789 * gst/gstevent.c: (gst_event_new_newsegment):
7791 * gst/gstiterator.c:
7792 * gst/gstiterator.h:
7795 * gst/gstutils.c: (gst_pad_query_convert):
7797 fixed parameter name mismatches between source, header and docs
7798 added some more docs, resolved the last batch of unused elements in
7799 docs (now someone needs to doc them)
7801 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7803 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7804 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7805 don't walk through the plugins backwards. Where is all this
7806 reversed logic coming from ?
7808 2005-08-25 Wim Taymans <wim@fluendo.com>
7810 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7811 (gst_base_transform_transform_size),
7812 (gst_base_transform_configure_caps),
7813 (gst_base_transform_get_unit_size),
7814 (gst_base_transform_buffer_alloc),
7815 (gst_base_transform_change_state):
7816 * gst/base/gstbasetransform.h:
7817 Cache caps unit_size.
7818 Make sure we cannot negotiate up and downstream at the
7821 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7823 * gst/gst.c: (init_pre), (init_post):
7824 register the installed plugin path after the env var
7825 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7826 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7827 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7828 directories, so the tests can prefer uninstalled over installed
7830 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7832 * gst/base/gstbasetransform.h:
7837 2005-08-25 Wim Taymans <wim@fluendo.com>
7839 * gst/gstbin.c: (bin_bus_handler):
7840 Be a bit more conservative about the posted message.
7842 * gst/gstbus.c: (gst_bus_post):
7843 Some cleanups, warn wrong return values.
7845 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
7847 * check/gst/gstbin.c: (GST_START_TEST):
7848 * gst/gstbin.c: (bin_bus_handler):
7849 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7850 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7851 (gst_message_new_warning), (gst_message_new_tag),
7852 (gst_message_new_state_changed), (gst_message_new_segment_start),
7853 (gst_message_new_segment_done), (gst_message_new_custom):
7855 * tools/gst-launch.c: (event_loop):
7856 * tools/gst-md5sum.c: (event_loop):
7857 Revert unpopular change for GST_MESSAGE_SRC to GObject.
7859 2005-08-25 Wim Taymans <wim@fluendo.com>
7861 * check/generic/states.c: (GST_START_TEST):
7862 Cleanup can be done at the end.
7864 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7865 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7866 (gst_task_get_state), (gst_task_start), (gst_task_pause):
7867 Oh boy.. Thanks for finding this, Thomas.
7869 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7871 * docs/gst/gstreamer.types:
7874 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7876 * docs/gst/gstreamer-docs.sgml:
7877 * docs/gst/gstreamer-sections.txt:
7878 * docs/gst/tmpl/.cvsignore:
7880 * gst/gstiterator.c:
7882 * gst/registries/gstxmlregistry.h:
7883 added missing classes and symbols (123 more to go)
7884 removed removed symbols from section file
7885 fixed many doc-comments
7887 2005-08-24 Wim Taymans <wim@fluendo.com>
7889 * check/generic/states.c: (GST_START_TEST):
7890 Make sure all tasks are stopped.
7892 * check/gst/gstbin.c: (GST_START_TEST):
7893 Unref after usage for proper valgrinding.
7895 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7896 Really wait for the task to stop before destroying the
7899 * gst/gstqueue.c: (gst_queue_sink_activate_push),
7900 (gst_queue_src_activate_push):
7901 Small cleanups. Don't stop the task when we did not start
7904 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7905 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7906 (gst_task_get_state), (gst_task_start), (gst_task_pause),
7909 Protect the stream lock with the object lock.
7910 Disallow setting the stream lock when running.
7911 Add cleanup_all to wait for the threadpool to finish.
7912 Remove code to autoallocate a mutex if none was provided.
7913 Add _join() to wait for a task to stop.
7914 Protect the thread pool with a global lock.
7916 2005-08-24 Wim Taymans <wim@fluendo.com>
7918 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7919 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7920 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7921 * gst/base/gstbasesink.h:
7922 Handle newsegment events correctly.
7923 Drop buffers out of the segment range.
7925 2005-08-22 Andy Wingo <wingo@pobox.com>
7927 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7928 macro, implements an interface and gstimplementsinterface for a
7931 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7933 * check/Makefile.am:
7934 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7935 add a test that does a bunch of state changes on elements
7936 needs some fixing for valgrind
7937 * check/states/sinks.c: (gst_object_suite):
7940 add prototype for gst_caps_is_equal_fixed
7942 * gst/gstregistrypool.c:
7945 2005-08-24 Andy Wingo <wingo@pobox.com>
7947 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7948 convert a negative value. Doesn't make much sense. Mostly this is
7949 here to force callers to ensure -1 maps to -1.
7951 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7953 * docs/pwg/advanced-types.xml:
7954 Well done to Michael for catching my deliberate introduction
7955 of this spelling mistake.
7956 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7958 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7959 unlink pads before removing the element from the bin.
7961 2005-08-24 Andy Wingo <wingo@pobox.com>
7963 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7964 the same thing as GST_DEBUG=*:4.
7965 (parse_debug_level, parse_debug_category): New helper parsers.
7967 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7969 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7970 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7971 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7972 (gst_base_transform_buffer_alloc),
7973 (gst_base_transform_handle_buffer):
7974 use gboolean return values and pointers to size so we can use the
7975 full GST_BUFFER_SIZE range (guint) for buffer sizes
7976 use GstPadDirection for transform_caps
7977 * gst/base/gstbasetransform.h:
7978 rename get_size to get_unit_size since that's what it is
7979 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7980 use GstPadDirection for transform_caps
7981 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7983 cleanup and debugging
7985 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7987 * gst/gstelement.c: (gst_element_class_init),
7988 (gst_element_set_state), (activate_pads),
7989 (gst_element_save_thyself):
7990 * tools/gst-compprep.c: (main):
7991 * tools/gst-inspect.c: (print_element_properties_info):
7992 * tools/gst-xmlinspect.c: (print_element_properties):
7993 Fixed long standing mem-leak
7995 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7997 * check/gst/gstbin.c: (GST_START_TEST):
7998 * gst/gstbin.c: (bin_bus_handler):
7999 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
8000 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
8001 (gst_message_new_warning), (gst_message_new_tag),
8002 (gst_message_new_state_changed), (gst_message_new_segment_start),
8003 (gst_message_new_segment_done), (gst_message_new_custom):
8005 * tools/gst-launch.c: (event_loop):
8006 * tools/gst-md5sum.c: (event_loop):
8007 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
8008 that applications can sensibly post custom messages with references
8009 to their own objects.
8011 2005-08-24 Andy Wingo <wingo@pobox.com>
8013 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
8016 2005-08-24 Wim Taymans <wim@fluendo.com>
8018 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8019 (gst_base_transform_transform_caps),
8020 (gst_base_transform_transform_size),
8021 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8022 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8023 (gst_base_transform_handle_buffer):
8024 * gst/base/gstbasetransform.h:
8025 Many fixes and new features added by Thomas. Can now also do
8026 transforms with variable sizes and a custom fixate_caps function.
8028 2005-08-24 Wim Taymans <wim@fluendo.com>
8030 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
8034 Cast to ClockTime before formatting to time.
8039 2005-08-24 Stefan Kost <ensonic@users.sf.net>
8041 * check/gst-libs/controller.c: (GST_START_TEST),
8042 (gst_controller_suite):
8043 * docs/gst/tmpl/gstcaps.sgml:
8044 * docs/gst/tmpl/gstghostpad.sgml:
8045 * docs/gst/tmpl/gstquery.sgml:
8046 * docs/gst/tmpl/gstutils.sgml:
8047 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
8048 (gst_object_sink_values), (gst_object_get_value_arrays),
8049 (gst_object_get_value_array):
8050 gracefully handle helper method calls to objects that are not beeing
8051 controlled, added test case for that
8053 2005-08-23 Wim Taymans <wim@fluendo.com>
8055 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
8056 (gst_event_new_newsegment), (gst_event_parse_newsegment),
8057 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
8058 (gst_event_parse_qos), (gst_event_new_seek),
8059 (gst_event_parse_seek):
8061 Some more debugging output and doc cleanups.
8063 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8064 Fix possible deadlock.
8066 2005-08-23 Stefan Kost <ensonic@users.sf.net>
8068 * docs/gst/gstreamer-docs.sgml:
8069 * docs/gst/gstreamer-sections.txt:
8070 * docs/gst/gstreamer.types:
8071 * docs/gst/tmpl/.cvsignore:
8076 added 100 symbols from gstreamer-unused.txt to the right sections
8077 fixed more broken comments
8078 added GstBus to docs
8080 2005-08-23 Stefan Kost <ensonic@users.sf.net>
8082 * docs/gst/gstreamer-sections.txt:
8083 * docs/gst/tmpl/.cvsignore:
8084 * docs/gst/tmpl/gstbin.sgml:
8085 * docs/gst/tmpl/gstbuffer.sgml:
8086 * gst/base/gstbasesrc.c:
8087 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
8090 * tools/gst-launch.1.in:
8091 inlined more doc comments, added missing comments and fixed comments
8094 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
8096 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
8100 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
8102 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
8103 * gst/gststructure.h:
8104 add a fixate function for booleans; add a FIXME that these func
8105 names should probably be gst_structure_fixate_*
8107 2005-08-23 Stefan Kost <ensonic@users.sf.net>
8109 * docs/gst/gstreamer-docs.sgml:
8110 * docs/gst/gstreamer-sections.txt:
8112 * gst/gstbin.c: (gst_bin_get_type),
8113 (gst_bin_child_proxy_get_child_by_index),
8114 (gst_bin_child_proxy_get_children_count),
8115 (gst_bin_child_proxy_init):
8116 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
8117 (gst_child_proxy_get_child_by_index),
8118 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
8119 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
8120 (gst_child_proxy_get), (gst_child_proxy_set_property),
8121 (gst_child_proxy_set_valist), (gst_child_proxy_set),
8122 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
8123 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
8124 * gst/gstchildproxy.h:
8125 * gst/parse/grammar.y:
8126 * tools/gst-inspect.c: (print_interfaces),
8127 (print_element_properties_info), (print_element_info):
8128 ported gstchildproxy over from 0.8
8129 ported gst-inspect fixes and enhancements over from 0.8
8131 2005-08-22 Wim Taymans <wim@fluendo.com>
8133 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8134 (gst_base_transform_handle_buffer):
8135 Also call the transform function if we have ANY caps.
8137 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
8140 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
8142 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
8143 Don't pretend to handle seek events if the source is not seekable
8145 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
8147 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8148 Remove extra parameter to debug output
8150 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8151 (gst_base_src_do_seek), (gst_base_src_activate_push):
8152 Fix seek event handling.
8154 * gst/gstpipeline.c: (gst_pipeline_change_state):
8155 * gst/gstqueue.c: (gst_queue_handle_sink_event),
8156 (gst_queue_src_activate_push):
8157 Don't start the src pad task on FLUSH_STOP if the pad
8161 2005-08-22 Wim Taymans <wim@fluendo.com>
8163 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8164 Added check for gst_static_caps_get() refcounting.
8166 2005-08-22 Wim Taymans <wim@fluendo.com>
8168 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
8169 Make _static_caps_get() refcounting sane.
8171 * gst/gstelement.c: (gst_element_set_state):
8172 Add g_return_val_if_fail() to protect against segfaults.
8174 2005-08-22 Stefan Kost <ensonic@users.sf.net>
8176 * docs/gst/tmpl/gstevent.sgml:
8179 inlined remaining docs, added missing doc comments
8181 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
8183 * check/gst/gstbin.c: (GST_START_TEST):
8184 since we don't know when preroll is done, use refcount range
8186 * gst/check/gstcheck.h:
8187 add macro for checking refcount range
8189 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
8191 * check/Makefile.am:
8192 clean up environment for when registry gets built versus
8193 when actual tests are run; valgrind seems to not report
8194 leaks if GST_PLUGIN_PATH is set to some specific values
8195 * check/gst/gstbin.c: (GST_START_TEST):
8196 add more refcounting checks; maybe this exposes a
8199 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8200 * gst/check/gstcheck.h:
8201 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
8202 (gst_bin_change_state):
8203 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
8204 add/fix debugging/whitespace
8206 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
8208 * check/gst/gstevent.c: (event_probe), (test_event),
8210 Er, don't call gst_bin_watch_for_state_change you idiot.
8212 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
8214 * check/Makefile.am:
8215 Use CHECK_CFLAGS and CHECK_LIBS
8216 * check/gst/gstevent.c: (event_probe), (test_event),
8219 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8220 (gst_base_src_start), (gst_base_src_stop),
8221 (gst_base_src_activate_push), (gst_base_src_activate_pull),
8222 (gst_base_src_change_state):
8223 Sprinkle gst_base_src_stop liberally around error paths to fix
8224 problems reusing a source after failed state changes.
8225 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8226 (helper_find_suggest), (gst_type_find_helper):
8227 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
8229 * docs/gst/tmpl/gstevent.sgml:
8230 Migrate part of the docs from the SGML file. Wait for ensonic to
8231 tell me how I did it wrong ;)
8232 * tools/gst-typefind.c: (main):
8233 Extra robustness to state changes between files.
8235 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
8237 * check/Makefile.am:
8238 don't valgrind the controller test - it's leaking - Stefan, HELP
8239 * gst/check/gstcheck.c: (gst_check_message_error),
8240 (gst_check_chain_func), (gst_check_setup_element),
8241 (gst_check_teardown_element), (gst_check_setup_src_pad),
8242 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8243 (gst_check_teardown_sink_pad):
8244 * gst/check/gstcheck.h:
8245 add a bunch of methods to set up elements, and src and sink pads
8246 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
8247 * check/elements/identity.c: (setup_identity), (cleanup_identity),
8252 whitespace/doc fixes
8254 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8257 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
8258 be handled by the application and not always printed as well
8260 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8262 * check/Makefile.am:
8264 * gst/check/gstcheck.c: (gst_check_message_error):
8265 * gst/check/gstcheck.h:
8266 add a fail_unless_equals_int
8267 add fail_unless for error messages
8269 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8271 * check/Makefile.am:
8273 * common/Makefile.am:
8276 factor out some of the common stuff so we can use it
8278 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8280 * check/Makefile.am:
8281 * check/gst/gstiterator.c: (GST_START_TEST):
8282 * check/gst/gstsystemclock.c: (GST_START_TEST),
8283 (gst_systemclock_suite):
8284 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8288 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8290 * check/elements/.cvsignore:
8291 * check/elements/gstfakesrc.c:
8292 rename to name of element
8293 * check/elements/identity.c: (chain_func), (event_func),
8294 (setup_identity), (cleanup_identity), (GST_START_TEST),
8295 (identity_suite), (main):
8296 add a test for identity
8297 * check/Makefile.am:
8298 * pkgconfig/Makefile.am:
8299 * pkgconfig/gstreamer-check.pc.in:
8300 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8304 move the check stuff to a library that gets installed
8305 * check/gst-libs/controller.c: (GST_START_TEST):
8306 * check/gst-libs/gdp.c:
8307 * check/gst/gst.c: (GST_START_TEST):
8308 * check/gst/gstbin.c:
8309 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8310 * check/gst/gstbus.c:
8311 * check/gst/gstcaps.c: (GST_START_TEST):
8312 * check/gst/gstelement.c:
8313 * check/gst/gstghostpad.c:
8314 * check/gst/gstiterator.c:
8315 * check/gst/gstmessage.c:
8316 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
8317 * check/gst/gstobject.c:
8318 * check/gst/gstpad.c: (GST_START_TEST):
8319 * check/gst/gststructure.c: (GST_START_TEST):
8320 * check/gst/gstsystemclock.c: (GST_START_TEST),
8321 (gst_systemclock_suite):
8322 * check/gst/gsttag.c: (gst_tag_suite):
8323 * check/gst/gstvalue.c:
8324 * check/pipelines/cleanup.c:
8325 * check/pipelines/simple_launch_lines.c:
8326 * check/states/sinks.c:
8327 change include statement
8329 * docs/gst/gstreamer-sections.txt:
8330 * docs/gst/tmpl/gstpad.sgml:
8331 document more pad stuff
8332 * gst/gstminiobject.c: (gst_mini_object_ref),
8333 (gst_mini_object_unref):
8336 2005-08-19 Stefan Kost <ensonic@users.sf.net>
8338 * docs/gst/tmpl/gst.sgml:
8340 eliminate another tmpl file, fix spelling in the long-description
8342 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8344 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8345 (test_event), (timediff), (gstevents_suite):
8346 Should fix build on 64-bit arch's
8348 2005-08-18 Andy Wingo <wingo@pobox.com>
8350 Make sure that when a pipeline goes to PLAYING, that data has
8351 actually hit the sink.
8353 * check/states/sinks.c (test_sink): A sink that doesn't get any
8354 data shouldn't return SUCCESS for going to either PLAYING or
8355 PAUSED. Test also the return values on the way back down.
8357 * gst/gstelement.c (gst_element_set_state): When changing the
8358 state of an element currently changing state asynchronously, go to
8359 lost-state after commiting the pending state. Makes future calls
8360 to get_state continue to return ASYNC.
8362 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
8363 ASYNC when going to PLAYING if we still don't have preroll, as can
8364 happen with live sources.
8366 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8368 * docs/pwg/advanced-types.xml:
8369 Hack long paragraph into 2 chunks as a workaround for buggy
8370 jadetex version in sid and breezy that loops infinitely and
8373 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8375 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8376 (test_event), (timediff), (gstevents_suite):
8377 Provide more error margin in clock measurements to allow for
8378 g_get_current_time inaccuracies.
8380 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8382 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8383 (test_event), (timediff), (gstevents_suite):
8384 Fix error message output so I might be able to tell why the
8385 test works here but fails on the build farm.
8387 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8389 * check/Makefile.am:
8390 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8391 (test_event), (timediff), (gstevents_suite), (main):
8394 * docs/design/part-seeking.txt:
8397 * docs/gst/tmpl/gstevent.sgml:
8398 * docs/gst/tmpl/gstfakesrc.sgml:
8401 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8402 Treat a buffer-without-newsegment the same as a receiving
8403 a newsegment not in time format, and disable syncing to the clock
8406 * gst/gstbus.c: (gst_bus_set_sync_handler):
8407 Assert if anyone tries to replace the existing sync_handler for bus,
8408 as only the owner should be setting it.
8411 Have a fixed set of custom event enums with events identified by
8412 their structure name (as in 0.8), rather than a free-for-all
8413 allowing collisions between enum values from different plugins.
8415 * gst/gstpad.c: (gst_pad_class_init):
8418 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8419 Handle out-of-band downstream events from the sending thread.
8421 2005-08-17 Andy Wingo <wingo@pobox.com>
8423 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
8424 play-timeout==0 to mean no timeout at all. In that case, don't
8425 bother with a get_state or a warning, just return directly, even
8428 * gst/base/gstbasetransform.c: Debug changes.
8431 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
8432 ensure bins post state change messages. A bit of a hack but I can't
8433 think of a way to avoid it.
8435 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
8437 2005-08-16 Andy Wingo <wingo@pobox.com>
8439 * gst/base/gstadapter.h:
8440 * gst/base/gstadapter.c (gst_adapter_take): New function, like
8441 peek() but you own the data. Not terribly efficient atm.
8443 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8445 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
8446 (gst_element_found_tags):
8448 Add two utility functions for tag handling.
8450 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8452 * docs/manual/advanced-dataaccess.xml:
8453 * docs/manual/basics-helloworld.xml:
8454 Fix docs to use _bin_add() before _link(), which fixes the examples
8455 with recent core versions (reported by Madhan Raj M
8456 <raj_madan@rediffmail.com>, #313199).
8458 2005-08-16 Wim Taymans <wim@fluendo.com>
8460 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8461 Added subtract checks.
8463 * docs/design/part-events.txt:
8464 Some more docs about newsegment
8466 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8469 * gst/gstcaps.c: (gst_caps_to_string):
8470 Add comments, cleanups.
8472 * gst/gstelement.c: (gst_element_save_thyself):
8475 * gst/gstvalue.c: (gst_value_collect_int_range),
8476 (gst_string_unwrap), (gst_value_union_int_int_range),
8477 (gst_value_union_int_range_int_range),
8478 (gst_value_intersect_int_int_range),
8479 (gst_value_intersect_int_range_int_range),
8480 (gst_value_intersect_double_double_range),
8481 (gst_value_intersect_double_range_double_range),
8482 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
8483 (gst_value_subtract_int_range_int),
8484 (gst_value_subtract_double_range_double),
8485 (gst_value_subtract_double_range_double_range),
8486 (gst_value_subtract_from_list), (gst_value_subtract_list),
8487 (gst_value_can_compare), (gst_value_compare_fraction):
8488 Cleanups, add comments, remove unneeded asserts.
8490 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8492 * tools/gst-launch.c: (event_loop):
8493 don't convert NULL structures to strings
8495 2005-08-15 Stefan Kost <ensonic@users.sf.net>
8497 * docs/gst/gstreamer-sections.txt:
8498 made some defines private
8499 * docs/gst/tmpl/gstconfig.sgml:
8500 * docs/gst/tmpl/gstqueue.sgml:
8501 * docs/gst/tmpl/gsttaglist.sgml:
8502 * docs/gst/tmpl/gsttypes.sgml:
8503 * docs/gst/tmpl/gstutils.sgml:
8504 * docs/pwg/appendix-porting.xml:
8505 * gst/base/gstbasesink.h:
8506 * gst/base/gstbasesrc.c:
8507 * gst/base/gstbasesrc.h:
8508 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
8509 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8510 * gst/gstelement.c: (gst_element_class_init):
8511 * gst/gstpad.c: (gst_pad_class_init):
8512 * gst/gstqueue.c: (gst_queue_class_init):
8513 * gst/gstxml.c: (gst_xml_class_init):
8514 documented all undocumented signal inline
8515 * libs/gst/controller/gst-controller.h:
8518 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8520 * docs/pwg/appendix-porting.xml:
8521 Document _set_link_function -> _set_setcaps_function.
8523 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8525 * check/Makefile.am:
8526 add a .check target for running the check
8527 * check/gst-libs/controller.c: (GST_START_TEST):
8529 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8530 complete checks for gstbuffer; would be nice if I could get the
8531 gcov stuff to work so I can see if I actually completed gstbuffer.c
8533 add ASSERT_BUFFER_REFCOUNT
8535 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
8537 * docs/gst/gstreamer-sections.txt:
8538 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8540 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8541 spew out a warning if a tag that is already registered
8542 is re-registered, unless it is re-registered with a
8543 different type (#308438).
8545 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
8547 * docs/pwg/appendix-porting.xml:
8548 * docs/pwg/building-state.xml:
8549 Add some paragraphs about state changes in 0.9 to the PWG
8550 and the porting guide, in particular about the new meaning
8551 of GST_STATE_PAUSED and how to write state change functions
8552 with concurrent access by multiple threads in mind.
8554 2005-08-11 Stefan Kost <ensonic@users.sf.net>
8556 * docs/gst/gstreamer-docs.sgml:
8557 * docs/libs/gstreamer-libs-docs.sgml:
8558 added deprecation and since indexes
8559 * libs/gst/controller/gst-controller.c:
8560 * libs/gst/controller/gst-helper.c:
8564 2005-08-11 Wim Taymans <wim@fluendo.com>
8566 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8567 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8568 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8569 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8570 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8571 (gst_ghost_pad_set_target):
8572 Actually implement (re)setting the target on a ghostpad
8573 as described in the docs.
8575 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8577 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8578 Check whether GST_DEBUG_NO_COLOR environment variable is
8579 set and disable coloured debug output if that is the case.
8581 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8583 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8584 (gst_type_find_helper):
8585 The memory returned by gst_type_find_peek() needs to
8586 stay valid until the end of a typefind function, and
8587 typefind functions may keep results from different
8588 offsets around, so we can't just unref the buffer from
8589 the previous _peek(), but have to save all buffers
8590 returned by _peek() until typefinding is done and only
8593 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
8595 * docs/gst/gstreamer-sections.txt:
8597 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8599 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8601 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8602 Fix a pretty good memleak.
8604 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8606 * gst/gstiterator.h:
8607 Fix wrong include and 'make distcheck'.
8609 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8611 * gst/gstbin.c: (bin_bus_handler):
8612 Use gst_element_post_message() instead.
8614 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8616 * gst/base/gstadapter.h:
8617 * gst/base/gstbasesink.h:
8618 * gst/base/gstbasesrc.h:
8619 * gst/base/gstbasetransform.h:
8620 * gst/base/gstcollectpads.h:
8621 * gst/base/gstpushsrc.h:
8622 * gst/gstiterator.h:
8623 Add padding to our base elements' class and instance structs and
8624 to GstIterator (you will need to rebuild all plugins and apps!)
8626 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8628 * gst/gstbin.c: (bin_bus_handler):
8629 Make default message forwarding from child->bus to bin->bus
8630 threadsafe and make it not emit warnings if the parent has no bus.
8632 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8634 * gst/gstelement.c: (activate_pads):
8635 On paused->ready, set pad->caps to NULL, as is the documented
8636 behaviour in this state change. Fixes playback of series of
8637 media files when visualization is enabled in Totem.
8639 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8641 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8642 Allow NULL as filter-caps (which means "any").
8644 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8646 * docs/libs/gstreamer-libs-sections.txt:
8647 * libs/gst/controller/gst-controller.c:
8648 * libs/gst/controller/gst-controller.h:
8649 * libs/gst/controller/gst-helper.c:
8650 adding more entries to the docs and fix small doc-bugs
8652 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8654 * docs/gst/gstreamer-docs.sgml:
8655 * docs/gst/gstreamer-sections.txt:
8656 * docs/gst/gstreamer.types:
8657 * docs/gst/tmpl/gstbasesink.sgml:
8658 * docs/gst/tmpl/gstbasesrc.sgml:
8659 * docs/gst/tmpl/gstbasetransform.sgml:
8660 * docs/gst/tmpl/gstfakesrc.sgml:
8661 * gst/base/gstcollectpads.c:
8662 * gst/base/gstcollectpads.h:
8663 * libs/gst/controller/gst-controller.c:
8664 * libs/gst/controller/gst-controller.h:
8665 * libs/gst/controller/gst-helper.c:
8666 * libs/gst/controller/gst-interpolation.c:
8667 * libs/gst/controller/lib.c:
8668 added long/short desc for controller docs
8669 added collectpads base class docs
8670 added correct includes to base-class docs
8672 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8674 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8675 (gst_test_mono_source_set_property),
8676 (gst_test_mono_source_class_init), (GST_START_TEST),
8677 (gst_controller_suite):
8678 * docs/gst/gstreamer-docs.sgml:
8679 * docs/gst/gstreamer-sections.txt:
8680 * docs/gst/gstreamer.types:
8681 * docs/libs/gstreamer-libs-docs.sgml:
8682 * docs/libs/gstreamer-libs-sections.txt:
8683 * gst/base/gstadapter.c:
8684 * libs/gst/controller/gst-controller.c:
8685 (gst_controlled_property_new), (gst_controlled_property_free),
8686 (gst_controller_new_valist),
8687 (gst_controller_remove_properties_valist),
8688 (gst_controller_sink_values), (_gst_controller_finalize):
8689 * libs/gst/controller/gst-controller.h:
8690 * libs/gst/controller/gst-helper.c:
8691 (gst_object_control_properties), (gst_object_uncontrol_properties),
8692 (gst_object_get_controller), (gst_object_set_controller),
8693 (gst_object_sink_values), (gst_object_get_value_arrays),
8694 (gst_object_get_value_array):
8695 more tests (and fixes) for the controller
8696 more docs for the controller
8697 integrated companies docs for the adapter
8699 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
8701 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8702 (GST_START_TEST), (fakesrc_suite):
8703 add tests for sizetype
8705 2005-08-04 Andy Wingo <wingo@pobox.com>
8707 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8708 fixes buffer_alloc proxying among other things.
8710 * gst/base/gstbasetransform.c:
8711 * gst/base/gstbasetransform.h:
8712 Revert patch to gstbasetransform from 7-28 removing
8715 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8716 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8717 Semantics changed, should return not the size of the output buffer
8718 but the byte size of a buffer with a given caps.
8720 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8722 (gst_base_transform_configure_caps): Don't set out_size here: (in,
8723 out) are not the pad caps until setcaps finishes.
8724 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8725 not-in-place case as well. Deal with changing from in-place to
8726 not-in-place within calling pad_alloc_buffer. Still a bit
8727 concerned about the overhead here...
8729 2005-08-03 Andy Wingo <wingo@pobox.com>
8731 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8732 fixating is an error.
8734 2005-08-04 Edward Hervey <edward@fluendo.com>
8736 * gst/base/gstadapter.h:
8737 Added gst_adapter_get_type() to the header
8739 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8741 * check/Makefile.am:
8742 * check/gst-libs/controller.c:
8743 * libs/gst/controller/gst-controller.c:
8744 (gst_controller_new_valist):
8745 added check test suite for the controller
8746 * gst/base/gstpushsrc.c:
8749 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8751 * docs/gst/Makefile.am:
8752 * docs/gst/gstreamer-docs.sgml:
8753 * docs/gst/gstreamer-sections.txt:
8754 * docs/gst/gstreamer.types:
8755 * docs/gst/tmpl/gstfakesrc.sgml:
8757 * gst/base/gstbasesink.c:
8758 * gst/base/gstbasesink.h:
8759 * gst/base/gstbasesrc.c:
8760 * gst/base/gstbasesrc.h:
8761 * gst/base/gstbasetransform.c:
8762 * gst/base/gstpushsrc.c:
8763 * gst/base/gstpushsrc.h:
8764 add short/long description docs to base classes
8765 add pushsrc to the docs
8766 remove consolidated doc fragments
8768 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8771 * docs/libs/Makefile.am:
8772 * docs/libs/gstreamer-libs-docs.sgml:
8773 * docs/libs/gstreamer-libs-sections.txt:
8774 * docs/libs/gstreamer-libs.types:
8775 * examples/Makefile.am:
8776 * examples/controller/.cvsignore:
8777 * examples/controller/Makefile.am:
8778 * examples/controller/audio-example.c: (main):
8779 * libs/gst/Makefile.am:
8780 * libs/gst/controller/.cvsignore:
8781 * libs/gst/controller/Makefile.am:
8782 * libs/gst/controller/gst-controller.c:
8783 (on_object_controlled_property_changed), (gst_timed_value_compare),
8784 (gst_timed_value_find),
8785 (gst_controlled_property_set_interpolation_mode),
8786 (gst_controlled_property_new), (gst_controlled_property_free),
8787 (gst_controller_find_controlled_property),
8788 (gst_controller_new_valist), (gst_controller_new),
8789 (gst_controller_remove_properties_valist),
8790 (gst_controller_remove_properties), (gst_controller_set),
8791 (gst_controller_set_from_list), (gst_controller_unset),
8792 (gst_controller_get), (gst_controller_get_all),
8793 (gst_controller_sink_values), (gst_controller_get_value_arrays),
8794 (gst_controller_get_value_array),
8795 (gst_controller_set_interpolation_mode),
8796 (_gst_controller_finalize), (_gst_controller_init),
8797 (_gst_controller_class_init), (gst_controller_get_type):
8798 * libs/gst/controller/gst-controller.h:
8799 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8800 (g_object_uncontrol_properties), (g_object_get_controller),
8801 (g_object_set_controller), (g_object_sink_values),
8802 (g_object_get_value_arrays), (g_object_get_value_array):
8803 * libs/gst/controller/gst-interpolation.c:
8804 (gst_controlled_property_find_timed_value_node),
8805 (interpolate_none_get), (interpolate_trigger_get),
8806 (interpolate_trigger_get_value_array):
8807 * libs/gst/controller/lib.c: (gst_controller_init):
8808 * pkgconfig/Makefile.am:
8809 * pkgconfig/gstreamer-control-uninstalled.pc.in:
8810 * pkgconfig/gstreamer-control.pc.in:
8811 * testsuite/Makefile.am:
8812 * testsuite/controller/.cvsignore:
8813 * testsuite/controller/Makefile.am:
8814 * testsuite/controller/interpolator.c: (main):
8815 added controller code
8816 removed dparam pc files
8818 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8819 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8820 (gst_collectpads_stop):
8821 Broadcast the condition when shutting down, to make sure we wake all
8822 threads up. Shut down pads on finalize, for safety.
8824 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8825 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8826 (gst_base_transform_handle_buffer),
8827 (gst_base_transform_change_state):
8828 Handle PAUSED->READY->PAUSED transition after negotiation
8830 * gst/gstmessage.c: (gst_message_init):
8831 Extra piece of debug for new messages.
8833 2005-08-01 Stefan Kost <ensonic@users.sf.net>
8836 * docs/gst/tmpl/gstbasesrc.sgml:
8837 * docs/gst/tmpl/gstelement.sgml:
8838 * docs/gst/tmpl/gstevent.sgml:
8839 * docs/gst/tmpl/gstfakesrc.sgml:
8840 * docs/gst/tmpl/gstformat.sgml:
8841 * docs/gst/tmpl/gstghostpad.sgml:
8842 * docs/gst/tmpl/gstpad.sgml:
8843 * docs/gst/tmpl/gstquery.sgml:
8844 * docs/gst/tmpl/gststructure.sgml:
8845 * docs/gst/tmpl/gsttaglist.sgml:
8846 * docs/gst/tmpl/gstvalue.sgml:
8847 * docs/libs/gstreamer-libs-docs.sgml:
8848 * docs/libs/gstreamer-libs-sections.txt:
8849 * docs/libs/gstreamer-libs.types:
8850 * libs/gst/Makefile.am:
8851 * libs/gst/control/.cvsignore:
8852 * libs/gst/control/Makefile.am:
8853 * libs/gst/control/control.c:
8854 * libs/gst/control/control.h:
8855 * libs/gst/control/dparam.c:
8856 * libs/gst/control/dparam.h:
8857 * libs/gst/control/dparam_smooth.c:
8858 * libs/gst/control/dparam_smooth.h:
8859 * libs/gst/control/dparamcommon.h:
8860 * libs/gst/control/dparammanager.c:
8861 * libs/gst/control/dparammanager.h:
8862 * libs/gst/control/dplinearinterp.c:
8863 * libs/gst/control/dplinearinterp.h:
8864 * libs/gst/control/unitconvert.c:
8865 * libs/gst/control/unitconvert.h:
8866 * testsuite/Makefile.am:
8867 * testsuite/dynparams/.cvsignore:
8868 * testsuite/dynparams/Makefile.am:
8869 * testsuite/dynparams/dparamstest.c:
8870 * tools/Makefile.am:
8871 * tools/gst-inspect.c: (print_element_info), (main):
8872 * tools/gst-xmlinspect.c: (print_element_info), (main):
8873 deactivate and remove dparams (libgstcontrol)
8875 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8877 * gst/elements/gsttypefindelement.c:
8878 (gst_type_find_element_have_type), (gst_type_find_element_init),
8879 (stop_typefinding), (gst_type_find_element_handle_event),
8880 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8881 * gst/elements/gsttypefindelement.h:
8882 Set caps on all outgoing buffers, not just the first one.
8884 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8886 * gst/elements/gsttypefindelement.c:
8887 (gst_type_find_element_have_type),
8888 (gst_type_find_element_check_set_buffer_caps),
8889 (gst_type_find_element_init), (stop_typefinding),
8890 (gst_type_find_element_handle_event),
8891 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8892 * gst/elements/gsttypefindelement.h:
8893 Set caps on first outgoing buffer when we've found the type.
8895 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8897 * docs/gst/gstreamer-docs.sgml:
8898 * docs/gst/gstreamer-sections.txt:
8899 * docs/gst/tmpl/gstscheduler.sgml:
8900 * docs/gst/tmpl/gstschedulerfactory.sgml:
8901 Remove some old cruft from docs.
8903 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
8906 Fix inline docs for GstPadLinkReturn.
8908 * gst/gststructure.c: (gst_structure_has_name):
8909 * gst/gststructure.h:
8910 * docs/gst/gstreamer-sections.txt:
8911 New API: gst_structure_has_name().
8913 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
8916 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8917 and _LARGEFILE_SOURCE in config.h as required. Do not
8918 export those flags in our .pc files any longer (#142209).
8920 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8922 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8923 (gst_file_sink_do_seek), (gst_file_sink_event),
8924 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8925 Redo seek/tell calls with large file support in mind; add some
8926 debugging messages; add log message that tells us when large
8927 file support is unavailable or not enabled for some reason.
8929 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8930 Add log message that tells us when large file support
8931 is unavailable or not enabled for some reason.
8933 2005-07-29 Wim Taymans <wim@fluendo.com>
8935 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8936 Added test for removing an element with ghostpad from a bin.
8937 Fixed test as current implementation does the right thing.
8939 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8940 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8941 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8942 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8943 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8944 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8945 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8946 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8947 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8948 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8949 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8950 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8951 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8952 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8953 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8954 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8955 * gst/gstghostpad.h:
8956 Clean up ghostpads, remove properties for internal stuff.
8959 Prepare for switching targets, not all use cases work yet.
8961 2005-07-29 Wim Taymans <wim@fluendo.com>
8963 * docs/design/part-gstghostpad.txt:
8966 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8967 (gst_bin_remove_func):
8968 Unlinking pads while holding the bin LOCK is not a good
8971 * gst/gstpad.c: (gst_pad_class_init),
8972 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8973 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8974 No prob setting template after creating the pad.
8976 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
8978 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8979 (gst_bus_peek), (gst_bus_source_dispatch),
8980 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8981 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8982 gst_bus_poll may be called from other threads. Handle
8983 this nicely by not making poll_data disappear off the
8984 stack once gst_bus_poll returns.
8985 gst_bus_peek now increments the refcount on the returned
8988 2005-07-29 Wim Taymans <wim@fluendo.com>
8990 * docs/design/part-gstghostpad.txt:
8991 Overview of current GhostPad datastructures and use
8992 cases for changing the target.
8994 2005-07-28 Wim Taymans <wim@fluendo.com>
8996 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8997 Added checks for hierarchy consistency whan adding linked
9000 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9001 Added check to test element scheduling without bin/pipeline.
9003 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9004 First add elements to bin, then link.
9006 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
9007 (gst_bin_remove_func):
9008 Unlink pads from elements added/removed from bin to maintain
9009 hierarchy consistency.
9011 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9013 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
9014 (gst_base_transform_handle_buffer):
9015 * gst/base/gstbasetransform.h:
9016 Remove broken delay_configure (fixes renegotiation of software
9017 scaling pipelines); remove some leftover printf()s.
9019 2005-07-28 Wim Taymans <wim@fluendo.com>
9021 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9022 Added some more tests for wrong hierarchy
9024 * docs/design/part-overview.txt:
9027 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
9030 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
9031 (gst_element_dispose):
9034 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9035 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
9036 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9037 (gst_pad_set_caps), (gst_pad_send_event):
9038 Check for correct hierarchy when linking pads. Moving to
9039 strict requirement for ghostpads when linking elements in
9043 Clean ups. Added WRONG_HIERARCHY return value.
9045 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9047 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9048 Better debug if no transform is possible.
9050 2005-07-27 Wim Taymans <wim@fluendo.com>
9052 * docs/random/wtay/network-transp:
9055 2005-07-27 Wim Taymans <wim@fluendo.com>
9057 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9058 (gst_dp_event_from_packet):
9059 Fix serialization of seek events.
9061 2005-07-27 Wim Taymans <wim@fluendo.com>
9063 * check/gst-libs/gdp.c: (GST_START_TEST):
9064 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9065 Fix compilation and fix event serialization.
9067 2005-07-27 Wim Taymans <wim@fluendo.com>
9070 * docs/design/part-TODO.txt:
9071 * docs/design/part-events.txt:
9074 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9075 (gst_base_sink_event), (gst_base_sink_do_sync),
9076 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
9077 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9078 (gst_base_src_do_seek), (gst_base_src_event_handler),
9079 (gst_base_src_loop):
9080 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9081 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9082 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9083 (gst_base_transform_event), (gst_base_transform_handle_buffer),
9084 (gst_base_transform_set_passthrough),
9085 (gst_base_transform_is_passthrough):
9086 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9087 * gst/elements/gstfilesink.c: (gst_file_sink_event):
9093 * gst/gstelement.c: (gst_element_seek):
9095 Update gst_element_seek.
9097 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
9098 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
9099 (gst_event_new_flush_start), (gst_event_new_flush_stop),
9100 (gst_event_new_eos), (gst_event_new_newsegment),
9101 (gst_event_parse_newsegment), (gst_event_new_tag),
9102 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
9103 (gst_event_parse_qos), (gst_event_new_seek),
9104 (gst_event_parse_seek), (gst_event_new_navigation):
9106 Make GstEvent use GstStructure. Add parsing code, make sure the
9107 API is sufficiently generic.
9108 Mark possible directions of events and serialization.
9110 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
9111 (_gst_message_copy), (gst_message_new_segment_start),
9112 (gst_message_new_segment_done), (gst_message_new_custom),
9113 (gst_message_parse_segment_start),
9114 (gst_message_parse_segment_done):
9117 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9118 (gst_pad_set_caps), (gst_pad_send_event):
9119 Update for new events.
9120 Catch events sent in wrong directions.
9122 * gst/gstqueue.c: (gst_queue_link_src),
9123 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
9124 (gst_queue_handle_src_query):
9129 Remove event code from this file.
9131 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9132 (gst_dp_event_from_packet):
9135 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9137 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
9138 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9139 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
9140 Make debugging actually useful.
9142 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9144 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
9145 (gst_pad_fixate_caps):
9146 Implement default fixation once again, so that gst_pad_fixate()
9147 actually does anything at all. This probably needs to be some
9148 sort of a last resort, and use profile-based fixation first, but
9149 since that doesn't exist yet, this is the best we have. Fixes
9150 visualization in Totem.
9152 2005-07-22 Wim Taymans <wim@fluendo.com>
9154 * docs/design/part-events.txt:
9157 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9158 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
9159 (gst_base_sink_activate_pull):
9162 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
9163 (gst_fake_src_create):
9164 Fix handoff marshall.
9166 * gst/elements/gstidentity.c: (gst_identity_class_init),
9167 (gst_identity_transform_ip):
9168 We're a real inplace element.
9170 * gst/gstbus.c: (gst_bus_post):
9171 Added some comments.
9173 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
9174 * tests/muxing/case1.c: (main):
9175 * tests/sched/dynamic-pipeline.c: (main):
9176 * tests/sched/interrupt1.c: (main):
9177 * tests/sched/interrupt2.c: (main):
9178 * tests/sched/interrupt3.c: (main):
9179 * tests/sched/runxml.c: (main):
9180 * tests/sched/sched-stress.c: (main):
9181 * tests/seeking/seeking1.c: (event_received), (main):
9182 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
9184 * tests/threadstate/threadstate3.c: (main):
9185 * tests/threadstate/threadstate4.c: (main):
9186 * tests/threadstate/threadstate5.c: (main):
9189 2005-07-21 Wim Taymans <wim@fluendo.com>
9191 * docs/design/part-seeking.txt:
9192 Some small additions.
9194 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9195 (gst_base_sink_get_times), (gst_base_sink_do_sync),
9196 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
9197 * gst/base/gstbasesink.h:
9198 discont values are gint64, handle the math correctly.
9200 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9201 Make the basesrc report error if the source pad is not linked.
9203 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
9204 (gst_queue_loop), (gst_queue_handle_src_query),
9205 (gst_queue_src_activate_push):
9206 Make queue collect data even if the srcpad is not linked.
9207 Start pushing out data as soon as it is linked.
9209 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
9211 Added gst_flow_get_name() to ease error reporting.
9213 2005-07-20 Wim Taymans <wim@fluendo.com>
9215 * gst/gstmessage.c: (gst_message_new_segment_start),
9216 (gst_message_new_segment_done), (gst_message_parse_segment_start),
9217 (gst_message_parse_segment_done):
9219 Added a bunch of messages for advanced seeking.
9221 * gst/parse/grammar.y:
9222 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
9223 (gst_dpman_state_changed):
9224 Fix some new-pad -> pad-added signals
9226 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9228 * docs/manual/appendix-porting.xml:
9229 * docs/pwg/appendix-porting.xml:
9230 Document new-pad/state-change signal renames and the FixedList
9233 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9235 * docs/manual/advanced-autoplugging.xml:
9236 * docs/manual/basics-helloworld.xml:
9237 * docs/manual/basics-pads.xml:
9238 * docs/random/ds/0.9-suggested-changes:
9239 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
9244 * gst/gststructure.c: (gst_structure_value_get_generic_type),
9245 (gst_structure_parse_array), (gst_structure_parse_value):
9246 * gst/gstvalue.c: (gst_type_is_fixed),
9247 (gst_value_list_prepend_value), (gst_value_list_append_value),
9248 (gst_value_list_get_size), (gst_value_list_get_value),
9249 (gst_value_transform_array_string), (gst_value_serialize_array),
9250 (gst_value_deserialize_array), (gst_value_intersect_array),
9251 (gst_value_is_fixed), (_gst_value_initialize):
9253 GstElement::new-pad -> pad-added, GstElement::state-change ->
9254 state-changed, GstValueFixedList -> GstValueArray, add format and
9255 flags as their own arguments in gst_element_seek() (should improve
9256 "bindeability"), remove function generators since they don't work
9257 under a whole bunch of compilers (they were deprecated already
9260 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9262 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
9263 (_gst_debug_register_funcptr):
9265 Fix illegal cast on some platforms (#309253).
9267 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9269 * gst/gstmessage.c: (gst_message_new_custom):
9271 Add _new_custom, make _new_application a macro to _new_custom.
9273 2005-07-20 Wim Taymans <wim@fluendo.com>
9275 * gst/base/gstbasesrc.c: (gst_base_src_init),
9276 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
9277 * gst/base/gstbasesrc.h:
9278 Add a gboolean to decide when to push out a discont.
9280 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9281 (gst_queue_loop), (gst_queue_handle_src_query),
9282 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
9283 (gst_queue_set_property), (gst_queue_get_property):
9286 * tests/threadstate/threadstate1.c: (main):
9287 Make a thread test compile and run... very silly..
9290 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9292 * docs/manual/appendix-porting.xml:
9293 Mention removal of libgstgconf-0.9.la and existence of gconf
9296 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9298 * docs/pwg/advanced-clock.xml:
9299 * docs/pwg/appendix-porting.xml:
9300 * docs/pwg/intro-preface.xml:
9301 * docs/pwg/other-base.xml:
9302 * docs/pwg/other-manager.xml:
9303 * docs/pwg/other-nton.xml:
9304 * docs/pwg/other-ntoone.xml:
9305 * docs/pwg/other-oneton.xml:
9307 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
9308 demuxer), remove n-to-n (was never written), fix some code examples
9309 and links and update the porting section to include all this.
9311 2005-07-19 Wim Taymans <wim@fluendo.com>
9313 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
9314 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
9315 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
9316 (gst_queue_src_activate_push), (gst_queue_change_state),
9317 (gst_queue_get_property):
9319 Propagate GstFlowReturn more intelligently upstream and output
9320 an ERROR/EOS when streaming stopped due to fatal error.
9322 2005-07-19 Wim Taymans <wim@fluendo.com>
9324 * tools/gst-launch.c: (check_intr), (event_loop), (main):
9325 Don't block forever for the state change to complete, the
9326 pipeline already did with a sensible timeout.
9328 2005-07-19 Wim Taymans <wim@fluendo.com>
9330 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9331 Make sure we never call the create function is we
9334 2005-07-19 Andy Wingo <wingo@pobox.com>
9336 * gst/parse/parse.l: Attempt to solve bug #172815.
9338 2005-07-19 Wim Taymans <wim@fluendo.com>
9340 * docs/design/part-clocks.txt:
9341 * docs/design/part-events.txt:
9342 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
9344 Only update the seeking values when we are not
9347 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
9349 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9350 Oops, ignore the result of gst_pad_push_event here.
9352 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
9354 * gst/base/gstbasesrc.c: (gst_base_src_loop),
9355 (gst_base_src_activate_push):
9356 Send discont event from the loop function, as pads
9357 aren't activated yet in the activate_push handler.
9359 * gst/gstbin.c: (bin_bus_handler):
9360 Don't leak element name.
9362 2005-07-18 Andy Wingo <wingo@pobox.com>
9364 * configure.ac: Use AS_LIBTOOL_TAGS.
9366 2005-07-18 Wim Taymans <wim@fluendo.com>
9368 * docs/gst/gstreamer.types:
9369 Remove deleted types.
9371 2005-07-18 Wim Taymans <wim@fluendo.com>
9373 * check/elements/gstfakesrc.c: (GST_START_TEST):
9376 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
9377 (init_popt_callback):
9379 * gst/gst_private.h:
9380 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
9381 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
9384 * gst/gstconfig.h.in:
9385 * gst/gstelement.c: (gst_element_class_init),
9386 (gst_element_set_base_time), (gst_element_get_base_time),
9387 (iterator_fold_with_resync), (gst_element_change_state),
9388 (gst_element_dispose), (gst_element_get_bus):
9390 * gst/gstelementfactory.h:
9391 * gst/gsterror.c: (_gst_core_errors_init):
9394 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9396 * gst/gstinfo.c: (_gst_debug_init):
9397 * gst/gstmessage.c: (_gst_message_copy):
9399 * gst/gstminiobject.h:
9402 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9403 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
9406 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9407 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9408 (gst_pipeline_get_last_stream_time):
9409 * gst/gstpipeline.h:
9410 * gst/gstpluginfeature.h:
9412 * gst/gstscheduler.c:
9413 * gst/gstscheduler.h:
9414 * gst/gststructure.h:
9415 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9416 (gst_task_finalize), (gst_task_func), (gst_task_create),
9417 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
9418 (gst_task_stop), (gst_task_pause):
9420 * gst/gsttypefind.h:
9422 * gst/registries/gstlibxmlregistry.c: (load_feature),
9423 (gst_xml_registry_load), (gst_xml_registry_save_feature):
9424 * gst/registries/gstxmlregistry.c:
9425 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
9426 * gst/schedulers/threadscheduler.c:
9427 * libs/gst/control/dparammanager.h:
9428 * tools/gst-inspect.c: (print_element_list),
9429 (print_plugin_features), (print_element_features):
9430 * tools/gst-xmlinspect.c: (print_element_list),
9431 (print_plugin_info), (main):
9432 Removed plugable schedulers.
9433 Removed Scheduler/Manager from elements.
9434 Removed gsttypes.h, rearranged includes.
9435 Removed dependency pad<->element, element<>pipeline, and
9436 various others, fix includes.
9437 implement gst_pad_get_parent() with gst_object_get_parent()
9438 Make GstTask sefcontained.
9439 Fix _get_state() on GstBin, it did not return ASYNC with a 0
9441 Fix endless loop in iterator_fold_with_resync.
9444 2005-07-18 Wim Taymans <wim@fluendo.com>
9450 2005-07-18 Wim Taymans <wim@fluendo.com>
9455 2005-07-18 Wim Taymans <wim@fluendo.com>
9461 2005-07-18 Wim Taymans <wim@fluendo.com>
9463 * docs/design/part-dynamic.txt:
9464 * docs/design/part-events.txt:
9465 * docs/design/part-seeking.txt:
9466 Some more docs in the works.
9468 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9469 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
9470 (gst_base_transform_setcaps), (gst_base_transform_get_size),
9471 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
9472 (gst_base_transform_handle_buffer),
9473 (gst_base_transform_sink_activate_push),
9474 (gst_base_transform_src_activate_pull),
9475 (gst_base_transform_set_passthrough),
9476 (gst_base_transform_is_passthrough):
9479 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
9482 * gst/gstevent.c: (gst_event_finalize):
9485 * gst/gstutils.c: (gst_element_unlink),
9486 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
9487 (gst_pad_proxy_setcaps):
9489 Add _get_parent_element() to get a pads parent as an element.
9491 2005-07-18 Wim Taymans <wim@fluendo.com>
9493 * check/gst/gstbin.c: (GST_START_TEST):
9496 2005-07-18 Wim Taymans <wim@fluendo.com>
9498 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9499 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9500 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9501 (gst_base_sink_event), (gst_base_sink_do_sync),
9502 (gst_base_sink_chain), (gst_base_sink_loop),
9503 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
9504 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
9506 Fix logic for returning ASYNC when not prerolled.
9508 2005-07-18 Wim Taymans <wim@fluendo.com>
9510 * gst/gstqueue.c: (gst_queue_handle_sink_event):
9511 Fix nasty refcount bug.
9513 2005-07-16 Philippe Khalaf <burger@speedy.org>
9515 * gst/elements/gstfdsrc.c:
9516 * gst/elements/gstfdsrc.h:
9517 * gst/elements/gstelements.c:
9518 * gst/elements/Makefile.am:
9519 Ported fdsrc to 0.9.
9521 2005-07-16 Wim Taymans <wim@fluendo.com>
9523 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9524 (gst_base_sink_do_sync):
9527 2005-07-16 Wim Taymans <wim@fluendo.com>
9529 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9530 (gst_base_sink_event), (gst_base_sink_get_times),
9531 (gst_base_sink_do_sync), (gst_base_sink_change_state):
9532 * gst/base/gstbasesink.h:
9533 Store and use discont values when syncing buffers as described
9536 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9537 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9538 (gst_base_src_activate_push):
9539 Push discont event when starting.
9541 * gst/elements/gstidentity.c: (gst_identity_transform):
9544 * gst/gstbin.c: (gst_bin_change_state):
9545 Small cleanups in base_time distribution.
9547 * gst/gstelement.c: (gst_element_set_base_time),
9548 (gst_element_get_base_time), (gst_element_change_state):
9550 Added methods for the base_time of the element.
9553 * gst/gstpipeline.c: (gst_pipeline_send_event),
9554 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9555 (gst_pipeline_get_last_stream_time):
9556 * gst/gstpipeline.h:
9558 Handle seeking as described in design doc, remove stream_time
9560 Cleanups clock and stream_time selection code. Added accessors
9561 for the stream_time.
9564 2005-07-16 Andy Wingo <wingo@pobox.com>
9566 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9569 2005-07-16 Wim Taymans <wim@fluendo.com>
9571 * check/gst/gstbin.c: (GST_START_TEST):
9572 Make elements silent as the deep_notify refs the
9573 parent, which might make the test fail.
9575 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9576 Don't hold the lock for too long.
9578 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
9580 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9581 Don't unref the caps we passed to gst_caps_make_writable() after
9582 passing them. gst_caps_make_writable() will do that for us.
9584 2005-07-15 Andy Wingo <wingo@pobox.com>
9586 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9589 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9590 own marshalling function for the handoff signal. Properly type the
9591 buffer as a buffer. Fixes some warnings. Should do a more general
9593 (gst_identity_class_init): Plug into the right marshaller.
9595 2005-07-15 Wim Taymans <wim@fluendo.com>
9597 * docs/design/part-TODO.txt:
9598 * docs/design/part-clocks.txt:
9599 * docs/design/part-element-sink.txt:
9600 * docs/design/part-events.txt:
9601 * docs/design/part-gstpipeline.txt:
9602 Updated docs, mostly DISCONT related.
9604 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
9606 * docs/pwg/building-pads.xml:
9607 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9609 2005-07-15 Andy Wingo <wingo@pobox.com>
9611 * tools/gst-typefind.c: Update, add copyright block.
9613 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9614 Normalize and truncate caps before fixation.
9617 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9618 discards all but the first structure from its argument.
9620 2005-07-15 Wim Taymans <wim@fluendo.com>
9622 * gst/base/gstbasetransform.c: (gst_base_transform_init),
9623 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9624 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9625 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9626 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9627 (gst_base_transform_chain), (gst_base_transform_change_state),
9628 (gst_base_transform_set_passthrough),
9629 (gst_base_transform_is_passthrough):
9630 * gst/base/gstbasetransform.h:
9631 Make passthrough work using the bufferpools.
9632 Changed API a bit, subclasses have to write into a buffer
9633 provided by the base class.
9634 More debug info in nego functions.
9636 * gst/elements/gstidentity.c: (gst_identity_init),
9637 (gst_identity_transform):
9638 Port to new base class.
9640 2005-07-15 Wim Taymans <wim@fluendo.com>
9642 * gst/gstmessage.c: (gst_message_new_state_changed):
9643 * tools/gst-launch.c: (event_loop), (main):
9644 Totally dump messages in -launch with the -m option.
9645 Fix message name for State messages,
9647 2005-07-14 Wim Taymans <wim@fluendo.com>
9649 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9650 Post error messages on errors.
9652 2005-07-14 Wim Taymans <wim@fluendo.com>
9654 * gst/gstcaps.c: (gst_caps_do_simplify):
9658 Define error for stream stopped.
9660 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9661 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9662 Do proper return values.
9664 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9665 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9666 (gst_pad_get_range):
9667 Better return values.
9670 Reorganise return values, add macro to check for fatal errors.
9672 * gst/gstqueue.c: (gst_queue_chain):
9673 Return proper GstFlowReturn values,
9675 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
9677 * docs/gst/gstreamer-sections.txt:
9678 * docs/gst/gstreamer.types:
9679 * docs/gst/tmpl/gst.sgml:
9680 * docs/gst/tmpl/gstbasesink.sgml:
9681 * docs/gst/tmpl/gstbasesrc.sgml:
9682 * docs/gst/tmpl/gstbasetransform.sgml:
9683 * docs/gst/tmpl/gstbin.sgml:
9684 * docs/gst/tmpl/gstbuffer.sgml:
9685 * docs/gst/tmpl/gstcaps.sgml:
9686 * docs/gst/tmpl/gstclock.sgml:
9687 * docs/gst/tmpl/gstcompat.sgml:
9688 * docs/gst/tmpl/gstconfig.sgml:
9689 * docs/gst/tmpl/gstelement.sgml:
9690 * docs/gst/tmpl/gstelementdetails.sgml:
9691 * docs/gst/tmpl/gstelementfactory.sgml:
9692 * docs/gst/tmpl/gstenumtypes.sgml:
9693 * docs/gst/tmpl/gsterror.sgml:
9694 * docs/gst/tmpl/gstevent.sgml:
9695 * docs/gst/tmpl/gstfakesink.sgml:
9696 * docs/gst/tmpl/gstfakesrc.sgml:
9697 * docs/gst/tmpl/gstfilesink.sgml:
9698 * docs/gst/tmpl/gstfilesrc.sgml:
9699 * docs/gst/tmpl/gstfilter.sgml:
9700 * docs/gst/tmpl/gstformat.sgml:
9701 * docs/gst/tmpl/gstghostpad.sgml:
9702 * docs/gst/tmpl/gstimplementsinterface.sgml:
9703 * docs/gst/tmpl/gstindex.sgml:
9704 * docs/gst/tmpl/gstindexfactory.sgml:
9705 * docs/gst/tmpl/gstinfo.sgml:
9706 * docs/gst/tmpl/gstiterator.sgml:
9707 * docs/gst/tmpl/gstmacros.sgml:
9708 * docs/gst/tmpl/gstmemchunk.sgml:
9709 * docs/gst/tmpl/gstminiobject.sgml:
9710 * docs/gst/tmpl/gstobject.sgml:
9711 * docs/gst/tmpl/gstpad.sgml:
9712 * docs/gst/tmpl/gstpadtemplate.sgml:
9713 * docs/gst/tmpl/gstparse.sgml:
9714 * docs/gst/tmpl/gstpipeline.sgml:
9715 * docs/gst/tmpl/gstplugin.sgml:
9716 * docs/gst/tmpl/gstpluginfeature.sgml:
9717 * docs/gst/tmpl/gstquery.sgml:
9718 * docs/gst/tmpl/gstqueue.sgml:
9719 * docs/gst/tmpl/gstregistry.sgml:
9720 * docs/gst/tmpl/gstregistrypool.sgml:
9721 * docs/gst/tmpl/gstscheduler.sgml:
9722 * docs/gst/tmpl/gstschedulerfactory.sgml:
9723 * docs/gst/tmpl/gststructure.sgml:
9724 * docs/gst/tmpl/gstsystemclock.sgml:
9725 * docs/gst/tmpl/gsttaglist.sgml:
9726 * docs/gst/tmpl/gsttagsetter.sgml:
9727 * docs/gst/tmpl/gsttrace.sgml:
9728 * docs/gst/tmpl/gsttrashstack.sgml:
9729 * docs/gst/tmpl/gsttypefind.sgml:
9730 * docs/gst/tmpl/gsttypefindfactory.sgml:
9731 * docs/gst/tmpl/gsttypes.sgml:
9732 * docs/gst/tmpl/gsturihandler.sgml:
9733 * docs/gst/tmpl/gsturitype.sgml:
9734 * docs/gst/tmpl/gstutils.sgml:
9735 * docs/gst/tmpl/gstvalue.sgml:
9736 * docs/gst/tmpl/gstversion.sgml:
9737 * docs/gst/tmpl/gstxml.sgml:
9738 * docs/libs/tmpl/gstcontrol.sgml:
9739 * docs/libs/tmpl/gstdataprotocol.sgml:
9740 * docs/libs/tmpl/gstdparam.sgml:
9741 * docs/libs/tmpl/gstdplinint.sgml:
9742 * docs/libs/tmpl/gstdpman.sgml:
9743 * docs/libs/tmpl/gstdpsmooth.sgml:
9744 * docs/libs/tmpl/gstgetbits.sgml:
9745 * docs/libs/tmpl/gstunitconvert.sgml:
9746 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9747 (gst_push_src_base_init), (gst_push_src_class_init),
9748 (gst_push_src_init), (gst_push_src_create):
9749 * gst/base/gstpushsrc.h:
9750 * gst/elements/gstelements.c:
9751 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9752 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9753 (gst_fake_sink_init), (gst_fake_sink_set_property),
9754 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9755 (gst_fake_sink_event), (gst_fake_sink_preroll),
9756 (gst_fake_sink_render), (gst_fake_sink_change_state):
9757 * gst/elements/gstfakesink.h:
9758 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9759 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9760 (gst_fake_src_base_init), (gst_fake_src_class_init),
9761 (gst_fake_src_init), (gst_fake_src_event_handler),
9762 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9763 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9764 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9765 (gst_fake_src_create_buffer), (gst_fake_src_create),
9766 (gst_fake_src_start), (gst_fake_src_stop):
9767 * gst/elements/gstfakesrc.h:
9768 * gst/elements/gstfilesink.c: (_do_init),
9769 (gst_file_sink_base_init), (gst_file_sink_class_init),
9770 (gst_file_sink_init), (gst_file_sink_dispose),
9771 (gst_file_sink_set_location), (gst_file_sink_set_property),
9772 (gst_file_sink_get_property), (gst_file_sink_open_file),
9773 (gst_file_sink_close_file), (gst_file_sink_query),
9774 (gst_file_sink_event), (gst_file_sink_render),
9775 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9776 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9777 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9778 * gst/elements/gstfilesink.h:
9779 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9780 (gst_file_src_class_init), (gst_file_src_init),
9781 (gst_file_src_finalize), (gst_file_src_set_location),
9782 (gst_file_src_set_property), (gst_file_src_get_property),
9783 (gst_file_src_map_region), (gst_file_src_map_small_region),
9784 (gst_file_src_create_mmap), (gst_file_src_create_read),
9785 (gst_file_src_create), (gst_file_src_is_seekable),
9786 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9787 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9788 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9789 (gst_file_src_uri_handler_init):
9790 * gst/elements/gstfilesrc.h:
9791 more autistic cleanliness in functions/names/defines
9793 2005-07-13 Andy Wingo <wingo@pobox.com>
9795 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9796 source couldn't negotiate.
9798 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9802 * gst/gstutils.c (gst_element_link_pads_filtered): New old
9803 function. I am channeling Hades. Put your boots on suckers!!!
9805 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9807 * testsuite/caps/Makefile.am:
9808 * testsuite/caps/value_compare.c:
9809 * testsuite/caps/value_intersect.c:
9810 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9811 move two testsuite apps over to the check dir
9813 2005-07-12 Wim Taymans <wim@fluendo.com>
9815 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9816 Added more debug info in the negotiate process.
9819 Prepare for segment playback.
9821 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9827 * tools/gst-launch.c: (main):
9828 NULL pipeline on errors.
9830 2005-07-12 Andy Wingo <wingo@pobox.com>
9832 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9833 not it comes from a malloc region. Make sure our copy gets freed.
9835 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9837 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9838 * check/gst/gstmessage.c: (GST_START_TEST):
9839 * check/gst/gststructure.c: (GST_START_TEST),
9840 (gst_structure_suite), (main):
9842 * gst/gstelement.c: (gst_element_message_full):
9843 clean up GError and debug string now that they get copied
9844 * gst/gstmessage.c: (gst_message_new_error),
9845 (gst_message_new_warning), (gst_message_parse_error),
9846 (gst_message_parse_warning):
9847 use GST_TYPE_G_ERROR for structure_new, and take copies of
9848 arguments, so that we don't mess up refcounting
9850 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9852 * check/Makefile.am:
9853 add per-test valgrind targets
9854 * check/gst-libs/gdp.c: (GST_START_TEST),
9855 (gst_data_protocol_suite), (main):
9858 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9860 * check/Makefile.am:
9861 instate more valgrindable tests
9862 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9863 (GST_START_TEST), (fakesrc_suite):
9864 * check/gst/gstpad.c: (GST_START_TEST):
9865 * check/gst/gststructure.c: (GST_START_TEST):
9867 * docs/gst/tmpl/gstminiobject.sgml:
9868 * gst/gstpad.c: (gst_pad_finalize):
9869 fix the static mutex leak
9871 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9873 * check/Makefile.am:
9874 add two more tests for valgrinding
9875 * check/gst/gstvalue.c: (GST_START_TEST):
9876 test refcount of deserialized buffer, found a leak
9877 * docs/gst/gstreamer-docs.sgml:
9878 * docs/gst/gstreamer-sections.txt:
9879 * docs/gst/gstreamer.types:
9880 * docs/gst/tmpl/gstminiobject.sgml:
9881 add miniobject to docs
9882 * gst/gstminiobject.c:
9884 * gst/gstvalue.c: (gst_value_deserialize_buffer),
9885 (gst_string_unwrap):
9886 fix a hard-to-find invalid write for one of the tests
9887 fix a leak for deserialized buffers
9889 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9891 * docs/pwg/advanced-events.xml:
9892 * docs/pwg/advanced-request.xml:
9893 * docs/pwg/advanced-scheduling.xml:
9894 * docs/pwg/appendix-porting.xml:
9895 * docs/pwg/building-boiler.xml:
9896 * docs/pwg/intro-preface.xml:
9897 * docs/pwg/other-ntoone.xml:
9898 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9899 of example code and explanation for pad activation, loop() and
9900 getrange() functions and a bit more. Remove old comments pointing
9902 * examples/pwg/Makefile.am:
9903 Add loop/getrange examples.
9905 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9908 check for valgrind binary + some fixes
9910 valgrind suppressions for the tests
9911 * check/Makefile.am:
9912 add a valgrind: target that valgrinds the unit tests
9913 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9914 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9915 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9916 * check/gst/gstghostpad.c:
9918 * check/gst/gstdata.c:
9920 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9921 (thread_unref), (gst_mini_object_suite), (main):
9923 * gst/gst.c: (gst_deinit):
9925 add a method to clean up.
9926 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9927 (gst_system_clock_obtain):
9928 allow for disposing the system clock.
9929 * tools/gst-launch.c: (main):
9932 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9934 * docs/gst/tmpl/gstbasesrc.sgml:
9935 * docs/gst/tmpl/gstfakesrc.sgml:
9936 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9937 (gst_base_src_init), (gst_base_src_set_property),
9938 (gst_base_src_get_property), (gst_base_src_get_range),
9939 (gst_base_src_start):
9940 * gst/base/gstbasesrc.h:
9941 add num-buffers property
9942 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9943 (gst_fakesrc_init), (gst_fakesrc_set_property),
9944 (gst_fakesrc_get_property), (gst_fakesrc_create),
9945 (gst_fakesrc_start):
9946 remove num-buffers property
9948 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9950 * docs/gst/gstreamer-sections.txt:
9951 * docs/gst/tmpl/gstbasesink.sgml:
9952 * docs/gst/tmpl/gstbasesrc.sgml:
9953 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9954 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9955 (gst_base_sink_finalize), (gst_base_sink_set_clock),
9956 (gst_base_sink_set_property), (gst_base_sink_get_property),
9957 (gst_base_sink_handle_object), (gst_base_sink_event),
9958 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9959 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9960 (gst_base_sink_loop), (gst_base_sink_deactivate),
9961 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9962 (gst_base_sink_change_state):
9963 * gst/base/gstbasesink.h:
9964 * gst/base/gstbasesrc.h:
9965 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9966 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9967 (gst_filesink_init):
9968 more macro splitting
9970 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9972 * gst/gstelement.c: (gst_element_get_bus):
9974 * tools/gst-launch.c: (check_intr), (event_loop):
9977 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9979 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9982 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9984 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9985 (gst_base_src_finalize):
9986 add finalize method and clean up properly
9987 * gst/gstpipeline.c: (gst_pipeline_dispose):
9990 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9992 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9994 add more things to check
9995 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9999 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
10001 * check/elements/gstfakesrc.c: (chain_func), (event_func),
10002 (GST_START_TEST), (fakesrc_suite):
10003 * check/gst-libs/gdp.c: (GST_START_TEST):
10004 * check/gst/gst.c: (GST_START_TEST):
10005 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
10006 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10007 * check/gst/gstbus.c: (GST_START_TEST):
10008 * check/gst/gstcaps.c: (GST_START_TEST):
10009 * check/gst/gstdata.c: (GST_START_TEST):
10010 * check/gst/gstelement.c: (GST_START_TEST):
10011 * check/gst/gstghostpad.c: (GST_START_TEST):
10012 * check/gst/gstiterator.c: (GST_START_TEST):
10013 * check/gst/gstmessage.c: (GST_START_TEST):
10014 * check/gst/gstobject.c: (GST_START_TEST):
10015 * check/gst/gstpad.c: (GST_START_TEST):
10016 * check/gst/gststructure.c: (GST_START_TEST):
10017 * check/gst/gstsystemclock.c: (GST_START_TEST),
10018 (gst_systemclock_suite):
10019 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10020 * check/gst/gstvalue.c: (GST_START_TEST):
10021 * check/pipelines/cleanup.c: (GST_START_TEST):
10022 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
10023 * check/states/sinks.c: (GST_START_TEST):
10024 * check/gstcheck.c: (gst_check_init):
10025 * check/gstcheck.h:
10026 add debugging category
10027 use GST_START_TEST now, so we add a debug line
10029 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
10031 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
10032 add test for state change message on a bin
10033 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
10035 * gst/gstbin.c: (gst_bin_init):
10036 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
10037 * gst/gstelement.c: (gst_element_post_message),
10038 (gst_element_set_state):
10039 * gst/gstelementfactory.c: (gst_element_factory_create):
10040 * gst/gstmessage.c: (gst_message_new):
10041 * gst/gstscheduler.c:
10042 various debugging additions and cleanups
10044 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
10046 * check/Makefile.am:
10047 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
10049 adding tests for elements
10050 * gst/gstelement.c: (gst_element_dispose):
10052 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
10054 * gst/registries/gstlibxmlregistry.c: (load_feature):
10055 plug more leaks. A simple gst_init() now is leakfree, yay.
10057 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
10059 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
10060 (gst_xml_registry_load):
10061 plug another memleak
10063 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
10066 use GST_SET_ERROR_CFLAGS
10067 * docs/faq/cvs.xml:
10068 change to ERROR_CFLAGS
10070 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
10073 make GST_ERROR_CFLAGS overridable and re-enable Werror
10074 * docs/faq/cvs.xml:
10075 add a note about error CFLAGS
10076 * docs/gst/tmpl/gstfakesrc.sgml:
10077 * gst/elements/gstfakesrc.c:
10078 comment out some unused code
10079 * gst/gst.c: (split_and_iterate):
10080 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
10084 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
10086 * common/Makefile.am:
10087 * common/gtk-doc.mak:
10088 * docs/gst/Makefile.am:
10089 factor out gtk-doc.mak
10091 2005-07-07 Wim Taymans <wim@fluendo.com>
10093 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
10094 (gst_thread_scheduler_dispose):
10095 Unlock the STREAM_LOCK completely.
10097 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
10099 * check/Makefile.am:
10100 * check/elements/.cvsignore:
10101 * check/elements/gstfakesrc.c: (chain_func), (event_func),
10102 (START_TEST), (fakesrc_suite), (main):
10103 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10104 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
10105 (gst_fakesrc_create), (gst_fakesrc_start):
10106 * gst/elements/gstfakesrc.h:
10107 adding a first element test
10109 2005-07-07 Andy Wingo <wingo@pobox.com>
10111 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
10114 2005-07-07 Wim Taymans <wim@fluendo.com>
10120 2005-07-07 Wim Taymans <wim@fluendo.com>
10122 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
10123 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
10124 Allow subclasses to implement their own negotiation.
10126 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
10128 * docs/design/part-gstbin.txt:
10129 * docs/design/part-gstpipeline.txt:
10130 Update design notes to reflect the movement of
10131 responsibility for bus handling from GstPipeline to
10134 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
10137 Remove unnecessary queue2/3/4 examples.
10139 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
10141 * examples/Makefile.am:
10142 * examples/helloworld/helloworld.c: (event_loop), (main):
10143 * examples/queue/queue.c: (event_loop), (main):
10144 * examples/queue2/queue2.c: (main):
10145 Update a couple of the examples to work again.
10147 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10148 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
10149 Spelling corrections and extra debug.
10151 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
10152 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
10153 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
10155 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
10156 (gst_pipeline_change_state):
10157 * gst/gstpipeline.h:
10158 Move the bus handler for children to the GstBin, and create a
10159 separate bus for receiving messages from children to the one the
10160 bus sends 'upwards' on.
10162 2005-07-06 Wim Taymans <wim@fluendo.com>
10165 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10166 (gst_base_sink_handle_object), (gst_base_sink_loop),
10167 (gst_base_sink_change_state):
10168 * gst/base/gstbasesink.h:
10169 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10170 (gst_base_src_init), (gst_base_src_setcaps),
10171 (gst_base_src_getcaps), (gst_base_src_loop),
10172 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
10173 (gst_base_src_start), (gst_base_src_change_state):
10174 * gst/base/gstbasesrc.h:
10175 Make basesrc negotiate.
10176 Handle the case where preroll fails in basesink.
10179 2005-07-06 Wim Taymans <wim@fluendo.com>
10181 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
10182 Implement the fixate function.
10183 Clean up acceptcaps.
10185 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10187 * docs/pwg/building-filterfactory.xml:
10188 * docs/pwg/pwg.xml:
10189 Remove never-written filter-factory chapter; I'll add the various
10190 base classes to part 4 ("other element types") later on.
10192 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10194 * docs/pwg/advanced-negotiation.xml:
10195 * docs/pwg/building-boiler.xml:
10196 * docs/pwg/building-pads.xml:
10197 * docs/pwg/pwg.xml:
10198 * examples/pwg/Makefile.am:
10199 Add a chapter on caps negotiation, simplify the original code
10200 samples a bit w.r.t. caps negotiation, add link to the advanced
10201 section. Add a bunch of examples showing different use cases of
10202 different types of caps negotiation. Upstream renegotiation isn't
10203 fully documented yet since nobody knows how that works.
10205 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
10207 * check/gst/gstpad.c:
10208 * check/gstcheck.c:
10209 * gst/gstpad.c: (gst_pad_get_internal_links_default):
10210 if pad has no parent, return NULL as list of internal links
10212 2005-07-05 Andy Wingo <wingo@pobox.com>
10214 * gst/elements/gstfilesrc.c:
10215 * gst/elements/gstfakesrc.c:
10216 * gst/base/gstpushsrc.c:
10217 * gst/base/gstbasesrc.h:
10218 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
10220 2005-07-05 Stefan Kost <ensonic@users.sf.net>
10223 better report generation target (lcov needs a patch)
10225 2005-07-05 Andy Wingo <wingo@pobox.com>
10227 * gst/elements, testsuite: Null if we got it...
10229 2005-07-05 Wim Taymans <wim@fluendo.com>
10232 * libs/gst/dataprotocol/Makefile.am:
10233 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
10234 * libs/gst/dataprotocol/dataprotocol.h:
10235 * pkgconfig/Makefile.am:
10236 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
10237 * pkgconfig/gstreamer-dataprotocol.pc.in:
10238 Ported dataprotol to 0.9.
10239 Added pkgconfig files.
10241 2005-07-05 Andy Wingo <wingo@pobox.com>
10243 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
10244 Default to returning TRUE for the case when tranform_caps returns
10245 a fixed caps, like for identity or volume.
10247 * check/gst/gstbus.c (pound_bus_with_messages):
10248 * check/gst/gstmessage.c (START_TEST):
10249 * check/pipelines/simple_launch_lines.c (got_handoff): Application
10250 message API change.
10252 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
10253 logic weaks here: always run transform_caps, trying passthrough
10254 operation only if the original caps intersects with the transform.
10256 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
10257 source and sink caps.
10259 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
10260 Intersect the peer caps with the pad template before going into
10262 (gst_base_transform_transform_caps): More debugging.
10264 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
10267 2005-07-04 Edward Hervey <edward@fluendo.com>
10271 (gst_pad_add_*_probe): now returns the signal id for better wrapping
10274 2005-07-04 Andy Wingo <wingo@pobox.com>
10276 * check/gst/gstpad.c: Only set explicit caps on pads.
10278 2005-07-01 Andy Wingo <wingo@pobox.com>
10280 * tests/network-clock.scm: Commentary update.
10282 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
10283 Didn't really make sense, not implementable with basetransform,
10285 (gst_identity_transform): Unref inbuf via make_writable. Feeble
10286 attempt at implementing the sync property, needs an unlock method.
10288 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
10289 New func, by default returns the same caps (the identity
10291 (gst_base_transform_getcaps): Uses transform_caps to return
10292 something sensible.
10293 (gst_base_transform_setcaps): Complicated logic to get caps on
10294 both pads, even if they are different, and to call set_caps once
10295 for every time both pads get their caps set.
10296 (gst_base_transform_handle_buffer): Give the ref to the transform
10297 function. Allows in-place modification of the buffer.
10299 * gst/base/gstbasetransform.h (transform_caps): New class method.
10300 Given caps on one side, what can I do on the other.
10301 (set_caps): Take two caps, one for each side of the element.
10304 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
10305 caps in place. This is safe because we can check the mutability of
10306 the caps, and a good idea because fixate functions are just called
10307 as a matter of last resort. (Not actually implemented.)
10308 (gst_pad_set_caps): If the caps we're setting is actually the same
10309 as the existing pad caps, just update the pointer without calling
10310 setcaps. Assert that caps is either NULL or fixed, as per the
10313 * gst/gstghostpad.c: Update for fixate changes.
10315 2005-07-02 Andy Wingo <wingo@pobox.com>
10318 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
10319 two refcounts makes it immutable, which is enough. Doc more.
10321 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
10323 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
10324 Put the mini_object into GValue as a mini_object,
10325 not a gpointer, since that's how we declared
10328 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10330 * examples/pwg/Makefile.am:
10331 Fix buildbot again.
10333 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10335 * docs/pwg/building-testapp.xml:
10337 * examples/pwg/Makefile.am:
10340 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10343 * examples/Makefile.am:
10344 * examples/pwg/Makefile.am:
10345 * examples/pwg/extract.pl:
10346 Enable building the PWG examples.
10347 * docs/pwg/advanced-interfaces.xml:
10348 Add URI interface stub.
10349 * docs/pwg/advanced-types.xml:
10350 * docs/pwg/other-autoplugger.xml:
10351 * docs/pwg/appendix-porting.xml:
10352 * docs/pwg/pwg.xml:
10353 Add porting guide (mostly stubs), remove autoplugging (see ADM).
10354 * docs/pwg/building-boiler.xml:
10355 * docs/pwg/building-chainfn.xml:
10356 * docs/pwg/building-pads.xml:
10357 * docs/pwg/building-props.xml:
10358 * docs/pwg/building-state.xml:
10359 * docs/pwg/building-testapp.xml:
10360 Update the building-*.xml parts for 0.9 changes. All examples
10361 code blocks compile in examples/pwg/*.
10363 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10365 * docs/manual/advanced-autoplugging.xml:
10366 * docs/manual/appendix-checklist.xml:
10367 * docs/manual/appendix-integration.xml:
10368 * docs/manual/highlevel-components.xml:
10369 Fix playbin/decodebin examples, update docs a bit, mention bus
10370 instead of signals in various places, mention kmplayer and
10371 kaffeine since they have a working GStreamer backend in the KDE
10374 2005-06-30 Wim Taymans <wim@fluendo.com>
10377 * docs/design/draft-ghostpads.txt:
10378 * docs/design/draft-push-pull.txt:
10379 * docs/design/draft-query.txt:
10380 * docs/design/part-TODO.txt:
10381 * docs/design/part-query.txt:
10382 Added CHANGES-0.9 doc, updated status of other docs.
10387 2005-06-30 Wim Taymans <wim@fluendo.com>
10389 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10390 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
10391 (gst_base_sink_change_state):
10392 * gst/base/gstbasesink.h:
10393 Some tweaks, only EOS and a buffer complete a preroll.
10395 2005-06-30 Andy Wingo <wingo@pobox.com>
10397 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
10398 activate_push down to the internal pad as well.
10400 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
10402 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10404 * gst/gsttaginterface.c:
10405 Some documentation fixes (#307394 and #307397).
10407 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
10409 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10411 * gst/gstvalue.c: (gst_value_intersect_list):
10412 Fix memleak (#309125).
10414 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10416 * docs/manual/advanced-dataaccess.xml:
10417 Fix fakesrc example to compile; doesn't work, bug somewhere...?
10418 * docs/manual/basics-pads.xml:
10419 Add reference for filtered caps to above chapter.
10421 2005-06-30 Wim Taymans <wim@fluendo.com>
10423 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
10424 (gst_bin_change_state):
10426 Lame attempt at making the state change function a bit
10429 2005-06-30 Wim Taymans <wim@fluendo.com>
10431 * docs/design/part-clocks.txt:
10432 * docs/design/part-element-sink.txt:
10433 * docs/design/part-events.txt:
10434 * docs/design/part-preroll.txt:
10435 * docs/design/part-states.txt:
10436 Some more tweeks and additions to the docs.
10438 2005-06-30 Wim Taymans <wim@fluendo.com>
10440 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10441 (default_have_data), (gst_pad_class_init), (gst_pad_init),
10442 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10443 (gst_pad_check_pull_range), (gst_pad_get_range),
10444 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
10446 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
10447 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10448 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10449 (gst_pad_remove_buffer_probe):
10450 Removed atomic operations, use existing LOCK.
10451 Move exception handling out of main code path.
10453 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10455 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10456 (silly_return_true_function), (gst_pad_class_init),
10457 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10458 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
10459 (gst_pad_send_event):
10460 Fix accumulator, add default value by using _emitv() instead
10461 of _emit() for signal emission.
10463 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10465 * docs/manual/advanced-dataaccess.xml:
10466 * examples/manual/Makefile.am:
10468 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
10471 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
10473 * gst/elements/gstfilesink.c: (gst_filesink_render):
10474 Simplify code so that we don't have to handle short
10475 writes and return GST_FLOW_ERROR if an error occured.
10477 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10479 * docs/gst/gstreamer-docs.sgml:
10480 Remove probes more.
10482 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10484 * docs/gst/gstreamer-sections.txt:
10485 * docs/gst/tmpl/gstpad.sgml:
10486 * docs/gst/tmpl/gstprobe.sgml:
10488 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10489 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
10490 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10491 (gst_pad_push_event), (gst_pad_send_event):
10493 * gst/gstutils.c: (gst_pad_add_data_probe),
10494 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10495 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10496 (gst_pad_remove_buffer_probe):
10498 Remove old probes, add new g-signal-based probes and some utility
10501 2005-06-29 Edward Hervey <edward@fluendo.com>
10503 * gst/gstelementfactory.c:
10506 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
10507 the definition to the header file.
10509 2005-06-29 Andy Wingo <wingo@pobox.com>
10511 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10512 plugins from the source directory.
10514 2005-06-29 Wim Taymans <wim@fluendo.com>
10516 * docs/gst/tmpl/gstbuffer.sgml:
10517 * docs/gst/tmpl/gstclock.sgml:
10518 Some fixings for blantently wrong text.
10520 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10522 * check/Makefile.am:
10523 * gst/gst.c: (add_path_func), (init_pre):
10524 * gst/gstregistry.c: (gst_registry_add_path):
10525 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10526 only scan the GST_PLUGIN_PATH locations, and not add
10529 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10531 * docs/gst/gstreamer-sections.txt:
10532 * docs/gst/tmpl/gstbasesrc.sgml:
10533 * gst/gstelement.c:
10534 * gst/gstelement.h:
10539 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10541 * docs/manual/advanced-autoplugging.xml:
10542 Fix autoplugging example.
10544 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10546 * docs/manual/advanced-autoplugging.xml:
10547 * docs/manual/mime-world.fig:
10548 Try to get autoplugging working, fix type detection. Fix text
10549 in hello-world image.
10551 2005-06-29 Wim Taymans <wim@fluendo.com>
10553 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10554 (gst_base_sink_change_state):
10558 map SIGNAL and BROADCAST to the right function.
10561 Remove redundant braces.
10563 * gst/gstpad.c: (gst_pad_set_caps):
10564 Don't call setcaps function when reseting caps to NULL.
10566 * gst/gstsystemclock.c: (gst_system_clock_dispose),
10567 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10568 (gst_system_clock_id_unschedule):
10569 Use BROADCAST as this is what we do.
10571 2005-06-29 Wim Taymans <wim@fluendo.com>
10573 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10574 We are actually prerolling before commiting the state
10577 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10579 * docs/manual/advanced-clocks.xml:
10580 * docs/manual/advanced-interfaces.xml:
10581 * docs/manual/advanced-metadata.xml:
10582 * docs/manual/advanced-position.xml:
10583 * docs/manual/advanced-schedulers.xml:
10584 * docs/manual/advanced-threads.xml:
10585 * docs/manual/appendix-porting.xml:
10586 * docs/manual/basics-bins.xml:
10587 * docs/manual/basics-bus.xml:
10588 * docs/manual/basics-elements.xml:
10589 * docs/manual/basics-helloworld.xml:
10590 * docs/manual/basics-pads.xml:
10591 * docs/manual/highlevel-components.xml:
10592 * docs/manual/manual.xml:
10593 * docs/manual/thread.fig:
10594 Update (until threads/scheduling) Application Development Manual;
10595 remove GstThread, add GstBus, add simple porting checklist, add
10596 documentation for tag writing, clocks, make all examples until this
10597 part compile and run.
10598 * examples/manual/Makefile.am:
10599 Update from changes to Application Development Manual; add bus
10600 example, remove thread example.
10602 2005-06-28 Wim Taymans <wim@fluendo.com>
10604 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10605 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10606 (gst_bus_source_dispatch):
10607 Add debugging messages.
10608 Make internal methods static.
10609 Handle the case where the bus is flushed in the handler.
10611 * gst/gstelement.c: (gst_element_get_bus):
10612 Fix refcount in _get_bus();
10614 * gst/gstpipeline.c: (gst_pipeline_change_state),
10615 (gst_pipeline_get_clock_func):
10616 Clock refcounting fixes.
10617 Handle the case where preroll timed out more gracefully.
10619 * gst/gstsystemclock.c: (gst_system_clock_dispose):
10620 Clean up the internal thread in dispose. This is needed
10621 for subclasses that actually get disposed.
10623 * gst/schedulers/threadscheduler.c:
10624 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10625 (gst_thread_scheduler_dispose):
10626 Free thread pool in dispose.
10628 2005-06-28 Andy Wingo <wingo@pobox.com>
10630 * tests/network-clock-utils.scm (debug, print-event): New utils.
10632 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10633 (*packet-loss*): Unified loss probability.
10634 (network-time): Report out-of-band events.
10636 * tests/plot-data: Add support for out-of-band events. Hack it
10637 into this script instead of passing it down the pipe; should fix
10640 2005-06-28 Wim Taymans <wim@fluendo.com>
10642 * docs/gst/gstreamer.types:
10643 * docs/gst/tmpl/gstbasesrc.sgml:
10644 * docs/gst/tmpl/gstpad.sgml:
10647 2005-06-28 Wim Taymans <wim@fluendo.com>
10649 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10650 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10651 (gst_proxy_pad_do_fixatecaps):
10652 Correctly proxy the check_pull_range function.
10654 2005-06-28 Andy Wingo <wingo@pobox.com>
10656 * tests/network-clock.scm: Removed need for slib.
10658 2005-06-28 Wim Taymans <wim@fluendo.com>
10660 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10661 (gst_basesink_preroll_queue_flush):
10662 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10663 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10664 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10665 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10666 (gst_proxy_pad_set_property):
10669 * gst/gstqueue.c: (gst_queue_init):
10670 The deprecated pad loop function is removed now.
10672 2005-06-28 Andy Wingo <wingo@pobox.com>
10674 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10675 New parameters, simulate network packet loss.
10677 * tests/network-clock-utils.scm: Initialize the RNG.
10679 2005-06-28 Wim Taymans <wim@fluendo.com>
10681 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10682 (gst_basesink_event), (gst_basesink_deactivate):
10683 Flushing the preroll queue always needs to unlock the waiters.
10685 2005-06-28 Edward Hervey <edward@fluendo.com>
10687 * gst/gstpipeline.c: (gst_pipeline_send_event):
10688 Wheen a seek was successful on a pipeline, set the stream_time to the
10689 seek offset in order to have a synchronized stream_time.
10691 2005-06-28 Wim Taymans <wim@fluendo.com>
10693 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10694 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10695 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10696 (gst_proxy_pad_do_fixatecaps):
10697 Call wrapper function instead of just calling the function
10698 pointers. This takes care of any locking and whatmore.
10700 2005-06-28 Wim Taymans <wim@fluendo.com>
10702 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10703 (gst_pad_pull_range):
10705 CONNECTED -> LINKED.
10707 2005-06-28 Andy Wingo <wingo@pobox.com>
10709 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10710 source-munging commit!!!
10712 * gst/gstobject.c (gst_object_unref, gst_object_ref)
10713 (gst_object_sink): Take gpointer arguments, not GstObject --
10714 avoids casts. Like GLib.
10716 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10719 2005-06-27 Andy Wingo <wingo@pobox.com>
10721 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10724 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10725 returns a sorted copy of the trace list.
10726 (gst_alloc_trace_print_live): New API, only prints traces with
10727 live objects. Sort the list.
10728 (gst_alloc_trace_print_all): Sort the list.
10729 (gst_alloc_trace_print): Align columns.
10731 * gst/elements/gstttypefindelement.c:
10732 * gst/elements/gsttee.c:
10733 * gst/base/gstbasesrc.c:
10734 * gst/base/gstbasesink.c:
10735 * gst/base/gstbasetransform.c:
10736 * gst/gstqueue.c: Adapt for pad activation changes.
10738 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10740 (gst_pipeline_dispose): Drop ref on sched.
10742 * gst/gstpad.c (gst_pad_init): Set the default activate func.
10743 (gst_pad_activate_default): Push mode by default.
10744 (pre_activate_switch, post_activate_switch): New stubs, things to
10745 do before and after switching activation modes on pads.
10746 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10747 the pad's activate function to choose which mode to activate.
10748 Shortcut on deactivation and call the right function directly.
10749 (gst_pad_activate_pull): New API, (de)activates a pad in pull
10751 (gst_pad_activate_push): New API, same for push mode.
10752 (gst_pad_set_activate_function)
10753 (gst_pad_set_activatepull_function)
10754 (gst_pad_set_activatepush_function): Setters for new API.
10756 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10757 Trace all miniobjects.
10758 (gst_mini_object_make_writable): Unref the arg if we copy, like
10759 gst_caps_make_writable.
10761 * gst/gstmessage.c (_gst_message_initialize): No trace init.
10763 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
10764 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10765 Adapt for new pad API.
10767 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10769 * gst/gstelement.h:
10770 * gst/gstelement.c (gst_element_iterate_src_pads)
10771 (gst_element_iterate_sink_pads): New API functions.
10773 * gst/gstelement.c (iterator_fold_with_resync): New utility,
10774 should fold into gstiterator.c in some form.
10775 (gst_element_pads_activate): Simplified via use of fold and
10776 delegation of decisions to gstpad->activate.
10778 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10781 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10782 class once in init, like gstmessage. Didn't run into this issue
10783 but it seems correct. Don't initialize a trace, gstminiobject does
10786 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10787 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10789 (assert_live_count): New util function, uses alloc traces to check
10792 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10793 To be modified when unlink drops the internal pad.
10795 2005-06-27 Wim Taymans <wim@fluendo.com>
10797 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10798 (gst_bin_change_state):
10799 Cleanup the get_state() function a little, make sure it
10800 iterates the same set of elements.
10801 Added stub iterate_state_order().
10803 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
10805 * docs/gst/gstreamer-docs.sgml:
10806 * docs/gst/gstreamer-sections.txt:
10807 * docs/gst/gstreamer.types:
10808 * docs/gst/tmpl/gstbasesink.sgml:
10809 * docs/gst/tmpl/gstbasesrc.sgml:
10810 * docs/gst/tmpl/gstbasetransform.sgml:
10811 * docs/gst/tmpl/gstelement.sgml:
10812 * docs/gst/tmpl/gstiterator.sgml:
10813 * gst/base/gstbasesrc.c:
10814 * gst/base/gstbasesrc.h:
10815 * gst/base/gstbasetransform.h:
10816 * gst/gstelement.c:
10817 * gst/gstiterator.h:
10818 adding basetransform and iterator docs
10820 2005-06-27 Andy Wingo <wingo@pobox.com>
10822 * docs/design/part-activation.txt: Notes on how activation should
10823 work -- not quite implemented yet.
10825 2005-06-25 Wim Taymans <wim@fluendo.com>
10827 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10828 At least get the chain function correct, needs more
10831 2005-06-25 Wim Taymans <wim@fluendo.com>
10833 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10834 (gst_basesink_handle_object), (gst_basesink_event),
10835 (gst_basesink_do_sync), (gst_basesink_handle_event),
10836 (gst_basesink_change_state):
10838 Right, two problems here: ghostpads don't take locks and
10839 glib _rec_mutex_lock_full() with depth==0 still locks.
10840 Catch illegal locking and g_warn them.
10842 2005-06-25 Wim Taymans <wim@fluendo.com>
10844 * check/states/sinks.c: (START_TEST), (gst_object_suite):
10845 Have to check for completion now...
10847 2005-06-25 Wim Taymans <wim@fluendo.com>
10849 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10850 (gst_basesink_handle_object), (gst_basesink_event),
10851 (gst_basesink_do_sync), (gst_basesink_handle_event),
10852 (gst_basesink_change_state):
10854 Unlock STREAM_LOCK whatever the recursion was.
10856 2005-06-25 Wim Taymans <wim@fluendo.com>
10858 * gst/base/gstbasesink.c: (gst_basesink_set_property),
10859 (gst_basesink_preroll_queue_empty),
10860 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10861 (gst_basesink_event), (gst_basesink_do_sync),
10862 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10863 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10864 (gst_basesink_change_state):
10865 Reworked the base sink, handle event and buffer serialisation
10866 correctly and removed possible deadlock.
10867 Handle EOS correctly.
10869 2005-06-25 Wim Taymans <wim@fluendo.com>
10871 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10872 (gst_pipeline_change_state):
10873 * tools/gst-launch.c: (check_intr), (event_loop), (main):
10874 Allow elements to post EOS in the state change function.
10875 Fix up -launch, make it exit the poll loop when the
10876 pipeline actually changed state.
10877 Fix up warning parsing in -launch.
10879 2005-06-25 Wim Taymans <wim@fluendo.com>
10881 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10882 (gst_tee_sink_activate):
10883 Core takes STREAM_LOCK for us now.
10885 2005-06-25 Wim Taymans <wim@fluendo.com>
10887 * gst/gstelement.c: (gst_element_get_state_func),
10888 (gst_element_set_state):
10889 * gst/gstelement.h:
10890 * gst/gstmessage.c: (gst_message_parse_error),
10891 (gst_message_parse_warning):
10892 Keep track of current target state while performing a state
10893 change so that subclasses can do something interesting.
10894 Fix parsing of warning/error messages when GError is NULL.
10896 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
10898 * docs/gst/Makefile.am:
10899 * docs/gst/gstreamer-docs.sgml:
10900 * docs/gst/gstreamer-sections.txt:
10901 * docs/gst/gstreamer.types:
10902 * docs/gst/tmpl/gstbasesink.sgml:
10903 * docs/gst/tmpl/gstbasesrc.sgml:
10904 * docs/gst/tmpl/gstbin.sgml:
10905 * docs/gst/tmpl/gstcompat.sgml:
10906 * docs/gst/tmpl/gstfakesink.sgml:
10907 * docs/gst/tmpl/gstfakesrc.sgml:
10908 * docs/gst/tmpl/gstfilesink.sgml:
10909 * docs/gst/tmpl/gstfilesrc.sgml:
10910 * docs/gst/tmpl/gstindex.sgml:
10911 * docs/manual/appendix-quotes.xml:
10912 * gst/base/gstbasesrc.h:
10913 * gst/elements/gstfakesrc.h:
10914 * gst/gstmessage.h:
10915 start pulling in base classes and elements in our docs
10917 2005-06-24 Stefan Kost <ensonic@users.sf.net>
10919 * docs/gst/Makefile.am:
10920 * docs/libs/Makefile.am:
10921 fixed make distcheck with gtk-doc 1.3
10923 2005-06-23 Wim Taymans <wim@fluendo.com>
10925 * gst/gstelement.c: (gst_element_get_state_func),
10926 (gst_element_set_state), (gst_element_change_state):
10927 When the state did not change, also report NO_PREROLL
10930 2005-06-23 Wim Taymans <wim@fluendo.com>
10932 * gst/gstpad.c: (gst_pad_event_default):
10933 * gst/gstqueue.c: (gst_queue_loop):
10934 No unsafe task pausing please.
10936 2005-06-23 Wim Taymans <wim@fluendo.com>
10938 * gst/schedulers/threadscheduler.c:
10939 (gst_thread_scheduler_task_start),
10940 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10941 Ref the task before pushing it on the threadpool. This
10942 makes sure that we have a ref when the threadfunction is
10945 2005-06-23 Andy Wingo <wingo@pobox.com>
10947 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10948 offset is greater than the file's size.
10950 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
10951 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10952 * gst/gstobject.c (gst_object_class_init): Make the class lock
10953 recursive. Wim won't let me drop deep_notify. Decodebin works
10954 again, whoopdy doo.
10956 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10957 internal pad, and hacks accordingly. Doesn't do it on the target
10958 pad because we change its caps. Probably catches all cases of
10960 (gst_ghost_pad_set_property): Connect to notify::caps as
10963 * tests/network-clock.scm (plot-simulation): Pipe data to the
10964 elite python skript.
10966 * tests/network-clock-utils.scm (define-parameter): New macro,
10967 defines a parameter that can be set via the command line.
10968 (set-parameter!, parse-parameter-arguments): Command line args
10971 * tests/plot-data: Simple matplotlib-based plotter, takes input on
10974 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
10976 * gst/elements/gsttypefindelement.c:
10977 (gst_type_find_element_handle_event):
10978 Don't restart typefinding on a discont.
10979 * gst/gstelement.c: (gst_element_set_state):
10980 Debug spelling fix.
10981 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10982 Allow changing mode of an active pad.
10983 Debug output fixes.
10984 * gst/registries/gstlibxmlregistry.c: (load_feature):
10985 Don't cast a static pad template to a normal pad template.
10987 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
10989 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10990 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10991 remove gst_strtoll completely, since it didn't actually do
10992 anything more than what g_ascii_strtoull already does.
10993 check for range errors when deserializing
10994 do a cast for the unsigned cases; but further fixing needs
10995 a decision on what the interpretation of "(int)" and
10996 deserialization should be for values that fall outside the
10997 type's boundaries (ie, refuse, or interpret as casting)
10999 2005-06-23 Wim Taymans <wim@fluendo.com>
11001 * check/Makefile.am:
11002 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
11003 * docs/design/part-live-source.txt:
11004 * docs/design/part-states.txt:
11005 * gst/base/gstbasesrc.c: (gst_basesrc_init),
11006 (gst_basesrc_set_live), (gst_basesrc_is_live),
11007 (gst_basesrc_get_range), (gst_basesrc_activate),
11008 (gst_basesrc_change_state):
11009 * gst/base/gstbasesrc.h:
11010 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11011 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11012 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
11013 * gst/gstelement.c: (gst_element_get_state_func),
11014 (gst_element_set_state):
11015 * gst/gstelement.h:
11017 * tools/gst-launch.c: (event_loop), (main):
11018 Added support for live sources and other elements that
11020 Updated design docs, added live-source design doc.
11021 Implemented live source functionality in basesrc
11022 Fix error condition in _bin_get_state()
11023 Implement live source handling in -launch.
11024 Added check for live sources.
11025 Fixed case in GstBin where elements were changed state
11029 2005-06-23 Andy Wingo <wingo@pobox.com>
11031 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
11032 borken refcounting.
11034 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
11035 gst_caps_replace takes care of this for us.
11037 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
11038 gst_pad_set_caps on the target, not just its setcaps() function.
11040 * tests/network-clock.scm:
11041 * tests/network-clock-utils.scm: A network clock simulator.
11042 Something of an algorithmic testbed before doing something in C.
11044 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
11046 * check/Makefile.am:
11047 * check/gst/capslist.h:
11048 copy over from 0.8, and add two with bitmasks specified with
11050 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
11051 add test to parse everything from capslist.h
11052 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
11054 add test for structure deserialization
11055 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
11056 add tests for deserialization of strings to int types
11057 * gst/gststructure.c: (gst_structure_nth_field_name):
11058 * gst/gststructure.h:
11059 add a way to get the name of a field referenced by index
11060 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11061 instead of checking if the resulting long long lies between
11062 min and max, we check if the long long would fit into
11063 a number of bytes for the final type.
11064 This fixes cases where a string represents 2^32 - 1, which
11065 when cast to int would be the (valid) -1, but is bigger than
11068 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
11070 * gst/parse/grammar.y:
11071 add a log line for type deserialization
11073 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
11075 * check/gst/gstvalue.c: (START_TEST):
11076 * gst/gstvalue.c: (gst_value_deserialize):
11077 return long long, not int, so gint64 deserialization actually
11078 works. Is there any flag that makes the compiler check this ?
11081 2005-06-22 Wim Taymans <wim@fluendo.com>
11084 Added convenience macros for setting buffers in GValue.
11086 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
11088 * check/gst/.cvsignore:
11089 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
11090 add a test deserializing int64, and comment part out because
11093 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
11095 * check/Makefile.am:
11096 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
11097 * testsuite/Makefile.am:
11098 * testsuite/caps/Makefile.am:
11099 * testsuite/caps/value_serialize.c:
11100 * testsuite/test_gst_init.c:
11101 move a value_serialize test over
11103 2005-06-20 Wim Taymans <wim@fluendo.com>
11108 * gst/gstvalue.c: (gst_value_compare_buffer),
11109 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
11110 (gst_value_compare_flags), (gst_value_serialize_flags),
11111 (gst_value_deserialize_flags), (_gst_value_initialize):
11112 Fix serialisation of buffers, they are not boxed types anymore
11114 2005-06-20 Wim Taymans <wim@fluendo.com>
11116 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
11117 Testcase to show error in buffer-on-caps serialisation.
11119 2005-06-20 Andy Wingo <wingo@pobox.com>
11121 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
11122 will be adding to later.
11124 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
11125 if its socks fill with rocks.
11126 (gst_system_clock_obtain): Set the name on object construction.
11127 Avoid double-checked locking.
11129 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
11131 * gst/gsturi.c: (gst_element_make_from_uri):
11132 Fix potential endless loop.
11134 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
11136 * check/Makefile.am:
11138 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
11140 move over from testsuite dir and clean up
11143 * testsuite/Makefile.am:
11144 * testsuite/tags/.cvsignore:
11145 * testsuite/tags/Makefile.am:
11146 * testsuite/tags/merge.c:
11147 remove testsuite/tags
11149 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
11151 * docs/gst/gstreamer-sections.txt:
11152 * docs/gst/tmpl/gstenumtypes.sgml:
11153 * win32/gstenumtypes.c:
11154 clean up documentation build a little
11156 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
11158 * check/gstcheck.h:
11159 add macros for checking refcounts on objects and caps
11160 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
11161 add some more unit tests
11162 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
11163 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
11164 fix leaked refcounts (I hope :)) so unittest works
11168 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
11170 * configure.ac: back to HEAD
11172 === release 0.9.1 ===
11174 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
11180 2005-06-17 Andy Wingo <wingo@pobox.com>
11182 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
11183 assert; it's always possible that the pad gets deactivated in
11184 between the checks in gstpad.c and the implementation. Rely on
11185 finish_preroll() to return a FLUSHING or similar instead of on the
11188 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
11189 clock and post an EOS message if we come out of finish_preroll in
11192 2005-06-16 David Schleef <ds@schleef.org>
11194 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
11195 (gst_capsfilter_set_property): Allow NULL as possible value
11196 for filter_caps property, indicating GST_CAPS_ANY.
11198 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
11200 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
11202 * gst/schedulers/Makefile.am:
11204 * gstreamer.spec.in:
11207 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
11209 * gstreamer.spec.in:
11212 2005-06-08 Andy Wingo <wingo@pobox.com>
11214 * gst/gstutils.c: RPAD fixes all around.
11215 (gst_element_link_pads): Refcounting fixes.
11217 * tools/gst-inspect.c:
11218 * tools/gst-xmlinspect.c:
11220 * gst/base/gsttypefindhelper.c:
11221 * gst/base/gstbasesink.c:
11222 * gst/gstqueue.c: RPAD fixes.
11224 * gst/gstghostpad.h:
11225 * gst/gstghostpad.c: New ghost pad implementation as full proxy
11226 pads. The tricky thing is they provide both source and sink
11227 interfaces, since they proxy the internal pad for the external
11228 pad, and vice versa. Implement with lower-level ProxyPad objects,
11229 with the interior proxy pad as a child of the exterior ghost pad.
11230 Should write a doc on this.
11232 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
11233 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
11236 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
11237 pads are real pads. No ghost pads in this file. Not documenting
11238 the myriad s/RPAD/PAD/ and REALIZE fixes.
11239 (gst_pad_class_init): Add properties for "direction" and
11240 "template". Both are construct-only, so they can't change during
11241 the life of the pad. Fixes properly deriving from GstPad.
11242 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
11243 derived objects, just set properties when creating the objects via
11245 (gst_pad_get_parent): Implement as a function, return NULL if the
11246 parent is not an element.
11247 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
11248 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
11250 * gst/gstobject.c (gst_object_class_init): Make name a construct
11251 property. Don't set it in the object init.
11253 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
11254 with UNKNOWN direction.
11255 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
11256 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
11257 (gst_element_remove_pad): Remove ghost-pad special cases.
11258 (gst_element_pads_activate): Remove rpad cruft.
11260 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
11261 catch the pad's-parent-not-an-element case.
11263 * gst/gst.h: Include gstghostpad.h.
11265 * gst/gst.c (init_post): No more real, ghost pads.
11267 * gst/Makefile.am: Add gstghostpad.[ch].
11269 * check/Makefile.am:
11270 * check/gst/gstbin.c:
11271 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
11272 into a bin creates ghost pads, and that the refcounts are right.
11273 Partly moved from gstbin.c.
11275 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
11277 * check/gst-libs/.cvsignore:
11278 * check/gst/.cvsignore:
11279 * check/pipelines/.cvsignore:
11281 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
11282 (START_TEST), (cleanup_suite), (main):
11283 add some tests related to cleanup after running pipelines
11285 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
11287 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
11288 add a testsuite for GstBuffer
11290 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
11292 * gst/gstminiobject.h:
11293 add defines for accessing the refcount
11295 2005-06-03 Stefan Kost <ensonic@users.sf.net>
11297 * Makefile.am: added support for html unit test coverage reports
11299 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
11301 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
11302 Free existing caps if the capsfilter changes. Add a FIXME about
11303 setting those caps on the pads.
11305 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
11306 Before adding a ghost pad to a parent bin, check that there isn't
11307 already one for the element on the bin. Prevents infinite recursion
11308 when using decodebin in parse pipelines. Andy says he'll rewrite the
11309 way this works anyway, so ignore the hack.
11311 2005-06-02 Andy Wingo <wingo@pobox.com>
11313 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
11314 file size, pass it on to the type find helper.
11316 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
11317 segment_start and segment_end properly according to the seek
11318 method. Segment_end is still a bit flaky because offset can be
11319 negative for CUR and END cases, but it takes -1 as an "unset"
11322 2005-06-02 Wim Taymans <wim@fluendo.com>
11324 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
11325 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
11326 (gst_basesink_activate):
11327 * gst/base/gstbasesink.h:
11328 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11329 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11330 (gst_pad_query), (gst_pad_start_task):
11332 * gst/gstqueue.c: (gst_queue_bufferalloc),
11333 (gst_queue_handle_sink_event), (gst_queue_chain):
11334 Bufferalloc: return GstFlowReturn to more accuratly report
11335 why allocation failed.
11337 2005-06-02 Wim Taymans <wim@fluendo.com>
11339 * gst/gstpipeline.c: (gst_pipeline_send_event):
11340 Take snapshot of state without blocking.
11342 2005-06-02 Wim Taymans <wim@fluendo.com>
11344 * docs/design/part-TODO.txt:
11345 * docs/design/part-caps.txt:
11346 * docs/design/part-clocks.txt:
11347 * docs/design/part-negotiation.txt:
11348 * docs/design/part-preroll.txt:
11351 2005-05-30 Wim Taymans <wim@fluendo.com>
11353 * gst/elements/gstidentity.c: (gst_identity_event),
11354 (gst_identity_transform), (gst_identity_get_property):
11355 Protect last_message property as it is accessed from
11358 2005-05-30 Wim Taymans <wim@fluendo.com>
11360 * gst/gstelement.c: (gst_element_init),
11361 (gst_element_pads_activate), (gst_element_change_state):
11362 Slicker pad activation code.
11364 2005-05-30 Wim Taymans <wim@fluendo.com>
11367 * gst/gstelement.h:
11368 * gst/gstelementfactory.h:
11370 Move elementfactory methods to separate .h file.
11372 2005-05-30 Wim Taymans <wim@fluendo.com>
11374 * docs/design/part-overview.txt:
11375 * gst/gstsystemclock.h:
11376 Small typo fixes, doc updates.
11378 2005-05-30 Wim Taymans <wim@fluendo.com>
11380 * gst/gst.c: (gst_init_get_popt_table), (init_post),
11381 (init_popt_callback):
11382 Remove cpu-opt flag.
11384 2005-05-30 Wim Taymans <wim@fluendo.com>
11386 * gst/gstbuffer.c: (gst_subbuffer_finalize),
11387 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
11389 Avoid typechecking in places where not needed.
11390 Added accessor for malloc_data.
11392 2005-05-30 Wim Taymans <wim@fluendo.com>
11394 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
11395 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
11396 (gst_pad_configure_sink), (gst_pad_configure_src),
11397 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
11398 (gst_pad_start_task):
11399 Propagate errors from _set_caps() in configure_src/sink
11400 functions instead of returning TRUE.
11401 FLUSH events can travel up and downstream
11404 2005-05-30 Wim Taymans <wim@fluendo.com>
11406 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11407 (gst_basesink_activate):
11408 Handle EOS in preroll.
11410 2005-05-30 Wim Taymans <wim@fluendo.com>
11412 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11413 (gst_queue_loop), (gst_queue_handle_src_event):
11414 Remove old pieces of code
11415 Flushing the queue in an upstream event is a very bad idea.
11417 2005-05-26 Andy Wingo <wingo@pobox.com>
11419 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
11420 gst_value_set_mini_object so as to add a ref on the object (which
11421 will be removed when the value is unset).
11423 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
11424 arg type in ::handoff.
11426 * gst/gstelement.c (gst_element_change_state): Also deactivate
11427 pads in READY->NULL, just in case the element didn't make it to
11428 PAUSED. Wingo tested, Wim approved.
11430 2005-05-26 Wim Taymans <wim@fluendo.com>
11432 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11433 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11434 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
11435 A flushing pad cannot be used to alloc_buffer from.
11437 2005-05-26 Wim Taymans <wim@fluendo.com>
11439 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
11440 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
11441 (gst_bus_source_dispatch), (gst_bus_source_finalize),
11442 (gst_bus_create_watch), (gst_bus_add_watch_full):
11444 Implement a real GSource and use g_main_context_wakeup() to
11445 signal new messages instead of the socketpair.
11447 2005-05-25 Wim Taymans <wim@fluendo.com>
11449 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
11450 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
11451 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11452 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11453 (gst_pad_send_event), (gst_pad_start_task):
11454 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
11455 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
11456 (gst_queue_sink_activate), (gst_queue_src_activate),
11457 (gst_queue_change_state):
11459 Fix state changes for non sinks. We now change sinks, then elements
11460 with unconnected srcpads, then the rest.
11461 More efficient queue unlocking in flush and state changes.
11462 Set the pad activate mode even if it does not have an activate
11465 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11467 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
11468 Don't go in pull mode for non-seekable sources.
11469 * gst/elements/gsttypefindelement.h:
11470 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11471 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
11472 (free_entry), (stop_typefinding),
11473 (gst_type_find_element_handle_event), (find_peek),
11474 (gst_type_find_element_chain), (do_pull_typefind),
11475 (gst_type_find_element_change_state):
11476 Allow typefinding (w/o seeking) in push-mode, simplified version
11477 of what was in 0.8.
11478 * gst/gstutils.c: (gst_buffer_join):
11480 gst_buffer_join() from 0.8.
11482 2005-05-25 Wim Taymans <wim@fluendo.com>
11484 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11485 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11486 (gst_pad_send_event), (gst_pad_start_task):
11487 Disable attempt at mode switching until it is figured out.
11489 2005-05-25 Wim Taymans <wim@fluendo.com>
11491 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
11492 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11493 (gst_basesink_finish_preroll), (gst_basesink_chain),
11494 (gst_basesink_loop), (gst_basesink_activate),
11495 (gst_basesink_change_state):
11496 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
11497 (gst_basesrc_get_range), (gst_basesrc_loop),
11498 (gst_basesrc_activate):
11499 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11500 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11501 (gst_real_pad_init), (gst_real_pad_set_property),
11502 (gst_real_pad_get_property), (gst_pad_set_active),
11503 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
11504 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
11505 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
11506 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
11507 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11508 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
11509 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11510 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11511 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11512 (gst_pad_stop_task):
11514 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11515 (gst_queue_loop), (gst_queue_src_activate):
11516 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11517 (gst_task_get_state):
11519 * gst/schedulers/threadscheduler.c:
11520 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11521 Implement gst_pad_pause/start/stop_task(), take STREAM lock
11523 Remove ACTIVE pad flag, use FLUSHING everywhere
11524 Added _pad_chain(), _pad_get_range() to call chain/getrange
11526 Add locks around IS_FLUSHING when reading.
11527 Take STREAM lock in chain(), get_range() functions so plugins
11528 don't need to take it anymore.
11532 2005-05-25 Wim Taymans <wim@fluendo.com>
11534 * tools/gst-launch.c: (event_loop):
11535 Unref message after using its contents instead of
11538 2005-05-24 Wim Taymans <wim@fluendo.com>
11540 * docs/design/draft-ghostpads.txt:
11541 * docs/design/draft-push-pull.txt:
11542 * docs/design/draft-query.txt:
11543 * docs/design/part-overview.txt:
11544 Docs updates, added general overview doc.
11546 2005-05-21 David Schleef <ds@schleef.org>
11548 * docs/gst/tmpl/old/GstBin.sgml:
11549 * docs/gst/tmpl/old/GstBuffer.sgml:
11550 * docs/gst/tmpl/old/GstCaps.sgml:
11551 * docs/gst/tmpl/old/GstClock.sgml:
11552 * docs/gst/tmpl/old/GstCompat.sgml:
11553 * docs/gst/tmpl/old/GstData.sgml:
11554 * docs/gst/tmpl/old/GstElement.sgml:
11555 * docs/gst/tmpl/old/GstEvent.sgml:
11556 * docs/gst/tmpl/old/GstIndex.sgml:
11557 * docs/gst/tmpl/old/GstStructure.sgml:
11558 * docs/gst/tmpl/old/GstTag.sgml:
11559 * docs/gst/tmpl/old/cothreads.sgml:
11560 * docs/gst/tmpl/old/cothreads_compat.sgml:
11561 * docs/gst/tmpl/old/gettext.sgml:
11562 * docs/gst/tmpl/old/gobject2gtk.sgml:
11563 * docs/gst/tmpl/old/grammar.tab.sgml:
11564 * docs/gst/tmpl/old/gst-i18n-app.sgml:
11565 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11566 * docs/gst/tmpl/old/gst_private.sgml:
11567 * docs/gst/tmpl/old/gstaggregator.sgml:
11568 * docs/gst/tmpl/old/gstarch.sgml:
11569 * docs/gst/tmpl/old/gstatomic_impl.sgml:
11570 * docs/gst/tmpl/old/gstbufferstore.sgml:
11571 * docs/gst/tmpl/old/gstdata_private.sgml:
11572 * docs/gst/tmpl/old/gstdisksink.sgml:
11573 * docs/gst/tmpl/old/gstdisksrc.sgml:
11574 * docs/gst/tmpl/old/gstelementfactory.sgml:
11575 * docs/gst/tmpl/old/gstextratypes.sgml:
11576 * docs/gst/tmpl/old/gstfakesink.sgml:
11577 * docs/gst/tmpl/old/gstfakesrc.sgml:
11578 * docs/gst/tmpl/old/gstfdsink.sgml:
11579 * docs/gst/tmpl/old/gstfdsrc.sgml:
11580 * docs/gst/tmpl/old/gstfilesink.sgml:
11581 * docs/gst/tmpl/old/gstfilesrc.sgml:
11582 * docs/gst/tmpl/old/gsthttpsrc.sgml:
11583 * docs/gst/tmpl/old/gstidentity.sgml:
11584 * docs/gst/tmpl/old/gstindexfactory.sgml:
11585 * docs/gst/tmpl/old/gstmarshal.sgml:
11586 * docs/gst/tmpl/old/gstmd5sink.sgml:
11587 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11588 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11589 * docs/gst/tmpl/old/gstpadtemplate.sgml:
11590 * docs/gst/tmpl/old/gstpipefilter.sgml:
11591 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11592 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11593 * docs/gst/tmpl/old/gstshaper.sgml:
11594 * docs/gst/tmpl/old/gstspider.sgml:
11595 * docs/gst/tmpl/old/gstspideridentity.sgml:
11596 * docs/gst/tmpl/old/gststatistics.sgml:
11597 * docs/gst/tmpl/old/gsttee.sgml:
11598 * docs/gst/tmpl/old/gsttimecache.sgml:
11599 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11600 * docs/gst/tmpl/old/gstxmlregistry.sgml:
11601 * docs/gst/tmpl/old/gthread-cothreads.sgml:
11602 * docs/gst/tmpl/old/types.sgml:
11603 I didn't intend to add these or check them in.
11605 2005-05-19 David Schleef <ds@schleef.org>
11607 * configure.ac: Use -no-common everywhere. In a sane world, it
11608 would be the default in libtool, because without it, you can't
11609 build DLLs on Windows.
11610 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11611 * docs/gst/gstreamer-sections.txt:
11612 * docs/gst/tmpl/gstcpu.sgml:
11613 * docs/gst/tmpl/gstdata.sgml:
11614 * docs/gst/tmpl/gstthread.sgml:
11616 2005-05-19 David Schleef <ds@schleef.org>
11618 * gst/gstminiobject.c: (gst_value_set_mini_object),
11619 (gst_value_take_mini_object), (gst_value_get_mini_object):
11620 * gst/gstminiobject.h: Add GValue set/get functions.
11622 2005-05-19 Wim Taymans <wim@fluendo.com>
11624 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11625 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11626 (gst_subbuffer_init), (gst_buffer_is_span_fast):
11628 * gst/gstbus.c: (gst_bus_post):
11629 * gst/gstelement.c: (gst_element_get_random_pad):
11630 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11631 Make subbufer unref the parent in finalize.
11632 some more debugging info.
11635 2005-05-19 Wim Taymans <wim@fluendo.com>
11637 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11638 (gst_basesink_init), (gst_basesink_finalize),
11639 (gst_basesink_activate), (gst_basesink_change_state):
11640 Don't free preroll queue too early.
11642 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11646 Hi, I'm outdated. Please shoot me.
11648 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11650 * gst/gstpipeline.c: (gst_pipeline_send_event):
11651 Do not access variables after they have been deleted.
11653 2005-05-19 Wim Taymans <wim@fluendo.com>
11655 * tools/gst-inspect.c: (print_plugin_features):
11656 A plugin feature does unfortunatly not use the
11659 2005-05-18 Wim Taymans <wim@fluendo.com>
11661 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11662 Port _span() functions to new subbuffers.
11664 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11666 * gst/gstbin.c: (gst_bin_add_func):
11667 Fix clock settery in bins when adding kids after the clock has
11670 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11672 * gst/elements/gstidentity.c: (gst_identity_class_init):
11673 Workaround until signals support GstMiniObject.
11675 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
11678 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11680 2005-05-18 Wim Taymans <wim@fluendo.com>
11682 * gst/base/Makefile.am:
11683 * gst/base/gstadapter.c: (gst_adapter_base_init),
11684 (gst_adapter_class_init), (gst_adapter_init),
11685 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11686 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11687 (gst_adapter_flush), (gst_adapter_available),
11688 (gst_adapter_available_fast):
11689 * gst/base/gstadapter.h:
11690 Ported and added adapter to the base classes.
11692 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11695 * gst/gstmessage.c:
11696 Make sure the class is reffed/unreffed once before threads can be
11697 used. Fixes #304551.
11699 2005-05-17 Wim Taymans <wim@fluendo.com>
11701 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11702 (gst_basesink_chain_unlocked), (gst_basesink_activate):
11703 * gst/gstminiobject.c: (gst_mini_object_get_type),
11704 (gst_mini_object_free):
11705 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11706 (gst_pad_push), (gst_pad_push_event):
11707 * gst/gstqueue.c: (gst_queue_change_state):
11708 Don't queue buffers in basesink when we are flushing.
11709 Unref buffer when flushing in basesink.
11710 Flush queue when going to READY
11711 Unref buffer when _push() returns an error.
11712 Don't free MiniObject instance when refcount is incremented
11713 in _finalize() so that we can recover objects.
11715 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
11717 * docs/manual/advanced-schedulers.xml:
11718 * docs/manual/appendix-checklist.xml:
11719 * docs/pwg/advanced-clock.xml:
11720 * docs/pwg/advanced-interfaces.xml:
11721 * docs/pwg/advanced-request.xml:
11722 * docs/pwg/advanced-types.xml:
11723 * docs/pwg/intro-preface.xml:
11724 * examples/plugins/example.c: (gst_example_get_type),
11725 (gst_example_class_init), (gst_example_chain),
11726 (gst_example_set_property), (gst_example_get_property),
11727 (gst_example_change_state), (plugin_init):
11728 * examples/plugins/example.h:
11731 2005-05-17 Wim Taymans <wim@fluendo.com>
11733 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11734 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11735 * gst/gstqueue.c: (gst_queue_change_state):
11736 Clear queue when going to READY.
11737 Remove IN_SETCAPS flag too.
11739 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
11741 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11742 Remove implicit cast from gboolean to GstElementStateReturn;
11743 make sure we still return failure in paused => ready case if
11744 the parent class fails to change state and our own stop
11747 2005-05-17 Wim Taymans <wim@fluendo.com>
11749 * tools/gst-launch.c: (event_loop):
11750 Message was unreffed too soon.
11752 2005-05-16 Andy Wingo <wingo@pobox.com>
11754 * gst/gstbin.c (sink_iterator_filter): Err... um...
11756 * check/gst/gstbin.c (test_ghost_pads): New test for the
11757 ghosting-if-elements-not-in-same-bin behavior.
11759 2005-05-16 David Schleef <ds@schleef.org>
11761 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11762 accessing refcount directly.
11764 2005-05-15 David Schleef <ds@schleef.org>
11766 * check/Makefile.am: remove GstData checks
11767 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11768 * gst/Makefile.am: add miniobject, remove data
11769 * gst/gst.h: add miniobject, remove data
11770 * gst/gstdata.c: remove
11771 * gst/gstdata.h: remove
11772 * gst/gstdata_private.h: remove
11773 * gst/gsttypes.h: remove GstEvent and GstMessage
11774 * gst/gstelement.c: (gst_element_post_message): fix for API changes
11775 * gst/gstmarshal.list: change BOXED -> OBJECT
11777 Implement GstMiniObject.
11778 * gst/gstminiobject.c:
11779 * gst/gstminiobject.h:
11781 Modify to be subclasses of GstMiniObject.
11782 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11783 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11784 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11785 (gst_subbuffer_get_type), (gst_subbuffer_init),
11786 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11789 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11790 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11791 (_gst_event_copy), (gst_event_new):
11793 * gst/gstmessage.c: (_gst_message_initialize),
11794 (gst_message_get_type), (gst_message_class_init),
11795 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11796 (gst_message_new), (gst_message_new_error),
11797 (gst_message_new_warning), (gst_message_new_tag),
11798 (gst_message_new_state_changed), (gst_message_new_application):
11799 * gst/gstmessage.h:
11800 * gst/gstprobe.c: (gst_probe_perform),
11801 (gst_probe_dispatcher_dispatch):
11803 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11804 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11805 (_gst_query_copy), (gst_query_new):
11807 Update elements for GstData -> GstMiniObject changes
11809 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11810 (gst_queue_chain), (gst_queue_loop):
11811 * gst/elements/gstbufferstore.c:
11812 (gst_buffer_store_add_buffer_func),
11813 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11814 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11815 (gst_fakesink_render):
11816 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11817 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11818 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11819 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11820 (gst_filesrc_create_read):
11821 * gst/elements/gstidentity.c: (gst_identity_class_init):
11822 * gst/elements/gsttypefindelement.c:
11823 (gst_type_find_element_src_event), (free_entry_buffers),
11824 (gst_type_find_element_handle_event):
11825 * libs/gst/dataprotocol/dataprotocol.c:
11826 (gst_dp_header_from_buffer):
11827 * libs/gst/dataprotocol/dataprotocol.h:
11828 * libs/gst/dataprotocol/dp-private.h:
11830 2005-05-15 David Schleef <ds@schleef.org>
11832 * gst/elements/gstelements.c: Don't include headers that were
11835 2005-05-15 David Schleef <ds@schleef.org>
11837 * gst/elements/Makefile.am: Remove some elements that don't
11838 need to be in the core (or even exist at all).
11839 * gst/elements/gstaggregator.c:
11840 * gst/elements/gstaggregator.h:
11841 * gst/elements/gstmd5sink.c:
11842 * gst/elements/gstmd5sink.h:
11843 * gst/elements/gstmultifilesrc.c:
11844 * gst/elements/gstmultifilesrc.h:
11845 * gst/elements/gstpipefilter.c:
11846 * gst/elements/gstpipefilter.h:
11847 * gst/elements/gstshaper.c:
11848 * gst/elements/gstshaper.h:
11849 * gst/elements/gststatistics.c:
11850 * gst/elements/gststatistics.h:
11851 * po/POTFILES.in: Remove above files.
11853 2005-05-14 Andy Wingo <wingo@pobox.com>
11855 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11856 so as to get the refs right.
11857 (sink_iterator_filter): New function, wraps bin_element_is_sink,
11858 unreffing objects that don't pass the filter.
11860 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11861 gst_element_set_bus.
11862 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11863 normal cases, this will destroy the bus.
11865 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11868 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11871 2005-05-13 Andy Wingo <wingo@pobox.com>
11873 * gst/gstutils.c (gst_element_link_pads): Instead of calling
11874 gst_pad_link, call pad_link_maybe_ghosting,
11875 (pad_link_maybe_ghosting): Links pads, making sure that the
11876 elements being linked are in the same bin.
11877 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11878 Helpers for pad_link_maybe_ghosting.
11880 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11883 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11885 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11887 * docs/design/part-element-source.txt:
11890 2005-05-12 Wim Taymans <wim@fluendo.com>
11892 * gst/base/gstbasesink.c: (gst_basesink_init),
11893 (gst_basesink_activate):
11894 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11895 (gst_basesrc_is_seekable):
11896 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11897 (bin_element_is_sink), (gst_bin_change_state):
11898 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11899 * gst/gstelement.h:
11900 Identify sinks by their flag to avoid overly complicated
11902 Do state changes even for elements not reachable from the
11904 BaseSink is a sink now :)
11905 Some more debugging info in the basesrc.
11908 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11910 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11911 Implement _query on a bin, similar to _send_event.
11913 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
11915 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11916 Discont event offset format should be GST_FORMAT_BYTES,
11917 not GST_FORMAT_TIME.
11919 2005-05-12 Wim Taymans <wim@fluendo.com>
11921 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11922 Same fix as Ronald's but without the signal.
11924 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11926 * gst/gstutils.c: (gst_element_query_position):
11927 No, an element is not a pad.
11929 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11931 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11932 (gst_bin_get_state):
11933 If a child is removed from a bin while we remove the child from
11934 the bin and while we're retrieving its state, signal this to the
11935 get_state function so we abort the wait (instead of waiting for
11936 a timeout) and can immediately re-iterate over all other elements.
11938 2005-05-12 Wim Taymans <wim@fluendo.com>
11940 * gst/base/Makefile.am:
11941 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11942 (gst_basesrc_start):
11943 * gst/base/gstbasesrc.h:
11944 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11945 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11946 (gst_pushsrc_init), (gst_pushsrc_create):
11947 * gst/base/gstpushsrc.h:
11948 Added is_seekable to BaseSrc
11949 Added simple PushSrc.
11951 2005-05-11 Wim Taymans <wim@fluendo.com>
11953 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11954 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11955 (gst_element_link_pads), (gst_element_query_position),
11956 (gst_element_query_convert), (intersect_caps_func),
11957 (gst_pad_query_position), (gst_pad_query_convert):
11958 Fix refcounting in utils function.
11959 No point in trying to activate a pad when it's added, it could
11960 be added from the state change function and then we deadlock, the
11961 element has to decide what to do.
11963 2005-05-10 Andy Wingo <wingo@pobox.com>
11965 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11966 *all* the arguments.
11968 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11969 stream lock if it's a FLUSH_DONE; normal flushes don't get the
11970 lock (according to the docs -- if this is wrong change the docs).
11972 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11973 flush messages in the NULL state.
11975 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11976 message immediately and return.
11977 (gst_bus_set_flushing): New function. If a bus is flushing, it
11978 flushes out any queued messages and immediately unrefs new
11979 messages. This is so when an element goes to NULL, all of the
11980 unhandled messages coming from it can be freed, and their
11981 references to the element dropped. In other words: message source
11982 ref considered harmful :P
11984 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11985 we're finished with it.
11987 * gst/gstmessage.c (gst_message_new_state_changed):
11989 2005-05-10 Wim Taymans <wim@fluendo.com>
11991 * gst/gstvalue.c: (gst_value_compare_flags),
11992 (gst_value_serialize_flags), (gst_value_deserialize_flags),
11993 (_gst_value_initialize):
11994 Added flags serialize/deserialize/compare code.
11996 2005-05-09 Andy Wingo <wingo@pobox.com>
11998 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11999 Intersect the peer's caps with our caps.
12001 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12003 * gst/base/gsttypefindhelper.c: (helper_find_peek):
12004 * gst/elements/gsttypefindelement.c: (find_peek):
12005 Handle negative offsets better. Fixes decodebin.
12007 2005-05-09 Wim Taymans <wim@fluendo.com>
12009 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
12010 (gst_base_transform_event):
12011 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
12012 Implement accept_caps.
12013 Fix silly lock/unlock mismatch in base class.
12015 2005-05-09 Wim Taymans <wim@fluendo.com>
12017 * docs/design/draft-push-pull.txt:
12018 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
12019 * gst/elements/gstfilesink.c: (gst_filesink_init),
12020 (gst_filesink_query):
12021 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
12022 (gst_type_find_handle_src_query), (find_element_get_length):
12023 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
12024 * gst/gstelement.h:
12025 * gst/gstmessage.c:
12026 * gst/gstmessage.h:
12027 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
12028 (gst_real_pad_get_caps_unlocked),
12029 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
12030 (gst_pad_event_default_dispatch), (gst_pad_event_default),
12031 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
12032 (gst_real_pad_dispose), (gst_real_pad_finalize),
12033 (gst_pad_load_and_link), (gst_pad_save_thyself),
12034 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
12035 (gst_pad_check_pull_range), (gst_pad_pull_range),
12036 (gst_pad_template_get_type), (gst_pad_template_class_init),
12037 (gst_pad_template_init), (gst_pad_template_dispose),
12038 (name_is_valid), (gst_static_pad_template_get),
12039 (gst_pad_template_new), (gst_static_pad_template_get_caps),
12040 (gst_pad_template_get_caps), (gst_pad_set_element_private),
12041 (gst_pad_get_element_private), (gst_pad_start_task),
12042 (gst_pad_pause_task), (gst_pad_stop_task),
12043 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
12044 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12045 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
12046 (gst_ghost_pad_new):
12048 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
12049 (gst_query_new_position), (gst_query_set_position),
12050 (gst_query_parse_position), (gst_query_new_convert),
12051 (gst_query_set_convert), (gst_query_parse_convert):
12053 * gst/gstqueryutils.c:
12054 * gst/gstqueryutils.h:
12055 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
12056 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
12057 (gst_queue_handle_src_query):
12058 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12059 (gst_element_query_position), (gst_element_query_convert),
12060 (intersect_caps_func), (gst_pad_query_position),
12061 (gst_pad_query_convert):
12063 * tools/gst-inspect.c: (print_pad_info):
12064 * tools/gst-xmlinspect.c: (print_element_info):
12065 Remove old query functions. Ported old code.
12066 Added position/convert helper functions to gstutils.
12067 Reordered gstpad.c code, grouping relevant things.
12068 Remove gst_message_new(), always need to speficy a specific
12072 2005-05-09 Andy Wingo <wingo@pobox.com>
12074 * gst/gstiterator.h: Add some includes.
12076 * gst/gstqueryutils.h: Include more headers.
12079 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
12080 some uses of gst_pad_query.
12082 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
12083 NULL out parameters.
12084 (gst_query_new_position): New proc, allocates a new position
12087 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
12088 gstqueryutils.c to the build.
12090 * gst/gststructure.c (gst_structure_set_valist): Implement with
12091 the generic G_VALUE_COLLECT.
12093 2005-05-08 Edward Hervey <bilboed@bilboed.com>
12095 * gst/Makefile.am: (gst_headers):
12096 Added gstqueryutils.h to the list of headers to install, that was
12097 a 'nachty' move wingo :)
12099 2005-05-06 Andy Wingo <wingo@pobox.com>
12102 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
12103 GstData, init a memchunk.
12104 (standard_definitions): Add a few query types, deprecate a few.
12105 (gst_query_get_type): New proc.
12106 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
12108 (gst_query_new_application, gst_query_get_structure): New public
12111 * docs/design/draft-query.txt: Removed LINKS from the query types,
12112 because all the rest can be dispatched to other pads -- seemed
12113 ugly to have a query that couldn't be dispatched. internal_links
12114 is fine as a pad method.
12116 * gst/gstpad.h: Add query2 as a pad method, add the new functions
12117 in gstpad.c, but maintain binary compatibility for the moment.
12118 Will fix before 0.9 is out.
12120 * gst/gstqueryutils.c:
12121 * gst/gstqueryutils.h: New files, implement 3 methods for each
12122 query type: parse_query, parse_response, and set. Probably need an
12125 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
12127 * gst/elements/gstfilesink.c (gst_filesink_query2):
12128 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
12129 query_types, and formats methods.
12131 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
12132 (gst_pad_set_query2_function): New functions.
12133 (gst_real_pad_init): Set query2_default as the default query2
12134 function. Basically just dispatches to internally linked pads.
12138 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
12139 without using the atomic operations. Only one thread can possibly
12140 be accessing the data at this point. Changed so as to avoid
12141 gst_atomic operations.
12143 2005-05-06 Wim Taymans <wim@fluendo.com>
12145 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
12146 Also set caps if we use the fallback buffer alloc.
12148 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
12150 * docs/gst/Makefile.am:
12151 * docs/gst/gstreamer-docs.sgml:
12152 * docs/gst/gstreamer-sections.txt:
12153 * docs/gst/tmpl/gstatomic.sgml:
12154 * docs/gst/tmpl/gstmemchunk.sgml:
12155 * testsuite/elements/struct_i386.h:
12156 * win32/GStreamer.vcproj:
12158 Purge GstAtomic stuff from docs and win32 makefiles as well
12160 2005-05-06 Wim Taymans <wim@fluendo.com>
12162 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
12163 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
12164 * gst/gstpad.c: (gst_pad_peer_get_caps):
12165 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
12166 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
12167 (gst_queue_src_activate), (gst_queue_change_state):
12169 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12170 (intersect_caps_func):
12171 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
12172 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
12173 Some fixes for the peer_get_caps() change.
12175 2005-05-06 Wim Taymans <wim@fluendo.com>
12177 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
12178 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
12179 (gst_basesink_activate):
12180 Actually do something with error codes returned from the push
12183 2005-05-06 Wim Taymans <wim@fluendo.com>
12185 * docs/design/part-element-sink.txt:
12186 * docs/design/part-element-source.txt:
12187 * gst/base/gstbasesink.c: (gst_basesink_class_init),
12188 (gst_basesink_event), (gst_basesink_activate):
12189 * gst/base/gstbasesink.h:
12190 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
12191 (gst_basesrc_activate):
12192 * gst/base/gstbasesrc.h:
12193 * gst/gstelement.c: (gst_element_pads_activate):
12194 Some more documentation.
12195 Fixed scheduling decision in _pads_activate().
12197 2005-05-05 Andy Wingo <wingo@pobox.com>
12199 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
12202 2005-05-05 Wim Taymans <wim@fluendo.com>
12204 * gst/base/Makefile.am:
12205 * gst/base/gstbasesink.h:
12206 * gst/base/gstbasesrc.c: (gst_basesrc_init),
12207 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
12208 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
12209 (gst_collectpads_class_init), (gst_collectpads_init),
12210 (gst_collectpads_finalize), (gst_collectpads_new),
12211 (gst_collectpads_set_function), (gst_collectpads_add_pad),
12212 (find_pad), (gst_collectpads_remove_pad),
12213 (gst_collectpads_is_active), (gst_collectpads_collect),
12214 (gst_collectpads_collect_range), (gst_collectpads_start),
12215 (gst_collectpads_stop), (gst_collectpads_peek),
12216 (gst_collectpads_pop), (gst_collectpads_available),
12217 (gst_collectpads_read), (gst_collectpads_flush),
12218 (gst_collectpads_chain):
12219 * gst/base/gstcollectpads.h:
12220 * gst/elements/Makefile.am:
12221 * gst/elements/gstelements.c:
12222 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12223 (gst_fakesink_get_times), (gst_fakesink_event),
12224 (gst_fakesink_preroll), (gst_fakesink_render):
12225 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
12226 (gst_filesink_init), (gst_filesink_set_location),
12227 (gst_filesink_open_file), (gst_filesink_close_file),
12228 (gst_filesink_pad_query), (gst_filesink_event),
12229 (gst_filesink_render), (gst_filesink_change_state):
12230 * gst/elements/gstfilesink.h:
12231 Added object to help in making collect pad based elements.
12233 Make event function in sink baseclass return gboolean.
12235 2005-05-05 Wim Taymans <wim@fluendo.com>
12237 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
12238 (gst_bin_get_by_name):
12240 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
12241 (gst_clock_finalize):
12242 * gst/gstdata.c: (gst_data_replace):
12244 * gst/gstelement.c: (gst_element_request_pad),
12245 (gst_element_pads_activate):
12246 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
12247 (gst_object_unref):
12248 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12249 (gst_pad_set_checkgetrange_function),
12250 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
12251 (gst_pad_check_pull_range), (gst_pad_pull_range),
12252 (gst_static_pad_template_get_caps), (gst_pad_start_task),
12253 (gst_pad_pause_task), (gst_pad_stop_task):
12254 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12255 (gst_element_request_pad), (gst_pad_proxy_getcaps):
12256 Fix name lookup in GstBin.
12257 Added _data_replace() function and _buffer_replace()
12258 Use finalize method to clean up clock.
12259 Fix refcounting on request pads.
12260 Fix pad schedule mode error.
12261 Some more object refcounting debug info,
12264 2005-05-04 Andy Wingo <wingo@pobox.com>
12266 * check/Makefile.am:
12267 * docs/gst/tmpl/gstatomic.sgml:
12268 * docs/gst/tmpl/gstplugin.sgml:
12269 * gst/base/gstbasesink.c: (gst_basesink_activate):
12270 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
12271 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
12272 (gst_basesrc_query), (gst_basesrc_set_property),
12273 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
12274 (gst_basesrc_activate):
12275 * gst/base/gstbasesrc.h:
12276 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
12277 (gst_base_transform_src_activate):
12278 * gst/elements/gstelements.c:
12279 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12280 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
12281 * gst/elements/gsttee.c: (gst_tee_sink_activate):
12282 * gst/elements/gsttypefindelement.c: (find_element_get_length),
12283 (gst_type_find_element_checkgetrange),
12284 (gst_type_find_element_activate):
12285 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
12286 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
12287 (gst_caps_load_thyself):
12288 * gst/gstelement.c: (gst_element_pads_activate),
12289 (gst_element_save_thyself), (gst_element_restore_thyself):
12290 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
12291 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
12293 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
12294 (gst_xml_parse_file), (gst_xml_parse_memory),
12295 (gst_xml_get_element), (gst_xml_make_element):
12296 * gst/indexers/gstfileindex.c: (gst_file_index_load),
12297 (_file_index_id_save_xml), (gst_file_index_commit):
12298 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
12299 (read_enum), (load_pad_template), (load_feature), (load_plugin),
12301 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
12302 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
12303 * tools/gst-complete.c: (main):
12304 * tools/gst-compprep.c: (main):
12305 * tools/gst-inspect.c: (print_element_properties_info):
12306 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12307 * tools/gst-xmlinspect.c: (print_element_properties):
12310 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
12312 * gst/gstplugin.c: (gst_plugin_check_module),
12313 (gst_plugin_check_file), (gst_plugin_load_file):
12314 apply patch from #172526 to make register work on MacOSX
12316 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12318 * docs/gst/tmpl/gstconfig.sgml:
12319 * gst/gstconfig.h.in:
12320 move documentation for some symbols. Add doc for GST_PTR_FORMAT
12321 * testsuite/debug/printf_extension.c: (main):
12322 Do not use GST_PTR_FORMAT on pointers to types with
12323 sizeof < sizeof(gpointer). Fixes test on 64-bit
12324 * testsuite/elements/property.h:
12325 use correct printf format
12327 2005-05-02 Wim Taymans <wim@fluendo.com>
12329 * docs/design/draft-push-pull.txt:
12330 * docs/design/draft-query.txt:
12331 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
12332 (gst_basesrc_start):
12333 Added draft for new query API.
12334 Added draft for better selecting scheduling methods.
12335 Make basesrc ignore length if the subclass does not support
12338 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12341 possible fixes for automake-1.5 - _LIBADD is reserved
12343 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12345 * docs/faq/Makefile.am:
12346 * docs/manual/Makefile.am:
12347 * docs/manuals.mak:
12348 * docs/pwg/Makefile.am:
12350 possible fixes for automake-1.5
12352 2005-04-28 Wim Taymans <wim@fluendo.com>
12354 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12355 (gst_basesink_pad_getcaps), (gst_basesink_init),
12356 (gst_basesink_do_sync):
12357 * gst/gstclock.c: (gst_clock_entry_new):
12358 * gst/gstevent.c: (gst_event_discont_get_value):
12359 * gst/gstpipeline.c: (pipeline_bus_handler),
12360 (gst_pipeline_change_state):
12361 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12362 Better debugging of clocking info.
12363 Allow NULL values when getting discont values.
12365 2005-04-27 Wim Taymans <wim@fluendo.com>
12367 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12368 * check/gst/gstpad.c: (gst_pad_suite):
12369 Increase timeout for checks.
12371 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12373 * check/Makefile.am:
12374 fix the broken rule for cleanup. Apparently this rule is
12375 only needed on FC2, so maybe this warrants further autotool
12378 2005-04-26 Wim Taymans <wim@fluendo.com>
12380 * gst/gsttrashstack.h:
12381 Ooohh. a nasty one! After having a failed pop() from the stack,
12382 it's possible that the stack is empty. In that case, don't
12383 follow the NULL pointer.
12385 2005-04-25 Wim Taymans <wim@fluendo.com>
12387 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12388 (gst_pad_set_checkgetrange_function),
12389 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
12390 (gst_pad_check_pull_range), (gst_pad_pull_range),
12391 (gst_static_pad_template_get_caps), (gst_pad_start_task),
12392 (gst_pad_pause_task), (gst_pad_stop_task):
12393 * gst/gstplugin.c: (gst_plugin_load):
12395 Remove gst_library_load as it does more harm than good with
12396 the new g_module flags.
12397 Revert bogus caps template check in pad linking, pad caps
12398 are important when linking not the template, which is more
12399 general than the current caps.
12401 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12403 * gst/autoplug/.cvsignore:
12404 * gst/autoplug/Makefile.am:
12405 * gst/autoplug/gstsearchfuncs.c:
12406 * gst/autoplug/gstsearchfuncs.h:
12407 * gst/autoplug/gstspider.c:
12408 * gst/autoplug/gstspider.h:
12409 * gst/autoplug/gstspideridentity.c:
12410 * gst/autoplug/gstspideridentity.h:
12411 * gst/autoplug/spidertest.c:
12414 2005-04-25 Wim Taymans <wim@fluendo.com>
12416 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12417 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12418 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
12419 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
12421 Added stubs for unimplemented functions.
12423 2005-04-24 David Schleef <ds@schleef.org>
12425 * gst/gstpad.h: Disable some unimplemented functions. Wim,
12428 2005-04-24 David Schleef <ds@schleef.org>
12430 Convert everything from GstAtomicInt to g_atomic_int_*, and
12435 * gst/gstatomic_impl.h:
12443 * gst/gstdata_private.h:
12447 * gst/gstmessage.c:
12450 * gst/gststructure.c:
12451 * gst/gststructure.h:
12452 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
12455 2005-04-24 David Schleef <ds@schleef.org>
12457 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
12458 make the regressions tests work. Remove some code that is no
12460 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
12461 Disable warning for pads without templates.
12463 2005-04-24 David Schleef <ds@schleef.org>
12465 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
12466 functions that handle filtered links.
12467 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
12469 * gst/gstutils.c: Fix/remove utility functions that handle
12472 * gst/gstvalue.c: Add serialization/deserialization of caps
12473 * gst/parse/grammar.y: Ignore filtered caps when linking. This
12474 requires fixing so that the filter caps notation creates
12475 a capsfilter element and sets the filter_caps property. I
12476 think everyone probably wants to keep the shorthand notation.
12477 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
12478 * docs/gst/tmpl/gstpad.sgml:
12480 * gst/elements/gstelements.c: Register capsfilter element.
12481 * gst/Makefile.am: fix spacing
12482 * docs/random/ds/0.9-suggested-changes: random
12484 2005-04-23 David Schleef <ds@schleef.org>
12486 * gst/elements/Makefile.am:
12487 * gst/elements/gstcapsfilter.c: New element that acts like an
12488 identity, but filters caps. Will eventually replace filtered
12489 caps in pad linking.
12490 * gst/gstutils.c: (gst_element_create_all_pads): New function
12491 to create all the ALWAYS pads that are registered with an
12492 element class. This functionality should eventually be
12493 merged in with GstElement initialization.
12495 * testsuite/trigger/README: part of trigger test code that should
12496 have been checked in a long time ago.
12498 2005-04-23 David Schleef <ds@schleef.org>
12500 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
12501 needed with new versions of libtool (nobody will confirm this),
12502 and hard to carry around.
12503 * gst/autoplug/Makefile.am:
12504 * gst/base/Makefile.am:
12505 * gst/elements/Makefile.am:
12506 * gst/indexers/Makefile.am:
12507 * gst/schedulers/Makefile.am:
12508 * libs/gst/bytestream/Makefile.am:
12509 * libs/gst/control/Makefile.am:
12510 * libs/gst/dataprotocol/Makefile.am:
12511 * libs/gst/getbits/Makefile.am:
12513 2005-04-21 Wim Taymans <wim@fluendo.com>
12515 * docs/design/draft-push-pull.txt:
12516 * docs/design/part-MT-refcounting.txt:
12517 * docs/design/part-TODO.txt:
12518 * docs/design/part-caps.txt:
12519 * docs/design/part-events.txt:
12520 * docs/design/part-gstbus.txt:
12521 * docs/design/part-gstpipeline.txt:
12522 * docs/design/part-messages.txt:
12523 * docs/design/part-push-pull.txt:
12524 * docs/design/part-query.txt:
12527 2005-04-21 Wim Taymans <wim@fluendo.com>
12529 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12530 (gst_message_new), (gst_message_new_error),
12531 (gst_message_new_warning), (gst_message_new_tag),
12532 (gst_message_new_state_changed), (gst_message_new_application),
12533 (gst_message_get_structure):
12534 * gst/gstmessage.h:
12535 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12536 (gst_structure_copy_conditional):
12537 Use parent refcount in GstMessage to ensure GstStructure
12539 Cleaned up headers a bit.
12542 2005-04-20 Wim Taymans <wim@fluendo.com>
12544 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12545 (gst_basesink_pad_getcaps), (gst_basesink_init),
12546 (gst_basesink_chain_unlocked):
12547 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12548 (gst_type_find_helper):
12549 * gst/elements/gsttypefindelement.c:
12550 (gst_type_find_element_have_type), (gst_type_find_element_init),
12551 (stop_typefinding), (gst_type_find_element_handle_event),
12552 (find_suggest), (gst_type_find_element_chain),
12553 (gst_type_find_element_checkgetrange),
12554 (gst_type_find_element_getrange), (do_typefind),
12555 (gst_type_find_element_activate):
12556 * gst/gstbuffer.c: (_gst_buffer_sub_free),
12557 (gst_buffer_default_free), (gst_buffer_default_copy),
12558 (gst_buffer_set_caps):
12559 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12560 (gst_caps_replace):
12561 * gst/gstmessage.c: (gst_message_new),
12562 (gst_message_new_state_changed):
12563 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12564 (gst_pad_set_checkgetrange_function),
12565 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12566 (gst_pad_set_caps), (gst_pad_check_pull_range),
12567 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12569 * gst/gsttypefind.c: (gst_type_find_register):
12570 Make gst_caps_replace() work like other _replace() functions.
12571 Use _caps_replace() where possible.
12572 Make sure _message_new() initialises its field.
12573 Add gst_static_pad_template_get_caps()
12576 2005-04-18 Andy Wingo <wingo@pobox.com>
12578 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12579 on the peer, not the pad. I think that was a typo. Pass an extra
12580 arg to see if random access is possible. Activate the pads as
12581 PULL_RANGE if possible.
12583 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12585 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
12586 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12589 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12591 * docs/faq/using.xml:
12592 Add note on gstreamer-properties (#154996).
12594 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12596 * docs/random/bbb/optional-properties:
12597 Some analysis on optional properties.
12599 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12601 * docs/gst/tmpl/gstelementfactory.sgml:
12602 * gst/gstelement.h:
12603 * gst/gstelementfactory.c: (gst_element_factory_init),
12604 (gst_element_factory_cleanup), (gst_element_register),
12605 (__gst_element_factory_add_static_pad_template),
12606 (gst_element_factory_get_static_pad_templates),
12607 (gst_element_factory_can_src_caps),
12608 (gst_element_factory_can_sink_caps):
12609 * gst/registries/Makefile.am:
12610 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12611 (gst_xml_registry_class_init), (gst_xml_registry_init),
12612 (gst_xml_registry_new), (gst_xml_registry_set_property),
12613 (gst_xml_registry_get_property), (get_time), (make_dir),
12614 (gst_xml_registry_get_perms_func),
12615 (plugin_times_older_than_recurse), (plugin_times_older_than),
12616 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12617 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12618 (add_to_char_array), (read_string), (read_uint), (read_enum),
12619 (load_pad_template), (load_feature), (load_plugin), (load_paths),
12620 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12621 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12622 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12623 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12624 (gst_xml_registry_rebuild):
12625 * gst/registries/gstlibxmlregistry.h:
12626 * tools/gst-compprep.c: (main):
12627 * tools/gst-inspect.c: (print_pad_templates_info):
12628 * tools/gst-xmlinspect.c: (print_element_info):
12629 Use libxml2 for registry parsing, use staticpadtemplates in
12630 elementfactories. Makes gst_init() +/- 10x faster.
12632 2005-04-12 Wim Taymans <wim@fluendo.com>
12634 * gst/base/Makefile.am:
12635 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12636 (gst_basesink_pad_getcaps), (gst_basesink_init),
12637 (gst_basesink_event), (gst_basesink_change_state):
12638 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12639 (gst_basesrc_init), (gst_basesrc_query),
12640 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12641 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12642 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12643 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12644 (gst_basesrc_stop), (gst_basesrc_activate),
12645 (gst_basesrc_change_state):
12646 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12647 (helper_find_suggest), (gst_type_find_helper):
12648 * gst/base/gsttypefindhelper.h:
12649 * gst/elements/Makefile.am:
12650 * gst/elements/gstelements.c:
12651 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12652 (gst_fakesink_get_times), (gst_fakesink_event),
12653 (gst_fakesink_preroll), (gst_fakesink_render):
12654 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12655 (gst_fakesrc_init), (gst_fakesrc_event_handler),
12656 (gst_fakesrc_get_property), (gst_fakesrc_create),
12657 (gst_fakesrc_start), (gst_fakesrc_stop):
12658 * gst/elements/gstfakesrc.h:
12659 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12660 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12661 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12662 (gst_filesrc_create_read), (gst_filesrc_create),
12663 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12664 (gst_filesrc_start):
12665 * gst/elements/gsttypefindelement.c:
12666 (gst_type_find_element_have_type), (gst_type_find_element_init),
12667 (start_typefinding), (stop_typefinding), (push_buffer_store),
12668 (gst_type_find_element_handle_event),
12669 (gst_type_find_element_chain),
12670 (gst_type_find_element_checkgetrange),
12671 (gst_type_find_element_getrange), (do_typefind),
12672 (gst_type_find_element_activate),
12673 (gst_type_find_element_change_state):
12674 * gst/elements/gsttypefindelement.h:
12675 * gst/gstpipeline.c: (pipeline_bus_handler):
12676 Added typefind helper.
12677 Small preroll fix in the base sink.
12678 Disable typefind code in basesrc.
12679 Crude port of typefindelement.
12683 2005-04-11 Wim Taymans <wim@fluendo.com>
12685 * check/gst/gstbus.c: (gstbus_suite):
12686 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12687 * check/gstcheck.h:
12688 Fix up the timeout so that the test does not fail.
12690 2005-04-06 Wim Taymans <wim@fluendo.com>
12693 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12694 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12695 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12696 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12697 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12698 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12699 (gst_basesrc_stop), (gst_basesrc_activate),
12700 (gst_basesrc_change_state), (basesrc_find_peek),
12701 (basesrc_find_suggest), (gst_basesrc_type_find):
12702 * gst/base/gstbasesrc.h:
12703 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12704 (gst_filesrc_class_init), (gst_filesrc_init),
12705 (gst_filesrc_finalize), (gst_filesrc_set_location),
12706 (gst_filesrc_set_property), (gst_filesrc_get_property),
12707 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12708 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12709 (gst_filesrc_create_read), (gst_filesrc_create),
12710 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12711 * gst/elements/gstfilesrc.h:
12712 * gst/gstelement.c: (gst_element_get_state_func),
12713 (gst_element_lost_state), (gst_element_pads_activate):
12714 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12715 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12716 (gst_pad_pull_range):
12718 More work on the generic source base class, implement seeking,
12720 Make filesrc extend the base source class.
12721 Added gst_pad_set_checkgetrange_function to GstPad.
12723 2005-04-06 Andy Wingo <wingo@pobox.com>
12725 * pkgconfig/gstreamer-base.pc.in:
12726 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12728 * pkgconfig/Makefile.am:
12729 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12731 2005-04-04 Wim Taymans <wim@fluendo.com>
12733 * gst/base/Makefile.am:
12735 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12736 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12737 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12738 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12739 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12740 (gst_basesrc_base_init), (gst_basesrc_class_init),
12741 (gst_basesrc_init), (gst_basesrc_get_formats),
12742 (gst_basesrc_get_query_types), (gst_basesrc_query),
12743 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12744 (gst_basesrc_set_property), (gst_basesrc_get_property),
12745 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12746 (gst_basesrc_loop), (gst_basesrc_activate),
12747 (gst_basesrc_change_state):
12748 * gst/base/gstbasesrc.h:
12749 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12750 (gst_fakesrc_class_init), (gst_fakesrc_init),
12751 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12752 (gst_fakesrc_get_property), (gst_fakesrc_create):
12753 * gst/elements/gstfakesrc.h:
12754 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12755 (gst_filesrc_open_file), (gst_filesrc_loop),
12756 (gst_filesrc_activate), (filesrc_find_peek),
12757 (gst_filesrc_type_find):
12758 Made base source class, make fakesrc extend it.
12759 Add comments to basesink class.
12760 Some filesrc cleanup.
12762 2005-03-31 David Schleef <ds@schleef.org>
12764 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12765 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12766 expected to link against libgstreamer.
12767 * gst/base/Makefile.am: link against libgstreamer
12768 * gst/elements/Makefile.am: same
12770 2005-03-31 Andy Wingo <wingo@pobox.com>
12772 * tests/instantiate/Makefile.am:
12773 * tests/instantiate/caps.c: Add test to test speed of caps copy
12776 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12777 GMemChunk to be fair.
12779 * gst/gsttrashstack.h: Remove warning about using the fallback
12780 trash stack implementation, it's still faster than malloc.
12782 2005-03-30 Andy Wingo <wingo@pobox.com>
12784 * tests/complexity.c: Add a copyright.
12786 2005-03-31 Wim Taymans <wim@fluendo.com>
12788 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12789 (gst_base_transform_class_init), (gst_base_transform_init),
12790 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12791 (gst_base_transform_get_property),
12792 (gst_base_transform_sink_activate),
12793 (gst_base_transform_src_activate),
12794 (gst_base_transform_change_state):
12795 * gst/base/gstbasetransform.h:
12796 * gst/elements/gstidentity.c: (gst_identity_class_init),
12797 (gst_identity_event), (gst_identity_check_perfect),
12798 (gst_identity_transform), (gst_identity_start),
12799 (gst_identity_stop):
12800 Added start/stop methods to transform base class so subclasses
12801 don't need to deal with state changes even.
12803 2005-03-31 Wim Taymans <wim@fluendo.com>
12805 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12806 (gst_event_new_discontinuous), (gst_event_discont_get_value):
12808 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12809 (gst_pad_pull_range):
12810 Added rate to the discont event to prepare for variable speed
12811 and reverse playback.
12813 2005-03-29 David Schleef <ds@schleef.org>
12816 * testsuite/trigger/Makefile.am:
12817 * testsuite/trigger/trigger.c: A little example program to show
12818 how trigger-based elements can work.
12820 2005-03-29 Wim Taymans <wim@fluendo.com>
12822 * gst/base/Makefile.am:
12824 * gst/base/gstbasesink.c: (gst_basesink_get_type),
12825 (gst_basesink_base_init), (gst_basesink_class_init),
12826 (gst_basesink_pad_getcaps), (gst_basesink_init),
12827 (gst_basesink_activate), (gst_basesink_change_state):
12828 * gst/base/gstbasesink.h:
12829 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12830 (gst_base_transform_base_init), (gst_base_transform_finalize),
12831 (gst_base_transform_class_init), (gst_base_transform_init),
12832 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12833 (gst_base_transform_event), (gst_base_transform_getrange),
12834 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12835 (gst_base_transform_set_property),
12836 (gst_base_transform_get_property),
12837 (gst_base_transform_sink_activate),
12838 (gst_base_transform_src_activate),
12839 (gst_base_transform_change_state):
12840 * gst/base/gstbasetransform.h:
12841 * gst/elements/gstidentity.c: (gst_identity_finalize),
12842 (gst_identity_class_init), (gst_identity_init),
12843 (gst_identity_event), (gst_identity_check_perfect),
12844 (gst_identity_transform), (gst_identity_set_property),
12845 (gst_identity_get_property), (gst_identity_change_state):
12846 * gst/elements/gstidentity.h:
12847 * gst/gstelement.c: (gst_element_get_state_func),
12848 (gst_element_lost_state), (gst_element_pads_activate):
12849 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12850 (gst_pad_check_pull_range), (gst_pad_pull_range):
12852 Simplify pad activation.
12853 Added function to check if pull_range can be performed.
12854 Error out when pulling inactive or flushing pads.
12855 Removed const from refcounted types as it does not make sense.
12856 Simplify pad templates in basesink
12857 Added base class for simple 1-to-1 transforms.
12858 Make identity subclass the base transform.
12860 2005-03-29 Andy Wingo <wingo@pobox.com>
12862 * docs/libs/gstreamer-libs-overrides.txt:
12863 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12864 really don't understand what's going on, but like whatever. I want
12867 * docs/gst/Makefile.am:
12868 * docs/libs/Makefile.am: Dist the overrides files.
12870 * check/Makefile.am (clean-local): Remove .libs directories.
12872 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12873 elements to EXTRA_DIST, so po/ files are happy.
12875 * po/POTFILES.in: Er, remove it here.
12877 * po/POTFILES: Remove gstspider.c.
12879 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12881 * docs/libs/gstreamer-libs-docs.sgml:
12882 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12885 * tests/complexity.c (main): Set the length of the preroll queue
12886 on the sinks to prevent a lockup.
12888 * libs/gst/dataprotocol/Makefile.am:
12889 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12890 the same as the one in check/gst-libs/gdp.c.
12892 * po/, docs/gst/: Commit automatic changes to docs and po files.
12894 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12895 the versioned libgstbase.
12897 * check/Makefile.am: Depend on an unversioned gst-register, seems
12898 to make autoconf happier.
12900 * gst/base/Makefile.am: Make libgstbase a versioned lib.
12902 2005-03-28 Wim Taymans <wim@fluendo.com>
12905 * docs/design/part-gstelement.txt:
12906 * docs/design/part-negotiation.txt:
12907 * docs/design/part-preroll.txt:
12908 * docs/design/part-scheduling.txt:
12909 * docs/design/part-states.txt:
12911 * gst/base/Makefile.am:
12913 * gst/base/gstbasesink.c: (gst_basesink_get_template),
12914 (gst_basesink_base_init), (gst_basesink_class_init),
12915 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12916 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12917 (gst_basesink_set_pad_functions),
12918 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12919 (gst_basesink_set_property), (gst_basesink_get_property),
12920 (gst_base_sink_get_template), (gst_base_sink_get_caps),
12921 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12922 (gst_basesink_preroll_queue_push),
12923 (gst_basesink_preroll_queue_empty),
12924 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12925 (gst_basesink_event), (gst_basesink_get_times),
12926 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12927 (gst_basesink_chain_unlocked), (gst_basesink_chain),
12928 (gst_basesink_loop), (gst_basesink_activate),
12929 (gst_basesink_change_state):
12930 * gst/base/gstbasesink.h:
12931 * gst/elements/Makefile.am:
12932 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12933 (gst_fakesink_class_init), (gst_fakesink_init),
12934 (gst_fakesink_set_property), (gst_fakesink_get_property),
12935 (gst_fakesink_get_times), (gst_fakesink_event),
12936 (gst_fakesink_preroll), (gst_fakesink_render),
12937 (gst_fakesink_change_state):
12938 * gst/elements/gstfakesink.h:
12939 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12940 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12941 * gst/gstelement.c: (gst_element_add_pad),
12942 (gst_element_get_state_func), (gst_element_abort_state),
12943 (gst_element_commit_state), (gst_element_lost_state),
12944 (gst_element_set_state), (gst_element_pads_activate):
12945 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12946 * gst/gstpipeline.c: (gst_pipeline_send_event),
12947 (gst_pipeline_change_state):
12948 Added state change code.
12949 Added/updated docs.
12950 Added sink base class, make fakesink extend the base class.
12951 Small cleanups in GstPipeline.
12953 2005-03-26 David Schleef <ds@schleef.org>
12955 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
12956 is broken and should be implemented in a different library.
12957 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12958 * gst/gst.h: remove gstcpu.h
12959 * gst/gstcpu.c: remove
12960 * gst/gstcpu.h: remove
12961 * gst/Makefile.am.future: Remove this file. It's ancient.
12963 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12965 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12966 (gst_bin_send_event):
12967 Add default event/set_manager handlers. The set_manager handler
12968 takes care that the manager is distributed over kids that were
12969 already in the bin before the manager was set. The event handler
12970 is a utility virtual function that sends the event over all sinks,
12971 so that gst_element_send_event (bin, event); has the expected
12973 * gst/gstpad.c: (gst_pad_event_default):
12974 Re-install default event handling for discontinuities, so that
12975 seeking works without requiring hacks in applications or extra
12977 * gst/gstpipeline.c: (gst_pipeline_class_init),
12978 (gst_pipeline_send_event):
12979 Half hack, half utility: set a pipeline to PAUSED for seek events,
12980 since that is the only way we can guarantee a/v sync. Means that
12981 you can do gst_element_seek (pipeline, method, pos); on a pipeline
12982 and it "just works".
12984 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12986 * gst/gstpipeline.c: (gst_pipeline_use_clock):
12987 Lock/unlock mismatch.
12989 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
12991 * docs/faq/gst-uninstalled:
12992 add gst-plugins-base
12993 * docs/gst/Makefile.am:
12994 don't error out until docs are fixed
12995 * docs/gst/gstreamer.types:
12998 2005-03-22 Wim Taymans <wim@fluendo.com>
13000 * check/Makefile.am:
13001 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
13002 * gst/gststructure.c: (gst_structure_set_valist),
13003 (gst_structure_copy_conditional):
13004 Activated more tests.
13005 Added message test.
13006 Added G_TYPE_POINTER to GstStructure.
13009 2005-03-22 Wim Taymans <wim@fluendo.com>
13011 * docs/design/part-TODO.txt:
13012 * docs/design/part-events.txt:
13013 * docs/design/part-gstbin.txt:
13014 * docs/design/part-gstbus.txt:
13015 * docs/design/part-gstpipeline.txt:
13016 * docs/design/part-messages.txt:
13018 * gst/gstmessage.c:
13021 2005-03-21 Wim Taymans <wim@fluendo.com>
13023 * gst/gstbus.c: (gst_bus_post):
13024 Fix copy-and-paste error.
13026 2005-03-21 Wim Taymans <wim@fluendo.com>
13028 * check/Makefile.am:
13030 * gst/elements/Makefile.am:
13031 * gst/elements/gstelements.c:
13032 * gst/elements/gstfakesink.c: (gst_fakesink_init),
13033 (gst_fakesink_event), (gst_fakesink_chain):
13034 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
13035 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
13036 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
13037 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
13038 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
13039 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
13040 (gst_fakesrc_loop), (gst_fakesrc_activate),
13041 (gst_fakesrc_change_state):
13042 * gst/elements/gstfakesrc.h:
13043 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
13044 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
13045 (gst_filesrc_open_file), (gst_filesrc_loop),
13046 (gst_filesrc_activate), (gst_filesrc_change_state),
13047 (filesrc_find_peek), (filesrc_find_suggest),
13048 (gst_filesrc_type_find):
13049 * gst/elements/gstidentity.c: (gst_identity_finalize),
13050 (gst_identity_class_init), (gst_identity_init),
13051 (gst_identity_proxy_getcaps), (identity_queue_push),
13052 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
13053 (gst_identity_getrange), (gst_identity_chain),
13054 (gst_identity_sink_loop), (gst_identity_src_loop),
13055 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
13056 (gst_identity_set_property), (gst_identity_get_property),
13057 (gst_identity_change_state):
13058 * gst/elements/gstidentity.h:
13059 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
13060 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
13061 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
13062 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
13063 (gst_tee_sink_activate):
13064 * gst/elements/gsttee.h:
13065 * gst/gst.c: (gst_register_core_elements), (init_post):
13067 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
13068 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
13069 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
13070 (gst_bin_change_state):
13072 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
13073 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
13074 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
13075 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
13076 (gst_bus_set_sync_handler), (gst_bus_create_watch),
13077 (bus_watch_callback), (bus_watch_destroy),
13078 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
13079 (poll_timeout), (gst_bus_poll):
13083 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13084 (gst_element_post_message), (gst_element_message_full),
13085 (gst_element_get_state_func), (gst_element_get_state),
13086 (gst_element_abort_state), (gst_element_commit_state),
13087 (gst_element_lost_state), (gst_element_set_state),
13088 (gst_element_pads_activate), (gst_element_change_state),
13089 (gst_element_dispose), (gst_element_set_manager_func),
13090 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
13091 (gst_element_set_manager), (gst_element_get_manager),
13092 (gst_element_set_bus), (gst_element_get_bus),
13093 (gst_element_set_scheduler), (gst_element_get_scheduler):
13094 * gst/gstelement.h:
13095 * gst/gstevent.c: (gst_event_new_segment_seek),
13096 (gst_event_new_flush):
13098 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
13099 (_gst_message_free), (gst_message_get_type), (gst_message_new),
13100 (gst_message_new_eos), (gst_message_new_error),
13101 (gst_message_new_warning), (gst_message_new_tag),
13102 (gst_message_new_state_changed), (gst_message_new_application),
13103 (gst_message_get_structure), (gst_message_parse_tag),
13104 (gst_message_parse_state_changed), (gst_message_parse_error),
13105 (gst_message_parse_warning):
13106 * gst/gstmessage.h:
13107 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
13108 (gst_real_pad_set_property), (gst_pad_set_active),
13109 (gst_pad_is_active), (gst_pad_set_blocked_async),
13110 (gst_pad_set_blocked), (gst_pad_is_blocked),
13111 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
13112 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
13113 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13114 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
13115 (gst_pad_link_filtered), (gst_pad_relink_filtered),
13116 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
13117 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
13118 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
13119 (gst_pad_set_caps), (gst_pad_configure_sink),
13120 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
13121 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
13122 (gst_real_pad_dispose), (gst_real_pad_finalize),
13123 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
13124 (gst_pad_event_default_dispatch), (gst_pad_event_default),
13125 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
13127 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
13128 (pipeline_bus_handler), (gst_pipeline_change_state),
13129 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
13130 * gst/gstpipeline.h:
13132 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
13133 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
13134 (gst_queue_link_src), (gst_queue_bufferalloc),
13135 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13136 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
13137 (gst_queue_loop), (gst_queue_handle_src_event),
13138 (gst_queue_handle_src_query), (gst_queue_src_activate),
13139 (gst_queue_change_state):
13141 * gst/gstscheduler.c: (gst_scheduler_init),
13142 (gst_scheduler_dispose), (gst_scheduler_create_task),
13143 (gst_scheduler_factory_create):
13144 * gst/gstscheduler.h:
13145 * gst/gststructure.c: (gst_structure_get_type),
13146 (gst_structure_copy_conditional):
13147 * gst/gststructure.h:
13148 * gst/gsttaginterface.h:
13149 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
13150 (gst_task_init), (gst_task_dispose), (gst_task_create),
13151 (gst_task_get_state), (gst_task_start), (gst_task_stop),
13157 * gst/schedulers/Makefile.am:
13158 * gst/schedulers/cothreads_compat.h:
13159 * gst/schedulers/entryscheduler.c:
13160 * gst/schedulers/faircothreads.c:
13161 * gst/schedulers/faircothreads.h:
13162 * gst/schedulers/fairscheduler.c:
13163 * gst/schedulers/gstbasicscheduler.c:
13164 * gst/schedulers/gstoptimalscheduler.c:
13165 * gst/schedulers/gthread-cothreads.h:
13166 * gst/schedulers/threadscheduler.c:
13167 (gst_thread_scheduler_task_get_type),
13168 (gst_thread_scheduler_task_class_init),
13169 (gst_thread_scheduler_task_init),
13170 (gst_thread_scheduler_task_start),
13171 (gst_thread_scheduler_task_stop),
13172 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
13173 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
13174 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
13175 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
13177 * libs/gst/Makefile.am:
13178 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
13179 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
13180 (gst_file_pad_parent_set):
13181 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13182 (gst_dp_event_from_packet):
13183 * tests/complexity.c: (main):
13184 * tests/mass_elements.c: (main):
13185 * testsuite/states/locked.c: (message_received), (main):
13186 * testsuite/states/parent.c: (main):
13187 * tools/gst-inspect.c: (print_element_flag_info),
13188 (print_implementation_info), (print_pad_info):
13189 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
13191 * tools/gst-md5sum.c: (event_loop), (main):
13192 * tools/gst-typefind.c: (main):
13193 * tools/gst-xmlinspect.c: (print_element_info):
13195 Added GstBus for mainloop integration.
13196 Added GstMessage for sending notifications on the bus.
13197 Added GstTask as an abstraction for pipeline entry points.
13199 Removed Schedulers.
13200 Simplified GstQueue for multithreaded core.
13201 Made _link threadsafe, removed old capsnego.
13202 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
13203 Added pad blocking functions.
13204 Reworked scheduling functions in GstPad to prepare for
13205 scheduling updates soon.
13206 Moved events out of data stream.
13207 Simplified GstEvent types.
13208 Added return values to push/pull.
13209 Removed clocking from GstElement.
13210 Added prototypes for state change function for next merge.
13211 Removed iterate from bins and state change management.
13212 Fixed some elements, disabled others for now.
13213 Fixed -inspect and -launch.
13214 Added check for GstBus.
13216 2005-03-10 Wim Taymans <wim@fluendo.com>
13218 * docs/design/part-MT-refcounting.txt:
13219 * docs/design/part-clocks.txt:
13220 * docs/design/part-gstelement.txt:
13221 * docs/design/part-gstobject.txt:
13222 * docs/design/part-standards.txt:
13223 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13224 (gst_bin_remove_func), (gst_bin_remove):
13228 * testsuite/clock/clock1.c: (main):
13229 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
13231 * testsuite/dlopen/loadgst.c: (do_test):
13232 * testsuite/refcounting/bin.c: (add_remove_test1),
13233 (add_remove_test2), (main):
13234 * testsuite/refcounting/element.c: (main):
13235 * testsuite/refcounting/element_pad.c: (main):
13236 * testsuite/refcounting/pad.c: (main):
13237 * tools/gst-launch.c: (sigint_handler_sighandler):
13238 * tools/gst-typefind.c: (main):
13240 Added doc about clock.
13241 removed gst_bin_iterate_recurse_up(), marked methods
13243 Fix more testsuites.
13245 2005-03-09 Wim Taymans <wim@fluendo.com>
13247 * gst/gstpad.c: (gst_pad_get_direction),
13248 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
13249 (gst_pad_collect_valist):
13250 * testsuite/bins/interface.c: (main):
13251 * testsuite/caps/audioscale.c: (test_caps):
13252 * testsuite/caps/caps.c: (test1), (test2), (test3):
13253 * testsuite/caps/deserialize.c: (main):
13254 * testsuite/caps/enumcaps.c: (main):
13255 * testsuite/caps/filtercaps.c: (main):
13256 * testsuite/caps/intersect2.c: (main):
13257 * testsuite/caps/random.c: (main):
13258 * testsuite/caps/renegotiate.c: (my_fixate), (main):
13259 * testsuite/caps/sets.c: (check_caps):
13260 * testsuite/caps/simplify.c: (check_caps), (main):
13261 * testsuite/caps/subtract.c: (check_caps):
13262 Fix _pad_get_direction wrt ghostpads.
13263 Fix caps testsuite.
13265 2005-03-09 Wim Taymans <wim@fluendo.com>
13267 * check/Makefile.am:
13268 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
13269 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
13270 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
13271 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
13272 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
13273 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
13274 (gst_bin_remove), (gst_bin_iterate_recurse_up),
13275 (bin_element_is_sink), (gst_bin_iterate_sinks),
13276 (gst_bin_iterate_all_by_interface):
13278 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
13279 (gst_element_change_state), (gst_element_dispose),
13280 (gst_element_finalize), (gst_element_set_loop_function):
13281 * gst/gstelement.h:
13282 * gst/gstiterator.c: (find_custom_fold_func):
13283 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13284 (gst_pad_collectv), (gst_pad_collect_valist),
13285 (gst_pad_template_new):
13286 * gst/gstpipeline.c: (gst_pipeline_class_init),
13287 (gst_pipeline_dispose), (gst_pipeline_set_property),
13288 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
13289 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
13290 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
13292 * gst/schedulers/entryscheduler.c:
13293 * gst/schedulers/gstbasicscheduler.c:
13294 (gst_basic_scheduler_cothreaded_chain),
13295 (gst_basic_scheduler_chain_add_element):
13296 * testsuite/bins/interface.c: (main):
13298 Added GstSystemClock test.
13299 Implemented clock distribution code in GstBin.
13300 Implemented iterate sinks method for future use.
13301 Rearranged gstelement.h
13302 Fix GstIterator comparison bug.
13303 Moved some code to GstPipeline, mostly clocking related.
13305 2005-03-09 Wim Taymans <wim@fluendo.com>
13308 * gst/gst_private.h:
13309 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13310 (gst_bin_remove_func), (gst_bin_remove),
13311 (gst_bin_get_by_name_recurse_up):
13312 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
13313 (gst_clock_id_compare_func), (gst_clock_id_wait),
13314 (gst_clock_id_wait_async), (gst_clock_init),
13315 (gst_clock_adjust_unlocked), (gst_clock_get_time):
13316 * gst/gstelement.h:
13317 * gst/gstinfo.c: (_gst_debug_init):
13319 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13320 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
13322 Bump version number, we're now 0.9.0
13323 Add future debugging category.
13324 Fix NULL _unref() in _get_by_name_recurse_up
13325 Rearrange gstpad.h.
13328 2005-03-08 Wim Taymans <wim@fluendo.com>
13330 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
13331 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
13332 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
13333 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
13334 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
13335 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
13336 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
13337 * gst/elements/gstidentity.c: (gst_identity_class_init):
13338 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
13339 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
13340 * gst/elements/gstshaper.c: (gst_shaper_class_init):
13341 * gst/elements/gststatistics.c: (gst_statistics_class_init):
13342 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
13344 * gst/gstelement.c: (gst_element_class_init),
13345 (gst_element_base_class_init), (gst_element_init),
13346 (gst_element_get_random_pad), (gst_element_wait_state_change),
13347 (gst_element_change_state), (gst_element_dispose),
13348 (gst_element_finalize), (gst_element_set_loop_function):
13349 * gst/gstelement.h:
13350 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
13351 * gst/gstthread.c: (gst_thread_class_init),
13352 (gst_thread_release_children_locks), (gst_thread_change_state):
13353 * gst/schedulers/gstbasicscheduler.c:
13354 (gst_basic_scheduler_loopfunc_wrapper),
13355 (gst_basic_scheduler_chain_wrapper),
13356 (gst_basic_scheduler_src_wrapper),
13357 (gst_basic_scheduler_remove_element):
13358 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
13359 Remove threadsafe properties. Fix elements because GObject
13360 complains when installing a property before declaring a
13361 set/get_property handler.
13362 Rearrange gstelement.h file, use STATE macros for state locks.
13363 Free mutexes in the finalize method instead of dispose.
13365 2005-03-08 Wim Taymans <wim@fluendo.com>
13367 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
13368 * gst/gstthread.c: (gst_thread_release_children_locks):
13369 Added parentage check.
13370 Fix build og GstThread again.
13372 2005-03-08 Wim Taymans <wim@fluendo.com>
13374 * docs/design/part-MT-refcounting.txt:
13375 * docs/design/part-conventions.txt:
13376 * docs/design/part-gstobject.txt:
13377 * docs/design/part-relations.txt:
13378 * docs/design/part-standards.txt:
13379 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13380 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
13381 (gst_bin_get_by_name), (gst_bin_get_by_interface),
13382 (gst_bin_iterate_all_by_interface):
13385 * gst/gstelement.c: (gst_element_class_init),
13386 (gst_element_change_state), (gst_element_set_loop_function):
13387 * gst/gstelement.h:
13388 * gst/gstiterator.c:
13389 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
13390 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
13391 (gst_object_dispatch_properties_changed), (gst_object_set_name),
13392 (gst_object_set_parent), (gst_object_unparent),
13393 (gst_object_check_uniqueness):
13395 Docs updates, clean up some headers.
13397 2005-03-07 Wim Taymans <wim@fluendo.com>
13399 * check/.cvsignore:
13400 * check/Makefile.am:
13401 * check/gst-libs/.cvsignore:
13402 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
13403 * check/gst/.cvsignore:
13404 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
13405 (START_TEST), (gstbus_suite), (main):
13406 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
13407 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
13408 (gst_data_suite), (main):
13409 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
13410 (add_fold_func), (gstiterator_suite), (main):
13411 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
13412 (thread_name_object), (thread_name_object_default),
13413 (gst_object_name_compare), (gst_object_suite), (main):
13414 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
13415 (gst_pad_suite), (main):
13416 * check/gstcheck.c: (gst_check_log_message_func),
13417 (gst_check_log_critical_func), (gst_check_init):
13418 * check/gstcheck.h:
13419 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13420 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
13423 2005-03-07 Wim Taymans <wim@fluendo.com>
13425 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
13426 (gst_list_iterator_next), (gst_list_iterator_resync),
13427 (gst_list_iterator_free), (gst_iterator_new_list),
13428 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
13429 (gst_iterator_free), (gst_iterator_push), (filter_next),
13430 (filter_resync), (filter_uninit), (filter_free),
13431 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
13432 (gst_iterator_foreach), (find_custom_fold_func),
13433 (gst_iterator_find_custom):
13434 * gst/gstiterator.h:
13435 Added missing files.
13437 2005-03-07 Wim Taymans <wim@fluendo.com>
13441 * docs/design/part-MT-refcounting.txt:
13442 * docs/design/part-conventions.txt:
13443 * docs/design/part-gstobject.txt:
13444 * docs/design/part-relations.txt:
13445 * examples/mixer/mixer.c: (main):
13446 * examples/thread/thread.c: (eos), (main):
13448 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
13449 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
13450 (gst_spider_plug_from_srcpad):
13451 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
13452 (gst_spider_identity_change_state),
13453 (gst_spider_identity_sink_loop_type_finding):
13454 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
13455 * gst/elements/gstidentity.c: (gst_identity_init):
13456 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
13457 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
13458 * gst/elements/gsttypefindelement.c: (free_entry):
13461 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
13462 (gst_bin_set_clock_func), (gst_bin_auto_clock),
13463 (gst_bin_set_index), (gst_bin_set_element_sched),
13464 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
13465 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
13466 (gst_bin_iterate_elements), (iterate_child_recurse),
13467 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
13468 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
13469 (compare_interface), (gst_bin_get_by_interface),
13470 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
13472 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
13473 (gst_buffer_default_free), (gst_buffer_default_copy),
13474 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
13475 (gst_buffer_create_sub):
13477 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
13478 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
13479 (gst_caps_unref), (gst_static_caps_get),
13480 (gst_caps_remove_and_get_structure), (gst_caps_append),
13481 (gst_caps_append_structure), (gst_caps_remove_structure),
13482 (gst_caps_copy_nth), (gst_caps_set_simple),
13483 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
13484 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
13485 (gst_caps_structure_intersect_field), (gst_caps_intersect),
13486 (gst_caps_structure_subtract_field), (gst_caps_subtract),
13487 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
13488 (gst_caps_structure_figure_out_union),
13489 (gst_caps_switch_structures), (gst_caps_do_simplify),
13490 (gst_caps_replace), (gst_caps_from_string),
13491 (gst_caps_copy_conditional):
13493 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
13494 (_gst_clock_id_free), (gst_clock_id_unref),
13495 (gst_clock_id_compare_func), (gst_clock_id_wait),
13496 (gst_clock_id_wait_async), (gst_clock_class_init),
13497 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
13498 (gst_clock_get_time), (gst_clock_set_time_adjust),
13499 (gst_clock_set_property), (gst_clock_get_property):
13502 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
13503 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
13505 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13506 (gst_element_requires_clock), (gst_element_provides_clock),
13507 (gst_element_set_clock), (gst_element_clock_wait),
13508 (gst_element_wait), (gst_element_set_time_delay),
13509 (gst_element_is_indexable), (gst_element_add_pad),
13510 (gst_element_add_ghost_pad), (gst_element_remove_pad),
13511 (pad_compare_name), (gst_element_get_static_pad),
13512 (gst_element_request_pad), (gst_element_get_request_pad),
13513 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13514 (gst_element_class_get_pad_template_list),
13515 (gst_element_class_get_pad_template), (gst_element_error_func),
13516 (gst_element_get_random_pad), (gst_element_get_event_masks),
13517 (gst_element_send_event), (gst_element_seek),
13518 (gst_element_get_query_types), (gst_element_query),
13519 (gst_element_get_formats), (gst_element_convert),
13520 (gst_element_is_locked_state), (gst_element_set_locked_state),
13521 (gst_element_sync_state_with_parent), (gst_element_change_state),
13522 (gst_element_finalize), (gst_element_yield),
13523 (gst_element_interrupt), (gst_element_set_scheduler),
13524 (gst_element_get_scheduler), (gst_element_set_loop_function):
13525 * gst/gstelement.h:
13527 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13528 (gst_format_get_by_nick), (gst_format_get_details),
13529 (gst_format_iterate_definitions):
13531 * gst/gstindex.c: (gst_index_gtype_resolver):
13534 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13535 (gst_mem_chunk_free):
13536 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13537 (gst_object_ref), (gst_object_unref), (gst_object_sink),
13538 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13539 (gst_object_dispatch_properties_changed),
13540 (gst_object_set_name_default), (gst_object_set_name),
13541 (gst_object_get_name), (gst_object_set_name_prefix),
13542 (gst_object_get_name_prefix), (gst_object_set_parent),
13543 (gst_object_get_parent), (gst_object_unparent),
13544 (gst_object_check_uniqueness), (gst_object_save_thyself),
13545 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13546 (gst_object_set_property), (gst_object_get_property),
13547 (gst_object_get_path_string):
13549 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13550 (gst_real_pad_init), (gst_real_pad_get_property),
13551 (gst_pad_custom_new), (gst_pad_get_direction),
13552 (gst_pad_set_active), (gst_pad_is_active),
13553 (gst_pad_set_event_function), (gst_pad_is_linked),
13554 (gst_pad_link_free), (gst_pad_link_intersect),
13555 (gst_pad_link_fixate), (gst_pad_set_caps),
13556 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13557 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13558 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13559 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13560 (gst_pad_get_caps), (gst_pad_peer_get_caps),
13561 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13562 (gst_pad_realize), (gst_pad_get_allowed_caps),
13563 (gst_real_pad_dispose), (gst_real_pad_finalize),
13564 (gst_pad_collectv), (gst_pad_collect_valist),
13565 (gst_pad_template_dispose), (gst_pad_template_new),
13566 (gst_pad_get_internal_links):
13568 * gst/gstpipeline.c: (gst_pipeline_dispose),
13569 (gst_pipeline_change_state):
13570 * gst/gstpipeline.h:
13572 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13573 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13574 * gst/gstpluginfeature.h:
13575 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13576 * gst/gstquery.c: (_gst_query_type_initialize),
13577 (gst_query_type_register), (gst_query_type_get_by_nick),
13578 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13580 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13581 * gst/gstscheduler.c: (gst_scheduler_add_element),
13582 (gst_scheduler_factory_create):
13583 * gst/gststructure.c: (gst_structure_set_parent_refcount),
13584 (gst_structure_free), (gst_structure_set_name),
13585 (gst_structure_id_set_value), (gst_structure_set_value),
13586 (gst_structure_set_valist), (gst_structure_remove_field),
13587 (gst_structure_remove_fields),
13588 (gst_structure_remove_fields_valist),
13589 (gst_structure_remove_all_fields), (gst_structure_foreach),
13590 (gst_structure_map_in_place),
13591 (gst_caps_structure_fixate_field_nearest_int),
13592 (gst_caps_structure_fixate_field_nearest_double):
13593 * gst/gststructure.h:
13594 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13595 (gst_system_clock_init), (gst_system_clock_dispose),
13596 (gst_system_clock_async_thread),
13597 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13598 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13599 * gst/gstsystemclock.h:
13600 * gst/gsttag.c: (gst_tag_list_add_value_internal),
13601 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13602 * gst/gsttaginterface.c:
13603 * gst/gstthread.c: (gst_thread_dispose),
13604 (gst_thread_release_children_locks), (gst_thread_change_state),
13605 (gst_thread_main_loop):
13606 * gst/gsttrashstack.h:
13607 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13609 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13610 (gst_element_request_pad), (gst_element_get_pad_from_template),
13611 (gst_element_request_compatible_pad),
13612 (gst_element_get_compatible_pad_filtered),
13613 (gst_element_get_compatible_pad), (gst_element_state_get_name),
13614 (gst_element_link_pads_filtered), (gst_element_link_filtered),
13615 (gst_element_link_many), (gst_element_link),
13616 (gst_element_link_pads), (gst_element_unlink_pads),
13617 (gst_element_unlink_many), (gst_element_unlink),
13618 (gst_pad_can_link_filtered), (gst_pad_can_link),
13619 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13620 (gst_object_default_error), (gst_bin_add_many),
13621 (gst_bin_remove_many), (gst_element_populate_std_props),
13622 (gst_element_class_install_std_props), (gst_buffer_merge),
13623 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13624 (link_fold_func), (gst_pad_proxy_setcaps):
13626 * gst/gstvalue.c: (gst_value_deserialize_string):
13627 * gst/parse/grammar.y:
13628 * gst/schedulers/gstbasicscheduler.c:
13629 (gst_basic_scheduler_cothreaded_chain),
13630 (gst_basic_scheduler_chain_recursive_add),
13631 (gst_basic_scheduler_pad_link):
13632 * gst/schedulers/gstoptimalscheduler.c:
13633 (get_group_schedule_function),
13634 (gst_opt_scheduler_state_transition),
13635 (gst_opt_scheduler_add_element), (element_get_reachables_func):
13636 * libs/gst/bytestream/bytestream.c:
13637 * libs/gst/dataprotocol/dataprotocol.c:
13638 (gst_dp_header_from_buffer):
13641 * tests/threadstate/threadstate2.c: (eos):
13642 * tools/gst-compprep.c: (main):
13643 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13644 (print_pad_info), (print_children_info):
13645 * tools/gst-launch.c: (idle_func), (main):
13646 * tools/gst-md5sum.c: (idle_func), (main):
13647 * tools/gst-xmlinspect.c: (print_element_info):
13648 First THREADED backport attempt, focusing on adding locks and
13649 making sure the API is threadsafe. Needs more work. More docs
13652 2005-02-24 Andy Wingo <wingo@pobox.com>
13654 * tests/bench-complexity.scm:
13655 * tests/complexity.gnuplot: New files, good for running complexity
13658 * tests/Makefile.am:
13659 * tests/complexity.c: New test, sets up N elements, at each level
13660 teeing into M streams per element. Eeeenteresting.
13662 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13663 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13664 running bench-mass_elements.scm.
13666 * tests/bench-mass_elements.scm: New script, runs mass_elements
13667 for various numbers of identities, outputting the results to a
13668 file. Requires guile 1.6. Just for testing.
13670 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
13672 * gst/schedulers/fairscheduler.c:
13673 compile with debug disabled
13675 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
13678 hunting season on 0.9 is now OPEN