1 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
3 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
4 Fix lcopy for mini objects, the mini object needs to be ref'ed.
6 * tests/check/gst/gstminiobject.c: (my_foo_init),
7 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
8 (test_value_collection), (gst_mini_object_suite):
9 Add test to ensure refcounts end up as expected when passing
10 GstMiniObjects through g_object_get() and g_object_set().
12 2005-12-14 Julien MOUTTE <julien@moutte.net>
14 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
17 of collectpads. This version removes a lot of races without
18 touching API/ABI. Yay !
20 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
22 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
23 Don't allow activation of a srcpad in pull_range if it has no
25 Change some debug statements to be a little clearer
27 * plugins/elements/gsttypefindelement.c:
28 (gst_type_find_handle_src_query):
29 Check that we have a peer before executing queries thereupon.
31 * tests/examples/metadata/read-metadata.c: (message_loop):
32 Use gst_bus_pop instead of gst_bus_poll when we just want it to
33 immediately return us any available message with 0 timeout.
35 2005-12-12 Michael Smith <msmith@fluendo.com>
37 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
38 Don't unref factories after calling them.
39 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
40 * plugins/elements/gsttypefindelement.c:
41 (gst_type_find_element_chain):
42 Free lists of factories after using them. Fixing typefinding memory
45 2005-12-12 Stefan Kost <ensonic@users.sf.net>
47 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
48 (gst_plugin_feature_load):
49 more meaningful debug output
52 * tests/old/examples/Makefile.am:
53 make make distcheck happy again
55 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
57 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
58 Catch the special case where we are operating chain-based,
59 but the downstream peer pad has no chain function. Emit a
60 custom error message in this case instead of letting the
61 core generate one implying that this is some sort of core
62 bug. It's not, it just means that whatever got plugged
63 into the pipeline downstream when we announced the type
64 can only operate pull-based, while our source can only
65 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
66 Error string has not been marked for translation yet, as
67 it probably needs some more work first.
69 (gst_type_find_element_get_best_possibility):
70 Add helper function to find the best of all available
71 found possibilities that qualify given the min. threshold.
73 (gst_type_find_element_handle_event):
74 Fix the case where we get an EOS while still in TYPEFIND
75 mode (we want to chose the best of all possible types,
76 not just the first type that happens to be in our unsorted
77 list of possible types).
79 (gst_type_find_element_chain):
80 Make sure we return GST_FLOW_ERROR when we errored out
81 in stop_typefinding(); also, don't just find the best of
82 all found type entries and then use the last examined
83 type entry, but actually use the best entry.
85 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
87 * tests/examples/typefind/typefind.c: (type_found):
88 * tests/examples/xml/runxml.c: (xml_loaded):
89 More gcc4 fixes and a mem leak fix.
91 2005-12-12 Stefan Kost <ensonic@users.sf.net>
93 * tests/examples/xml/createxml.c: (object_saved):
96 2005-12-12 Stefan Kost <ensonic@users.sf.net>
99 enable the examples even more
101 2005-12-12 Andy Wingo <wingo@pobox.com>
103 * libs/gst/net/gstnettimeprovider.c
104 (gst_net_time_provider_class_init, gst_net_time_provider_init)
105 (gst_net_time_provider_set_property)
106 (gst_net_time_provider_get_property): Export "active" as a GObject
108 (gst_net_time_provider_thread): Only respond to time queries if
109 the time provider is active.
111 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
112 NetTimeProvider, preserving binary compat.
114 2005-12-12 Stefan Kost <ensonic@users.sf.net>
116 * tests/examples/controller/audio-example.c: (main):
117 * tests/examples/launch/Makefile.am:
118 convert comments again
120 2005-12-12 Wim Taymans <wim@fluendo.com>
122 * libs/gst/base/gstpushsrc.c:
125 2005-12-12 Wim Taymans <wim@fluendo.com>
127 * docs/libs/gstreamer-libs-sections.txt:
128 Added new symbol to docs.
130 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
131 (gst_base_src_init), (gst_base_src_set_format),
132 (gst_base_src_default_query), (gst_base_src_query),
133 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
134 (gst_base_src_perform_seek), (gst_base_src_send_event),
135 (gst_base_src_default_event), (gst_base_src_event_handler),
136 (gst_base_src_set_property), (gst_base_src_get_property),
137 (gst_base_src_wait), (gst_base_src_do_sync),
138 (gst_base_src_update_length), (gst_base_src_get_range),
139 (gst_base_src_check_get_range), (gst_base_src_loop),
140 (gst_base_src_default_negotiate), (gst_base_src_start),
141 (gst_base_src_activate_push), (gst_base_src_activate_pull),
142 (gst_base_src_change_state):
143 * libs/gst/base/gstbasesrc.h:
144 Implement seeking to other formats than _BYTES.
145 Implement more seeking methods correctly.
148 Added do_seek vmethod to make life easier for subclasses
150 API addition: gst_base_src_set_format()
152 2005-12-12 Stefan Kost <ensonic@users.sf.net>
154 * tests/examples/Makefile.am:
157 2005-12-12 Stefan Kost <ensonic@users.sf.net>
160 * docs/random/ensonic/media-device-daemon.txt:
161 * tests/examples/controller/.cvsignore:
162 * tests/examples/controller/Makefile.am:
163 * tests/examples/controller/audio-example.c: (main):
164 * tests/examples/helloworld/.cvsignore:
165 * tests/examples/helloworld/Makefile.am:
166 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
167 * tests/examples/launch/.cvsignore:
168 * tests/examples/launch/Makefile.am:
169 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
170 * tests/examples/metadata/.cvsignore:
171 * tests/examples/metadata/Makefile.am:
172 * tests/examples/metadata/read-metadata.c: (message_loop),
173 (make_pipeline), (print_tag), (main):
174 * tests/examples/queue/.cvsignore:
175 * tests/examples/queue/Makefile.am:
176 * tests/examples/queue/queue.c: (event_loop), (main):
177 * tests/examples/typefind/.cvsignore:
178 * tests/examples/typefind/Makefile.am:
179 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
181 * tests/examples/xml/.cvsignore:
182 * tests/examples/xml/Makefile.am:
183 * tests/examples/xml/createxml.c: (object_saved), (main):
184 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
185 * tests/old/examples/Makefile.am:
186 * tests/old/examples/TODO:
187 * tests/old/examples/controller/.cvsignore:
188 * tests/old/examples/controller/Makefile.am:
189 * tests/old/examples/controller/audio-example.c:
190 * tests/old/examples/helloworld/.cvsignore:
191 * tests/old/examples/helloworld/Makefile.am:
192 * tests/old/examples/helloworld/helloworld.c:
193 * tests/old/examples/launch/.cvsignore:
194 * tests/old/examples/launch/Makefile.am:
195 * tests/old/examples/launch/mp3parselaunch.c:
196 * tests/old/examples/launch/mp3play:
197 * tests/old/examples/manual/Makefile.am:
198 * tests/old/examples/metadata/Makefile.am:
199 * tests/old/examples/metadata/read-metadata.c:
200 * tests/old/examples/queue/.cvsignore:
201 * tests/old/examples/queue/Makefile.am:
202 * tests/old/examples/queue/queue.c:
203 * tests/old/examples/typefind/.cvsignore:
204 * tests/old/examples/typefind/Makefile.am:
205 * tests/old/examples/typefind/typefind.c:
206 * tests/old/examples/xml/.cvsignore:
207 * tests/old/examples/xml/Makefile.am:
208 * tests/old/examples/xml/createxml.c:
209 * tests/old/examples/xml/runxml.c:
210 applied some simple fixing to some examples
211 re-enabled the working examples
213 2005-12-12 Wim Taymans <wim@fluendo.com>
215 * gst/gstsegment.c: (gst_segment_init),
216 (gst_segment_set_last_stop), (gst_segment_set_seek),
217 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
218 (gst_segment_to_running_time):
219 Added more documentation.
220 Make sure the last_pos value is updated properly.
221 Make sure to_stream_time and to_running_time don't
222 operate on wrong values.
224 * tests/check/gst/gstsegment.c: (GST_START_TEST):
227 2005-12-12 Michael Smith <msmith@fluendo.com>
229 * plugins/elements/gsttypefindelement.c: (free_entry),
230 (gst_type_find_element_chain):
231 Now that we're not leaking factories, make sure we keep references
232 to them while we need them.
234 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
236 * tests/check/gst/struct_i386.h:
237 ifdef out the XML structs
239 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
241 * gst/gstvalue.c: (gst_value_transform_double_fraction):
242 floor is not needed, F is always positive; this obviates the
243 need for adding -lm when building without libxml
245 2005-12-12 Wim Taymans <wim@fluendo.com>
247 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
248 Take current playback rate into account when reporting
251 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
253 * docs/manual/mime-world.fig:
254 Let's try this again, this time with a file that is
255 actually in XFig format.
257 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
259 * docs/manual/mime-world.fig:
260 Add audioconvert element to diagram so that it
261 matches the text and the code (fixes #319526).
263 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
265 * docs/pwg/building-chainfn.xml:
266 * docs/pwg/building-pads.xml:
267 * docs/pwg/building-state.xml:
268 * docs/pwg/other-source.xml:
269 Update state change stuff for 0.10 (fixes #322969).
271 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
273 * docs/manual/advanced-dataaccess.xml:
274 * docs/manual/appendix-checklist.xml:
275 * docs/manual/appendix-programs.xml:
276 * docs/manual/basics-pads.xml:
277 * docs/manual/highlevel-components.xml:
278 * docs/manual/manual.xml:
279 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
280 add converters in front of pipelines; remove curly
281 brackets for threads stuff, they no longer exist; use
282 GST_TYPE_FRACTION for framerates; update some pieces of
283 code to 0.10, but there's plenty more to do.
285 * docs/manual/appendix-porting.xml:
286 Expand on asynchroneous state changes; s/0.9/0.10/;
287 mention disappearance of gst_init_get_popt_table()
290 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
292 * docs/faq/using.xml:
293 Spider no longer exists, and neither does gst-launch-ext.
294 Update examples to use decodebin and playbin and put
295 converters in front of sinks (fixes #323726).
297 2005-12-09 Michael Smith <msmith@fluendo.com>
299 * plugins/elements/gsttypefindelement.c: (find_peek),
300 (gst_type_find_element_chain):
301 Fix leaking element factories in typefinding.
302 Fix problem where we forgot about a probable type on non-seekable
303 files, and thus later mis-typefound it.
305 2005-12-09 Michael Smith <msmith@fluendo.com>
307 * common/m4/gst-makecontext.m4:
308 * common/m4/gst-mcsc.m4:
310 * win32/common/config.h:
311 * win32/common/config.h.in:
312 Remove makecontext stuff; not used in 0.10 and causes problems on
313 HPUX according to bug #322441
315 2005-12-07 Wim Taymans <wim@fluendo.com>
317 * tests/check/Makefile.am:
318 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
320 * tests/check/libs/struct_i386.h:
321 Added ABI check for libs
323 2005-12-07 Wim Taymans <wim@fluendo.com>
325 * tests/check/Makefile.am:
326 And add the struct_i386.h to dist.
328 2005-12-07 Wim Taymans <wim@fluendo.com>
330 * tests/check/Makefile.am:
331 * tests/check/gst/.cvsignore:
332 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
334 * tests/check/gst/struct_i386.h:
335 Added check for ABI compatibility.
337 2005-12-07 Wim Taymans <wim@fluendo.com>
339 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
340 (gst_fake_src_get_times), (gst_fake_src_create):
341 Fix broken sync option, fixes #323259
343 2005-12-07 Wim Taymans <wim@fluendo.com>
348 * gst/gstcaps.c: (gst_caps_is_equal):
349 Don't assert on NULL <--> X. Fixes #323260
351 * gst/gstminiobject.c: (gst_mini_object_replace):
352 If we're doing atomic operations, we might just as well use
353 the proper way to get an atomic pointer.
355 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
358 2005-12-07 Michael Smith <msmith@fluendo.com>
360 * gst/parse/grammar.y:
361 Remove handling of { } for threads.
363 2005-12-06 David Schleef <ds@schleef.org>
365 * libs/gst/base/gstbasetransform.c: speling fix.
367 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
369 * docs/libs/tmpl/gstdataprotocol.sgml:
370 * docs/random/omega/testing/gstobject.c:
374 * gst/gstelementfactory.c:
379 * gst/gstpadtemplate.c:
380 * gst/gstregistryxml.c:
382 * gst/gsttagsetter.c:
385 * libs/gst/base/gstbasesrc.c:
386 * libs/gst/net/gstnetclientclock.c:
387 * libs/gst/net/gstnettimeprovider.c:
388 * plugins/elements/gstfakesrc.c:
389 * plugins/elements/gstfdsrc.c:
390 * plugins/elements/gstfilesrc.c:
391 * plugins/elements/gstidentity.c:
392 * plugins/elements/gstqueue.c:
393 * plugins/elements/gsttypefindelement.c:
394 * plugins/indexers/gstfileindex.c:
395 * plugins/indexers/gstmemindex.c:
396 * tests/check/gst/gsttag.c:
397 * tests/old/examples/cutter/cutter.c:
398 * tests/old/examples/mixer/mixer.c:
399 * tests/old/examples/xml/runxml.c: (main):
400 * tests/old/testsuite/caps/normalisation.c:
401 * tests/old/testsuite/debug/global.c:
402 * tests/old/testsuite/parse/parse1.c:
403 * tools/gst-xmlinspect.c:
404 * win32/common/dirent.c:
407 === release 0.10.0 ===
409 2005-12-05 <thomas (at) apestaart (dot) org>
412 releasing 0.10.0, "Maroilles"
414 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
416 submitted by: Funda Wang <fundawang@linux.net.cn>
420 added Chinese (Traditional) translation
422 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
424 * docs/gst/gstreamer-sections.txt:
425 * docs/libs/tmpl/gstdataprotocol.sgml:
426 * docs/random/thomasvs/TODO:
431 2005-12-05 Andy Wingo <wingo@pobox.com>
433 patch by: Wim Taymans <wim@fluendo.com>
435 * libs/gst/base/gstbasetransform.c
436 (gst_base_transform_prepare_output_buf)
437 (gst_base_transform_buffer_alloc):
438 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
439 alloc_buffer_and_set_caps.
441 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
442 set_caps on the source pad.
443 (gst_pad_alloc_buffer_and_set_caps): New function, does what
444 alloc_buffer used to do. Fixes #322874.
446 * docs/gst/gstreamer-sections.txt:
447 * docs/design/part-negotiation.txt:
448 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
451 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
453 patch by: Sebastien Moutte
456 * win32/common/config.h.in:
457 * win32/vs6/libgstcontroller.dsp:
460 2005-12-05 Wim Taymans <wim@fluendo.com>
462 * gst/gstcaps.c: (gst_caps_is_equal):
463 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
464 (gst_fake_src_create):
465 Back out previous code changes, leave doc updates, file bugs
468 2005-12-05 Wim Taymans <wim@fluendo.com>
470 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
471 (gst_fake_src_get_times), (gst_fake_src_create):
472 * plugins/elements/gstfakesrc.h:
473 Fix broken sync code.
475 2005-12-05 Wim Taymans <wim@fluendo.com>
477 * gst/gstcaps.c: (gst_caps_is_equal):
478 Comparing NULL against !NULL yields different caps, not a
481 2005-12-05 Wim Taymans <wim@fluendo.com>
484 Fix small typo in docs.
486 2005-12-05 Andy Wingo <wingo@pobox.com>
488 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
490 * gst/gst.c (init_post): remove hard-coded 0.9 location for
491 registries/plugins with a MAJORMINOR one.
492 (plugin_desc): Rename library from gstcoreleements to
493 staticelements. Fixes #323222.
495 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
497 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
498 Change debug category to 'collectpads' from 'collect_pads'
501 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
503 patch by: Sebastien Moutte
505 * libs/gst/controller/gstinterpolation.c:
506 use convert function for uint64/double
507 * win32/vs6/libgstcontroller.dsp:
510 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
512 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
513 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
515 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
516 add tests that seem to show that the guint64/gdouble conversions
519 2005-12-02 Wim Taymans <wim@fluendo.com>
521 * gst/gstregistry.c: (gst_registry_add_path):
523 * gst/gstregistryxml.c:
526 2005-12-02 Wim Taymans <wim@fluendo.com>
528 * gst/gstutils.c: (gst_util_uint64_scale_int64),
529 (gst_util_uint64_scale_int):
532 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
535 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
538 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
541 * win32/common/config.h:
542 * win32/vs6/gstreamer.dsw:
543 * win32/vs6/libgstcoreelements.dsp:
544 * win32/vs6/libgstelements.dsp:
545 renamed core elements plugin
547 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
549 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
551 do piece-wise major/minor comparison so 0.9 < 0.10
552 also allow .exe extensions for tools
554 2005-12-02 Michael Smith <msmith@fluendo.com>
557 Escape a % to make gtkdoc happier; bug 322958.
559 === release 0.9.7 ===
561 2005-12-01 <thomas (at) apestaart (dot) org>
564 releasing 0.9.7, "My Dog Has No Nose"
566 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
568 * common/gst-xmlinspect.py:
570 * docs/libs/tmpl/gstdataprotocol.sgml:
571 * docs/random/release:
590 * win32/common/config.h:
591 * win32/common/config.h.in:
592 * win32/vs6/gst_inspect.dsp:
593 * win32/vs6/gst_launch.dsp:
594 * win32/vs6/libgstbase.dsp:
595 * win32/vs6/libgstelements.dsp:
596 * win32/vs6/libgstreamer.dsp:
597 * win32/vs7/GStreamer.vcproj:
598 * win32/vs7/gst-inspect.vcproj:
599 * win32/vs7/gst-launch.vcproj:
600 * win32/vs7/libgstbase.vcproj:
601 bump GST_MAJORMINOR to 0.10
602 reset libtool version
604 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
608 Added Bulgarian translation by (Alexander Shopov)
610 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
612 * tests/check/gst/gstplugin.c:
615 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
617 * common/gst-xmlinspect.py:
618 * common/gtk-doc-plugins.mak:
621 * docs/gst/Makefile.am:
622 * docs/gst/gstreamer-docs.sgml:
623 * docs/gst/gstreamer-sections.txt:
624 * docs/gst/gstreamer.types:
625 * docs/gst/gstreamer.types.in:
626 * docs/plugins/Makefile.am:
627 * docs/plugins/gstreamer-plugins-docs.sgml:
628 * docs/plugins/gstreamer-plugins-sections.txt:
629 * docs/plugins/gstreamer-plugins.types:
630 * docs/plugins/inspect.stamp:
631 * docs/plugins/inspect/plugin-coreelements.xml:
632 * docs/plugins/inspect/plugin-coreindexers.xml:
633 * docs/plugins/scanobj-build.stamp:
635 * plugins/elements/Makefile.am:
636 * plugins/elements/gstelements.c:
637 * plugins/elements/gstfakesink.c:
638 * plugins/elements/gstfakesrc.c:
639 * plugins/elements/gstfilesink.c:
640 * plugins/elements/gstfilesrc.c:
641 * plugins/elements/gstqueue.c:
642 * plugins/indexers/Makefile.am:
643 * plugins/indexers/gstindexers.c:
644 document core plugins in a separate document just like all the
646 rename these plugins to something starting with core
648 2005-12-01 Andy Wingo <wingo@pobox.com>
650 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
651 padding here before, but it missed the commit.
653 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
655 * libs/gst/controller/gstinterpolation.c:
656 whitespace prices have crashed, we should feel free to use some now
657 use gst_guint64_to_gdouble
659 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
661 * libs/gst/controller/gstcontroller.c:
662 * libs/gst/controller/gsthelper.c:
663 * libs/gst/controller/gstinterpolation.c:
664 * libs/gst/controller/lib.c:
665 wrap config.h include
667 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
669 * docs/gst/gstreamer-sections.txt:
672 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
674 * plugins/elements/gstelements.c:
675 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
676 (gst_fd_sink__class_init), (gst_fd_sink__init),
677 (gst_fd_sink__chain), (gst_fd_sink__set_property),
678 (gst_fd_sink__get_property):
679 * plugins/elements/gstfdsink.h:
680 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
681 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
682 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
683 (gst_fd_src_unlock), (gst_fd_src_set_property),
684 (gst_fd_src_get_property), (gst_fd_src_create),
685 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
686 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
687 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
688 (gst_fd_src_uri_handler_init):
689 * plugins/elements/gstfdsrc.h:
690 * plugins/elements/gstqueue.c: (gst_queue_get_type):
693 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
695 * docs/gst/Makefile.am:
696 * docs/gst/gstreamer.types.in:
700 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
707 * tests/benchmarks/complexity.c:
708 * tests/benchmarks/mass-elements.c:
709 * tests/check/Makefile.am:
711 * tools/gst-inspect.c:
712 * tools/gst-xmlinspect.c:
713 various fixes to make
714 --disable-nls --disable-registry --disable-loadsave
715 --disable-parse --disable-gst-debug
716 work and get the core .so down to 360444 bytes after stripping
718 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
723 * docs/random/thomasvs/TODO:
728 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
730 * win32/GStreamer.vcproj:
733 * win32/Makefile.inspect:
734 * win32/Makefile.launch:
735 * win32/Makefile.register:
737 * win32/gst-inspect.vcproj:
738 * win32/gst-launch.vcproj:
739 * win32/gst-register.vcproj:
740 * win32/gstelements.vcproj:
741 * win32/gstgetbits.def:
742 * win32/gstgetbits.vcproj:
743 * win32/gstreamer-dbg.def:
744 * win32/gstreamer.def:
745 * win32/libgstbase.def:
746 * win32/libgstbase.vcproj:
747 * win32/link_oldruntime.c:
752 move even more stuff, win32/ is nice and clean now
754 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
756 * libs/gst/control/.cvsignore:
761 * win32/gstbytestream.def:
762 * win32/gstbytestream.vcproj:
764 * win32/gstenumtypes.c:
765 * win32/gstenumtypes.h:
766 * win32/gstoptimalscheduler.vcproj:
767 * win32/gstversion.h:
769 * win32/testsuite/bins.vcproj:
770 * win32/testsuite/bytestream.vcproj:
771 * win32/testsuite/caps.vcproj:
772 * win32/testsuite/cleanup.vcproj:
773 * win32/testsuite/clock.vcproj:
774 * win32/testsuite/debug.vcproj:
775 * win32/testsuite/dlopen.vcproj:
776 * win32/testsuite/dynparams.vcproj:
777 * win32/testsuite/elements.vcproj:
778 * win32/testsuite/ghostpads.vcproj:
779 * win32/testsuite/indexers.vcproj:
780 * win32/testsuite/negotiation.vcproj:
781 * win32/testsuite/parse.vcproj:
782 * win32/testsuite/plugin.vcproj:
783 * win32/testsuite/refcounting.vcproj:
784 * win32/testsuite/schedulers.vcproj:
785 * win32/testsuite/states.vcproj:
786 * win32/testsuite/tags.vcproj:
787 * win32/testsuite/threads.vcproj:
788 remove old win32 stuff that isn't maintained and should be
791 2005-11-30 Andy Wingo <wingo@pobox.com>
793 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
794 loading the gst.interfaces python module bork.
796 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
797 available since GLib 2.2. Fixes #318031.
799 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
804 * check/elements/.cvsignore:
805 * check/elements/fakesrc.c:
806 * check/elements/fdsrc.c:
807 * check/elements/identity.c:
808 * check/generic/.cvsignore:
809 * check/generic/states.c:
810 * check/gst-libs/.cvsignore:
811 * check/gst-libs/controller.c:
812 * check/gst-libs/gdp.c:
813 * check/gst/.cvsignore:
814 * check/gst/capslist.h:
816 * check/gst/gstbin.c:
817 * check/gst/gstbuffer.c:
818 * check/gst/gstbus.c:
819 * check/gst/gstcaps.c:
820 * check/gst/gstelement.c:
821 * check/gst/gstevent.c:
822 * check/gst/gstghostpad.c:
823 * check/gst/gstiterator.c:
824 * check/gst/gstmessage.c:
825 * check/gst/gstminiobject.c:
826 * check/gst/gstobject.c:
827 * check/gst/gstpad.c:
828 * check/gst/gstpipeline.c:
829 * check/gst/gstplugin.c:
830 * check/gst/gstsegment.c:
831 * check/gst/gststructure.c:
832 * check/gst/gstsystemclock.c:
833 * check/gst/gsttag.c:
834 * check/gst/gstutils.c:
835 * check/gst/gstvalue.c:
836 * check/net/.cvsignore:
837 * check/net/gstnetclientclock.c:
838 * check/net/gstnettimeprovider.c:
839 * check/pipelines/.cvsignore:
840 * check/pipelines/cleanup.c:
841 * check/pipelines/simple_launch_lines.c:
842 * check/pipelines/stress.c:
843 * check/states/.cvsignore:
844 * check/states/sinks.c:
846 * examples/Makefile.am:
847 * examples/appreader/.cvsignore:
848 * examples/appreader/Makefile.am:
849 * examples/appreader/appreader.c:
850 * examples/controller/.cvsignore:
851 * examples/controller/Makefile.am:
852 * examples/controller/audio-example.c:
853 * examples/cutter/.cvsignore:
854 * examples/cutter/Makefile.am:
855 * examples/cutter/cutter.c:
856 * examples/cutter/cutter.h:
857 * examples/events/Makefile.am:
858 * examples/events/seek.c:
859 * examples/helloworld/.cvsignore:
860 * examples/helloworld/Makefile.am:
861 * examples/helloworld/helloworld.c:
862 * examples/helloworld2/.cvsignore:
863 * examples/helloworld2/Makefile.am:
864 * examples/helloworld2/helloworld2.c:
865 * examples/launch/.cvsignore:
866 * examples/launch/Makefile.am:
867 * examples/launch/mp3parselaunch.c:
868 * examples/launch/mp3play:
869 * examples/manual/.cvsignore:
870 * examples/manual/Makefile.am:
871 * examples/manual/extract.pl:
872 * examples/metadata/Makefile.am:
873 * examples/metadata/read-metadata.c:
874 * examples/mixer/.cvsignore:
875 * examples/mixer/Makefile.am:
876 * examples/mixer/mixer.c:
877 * examples/mixer/mixer.h:
878 * examples/pingpong/.cvsignore:
879 * examples/pingpong/Makefile.am:
880 * examples/pingpong/pingpong.c:
881 * examples/plugins/.cvsignore:
882 * examples/plugins/Makefile.am:
883 * examples/plugins/example.c:
884 * examples/plugins/example.h:
885 * examples/pwg/.cvsignore:
886 * examples/pwg/Makefile.am:
887 * examples/pwg/extract.pl:
888 * examples/queue/.cvsignore:
889 * examples/queue/Makefile.am:
890 * examples/queue/queue.c:
891 * examples/queue2/.cvsignore:
892 * examples/queue2/Makefile.am:
893 * examples/queue2/queue2.c:
894 * examples/queue3/.cvsignore:
895 * examples/queue3/Makefile.am:
896 * examples/queue3/queue3.c:
897 * examples/queue4/.cvsignore:
898 * examples/queue4/Makefile.am:
899 * examples/queue4/queue4.c:
900 * examples/retag/.cvsignore:
901 * examples/retag/Makefile.am:
902 * examples/retag/retag.c:
903 * examples/retag/transcode.c:
904 * examples/thread/.cvsignore:
905 * examples/thread/Makefile.am:
906 * examples/thread/thread.c:
907 * examples/typefind/.cvsignore:
908 * examples/typefind/Makefile.am:
909 * examples/typefind/typefind.c:
910 * examples/xml/.cvsignore:
911 * examples/xml/Makefile.am:
912 * examples/xml/createxml.c:
913 * examples/xml/runxml.c:
915 * tests/check/Makefile.am:
916 * testsuite/.cvsignore:
917 * testsuite/Makefile.am:
919 * testsuite/caps/.cvsignore:
920 * testsuite/caps/Makefile.am:
921 * testsuite/caps/app_fixate.c:
922 * testsuite/caps/audioscale.c:
923 * testsuite/caps/caps.c:
924 * testsuite/caps/caps.h:
925 * testsuite/caps/caps_strings:
926 * testsuite/caps/compatibility.c:
927 * testsuite/caps/deserialize.c:
928 * testsuite/caps/enumcaps.c:
929 * testsuite/caps/eratosthenes.c:
930 * testsuite/caps/filtercaps.c:
931 * testsuite/caps/fixed.c:
932 * testsuite/caps/fraction-convert.c:
933 * testsuite/caps/fraction-multiply-and-zero.c:
934 * testsuite/caps/intersect2.c:
935 * testsuite/caps/intersection.c:
936 * testsuite/caps/normalisation.c:
937 * testsuite/caps/random.c:
938 * testsuite/caps/renegotiate.c:
939 * testsuite/caps/sets.c:
940 * testsuite/caps/simplify.c:
941 * testsuite/caps/string-conversions.c:
942 * testsuite/caps/structure.c:
943 * testsuite/caps/subtract.c:
944 * testsuite/caps/union.c:
945 * testsuite/debug/.cvsignore:
946 * testsuite/debug/Makefile.am:
947 * testsuite/debug/category.c:
948 * testsuite/debug/commandline.c:
949 * testsuite/debug/global.c:
950 * testsuite/debug/output.c:
951 * testsuite/debug/printf_extension.c:
952 * testsuite/dlopen/.cvsignore:
953 * testsuite/dlopen/Makefile.am:
954 * testsuite/dlopen/dlopen_gst.c:
955 * testsuite/dlopen/loadgst.c:
956 * testsuite/elements/.cvsignore:
957 * testsuite/elements/Makefile.am:
958 * testsuite/elements/gst-inspect-check.in:
959 * testsuite/elements/struct_i386.h:
960 * testsuite/elements/struct_size.c:
961 * testsuite/indexers/.cvsignore:
962 * testsuite/indexers/Makefile.am:
963 * testsuite/indexers/cache1.c:
964 * testsuite/indexers/indexdump.c:
965 * testsuite/parse/.cvsignore:
966 * testsuite/parse/Makefile.am:
967 * testsuite/parse/parse1.c:
968 * testsuite/parse/parse2.c:
969 * testsuite/plugin/.cvsignore:
970 * testsuite/plugin/Makefile.am:
971 * testsuite/plugin/README:
972 * testsuite/plugin/dynamic.c:
973 * testsuite/plugin/linked.c:
974 * testsuite/plugin/loading.c:
975 * testsuite/plugin/registry.c:
976 * testsuite/plugin/static.c:
977 * testsuite/plugin/static2.c:
978 * testsuite/plugin/testplugin.c:
979 * testsuite/plugin/testplugin2.c:
980 * testsuite/plugin/testplugin2_s.c:
981 * testsuite/plugin/testplugin_s.c:
982 * testsuite/refcounting/.cvsignore:
983 * testsuite/refcounting/Makefile.am:
984 * testsuite/refcounting/bin.c:
985 * testsuite/refcounting/element.c:
986 * testsuite/refcounting/element_pad.c:
987 * testsuite/refcounting/mainloop.c:
988 * testsuite/refcounting/mem.c:
989 * testsuite/refcounting/mem.h:
990 * testsuite/refcounting/object.c:
991 * testsuite/refcounting/pad.c:
992 * testsuite/refcounting/sched.c:
993 * testsuite/refcounting/thread.c:
994 * testsuite/states/.cvsignore:
995 * testsuite/states/Makefile.am:
996 * testsuite/states/bin.c:
997 * testsuite/states/locked.c:
998 * testsuite/states/parent.c:
999 * testsuite/threads/.cvsignore:
1000 * testsuite/threads/159566.c:
1001 * testsuite/threads/159852.c:
1002 * testsuite/threads/Makefile.am:
1003 * testsuite/threads/queue.c:
1004 * testsuite/threads/signals.c:
1005 * testsuite/threads/staticrec.c:
1006 * testsuite/threads/thread.c:
1007 * testsuite/threads/threadb.c:
1008 * testsuite/threads/threadc.c:
1009 * testsuite/threads/threadd.c:
1010 * testsuite/threads/threade.c:
1011 * testsuite/threads/threadf.c:
1012 * testsuite/threads/threadg.c:
1013 * testsuite/threads/threadh.c:
1014 * testsuite/threads/threadi.c:
1015 move all of these under tests
1017 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1020 * tests/Makefile.am:
1023 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1025 * docs/gst/gstreamer-sections.txt:
1026 * tests/sched/.cvsignore:
1027 * tests/sched/Makefile.am:
1028 * tests/sched/cases/(fs-fs).xml:
1029 * tests/sched/cases/(fs-i-fs).xml:
1030 * tests/sched/cases/(fs-i-i-fs).xml:
1031 * tests/sched/cases/(fs-i-q[i-fs]).xml:
1032 * tests/sched/dynamic-pipeline.c:
1033 * tests/sched/interrupt1.c:
1034 * tests/sched/interrupt2.c:
1035 * tests/sched/interrupt3.c:
1036 * tests/sched/runtestcases:
1037 * tests/sched/runxml.c:
1038 * tests/sched/sched-stress.c:
1039 * tests/sched/sort.c:
1040 * tests/sched/testcases:
1041 * tests/sched/testcases1.tc:
1042 * tests/seeking/.cvsignore:
1043 * tests/seeking/Makefile.am:
1044 * tests/seeking/seeking1.c:
1045 * tests/threadstate/.cvsignore:
1046 * tests/threadstate/Makefile.am:
1047 * tests/threadstate/test1.c:
1048 * tests/threadstate/test2.c:
1049 * tests/threadstate/threadstate1.c:
1050 * tests/threadstate/threadstate2.c:
1051 * tests/threadstate/threadstate3.c:
1052 * tests/threadstate/threadstate4.c:
1053 * tests/threadstate/threadstate5.c:
1054 remove obsolete tests
1056 * tests/bench-complexity.scm:
1057 * tests/bench-mass_elements.scm:
1058 * tests/complexity.c:
1059 * tests/complexity.gnuplot:
1060 * tests/instantiate/.cvsignore:
1061 * tests/instantiate/Makefile.am:
1062 * tests/instantiate/caps.c:
1063 * tests/mass_elements.c:
1064 * tests/network-clock-utils.scm:
1065 * tests/network-clock.scm:
1067 First pass at cleaning up tests/ dir before moving the rest
1068 Combined with CVS surgery
1070 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1073 queue has moved, update
1075 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1077 * docs/gst/gstreamer-sections.txt:
1078 remove double entries from the docs
1079 * gst/gst_private.h:
1080 * gst/gstinfo.c: (_gst_debug_init):
1081 remove the THREAD debug category
1085 * docs/gst/gstreamer.types:
1086 * plugins/elements/gstqueue.c: (gst_queue_get_type),
1087 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
1088 completely move queue and fix up debugging categories
1090 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1092 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1093 make initialization portable, using LL is not
1095 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1097 * win32/common/gstconfig.h:
1100 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1102 * win32/common/libgstreamer.def:
1103 rename symbols; sort base section
1105 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1107 * gst/gstclock.c: (do_linear_regression):
1108 remove crack non-portable handrolled DEBUG macro
1110 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1112 * docs/random/release:
1114 * win32/common/gstenumtypes.c: (register_gst_object_flags),
1115 (gst_object_flags_get_type), (register_gst_bin_flags),
1116 (gst_bin_flags_get_type), (register_gst_buffer_flag),
1117 (gst_buffer_flag_get_type), (register_gst_bus_flags),
1118 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
1119 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
1120 (gst_caps_flags_get_type), (register_gst_clock_return),
1121 (gst_clock_return_get_type), (register_gst_clock_entry_type),
1122 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
1123 (gst_clock_flags_get_type), (register_gst_state),
1124 (gst_state_get_type), (register_gst_state_change_return),
1125 (gst_state_change_return_get_type), (register_gst_state_change),
1126 (gst_state_change_get_type), (register_gst_element_flags),
1127 (gst_element_flags_get_type), (register_gst_core_error),
1128 (gst_core_error_get_type), (register_gst_library_error),
1129 (gst_library_error_get_type), (register_gst_resource_error),
1130 (gst_resource_error_get_type), (register_gst_stream_error),
1131 (gst_stream_error_get_type), (register_gst_event_type_flags),
1132 (gst_event_type_flags_get_type), (register_gst_event_type),
1133 (gst_event_type_get_type), (register_gst_seek_type),
1134 (gst_seek_type_get_type), (register_gst_seek_flags),
1135 (gst_seek_flags_get_type), (register_gst_format),
1136 (gst_format_get_type), (register_gst_index_certainty),
1137 (gst_index_certainty_get_type), (register_gst_index_entry_type),
1138 (gst_index_entry_type_get_type),
1139 (register_gst_index_lookup_method),
1140 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
1141 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
1142 (gst_index_resolver_method_get_type), (register_gst_index_flags),
1143 (gst_index_flags_get_type), (register_gst_debug_level),
1144 (gst_debug_level_get_type), (register_gst_debug_color_flags),
1145 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
1146 (gst_iterator_result_get_type), (register_gst_iterator_item),
1147 (gst_iterator_item_get_type), (register_gst_message_type),
1148 (gst_message_type_get_type), (register_gst_mini_object_flags),
1149 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
1150 (gst_pad_link_return_get_type), (register_gst_flow_return),
1151 (gst_flow_return_get_type), (register_gst_activate_mode),
1152 (gst_activate_mode_get_type), (register_gst_pad_direction),
1153 (gst_pad_direction_get_type), (register_gst_pad_flags),
1154 (gst_pad_flags_get_type), (register_gst_pad_presence),
1155 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
1156 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
1157 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
1158 (gst_plugin_error_get_type), (register_gst_plugin_flags),
1159 (gst_plugin_flags_get_type), (register_gst_rank),
1160 (gst_rank_get_type), (register_gst_query_type),
1161 (gst_query_type_get_type), (register_gst_tag_merge_mode),
1162 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
1163 (gst_tag_flag_get_type), (register_gst_task_state),
1164 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
1165 (gst_alloc_trace_flags_get_type),
1166 (register_gst_type_find_probability),
1167 (gst_type_find_probability_get_type), (register_gst_uri_type),
1168 (gst_uri_type_get_type), (register_gst_parse_error),
1169 (gst_parse_error_get_type):
1170 * win32/common/gstenumtypes.h:
1171 * win32/common/gstversion.h:
1172 update visual studio generated files
1174 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1176 * win32/vs6/libgstbase.dsp:
1177 * win32/vs6/libgstelements.dsp:
1178 update project files for new locations
1180 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1185 reinstate and update
1190 * docs/random/LICENSE:
1193 2005-11-30 Edward Hervey <edward@fluendo.com>
1195 * gst/gsttypefind.c: (gst_type_find_register):
1196 * gst/gsttypefind.h:
1197 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
1198 (gst_type_find_factory_dispose):
1199 * gst/gsttypefindfactory.h:
1200 Fix memory leak in GstTypeFindFactory.
1202 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1205 * plugins/elements/Makefile.am:
1206 * plugins/elements/gstelements.c:
1207 * plugins/elements/gstqueue.c:
1208 move queue from core to the elements plugin
1210 2005-11-29 Andy Wingo <wingo@pobox.com>
1212 * libs/gst/base/gstbasetransform.h:
1213 * libs/gst/base/gstbasesrc.h:
1214 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
1216 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
1217 of pointers by which to pad very extensible base classes (like the
1218 ones in libs/gst/base).
1220 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1222 * docs/gst/gstreamer-docs.sgml:
1223 * docs/gst/gstreamer-sections.txt:
1224 * docs/libs/gstreamer-libs-docs.sgml:
1225 * docs/libs/gstreamer-libs-sections.txt:
1226 moving documentation from core to lib
1228 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1230 * check/Makefile.am:
1232 * docs/gst/Makefile.am:
1234 * gst/base/.cvsignore:
1235 * gst/base/Makefile.am:
1237 * gst/base/gstadapter.c:
1238 * gst/base/gstadapter.h:
1239 * gst/base/gstbasesink.c:
1240 * gst/base/gstbasesink.h:
1241 * gst/base/gstbasesrc.c:
1242 * gst/base/gstbasesrc.h:
1243 * gst/base/gstbasetransform.c:
1244 * gst/base/gstbasetransform.h:
1245 * gst/base/gstcollectpads.c:
1246 * gst/base/gstcollectpads.h:
1247 * gst/base/gstpushsrc.c:
1248 * gst/base/gstpushsrc.h:
1249 * gst/base/gsttypefindhelper.c:
1250 * gst/base/gsttypefindhelper.h:
1251 * gst/check/Makefile.am:
1252 * gst/check/gstcheck.c:
1253 * gst/check/gstcheck.h:
1254 * gst/net/Makefile.am:
1256 * gst/net/gstnetclientclock.c:
1257 * gst/net/gstnetclientclock.h:
1258 * gst/net/gstnettimepacket.c:
1259 * gst/net/gstnettimepacket.h:
1260 * gst/net/gstnettimeprovider.c:
1261 * gst/net/gstnettimeprovider.h:
1262 * libs/gst/Makefile.am:
1263 * libs/gst/base/Makefile.am:
1264 * libs/gst/base/gstbasetransform.c:
1265 * libs/gst/check/Makefile.am:
1266 * plugins/elements/Makefile.am:
1268 CVS surgery + support to move base, check, and net out of gst
1271 2005-11-29 Andy Wingo <wingo@pobox.com>
1273 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
1275 * gst/gststructure.h (struct _GstStructure): Only one pointer of
1278 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
1280 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
1282 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
1284 * gst/gstobject.h: (struct _GstObject): Only one pointer of
1285 padding; reduces object size by about 30%. We don't expect
1286 anything else to go into gstobject.
1288 * gst/gstminiobject.h (struct _GstMiniObject)
1289 (struct _GstMiniObjectClass): Only one pointer of padding; the
1290 payload is only a pointer and two ints anyway. For the class there
1291 are only two methods as well.
1293 * gst/gstelement.h (struct _GstElementClass): Removed
1294 the state_changed signal callback, it is not used.
1296 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1298 * docs/gst/gstreamer.types:
1299 fix includes, though they are a little dinky
1301 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1303 * check/Makefile.am:
1304 look in the right place for elements, a lot more chance of
1307 remove indexers and elements subdirs
1308 * plugins/Makefile.am:
1309 make indexers conditional
1311 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1315 * plugins/elements/Makefile.am:
1316 * plugins/elements/gstcapsfilter.c:
1317 * plugins/elements/gstfilesink.c:
1318 * plugins/elements/gstfilesrc.c:
1319 * plugins/elements/gstidentity.c:
1320 * plugins/indexers/Makefile.am:
1321 do CVS surgery and related build fixery to move elements
1322 and indexers in a new gstreamer/plugins directory, out of the
1325 2005-11-29 Andy Wingo <wingo@pobox.com>
1327 * check/Makefile.am:
1328 * pkgconfig/gstreamer-net-uninstalled.pc.in:
1329 * pkgconfig/gstreamer-net.pc.in:
1330 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
1333 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1335 * tools/Makefile.am:
1336 * tools/gst-complete.1.in:
1337 * tools/gst-complete.c:
1338 * tools/gst-compprep.1.in:
1339 * tools/gst-compprep.c:
1340 removing -compprep and -complete
1342 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1344 * gst/gstevent.c: (gst_event_new_new_segment),
1345 (gst_event_parse_new_segment):
1347 fix #320529 - clean up new_segment API and structure.
1348 Let's hope everyone was using the methods, and not the structure.
1350 2005-11-29 Edward Hervey <edward@fluendo.com>
1352 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1353 (gst_base_sink_event), (gst_base_sink_do_sync),
1354 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
1355 Properly handle non GST_FORMAT_TIME segment
1356 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1357 Properly handle non GST_FORMAT_TIME segment
1359 This function is valid if the accumulator is 0 and the format
1360 is different from the requested format.
1362 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1364 * docs/gst/gstreamer-sections.txt:
1365 Add gst_query_new_seeking and gst_query_parse_seeking to the
1368 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1370 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
1371 Treat a pad alloc with new caps the same as if we were not
1372 negotiated, in order to allow a changing upstream output
1373 to produce a new format of data.
1375 2005-11-29 Edward Hervey <edward@fluendo.com>
1377 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1378 (gst_base_transform_event), (gst_base_transform_eventfunc):
1379 The event virtual method is now properly implemented, with a default
1381 Sub classes should call the parent_class event method. They should
1382 return FALSE if they had a problem handling the given event, or don't
1383 want GstBaseTransform to send that even downstream
1384 * gst/elements/gstidentity.c: (gst_identity_class_init),
1385 (gst_identity_init), (gst_identity_event),
1386 (gst_identity_transform_ip), (gst_identity_set_property),
1387 (gst_identity_get_property):
1388 * gst/elements/gstidentity.h:
1389 Added the single-segment boolean property.
1390 If set to TRUE, it will output a single segment of data, starting from
1391 0, will eat up all incoming newsegment, and modify the timestamp of the
1394 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
1396 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
1397 Don't ref NULL target pad (#322751). Improve docs.
1399 2005-11-29 Michael Smith <msmith@fluendo.com>
1401 * gst/gstregistryxml.c: (load_plugin):
1402 Don't crash if we failed to load a feature from a plugin.
1404 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1406 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
1408 use more check API and less GLib API
1410 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1413 don't run checks if we don't have check
1415 remove the registry when running make torture
1416 * docs/gst/gstreamer-sections.txt:
1417 remove second multiply
1418 * gst/gstqueue.c: (gst_queue_loop):
1419 fix a compile warning when disabling debug
1421 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1424 Hey! Let's print the pad name if the pointer != NULL instead
1425 of when it == NULL :-)
1427 2005-11-28 Wim Taymans <wim@fluendo.com>
1429 * check/gst/gstutils.c: (GST_START_TEST):
1430 Updated check, add some scaling accuracy checking code.
1432 * gst/gstutils.c: (gst_util_div128_64),
1433 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
1434 (gst_util_uint64_scale_int):
1435 Fix 6 times faster division code. Optimize for common
1436 1/1 and less common X/1 cases.
1438 2005-11-28 Wim Taymans <wim@fluendo.com>
1440 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1443 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
1444 (do_linear_regression), (gst_clock_add_observation):
1446 Release lock when the clock cannot be slaved.
1447 Catch the case where the regression returned an invalid denominator.
1449 * gst/gstutils.c: (gst_util_div128_64_iterate),
1450 (gst_util_div128_64), (gst_util_uint64_scale_int64),
1451 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1452 Add protentially more performant non-iterative 128/64 divide function
1453 that unfortunatly does not work yet.
1454 Shortcut the trivial 0/X = 0 case.
1455 Remove the warnings on overflow.
1457 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1459 * gst/gstplugin.c: (gst_plugin_register_func):
1460 everything causing a plugin not to load should be at least a WARNING
1462 2005-11-28 Stefan Kost <ensonic@users.sf.net>
1464 * docs/random/ensonic/dparams.txt:
1465 some TODOs for the next dev cycle
1466 * libs/gst/controller/gstcontroller.c:
1467 (gst_controlled_property_set_interpolation_mode),
1468 (gst_controlled_property_new):
1469 * libs/gst/controller/gstcontroller.h:
1470 use base type to assign acccessor functions
1472 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1474 * check/Makefile.am:
1475 Oops, that should have been top_srcdir
1477 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1479 * check/Makefile.am:
1480 * check/elements/fdsrc.c: (GST_START_TEST):
1481 Use a cmdline define to specify the location of a file to use for
1482 testing, to avoid breaking distcheck.
1484 2005-11-28 Andy Wingo <wingo@pobox.com>
1486 * gst/gstpad.c (fixate_value): Use array functions for arrays.
1488 2005-11-28 Edward Hervey <edward@fluendo.com>
1490 * tools/gst-launch.c: (main):
1491 Clarify the output strings, makes it easier to translate.
1494 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1497 don't try and build net if we don't even have <sys/socket.h>
1499 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
1501 * check/Makefile.am:
1502 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1503 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1504 Add tests for fdsrc seekability
1506 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1507 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1508 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1509 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1510 * gst/elements/gstfdsrc.h:
1511 fdsrc should not be a 'live' source.
1512 Implement seeking on seekable fd's.
1514 * gst/gstquery.c: (gst_query_new_seeking),
1515 (gst_query_parse_seeking):
1517 Implement SEEKING query functions:
1518 *_new_seeking and *_parse_seeking
1520 2005-11-27 Stefan Kost <ensonic@users.sf.net>
1522 * gst/gstelement.c: (gst_element_dispose):
1525 * gst/gstiterator.c:
1526 * gst/gststructure.c:
1529 * libs/gst/controller/gstcontroller.c:
1530 (gst_controlled_property_set_interpolation_mode):
1531 * libs/gst/controller/gstcontroller.h:
1532 * libs/gst/controller/gstinterpolation.c:
1533 (interpolate_none_get_enum_value_array):
1534 support controlling enums
1536 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1539 Improve documentation for gst_value_union().
1542 Change return value for union, intersect and subtract functions
1543 from gint to gboolean.
1545 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1547 * gst/gstvalue.c: (gst_value_serialize_any_list),
1548 (gst_value_transform_any_list_string),
1549 (gst_value_deserialize_list), (gst_value_deserialize_array),
1550 (gst_value_set_int_range), (gst_value_deserialize_int_range),
1551 (gst_value_set_double_range), (gst_value_deserialize_double_range),
1552 (gst_value_set_fraction_range_full),
1553 (gst_value_deserialize_fraction_range),
1554 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1555 (gst_value_deserialize_boolean),
1556 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1557 (gst_value_serialize_float), (gst_value_deserialize_float),
1558 (gst_string_wrap), (gst_value_deserialize_string),
1559 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1560 (gst_value_union_int_range_int_range),
1561 (gst_value_intersect_int_range_int_range),
1562 (gst_value_intersect_double_range_double_range),
1563 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1564 (gst_value_subtract_int_range_int_range),
1565 (gst_value_subtract_double_double_range),
1566 (gst_value_subtract_double_range_double_range),
1567 (gst_value_deserialize_fraction):
1569 Use gint, gdouble and gchar in our API instead of int, double and
1570 char (and make usage in gstvalue.c more consistent).
1572 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1574 * check/Makefile.am:
1575 * libs/gst/controller/Makefile.am:
1576 * libs/gst/dataprotocol/Makefile.am:
1577 fix up Makefile.am and remove GST_ENABLE_NEW
1579 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1583 * gst/base/Makefile.am:
1584 * gst/check/Makefile.am:
1585 * gst/elements/Makefile.am:
1586 * gst/net/Makefile.am:
1587 update LDFLAGS use some more
1589 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1591 * common/m4/gst-doc.m4:
1594 2005-11-26 Edward Hervey <edward@fluendo.com>
1596 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1597 This shouldn't issue a g_warning since it returns NULL if it
1598 couldn't find the plugin, and all functions using this behave
1599 properly on a NULL return. Switching to a GST_WARNING.
1601 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
1603 * gst/gstbin.c: (gst_bin_handle_message_func):
1604 Don't leak clock messages.
1606 2005-11-25 Wim Taymans <wim@fluendo.com>
1608 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1609 (gst_util_uint64_scale_int):
1610 Optimisations, remove unneeded vars.
1612 2005-11-25 Wim Taymans <wim@fluendo.com>
1614 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1615 Added more checks for the high precision uint64 cases.
1617 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1618 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1619 Implement high precision (guint64 * guint64) / guint64.
1621 2005-11-24 Wim Taymans <wim@fluendo.com>
1623 * gst/base/gstbasesrc.c: (gst_base_src_query):
1624 Fix wrong percentage query.
1626 * gst/gstutils.c: (gst_util_uint64_scale),
1627 (gst_util_uint64_scale_int):
1628 Add some more common cases that can be handled
1629 efficiently to _scale.
1631 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1633 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1634 (gst_mini_object_suite):
1635 don't use check calls from threads; check probably isn't
1636 threadsafe and using a lock to make it threadsafe would
1637 defeat the purpose of this check
1638 * gst/check/gstcheck.c:
1639 * gst/check/gstcheck.h:
1640 use GST_DEBUG some more
1642 2005-11-24 Wim Taymans <wim@fluendo.com>
1644 * gst/gstutils.c: (gst_util_uint64_scale),
1645 (gst_util_uint64_scale_int):
1646 Chain trivial case to _scale_int.
1648 2005-11-24 Wim Taymans <wim@fluendo.com>
1650 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1651 Added test for scaling.
1656 * gst/gstutils.c: (gst_util_uint64_scale_int):
1657 Implemented high precision scaling code.
1659 2005-11-24 Stefan Kost <ensonic@users.sf.net>
1662 do not crash on pad==NULL
1664 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1666 Patch by: Stefan Kost
1668 * common/gtk-doc.mak:
1669 * docs/gst/Makefile.am:
1670 * docs/libs/Makefile.am:
1671 Fix distcheck issues for the libraries docs build
1674 2005-11-24 Michael Smith <msmith@fluendo.com>
1676 * docs/manual/basics-helloworld.xml:
1677 Fix bug #315027: memory leak in example code in docs.
1679 2005-11-24 Michael Smith <msmith@fluendo.com>
1681 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1682 Unlock the PREROLL_LOCK in a failure case.
1684 2005-11-24 Wim Taymans <wim@fluendo.com>
1686 * docs/gst/gstreamer-sections.txt:
1687 * gst/base/gstadapter.h:
1688 * gst/base/gstbasesink.h:
1689 * gst/base/gstbasesrc.h:
1690 * gst/base/gstbasetransform.h:
1691 * gst/base/gstpushsrc.h:
1692 * gst/elements/gstfakesink.h:
1693 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1694 * gst/elements/gstfakesrc.h:
1695 * gst/elements/gstfilesink.h:
1696 * gst/elements/gstfilesrc.h:
1699 * gst/gstbuffer.c: (_gst_buffer_copy):
1702 * gst/gstchildproxy.c:
1705 * gst/gstelementfactory.c:
1706 * gst/gstelementfactory.h:
1708 * gst/gstghostpad.h:
1710 * gst/gstinterface.h:
1711 * gst/gstminiobject.c:
1712 * gst/gstminiobject.h:
1715 * gst/gstpadtemplate.h:
1716 * gst/gstpipeline.h:
1717 * gst/gstpluginfeature.h:
1722 * gst/gsttagsetter.c:
1723 * gst/gsttagsetter.h:
1726 * gst/gsttypefind.h:
1729 * gst/net/gstnetclientclock.c:
1730 * gst/net/gstnetclientclock.h:
1731 * gst/net/gstnettimepacket.c:
1732 * gst/net/gstnettimeprovider.c:
1733 * gst/net/gstnettimeprovider.h:
1736 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1738 * configure.ac: back to HEAD
1740 === release 0.9.6 ===
1742 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1745 releasing 0.9.6, "Always On Time"
1747 2005-11-23 Wim Taymans <wim@fluendo.com>
1749 * docs/gst/gstreamer-sections.txt:
1750 * gst/glib-compat.c:
1751 * gst/gsttagsetter.c:
1753 * gst/net/gstnetclientclock.c:
1754 * gst/net/gstnettimepacket.h:
1757 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1759 * docs/faq/using.xml:
1760 * docs/libs/tmpl/gstcontrol.sgml:
1761 * docs/manual/advanced-dparams.xml:
1762 * docs/manual/appendix-checklist.xml:
1763 * docs/manual/basics-elements.xml:
1764 * docs/pwg/other-source.xml:
1765 * docs/random/moving-plugins:
1767 * tools/gst-launch.1.in:
1768 remove mentions of sinesrc
1770 2005-11-23 Michael Smith <msmith@fluendo.com>
1772 * docs/gst/gstreamer-sections.txt:
1773 Update for new API and API changes.
1775 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1777 Documentation typo fix.
1778 * gst/net/gstnettimepacket.c:
1779 Documentation fixes for arguments.
1781 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
1783 * gst/gststructure.c: (gst_structure_get_fraction),
1784 (gst_structure_parse_value),
1785 (gst_structure_fixate_field_nearest_fraction):
1786 * gst/gststructure.h:
1787 * gst/gstutils.c: (gst_util_uint64_scale_int):
1789 * scripts/update-funcnames:
1791 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1792 Make gst_structure_fixate_field_nearest_fraction take a numerator
1793 and denominator argument instead of a GValue
1794 add gst_structure_get_fraction helper function.
1796 2005-11-23 Wim Taymans <wim@fluendo.com>
1798 * docs/design/part-TODO.txt:
1801 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1802 * gst/net/gstnetclientclock.h:
1803 Use parent fields for timeout and window_size.
1805 2005-11-23 Andy Wingo <wingo@pobox.com>
1807 * check/net/gstnetclientclock.c (test_functioning): Adjust to
1808 rate_num/rate_denom change.
1810 * gst/net/gstnetclientclock.c
1811 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1812 OBJECT_LOCK. Don't call add_observation with the lock.
1814 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1816 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1818 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1819 deal with rate as a fraction whose numerator and denominator are
1820 GstClockTime values.
1821 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1822 master; the other fields are protected by the SLAVE_LOCK.
1823 (do_linear_regression): Note that this must be called with the
1825 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1826 OBJECT_LOCK. Call set_calibration instead of touching the
1828 (gst_clock_set_property, gst_clock_get_property): Protect
1829 master/slave parameters with the SLAVE_LOCK.
1831 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1832 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1833 note that all of the instance variables that add_observation and
1834 the set_master functions use are protected by that lock and not
1836 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1838 * gst/gstclock.c (gst_clock_add_observation): No longer requires
1839 the caller to take the object lock.
1841 2005-11-23 Wim Taymans <wim@fluendo.com>
1843 * gst/gsterror.c: (_gst_core_errors_init):
1845 Add error for clock stuff.
1847 * gst/gstpipeline.c: (gst_pipeline_change_state),
1848 (gst_pipeline_set_clock):
1849 Post clock error when clock cannot be used in a pipeline.
1851 2005-11-23 Stefan Kost <ensonic@users.sf.net>
1853 * docs/gst/gstreamer-sections.txt:
1854 make two symbols from gstinfo private for the docs
1855 * gst/base/gstcollectpads.h:
1857 fix doc typos, update docs
1859 2005-11-22 Wim Taymans <wim@fluendo.com>
1861 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1862 (gst_base_sink_wait), (gst_base_sink_do_sync),
1863 (gst_base_sink_handle_event):
1864 * gst/base/gstbasesink.h:
1865 No need to store the clock, the parent element class already
1868 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1869 Updates for clock_set returning a gboolean
1871 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1872 (gst_clock_id_wait_async), (gst_clock_class_init),
1873 (gst_clock_init), (gst_clock_finalize),
1874 (gst_clock_get_internal_time), (gst_clock_get_time),
1875 (gst_clock_slave_callback), (gst_clock_set_master),
1876 (gst_clock_get_master), (do_linear_regression),
1877 (gst_clock_add_observation), (gst_clock_set_property),
1878 (gst_clock_get_property):
1880 Implement master/slave. When setting a clock as a slave, a
1881 periodic timeout is scheduled to sample master and slave times.
1882 Then the slave clock is recalibrated to match offset and rate
1883 of the master clock.
1884 Update logging a bit.
1885 Add flag so that a clock can state that is cannot be slaved to
1888 * gst/gstelement.c: (gst_element_set_clock):
1890 The set clock returns a gboolean for when an element cannot
1891 deal with the selected clock in the pipeline.
1893 * gst/gstpipeline.c: (gst_pipeline_change_state),
1894 (gst_pipeline_set_clock):
1895 * gst/gstpipeline.h:
1896 Handle the case where the selected clock cannot be set on
1899 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
1900 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
1901 (gst_net_client_clock_set_property),
1902 (gst_net_client_clock_get_property),
1903 (gst_net_client_clock_observe_times):
1904 * gst/net/gstnetclientclock.h:
1905 Use regression code in GstClock parent, remove duplicated
1908 2005-11-22 Michael Smith <msmith@fluendo.com>
1910 * gst/gstutils.c: (gst_util_clock_time_scale):
1912 * docs/gst/gstreamer-sections.txt:
1913 Rename method to have extra underscore.
1915 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
1917 * gst/elements/Makefile.am:
1918 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
1919 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1920 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
1921 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
1922 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
1923 * gst/elements/gstfakesrc.h:
1924 * gst/gstqueue.c: (queue_leaky_get_type):
1925 correctly fix GEnumValues so that nick is the short lowercase
1927 * tools/gst-inspect.c: (print_element_properties_info):
1928 also show the nick, since it's useful to use from parse_launch
1932 2005-11-22 Michael Smith <msmith@fluendo.com>
1934 * gst/gstutils.c: (gst_util_clocktime_scale):
1936 * docs/gst/gstreamer-sections.txt:
1937 Add util method for scaling a clocktime by a fraction. Useful
1938 implementation is left as an exercise for the reader.
1940 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1942 * gst/gstvalue.c: (gst_value_collect_fraction_range):
1943 If needed, allocate storage in the destination value during
1946 2005-11-22 Edward Hervey <edward@fluendo.com>
1948 * docs/gst/gstreamer-sections.txt:
1953 * gst/gstutils.c: (gst_util_set_object_arg):
1954 * tools/gst-compprep.c: (main):
1955 * tools/gst-inspect.c: (print_element_properties_info):
1956 Removed GstURI, closes bug #321061
1958 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1960 * check/gst/gststructure.c: (GST_START_TEST):
1961 * gst/gststructure.c: (gst_structure_parse_value):
1962 Oops, broke automatic string type parsing.
1963 Add a test to catch it in future.
1965 2005-11-22 Andy Wingo <wingo@pobox.com>
1967 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
1968 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
1969 Actually rename the function implementations. Grr.
1971 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1973 * check/gst/capslist.h:
1975 * check/gst/gststructure.c: (GST_START_TEST),
1976 (gst_structure_suite):
1977 Test automatic value type detection in gst_structure_from_string.
1978 * gst/gststructure.c: (gst_structure_parse_value):
1979 Add fraction as a type we try and guess automatically in
1980 caps/structure strings.
1982 2005-11-22 Andy Wingo <wingo@pobox.com>
1984 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
1986 * gst/gsttagsetter.h:
1987 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
1988 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
1989 (gst_tag_setter_add_tag_valist)
1990 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
1991 _add_values, _add_valist, and _add_valist_values. Since this is an
1992 interface the function suffixes should be more explicit so
1993 language binding don't end up with element.add_valist ->
1994 gst_tag_setter_add_valist, for example. Fixes #322069.
1996 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
1998 * check/gst/gstcaps.c: (GST_START_TEST):
1999 Extend caps string tests to check that a caps to string
2000 conversion is reversible and produces the same caps.
2002 * gst/gststructure.c: (gst_structure_value_get_generic_type):
2003 Output "fraction" as the generic type fraction range, so caps
2004 serialisation and deserialisation works.
2005 * check/gst/capslist.h:
2006 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2007 Support 'MIN' and 'MAX' for deserialising fractions.
2009 2005-11-22 Andy Wingo <wingo@pobox.com>
2011 * gst/gstevent.h (gst_event_new_new_segment)
2012 (gst_event_parse_new_segment, gst_event_new_buffer_size)
2013 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
2014 Renamed from *_newsegment, *_buffersize, *_notarget.
2016 * scripts/update-funcnames: New script, performs the changes
2019 2005-11-22 Wim Taymans <wim@fluendo.com>
2021 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2022 Make sure the GstFlowReturn is returned.
2024 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
2025 (gst_bus_add_signal_watch):
2027 add gst_bus_add_signal_watch_full.
2029 * gst/gstplugin.c: (gst_plugin_load_file):
2030 Small style cleanup.
2032 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2034 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
2035 Block the fakesrc srcpad when we send an event, to avoid
2036 contention on the stream_lock causing random test failures.
2038 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2040 * check/gst/gstvalue.c: (GST_START_TEST):
2041 * gst/gstvalue.c: (gst_value_fraction_subtract):
2044 2005-11-22 Stefan Kost <ensonic@users.sf.net>
2047 include "gstchildproxy.h"
2048 * gst/gstchildproxy.h:
2049 * libs/gst/controller/gstcontroller.h:
2050 use G_GNUC_NULL_TERMINATED
2052 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2054 * check/gst/capslist.h:
2055 * check/gst/gstcaps.c: (GST_START_TEST):
2056 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2057 * gst/gststructure.c: (gst_structure_parse_range),
2058 (gst_structure_fixate_field_nearest_fraction):
2059 * gst/gststructure.h:
2060 * gst/gstvalue.c: (gst_value_init_fraction_range),
2061 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
2062 (gst_value_collect_fraction_range),
2063 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
2064 (gst_value_set_fraction_range_full),
2065 (gst_value_get_fraction_range_min),
2066 (gst_value_get_fraction_range_max),
2067 (gst_value_serialize_fraction_range),
2068 (gst_value_transform_fraction_range_string),
2069 (gst_value_compare_fraction_range),
2070 (gst_value_deserialize_fraction_range),
2071 (gst_value_intersect_fraction_fraction_range),
2072 (gst_value_intersect_fraction_range_fraction_range),
2073 (gst_value_subtract_fraction_fraction_range),
2074 (gst_value_subtract_fraction_range_fraction),
2075 (gst_value_subtract_fraction_range_fraction_range),
2076 (gst_value_collect_fraction), (gst_value_fraction_multiply),
2077 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
2078 (gst_value_transform_string_fraction), (_gst_value_initialize):
2080 Implement fraction ranges and extend GstFraction to support
2081 arithmetic subtraction, as well as deserialization from integer
2082 strings such as "100"
2083 Add a testsuite as for int and double range set operations
2085 2005-11-21 Andy Wingo <wingo@pobox.com>
2089 * gst/gststructure.h: Add glib-compat.h.
2091 2005-11-21 Wim Taymans <wim@fluendo.com>
2093 * gst/gstbin.c: (gst_bin_change_state_func):
2096 2005-11-21 Wim Taymans <wim@fluendo.com>
2099 And add a nice define too.
2101 2005-11-21 Wim Taymans <wim@fluendo.com>
2103 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
2104 (gst_segment_new), (gst_segment_free), (gst_segment_init),
2105 (gst_segment_set_duration), (gst_segment_set_last_stop),
2106 (gst_segment_set_seek), (gst_segment_set_newsegment),
2107 (gst_segment_to_stream_time), (gst_segment_to_running_time),
2110 Make binding friendly.
2112 2005-11-21 Andy Wingo <wingo@pobox.com>
2114 * gst/gsttagsetter.h:
2116 * gst/gststructure.h:
2118 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
2121 * gst/gsterror.c (_gst_core_errors_init):
2122 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
2125 * gst/Makefile.am (gst_headers): Add glib-compat.h.
2126 (noinst_HEADERS): noinst the -private.
2128 2005-11-21 Michael Smith <msmith@fluendo.com>
2131 * gst/gstregistry.h:
2132 Remove unimplemented declarations for which we can see no sensible
2135 2005-11-21 Andy Wingo <wingo@pobox.com>
2137 * gst/gst.h: Include glib-compat.h.
2139 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
2141 * gst/glib-compat.c: Include the public and the private header.
2143 * gst/glib-compat-private.h: Copied here from glib-compat.h.
2147 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
2149 * check/gst/gstevent.c (create_custom_events): Check that
2150 FLUSH_STOP is serialized.
2152 * check/elements/identity.c (event_func):
2153 * check/elements/fakesrc.c (event_func): No stream lock, the core
2156 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
2157 stream lock taking, yay.
2159 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
2160 ensure that core takes the stream lock.
2162 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
2165 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
2166 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
2167 it already. For the flush start we do take it though so we get the
2168 right preroll state change messages.
2170 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
2171 the stream lock here, the core does it for us.
2173 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
2174 GST_STREAM_GET_LOCK.
2175 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
2176 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
2177 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
2178 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
2179 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
2180 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
2182 * gst/gstpad.c: Update for stream lock name change.
2184 * gst/base/gstbasesink.c: Update for preroll lock name change.
2186 2005-11-21 Wim Taymans <wim@fluendo.com>
2188 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
2189 (gst_clock_get_master):
2191 * gst/gstsystemclock.c: (gst_system_clock_init):
2192 Convert Clock flags to object flags.
2193 Added methods to manage master/slave clocks.
2195 2005-11-21 Wim Taymans <wim@fluendo.com>
2197 * check/gst/gstsegment.c: (GST_START_TEST):
2198 * docs/design/part-TODO.txt:
2199 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2200 (gst_base_sink_event), (gst_base_sink_do_sync),
2201 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
2202 (gst_base_sink_query), (gst_base_sink_change_state):
2203 * gst/base/gstbasesink.h:
2204 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2205 (gst_base_src_default_newsegment),
2206 (gst_base_src_configure_segment), (gst_base_src_do_seek),
2207 (gst_base_src_get_range), (gst_base_src_loop),
2208 (gst_base_src_change_state):
2209 * gst/base/gstbasesrc.h:
2210 * gst/base/gstbasetransform.c:
2211 (gst_base_transform_prepare_output_buf),
2212 (gst_base_transform_event), (gst_base_transform_change_state):
2213 * gst/base/gstbasetransform.h:
2214 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2215 (gst_collect_pads_event):
2216 * gst/base/gstcollectpads.h:
2217 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
2218 (gst_fake_src_create):
2219 * gst/elements/gstfakesrc.h:
2220 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2221 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2222 (gst_segment_set_last_stop), (gst_segment_set_seek),
2223 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
2224 (gst_segment_to_running_time), (gst_segment_clip):
2226 More segment updates, replace code in plugins with segment
2229 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
2231 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
2232 Don't ignore sscanf results
2234 2005-11-21 Andy Wingo <wingo@pobox.com>
2236 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
2239 * *.c: Ran scripts/update-macros. Oh yes.
2241 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
2242 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
2245 * scripts/update-macros: New script. Run it on your files to
2246 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
2249 2005-11-21 Stefan Kost <ensonic@users.sf.net>
2251 * docs/gst/Makefile.am:
2252 * docs/gst/gstreamer-docs.sgml:
2253 * docs/gst/gstreamer-sections.txt:
2254 * docs/gst/gstreamer.types:
2256 more docs fixes, add new api to the docs
2258 2005-11-21 Andy Wingo <wingo@pobox.com>
2260 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
2261 state_broadcast call.
2263 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
2265 2005-11-21 Julien MOUTTE <julien@moutte.net>
2267 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
2268 function calls for arrays.
2270 2005-11-21 Stefan Kost <ensonic@users.sf.net>
2272 * docs/random/ensonic/media-device-daemon.txt:
2273 wild idea, can this be done?
2274 * docs/gst/gstreamer-sections.txt:
2279 * gst/gstpluginfeature.c:
2283 doc fixes and additions
2285 2005-11-21 Andy Wingo <wingo@pobox.com>
2287 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
2288 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
2289 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
2290 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
2291 private to the basesrc implementation.
2293 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
2294 behalf of event function if necessary. It should no longer be
2295 necessary to take the stream lock in pad's event functions. Fixes
2298 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
2299 * docs/gst/gstreamer-sections.txt:
2300 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
2301 (gst_structure_fixate_field_nearest_double),
2302 (gst_structure_fixate_field_boolean):
2303 * gst/gststructure.h:
2304 * win32/common/libgstreamer.def:
2305 * win32/gstreamer.def:
2307 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
2310 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
2312 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
2313 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
2314 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
2315 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
2316 (gst_fdsrc_uri_handler_init):
2317 * gst/elements/gstfdsrc.h:
2318 Port fd:// URI handler from 0.8 to fdsrc
2320 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2322 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
2323 (gst_value_serialize_fourcc):
2325 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
2326 consistent with our other format defines (#320324).
2328 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2330 * gst/gstvalue.c: (gst_value_is_fixed):
2331 Revert previous commit. Value lists are by definition
2332 not fixed, as they are a list of possible values.
2334 2005-11-21 Andy Wingo <wingo@pobox.com>
2336 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
2337 during the stable series if we need it. Fixes #319178.
2339 * gst/gstevent.c (gst_event_new_filler): Removed.
2341 * check/gst/gstevent.c: Update comment about filler events.
2343 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2345 * gst/gstvalue.c: (gst_value_is_fixed):
2346 Should handle both value arrays and value lists.
2348 2005-11-21 Andy Wingo <wingo@pobox.com>
2350 patch by: Alessandro Dessina <alessandro nnva org>
2352 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
2353 functions to access arrays. Fixes #321962.
2355 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2357 * docs/gst/gstreamer.types:
2358 gst_collectpads_get_type => gst_collect_pads_get_type.
2360 * gst/base/gstbasetransform.c:
2361 Remove unused SIGNAL_HANDOFF enum.
2363 2005-11-21 Andy Wingo <wingo@pobox.com>
2365 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
2366 the event type (upstream, downstream, serialized). Renamed
2367 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
2368 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
2369 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
2371 * gst/gstevent.c: Update for new CUSTOM event names.
2373 * check/gst/gstevent.c: Update check for new CUSTOM event names.
2376 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
2379 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2381 * docs/gst/gstreamer-sections.txt:
2382 * win32/common/libgstbase.def:
2383 * win32/libgstbase.def:
2384 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2385 (gst_collect_pads_class_init), (gst_collect_pads_init),
2386 (gst_collect_pads_finalize), (gst_collect_pads_new),
2387 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
2388 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
2389 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
2390 (gst_collect_pads_start), (gst_collect_pads_stop),
2391 (gst_collect_pads_peek), (gst_collect_pads_pop),
2392 (gst_collect_pads_available), (gst_collect_pads_read),
2393 (gst_collect_pads_flush), (gst_collect_pads_event),
2394 (gst_collect_pads_chain):
2395 * gst/base/gstcollectpads.h:
2396 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
2397 unimplemented functions as unimplemented. Add padding to
2398 GstCollectData. (#320766, #320423)
2400 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2403 Improve docs for DURATION message (usage of duration parameter)
2406 2005-11-20 Wim Taymans <wim@fluendo.com>
2408 * check/Makefile.am:
2409 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
2413 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2414 (gst_segment_set_seek), (gst_segment_set_newsegment),
2415 (gst_segment_to_stream_time), (gst_segment_to_running_time),
2418 Added segment helper structure and methods. Not fully implemented
2420 Added segment check.
2422 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
2424 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2425 Add a deserialisation test for fractions
2426 * examples/metadata/read-metadata.c: (message_loop),
2427 (make_pipeline), (main):
2428 Fix up metadata reading sample.
2429 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2431 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2432 Don't try and fixate empty caps
2433 * gst/gst_private.h:
2434 Wrap in G_BEGIN_DECLS/G_END_DECLS
2435 * gst/gstvalue.c: (gst_value_collect_fraction),
2436 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
2437 (gst_value_transform_string_fraction),
2438 (gst_value_compare_fraction):
2439 Add some extra guards to ensure that we don't end up
2440 with an invalid denominator of 0 in a gstfraction and
2441 that fractions always get reduced.
2443 2005-11-20 Wim Taymans <wim@fluendo.com>
2445 * docs/gst/gstreamer-sections.txt:
2456 2005-11-20 Wim Taymans <wim@fluendo.com>
2458 * docs/design/part-TODO.txt:
2460 Make a proper enum of the flag.
2462 2005-11-19 Wim Taymans <wim@fluendo.com>
2464 * docs/design/part-TODO.txt:
2465 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
2466 (gst_format_to_quark), (gst_format_register):
2468 * gst/gstquery.c: (_gst_query_initialize),
2469 (gst_query_type_get_name), (gst_query_type_to_quark),
2470 (gst_query_type_register):
2472 Add type to quark and type to string conversions.
2474 2005-11-19 Andy Wingo <wingo@pobox.com>
2476 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
2479 2005-11-19 Wim Taymans <wim@fluendo.com>
2481 * docs/design/part-TODO.txt:
2482 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2483 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2484 (gst_bin_handle_message_func):
2486 Make message handling overridable.
2488 2005-11-19 Andy Wingo <wingo@pobox.com>
2490 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2493 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2495 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2496 is a GstClockTime. Fixes #321710.
2498 * gst/gstclock.h (GstClock): Remove offset property. Add
2499 internal_calibration and external_calibration. Fix padding. Pad
2500 also by GstClockTime so we don't run into problems.
2502 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2503 (gst_clock_get_rate_offset): Remove.
2504 (gst_clock_set_time_adjust): Remove. Fixes #321712.
2507 * gst/gstutils.c (g_static_rec_cond_wait)
2508 (g_static_rec_cond_timed_wait): Removed, no longer needed.
2510 * gst/gstbin.c: Remove terrible continue_state prototype.
2512 * gst/gstelement.h (gst_element_continue_state): Make public.
2515 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2516 by continue_state. Fixes #319389.
2518 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2519 Really fixes #168438. However I don't see anywhere where the
2520 filter function is called... stupid GStreamer...
2522 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2523 don't have a dispose function, so it won't get called when the
2524 object is unreffed, but oh well!
2526 * gst/gstindex.c (gst_index_set_filter_full): New API function,
2527 allows a destroy function to be set so user_data can be freed.
2529 (gst_index_set_filter): Call gst_index_set_filter_full.
2531 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2533 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2534 string should produce an error, given the lack of a way to
2535 represent NULL strings. Fixes #165650.
2538 * gst/gstvalue.c (gst_value_array_append_value)
2539 (gst_value_array_prepend_value, gst_value_array_get_size)
2540 (gst_value_array_get_value): New API, copied from
2541 gst_value_list_*, only operates on arrays.
2542 (gst_value_list_append_value, gst_value_list_prepend_value)
2543 (gst_value_list_concat, gst_value_list_get_size)
2544 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2546 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2547 init_list, because it works on both.
2548 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2549 (gst_value_copy_list_or_array): Renamed from copy_list.
2550 (gst_value_free_list_or_array): Renamed from free_list.
2551 (gst_value_collect_list_or_array): Renamed from collect_list.
2552 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2553 (gst_value_list_or_array_peek_pointer): Renamed from
2555 (_gst_value_array_value_table, _gst_value_list_value_table):
2556 Update value table functions.
2557 (gst_value_compare_list_or_array): Renamed from compare_list.
2559 * gsttaglist.h: Whoops, foreach function returns void. Also fix
2563 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2564 GstTagList*. Fixes #143472.
2566 * gst/gststructure.h: Clarify what the foreach/map functions can
2567 or can't do to their arguments.
2569 2005-11-18 Wim Taymans <wim@fluendo.com>
2571 * gst/gstclock.c: (gst_clock_set_calibration),
2572 (gst_clock_get_calibration):
2574 Calibration can be set with internal time equal to current
2577 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
2583 2005-11-18 Andy Wingo <wingo@pobox.com>
2586 * pkgconfig/gstreamer-net.pc.in:
2587 * pkgconfig/gstreamer-net-uninstalled.pc.in:
2588 * pkgconfig/Makefile.am: Add net pkgconfig files.
2590 2005-11-18 Stefan Kost <ensonic@users.sf.net>
2593 * gst/gstghostpad.c:
2599 2005-11-18 Andy Wingo <wingo@pobox.com>
2601 * gst/net/gstnetclientclock.c: Turn off debugging.
2603 * check/net/gstnetclientclock.c (test_functioning): Assert that the
2604 times connverge somewhat. Can't make a real test.
2606 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2607 integer arithmetic. Return the minimum of the domain, which can be
2608 set as "internal" for gst_clock_set_calibration.
2609 (gst_net_client_clock_observe_times): Call _set_calibration.
2610 (gst_net_client_clock_new): Call _set_calibration instead of
2613 * check/net/gstnetclientclock.c (test_functioning): Use the right
2617 * gst/gstclock.c (gst_clock_get_calibration)
2618 (gst_clock_set_calibration): New functions, obsolete the ones I
2619 added yesterday. Doh. Precision issues mean we have to extrapolate
2620 from a point in the more recent past than 1970.
2621 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2623 (gst_clock_adjust_unlocked): Use the right calibration data.
2625 2005-11-18 Edward Hervey <edward@fluendo.com>
2627 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2628 Also reset the ->current_* values in READY->PAUSED
2630 2005-11-18 Andy Wingo <wingo@pobox.com>
2632 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2633 Whoops, check the right fd. Also add some debugging.
2634 (gst_net_client_clock_observe_times): Adjust for int64 offset.
2635 (do_linear_regression): Add a crapload of debugging. Subtract off
2636 the minimum values from the input series to discard unneeded bits.
2637 Use only int arithmetic. There is still double arithmetic when
2638 calculating the intercept that needs fixing. Return boolean to
2639 indicate success; FALSE would mean the domain or range is too
2640 great. Still needs fixes.
2642 2005-11-18 Wim Taymans <wim@fluendo.com>
2644 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2645 For the current position in stream time, we need to subtract
2648 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2649 Release lock before calling the callback function of async
2652 2005-11-18 Andy Wingo <wingo@pobox.com>
2654 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2655 Port goes all the way to MAXUINT16.
2657 * gst/net/gstnettimeprovider.c: Make the port range the same as
2658 for the kernel: 0 assigns, otherwise ports are less than
2661 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2664 * check/net/gstnetclientclock.c (test_functioning): Add the start
2667 2005-11-18 Wim Taymans <wim@fluendo.com>
2669 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2670 (gst_bin_remove_func), (bin_bus_handler):
2672 Removing a clock provider from a bin, triggers a clock lost message
2673 so that a new clock will be selected.
2674 Adding a clock to a bin triggers a clock provider message.
2675 Make sure we reselect a clock when we received a clock lost message.
2676 Keep a reference to the element that provided the clock.
2678 2005-11-18 Andy Wingo <wingo@pobox.com>
2680 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2681 the clock initially so it produces values around the base time.
2682 (gst_net_client_clock_class_init): Typo fix.
2683 (gst_net_client_clock_thread): Add note on when the socket gets
2686 2005-11-17 Wim Taymans <wim@fluendo.com>
2688 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2689 Free remote and local time arrays.
2691 2005-11-17 Wim Taymans <wim@fluendo.com>
2693 * gst/net/gstnetclientclock.c: (do_linear_regression),
2694 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2695 Fix compilation, uninitialized vars and a forgotten continue.
2697 2005-11-17 Andy Wingo <wingo@pobox.com>
2699 * check/Makefile.am (check_PROGRAMS):
2700 * check/net/gstnetclientclock.c: Add a most minimal test for the
2701 net client clock. More to come later.
2704 * gst/net/Makefile.am: Add netclientclock.
2706 * gst/net/gstnetclientclock.h:
2707 * gst/net/gstnetclientclock.c: New files, implement an untested
2708 GstClock that takes its time from a network time provider.
2709 Implements the algorithm in network-clock.scm.
2711 * tests/network-clock.scm (*window-size*): Rename from
2713 * tests/network-clock.scm (network-time):
2714 * tests/network-clock-utils.scm (q-push): Update callers.
2716 2005-11-17 Wim Taymans <wim@fluendo.com>
2718 * gst/gstbin.c: (gst_bin_provide_clock_func),
2719 (gst_bin_sort_iterator_new):
2720 And unref the child too..
2722 2005-11-17 Wim Taymans <wim@fluendo.com>
2724 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2725 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2726 Refactor the sort iterator so it can be used while holding the
2728 Make clock selection select a clock closest to the source.
2730 2005-11-17 Michael Smith <msmith@fluendo.com>
2732 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2733 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2735 Anonymous structs are a gcc (and some other compilers) extension, so
2736 don't use them. Since this is only for ABI-compatibility, and our
2737 API/ABI freeze is over in a few days, this whole thing will only
2738 last a few days, so don't bother trying to think up a meaningful
2739 name for the struct.
2741 2005-11-17 Andy Wingo <wingo@pobox.com>
2743 * gst/gstclock.h (GstClock): Add rate and offset properties,
2744 preserving ABI stability. Add rate/offset accessors. Will file bug
2745 for the freeze break.
2747 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2748 and offset, trying to keep precision and avoiding
2750 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2751 functions. Make gst_clock_set_time_adjust obsolete.
2752 (gst_clock_set_time_adjust): Note that this function is obsolete.
2755 * gst/base/gstbasetransform.h: Make the ABI-stability hack
2756 greppable by using GST_PADDING-1+1.
2758 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
2760 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2762 * gst/gstmessage.c: (gst_message_parse_clock_lost):
2763 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2765 * gst/gstpadtemplate.h:
2766 * gst/gstpluginfeature.h:
2767 Don't use c++ style comments in headers (#321638).
2769 2005-11-16 Andy Wingo <wingo@pobox.com>
2771 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2774 * check/net/gstnettimeprovider.c: Check to see that the time
2775 provider actually provides times. Works, yo!
2777 2005-11-16 Wim Taymans <wim@fluendo.com>
2779 * check/Makefile.am:
2782 * check/elements/fakesrc.c: (GST_START_TEST):
2783 Set element to NULL before disposing it.
2785 2005-11-16 Andy Wingo <wingo@pobox.com>
2787 * gst/net/Makefile.am:
2789 * gst/net/gstnettimeprovider.c:
2790 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2791 provider, include it from gstnet.h, and add it to the build.
2793 * gst/net/gstnettimepacket.h:
2794 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2795 sending and receiving.
2797 2005-11-16 Wim Taymans <wim@fluendo.com>
2799 * check/Makefile.am:
2800 Enable valgrind check.
2802 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2803 (gst_fake_src_alloc_buffer):
2806 2005-11-16 Wim Taymans <wim@fluendo.com>
2808 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2809 Call parent finalize too.
2811 2005-11-16 Wim Taymans <wim@fluendo.com>
2813 * check/Makefile.am:
2814 Enable valgrind check that should work fine now.
2816 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2817 * gst/gstqueue.c: (gst_queue_init):
2818 Fix memleaks in pad allocation.
2820 2005-11-16 Andy Wingo <wingo@pobox.com>
2822 * gst/net/Makefile.am:
2823 * gst/net/gstnet.h: New part of core to hold network elements and
2824 objects. Put in core because it exposes API that applications want
2825 to use. The library is named libgstnet-tempname right now because
2826 of the existing libgstnet in gst-plugins-base. Solution is
2827 probably to rename the one in plugins-base; will file a bug for
2830 * gst/net/gstnettimeprovider.c:
2831 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2832 get_time call over the network.
2835 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2837 * check/Makefile.am:
2838 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2839 get additions shortly.
2841 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2843 * gst/gstpad.c: (gst_pad_new_from_static_template):
2845 add gst_pad_new_from_static_template functions
2846 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2847 (gst_check_setup_sink_pad):
2848 * gst/elements/gsttee.c: (gst_tee_init):
2851 2005-11-16 Wim Taymans <wim@fluendo.com>
2853 * gst/gstpad.c: (gst_pad_pause_task):
2854 Removed warning, it's not really an error either.
2856 2005-11-16 Wim Taymans <wim@fluendo.com>
2858 * gst/base/gstbasetransform.c:
2859 (gst_base_transform_prepare_output_buf),
2860 (gst_base_transform_event):
2861 Check if the caps are NULL, this can happen if the element
2862 is shutting down and the pad caps are set to NULL.
2864 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2866 * gst/elements/gsttee.c: (gst_tee_init):
2867 fix pad template leak in tee
2869 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2871 * gst/glib-compat.c: (g_value_dup_gst_object):
2872 * gst/glib-compat.h:
2873 * gst/gstpad.c: (gst_pad_set_property):
2874 use gst_object_ref when setting the pad template; this will
2875 trigger the pad template leaks on GLib 2.6 and the slaves
2877 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2879 * gst/glib-compat.c: (gst_flags_get_first_value):
2880 * gst/glib-compat.h:
2881 * gst/gstregistryxml.c:
2882 remove functions copied from GLib 2.6
2884 2005-11-16 Michael Smith <msmith@fluendo.com>
2887 Don't link against VALGRIND_LIBS. That was always the wrong thing to
2888 do, but only breaks with newer valgrind versions. We're not a
2889 valgrind tool, we have no link-time dependencies on libcoregrind.
2891 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2893 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2898 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2900 * gst/base/gstbasesrc.c: (gst_base_src_init):
2901 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2902 * gst/gstqueue.c: (gst_queue_init):
2903 * gst/gstregistryxml.c: (load_feature):
2904 Revert all these unrefs, they don't even pass make check !
2906 2005-11-15 Johan Dahlin <johan@gnome.org>
2908 * gst/base/gstbasesrc.c: (gst_base_src_init):
2909 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2910 * gst/gstqueue.c: (gst_queue_init):
2911 Free pad templates, fixes a couple of leaks.
2913 2005-11-15 Daniel Fischer <dan at f3c dot com>
2915 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2917 * gst/gstpad.c: (gst_pad_get_property):
2918 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
2919 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
2922 2005-11-15 Wim Taymans <wim@fluendo.com>
2927 2005-11-15 Andy Wingo <wingo@pobox.com>
2929 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
2931 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
2932 using GST_CLOCK_TIME_NONE to disable base time management.
2933 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
2934 time if it was NONE before.
2935 (gst_pipeline_change_state): Only munge the base time if
2936 stream_time != GST_CLOCK_TIME_NONE.
2938 * check/gst/gstpipeline.c (test_base_time): Punt around the
2939 problem of the probe not being called, because that's not the
2940 issue I'm looking at. Add a check that setting stream_time to NONE
2941 disables base time management.
2943 2005-11-15 Wim Taymans <wim@fluendo.com>
2945 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2946 segment_stop == -1 at startup.
2948 * gst/base/gstbasetransform.c: (gst_base_transform_event),
2949 (gst_base_transform_change_state):
2950 Init segment values at start.
2952 2005-11-15 Wim Taymans <wim@fluendo.com>
2954 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2955 0 segment values are 0 in any format.
2957 * gst/base/gstbasetransform.c: (gst_base_transform_event):
2958 * gst/base/gstbasetransform.h:
2959 Parse newsegment correctly in basetransform
2961 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2962 Sync to clock using updated segment values.
2964 2005-11-15 Andy Wingo <wingo@pobox.com>
2966 * check/gst/gstpipeline.c (test_base_time): Add check that the
2967 base time and stream time are reset correctly.
2969 2005-11-15 Wim Taymans <wim@fluendo.com>
2971 * docs/design/part-TODO.txt:
2972 Some more TODO items.
2974 2005-11-15 Andy Wingo <wingo@pobox.com>
2976 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
2977 error if the user selected "no clock" as the clocking method.
2979 * check/gst/gstpipeline.c (test_base_time): New test for buffer
2980 timestamps with live capture.
2982 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
2983 is 0 but we are a live source, timestamp the buffers using the
2986 2005-11-14 Stefan Kost <ensonic@users.sf.net>
2988 * docs/gst/gstreamer-sections.txt:
2990 * gst/gstghostpad.c:
2995 2005-11-14 Wim Taymans <wim@fluendo.com>
2998 add suppressions from Wim's Debian machine
3000 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
3003 add suppressions from Andy's AMD64 Ubuntu machine
3005 2005-11-14 Andy Wingo <wingo@pobox.com>
3007 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
3008 STATE_LOCK not necessary. Fixes #311489.
3010 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
3013 * gst/gstindex.c (gst_index_add_object): Note in the docs that
3014 this function is not implemented.
3016 2005-11-14 Julien MOUTTE <julien@moutte.net>
3018 * gst/base/gstbasetransform.c:
3019 (gst_base_transform_prepare_output_buf):
3020 Ref the source pad caps while we need them.
3023 2005-11-11 Wim Taymans <wim@fluendo.com>
3025 * docs/gst/gstreamer-sections.txt:
3026 Added some docs for GstCollectData.
3028 * gst/base/gstadapter.c:
3029 Some small code example fix.
3031 * gst/base/gstcollectpads.c:
3032 * gst/base/gstcollectpads.h:
3035 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
3037 * configure.ac: back to HEAD
3039 === release 0.9.5 ===
3041 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
3044 releasing 0.9.5, "Bike Lunch Day"
3046 2005-11-11 Wim Taymans <wim@fluendo.com>
3048 * gst/gstbuffer.c: (_gst_buffer_copy):
3051 * gst/gstcaps.c: (gst_caps_is_equal):
3053 Make _is_equal fast in the trivial cases.
3055 * gst/gstminiobject.c:
3056 * gst/gstminiobject.h:
3057 More docs. Spifify .h file.
3062 2005-11-11 Wim Taymans <wim@fluendo.com>
3064 * gst/base/gstbasetransform.c:
3065 (gst_base_transform_prepare_output_buf),
3066 (gst_base_transform_handle_buffer):
3068 If we're processing a buffer and need to allocate an output
3069 buffer, we cannot accept a format change. If we did get a
3070 format change, we have to alloc a buffer ourselves of the
3073 2005-11-11 Wim Taymans <wim@fluendo.com>
3075 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
3076 While checking the flag for reentrancy in the gstcaps function
3077 is nice to detect recursive invocations, it also makes it
3078 impossible to call getcaps from multiple threads, which must be
3079 possible. So, checking for recursive calls has to go.
3081 2005-11-11 Michael Smith <msmith@fluendo.com>
3083 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3084 Don't sync on buffers that fall partially outside our current
3085 segment. Prevents an assertion failure/abort playing some files.
3087 2005-11-10 Andy Wingo <wingo@pobox.com>
3089 * check/gst/gstbin.c (test_message_state_changed_children): Style
3092 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
3093 gst_bus_poll with the signal watch. Ensures that poll and a signal
3094 watch see the same messages.
3096 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
3097 a poll and a watch at the same time get the same messages.
3099 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
3101 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
3102 * gst/gstcaps.c: (gst_caps_intersect):
3103 Don't call gst_caps_do_simplify - it doesn't respect order of caps
3104 and it's not needed.
3106 2005-11-10 Wim Taymans <wim@fluendo.com>
3108 * docs/design/part-TODO.txt:
3111 2005-11-10 Wim Taymans <wim@fluendo.com>
3113 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3114 * gst/base/gstbasesrc.c: (gst_base_src_wait),
3115 (gst_base_src_do_sync), (gst_base_src_get_range):
3116 Implement clock sync in base class.
3118 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
3120 patch by: Tim-Philipp Müller <tim at centricular dot net>
3122 * gst/gststructure.c: (gst_structure_parse_field),
3123 (gst_structure_from_string):
3124 Forward-port a 0.8 patch to handle escaped spaces in structure string,
3125 so that gst_parse_launch() can deal with spaces in filtered link
3126 caps (fixes #164479)
3127 * check/gst/capslist.h:
3128 * check/gst/gststructure.c: (GST_START_TEST):
3129 add unit tests for this change
3131 2005-11-10 Wim Taymans <wim@fluendo.com>
3133 * docs/gst/gstreamer-sections.txt:
3136 Fix docs, move some STATE macros to private.
3138 2005-11-10 Wim Taymans <wim@fluendo.com>
3140 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3141 Added check for bug #317341
3145 Some more spiffifying.
3147 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
3148 Call peer linkfunction if we are a source pad. Totally fixes
3152 Update docs, source pads should call the peer linkfunction
3153 so they can atomically perform the pad link.
3155 2005-11-09 Wim Taymans <wim@fluendo.com>
3159 Uber-spiffy-spiffify some more.
3161 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
3163 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
3164 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3165 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
3166 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
3167 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
3168 * gst/gstpad.c: (gst_pad_init):
3169 Use GST_DEBUG_FUNCPTR() more extensively.
3171 2005-11-09 Wim Taymans <wim@fluendo.com>
3173 * gst/gstobject.c: (gst_object_class_init):
3175 Documentation fixes.
3177 2005-11-09 Edward Hervey <edward@fluendo.com>
3179 * gst/gsttypefindfactory.c:
3182 2005-11-09 Edward Hervey <edward@fluendo.com>
3184 * gst/base/gsttypefindhelper.c:
3185 * gst/gsttypefind.c:
3186 * gst/gsttypefind.h:
3189 2005-11-09 Wim Taymans <wim@fluendo.com>
3191 * gst/gstiterator.c:
3198 2005-11-09 Wim Taymans <wim@fluendo.com>
3204 2005-11-09 Wim Taymans <wim@fluendo.com>
3206 * docs/gst/gstreamer-sections.txt:
3207 Moved the message async delivery private lock and cond
3208 to the private section.
3214 2005-11-09 Edward Hervey <edward@fluendo.com>
3216 * docs/gst/gstreamer-sections.txt:
3219 Document GstURIHandler
3221 2005-11-09 Wim Taymans <wim@fluendo.com>
3223 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
3224 (gst_iterator_find_custom):
3225 * gst/gstiterator.h:
3228 2005-11-09 Wim Taymans <wim@fluendo.com>
3231 Document another field.
3233 * gst/gststructure.c:
3234 * gst/gststructure.h:
3237 2005-11-09 Wim Taymans <wim@fluendo.com>
3242 2005-11-09 Wim Taymans <wim@fluendo.com>
3244 * docs/gst/gstreamer-sections.txt:
3245 Added some new macros.
3252 2005-11-09 Wim Taymans <wim@fluendo.com>
3254 * docs/design/part-TODO.txt:
3255 Some more items for the TODO
3261 2005-11-09 Andy Wingo <wingo@pobox.com>
3263 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
3264 to work on something else now tho...
3266 * gst/base/gstadapter.c: More adapter docs.
3268 * gst/elements/gstfilesink.c (gst_file_sink_start)
3269 (gst_file_sink_stop): New functions, replace the state change
3271 (gst_file_sink_class_init): Hook up the start and stop functions.
3272 (gst_file_sink_base_init): Don't set the state change handler any
3273 more. It was a bit ugly too, being set from here...
3274 (gst_file_sink_get_property, gst_file_sink_set_property):
3276 (gst_file_sink_set_location): More robust check that doesn't call
3279 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
3281 * gst/base/gstbasetransform.c: (gst_base_transform_event):
3282 Hold STREAM_LOCK while pushing newsegment or tag events as well.
3284 2005-11-08 Wim Taymans <wim@fluendo.com>
3286 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3287 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3288 (gst_base_sink_chain), (gst_base_sink_change_state):
3289 * gst/base/gstbasesink.h:
3290 * gst/base/gstbasesrc.h:
3293 Avoid excessive typechecking in macros.
3295 * gst/gstminiobject.c: (gst_mini_object_get_type),
3296 (gst_mini_object_init), (gst_mini_object_new),
3297 (gst_mini_object_free):
3298 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
3299 (gst_object_finalize):
3300 Remove cruft code, optimize alloc_trace.
3302 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
3304 * docs/faq/gst-uninstalled:
3305 fix up PS1 for systems that try to reset it
3307 2005-11-07 Wim Taymans <wim@fluendo.com>
3309 * gst/base/gstbasesrc.c: (gst_base_src_init),
3310 (gst_base_src_get_range):
3311 Set the segment_end to -1 initially. Fixed typefind.
3313 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
3315 * gst/base/gstadapter.c:
3316 Debug category should be 'adapter', not 'GstAdapter'.
3318 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
3319 (gst_collectpads_class_init), (gst_collectpads_init),
3320 (gst_collectpads_peek), (gst_collectpads_pop),
3321 (gst_collectpads_event), (gst_collectpads_chain):
3322 Add debug category and some debugging output. Use boilerplate
3323 macros. Remove some extraneous words from docs.
3325 2005-11-05 Andy Wingo <wingo@pobox.com>
3327 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
3330 2005-11-04 Stefan Kost <ensonic@users.sf.net>
3332 * docs/gst/gstreamer-sections.txt:
3335 * gst/gstminiobject.h:
3340 2005-11-04 Wim Taymans <wim@fluendo.com>
3342 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3343 Small update to stop at the configured segment_end
3346 2005-11-04 Stefan Kost <ensonic@users.sf.net>
3348 * gst/gstregistry.c:
3349 * gst/gstregistry.h:
3352 2005-11-04 Edward Hervey <edward@fluendo.com>
3354 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3355 Check if we are doing a segment seek and have arrived at the
3356 end of that segment.
3358 2005-11-04 Wim Taymans <wim@fluendo.com>
3360 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
3361 Don't leak a mutex unlock in case of an error.
3366 2005-11-04 Wim Taymans <wim@fluendo.com>
3368 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
3370 Get the context to wake up only once.
3372 2005-11-03 Wim Taymans <wim@fluendo.com>
3374 * check/states/sinks.c: (GST_START_TEST):
3375 Uncomment fixed check.
3377 * docs/design/part-TODO.txt:
3380 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3381 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3382 (gst_base_sink_get_position):
3383 If we are going to PLAYING, post the right pending state
3384 when we post the intermediate paused message.
3386 * gst/gstelement.c: (gst_element_continue_state),
3387 (gst_element_set_state_func), (gst_element_change_state):
3388 Don't post state changes that were between the same state
3391 2005-11-03 Stefan Kost <ensonic@users.sf.net>
3393 * docs/gst/gstreamer-sections.txt:
3396 * gst/gstminiobject.h:
3399 more docs and doc style fixes
3401 2005-11-03 Stefan Kost <ensonic@users.sf.net>
3403 * docs/gst/gstreamer-sections.txt:
3405 * gst/gstminiobject.c:
3408 2005-11-03 Andy Wingo <wingo@pobox.com>
3410 * check/states/sinks.c (test_livesrc_sink): Add checks that the
3411 state-changed messages actually have the right order and the right
3414 2005-11-03 Wim Taymans <wim@fluendo.com>
3416 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3417 Added some more checks. Specifically the case where NO_PREROLL
3418 elements are in the pipeline.
3420 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3421 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3422 (gst_base_sink_get_position):
3423 Post READY->PAUSED state change messages too.
3424 Fix bug where VOID was posted as pending state...
3426 * gst/gstbin.c: (gst_bin_recalc_state):
3427 use _element_continue_state() to continue the state change.
3429 * gst/gstelement.c: (gst_element_continue_state),
3430 (gst_element_commit_state), (gst_element_set_state_func),
3431 (gst_element_change_state), (gst_element_change_state_func):
3432 Lots of state change cleanups, assign the STATE_RETURN in
3433 a new continue_state() function that also propagates the
3434 last return value from a state change to the app.
3435 Update some debug statements with proper category.
3437 2005-11-03 Wim Taymans <wim@fluendo.com>
3439 * docs/design/part-events.txt:
3440 * docs/design/part-gstpipeline.txt:
3441 * docs/design/part-messages.txt:
3442 * docs/design/part-overview.txt:
3443 * docs/design/part-seeking.txt:
3444 * docs/design/part-states.txt:
3445 * docs/design/part-trickmodes.txt:
3446 * docs/manual/advanced-position.xml:
3450 People think !! is ugly, this looks better.
3452 * gst/gstpad.c: (gst_pad_set_blocked_async):
3453 Remove !! since it's fixed elsewhere now.
3455 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3457 * gst/gstminiobject.h:
3459 Add !! to _FLAG_IS_SET macros to make the result boolean.
3461 2005-11-03 Edward Hervey <edward@fluendo.com>
3463 * gst/gstpad.c: (gst_pad_set_blocked_async):
3464 comparing a flag and a gboolean rarely returns coherent results...
3465 Added two characters (!!) to make that work correctly.
3467 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3469 * gst/gstbus.c: (gst_bus_class_init):
3472 * gst/gstqueue.c: (gst_queue_loop):
3473 Don't assume a miniobject that isn't a buffer is an
3474 event (it could be that there is a refcounting
3475 problem somewhere and the pointer is stale and
3476 refers to an already destroyed miniobject).
3478 2005-11-03 Julien MOUTTE <julien@moutte.net>
3480 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3482 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3484 * docs/manual/advanced-position.xml:
3485 Update seek example and explanations to current 0.9 API.
3487 * gst/elements/gsttypefindelement.c:
3488 (gst_type_find_element_activate):
3489 Remove FIXME comment now that the found caps
3492 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
3494 * gst/gstregistryxml.c: (load_feature):
3495 Add another GST_STR_NULL instance
3497 2005-11-02 Edward Hervey <edward@fluendo.com>
3499 * gst/gstpad.c: (handle_pad_block):
3500 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3502 2005-11-02 Wim Taymans <wim@fluendo.com>
3507 * gst/gstelement.c: (gst_element_commit_state):
3508 Remove unused value.
3510 * gst/gstiterator.c:
3511 Mention that the returned element is reffed in the docs.
3513 2005-11-02 Wim Taymans <wim@fluendo.com>
3515 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3516 (gst_pad_push), (gst_pad_push_event):
3517 Unlock blocked pads when they are flushed.
3519 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3522 * docs/gst/gstreamer-sections.txt:
3525 * gst/gstregistry.c: (gst_registry_scan_path_level):
3526 fix for a nasty little missed situation where an installed plug-in
3527 which was in the cache did not get overridden by an uninstalled one
3528 which was earlier in the plugin path because the newly created plugin
3529 for the uninstalled one (not in the registry) didn't get its
3530 ->registered set to TRUE
3532 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3534 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3535 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3536 (gst_collectpads_is_active), (gst_collectpads_collect),
3537 (gst_collectpads_collect_range), (gst_collectpads_start),
3538 (gst_collectpads_stop), (gst_collectpads_peek),
3539 (gst_collectpads_pop), (gst_collectpads_available),
3540 (gst_collectpads_read), (gst_collectpads_flush):
3541 Guard public API with assertions.
3544 Fix docs for gst_pad_set_link_function().
3546 2005-11-02 Johan Dahlin <johan@gnome.org>
3548 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
3549 Unref found_caps after we used it.
3551 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3553 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3554 Don't try to ref NULL.
3556 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3558 * win32/common/config.h.in:
3559 provide a GST_FUNCTION that just gives a string for now
3561 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3563 * win32/common/gstenumtypes.c: (register_gst_object_flags),
3564 (gst_object_flags_get_type), (register_gst_bin_flags),
3565 (gst_bin_flags_get_type), (register_gst_buffer_flag),
3566 (gst_buffer_flag_get_type), (register_gst_bus_flags),
3567 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3568 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3569 (gst_clock_return_get_type), (register_gst_clock_entry_type),
3570 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3571 (gst_clock_flags_get_type), (register_gst_state),
3572 (gst_state_get_type), (register_gst_state_change_return),
3573 (gst_state_change_return_get_type), (register_gst_state_change),
3574 (gst_state_change_get_type), (register_gst_element_flags),
3575 (gst_element_flags_get_type), (register_gst_core_error),
3576 (gst_core_error_get_type), (register_gst_library_error),
3577 (gst_library_error_get_type), (register_gst_resource_error),
3578 (gst_resource_error_get_type), (register_gst_stream_error),
3579 (gst_stream_error_get_type), (register_gst_event_type),
3580 (gst_event_type_get_type), (register_gst_seek_type),
3581 (gst_seek_type_get_type), (register_gst_seek_flags),
3582 (gst_seek_flags_get_type), (register_gst_format),
3583 (gst_format_get_type), (register_gst_index_certainty),
3584 (gst_index_certainty_get_type), (register_gst_index_entry_type),
3585 (gst_index_entry_type_get_type),
3586 (register_gst_index_lookup_method),
3587 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3588 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3589 (gst_index_resolver_method_get_type), (register_gst_index_flags),
3590 (gst_index_flags_get_type), (register_gst_debug_level),
3591 (gst_debug_level_get_type), (register_gst_debug_color_flags),
3592 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3593 (gst_iterator_result_get_type), (register_gst_iterator_item),
3594 (gst_iterator_item_get_type), (register_gst_message_type),
3595 (gst_message_type_get_type), (register_gst_mini_object_flags),
3596 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3597 (gst_pad_link_return_get_type), (register_gst_flow_return),
3598 (gst_flow_return_get_type), (register_gst_activate_mode),
3599 (gst_activate_mode_get_type), (register_gst_pad_direction),
3600 (gst_pad_direction_get_type), (register_gst_pad_flags),
3601 (gst_pad_flags_get_type), (register_gst_pad_presence),
3602 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3603 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3604 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3605 (gst_plugin_error_get_type), (register_gst_plugin_flags),
3606 (gst_plugin_flags_get_type), (register_gst_rank),
3607 (gst_rank_get_type), (register_gst_query_type),
3608 (gst_query_type_get_type), (register_gst_tag_merge_mode),
3609 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3610 (gst_tag_flag_get_type), (register_gst_task_state),
3611 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3612 (gst_alloc_trace_flags_get_type),
3613 (register_gst_type_find_probability),
3614 (gst_type_find_probability_get_type), (register_gst_uri_type),
3615 (gst_uri_type_get_type), (register_gst_parse_error),
3616 (gst_parse_error_get_type):
3617 * win32/common/gstversion.h:
3620 2005-11-01 Luca Ognibene <luogni@tin.it>
3623 fix docs. popt is dead, long live GOption.
3625 2005-10-31 Wim Taymans <wim@fluendo.com>
3630 2005-10-31 Andy Wingo <wingo@pobox.com>
3634 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3636 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3637 need to serialize property notifications on GLib 2.8. GLib 2.6 has
3638 the possibility of deadlocks here if code calling notify() or
3639 set() has a lock that can be taken in another notify handler (ABBA
3640 with class lock and e.g. python GIL state lock).
3642 2005-10-28 Julien MOUTTE <julien@moutte.net>
3644 * gst/gstbus.c: Doc updates.
3646 2005-10-28 Wim Taymans <wim@fluendo.com>
3648 * docs/design/part-TODO.txt:
3649 * gst/gstiterator.c:
3650 * gst/gstsystemclock.c:
3651 * gst/gstsystemclock.h:
3654 2005-10-28 Edward Hervey <edward@fluendo.com>
3656 * docs/gst/gstreamer-docs.sgml:
3657 * docs/gst/gstreamer-sections.txt:
3658 the GstURIType documentation page is private, it only defines GstURIType
3659 which should be defined in the GstURIHandler page
3661 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
3663 * gst/gstbin.c: (gst_bin_class_init):
3666 Documentation updates.
3668 2005-10-28 Wim Taymans <wim@fluendo.com>
3670 * docs/gst/gstreamer-sections.txt:
3673 Documented the clocks.
3675 2005-10-28 Stefan Kost <ensonic@users.sf.net>
3677 * docs/gst/gstreamer-sections.txt:
3678 move some macros to private sections
3679 * gst/gstminiobject.c:
3680 * gst/gstminiobject.h:
3681 add descriptions provided by ds and some more
3683 mark macro as to be removed
3685 2005-10-28 Wim Taymans <wim@fluendo.com>
3687 * docs/design/part-TODO.txt:
3688 Add an item to TODO.
3690 * gst/gstiterator.c: (gst_iterator_fold),
3691 (gst_iterator_find_custom):
3692 * gst/gstiterator.h:
3695 2005-10-28 Wim Taymans <wim@fluendo.com>
3697 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3698 (gst_base_transform_init):
3701 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3702 An EOS event marks the queue as completely filled.
3704 2005-10-27 Wim Taymans <wim@fluendo.com>
3706 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3707 (gst_base_sink_do_sync), (gst_base_sink_get_position):
3708 Some more debugging.
3710 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3711 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3712 (gst_base_transform_event), (gst_base_transform_getrange),
3713 (gst_base_transform_chain):
3714 * gst/base/gstbasetransform.h:
3716 Protect transform and concurrent buffer alloc with a new lock.
3717 Try not to break ABI/API.
3719 2005-10-27 Wim Taymans <wim@fluendo.com>
3721 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3722 (gst_base_src_init), (gst_base_src_query),
3723 (gst_base_src_default_newsegment),
3724 (gst_base_src_configure_segment), (gst_base_src_do_seek),
3725 (gst_base_src_send_event), (gst_base_src_event_handler),
3726 (gst_base_src_pad_get_range), (gst_base_src_loop),
3727 (gst_base_src_unlock), (gst_base_src_default_negotiate),
3728 (gst_base_src_start), (gst_base_src_deactivate),
3729 (gst_base_src_activate_push), (gst_base_src_change_state):
3730 Move some stuff around and cleanup things.
3732 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
3734 * gst/base/gstbasesrc.c: (gst_base_src_query):
3735 Add missing break statements.
3737 2005-10-27 Wim Taymans <wim@fluendo.com>
3739 * check/gst/gstbin.c: (GST_START_TEST):
3740 An extra refcount is taken in basesrc.
3742 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3743 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3744 (gst_base_src_loop):
3745 Small cleanups, check for flushing after being unlocked from the
3746 LIVE_LOCK. take refcounts correctly (not yet everywhere).
3747 Don't send out EOS when going to READY.
3749 2005-10-27 Wim Taymans <wim@fluendo.com>
3751 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3752 (gst_base_sink_get_position):
3755 * gst/gstbin.c: (message_check), (bin_replace_message),
3756 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3757 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3758 (bin_query_duration_init), (bin_query_duration_fold),
3759 (bin_query_duration_done), (bin_query_generic_fold),
3761 * tools/gst-launch.c: (main):
3764 2005-10-26 Stefan Kost <ensonic@users.sf.net>
3766 * examples/controller/audio-example.c: (main):
3767 * examples/queue/queue.c: (event_loop):
3768 * gst/base/gstbasetransform.h:
3769 * gst/gstelement.c: (gst_element_send_event):
3771 * gst/gstpad.c: (gst_pad_send_event):
3774 changing log priority in error situations
3776 2005-10-25 Wim Taymans <wim@fluendo.com>
3778 * gst/gstbin.c: (message_check), (bin_replace_message),
3779 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3780 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3781 (bin_query_duration_init), (bin_query_duration_fold),
3782 (bin_query_duration_done), (bin_query_generic_fold),
3784 Some doc and debug updates.
3785 Cache previously requested query DURATION for speed. invalidate
3786 cached duration if element posts a DURATION message.
3788 2005-10-25 Wim Taymans <wim@fluendo.com>
3790 * docs/design/part-TODO.txt:
3793 * gst/gstbin.c: (message_check), (bin_replace_message),
3794 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3795 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3796 (bin_query_duration_init), (bin_query_duration_fold),
3797 (bin_query_duration_done), (bin_query_generic_fold),
3799 Handle SEGMENT_START/DONE messages correctly.
3800 More evolved query algorithm that handles duration queries
3803 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3804 (gst_element_get_state_func), (gst_element_abort_state),
3805 (gst_element_commit_state), (gst_element_lost_state):
3806 Some more debugging.
3811 2005-10-25 Wim Taymans <wim@fluendo.com>
3813 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3814 Don't use invalid stream_time.
3816 * gst/gstevent.c: (gst_event_new_newsegment):
3817 stream_time in newsegment cannot be undefined.
3819 2005-10-24 Wim Taymans <wim@fluendo.com>
3824 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3826 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3828 2005-10-24 Stefan Kost <ensonic@users.sf.net>
3830 * docs/libs/tmpl/gstdparam.sgml:
3831 * docs/libs/tmpl/gstdplinint.sgml:
3832 * docs/libs/tmpl/gstdpman.sgml:
3833 * docs/libs/tmpl/gstdpsmooth.sgml:
3834 * docs/libs/tmpl/gstunitconvert.sgml:
3837 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
3842 === release 0.9.4 ===
3844 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3847 releasing 0.9.4, "Tyrannosaurus Rex"
3849 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
3851 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3852 (gst_file_sink_get_current_offset):
3853 Use fseeko() and ftello() if available. When falling back on
3854 lseek() to get the current offset, fflush() first to make sure
3855 everything is up-to-date and we get the right offset.
3857 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3859 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3860 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3861 * gst/gsterror.c: (_gst_stream_errors_init):
3863 * gst/gstqueue.c: (gst_queue_loop):
3865 remove prematurely added error category and clean up the instances
3867 2005-10-21 Wim Taymans <wim@fluendo.com>
3869 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3870 (gst_base_sink_get_position), (gst_base_sink_query),
3871 (gst_base_sink_change_state):
3872 Simply set the right flag when going to playing, that's all
3873 we need to do instead of calling a function inside the object
3874 lock (that could take the lock as well and deadlock)
3876 2005-10-21 Wim Taymans <wim@fluendo.com>
3878 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3879 (gst_base_src_loop):
3880 Don't warn, the peer element knows what to do best when
3881 the seek failed, it might try something else.
3883 2005-10-21 Wim Taymans <wim@fluendo.com>
3885 * gst/base/gstbasesrc.c: (gst_base_src_init),
3886 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3889 2005-10-21 Wim Taymans <wim@fluendo.com>
3891 * docs/design/part-segments.txt:
3894 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3895 Correctly set caps, even on the subbufer.
3897 2005-10-21 Wim Taymans <wim@fluendo.com>
3899 * docs/gst/gstreamer-docs.sgml:
3900 * docs/gst/gstreamer-sections.txt:
3907 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
3911 And 2% more doc coverage.
3913 2005-10-21 Andy Wingo <wingo@pobox.com>
3915 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
3918 2005-10-20 Wim Taymans <wim@fluendo.com>
3920 * gst/gsterror.c: (gst_error_get_message):
3923 * gst/gststructure.c:
3928 2005-10-20 Wim Taymans <wim@fluendo.com>
3933 Another 1% more coverage.
3935 2005-10-20 Wim Taymans <wim@fluendo.com>
3937 * docs/gst/gstreamer-sections.txt:
3938 * gst/gstelement.c: (gst_element_get_state_func),
3939 (gst_element_abort_state), (gst_element_commit_state),
3940 (gst_element_lost_state):
3942 * gst/gstquery.c: (gst_query_set_position),
3943 (gst_query_parse_position), (gst_query_set_duration),
3944 (gst_query_parse_duration), (gst_query_new_convert):
3946 Yay! 1% more docs coverage.
3948 2005-10-20 Wim Taymans <wim@fluendo.com>
3951 * gst/gstquery.c: (gst_query_set_position),
3952 (gst_query_parse_position), (gst_query_set_duration),
3953 (gst_query_parse_duration), (gst_query_new_convert):
3955 * gst/gstutils.c: (gst_element_query_convert):
3957 Docs and consistency fixes.
3959 2005-10-20 Wim Taymans <wim@fluendo.com>
3965 2005-10-20 Wim Taymans <wim@fluendo.com>
3967 * gst/gstbin.c: (message_check), (bin_replace_message),
3968 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3969 (update_degree), (gst_bin_sort_iterator_next),
3970 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
3971 Reworked the message handling a bit, cache the messages instead of
3972 only the senders. alows us to do more in the future.
3974 2005-10-20 Wim Taymans <wim@fluendo.com>
3976 * docs/design/part-TODO.txt:
3979 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3980 (gst_base_sink_query):
3981 Don't use clock time to report position when in EOS.
3983 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
3985 * tools/gst-inspect.c: (print_interfaces),
3986 (print_element_properties_info), (print_element_info):
3987 Fix interface output with gst-inspect -a; don't print
3988 newlines after double/float properties.
3990 2005-10-20 Wim Taymans <wim@fluendo.com>
3992 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
3993 (gst_base_sink_query):
3994 Speed up current position calculation.
3996 * gst/base/gstbasesrc.c: (gst_base_src_query),
3997 (gst_base_src_default_newsegment):
3998 Correctly set stream position in newsegment.
4000 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
4001 (update_degree), (gst_bin_sort_iterator_next),
4002 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
4003 * gst/gstmessage.c: (gst_message_new_custom):
4004 Clean up debugging info
4006 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
4007 (gst_queue_loop), (gst_queue_handle_src_query):
4010 2005-10-19 Wim Taymans <wim@fluendo.com>
4012 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4013 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
4014 Fix query handling again.
4016 2005-10-19 Wim Taymans <wim@fluendo.com>
4018 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4019 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
4020 * gst/base/gstbasesrc.c: (gst_base_src_query):
4021 * gst/elements/gstfilesink.c: (gst_file_sink_query):
4022 * gst/elements/gsttypefindelement.c:
4023 (gst_type_find_handle_src_query), (find_element_get_length),
4024 (gst_type_find_element_activate):
4027 * gst/gstquery.c: (gst_query_new_position),
4028 (gst_query_set_position), (gst_query_parse_position),
4029 (gst_query_new_duration), (gst_query_set_duration),
4030 (gst_query_parse_duration), (gst_query_set_segment),
4031 (gst_query_parse_segment):
4033 Bundling query position/duration is not a good idea since duration
4034 does not change much and we don't want to recalculate it for every
4035 position query, so they are separated again..
4036 Base value in segment query is not needed.
4038 * gst/gstqueue.c: (gst_queue_handle_src_query):
4039 * gst/gstutils.c: (gst_element_query_position),
4040 (gst_element_query_duration), (gst_pad_query_position),
4041 (gst_pad_query_duration):
4043 Updates for query API change.
4044 Added some docs here and there.
4046 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
4048 * check/gst/gstbin.c: (GST_START_TEST):
4049 * check/gst/gstghostpad.c: (GST_START_TEST):
4050 * check/pipelines/cleanup.c: (GST_START_TEST):
4051 wait on thread to die so we can check refcount correctly
4053 2005-10-18 Wim Taymans <wim@fluendo.com>
4055 * check/pipelines/stress.c: (GST_START_TEST):
4056 Make check a little more time consuming.
4058 2005-10-18 Wim Taymans <wim@fluendo.com>
4060 * check/Makefile.am:
4061 * check/pipelines/stress.c: (GST_START_TEST),
4062 (simple_launch_lines_suite), (main):
4063 Small state change torture test.
4065 * docs/design/part-states.txt:
4066 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4067 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
4068 (gst_base_sink_change_state):
4069 Never take state lock from streaming thread, clean up ugly
4070 hacks. Unfortunatly core does not yet support nice ways to
4073 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
4075 Start state recalc if a STATE_DIRTY message is posted, but only
4076 on the toplevel bin.
4078 * gst/gstelement.c: (gst_element_sync_state_with_parent),
4079 (gst_element_get_state_func), (gst_element_abort_state),
4080 (gst_element_commit_state), (gst_element_lost_state),
4081 (gst_element_set_state_func), (gst_element_change_state):
4083 State variables are now protected with the LOCK, the state
4084 lock is only used to serialize _set_state().
4086 2005-10-18 Wim Taymans <wim@fluendo.com>
4088 * check/gst/gstbin.c: (GST_START_TEST):
4089 * check/gst/gstmessage.c: (GST_START_TEST):
4090 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4091 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
4093 * gst/gstelement.c: (gst_element_abort_state),
4094 (gst_element_commit_state), (gst_element_lost_state):
4095 * gst/gstmessage.c: (gst_message_new_state_changed),
4096 (gst_message_new_state_dirty), (gst_message_new_segment_start),
4097 (gst_message_new_segment_done), (gst_message_new_duration),
4098 (gst_message_parse_state_changed),
4099 (gst_message_parse_segment_start),
4100 (gst_message_parse_segment_done), (gst_message_parse_duration):
4102 * tools/gst-launch.c: (event_loop):
4103 Seriously, this is better than a previous commit as we only need
4104 to notify the fact that an element changed state in a streaming
4105 thread, marking the state of the parents dirty, hence the
4106 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
4109 2005-10-18 Wim Taymans <wim@fluendo.com>
4111 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
4112 (gst_bin_recalc_func):
4113 * gst/gstelement.c: (gst_element_set_clock),
4114 (gst_element_abort_state), (gst_element_lost_state):
4115 Cleanups, prepare for state change fixes.
4117 2005-10-18 Wim Taymans <wim@fluendo.com>
4120 * gst/gstelement.c: (gst_element_class_init),
4121 (gst_element_set_state), (gst_element_set_state_func):
4123 Pending ABI changes.
4124 GThreadPool in GstBinClass to monitor async state changes.
4125 state_cookie in GstElement to detect concurrent gst/set state.
4126 set_state is now virtual too in case a very complicated element
4127 has to be constructed.
4129 2005-10-18 Wim Taymans <wim@fluendo.com>
4131 * check/gst/gstbin.c: (GST_START_TEST):
4132 * check/gst/gstmessage.c: (GST_START_TEST):
4133 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4134 * gst/gstbin.c: (bin_bus_handler):
4135 * gst/gstelement.c: (gst_element_commit_state),
4136 (gst_element_lost_state):
4137 * gst/gstmessage.c: (gst_message_new_state_changed),
4138 (gst_message_new_segment_start), (gst_message_new_segment_done),
4139 (gst_message_new_duration), (gst_message_parse_state_changed),
4140 (gst_message_parse_segment_start),
4141 (gst_message_parse_segment_done), (gst_message_parse_duration):
4143 * tools/gst-launch.c: (event_loop):
4144 Make messages future proof.
4145 state-change gets a flag if it was a message comming from the
4147 segment-start/stop can also be specified in other formats.
4148 A message to notify an app that a pipeline changed playback
4150 Also fix a GstMessage leak in -launch
4152 2005-10-18 Andy Wingo <wingo@pobox.com>
4154 * gst/gstelement.c (gst_element_dispose): More helpful message.
4156 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
4158 reviewed by: <delete if not using a buddy>
4160 * common/gtk-doc.mak:
4162 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
4164 * gst/gstregistry.c: (gst_registry_scan_path_level):
4165 unref a plug-in we get that was already initialized
4167 2005-10-18 Stefan Kost <ensonic@users.sf.net>
4169 * docs/gst/gstreamer-sections.txt:
4170 * docs/libs/gstreamer-libs-sections.txt:
4175 2005-10-17 Andy Wingo <wingo@pobox.com>
4177 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
4180 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
4182 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
4184 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
4185 (gst_element_get_state_func): Better debug message.
4186 (gst_element_commit_state): s/INFO/DEBUG/.
4187 (gst_element_lost_state, gst_element_change_state):
4189 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
4190 (gst_message_new_custom): s/INFO/LOG/.
4192 2005-10-17 Michael Smith <msmith@fluendo.com>
4194 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4195 Check if end time is valid using end time, not start time.
4197 2005-10-17 Stefan Kost <ensonic@users.sf.net>
4199 * check/gst-libs/controller.c: (GST_START_TEST),
4200 (gst_controller_suite):
4201 * libs/gst/controller/gstcontroller.c:
4202 (gst_controlled_property_set_interpolation_mode):
4203 * libs/gst/controller/gstcontroller.h:
4204 * libs/gst/controller/gstinterpolation.c:
4205 * testsuite/controller/.cvsignore:
4206 * testsuite/controller/Makefile.am:
4207 * testsuite/controller/interpolator.c:
4208 merge controller testsuites
4210 remove mem-chunk from docs
4212 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
4214 * gst/gstmemchunk.c:
4215 * gst/gstmemchunk.h:
4216 * gst/gsttrashstack.c:
4217 * gst/gsttrashstack.h:
4218 out. get out. you're fired. to the Attic !
4220 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
4222 * gst/gstcaps.c: (gst_caps_intersect):
4223 fix signedness issues in a (hopefully) correct way
4224 * gst/gstelement.c: (gst_element_pads_activate):
4226 * gst/gstobject.c: (gst_object_set_parent):
4229 2005-10-17 Julien MOUTTE <julien@moutte.net>
4231 * gst/gstvalue.h: Fix prototypes.
4233 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4235 * docs/gst/gstreamer-sections.txt:
4236 * gst/gst.c: (gst_version_string):
4238 * gst/gstversion.h.in:
4239 * win32/common/libgstreamer.def:
4240 add gst_version_string ()
4242 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4246 * gst/gst.c: (init_post):
4247 * win32/common/config.h.in:
4249 * gst/gstcaps.c: (gst_caps_intersect):
4250 use gint64, the range could be bigger than a guint
4252 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4255 document potential problem in 2038
4257 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4259 * gst/gstcaps.c: (gst_caps_intersect):
4260 Fix guint j diving under 0
4262 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4265 * win32/common/config.h:
4266 * win32/common/config.h.in:
4267 check for process.h, declares getpid() on Windows
4269 include process.h if we have it
4270 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
4271 * gst/gstmemchunk.h:
4272 fix signedness issues
4273 * win32/common/libgstreamer.def:
4276 2005-10-16 Julien MOUTTE <julien@moutte.net>
4278 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
4279 fix. Because of unsigned ints, caps intersection was going nuts and
4280 trying to access structures with G_MAXUINT index. That fixes
4281 videotestsrc ! ffmpegcolorspace ! fakesink
4282 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
4285 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4288 use the gettext macro
4289 * gst/elements/gstelements.c:
4291 * gst/indexers/gstindexers.c:
4292 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
4293 * win32/common/config.h:
4295 * win32/common/config.h.in:
4296 add the template to generate config.h
4297 * win32/common/gstenumtypes.c:
4298 * win32/common/gstversion.h:
4301 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4303 * gst/gst.c: (gst_version):
4304 * gst/gstversion.h.in:
4307 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
4310 Oops, add missing closing bracket.
4312 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4315 use common m4's for argument checking
4317 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
4319 * docs/gst/gstreamer-sections.txt:
4321 Add GST_EVENT_TYPE_NAME() macro.
4323 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4326 * gst/gstpluginfeature.c:
4328 privatize more symbols
4330 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4333 add srcdir, builddir includes to GST_ALL_CFLAGS, since
4334 everything that uses GStreamer API should have the includes
4336 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4338 * docs/gst/gstreamer-sections.txt:
4339 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4341 give each value a _get_type, removes the DATA exports
4343 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4347 remove _gst_registry_auto_load, not used anymore
4348 * gst/gstbin.c: (gst_bin_get_type):
4350 * gst/gstelement.c: (gst_element_get_type):
4352 * gst/gstobject.c: (gst_object_get_type):
4354 * gst/gstpad.c: (gst_pad_get_type):
4356 make _get_type functions similar, fixes data export from library
4358 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4361 correctly make conditionals
4362 * gst/elements/Makefile.am:
4363 * gst/elements/gstelements.c:
4364 fix typo causing fdsrc not to build
4366 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4368 * testsuite/Makefile.am:
4369 * testsuite/bytestream/.cvsignore:
4370 * testsuite/bytestream/Makefile.am:
4371 * testsuite/bytestream/filepadsink.c:
4372 * testsuite/bytestream/gstbstest.c:
4373 * testsuite/bytestream/test1.c:
4374 * testsuite/bytestream/testfile1:
4375 * testsuite/caps/normalisation.c:
4376 * testsuite/caps/random.c: (main):
4377 * testsuite/cleanup/.cvsignore:
4378 * testsuite/cleanup/Makefile.am:
4379 * testsuite/cleanup/cleanup1.c:
4380 * testsuite/cleanup/cleanup2.c:
4381 * testsuite/cleanup/cleanup3.c:
4382 * testsuite/cleanup/cleanup4.c:
4383 * testsuite/cleanup/cleanup5.c:
4384 * testsuite/controller/interpolator.c:
4385 * testsuite/debug/printf_extension.c: (main):
4386 * testsuite/elements/tee.c:
4387 * testsuite/negotiation/.cvsignore:
4388 * testsuite/negotiation/Makefile.am:
4389 * testsuite/negotiation/pad_link.c:
4390 * testsuite/pad/Makefile.am:
4391 * testsuite/pad/chainnopull.c:
4392 * testsuite/pad/getnopush.c:
4393 * testsuite/pad/link.c:
4394 * testsuite/refcounting/sched.c: (create_pipeline):
4395 * testsuite/registry/Makefile.am:
4396 * testsuite/registry/gst-print-formats.c:
4397 * testsuite/schedulers/.cvsignore:
4398 * testsuite/schedulers/142183-2.c:
4399 * testsuite/schedulers/142183.c:
4400 * testsuite/schedulers/143777-2.c:
4401 * testsuite/schedulers/143777.c:
4402 * testsuite/schedulers/147713.c:
4403 * testsuite/schedulers/147819.c:
4404 * testsuite/schedulers/147894-2.c:
4405 * testsuite/schedulers/147894.c:
4406 * testsuite/schedulers/Makefile.am:
4407 * testsuite/schedulers/group_link.c:
4408 * testsuite/schedulers/queue_link.c:
4409 * testsuite/schedulers/relink.c:
4410 * testsuite/schedulers/unlink.c:
4411 * testsuite/schedulers/unref.c:
4412 * testsuite/schedulers/useless_iteration.c:
4413 * testsuite/states/bin.c:
4414 clean out/remove some stuff from the testsuite directories
4416 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4419 check for some headers
4420 * gst/elements/Makefile.am:
4421 * gst/elements/gstelements.c:
4422 don't compile fdsrc without sys/socket.h
4423 * gst/indexers/Makefile.am:
4424 * gst/indexers/gstindexers.c: (plugin_init):
4425 don't compile fileindex without mmap
4427 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4434 * check/Makefile.am:
4435 * docs/gst/Makefile.am:
4436 * examples/helloworld/Makefile.am:
4438 * gst/base/Makefile.am:
4439 * gst/check/Makefile.am:
4440 * gst/elements/Makefile.am:
4441 * gst/indexers/Makefile.am:
4442 * gst/parse/Makefile.am:
4443 * libs/gst/controller/Makefile.am:
4444 * libs/gst/dataprotocol/Makefile.am:
4445 * examples/helloworld/helloworld.c: (event_loop):
4446 compile fixes, though it's not being compiled currently
4448 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4450 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
4451 Add some simple tests for the new taglist date API.
4453 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4455 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
4456 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
4457 Beautify 'last-message' output: print 'none' for buffer timestamps
4458 and durations if none is set; improve alignment with next messages.
4460 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4462 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
4463 * gst/gstpluginfeature.h:
4464 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
4465 * gst/gstregistry.h:
4466 * docs/gst/gstreamer-sections.txt:
4467 Add new API to check plugin feature version requirements.
4469 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
4470 Some basic tests for the above.
4472 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4474 * gst/gststructure.c: (gst_structure_to_string):
4475 guard against NULL printf - happens when for example
4476 a message structure with GstClock gets serialized
4478 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4480 * gst/base/gstcollectpads.c: (gst_collectpads_event):
4481 Fix presumable copy'n'pasto.
4483 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4485 * gst/elements/gstfakesrc.h:
4486 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4487 * gst/elements/gsttypefindelement.c:
4489 * gst/elements/gstfilesink.c: (gst_file_sink_render):
4490 I wonder if this could actually write +2GB files before
4492 2005-10-13 Andy Wingo <wingo@pobox.com>
4494 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4495 Fix Timmeke Waymans bug.
4496 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4497 string of the proper length to gst_caps_from_string. There's a
4498 potential for, before this fix, that this could cause someone
4499 connecting over the network to cause a segfault if the payload is
4502 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4504 * docs/design/draft-push-pull.txt:
4505 * docs/design/part-overview.txt:
4506 * docs/random/TODO-pre-0.9:
4507 * docs/random/old/ChangeLog.gstreamer:
4508 * gst/base/gstpushsrc.c:
4512 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4514 * gst/glib-compat.c: (gst_flags_get_first_value):
4515 * gst/glib-compat.h:
4516 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4517 (gst_value_compare_double), (gst_value_serialize_flags):
4518 GLib 2.6 g_flags_get_first_value has a bug that triggers an
4521 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4523 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4524 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4526 * tools/gst-launch.c: (event_loop):
4527 print out clock nicely
4529 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4531 * docs/gst/gstreamer-sections.txt:
4533 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4534 (gst_tag_list_get_date_index):
4535 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4536 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4538 2005-10-13 Julien MOUTTE <julien@moutte.net>
4540 * gst/base/gstcollectpads.c: (gst_collectpads_event),
4541 (gst_collectpads_chain):
4542 * gst/base/gstcollectpads.h: Handle newsegment and store informations
4545 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4547 * docs/gst/gstreamer-sections.txt:
4550 * tools/gst-inspect.c: (main):
4551 * tools/gst-launch.c: (main):
4552 * tools/gst-run.c: (main):
4553 * tools/gst-xmlinspect.c: (main):
4554 fix GOption context leaks
4557 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4561 * win32/common/config.h:
4563 * win32/vs6/grammar.dsp:
4564 * win32/vs6/libgstelements.dsp:
4565 * win32/vs6/libgstreamer.dsp:
4568 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4570 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4571 * gst/base/gstbasesrc.c: (gst_base_src_query):
4572 fix more guint64<->gdouble conversions
4574 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4577 add win32-update target
4578 * win32/common/gstconfig.h:
4579 * win32/common/gstenumtypes.c:
4580 * win32/common/gstenumtypes.h:
4581 * win32/common/gstversion.h:
4582 add files that visual studio can't generate
4584 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4587 add a win32-update target
4590 2005-10-12 Wim Taymans <wim@fluendo.com>
4592 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4593 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4594 * gst/gstelement.c: (gst_element_commit_state),
4595 (gst_element_set_state):
4596 Protect flags with proper lock.
4597 unref provided cached clock in dispose.
4599 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4602 * gst/gstminiobject.h:
4604 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4605 removed unused flags from miniobject
4608 2005-10-12 Wim Taymans <wim@fluendo.com>
4610 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4611 (gst_file_sink_event), (gst_file_sink_render):
4612 Flush before seeking.
4614 2005-10-12 Andy Wingo <wingo@pobox.com>
4616 * gst/gst.c (gst_init_check): Ignore unknown options, as has
4617 always been the case.
4619 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4621 * check/gst/gstbin.c: (GST_START_TEST):
4622 * docs/gst/gstreamer-sections.txt:
4623 * gst/base/gstbasesink.c: (gst_base_sink_init):
4624 * gst/base/gstbasesrc.c: (gst_base_src_init),
4625 (gst_base_src_get_range), (gst_base_src_check_get_range),
4626 (gst_base_src_start), (gst_base_src_stop):
4627 * gst/base/gstbasesrc.h:
4628 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4629 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4630 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4634 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4636 * gst/gstelement.c: (gst_element_is_locked_state),
4637 (gst_element_set_locked_state), (gst_element_commit_state),
4638 (gst_element_set_state):
4640 * gst/gstindex.c: (gst_index_init):
4642 * gst/gstminiobject.h:
4643 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4644 (gst_object_set_parent):
4646 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4647 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4649 * gst/gstpadtemplate.h:
4650 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4651 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4652 * gst/gstpipeline.h:
4653 * gst/indexers/gstfileindex.c: (gst_file_index_load),
4654 (gst_file_index_commit):
4655 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4656 * testsuite/pad/link.c: (gst_test_src_init),
4657 (gst_test_filter_init), (gst_test_sink_init):
4658 * testsuite/states/locked.c: (main):
4659 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4660 moved bitshift from macro to enum definition
4662 2005-10-12 Wim Taymans <wim@fluendo.com>
4664 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4665 * gst/elements/gstfilesink.c: (gst_file_sink_event),
4666 (gst_file_sink_render):
4667 Some more debugging info.
4669 2005-10-12 Wim Taymans <wim@fluendo.com>
4671 * docs/design/part-states.txt:
4672 * tools/gst-launch.c: (main):
4674 Revert non-intentional change.
4676 2005-10-12 Wim Taymans <wim@fluendo.com>
4678 * check/gst/gstbin.c: (GST_START_TEST):
4679 * check/gst/gstelement.c: (GST_START_TEST):
4680 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4681 * check/gst/gstghostpad.c: (GST_START_TEST):
4682 * check/gst/gstpipeline.c: (GST_START_TEST):
4683 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4684 * check/states/sinks.c: (GST_START_TEST):
4685 * gst/elements/gsttypefindelement.c: (stop_typefinding):
4686 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4687 (gst_bin_remove_func), (gst_bin_get_state_func),
4688 (gst_bin_recalc_state), (gst_bin_change_state_func),
4690 * gst/gstelement.c: (gst_element_get_state_func),
4691 (gst_element_get_state), (gst_element_abort_state),
4692 (gst_element_commit_state), (gst_element_set_state),
4693 (gst_element_change_state), (gst_element_change_state_func):
4695 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4696 (gst_pipeline_provide_clock_func):
4697 * gst/gstutils.c: (gst_element_link_pads_filtered):
4698 * tools/gst-launch.c: (main):
4699 * tools/gst-typefind.c: (main):
4700 Use GstClockTime in _get_state() instead of GTimeVal.
4701 Remove old code in gstutils.c
4703 2005-10-12 Andy Wingo <wingo@pobox.com>
4705 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4708 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4709 there is no task. Shouldn't affect any code, as nothing in our
4710 plugins checks this return value.
4711 (gst_pad_stop_task): Also take the stream lock if the pad has no
4714 2005-10-12 Wim Taymans <wim@fluendo.com>
4716 * gst/gstpad.c: (pre_activate), (post_activate),
4717 (gst_pad_activate_pull), (gst_pad_activate_push):
4718 Cleanup activation code. Reset old state if
4721 2005-10-12 Wim Taymans <wim@fluendo.com>
4723 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4724 (gst_base_sink_change_state):
4725 No need to prerol after receiving EOS.
4727 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4728 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4729 * gst/elements/gstidentity.c: (gst_identity_event):
4730 Print events more verbosely.
4732 2005-10-12 Wim Taymans <wim@fluendo.com>
4734 * check/Makefile.am:
4735 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4736 * check/states/sinks2.c:
4737 Moved sinks2 testcode in sinks check.
4739 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4740 (gst_bin_remove_func), (gst_bin_recalc_state),
4741 (gst_bin_change_state_func), (bin_bus_handler):
4742 Fix potential race condition when _get_state() iterated over an
4743 ASYNC element right before it posted a state completion.
4746 Do proper cast here.
4748 * gst/gstevent.c: (gst_event_new_newsegment),
4749 (gst_event_parse_newsegment):
4750 A playback rate of 0.0 is not allowed.
4752 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4754 * win32/common/config.h:
4755 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4756 (_trewinddir), (_ttelldir), (_tseekdir):
4757 * win32/common/dirent.h:
4758 * win32/common/gtchar.h:
4759 * win32/common/libgstbase.def:
4760 * win32/common/libgstreamer.def:
4761 * win32/vs6/grammar.dsp:
4762 * win32/vs6/gst_inspect.dsp:
4763 * win32/vs6/gst_launch.dsp:
4764 * win32/vs6/gstreamer.dsw:
4765 * win32/vs6/libgstbase.dsp:
4766 * win32/vs6/libgstelements.dsp:
4767 * win32/vs6/libgstreamer.dsp:
4768 Visual Studio 6 project files, and a new common directory.
4771 2005-10-11 Wim Taymans <wim@fluendo.com>
4773 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4774 (gst_base_sink_do_sync), (gst_base_sink_query),
4775 (gst_base_sink_change_state):
4776 * gst/base/gstbasesink.h:
4777 Correctly parse newsegment info.
4779 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4781 * gst/gst.c: (init_post):
4782 split plugin paths correctly
4784 2005-10-11 Wim Taymans <wim@fluendo.com>
4786 * check/gst/gstevent.c: (GST_START_TEST):
4787 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4788 (gst_base_sink_change_state):
4789 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4790 * gst/base/gstbasetransform.c: (gst_base_transform_event):
4791 * gst/elements/gstfilesink.c: (gst_file_sink_event):
4792 * gst/gstevent.c: (gst_event_new_newsegment),
4793 (gst_event_parse_newsegment):
4795 Added extra flag to newsegment for future API freeze.
4796 Updated check and base elements.
4798 2005-10-11 Julien MOUTTE <julien@moutte.net>
4800 * gst/base/gstcollectpads.c: (gst_collectpads_init),
4801 (gst_collectpads_add_pad), (gst_collectpads_pop),
4802 (gst_collectpads_event), (gst_collectpads_chain):
4803 * gst/base/gstcollectpads.h: Handle EOS correctly.
4805 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4807 * tools/gst-launch.c: (main):
4808 more null protecting
4810 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4812 * gst/gst-i18n-lib.h:
4813 check for ENABLE_NLS, not GETTEXT_PACKAGE
4814 * gst/gstregistry.c: (gst_registry_add_plugin),
4815 (gst_registry_scan_path_level),
4816 (_gst_registry_remove_cache_plugins):
4817 protect possibly NULL strings
4818 * gst/parse/types.h:
4819 config.h already included before
4820 * tools/gst-inspect.c: (main):
4821 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4822 check for ENABLE_NLS, not GETTEXT_PACKAGE
4823 * tools/gst-launch.c: (main):
4824 check for ENABLE_NLS, not GETTEXT_PACKAGE
4826 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4829 if we don't have glib, fail before testing 2.8
4830 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4831 fix a leak, should fix plugins-base testsuite
4833 2005-10-11 Andy Wingo <wingo@pobox.com>
4835 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4836 take the mode we're going to as an arg. Go head and set the mode
4837 and flushing flags now, so that if the activate function starts a
4838 thread all the flags will be in the right state.
4839 (post_activate): Renamed also. Just handle making sure streaming
4840 finishes for the deactivation case, and setting the deactivated
4842 (gst_pad_set_active): Complain loudly if deactivation fails.
4843 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4844 (gst_pad_activate_push): Adapt to pre/post_activate changes,
4845 remove the terrible hack.
4847 2005-10-11 Wim Taymans <wim@fluendo.com>
4849 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4850 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4851 (gst_bin_recalc_state), (gst_bin_change_state_func),
4852 (gst_bin_dispose), (bin_bus_handler):
4854 Prepare to make current EOS message queue more generic.
4857 * gst/gstevent.c: (gst_event_new_newsegment),
4858 (gst_event_parse_newsegment):
4860 Rename base to stream_time.
4865 2005-10-11 Wim Taymans <wim@fluendo.com>
4867 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4868 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4869 (gst_bin_change_state_func), (bin_bus_handler):
4871 Work on proper clock selection.
4873 2005-10-11 Edward Hervey <edward@fluendo.com>
4875 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
4876 * libs/gst/controller/gstcontroller.h:
4877 Added GList* version of _remove_properties() in order to be able to wrap
4880 2005-10-11 Wim Taymans <wim@fluendo.com>
4882 * docs/design/part-states.txt:
4885 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4886 (gst_bin_change_state_func), (bin_bus_handler):
4887 Doc updates. Don't distribute the same clock over and over again.
4893 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4894 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4895 (gst_pad_send_event):
4897 Make probe emission threadsafe again.
4898 Register quarks and move _get_name() from utils.
4901 * gst/gstpipeline.c: (gst_pipeline_class_init),
4902 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4903 Only redistribute the clock of it changed.
4905 * gst/gstsystemclock.h:
4910 Moved the _flow_get_name() to GstPad.
4912 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4914 * check/gst-libs/gdp.c: (GST_START_TEST):
4915 * check/gst/gstcaps.c: (GST_START_TEST):
4916 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
4917 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
4918 (gst_dp_packet_from_caps):
4919 fix more valgrind warnings before turning up the heat
4921 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4923 * gst/parse/grammar.y:
4924 some cleanup before the hacking
4926 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4928 * gst/base/gstbasesrc.c: (gst_base_src_query):
4930 * gst/gstutils.c: (gst_guint64_to_gdouble),
4931 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
4933 externalize, basesrc uses it
4934 obviously the implementation needs testing
4936 2005-10-10 Wim Taymans <wim@fluendo.com>
4938 * tests/sched/Makefile.am:
4939 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
4940 (make_pipeline3), (make_pipeline4), (print_elem), (main):
4942 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
4944 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
4945 apparently converting from guint64 to double is not implemented
4948 2005-10-10 Wim Taymans <wim@fluendo.com>
4950 * check/Makefile.am:
4951 * check/generic/states.c: (GST_START_TEST):
4952 * check/gst/gstbin.c: (GST_START_TEST):
4953 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
4954 * check/states/sinks.c: (GST_START_TEST):
4955 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
4957 Check fixes, use API as stated in design docs, remove hacks.
4959 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4960 (gst_base_sink_change_state):
4961 Catch stopping our task while we're shutting down.
4963 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
4964 (gst_bin_remove_func), (gst_bin_get_state_func),
4965 (gst_bin_recalc_state), (gst_bin_change_state_func),
4968 * gst/gstelement.c: (gst_element_init),
4969 (gst_element_get_state_func), (gst_element_abort_state),
4970 (gst_element_commit_state), (gst_element_lost_state),
4971 (gst_element_set_state), (gst_element_change_state),
4972 (gst_element_change_state_func):
4974 New state change algorithm (see #318116)
4976 * gst/gstpipeline.c: (gst_pipeline_class_init),
4977 (gst_pipeline_init), (gst_pipeline_set_property),
4978 (gst_pipeline_get_property), (do_pipeline_seek),
4979 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
4980 * gst/gstpipeline.h:
4981 Remove crude state change hacks.
4986 * tools/gst-launch.c: (main):
4987 Fixes for state change. Needs some more work to fully use the
4990 2005-10-10 Andy Wingo <wingo@pobox.com>
4992 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
4994 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
4995 this flag, but it's not even in GLib 2.6. Odd. Hack around the
4998 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
5000 * gst/gstiterator.c: (gst_iterator_new):
5001 Fix my previous commit: GTypes passed to gst_iterator_new()
5002 can be fundamental types.
5004 2005-10-10 Wim Taymans <wim@fluendo.com>
5006 * gst/gstelement.c: (gst_element_iterate_pad_list),
5007 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
5008 (gst_element_iterate_sink_pads):
5009 Use src/sink pads lists for the respective iterators instead
5012 2005-10-10 Andy Wingo <wingo@pobox.com>
5014 Merged in popt removal + GOption addition patch from Ronald, bug
5017 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
5018 GstElement macros around, remove popt-related symbols, add goption
5021 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
5023 * docs/gst/Makefile.am:
5024 * docs/libs/Makefile.am: No POPT_CFLAGS.
5026 * examples/manual/Makefile.am:
5027 * docs/manual/basics-init.xml: Doc updates with an example.
5029 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5030 (gst_init), (parse_one_option), (parse_goption_arg):
5031 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
5032 bit of hand merging and debugging to get the GOption stuff working
5035 * tests/Makefile.am:
5036 * tools/Makefile.am:
5037 * tools/gst-inspect.c: (main):
5038 * tools/gst-launch.c: (main):
5039 * tools/gst-run.c: (main):
5040 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
5042 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
5044 * gst/gstiterator.c: (gst_iterator_new):
5045 Add assertions to make sure passed GType is likely to really
5046 be a GType (as the compiler won't catch it if the size and
5047 GType arguments get mixed up, see #318447).
5049 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
5051 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5053 * gst/gstbin.c: (gst_bin_iterate_sorted):
5054 Pass GType and size arguments to gst_iterator_new() in the right
5055 order (maybe we should make _new() take the GType as first argument
5056 just like _new_list()?) (#318447).
5059 2005-10-10 Wim Taymans <wim@fluendo.com>
5061 * gst/gstelement.c: (gst_element_finalize):
5062 And free the GStaticRecMutex too
5064 2005-10-10 Andy Wingo <wingo@pobox.com>
5066 * gst/gstelement.c (gst_element_init, gst_element_finalize):
5067 Allocate and free the mutex properly.
5069 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
5071 (GstElement): The state_lock is now recursive. Rebuild your
5072 plugins, suckers. Old macros adapted.
5074 * docs/gst/gstreamer-sections.txt: Doc updates.
5077 * gst/gstutils.c (g_static_rec_cond_timed_wait)
5078 (g_static_rec_cond_wait): Ported from state changes patch, while
5079 we wait on bug #317802 to be solved in a well-distributed GLib.
5081 * gst/gstelement.c (gst_element_change_state_func): Renamed from
5082 gst_element_change_state, variable name changes.
5083 (gst_element_change_state): Split out of gst_element_set_state in
5084 preparation for the state change merge. Doesn't pay attention to
5085 the 'transition' argument.
5086 (gst_element_set_state): Updates, hopefully purely cosmetic.
5087 (gst_element_sync_state_with_parent): MT-safety. Ported from the
5089 (gst_element_get_state_func): Renamed from get_state, cosmetic
5092 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
5094 * gst/elements/gstelements.c:
5095 * win32/GStreamer.vcproj:
5097 * win32/dirent.c: (_tseekdir):
5098 * win32/gst-inspect.vcproj:
5099 * win32/gst-launch.vcproj:
5100 * win32/gstconfig.h:
5101 * win32/gstelements.vcproj:
5102 * win32/gstenumtypes.c: (gst_object_flags_get_type):
5103 * win32/gstreamer.def:
5105 updates for the win32 build (patch from Sebastien Moutte)
5107 2005-10-10 Andy Wingo <wingo@pobox.com>
5109 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
5110 gst_bin_get_state, cleaned up (but no logic changes).
5111 (bin_element_is_sink): Comment updates.
5112 (sink_iterator_filter): Remove needless cast.
5113 (gst_bin_iterate_sinks): Doc update.
5114 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
5115 cleaned up (but no logic changes).
5117 * check/states/sinks.c (test_src_sink): Cleanups from the state
5119 (test_livesrc_sink): Sync on the state.
5121 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
5122 the state change patch.
5124 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
5127 * check/gst/gstbin.c: Merge in some style fixes and additional
5128 checks from Wim's state change patch.
5130 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
5132 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5133 (gst_type_find_helper):
5134 Check whether we have the requested data already in our list of
5135 cached buffers before pulling a new buffer; also make the buffer
5136 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
5138 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
5143 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5144 don't use long long, it's not portable. Replacing with
5145 gint64 seems to work; let's hope no skeletons fall out of the closet.
5147 2005-10-10 Andy Wingo <wingo@pobox.com>
5149 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
5151 2005-10-09 Stefan Kost <ensonic@users.sf.net>
5153 * docs/gst/gstreamer-sections.txt:
5158 * gst/gstmessage.c: (gst_message_parse_state_changed):
5161 more docs, fix compilation
5163 2005-10-09 Philippe Khalaf <burger@speedy.org>
5165 Fixed a few forgotten variables on previous commit
5167 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
5169 * gst/base/gsttypefindhelper.c: (helper_find_peek):
5170 Fix evil typefind crasher: getrange() might return a short
5171 buffer at the end of a file, but gst_type_find_peek() must
5172 either return the full data as requested or NULL, but
5173 never a short buffer.
5175 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
5177 * gst/gstmessage.c: (gst_message_new_state_changed),
5178 (gst_message_parse_state_changed):
5180 don't use "new", it's a C++ keyword
5182 2005-10-08 Wim Taymans <wim@fluendo.com>
5184 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
5185 * gst/gstelement.c: (gst_element_post_message):
5186 * gst/gstpipeline.c: (gst_pipeline_change_state):
5187 Small docs and debug updates.
5189 2005-10-08 Stefan Kost <ensonic@users.sf.net>
5191 * docs/gst/gstreamer-sections.txt:
5192 * gst/gstelementfactory.c:
5197 2005-10-08 Wim Taymans <wim@fluendo.com>
5199 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
5200 (gst_bin_dispose), (bin_bus_handler):
5201 Fix typos, add comments.
5202 Clear EOS list when going to PAUSED from any direction and do it
5203 in a threadsafe way.
5204 Get base time in a threadsafe way too.
5205 Fix confusing debug in the change_state function.
5206 Various other small cleanups.
5208 * gst/gstelement.c: (gst_element_post_message):
5209 Fix very verbose bus posting code.
5211 * gst/gstpipeline.c: (gst_pipeline_class_init),
5212 (gst_pipeline_set_property), (gst_pipeline_get_property),
5213 (gst_pipeline_change_state):
5214 Small ARG_ -> PROP_ cleanup
5216 2005-10-08 Wim Taymans <wim@fluendo.com>
5218 * gst/gstbin.c: (is_eos), (bin_bus_handler):
5219 Do a less CPU demanding EOS check because we can.
5221 2005-10-08 Wim Taymans <wim@fluendo.com>
5223 * libs/gst/dataprotocol/dataprotocol.c:
5224 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5225 (gst_dp_packet_from_event):
5226 * libs/gst/dataprotocol/dataprotocol.h:
5227 * libs/gst/dataprotocol/dp-private.h:
5228 It's about time we bump the version number.
5229 Since event types don't fit in the guint8 anymore describing
5230 the payload type, make payload type 16 bits wide.
5232 2005-10-08 Wim Taymans <wim@fluendo.com>
5234 * docs/design/part-TODO.txt:
5235 * docs/design/part-clocks.txt:
5236 * docs/design/part-events.txt:
5237 * docs/design/part-gstbin.txt:
5238 * docs/design/part-gstelement.txt:
5239 * docs/design/part-gstpipeline.txt:
5240 * docs/design/part-live-source.txt:
5241 * docs/design/part-messages.txt:
5242 * docs/design/part-overview.txt:
5243 * docs/design/part-states.txt:
5246 2005-10-08 Wim Taymans <wim@fluendo.com>
5250 Fix event quark registration.
5251 Add some space between events so we can insert them in the
5254 2005-10-08 Wim Taymans <wim@fluendo.com>
5256 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5257 (gst_base_sink_handle_buffer):
5264 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
5265 (gst_queue_set_property), (gst_queue_get_property):
5267 Remove old unused properties.
5269 2005-10-08 Stefan Kost <ensonic@users.sf.net>
5270 * docs/gst/gstreamer-sections.txt:
5273 * gst/gstminiobject.c:
5274 * gst/gstminiobject.h:
5278 lots of new docs and doc fixes
5280 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5282 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
5284 * gst/gstregistry.c: (gst_registry_lookup_locked),
5285 (gst_registry_scan_path_level):
5286 * gst/gstregistryxml.c: (load_plugin):
5287 Only ever load one plugin for a given plugin basename.
5288 This ensures correct overriding of GST_PLUGIN_PATH over
5289 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
5290 system installed plugins.
5292 2005-10-08 Wim Taymans <wim@fluendo.com>
5294 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5295 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
5296 Prepare for doing QOS.
5298 2005-10-08 Wim Taymans <wim@fluendo.com>
5300 * check/gst/gstbin.c: (GST_START_TEST):
5301 * check/pipelines/cleanup.c: (GST_START_TEST):
5302 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5303 Allow new clock message too.
5305 2005-10-08 Wim Taymans <wim@fluendo.com>
5307 * gst/gstmessage.c: (gst_message_new_error),
5308 (gst_message_new_warning), (gst_message_new_tag),
5309 (gst_message_new_state_changed), (gst_message_new_clock_provide),
5310 (gst_message_new_clock_lost), (gst_message_new_new_clock),
5311 (gst_message_new_segment_start), (gst_message_new_segment_done),
5312 (gst_message_parse_state_changed),
5313 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
5314 (gst_message_parse_new_clock):
5316 Also carry the clock in question.
5318 2005-10-08 Wim Taymans <wim@fluendo.com>
5320 * gst/gstmessage.c: (gst_message_new_custom),
5321 (gst_message_new_eos), (gst_message_new_error),
5322 (gst_message_new_warning), (gst_message_new_tag),
5323 (gst_message_new_state_changed), (gst_message_new_clock_provide),
5324 (gst_message_new_new_clock), (gst_message_new_segment_start),
5325 (gst_message_new_segment_done), (gst_message_parse_state_changed),
5326 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
5329 Added clock related messages.
5331 * gst/gstpipeline.c: (gst_pipeline_change_state):
5332 Post message when the clock changed.
5334 * tools/gst-launch.c: (event_loop):
5337 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
5339 * tools/gst-inspect.c: (print_element_properties_info):
5340 Can't pass NULL strings to g_print() on windows.
5342 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5345 * docs/gst/Makefile.am:
5346 * docs/gst/gstreamer-docs.sgml:
5347 * docs/gst/running.xml:
5348 * docs/version.entities.in:
5349 add a chapter on running GStreamer.
5350 document GST_DEBUG and GST_PLUGIN* env vars
5352 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5357 remove PLUGINS_BUILDDIR stuff
5358 * gst/gst.c: (init_post):
5359 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
5361 remove, it was condescending and not needed
5363 2005-10-08 Wim Taymans <wim@fluendo.com>
5365 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5366 (gst_base_sink_handle_object), (gst_base_sink_event),
5367 (gst_base_sink_wait), (gst_base_sink_handle_event),
5368 (gst_base_sink_change_state):
5369 * gst/base/gstbasesink.h:
5370 Repost EOS message while going to PLAYING if still EOS.
5371 Make sure that when receiving a FLUSH_START we don't attempt
5372 to sync on the clock anymore.
5374 2005-10-08 Wim Taymans <wim@fluendo.com>
5376 * tools/gst-launch.c: (event_loop):
5377 Better message printout.
5379 2005-10-08 Wim Taymans <wim@fluendo.com>
5381 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
5382 (gst_bin_child_proxy_get_children_count):
5383 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5384 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
5385 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
5386 (gst_child_proxy_set_valist):
5387 * gst/parse/grammar.y:
5388 Make ChildProxy threadsafe and fix mem leaks.
5390 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5392 * gst/gst.c: (init_post):
5393 debug the GST_PLUGIN_ env vars
5395 2005-10-08 Wim Taymans <wim@fluendo.com>
5397 * check/gst/gstbin.c: (GST_START_TEST):
5398 * check/gst/gstmessage.c: (GST_START_TEST):
5399 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5400 * gst/gstelement.c: (gst_element_commit_state),
5401 (gst_element_lost_state):
5402 * gst/gstmessage.c: (gst_message_new_state_changed),
5403 (gst_message_parse_state_changed):
5405 * tools/gst-launch.c: (event_loop):
5406 Added extra field to STATE_CHANGE message with the pending
5407 state, which will be different from the new state soon.
5409 2005-10-08 Wim Taymans <wim@fluendo.com>
5411 * gst/gstbus.c: (gst_bus_pop):
5413 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
5414 Small cleanups and doc updates.
5416 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5418 * gst/gst.c: (init_pre):
5419 * gst/gstbin.c: (gst_bin_add_func):
5420 log distributing clocks and base time
5421 * gst/gstregistry.c: (gst_registry_add_plugin),
5422 (gst_registry_scan_path_level), (gst_registry_scan_path):
5423 clean up the debugging output a little
5424 * gst/gstutils.c: (gst_element_state_get_name):
5425 warn about a memleak (I've actually seen this be used, though
5426 it was probably a bug)
5428 2005-10-07 Wim Taymans <wim@fluendo.com>
5430 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5431 (gst_base_src_init), (gst_base_src_default_newsegment),
5432 (gst_base_src_newsegment), (gst_base_src_do_seek),
5433 (gst_base_src_loop), (gst_base_src_start):
5434 * gst/base/gstbasesrc.h:
5435 Make the newsegment event customizable by subclasses.
5437 2005-10-07 Wim Taymans <wim@fluendo.com>
5439 * gst/gstevent.c: (gst_event_new_buffersize),
5440 (gst_event_parse_buffersize):
5442 New event for future idea.
5444 2005-10-07 Andy Wingo <wingo@pobox.com>
5446 * gst/gstelement.c (gst_element_post_message): Doc update.
5448 * docs/gst/gstreamer-sections.txt: Update.
5450 * gst/gstmessage.c (gst_message_new_application): Made into a
5451 function like honest API calls.
5452 (gst_message_new_element): New message type.
5454 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
5456 * check/elements/fakesrc.c (test_no_preroll): New check, checks
5457 that setting a live fakesrc to PAUSED returns NO_PREROLL both
5460 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
5461 NO_PREROLL from gst_element_change_state to fall through.
5463 2005-10-07 Wim Taymans <wim@fluendo.com>
5465 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
5466 (gst_ghost_pad_do_activate_push):
5467 Activating a ghostpad with no internal pad in push mode
5470 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
5473 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
5474 Fixes compilation on Windows.
5476 2005-10-07 Michael Smith <msmith@fluendo.com>
5478 * tools/gst-inspect.c:
5479 Print out feature and plugin count at the end when printing out
5482 2005-10-04 Michael Smith <msmith@fluendo.com>
5484 * gst/gsterror.c: (_gst_stream_errors_init):
5485 Add another error string used in a few existing plugins.
5488 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5489 * tools/gst-inspect.c: (print_element_info):
5490 When a feature disappears from a plugin (and the feature exists in
5491 the cached registry file), things went horribly wrong. This isn't a
5492 complete fix, we should actually be removing the 'missing' features
5493 from the features list when we load the actual plugin. That's not
5496 2005-10-04 Johan Dahlin <johan@gnome.org>
5498 * check/gst/gstiterator.c: (GST_START_TEST):
5499 * gst/gstbin.c: (gst_bin_iterate_elements),
5500 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5501 * gst/gstelement.c: (gst_element_iterate_pads):
5502 * gst/gstformat.c: (gst_format_iterate_definitions):
5503 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5504 (gst_iterator_new_list), (gst_iterator_filter):
5505 * gst/gstiterator.h:
5506 * gst/gstquery.c: (gst_query_type_iterate_definitions):
5507 Add a GType to GstIterator, update callsites and tests.
5509 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5511 * gst/gstpad.c: (gst_pad_event_default_dispatch):
5512 give events a chance to be handled by event probes when the pad
5515 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5517 * gst/gstevent.c: (gst_event_type_get_name),
5518 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5520 add string representations for event types
5522 2005-10-06 Wim Taymans <wim@fluendo.com>
5524 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5525 Don't use NULL pointers.
5527 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5529 * gst/gst_private.h:
5533 * gst/gstpluginfeature.c:
5534 widen the debug category in output to fit the biggest one we have
5535 add a bus category and use it
5536 play with the colors
5537 fix up some categories
5539 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5541 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5542 add push activation of sink ghost pads.
5543 Andye, please verify
5545 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5547 * gst/gstutils.c: (gst_element_link_pads):
5548 fix a bug in the case where neither element has a pad
5549 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5550 add a test for that case
5552 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5554 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5555 emit have-data before checking for peers. This allows
5556 for probe handlers to connect elements. This helps autopluggers.
5557 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5559 add six checks, linked/unlinked with no/true/false probe
5561 2005-10-04 Wim Taymans <wim@fluendo.com>
5563 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5564 (gst_fake_sink_event), (gst_fake_sink_preroll),
5565 (gst_fake_sink_render), (gst_fake_sink_change_state):
5566 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5567 (gst_fake_src_get_property), (gst_fake_src_create),
5568 (gst_fake_src_stop):
5569 * gst/elements/gstidentity.c: (gst_identity_stop):
5570 Protect last_message with lock.
5572 2005-10-04 Edward Hervey <edward@fluendo.com>
5575 Added precision in the comments for GST_FORMAT_DEFAULT
5577 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
5579 * tools/gst-launch.c: (main):
5580 Don't try to run erroneous pipelines.
5582 2005-10-04 Julien MOUTTE <julien@moutte.net>
5584 * gst/gstbus.c: We don't need this header.
5586 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5591 === release 0.9.3 ===
5593 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5597 Releasing 0.9.3, "Unregistered"
5599 2005-10-03 Andy Wingo <wingo@pobox.com>
5601 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5602 whereby calling a pad's activatepush() function can start a thread
5603 that starts to push or pull before the pad gets the FLUSHING flag
5604 unset. Hack around it by holding the stream lock until the flag is
5605 set. Need to replace this with a proper solution. Together with
5606 the ghost pad fixes, this fixes mp3 playing/tagreading.
5608 * docs/design/part-gstghostpad.txt: Add a note about activation of
5609 proxy pads outside of ghost pads.
5611 * gst/gstghostpad.c: Implement the ghost pad activation design.
5613 2005-10-02 Andy Wingo <wingo@pobox.com>
5615 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5616 It is volatile, after all.
5618 * docs/design/part-gstghostpad.txt: Flesh out activation with
5621 * gst/base/gstbasesrc.c (gst_base_src_init): Use
5624 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
5627 Fix (unused) AM_CONDITIONAL tests.
5629 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
5631 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5633 * gst/gstutils.c: (gst_pad_query_convert):
5634 Add assertion that makes sure src_val is >=0, just like
5635 gst_query_new_convert() has. (#315895)
5637 2005-09-30 Edward Hervey <edward@fluendo.com>
5639 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5640 Let's not iterate pads we're not interested in, it avoids getting
5641 sky-high refcounts on sinkpad.
5643 2005-09-30 Wim Taymans <wim@fluendo.com>
5645 * gst/gstelement.c: (gst_element_set_state),
5646 (gst_element_change_state):
5647 Small tweak, element in ASYNC remains ASYNC.
5649 2005-09-30 Wim Taymans <wim@fluendo.com>
5651 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5652 Only error is an error.
5654 * gst/gstbin.c: (gst_bin_change_state):
5657 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5658 Also call pad_block in pad alloc.
5660 * gst/gstutils.c: (gst_flow_get_name):
5663 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5665 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5666 (gst_base_src_get_range):
5667 Fix documentation typos. Add some more debug info.
5669 2005-09-29 David Schleef <ds@schleef.org>
5671 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5672 more end-user friendly.
5673 * tools/gst-inspect.c: (main): Check if command-line argument is
5674 a file and attempt to load that file as a plugin.
5676 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5678 * check/gst/gstbin.c:
5679 * check/states/sinks.c:
5680 fix tests for the new warning
5681 * check/gst/gstpipeline.c:
5682 add a test for pipeline and bus interaction
5684 elements should be NULL if they get disposed; add a warning if not
5686 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5689 for 2.6 refcounting, make debug log more correct by printing
5690 the actual refcounts at the time of swap (Wim)
5692 2005-09-29 Andy Wingo <wingo@pobox.com>
5694 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5695 removes signal watches previously added via
5696 gst_bus_add_signal_watch.
5697 (gst_bus_add_signal_watch): Don't return the source id, just store
5698 it on the bus if there wasn't an id already.
5700 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5701 add_signal_watch and remove_signal_watch.
5703 2005-09-29 Edward Hervey <edward@fluendo.com>
5705 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5706 Better if we actually iterate the list :)
5708 2005-09-29 Wim Taymans <wim@fluendo.com>
5710 * check/gst/gstbin.c: (GST_START_TEST):
5711 Change for new bus API.
5713 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5714 (send_messages), (GST_START_TEST), (gstbus_suite):
5715 Change for new bus signal API.
5717 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5718 (gst_bus_source_prepare), (gst_bus_source_check),
5719 (gst_bus_create_watch), (gst_bus_add_watch_full),
5720 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5721 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5723 Remove support for multiple GSources operating on different
5724 message types as it is too complex and unneeded when using
5726 Added support for receiving signals from the bus.
5728 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5730 * docs/libs/tmpl/gstdataprotocol.sgml:
5731 * docs/manual/advanced-dataaccess.xml:
5732 * gst/elements/gstcapsfilter.c:
5734 rename filter-caps to caps property
5736 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5738 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5739 More robust fraction string parsing.
5741 * docs/pwg/appendix-porting.xml:
5742 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5744 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5746 * gst/gstcaps.c: (gst_caps_do_simplify):
5747 Thou shalt not free a structure and then continue using it
5748 in the next loop iteration.
5750 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5752 Add test case for caps simplification.
5754 2005-09-29 Wim Taymans <wim@fluendo.com>
5756 * check/gst/gstbin.c: (GST_START_TEST):
5759 2005-09-29 Wim Taymans <wim@fluendo.com>
5761 * check/gst/gstbin.c: (GST_START_TEST):
5764 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5765 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5766 (find_element), (gst_bin_sort_iterator_next),
5767 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5768 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5769 (gst_bin_change_state), (gst_bin_dispose):
5770 A bin does not have a bus, it gets the bus from the parent.
5772 * gst/gstelement.c: (gst_element_requires_clock),
5773 (gst_element_provides_clock), (gst_element_is_indexable),
5774 (gst_element_is_locked_state), (gst_element_change_state),
5775 (gst_element_set_bus_func):
5778 * gst/gstpipeline.c: (gst_pipeline_class_init),
5779 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5780 The pipeline provides a bus.
5782 2005-09-28 Johan Dahlin <johan@gnome.org>
5784 * gst/gstmessage.c (gst_message_parse_state_changed): Use
5785 gst_structure_get_enum instead of gst_structure_get_int
5787 * gst/gststructure.c (gst_structure_get_enum): Impl.
5789 * gst/gststructure.h (gst_structure_get_enum): Add
5791 * docs/gst/gstreamer-sections.txt: Ditto
5793 * gst/gstmessage.c (gst_message_new_state_changed): Use
5794 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5795 which does introspection.
5796 Reviewed by Christian Schaller
5798 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5800 * gst/gstinfo.c: (gst_debug_log_default):
5801 don't do dummy g_strdup()s
5802 * libs/gst/controller/gstcontroller.c:
5803 (on_object_controlled_property_changed),
5804 (gst_controlled_property_new), (gst_controller_new_valist),
5805 (gst_controller_new_list),
5806 (gst_controller_remove_properties_valist), (gst_controller_set),
5807 (gst_controller_get), (gst_controller_sync_values),
5808 (gst_controller_get_value_array), (_gst_controller_class_init),
5809 (gst_controller_get_type):
5810 * libs/gst/controller/gstcontroller.h:
5811 * libs/gst/controller/gstinterpolation.c:
5812 (gst_controlled_property_find_timed_value_node):
5813 convert // to /**/ comments
5815 2005-09-28 Wim Taymans <wim@fluendo.com>
5817 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5818 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5819 (gst_bus_sync_signal_handler):
5821 Added async-message and sync-message signals to the bus.
5822 Added helper BusFunc to emit signals for all posted messages.
5824 * gst/gstmessage.c: (gst_message_type_get_name),
5825 (gst_message_type_to_quark), (gst_message_get_type):
5827 Register quarks for message names.
5829 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5831 * docs/libs/gstreamer-libs-sections.txt:
5832 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5833 (gst_controller_new_list):
5834 * libs/gst/controller/gstcontroller.h:
5835 added another constructor for language bindings
5837 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
5839 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5843 * gst/gstinfo.c: (_gst_debug_init):
5844 slightly more readable color for refcount debugging
5846 2005-09-28 Wim Taymans <wim@fluendo.com>
5848 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5849 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5850 (find_element), (gst_bin_sort_iterator_next),
5851 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5852 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5853 (gst_bin_change_state), (gst_bin_dispose):
5854 Small doc fixes. get_clock -> provide_clock.
5856 * gst/gstelement.c: (gst_element_class_init),
5857 (gst_element_provides_clock), (gst_element_provide_clock),
5858 (gst_element_get_clock), (gst_element_commit_state),
5859 (gst_element_lost_state):
5861 Make get/set_clock() symetric. Add provide_clock vmethod since
5862 that is actually what this function does.
5864 * gst/gstpipeline.c: (gst_pipeline_class_init),
5865 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5866 (gst_pipeline_get_clock):
5867 get_clock -> provide_clock.
5869 2005-09-28 Andy Wingo <wingo@pobox.com>
5871 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5872 lieu of real docs...
5874 * gst/elements/gstfdsrc.c: Cleaned up a bit.
5876 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
5878 * gst/elements/gstcapsfilter.c:
5879 * gst/elements/gstfakesink.c:
5880 * gst/elements/gstfakesrc.c:
5881 * gst/elements/gstfdsink.c:
5882 * gst/elements/gstfdsrc.c:
5883 * gst/elements/gstfilesink.c:
5884 * gst/elements/gstfilesrc.c:
5885 * gst/elements/gstidentity.c:
5886 * gst/elements/gsttee.c:
5887 * gst/elements/gsttypefindelement.c:
5888 Make element details static.
5890 2005-09-28 Wim Taymans <wim@fluendo.com>
5892 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5893 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5894 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5895 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5896 (gst_bin_change_state), (gst_bin_dispose):
5897 Some documentation updates.
5898 Clean up dispose handlers.
5900 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
5901 * gst/gstpad.c: (gst_pad_dispose):
5902 Clean up dispose handler.
5904 * gst/gstpipeline.c: (gst_pipeline_change_state):
5905 Removed spurious UNLOCK.
5907 2005-09-27 Stefan Kost <ensonic@users.sf.net>
5909 * docs/gst/gstreamer-sections.txt:
5910 * gst/base/gstbasesrc.h:
5915 * gst/gstpipeline.c:
5916 * gst/gstpipeline.h:
5919 added two new functions to the docs
5920 documents all undocumented GstXXXFlags
5921 completed some incomplete docs
5923 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
5925 * gst/gstbin.c: (gst_bin_dispose):
5926 * gst/gstelement.c: (gst_element_dispose):
5927 remove now useless and leaky resurrection code in dispose
5928 * gst/base/gstbasesrc.c: (gst_base_src_init):
5929 * gst/gstelementfactory.c: (gst_element_factory_create):
5930 * gst/gstobject.c: (gst_object_set_parent):
5933 2005-09-27 Wim Taymans <wim@fluendo.com>
5935 * docs/design/part-TODO.txt:
5938 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5939 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5940 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5941 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5942 (gst_bin_change_state):
5944 Remove element variable, we keep element info in the iterator now.
5946 2005-09-27 Andy Wingo <wingo@pobox.com>
5948 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
5951 2005-09-27 Wim Taymans <wim@fluendo.com>
5953 * check/gst/gstbin.c: (GST_START_TEST):
5954 Enable check that works now.
5956 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5957 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5958 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5959 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5960 (gst_bin_change_state):
5962 Redid the state change algorithm using a topological sort algo.
5963 Handles all cases correctly.
5964 Exposed iterator for state change order.
5967 Temp storage for state changes. Need to get rid of this soon.
5969 2005-09-27 Wim Taymans <wim@fluendo.com>
5971 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
5972 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
5973 (link_fold_func), (gst_pad_proxy_setcaps):
5974 Leak fixes, the fold functions need to unref the passed object and
5975 _get_parent_*() returns ref to parent.
5977 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5979 * check/gst/gstbuffer.c: (test_make_writable):
5980 Plug leak in test case and fix 'make check-valgrind'
5982 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
5984 * gst/gstbuffer.c: (gst_subbuffer_init):
5985 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
5986 works correctly in all circumstances (we could have just copied
5987 the parent buffer's readonly flag, but conceptually it seems
5988 cleaner to mark all subbuffers as read-only). (based on patch
5989 by Alessandro Decina, #314710).
5991 * check/gst/gstbuffer.c: (create_read_only_buffer),
5992 (test_make_writable), (test_subbuffer_make_writable),
5994 Add some tests for gst_buffer_make_writable().
5996 2005-09-27 Wim Taymans <wim@fluendo.com>
5998 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
5999 use gst_object_has_ancestor().
6001 * gst/gstobject.c: (gst_object_has_ancestor):
6003 gst_object_has_ancestor() copied from gstbin.c as it is a
6006 * tests/instantiate/create.c: (create_all_elements):
6007 * tests/lat.c: (handoff_src), (handoff_sink):
6008 * tests/sched/runxml.c: (main):
6009 * tests/seeking/seeking1.c: (main):
6010 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
6012 Fix compilation of some tests.
6014 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
6017 Remove comment. GST_TYPE_G_ERROR is here to stay,
6018 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
6021 2005-09-26 Wim Taymans <wim@fluendo.com>
6023 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6024 Added check that shows error in state change order.
6026 2005-09-26 Wim Taymans <wim@fluendo.com>
6028 * gst/gstbin.c: (gst_bin_change_state):
6029 Make state change function use 3 queues again, we were
6030 adding elements in the wrong order.
6032 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
6035 * gst/gstpad.c: (gst_pad_dispose):
6036 Added some debug info first.
6038 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
6040 * docs/design/draft-push-pull.txt:
6041 * docs/design/part-events.txt:
6042 * docs/design/part-overview.txt:
6043 * docs/design/part-scheduling.txt:
6044 Replace all _pull_region() with _pull_range()
6046 2005-09-26 Andy Wingo <wingo@pobox.com>
6048 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
6050 * check/gst-libs/controller.c: Update for controller api change.
6053 * tests/Makefile.am:
6054 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
6055 over by GLib bug 118439.
6057 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
6058 routines to a function.
6060 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
6062 * libs/gst/controller/gsthelper.c:
6063 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
6064 (gst_object_sync_values): Renamed from sink_values. Ugh.
6066 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
6068 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
6069 Renamed from controller_key, as it is exported.
6071 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
6073 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
6078 * gst/gstpadtemplate.h:
6081 * gst/gstqueryutils.c:
6082 * gst/gstqueryutils.h:
6083 remove queryutils headers after moving the two used functions
6084 to gstquery. also fixes build problem for gstsiddec
6086 2005-09-26 Michael Smith <msmith@fluendo.com>
6088 * tools/gst-launch.1.in:
6089 Correct documentation in manpage of debug syntax
6091 2005-09-26 Wim Taymans <wim@fluendo.com>
6093 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6094 (gst_base_src_is_seekable), (gst_base_src_change_state):
6095 Some more debugging info.
6097 2005-09-25 Stefan Kost <ensonic@users.sf.net>
6099 * docs/gst/gstreamer-sections.txt:
6100 * gst/base/gstbasetransform.h:
6104 2005-09-25 Stefan Kost <ensonic@users.sf.net>
6106 * docs/gst/.cvsignore:
6107 * docs/gst/tmpl/.cvsignore:
6108 * docs/gst/tmpl/gstpipeline.sgml:
6109 * docs/gst/tmpl/gstplugin.sgml:
6110 * gst/gstpipeline.c:
6113 inlined the last two docs files
6114 removed the tmpl directory from cvs (no more conflicts here!)
6116 2005-09-25 Stefan Kost <ensonic@users.sf.net>
6118 * docs/gst/gstreamer-sections.txt:
6119 * docs/gst/tmpl/.cvsignore:
6120 * docs/gst/tmpl/gstpad.sgml:
6121 * docs/gst/tmpl/gstpadtemplate.sgml:
6123 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
6124 (gst_pad_finalize), (gst_pad_set_pad_template):
6126 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
6127 (gst_pad_template_class_init), (gst_pad_template_init),
6128 (gst_pad_template_dispose), (name_is_valid),
6129 (gst_static_pad_template_get), (gst_pad_template_new),
6130 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
6131 (gst_pad_template_pad_created):
6132 * gst/gstpadtemplate.h:
6133 inlined two more docs
6134 factored gstpadtemplate out of gstpad
6136 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
6138 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
6139 (test_children_state_change_order_semi_sink):
6140 Fix test case: we can't rely on a fixed state change order when
6141 going from READY => PAUSED because the sink might commit its
6142 new state first when the first buffer created by the source
6143 reaches the sink before the source has finished its change state.
6144 (Test case still fails at times, see #316856, comment 5 onwards)
6146 2005-09-24 Wim Taymans <wim@fluendo.com>
6148 * docs/design/part-events.txt:
6149 * docs/design/part-gstbus.txt:
6150 * docs/design/part-gstpipeline.txt:
6151 * docs/design/part-messages.txt:
6152 * docs/design/part-overview.txt:
6153 * docs/design/part-segments.txt:
6160 * gst/gstiterator.c:
6161 Various documentation updates.
6163 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
6166 Well, that's embarassing. Luckily we weren't using
6167 GST_CLOCK_DIFF anywhere.
6169 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
6171 * common/gtk-doc.mak:
6172 don't fail on building XML, FC4 slave shows a bunch of doc
6173 missing bits that I don't get
6175 * gst/gstpipeline.c:
6176 * gst/gststructure.c:
6179 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
6181 * docs/design/part-gstbin.txt:
6182 * docs/design/part-gstbus.txt:
6184 Add blurb about how the bus goes into flushing mode and
6185 drops all messages when its bin goes from READY into NULL
6188 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
6190 * docs/gst/gstreamer-sections.txt:
6191 * gst/gststructure.c: (gst_structure_get_clock_time):
6192 * gst/gststructure.h:
6193 add a method to get a GstClockTime out of a structure
6195 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
6197 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
6198 (test_children_state_change_order_semi_sink), (gst_bin_suite):
6199 Added test to check state change order in bins (can still be made
6200 to fail here under heavy disk load; bails out with 'Push on pad
6201 fakesink:sink0, but it was not activated in push mode').
6203 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
6204 Fix state change order when there is only a semi sink (#316856)
6206 * gst/gstbus.c: (gst_bus_class_init):
6207 Use _class_peek_parent(), not _class_ref(); fix docs to say
6208 'default main context' instead of 'mainloop' where that is
6211 * gst/gstelement.c: (gst_element_commit_state),
6212 (gst_element_set_state):
6213 Fix typos in debug messages
6215 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
6218 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
6219 * gst/gstpluginfeature.c:
6222 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6223 change an assert into an error until it gets fixed properly
6225 2005-09-23 Stefan Kost <ensonic@users.sf.net>
6227 * docs/gst/gstreamer-sections.txt:
6228 * docs/gst/tmpl/.cvsignore:
6229 * docs/gst/tmpl/gstelement.sgml:
6230 * docs/gst/tmpl/gstinfo.sgml:
6231 * docs/gst/tmpl/gstobject.sgml:
6236 * gst/gstobject.c: (gst_object_class_init):
6238 inlined 3 more biiiig doc files and added some missing docs on the fly
6240 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
6242 * check/gst/.cvsignore:
6243 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
6244 * gst/gstregistryxml.c: (load_plugin),
6245 (gst_registry_xml_save_plugin):
6246 put back source in registry. add checks for find_plugin.
6247 * testsuite/states/bin.c: (assert_state), (empty_bin),
6248 (test_adding_one_element), (main):
6249 * testsuite/states/locked.c: (main):
6250 some compile/run fixes
6252 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6254 * check/gst/gstvalue.c: (GST_START_TEST):
6255 fix leaks in the test itself
6257 2005-09-22 Wim Taymans <wim@fluendo.com>
6259 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6260 (gst_base_sink_send_event), (gst_base_sink_peer_query),
6261 (gst_base_sink_query):
6262 Prepare for more accurate position reporting and query
6265 * gst/gstelement.c: (gst_element_send_event),
6266 (gst_element_set_state):
6269 2005-09-22 Wim Taymans <wim@fluendo.com>
6271 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
6272 (gst_query_parse_segment):
6275 Add segment query for future use.
6277 2005-09-22 Wim Taymans <wim@fluendo.com>
6279 * gst/gstbin.c: (gst_bin_add_func):
6280 Some more debug info.
6282 * gst/gstelement.c: (gst_element_send_event):
6286 Don't know how flags got broken.
6291 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
6293 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
6294 Add simplistic test suite for GST_TYPE_DATE serialisation and
6297 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
6299 * docs/gst/gstreamer-sections.txt:
6300 * gst/gststructure.c: (gst_structure_set_valist),
6301 (gst_structure_get_date):
6302 * gst/gststructure.h:
6303 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
6304 (gst_date_copy), (gst_value_compare_date),
6305 (gst_value_serialize_date), (gst_value_deserialize_date),
6306 (gst_value_transform_date_string),
6307 (gst_value_transform_string_date), (_gst_value_initialize):
6309 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
6310 bunch of utility functions along with a hack that checks that
6311 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
6312 is required. Part of the grand scheme in #170777.
6314 2005-09-22 Andy Wingo <wingo@pobox.com>
6316 * gst/gstconfig.h.in: Psych out gtk-doc.
6318 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
6320 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
6322 * tools/gst-inspect.c (print_element_list): Plug some
6323 inconsequential leaks.
6325 * gst/gstregistry.c (gst_registry_get_default): Doc.
6327 * check/gst/gstplugin.c:
6328 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
6329 * gst/gstelementfactory.c (gst_element_factory_create):
6330 * gst/gstindexfactory.c (gst_index_factory_create): Update for
6333 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
6334 (gst_plugin_feature_load): Doc, don't eat refs.
6336 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
6337 (gst_plugin_list_free): Doc.
6338 (gst_plugin_load_file): Doc updates.
6340 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
6341 accessors returning refcounted objects, return a ref.
6343 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
6344 accessor for caps. IDEMPOTENCE. Oh yes.
6346 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
6348 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6350 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6351 (_gst_debug_register_funcptr):
6352 Add mutex to serialise access to the hash table with
6353 the function pointer => function name string mapping;
6354 make that hash table static scope (#316809).
6356 * gst/registries/.cvsignore:
6357 Remove left-over file.
6359 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
6361 * docs/pwg/appendix-porting.xml:
6362 And something about newsegment events and caps-on-buffers to
6363 the porting guide (feel free to improve).
6365 2005-09-21 Andy Wingo <wingo@pobox.com>
6367 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
6368 data and event probes on the same pad.
6369 (test_buffer_probe_once): Test that removing probes from within
6370 the probe functions works.
6372 2005-09-21 Andy Wingo <wingo@pobox.com>
6374 * check/gst/gstutils.c: New file.
6375 (test_buffer_probe_n_times): A simple buffer probe test. More to
6378 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
6379 have-data::buffer, not have-data.
6380 (gst_pad_add_event_probe): Likewise for have-data::event.
6381 (gst_pad_add_data_probe): More docs. The part about 'resolving the
6382 peer' isn't quite right yet though.
6383 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
6384 (gst_pad_remove_data_probe): Change to take the guint handler_id
6385 as their arg, not the function+data, which is more glib-like.
6387 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
6388 the signal emission to indicate if the data is a buffer or an
6390 (gst_pad_get_type): Initialize buffer and event quarks.
6391 (gst_pad_class_init): have-data is now a detailed signal, yes it
6394 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
6396 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6397 * gst/gstutils.c: (gst_util_set_value_from_string),
6398 (gst_util_set_object_arg):
6399 Don't put functional code in g_return_if_fail() or
6400 g_return_val_if_fail() statements, otherwise things will
6401 break when G_DISABLE_CHECKS is defined during compilation.
6403 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6405 * docs/gst/tmpl/.cvsignore:
6406 * docs/gst/tmpl/gstvalue.sgml:
6409 inlied another one and added some obvious docs
6411 2005-09-21 Wim Taymans <wim@fluendo.com>
6413 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6414 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
6415 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
6416 (gst_fdsrc_get_property), (gst_fdsrc_create):
6417 * gst/elements/gstfdsrc.h:
6418 Properly implement fdsrc. Removed signal and timeout,
6419 better implemented somewhere else.
6421 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6423 * docs/gst/tmpl/.cvsignore:
6424 * docs/gst/tmpl/gstimplementsinterface.sgml:
6425 * gst/gstinterface.c:
6428 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6430 * docs/gst/gstreamer-sections.txt:
6431 * docs/gst/tmpl/.cvsignore:
6432 * docs/gst/tmpl/gstenumtypes.sgml:
6433 remove obsolete doc file
6435 2005-09-21 David Schleef <ds@schleef.org>
6437 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
6438 little beer, fix a little leak.
6440 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6442 * docs/gst/gstreamer-docs.sgml:
6443 * docs/gst/gstreamer-sections.txt:
6444 * docs/gst/tmpl/.cvsignore:
6449 * gst/gstindex.c: (gst_index_class_init):
6451 * gst/gstindexfactory.c: (gst_index_factory_get_type),
6452 (gst_index_factory_class_init), (gst_index_factory_init),
6453 (gst_index_factory_finalize), (gst_index_factory_new),
6454 (gst_index_factory_destroy), (gst_index_factory_find),
6455 (gst_index_factory_create), (gst_index_factory_make):
6456 * gst/gstindexfactory.h:
6457 * gst/gstpluginfeature.c:
6458 * gst/gstpluginfeature.h:
6459 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6460 more docs inlined, splitted gstindex.{c,h}
6462 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6464 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6467 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6469 * gst/elements/gstfilesink.c: (gst_file_sink_init):
6470 Set sync to FALSE by default.
6472 2005-09-20 Wim Taymans <wim@fluendo.com>
6474 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6475 (gst_base_sink_init):
6476 Make sync property settable from subclass.
6478 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6479 (gst_fake_sink_change_state):
6480 Set sync to FALSE by default.
6482 2005-09-20 Wim Taymans <wim@fluendo.com>
6484 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6485 * tools/gst-launch.c: (main):
6486 The timeout handler should have lower priority than the source
6487 so we don't timeout before popping a message with 0 timeout.
6488 Dump error messages after failed state change.
6490 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6492 * tools/gst-inspect.c: (print_element_properties_info):
6495 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6497 * check/gst/gstevent.c:
6498 * gst/elements/gstfakesink.c:
6499 * gst/elements/gstfakesink.h:
6500 remove the sync property from fakesink.
6501 has the side effect of setting sync TRUE
6502 for fakesink, which is a change. Anyone who knows how
6503 to fix this nicely in a GObject-y way, feel free.
6505 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6507 * docs/gst/gstreamer-docs.sgml:
6508 remove probe refsection
6510 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6512 * check/Makefile.am:
6513 disable valgrinding the controller test again
6514 * docs/gst/gstreamer-sections.txt:
6515 update for api-changes
6517 2005-09-20 Wim Taymans <wim@fluendo.com>
6519 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6520 (gst_base_sink_set_property), (gst_base_sink_get_property),
6521 (gst_base_sink_do_sync):
6522 * gst/base/gstbasesink.h:
6523 Added sync property to basesink to disable clock sync.
6525 2005-09-20 Andy Wingo <wingo@pobox.com>
6527 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6528 eating the caller's refcount.
6530 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
6531 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6534 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6535 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6536 of GLib 2.8 public, so we can know which refcount to check in
6539 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6540 (gst_object_init): Only set the gst refcount if we're going ahead
6541 with the refcount hack.
6543 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6545 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6546 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6547 more leaks plumbed, added more debug-logging
6551 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6554 remove include of gstmemchunk.h
6556 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6558 * gst/gstclock.c: (_gst_clock_id_free):
6559 Commit from the Political Party For More Atomic CVS Commits,
6560 so that people don't waste too much of their day fishing
6561 out obvious leaks out of massive commits.
6562 Oh, and fix a pretty damn obvious leak in the memchunk
6565 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6567 * check/Makefile.am:
6568 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6569 plug mem-leak, re-add to valgrindable tests
6571 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6574 unbreak the build for those who have chronic arthritis
6575 and typing "make check" is just too taxing on the hands
6577 2005-09-20 Andy Wingo <wingo@pobox.com>
6579 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6580 really want it out, you should fix plugins at the same time.
6582 2005-09-19 Stefan Kost <ensonic@users.sf.net>
6585 * docs/gst/gstreamer-sections.txt:
6587 added missing symbols to api docs
6588 disable ref-count hack if we have glib >= 2.8
6590 2005-09-19 David Schleef <ds@schleef.org>
6592 * docs/gst/Makefile.am: Ignore a few more internal headers
6593 * docs/gst/gstreamer-docs.sgml: Remove old sections
6594 * docs/gst/gstreamer-sections.txt: Remove old sections
6595 * docs/gst/tmpl/gstobject.sgml: update
6596 * docs/gst/tmpl/gstplugin.sgml: update
6597 * docs/gst/tmpl/gstpluginfeature.sgml: update
6598 * docs/random/ds/0.9-suggested-changes: update.
6599 * gst/Makefile.am: remove memchunk and trashstack, since they're
6601 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6602 * gst/gst.h: don't include some headers
6603 * gst/gstchildproxy.c: add gstmarshal.h
6604 * gst/gstclock.c: Don't use memchunks
6605 * gst/gstminiobject.c: Add some docs
6606 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6607 * gst/gstobject.h: same
6608 * gst/gstplugin.c: include gstmacros.h
6609 * gst/gstplugin.h: don't include gstmacros.h, since it's private
6610 * gst/gstquery.c: don't use memchunks
6611 * gst/gstregistry.c: rename gst_registry_deinit()
6612 * gst/gstregistry.h: same
6614 2005-09-19 David Schleef <ds@schleef.org>
6616 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6617 * docs/libs/gstreamer-libs-sections.txt:
6618 * docs/libs/tmpl/gstgetbits.sgml:
6619 * docs/libs/tmpl/gstputbits.sgml:
6621 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
6623 * win32/gstenumtypes.c:
6624 * win32/gstenumtypes.h:
6627 2005-09-19 Wim Taymans <wim@fluendo.com>
6629 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6630 Automatically PAUSE and RESUME a pipeline when a flushing seek
6633 2005-09-19 Andy Wingo <wingo@pobox.com>
6635 * gst/gstregistry.h: Spacing fixen.
6637 2005-09-19 Wim Taymans <wim@fluendo.com>
6639 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6640 Handle state change failure more correctly.
6642 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6644 * check/Makefile.am:
6645 * check/pipelines/cleanup.c: (run_pipeline):
6646 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6648 enable cleanup again after fixing the leak
6650 some more info on docs
6652 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6654 * check/Makefile.am:
6655 re-enable tests now that leaks are plugged
6657 * check/gst/gstbin.c:
6658 * check/gst/gstpipeline.c:
6659 add some more tests while fixing leaks
6661 make sure binaries are uptodate when valgrinding/gdbing
6663 * gst/gstelementfactory.c:
6664 remove a ref too many, and add a FIXME for when we get
6665 round to disposing of classes
6667 fix the refcounting when loading a plugin from a file and
6668 the code pretends that the pointer is the same even though
6669 of course it can change
6670 * gst/gstpluginfeature.c:
6671 unref plugins marked cached (a bit confusing as a name)
6672 as the docs state should be done
6673 various doc additions to explain refcounting
6674 * gst/gstregistry.c:
6675 * gst/gstregistryxml.c:
6678 2005-09-19 Wim Taymans <wim@fluendo.com>
6680 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6681 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6682 (send_messages), (GST_START_TEST), (gstbus_suite):
6683 * check/gst/gstpipeline.c: (GST_START_TEST):
6684 * check/pipelines/cleanup.c: (run_pipeline):
6685 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6687 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6688 (gst_bus_source_check), (gst_bus_source_dispatch),
6689 (gst_bus_create_watch), (gst_bus_add_watch_full),
6690 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6692 * tools/gst-launch.c: (event_loop):
6693 * tools/gst-md5sum.c: (event_loop):
6694 GstBusHandler -> GstBusFunc, return value has the same meaning as
6695 any other GSource (FALSE == remove source).
6696 _add_watch() and _add_watch_full() now take a MessageType mask to
6697 only handle specific types of messages.
6698 _poll() returns the GstMessage instead of the message type to avoid
6700 _have_pending() takes a MessageType mask now too.
6701 Added testsuite for multiple bus watches.
6702 Fix testsuites and applications for new bus API.
6704 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6706 * check/Makefile.am:
6707 mark a bunch of the tests as to fix until we fix them
6709 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6712 use GST_PLUGIN settings for valgrind tests as well, so we're
6713 valgrinding the correct thing
6714 * gst/gst.c: (init_post):
6717 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6719 * gst/gst.c: (init_post), (gst_deinit):
6720 * gst/gstelementfactory.c: (gst_element_factory_class_init),
6721 (gst_element_factory_finalize), (gst_element_factory_cleanup):
6722 * gst/gstindex.c: (gst_index_factory_class_init),
6723 (gst_index_factory_finalize):
6724 * gst/gstobject.c: (gst_object_dispose):
6725 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6726 (gst_plugin_load_file), (gst_plugin_desc_free):
6727 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6728 (gst_plugin_feature_finalize):
6729 * gst/gstregistry.c: (gst_registry_class_init),
6730 (gst_registry_init), (gst_registry_finalize),
6731 (gst_registry_get_default), (gst_registry_deinit):
6732 * gst/gstregistry.h:
6733 * gst/gstregistryxml.c: (load_feature), (load_plugin):
6734 various cleanups and memleak plugging. make valgrind is happy now.
6736 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6739 add a check-valgrind target
6741 2005-09-18 David Schleef <ds@schleef.org>
6743 * tools/gst-inspect.c: Revert the GOption code.
6745 2005-09-17 David Schleef <ds@schleef.org>
6747 * check/Makefile.am: Fix environment variables.
6748 * check/gst/gstplugin.c: Fix for API changes.
6749 * tools/gst-inspect.c: Fix for API changes.
6750 * tools/gst-xmlinspect.c: Fix for API changes.
6751 * gst/gstelementfactory.c:
6754 * gst/gstpluginfeature.c:
6755 * gst/gstpluginfeature.h:
6756 * gst/gstregistry.c:
6757 * gst/gstregistry.h:
6758 * gst/gstregistryxml.c:
6759 * gst/gsttypefind.c:
6760 * gst/gsttypefindfactory.c:
6761 * gst/indexers/gstfileindex.c:
6762 * gst/indexers/gstmemindex.c:
6763 * gst/schedulers/Makefile.am:
6764 Change registry to keep track of both plugins and features,
6765 removing the feature tracking from plugins themselves.
6767 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6769 * check/Makefile.am:
6770 * tools/gst-register.1.in:
6773 2005-09-15 David Schleef <ds@schleef.org>
6775 * check/gst/gstplugin.c:
6776 * gst/gstelementfactory.c:
6778 * gst/gstpluginfeature.c:
6779 * gst/gstregistry.c:
6780 Getting tired of debugging. Disabled all the unreffing of
6781 plugins and features, which fixes the segfaults, but of
6782 course leaks like crazy. At least playbin works.
6784 2005-09-15 David Schleef <ds@schleef.org>
6786 * check/gst/gstplugin.c: (register_check_elements),
6787 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6789 * gst/elements/gsttypefindelement.c: Fix refcounting.
6790 * gst/gsttypefind.c:
6791 * gst/gsttypefindfactory.c:
6792 * gst/gsttypefindfactory.h:
6794 2005-09-15 David Schleef <ds@schleef.org>
6796 * gst/gstindex.c: get refcounting correct.
6797 * gst/gstregistry.c: Handle the case where a feature/plugin is
6800 2005-09-15 David Schleef <ds@schleef.org>
6802 * check/Makefile.am:
6803 * check/gst/gstplugin.c: Add test
6804 * gst/gstplugin.c: Fix problems noticed by testsuite
6806 * gst/gstregistry.c:
6807 * gst/gstregistry.h:
6809 2005-09-15 David Schleef <ds@schleef.org>
6811 * gst/gstplugin.c: Implement semi-decent recounting and locking
6812 in plugins and plugin features.
6814 * gst/gstpluginfeature.c:
6815 * gst/gstpluginfeature.h:
6816 * gst/gstregistry.c:
6818 2005-09-15 Michael Smith <msmith@fluendo.com>
6820 * gst/gstregistry.c: (gst_registry_get_feature_list):
6821 Implement this. Makes oggdemux work; decodebin still broken.
6823 2005-09-14 David Schleef <ds@schleef.org>
6825 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6827 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6828 * gst/check/Makefile.am:
6829 * libs/gst/controller/Makefile.am:
6830 * libs/gst/dataprotocol/Makefile.am:
6832 2005-09-14 David Schleef <ds@schleef.org>
6834 * configure.ac: Remove getbits library. Nothing uses it, and
6835 it should be in something like liboil if someone did want
6837 * libs/gst/Makefile.am:
6838 * libs/gst/getbits/Makefile.am:
6839 * libs/gst/getbits/gbtest.c:
6840 * libs/gst/getbits/getbits.c:
6841 * libs/gst/getbits/getbits.h:
6842 * libs/gst/getbits/gstgetbits_generic.c:
6843 * libs/gst/getbits/gstgetbits_i386.s:
6844 * libs/gst/getbits/gstgetbits_inl.h:
6846 2005-09-14 David Schleef <ds@schleef.org>
6848 * gst/Makefile.am: Dist glib-compat.h
6850 2005-09-14 David Schleef <ds@schleef.org>
6852 * configure.ac: Remove gst/registries, since it's no longer used.
6853 * gst/registries/Makefile.am:
6854 * gst/registries/gstlibxmlregistry.c:
6855 * gst/registries/gstlibxmlregistry.h:
6856 * gst/registries/gstxmlregistry.c:
6857 * gst/registries/gstxmlregistry.h:
6858 * gst/registries/registrytest.c:
6860 2005-09-14 David Schleef <ds@schleef.org>
6862 * gst/glib-compat.h:
6863 * gst/gstregistryxml.c:
6864 Convergence is near. Seriously.
6866 2005-09-14 David Schleef <ds@schleef.org>
6868 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6869 * gst/glib-compat.h:
6870 Attempt #4 to appease the buildbots.
6872 2005-09-14 David Schleef <ds@schleef.org>
6874 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6877 2005-09-14 David Schleef <ds@schleef.org>
6879 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6882 2005-09-14 David Schleef <ds@schleef.org>
6884 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6887 2005-09-14 David Schleef <ds@schleef.org>
6889 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6890 * gst/glib-compat.h: Add some functions that are in newer versions
6891 of glib than we care to require.
6892 * gst/gstregistryxml.c: Use them.
6894 2005-09-14 David Schleef <ds@schleef.org>
6896 * po/POTFILES.in: remove gst-register.c
6898 2005-09-14 David Schleef <ds@schleef.org>
6900 * docs/gst/gstreamer-docs.sgml:
6901 * docs/gst/gstreamer-sections.txt:
6902 * docs/gst/gstreamer.types:
6903 * docs/gst/tmpl/gstelement.sgml:
6904 * docs/gst/tmpl/gstplugin.sgml:
6905 * docs/gst/tmpl/gstpluginfeature.sgml:
6906 Documentation updates for registry changes.
6908 2005-09-14 David Schleef <ds@schleef.org>
6910 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
6911 because we don't require glib-2.8.
6913 2005-09-14 David Schleef <ds@schleef.org>
6915 * gst/gstregistryxml.c: Added. Essentially moved out of the
6916 registries directory.
6918 2005-09-14 David Schleef <ds@schleef.org>
6920 * check/Makefile.am:
6921 * check/generic/states.c:
6925 * gst/gst_private.h:
6926 * gst/gstelementfactory.c:
6931 * gst/gstpluginfeature.c:
6932 * gst/gstpluginfeature.h:
6933 * gst/gstregistry.c:
6934 * gst/gstregistry.h:
6935 * gst/gstregistrypool.c: remove
6936 * gst/gstregistrypool.h: remove
6937 * gst/gsttypefind.c:
6938 * gst/gsttypefindfactory.c:
6940 * tools/Makefile.am:
6941 * tools/gst-compprep.c:
6942 * tools/gst-inspect.c:
6943 * tools/gst-register.c: remove
6944 * tools/gst-xmlinspect.c:
6945 Registry rewrite. Changes registry from being a file created
6946 by a tool into a simple cache file created automatically by
6947 libgstreamer. Removed gst-register (because it's no longer
6948 needed). Remove registry pools, because we only have one
6949 registry implementation (XML). Fix up other subsystems as
6952 2005-09-13 Michael Smith <msmith@fluendo.com>
6954 * gst/gstconfig.h.in:
6955 Don't Use windows linking attributes for MinGW. Fixes #316157
6957 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
6959 * gst/gstutils.c: (set_state_async_thread_func),
6960 (gst_element_set_state_async):
6961 Apparently people think it's better if this function doesn't
6962 try to set the state to whatever state was asked for on the first
6963 call to this function for any object. Seriously.
6965 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6967 * check/gst/gstpipeline.c: (GST_START_TEST):
6968 * docs/gst/gstreamer-sections.txt:
6969 * gst/gstutils.c: (set_state_async_thread_func),
6970 (gst_element_set_state_async):
6972 add a "gst_element_set_state_async" method that
6973 sets the state and starts a thread to make sure the state
6974 change completes as best as it can
6976 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6978 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6979 codify design+behaviour in testsuite after discussion
6981 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
6983 * docs/gst/tmpl/gstelement.sgml:
6984 * docs/manual/appendix-quotes.xml:
6986 * gst/gstelement.c: (gst_element_set_state):
6989 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
6991 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
6992 (gst_base_transform_prepare_output_buf),
6993 (gst_base_transform_handle_buffer):
6994 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
6995 (gst_capsfilter_prepare_buf):
6996 Remove the requirement for sub-classes to call the parent
6997 implementation of prepare_output_buffer with a wrapper function.
7000 * gst/gsttagsetter.h:
7003 2005-09-11 Stefan Kost <ensonic@users.sf.net>
7005 * docs/gst/gstreamer-sections.txt:
7008 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
7010 * docs/gst/gstreamer-sections.txt:
7011 * docs/gst/tmpl/gstelement.sgml:
7012 * docs/gst/tmpl/gstplugin.sgml:
7013 * gst/gstminiobject.c:
7015 docs now stop throwing warnings
7017 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
7019 * docs/gst/gstreamer-sections.txt:
7020 * docs/gst/gstreamer.types:
7021 * docs/gst/tmpl/gstpad.sgml:
7022 * docs/gst/tmpl/gsttypes.sgml:
7023 * gst/base/gstadapter.h:
7024 * gst/base/gstbasesink.h:
7025 * gst/base/gstbasesrc.h:
7035 * gst/gststructure.c:
7036 * gst/registries/gstlibxmlregistry.h:
7037 various documentation fixes
7039 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
7041 * docs/gst/gstreamer-sections.txt:
7042 * docs/gst/tmpl/gstvalue.sgml:
7043 rearrange gstvalue section
7044 * gst/gstutils.c: (gst_element_state_get_name):
7046 * gst/gstvalue.c: (_gst_value_initialize):
7050 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
7052 * check/gst-libs/controller.c:
7054 * gst/base/gstbasetransform.c:
7055 (gst_base_transform_default_prepare_buf),
7056 (gst_base_transform_handle_buffer):
7057 * gst/base/gstbasetransform.h:
7058 Some more basetransform changes and fixes to enable sub-classes
7059 that modify buffer metadata only.
7060 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7061 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
7062 (gst_capsfilter_prepare_buf):
7063 If the output pad has fixed allowed caps and input buffers
7064 don't have any, set the fixed caps on outgoing buffers.
7066 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
7067 * check/elements/identity.c: (GST_START_TEST):
7068 Make the error a little clearer when the test fails because
7069 identity made a copy of the buffer.
7070 * docs/gst/gstreamer-sections.txt:
7071 New symbols in gstbasetransform.h
7072 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7073 (gst_base_transform_init), (gst_base_transform_transform_size),
7074 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7075 (gst_base_transform_default_prepare_buf),
7076 (gst_base_transform_get_unit_size),
7077 (gst_base_transform_buffer_alloc),
7078 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7079 (gst_base_transform_change_state),
7080 (gst_base_transform_set_passthrough),
7081 (gst_base_transform_set_in_place),
7082 (gst_base_transform_is_in_place):
7083 * gst/base/gstbasetransform.h:
7084 Change BaseTransform to separate in_place operate from same_caps
7085 output. in_place implies that the element can perform the transform
7086 on incoming buffers in-place, even if the caps on the output are
7088 Sub-class elements can now implement special buffer allocation
7089 methods for outgoing buffers if they wish to.
7090 Big documentation addition.
7091 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
7092 * gst/elements/gstelements.c:
7093 Changes for basetransform modifications.
7094 * gst/elements/Makefile.am:
7095 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
7096 Compile fix. Extra debug output.
7098 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
7100 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
7102 add tests for valid pad naming
7103 * gst/check/gstcheck.c: (gst_check_log_message_func),
7104 (gst_check_log_critical_func):
7106 remove printing of code, it is fragile when the code contains
7107 % and the line number is enough info
7108 * gst/check/gstcheck.h:
7109 * gst/gstpad.c: (gst_pad_template_new):
7112 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
7115 say what CHECK flags we use
7116 * docs/libs/gstreamer-libs.types:
7117 * libs/gst/controller/Makefile.am:
7118 * libs/gst/controller/gst-controller.c:
7119 * libs/gst/controller/gst-controller.h:
7120 * libs/gst/controller/gst-helper.c:
7121 * libs/gst/controller/gst-interpolation.c:
7122 * libs/gst/controller/gstcontroller.c:
7123 * libs/gst/controller/gsthelper.c:
7124 * libs/gst/controller/gstinterpolation.c:
7125 * tools/gst-inspect.c: (print_plugin_info):
7126 we don't use dashes in header names
7128 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
7130 * check/Makefile.am:
7131 * check/gst/.cvsignore:
7132 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
7133 (gst_pipeline_suite), (main):
7134 adding a test for pipelines and state changes
7135 * gst/gstutils.c: (get_state_func):
7137 * gstreamer.spec.in:
7140 2005-09-08 Michael Smith <msmith@fluendo.com>
7142 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
7143 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
7144 (gst_file_src_is_seekable), (gst_file_src_get_size),
7145 (gst_file_src_start):
7146 * gst/elements/gstfilesrc.h:
7147 Various fixes for unseekable, unmmapable, and non-normal files, so
7148 that fallback to read() rather than mmap() works.
7149 * gst/gstevent.c: (gst_event_new_newsegment):
7150 Allow newsegment events with segment_start == segment_end, as will
7151 correctly happen if you use filesrc on a zero-size file, for
7154 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
7156 * gst/gstplugin.c: (gst_plugin_load_file):
7157 Call g_module_close when we don't load the module
7159 * gst/registries/gstlibxmlregistry.c:
7160 (gst_xml_registry_get_property):
7161 Port leak fix from 0.8
7163 2005-09-07 Stefan Kost <ensonic@users.sf.net>
7165 * docs/gst/gstreamer-docs.sgml:
7166 * docs/gst/tmpl/.cvsignore:
7167 * docs/gst/tmpl/gsttrace.sgml:
7168 * docs/gst/tmpl/gsttrashstack.sgml:
7177 * gst/gsttaginterface.c:
7178 * gst/gsttaginterface.h:
7181 * gst/gsttagsetter.c:
7182 * gst/gsttagsetter.h:
7185 * gst/gsttrashstack.c:
7186 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
7187 inlined docs for gsttrace, gsttrashstack
7189 2005-09-07 Stefan Kost <ensonic@users.sf.net>
7192 * gst/elements/gstbufferstore.h:
7193 * gst/elements/gsttypefindelement.c:
7194 * gst/elements/gsttypefindelement.h:
7196 * gst/gsttypefind.c:
7197 * gst/gsttypefind.h:
7198 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
7199 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
7200 (gst_type_find_factory_dispose),
7201 (gst_type_find_factory_unload_thyself),
7202 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
7203 (gst_type_find_factory_get_caps),
7204 (gst_type_find_factory_get_extensions),
7205 (gst_type_find_factory_call_function):
7206 * gst/gsttypefindfactory.h:
7207 * gst/registries/gstlibxmlregistry.c:
7208 * gst/registries/gstxmlregistry.c:
7209 splitted gsttypefind into gsttypefind, gsttypefindfactory
7211 2005-09-07 Andy Wingo <wingo@pobox.com>
7213 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
7214 condition whereby the pad's task function is entered before the
7215 pad_mode variable was set.
7217 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
7219 * gst/gstpad.c: (gst_pad_alloc_buffer):
7220 Catch misbehaving pad_alloc functions that don't
7221 set up caps and do it for them.
7223 2005-09-07 Stefan Kost <ensonic@users.sf.net>
7225 * check/pipelines/simple_launch_lines.c: (run_pipeline):
7227 * docs/gst/tmpl/.cvsignore:
7228 * docs/gst/tmpl/gstmemchunk.sgml:
7229 * docs/gst/tmpl/gstparse.sgml:
7230 * docs/gst/tmpl/gsttaglist.sgml:
7231 * docs/gst/tmpl/gsttagsetter.sgml:
7232 * docs/gst/tmpl/gsttypefind.sgml:
7233 * docs/gst/tmpl/gsttypefindfactory.sgml:
7234 * gst/gstmemchunk.c:
7237 * gst/gsttaginterface.c:
7238 * gst/gsttypefind.c:
7239 * gst/gsttypefind.h:
7242 === release 0.9.2 ===
7244 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
7249 releasing 0.9.2, "South"
7251 2005-09-05 Andy Wingo <wingo@pobox.com>
7253 * gst/registries/gstxmlregistry.h:
7254 * gst/registries/gstxmlregistry.c: Um... resurrect...
7256 * gst/registries/gstxmlregistry.h:
7257 * gst/registries/gstxmlregistry.c: and update to newer API.
7258 Incidentally they should be a bit faster now that they don't have
7261 2005-09-05 Andy Wingo <wingo@pobox.com>
7263 * gst/registries/gstxmlregistry.h:
7264 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
7265 replaced by the libxml registry a while back
7267 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
7269 * docs/gst/tmpl/gstplugin.sgml:
7270 * gst/elements/gstelements.c:
7272 * gst/gstplugin.c: (gst_plugin_register_func),
7273 (gst_plugin_desc_copy), (gst_plugin_desc_free),
7274 (gst_plugin_get_source):
7276 * gst/registries/gstlibxmlregistry.c: (load_plugin),
7277 (gst_xml_registry_save_plugin):
7278 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
7279 (gst_xml_registry_save_plugin):
7280 * tools/gst-inspect.c: (print_plugin_info):
7281 add a "source" plugin description field, to represent the source
7282 module this plugin is a part of. By default GST_PLUGIN_DEFINE
7283 will set it to PACKAGE, which is automake's idea of the name of
7286 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
7292 * docs/faq/Makefile.am:
7293 * docs/gst/tmpl/gstelement.sgml:
7294 * docs/gst/tmpl/gsttypes.sgml:
7295 * docs/htmlinstall.mak:
7296 * docs/manual/Makefile.am:
7297 * docs/pwg/Makefile.am:
7298 reorganize doc build a little
7299 split out docbook and gtk-doc stuff
7300 have two separate --enable's and enable them through autogen
7301 but disable by default in configure (to be similar to other
7303 * gstreamer.spec.in:
7304 clean up docs install
7324 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
7326 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
7329 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
7330 (gst_fake_sink_change_state):
7331 Make state change function thread-safe.
7333 * gst/gstpad.c: (gst_pad_alloc_buffer):
7334 Set offset on generic buffer allocated by fallback.
7336 2005-09-03 Stefan Kost <ensonic@users.sf.net>
7338 * docs/gst/gstreamer-sections.txt:
7339 * docs/gst/tmpl/gstelement.sgml:
7341 * libs/gst/controller/gst-controller.c:
7342 (gst_controlled_property_set_interpolation_mode),
7343 (gst_controlled_property_new),
7344 (gst_controller_find_controlled_property):
7345 run the wingo-magic script against the docs
7347 2005-09-02 Stefan Kost <ensonic@users.sf.net>
7349 * docs/gst/gstreamer-docs.sgml:
7350 * docs/gst/gstreamer-sections.txt:
7351 * docs/gst/tmpl/.cvsignore:
7352 * docs/gst/tmpl/gstelementdetails.sgml:
7353 * docs/gst/tmpl/gstelementfactory.sgml:
7356 * gst/gstelementfactory.c:
7357 * gst/gstelementfactory.h:
7358 merged elementdetails docs into elementfactory docs
7361 2005-09-02 Andy Wingo <wingo@pobox.com>
7363 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
7364 consider this enum an enum and not a flags.
7366 2005-09-02 Stefan Kost <ensonic@users.sf.net>
7368 * docs/gst/gstreamer-docs.sgml:
7369 * docs/gst/tmpl/.cvsignore:
7370 * docs/gst/tmpl/gstghostpad.sgml:
7371 * docs/gst/tmpl/gstiterator.sgml:
7372 * docs/gst/tmpl/gstmacros.sgml:
7373 * docs/gst/tmpl/gstrealpad.sgml:
7374 * docs/gst/tmpl/gstregistry.sgml:
7375 * docs/gst/tmpl/gstregistrypool.sgml:
7376 * docs/gst/tmpl/gststructure.sgml:
7377 * docs/gst/tmpl/gstsystemclock.sgml:
7378 * docs/gst/tmpl/gsttrace.sgml:
7379 * gst/gstghostpad.c:
7381 * gst/gstmemchunk.c:
7382 * gst/gstmemchunk.h:
7384 * gst/gstregistry.c:
7385 * gst/gstregistrypool.c:
7386 * gst/gststructure.c:
7387 * gst/gstsystemclock.c:
7390 2005-09-02 Andy Wingo <wingo@pobox.com>
7392 * gst/gstelement.h (GstState): Renamed from GstElementState,
7393 changed to be a normal enum instead of flags.
7394 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
7395 munged to be GST_STATE_CHANGE_*.
7396 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
7397 work with the new state representation.
7398 (GstStateChange): New enumeration of possible state transitions.
7399 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
7400 (GstElementClass::change_state): Pass the GstStateChange along as
7401 an argument. Helps language bindings, so they don't have to use
7402 tricky lock-needing macros like GST_STATE_CHANGE ().
7404 * scripts/update-states (file): New script. Run it on a file to
7405 update it for state naming and API changes. Updates files in
7408 * All files updated for the new API.
7410 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
7412 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
7413 * gst/gstutils.c: (gst_util_set_value_from_string),
7414 (gst_util_set_object_arg):
7415 fix a bunch of unchecked return values
7416 * tools/gst-complete.c: (main):
7417 * gstreamer.spec.in:
7420 2005-09-01 Wim Taymans <wim@fluendo.com>
7422 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7423 (gst_base_sink_event), (gst_base_sink_do_sync),
7424 (gst_base_sink_handle_event):
7425 * gst/base/gstbasesink.h:
7426 Handle newsegments more correctly.
7431 * gst/gstevent.c: (gst_event_new_newsegment):
7432 A newsegment cannot have a start_time of -1
7434 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
7436 * win32/gstenumtypes.c:
7437 * win32/gstenumtypes.h:
7440 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7442 * libs/gst/controller/gst-controller.c:
7443 (gst_controlled_property_set_interpolation_mode),
7444 (gst_controlled_property_new):
7447 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
7449 * docs/faq/gst-uninstalled:
7454 * gst/gstutils.c: (gst_element_link_filtered):
7456 add gst_element_link_filtered
7458 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7460 * docs/gst/gstreamer-docs.sgml:
7461 * docs/gst/gstreamer-sections.txt:
7462 * docs/gst/tmpl/.cvsignore:
7463 * docs/gst/tmpl/gsterror.sgml:
7464 * docs/gst/tmpl/gstfilter.sgml:
7465 * docs/gst/tmpl/gsturihandler.sgml:
7466 * docs/gst/tmpl/gsturitype.sgml:
7467 * docs/gst/tmpl/gstutils.sgml:
7468 * docs/gst/tmpl/gstxml.sgml:
7476 inlined more docs, fixed double id-ref
7478 2005-08-31 Wim Taymans <wim@fluendo.com>
7480 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7481 (gst_base_transform_handle_buffer):
7482 Passthrough elements don't need the caps as they don't care.
7484 2005-08-31 Wim Taymans <wim@fluendo.com>
7486 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7487 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7488 Don't leak refcounts on buffers.
7490 2005-08-31 Wim Taymans <wim@fluendo.com>
7492 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7493 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7494 (gst_base_transform_chain), (gst_base_transform_change_state):
7495 * gst/base/gstbasetransform.h:
7496 Handle the case where we are not negotiated more gracefully.
7498 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
7500 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7501 (gst_file_src_map_region):
7502 Set READONLY flag on mmap'ed buffers, otherwise
7503 gst_buffer_make_writable() won't work properly (#314708).
7505 2005-08-31 Wim Taymans <wim@fluendo.com>
7507 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7508 passthrough elements can even do inplace on non writable
7509 buffers (as they don't touch them).
7511 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7513 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7514 (gst_test_mono_source_set_property),
7515 (gst_test_mono_source_class_init), (GST_START_TEST),
7516 (gst_controller_suite):
7517 more tests (hehe I have the most)
7519 describe popping messages whenusing mulltiple sources
7520 * libs/gst/controller/gst-controller.c:
7521 (gst_controlled_property_set_interpolation_mode),
7522 (gst_controlled_property_new):
7523 * libs/gst/controller/gst-controller.h:
7524 * libs/gst/controller/gst-interpolation.c:
7525 implement boolean properties
7527 2005-08-31 Wim Taymans <wim@fluendo.com>
7529 * gst/gstminiobject.c: (gst_mini_object_ref):
7530 Cannot assert that the refcount has to be positive
7531 since a disposed object can be resurrected.
7533 2005-08-31 Wim Taymans <wim@fluendo.com>
7535 * gst/gstpad.c: (gst_pad_init):
7536 Revert change, need to first fix badly behaving
7539 2005-08-30 Wim Taymans <wim@fluendo.com>
7541 * check/elements/fakesrc.c: (setup_fakesrc):
7542 * check/elements/identity.c: (setup_identity):
7543 Activate pads before using them.
7545 2005-08-30 Wim Taymans <wim@fluendo.com>
7547 * gst/base/gstadapter.c: (gst_adapter_flush):
7548 Flushing out 0 bytes is ok for this function.
7550 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7551 no newsegment gives a warning and sets the start/stop to
7554 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7555 (gst_base_transform_set_passthrough):
7558 * gst/gstminiobject.c: (gst_mini_object_ref):
7559 Check refcount here too.
7561 * gst/gstpad.c: (gst_pad_init):
7562 Pads are initially flushing and refusing data.
7564 * gst/gstutils.c: (gst_element_link_pads_filtered):
7565 When adding a capsfilter element make sure it has the
7566 same state as the parent bin.
7568 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7570 * docs/gst/tmpl/.cvsignore:
7571 * docs/gst/tmpl/gstformat.sgml:
7572 * docs/gst/tmpl/gstversion.sgml:
7576 * gst/gstversion.h.in:
7577 more docs and two more inlined
7579 2005-08-30 Wim Taymans <wim@fluendo.com>
7581 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7582 Don't sync to clock.
7584 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7586 * docs/gst/gstreamer-sections.txt:
7587 ultral33t func10ns deserve to appear in the docs actually
7588 * docs/gst/tmpl/.cvsignore:
7589 * docs/gst/tmpl/gstcompat.sgml:
7590 * docs/gst/tmpl/gstconfig.sgml:
7591 * gst/check/gstcheck.c:
7593 * gst/gstconfig.h.in:
7596 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7598 * docs/gst/tmpl/.cvsignore:
7599 * docs/gst/tmpl/gstquery.sgml:
7600 * docs/gst/tmpl/gstutils.sgml:
7603 inlined and extended docs
7605 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7607 * check/gst-libs/controller.c: (GST_START_TEST),
7608 (gst_controller_suite):
7610 * docs/gst/tmpl/gstutils.sgml:
7611 * docs/libs/gstreamer-libs-sections.txt:
7612 * docs/libs/tmpl/gstdataprotocol.sgml:
7614 * examples/controller/audio-example.c: (main):
7615 controller example works now
7618 * tools/gst-inspect.c: (print_element_properties_info):
7619 show param spec flags
7621 2005-08-29 Andy Wingo <wingo@pobox.com>
7623 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7625 2005-08-28 Andy Wingo <wingo@pobox.com>
7627 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7628 as having two arguments instead of just one. Allows superclasses
7629 to access information on subclasses -- see the terrible for() loop
7630 in gtype.c:g_type_create_instance for the reason why. All callers
7633 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7635 * docs/design/part-messages.txt:
7637 * docs/gst/tmpl/.cvsignore:
7638 * docs/gst/tmpl/gstcaps.sgml:
7639 * docs/gst/tmpl/gstclock.sgml:
7646 added descriptions for bus and message
7647 inline caps and clock docs
7649 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7655 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7657 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7660 2005-08-26 Andy Wingo <wingo@pobox.com>
7662 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7663 element_set_state's return val.
7664 (test_2_elements): Add test that's been disabled for months.
7666 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7667 can-activate-pull properties.
7669 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7670 can-activate-pull properties. Implement is_seekable so fakesrc can
7671 operate in pull mode.
7673 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7675 (gst_base_sink_activate, gst_base_sink_activate_pull)
7676 (gst_base_sink_activate_push): Make activation mode choosing work.
7678 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7679 is right. Make pull mode work. Post an eos before pausing in pull
7681 (gst_base_sink_change_state): Pay attention to the core's
7682 change_state() return val.
7684 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7685 has-getrange properties. Cleanups.
7687 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7688 has_getrange and replace with can_activate_pull and
7691 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7692 locking comments. Remove has_loop, has_chain and replace with
7693 can_activate_pull and can_activate_push.
7695 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
7698 * examples/Makefile.am:
7699 * examples/metadata/Makefile.am:
7700 * examples/metadata/read-metadata.c: (message_loop),
7701 (have_pad_handler), (make_pipeline), (print_tag), (main):
7702 Add metadata reading example that loops over a list of filenames,
7703 dumping any tags found.
7705 * gst/gstbus.c: (gst_bus_dispose):
7706 * gst/gstelement.c: (gst_element_dispose):
7707 Release a few potentially-held references in dispose.
7709 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7711 * docs/gst/tmpl/gstminiobject.sgml:
7712 do *not* add tmpl/*.sgml files to CVS!
7714 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7716 * libs/gst/bytestream/.cvsignore:
7717 * libs/gst/bytestream/Makefile.am:
7718 * libs/gst/bytestream/adapter.c:
7719 * libs/gst/bytestream/adapter.h:
7720 * libs/gst/bytestream/bytestream.c:
7721 * libs/gst/bytestream/bytestream.h:
7722 * libs/gst/bytestream/filepad.c:
7723 * libs/gst/bytestream/filepad.h:
7724 removing obsolete files
7726 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7728 * docs/gst/gstreamer-docs.sgml:
7729 * docs/libs/gstreamer-libs-docs.sgml:
7730 disabed additional index entries again, as this makes docs-gen just
7731 slow and they aren't useful yet
7732 * docs/libs/gstreamer-libs-sections.txt:
7733 little -section.txt cleanup for libs
7735 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
7737 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7738 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7739 fix up some debugging
7740 (gst_base_transform_get_unit_size),
7741 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7742 (gst_base_transform_handle_buffer):
7743 * gst/base/gstbasetransform.h:
7744 handle and store timed NEWSEGMENT events so that subclasses that
7745 calculate time by counting samples have a segment_start time they
7746 need to add to their timestamps - see audioresample
7748 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7751 removed ';' from the end of macro defs
7752 * docs/gst/gstreamer-docs.sgml:
7753 * docs/gst/gstreamer-sections.txt:
7754 * docs/gst/tmpl/.cvsignore:
7756 * gst/gstelement.c: (gst_element_class_init),
7757 (gst_element_set_state), (activate_pads),
7758 (gst_element_save_thyself):
7759 * gst/gstevent.c: (gst_event_new_newsegment):
7761 * gst/gstiterator.c:
7762 * gst/gstiterator.h:
7765 * gst/gstutils.c: (gst_pad_query_convert):
7767 fixed parameter name mismatches between source, header and docs
7768 added some more docs, resolved the last batch of unused elements in
7769 docs (now someone needs to doc them)
7771 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7773 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7774 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7775 don't walk through the plugins backwards. Where is all this
7776 reversed logic coming from ?
7778 2005-08-25 Wim Taymans <wim@fluendo.com>
7780 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7781 (gst_base_transform_transform_size),
7782 (gst_base_transform_configure_caps),
7783 (gst_base_transform_get_unit_size),
7784 (gst_base_transform_buffer_alloc),
7785 (gst_base_transform_change_state):
7786 * gst/base/gstbasetransform.h:
7787 Cache caps unit_size.
7788 Make sure we cannot negotiate up and downstream at the
7791 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7793 * gst/gst.c: (init_pre), (init_post):
7794 register the installed plugin path after the env var
7795 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7796 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7797 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7798 directories, so the tests can prefer uninstalled over installed
7800 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7802 * gst/base/gstbasetransform.h:
7807 2005-08-25 Wim Taymans <wim@fluendo.com>
7809 * gst/gstbin.c: (bin_bus_handler):
7810 Be a bit more conservative about the posted message.
7812 * gst/gstbus.c: (gst_bus_post):
7813 Some cleanups, warn wrong return values.
7815 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
7817 * check/gst/gstbin.c: (GST_START_TEST):
7818 * gst/gstbin.c: (bin_bus_handler):
7819 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7820 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7821 (gst_message_new_warning), (gst_message_new_tag),
7822 (gst_message_new_state_changed), (gst_message_new_segment_start),
7823 (gst_message_new_segment_done), (gst_message_new_custom):
7825 * tools/gst-launch.c: (event_loop):
7826 * tools/gst-md5sum.c: (event_loop):
7827 Revert unpopular change for GST_MESSAGE_SRC to GObject.
7829 2005-08-25 Wim Taymans <wim@fluendo.com>
7831 * check/generic/states.c: (GST_START_TEST):
7832 Cleanup can be done at the end.
7834 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7835 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7836 (gst_task_get_state), (gst_task_start), (gst_task_pause):
7837 Oh boy.. Thanks for finding this, Thomas.
7839 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7841 * docs/gst/gstreamer.types:
7844 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7846 * docs/gst/gstreamer-docs.sgml:
7847 * docs/gst/gstreamer-sections.txt:
7848 * docs/gst/tmpl/.cvsignore:
7850 * gst/gstiterator.c:
7852 * gst/registries/gstxmlregistry.h:
7853 added missing classes and symbols (123 more to go)
7854 removed removed symbols from section file
7855 fixed many doc-comments
7857 2005-08-24 Wim Taymans <wim@fluendo.com>
7859 * check/generic/states.c: (GST_START_TEST):
7860 Make sure all tasks are stopped.
7862 * check/gst/gstbin.c: (GST_START_TEST):
7863 Unref after usage for proper valgrinding.
7865 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7866 Really wait for the task to stop before destroying the
7869 * gst/gstqueue.c: (gst_queue_sink_activate_push),
7870 (gst_queue_src_activate_push):
7871 Small cleanups. Don't stop the task when we did not start
7874 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7875 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7876 (gst_task_get_state), (gst_task_start), (gst_task_pause),
7879 Protect the stream lock with the object lock.
7880 Disallow setting the stream lock when running.
7881 Add cleanup_all to wait for the threadpool to finish.
7882 Remove code to autoallocate a mutex if none was provided.
7883 Add _join() to wait for a task to stop.
7884 Protect the thread pool with a global lock.
7886 2005-08-24 Wim Taymans <wim@fluendo.com>
7888 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7889 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7890 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7891 * gst/base/gstbasesink.h:
7892 Handle newsegment events correctly.
7893 Drop buffers out of the segment range.
7895 2005-08-22 Andy Wingo <wingo@pobox.com>
7897 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7898 macro, implements an interface and gstimplementsinterface for a
7901 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7903 * check/Makefile.am:
7904 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
7905 add a test that does a bunch of state changes on elements
7906 needs some fixing for valgrind
7907 * check/states/sinks.c: (gst_object_suite):
7910 add prototype for gst_caps_is_equal_fixed
7912 * gst/gstregistrypool.c:
7915 2005-08-24 Andy Wingo <wingo@pobox.com>
7917 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
7918 convert a negative value. Doesn't make much sense. Mostly this is
7919 here to force callers to ensure -1 maps to -1.
7921 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7923 * docs/pwg/advanced-types.xml:
7924 Well done to Michael for catching my deliberate introduction
7925 of this spelling mistake.
7926 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
7928 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
7929 unlink pads before removing the element from the bin.
7931 2005-08-24 Andy Wingo <wingo@pobox.com>
7933 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
7934 the same thing as GST_DEBUG=*:4.
7935 (parse_debug_level, parse_debug_category): New helper parsers.
7937 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
7939 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
7940 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
7941 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
7942 (gst_base_transform_buffer_alloc),
7943 (gst_base_transform_handle_buffer):
7944 use gboolean return values and pointers to size so we can use the
7945 full GST_BUFFER_SIZE range (guint) for buffer sizes
7946 use GstPadDirection for transform_caps
7947 * gst/base/gstbasetransform.h:
7948 rename get_size to get_unit_size since that's what it is
7949 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
7950 use GstPadDirection for transform_caps
7951 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
7953 cleanup and debugging
7955 2005-08-24 Stefan Kost <ensonic@users.sf.net>
7957 * gst/gstelement.c: (gst_element_class_init),
7958 (gst_element_set_state), (activate_pads),
7959 (gst_element_save_thyself):
7960 * tools/gst-compprep.c: (main):
7961 * tools/gst-inspect.c: (print_element_properties_info):
7962 * tools/gst-xmlinspect.c: (print_element_properties):
7963 Fixed long standing mem-leak
7965 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
7967 * check/gst/gstbin.c: (GST_START_TEST):
7968 * gst/gstbin.c: (bin_bus_handler):
7969 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7970 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7971 (gst_message_new_warning), (gst_message_new_tag),
7972 (gst_message_new_state_changed), (gst_message_new_segment_start),
7973 (gst_message_new_segment_done), (gst_message_new_custom):
7975 * tools/gst-launch.c: (event_loop):
7976 * tools/gst-md5sum.c: (event_loop):
7977 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
7978 that applications can sensibly post custom messages with references
7979 to their own objects.
7981 2005-08-24 Andy Wingo <wingo@pobox.com>
7983 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
7986 2005-08-24 Wim Taymans <wim@fluendo.com>
7988 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7989 (gst_base_transform_transform_caps),
7990 (gst_base_transform_transform_size),
7991 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7992 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
7993 (gst_base_transform_handle_buffer):
7994 * gst/base/gstbasetransform.h:
7995 Many fixes and new features added by Thomas. Can now also do
7996 transforms with variable sizes and a custom fixate_caps function.
7998 2005-08-24 Wim Taymans <wim@fluendo.com>
8000 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
8004 Cast to ClockTime before formatting to time.
8009 2005-08-24 Stefan Kost <ensonic@users.sf.net>
8011 * check/gst-libs/controller.c: (GST_START_TEST),
8012 (gst_controller_suite):
8013 * docs/gst/tmpl/gstcaps.sgml:
8014 * docs/gst/tmpl/gstghostpad.sgml:
8015 * docs/gst/tmpl/gstquery.sgml:
8016 * docs/gst/tmpl/gstutils.sgml:
8017 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
8018 (gst_object_sink_values), (gst_object_get_value_arrays),
8019 (gst_object_get_value_array):
8020 gracefully handle helper method calls to objects that are not beeing
8021 controlled, added test case for that
8023 2005-08-23 Wim Taymans <wim@fluendo.com>
8025 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
8026 (gst_event_new_newsegment), (gst_event_parse_newsegment),
8027 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
8028 (gst_event_parse_qos), (gst_event_new_seek),
8029 (gst_event_parse_seek):
8031 Some more debugging output and doc cleanups.
8033 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8034 Fix possible deadlock.
8036 2005-08-23 Stefan Kost <ensonic@users.sf.net>
8038 * docs/gst/gstreamer-docs.sgml:
8039 * docs/gst/gstreamer-sections.txt:
8040 * docs/gst/gstreamer.types:
8041 * docs/gst/tmpl/.cvsignore:
8046 added 100 symbols from gstreamer-unused.txt to the right sections
8047 fixed more broken comments
8048 added GstBus to docs
8050 2005-08-23 Stefan Kost <ensonic@users.sf.net>
8052 * docs/gst/gstreamer-sections.txt:
8053 * docs/gst/tmpl/.cvsignore:
8054 * docs/gst/tmpl/gstbin.sgml:
8055 * docs/gst/tmpl/gstbuffer.sgml:
8056 * gst/base/gstbasesrc.c:
8057 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
8060 * tools/gst-launch.1.in:
8061 inlined more doc comments, added missing comments and fixed comments
8064 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
8066 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
8070 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
8072 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
8073 * gst/gststructure.h:
8074 add a fixate function for booleans; add a FIXME that these func
8075 names should probably be gst_structure_fixate_*
8077 2005-08-23 Stefan Kost <ensonic@users.sf.net>
8079 * docs/gst/gstreamer-docs.sgml:
8080 * docs/gst/gstreamer-sections.txt:
8082 * gst/gstbin.c: (gst_bin_get_type),
8083 (gst_bin_child_proxy_get_child_by_index),
8084 (gst_bin_child_proxy_get_children_count),
8085 (gst_bin_child_proxy_init):
8086 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
8087 (gst_child_proxy_get_child_by_index),
8088 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
8089 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
8090 (gst_child_proxy_get), (gst_child_proxy_set_property),
8091 (gst_child_proxy_set_valist), (gst_child_proxy_set),
8092 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
8093 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
8094 * gst/gstchildproxy.h:
8095 * gst/parse/grammar.y:
8096 * tools/gst-inspect.c: (print_interfaces),
8097 (print_element_properties_info), (print_element_info):
8098 ported gstchildproxy over from 0.8
8099 ported gst-inspect fixes and enhancements over from 0.8
8101 2005-08-22 Wim Taymans <wim@fluendo.com>
8103 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8104 (gst_base_transform_handle_buffer):
8105 Also call the transform function if we have ANY caps.
8107 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
8110 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
8112 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
8113 Don't pretend to handle seek events if the source is not seekable
8115 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
8117 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8118 Remove extra parameter to debug output
8120 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8121 (gst_base_src_do_seek), (gst_base_src_activate_push):
8122 Fix seek event handling.
8124 * gst/gstpipeline.c: (gst_pipeline_change_state):
8125 * gst/gstqueue.c: (gst_queue_handle_sink_event),
8126 (gst_queue_src_activate_push):
8127 Don't start the src pad task on FLUSH_STOP if the pad
8131 2005-08-22 Wim Taymans <wim@fluendo.com>
8133 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8134 Added check for gst_static_caps_get() refcounting.
8136 2005-08-22 Wim Taymans <wim@fluendo.com>
8138 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
8139 Make _static_caps_get() refcounting sane.
8141 * gst/gstelement.c: (gst_element_set_state):
8142 Add g_return_val_if_fail() to protect against segfaults.
8144 2005-08-22 Stefan Kost <ensonic@users.sf.net>
8146 * docs/gst/tmpl/gstevent.sgml:
8149 inlined remaining docs, added missing doc comments
8151 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
8153 * check/gst/gstbin.c: (GST_START_TEST):
8154 since we don't know when preroll is done, use refcount range
8156 * gst/check/gstcheck.h:
8157 add macro for checking refcount range
8159 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
8161 * check/Makefile.am:
8162 clean up environment for when registry gets built versus
8163 when actual tests are run; valgrind seems to not report
8164 leaks if GST_PLUGIN_PATH is set to some specific values
8165 * check/gst/gstbin.c: (GST_START_TEST):
8166 add more refcounting checks; maybe this exposes a
8169 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8170 * gst/check/gstcheck.h:
8171 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
8172 (gst_bin_change_state):
8173 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
8174 add/fix debugging/whitespace
8176 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
8178 * check/gst/gstevent.c: (event_probe), (test_event),
8180 Er, don't call gst_bin_watch_for_state_change you idiot.
8182 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
8184 * check/Makefile.am:
8185 Use CHECK_CFLAGS and CHECK_LIBS
8186 * check/gst/gstevent.c: (event_probe), (test_event),
8189 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8190 (gst_base_src_start), (gst_base_src_stop),
8191 (gst_base_src_activate_push), (gst_base_src_activate_pull),
8192 (gst_base_src_change_state):
8193 Sprinkle gst_base_src_stop liberally around error paths to fix
8194 problems reusing a source after failed state changes.
8195 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8196 (helper_find_suggest), (gst_type_find_helper):
8197 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
8199 * docs/gst/tmpl/gstevent.sgml:
8200 Migrate part of the docs from the SGML file. Wait for ensonic to
8201 tell me how I did it wrong ;)
8202 * tools/gst-typefind.c: (main):
8203 Extra robustness to state changes between files.
8205 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
8207 * check/Makefile.am:
8208 don't valgrind the controller test - it's leaking - Stefan, HELP
8209 * gst/check/gstcheck.c: (gst_check_message_error),
8210 (gst_check_chain_func), (gst_check_setup_element),
8211 (gst_check_teardown_element), (gst_check_setup_src_pad),
8212 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8213 (gst_check_teardown_sink_pad):
8214 * gst/check/gstcheck.h:
8215 add a bunch of methods to set up elements, and src and sink pads
8216 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
8217 * check/elements/identity.c: (setup_identity), (cleanup_identity),
8222 whitespace/doc fixes
8224 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8227 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
8228 be handled by the application and not always printed as well
8230 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8232 * check/Makefile.am:
8234 * gst/check/gstcheck.c: (gst_check_message_error):
8235 * gst/check/gstcheck.h:
8236 add a fail_unless_equals_int
8237 add fail_unless for error messages
8239 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8241 * check/Makefile.am:
8243 * common/Makefile.am:
8246 factor out some of the common stuff so we can use it
8248 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8250 * check/Makefile.am:
8251 * check/gst/gstiterator.c: (GST_START_TEST):
8252 * check/gst/gstsystemclock.c: (GST_START_TEST),
8253 (gst_systemclock_suite):
8254 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8258 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8260 * check/elements/.cvsignore:
8261 * check/elements/gstfakesrc.c:
8262 rename to name of element
8263 * check/elements/identity.c: (chain_func), (event_func),
8264 (setup_identity), (cleanup_identity), (GST_START_TEST),
8265 (identity_suite), (main):
8266 add a test for identity
8267 * check/Makefile.am:
8268 * pkgconfig/Makefile.am:
8269 * pkgconfig/gstreamer-check.pc.in:
8270 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8274 move the check stuff to a library that gets installed
8275 * check/gst-libs/controller.c: (GST_START_TEST):
8276 * check/gst-libs/gdp.c:
8277 * check/gst/gst.c: (GST_START_TEST):
8278 * check/gst/gstbin.c:
8279 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8280 * check/gst/gstbus.c:
8281 * check/gst/gstcaps.c: (GST_START_TEST):
8282 * check/gst/gstelement.c:
8283 * check/gst/gstghostpad.c:
8284 * check/gst/gstiterator.c:
8285 * check/gst/gstmessage.c:
8286 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
8287 * check/gst/gstobject.c:
8288 * check/gst/gstpad.c: (GST_START_TEST):
8289 * check/gst/gststructure.c: (GST_START_TEST):
8290 * check/gst/gstsystemclock.c: (GST_START_TEST),
8291 (gst_systemclock_suite):
8292 * check/gst/gsttag.c: (gst_tag_suite):
8293 * check/gst/gstvalue.c:
8294 * check/pipelines/cleanup.c:
8295 * check/pipelines/simple_launch_lines.c:
8296 * check/states/sinks.c:
8297 change include statement
8299 * docs/gst/gstreamer-sections.txt:
8300 * docs/gst/tmpl/gstpad.sgml:
8301 document more pad stuff
8302 * gst/gstminiobject.c: (gst_mini_object_ref),
8303 (gst_mini_object_unref):
8306 2005-08-19 Stefan Kost <ensonic@users.sf.net>
8308 * docs/gst/tmpl/gst.sgml:
8310 eliminate another tmpl file, fix spelling in the long-description
8312 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8314 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8315 (test_event), (timediff), (gstevents_suite):
8316 Should fix build on 64-bit arch's
8318 2005-08-18 Andy Wingo <wingo@pobox.com>
8320 Make sure that when a pipeline goes to PLAYING, that data has
8321 actually hit the sink.
8323 * check/states/sinks.c (test_sink): A sink that doesn't get any
8324 data shouldn't return SUCCESS for going to either PLAYING or
8325 PAUSED. Test also the return values on the way back down.
8327 * gst/gstelement.c (gst_element_set_state): When changing the
8328 state of an element currently changing state asynchronously, go to
8329 lost-state after commiting the pending state. Makes future calls
8330 to get_state continue to return ASYNC.
8332 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
8333 ASYNC when going to PLAYING if we still don't have preroll, as can
8334 happen with live sources.
8336 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8338 * docs/pwg/advanced-types.xml:
8339 Hack long paragraph into 2 chunks as a workaround for buggy
8340 jadetex version in sid and breezy that loops infinitely and
8343 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8345 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8346 (test_event), (timediff), (gstevents_suite):
8347 Provide more error margin in clock measurements to allow for
8348 g_get_current_time inaccuracies.
8350 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8352 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8353 (test_event), (timediff), (gstevents_suite):
8354 Fix error message output so I might be able to tell why the
8355 test works here but fails on the build farm.
8357 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8359 * check/Makefile.am:
8360 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8361 (test_event), (timediff), (gstevents_suite), (main):
8364 * docs/design/part-seeking.txt:
8367 * docs/gst/tmpl/gstevent.sgml:
8368 * docs/gst/tmpl/gstfakesrc.sgml:
8371 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8372 Treat a buffer-without-newsegment the same as a receiving
8373 a newsegment not in time format, and disable syncing to the clock
8376 * gst/gstbus.c: (gst_bus_set_sync_handler):
8377 Assert if anyone tries to replace the existing sync_handler for bus,
8378 as only the owner should be setting it.
8381 Have a fixed set of custom event enums with events identified by
8382 their structure name (as in 0.8), rather than a free-for-all
8383 allowing collisions between enum values from different plugins.
8385 * gst/gstpad.c: (gst_pad_class_init):
8388 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8389 Handle out-of-band downstream events from the sending thread.
8391 2005-08-17 Andy Wingo <wingo@pobox.com>
8393 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
8394 play-timeout==0 to mean no timeout at all. In that case, don't
8395 bother with a get_state or a warning, just return directly, even
8398 * gst/base/gstbasetransform.c: Debug changes.
8401 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
8402 ensure bins post state change messages. A bit of a hack but I can't
8403 think of a way to avoid it.
8405 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
8407 2005-08-16 Andy Wingo <wingo@pobox.com>
8409 * gst/base/gstadapter.h:
8410 * gst/base/gstadapter.c (gst_adapter_take): New function, like
8411 peek() but you own the data. Not terribly efficient atm.
8413 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8415 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
8416 (gst_element_found_tags):
8418 Add two utility functions for tag handling.
8420 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8422 * docs/manual/advanced-dataaccess.xml:
8423 * docs/manual/basics-helloworld.xml:
8424 Fix docs to use _bin_add() before _link(), which fixes the examples
8425 with recent core versions (reported by Madhan Raj M
8426 <raj_madan@rediffmail.com>, #313199).
8428 2005-08-16 Wim Taymans <wim@fluendo.com>
8430 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8431 Added subtract checks.
8433 * docs/design/part-events.txt:
8434 Some more docs about newsegment
8436 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8439 * gst/gstcaps.c: (gst_caps_to_string):
8440 Add comments, cleanups.
8442 * gst/gstelement.c: (gst_element_save_thyself):
8445 * gst/gstvalue.c: (gst_value_collect_int_range),
8446 (gst_string_unwrap), (gst_value_union_int_int_range),
8447 (gst_value_union_int_range_int_range),
8448 (gst_value_intersect_int_int_range),
8449 (gst_value_intersect_int_range_int_range),
8450 (gst_value_intersect_double_double_range),
8451 (gst_value_intersect_double_range_double_range),
8452 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
8453 (gst_value_subtract_int_range_int),
8454 (gst_value_subtract_double_range_double),
8455 (gst_value_subtract_double_range_double_range),
8456 (gst_value_subtract_from_list), (gst_value_subtract_list),
8457 (gst_value_can_compare), (gst_value_compare_fraction):
8458 Cleanups, add comments, remove unneeded asserts.
8460 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8462 * tools/gst-launch.c: (event_loop):
8463 don't convert NULL structures to strings
8465 2005-08-15 Stefan Kost <ensonic@users.sf.net>
8467 * docs/gst/gstreamer-sections.txt:
8468 made some defines private
8469 * docs/gst/tmpl/gstconfig.sgml:
8470 * docs/gst/tmpl/gstqueue.sgml:
8471 * docs/gst/tmpl/gsttaglist.sgml:
8472 * docs/gst/tmpl/gsttypes.sgml:
8473 * docs/gst/tmpl/gstutils.sgml:
8474 * docs/pwg/appendix-porting.xml:
8475 * gst/base/gstbasesink.h:
8476 * gst/base/gstbasesrc.c:
8477 * gst/base/gstbasesrc.h:
8478 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
8479 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8480 * gst/gstelement.c: (gst_element_class_init):
8481 * gst/gstpad.c: (gst_pad_class_init):
8482 * gst/gstqueue.c: (gst_queue_class_init):
8483 * gst/gstxml.c: (gst_xml_class_init):
8484 documented all undocumented signal inline
8485 * libs/gst/controller/gst-controller.h:
8488 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8490 * docs/pwg/appendix-porting.xml:
8491 Document _set_link_function -> _set_setcaps_function.
8493 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8495 * check/Makefile.am:
8496 add a .check target for running the check
8497 * check/gst-libs/controller.c: (GST_START_TEST):
8499 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8500 complete checks for gstbuffer; would be nice if I could get the
8501 gcov stuff to work so I can see if I actually completed gstbuffer.c
8503 add ASSERT_BUFFER_REFCOUNT
8505 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
8507 * docs/gst/gstreamer-sections.txt:
8508 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8510 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8511 spew out a warning if a tag that is already registered
8512 is re-registered, unless it is re-registered with a
8513 different type (#308438).
8515 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
8517 * docs/pwg/appendix-porting.xml:
8518 * docs/pwg/building-state.xml:
8519 Add some paragraphs about state changes in 0.9 to the PWG
8520 and the porting guide, in particular about the new meaning
8521 of GST_STATE_PAUSED and how to write state change functions
8522 with concurrent access by multiple threads in mind.
8524 2005-08-11 Stefan Kost <ensonic@users.sf.net>
8526 * docs/gst/gstreamer-docs.sgml:
8527 * docs/libs/gstreamer-libs-docs.sgml:
8528 added deprecation and since indexes
8529 * libs/gst/controller/gst-controller.c:
8530 * libs/gst/controller/gst-helper.c:
8534 2005-08-11 Wim Taymans <wim@fluendo.com>
8536 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8537 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8538 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8539 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8540 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8541 (gst_ghost_pad_set_target):
8542 Actually implement (re)setting the target on a ghostpad
8543 as described in the docs.
8545 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8547 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8548 Check whether GST_DEBUG_NO_COLOR environment variable is
8549 set and disable coloured debug output if that is the case.
8551 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8553 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8554 (gst_type_find_helper):
8555 The memory returned by gst_type_find_peek() needs to
8556 stay valid until the end of a typefind function, and
8557 typefind functions may keep results from different
8558 offsets around, so we can't just unref the buffer from
8559 the previous _peek(), but have to save all buffers
8560 returned by _peek() until typefinding is done and only
8563 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
8565 * docs/gst/gstreamer-sections.txt:
8567 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8569 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8571 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8572 Fix a pretty good memleak.
8574 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8576 * gst/gstiterator.h:
8577 Fix wrong include and 'make distcheck'.
8579 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8581 * gst/gstbin.c: (bin_bus_handler):
8582 Use gst_element_post_message() instead.
8584 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8586 * gst/base/gstadapter.h:
8587 * gst/base/gstbasesink.h:
8588 * gst/base/gstbasesrc.h:
8589 * gst/base/gstbasetransform.h:
8590 * gst/base/gstcollectpads.h:
8591 * gst/base/gstpushsrc.h:
8592 * gst/gstiterator.h:
8593 Add padding to our base elements' class and instance structs and
8594 to GstIterator (you will need to rebuild all plugins and apps!)
8596 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8598 * gst/gstbin.c: (bin_bus_handler):
8599 Make default message forwarding from child->bus to bin->bus
8600 threadsafe and make it not emit warnings if the parent has no bus.
8602 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8604 * gst/gstelement.c: (activate_pads):
8605 On paused->ready, set pad->caps to NULL, as is the documented
8606 behaviour in this state change. Fixes playback of series of
8607 media files when visualization is enabled in Totem.
8609 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8611 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8612 Allow NULL as filter-caps (which means "any").
8614 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8616 * docs/libs/gstreamer-libs-sections.txt:
8617 * libs/gst/controller/gst-controller.c:
8618 * libs/gst/controller/gst-controller.h:
8619 * libs/gst/controller/gst-helper.c:
8620 adding more entries to the docs and fix small doc-bugs
8622 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8624 * docs/gst/gstreamer-docs.sgml:
8625 * docs/gst/gstreamer-sections.txt:
8626 * docs/gst/gstreamer.types:
8627 * docs/gst/tmpl/gstbasesink.sgml:
8628 * docs/gst/tmpl/gstbasesrc.sgml:
8629 * docs/gst/tmpl/gstbasetransform.sgml:
8630 * docs/gst/tmpl/gstfakesrc.sgml:
8631 * gst/base/gstcollectpads.c:
8632 * gst/base/gstcollectpads.h:
8633 * libs/gst/controller/gst-controller.c:
8634 * libs/gst/controller/gst-controller.h:
8635 * libs/gst/controller/gst-helper.c:
8636 * libs/gst/controller/gst-interpolation.c:
8637 * libs/gst/controller/lib.c:
8638 added long/short desc for controller docs
8639 added collectpads base class docs
8640 added correct includes to base-class docs
8642 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8644 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8645 (gst_test_mono_source_set_property),
8646 (gst_test_mono_source_class_init), (GST_START_TEST),
8647 (gst_controller_suite):
8648 * docs/gst/gstreamer-docs.sgml:
8649 * docs/gst/gstreamer-sections.txt:
8650 * docs/gst/gstreamer.types:
8651 * docs/libs/gstreamer-libs-docs.sgml:
8652 * docs/libs/gstreamer-libs-sections.txt:
8653 * gst/base/gstadapter.c:
8654 * libs/gst/controller/gst-controller.c:
8655 (gst_controlled_property_new), (gst_controlled_property_free),
8656 (gst_controller_new_valist),
8657 (gst_controller_remove_properties_valist),
8658 (gst_controller_sink_values), (_gst_controller_finalize):
8659 * libs/gst/controller/gst-controller.h:
8660 * libs/gst/controller/gst-helper.c:
8661 (gst_object_control_properties), (gst_object_uncontrol_properties),
8662 (gst_object_get_controller), (gst_object_set_controller),
8663 (gst_object_sink_values), (gst_object_get_value_arrays),
8664 (gst_object_get_value_array):
8665 more tests (and fixes) for the controller
8666 more docs for the controller
8667 integrated companies docs for the adapter
8669 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
8671 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8672 (GST_START_TEST), (fakesrc_suite):
8673 add tests for sizetype
8675 2005-08-04 Andy Wingo <wingo@pobox.com>
8677 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8678 fixes buffer_alloc proxying among other things.
8680 * gst/base/gstbasetransform.c:
8681 * gst/base/gstbasetransform.h:
8682 Revert patch to gstbasetransform from 7-28 removing
8685 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8686 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8687 Semantics changed, should return not the size of the output buffer
8688 but the byte size of a buffer with a given caps.
8690 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8692 (gst_base_transform_configure_caps): Don't set out_size here: (in,
8693 out) are not the pad caps until setcaps finishes.
8694 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8695 not-in-place case as well. Deal with changing from in-place to
8696 not-in-place within calling pad_alloc_buffer. Still a bit
8697 concerned about the overhead here...
8699 2005-08-03 Andy Wingo <wingo@pobox.com>
8701 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8702 fixating is an error.
8704 2005-08-04 Edward Hervey <edward@fluendo.com>
8706 * gst/base/gstadapter.h:
8707 Added gst_adapter_get_type() to the header
8709 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8711 * check/Makefile.am:
8712 * check/gst-libs/controller.c:
8713 * libs/gst/controller/gst-controller.c:
8714 (gst_controller_new_valist):
8715 added check test suite for the controller
8716 * gst/base/gstpushsrc.c:
8719 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8721 * docs/gst/Makefile.am:
8722 * docs/gst/gstreamer-docs.sgml:
8723 * docs/gst/gstreamer-sections.txt:
8724 * docs/gst/gstreamer.types:
8725 * docs/gst/tmpl/gstfakesrc.sgml:
8727 * gst/base/gstbasesink.c:
8728 * gst/base/gstbasesink.h:
8729 * gst/base/gstbasesrc.c:
8730 * gst/base/gstbasesrc.h:
8731 * gst/base/gstbasetransform.c:
8732 * gst/base/gstpushsrc.c:
8733 * gst/base/gstpushsrc.h:
8734 add short/long description docs to base classes
8735 add pushsrc to the docs
8736 remove consolidated doc fragments
8738 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8741 * docs/libs/Makefile.am:
8742 * docs/libs/gstreamer-libs-docs.sgml:
8743 * docs/libs/gstreamer-libs-sections.txt:
8744 * docs/libs/gstreamer-libs.types:
8745 * examples/Makefile.am:
8746 * examples/controller/.cvsignore:
8747 * examples/controller/Makefile.am:
8748 * examples/controller/audio-example.c: (main):
8749 * libs/gst/Makefile.am:
8750 * libs/gst/controller/.cvsignore:
8751 * libs/gst/controller/Makefile.am:
8752 * libs/gst/controller/gst-controller.c:
8753 (on_object_controlled_property_changed), (gst_timed_value_compare),
8754 (gst_timed_value_find),
8755 (gst_controlled_property_set_interpolation_mode),
8756 (gst_controlled_property_new), (gst_controlled_property_free),
8757 (gst_controller_find_controlled_property),
8758 (gst_controller_new_valist), (gst_controller_new),
8759 (gst_controller_remove_properties_valist),
8760 (gst_controller_remove_properties), (gst_controller_set),
8761 (gst_controller_set_from_list), (gst_controller_unset),
8762 (gst_controller_get), (gst_controller_get_all),
8763 (gst_controller_sink_values), (gst_controller_get_value_arrays),
8764 (gst_controller_get_value_array),
8765 (gst_controller_set_interpolation_mode),
8766 (_gst_controller_finalize), (_gst_controller_init),
8767 (_gst_controller_class_init), (gst_controller_get_type):
8768 * libs/gst/controller/gst-controller.h:
8769 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8770 (g_object_uncontrol_properties), (g_object_get_controller),
8771 (g_object_set_controller), (g_object_sink_values),
8772 (g_object_get_value_arrays), (g_object_get_value_array):
8773 * libs/gst/controller/gst-interpolation.c:
8774 (gst_controlled_property_find_timed_value_node),
8775 (interpolate_none_get), (interpolate_trigger_get),
8776 (interpolate_trigger_get_value_array):
8777 * libs/gst/controller/lib.c: (gst_controller_init):
8778 * pkgconfig/Makefile.am:
8779 * pkgconfig/gstreamer-control-uninstalled.pc.in:
8780 * pkgconfig/gstreamer-control.pc.in:
8781 * testsuite/Makefile.am:
8782 * testsuite/controller/.cvsignore:
8783 * testsuite/controller/Makefile.am:
8784 * testsuite/controller/interpolator.c: (main):
8785 added controller code
8786 removed dparam pc files
8788 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8789 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8790 (gst_collectpads_stop):
8791 Broadcast the condition when shutting down, to make sure we wake all
8792 threads up. Shut down pads on finalize, for safety.
8794 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8795 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8796 (gst_base_transform_handle_buffer),
8797 (gst_base_transform_change_state):
8798 Handle PAUSED->READY->PAUSED transition after negotiation
8800 * gst/gstmessage.c: (gst_message_init):
8801 Extra piece of debug for new messages.
8803 2005-08-01 Stefan Kost <ensonic@users.sf.net>
8806 * docs/gst/tmpl/gstbasesrc.sgml:
8807 * docs/gst/tmpl/gstelement.sgml:
8808 * docs/gst/tmpl/gstevent.sgml:
8809 * docs/gst/tmpl/gstfakesrc.sgml:
8810 * docs/gst/tmpl/gstformat.sgml:
8811 * docs/gst/tmpl/gstghostpad.sgml:
8812 * docs/gst/tmpl/gstpad.sgml:
8813 * docs/gst/tmpl/gstquery.sgml:
8814 * docs/gst/tmpl/gststructure.sgml:
8815 * docs/gst/tmpl/gsttaglist.sgml:
8816 * docs/gst/tmpl/gstvalue.sgml:
8817 * docs/libs/gstreamer-libs-docs.sgml:
8818 * docs/libs/gstreamer-libs-sections.txt:
8819 * docs/libs/gstreamer-libs.types:
8820 * libs/gst/Makefile.am:
8821 * libs/gst/control/.cvsignore:
8822 * libs/gst/control/Makefile.am:
8823 * libs/gst/control/control.c:
8824 * libs/gst/control/control.h:
8825 * libs/gst/control/dparam.c:
8826 * libs/gst/control/dparam.h:
8827 * libs/gst/control/dparam_smooth.c:
8828 * libs/gst/control/dparam_smooth.h:
8829 * libs/gst/control/dparamcommon.h:
8830 * libs/gst/control/dparammanager.c:
8831 * libs/gst/control/dparammanager.h:
8832 * libs/gst/control/dplinearinterp.c:
8833 * libs/gst/control/dplinearinterp.h:
8834 * libs/gst/control/unitconvert.c:
8835 * libs/gst/control/unitconvert.h:
8836 * testsuite/Makefile.am:
8837 * testsuite/dynparams/.cvsignore:
8838 * testsuite/dynparams/Makefile.am:
8839 * testsuite/dynparams/dparamstest.c:
8840 * tools/Makefile.am:
8841 * tools/gst-inspect.c: (print_element_info), (main):
8842 * tools/gst-xmlinspect.c: (print_element_info), (main):
8843 deactivate and remove dparams (libgstcontrol)
8845 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8847 * gst/elements/gsttypefindelement.c:
8848 (gst_type_find_element_have_type), (gst_type_find_element_init),
8849 (stop_typefinding), (gst_type_find_element_handle_event),
8850 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8851 * gst/elements/gsttypefindelement.h:
8852 Set caps on all outgoing buffers, not just the first one.
8854 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8856 * gst/elements/gsttypefindelement.c:
8857 (gst_type_find_element_have_type),
8858 (gst_type_find_element_check_set_buffer_caps),
8859 (gst_type_find_element_init), (stop_typefinding),
8860 (gst_type_find_element_handle_event),
8861 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8862 * gst/elements/gsttypefindelement.h:
8863 Set caps on first outgoing buffer when we've found the type.
8865 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8867 * docs/gst/gstreamer-docs.sgml:
8868 * docs/gst/gstreamer-sections.txt:
8869 * docs/gst/tmpl/gstscheduler.sgml:
8870 * docs/gst/tmpl/gstschedulerfactory.sgml:
8871 Remove some old cruft from docs.
8873 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
8876 Fix inline docs for GstPadLinkReturn.
8878 * gst/gststructure.c: (gst_structure_has_name):
8879 * gst/gststructure.h:
8880 * docs/gst/gstreamer-sections.txt:
8881 New API: gst_structure_has_name().
8883 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
8886 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8887 and _LARGEFILE_SOURCE in config.h as required. Do not
8888 export those flags in our .pc files any longer (#142209).
8890 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8892 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8893 (gst_file_sink_do_seek), (gst_file_sink_event),
8894 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8895 Redo seek/tell calls with large file support in mind; add some
8896 debugging messages; add log message that tells us when large
8897 file support is unavailable or not enabled for some reason.
8899 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
8900 Add log message that tells us when large file support
8901 is unavailable or not enabled for some reason.
8903 2005-07-29 Wim Taymans <wim@fluendo.com>
8905 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8906 Added test for removing an element with ghostpad from a bin.
8907 Fixed test as current implementation does the right thing.
8909 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
8910 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
8911 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
8912 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
8913 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
8914 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8915 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8916 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8917 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
8918 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
8919 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
8920 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
8921 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8922 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
8923 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
8924 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
8925 * gst/gstghostpad.h:
8926 Clean up ghostpads, remove properties for internal stuff.
8929 Prepare for switching targets, not all use cases work yet.
8931 2005-07-29 Wim Taymans <wim@fluendo.com>
8933 * docs/design/part-gstghostpad.txt:
8936 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8937 (gst_bin_remove_func):
8938 Unlinking pads while holding the bin LOCK is not a good
8941 * gst/gstpad.c: (gst_pad_class_init),
8942 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
8943 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
8944 No prob setting template after creating the pad.
8946 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
8948 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
8949 (gst_bus_peek), (gst_bus_source_dispatch),
8950 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
8951 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
8952 gst_bus_poll may be called from other threads. Handle
8953 this nicely by not making poll_data disappear off the
8954 stack once gst_bus_poll returns.
8955 gst_bus_peek now increments the refcount on the returned
8958 2005-07-29 Wim Taymans <wim@fluendo.com>
8960 * docs/design/part-gstghostpad.txt:
8961 Overview of current GhostPad datastructures and use
8962 cases for changing the target.
8964 2005-07-28 Wim Taymans <wim@fluendo.com>
8966 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8967 Added checks for hierarchy consistency whan adding linked
8970 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
8971 Added check to test element scheduling without bin/pipeline.
8973 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
8974 First add elements to bin, then link.
8976 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
8977 (gst_bin_remove_func):
8978 Unlink pads from elements added/removed from bin to maintain
8979 hierarchy consistency.
8981 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8983 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
8984 (gst_base_transform_handle_buffer):
8985 * gst/base/gstbasetransform.h:
8986 Remove broken delay_configure (fixes renegotiation of software
8987 scaling pipelines); remove some leftover printf()s.
8989 2005-07-28 Wim Taymans <wim@fluendo.com>
8991 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
8992 Added some more tests for wrong hierarchy
8994 * docs/design/part-overview.txt:
8997 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
9000 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
9001 (gst_element_dispose):
9004 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9005 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
9006 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9007 (gst_pad_set_caps), (gst_pad_send_event):
9008 Check for correct hierarchy when linking pads. Moving to
9009 strict requirement for ghostpads when linking elements in
9013 Clean ups. Added WRONG_HIERARCHY return value.
9015 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9017 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9018 Better debug if no transform is possible.
9020 2005-07-27 Wim Taymans <wim@fluendo.com>
9022 * docs/random/wtay/network-transp:
9025 2005-07-27 Wim Taymans <wim@fluendo.com>
9027 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9028 (gst_dp_event_from_packet):
9029 Fix serialization of seek events.
9031 2005-07-27 Wim Taymans <wim@fluendo.com>
9033 * check/gst-libs/gdp.c: (GST_START_TEST):
9034 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9035 Fix compilation and fix event serialization.
9037 2005-07-27 Wim Taymans <wim@fluendo.com>
9040 * docs/design/part-TODO.txt:
9041 * docs/design/part-events.txt:
9044 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9045 (gst_base_sink_event), (gst_base_sink_do_sync),
9046 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
9047 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9048 (gst_base_src_do_seek), (gst_base_src_event_handler),
9049 (gst_base_src_loop):
9050 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9051 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9052 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9053 (gst_base_transform_event), (gst_base_transform_handle_buffer),
9054 (gst_base_transform_set_passthrough),
9055 (gst_base_transform_is_passthrough):
9056 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9057 * gst/elements/gstfilesink.c: (gst_file_sink_event):
9063 * gst/gstelement.c: (gst_element_seek):
9065 Update gst_element_seek.
9067 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
9068 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
9069 (gst_event_new_flush_start), (gst_event_new_flush_stop),
9070 (gst_event_new_eos), (gst_event_new_newsegment),
9071 (gst_event_parse_newsegment), (gst_event_new_tag),
9072 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
9073 (gst_event_parse_qos), (gst_event_new_seek),
9074 (gst_event_parse_seek), (gst_event_new_navigation):
9076 Make GstEvent use GstStructure. Add parsing code, make sure the
9077 API is sufficiently generic.
9078 Mark possible directions of events and serialization.
9080 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
9081 (_gst_message_copy), (gst_message_new_segment_start),
9082 (gst_message_new_segment_done), (gst_message_new_custom),
9083 (gst_message_parse_segment_start),
9084 (gst_message_parse_segment_done):
9087 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9088 (gst_pad_set_caps), (gst_pad_send_event):
9089 Update for new events.
9090 Catch events sent in wrong directions.
9092 * gst/gstqueue.c: (gst_queue_link_src),
9093 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
9094 (gst_queue_handle_src_query):
9099 Remove event code from this file.
9101 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9102 (gst_dp_event_from_packet):
9105 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9107 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
9108 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9109 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
9110 Make debugging actually useful.
9112 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9114 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
9115 (gst_pad_fixate_caps):
9116 Implement default fixation once again, so that gst_pad_fixate()
9117 actually does anything at all. This probably needs to be some
9118 sort of a last resort, and use profile-based fixation first, but
9119 since that doesn't exist yet, this is the best we have. Fixes
9120 visualization in Totem.
9122 2005-07-22 Wim Taymans <wim@fluendo.com>
9124 * docs/design/part-events.txt:
9127 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9128 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
9129 (gst_base_sink_activate_pull):
9132 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
9133 (gst_fake_src_create):
9134 Fix handoff marshall.
9136 * gst/elements/gstidentity.c: (gst_identity_class_init),
9137 (gst_identity_transform_ip):
9138 We're a real inplace element.
9140 * gst/gstbus.c: (gst_bus_post):
9141 Added some comments.
9143 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
9144 * tests/muxing/case1.c: (main):
9145 * tests/sched/dynamic-pipeline.c: (main):
9146 * tests/sched/interrupt1.c: (main):
9147 * tests/sched/interrupt2.c: (main):
9148 * tests/sched/interrupt3.c: (main):
9149 * tests/sched/runxml.c: (main):
9150 * tests/sched/sched-stress.c: (main):
9151 * tests/seeking/seeking1.c: (event_received), (main):
9152 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
9154 * tests/threadstate/threadstate3.c: (main):
9155 * tests/threadstate/threadstate4.c: (main):
9156 * tests/threadstate/threadstate5.c: (main):
9159 2005-07-21 Wim Taymans <wim@fluendo.com>
9161 * docs/design/part-seeking.txt:
9162 Some small additions.
9164 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9165 (gst_base_sink_get_times), (gst_base_sink_do_sync),
9166 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
9167 * gst/base/gstbasesink.h:
9168 discont values are gint64, handle the math correctly.
9170 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9171 Make the basesrc report error if the source pad is not linked.
9173 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
9174 (gst_queue_loop), (gst_queue_handle_src_query),
9175 (gst_queue_src_activate_push):
9176 Make queue collect data even if the srcpad is not linked.
9177 Start pushing out data as soon as it is linked.
9179 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
9181 Added gst_flow_get_name() to ease error reporting.
9183 2005-07-20 Wim Taymans <wim@fluendo.com>
9185 * gst/gstmessage.c: (gst_message_new_segment_start),
9186 (gst_message_new_segment_done), (gst_message_parse_segment_start),
9187 (gst_message_parse_segment_done):
9189 Added a bunch of messages for advanced seeking.
9191 * gst/parse/grammar.y:
9192 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
9193 (gst_dpman_state_changed):
9194 Fix some new-pad -> pad-added signals
9196 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9198 * docs/manual/appendix-porting.xml:
9199 * docs/pwg/appendix-porting.xml:
9200 Document new-pad/state-change signal renames and the FixedList
9203 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9205 * docs/manual/advanced-autoplugging.xml:
9206 * docs/manual/basics-helloworld.xml:
9207 * docs/manual/basics-pads.xml:
9208 * docs/random/ds/0.9-suggested-changes:
9209 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
9214 * gst/gststructure.c: (gst_structure_value_get_generic_type),
9215 (gst_structure_parse_array), (gst_structure_parse_value):
9216 * gst/gstvalue.c: (gst_type_is_fixed),
9217 (gst_value_list_prepend_value), (gst_value_list_append_value),
9218 (gst_value_list_get_size), (gst_value_list_get_value),
9219 (gst_value_transform_array_string), (gst_value_serialize_array),
9220 (gst_value_deserialize_array), (gst_value_intersect_array),
9221 (gst_value_is_fixed), (_gst_value_initialize):
9223 GstElement::new-pad -> pad-added, GstElement::state-change ->
9224 state-changed, GstValueFixedList -> GstValueArray, add format and
9225 flags as their own arguments in gst_element_seek() (should improve
9226 "bindeability"), remove function generators since they don't work
9227 under a whole bunch of compilers (they were deprecated already
9230 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9232 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
9233 (_gst_debug_register_funcptr):
9235 Fix illegal cast on some platforms (#309253).
9237 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9239 * gst/gstmessage.c: (gst_message_new_custom):
9241 Add _new_custom, make _new_application a macro to _new_custom.
9243 2005-07-20 Wim Taymans <wim@fluendo.com>
9245 * gst/base/gstbasesrc.c: (gst_base_src_init),
9246 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
9247 * gst/base/gstbasesrc.h:
9248 Add a gboolean to decide when to push out a discont.
9250 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9251 (gst_queue_loop), (gst_queue_handle_src_query),
9252 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
9253 (gst_queue_set_property), (gst_queue_get_property):
9256 * tests/threadstate/threadstate1.c: (main):
9257 Make a thread test compile and run... very silly..
9260 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9262 * docs/manual/appendix-porting.xml:
9263 Mention removal of libgstgconf-0.9.la and existence of gconf
9266 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9268 * docs/pwg/advanced-clock.xml:
9269 * docs/pwg/appendix-porting.xml:
9270 * docs/pwg/intro-preface.xml:
9271 * docs/pwg/other-base.xml:
9272 * docs/pwg/other-manager.xml:
9273 * docs/pwg/other-nton.xml:
9274 * docs/pwg/other-ntoone.xml:
9275 * docs/pwg/other-oneton.xml:
9277 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
9278 demuxer), remove n-to-n (was never written), fix some code examples
9279 and links and update the porting section to include all this.
9281 2005-07-19 Wim Taymans <wim@fluendo.com>
9283 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
9284 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
9285 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
9286 (gst_queue_src_activate_push), (gst_queue_change_state),
9287 (gst_queue_get_property):
9289 Propagate GstFlowReturn more intelligently upstream and output
9290 an ERROR/EOS when streaming stopped due to fatal error.
9292 2005-07-19 Wim Taymans <wim@fluendo.com>
9294 * tools/gst-launch.c: (check_intr), (event_loop), (main):
9295 Don't block forever for the state change to complete, the
9296 pipeline already did with a sensible timeout.
9298 2005-07-19 Wim Taymans <wim@fluendo.com>
9300 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9301 Make sure we never call the create function is we
9304 2005-07-19 Andy Wingo <wingo@pobox.com>
9306 * gst/parse/parse.l: Attempt to solve bug #172815.
9308 2005-07-19 Wim Taymans <wim@fluendo.com>
9310 * docs/design/part-clocks.txt:
9311 * docs/design/part-events.txt:
9312 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
9314 Only update the seeking values when we are not
9317 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
9319 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9320 Oops, ignore the result of gst_pad_push_event here.
9322 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
9324 * gst/base/gstbasesrc.c: (gst_base_src_loop),
9325 (gst_base_src_activate_push):
9326 Send discont event from the loop function, as pads
9327 aren't activated yet in the activate_push handler.
9329 * gst/gstbin.c: (bin_bus_handler):
9330 Don't leak element name.
9332 2005-07-18 Andy Wingo <wingo@pobox.com>
9334 * configure.ac: Use AS_LIBTOOL_TAGS.
9336 2005-07-18 Wim Taymans <wim@fluendo.com>
9338 * docs/gst/gstreamer.types:
9339 Remove deleted types.
9341 2005-07-18 Wim Taymans <wim@fluendo.com>
9343 * check/elements/gstfakesrc.c: (GST_START_TEST):
9346 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
9347 (init_popt_callback):
9349 * gst/gst_private.h:
9350 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
9351 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
9354 * gst/gstconfig.h.in:
9355 * gst/gstelement.c: (gst_element_class_init),
9356 (gst_element_set_base_time), (gst_element_get_base_time),
9357 (iterator_fold_with_resync), (gst_element_change_state),
9358 (gst_element_dispose), (gst_element_get_bus):
9360 * gst/gstelementfactory.h:
9361 * gst/gsterror.c: (_gst_core_errors_init):
9364 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9366 * gst/gstinfo.c: (_gst_debug_init):
9367 * gst/gstmessage.c: (_gst_message_copy):
9369 * gst/gstminiobject.h:
9372 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9373 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
9376 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9377 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9378 (gst_pipeline_get_last_stream_time):
9379 * gst/gstpipeline.h:
9380 * gst/gstpluginfeature.h:
9382 * gst/gstscheduler.c:
9383 * gst/gstscheduler.h:
9384 * gst/gststructure.h:
9385 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9386 (gst_task_finalize), (gst_task_func), (gst_task_create),
9387 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
9388 (gst_task_stop), (gst_task_pause):
9390 * gst/gsttypefind.h:
9392 * gst/registries/gstlibxmlregistry.c: (load_feature),
9393 (gst_xml_registry_load), (gst_xml_registry_save_feature):
9394 * gst/registries/gstxmlregistry.c:
9395 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
9396 * gst/schedulers/threadscheduler.c:
9397 * libs/gst/control/dparammanager.h:
9398 * tools/gst-inspect.c: (print_element_list),
9399 (print_plugin_features), (print_element_features):
9400 * tools/gst-xmlinspect.c: (print_element_list),
9401 (print_plugin_info), (main):
9402 Removed plugable schedulers.
9403 Removed Scheduler/Manager from elements.
9404 Removed gsttypes.h, rearranged includes.
9405 Removed dependency pad<->element, element<>pipeline, and
9406 various others, fix includes.
9407 implement gst_pad_get_parent() with gst_object_get_parent()
9408 Make GstTask sefcontained.
9409 Fix _get_state() on GstBin, it did not return ASYNC with a 0
9411 Fix endless loop in iterator_fold_with_resync.
9414 2005-07-18 Wim Taymans <wim@fluendo.com>
9420 2005-07-18 Wim Taymans <wim@fluendo.com>
9425 2005-07-18 Wim Taymans <wim@fluendo.com>
9431 2005-07-18 Wim Taymans <wim@fluendo.com>
9433 * docs/design/part-dynamic.txt:
9434 * docs/design/part-events.txt:
9435 * docs/design/part-seeking.txt:
9436 Some more docs in the works.
9438 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9439 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
9440 (gst_base_transform_setcaps), (gst_base_transform_get_size),
9441 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
9442 (gst_base_transform_handle_buffer),
9443 (gst_base_transform_sink_activate_push),
9444 (gst_base_transform_src_activate_pull),
9445 (gst_base_transform_set_passthrough),
9446 (gst_base_transform_is_passthrough):
9449 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
9452 * gst/gstevent.c: (gst_event_finalize):
9455 * gst/gstutils.c: (gst_element_unlink),
9456 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
9457 (gst_pad_proxy_setcaps):
9459 Add _get_parent_element() to get a pads parent as an element.
9461 2005-07-18 Wim Taymans <wim@fluendo.com>
9463 * check/gst/gstbin.c: (GST_START_TEST):
9466 2005-07-18 Wim Taymans <wim@fluendo.com>
9468 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9469 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9470 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9471 (gst_base_sink_event), (gst_base_sink_do_sync),
9472 (gst_base_sink_chain), (gst_base_sink_loop),
9473 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
9474 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
9476 Fix logic for returning ASYNC when not prerolled.
9478 2005-07-18 Wim Taymans <wim@fluendo.com>
9480 * gst/gstqueue.c: (gst_queue_handle_sink_event):
9481 Fix nasty refcount bug.
9483 2005-07-16 Philippe Khalaf <burger@speedy.org>
9485 * gst/elements/gstfdsrc.c:
9486 * gst/elements/gstfdsrc.h:
9487 * gst/elements/gstelements.c:
9488 * gst/elements/Makefile.am:
9489 Ported fdsrc to 0.9.
9491 2005-07-16 Wim Taymans <wim@fluendo.com>
9493 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9494 (gst_base_sink_do_sync):
9497 2005-07-16 Wim Taymans <wim@fluendo.com>
9499 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9500 (gst_base_sink_event), (gst_base_sink_get_times),
9501 (gst_base_sink_do_sync), (gst_base_sink_change_state):
9502 * gst/base/gstbasesink.h:
9503 Store and use discont values when syncing buffers as described
9506 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9507 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9508 (gst_base_src_activate_push):
9509 Push discont event when starting.
9511 * gst/elements/gstidentity.c: (gst_identity_transform):
9514 * gst/gstbin.c: (gst_bin_change_state):
9515 Small cleanups in base_time distribution.
9517 * gst/gstelement.c: (gst_element_set_base_time),
9518 (gst_element_get_base_time), (gst_element_change_state):
9520 Added methods for the base_time of the element.
9523 * gst/gstpipeline.c: (gst_pipeline_send_event),
9524 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9525 (gst_pipeline_get_last_stream_time):
9526 * gst/gstpipeline.h:
9528 Handle seeking as described in design doc, remove stream_time
9530 Cleanups clock and stream_time selection code. Added accessors
9531 for the stream_time.
9534 2005-07-16 Andy Wingo <wingo@pobox.com>
9536 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9539 2005-07-16 Wim Taymans <wim@fluendo.com>
9541 * check/gst/gstbin.c: (GST_START_TEST):
9542 Make elements silent as the deep_notify refs the
9543 parent, which might make the test fail.
9545 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9546 Don't hold the lock for too long.
9548 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
9550 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9551 Don't unref the caps we passed to gst_caps_make_writable() after
9552 passing them. gst_caps_make_writable() will do that for us.
9554 2005-07-15 Andy Wingo <wingo@pobox.com>
9556 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9559 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9560 own marshalling function for the handoff signal. Properly type the
9561 buffer as a buffer. Fixes some warnings. Should do a more general
9563 (gst_identity_class_init): Plug into the right marshaller.
9565 2005-07-15 Wim Taymans <wim@fluendo.com>
9567 * docs/design/part-TODO.txt:
9568 * docs/design/part-clocks.txt:
9569 * docs/design/part-element-sink.txt:
9570 * docs/design/part-events.txt:
9571 * docs/design/part-gstpipeline.txt:
9572 Updated docs, mostly DISCONT related.
9574 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
9576 * docs/pwg/building-pads.xml:
9577 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9579 2005-07-15 Andy Wingo <wingo@pobox.com>
9581 * tools/gst-typefind.c: Update, add copyright block.
9583 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9584 Normalize and truncate caps before fixation.
9587 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9588 discards all but the first structure from its argument.
9590 2005-07-15 Wim Taymans <wim@fluendo.com>
9592 * gst/base/gstbasetransform.c: (gst_base_transform_init),
9593 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9594 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9595 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9596 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9597 (gst_base_transform_chain), (gst_base_transform_change_state),
9598 (gst_base_transform_set_passthrough),
9599 (gst_base_transform_is_passthrough):
9600 * gst/base/gstbasetransform.h:
9601 Make passthrough work using the bufferpools.
9602 Changed API a bit, subclasses have to write into a buffer
9603 provided by the base class.
9604 More debug info in nego functions.
9606 * gst/elements/gstidentity.c: (gst_identity_init),
9607 (gst_identity_transform):
9608 Port to new base class.
9610 2005-07-15 Wim Taymans <wim@fluendo.com>
9612 * gst/gstmessage.c: (gst_message_new_state_changed):
9613 * tools/gst-launch.c: (event_loop), (main):
9614 Totally dump messages in -launch with the -m option.
9615 Fix message name for State messages,
9617 2005-07-14 Wim Taymans <wim@fluendo.com>
9619 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9620 Post error messages on errors.
9622 2005-07-14 Wim Taymans <wim@fluendo.com>
9624 * gst/gstcaps.c: (gst_caps_do_simplify):
9628 Define error for stream stopped.
9630 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9631 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9632 Do proper return values.
9634 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9635 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9636 (gst_pad_get_range):
9637 Better return values.
9640 Reorganise return values, add macro to check for fatal errors.
9642 * gst/gstqueue.c: (gst_queue_chain):
9643 Return proper GstFlowReturn values,
9645 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
9647 * docs/gst/gstreamer-sections.txt:
9648 * docs/gst/gstreamer.types:
9649 * docs/gst/tmpl/gst.sgml:
9650 * docs/gst/tmpl/gstbasesink.sgml:
9651 * docs/gst/tmpl/gstbasesrc.sgml:
9652 * docs/gst/tmpl/gstbasetransform.sgml:
9653 * docs/gst/tmpl/gstbin.sgml:
9654 * docs/gst/tmpl/gstbuffer.sgml:
9655 * docs/gst/tmpl/gstcaps.sgml:
9656 * docs/gst/tmpl/gstclock.sgml:
9657 * docs/gst/tmpl/gstcompat.sgml:
9658 * docs/gst/tmpl/gstconfig.sgml:
9659 * docs/gst/tmpl/gstelement.sgml:
9660 * docs/gst/tmpl/gstelementdetails.sgml:
9661 * docs/gst/tmpl/gstelementfactory.sgml:
9662 * docs/gst/tmpl/gstenumtypes.sgml:
9663 * docs/gst/tmpl/gsterror.sgml:
9664 * docs/gst/tmpl/gstevent.sgml:
9665 * docs/gst/tmpl/gstfakesink.sgml:
9666 * docs/gst/tmpl/gstfakesrc.sgml:
9667 * docs/gst/tmpl/gstfilesink.sgml:
9668 * docs/gst/tmpl/gstfilesrc.sgml:
9669 * docs/gst/tmpl/gstfilter.sgml:
9670 * docs/gst/tmpl/gstformat.sgml:
9671 * docs/gst/tmpl/gstghostpad.sgml:
9672 * docs/gst/tmpl/gstimplementsinterface.sgml:
9673 * docs/gst/tmpl/gstindex.sgml:
9674 * docs/gst/tmpl/gstindexfactory.sgml:
9675 * docs/gst/tmpl/gstinfo.sgml:
9676 * docs/gst/tmpl/gstiterator.sgml:
9677 * docs/gst/tmpl/gstmacros.sgml:
9678 * docs/gst/tmpl/gstmemchunk.sgml:
9679 * docs/gst/tmpl/gstminiobject.sgml:
9680 * docs/gst/tmpl/gstobject.sgml:
9681 * docs/gst/tmpl/gstpad.sgml:
9682 * docs/gst/tmpl/gstpadtemplate.sgml:
9683 * docs/gst/tmpl/gstparse.sgml:
9684 * docs/gst/tmpl/gstpipeline.sgml:
9685 * docs/gst/tmpl/gstplugin.sgml:
9686 * docs/gst/tmpl/gstpluginfeature.sgml:
9687 * docs/gst/tmpl/gstquery.sgml:
9688 * docs/gst/tmpl/gstqueue.sgml:
9689 * docs/gst/tmpl/gstregistry.sgml:
9690 * docs/gst/tmpl/gstregistrypool.sgml:
9691 * docs/gst/tmpl/gstscheduler.sgml:
9692 * docs/gst/tmpl/gstschedulerfactory.sgml:
9693 * docs/gst/tmpl/gststructure.sgml:
9694 * docs/gst/tmpl/gstsystemclock.sgml:
9695 * docs/gst/tmpl/gsttaglist.sgml:
9696 * docs/gst/tmpl/gsttagsetter.sgml:
9697 * docs/gst/tmpl/gsttrace.sgml:
9698 * docs/gst/tmpl/gsttrashstack.sgml:
9699 * docs/gst/tmpl/gsttypefind.sgml:
9700 * docs/gst/tmpl/gsttypefindfactory.sgml:
9701 * docs/gst/tmpl/gsttypes.sgml:
9702 * docs/gst/tmpl/gsturihandler.sgml:
9703 * docs/gst/tmpl/gsturitype.sgml:
9704 * docs/gst/tmpl/gstutils.sgml:
9705 * docs/gst/tmpl/gstvalue.sgml:
9706 * docs/gst/tmpl/gstversion.sgml:
9707 * docs/gst/tmpl/gstxml.sgml:
9708 * docs/libs/tmpl/gstcontrol.sgml:
9709 * docs/libs/tmpl/gstdataprotocol.sgml:
9710 * docs/libs/tmpl/gstdparam.sgml:
9711 * docs/libs/tmpl/gstdplinint.sgml:
9712 * docs/libs/tmpl/gstdpman.sgml:
9713 * docs/libs/tmpl/gstdpsmooth.sgml:
9714 * docs/libs/tmpl/gstgetbits.sgml:
9715 * docs/libs/tmpl/gstunitconvert.sgml:
9716 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9717 (gst_push_src_base_init), (gst_push_src_class_init),
9718 (gst_push_src_init), (gst_push_src_create):
9719 * gst/base/gstpushsrc.h:
9720 * gst/elements/gstelements.c:
9721 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9722 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9723 (gst_fake_sink_init), (gst_fake_sink_set_property),
9724 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9725 (gst_fake_sink_event), (gst_fake_sink_preroll),
9726 (gst_fake_sink_render), (gst_fake_sink_change_state):
9727 * gst/elements/gstfakesink.h:
9728 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9729 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9730 (gst_fake_src_base_init), (gst_fake_src_class_init),
9731 (gst_fake_src_init), (gst_fake_src_event_handler),
9732 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9733 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9734 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9735 (gst_fake_src_create_buffer), (gst_fake_src_create),
9736 (gst_fake_src_start), (gst_fake_src_stop):
9737 * gst/elements/gstfakesrc.h:
9738 * gst/elements/gstfilesink.c: (_do_init),
9739 (gst_file_sink_base_init), (gst_file_sink_class_init),
9740 (gst_file_sink_init), (gst_file_sink_dispose),
9741 (gst_file_sink_set_location), (gst_file_sink_set_property),
9742 (gst_file_sink_get_property), (gst_file_sink_open_file),
9743 (gst_file_sink_close_file), (gst_file_sink_query),
9744 (gst_file_sink_event), (gst_file_sink_render),
9745 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9746 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9747 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9748 * gst/elements/gstfilesink.h:
9749 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9750 (gst_file_src_class_init), (gst_file_src_init),
9751 (gst_file_src_finalize), (gst_file_src_set_location),
9752 (gst_file_src_set_property), (gst_file_src_get_property),
9753 (gst_file_src_map_region), (gst_file_src_map_small_region),
9754 (gst_file_src_create_mmap), (gst_file_src_create_read),
9755 (gst_file_src_create), (gst_file_src_is_seekable),
9756 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9757 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9758 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9759 (gst_file_src_uri_handler_init):
9760 * gst/elements/gstfilesrc.h:
9761 more autistic cleanliness in functions/names/defines
9763 2005-07-13 Andy Wingo <wingo@pobox.com>
9765 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9766 source couldn't negotiate.
9768 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9772 * gst/gstutils.c (gst_element_link_pads_filtered): New old
9773 function. I am channeling Hades. Put your boots on suckers!!!
9775 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9777 * testsuite/caps/Makefile.am:
9778 * testsuite/caps/value_compare.c:
9779 * testsuite/caps/value_intersect.c:
9780 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9781 move two testsuite apps over to the check dir
9783 2005-07-12 Wim Taymans <wim@fluendo.com>
9785 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9786 Added more debug info in the negotiate process.
9789 Prepare for segment playback.
9791 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9797 * tools/gst-launch.c: (main):
9798 NULL pipeline on errors.
9800 2005-07-12 Andy Wingo <wingo@pobox.com>
9802 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9803 not it comes from a malloc region. Make sure our copy gets freed.
9805 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9807 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9808 * check/gst/gstmessage.c: (GST_START_TEST):
9809 * check/gst/gststructure.c: (GST_START_TEST),
9810 (gst_structure_suite), (main):
9812 * gst/gstelement.c: (gst_element_message_full):
9813 clean up GError and debug string now that they get copied
9814 * gst/gstmessage.c: (gst_message_new_error),
9815 (gst_message_new_warning), (gst_message_parse_error),
9816 (gst_message_parse_warning):
9817 use GST_TYPE_G_ERROR for structure_new, and take copies of
9818 arguments, so that we don't mess up refcounting
9820 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9822 * check/Makefile.am:
9823 add per-test valgrind targets
9824 * check/gst-libs/gdp.c: (GST_START_TEST),
9825 (gst_data_protocol_suite), (main):
9828 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9830 * check/Makefile.am:
9831 instate more valgrindable tests
9832 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9833 (GST_START_TEST), (fakesrc_suite):
9834 * check/gst/gstpad.c: (GST_START_TEST):
9835 * check/gst/gststructure.c: (GST_START_TEST):
9837 * docs/gst/tmpl/gstminiobject.sgml:
9838 * gst/gstpad.c: (gst_pad_finalize):
9839 fix the static mutex leak
9841 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9843 * check/Makefile.am:
9844 add two more tests for valgrinding
9845 * check/gst/gstvalue.c: (GST_START_TEST):
9846 test refcount of deserialized buffer, found a leak
9847 * docs/gst/gstreamer-docs.sgml:
9848 * docs/gst/gstreamer-sections.txt:
9849 * docs/gst/gstreamer.types:
9850 * docs/gst/tmpl/gstminiobject.sgml:
9851 add miniobject to docs
9852 * gst/gstminiobject.c:
9854 * gst/gstvalue.c: (gst_value_deserialize_buffer),
9855 (gst_string_unwrap):
9856 fix a hard-to-find invalid write for one of the tests
9857 fix a leak for deserialized buffers
9859 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9861 * docs/pwg/advanced-events.xml:
9862 * docs/pwg/advanced-request.xml:
9863 * docs/pwg/advanced-scheduling.xml:
9864 * docs/pwg/appendix-porting.xml:
9865 * docs/pwg/building-boiler.xml:
9866 * docs/pwg/intro-preface.xml:
9867 * docs/pwg/other-ntoone.xml:
9868 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9869 of example code and explanation for pad activation, loop() and
9870 getrange() functions and a bit more. Remove old comments pointing
9872 * examples/pwg/Makefile.am:
9873 Add loop/getrange examples.
9875 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9878 check for valgrind binary + some fixes
9880 valgrind suppressions for the tests
9881 * check/Makefile.am:
9882 add a valgrind: target that valgrinds the unit tests
9883 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9884 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9885 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9886 * check/gst/gstghostpad.c:
9888 * check/gst/gstdata.c:
9890 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9891 (thread_unref), (gst_mini_object_suite), (main):
9893 * gst/gst.c: (gst_deinit):
9895 add a method to clean up.
9896 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9897 (gst_system_clock_obtain):
9898 allow for disposing the system clock.
9899 * tools/gst-launch.c: (main):
9902 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9904 * docs/gst/tmpl/gstbasesrc.sgml:
9905 * docs/gst/tmpl/gstfakesrc.sgml:
9906 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9907 (gst_base_src_init), (gst_base_src_set_property),
9908 (gst_base_src_get_property), (gst_base_src_get_range),
9909 (gst_base_src_start):
9910 * gst/base/gstbasesrc.h:
9911 add num-buffers property
9912 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
9913 (gst_fakesrc_init), (gst_fakesrc_set_property),
9914 (gst_fakesrc_get_property), (gst_fakesrc_create),
9915 (gst_fakesrc_start):
9916 remove num-buffers property
9918 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9920 * docs/gst/gstreamer-sections.txt:
9921 * docs/gst/tmpl/gstbasesink.sgml:
9922 * docs/gst/tmpl/gstbasesrc.sgml:
9923 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9924 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9925 (gst_base_sink_finalize), (gst_base_sink_set_clock),
9926 (gst_base_sink_set_property), (gst_base_sink_get_property),
9927 (gst_base_sink_handle_object), (gst_base_sink_event),
9928 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9929 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
9930 (gst_base_sink_loop), (gst_base_sink_deactivate),
9931 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
9932 (gst_base_sink_change_state):
9933 * gst/base/gstbasesink.h:
9934 * gst/base/gstbasesrc.h:
9935 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
9936 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
9937 (gst_filesink_init):
9938 more macro splitting
9940 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9942 * gst/gstelement.c: (gst_element_get_bus):
9944 * tools/gst-launch.c: (check_intr), (event_loop):
9947 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9949 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
9952 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
9954 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9955 (gst_base_src_finalize):
9956 add finalize method and clean up properly
9957 * gst/gstpipeline.c: (gst_pipeline_dispose):
9960 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9962 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
9964 add more things to check
9965 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
9969 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
9971 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9972 (GST_START_TEST), (fakesrc_suite):
9973 * check/gst-libs/gdp.c: (GST_START_TEST):
9974 * check/gst/gst.c: (GST_START_TEST):
9975 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9976 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9977 * check/gst/gstbus.c: (GST_START_TEST):
9978 * check/gst/gstcaps.c: (GST_START_TEST):
9979 * check/gst/gstdata.c: (GST_START_TEST):
9980 * check/gst/gstelement.c: (GST_START_TEST):
9981 * check/gst/gstghostpad.c: (GST_START_TEST):
9982 * check/gst/gstiterator.c: (GST_START_TEST):
9983 * check/gst/gstmessage.c: (GST_START_TEST):
9984 * check/gst/gstobject.c: (GST_START_TEST):
9985 * check/gst/gstpad.c: (GST_START_TEST):
9986 * check/gst/gststructure.c: (GST_START_TEST):
9987 * check/gst/gstsystemclock.c: (GST_START_TEST),
9988 (gst_systemclock_suite):
9989 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9990 * check/gst/gstvalue.c: (GST_START_TEST):
9991 * check/pipelines/cleanup.c: (GST_START_TEST):
9992 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9993 * check/states/sinks.c: (GST_START_TEST):
9994 * check/gstcheck.c: (gst_check_init):
9996 add debugging category
9997 use GST_START_TEST now, so we add a debug line
9999 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
10001 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
10002 add test for state change message on a bin
10003 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
10005 * gst/gstbin.c: (gst_bin_init):
10006 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
10007 * gst/gstelement.c: (gst_element_post_message),
10008 (gst_element_set_state):
10009 * gst/gstelementfactory.c: (gst_element_factory_create):
10010 * gst/gstmessage.c: (gst_message_new):
10011 * gst/gstscheduler.c:
10012 various debugging additions and cleanups
10014 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
10016 * check/Makefile.am:
10017 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
10019 adding tests for elements
10020 * gst/gstelement.c: (gst_element_dispose):
10022 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
10024 * gst/registries/gstlibxmlregistry.c: (load_feature):
10025 plug more leaks. A simple gst_init() now is leakfree, yay.
10027 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
10029 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
10030 (gst_xml_registry_load):
10031 plug another memleak
10033 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
10036 use GST_SET_ERROR_CFLAGS
10037 * docs/faq/cvs.xml:
10038 change to ERROR_CFLAGS
10040 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
10043 make GST_ERROR_CFLAGS overridable and re-enable Werror
10044 * docs/faq/cvs.xml:
10045 add a note about error CFLAGS
10046 * docs/gst/tmpl/gstfakesrc.sgml:
10047 * gst/elements/gstfakesrc.c:
10048 comment out some unused code
10049 * gst/gst.c: (split_and_iterate):
10050 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
10054 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
10056 * common/Makefile.am:
10057 * common/gtk-doc.mak:
10058 * docs/gst/Makefile.am:
10059 factor out gtk-doc.mak
10061 2005-07-07 Wim Taymans <wim@fluendo.com>
10063 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
10064 (gst_thread_scheduler_dispose):
10065 Unlock the STREAM_LOCK completely.
10067 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
10069 * check/Makefile.am:
10070 * check/elements/.cvsignore:
10071 * check/elements/gstfakesrc.c: (chain_func), (event_func),
10072 (START_TEST), (fakesrc_suite), (main):
10073 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10074 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
10075 (gst_fakesrc_create), (gst_fakesrc_start):
10076 * gst/elements/gstfakesrc.h:
10077 adding a first element test
10079 2005-07-07 Andy Wingo <wingo@pobox.com>
10081 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
10084 2005-07-07 Wim Taymans <wim@fluendo.com>
10090 2005-07-07 Wim Taymans <wim@fluendo.com>
10092 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
10093 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
10094 Allow subclasses to implement their own negotiation.
10096 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
10098 * docs/design/part-gstbin.txt:
10099 * docs/design/part-gstpipeline.txt:
10100 Update design notes to reflect the movement of
10101 responsibility for bus handling from GstPipeline to
10104 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
10107 Remove unnecessary queue2/3/4 examples.
10109 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
10111 * examples/Makefile.am:
10112 * examples/helloworld/helloworld.c: (event_loop), (main):
10113 * examples/queue/queue.c: (event_loop), (main):
10114 * examples/queue2/queue2.c: (main):
10115 Update a couple of the examples to work again.
10117 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10118 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
10119 Spelling corrections and extra debug.
10121 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
10122 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
10123 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
10125 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
10126 (gst_pipeline_change_state):
10127 * gst/gstpipeline.h:
10128 Move the bus handler for children to the GstBin, and create a
10129 separate bus for receiving messages from children to the one the
10130 bus sends 'upwards' on.
10132 2005-07-06 Wim Taymans <wim@fluendo.com>
10135 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10136 (gst_base_sink_handle_object), (gst_base_sink_loop),
10137 (gst_base_sink_change_state):
10138 * gst/base/gstbasesink.h:
10139 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10140 (gst_base_src_init), (gst_base_src_setcaps),
10141 (gst_base_src_getcaps), (gst_base_src_loop),
10142 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
10143 (gst_base_src_start), (gst_base_src_change_state):
10144 * gst/base/gstbasesrc.h:
10145 Make basesrc negotiate.
10146 Handle the case where preroll fails in basesink.
10149 2005-07-06 Wim Taymans <wim@fluendo.com>
10151 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
10152 Implement the fixate function.
10153 Clean up acceptcaps.
10155 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10157 * docs/pwg/building-filterfactory.xml:
10158 * docs/pwg/pwg.xml:
10159 Remove never-written filter-factory chapter; I'll add the various
10160 base classes to part 4 ("other element types") later on.
10162 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10164 * docs/pwg/advanced-negotiation.xml:
10165 * docs/pwg/building-boiler.xml:
10166 * docs/pwg/building-pads.xml:
10167 * docs/pwg/pwg.xml:
10168 * examples/pwg/Makefile.am:
10169 Add a chapter on caps negotiation, simplify the original code
10170 samples a bit w.r.t. caps negotiation, add link to the advanced
10171 section. Add a bunch of examples showing different use cases of
10172 different types of caps negotiation. Upstream renegotiation isn't
10173 fully documented yet since nobody knows how that works.
10175 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
10177 * check/gst/gstpad.c:
10178 * check/gstcheck.c:
10179 * gst/gstpad.c: (gst_pad_get_internal_links_default):
10180 if pad has no parent, return NULL as list of internal links
10182 2005-07-05 Andy Wingo <wingo@pobox.com>
10184 * gst/elements/gstfilesrc.c:
10185 * gst/elements/gstfakesrc.c:
10186 * gst/base/gstpushsrc.c:
10187 * gst/base/gstbasesrc.h:
10188 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
10190 2005-07-05 Stefan Kost <ensonic@users.sf.net>
10193 better report generation target (lcov needs a patch)
10195 2005-07-05 Andy Wingo <wingo@pobox.com>
10197 * gst/elements, testsuite: Null if we got it...
10199 2005-07-05 Wim Taymans <wim@fluendo.com>
10202 * libs/gst/dataprotocol/Makefile.am:
10203 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
10204 * libs/gst/dataprotocol/dataprotocol.h:
10205 * pkgconfig/Makefile.am:
10206 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
10207 * pkgconfig/gstreamer-dataprotocol.pc.in:
10208 Ported dataprotol to 0.9.
10209 Added pkgconfig files.
10211 2005-07-05 Andy Wingo <wingo@pobox.com>
10213 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
10214 Default to returning TRUE for the case when tranform_caps returns
10215 a fixed caps, like for identity or volume.
10217 * check/gst/gstbus.c (pound_bus_with_messages):
10218 * check/gst/gstmessage.c (START_TEST):
10219 * check/pipelines/simple_launch_lines.c (got_handoff): Application
10220 message API change.
10222 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
10223 logic weaks here: always run transform_caps, trying passthrough
10224 operation only if the original caps intersects with the transform.
10226 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
10227 source and sink caps.
10229 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
10230 Intersect the peer caps with the pad template before going into
10232 (gst_base_transform_transform_caps): More debugging.
10234 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
10237 2005-07-04 Edward Hervey <edward@fluendo.com>
10241 (gst_pad_add_*_probe): now returns the signal id for better wrapping
10244 2005-07-04 Andy Wingo <wingo@pobox.com>
10246 * check/gst/gstpad.c: Only set explicit caps on pads.
10248 2005-07-01 Andy Wingo <wingo@pobox.com>
10250 * tests/network-clock.scm: Commentary update.
10252 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
10253 Didn't really make sense, not implementable with basetransform,
10255 (gst_identity_transform): Unref inbuf via make_writable. Feeble
10256 attempt at implementing the sync property, needs an unlock method.
10258 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
10259 New func, by default returns the same caps (the identity
10261 (gst_base_transform_getcaps): Uses transform_caps to return
10262 something sensible.
10263 (gst_base_transform_setcaps): Complicated logic to get caps on
10264 both pads, even if they are different, and to call set_caps once
10265 for every time both pads get their caps set.
10266 (gst_base_transform_handle_buffer): Give the ref to the transform
10267 function. Allows in-place modification of the buffer.
10269 * gst/base/gstbasetransform.h (transform_caps): New class method.
10270 Given caps on one side, what can I do on the other.
10271 (set_caps): Take two caps, one for each side of the element.
10274 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
10275 caps in place. This is safe because we can check the mutability of
10276 the caps, and a good idea because fixate functions are just called
10277 as a matter of last resort. (Not actually implemented.)
10278 (gst_pad_set_caps): If the caps we're setting is actually the same
10279 as the existing pad caps, just update the pointer without calling
10280 setcaps. Assert that caps is either NULL or fixed, as per the
10283 * gst/gstghostpad.c: Update for fixate changes.
10285 2005-07-02 Andy Wingo <wingo@pobox.com>
10288 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
10289 two refcounts makes it immutable, which is enough. Doc more.
10291 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
10293 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
10294 Put the mini_object into GValue as a mini_object,
10295 not a gpointer, since that's how we declared
10298 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10300 * examples/pwg/Makefile.am:
10301 Fix buildbot again.
10303 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10305 * docs/pwg/building-testapp.xml:
10307 * examples/pwg/Makefile.am:
10310 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10313 * examples/Makefile.am:
10314 * examples/pwg/Makefile.am:
10315 * examples/pwg/extract.pl:
10316 Enable building the PWG examples.
10317 * docs/pwg/advanced-interfaces.xml:
10318 Add URI interface stub.
10319 * docs/pwg/advanced-types.xml:
10320 * docs/pwg/other-autoplugger.xml:
10321 * docs/pwg/appendix-porting.xml:
10322 * docs/pwg/pwg.xml:
10323 Add porting guide (mostly stubs), remove autoplugging (see ADM).
10324 * docs/pwg/building-boiler.xml:
10325 * docs/pwg/building-chainfn.xml:
10326 * docs/pwg/building-pads.xml:
10327 * docs/pwg/building-props.xml:
10328 * docs/pwg/building-state.xml:
10329 * docs/pwg/building-testapp.xml:
10330 Update the building-*.xml parts for 0.9 changes. All examples
10331 code blocks compile in examples/pwg/*.
10333 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10335 * docs/manual/advanced-autoplugging.xml:
10336 * docs/manual/appendix-checklist.xml:
10337 * docs/manual/appendix-integration.xml:
10338 * docs/manual/highlevel-components.xml:
10339 Fix playbin/decodebin examples, update docs a bit, mention bus
10340 instead of signals in various places, mention kmplayer and
10341 kaffeine since they have a working GStreamer backend in the KDE
10344 2005-06-30 Wim Taymans <wim@fluendo.com>
10347 * docs/design/draft-ghostpads.txt:
10348 * docs/design/draft-push-pull.txt:
10349 * docs/design/draft-query.txt:
10350 * docs/design/part-TODO.txt:
10351 * docs/design/part-query.txt:
10352 Added CHANGES-0.9 doc, updated status of other docs.
10357 2005-06-30 Wim Taymans <wim@fluendo.com>
10359 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10360 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
10361 (gst_base_sink_change_state):
10362 * gst/base/gstbasesink.h:
10363 Some tweaks, only EOS and a buffer complete a preroll.
10365 2005-06-30 Andy Wingo <wingo@pobox.com>
10367 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
10368 activate_push down to the internal pad as well.
10370 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
10372 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10374 * gst/gsttaginterface.c:
10375 Some documentation fixes (#307394 and #307397).
10377 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
10379 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10381 * gst/gstvalue.c: (gst_value_intersect_list):
10382 Fix memleak (#309125).
10384 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10386 * docs/manual/advanced-dataaccess.xml:
10387 Fix fakesrc example to compile; doesn't work, bug somewhere...?
10388 * docs/manual/basics-pads.xml:
10389 Add reference for filtered caps to above chapter.
10391 2005-06-30 Wim Taymans <wim@fluendo.com>
10393 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
10394 (gst_bin_change_state):
10396 Lame attempt at making the state change function a bit
10399 2005-06-30 Wim Taymans <wim@fluendo.com>
10401 * docs/design/part-clocks.txt:
10402 * docs/design/part-element-sink.txt:
10403 * docs/design/part-events.txt:
10404 * docs/design/part-preroll.txt:
10405 * docs/design/part-states.txt:
10406 Some more tweeks and additions to the docs.
10408 2005-06-30 Wim Taymans <wim@fluendo.com>
10410 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10411 (default_have_data), (gst_pad_class_init), (gst_pad_init),
10412 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10413 (gst_pad_check_pull_range), (gst_pad_get_range),
10414 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
10416 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
10417 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10418 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10419 (gst_pad_remove_buffer_probe):
10420 Removed atomic operations, use existing LOCK.
10421 Move exception handling out of main code path.
10423 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10425 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10426 (silly_return_true_function), (gst_pad_class_init),
10427 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10428 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
10429 (gst_pad_send_event):
10430 Fix accumulator, add default value by using _emitv() instead
10431 of _emit() for signal emission.
10433 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10435 * docs/manual/advanced-dataaccess.xml:
10436 * examples/manual/Makefile.am:
10438 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
10441 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
10443 * gst/elements/gstfilesink.c: (gst_filesink_render):
10444 Simplify code so that we don't have to handle short
10445 writes and return GST_FLOW_ERROR if an error occured.
10447 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10449 * docs/gst/gstreamer-docs.sgml:
10450 Remove probes more.
10452 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10454 * docs/gst/gstreamer-sections.txt:
10455 * docs/gst/tmpl/gstpad.sgml:
10456 * docs/gst/tmpl/gstprobe.sgml:
10458 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10459 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
10460 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10461 (gst_pad_push_event), (gst_pad_send_event):
10463 * gst/gstutils.c: (gst_pad_add_data_probe),
10464 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10465 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10466 (gst_pad_remove_buffer_probe):
10468 Remove old probes, add new g-signal-based probes and some utility
10471 2005-06-29 Edward Hervey <edward@fluendo.com>
10473 * gst/gstelementfactory.c:
10476 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
10477 the definition to the header file.
10479 2005-06-29 Andy Wingo <wingo@pobox.com>
10481 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10482 plugins from the source directory.
10484 2005-06-29 Wim Taymans <wim@fluendo.com>
10486 * docs/gst/tmpl/gstbuffer.sgml:
10487 * docs/gst/tmpl/gstclock.sgml:
10488 Some fixings for blantently wrong text.
10490 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10492 * check/Makefile.am:
10493 * gst/gst.c: (add_path_func), (init_pre):
10494 * gst/gstregistry.c: (gst_registry_add_path):
10495 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10496 only scan the GST_PLUGIN_PATH locations, and not add
10499 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10501 * docs/gst/gstreamer-sections.txt:
10502 * docs/gst/tmpl/gstbasesrc.sgml:
10503 * gst/gstelement.c:
10504 * gst/gstelement.h:
10509 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10511 * docs/manual/advanced-autoplugging.xml:
10512 Fix autoplugging example.
10514 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10516 * docs/manual/advanced-autoplugging.xml:
10517 * docs/manual/mime-world.fig:
10518 Try to get autoplugging working, fix type detection. Fix text
10519 in hello-world image.
10521 2005-06-29 Wim Taymans <wim@fluendo.com>
10523 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10524 (gst_base_sink_change_state):
10528 map SIGNAL and BROADCAST to the right function.
10531 Remove redundant braces.
10533 * gst/gstpad.c: (gst_pad_set_caps):
10534 Don't call setcaps function when reseting caps to NULL.
10536 * gst/gstsystemclock.c: (gst_system_clock_dispose),
10537 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10538 (gst_system_clock_id_unschedule):
10539 Use BROADCAST as this is what we do.
10541 2005-06-29 Wim Taymans <wim@fluendo.com>
10543 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10544 We are actually prerolling before commiting the state
10547 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10549 * docs/manual/advanced-clocks.xml:
10550 * docs/manual/advanced-interfaces.xml:
10551 * docs/manual/advanced-metadata.xml:
10552 * docs/manual/advanced-position.xml:
10553 * docs/manual/advanced-schedulers.xml:
10554 * docs/manual/advanced-threads.xml:
10555 * docs/manual/appendix-porting.xml:
10556 * docs/manual/basics-bins.xml:
10557 * docs/manual/basics-bus.xml:
10558 * docs/manual/basics-elements.xml:
10559 * docs/manual/basics-helloworld.xml:
10560 * docs/manual/basics-pads.xml:
10561 * docs/manual/highlevel-components.xml:
10562 * docs/manual/manual.xml:
10563 * docs/manual/thread.fig:
10564 Update (until threads/scheduling) Application Development Manual;
10565 remove GstThread, add GstBus, add simple porting checklist, add
10566 documentation for tag writing, clocks, make all examples until this
10567 part compile and run.
10568 * examples/manual/Makefile.am:
10569 Update from changes to Application Development Manual; add bus
10570 example, remove thread example.
10572 2005-06-28 Wim Taymans <wim@fluendo.com>
10574 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10575 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10576 (gst_bus_source_dispatch):
10577 Add debugging messages.
10578 Make internal methods static.
10579 Handle the case where the bus is flushed in the handler.
10581 * gst/gstelement.c: (gst_element_get_bus):
10582 Fix refcount in _get_bus();
10584 * gst/gstpipeline.c: (gst_pipeline_change_state),
10585 (gst_pipeline_get_clock_func):
10586 Clock refcounting fixes.
10587 Handle the case where preroll timed out more gracefully.
10589 * gst/gstsystemclock.c: (gst_system_clock_dispose):
10590 Clean up the internal thread in dispose. This is needed
10591 for subclasses that actually get disposed.
10593 * gst/schedulers/threadscheduler.c:
10594 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10595 (gst_thread_scheduler_dispose):
10596 Free thread pool in dispose.
10598 2005-06-28 Andy Wingo <wingo@pobox.com>
10600 * tests/network-clock-utils.scm (debug, print-event): New utils.
10602 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10603 (*packet-loss*): Unified loss probability.
10604 (network-time): Report out-of-band events.
10606 * tests/plot-data: Add support for out-of-band events. Hack it
10607 into this script instead of passing it down the pipe; should fix
10610 2005-06-28 Wim Taymans <wim@fluendo.com>
10612 * docs/gst/gstreamer.types:
10613 * docs/gst/tmpl/gstbasesrc.sgml:
10614 * docs/gst/tmpl/gstpad.sgml:
10617 2005-06-28 Wim Taymans <wim@fluendo.com>
10619 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10620 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10621 (gst_proxy_pad_do_fixatecaps):
10622 Correctly proxy the check_pull_range function.
10624 2005-06-28 Andy Wingo <wingo@pobox.com>
10626 * tests/network-clock.scm: Removed need for slib.
10628 2005-06-28 Wim Taymans <wim@fluendo.com>
10630 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10631 (gst_basesink_preroll_queue_flush):
10632 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10633 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10634 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10635 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10636 (gst_proxy_pad_set_property):
10639 * gst/gstqueue.c: (gst_queue_init):
10640 The deprecated pad loop function is removed now.
10642 2005-06-28 Andy Wingo <wingo@pobox.com>
10644 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10645 New parameters, simulate network packet loss.
10647 * tests/network-clock-utils.scm: Initialize the RNG.
10649 2005-06-28 Wim Taymans <wim@fluendo.com>
10651 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10652 (gst_basesink_event), (gst_basesink_deactivate):
10653 Flushing the preroll queue always needs to unlock the waiters.
10655 2005-06-28 Edward Hervey <edward@fluendo.com>
10657 * gst/gstpipeline.c: (gst_pipeline_send_event):
10658 Wheen a seek was successful on a pipeline, set the stream_time to the
10659 seek offset in order to have a synchronized stream_time.
10661 2005-06-28 Wim Taymans <wim@fluendo.com>
10663 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10664 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10665 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10666 (gst_proxy_pad_do_fixatecaps):
10667 Call wrapper function instead of just calling the function
10668 pointers. This takes care of any locking and whatmore.
10670 2005-06-28 Wim Taymans <wim@fluendo.com>
10672 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10673 (gst_pad_pull_range):
10675 CONNECTED -> LINKED.
10677 2005-06-28 Andy Wingo <wingo@pobox.com>
10679 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10680 source-munging commit!!!
10682 * gst/gstobject.c (gst_object_unref, gst_object_ref)
10683 (gst_object_sink): Take gpointer arguments, not GstObject --
10684 avoids casts. Like GLib.
10686 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10689 2005-06-27 Andy Wingo <wingo@pobox.com>
10691 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10694 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10695 returns a sorted copy of the trace list.
10696 (gst_alloc_trace_print_live): New API, only prints traces with
10697 live objects. Sort the list.
10698 (gst_alloc_trace_print_all): Sort the list.
10699 (gst_alloc_trace_print): Align columns.
10701 * gst/elements/gstttypefindelement.c:
10702 * gst/elements/gsttee.c:
10703 * gst/base/gstbasesrc.c:
10704 * gst/base/gstbasesink.c:
10705 * gst/base/gstbasetransform.c:
10706 * gst/gstqueue.c: Adapt for pad activation changes.
10708 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10710 (gst_pipeline_dispose): Drop ref on sched.
10712 * gst/gstpad.c (gst_pad_init): Set the default activate func.
10713 (gst_pad_activate_default): Push mode by default.
10714 (pre_activate_switch, post_activate_switch): New stubs, things to
10715 do before and after switching activation modes on pads.
10716 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10717 the pad's activate function to choose which mode to activate.
10718 Shortcut on deactivation and call the right function directly.
10719 (gst_pad_activate_pull): New API, (de)activates a pad in pull
10721 (gst_pad_activate_push): New API, same for push mode.
10722 (gst_pad_set_activate_function)
10723 (gst_pad_set_activatepull_function)
10724 (gst_pad_set_activatepush_function): Setters for new API.
10726 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10727 Trace all miniobjects.
10728 (gst_mini_object_make_writable): Unref the arg if we copy, like
10729 gst_caps_make_writable.
10731 * gst/gstmessage.c (_gst_message_initialize): No trace init.
10733 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
10734 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10735 Adapt for new pad API.
10737 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10739 * gst/gstelement.h:
10740 * gst/gstelement.c (gst_element_iterate_src_pads)
10741 (gst_element_iterate_sink_pads): New API functions.
10743 * gst/gstelement.c (iterator_fold_with_resync): New utility,
10744 should fold into gstiterator.c in some form.
10745 (gst_element_pads_activate): Simplified via use of fold and
10746 delegation of decisions to gstpad->activate.
10748 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10751 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10752 class once in init, like gstmessage. Didn't run into this issue
10753 but it seems correct. Don't initialize a trace, gstminiobject does
10756 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10757 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10759 (assert_live_count): New util function, uses alloc traces to check
10762 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10763 To be modified when unlink drops the internal pad.
10765 2005-06-27 Wim Taymans <wim@fluendo.com>
10767 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10768 (gst_bin_change_state):
10769 Cleanup the get_state() function a little, make sure it
10770 iterates the same set of elements.
10771 Added stub iterate_state_order().
10773 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
10775 * docs/gst/gstreamer-docs.sgml:
10776 * docs/gst/gstreamer-sections.txt:
10777 * docs/gst/gstreamer.types:
10778 * docs/gst/tmpl/gstbasesink.sgml:
10779 * docs/gst/tmpl/gstbasesrc.sgml:
10780 * docs/gst/tmpl/gstbasetransform.sgml:
10781 * docs/gst/tmpl/gstelement.sgml:
10782 * docs/gst/tmpl/gstiterator.sgml:
10783 * gst/base/gstbasesrc.c:
10784 * gst/base/gstbasesrc.h:
10785 * gst/base/gstbasetransform.h:
10786 * gst/gstelement.c:
10787 * gst/gstiterator.h:
10788 adding basetransform and iterator docs
10790 2005-06-27 Andy Wingo <wingo@pobox.com>
10792 * docs/design/part-activation.txt: Notes on how activation should
10793 work -- not quite implemented yet.
10795 2005-06-25 Wim Taymans <wim@fluendo.com>
10797 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10798 At least get the chain function correct, needs more
10801 2005-06-25 Wim Taymans <wim@fluendo.com>
10803 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10804 (gst_basesink_handle_object), (gst_basesink_event),
10805 (gst_basesink_do_sync), (gst_basesink_handle_event),
10806 (gst_basesink_change_state):
10808 Right, two problems here: ghostpads don't take locks and
10809 glib _rec_mutex_lock_full() with depth==0 still locks.
10810 Catch illegal locking and g_warn them.
10812 2005-06-25 Wim Taymans <wim@fluendo.com>
10814 * check/states/sinks.c: (START_TEST), (gst_object_suite):
10815 Have to check for completion now...
10817 2005-06-25 Wim Taymans <wim@fluendo.com>
10819 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10820 (gst_basesink_handle_object), (gst_basesink_event),
10821 (gst_basesink_do_sync), (gst_basesink_handle_event),
10822 (gst_basesink_change_state):
10824 Unlock STREAM_LOCK whatever the recursion was.
10826 2005-06-25 Wim Taymans <wim@fluendo.com>
10828 * gst/base/gstbasesink.c: (gst_basesink_set_property),
10829 (gst_basesink_preroll_queue_empty),
10830 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10831 (gst_basesink_event), (gst_basesink_do_sync),
10832 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10833 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10834 (gst_basesink_change_state):
10835 Reworked the base sink, handle event and buffer serialisation
10836 correctly and removed possible deadlock.
10837 Handle EOS correctly.
10839 2005-06-25 Wim Taymans <wim@fluendo.com>
10841 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10842 (gst_pipeline_change_state):
10843 * tools/gst-launch.c: (check_intr), (event_loop), (main):
10844 Allow elements to post EOS in the state change function.
10845 Fix up -launch, make it exit the poll loop when the
10846 pipeline actually changed state.
10847 Fix up warning parsing in -launch.
10849 2005-06-25 Wim Taymans <wim@fluendo.com>
10851 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10852 (gst_tee_sink_activate):
10853 Core takes STREAM_LOCK for us now.
10855 2005-06-25 Wim Taymans <wim@fluendo.com>
10857 * gst/gstelement.c: (gst_element_get_state_func),
10858 (gst_element_set_state):
10859 * gst/gstelement.h:
10860 * gst/gstmessage.c: (gst_message_parse_error),
10861 (gst_message_parse_warning):
10862 Keep track of current target state while performing a state
10863 change so that subclasses can do something interesting.
10864 Fix parsing of warning/error messages when GError is NULL.
10866 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
10868 * docs/gst/Makefile.am:
10869 * docs/gst/gstreamer-docs.sgml:
10870 * docs/gst/gstreamer-sections.txt:
10871 * docs/gst/gstreamer.types:
10872 * docs/gst/tmpl/gstbasesink.sgml:
10873 * docs/gst/tmpl/gstbasesrc.sgml:
10874 * docs/gst/tmpl/gstbin.sgml:
10875 * docs/gst/tmpl/gstcompat.sgml:
10876 * docs/gst/tmpl/gstfakesink.sgml:
10877 * docs/gst/tmpl/gstfakesrc.sgml:
10878 * docs/gst/tmpl/gstfilesink.sgml:
10879 * docs/gst/tmpl/gstfilesrc.sgml:
10880 * docs/gst/tmpl/gstindex.sgml:
10881 * docs/manual/appendix-quotes.xml:
10882 * gst/base/gstbasesrc.h:
10883 * gst/elements/gstfakesrc.h:
10884 * gst/gstmessage.h:
10885 start pulling in base classes and elements in our docs
10887 2005-06-24 Stefan Kost <ensonic@users.sf.net>
10889 * docs/gst/Makefile.am:
10890 * docs/libs/Makefile.am:
10891 fixed make distcheck with gtk-doc 1.3
10893 2005-06-23 Wim Taymans <wim@fluendo.com>
10895 * gst/gstelement.c: (gst_element_get_state_func),
10896 (gst_element_set_state), (gst_element_change_state):
10897 When the state did not change, also report NO_PREROLL
10900 2005-06-23 Wim Taymans <wim@fluendo.com>
10902 * gst/gstpad.c: (gst_pad_event_default):
10903 * gst/gstqueue.c: (gst_queue_loop):
10904 No unsafe task pausing please.
10906 2005-06-23 Wim Taymans <wim@fluendo.com>
10908 * gst/schedulers/threadscheduler.c:
10909 (gst_thread_scheduler_task_start),
10910 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
10911 Ref the task before pushing it on the threadpool. This
10912 makes sure that we have a ref when the threadfunction is
10915 2005-06-23 Andy Wingo <wingo@pobox.com>
10917 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
10918 offset is greater than the file's size.
10920 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
10921 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
10922 * gst/gstobject.c (gst_object_class_init): Make the class lock
10923 recursive. Wim won't let me drop deep_notify. Decodebin works
10924 again, whoopdy doo.
10926 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
10927 internal pad, and hacks accordingly. Doesn't do it on the target
10928 pad because we change its caps. Probably catches all cases of
10930 (gst_ghost_pad_set_property): Connect to notify::caps as
10933 * tests/network-clock.scm (plot-simulation): Pipe data to the
10934 elite python skript.
10936 * tests/network-clock-utils.scm (define-parameter): New macro,
10937 defines a parameter that can be set via the command line.
10938 (set-parameter!, parse-parameter-arguments): Command line args
10941 * tests/plot-data: Simple matplotlib-based plotter, takes input on
10944 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
10946 * gst/elements/gsttypefindelement.c:
10947 (gst_type_find_element_handle_event):
10948 Don't restart typefinding on a discont.
10949 * gst/gstelement.c: (gst_element_set_state):
10950 Debug spelling fix.
10951 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
10952 Allow changing mode of an active pad.
10953 Debug output fixes.
10954 * gst/registries/gstlibxmlregistry.c: (load_feature):
10955 Don't cast a static pad template to a normal pad template.
10957 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
10959 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
10960 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
10961 remove gst_strtoll completely, since it didn't actually do
10962 anything more than what g_ascii_strtoull already does.
10963 check for range errors when deserializing
10964 do a cast for the unsigned cases; but further fixing needs
10965 a decision on what the interpretation of "(int)" and
10966 deserialization should be for values that fall outside the
10967 type's boundaries (ie, refuse, or interpret as casting)
10969 2005-06-23 Wim Taymans <wim@fluendo.com>
10971 * check/Makefile.am:
10972 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
10973 * docs/design/part-live-source.txt:
10974 * docs/design/part-states.txt:
10975 * gst/base/gstbasesrc.c: (gst_basesrc_init),
10976 (gst_basesrc_set_live), (gst_basesrc_is_live),
10977 (gst_basesrc_get_range), (gst_basesrc_activate),
10978 (gst_basesrc_change_state):
10979 * gst/base/gstbasesrc.h:
10980 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10981 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
10982 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
10983 * gst/gstelement.c: (gst_element_get_state_func),
10984 (gst_element_set_state):
10985 * gst/gstelement.h:
10987 * tools/gst-launch.c: (event_loop), (main):
10988 Added support for live sources and other elements that
10990 Updated design docs, added live-source design doc.
10991 Implemented live source functionality in basesrc
10992 Fix error condition in _bin_get_state()
10993 Implement live source handling in -launch.
10994 Added check for live sources.
10995 Fixed case in GstBin where elements were changed state
10999 2005-06-23 Andy Wingo <wingo@pobox.com>
11001 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
11002 borken refcounting.
11004 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
11005 gst_caps_replace takes care of this for us.
11007 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
11008 gst_pad_set_caps on the target, not just its setcaps() function.
11010 * tests/network-clock.scm:
11011 * tests/network-clock-utils.scm: A network clock simulator.
11012 Something of an algorithmic testbed before doing something in C.
11014 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
11016 * check/Makefile.am:
11017 * check/gst/capslist.h:
11018 copy over from 0.8, and add two with bitmasks specified with
11020 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
11021 add test to parse everything from capslist.h
11022 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
11024 add test for structure deserialization
11025 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
11026 add tests for deserialization of strings to int types
11027 * gst/gststructure.c: (gst_structure_nth_field_name):
11028 * gst/gststructure.h:
11029 add a way to get the name of a field referenced by index
11030 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11031 instead of checking if the resulting long long lies between
11032 min and max, we check if the long long would fit into
11033 a number of bytes for the final type.
11034 This fixes cases where a string represents 2^32 - 1, which
11035 when cast to int would be the (valid) -1, but is bigger than
11038 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
11040 * gst/parse/grammar.y:
11041 add a log line for type deserialization
11043 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
11045 * check/gst/gstvalue.c: (START_TEST):
11046 * gst/gstvalue.c: (gst_value_deserialize):
11047 return long long, not int, so gint64 deserialization actually
11048 works. Is there any flag that makes the compiler check this ?
11051 2005-06-22 Wim Taymans <wim@fluendo.com>
11054 Added convenience macros for setting buffers in GValue.
11056 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
11058 * check/gst/.cvsignore:
11059 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
11060 add a test deserializing int64, and comment part out because
11063 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
11065 * check/Makefile.am:
11066 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
11067 * testsuite/Makefile.am:
11068 * testsuite/caps/Makefile.am:
11069 * testsuite/caps/value_serialize.c:
11070 * testsuite/test_gst_init.c:
11071 move a value_serialize test over
11073 2005-06-20 Wim Taymans <wim@fluendo.com>
11078 * gst/gstvalue.c: (gst_value_compare_buffer),
11079 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
11080 (gst_value_compare_flags), (gst_value_serialize_flags),
11081 (gst_value_deserialize_flags), (_gst_value_initialize):
11082 Fix serialisation of buffers, they are not boxed types anymore
11084 2005-06-20 Wim Taymans <wim@fluendo.com>
11086 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
11087 Testcase to show error in buffer-on-caps serialisation.
11089 2005-06-20 Andy Wingo <wingo@pobox.com>
11091 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
11092 will be adding to later.
11094 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
11095 if its socks fill with rocks.
11096 (gst_system_clock_obtain): Set the name on object construction.
11097 Avoid double-checked locking.
11099 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
11101 * gst/gsturi.c: (gst_element_make_from_uri):
11102 Fix potential endless loop.
11104 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
11106 * check/Makefile.am:
11108 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
11110 move over from testsuite dir and clean up
11113 * testsuite/Makefile.am:
11114 * testsuite/tags/.cvsignore:
11115 * testsuite/tags/Makefile.am:
11116 * testsuite/tags/merge.c:
11117 remove testsuite/tags
11119 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
11121 * docs/gst/gstreamer-sections.txt:
11122 * docs/gst/tmpl/gstenumtypes.sgml:
11123 * win32/gstenumtypes.c:
11124 clean up documentation build a little
11126 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
11128 * check/gstcheck.h:
11129 add macros for checking refcounts on objects and caps
11130 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
11131 add some more unit tests
11132 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
11133 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
11134 fix leaked refcounts (I hope :)) so unittest works
11138 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
11140 * configure.ac: back to HEAD
11142 === release 0.9.1 ===
11144 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
11150 2005-06-17 Andy Wingo <wingo@pobox.com>
11152 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
11153 assert; it's always possible that the pad gets deactivated in
11154 between the checks in gstpad.c and the implementation. Rely on
11155 finish_preroll() to return a FLUSHING or similar instead of on the
11158 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
11159 clock and post an EOS message if we come out of finish_preroll in
11162 2005-06-16 David Schleef <ds@schleef.org>
11164 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
11165 (gst_capsfilter_set_property): Allow NULL as possible value
11166 for filter_caps property, indicating GST_CAPS_ANY.
11168 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
11170 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
11172 * gst/schedulers/Makefile.am:
11174 * gstreamer.spec.in:
11177 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
11179 * gstreamer.spec.in:
11182 2005-06-08 Andy Wingo <wingo@pobox.com>
11184 * gst/gstutils.c: RPAD fixes all around.
11185 (gst_element_link_pads): Refcounting fixes.
11187 * tools/gst-inspect.c:
11188 * tools/gst-xmlinspect.c:
11190 * gst/base/gsttypefindhelper.c:
11191 * gst/base/gstbasesink.c:
11192 * gst/gstqueue.c: RPAD fixes.
11194 * gst/gstghostpad.h:
11195 * gst/gstghostpad.c: New ghost pad implementation as full proxy
11196 pads. The tricky thing is they provide both source and sink
11197 interfaces, since they proxy the internal pad for the external
11198 pad, and vice versa. Implement with lower-level ProxyPad objects,
11199 with the interior proxy pad as a child of the exterior ghost pad.
11200 Should write a doc on this.
11202 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
11203 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
11206 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
11207 pads are real pads. No ghost pads in this file. Not documenting
11208 the myriad s/RPAD/PAD/ and REALIZE fixes.
11209 (gst_pad_class_init): Add properties for "direction" and
11210 "template". Both are construct-only, so they can't change during
11211 the life of the pad. Fixes properly deriving from GstPad.
11212 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
11213 derived objects, just set properties when creating the objects via
11215 (gst_pad_get_parent): Implement as a function, return NULL if the
11216 parent is not an element.
11217 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
11218 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
11220 * gst/gstobject.c (gst_object_class_init): Make name a construct
11221 property. Don't set it in the object init.
11223 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
11224 with UNKNOWN direction.
11225 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
11226 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
11227 (gst_element_remove_pad): Remove ghost-pad special cases.
11228 (gst_element_pads_activate): Remove rpad cruft.
11230 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
11231 catch the pad's-parent-not-an-element case.
11233 * gst/gst.h: Include gstghostpad.h.
11235 * gst/gst.c (init_post): No more real, ghost pads.
11237 * gst/Makefile.am: Add gstghostpad.[ch].
11239 * check/Makefile.am:
11240 * check/gst/gstbin.c:
11241 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
11242 into a bin creates ghost pads, and that the refcounts are right.
11243 Partly moved from gstbin.c.
11245 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
11247 * check/gst-libs/.cvsignore:
11248 * check/gst/.cvsignore:
11249 * check/pipelines/.cvsignore:
11251 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
11252 (START_TEST), (cleanup_suite), (main):
11253 add some tests related to cleanup after running pipelines
11255 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
11257 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
11258 add a testsuite for GstBuffer
11260 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
11262 * gst/gstminiobject.h:
11263 add defines for accessing the refcount
11265 2005-06-03 Stefan Kost <ensonic@users.sf.net>
11267 * Makefile.am: added support for html unit test coverage reports
11269 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
11271 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
11272 Free existing caps if the capsfilter changes. Add a FIXME about
11273 setting those caps on the pads.
11275 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
11276 Before adding a ghost pad to a parent bin, check that there isn't
11277 already one for the element on the bin. Prevents infinite recursion
11278 when using decodebin in parse pipelines. Andy says he'll rewrite the
11279 way this works anyway, so ignore the hack.
11281 2005-06-02 Andy Wingo <wingo@pobox.com>
11283 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
11284 file size, pass it on to the type find helper.
11286 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
11287 segment_start and segment_end properly according to the seek
11288 method. Segment_end is still a bit flaky because offset can be
11289 negative for CUR and END cases, but it takes -1 as an "unset"
11292 2005-06-02 Wim Taymans <wim@fluendo.com>
11294 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
11295 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
11296 (gst_basesink_activate):
11297 * gst/base/gstbasesink.h:
11298 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11299 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11300 (gst_pad_query), (gst_pad_start_task):
11302 * gst/gstqueue.c: (gst_queue_bufferalloc),
11303 (gst_queue_handle_sink_event), (gst_queue_chain):
11304 Bufferalloc: return GstFlowReturn to more accuratly report
11305 why allocation failed.
11307 2005-06-02 Wim Taymans <wim@fluendo.com>
11309 * gst/gstpipeline.c: (gst_pipeline_send_event):
11310 Take snapshot of state without blocking.
11312 2005-06-02 Wim Taymans <wim@fluendo.com>
11314 * docs/design/part-TODO.txt:
11315 * docs/design/part-caps.txt:
11316 * docs/design/part-clocks.txt:
11317 * docs/design/part-negotiation.txt:
11318 * docs/design/part-preroll.txt:
11321 2005-05-30 Wim Taymans <wim@fluendo.com>
11323 * gst/elements/gstidentity.c: (gst_identity_event),
11324 (gst_identity_transform), (gst_identity_get_property):
11325 Protect last_message property as it is accessed from
11328 2005-05-30 Wim Taymans <wim@fluendo.com>
11330 * gst/gstelement.c: (gst_element_init),
11331 (gst_element_pads_activate), (gst_element_change_state):
11332 Slicker pad activation code.
11334 2005-05-30 Wim Taymans <wim@fluendo.com>
11337 * gst/gstelement.h:
11338 * gst/gstelementfactory.h:
11340 Move elementfactory methods to separate .h file.
11342 2005-05-30 Wim Taymans <wim@fluendo.com>
11344 * docs/design/part-overview.txt:
11345 * gst/gstsystemclock.h:
11346 Small typo fixes, doc updates.
11348 2005-05-30 Wim Taymans <wim@fluendo.com>
11350 * gst/gst.c: (gst_init_get_popt_table), (init_post),
11351 (init_popt_callback):
11352 Remove cpu-opt flag.
11354 2005-05-30 Wim Taymans <wim@fluendo.com>
11356 * gst/gstbuffer.c: (gst_subbuffer_finalize),
11357 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
11359 Avoid typechecking in places where not needed.
11360 Added accessor for malloc_data.
11362 2005-05-30 Wim Taymans <wim@fluendo.com>
11364 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
11365 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
11366 (gst_pad_configure_sink), (gst_pad_configure_src),
11367 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
11368 (gst_pad_start_task):
11369 Propagate errors from _set_caps() in configure_src/sink
11370 functions instead of returning TRUE.
11371 FLUSH events can travel up and downstream
11374 2005-05-30 Wim Taymans <wim@fluendo.com>
11376 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11377 (gst_basesink_activate):
11378 Handle EOS in preroll.
11380 2005-05-30 Wim Taymans <wim@fluendo.com>
11382 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11383 (gst_queue_loop), (gst_queue_handle_src_event):
11384 Remove old pieces of code
11385 Flushing the queue in an upstream event is a very bad idea.
11387 2005-05-26 Andy Wingo <wingo@pobox.com>
11389 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
11390 gst_value_set_mini_object so as to add a ref on the object (which
11391 will be removed when the value is unset).
11393 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
11394 arg type in ::handoff.
11396 * gst/gstelement.c (gst_element_change_state): Also deactivate
11397 pads in READY->NULL, just in case the element didn't make it to
11398 PAUSED. Wingo tested, Wim approved.
11400 2005-05-26 Wim Taymans <wim@fluendo.com>
11402 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11403 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11404 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
11405 A flushing pad cannot be used to alloc_buffer from.
11407 2005-05-26 Wim Taymans <wim@fluendo.com>
11409 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
11410 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
11411 (gst_bus_source_dispatch), (gst_bus_source_finalize),
11412 (gst_bus_create_watch), (gst_bus_add_watch_full):
11414 Implement a real GSource and use g_main_context_wakeup() to
11415 signal new messages instead of the socketpair.
11417 2005-05-25 Wim Taymans <wim@fluendo.com>
11419 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
11420 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
11421 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11422 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11423 (gst_pad_send_event), (gst_pad_start_task):
11424 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
11425 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
11426 (gst_queue_sink_activate), (gst_queue_src_activate),
11427 (gst_queue_change_state):
11429 Fix state changes for non sinks. We now change sinks, then elements
11430 with unconnected srcpads, then the rest.
11431 More efficient queue unlocking in flush and state changes.
11432 Set the pad activate mode even if it does not have an activate
11435 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11437 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
11438 Don't go in pull mode for non-seekable sources.
11439 * gst/elements/gsttypefindelement.h:
11440 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11441 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
11442 (free_entry), (stop_typefinding),
11443 (gst_type_find_element_handle_event), (find_peek),
11444 (gst_type_find_element_chain), (do_pull_typefind),
11445 (gst_type_find_element_change_state):
11446 Allow typefinding (w/o seeking) in push-mode, simplified version
11447 of what was in 0.8.
11448 * gst/gstutils.c: (gst_buffer_join):
11450 gst_buffer_join() from 0.8.
11452 2005-05-25 Wim Taymans <wim@fluendo.com>
11454 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11455 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11456 (gst_pad_send_event), (gst_pad_start_task):
11457 Disable attempt at mode switching until it is figured out.
11459 2005-05-25 Wim Taymans <wim@fluendo.com>
11461 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
11462 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11463 (gst_basesink_finish_preroll), (gst_basesink_chain),
11464 (gst_basesink_loop), (gst_basesink_activate),
11465 (gst_basesink_change_state):
11466 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
11467 (gst_basesrc_get_range), (gst_basesrc_loop),
11468 (gst_basesrc_activate):
11469 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11470 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11471 (gst_real_pad_init), (gst_real_pad_set_property),
11472 (gst_real_pad_get_property), (gst_pad_set_active),
11473 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
11474 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
11475 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
11476 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
11477 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11478 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
11479 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11480 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11481 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11482 (gst_pad_stop_task):
11484 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11485 (gst_queue_loop), (gst_queue_src_activate):
11486 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11487 (gst_task_get_state):
11489 * gst/schedulers/threadscheduler.c:
11490 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11491 Implement gst_pad_pause/start/stop_task(), take STREAM lock
11493 Remove ACTIVE pad flag, use FLUSHING everywhere
11494 Added _pad_chain(), _pad_get_range() to call chain/getrange
11496 Add locks around IS_FLUSHING when reading.
11497 Take STREAM lock in chain(), get_range() functions so plugins
11498 don't need to take it anymore.
11502 2005-05-25 Wim Taymans <wim@fluendo.com>
11504 * tools/gst-launch.c: (event_loop):
11505 Unref message after using its contents instead of
11508 2005-05-24 Wim Taymans <wim@fluendo.com>
11510 * docs/design/draft-ghostpads.txt:
11511 * docs/design/draft-push-pull.txt:
11512 * docs/design/draft-query.txt:
11513 * docs/design/part-overview.txt:
11514 Docs updates, added general overview doc.
11516 2005-05-21 David Schleef <ds@schleef.org>
11518 * docs/gst/tmpl/old/GstBin.sgml:
11519 * docs/gst/tmpl/old/GstBuffer.sgml:
11520 * docs/gst/tmpl/old/GstCaps.sgml:
11521 * docs/gst/tmpl/old/GstClock.sgml:
11522 * docs/gst/tmpl/old/GstCompat.sgml:
11523 * docs/gst/tmpl/old/GstData.sgml:
11524 * docs/gst/tmpl/old/GstElement.sgml:
11525 * docs/gst/tmpl/old/GstEvent.sgml:
11526 * docs/gst/tmpl/old/GstIndex.sgml:
11527 * docs/gst/tmpl/old/GstStructure.sgml:
11528 * docs/gst/tmpl/old/GstTag.sgml:
11529 * docs/gst/tmpl/old/cothreads.sgml:
11530 * docs/gst/tmpl/old/cothreads_compat.sgml:
11531 * docs/gst/tmpl/old/gettext.sgml:
11532 * docs/gst/tmpl/old/gobject2gtk.sgml:
11533 * docs/gst/tmpl/old/grammar.tab.sgml:
11534 * docs/gst/tmpl/old/gst-i18n-app.sgml:
11535 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11536 * docs/gst/tmpl/old/gst_private.sgml:
11537 * docs/gst/tmpl/old/gstaggregator.sgml:
11538 * docs/gst/tmpl/old/gstarch.sgml:
11539 * docs/gst/tmpl/old/gstatomic_impl.sgml:
11540 * docs/gst/tmpl/old/gstbufferstore.sgml:
11541 * docs/gst/tmpl/old/gstdata_private.sgml:
11542 * docs/gst/tmpl/old/gstdisksink.sgml:
11543 * docs/gst/tmpl/old/gstdisksrc.sgml:
11544 * docs/gst/tmpl/old/gstelementfactory.sgml:
11545 * docs/gst/tmpl/old/gstextratypes.sgml:
11546 * docs/gst/tmpl/old/gstfakesink.sgml:
11547 * docs/gst/tmpl/old/gstfakesrc.sgml:
11548 * docs/gst/tmpl/old/gstfdsink.sgml:
11549 * docs/gst/tmpl/old/gstfdsrc.sgml:
11550 * docs/gst/tmpl/old/gstfilesink.sgml:
11551 * docs/gst/tmpl/old/gstfilesrc.sgml:
11552 * docs/gst/tmpl/old/gsthttpsrc.sgml:
11553 * docs/gst/tmpl/old/gstidentity.sgml:
11554 * docs/gst/tmpl/old/gstindexfactory.sgml:
11555 * docs/gst/tmpl/old/gstmarshal.sgml:
11556 * docs/gst/tmpl/old/gstmd5sink.sgml:
11557 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11558 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11559 * docs/gst/tmpl/old/gstpadtemplate.sgml:
11560 * docs/gst/tmpl/old/gstpipefilter.sgml:
11561 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11562 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11563 * docs/gst/tmpl/old/gstshaper.sgml:
11564 * docs/gst/tmpl/old/gstspider.sgml:
11565 * docs/gst/tmpl/old/gstspideridentity.sgml:
11566 * docs/gst/tmpl/old/gststatistics.sgml:
11567 * docs/gst/tmpl/old/gsttee.sgml:
11568 * docs/gst/tmpl/old/gsttimecache.sgml:
11569 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11570 * docs/gst/tmpl/old/gstxmlregistry.sgml:
11571 * docs/gst/tmpl/old/gthread-cothreads.sgml:
11572 * docs/gst/tmpl/old/types.sgml:
11573 I didn't intend to add these or check them in.
11575 2005-05-19 David Schleef <ds@schleef.org>
11577 * configure.ac: Use -no-common everywhere. In a sane world, it
11578 would be the default in libtool, because without it, you can't
11579 build DLLs on Windows.
11580 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11581 * docs/gst/gstreamer-sections.txt:
11582 * docs/gst/tmpl/gstcpu.sgml:
11583 * docs/gst/tmpl/gstdata.sgml:
11584 * docs/gst/tmpl/gstthread.sgml:
11586 2005-05-19 David Schleef <ds@schleef.org>
11588 * gst/gstminiobject.c: (gst_value_set_mini_object),
11589 (gst_value_take_mini_object), (gst_value_get_mini_object):
11590 * gst/gstminiobject.h: Add GValue set/get functions.
11592 2005-05-19 Wim Taymans <wim@fluendo.com>
11594 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11595 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11596 (gst_subbuffer_init), (gst_buffer_is_span_fast):
11598 * gst/gstbus.c: (gst_bus_post):
11599 * gst/gstelement.c: (gst_element_get_random_pad):
11600 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11601 Make subbufer unref the parent in finalize.
11602 some more debugging info.
11605 2005-05-19 Wim Taymans <wim@fluendo.com>
11607 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11608 (gst_basesink_init), (gst_basesink_finalize),
11609 (gst_basesink_activate), (gst_basesink_change_state):
11610 Don't free preroll queue too early.
11612 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11616 Hi, I'm outdated. Please shoot me.
11618 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11620 * gst/gstpipeline.c: (gst_pipeline_send_event):
11621 Do not access variables after they have been deleted.
11623 2005-05-19 Wim Taymans <wim@fluendo.com>
11625 * tools/gst-inspect.c: (print_plugin_features):
11626 A plugin feature does unfortunatly not use the
11629 2005-05-18 Wim Taymans <wim@fluendo.com>
11631 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11632 Port _span() functions to new subbuffers.
11634 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11636 * gst/gstbin.c: (gst_bin_add_func):
11637 Fix clock settery in bins when adding kids after the clock has
11640 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11642 * gst/elements/gstidentity.c: (gst_identity_class_init):
11643 Workaround until signals support GstMiniObject.
11645 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
11648 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11650 2005-05-18 Wim Taymans <wim@fluendo.com>
11652 * gst/base/Makefile.am:
11653 * gst/base/gstadapter.c: (gst_adapter_base_init),
11654 (gst_adapter_class_init), (gst_adapter_init),
11655 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11656 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11657 (gst_adapter_flush), (gst_adapter_available),
11658 (gst_adapter_available_fast):
11659 * gst/base/gstadapter.h:
11660 Ported and added adapter to the base classes.
11662 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11665 * gst/gstmessage.c:
11666 Make sure the class is reffed/unreffed once before threads can be
11667 used. Fixes #304551.
11669 2005-05-17 Wim Taymans <wim@fluendo.com>
11671 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11672 (gst_basesink_chain_unlocked), (gst_basesink_activate):
11673 * gst/gstminiobject.c: (gst_mini_object_get_type),
11674 (gst_mini_object_free):
11675 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11676 (gst_pad_push), (gst_pad_push_event):
11677 * gst/gstqueue.c: (gst_queue_change_state):
11678 Don't queue buffers in basesink when we are flushing.
11679 Unref buffer when flushing in basesink.
11680 Flush queue when going to READY
11681 Unref buffer when _push() returns an error.
11682 Don't free MiniObject instance when refcount is incremented
11683 in _finalize() so that we can recover objects.
11685 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
11687 * docs/manual/advanced-schedulers.xml:
11688 * docs/manual/appendix-checklist.xml:
11689 * docs/pwg/advanced-clock.xml:
11690 * docs/pwg/advanced-interfaces.xml:
11691 * docs/pwg/advanced-request.xml:
11692 * docs/pwg/advanced-types.xml:
11693 * docs/pwg/intro-preface.xml:
11694 * examples/plugins/example.c: (gst_example_get_type),
11695 (gst_example_class_init), (gst_example_chain),
11696 (gst_example_set_property), (gst_example_get_property),
11697 (gst_example_change_state), (plugin_init):
11698 * examples/plugins/example.h:
11701 2005-05-17 Wim Taymans <wim@fluendo.com>
11703 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11704 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11705 * gst/gstqueue.c: (gst_queue_change_state):
11706 Clear queue when going to READY.
11707 Remove IN_SETCAPS flag too.
11709 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
11711 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11712 Remove implicit cast from gboolean to GstElementStateReturn;
11713 make sure we still return failure in paused => ready case if
11714 the parent class fails to change state and our own stop
11717 2005-05-17 Wim Taymans <wim@fluendo.com>
11719 * tools/gst-launch.c: (event_loop):
11720 Message was unreffed too soon.
11722 2005-05-16 Andy Wingo <wingo@pobox.com>
11724 * gst/gstbin.c (sink_iterator_filter): Err... um...
11726 * check/gst/gstbin.c (test_ghost_pads): New test for the
11727 ghosting-if-elements-not-in-same-bin behavior.
11729 2005-05-16 David Schleef <ds@schleef.org>
11731 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11732 accessing refcount directly.
11734 2005-05-15 David Schleef <ds@schleef.org>
11736 * check/Makefile.am: remove GstData checks
11737 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11738 * gst/Makefile.am: add miniobject, remove data
11739 * gst/gst.h: add miniobject, remove data
11740 * gst/gstdata.c: remove
11741 * gst/gstdata.h: remove
11742 * gst/gstdata_private.h: remove
11743 * gst/gsttypes.h: remove GstEvent and GstMessage
11744 * gst/gstelement.c: (gst_element_post_message): fix for API changes
11745 * gst/gstmarshal.list: change BOXED -> OBJECT
11747 Implement GstMiniObject.
11748 * gst/gstminiobject.c:
11749 * gst/gstminiobject.h:
11751 Modify to be subclasses of GstMiniObject.
11752 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11753 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11754 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11755 (gst_subbuffer_get_type), (gst_subbuffer_init),
11756 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11759 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11760 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11761 (_gst_event_copy), (gst_event_new):
11763 * gst/gstmessage.c: (_gst_message_initialize),
11764 (gst_message_get_type), (gst_message_class_init),
11765 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11766 (gst_message_new), (gst_message_new_error),
11767 (gst_message_new_warning), (gst_message_new_tag),
11768 (gst_message_new_state_changed), (gst_message_new_application):
11769 * gst/gstmessage.h:
11770 * gst/gstprobe.c: (gst_probe_perform),
11771 (gst_probe_dispatcher_dispatch):
11773 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11774 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11775 (_gst_query_copy), (gst_query_new):
11777 Update elements for GstData -> GstMiniObject changes
11779 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11780 (gst_queue_chain), (gst_queue_loop):
11781 * gst/elements/gstbufferstore.c:
11782 (gst_buffer_store_add_buffer_func),
11783 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11784 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11785 (gst_fakesink_render):
11786 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11787 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11788 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11789 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11790 (gst_filesrc_create_read):
11791 * gst/elements/gstidentity.c: (gst_identity_class_init):
11792 * gst/elements/gsttypefindelement.c:
11793 (gst_type_find_element_src_event), (free_entry_buffers),
11794 (gst_type_find_element_handle_event):
11795 * libs/gst/dataprotocol/dataprotocol.c:
11796 (gst_dp_header_from_buffer):
11797 * libs/gst/dataprotocol/dataprotocol.h:
11798 * libs/gst/dataprotocol/dp-private.h:
11800 2005-05-15 David Schleef <ds@schleef.org>
11802 * gst/elements/gstelements.c: Don't include headers that were
11805 2005-05-15 David Schleef <ds@schleef.org>
11807 * gst/elements/Makefile.am: Remove some elements that don't
11808 need to be in the core (or even exist at all).
11809 * gst/elements/gstaggregator.c:
11810 * gst/elements/gstaggregator.h:
11811 * gst/elements/gstmd5sink.c:
11812 * gst/elements/gstmd5sink.h:
11813 * gst/elements/gstmultifilesrc.c:
11814 * gst/elements/gstmultifilesrc.h:
11815 * gst/elements/gstpipefilter.c:
11816 * gst/elements/gstpipefilter.h:
11817 * gst/elements/gstshaper.c:
11818 * gst/elements/gstshaper.h:
11819 * gst/elements/gststatistics.c:
11820 * gst/elements/gststatistics.h:
11821 * po/POTFILES.in: Remove above files.
11823 2005-05-14 Andy Wingo <wingo@pobox.com>
11825 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11826 so as to get the refs right.
11827 (sink_iterator_filter): New function, wraps bin_element_is_sink,
11828 unreffing objects that don't pass the filter.
11830 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11831 gst_element_set_bus.
11832 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11833 normal cases, this will destroy the bus.
11835 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11838 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11841 2005-05-13 Andy Wingo <wingo@pobox.com>
11843 * gst/gstutils.c (gst_element_link_pads): Instead of calling
11844 gst_pad_link, call pad_link_maybe_ghosting,
11845 (pad_link_maybe_ghosting): Links pads, making sure that the
11846 elements being linked are in the same bin.
11847 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11848 Helpers for pad_link_maybe_ghosting.
11850 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11853 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11855 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11857 * docs/design/part-element-source.txt:
11860 2005-05-12 Wim Taymans <wim@fluendo.com>
11862 * gst/base/gstbasesink.c: (gst_basesink_init),
11863 (gst_basesink_activate):
11864 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11865 (gst_basesrc_is_seekable):
11866 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11867 (bin_element_is_sink), (gst_bin_change_state):
11868 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11869 * gst/gstelement.h:
11870 Identify sinks by their flag to avoid overly complicated
11872 Do state changes even for elements not reachable from the
11874 BaseSink is a sink now :)
11875 Some more debugging info in the basesrc.
11878 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11880 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11881 Implement _query on a bin, similar to _send_event.
11883 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
11885 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11886 Discont event offset format should be GST_FORMAT_BYTES,
11887 not GST_FORMAT_TIME.
11889 2005-05-12 Wim Taymans <wim@fluendo.com>
11891 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11892 Same fix as Ronald's but without the signal.
11894 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11896 * gst/gstutils.c: (gst_element_query_position):
11897 No, an element is not a pad.
11899 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11901 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
11902 (gst_bin_get_state):
11903 If a child is removed from a bin while we remove the child from
11904 the bin and while we're retrieving its state, signal this to the
11905 get_state function so we abort the wait (instead of waiting for
11906 a timeout) and can immediately re-iterate over all other elements.
11908 2005-05-12 Wim Taymans <wim@fluendo.com>
11910 * gst/base/Makefile.am:
11911 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
11912 (gst_basesrc_start):
11913 * gst/base/gstbasesrc.h:
11914 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
11915 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
11916 (gst_pushsrc_init), (gst_pushsrc_create):
11917 * gst/base/gstpushsrc.h:
11918 Added is_seekable to BaseSrc
11919 Added simple PushSrc.
11921 2005-05-11 Wim Taymans <wim@fluendo.com>
11923 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11924 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
11925 (gst_element_link_pads), (gst_element_query_position),
11926 (gst_element_query_convert), (intersect_caps_func),
11927 (gst_pad_query_position), (gst_pad_query_convert):
11928 Fix refcounting in utils function.
11929 No point in trying to activate a pad when it's added, it could
11930 be added from the state change function and then we deadlock, the
11931 element has to decide what to do.
11933 2005-05-10 Andy Wingo <wingo@pobox.com>
11935 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
11936 *all* the arguments.
11938 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
11939 stream lock if it's a FLUSH_DONE; normal flushes don't get the
11940 lock (according to the docs -- if this is wrong change the docs).
11942 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
11943 flush messages in the NULL state.
11945 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
11946 message immediately and return.
11947 (gst_bus_set_flushing): New function. If a bus is flushing, it
11948 flushes out any queued messages and immediately unrefs new
11949 messages. This is so when an element goes to NULL, all of the
11950 unhandled messages coming from it can be freed, and their
11951 references to the element dropped. In other words: message source
11952 ref considered harmful :P
11954 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
11955 we're finished with it.
11957 * gst/gstmessage.c (gst_message_new_state_changed):
11959 2005-05-10 Wim Taymans <wim@fluendo.com>
11961 * gst/gstvalue.c: (gst_value_compare_flags),
11962 (gst_value_serialize_flags), (gst_value_deserialize_flags),
11963 (_gst_value_initialize):
11964 Added flags serialize/deserialize/compare code.
11966 2005-05-09 Andy Wingo <wingo@pobox.com>
11968 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
11969 Intersect the peer's caps with our caps.
11971 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11973 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11974 * gst/elements/gsttypefindelement.c: (find_peek):
11975 Handle negative offsets better. Fixes decodebin.
11977 2005-05-09 Wim Taymans <wim@fluendo.com>
11979 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
11980 (gst_base_transform_event):
11981 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
11982 Implement accept_caps.
11983 Fix silly lock/unlock mismatch in base class.
11985 2005-05-09 Wim Taymans <wim@fluendo.com>
11987 * docs/design/draft-push-pull.txt:
11988 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
11989 * gst/elements/gstfilesink.c: (gst_filesink_init),
11990 (gst_filesink_query):
11991 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11992 (gst_type_find_handle_src_query), (find_element_get_length):
11993 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
11994 * gst/gstelement.h:
11995 * gst/gstmessage.c:
11996 * gst/gstmessage.h:
11997 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
11998 (gst_real_pad_get_caps_unlocked),
11999 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
12000 (gst_pad_event_default_dispatch), (gst_pad_event_default),
12001 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
12002 (gst_real_pad_dispose), (gst_real_pad_finalize),
12003 (gst_pad_load_and_link), (gst_pad_save_thyself),
12004 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
12005 (gst_pad_check_pull_range), (gst_pad_pull_range),
12006 (gst_pad_template_get_type), (gst_pad_template_class_init),
12007 (gst_pad_template_init), (gst_pad_template_dispose),
12008 (name_is_valid), (gst_static_pad_template_get),
12009 (gst_pad_template_new), (gst_static_pad_template_get_caps),
12010 (gst_pad_template_get_caps), (gst_pad_set_element_private),
12011 (gst_pad_get_element_private), (gst_pad_start_task),
12012 (gst_pad_pause_task), (gst_pad_stop_task),
12013 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
12014 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12015 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
12016 (gst_ghost_pad_new):
12018 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
12019 (gst_query_new_position), (gst_query_set_position),
12020 (gst_query_parse_position), (gst_query_new_convert),
12021 (gst_query_set_convert), (gst_query_parse_convert):
12023 * gst/gstqueryutils.c:
12024 * gst/gstqueryutils.h:
12025 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
12026 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
12027 (gst_queue_handle_src_query):
12028 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12029 (gst_element_query_position), (gst_element_query_convert),
12030 (intersect_caps_func), (gst_pad_query_position),
12031 (gst_pad_query_convert):
12033 * tools/gst-inspect.c: (print_pad_info):
12034 * tools/gst-xmlinspect.c: (print_element_info):
12035 Remove old query functions. Ported old code.
12036 Added position/convert helper functions to gstutils.
12037 Reordered gstpad.c code, grouping relevant things.
12038 Remove gst_message_new(), always need to speficy a specific
12042 2005-05-09 Andy Wingo <wingo@pobox.com>
12044 * gst/gstiterator.h: Add some includes.
12046 * gst/gstqueryutils.h: Include more headers.
12049 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
12050 some uses of gst_pad_query.
12052 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
12053 NULL out parameters.
12054 (gst_query_new_position): New proc, allocates a new position
12057 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
12058 gstqueryutils.c to the build.
12060 * gst/gststructure.c (gst_structure_set_valist): Implement with
12061 the generic G_VALUE_COLLECT.
12063 2005-05-08 Edward Hervey <bilboed@bilboed.com>
12065 * gst/Makefile.am: (gst_headers):
12066 Added gstqueryutils.h to the list of headers to install, that was
12067 a 'nachty' move wingo :)
12069 2005-05-06 Andy Wingo <wingo@pobox.com>
12072 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
12073 GstData, init a memchunk.
12074 (standard_definitions): Add a few query types, deprecate a few.
12075 (gst_query_get_type): New proc.
12076 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
12078 (gst_query_new_application, gst_query_get_structure): New public
12081 * docs/design/draft-query.txt: Removed LINKS from the query types,
12082 because all the rest can be dispatched to other pads -- seemed
12083 ugly to have a query that couldn't be dispatched. internal_links
12084 is fine as a pad method.
12086 * gst/gstpad.h: Add query2 as a pad method, add the new functions
12087 in gstpad.c, but maintain binary compatibility for the moment.
12088 Will fix before 0.9 is out.
12090 * gst/gstqueryutils.c:
12091 * gst/gstqueryutils.h: New files, implement 3 methods for each
12092 query type: parse_query, parse_response, and set. Probably need an
12095 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
12097 * gst/elements/gstfilesink.c (gst_filesink_query2):
12098 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
12099 query_types, and formats methods.
12101 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
12102 (gst_pad_set_query2_function): New functions.
12103 (gst_real_pad_init): Set query2_default as the default query2
12104 function. Basically just dispatches to internally linked pads.
12108 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
12109 without using the atomic operations. Only one thread can possibly
12110 be accessing the data at this point. Changed so as to avoid
12111 gst_atomic operations.
12113 2005-05-06 Wim Taymans <wim@fluendo.com>
12115 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
12116 Also set caps if we use the fallback buffer alloc.
12118 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
12120 * docs/gst/Makefile.am:
12121 * docs/gst/gstreamer-docs.sgml:
12122 * docs/gst/gstreamer-sections.txt:
12123 * docs/gst/tmpl/gstatomic.sgml:
12124 * docs/gst/tmpl/gstmemchunk.sgml:
12125 * testsuite/elements/struct_i386.h:
12126 * win32/GStreamer.vcproj:
12128 Purge GstAtomic stuff from docs and win32 makefiles as well
12130 2005-05-06 Wim Taymans <wim@fluendo.com>
12132 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
12133 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
12134 * gst/gstpad.c: (gst_pad_peer_get_caps):
12135 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
12136 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
12137 (gst_queue_src_activate), (gst_queue_change_state):
12139 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12140 (intersect_caps_func):
12141 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
12142 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
12143 Some fixes for the peer_get_caps() change.
12145 2005-05-06 Wim Taymans <wim@fluendo.com>
12147 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
12148 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
12149 (gst_basesink_activate):
12150 Actually do something with error codes returned from the push
12153 2005-05-06 Wim Taymans <wim@fluendo.com>
12155 * docs/design/part-element-sink.txt:
12156 * docs/design/part-element-source.txt:
12157 * gst/base/gstbasesink.c: (gst_basesink_class_init),
12158 (gst_basesink_event), (gst_basesink_activate):
12159 * gst/base/gstbasesink.h:
12160 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
12161 (gst_basesrc_activate):
12162 * gst/base/gstbasesrc.h:
12163 * gst/gstelement.c: (gst_element_pads_activate):
12164 Some more documentation.
12165 Fixed scheduling decision in _pads_activate().
12167 2005-05-05 Andy Wingo <wingo@pobox.com>
12169 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
12172 2005-05-05 Wim Taymans <wim@fluendo.com>
12174 * gst/base/Makefile.am:
12175 * gst/base/gstbasesink.h:
12176 * gst/base/gstbasesrc.c: (gst_basesrc_init),
12177 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
12178 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
12179 (gst_collectpads_class_init), (gst_collectpads_init),
12180 (gst_collectpads_finalize), (gst_collectpads_new),
12181 (gst_collectpads_set_function), (gst_collectpads_add_pad),
12182 (find_pad), (gst_collectpads_remove_pad),
12183 (gst_collectpads_is_active), (gst_collectpads_collect),
12184 (gst_collectpads_collect_range), (gst_collectpads_start),
12185 (gst_collectpads_stop), (gst_collectpads_peek),
12186 (gst_collectpads_pop), (gst_collectpads_available),
12187 (gst_collectpads_read), (gst_collectpads_flush),
12188 (gst_collectpads_chain):
12189 * gst/base/gstcollectpads.h:
12190 * gst/elements/Makefile.am:
12191 * gst/elements/gstelements.c:
12192 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12193 (gst_fakesink_get_times), (gst_fakesink_event),
12194 (gst_fakesink_preroll), (gst_fakesink_render):
12195 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
12196 (gst_filesink_init), (gst_filesink_set_location),
12197 (gst_filesink_open_file), (gst_filesink_close_file),
12198 (gst_filesink_pad_query), (gst_filesink_event),
12199 (gst_filesink_render), (gst_filesink_change_state):
12200 * gst/elements/gstfilesink.h:
12201 Added object to help in making collect pad based elements.
12203 Make event function in sink baseclass return gboolean.
12205 2005-05-05 Wim Taymans <wim@fluendo.com>
12207 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
12208 (gst_bin_get_by_name):
12210 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
12211 (gst_clock_finalize):
12212 * gst/gstdata.c: (gst_data_replace):
12214 * gst/gstelement.c: (gst_element_request_pad),
12215 (gst_element_pads_activate):
12216 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
12217 (gst_object_unref):
12218 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12219 (gst_pad_set_checkgetrange_function),
12220 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
12221 (gst_pad_check_pull_range), (gst_pad_pull_range),
12222 (gst_static_pad_template_get_caps), (gst_pad_start_task),
12223 (gst_pad_pause_task), (gst_pad_stop_task):
12224 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12225 (gst_element_request_pad), (gst_pad_proxy_getcaps):
12226 Fix name lookup in GstBin.
12227 Added _data_replace() function and _buffer_replace()
12228 Use finalize method to clean up clock.
12229 Fix refcounting on request pads.
12230 Fix pad schedule mode error.
12231 Some more object refcounting debug info,
12234 2005-05-04 Andy Wingo <wingo@pobox.com>
12236 * check/Makefile.am:
12237 * docs/gst/tmpl/gstatomic.sgml:
12238 * docs/gst/tmpl/gstplugin.sgml:
12239 * gst/base/gstbasesink.c: (gst_basesink_activate):
12240 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
12241 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
12242 (gst_basesrc_query), (gst_basesrc_set_property),
12243 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
12244 (gst_basesrc_activate):
12245 * gst/base/gstbasesrc.h:
12246 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
12247 (gst_base_transform_src_activate):
12248 * gst/elements/gstelements.c:
12249 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12250 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
12251 * gst/elements/gsttee.c: (gst_tee_sink_activate):
12252 * gst/elements/gsttypefindelement.c: (find_element_get_length),
12253 (gst_type_find_element_checkgetrange),
12254 (gst_type_find_element_activate):
12255 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
12256 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
12257 (gst_caps_load_thyself):
12258 * gst/gstelement.c: (gst_element_pads_activate),
12259 (gst_element_save_thyself), (gst_element_restore_thyself):
12260 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
12261 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
12263 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
12264 (gst_xml_parse_file), (gst_xml_parse_memory),
12265 (gst_xml_get_element), (gst_xml_make_element):
12266 * gst/indexers/gstfileindex.c: (gst_file_index_load),
12267 (_file_index_id_save_xml), (gst_file_index_commit):
12268 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
12269 (read_enum), (load_pad_template), (load_feature), (load_plugin),
12271 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
12272 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
12273 * tools/gst-complete.c: (main):
12274 * tools/gst-compprep.c: (main):
12275 * tools/gst-inspect.c: (print_element_properties_info):
12276 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12277 * tools/gst-xmlinspect.c: (print_element_properties):
12280 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
12282 * gst/gstplugin.c: (gst_plugin_check_module),
12283 (gst_plugin_check_file), (gst_plugin_load_file):
12284 apply patch from #172526 to make register work on MacOSX
12286 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12288 * docs/gst/tmpl/gstconfig.sgml:
12289 * gst/gstconfig.h.in:
12290 move documentation for some symbols. Add doc for GST_PTR_FORMAT
12291 * testsuite/debug/printf_extension.c: (main):
12292 Do not use GST_PTR_FORMAT on pointers to types with
12293 sizeof < sizeof(gpointer). Fixes test on 64-bit
12294 * testsuite/elements/property.h:
12295 use correct printf format
12297 2005-05-02 Wim Taymans <wim@fluendo.com>
12299 * docs/design/draft-push-pull.txt:
12300 * docs/design/draft-query.txt:
12301 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
12302 (gst_basesrc_start):
12303 Added draft for new query API.
12304 Added draft for better selecting scheduling methods.
12305 Make basesrc ignore length if the subclass does not support
12308 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12311 possible fixes for automake-1.5 - _LIBADD is reserved
12313 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12315 * docs/faq/Makefile.am:
12316 * docs/manual/Makefile.am:
12317 * docs/manuals.mak:
12318 * docs/pwg/Makefile.am:
12320 possible fixes for automake-1.5
12322 2005-04-28 Wim Taymans <wim@fluendo.com>
12324 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12325 (gst_basesink_pad_getcaps), (gst_basesink_init),
12326 (gst_basesink_do_sync):
12327 * gst/gstclock.c: (gst_clock_entry_new):
12328 * gst/gstevent.c: (gst_event_discont_get_value):
12329 * gst/gstpipeline.c: (pipeline_bus_handler),
12330 (gst_pipeline_change_state):
12331 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12332 Better debugging of clocking info.
12333 Allow NULL values when getting discont values.
12335 2005-04-27 Wim Taymans <wim@fluendo.com>
12337 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12338 * check/gst/gstpad.c: (gst_pad_suite):
12339 Increase timeout for checks.
12341 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12343 * check/Makefile.am:
12344 fix the broken rule for cleanup. Apparently this rule is
12345 only needed on FC2, so maybe this warrants further autotool
12348 2005-04-26 Wim Taymans <wim@fluendo.com>
12350 * gst/gsttrashstack.h:
12351 Ooohh. a nasty one! After having a failed pop() from the stack,
12352 it's possible that the stack is empty. In that case, don't
12353 follow the NULL pointer.
12355 2005-04-25 Wim Taymans <wim@fluendo.com>
12357 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12358 (gst_pad_set_checkgetrange_function),
12359 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
12360 (gst_pad_check_pull_range), (gst_pad_pull_range),
12361 (gst_static_pad_template_get_caps), (gst_pad_start_task),
12362 (gst_pad_pause_task), (gst_pad_stop_task):
12363 * gst/gstplugin.c: (gst_plugin_load):
12365 Remove gst_library_load as it does more harm than good with
12366 the new g_module flags.
12367 Revert bogus caps template check in pad linking, pad caps
12368 are important when linking not the template, which is more
12369 general than the current caps.
12371 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12373 * gst/autoplug/.cvsignore:
12374 * gst/autoplug/Makefile.am:
12375 * gst/autoplug/gstsearchfuncs.c:
12376 * gst/autoplug/gstsearchfuncs.h:
12377 * gst/autoplug/gstspider.c:
12378 * gst/autoplug/gstspider.h:
12379 * gst/autoplug/gstspideridentity.c:
12380 * gst/autoplug/gstspideridentity.h:
12381 * gst/autoplug/spidertest.c:
12384 2005-04-25 Wim Taymans <wim@fluendo.com>
12386 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12387 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12388 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
12389 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
12391 Added stubs for unimplemented functions.
12393 2005-04-24 David Schleef <ds@schleef.org>
12395 * gst/gstpad.h: Disable some unimplemented functions. Wim,
12398 2005-04-24 David Schleef <ds@schleef.org>
12400 Convert everything from GstAtomicInt to g_atomic_int_*, and
12405 * gst/gstatomic_impl.h:
12413 * gst/gstdata_private.h:
12417 * gst/gstmessage.c:
12420 * gst/gststructure.c:
12421 * gst/gststructure.h:
12422 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
12425 2005-04-24 David Schleef <ds@schleef.org>
12427 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
12428 make the regressions tests work. Remove some code that is no
12430 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
12431 Disable warning for pads without templates.
12433 2005-04-24 David Schleef <ds@schleef.org>
12435 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
12436 functions that handle filtered links.
12437 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
12439 * gst/gstutils.c: Fix/remove utility functions that handle
12442 * gst/gstvalue.c: Add serialization/deserialization of caps
12443 * gst/parse/grammar.y: Ignore filtered caps when linking. This
12444 requires fixing so that the filter caps notation creates
12445 a capsfilter element and sets the filter_caps property. I
12446 think everyone probably wants to keep the shorthand notation.
12447 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
12448 * docs/gst/tmpl/gstpad.sgml:
12450 * gst/elements/gstelements.c: Register capsfilter element.
12451 * gst/Makefile.am: fix spacing
12452 * docs/random/ds/0.9-suggested-changes: random
12454 2005-04-23 David Schleef <ds@schleef.org>
12456 * gst/elements/Makefile.am:
12457 * gst/elements/gstcapsfilter.c: New element that acts like an
12458 identity, but filters caps. Will eventually replace filtered
12459 caps in pad linking.
12460 * gst/gstutils.c: (gst_element_create_all_pads): New function
12461 to create all the ALWAYS pads that are registered with an
12462 element class. This functionality should eventually be
12463 merged in with GstElement initialization.
12465 * testsuite/trigger/README: part of trigger test code that should
12466 have been checked in a long time ago.
12468 2005-04-23 David Schleef <ds@schleef.org>
12470 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
12471 needed with new versions of libtool (nobody will confirm this),
12472 and hard to carry around.
12473 * gst/autoplug/Makefile.am:
12474 * gst/base/Makefile.am:
12475 * gst/elements/Makefile.am:
12476 * gst/indexers/Makefile.am:
12477 * gst/schedulers/Makefile.am:
12478 * libs/gst/bytestream/Makefile.am:
12479 * libs/gst/control/Makefile.am:
12480 * libs/gst/dataprotocol/Makefile.am:
12481 * libs/gst/getbits/Makefile.am:
12483 2005-04-21 Wim Taymans <wim@fluendo.com>
12485 * docs/design/draft-push-pull.txt:
12486 * docs/design/part-MT-refcounting.txt:
12487 * docs/design/part-TODO.txt:
12488 * docs/design/part-caps.txt:
12489 * docs/design/part-events.txt:
12490 * docs/design/part-gstbus.txt:
12491 * docs/design/part-gstpipeline.txt:
12492 * docs/design/part-messages.txt:
12493 * docs/design/part-push-pull.txt:
12494 * docs/design/part-query.txt:
12497 2005-04-21 Wim Taymans <wim@fluendo.com>
12499 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12500 (gst_message_new), (gst_message_new_error),
12501 (gst_message_new_warning), (gst_message_new_tag),
12502 (gst_message_new_state_changed), (gst_message_new_application),
12503 (gst_message_get_structure):
12504 * gst/gstmessage.h:
12505 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12506 (gst_structure_copy_conditional):
12507 Use parent refcount in GstMessage to ensure GstStructure
12509 Cleaned up headers a bit.
12512 2005-04-20 Wim Taymans <wim@fluendo.com>
12514 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12515 (gst_basesink_pad_getcaps), (gst_basesink_init),
12516 (gst_basesink_chain_unlocked):
12517 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12518 (gst_type_find_helper):
12519 * gst/elements/gsttypefindelement.c:
12520 (gst_type_find_element_have_type), (gst_type_find_element_init),
12521 (stop_typefinding), (gst_type_find_element_handle_event),
12522 (find_suggest), (gst_type_find_element_chain),
12523 (gst_type_find_element_checkgetrange),
12524 (gst_type_find_element_getrange), (do_typefind),
12525 (gst_type_find_element_activate):
12526 * gst/gstbuffer.c: (_gst_buffer_sub_free),
12527 (gst_buffer_default_free), (gst_buffer_default_copy),
12528 (gst_buffer_set_caps):
12529 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12530 (gst_caps_replace):
12531 * gst/gstmessage.c: (gst_message_new),
12532 (gst_message_new_state_changed):
12533 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12534 (gst_pad_set_checkgetrange_function),
12535 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12536 (gst_pad_set_caps), (gst_pad_check_pull_range),
12537 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12539 * gst/gsttypefind.c: (gst_type_find_register):
12540 Make gst_caps_replace() work like other _replace() functions.
12541 Use _caps_replace() where possible.
12542 Make sure _message_new() initialises its field.
12543 Add gst_static_pad_template_get_caps()
12546 2005-04-18 Andy Wingo <wingo@pobox.com>
12548 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12549 on the peer, not the pad. I think that was a typo. Pass an extra
12550 arg to see if random access is possible. Activate the pads as
12551 PULL_RANGE if possible.
12553 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12555 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
12556 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12559 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12561 * docs/faq/using.xml:
12562 Add note on gstreamer-properties (#154996).
12564 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12566 * docs/random/bbb/optional-properties:
12567 Some analysis on optional properties.
12569 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12571 * docs/gst/tmpl/gstelementfactory.sgml:
12572 * gst/gstelement.h:
12573 * gst/gstelementfactory.c: (gst_element_factory_init),
12574 (gst_element_factory_cleanup), (gst_element_register),
12575 (__gst_element_factory_add_static_pad_template),
12576 (gst_element_factory_get_static_pad_templates),
12577 (gst_element_factory_can_src_caps),
12578 (gst_element_factory_can_sink_caps):
12579 * gst/registries/Makefile.am:
12580 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12581 (gst_xml_registry_class_init), (gst_xml_registry_init),
12582 (gst_xml_registry_new), (gst_xml_registry_set_property),
12583 (gst_xml_registry_get_property), (get_time), (make_dir),
12584 (gst_xml_registry_get_perms_func),
12585 (plugin_times_older_than_recurse), (plugin_times_older_than),
12586 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12587 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12588 (add_to_char_array), (read_string), (read_uint), (read_enum),
12589 (load_pad_template), (load_feature), (load_plugin), (load_paths),
12590 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12591 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12592 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12593 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12594 (gst_xml_registry_rebuild):
12595 * gst/registries/gstlibxmlregistry.h:
12596 * tools/gst-compprep.c: (main):
12597 * tools/gst-inspect.c: (print_pad_templates_info):
12598 * tools/gst-xmlinspect.c: (print_element_info):
12599 Use libxml2 for registry parsing, use staticpadtemplates in
12600 elementfactories. Makes gst_init() +/- 10x faster.
12602 2005-04-12 Wim Taymans <wim@fluendo.com>
12604 * gst/base/Makefile.am:
12605 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12606 (gst_basesink_pad_getcaps), (gst_basesink_init),
12607 (gst_basesink_event), (gst_basesink_change_state):
12608 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12609 (gst_basesrc_init), (gst_basesrc_query),
12610 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12611 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12612 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12613 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12614 (gst_basesrc_stop), (gst_basesrc_activate),
12615 (gst_basesrc_change_state):
12616 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12617 (helper_find_suggest), (gst_type_find_helper):
12618 * gst/base/gsttypefindhelper.h:
12619 * gst/elements/Makefile.am:
12620 * gst/elements/gstelements.c:
12621 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12622 (gst_fakesink_get_times), (gst_fakesink_event),
12623 (gst_fakesink_preroll), (gst_fakesink_render):
12624 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12625 (gst_fakesrc_init), (gst_fakesrc_event_handler),
12626 (gst_fakesrc_get_property), (gst_fakesrc_create),
12627 (gst_fakesrc_start), (gst_fakesrc_stop):
12628 * gst/elements/gstfakesrc.h:
12629 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12630 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12631 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12632 (gst_filesrc_create_read), (gst_filesrc_create),
12633 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12634 (gst_filesrc_start):
12635 * gst/elements/gsttypefindelement.c:
12636 (gst_type_find_element_have_type), (gst_type_find_element_init),
12637 (start_typefinding), (stop_typefinding), (push_buffer_store),
12638 (gst_type_find_element_handle_event),
12639 (gst_type_find_element_chain),
12640 (gst_type_find_element_checkgetrange),
12641 (gst_type_find_element_getrange), (do_typefind),
12642 (gst_type_find_element_activate),
12643 (gst_type_find_element_change_state):
12644 * gst/elements/gsttypefindelement.h:
12645 * gst/gstpipeline.c: (pipeline_bus_handler):
12646 Added typefind helper.
12647 Small preroll fix in the base sink.
12648 Disable typefind code in basesrc.
12649 Crude port of typefindelement.
12653 2005-04-11 Wim Taymans <wim@fluendo.com>
12655 * check/gst/gstbus.c: (gstbus_suite):
12656 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12657 * check/gstcheck.h:
12658 Fix up the timeout so that the test does not fail.
12660 2005-04-06 Wim Taymans <wim@fluendo.com>
12663 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12664 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12665 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12666 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12667 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12668 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12669 (gst_basesrc_stop), (gst_basesrc_activate),
12670 (gst_basesrc_change_state), (basesrc_find_peek),
12671 (basesrc_find_suggest), (gst_basesrc_type_find):
12672 * gst/base/gstbasesrc.h:
12673 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12674 (gst_filesrc_class_init), (gst_filesrc_init),
12675 (gst_filesrc_finalize), (gst_filesrc_set_location),
12676 (gst_filesrc_set_property), (gst_filesrc_get_property),
12677 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12678 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12679 (gst_filesrc_create_read), (gst_filesrc_create),
12680 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12681 * gst/elements/gstfilesrc.h:
12682 * gst/gstelement.c: (gst_element_get_state_func),
12683 (gst_element_lost_state), (gst_element_pads_activate):
12684 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12685 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12686 (gst_pad_pull_range):
12688 More work on the generic source base class, implement seeking,
12690 Make filesrc extend the base source class.
12691 Added gst_pad_set_checkgetrange_function to GstPad.
12693 2005-04-06 Andy Wingo <wingo@pobox.com>
12695 * pkgconfig/gstreamer-base.pc.in:
12696 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12698 * pkgconfig/Makefile.am:
12699 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12701 2005-04-04 Wim Taymans <wim@fluendo.com>
12703 * gst/base/Makefile.am:
12705 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12706 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12707 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12708 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12709 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12710 (gst_basesrc_base_init), (gst_basesrc_class_init),
12711 (gst_basesrc_init), (gst_basesrc_get_formats),
12712 (gst_basesrc_get_query_types), (gst_basesrc_query),
12713 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12714 (gst_basesrc_set_property), (gst_basesrc_get_property),
12715 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12716 (gst_basesrc_loop), (gst_basesrc_activate),
12717 (gst_basesrc_change_state):
12718 * gst/base/gstbasesrc.h:
12719 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12720 (gst_fakesrc_class_init), (gst_fakesrc_init),
12721 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12722 (gst_fakesrc_get_property), (gst_fakesrc_create):
12723 * gst/elements/gstfakesrc.h:
12724 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12725 (gst_filesrc_open_file), (gst_filesrc_loop),
12726 (gst_filesrc_activate), (filesrc_find_peek),
12727 (gst_filesrc_type_find):
12728 Made base source class, make fakesrc extend it.
12729 Add comments to basesink class.
12730 Some filesrc cleanup.
12732 2005-03-31 David Schleef <ds@schleef.org>
12734 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12735 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12736 expected to link against libgstreamer.
12737 * gst/base/Makefile.am: link against libgstreamer
12738 * gst/elements/Makefile.am: same
12740 2005-03-31 Andy Wingo <wingo@pobox.com>
12742 * tests/instantiate/Makefile.am:
12743 * tests/instantiate/caps.c: Add test to test speed of caps copy
12746 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12747 GMemChunk to be fair.
12749 * gst/gsttrashstack.h: Remove warning about using the fallback
12750 trash stack implementation, it's still faster than malloc.
12752 2005-03-30 Andy Wingo <wingo@pobox.com>
12754 * tests/complexity.c: Add a copyright.
12756 2005-03-31 Wim Taymans <wim@fluendo.com>
12758 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12759 (gst_base_transform_class_init), (gst_base_transform_init),
12760 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12761 (gst_base_transform_get_property),
12762 (gst_base_transform_sink_activate),
12763 (gst_base_transform_src_activate),
12764 (gst_base_transform_change_state):
12765 * gst/base/gstbasetransform.h:
12766 * gst/elements/gstidentity.c: (gst_identity_class_init),
12767 (gst_identity_event), (gst_identity_check_perfect),
12768 (gst_identity_transform), (gst_identity_start),
12769 (gst_identity_stop):
12770 Added start/stop methods to transform base class so subclasses
12771 don't need to deal with state changes even.
12773 2005-03-31 Wim Taymans <wim@fluendo.com>
12775 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12776 (gst_event_new_discontinuous), (gst_event_discont_get_value):
12778 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12779 (gst_pad_pull_range):
12780 Added rate to the discont event to prepare for variable speed
12781 and reverse playback.
12783 2005-03-29 David Schleef <ds@schleef.org>
12786 * testsuite/trigger/Makefile.am:
12787 * testsuite/trigger/trigger.c: A little example program to show
12788 how trigger-based elements can work.
12790 2005-03-29 Wim Taymans <wim@fluendo.com>
12792 * gst/base/Makefile.am:
12794 * gst/base/gstbasesink.c: (gst_basesink_get_type),
12795 (gst_basesink_base_init), (gst_basesink_class_init),
12796 (gst_basesink_pad_getcaps), (gst_basesink_init),
12797 (gst_basesink_activate), (gst_basesink_change_state):
12798 * gst/base/gstbasesink.h:
12799 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12800 (gst_base_transform_base_init), (gst_base_transform_finalize),
12801 (gst_base_transform_class_init), (gst_base_transform_init),
12802 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12803 (gst_base_transform_event), (gst_base_transform_getrange),
12804 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12805 (gst_base_transform_set_property),
12806 (gst_base_transform_get_property),
12807 (gst_base_transform_sink_activate),
12808 (gst_base_transform_src_activate),
12809 (gst_base_transform_change_state):
12810 * gst/base/gstbasetransform.h:
12811 * gst/elements/gstidentity.c: (gst_identity_finalize),
12812 (gst_identity_class_init), (gst_identity_init),
12813 (gst_identity_event), (gst_identity_check_perfect),
12814 (gst_identity_transform), (gst_identity_set_property),
12815 (gst_identity_get_property), (gst_identity_change_state):
12816 * gst/elements/gstidentity.h:
12817 * gst/gstelement.c: (gst_element_get_state_func),
12818 (gst_element_lost_state), (gst_element_pads_activate):
12819 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12820 (gst_pad_check_pull_range), (gst_pad_pull_range):
12822 Simplify pad activation.
12823 Added function to check if pull_range can be performed.
12824 Error out when pulling inactive or flushing pads.
12825 Removed const from refcounted types as it does not make sense.
12826 Simplify pad templates in basesink
12827 Added base class for simple 1-to-1 transforms.
12828 Make identity subclass the base transform.
12830 2005-03-29 Andy Wingo <wingo@pobox.com>
12832 * docs/libs/gstreamer-libs-overrides.txt:
12833 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12834 really don't understand what's going on, but like whatever. I want
12837 * docs/gst/Makefile.am:
12838 * docs/libs/Makefile.am: Dist the overrides files.
12840 * check/Makefile.am (clean-local): Remove .libs directories.
12842 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12843 elements to EXTRA_DIST, so po/ files are happy.
12845 * po/POTFILES.in: Er, remove it here.
12847 * po/POTFILES: Remove gstspider.c.
12849 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12851 * docs/libs/gstreamer-libs-docs.sgml:
12852 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12855 * tests/complexity.c (main): Set the length of the preroll queue
12856 on the sinks to prevent a lockup.
12858 * libs/gst/dataprotocol/Makefile.am:
12859 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12860 the same as the one in check/gst-libs/gdp.c.
12862 * po/, docs/gst/: Commit automatic changes to docs and po files.
12864 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12865 the versioned libgstbase.
12867 * check/Makefile.am: Depend on an unversioned gst-register, seems
12868 to make autoconf happier.
12870 * gst/base/Makefile.am: Make libgstbase a versioned lib.
12872 2005-03-28 Wim Taymans <wim@fluendo.com>
12875 * docs/design/part-gstelement.txt:
12876 * docs/design/part-negotiation.txt:
12877 * docs/design/part-preroll.txt:
12878 * docs/design/part-scheduling.txt:
12879 * docs/design/part-states.txt:
12881 * gst/base/Makefile.am:
12883 * gst/base/gstbasesink.c: (gst_basesink_get_template),
12884 (gst_basesink_base_init), (gst_basesink_class_init),
12885 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12886 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12887 (gst_basesink_set_pad_functions),
12888 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12889 (gst_basesink_set_property), (gst_basesink_get_property),
12890 (gst_base_sink_get_template), (gst_base_sink_get_caps),
12891 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12892 (gst_basesink_preroll_queue_push),
12893 (gst_basesink_preroll_queue_empty),
12894 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12895 (gst_basesink_event), (gst_basesink_get_times),
12896 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12897 (gst_basesink_chain_unlocked), (gst_basesink_chain),
12898 (gst_basesink_loop), (gst_basesink_activate),
12899 (gst_basesink_change_state):
12900 * gst/base/gstbasesink.h:
12901 * gst/elements/Makefile.am:
12902 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
12903 (gst_fakesink_class_init), (gst_fakesink_init),
12904 (gst_fakesink_set_property), (gst_fakesink_get_property),
12905 (gst_fakesink_get_times), (gst_fakesink_event),
12906 (gst_fakesink_preroll), (gst_fakesink_render),
12907 (gst_fakesink_change_state):
12908 * gst/elements/gstfakesink.h:
12909 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12910 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
12911 * gst/gstelement.c: (gst_element_add_pad),
12912 (gst_element_get_state_func), (gst_element_abort_state),
12913 (gst_element_commit_state), (gst_element_lost_state),
12914 (gst_element_set_state), (gst_element_pads_activate):
12915 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
12916 * gst/gstpipeline.c: (gst_pipeline_send_event),
12917 (gst_pipeline_change_state):
12918 Added state change code.
12919 Added/updated docs.
12920 Added sink base class, make fakesink extend the base class.
12921 Small cleanups in GstPipeline.
12923 2005-03-26 David Schleef <ds@schleef.org>
12925 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
12926 is broken and should be implemented in a different library.
12927 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
12928 * gst/gst.h: remove gstcpu.h
12929 * gst/gstcpu.c: remove
12930 * gst/gstcpu.h: remove
12931 * gst/Makefile.am.future: Remove this file. It's ancient.
12933 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12935 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
12936 (gst_bin_send_event):
12937 Add default event/set_manager handlers. The set_manager handler
12938 takes care that the manager is distributed over kids that were
12939 already in the bin before the manager was set. The event handler
12940 is a utility virtual function that sends the event over all sinks,
12941 so that gst_element_send_event (bin, event); has the expected
12943 * gst/gstpad.c: (gst_pad_event_default):
12944 Re-install default event handling for discontinuities, so that
12945 seeking works without requiring hacks in applications or extra
12947 * gst/gstpipeline.c: (gst_pipeline_class_init),
12948 (gst_pipeline_send_event):
12949 Half hack, half utility: set a pipeline to PAUSED for seek events,
12950 since that is the only way we can guarantee a/v sync. Means that
12951 you can do gst_element_seek (pipeline, method, pos); on a pipeline
12952 and it "just works".
12954 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12956 * gst/gstpipeline.c: (gst_pipeline_use_clock):
12957 Lock/unlock mismatch.
12959 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
12961 * docs/faq/gst-uninstalled:
12962 add gst-plugins-base
12963 * docs/gst/Makefile.am:
12964 don't error out until docs are fixed
12965 * docs/gst/gstreamer.types:
12968 2005-03-22 Wim Taymans <wim@fluendo.com>
12970 * check/Makefile.am:
12971 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
12972 * gst/gststructure.c: (gst_structure_set_valist),
12973 (gst_structure_copy_conditional):
12974 Activated more tests.
12975 Added message test.
12976 Added G_TYPE_POINTER to GstStructure.
12979 2005-03-22 Wim Taymans <wim@fluendo.com>
12981 * docs/design/part-TODO.txt:
12982 * docs/design/part-events.txt:
12983 * docs/design/part-gstbin.txt:
12984 * docs/design/part-gstbus.txt:
12985 * docs/design/part-gstpipeline.txt:
12986 * docs/design/part-messages.txt:
12988 * gst/gstmessage.c:
12991 2005-03-21 Wim Taymans <wim@fluendo.com>
12993 * gst/gstbus.c: (gst_bus_post):
12994 Fix copy-and-paste error.
12996 2005-03-21 Wim Taymans <wim@fluendo.com>
12998 * check/Makefile.am:
13000 * gst/elements/Makefile.am:
13001 * gst/elements/gstelements.c:
13002 * gst/elements/gstfakesink.c: (gst_fakesink_init),
13003 (gst_fakesink_event), (gst_fakesink_chain):
13004 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
13005 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
13006 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
13007 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
13008 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
13009 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
13010 (gst_fakesrc_loop), (gst_fakesrc_activate),
13011 (gst_fakesrc_change_state):
13012 * gst/elements/gstfakesrc.h:
13013 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
13014 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
13015 (gst_filesrc_open_file), (gst_filesrc_loop),
13016 (gst_filesrc_activate), (gst_filesrc_change_state),
13017 (filesrc_find_peek), (filesrc_find_suggest),
13018 (gst_filesrc_type_find):
13019 * gst/elements/gstidentity.c: (gst_identity_finalize),
13020 (gst_identity_class_init), (gst_identity_init),
13021 (gst_identity_proxy_getcaps), (identity_queue_push),
13022 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
13023 (gst_identity_getrange), (gst_identity_chain),
13024 (gst_identity_sink_loop), (gst_identity_src_loop),
13025 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
13026 (gst_identity_set_property), (gst_identity_get_property),
13027 (gst_identity_change_state):
13028 * gst/elements/gstidentity.h:
13029 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
13030 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
13031 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
13032 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
13033 (gst_tee_sink_activate):
13034 * gst/elements/gsttee.h:
13035 * gst/gst.c: (gst_register_core_elements), (init_post):
13037 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
13038 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
13039 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
13040 (gst_bin_change_state):
13042 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
13043 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
13044 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
13045 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
13046 (gst_bus_set_sync_handler), (gst_bus_create_watch),
13047 (bus_watch_callback), (bus_watch_destroy),
13048 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
13049 (poll_timeout), (gst_bus_poll):
13053 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13054 (gst_element_post_message), (gst_element_message_full),
13055 (gst_element_get_state_func), (gst_element_get_state),
13056 (gst_element_abort_state), (gst_element_commit_state),
13057 (gst_element_lost_state), (gst_element_set_state),
13058 (gst_element_pads_activate), (gst_element_change_state),
13059 (gst_element_dispose), (gst_element_set_manager_func),
13060 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
13061 (gst_element_set_manager), (gst_element_get_manager),
13062 (gst_element_set_bus), (gst_element_get_bus),
13063 (gst_element_set_scheduler), (gst_element_get_scheduler):
13064 * gst/gstelement.h:
13065 * gst/gstevent.c: (gst_event_new_segment_seek),
13066 (gst_event_new_flush):
13068 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
13069 (_gst_message_free), (gst_message_get_type), (gst_message_new),
13070 (gst_message_new_eos), (gst_message_new_error),
13071 (gst_message_new_warning), (gst_message_new_tag),
13072 (gst_message_new_state_changed), (gst_message_new_application),
13073 (gst_message_get_structure), (gst_message_parse_tag),
13074 (gst_message_parse_state_changed), (gst_message_parse_error),
13075 (gst_message_parse_warning):
13076 * gst/gstmessage.h:
13077 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
13078 (gst_real_pad_set_property), (gst_pad_set_active),
13079 (gst_pad_is_active), (gst_pad_set_blocked_async),
13080 (gst_pad_set_blocked), (gst_pad_is_blocked),
13081 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
13082 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
13083 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13084 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
13085 (gst_pad_link_filtered), (gst_pad_relink_filtered),
13086 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
13087 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
13088 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
13089 (gst_pad_set_caps), (gst_pad_configure_sink),
13090 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
13091 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
13092 (gst_real_pad_dispose), (gst_real_pad_finalize),
13093 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
13094 (gst_pad_event_default_dispatch), (gst_pad_event_default),
13095 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
13097 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
13098 (pipeline_bus_handler), (gst_pipeline_change_state),
13099 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
13100 * gst/gstpipeline.h:
13102 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
13103 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
13104 (gst_queue_link_src), (gst_queue_bufferalloc),
13105 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13106 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
13107 (gst_queue_loop), (gst_queue_handle_src_event),
13108 (gst_queue_handle_src_query), (gst_queue_src_activate),
13109 (gst_queue_change_state):
13111 * gst/gstscheduler.c: (gst_scheduler_init),
13112 (gst_scheduler_dispose), (gst_scheduler_create_task),
13113 (gst_scheduler_factory_create):
13114 * gst/gstscheduler.h:
13115 * gst/gststructure.c: (gst_structure_get_type),
13116 (gst_structure_copy_conditional):
13117 * gst/gststructure.h:
13118 * gst/gsttaginterface.h:
13119 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
13120 (gst_task_init), (gst_task_dispose), (gst_task_create),
13121 (gst_task_get_state), (gst_task_start), (gst_task_stop),
13127 * gst/schedulers/Makefile.am:
13128 * gst/schedulers/cothreads_compat.h:
13129 * gst/schedulers/entryscheduler.c:
13130 * gst/schedulers/faircothreads.c:
13131 * gst/schedulers/faircothreads.h:
13132 * gst/schedulers/fairscheduler.c:
13133 * gst/schedulers/gstbasicscheduler.c:
13134 * gst/schedulers/gstoptimalscheduler.c:
13135 * gst/schedulers/gthread-cothreads.h:
13136 * gst/schedulers/threadscheduler.c:
13137 (gst_thread_scheduler_task_get_type),
13138 (gst_thread_scheduler_task_class_init),
13139 (gst_thread_scheduler_task_init),
13140 (gst_thread_scheduler_task_start),
13141 (gst_thread_scheduler_task_stop),
13142 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
13143 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
13144 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
13145 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
13147 * libs/gst/Makefile.am:
13148 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
13149 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
13150 (gst_file_pad_parent_set):
13151 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13152 (gst_dp_event_from_packet):
13153 * tests/complexity.c: (main):
13154 * tests/mass_elements.c: (main):
13155 * testsuite/states/locked.c: (message_received), (main):
13156 * testsuite/states/parent.c: (main):
13157 * tools/gst-inspect.c: (print_element_flag_info),
13158 (print_implementation_info), (print_pad_info):
13159 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
13161 * tools/gst-md5sum.c: (event_loop), (main):
13162 * tools/gst-typefind.c: (main):
13163 * tools/gst-xmlinspect.c: (print_element_info):
13165 Added GstBus for mainloop integration.
13166 Added GstMessage for sending notifications on the bus.
13167 Added GstTask as an abstraction for pipeline entry points.
13169 Removed Schedulers.
13170 Simplified GstQueue for multithreaded core.
13171 Made _link threadsafe, removed old capsnego.
13172 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
13173 Added pad blocking functions.
13174 Reworked scheduling functions in GstPad to prepare for
13175 scheduling updates soon.
13176 Moved events out of data stream.
13177 Simplified GstEvent types.
13178 Added return values to push/pull.
13179 Removed clocking from GstElement.
13180 Added prototypes for state change function for next merge.
13181 Removed iterate from bins and state change management.
13182 Fixed some elements, disabled others for now.
13183 Fixed -inspect and -launch.
13184 Added check for GstBus.
13186 2005-03-10 Wim Taymans <wim@fluendo.com>
13188 * docs/design/part-MT-refcounting.txt:
13189 * docs/design/part-clocks.txt:
13190 * docs/design/part-gstelement.txt:
13191 * docs/design/part-gstobject.txt:
13192 * docs/design/part-standards.txt:
13193 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13194 (gst_bin_remove_func), (gst_bin_remove):
13198 * testsuite/clock/clock1.c: (main):
13199 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
13201 * testsuite/dlopen/loadgst.c: (do_test):
13202 * testsuite/refcounting/bin.c: (add_remove_test1),
13203 (add_remove_test2), (main):
13204 * testsuite/refcounting/element.c: (main):
13205 * testsuite/refcounting/element_pad.c: (main):
13206 * testsuite/refcounting/pad.c: (main):
13207 * tools/gst-launch.c: (sigint_handler_sighandler):
13208 * tools/gst-typefind.c: (main):
13210 Added doc about clock.
13211 removed gst_bin_iterate_recurse_up(), marked methods
13213 Fix more testsuites.
13215 2005-03-09 Wim Taymans <wim@fluendo.com>
13217 * gst/gstpad.c: (gst_pad_get_direction),
13218 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
13219 (gst_pad_collect_valist):
13220 * testsuite/bins/interface.c: (main):
13221 * testsuite/caps/audioscale.c: (test_caps):
13222 * testsuite/caps/caps.c: (test1), (test2), (test3):
13223 * testsuite/caps/deserialize.c: (main):
13224 * testsuite/caps/enumcaps.c: (main):
13225 * testsuite/caps/filtercaps.c: (main):
13226 * testsuite/caps/intersect2.c: (main):
13227 * testsuite/caps/random.c: (main):
13228 * testsuite/caps/renegotiate.c: (my_fixate), (main):
13229 * testsuite/caps/sets.c: (check_caps):
13230 * testsuite/caps/simplify.c: (check_caps), (main):
13231 * testsuite/caps/subtract.c: (check_caps):
13232 Fix _pad_get_direction wrt ghostpads.
13233 Fix caps testsuite.
13235 2005-03-09 Wim Taymans <wim@fluendo.com>
13237 * check/Makefile.am:
13238 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
13239 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
13240 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
13241 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
13242 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
13243 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
13244 (gst_bin_remove), (gst_bin_iterate_recurse_up),
13245 (bin_element_is_sink), (gst_bin_iterate_sinks),
13246 (gst_bin_iterate_all_by_interface):
13248 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
13249 (gst_element_change_state), (gst_element_dispose),
13250 (gst_element_finalize), (gst_element_set_loop_function):
13251 * gst/gstelement.h:
13252 * gst/gstiterator.c: (find_custom_fold_func):
13253 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13254 (gst_pad_collectv), (gst_pad_collect_valist),
13255 (gst_pad_template_new):
13256 * gst/gstpipeline.c: (gst_pipeline_class_init),
13257 (gst_pipeline_dispose), (gst_pipeline_set_property),
13258 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
13259 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
13260 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
13262 * gst/schedulers/entryscheduler.c:
13263 * gst/schedulers/gstbasicscheduler.c:
13264 (gst_basic_scheduler_cothreaded_chain),
13265 (gst_basic_scheduler_chain_add_element):
13266 * testsuite/bins/interface.c: (main):
13268 Added GstSystemClock test.
13269 Implemented clock distribution code in GstBin.
13270 Implemented iterate sinks method for future use.
13271 Rearranged gstelement.h
13272 Fix GstIterator comparison bug.
13273 Moved some code to GstPipeline, mostly clocking related.
13275 2005-03-09 Wim Taymans <wim@fluendo.com>
13278 * gst/gst_private.h:
13279 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13280 (gst_bin_remove_func), (gst_bin_remove),
13281 (gst_bin_get_by_name_recurse_up):
13282 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
13283 (gst_clock_id_compare_func), (gst_clock_id_wait),
13284 (gst_clock_id_wait_async), (gst_clock_init),
13285 (gst_clock_adjust_unlocked), (gst_clock_get_time):
13286 * gst/gstelement.h:
13287 * gst/gstinfo.c: (_gst_debug_init):
13289 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13290 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
13292 Bump version number, we're now 0.9.0
13293 Add future debugging category.
13294 Fix NULL _unref() in _get_by_name_recurse_up
13295 Rearrange gstpad.h.
13298 2005-03-08 Wim Taymans <wim@fluendo.com>
13300 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
13301 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
13302 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
13303 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
13304 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
13305 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
13306 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
13307 * gst/elements/gstidentity.c: (gst_identity_class_init):
13308 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
13309 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
13310 * gst/elements/gstshaper.c: (gst_shaper_class_init):
13311 * gst/elements/gststatistics.c: (gst_statistics_class_init):
13312 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
13314 * gst/gstelement.c: (gst_element_class_init),
13315 (gst_element_base_class_init), (gst_element_init),
13316 (gst_element_get_random_pad), (gst_element_wait_state_change),
13317 (gst_element_change_state), (gst_element_dispose),
13318 (gst_element_finalize), (gst_element_set_loop_function):
13319 * gst/gstelement.h:
13320 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
13321 * gst/gstthread.c: (gst_thread_class_init),
13322 (gst_thread_release_children_locks), (gst_thread_change_state):
13323 * gst/schedulers/gstbasicscheduler.c:
13324 (gst_basic_scheduler_loopfunc_wrapper),
13325 (gst_basic_scheduler_chain_wrapper),
13326 (gst_basic_scheduler_src_wrapper),
13327 (gst_basic_scheduler_remove_element):
13328 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
13329 Remove threadsafe properties. Fix elements because GObject
13330 complains when installing a property before declaring a
13331 set/get_property handler.
13332 Rearrange gstelement.h file, use STATE macros for state locks.
13333 Free mutexes in the finalize method instead of dispose.
13335 2005-03-08 Wim Taymans <wim@fluendo.com>
13337 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
13338 * gst/gstthread.c: (gst_thread_release_children_locks):
13339 Added parentage check.
13340 Fix build og GstThread again.
13342 2005-03-08 Wim Taymans <wim@fluendo.com>
13344 * docs/design/part-MT-refcounting.txt:
13345 * docs/design/part-conventions.txt:
13346 * docs/design/part-gstobject.txt:
13347 * docs/design/part-relations.txt:
13348 * docs/design/part-standards.txt:
13349 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13350 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
13351 (gst_bin_get_by_name), (gst_bin_get_by_interface),
13352 (gst_bin_iterate_all_by_interface):
13355 * gst/gstelement.c: (gst_element_class_init),
13356 (gst_element_change_state), (gst_element_set_loop_function):
13357 * gst/gstelement.h:
13358 * gst/gstiterator.c:
13359 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
13360 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
13361 (gst_object_dispatch_properties_changed), (gst_object_set_name),
13362 (gst_object_set_parent), (gst_object_unparent),
13363 (gst_object_check_uniqueness):
13365 Docs updates, clean up some headers.
13367 2005-03-07 Wim Taymans <wim@fluendo.com>
13369 * check/.cvsignore:
13370 * check/Makefile.am:
13371 * check/gst-libs/.cvsignore:
13372 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
13373 * check/gst/.cvsignore:
13374 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
13375 (START_TEST), (gstbus_suite), (main):
13376 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
13377 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
13378 (gst_data_suite), (main):
13379 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
13380 (add_fold_func), (gstiterator_suite), (main):
13381 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
13382 (thread_name_object), (thread_name_object_default),
13383 (gst_object_name_compare), (gst_object_suite), (main):
13384 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
13385 (gst_pad_suite), (main):
13386 * check/gstcheck.c: (gst_check_log_message_func),
13387 (gst_check_log_critical_func), (gst_check_init):
13388 * check/gstcheck.h:
13389 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13390 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
13393 2005-03-07 Wim Taymans <wim@fluendo.com>
13395 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
13396 (gst_list_iterator_next), (gst_list_iterator_resync),
13397 (gst_list_iterator_free), (gst_iterator_new_list),
13398 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
13399 (gst_iterator_free), (gst_iterator_push), (filter_next),
13400 (filter_resync), (filter_uninit), (filter_free),
13401 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
13402 (gst_iterator_foreach), (find_custom_fold_func),
13403 (gst_iterator_find_custom):
13404 * gst/gstiterator.h:
13405 Added missing files.
13407 2005-03-07 Wim Taymans <wim@fluendo.com>
13411 * docs/design/part-MT-refcounting.txt:
13412 * docs/design/part-conventions.txt:
13413 * docs/design/part-gstobject.txt:
13414 * docs/design/part-relations.txt:
13415 * examples/mixer/mixer.c: (main):
13416 * examples/thread/thread.c: (eos), (main):
13418 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
13419 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
13420 (gst_spider_plug_from_srcpad):
13421 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
13422 (gst_spider_identity_change_state),
13423 (gst_spider_identity_sink_loop_type_finding):
13424 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
13425 * gst/elements/gstidentity.c: (gst_identity_init):
13426 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
13427 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
13428 * gst/elements/gsttypefindelement.c: (free_entry):
13431 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
13432 (gst_bin_set_clock_func), (gst_bin_auto_clock),
13433 (gst_bin_set_index), (gst_bin_set_element_sched),
13434 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
13435 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
13436 (gst_bin_iterate_elements), (iterate_child_recurse),
13437 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
13438 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
13439 (compare_interface), (gst_bin_get_by_interface),
13440 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
13442 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
13443 (gst_buffer_default_free), (gst_buffer_default_copy),
13444 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
13445 (gst_buffer_create_sub):
13447 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
13448 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
13449 (gst_caps_unref), (gst_static_caps_get),
13450 (gst_caps_remove_and_get_structure), (gst_caps_append),
13451 (gst_caps_append_structure), (gst_caps_remove_structure),
13452 (gst_caps_copy_nth), (gst_caps_set_simple),
13453 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
13454 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
13455 (gst_caps_structure_intersect_field), (gst_caps_intersect),
13456 (gst_caps_structure_subtract_field), (gst_caps_subtract),
13457 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
13458 (gst_caps_structure_figure_out_union),
13459 (gst_caps_switch_structures), (gst_caps_do_simplify),
13460 (gst_caps_replace), (gst_caps_from_string),
13461 (gst_caps_copy_conditional):
13463 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
13464 (_gst_clock_id_free), (gst_clock_id_unref),
13465 (gst_clock_id_compare_func), (gst_clock_id_wait),
13466 (gst_clock_id_wait_async), (gst_clock_class_init),
13467 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
13468 (gst_clock_get_time), (gst_clock_set_time_adjust),
13469 (gst_clock_set_property), (gst_clock_get_property):
13472 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
13473 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
13475 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13476 (gst_element_requires_clock), (gst_element_provides_clock),
13477 (gst_element_set_clock), (gst_element_clock_wait),
13478 (gst_element_wait), (gst_element_set_time_delay),
13479 (gst_element_is_indexable), (gst_element_add_pad),
13480 (gst_element_add_ghost_pad), (gst_element_remove_pad),
13481 (pad_compare_name), (gst_element_get_static_pad),
13482 (gst_element_request_pad), (gst_element_get_request_pad),
13483 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13484 (gst_element_class_get_pad_template_list),
13485 (gst_element_class_get_pad_template), (gst_element_error_func),
13486 (gst_element_get_random_pad), (gst_element_get_event_masks),
13487 (gst_element_send_event), (gst_element_seek),
13488 (gst_element_get_query_types), (gst_element_query),
13489 (gst_element_get_formats), (gst_element_convert),
13490 (gst_element_is_locked_state), (gst_element_set_locked_state),
13491 (gst_element_sync_state_with_parent), (gst_element_change_state),
13492 (gst_element_finalize), (gst_element_yield),
13493 (gst_element_interrupt), (gst_element_set_scheduler),
13494 (gst_element_get_scheduler), (gst_element_set_loop_function):
13495 * gst/gstelement.h:
13497 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13498 (gst_format_get_by_nick), (gst_format_get_details),
13499 (gst_format_iterate_definitions):
13501 * gst/gstindex.c: (gst_index_gtype_resolver):
13504 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13505 (gst_mem_chunk_free):
13506 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13507 (gst_object_ref), (gst_object_unref), (gst_object_sink),
13508 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13509 (gst_object_dispatch_properties_changed),
13510 (gst_object_set_name_default), (gst_object_set_name),
13511 (gst_object_get_name), (gst_object_set_name_prefix),
13512 (gst_object_get_name_prefix), (gst_object_set_parent),
13513 (gst_object_get_parent), (gst_object_unparent),
13514 (gst_object_check_uniqueness), (gst_object_save_thyself),
13515 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13516 (gst_object_set_property), (gst_object_get_property),
13517 (gst_object_get_path_string):
13519 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13520 (gst_real_pad_init), (gst_real_pad_get_property),
13521 (gst_pad_custom_new), (gst_pad_get_direction),
13522 (gst_pad_set_active), (gst_pad_is_active),
13523 (gst_pad_set_event_function), (gst_pad_is_linked),
13524 (gst_pad_link_free), (gst_pad_link_intersect),
13525 (gst_pad_link_fixate), (gst_pad_set_caps),
13526 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13527 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13528 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13529 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13530 (gst_pad_get_caps), (gst_pad_peer_get_caps),
13531 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13532 (gst_pad_realize), (gst_pad_get_allowed_caps),
13533 (gst_real_pad_dispose), (gst_real_pad_finalize),
13534 (gst_pad_collectv), (gst_pad_collect_valist),
13535 (gst_pad_template_dispose), (gst_pad_template_new),
13536 (gst_pad_get_internal_links):
13538 * gst/gstpipeline.c: (gst_pipeline_dispose),
13539 (gst_pipeline_change_state):
13540 * gst/gstpipeline.h:
13542 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13543 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13544 * gst/gstpluginfeature.h:
13545 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13546 * gst/gstquery.c: (_gst_query_type_initialize),
13547 (gst_query_type_register), (gst_query_type_get_by_nick),
13548 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13550 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13551 * gst/gstscheduler.c: (gst_scheduler_add_element),
13552 (gst_scheduler_factory_create):
13553 * gst/gststructure.c: (gst_structure_set_parent_refcount),
13554 (gst_structure_free), (gst_structure_set_name),
13555 (gst_structure_id_set_value), (gst_structure_set_value),
13556 (gst_structure_set_valist), (gst_structure_remove_field),
13557 (gst_structure_remove_fields),
13558 (gst_structure_remove_fields_valist),
13559 (gst_structure_remove_all_fields), (gst_structure_foreach),
13560 (gst_structure_map_in_place),
13561 (gst_caps_structure_fixate_field_nearest_int),
13562 (gst_caps_structure_fixate_field_nearest_double):
13563 * gst/gststructure.h:
13564 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13565 (gst_system_clock_init), (gst_system_clock_dispose),
13566 (gst_system_clock_async_thread),
13567 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13568 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13569 * gst/gstsystemclock.h:
13570 * gst/gsttag.c: (gst_tag_list_add_value_internal),
13571 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13572 * gst/gsttaginterface.c:
13573 * gst/gstthread.c: (gst_thread_dispose),
13574 (gst_thread_release_children_locks), (gst_thread_change_state),
13575 (gst_thread_main_loop):
13576 * gst/gsttrashstack.h:
13577 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13579 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13580 (gst_element_request_pad), (gst_element_get_pad_from_template),
13581 (gst_element_request_compatible_pad),
13582 (gst_element_get_compatible_pad_filtered),
13583 (gst_element_get_compatible_pad), (gst_element_state_get_name),
13584 (gst_element_link_pads_filtered), (gst_element_link_filtered),
13585 (gst_element_link_many), (gst_element_link),
13586 (gst_element_link_pads), (gst_element_unlink_pads),
13587 (gst_element_unlink_many), (gst_element_unlink),
13588 (gst_pad_can_link_filtered), (gst_pad_can_link),
13589 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13590 (gst_object_default_error), (gst_bin_add_many),
13591 (gst_bin_remove_many), (gst_element_populate_std_props),
13592 (gst_element_class_install_std_props), (gst_buffer_merge),
13593 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13594 (link_fold_func), (gst_pad_proxy_setcaps):
13596 * gst/gstvalue.c: (gst_value_deserialize_string):
13597 * gst/parse/grammar.y:
13598 * gst/schedulers/gstbasicscheduler.c:
13599 (gst_basic_scheduler_cothreaded_chain),
13600 (gst_basic_scheduler_chain_recursive_add),
13601 (gst_basic_scheduler_pad_link):
13602 * gst/schedulers/gstoptimalscheduler.c:
13603 (get_group_schedule_function),
13604 (gst_opt_scheduler_state_transition),
13605 (gst_opt_scheduler_add_element), (element_get_reachables_func):
13606 * libs/gst/bytestream/bytestream.c:
13607 * libs/gst/dataprotocol/dataprotocol.c:
13608 (gst_dp_header_from_buffer):
13611 * tests/threadstate/threadstate2.c: (eos):
13612 * tools/gst-compprep.c: (main):
13613 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13614 (print_pad_info), (print_children_info):
13615 * tools/gst-launch.c: (idle_func), (main):
13616 * tools/gst-md5sum.c: (idle_func), (main):
13617 * tools/gst-xmlinspect.c: (print_element_info):
13618 First THREADED backport attempt, focusing on adding locks and
13619 making sure the API is threadsafe. Needs more work. More docs
13622 2005-02-24 Andy Wingo <wingo@pobox.com>
13624 * tests/bench-complexity.scm:
13625 * tests/complexity.gnuplot: New files, good for running complexity
13628 * tests/Makefile.am:
13629 * tests/complexity.c: New test, sets up N elements, at each level
13630 teeing into M streams per element. Eeeenteresting.
13632 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13633 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13634 running bench-mass_elements.scm.
13636 * tests/bench-mass_elements.scm: New script, runs mass_elements
13637 for various numbers of identities, outputting the results to a
13638 file. Requires guile 1.6. Just for testing.
13640 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
13642 * gst/schedulers/fairscheduler.c:
13643 compile with debug disabled
13645 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
13648 hunting season on 0.9 is now OPEN