1 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
4 Add missing quote, should be make ERROR_CFLAGS="".
6 2005-12-20 Wim Taymans <wim@fluendo.com>
8 * docs/design/part-trickmodes.txt:
9 More documentation on trickmodes.
11 2005-12-20 Edward Hervey <edward@fluendo.com>
13 * gst/gstcaps.c: (gst_static_caps_get_type):
15 API addition: GST_TYPE_STATIC_CAPS
16 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
17 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
18 * gst/gstpadtemplate.h:
19 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
20 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
23 2005-12-18 Wim Taymans <wim@fluendo.com>
25 * libs/gst/base/gstadapter.c:
26 * libs/gst/base/gstadapter.h:
27 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
28 (gst_base_sink_get_position):
29 * libs/gst/base/gstbasesink.h:
30 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
31 (gst_base_src_default_query), (gst_base_src_default_do_seek),
32 (gst_base_src_do_seek), (gst_base_src_perform_seek),
33 (gst_base_src_send_event), (gst_base_src_update_length),
34 (gst_base_src_get_range), (gst_base_src_loop),
36 * libs/gst/base/gstbasesrc.h:
37 * libs/gst/base/gstbasetransform.h:
38 * libs/gst/base/gstcollectpads.h:
39 * libs/gst/base/gstpushsrc.c:
40 * libs/gst/base/gstpushsrc.h:
41 * libs/gst/dataprotocol/dataprotocol.c:
42 * libs/gst/dataprotocol/dataprotocol.h:
43 * libs/gst/net/gstnetclientclock.h:
44 * libs/gst/net/gstnettimeprovider.h:
45 Documentation updates.
47 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
49 * docs/manual/basics-helloworld.xml:
50 Remove superfluous closing bracket in helloworld example.
52 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
54 * tools/gst-launch.1.in:
55 Update gst-launch man page; add a section with useful
56 environment variables. Fixes #323882.
58 2005-12-16 Stefan Kost <ensonic@users.sf.net>
62 change some char* into char[]
64 2005-12-16 Wim Taymans <wim@fluendo.com>
66 * gst/gstregistryxml.c: (load_feature):
68 Don't use g_object_unref on GstObjects so that we avoid
69 leaks on unsafe glibs.
71 2005-12-16 Wim Taymans <wim@fluendo.com>
73 * gst/gstbin.c: (gst_bin_recalc_state):
76 2005-12-16 Wim Taymans <wim@fluendo.com>
79 Added make forever target for check.
81 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
83 * gst/gst.c: (init_post):
84 make the registry cache file HOST_CPU-dependent
86 2005-12-16 Andy Wingo <wingo@pobox.com>
88 * plugins/elements/gstbufferstore.c
89 (gst_buffer_store_cleared_func): Pay attention to g_list_append
92 * tests/check/gst/gstobject.c
93 (test_fake_object_name_threaded_unique): Pay attention to
94 g_list_sort return value.
96 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
98 * tools/gst-feedback-m.m:
99 Update for 0.9/0.10 (fixes #323870).
101 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
103 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
104 Fix lcopy for mini objects, the mini object needs to be ref'ed.
106 * tests/check/gst/gstminiobject.c: (my_foo_init),
107 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
108 (test_value_collection), (gst_mini_object_suite):
109 Add test to ensure refcounts end up as expected when passing
110 GstMiniObjects through g_object_get() and g_object_set().
112 2005-12-14 Julien MOUTTE <julien@moutte.net>
114 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
115 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
116 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
117 of collectpads. This version removes a lot of races without
118 touching API/ABI. Yay !
120 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
122 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
123 Don't allow activation of a srcpad in pull_range if it has no
125 Change some debug statements to be a little clearer
127 * plugins/elements/gsttypefindelement.c:
128 (gst_type_find_handle_src_query):
129 Check that we have a peer before executing queries thereupon.
131 * tests/examples/metadata/read-metadata.c: (message_loop):
132 Use gst_bus_pop instead of gst_bus_poll when we just want it to
133 immediately return us any available message with 0 timeout.
135 2005-12-12 Michael Smith <msmith@fluendo.com>
137 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
138 Don't unref factories after calling them.
139 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
140 * plugins/elements/gsttypefindelement.c:
141 (gst_type_find_element_chain):
142 Free lists of factories after using them. Fixing typefinding memory
145 2005-12-12 Stefan Kost <ensonic@users.sf.net>
147 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
148 (gst_plugin_feature_load):
149 more meaningful debug output
152 * tests/old/examples/Makefile.am:
153 make make distcheck happy again
155 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
157 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
158 Catch the special case where we are operating chain-based,
159 but the downstream peer pad has no chain function. Emit a
160 custom error message in this case instead of letting the
161 core generate one implying that this is some sort of core
162 bug. It's not, it just means that whatever got plugged
163 into the pipeline downstream when we announced the type
164 can only operate pull-based, while our source can only
165 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
166 Error string has not been marked for translation yet, as
167 it probably needs some more work first.
169 (gst_type_find_element_get_best_possibility):
170 Add helper function to find the best of all available
171 found possibilities that qualify given the min. threshold.
173 (gst_type_find_element_handle_event):
174 Fix the case where we get an EOS while still in TYPEFIND
175 mode (we want to chose the best of all possible types,
176 not just the first type that happens to be in our unsorted
177 list of possible types).
179 (gst_type_find_element_chain):
180 Make sure we return GST_FLOW_ERROR when we errored out
181 in stop_typefinding(); also, don't just find the best of
182 all found type entries and then use the last examined
183 type entry, but actually use the best entry.
185 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
187 * tests/examples/typefind/typefind.c: (type_found):
188 * tests/examples/xml/runxml.c: (xml_loaded):
189 More gcc4 fixes and a mem leak fix.
191 2005-12-12 Stefan Kost <ensonic@users.sf.net>
193 * tests/examples/xml/createxml.c: (object_saved):
196 2005-12-12 Stefan Kost <ensonic@users.sf.net>
199 enable the examples even more
201 2005-12-12 Andy Wingo <wingo@pobox.com>
203 * libs/gst/net/gstnettimeprovider.c
204 (gst_net_time_provider_class_init, gst_net_time_provider_init)
205 (gst_net_time_provider_set_property)
206 (gst_net_time_provider_get_property): Export "active" as a GObject
208 (gst_net_time_provider_thread): Only respond to time queries if
209 the time provider is active.
211 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
212 NetTimeProvider, preserving binary compat.
214 2005-12-12 Stefan Kost <ensonic@users.sf.net>
216 * tests/examples/controller/audio-example.c: (main):
217 * tests/examples/launch/Makefile.am:
218 convert comments again
220 2005-12-12 Wim Taymans <wim@fluendo.com>
222 * libs/gst/base/gstpushsrc.c:
225 2005-12-12 Wim Taymans <wim@fluendo.com>
227 * docs/libs/gstreamer-libs-sections.txt:
228 Added new symbol to docs.
230 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
231 (gst_base_src_init), (gst_base_src_set_format),
232 (gst_base_src_default_query), (gst_base_src_query),
233 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
234 (gst_base_src_perform_seek), (gst_base_src_send_event),
235 (gst_base_src_default_event), (gst_base_src_event_handler),
236 (gst_base_src_set_property), (gst_base_src_get_property),
237 (gst_base_src_wait), (gst_base_src_do_sync),
238 (gst_base_src_update_length), (gst_base_src_get_range),
239 (gst_base_src_check_get_range), (gst_base_src_loop),
240 (gst_base_src_default_negotiate), (gst_base_src_start),
241 (gst_base_src_activate_push), (gst_base_src_activate_pull),
242 (gst_base_src_change_state):
243 * libs/gst/base/gstbasesrc.h:
244 Implement seeking to other formats than _BYTES.
245 Implement more seeking methods correctly.
248 Added do_seek vmethod to make life easier for subclasses
250 API addition: gst_base_src_set_format()
252 2005-12-12 Stefan Kost <ensonic@users.sf.net>
254 * tests/examples/Makefile.am:
257 2005-12-12 Stefan Kost <ensonic@users.sf.net>
260 * docs/random/ensonic/media-device-daemon.txt:
261 * tests/examples/controller/.cvsignore:
262 * tests/examples/controller/Makefile.am:
263 * tests/examples/controller/audio-example.c: (main):
264 * tests/examples/helloworld/.cvsignore:
265 * tests/examples/helloworld/Makefile.am:
266 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
267 * tests/examples/launch/.cvsignore:
268 * tests/examples/launch/Makefile.am:
269 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
270 * tests/examples/metadata/.cvsignore:
271 * tests/examples/metadata/Makefile.am:
272 * tests/examples/metadata/read-metadata.c: (message_loop),
273 (make_pipeline), (print_tag), (main):
274 * tests/examples/queue/.cvsignore:
275 * tests/examples/queue/Makefile.am:
276 * tests/examples/queue/queue.c: (event_loop), (main):
277 * tests/examples/typefind/.cvsignore:
278 * tests/examples/typefind/Makefile.am:
279 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
281 * tests/examples/xml/.cvsignore:
282 * tests/examples/xml/Makefile.am:
283 * tests/examples/xml/createxml.c: (object_saved), (main):
284 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
285 * tests/old/examples/Makefile.am:
286 * tests/old/examples/TODO:
287 * tests/old/examples/controller/.cvsignore:
288 * tests/old/examples/controller/Makefile.am:
289 * tests/old/examples/controller/audio-example.c:
290 * tests/old/examples/helloworld/.cvsignore:
291 * tests/old/examples/helloworld/Makefile.am:
292 * tests/old/examples/helloworld/helloworld.c:
293 * tests/old/examples/launch/.cvsignore:
294 * tests/old/examples/launch/Makefile.am:
295 * tests/old/examples/launch/mp3parselaunch.c:
296 * tests/old/examples/launch/mp3play:
297 * tests/old/examples/manual/Makefile.am:
298 * tests/old/examples/metadata/Makefile.am:
299 * tests/old/examples/metadata/read-metadata.c:
300 * tests/old/examples/queue/.cvsignore:
301 * tests/old/examples/queue/Makefile.am:
302 * tests/old/examples/queue/queue.c:
303 * tests/old/examples/typefind/.cvsignore:
304 * tests/old/examples/typefind/Makefile.am:
305 * tests/old/examples/typefind/typefind.c:
306 * tests/old/examples/xml/.cvsignore:
307 * tests/old/examples/xml/Makefile.am:
308 * tests/old/examples/xml/createxml.c:
309 * tests/old/examples/xml/runxml.c:
310 applied some simple fixing to some examples
311 re-enabled the working examples
313 2005-12-12 Wim Taymans <wim@fluendo.com>
315 * gst/gstsegment.c: (gst_segment_init),
316 (gst_segment_set_last_stop), (gst_segment_set_seek),
317 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
318 (gst_segment_to_running_time):
319 Added more documentation.
320 Make sure the last_pos value is updated properly.
321 Make sure to_stream_time and to_running_time don't
322 operate on wrong values.
324 * tests/check/gst/gstsegment.c: (GST_START_TEST):
327 2005-12-12 Michael Smith <msmith@fluendo.com>
329 * plugins/elements/gsttypefindelement.c: (free_entry),
330 (gst_type_find_element_chain):
331 Now that we're not leaking factories, make sure we keep references
332 to them while we need them.
334 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
336 * tests/check/gst/struct_i386.h:
337 ifdef out the XML structs
339 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
341 * gst/gstvalue.c: (gst_value_transform_double_fraction):
342 floor is not needed, F is always positive; this obviates the
343 need for adding -lm when building without libxml
345 2005-12-12 Wim Taymans <wim@fluendo.com>
347 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
348 Take current playback rate into account when reporting
351 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
353 * docs/manual/mime-world.fig:
354 Let's try this again, this time with a file that is
355 actually in XFig format.
357 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
359 * docs/manual/mime-world.fig:
360 Add audioconvert element to diagram so that it
361 matches the text and the code (fixes #319526).
363 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
365 * docs/pwg/building-chainfn.xml:
366 * docs/pwg/building-pads.xml:
367 * docs/pwg/building-state.xml:
368 * docs/pwg/other-source.xml:
369 Update state change stuff for 0.10 (fixes #322969).
371 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
373 * docs/manual/advanced-dataaccess.xml:
374 * docs/manual/appendix-checklist.xml:
375 * docs/manual/appendix-programs.xml:
376 * docs/manual/basics-pads.xml:
377 * docs/manual/highlevel-components.xml:
378 * docs/manual/manual.xml:
379 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
380 add converters in front of pipelines; remove curly
381 brackets for threads stuff, they no longer exist; use
382 GST_TYPE_FRACTION for framerates; update some pieces of
383 code to 0.10, but there's plenty more to do.
385 * docs/manual/appendix-porting.xml:
386 Expand on asynchroneous state changes; s/0.9/0.10/;
387 mention disappearance of gst_init_get_popt_table()
390 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
392 * docs/faq/using.xml:
393 Spider no longer exists, and neither does gst-launch-ext.
394 Update examples to use decodebin and playbin and put
395 converters in front of sinks (fixes #323726).
397 2005-12-09 Michael Smith <msmith@fluendo.com>
399 * plugins/elements/gsttypefindelement.c: (find_peek),
400 (gst_type_find_element_chain):
401 Fix leaking element factories in typefinding.
402 Fix problem where we forgot about a probable type on non-seekable
403 files, and thus later mis-typefound it.
405 2005-12-09 Michael Smith <msmith@fluendo.com>
407 * common/m4/gst-makecontext.m4:
408 * common/m4/gst-mcsc.m4:
410 * win32/common/config.h:
411 * win32/common/config.h.in:
412 Remove makecontext stuff; not used in 0.10 and causes problems on
413 HPUX according to bug #322441
415 2005-12-07 Wim Taymans <wim@fluendo.com>
417 * tests/check/Makefile.am:
418 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
420 * tests/check/libs/struct_i386.h:
421 Added ABI check for libs
423 2005-12-07 Wim Taymans <wim@fluendo.com>
425 * tests/check/Makefile.am:
426 And add the struct_i386.h to dist.
428 2005-12-07 Wim Taymans <wim@fluendo.com>
430 * tests/check/Makefile.am:
431 * tests/check/gst/.cvsignore:
432 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
434 * tests/check/gst/struct_i386.h:
435 Added check for ABI compatibility.
437 2005-12-07 Wim Taymans <wim@fluendo.com>
439 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
440 (gst_fake_src_get_times), (gst_fake_src_create):
441 Fix broken sync option, fixes #323259
443 2005-12-07 Wim Taymans <wim@fluendo.com>
448 * gst/gstcaps.c: (gst_caps_is_equal):
449 Don't assert on NULL <--> X. Fixes #323260
451 * gst/gstminiobject.c: (gst_mini_object_replace):
452 If we're doing atomic operations, we might just as well use
453 the proper way to get an atomic pointer.
455 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
458 2005-12-07 Michael Smith <msmith@fluendo.com>
460 * gst/parse/grammar.y:
461 Remove handling of { } for threads.
463 2005-12-06 David Schleef <ds@schleef.org>
465 * libs/gst/base/gstbasetransform.c: speling fix.
467 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
469 * docs/libs/tmpl/gstdataprotocol.sgml:
470 * docs/random/omega/testing/gstobject.c:
474 * gst/gstelementfactory.c:
479 * gst/gstpadtemplate.c:
480 * gst/gstregistryxml.c:
482 * gst/gsttagsetter.c:
485 * libs/gst/base/gstbasesrc.c:
486 * libs/gst/net/gstnetclientclock.c:
487 * libs/gst/net/gstnettimeprovider.c:
488 * plugins/elements/gstfakesrc.c:
489 * plugins/elements/gstfdsrc.c:
490 * plugins/elements/gstfilesrc.c:
491 * plugins/elements/gstidentity.c:
492 * plugins/elements/gstqueue.c:
493 * plugins/elements/gsttypefindelement.c:
494 * plugins/indexers/gstfileindex.c:
495 * plugins/indexers/gstmemindex.c:
496 * tests/check/gst/gsttag.c:
497 * tests/old/examples/cutter/cutter.c:
498 * tests/old/examples/mixer/mixer.c:
499 * tests/old/examples/xml/runxml.c: (main):
500 * tests/old/testsuite/caps/normalisation.c:
501 * tests/old/testsuite/debug/global.c:
502 * tests/old/testsuite/parse/parse1.c:
503 * tools/gst-xmlinspect.c:
504 * win32/common/dirent.c:
507 === release 0.10.0 ===
509 2005-12-05 <thomas (at) apestaart (dot) org>
512 releasing 0.10.0, "Maroilles"
514 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
516 submitted by: Funda Wang <fundawang@linux.net.cn>
520 added Chinese (Traditional) translation
522 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
524 * docs/gst/gstreamer-sections.txt:
525 * docs/libs/tmpl/gstdataprotocol.sgml:
526 * docs/random/thomasvs/TODO:
531 2005-12-05 Andy Wingo <wingo@pobox.com>
533 patch by: Wim Taymans <wim@fluendo.com>
535 * libs/gst/base/gstbasetransform.c
536 (gst_base_transform_prepare_output_buf)
537 (gst_base_transform_buffer_alloc):
538 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
539 alloc_buffer_and_set_caps.
541 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
542 set_caps on the source pad.
543 (gst_pad_alloc_buffer_and_set_caps): New function, does what
544 alloc_buffer used to do. Fixes #322874.
546 * docs/gst/gstreamer-sections.txt:
547 * docs/design/part-negotiation.txt:
548 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
551 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
553 patch by: Sebastien Moutte
556 * win32/common/config.h.in:
557 * win32/vs6/libgstcontroller.dsp:
560 2005-12-05 Wim Taymans <wim@fluendo.com>
562 * gst/gstcaps.c: (gst_caps_is_equal):
563 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
564 (gst_fake_src_create):
565 Back out previous code changes, leave doc updates, file bugs
568 2005-12-05 Wim Taymans <wim@fluendo.com>
570 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
571 (gst_fake_src_get_times), (gst_fake_src_create):
572 * plugins/elements/gstfakesrc.h:
573 Fix broken sync code.
575 2005-12-05 Wim Taymans <wim@fluendo.com>
577 * gst/gstcaps.c: (gst_caps_is_equal):
578 Comparing NULL against !NULL yields different caps, not a
581 2005-12-05 Wim Taymans <wim@fluendo.com>
584 Fix small typo in docs.
586 2005-12-05 Andy Wingo <wingo@pobox.com>
588 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
590 * gst/gst.c (init_post): remove hard-coded 0.9 location for
591 registries/plugins with a MAJORMINOR one.
592 (plugin_desc): Rename library from gstcoreleements to
593 staticelements. Fixes #323222.
595 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
597 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
598 Change debug category to 'collectpads' from 'collect_pads'
601 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
603 patch by: Sebastien Moutte
605 * libs/gst/controller/gstinterpolation.c:
606 use convert function for uint64/double
607 * win32/vs6/libgstcontroller.dsp:
610 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
612 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
613 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
615 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
616 add tests that seem to show that the guint64/gdouble conversions
619 2005-12-02 Wim Taymans <wim@fluendo.com>
621 * gst/gstregistry.c: (gst_registry_add_path):
623 * gst/gstregistryxml.c:
626 2005-12-02 Wim Taymans <wim@fluendo.com>
628 * gst/gstutils.c: (gst_util_uint64_scale_int64),
629 (gst_util_uint64_scale_int):
632 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
635 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
638 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
641 * win32/common/config.h:
642 * win32/vs6/gstreamer.dsw:
643 * win32/vs6/libgstcoreelements.dsp:
644 * win32/vs6/libgstelements.dsp:
645 renamed core elements plugin
647 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
649 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
651 do piece-wise major/minor comparison so 0.9 < 0.10
652 also allow .exe extensions for tools
654 2005-12-02 Michael Smith <msmith@fluendo.com>
657 Escape a % to make gtkdoc happier; bug 322958.
659 === release 0.9.7 ===
661 2005-12-01 <thomas (at) apestaart (dot) org>
664 releasing 0.9.7, "My Dog Has No Nose"
666 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
668 * common/gst-xmlinspect.py:
670 * docs/libs/tmpl/gstdataprotocol.sgml:
671 * docs/random/release:
690 * win32/common/config.h:
691 * win32/common/config.h.in:
692 * win32/vs6/gst_inspect.dsp:
693 * win32/vs6/gst_launch.dsp:
694 * win32/vs6/libgstbase.dsp:
695 * win32/vs6/libgstelements.dsp:
696 * win32/vs6/libgstreamer.dsp:
697 * win32/vs7/GStreamer.vcproj:
698 * win32/vs7/gst-inspect.vcproj:
699 * win32/vs7/gst-launch.vcproj:
700 * win32/vs7/libgstbase.vcproj:
701 bump GST_MAJORMINOR to 0.10
702 reset libtool version
704 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
708 Added Bulgarian translation by (Alexander Shopov)
710 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
712 * tests/check/gst/gstplugin.c:
715 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
717 * common/gst-xmlinspect.py:
718 * common/gtk-doc-plugins.mak:
721 * docs/gst/Makefile.am:
722 * docs/gst/gstreamer-docs.sgml:
723 * docs/gst/gstreamer-sections.txt:
724 * docs/gst/gstreamer.types:
725 * docs/gst/gstreamer.types.in:
726 * docs/plugins/Makefile.am:
727 * docs/plugins/gstreamer-plugins-docs.sgml:
728 * docs/plugins/gstreamer-plugins-sections.txt:
729 * docs/plugins/gstreamer-plugins.types:
730 * docs/plugins/inspect.stamp:
731 * docs/plugins/inspect/plugin-coreelements.xml:
732 * docs/plugins/inspect/plugin-coreindexers.xml:
733 * docs/plugins/scanobj-build.stamp:
735 * plugins/elements/Makefile.am:
736 * plugins/elements/gstelements.c:
737 * plugins/elements/gstfakesink.c:
738 * plugins/elements/gstfakesrc.c:
739 * plugins/elements/gstfilesink.c:
740 * plugins/elements/gstfilesrc.c:
741 * plugins/elements/gstqueue.c:
742 * plugins/indexers/Makefile.am:
743 * plugins/indexers/gstindexers.c:
744 document core plugins in a separate document just like all the
746 rename these plugins to something starting with core
748 2005-12-01 Andy Wingo <wingo@pobox.com>
750 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
751 padding here before, but it missed the commit.
753 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
755 * libs/gst/controller/gstinterpolation.c:
756 whitespace prices have crashed, we should feel free to use some now
757 use gst_guint64_to_gdouble
759 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
761 * libs/gst/controller/gstcontroller.c:
762 * libs/gst/controller/gsthelper.c:
763 * libs/gst/controller/gstinterpolation.c:
764 * libs/gst/controller/lib.c:
765 wrap config.h include
767 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
769 * docs/gst/gstreamer-sections.txt:
772 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
774 * plugins/elements/gstelements.c:
775 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
776 (gst_fd_sink__class_init), (gst_fd_sink__init),
777 (gst_fd_sink__chain), (gst_fd_sink__set_property),
778 (gst_fd_sink__get_property):
779 * plugins/elements/gstfdsink.h:
780 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
781 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
782 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
783 (gst_fd_src_unlock), (gst_fd_src_set_property),
784 (gst_fd_src_get_property), (gst_fd_src_create),
785 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
786 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
787 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
788 (gst_fd_src_uri_handler_init):
789 * plugins/elements/gstfdsrc.h:
790 * plugins/elements/gstqueue.c: (gst_queue_get_type):
793 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
795 * docs/gst/Makefile.am:
796 * docs/gst/gstreamer.types.in:
800 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
807 * tests/benchmarks/complexity.c:
808 * tests/benchmarks/mass-elements.c:
809 * tests/check/Makefile.am:
811 * tools/gst-inspect.c:
812 * tools/gst-xmlinspect.c:
813 various fixes to make
814 --disable-nls --disable-registry --disable-loadsave
815 --disable-parse --disable-gst-debug
816 work and get the core .so down to 360444 bytes after stripping
818 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
823 * docs/random/thomasvs/TODO:
828 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
830 * win32/GStreamer.vcproj:
833 * win32/Makefile.inspect:
834 * win32/Makefile.launch:
835 * win32/Makefile.register:
837 * win32/gst-inspect.vcproj:
838 * win32/gst-launch.vcproj:
839 * win32/gst-register.vcproj:
840 * win32/gstelements.vcproj:
841 * win32/gstgetbits.def:
842 * win32/gstgetbits.vcproj:
843 * win32/gstreamer-dbg.def:
844 * win32/gstreamer.def:
845 * win32/libgstbase.def:
846 * win32/libgstbase.vcproj:
847 * win32/link_oldruntime.c:
852 move even more stuff, win32/ is nice and clean now
854 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
856 * libs/gst/control/.cvsignore:
861 * win32/gstbytestream.def:
862 * win32/gstbytestream.vcproj:
864 * win32/gstenumtypes.c:
865 * win32/gstenumtypes.h:
866 * win32/gstoptimalscheduler.vcproj:
867 * win32/gstversion.h:
869 * win32/testsuite/bins.vcproj:
870 * win32/testsuite/bytestream.vcproj:
871 * win32/testsuite/caps.vcproj:
872 * win32/testsuite/cleanup.vcproj:
873 * win32/testsuite/clock.vcproj:
874 * win32/testsuite/debug.vcproj:
875 * win32/testsuite/dlopen.vcproj:
876 * win32/testsuite/dynparams.vcproj:
877 * win32/testsuite/elements.vcproj:
878 * win32/testsuite/ghostpads.vcproj:
879 * win32/testsuite/indexers.vcproj:
880 * win32/testsuite/negotiation.vcproj:
881 * win32/testsuite/parse.vcproj:
882 * win32/testsuite/plugin.vcproj:
883 * win32/testsuite/refcounting.vcproj:
884 * win32/testsuite/schedulers.vcproj:
885 * win32/testsuite/states.vcproj:
886 * win32/testsuite/tags.vcproj:
887 * win32/testsuite/threads.vcproj:
888 remove old win32 stuff that isn't maintained and should be
891 2005-11-30 Andy Wingo <wingo@pobox.com>
893 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
894 loading the gst.interfaces python module bork.
896 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
897 available since GLib 2.2. Fixes #318031.
899 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
904 * check/elements/.cvsignore:
905 * check/elements/fakesrc.c:
906 * check/elements/fdsrc.c:
907 * check/elements/identity.c:
908 * check/generic/.cvsignore:
909 * check/generic/states.c:
910 * check/gst-libs/.cvsignore:
911 * check/gst-libs/controller.c:
912 * check/gst-libs/gdp.c:
913 * check/gst/.cvsignore:
914 * check/gst/capslist.h:
916 * check/gst/gstbin.c:
917 * check/gst/gstbuffer.c:
918 * check/gst/gstbus.c:
919 * check/gst/gstcaps.c:
920 * check/gst/gstelement.c:
921 * check/gst/gstevent.c:
922 * check/gst/gstghostpad.c:
923 * check/gst/gstiterator.c:
924 * check/gst/gstmessage.c:
925 * check/gst/gstminiobject.c:
926 * check/gst/gstobject.c:
927 * check/gst/gstpad.c:
928 * check/gst/gstpipeline.c:
929 * check/gst/gstplugin.c:
930 * check/gst/gstsegment.c:
931 * check/gst/gststructure.c:
932 * check/gst/gstsystemclock.c:
933 * check/gst/gsttag.c:
934 * check/gst/gstutils.c:
935 * check/gst/gstvalue.c:
936 * check/net/.cvsignore:
937 * check/net/gstnetclientclock.c:
938 * check/net/gstnettimeprovider.c:
939 * check/pipelines/.cvsignore:
940 * check/pipelines/cleanup.c:
941 * check/pipelines/simple_launch_lines.c:
942 * check/pipelines/stress.c:
943 * check/states/.cvsignore:
944 * check/states/sinks.c:
946 * examples/Makefile.am:
947 * examples/appreader/.cvsignore:
948 * examples/appreader/Makefile.am:
949 * examples/appreader/appreader.c:
950 * examples/controller/.cvsignore:
951 * examples/controller/Makefile.am:
952 * examples/controller/audio-example.c:
953 * examples/cutter/.cvsignore:
954 * examples/cutter/Makefile.am:
955 * examples/cutter/cutter.c:
956 * examples/cutter/cutter.h:
957 * examples/events/Makefile.am:
958 * examples/events/seek.c:
959 * examples/helloworld/.cvsignore:
960 * examples/helloworld/Makefile.am:
961 * examples/helloworld/helloworld.c:
962 * examples/helloworld2/.cvsignore:
963 * examples/helloworld2/Makefile.am:
964 * examples/helloworld2/helloworld2.c:
965 * examples/launch/.cvsignore:
966 * examples/launch/Makefile.am:
967 * examples/launch/mp3parselaunch.c:
968 * examples/launch/mp3play:
969 * examples/manual/.cvsignore:
970 * examples/manual/Makefile.am:
971 * examples/manual/extract.pl:
972 * examples/metadata/Makefile.am:
973 * examples/metadata/read-metadata.c:
974 * examples/mixer/.cvsignore:
975 * examples/mixer/Makefile.am:
976 * examples/mixer/mixer.c:
977 * examples/mixer/mixer.h:
978 * examples/pingpong/.cvsignore:
979 * examples/pingpong/Makefile.am:
980 * examples/pingpong/pingpong.c:
981 * examples/plugins/.cvsignore:
982 * examples/plugins/Makefile.am:
983 * examples/plugins/example.c:
984 * examples/plugins/example.h:
985 * examples/pwg/.cvsignore:
986 * examples/pwg/Makefile.am:
987 * examples/pwg/extract.pl:
988 * examples/queue/.cvsignore:
989 * examples/queue/Makefile.am:
990 * examples/queue/queue.c:
991 * examples/queue2/.cvsignore:
992 * examples/queue2/Makefile.am:
993 * examples/queue2/queue2.c:
994 * examples/queue3/.cvsignore:
995 * examples/queue3/Makefile.am:
996 * examples/queue3/queue3.c:
997 * examples/queue4/.cvsignore:
998 * examples/queue4/Makefile.am:
999 * examples/queue4/queue4.c:
1000 * examples/retag/.cvsignore:
1001 * examples/retag/Makefile.am:
1002 * examples/retag/retag.c:
1003 * examples/retag/transcode.c:
1004 * examples/thread/.cvsignore:
1005 * examples/thread/Makefile.am:
1006 * examples/thread/thread.c:
1007 * examples/typefind/.cvsignore:
1008 * examples/typefind/Makefile.am:
1009 * examples/typefind/typefind.c:
1010 * examples/xml/.cvsignore:
1011 * examples/xml/Makefile.am:
1012 * examples/xml/createxml.c:
1013 * examples/xml/runxml.c:
1014 * tests/Makefile.am:
1015 * tests/check/Makefile.am:
1016 * testsuite/.cvsignore:
1017 * testsuite/Makefile.am:
1019 * testsuite/caps/.cvsignore:
1020 * testsuite/caps/Makefile.am:
1021 * testsuite/caps/app_fixate.c:
1022 * testsuite/caps/audioscale.c:
1023 * testsuite/caps/caps.c:
1024 * testsuite/caps/caps.h:
1025 * testsuite/caps/caps_strings:
1026 * testsuite/caps/compatibility.c:
1027 * testsuite/caps/deserialize.c:
1028 * testsuite/caps/enumcaps.c:
1029 * testsuite/caps/eratosthenes.c:
1030 * testsuite/caps/filtercaps.c:
1031 * testsuite/caps/fixed.c:
1032 * testsuite/caps/fraction-convert.c:
1033 * testsuite/caps/fraction-multiply-and-zero.c:
1034 * testsuite/caps/intersect2.c:
1035 * testsuite/caps/intersection.c:
1036 * testsuite/caps/normalisation.c:
1037 * testsuite/caps/random.c:
1038 * testsuite/caps/renegotiate.c:
1039 * testsuite/caps/sets.c:
1040 * testsuite/caps/simplify.c:
1041 * testsuite/caps/string-conversions.c:
1042 * testsuite/caps/structure.c:
1043 * testsuite/caps/subtract.c:
1044 * testsuite/caps/union.c:
1045 * testsuite/debug/.cvsignore:
1046 * testsuite/debug/Makefile.am:
1047 * testsuite/debug/category.c:
1048 * testsuite/debug/commandline.c:
1049 * testsuite/debug/global.c:
1050 * testsuite/debug/output.c:
1051 * testsuite/debug/printf_extension.c:
1052 * testsuite/dlopen/.cvsignore:
1053 * testsuite/dlopen/Makefile.am:
1054 * testsuite/dlopen/dlopen_gst.c:
1055 * testsuite/dlopen/loadgst.c:
1056 * testsuite/elements/.cvsignore:
1057 * testsuite/elements/Makefile.am:
1058 * testsuite/elements/gst-inspect-check.in:
1059 * testsuite/elements/struct_i386.h:
1060 * testsuite/elements/struct_size.c:
1061 * testsuite/indexers/.cvsignore:
1062 * testsuite/indexers/Makefile.am:
1063 * testsuite/indexers/cache1.c:
1064 * testsuite/indexers/indexdump.c:
1065 * testsuite/parse/.cvsignore:
1066 * testsuite/parse/Makefile.am:
1067 * testsuite/parse/parse1.c:
1068 * testsuite/parse/parse2.c:
1069 * testsuite/plugin/.cvsignore:
1070 * testsuite/plugin/Makefile.am:
1071 * testsuite/plugin/README:
1072 * testsuite/plugin/dynamic.c:
1073 * testsuite/plugin/linked.c:
1074 * testsuite/plugin/loading.c:
1075 * testsuite/plugin/registry.c:
1076 * testsuite/plugin/static.c:
1077 * testsuite/plugin/static2.c:
1078 * testsuite/plugin/testplugin.c:
1079 * testsuite/plugin/testplugin2.c:
1080 * testsuite/plugin/testplugin2_s.c:
1081 * testsuite/plugin/testplugin_s.c:
1082 * testsuite/refcounting/.cvsignore:
1083 * testsuite/refcounting/Makefile.am:
1084 * testsuite/refcounting/bin.c:
1085 * testsuite/refcounting/element.c:
1086 * testsuite/refcounting/element_pad.c:
1087 * testsuite/refcounting/mainloop.c:
1088 * testsuite/refcounting/mem.c:
1089 * testsuite/refcounting/mem.h:
1090 * testsuite/refcounting/object.c:
1091 * testsuite/refcounting/pad.c:
1092 * testsuite/refcounting/sched.c:
1093 * testsuite/refcounting/thread.c:
1094 * testsuite/states/.cvsignore:
1095 * testsuite/states/Makefile.am:
1096 * testsuite/states/bin.c:
1097 * testsuite/states/locked.c:
1098 * testsuite/states/parent.c:
1099 * testsuite/threads/.cvsignore:
1100 * testsuite/threads/159566.c:
1101 * testsuite/threads/159852.c:
1102 * testsuite/threads/Makefile.am:
1103 * testsuite/threads/queue.c:
1104 * testsuite/threads/signals.c:
1105 * testsuite/threads/staticrec.c:
1106 * testsuite/threads/thread.c:
1107 * testsuite/threads/threadb.c:
1108 * testsuite/threads/threadc.c:
1109 * testsuite/threads/threadd.c:
1110 * testsuite/threads/threade.c:
1111 * testsuite/threads/threadf.c:
1112 * testsuite/threads/threadg.c:
1113 * testsuite/threads/threadh.c:
1114 * testsuite/threads/threadi.c:
1115 move all of these under tests
1117 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1120 * tests/Makefile.am:
1123 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1125 * docs/gst/gstreamer-sections.txt:
1126 * tests/sched/.cvsignore:
1127 * tests/sched/Makefile.am:
1128 * tests/sched/cases/(fs-fs).xml:
1129 * tests/sched/cases/(fs-i-fs).xml:
1130 * tests/sched/cases/(fs-i-i-fs).xml:
1131 * tests/sched/cases/(fs-i-q[i-fs]).xml:
1132 * tests/sched/dynamic-pipeline.c:
1133 * tests/sched/interrupt1.c:
1134 * tests/sched/interrupt2.c:
1135 * tests/sched/interrupt3.c:
1136 * tests/sched/runtestcases:
1137 * tests/sched/runxml.c:
1138 * tests/sched/sched-stress.c:
1139 * tests/sched/sort.c:
1140 * tests/sched/testcases:
1141 * tests/sched/testcases1.tc:
1142 * tests/seeking/.cvsignore:
1143 * tests/seeking/Makefile.am:
1144 * tests/seeking/seeking1.c:
1145 * tests/threadstate/.cvsignore:
1146 * tests/threadstate/Makefile.am:
1147 * tests/threadstate/test1.c:
1148 * tests/threadstate/test2.c:
1149 * tests/threadstate/threadstate1.c:
1150 * tests/threadstate/threadstate2.c:
1151 * tests/threadstate/threadstate3.c:
1152 * tests/threadstate/threadstate4.c:
1153 * tests/threadstate/threadstate5.c:
1154 remove obsolete tests
1156 * tests/bench-complexity.scm:
1157 * tests/bench-mass_elements.scm:
1158 * tests/complexity.c:
1159 * tests/complexity.gnuplot:
1160 * tests/instantiate/.cvsignore:
1161 * tests/instantiate/Makefile.am:
1162 * tests/instantiate/caps.c:
1163 * tests/mass_elements.c:
1164 * tests/network-clock-utils.scm:
1165 * tests/network-clock.scm:
1167 First pass at cleaning up tests/ dir before moving the rest
1168 Combined with CVS surgery
1170 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1173 queue has moved, update
1175 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1177 * docs/gst/gstreamer-sections.txt:
1178 remove double entries from the docs
1179 * gst/gst_private.h:
1180 * gst/gstinfo.c: (_gst_debug_init):
1181 remove the THREAD debug category
1185 * docs/gst/gstreamer.types:
1186 * plugins/elements/gstqueue.c: (gst_queue_get_type),
1187 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
1188 completely move queue and fix up debugging categories
1190 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1192 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1193 make initialization portable, using LL is not
1195 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1197 * win32/common/gstconfig.h:
1200 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1202 * win32/common/libgstreamer.def:
1203 rename symbols; sort base section
1205 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1207 * gst/gstclock.c: (do_linear_regression):
1208 remove crack non-portable handrolled DEBUG macro
1210 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1212 * docs/random/release:
1214 * win32/common/gstenumtypes.c: (register_gst_object_flags),
1215 (gst_object_flags_get_type), (register_gst_bin_flags),
1216 (gst_bin_flags_get_type), (register_gst_buffer_flag),
1217 (gst_buffer_flag_get_type), (register_gst_bus_flags),
1218 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
1219 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
1220 (gst_caps_flags_get_type), (register_gst_clock_return),
1221 (gst_clock_return_get_type), (register_gst_clock_entry_type),
1222 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
1223 (gst_clock_flags_get_type), (register_gst_state),
1224 (gst_state_get_type), (register_gst_state_change_return),
1225 (gst_state_change_return_get_type), (register_gst_state_change),
1226 (gst_state_change_get_type), (register_gst_element_flags),
1227 (gst_element_flags_get_type), (register_gst_core_error),
1228 (gst_core_error_get_type), (register_gst_library_error),
1229 (gst_library_error_get_type), (register_gst_resource_error),
1230 (gst_resource_error_get_type), (register_gst_stream_error),
1231 (gst_stream_error_get_type), (register_gst_event_type_flags),
1232 (gst_event_type_flags_get_type), (register_gst_event_type),
1233 (gst_event_type_get_type), (register_gst_seek_type),
1234 (gst_seek_type_get_type), (register_gst_seek_flags),
1235 (gst_seek_flags_get_type), (register_gst_format),
1236 (gst_format_get_type), (register_gst_index_certainty),
1237 (gst_index_certainty_get_type), (register_gst_index_entry_type),
1238 (gst_index_entry_type_get_type),
1239 (register_gst_index_lookup_method),
1240 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
1241 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
1242 (gst_index_resolver_method_get_type), (register_gst_index_flags),
1243 (gst_index_flags_get_type), (register_gst_debug_level),
1244 (gst_debug_level_get_type), (register_gst_debug_color_flags),
1245 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
1246 (gst_iterator_result_get_type), (register_gst_iterator_item),
1247 (gst_iterator_item_get_type), (register_gst_message_type),
1248 (gst_message_type_get_type), (register_gst_mini_object_flags),
1249 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
1250 (gst_pad_link_return_get_type), (register_gst_flow_return),
1251 (gst_flow_return_get_type), (register_gst_activate_mode),
1252 (gst_activate_mode_get_type), (register_gst_pad_direction),
1253 (gst_pad_direction_get_type), (register_gst_pad_flags),
1254 (gst_pad_flags_get_type), (register_gst_pad_presence),
1255 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
1256 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
1257 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
1258 (gst_plugin_error_get_type), (register_gst_plugin_flags),
1259 (gst_plugin_flags_get_type), (register_gst_rank),
1260 (gst_rank_get_type), (register_gst_query_type),
1261 (gst_query_type_get_type), (register_gst_tag_merge_mode),
1262 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
1263 (gst_tag_flag_get_type), (register_gst_task_state),
1264 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
1265 (gst_alloc_trace_flags_get_type),
1266 (register_gst_type_find_probability),
1267 (gst_type_find_probability_get_type), (register_gst_uri_type),
1268 (gst_uri_type_get_type), (register_gst_parse_error),
1269 (gst_parse_error_get_type):
1270 * win32/common/gstenumtypes.h:
1271 * win32/common/gstversion.h:
1272 update visual studio generated files
1274 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1276 * win32/vs6/libgstbase.dsp:
1277 * win32/vs6/libgstelements.dsp:
1278 update project files for new locations
1280 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1285 reinstate and update
1290 * docs/random/LICENSE:
1293 2005-11-30 Edward Hervey <edward@fluendo.com>
1295 * gst/gsttypefind.c: (gst_type_find_register):
1296 * gst/gsttypefind.h:
1297 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
1298 (gst_type_find_factory_dispose):
1299 * gst/gsttypefindfactory.h:
1300 Fix memory leak in GstTypeFindFactory.
1302 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1305 * plugins/elements/Makefile.am:
1306 * plugins/elements/gstelements.c:
1307 * plugins/elements/gstqueue.c:
1308 move queue from core to the elements plugin
1310 2005-11-29 Andy Wingo <wingo@pobox.com>
1312 * libs/gst/base/gstbasetransform.h:
1313 * libs/gst/base/gstbasesrc.h:
1314 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
1316 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
1317 of pointers by which to pad very extensible base classes (like the
1318 ones in libs/gst/base).
1320 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1322 * docs/gst/gstreamer-docs.sgml:
1323 * docs/gst/gstreamer-sections.txt:
1324 * docs/libs/gstreamer-libs-docs.sgml:
1325 * docs/libs/gstreamer-libs-sections.txt:
1326 moving documentation from core to lib
1328 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1330 * check/Makefile.am:
1332 * docs/gst/Makefile.am:
1334 * gst/base/.cvsignore:
1335 * gst/base/Makefile.am:
1337 * gst/base/gstadapter.c:
1338 * gst/base/gstadapter.h:
1339 * gst/base/gstbasesink.c:
1340 * gst/base/gstbasesink.h:
1341 * gst/base/gstbasesrc.c:
1342 * gst/base/gstbasesrc.h:
1343 * gst/base/gstbasetransform.c:
1344 * gst/base/gstbasetransform.h:
1345 * gst/base/gstcollectpads.c:
1346 * gst/base/gstcollectpads.h:
1347 * gst/base/gstpushsrc.c:
1348 * gst/base/gstpushsrc.h:
1349 * gst/base/gsttypefindhelper.c:
1350 * gst/base/gsttypefindhelper.h:
1351 * gst/check/Makefile.am:
1352 * gst/check/gstcheck.c:
1353 * gst/check/gstcheck.h:
1354 * gst/net/Makefile.am:
1356 * gst/net/gstnetclientclock.c:
1357 * gst/net/gstnetclientclock.h:
1358 * gst/net/gstnettimepacket.c:
1359 * gst/net/gstnettimepacket.h:
1360 * gst/net/gstnettimeprovider.c:
1361 * gst/net/gstnettimeprovider.h:
1362 * libs/gst/Makefile.am:
1363 * libs/gst/base/Makefile.am:
1364 * libs/gst/base/gstbasetransform.c:
1365 * libs/gst/check/Makefile.am:
1366 * plugins/elements/Makefile.am:
1368 CVS surgery + support to move base, check, and net out of gst
1371 2005-11-29 Andy Wingo <wingo@pobox.com>
1373 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
1375 * gst/gststructure.h (struct _GstStructure): Only one pointer of
1378 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
1380 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
1382 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
1384 * gst/gstobject.h: (struct _GstObject): Only one pointer of
1385 padding; reduces object size by about 30%. We don't expect
1386 anything else to go into gstobject.
1388 * gst/gstminiobject.h (struct _GstMiniObject)
1389 (struct _GstMiniObjectClass): Only one pointer of padding; the
1390 payload is only a pointer and two ints anyway. For the class there
1391 are only two methods as well.
1393 * gst/gstelement.h (struct _GstElementClass): Removed
1394 the state_changed signal callback, it is not used.
1396 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1398 * docs/gst/gstreamer.types:
1399 fix includes, though they are a little dinky
1401 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1403 * check/Makefile.am:
1404 look in the right place for elements, a lot more chance of
1407 remove indexers and elements subdirs
1408 * plugins/Makefile.am:
1409 make indexers conditional
1411 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1415 * plugins/elements/Makefile.am:
1416 * plugins/elements/gstcapsfilter.c:
1417 * plugins/elements/gstfilesink.c:
1418 * plugins/elements/gstfilesrc.c:
1419 * plugins/elements/gstidentity.c:
1420 * plugins/indexers/Makefile.am:
1421 do CVS surgery and related build fixery to move elements
1422 and indexers in a new gstreamer/plugins directory, out of the
1425 2005-11-29 Andy Wingo <wingo@pobox.com>
1427 * check/Makefile.am:
1428 * pkgconfig/gstreamer-net-uninstalled.pc.in:
1429 * pkgconfig/gstreamer-net.pc.in:
1430 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
1433 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1435 * tools/Makefile.am:
1436 * tools/gst-complete.1.in:
1437 * tools/gst-complete.c:
1438 * tools/gst-compprep.1.in:
1439 * tools/gst-compprep.c:
1440 removing -compprep and -complete
1442 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1444 * gst/gstevent.c: (gst_event_new_new_segment),
1445 (gst_event_parse_new_segment):
1447 fix #320529 - clean up new_segment API and structure.
1448 Let's hope everyone was using the methods, and not the structure.
1450 2005-11-29 Edward Hervey <edward@fluendo.com>
1452 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1453 (gst_base_sink_event), (gst_base_sink_do_sync),
1454 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
1455 Properly handle non GST_FORMAT_TIME segment
1456 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1457 Properly handle non GST_FORMAT_TIME segment
1459 This function is valid if the accumulator is 0 and the format
1460 is different from the requested format.
1462 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1464 * docs/gst/gstreamer-sections.txt:
1465 Add gst_query_new_seeking and gst_query_parse_seeking to the
1468 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1470 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
1471 Treat a pad alloc with new caps the same as if we were not
1472 negotiated, in order to allow a changing upstream output
1473 to produce a new format of data.
1475 2005-11-29 Edward Hervey <edward@fluendo.com>
1477 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1478 (gst_base_transform_event), (gst_base_transform_eventfunc):
1479 The event virtual method is now properly implemented, with a default
1481 Sub classes should call the parent_class event method. They should
1482 return FALSE if they had a problem handling the given event, or don't
1483 want GstBaseTransform to send that even downstream
1484 * gst/elements/gstidentity.c: (gst_identity_class_init),
1485 (gst_identity_init), (gst_identity_event),
1486 (gst_identity_transform_ip), (gst_identity_set_property),
1487 (gst_identity_get_property):
1488 * gst/elements/gstidentity.h:
1489 Added the single-segment boolean property.
1490 If set to TRUE, it will output a single segment of data, starting from
1491 0, will eat up all incoming newsegment, and modify the timestamp of the
1494 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
1496 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
1497 Don't ref NULL target pad (#322751). Improve docs.
1499 2005-11-29 Michael Smith <msmith@fluendo.com>
1501 * gst/gstregistryxml.c: (load_plugin):
1502 Don't crash if we failed to load a feature from a plugin.
1504 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1506 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
1508 use more check API and less GLib API
1510 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1513 don't run checks if we don't have check
1515 remove the registry when running make torture
1516 * docs/gst/gstreamer-sections.txt:
1517 remove second multiply
1518 * gst/gstqueue.c: (gst_queue_loop):
1519 fix a compile warning when disabling debug
1521 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1524 Hey! Let's print the pad name if the pointer != NULL instead
1525 of when it == NULL :-)
1527 2005-11-28 Wim Taymans <wim@fluendo.com>
1529 * check/gst/gstutils.c: (GST_START_TEST):
1530 Updated check, add some scaling accuracy checking code.
1532 * gst/gstutils.c: (gst_util_div128_64),
1533 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
1534 (gst_util_uint64_scale_int):
1535 Fix 6 times faster division code. Optimize for common
1536 1/1 and less common X/1 cases.
1538 2005-11-28 Wim Taymans <wim@fluendo.com>
1540 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1543 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
1544 (do_linear_regression), (gst_clock_add_observation):
1546 Release lock when the clock cannot be slaved.
1547 Catch the case where the regression returned an invalid denominator.
1549 * gst/gstutils.c: (gst_util_div128_64_iterate),
1550 (gst_util_div128_64), (gst_util_uint64_scale_int64),
1551 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1552 Add protentially more performant non-iterative 128/64 divide function
1553 that unfortunatly does not work yet.
1554 Shortcut the trivial 0/X = 0 case.
1555 Remove the warnings on overflow.
1557 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1559 * gst/gstplugin.c: (gst_plugin_register_func):
1560 everything causing a plugin not to load should be at least a WARNING
1562 2005-11-28 Stefan Kost <ensonic@users.sf.net>
1564 * docs/random/ensonic/dparams.txt:
1565 some TODOs for the next dev cycle
1566 * libs/gst/controller/gstcontroller.c:
1567 (gst_controlled_property_set_interpolation_mode),
1568 (gst_controlled_property_new):
1569 * libs/gst/controller/gstcontroller.h:
1570 use base type to assign acccessor functions
1572 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1574 * check/Makefile.am:
1575 Oops, that should have been top_srcdir
1577 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1579 * check/Makefile.am:
1580 * check/elements/fdsrc.c: (GST_START_TEST):
1581 Use a cmdline define to specify the location of a file to use for
1582 testing, to avoid breaking distcheck.
1584 2005-11-28 Andy Wingo <wingo@pobox.com>
1586 * gst/gstpad.c (fixate_value): Use array functions for arrays.
1588 2005-11-28 Edward Hervey <edward@fluendo.com>
1590 * tools/gst-launch.c: (main):
1591 Clarify the output strings, makes it easier to translate.
1594 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1597 don't try and build net if we don't even have <sys/socket.h>
1599 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
1601 * check/Makefile.am:
1602 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1603 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1604 Add tests for fdsrc seekability
1606 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1607 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1608 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1609 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1610 * gst/elements/gstfdsrc.h:
1611 fdsrc should not be a 'live' source.
1612 Implement seeking on seekable fd's.
1614 * gst/gstquery.c: (gst_query_new_seeking),
1615 (gst_query_parse_seeking):
1617 Implement SEEKING query functions:
1618 *_new_seeking and *_parse_seeking
1620 2005-11-27 Stefan Kost <ensonic@users.sf.net>
1622 * gst/gstelement.c: (gst_element_dispose):
1625 * gst/gstiterator.c:
1626 * gst/gststructure.c:
1629 * libs/gst/controller/gstcontroller.c:
1630 (gst_controlled_property_set_interpolation_mode):
1631 * libs/gst/controller/gstcontroller.h:
1632 * libs/gst/controller/gstinterpolation.c:
1633 (interpolate_none_get_enum_value_array):
1634 support controlling enums
1636 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1639 Improve documentation for gst_value_union().
1642 Change return value for union, intersect and subtract functions
1643 from gint to gboolean.
1645 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1647 * gst/gstvalue.c: (gst_value_serialize_any_list),
1648 (gst_value_transform_any_list_string),
1649 (gst_value_deserialize_list), (gst_value_deserialize_array),
1650 (gst_value_set_int_range), (gst_value_deserialize_int_range),
1651 (gst_value_set_double_range), (gst_value_deserialize_double_range),
1652 (gst_value_set_fraction_range_full),
1653 (gst_value_deserialize_fraction_range),
1654 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1655 (gst_value_deserialize_boolean),
1656 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1657 (gst_value_serialize_float), (gst_value_deserialize_float),
1658 (gst_string_wrap), (gst_value_deserialize_string),
1659 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1660 (gst_value_union_int_range_int_range),
1661 (gst_value_intersect_int_range_int_range),
1662 (gst_value_intersect_double_range_double_range),
1663 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1664 (gst_value_subtract_int_range_int_range),
1665 (gst_value_subtract_double_double_range),
1666 (gst_value_subtract_double_range_double_range),
1667 (gst_value_deserialize_fraction):
1669 Use gint, gdouble and gchar in our API instead of int, double and
1670 char (and make usage in gstvalue.c more consistent).
1672 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1674 * check/Makefile.am:
1675 * libs/gst/controller/Makefile.am:
1676 * libs/gst/dataprotocol/Makefile.am:
1677 fix up Makefile.am and remove GST_ENABLE_NEW
1679 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1683 * gst/base/Makefile.am:
1684 * gst/check/Makefile.am:
1685 * gst/elements/Makefile.am:
1686 * gst/net/Makefile.am:
1687 update LDFLAGS use some more
1689 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1691 * common/m4/gst-doc.m4:
1694 2005-11-26 Edward Hervey <edward@fluendo.com>
1696 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1697 This shouldn't issue a g_warning since it returns NULL if it
1698 couldn't find the plugin, and all functions using this behave
1699 properly on a NULL return. Switching to a GST_WARNING.
1701 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
1703 * gst/gstbin.c: (gst_bin_handle_message_func):
1704 Don't leak clock messages.
1706 2005-11-25 Wim Taymans <wim@fluendo.com>
1708 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1709 (gst_util_uint64_scale_int):
1710 Optimisations, remove unneeded vars.
1712 2005-11-25 Wim Taymans <wim@fluendo.com>
1714 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1715 Added more checks for the high precision uint64 cases.
1717 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1718 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1719 Implement high precision (guint64 * guint64) / guint64.
1721 2005-11-24 Wim Taymans <wim@fluendo.com>
1723 * gst/base/gstbasesrc.c: (gst_base_src_query):
1724 Fix wrong percentage query.
1726 * gst/gstutils.c: (gst_util_uint64_scale),
1727 (gst_util_uint64_scale_int):
1728 Add some more common cases that can be handled
1729 efficiently to _scale.
1731 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1733 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1734 (gst_mini_object_suite):
1735 don't use check calls from threads; check probably isn't
1736 threadsafe and using a lock to make it threadsafe would
1737 defeat the purpose of this check
1738 * gst/check/gstcheck.c:
1739 * gst/check/gstcheck.h:
1740 use GST_DEBUG some more
1742 2005-11-24 Wim Taymans <wim@fluendo.com>
1744 * gst/gstutils.c: (gst_util_uint64_scale),
1745 (gst_util_uint64_scale_int):
1746 Chain trivial case to _scale_int.
1748 2005-11-24 Wim Taymans <wim@fluendo.com>
1750 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1751 Added test for scaling.
1756 * gst/gstutils.c: (gst_util_uint64_scale_int):
1757 Implemented high precision scaling code.
1759 2005-11-24 Stefan Kost <ensonic@users.sf.net>
1762 do not crash on pad==NULL
1764 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1766 Patch by: Stefan Kost
1768 * common/gtk-doc.mak:
1769 * docs/gst/Makefile.am:
1770 * docs/libs/Makefile.am:
1771 Fix distcheck issues for the libraries docs build
1774 2005-11-24 Michael Smith <msmith@fluendo.com>
1776 * docs/manual/basics-helloworld.xml:
1777 Fix bug #315027: memory leak in example code in docs.
1779 2005-11-24 Michael Smith <msmith@fluendo.com>
1781 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1782 Unlock the PREROLL_LOCK in a failure case.
1784 2005-11-24 Wim Taymans <wim@fluendo.com>
1786 * docs/gst/gstreamer-sections.txt:
1787 * gst/base/gstadapter.h:
1788 * gst/base/gstbasesink.h:
1789 * gst/base/gstbasesrc.h:
1790 * gst/base/gstbasetransform.h:
1791 * gst/base/gstpushsrc.h:
1792 * gst/elements/gstfakesink.h:
1793 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1794 * gst/elements/gstfakesrc.h:
1795 * gst/elements/gstfilesink.h:
1796 * gst/elements/gstfilesrc.h:
1799 * gst/gstbuffer.c: (_gst_buffer_copy):
1802 * gst/gstchildproxy.c:
1805 * gst/gstelementfactory.c:
1806 * gst/gstelementfactory.h:
1808 * gst/gstghostpad.h:
1810 * gst/gstinterface.h:
1811 * gst/gstminiobject.c:
1812 * gst/gstminiobject.h:
1815 * gst/gstpadtemplate.h:
1816 * gst/gstpipeline.h:
1817 * gst/gstpluginfeature.h:
1822 * gst/gsttagsetter.c:
1823 * gst/gsttagsetter.h:
1826 * gst/gsttypefind.h:
1829 * gst/net/gstnetclientclock.c:
1830 * gst/net/gstnetclientclock.h:
1831 * gst/net/gstnettimepacket.c:
1832 * gst/net/gstnettimeprovider.c:
1833 * gst/net/gstnettimeprovider.h:
1836 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1838 * configure.ac: back to HEAD
1840 === release 0.9.6 ===
1842 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1845 releasing 0.9.6, "Always On Time"
1847 2005-11-23 Wim Taymans <wim@fluendo.com>
1849 * docs/gst/gstreamer-sections.txt:
1850 * gst/glib-compat.c:
1851 * gst/gsttagsetter.c:
1853 * gst/net/gstnetclientclock.c:
1854 * gst/net/gstnettimepacket.h:
1857 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1859 * docs/faq/using.xml:
1860 * docs/libs/tmpl/gstcontrol.sgml:
1861 * docs/manual/advanced-dparams.xml:
1862 * docs/manual/appendix-checklist.xml:
1863 * docs/manual/basics-elements.xml:
1864 * docs/pwg/other-source.xml:
1865 * docs/random/moving-plugins:
1867 * tools/gst-launch.1.in:
1868 remove mentions of sinesrc
1870 2005-11-23 Michael Smith <msmith@fluendo.com>
1872 * docs/gst/gstreamer-sections.txt:
1873 Update for new API and API changes.
1875 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1877 Documentation typo fix.
1878 * gst/net/gstnettimepacket.c:
1879 Documentation fixes for arguments.
1881 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
1883 * gst/gststructure.c: (gst_structure_get_fraction),
1884 (gst_structure_parse_value),
1885 (gst_structure_fixate_field_nearest_fraction):
1886 * gst/gststructure.h:
1887 * gst/gstutils.c: (gst_util_uint64_scale_int):
1889 * scripts/update-funcnames:
1891 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1892 Make gst_structure_fixate_field_nearest_fraction take a numerator
1893 and denominator argument instead of a GValue
1894 add gst_structure_get_fraction helper function.
1896 2005-11-23 Wim Taymans <wim@fluendo.com>
1898 * docs/design/part-TODO.txt:
1901 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1902 * gst/net/gstnetclientclock.h:
1903 Use parent fields for timeout and window_size.
1905 2005-11-23 Andy Wingo <wingo@pobox.com>
1907 * check/net/gstnetclientclock.c (test_functioning): Adjust to
1908 rate_num/rate_denom change.
1910 * gst/net/gstnetclientclock.c
1911 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
1912 OBJECT_LOCK. Don't call add_observation with the lock.
1914 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
1916 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
1918 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
1919 deal with rate as a fraction whose numerator and denominator are
1920 GstClockTime values.
1921 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
1922 master; the other fields are protected by the SLAVE_LOCK.
1923 (do_linear_regression): Note that this must be called with the
1925 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
1926 OBJECT_LOCK. Call set_calibration instead of touching the
1928 (gst_clock_set_property, gst_clock_get_property): Protect
1929 master/slave parameters with the SLAVE_LOCK.
1931 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
1932 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
1933 note that all of the instance variables that add_observation and
1934 the set_master functions use are protected by that lock and not
1936 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
1938 * gst/gstclock.c (gst_clock_add_observation): No longer requires
1939 the caller to take the object lock.
1941 2005-11-23 Wim Taymans <wim@fluendo.com>
1943 * gst/gsterror.c: (_gst_core_errors_init):
1945 Add error for clock stuff.
1947 * gst/gstpipeline.c: (gst_pipeline_change_state),
1948 (gst_pipeline_set_clock):
1949 Post clock error when clock cannot be used in a pipeline.
1951 2005-11-23 Stefan Kost <ensonic@users.sf.net>
1953 * docs/gst/gstreamer-sections.txt:
1954 make two symbols from gstinfo private for the docs
1955 * gst/base/gstcollectpads.h:
1957 fix doc typos, update docs
1959 2005-11-22 Wim Taymans <wim@fluendo.com>
1961 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
1962 (gst_base_sink_wait), (gst_base_sink_do_sync),
1963 (gst_base_sink_handle_event):
1964 * gst/base/gstbasesink.h:
1965 No need to store the clock, the parent element class already
1968 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
1969 Updates for clock_set returning a gboolean
1971 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
1972 (gst_clock_id_wait_async), (gst_clock_class_init),
1973 (gst_clock_init), (gst_clock_finalize),
1974 (gst_clock_get_internal_time), (gst_clock_get_time),
1975 (gst_clock_slave_callback), (gst_clock_set_master),
1976 (gst_clock_get_master), (do_linear_regression),
1977 (gst_clock_add_observation), (gst_clock_set_property),
1978 (gst_clock_get_property):
1980 Implement master/slave. When setting a clock as a slave, a
1981 periodic timeout is scheduled to sample master and slave times.
1982 Then the slave clock is recalibrated to match offset and rate
1983 of the master clock.
1984 Update logging a bit.
1985 Add flag so that a clock can state that is cannot be slaved to
1988 * gst/gstelement.c: (gst_element_set_clock):
1990 The set clock returns a gboolean for when an element cannot
1991 deal with the selected clock in the pipeline.
1993 * gst/gstpipeline.c: (gst_pipeline_change_state),
1994 (gst_pipeline_set_clock):
1995 * gst/gstpipeline.h:
1996 Handle the case where the selected clock cannot be set on
1999 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
2000 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
2001 (gst_net_client_clock_set_property),
2002 (gst_net_client_clock_get_property),
2003 (gst_net_client_clock_observe_times):
2004 * gst/net/gstnetclientclock.h:
2005 Use regression code in GstClock parent, remove duplicated
2008 2005-11-22 Michael Smith <msmith@fluendo.com>
2010 * gst/gstutils.c: (gst_util_clock_time_scale):
2012 * docs/gst/gstreamer-sections.txt:
2013 Rename method to have extra underscore.
2015 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
2017 * gst/elements/Makefile.am:
2018 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
2019 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
2020 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
2021 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
2022 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
2023 * gst/elements/gstfakesrc.h:
2024 * gst/gstqueue.c: (queue_leaky_get_type):
2025 correctly fix GEnumValues so that nick is the short lowercase
2027 * tools/gst-inspect.c: (print_element_properties_info):
2028 also show the nick, since it's useful to use from parse_launch
2032 2005-11-22 Michael Smith <msmith@fluendo.com>
2034 * gst/gstutils.c: (gst_util_clocktime_scale):
2036 * docs/gst/gstreamer-sections.txt:
2037 Add util method for scaling a clocktime by a fraction. Useful
2038 implementation is left as an exercise for the reader.
2040 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2042 * gst/gstvalue.c: (gst_value_collect_fraction_range):
2043 If needed, allocate storage in the destination value during
2046 2005-11-22 Edward Hervey <edward@fluendo.com>
2048 * docs/gst/gstreamer-sections.txt:
2053 * gst/gstutils.c: (gst_util_set_object_arg):
2054 * tools/gst-compprep.c: (main):
2055 * tools/gst-inspect.c: (print_element_properties_info):
2056 Removed GstURI, closes bug #321061
2058 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2060 * check/gst/gststructure.c: (GST_START_TEST):
2061 * gst/gststructure.c: (gst_structure_parse_value):
2062 Oops, broke automatic string type parsing.
2063 Add a test to catch it in future.
2065 2005-11-22 Andy Wingo <wingo@pobox.com>
2067 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
2068 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
2069 Actually rename the function implementations. Grr.
2071 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2073 * check/gst/capslist.h:
2075 * check/gst/gststructure.c: (GST_START_TEST),
2076 (gst_structure_suite):
2077 Test automatic value type detection in gst_structure_from_string.
2078 * gst/gststructure.c: (gst_structure_parse_value):
2079 Add fraction as a type we try and guess automatically in
2080 caps/structure strings.
2082 2005-11-22 Andy Wingo <wingo@pobox.com>
2084 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
2086 * gst/gsttagsetter.h:
2087 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
2088 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
2089 (gst_tag_setter_add_tag_valist)
2090 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
2091 _add_values, _add_valist, and _add_valist_values. Since this is an
2092 interface the function suffixes should be more explicit so
2093 language binding don't end up with element.add_valist ->
2094 gst_tag_setter_add_valist, for example. Fixes #322069.
2096 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2098 * check/gst/gstcaps.c: (GST_START_TEST):
2099 Extend caps string tests to check that a caps to string
2100 conversion is reversible and produces the same caps.
2102 * gst/gststructure.c: (gst_structure_value_get_generic_type):
2103 Output "fraction" as the generic type fraction range, so caps
2104 serialisation and deserialisation works.
2105 * check/gst/capslist.h:
2106 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2107 Support 'MIN' and 'MAX' for deserialising fractions.
2109 2005-11-22 Andy Wingo <wingo@pobox.com>
2111 * gst/gstevent.h (gst_event_new_new_segment)
2112 (gst_event_parse_new_segment, gst_event_new_buffer_size)
2113 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
2114 Renamed from *_newsegment, *_buffersize, *_notarget.
2116 * scripts/update-funcnames: New script, performs the changes
2119 2005-11-22 Wim Taymans <wim@fluendo.com>
2121 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2122 Make sure the GstFlowReturn is returned.
2124 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
2125 (gst_bus_add_signal_watch):
2127 add gst_bus_add_signal_watch_full.
2129 * gst/gstplugin.c: (gst_plugin_load_file):
2130 Small style cleanup.
2132 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2134 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
2135 Block the fakesrc srcpad when we send an event, to avoid
2136 contention on the stream_lock causing random test failures.
2138 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2140 * check/gst/gstvalue.c: (GST_START_TEST):
2141 * gst/gstvalue.c: (gst_value_fraction_subtract):
2144 2005-11-22 Stefan Kost <ensonic@users.sf.net>
2147 include "gstchildproxy.h"
2148 * gst/gstchildproxy.h:
2149 * libs/gst/controller/gstcontroller.h:
2150 use G_GNUC_NULL_TERMINATED
2152 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2154 * check/gst/capslist.h:
2155 * check/gst/gstcaps.c: (GST_START_TEST):
2156 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2157 * gst/gststructure.c: (gst_structure_parse_range),
2158 (gst_structure_fixate_field_nearest_fraction):
2159 * gst/gststructure.h:
2160 * gst/gstvalue.c: (gst_value_init_fraction_range),
2161 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
2162 (gst_value_collect_fraction_range),
2163 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
2164 (gst_value_set_fraction_range_full),
2165 (gst_value_get_fraction_range_min),
2166 (gst_value_get_fraction_range_max),
2167 (gst_value_serialize_fraction_range),
2168 (gst_value_transform_fraction_range_string),
2169 (gst_value_compare_fraction_range),
2170 (gst_value_deserialize_fraction_range),
2171 (gst_value_intersect_fraction_fraction_range),
2172 (gst_value_intersect_fraction_range_fraction_range),
2173 (gst_value_subtract_fraction_fraction_range),
2174 (gst_value_subtract_fraction_range_fraction),
2175 (gst_value_subtract_fraction_range_fraction_range),
2176 (gst_value_collect_fraction), (gst_value_fraction_multiply),
2177 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
2178 (gst_value_transform_string_fraction), (_gst_value_initialize):
2180 Implement fraction ranges and extend GstFraction to support
2181 arithmetic subtraction, as well as deserialization from integer
2182 strings such as "100"
2183 Add a testsuite as for int and double range set operations
2185 2005-11-21 Andy Wingo <wingo@pobox.com>
2189 * gst/gststructure.h: Add glib-compat.h.
2191 2005-11-21 Wim Taymans <wim@fluendo.com>
2193 * gst/gstbin.c: (gst_bin_change_state_func):
2196 2005-11-21 Wim Taymans <wim@fluendo.com>
2199 And add a nice define too.
2201 2005-11-21 Wim Taymans <wim@fluendo.com>
2203 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
2204 (gst_segment_new), (gst_segment_free), (gst_segment_init),
2205 (gst_segment_set_duration), (gst_segment_set_last_stop),
2206 (gst_segment_set_seek), (gst_segment_set_newsegment),
2207 (gst_segment_to_stream_time), (gst_segment_to_running_time),
2210 Make binding friendly.
2212 2005-11-21 Andy Wingo <wingo@pobox.com>
2214 * gst/gsttagsetter.h:
2216 * gst/gststructure.h:
2218 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
2221 * gst/gsterror.c (_gst_core_errors_init):
2222 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
2225 * gst/Makefile.am (gst_headers): Add glib-compat.h.
2226 (noinst_HEADERS): noinst the -private.
2228 2005-11-21 Michael Smith <msmith@fluendo.com>
2231 * gst/gstregistry.h:
2232 Remove unimplemented declarations for which we can see no sensible
2235 2005-11-21 Andy Wingo <wingo@pobox.com>
2237 * gst/gst.h: Include glib-compat.h.
2239 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
2241 * gst/glib-compat.c: Include the public and the private header.
2243 * gst/glib-compat-private.h: Copied here from glib-compat.h.
2247 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
2249 * check/gst/gstevent.c (create_custom_events): Check that
2250 FLUSH_STOP is serialized.
2252 * check/elements/identity.c (event_func):
2253 * check/elements/fakesrc.c (event_func): No stream lock, the core
2256 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
2257 stream lock taking, yay.
2259 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
2260 ensure that core takes the stream lock.
2262 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
2265 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
2266 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
2267 it already. For the flush start we do take it though so we get the
2268 right preroll state change messages.
2270 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
2271 the stream lock here, the core does it for us.
2273 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
2274 GST_STREAM_GET_LOCK.
2275 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
2276 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
2277 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
2278 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
2279 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
2280 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
2282 * gst/gstpad.c: Update for stream lock name change.
2284 * gst/base/gstbasesink.c: Update for preroll lock name change.
2286 2005-11-21 Wim Taymans <wim@fluendo.com>
2288 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
2289 (gst_clock_get_master):
2291 * gst/gstsystemclock.c: (gst_system_clock_init):
2292 Convert Clock flags to object flags.
2293 Added methods to manage master/slave clocks.
2295 2005-11-21 Wim Taymans <wim@fluendo.com>
2297 * check/gst/gstsegment.c: (GST_START_TEST):
2298 * docs/design/part-TODO.txt:
2299 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2300 (gst_base_sink_event), (gst_base_sink_do_sync),
2301 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
2302 (gst_base_sink_query), (gst_base_sink_change_state):
2303 * gst/base/gstbasesink.h:
2304 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2305 (gst_base_src_default_newsegment),
2306 (gst_base_src_configure_segment), (gst_base_src_do_seek),
2307 (gst_base_src_get_range), (gst_base_src_loop),
2308 (gst_base_src_change_state):
2309 * gst/base/gstbasesrc.h:
2310 * gst/base/gstbasetransform.c:
2311 (gst_base_transform_prepare_output_buf),
2312 (gst_base_transform_event), (gst_base_transform_change_state):
2313 * gst/base/gstbasetransform.h:
2314 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2315 (gst_collect_pads_event):
2316 * gst/base/gstcollectpads.h:
2317 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
2318 (gst_fake_src_create):
2319 * gst/elements/gstfakesrc.h:
2320 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2321 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2322 (gst_segment_set_last_stop), (gst_segment_set_seek),
2323 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
2324 (gst_segment_to_running_time), (gst_segment_clip):
2326 More segment updates, replace code in plugins with segment
2329 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
2331 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
2332 Don't ignore sscanf results
2334 2005-11-21 Andy Wingo <wingo@pobox.com>
2336 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
2339 * *.c: Ran scripts/update-macros. Oh yes.
2341 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
2342 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
2345 * scripts/update-macros: New script. Run it on your files to
2346 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
2349 2005-11-21 Stefan Kost <ensonic@users.sf.net>
2351 * docs/gst/Makefile.am:
2352 * docs/gst/gstreamer-docs.sgml:
2353 * docs/gst/gstreamer-sections.txt:
2354 * docs/gst/gstreamer.types:
2356 more docs fixes, add new api to the docs
2358 2005-11-21 Andy Wingo <wingo@pobox.com>
2360 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
2361 state_broadcast call.
2363 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
2365 2005-11-21 Julien MOUTTE <julien@moutte.net>
2367 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
2368 function calls for arrays.
2370 2005-11-21 Stefan Kost <ensonic@users.sf.net>
2372 * docs/random/ensonic/media-device-daemon.txt:
2373 wild idea, can this be done?
2374 * docs/gst/gstreamer-sections.txt:
2379 * gst/gstpluginfeature.c:
2383 doc fixes and additions
2385 2005-11-21 Andy Wingo <wingo@pobox.com>
2387 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
2388 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
2389 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
2390 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
2391 private to the basesrc implementation.
2393 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
2394 behalf of event function if necessary. It should no longer be
2395 necessary to take the stream lock in pad's event functions. Fixes
2398 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
2399 * docs/gst/gstreamer-sections.txt:
2400 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
2401 (gst_structure_fixate_field_nearest_double),
2402 (gst_structure_fixate_field_boolean):
2403 * gst/gststructure.h:
2404 * win32/common/libgstreamer.def:
2405 * win32/gstreamer.def:
2407 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
2410 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
2412 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
2413 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
2414 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
2415 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
2416 (gst_fdsrc_uri_handler_init):
2417 * gst/elements/gstfdsrc.h:
2418 Port fd:// URI handler from 0.8 to fdsrc
2420 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2422 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
2423 (gst_value_serialize_fourcc):
2425 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
2426 consistent with our other format defines (#320324).
2428 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2430 * gst/gstvalue.c: (gst_value_is_fixed):
2431 Revert previous commit. Value lists are by definition
2432 not fixed, as they are a list of possible values.
2434 2005-11-21 Andy Wingo <wingo@pobox.com>
2436 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
2437 during the stable series if we need it. Fixes #319178.
2439 * gst/gstevent.c (gst_event_new_filler): Removed.
2441 * check/gst/gstevent.c: Update comment about filler events.
2443 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2445 * gst/gstvalue.c: (gst_value_is_fixed):
2446 Should handle both value arrays and value lists.
2448 2005-11-21 Andy Wingo <wingo@pobox.com>
2450 patch by: Alessandro Dessina <alessandro nnva org>
2452 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
2453 functions to access arrays. Fixes #321962.
2455 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2457 * docs/gst/gstreamer.types:
2458 gst_collectpads_get_type => gst_collect_pads_get_type.
2460 * gst/base/gstbasetransform.c:
2461 Remove unused SIGNAL_HANDOFF enum.
2463 2005-11-21 Andy Wingo <wingo@pobox.com>
2465 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
2466 the event type (upstream, downstream, serialized). Renamed
2467 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
2468 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
2469 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
2471 * gst/gstevent.c: Update for new CUSTOM event names.
2473 * check/gst/gstevent.c: Update check for new CUSTOM event names.
2476 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
2479 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2481 * docs/gst/gstreamer-sections.txt:
2482 * win32/common/libgstbase.def:
2483 * win32/libgstbase.def:
2484 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2485 (gst_collect_pads_class_init), (gst_collect_pads_init),
2486 (gst_collect_pads_finalize), (gst_collect_pads_new),
2487 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
2488 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
2489 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
2490 (gst_collect_pads_start), (gst_collect_pads_stop),
2491 (gst_collect_pads_peek), (gst_collect_pads_pop),
2492 (gst_collect_pads_available), (gst_collect_pads_read),
2493 (gst_collect_pads_flush), (gst_collect_pads_event),
2494 (gst_collect_pads_chain):
2495 * gst/base/gstcollectpads.h:
2496 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
2497 unimplemented functions as unimplemented. Add padding to
2498 GstCollectData. (#320766, #320423)
2500 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2503 Improve docs for DURATION message (usage of duration parameter)
2506 2005-11-20 Wim Taymans <wim@fluendo.com>
2508 * check/Makefile.am:
2509 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
2513 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2514 (gst_segment_set_seek), (gst_segment_set_newsegment),
2515 (gst_segment_to_stream_time), (gst_segment_to_running_time),
2518 Added segment helper structure and methods. Not fully implemented
2520 Added segment check.
2522 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
2524 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2525 Add a deserialisation test for fractions
2526 * examples/metadata/read-metadata.c: (message_loop),
2527 (make_pipeline), (main):
2528 Fix up metadata reading sample.
2529 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2531 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2532 Don't try and fixate empty caps
2533 * gst/gst_private.h:
2534 Wrap in G_BEGIN_DECLS/G_END_DECLS
2535 * gst/gstvalue.c: (gst_value_collect_fraction),
2536 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
2537 (gst_value_transform_string_fraction),
2538 (gst_value_compare_fraction):
2539 Add some extra guards to ensure that we don't end up
2540 with an invalid denominator of 0 in a gstfraction and
2541 that fractions always get reduced.
2543 2005-11-20 Wim Taymans <wim@fluendo.com>
2545 * docs/gst/gstreamer-sections.txt:
2556 2005-11-20 Wim Taymans <wim@fluendo.com>
2558 * docs/design/part-TODO.txt:
2560 Make a proper enum of the flag.
2562 2005-11-19 Wim Taymans <wim@fluendo.com>
2564 * docs/design/part-TODO.txt:
2565 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
2566 (gst_format_to_quark), (gst_format_register):
2568 * gst/gstquery.c: (_gst_query_initialize),
2569 (gst_query_type_get_name), (gst_query_type_to_quark),
2570 (gst_query_type_register):
2572 Add type to quark and type to string conversions.
2574 2005-11-19 Andy Wingo <wingo@pobox.com>
2576 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
2579 2005-11-19 Wim Taymans <wim@fluendo.com>
2581 * docs/design/part-TODO.txt:
2582 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2583 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2584 (gst_bin_handle_message_func):
2586 Make message handling overridable.
2588 2005-11-19 Andy Wingo <wingo@pobox.com>
2590 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2593 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2595 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2596 is a GstClockTime. Fixes #321710.
2598 * gst/gstclock.h (GstClock): Remove offset property. Add
2599 internal_calibration and external_calibration. Fix padding. Pad
2600 also by GstClockTime so we don't run into problems.
2602 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2603 (gst_clock_get_rate_offset): Remove.
2604 (gst_clock_set_time_adjust): Remove. Fixes #321712.
2607 * gst/gstutils.c (g_static_rec_cond_wait)
2608 (g_static_rec_cond_timed_wait): Removed, no longer needed.
2610 * gst/gstbin.c: Remove terrible continue_state prototype.
2612 * gst/gstelement.h (gst_element_continue_state): Make public.
2615 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2616 by continue_state. Fixes #319389.
2618 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2619 Really fixes #168438. However I don't see anywhere where the
2620 filter function is called... stupid GStreamer...
2622 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2623 don't have a dispose function, so it won't get called when the
2624 object is unreffed, but oh well!
2626 * gst/gstindex.c (gst_index_set_filter_full): New API function,
2627 allows a destroy function to be set so user_data can be freed.
2629 (gst_index_set_filter): Call gst_index_set_filter_full.
2631 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2633 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2634 string should produce an error, given the lack of a way to
2635 represent NULL strings. Fixes #165650.
2638 * gst/gstvalue.c (gst_value_array_append_value)
2639 (gst_value_array_prepend_value, gst_value_array_get_size)
2640 (gst_value_array_get_value): New API, copied from
2641 gst_value_list_*, only operates on arrays.
2642 (gst_value_list_append_value, gst_value_list_prepend_value)
2643 (gst_value_list_concat, gst_value_list_get_size)
2644 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2646 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2647 init_list, because it works on both.
2648 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2649 (gst_value_copy_list_or_array): Renamed from copy_list.
2650 (gst_value_free_list_or_array): Renamed from free_list.
2651 (gst_value_collect_list_or_array): Renamed from collect_list.
2652 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2653 (gst_value_list_or_array_peek_pointer): Renamed from
2655 (_gst_value_array_value_table, _gst_value_list_value_table):
2656 Update value table functions.
2657 (gst_value_compare_list_or_array): Renamed from compare_list.
2659 * gsttaglist.h: Whoops, foreach function returns void. Also fix
2663 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2664 GstTagList*. Fixes #143472.
2666 * gst/gststructure.h: Clarify what the foreach/map functions can
2667 or can't do to their arguments.
2669 2005-11-18 Wim Taymans <wim@fluendo.com>
2671 * gst/gstclock.c: (gst_clock_set_calibration),
2672 (gst_clock_get_calibration):
2674 Calibration can be set with internal time equal to current
2677 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
2683 2005-11-18 Andy Wingo <wingo@pobox.com>
2686 * pkgconfig/gstreamer-net.pc.in:
2687 * pkgconfig/gstreamer-net-uninstalled.pc.in:
2688 * pkgconfig/Makefile.am: Add net pkgconfig files.
2690 2005-11-18 Stefan Kost <ensonic@users.sf.net>
2693 * gst/gstghostpad.c:
2699 2005-11-18 Andy Wingo <wingo@pobox.com>
2701 * gst/net/gstnetclientclock.c: Turn off debugging.
2703 * check/net/gstnetclientclock.c (test_functioning): Assert that the
2704 times connverge somewhat. Can't make a real test.
2706 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2707 integer arithmetic. Return the minimum of the domain, which can be
2708 set as "internal" for gst_clock_set_calibration.
2709 (gst_net_client_clock_observe_times): Call _set_calibration.
2710 (gst_net_client_clock_new): Call _set_calibration instead of
2713 * check/net/gstnetclientclock.c (test_functioning): Use the right
2717 * gst/gstclock.c (gst_clock_get_calibration)
2718 (gst_clock_set_calibration): New functions, obsolete the ones I
2719 added yesterday. Doh. Precision issues mean we have to extrapolate
2720 from a point in the more recent past than 1970.
2721 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2723 (gst_clock_adjust_unlocked): Use the right calibration data.
2725 2005-11-18 Edward Hervey <edward@fluendo.com>
2727 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2728 Also reset the ->current_* values in READY->PAUSED
2730 2005-11-18 Andy Wingo <wingo@pobox.com>
2732 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2733 Whoops, check the right fd. Also add some debugging.
2734 (gst_net_client_clock_observe_times): Adjust for int64 offset.
2735 (do_linear_regression): Add a crapload of debugging. Subtract off
2736 the minimum values from the input series to discard unneeded bits.
2737 Use only int arithmetic. There is still double arithmetic when
2738 calculating the intercept that needs fixing. Return boolean to
2739 indicate success; FALSE would mean the domain or range is too
2740 great. Still needs fixes.
2742 2005-11-18 Wim Taymans <wim@fluendo.com>
2744 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2745 For the current position in stream time, we need to subtract
2748 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2749 Release lock before calling the callback function of async
2752 2005-11-18 Andy Wingo <wingo@pobox.com>
2754 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2755 Port goes all the way to MAXUINT16.
2757 * gst/net/gstnettimeprovider.c: Make the port range the same as
2758 for the kernel: 0 assigns, otherwise ports are less than
2761 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2764 * check/net/gstnetclientclock.c (test_functioning): Add the start
2767 2005-11-18 Wim Taymans <wim@fluendo.com>
2769 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2770 (gst_bin_remove_func), (bin_bus_handler):
2772 Removing a clock provider from a bin, triggers a clock lost message
2773 so that a new clock will be selected.
2774 Adding a clock to a bin triggers a clock provider message.
2775 Make sure we reselect a clock when we received a clock lost message.
2776 Keep a reference to the element that provided the clock.
2778 2005-11-18 Andy Wingo <wingo@pobox.com>
2780 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2781 the clock initially so it produces values around the base time.
2782 (gst_net_client_clock_class_init): Typo fix.
2783 (gst_net_client_clock_thread): Add note on when the socket gets
2786 2005-11-17 Wim Taymans <wim@fluendo.com>
2788 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2789 Free remote and local time arrays.
2791 2005-11-17 Wim Taymans <wim@fluendo.com>
2793 * gst/net/gstnetclientclock.c: (do_linear_regression),
2794 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2795 Fix compilation, uninitialized vars and a forgotten continue.
2797 2005-11-17 Andy Wingo <wingo@pobox.com>
2799 * check/Makefile.am (check_PROGRAMS):
2800 * check/net/gstnetclientclock.c: Add a most minimal test for the
2801 net client clock. More to come later.
2804 * gst/net/Makefile.am: Add netclientclock.
2806 * gst/net/gstnetclientclock.h:
2807 * gst/net/gstnetclientclock.c: New files, implement an untested
2808 GstClock that takes its time from a network time provider.
2809 Implements the algorithm in network-clock.scm.
2811 * tests/network-clock.scm (*window-size*): Rename from
2813 * tests/network-clock.scm (network-time):
2814 * tests/network-clock-utils.scm (q-push): Update callers.
2816 2005-11-17 Wim Taymans <wim@fluendo.com>
2818 * gst/gstbin.c: (gst_bin_provide_clock_func),
2819 (gst_bin_sort_iterator_new):
2820 And unref the child too..
2822 2005-11-17 Wim Taymans <wim@fluendo.com>
2824 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2825 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2826 Refactor the sort iterator so it can be used while holding the
2828 Make clock selection select a clock closest to the source.
2830 2005-11-17 Michael Smith <msmith@fluendo.com>
2832 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2833 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2835 Anonymous structs are a gcc (and some other compilers) extension, so
2836 don't use them. Since this is only for ABI-compatibility, and our
2837 API/ABI freeze is over in a few days, this whole thing will only
2838 last a few days, so don't bother trying to think up a meaningful
2839 name for the struct.
2841 2005-11-17 Andy Wingo <wingo@pobox.com>
2843 * gst/gstclock.h (GstClock): Add rate and offset properties,
2844 preserving ABI stability. Add rate/offset accessors. Will file bug
2845 for the freeze break.
2847 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2848 and offset, trying to keep precision and avoiding
2850 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2851 functions. Make gst_clock_set_time_adjust obsolete.
2852 (gst_clock_set_time_adjust): Note that this function is obsolete.
2855 * gst/base/gstbasetransform.h: Make the ABI-stability hack
2856 greppable by using GST_PADDING-1+1.
2858 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
2860 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2862 * gst/gstmessage.c: (gst_message_parse_clock_lost):
2863 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2865 * gst/gstpadtemplate.h:
2866 * gst/gstpluginfeature.h:
2867 Don't use c++ style comments in headers (#321638).
2869 2005-11-16 Andy Wingo <wingo@pobox.com>
2871 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2874 * check/net/gstnettimeprovider.c: Check to see that the time
2875 provider actually provides times. Works, yo!
2877 2005-11-16 Wim Taymans <wim@fluendo.com>
2879 * check/Makefile.am:
2882 * check/elements/fakesrc.c: (GST_START_TEST):
2883 Set element to NULL before disposing it.
2885 2005-11-16 Andy Wingo <wingo@pobox.com>
2887 * gst/net/Makefile.am:
2889 * gst/net/gstnettimeprovider.c:
2890 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2891 provider, include it from gstnet.h, and add it to the build.
2893 * gst/net/gstnettimepacket.h:
2894 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2895 sending and receiving.
2897 2005-11-16 Wim Taymans <wim@fluendo.com>
2899 * check/Makefile.am:
2900 Enable valgrind check.
2902 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2903 (gst_fake_src_alloc_buffer):
2906 2005-11-16 Wim Taymans <wim@fluendo.com>
2908 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
2909 Call parent finalize too.
2911 2005-11-16 Wim Taymans <wim@fluendo.com>
2913 * check/Makefile.am:
2914 Enable valgrind check that should work fine now.
2916 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
2917 * gst/gstqueue.c: (gst_queue_init):
2918 Fix memleaks in pad allocation.
2920 2005-11-16 Andy Wingo <wingo@pobox.com>
2922 * gst/net/Makefile.am:
2923 * gst/net/gstnet.h: New part of core to hold network elements and
2924 objects. Put in core because it exposes API that applications want
2925 to use. The library is named libgstnet-tempname right now because
2926 of the existing libgstnet in gst-plugins-base. Solution is
2927 probably to rename the one in plugins-base; will file a bug for
2930 * gst/net/gstnettimeprovider.c:
2931 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
2932 get_time call over the network.
2935 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
2937 * check/Makefile.am:
2938 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
2939 get additions shortly.
2941 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2943 * gst/gstpad.c: (gst_pad_new_from_static_template):
2945 add gst_pad_new_from_static_template functions
2946 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
2947 (gst_check_setup_sink_pad):
2948 * gst/elements/gsttee.c: (gst_tee_init):
2951 2005-11-16 Wim Taymans <wim@fluendo.com>
2953 * gst/gstpad.c: (gst_pad_pause_task):
2954 Removed warning, it's not really an error either.
2956 2005-11-16 Wim Taymans <wim@fluendo.com>
2958 * gst/base/gstbasetransform.c:
2959 (gst_base_transform_prepare_output_buf),
2960 (gst_base_transform_event):
2961 Check if the caps are NULL, this can happen if the element
2962 is shutting down and the pad caps are set to NULL.
2964 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2966 * gst/elements/gsttee.c: (gst_tee_init):
2967 fix pad template leak in tee
2969 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2971 * gst/glib-compat.c: (g_value_dup_gst_object):
2972 * gst/glib-compat.h:
2973 * gst/gstpad.c: (gst_pad_set_property):
2974 use gst_object_ref when setting the pad template; this will
2975 trigger the pad template leaks on GLib 2.6 and the slaves
2977 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2979 * gst/glib-compat.c: (gst_flags_get_first_value):
2980 * gst/glib-compat.h:
2981 * gst/gstregistryxml.c:
2982 remove functions copied from GLib 2.6
2984 2005-11-16 Michael Smith <msmith@fluendo.com>
2987 Don't link against VALGRIND_LIBS. That was always the wrong thing to
2988 do, but only breaks with newer valgrind versions. We're not a
2989 valgrind tool, we have no link-time dependencies on libcoregrind.
2991 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
2993 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2998 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
3000 * gst/base/gstbasesrc.c: (gst_base_src_init):
3001 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
3002 * gst/gstqueue.c: (gst_queue_init):
3003 * gst/gstregistryxml.c: (load_feature):
3004 Revert all these unrefs, they don't even pass make check !
3006 2005-11-15 Johan Dahlin <johan@gnome.org>
3008 * gst/base/gstbasesrc.c: (gst_base_src_init):
3009 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
3010 * gst/gstqueue.c: (gst_queue_init):
3011 Free pad templates, fixes a couple of leaks.
3013 2005-11-15 Daniel Fischer <dan at f3c dot com>
3015 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3017 * gst/gstpad.c: (gst_pad_get_property):
3018 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
3019 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
3022 2005-11-15 Wim Taymans <wim@fluendo.com>
3027 2005-11-15 Andy Wingo <wingo@pobox.com>
3029 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
3031 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
3032 using GST_CLOCK_TIME_NONE to disable base time management.
3033 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
3034 time if it was NONE before.
3035 (gst_pipeline_change_state): Only munge the base time if
3036 stream_time != GST_CLOCK_TIME_NONE.
3038 * check/gst/gstpipeline.c (test_base_time): Punt around the
3039 problem of the probe not being called, because that's not the
3040 issue I'm looking at. Add a check that setting stream_time to NONE
3041 disables base time management.
3043 2005-11-15 Wim Taymans <wim@fluendo.com>
3045 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
3046 segment_stop == -1 at startup.
3048 * gst/base/gstbasetransform.c: (gst_base_transform_event),
3049 (gst_base_transform_change_state):
3050 Init segment values at start.
3052 2005-11-15 Wim Taymans <wim@fluendo.com>
3054 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3055 0 segment values are 0 in any format.
3057 * gst/base/gstbasetransform.c: (gst_base_transform_event):
3058 * gst/base/gstbasetransform.h:
3059 Parse newsegment correctly in basetransform
3061 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
3062 Sync to clock using updated segment values.
3064 2005-11-15 Andy Wingo <wingo@pobox.com>
3066 * check/gst/gstpipeline.c (test_base_time): Add check that the
3067 base time and stream time are reset correctly.
3069 2005-11-15 Wim Taymans <wim@fluendo.com>
3071 * docs/design/part-TODO.txt:
3072 Some more TODO items.
3074 2005-11-15 Andy Wingo <wingo@pobox.com>
3076 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
3077 error if the user selected "no clock" as the clocking method.
3079 * check/gst/gstpipeline.c (test_base_time): New test for buffer
3080 timestamps with live capture.
3082 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
3083 is 0 but we are a live source, timestamp the buffers using the
3086 2005-11-14 Stefan Kost <ensonic@users.sf.net>
3088 * docs/gst/gstreamer-sections.txt:
3090 * gst/gstghostpad.c:
3095 2005-11-14 Wim Taymans <wim@fluendo.com>
3098 add suppressions from Wim's Debian machine
3100 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
3103 add suppressions from Andy's AMD64 Ubuntu machine
3105 2005-11-14 Andy Wingo <wingo@pobox.com>
3107 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
3108 STATE_LOCK not necessary. Fixes #311489.
3110 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
3113 * gst/gstindex.c (gst_index_add_object): Note in the docs that
3114 this function is not implemented.
3116 2005-11-14 Julien MOUTTE <julien@moutte.net>
3118 * gst/base/gstbasetransform.c:
3119 (gst_base_transform_prepare_output_buf):
3120 Ref the source pad caps while we need them.
3123 2005-11-11 Wim Taymans <wim@fluendo.com>
3125 * docs/gst/gstreamer-sections.txt:
3126 Added some docs for GstCollectData.
3128 * gst/base/gstadapter.c:
3129 Some small code example fix.
3131 * gst/base/gstcollectpads.c:
3132 * gst/base/gstcollectpads.h:
3135 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
3137 * configure.ac: back to HEAD
3139 === release 0.9.5 ===
3141 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
3144 releasing 0.9.5, "Bike Lunch Day"
3146 2005-11-11 Wim Taymans <wim@fluendo.com>
3148 * gst/gstbuffer.c: (_gst_buffer_copy):
3151 * gst/gstcaps.c: (gst_caps_is_equal):
3153 Make _is_equal fast in the trivial cases.
3155 * gst/gstminiobject.c:
3156 * gst/gstminiobject.h:
3157 More docs. Spifify .h file.
3162 2005-11-11 Wim Taymans <wim@fluendo.com>
3164 * gst/base/gstbasetransform.c:
3165 (gst_base_transform_prepare_output_buf),
3166 (gst_base_transform_handle_buffer):
3168 If we're processing a buffer and need to allocate an output
3169 buffer, we cannot accept a format change. If we did get a
3170 format change, we have to alloc a buffer ourselves of the
3173 2005-11-11 Wim Taymans <wim@fluendo.com>
3175 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
3176 While checking the flag for reentrancy in the gstcaps function
3177 is nice to detect recursive invocations, it also makes it
3178 impossible to call getcaps from multiple threads, which must be
3179 possible. So, checking for recursive calls has to go.
3181 2005-11-11 Michael Smith <msmith@fluendo.com>
3183 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3184 Don't sync on buffers that fall partially outside our current
3185 segment. Prevents an assertion failure/abort playing some files.
3187 2005-11-10 Andy Wingo <wingo@pobox.com>
3189 * check/gst/gstbin.c (test_message_state_changed_children): Style
3192 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
3193 gst_bus_poll with the signal watch. Ensures that poll and a signal
3194 watch see the same messages.
3196 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
3197 a poll and a watch at the same time get the same messages.
3199 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
3201 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
3202 * gst/gstcaps.c: (gst_caps_intersect):
3203 Don't call gst_caps_do_simplify - it doesn't respect order of caps
3204 and it's not needed.
3206 2005-11-10 Wim Taymans <wim@fluendo.com>
3208 * docs/design/part-TODO.txt:
3211 2005-11-10 Wim Taymans <wim@fluendo.com>
3213 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3214 * gst/base/gstbasesrc.c: (gst_base_src_wait),
3215 (gst_base_src_do_sync), (gst_base_src_get_range):
3216 Implement clock sync in base class.
3218 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
3220 patch by: Tim-Philipp Müller <tim at centricular dot net>
3222 * gst/gststructure.c: (gst_structure_parse_field),
3223 (gst_structure_from_string):
3224 Forward-port a 0.8 patch to handle escaped spaces in structure string,
3225 so that gst_parse_launch() can deal with spaces in filtered link
3226 caps (fixes #164479)
3227 * check/gst/capslist.h:
3228 * check/gst/gststructure.c: (GST_START_TEST):
3229 add unit tests for this change
3231 2005-11-10 Wim Taymans <wim@fluendo.com>
3233 * docs/gst/gstreamer-sections.txt:
3236 Fix docs, move some STATE macros to private.
3238 2005-11-10 Wim Taymans <wim@fluendo.com>
3240 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3241 Added check for bug #317341
3245 Some more spiffifying.
3247 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
3248 Call peer linkfunction if we are a source pad. Totally fixes
3252 Update docs, source pads should call the peer linkfunction
3253 so they can atomically perform the pad link.
3255 2005-11-09 Wim Taymans <wim@fluendo.com>
3259 Uber-spiffy-spiffify some more.
3261 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
3263 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
3264 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3265 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
3266 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
3267 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
3268 * gst/gstpad.c: (gst_pad_init):
3269 Use GST_DEBUG_FUNCPTR() more extensively.
3271 2005-11-09 Wim Taymans <wim@fluendo.com>
3273 * gst/gstobject.c: (gst_object_class_init):
3275 Documentation fixes.
3277 2005-11-09 Edward Hervey <edward@fluendo.com>
3279 * gst/gsttypefindfactory.c:
3282 2005-11-09 Edward Hervey <edward@fluendo.com>
3284 * gst/base/gsttypefindhelper.c:
3285 * gst/gsttypefind.c:
3286 * gst/gsttypefind.h:
3289 2005-11-09 Wim Taymans <wim@fluendo.com>
3291 * gst/gstiterator.c:
3298 2005-11-09 Wim Taymans <wim@fluendo.com>
3304 2005-11-09 Wim Taymans <wim@fluendo.com>
3306 * docs/gst/gstreamer-sections.txt:
3307 Moved the message async delivery private lock and cond
3308 to the private section.
3314 2005-11-09 Edward Hervey <edward@fluendo.com>
3316 * docs/gst/gstreamer-sections.txt:
3319 Document GstURIHandler
3321 2005-11-09 Wim Taymans <wim@fluendo.com>
3323 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
3324 (gst_iterator_find_custom):
3325 * gst/gstiterator.h:
3328 2005-11-09 Wim Taymans <wim@fluendo.com>
3331 Document another field.
3333 * gst/gststructure.c:
3334 * gst/gststructure.h:
3337 2005-11-09 Wim Taymans <wim@fluendo.com>
3342 2005-11-09 Wim Taymans <wim@fluendo.com>
3344 * docs/gst/gstreamer-sections.txt:
3345 Added some new macros.
3352 2005-11-09 Wim Taymans <wim@fluendo.com>
3354 * docs/design/part-TODO.txt:
3355 Some more items for the TODO
3361 2005-11-09 Andy Wingo <wingo@pobox.com>
3363 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
3364 to work on something else now tho...
3366 * gst/base/gstadapter.c: More adapter docs.
3368 * gst/elements/gstfilesink.c (gst_file_sink_start)
3369 (gst_file_sink_stop): New functions, replace the state change
3371 (gst_file_sink_class_init): Hook up the start and stop functions.
3372 (gst_file_sink_base_init): Don't set the state change handler any
3373 more. It was a bit ugly too, being set from here...
3374 (gst_file_sink_get_property, gst_file_sink_set_property):
3376 (gst_file_sink_set_location): More robust check that doesn't call
3379 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
3381 * gst/base/gstbasetransform.c: (gst_base_transform_event):
3382 Hold STREAM_LOCK while pushing newsegment or tag events as well.
3384 2005-11-08 Wim Taymans <wim@fluendo.com>
3386 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3387 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3388 (gst_base_sink_chain), (gst_base_sink_change_state):
3389 * gst/base/gstbasesink.h:
3390 * gst/base/gstbasesrc.h:
3393 Avoid excessive typechecking in macros.
3395 * gst/gstminiobject.c: (gst_mini_object_get_type),
3396 (gst_mini_object_init), (gst_mini_object_new),
3397 (gst_mini_object_free):
3398 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
3399 (gst_object_finalize):
3400 Remove cruft code, optimize alloc_trace.
3402 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
3404 * docs/faq/gst-uninstalled:
3405 fix up PS1 for systems that try to reset it
3407 2005-11-07 Wim Taymans <wim@fluendo.com>
3409 * gst/base/gstbasesrc.c: (gst_base_src_init),
3410 (gst_base_src_get_range):
3411 Set the segment_end to -1 initially. Fixed typefind.
3413 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
3415 * gst/base/gstadapter.c:
3416 Debug category should be 'adapter', not 'GstAdapter'.
3418 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
3419 (gst_collectpads_class_init), (gst_collectpads_init),
3420 (gst_collectpads_peek), (gst_collectpads_pop),
3421 (gst_collectpads_event), (gst_collectpads_chain):
3422 Add debug category and some debugging output. Use boilerplate
3423 macros. Remove some extraneous words from docs.
3425 2005-11-05 Andy Wingo <wingo@pobox.com>
3427 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
3430 2005-11-04 Stefan Kost <ensonic@users.sf.net>
3432 * docs/gst/gstreamer-sections.txt:
3435 * gst/gstminiobject.h:
3440 2005-11-04 Wim Taymans <wim@fluendo.com>
3442 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3443 Small update to stop at the configured segment_end
3446 2005-11-04 Stefan Kost <ensonic@users.sf.net>
3448 * gst/gstregistry.c:
3449 * gst/gstregistry.h:
3452 2005-11-04 Edward Hervey <edward@fluendo.com>
3454 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3455 Check if we are doing a segment seek and have arrived at the
3456 end of that segment.
3458 2005-11-04 Wim Taymans <wim@fluendo.com>
3460 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
3461 Don't leak a mutex unlock in case of an error.
3466 2005-11-04 Wim Taymans <wim@fluendo.com>
3468 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
3470 Get the context to wake up only once.
3472 2005-11-03 Wim Taymans <wim@fluendo.com>
3474 * check/states/sinks.c: (GST_START_TEST):
3475 Uncomment fixed check.
3477 * docs/design/part-TODO.txt:
3480 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3481 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3482 (gst_base_sink_get_position):
3483 If we are going to PLAYING, post the right pending state
3484 when we post the intermediate paused message.
3486 * gst/gstelement.c: (gst_element_continue_state),
3487 (gst_element_set_state_func), (gst_element_change_state):
3488 Don't post state changes that were between the same state
3491 2005-11-03 Stefan Kost <ensonic@users.sf.net>
3493 * docs/gst/gstreamer-sections.txt:
3496 * gst/gstminiobject.h:
3499 more docs and doc style fixes
3501 2005-11-03 Stefan Kost <ensonic@users.sf.net>
3503 * docs/gst/gstreamer-sections.txt:
3505 * gst/gstminiobject.c:
3508 2005-11-03 Andy Wingo <wingo@pobox.com>
3510 * check/states/sinks.c (test_livesrc_sink): Add checks that the
3511 state-changed messages actually have the right order and the right
3514 2005-11-03 Wim Taymans <wim@fluendo.com>
3516 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3517 Added some more checks. Specifically the case where NO_PREROLL
3518 elements are in the pipeline.
3520 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3521 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3522 (gst_base_sink_get_position):
3523 Post READY->PAUSED state change messages too.
3524 Fix bug where VOID was posted as pending state...
3526 * gst/gstbin.c: (gst_bin_recalc_state):
3527 use _element_continue_state() to continue the state change.
3529 * gst/gstelement.c: (gst_element_continue_state),
3530 (gst_element_commit_state), (gst_element_set_state_func),
3531 (gst_element_change_state), (gst_element_change_state_func):
3532 Lots of state change cleanups, assign the STATE_RETURN in
3533 a new continue_state() function that also propagates the
3534 last return value from a state change to the app.
3535 Update some debug statements with proper category.
3537 2005-11-03 Wim Taymans <wim@fluendo.com>
3539 * docs/design/part-events.txt:
3540 * docs/design/part-gstpipeline.txt:
3541 * docs/design/part-messages.txt:
3542 * docs/design/part-overview.txt:
3543 * docs/design/part-seeking.txt:
3544 * docs/design/part-states.txt:
3545 * docs/design/part-trickmodes.txt:
3546 * docs/manual/advanced-position.xml:
3550 People think !! is ugly, this looks better.
3552 * gst/gstpad.c: (gst_pad_set_blocked_async):
3553 Remove !! since it's fixed elsewhere now.
3555 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3557 * gst/gstminiobject.h:
3559 Add !! to _FLAG_IS_SET macros to make the result boolean.
3561 2005-11-03 Edward Hervey <edward@fluendo.com>
3563 * gst/gstpad.c: (gst_pad_set_blocked_async):
3564 comparing a flag and a gboolean rarely returns coherent results...
3565 Added two characters (!!) to make that work correctly.
3567 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3569 * gst/gstbus.c: (gst_bus_class_init):
3572 * gst/gstqueue.c: (gst_queue_loop):
3573 Don't assume a miniobject that isn't a buffer is an
3574 event (it could be that there is a refcounting
3575 problem somewhere and the pointer is stale and
3576 refers to an already destroyed miniobject).
3578 2005-11-03 Julien MOUTTE <julien@moutte.net>
3580 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3582 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3584 * docs/manual/advanced-position.xml:
3585 Update seek example and explanations to current 0.9 API.
3587 * gst/elements/gsttypefindelement.c:
3588 (gst_type_find_element_activate):
3589 Remove FIXME comment now that the found caps
3592 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
3594 * gst/gstregistryxml.c: (load_feature):
3595 Add another GST_STR_NULL instance
3597 2005-11-02 Edward Hervey <edward@fluendo.com>
3599 * gst/gstpad.c: (handle_pad_block):
3600 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3602 2005-11-02 Wim Taymans <wim@fluendo.com>
3607 * gst/gstelement.c: (gst_element_commit_state):
3608 Remove unused value.
3610 * gst/gstiterator.c:
3611 Mention that the returned element is reffed in the docs.
3613 2005-11-02 Wim Taymans <wim@fluendo.com>
3615 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3616 (gst_pad_push), (gst_pad_push_event):
3617 Unlock blocked pads when they are flushed.
3619 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3622 * docs/gst/gstreamer-sections.txt:
3625 * gst/gstregistry.c: (gst_registry_scan_path_level):
3626 fix for a nasty little missed situation where an installed plug-in
3627 which was in the cache did not get overridden by an uninstalled one
3628 which was earlier in the plugin path because the newly created plugin
3629 for the uninstalled one (not in the registry) didn't get its
3630 ->registered set to TRUE
3632 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3634 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3635 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3636 (gst_collectpads_is_active), (gst_collectpads_collect),
3637 (gst_collectpads_collect_range), (gst_collectpads_start),
3638 (gst_collectpads_stop), (gst_collectpads_peek),
3639 (gst_collectpads_pop), (gst_collectpads_available),
3640 (gst_collectpads_read), (gst_collectpads_flush):
3641 Guard public API with assertions.
3644 Fix docs for gst_pad_set_link_function().
3646 2005-11-02 Johan Dahlin <johan@gnome.org>
3648 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
3649 Unref found_caps after we used it.
3651 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3653 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3654 Don't try to ref NULL.
3656 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3658 * win32/common/config.h.in:
3659 provide a GST_FUNCTION that just gives a string for now
3661 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3663 * win32/common/gstenumtypes.c: (register_gst_object_flags),
3664 (gst_object_flags_get_type), (register_gst_bin_flags),
3665 (gst_bin_flags_get_type), (register_gst_buffer_flag),
3666 (gst_buffer_flag_get_type), (register_gst_bus_flags),
3667 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3668 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3669 (gst_clock_return_get_type), (register_gst_clock_entry_type),
3670 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3671 (gst_clock_flags_get_type), (register_gst_state),
3672 (gst_state_get_type), (register_gst_state_change_return),
3673 (gst_state_change_return_get_type), (register_gst_state_change),
3674 (gst_state_change_get_type), (register_gst_element_flags),
3675 (gst_element_flags_get_type), (register_gst_core_error),
3676 (gst_core_error_get_type), (register_gst_library_error),
3677 (gst_library_error_get_type), (register_gst_resource_error),
3678 (gst_resource_error_get_type), (register_gst_stream_error),
3679 (gst_stream_error_get_type), (register_gst_event_type),
3680 (gst_event_type_get_type), (register_gst_seek_type),
3681 (gst_seek_type_get_type), (register_gst_seek_flags),
3682 (gst_seek_flags_get_type), (register_gst_format),
3683 (gst_format_get_type), (register_gst_index_certainty),
3684 (gst_index_certainty_get_type), (register_gst_index_entry_type),
3685 (gst_index_entry_type_get_type),
3686 (register_gst_index_lookup_method),
3687 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3688 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3689 (gst_index_resolver_method_get_type), (register_gst_index_flags),
3690 (gst_index_flags_get_type), (register_gst_debug_level),
3691 (gst_debug_level_get_type), (register_gst_debug_color_flags),
3692 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3693 (gst_iterator_result_get_type), (register_gst_iterator_item),
3694 (gst_iterator_item_get_type), (register_gst_message_type),
3695 (gst_message_type_get_type), (register_gst_mini_object_flags),
3696 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3697 (gst_pad_link_return_get_type), (register_gst_flow_return),
3698 (gst_flow_return_get_type), (register_gst_activate_mode),
3699 (gst_activate_mode_get_type), (register_gst_pad_direction),
3700 (gst_pad_direction_get_type), (register_gst_pad_flags),
3701 (gst_pad_flags_get_type), (register_gst_pad_presence),
3702 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3703 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3704 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3705 (gst_plugin_error_get_type), (register_gst_plugin_flags),
3706 (gst_plugin_flags_get_type), (register_gst_rank),
3707 (gst_rank_get_type), (register_gst_query_type),
3708 (gst_query_type_get_type), (register_gst_tag_merge_mode),
3709 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3710 (gst_tag_flag_get_type), (register_gst_task_state),
3711 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3712 (gst_alloc_trace_flags_get_type),
3713 (register_gst_type_find_probability),
3714 (gst_type_find_probability_get_type), (register_gst_uri_type),
3715 (gst_uri_type_get_type), (register_gst_parse_error),
3716 (gst_parse_error_get_type):
3717 * win32/common/gstversion.h:
3720 2005-11-01 Luca Ognibene <luogni@tin.it>
3723 fix docs. popt is dead, long live GOption.
3725 2005-10-31 Wim Taymans <wim@fluendo.com>
3730 2005-10-31 Andy Wingo <wingo@pobox.com>
3734 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3736 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3737 need to serialize property notifications on GLib 2.8. GLib 2.6 has
3738 the possibility of deadlocks here if code calling notify() or
3739 set() has a lock that can be taken in another notify handler (ABBA
3740 with class lock and e.g. python GIL state lock).
3742 2005-10-28 Julien MOUTTE <julien@moutte.net>
3744 * gst/gstbus.c: Doc updates.
3746 2005-10-28 Wim Taymans <wim@fluendo.com>
3748 * docs/design/part-TODO.txt:
3749 * gst/gstiterator.c:
3750 * gst/gstsystemclock.c:
3751 * gst/gstsystemclock.h:
3754 2005-10-28 Edward Hervey <edward@fluendo.com>
3756 * docs/gst/gstreamer-docs.sgml:
3757 * docs/gst/gstreamer-sections.txt:
3758 the GstURIType documentation page is private, it only defines GstURIType
3759 which should be defined in the GstURIHandler page
3761 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
3763 * gst/gstbin.c: (gst_bin_class_init):
3766 Documentation updates.
3768 2005-10-28 Wim Taymans <wim@fluendo.com>
3770 * docs/gst/gstreamer-sections.txt:
3773 Documented the clocks.
3775 2005-10-28 Stefan Kost <ensonic@users.sf.net>
3777 * docs/gst/gstreamer-sections.txt:
3778 move some macros to private sections
3779 * gst/gstminiobject.c:
3780 * gst/gstminiobject.h:
3781 add descriptions provided by ds and some more
3783 mark macro as to be removed
3785 2005-10-28 Wim Taymans <wim@fluendo.com>
3787 * docs/design/part-TODO.txt:
3788 Add an item to TODO.
3790 * gst/gstiterator.c: (gst_iterator_fold),
3791 (gst_iterator_find_custom):
3792 * gst/gstiterator.h:
3795 2005-10-28 Wim Taymans <wim@fluendo.com>
3797 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3798 (gst_base_transform_init):
3801 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3802 An EOS event marks the queue as completely filled.
3804 2005-10-27 Wim Taymans <wim@fluendo.com>
3806 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3807 (gst_base_sink_do_sync), (gst_base_sink_get_position):
3808 Some more debugging.
3810 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3811 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3812 (gst_base_transform_event), (gst_base_transform_getrange),
3813 (gst_base_transform_chain):
3814 * gst/base/gstbasetransform.h:
3816 Protect transform and concurrent buffer alloc with a new lock.
3817 Try not to break ABI/API.
3819 2005-10-27 Wim Taymans <wim@fluendo.com>
3821 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3822 (gst_base_src_init), (gst_base_src_query),
3823 (gst_base_src_default_newsegment),
3824 (gst_base_src_configure_segment), (gst_base_src_do_seek),
3825 (gst_base_src_send_event), (gst_base_src_event_handler),
3826 (gst_base_src_pad_get_range), (gst_base_src_loop),
3827 (gst_base_src_unlock), (gst_base_src_default_negotiate),
3828 (gst_base_src_start), (gst_base_src_deactivate),
3829 (gst_base_src_activate_push), (gst_base_src_change_state):
3830 Move some stuff around and cleanup things.
3832 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
3834 * gst/base/gstbasesrc.c: (gst_base_src_query):
3835 Add missing break statements.
3837 2005-10-27 Wim Taymans <wim@fluendo.com>
3839 * check/gst/gstbin.c: (GST_START_TEST):
3840 An extra refcount is taken in basesrc.
3842 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3843 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3844 (gst_base_src_loop):
3845 Small cleanups, check for flushing after being unlocked from the
3846 LIVE_LOCK. take refcounts correctly (not yet everywhere).
3847 Don't send out EOS when going to READY.
3849 2005-10-27 Wim Taymans <wim@fluendo.com>
3851 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3852 (gst_base_sink_get_position):
3855 * gst/gstbin.c: (message_check), (bin_replace_message),
3856 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3857 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3858 (bin_query_duration_init), (bin_query_duration_fold),
3859 (bin_query_duration_done), (bin_query_generic_fold),
3861 * tools/gst-launch.c: (main):
3864 2005-10-26 Stefan Kost <ensonic@users.sf.net>
3866 * examples/controller/audio-example.c: (main):
3867 * examples/queue/queue.c: (event_loop):
3868 * gst/base/gstbasetransform.h:
3869 * gst/gstelement.c: (gst_element_send_event):
3871 * gst/gstpad.c: (gst_pad_send_event):
3874 changing log priority in error situations
3876 2005-10-25 Wim Taymans <wim@fluendo.com>
3878 * gst/gstbin.c: (message_check), (bin_replace_message),
3879 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3880 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3881 (bin_query_duration_init), (bin_query_duration_fold),
3882 (bin_query_duration_done), (bin_query_generic_fold),
3884 Some doc and debug updates.
3885 Cache previously requested query DURATION for speed. invalidate
3886 cached duration if element posts a DURATION message.
3888 2005-10-25 Wim Taymans <wim@fluendo.com>
3890 * docs/design/part-TODO.txt:
3893 * gst/gstbin.c: (message_check), (bin_replace_message),
3894 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3895 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3896 (bin_query_duration_init), (bin_query_duration_fold),
3897 (bin_query_duration_done), (bin_query_generic_fold),
3899 Handle SEGMENT_START/DONE messages correctly.
3900 More evolved query algorithm that handles duration queries
3903 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
3904 (gst_element_get_state_func), (gst_element_abort_state),
3905 (gst_element_commit_state), (gst_element_lost_state):
3906 Some more debugging.
3911 2005-10-25 Wim Taymans <wim@fluendo.com>
3913 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
3914 Don't use invalid stream_time.
3916 * gst/gstevent.c: (gst_event_new_newsegment):
3917 stream_time in newsegment cannot be undefined.
3919 2005-10-24 Wim Taymans <wim@fluendo.com>
3924 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
3926 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
3928 2005-10-24 Stefan Kost <ensonic@users.sf.net>
3930 * docs/libs/tmpl/gstdparam.sgml:
3931 * docs/libs/tmpl/gstdplinint.sgml:
3932 * docs/libs/tmpl/gstdpman.sgml:
3933 * docs/libs/tmpl/gstdpsmooth.sgml:
3934 * docs/libs/tmpl/gstunitconvert.sgml:
3937 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
3942 === release 0.9.4 ===
3944 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3947 releasing 0.9.4, "Tyrannosaurus Rex"
3949 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
3951 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
3952 (gst_file_sink_get_current_offset):
3953 Use fseeko() and ftello() if available. When falling back on
3954 lseek() to get the current offset, fflush() first to make sure
3955 everything is up-to-date and we get the right offset.
3957 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
3959 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3960 * gst/base/gstbasesrc.c: (gst_base_src_loop):
3961 * gst/gsterror.c: (_gst_stream_errors_init):
3963 * gst/gstqueue.c: (gst_queue_loop):
3965 remove prematurely added error category and clean up the instances
3967 2005-10-21 Wim Taymans <wim@fluendo.com>
3969 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3970 (gst_base_sink_get_position), (gst_base_sink_query),
3971 (gst_base_sink_change_state):
3972 Simply set the right flag when going to playing, that's all
3973 we need to do instead of calling a function inside the object
3974 lock (that could take the lock as well and deadlock)
3976 2005-10-21 Wim Taymans <wim@fluendo.com>
3978 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
3979 (gst_base_src_loop):
3980 Don't warn, the peer element knows what to do best when
3981 the seek failed, it might try something else.
3983 2005-10-21 Wim Taymans <wim@fluendo.com>
3985 * gst/base/gstbasesrc.c: (gst_base_src_init),
3986 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
3989 2005-10-21 Wim Taymans <wim@fluendo.com>
3991 * docs/design/part-segments.txt:
3994 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3995 Correctly set caps, even on the subbufer.
3997 2005-10-21 Wim Taymans <wim@fluendo.com>
3999 * docs/gst/gstreamer-docs.sgml:
4000 * docs/gst/gstreamer-sections.txt:
4007 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
4011 And 2% more doc coverage.
4013 2005-10-21 Andy Wingo <wingo@pobox.com>
4015 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
4018 2005-10-20 Wim Taymans <wim@fluendo.com>
4020 * gst/gsterror.c: (gst_error_get_message):
4023 * gst/gststructure.c:
4028 2005-10-20 Wim Taymans <wim@fluendo.com>
4033 Another 1% more coverage.
4035 2005-10-20 Wim Taymans <wim@fluendo.com>
4037 * docs/gst/gstreamer-sections.txt:
4038 * gst/gstelement.c: (gst_element_get_state_func),
4039 (gst_element_abort_state), (gst_element_commit_state),
4040 (gst_element_lost_state):
4042 * gst/gstquery.c: (gst_query_set_position),
4043 (gst_query_parse_position), (gst_query_set_duration),
4044 (gst_query_parse_duration), (gst_query_new_convert):
4046 Yay! 1% more docs coverage.
4048 2005-10-20 Wim Taymans <wim@fluendo.com>
4051 * gst/gstquery.c: (gst_query_set_position),
4052 (gst_query_parse_position), (gst_query_set_duration),
4053 (gst_query_parse_duration), (gst_query_new_convert):
4055 * gst/gstutils.c: (gst_element_query_convert):
4057 Docs and consistency fixes.
4059 2005-10-20 Wim Taymans <wim@fluendo.com>
4065 2005-10-20 Wim Taymans <wim@fluendo.com>
4067 * gst/gstbin.c: (message_check), (bin_replace_message),
4068 (bin_remove_messages), (is_eos), (gst_bin_add_func),
4069 (update_degree), (gst_bin_sort_iterator_next),
4070 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
4071 Reworked the message handling a bit, cache the messages instead of
4072 only the senders. alows us to do more in the future.
4074 2005-10-20 Wim Taymans <wim@fluendo.com>
4076 * docs/design/part-TODO.txt:
4079 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
4080 (gst_base_sink_query):
4081 Don't use clock time to report position when in EOS.
4083 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
4085 * tools/gst-inspect.c: (print_interfaces),
4086 (print_element_properties_info), (print_element_info):
4087 Fix interface output with gst-inspect -a; don't print
4088 newlines after double/float properties.
4090 2005-10-20 Wim Taymans <wim@fluendo.com>
4092 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
4093 (gst_base_sink_query):
4094 Speed up current position calculation.
4096 * gst/base/gstbasesrc.c: (gst_base_src_query),
4097 (gst_base_src_default_newsegment):
4098 Correctly set stream position in newsegment.
4100 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
4101 (update_degree), (gst_bin_sort_iterator_next),
4102 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
4103 * gst/gstmessage.c: (gst_message_new_custom):
4104 Clean up debugging info
4106 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
4107 (gst_queue_loop), (gst_queue_handle_src_query):
4110 2005-10-19 Wim Taymans <wim@fluendo.com>
4112 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4113 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
4114 Fix query handling again.
4116 2005-10-19 Wim Taymans <wim@fluendo.com>
4118 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4119 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
4120 * gst/base/gstbasesrc.c: (gst_base_src_query):
4121 * gst/elements/gstfilesink.c: (gst_file_sink_query):
4122 * gst/elements/gsttypefindelement.c:
4123 (gst_type_find_handle_src_query), (find_element_get_length),
4124 (gst_type_find_element_activate):
4127 * gst/gstquery.c: (gst_query_new_position),
4128 (gst_query_set_position), (gst_query_parse_position),
4129 (gst_query_new_duration), (gst_query_set_duration),
4130 (gst_query_parse_duration), (gst_query_set_segment),
4131 (gst_query_parse_segment):
4133 Bundling query position/duration is not a good idea since duration
4134 does not change much and we don't want to recalculate it for every
4135 position query, so they are separated again..
4136 Base value in segment query is not needed.
4138 * gst/gstqueue.c: (gst_queue_handle_src_query):
4139 * gst/gstutils.c: (gst_element_query_position),
4140 (gst_element_query_duration), (gst_pad_query_position),
4141 (gst_pad_query_duration):
4143 Updates for query API change.
4144 Added some docs here and there.
4146 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
4148 * check/gst/gstbin.c: (GST_START_TEST):
4149 * check/gst/gstghostpad.c: (GST_START_TEST):
4150 * check/pipelines/cleanup.c: (GST_START_TEST):
4151 wait on thread to die so we can check refcount correctly
4153 2005-10-18 Wim Taymans <wim@fluendo.com>
4155 * check/pipelines/stress.c: (GST_START_TEST):
4156 Make check a little more time consuming.
4158 2005-10-18 Wim Taymans <wim@fluendo.com>
4160 * check/Makefile.am:
4161 * check/pipelines/stress.c: (GST_START_TEST),
4162 (simple_launch_lines_suite), (main):
4163 Small state change torture test.
4165 * docs/design/part-states.txt:
4166 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4167 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
4168 (gst_base_sink_change_state):
4169 Never take state lock from streaming thread, clean up ugly
4170 hacks. Unfortunatly core does not yet support nice ways to
4173 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
4175 Start state recalc if a STATE_DIRTY message is posted, but only
4176 on the toplevel bin.
4178 * gst/gstelement.c: (gst_element_sync_state_with_parent),
4179 (gst_element_get_state_func), (gst_element_abort_state),
4180 (gst_element_commit_state), (gst_element_lost_state),
4181 (gst_element_set_state_func), (gst_element_change_state):
4183 State variables are now protected with the LOCK, the state
4184 lock is only used to serialize _set_state().
4186 2005-10-18 Wim Taymans <wim@fluendo.com>
4188 * check/gst/gstbin.c: (GST_START_TEST):
4189 * check/gst/gstmessage.c: (GST_START_TEST):
4190 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4191 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
4193 * gst/gstelement.c: (gst_element_abort_state),
4194 (gst_element_commit_state), (gst_element_lost_state):
4195 * gst/gstmessage.c: (gst_message_new_state_changed),
4196 (gst_message_new_state_dirty), (gst_message_new_segment_start),
4197 (gst_message_new_segment_done), (gst_message_new_duration),
4198 (gst_message_parse_state_changed),
4199 (gst_message_parse_segment_start),
4200 (gst_message_parse_segment_done), (gst_message_parse_duration):
4202 * tools/gst-launch.c: (event_loop):
4203 Seriously, this is better than a previous commit as we only need
4204 to notify the fact that an element changed state in a streaming
4205 thread, marking the state of the parents dirty, hence the
4206 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
4209 2005-10-18 Wim Taymans <wim@fluendo.com>
4211 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
4212 (gst_bin_recalc_func):
4213 * gst/gstelement.c: (gst_element_set_clock),
4214 (gst_element_abort_state), (gst_element_lost_state):
4215 Cleanups, prepare for state change fixes.
4217 2005-10-18 Wim Taymans <wim@fluendo.com>
4220 * gst/gstelement.c: (gst_element_class_init),
4221 (gst_element_set_state), (gst_element_set_state_func):
4223 Pending ABI changes.
4224 GThreadPool in GstBinClass to monitor async state changes.
4225 state_cookie in GstElement to detect concurrent gst/set state.
4226 set_state is now virtual too in case a very complicated element
4227 has to be constructed.
4229 2005-10-18 Wim Taymans <wim@fluendo.com>
4231 * check/gst/gstbin.c: (GST_START_TEST):
4232 * check/gst/gstmessage.c: (GST_START_TEST):
4233 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4234 * gst/gstbin.c: (bin_bus_handler):
4235 * gst/gstelement.c: (gst_element_commit_state),
4236 (gst_element_lost_state):
4237 * gst/gstmessage.c: (gst_message_new_state_changed),
4238 (gst_message_new_segment_start), (gst_message_new_segment_done),
4239 (gst_message_new_duration), (gst_message_parse_state_changed),
4240 (gst_message_parse_segment_start),
4241 (gst_message_parse_segment_done), (gst_message_parse_duration):
4243 * tools/gst-launch.c: (event_loop):
4244 Make messages future proof.
4245 state-change gets a flag if it was a message comming from the
4247 segment-start/stop can also be specified in other formats.
4248 A message to notify an app that a pipeline changed playback
4250 Also fix a GstMessage leak in -launch
4252 2005-10-18 Andy Wingo <wingo@pobox.com>
4254 * gst/gstelement.c (gst_element_dispose): More helpful message.
4256 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
4258 reviewed by: <delete if not using a buddy>
4260 * common/gtk-doc.mak:
4262 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
4264 * gst/gstregistry.c: (gst_registry_scan_path_level):
4265 unref a plug-in we get that was already initialized
4267 2005-10-18 Stefan Kost <ensonic@users.sf.net>
4269 * docs/gst/gstreamer-sections.txt:
4270 * docs/libs/gstreamer-libs-sections.txt:
4275 2005-10-17 Andy Wingo <wingo@pobox.com>
4277 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
4280 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
4282 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
4284 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
4285 (gst_element_get_state_func): Better debug message.
4286 (gst_element_commit_state): s/INFO/DEBUG/.
4287 (gst_element_lost_state, gst_element_change_state):
4289 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
4290 (gst_message_new_custom): s/INFO/LOG/.
4292 2005-10-17 Michael Smith <msmith@fluendo.com>
4294 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4295 Check if end time is valid using end time, not start time.
4297 2005-10-17 Stefan Kost <ensonic@users.sf.net>
4299 * check/gst-libs/controller.c: (GST_START_TEST),
4300 (gst_controller_suite):
4301 * libs/gst/controller/gstcontroller.c:
4302 (gst_controlled_property_set_interpolation_mode):
4303 * libs/gst/controller/gstcontroller.h:
4304 * libs/gst/controller/gstinterpolation.c:
4305 * testsuite/controller/.cvsignore:
4306 * testsuite/controller/Makefile.am:
4307 * testsuite/controller/interpolator.c:
4308 merge controller testsuites
4310 remove mem-chunk from docs
4312 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
4314 * gst/gstmemchunk.c:
4315 * gst/gstmemchunk.h:
4316 * gst/gsttrashstack.c:
4317 * gst/gsttrashstack.h:
4318 out. get out. you're fired. to the Attic !
4320 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
4322 * gst/gstcaps.c: (gst_caps_intersect):
4323 fix signedness issues in a (hopefully) correct way
4324 * gst/gstelement.c: (gst_element_pads_activate):
4326 * gst/gstobject.c: (gst_object_set_parent):
4329 2005-10-17 Julien MOUTTE <julien@moutte.net>
4331 * gst/gstvalue.h: Fix prototypes.
4333 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4335 * docs/gst/gstreamer-sections.txt:
4336 * gst/gst.c: (gst_version_string):
4338 * gst/gstversion.h.in:
4339 * win32/common/libgstreamer.def:
4340 add gst_version_string ()
4342 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4346 * gst/gst.c: (init_post):
4347 * win32/common/config.h.in:
4349 * gst/gstcaps.c: (gst_caps_intersect):
4350 use gint64, the range could be bigger than a guint
4352 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4355 document potential problem in 2038
4357 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4359 * gst/gstcaps.c: (gst_caps_intersect):
4360 Fix guint j diving under 0
4362 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4365 * win32/common/config.h:
4366 * win32/common/config.h.in:
4367 check for process.h, declares getpid() on Windows
4369 include process.h if we have it
4370 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
4371 * gst/gstmemchunk.h:
4372 fix signedness issues
4373 * win32/common/libgstreamer.def:
4376 2005-10-16 Julien MOUTTE <julien@moutte.net>
4378 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
4379 fix. Because of unsigned ints, caps intersection was going nuts and
4380 trying to access structures with G_MAXUINT index. That fixes
4381 videotestsrc ! ffmpegcolorspace ! fakesink
4382 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
4385 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4388 use the gettext macro
4389 * gst/elements/gstelements.c:
4391 * gst/indexers/gstindexers.c:
4392 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
4393 * win32/common/config.h:
4395 * win32/common/config.h.in:
4396 add the template to generate config.h
4397 * win32/common/gstenumtypes.c:
4398 * win32/common/gstversion.h:
4401 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4403 * gst/gst.c: (gst_version):
4404 * gst/gstversion.h.in:
4407 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
4410 Oops, add missing closing bracket.
4412 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4415 use common m4's for argument checking
4417 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
4419 * docs/gst/gstreamer-sections.txt:
4421 Add GST_EVENT_TYPE_NAME() macro.
4423 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4426 * gst/gstpluginfeature.c:
4428 privatize more symbols
4430 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4433 add srcdir, builddir includes to GST_ALL_CFLAGS, since
4434 everything that uses GStreamer API should have the includes
4436 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4438 * docs/gst/gstreamer-sections.txt:
4439 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4441 give each value a _get_type, removes the DATA exports
4443 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4447 remove _gst_registry_auto_load, not used anymore
4448 * gst/gstbin.c: (gst_bin_get_type):
4450 * gst/gstelement.c: (gst_element_get_type):
4452 * gst/gstobject.c: (gst_object_get_type):
4454 * gst/gstpad.c: (gst_pad_get_type):
4456 make _get_type functions similar, fixes data export from library
4458 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4461 correctly make conditionals
4462 * gst/elements/Makefile.am:
4463 * gst/elements/gstelements.c:
4464 fix typo causing fdsrc not to build
4466 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4468 * testsuite/Makefile.am:
4469 * testsuite/bytestream/.cvsignore:
4470 * testsuite/bytestream/Makefile.am:
4471 * testsuite/bytestream/filepadsink.c:
4472 * testsuite/bytestream/gstbstest.c:
4473 * testsuite/bytestream/test1.c:
4474 * testsuite/bytestream/testfile1:
4475 * testsuite/caps/normalisation.c:
4476 * testsuite/caps/random.c: (main):
4477 * testsuite/cleanup/.cvsignore:
4478 * testsuite/cleanup/Makefile.am:
4479 * testsuite/cleanup/cleanup1.c:
4480 * testsuite/cleanup/cleanup2.c:
4481 * testsuite/cleanup/cleanup3.c:
4482 * testsuite/cleanup/cleanup4.c:
4483 * testsuite/cleanup/cleanup5.c:
4484 * testsuite/controller/interpolator.c:
4485 * testsuite/debug/printf_extension.c: (main):
4486 * testsuite/elements/tee.c:
4487 * testsuite/negotiation/.cvsignore:
4488 * testsuite/negotiation/Makefile.am:
4489 * testsuite/negotiation/pad_link.c:
4490 * testsuite/pad/Makefile.am:
4491 * testsuite/pad/chainnopull.c:
4492 * testsuite/pad/getnopush.c:
4493 * testsuite/pad/link.c:
4494 * testsuite/refcounting/sched.c: (create_pipeline):
4495 * testsuite/registry/Makefile.am:
4496 * testsuite/registry/gst-print-formats.c:
4497 * testsuite/schedulers/.cvsignore:
4498 * testsuite/schedulers/142183-2.c:
4499 * testsuite/schedulers/142183.c:
4500 * testsuite/schedulers/143777-2.c:
4501 * testsuite/schedulers/143777.c:
4502 * testsuite/schedulers/147713.c:
4503 * testsuite/schedulers/147819.c:
4504 * testsuite/schedulers/147894-2.c:
4505 * testsuite/schedulers/147894.c:
4506 * testsuite/schedulers/Makefile.am:
4507 * testsuite/schedulers/group_link.c:
4508 * testsuite/schedulers/queue_link.c:
4509 * testsuite/schedulers/relink.c:
4510 * testsuite/schedulers/unlink.c:
4511 * testsuite/schedulers/unref.c:
4512 * testsuite/schedulers/useless_iteration.c:
4513 * testsuite/states/bin.c:
4514 clean out/remove some stuff from the testsuite directories
4516 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4519 check for some headers
4520 * gst/elements/Makefile.am:
4521 * gst/elements/gstelements.c:
4522 don't compile fdsrc without sys/socket.h
4523 * gst/indexers/Makefile.am:
4524 * gst/indexers/gstindexers.c: (plugin_init):
4525 don't compile fileindex without mmap
4527 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4534 * check/Makefile.am:
4535 * docs/gst/Makefile.am:
4536 * examples/helloworld/Makefile.am:
4538 * gst/base/Makefile.am:
4539 * gst/check/Makefile.am:
4540 * gst/elements/Makefile.am:
4541 * gst/indexers/Makefile.am:
4542 * gst/parse/Makefile.am:
4543 * libs/gst/controller/Makefile.am:
4544 * libs/gst/dataprotocol/Makefile.am:
4545 * examples/helloworld/helloworld.c: (event_loop):
4546 compile fixes, though it's not being compiled currently
4548 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4550 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
4551 Add some simple tests for the new taglist date API.
4553 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4555 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
4556 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
4557 Beautify 'last-message' output: print 'none' for buffer timestamps
4558 and durations if none is set; improve alignment with next messages.
4560 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4562 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
4563 * gst/gstpluginfeature.h:
4564 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
4565 * gst/gstregistry.h:
4566 * docs/gst/gstreamer-sections.txt:
4567 Add new API to check plugin feature version requirements.
4569 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
4570 Some basic tests for the above.
4572 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4574 * gst/gststructure.c: (gst_structure_to_string):
4575 guard against NULL printf - happens when for example
4576 a message structure with GstClock gets serialized
4578 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4580 * gst/base/gstcollectpads.c: (gst_collectpads_event):
4581 Fix presumable copy'n'pasto.
4583 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4585 * gst/elements/gstfakesrc.h:
4586 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4587 * gst/elements/gsttypefindelement.c:
4589 * gst/elements/gstfilesink.c: (gst_file_sink_render):
4590 I wonder if this could actually write +2GB files before
4592 2005-10-13 Andy Wingo <wingo@pobox.com>
4594 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4595 Fix Timmeke Waymans bug.
4596 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4597 string of the proper length to gst_caps_from_string. There's a
4598 potential for, before this fix, that this could cause someone
4599 connecting over the network to cause a segfault if the payload is
4602 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4604 * docs/design/draft-push-pull.txt:
4605 * docs/design/part-overview.txt:
4606 * docs/random/TODO-pre-0.9:
4607 * docs/random/old/ChangeLog.gstreamer:
4608 * gst/base/gstpushsrc.c:
4612 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4614 * gst/glib-compat.c: (gst_flags_get_first_value):
4615 * gst/glib-compat.h:
4616 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4617 (gst_value_compare_double), (gst_value_serialize_flags):
4618 GLib 2.6 g_flags_get_first_value has a bug that triggers an
4621 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4623 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4624 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4626 * tools/gst-launch.c: (event_loop):
4627 print out clock nicely
4629 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4631 * docs/gst/gstreamer-sections.txt:
4633 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4634 (gst_tag_list_get_date_index):
4635 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4636 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4638 2005-10-13 Julien MOUTTE <julien@moutte.net>
4640 * gst/base/gstcollectpads.c: (gst_collectpads_event),
4641 (gst_collectpads_chain):
4642 * gst/base/gstcollectpads.h: Handle newsegment and store informations
4645 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4647 * docs/gst/gstreamer-sections.txt:
4650 * tools/gst-inspect.c: (main):
4651 * tools/gst-launch.c: (main):
4652 * tools/gst-run.c: (main):
4653 * tools/gst-xmlinspect.c: (main):
4654 fix GOption context leaks
4657 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4661 * win32/common/config.h:
4663 * win32/vs6/grammar.dsp:
4664 * win32/vs6/libgstelements.dsp:
4665 * win32/vs6/libgstreamer.dsp:
4668 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4670 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4671 * gst/base/gstbasesrc.c: (gst_base_src_query):
4672 fix more guint64<->gdouble conversions
4674 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4677 add win32-update target
4678 * win32/common/gstconfig.h:
4679 * win32/common/gstenumtypes.c:
4680 * win32/common/gstenumtypes.h:
4681 * win32/common/gstversion.h:
4682 add files that visual studio can't generate
4684 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4687 add a win32-update target
4690 2005-10-12 Wim Taymans <wim@fluendo.com>
4692 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4693 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4694 * gst/gstelement.c: (gst_element_commit_state),
4695 (gst_element_set_state):
4696 Protect flags with proper lock.
4697 unref provided cached clock in dispose.
4699 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4702 * gst/gstminiobject.h:
4704 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4705 removed unused flags from miniobject
4708 2005-10-12 Wim Taymans <wim@fluendo.com>
4710 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4711 (gst_file_sink_event), (gst_file_sink_render):
4712 Flush before seeking.
4714 2005-10-12 Andy Wingo <wingo@pobox.com>
4716 * gst/gst.c (gst_init_check): Ignore unknown options, as has
4717 always been the case.
4719 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4721 * check/gst/gstbin.c: (GST_START_TEST):
4722 * docs/gst/gstreamer-sections.txt:
4723 * gst/base/gstbasesink.c: (gst_base_sink_init):
4724 * gst/base/gstbasesrc.c: (gst_base_src_init),
4725 (gst_base_src_get_range), (gst_base_src_check_get_range),
4726 (gst_base_src_start), (gst_base_src_stop):
4727 * gst/base/gstbasesrc.h:
4728 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4729 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4730 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4734 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4736 * gst/gstelement.c: (gst_element_is_locked_state),
4737 (gst_element_set_locked_state), (gst_element_commit_state),
4738 (gst_element_set_state):
4740 * gst/gstindex.c: (gst_index_init):
4742 * gst/gstminiobject.h:
4743 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4744 (gst_object_set_parent):
4746 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4747 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4749 * gst/gstpadtemplate.h:
4750 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4751 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4752 * gst/gstpipeline.h:
4753 * gst/indexers/gstfileindex.c: (gst_file_index_load),
4754 (gst_file_index_commit):
4755 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4756 * testsuite/pad/link.c: (gst_test_src_init),
4757 (gst_test_filter_init), (gst_test_sink_init):
4758 * testsuite/states/locked.c: (main):
4759 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4760 moved bitshift from macro to enum definition
4762 2005-10-12 Wim Taymans <wim@fluendo.com>
4764 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4765 * gst/elements/gstfilesink.c: (gst_file_sink_event),
4766 (gst_file_sink_render):
4767 Some more debugging info.
4769 2005-10-12 Wim Taymans <wim@fluendo.com>
4771 * docs/design/part-states.txt:
4772 * tools/gst-launch.c: (main):
4774 Revert non-intentional change.
4776 2005-10-12 Wim Taymans <wim@fluendo.com>
4778 * check/gst/gstbin.c: (GST_START_TEST):
4779 * check/gst/gstelement.c: (GST_START_TEST):
4780 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4781 * check/gst/gstghostpad.c: (GST_START_TEST):
4782 * check/gst/gstpipeline.c: (GST_START_TEST):
4783 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4784 * check/states/sinks.c: (GST_START_TEST):
4785 * gst/elements/gsttypefindelement.c: (stop_typefinding):
4786 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4787 (gst_bin_remove_func), (gst_bin_get_state_func),
4788 (gst_bin_recalc_state), (gst_bin_change_state_func),
4790 * gst/gstelement.c: (gst_element_get_state_func),
4791 (gst_element_get_state), (gst_element_abort_state),
4792 (gst_element_commit_state), (gst_element_set_state),
4793 (gst_element_change_state), (gst_element_change_state_func):
4795 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4796 (gst_pipeline_provide_clock_func):
4797 * gst/gstutils.c: (gst_element_link_pads_filtered):
4798 * tools/gst-launch.c: (main):
4799 * tools/gst-typefind.c: (main):
4800 Use GstClockTime in _get_state() instead of GTimeVal.
4801 Remove old code in gstutils.c
4803 2005-10-12 Andy Wingo <wingo@pobox.com>
4805 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4808 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4809 there is no task. Shouldn't affect any code, as nothing in our
4810 plugins checks this return value.
4811 (gst_pad_stop_task): Also take the stream lock if the pad has no
4814 2005-10-12 Wim Taymans <wim@fluendo.com>
4816 * gst/gstpad.c: (pre_activate), (post_activate),
4817 (gst_pad_activate_pull), (gst_pad_activate_push):
4818 Cleanup activation code. Reset old state if
4821 2005-10-12 Wim Taymans <wim@fluendo.com>
4823 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4824 (gst_base_sink_change_state):
4825 No need to prerol after receiving EOS.
4827 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4828 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4829 * gst/elements/gstidentity.c: (gst_identity_event):
4830 Print events more verbosely.
4832 2005-10-12 Wim Taymans <wim@fluendo.com>
4834 * check/Makefile.am:
4835 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4836 * check/states/sinks2.c:
4837 Moved sinks2 testcode in sinks check.
4839 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4840 (gst_bin_remove_func), (gst_bin_recalc_state),
4841 (gst_bin_change_state_func), (bin_bus_handler):
4842 Fix potential race condition when _get_state() iterated over an
4843 ASYNC element right before it posted a state completion.
4846 Do proper cast here.
4848 * gst/gstevent.c: (gst_event_new_newsegment),
4849 (gst_event_parse_newsegment):
4850 A playback rate of 0.0 is not allowed.
4852 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4854 * win32/common/config.h:
4855 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4856 (_trewinddir), (_ttelldir), (_tseekdir):
4857 * win32/common/dirent.h:
4858 * win32/common/gtchar.h:
4859 * win32/common/libgstbase.def:
4860 * win32/common/libgstreamer.def:
4861 * win32/vs6/grammar.dsp:
4862 * win32/vs6/gst_inspect.dsp:
4863 * win32/vs6/gst_launch.dsp:
4864 * win32/vs6/gstreamer.dsw:
4865 * win32/vs6/libgstbase.dsp:
4866 * win32/vs6/libgstelements.dsp:
4867 * win32/vs6/libgstreamer.dsp:
4868 Visual Studio 6 project files, and a new common directory.
4871 2005-10-11 Wim Taymans <wim@fluendo.com>
4873 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4874 (gst_base_sink_do_sync), (gst_base_sink_query),
4875 (gst_base_sink_change_state):
4876 * gst/base/gstbasesink.h:
4877 Correctly parse newsegment info.
4879 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4881 * gst/gst.c: (init_post):
4882 split plugin paths correctly
4884 2005-10-11 Wim Taymans <wim@fluendo.com>
4886 * check/gst/gstevent.c: (GST_START_TEST):
4887 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4888 (gst_base_sink_change_state):
4889 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4890 * gst/base/gstbasetransform.c: (gst_base_transform_event):
4891 * gst/elements/gstfilesink.c: (gst_file_sink_event):
4892 * gst/gstevent.c: (gst_event_new_newsegment),
4893 (gst_event_parse_newsegment):
4895 Added extra flag to newsegment for future API freeze.
4896 Updated check and base elements.
4898 2005-10-11 Julien MOUTTE <julien@moutte.net>
4900 * gst/base/gstcollectpads.c: (gst_collectpads_init),
4901 (gst_collectpads_add_pad), (gst_collectpads_pop),
4902 (gst_collectpads_event), (gst_collectpads_chain):
4903 * gst/base/gstcollectpads.h: Handle EOS correctly.
4905 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4907 * tools/gst-launch.c: (main):
4908 more null protecting
4910 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4912 * gst/gst-i18n-lib.h:
4913 check for ENABLE_NLS, not GETTEXT_PACKAGE
4914 * gst/gstregistry.c: (gst_registry_add_plugin),
4915 (gst_registry_scan_path_level),
4916 (_gst_registry_remove_cache_plugins):
4917 protect possibly NULL strings
4918 * gst/parse/types.h:
4919 config.h already included before
4920 * tools/gst-inspect.c: (main):
4921 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
4922 check for ENABLE_NLS, not GETTEXT_PACKAGE
4923 * tools/gst-launch.c: (main):
4924 check for ENABLE_NLS, not GETTEXT_PACKAGE
4926 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4929 if we don't have glib, fail before testing 2.8
4930 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
4931 fix a leak, should fix plugins-base testsuite
4933 2005-10-11 Andy Wingo <wingo@pobox.com>
4935 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
4936 take the mode we're going to as an arg. Go head and set the mode
4937 and flushing flags now, so that if the activate function starts a
4938 thread all the flags will be in the right state.
4939 (post_activate): Renamed also. Just handle making sure streaming
4940 finishes for the deactivation case, and setting the deactivated
4942 (gst_pad_set_active): Complain loudly if deactivation fails.
4943 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
4944 (gst_pad_activate_push): Adapt to pre/post_activate changes,
4945 remove the terrible hack.
4947 2005-10-11 Wim Taymans <wim@fluendo.com>
4949 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4950 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
4951 (gst_bin_recalc_state), (gst_bin_change_state_func),
4952 (gst_bin_dispose), (bin_bus_handler):
4954 Prepare to make current EOS message queue more generic.
4957 * gst/gstevent.c: (gst_event_new_newsegment),
4958 (gst_event_parse_newsegment):
4960 Rename base to stream_time.
4965 2005-10-11 Wim Taymans <wim@fluendo.com>
4967 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
4968 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
4969 (gst_bin_change_state_func), (bin_bus_handler):
4971 Work on proper clock selection.
4973 2005-10-11 Edward Hervey <edward@fluendo.com>
4975 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
4976 * libs/gst/controller/gstcontroller.h:
4977 Added GList* version of _remove_properties() in order to be able to wrap
4980 2005-10-11 Wim Taymans <wim@fluendo.com>
4982 * docs/design/part-states.txt:
4985 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
4986 (gst_bin_change_state_func), (bin_bus_handler):
4987 Doc updates. Don't distribute the same clock over and over again.
4993 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
4994 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
4995 (gst_pad_send_event):
4997 Make probe emission threadsafe again.
4998 Register quarks and move _get_name() from utils.
5001 * gst/gstpipeline.c: (gst_pipeline_class_init),
5002 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
5003 Only redistribute the clock of it changed.
5005 * gst/gstsystemclock.h:
5010 Moved the _flow_get_name() to GstPad.
5012 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
5014 * check/gst-libs/gdp.c: (GST_START_TEST):
5015 * check/gst/gstcaps.c: (GST_START_TEST):
5016 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
5017 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
5018 (gst_dp_packet_from_caps):
5019 fix more valgrind warnings before turning up the heat
5021 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
5023 * gst/parse/grammar.y:
5024 some cleanup before the hacking
5026 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
5028 * gst/base/gstbasesrc.c: (gst_base_src_query):
5030 * gst/gstutils.c: (gst_guint64_to_gdouble),
5031 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
5033 externalize, basesrc uses it
5034 obviously the implementation needs testing
5036 2005-10-10 Wim Taymans <wim@fluendo.com>
5038 * tests/sched/Makefile.am:
5039 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
5040 (make_pipeline3), (make_pipeline4), (print_elem), (main):
5042 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
5044 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
5045 apparently converting from guint64 to double is not implemented
5048 2005-10-10 Wim Taymans <wim@fluendo.com>
5050 * check/Makefile.am:
5051 * check/generic/states.c: (GST_START_TEST):
5052 * check/gst/gstbin.c: (GST_START_TEST):
5053 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5054 * check/states/sinks.c: (GST_START_TEST):
5055 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
5057 Check fixes, use API as stated in design docs, remove hacks.
5059 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5060 (gst_base_sink_change_state):
5061 Catch stopping our task while we're shutting down.
5063 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5064 (gst_bin_remove_func), (gst_bin_get_state_func),
5065 (gst_bin_recalc_state), (gst_bin_change_state_func),
5068 * gst/gstelement.c: (gst_element_init),
5069 (gst_element_get_state_func), (gst_element_abort_state),
5070 (gst_element_commit_state), (gst_element_lost_state),
5071 (gst_element_set_state), (gst_element_change_state),
5072 (gst_element_change_state_func):
5074 New state change algorithm (see #318116)
5076 * gst/gstpipeline.c: (gst_pipeline_class_init),
5077 (gst_pipeline_init), (gst_pipeline_set_property),
5078 (gst_pipeline_get_property), (do_pipeline_seek),
5079 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
5080 * gst/gstpipeline.h:
5081 Remove crude state change hacks.
5086 * tools/gst-launch.c: (main):
5087 Fixes for state change. Needs some more work to fully use the
5090 2005-10-10 Andy Wingo <wingo@pobox.com>
5092 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
5094 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
5095 this flag, but it's not even in GLib 2.6. Odd. Hack around the
5098 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
5100 * gst/gstiterator.c: (gst_iterator_new):
5101 Fix my previous commit: GTypes passed to gst_iterator_new()
5102 can be fundamental types.
5104 2005-10-10 Wim Taymans <wim@fluendo.com>
5106 * gst/gstelement.c: (gst_element_iterate_pad_list),
5107 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
5108 (gst_element_iterate_sink_pads):
5109 Use src/sink pads lists for the respective iterators instead
5112 2005-10-10 Andy Wingo <wingo@pobox.com>
5114 Merged in popt removal + GOption addition patch from Ronald, bug
5117 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
5118 GstElement macros around, remove popt-related symbols, add goption
5121 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
5123 * docs/gst/Makefile.am:
5124 * docs/libs/Makefile.am: No POPT_CFLAGS.
5126 * examples/manual/Makefile.am:
5127 * docs/manual/basics-init.xml: Doc updates with an example.
5129 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5130 (gst_init), (parse_one_option), (parse_goption_arg):
5131 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
5132 bit of hand merging and debugging to get the GOption stuff working
5135 * tests/Makefile.am:
5136 * tools/Makefile.am:
5137 * tools/gst-inspect.c: (main):
5138 * tools/gst-launch.c: (main):
5139 * tools/gst-run.c: (main):
5140 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
5142 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
5144 * gst/gstiterator.c: (gst_iterator_new):
5145 Add assertions to make sure passed GType is likely to really
5146 be a GType (as the compiler won't catch it if the size and
5147 GType arguments get mixed up, see #318447).
5149 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
5151 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5153 * gst/gstbin.c: (gst_bin_iterate_sorted):
5154 Pass GType and size arguments to gst_iterator_new() in the right
5155 order (maybe we should make _new() take the GType as first argument
5156 just like _new_list()?) (#318447).
5159 2005-10-10 Wim Taymans <wim@fluendo.com>
5161 * gst/gstelement.c: (gst_element_finalize):
5162 And free the GStaticRecMutex too
5164 2005-10-10 Andy Wingo <wingo@pobox.com>
5166 * gst/gstelement.c (gst_element_init, gst_element_finalize):
5167 Allocate and free the mutex properly.
5169 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
5171 (GstElement): The state_lock is now recursive. Rebuild your
5172 plugins, suckers. Old macros adapted.
5174 * docs/gst/gstreamer-sections.txt: Doc updates.
5177 * gst/gstutils.c (g_static_rec_cond_timed_wait)
5178 (g_static_rec_cond_wait): Ported from state changes patch, while
5179 we wait on bug #317802 to be solved in a well-distributed GLib.
5181 * gst/gstelement.c (gst_element_change_state_func): Renamed from
5182 gst_element_change_state, variable name changes.
5183 (gst_element_change_state): Split out of gst_element_set_state in
5184 preparation for the state change merge. Doesn't pay attention to
5185 the 'transition' argument.
5186 (gst_element_set_state): Updates, hopefully purely cosmetic.
5187 (gst_element_sync_state_with_parent): MT-safety. Ported from the
5189 (gst_element_get_state_func): Renamed from get_state, cosmetic
5192 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
5194 * gst/elements/gstelements.c:
5195 * win32/GStreamer.vcproj:
5197 * win32/dirent.c: (_tseekdir):
5198 * win32/gst-inspect.vcproj:
5199 * win32/gst-launch.vcproj:
5200 * win32/gstconfig.h:
5201 * win32/gstelements.vcproj:
5202 * win32/gstenumtypes.c: (gst_object_flags_get_type):
5203 * win32/gstreamer.def:
5205 updates for the win32 build (patch from Sebastien Moutte)
5207 2005-10-10 Andy Wingo <wingo@pobox.com>
5209 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
5210 gst_bin_get_state, cleaned up (but no logic changes).
5211 (bin_element_is_sink): Comment updates.
5212 (sink_iterator_filter): Remove needless cast.
5213 (gst_bin_iterate_sinks): Doc update.
5214 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
5215 cleaned up (but no logic changes).
5217 * check/states/sinks.c (test_src_sink): Cleanups from the state
5219 (test_livesrc_sink): Sync on the state.
5221 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
5222 the state change patch.
5224 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
5227 * check/gst/gstbin.c: Merge in some style fixes and additional
5228 checks from Wim's state change patch.
5230 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
5232 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5233 (gst_type_find_helper):
5234 Check whether we have the requested data already in our list of
5235 cached buffers before pulling a new buffer; also make the buffer
5236 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
5238 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
5243 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5244 don't use long long, it's not portable. Replacing with
5245 gint64 seems to work; let's hope no skeletons fall out of the closet.
5247 2005-10-10 Andy Wingo <wingo@pobox.com>
5249 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
5251 2005-10-09 Stefan Kost <ensonic@users.sf.net>
5253 * docs/gst/gstreamer-sections.txt:
5258 * gst/gstmessage.c: (gst_message_parse_state_changed):
5261 more docs, fix compilation
5263 2005-10-09 Philippe Khalaf <burger@speedy.org>
5265 Fixed a few forgotten variables on previous commit
5267 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
5269 * gst/base/gsttypefindhelper.c: (helper_find_peek):
5270 Fix evil typefind crasher: getrange() might return a short
5271 buffer at the end of a file, but gst_type_find_peek() must
5272 either return the full data as requested or NULL, but
5273 never a short buffer.
5275 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
5277 * gst/gstmessage.c: (gst_message_new_state_changed),
5278 (gst_message_parse_state_changed):
5280 don't use "new", it's a C++ keyword
5282 2005-10-08 Wim Taymans <wim@fluendo.com>
5284 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
5285 * gst/gstelement.c: (gst_element_post_message):
5286 * gst/gstpipeline.c: (gst_pipeline_change_state):
5287 Small docs and debug updates.
5289 2005-10-08 Stefan Kost <ensonic@users.sf.net>
5291 * docs/gst/gstreamer-sections.txt:
5292 * gst/gstelementfactory.c:
5297 2005-10-08 Wim Taymans <wim@fluendo.com>
5299 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
5300 (gst_bin_dispose), (bin_bus_handler):
5301 Fix typos, add comments.
5302 Clear EOS list when going to PAUSED from any direction and do it
5303 in a threadsafe way.
5304 Get base time in a threadsafe way too.
5305 Fix confusing debug in the change_state function.
5306 Various other small cleanups.
5308 * gst/gstelement.c: (gst_element_post_message):
5309 Fix very verbose bus posting code.
5311 * gst/gstpipeline.c: (gst_pipeline_class_init),
5312 (gst_pipeline_set_property), (gst_pipeline_get_property),
5313 (gst_pipeline_change_state):
5314 Small ARG_ -> PROP_ cleanup
5316 2005-10-08 Wim Taymans <wim@fluendo.com>
5318 * gst/gstbin.c: (is_eos), (bin_bus_handler):
5319 Do a less CPU demanding EOS check because we can.
5321 2005-10-08 Wim Taymans <wim@fluendo.com>
5323 * libs/gst/dataprotocol/dataprotocol.c:
5324 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5325 (gst_dp_packet_from_event):
5326 * libs/gst/dataprotocol/dataprotocol.h:
5327 * libs/gst/dataprotocol/dp-private.h:
5328 It's about time we bump the version number.
5329 Since event types don't fit in the guint8 anymore describing
5330 the payload type, make payload type 16 bits wide.
5332 2005-10-08 Wim Taymans <wim@fluendo.com>
5334 * docs/design/part-TODO.txt:
5335 * docs/design/part-clocks.txt:
5336 * docs/design/part-events.txt:
5337 * docs/design/part-gstbin.txt:
5338 * docs/design/part-gstelement.txt:
5339 * docs/design/part-gstpipeline.txt:
5340 * docs/design/part-live-source.txt:
5341 * docs/design/part-messages.txt:
5342 * docs/design/part-overview.txt:
5343 * docs/design/part-states.txt:
5346 2005-10-08 Wim Taymans <wim@fluendo.com>
5350 Fix event quark registration.
5351 Add some space between events so we can insert them in the
5354 2005-10-08 Wim Taymans <wim@fluendo.com>
5356 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5357 (gst_base_sink_handle_buffer):
5364 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
5365 (gst_queue_set_property), (gst_queue_get_property):
5367 Remove old unused properties.
5369 2005-10-08 Stefan Kost <ensonic@users.sf.net>
5370 * docs/gst/gstreamer-sections.txt:
5373 * gst/gstminiobject.c:
5374 * gst/gstminiobject.h:
5378 lots of new docs and doc fixes
5380 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5382 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
5384 * gst/gstregistry.c: (gst_registry_lookup_locked),
5385 (gst_registry_scan_path_level):
5386 * gst/gstregistryxml.c: (load_plugin):
5387 Only ever load one plugin for a given plugin basename.
5388 This ensures correct overriding of GST_PLUGIN_PATH over
5389 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
5390 system installed plugins.
5392 2005-10-08 Wim Taymans <wim@fluendo.com>
5394 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5395 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
5396 Prepare for doing QOS.
5398 2005-10-08 Wim Taymans <wim@fluendo.com>
5400 * check/gst/gstbin.c: (GST_START_TEST):
5401 * check/pipelines/cleanup.c: (GST_START_TEST):
5402 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5403 Allow new clock message too.
5405 2005-10-08 Wim Taymans <wim@fluendo.com>
5407 * gst/gstmessage.c: (gst_message_new_error),
5408 (gst_message_new_warning), (gst_message_new_tag),
5409 (gst_message_new_state_changed), (gst_message_new_clock_provide),
5410 (gst_message_new_clock_lost), (gst_message_new_new_clock),
5411 (gst_message_new_segment_start), (gst_message_new_segment_done),
5412 (gst_message_parse_state_changed),
5413 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
5414 (gst_message_parse_new_clock):
5416 Also carry the clock in question.
5418 2005-10-08 Wim Taymans <wim@fluendo.com>
5420 * gst/gstmessage.c: (gst_message_new_custom),
5421 (gst_message_new_eos), (gst_message_new_error),
5422 (gst_message_new_warning), (gst_message_new_tag),
5423 (gst_message_new_state_changed), (gst_message_new_clock_provide),
5424 (gst_message_new_new_clock), (gst_message_new_segment_start),
5425 (gst_message_new_segment_done), (gst_message_parse_state_changed),
5426 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
5429 Added clock related messages.
5431 * gst/gstpipeline.c: (gst_pipeline_change_state):
5432 Post message when the clock changed.
5434 * tools/gst-launch.c: (event_loop):
5437 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
5439 * tools/gst-inspect.c: (print_element_properties_info):
5440 Can't pass NULL strings to g_print() on windows.
5442 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5445 * docs/gst/Makefile.am:
5446 * docs/gst/gstreamer-docs.sgml:
5447 * docs/gst/running.xml:
5448 * docs/version.entities.in:
5449 add a chapter on running GStreamer.
5450 document GST_DEBUG and GST_PLUGIN* env vars
5452 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5457 remove PLUGINS_BUILDDIR stuff
5458 * gst/gst.c: (init_post):
5459 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
5461 remove, it was condescending and not needed
5463 2005-10-08 Wim Taymans <wim@fluendo.com>
5465 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5466 (gst_base_sink_handle_object), (gst_base_sink_event),
5467 (gst_base_sink_wait), (gst_base_sink_handle_event),
5468 (gst_base_sink_change_state):
5469 * gst/base/gstbasesink.h:
5470 Repost EOS message while going to PLAYING if still EOS.
5471 Make sure that when receiving a FLUSH_START we don't attempt
5472 to sync on the clock anymore.
5474 2005-10-08 Wim Taymans <wim@fluendo.com>
5476 * tools/gst-launch.c: (event_loop):
5477 Better message printout.
5479 2005-10-08 Wim Taymans <wim@fluendo.com>
5481 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
5482 (gst_bin_child_proxy_get_children_count):
5483 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5484 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
5485 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
5486 (gst_child_proxy_set_valist):
5487 * gst/parse/grammar.y:
5488 Make ChildProxy threadsafe and fix mem leaks.
5490 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5492 * gst/gst.c: (init_post):
5493 debug the GST_PLUGIN_ env vars
5495 2005-10-08 Wim Taymans <wim@fluendo.com>
5497 * check/gst/gstbin.c: (GST_START_TEST):
5498 * check/gst/gstmessage.c: (GST_START_TEST):
5499 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5500 * gst/gstelement.c: (gst_element_commit_state),
5501 (gst_element_lost_state):
5502 * gst/gstmessage.c: (gst_message_new_state_changed),
5503 (gst_message_parse_state_changed):
5505 * tools/gst-launch.c: (event_loop):
5506 Added extra field to STATE_CHANGE message with the pending
5507 state, which will be different from the new state soon.
5509 2005-10-08 Wim Taymans <wim@fluendo.com>
5511 * gst/gstbus.c: (gst_bus_pop):
5513 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
5514 Small cleanups and doc updates.
5516 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5518 * gst/gst.c: (init_pre):
5519 * gst/gstbin.c: (gst_bin_add_func):
5520 log distributing clocks and base time
5521 * gst/gstregistry.c: (gst_registry_add_plugin),
5522 (gst_registry_scan_path_level), (gst_registry_scan_path):
5523 clean up the debugging output a little
5524 * gst/gstutils.c: (gst_element_state_get_name):
5525 warn about a memleak (I've actually seen this be used, though
5526 it was probably a bug)
5528 2005-10-07 Wim Taymans <wim@fluendo.com>
5530 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5531 (gst_base_src_init), (gst_base_src_default_newsegment),
5532 (gst_base_src_newsegment), (gst_base_src_do_seek),
5533 (gst_base_src_loop), (gst_base_src_start):
5534 * gst/base/gstbasesrc.h:
5535 Make the newsegment event customizable by subclasses.
5537 2005-10-07 Wim Taymans <wim@fluendo.com>
5539 * gst/gstevent.c: (gst_event_new_buffersize),
5540 (gst_event_parse_buffersize):
5542 New event for future idea.
5544 2005-10-07 Andy Wingo <wingo@pobox.com>
5546 * gst/gstelement.c (gst_element_post_message): Doc update.
5548 * docs/gst/gstreamer-sections.txt: Update.
5550 * gst/gstmessage.c (gst_message_new_application): Made into a
5551 function like honest API calls.
5552 (gst_message_new_element): New message type.
5554 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
5556 * check/elements/fakesrc.c (test_no_preroll): New check, checks
5557 that setting a live fakesrc to PAUSED returns NO_PREROLL both
5560 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
5561 NO_PREROLL from gst_element_change_state to fall through.
5563 2005-10-07 Wim Taymans <wim@fluendo.com>
5565 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
5566 (gst_ghost_pad_do_activate_push):
5567 Activating a ghostpad with no internal pad in push mode
5570 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
5573 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
5574 Fixes compilation on Windows.
5576 2005-10-07 Michael Smith <msmith@fluendo.com>
5578 * tools/gst-inspect.c:
5579 Print out feature and plugin count at the end when printing out
5582 2005-10-04 Michael Smith <msmith@fluendo.com>
5584 * gst/gsterror.c: (_gst_stream_errors_init):
5585 Add another error string used in a few existing plugins.
5588 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5589 * tools/gst-inspect.c: (print_element_info):
5590 When a feature disappears from a plugin (and the feature exists in
5591 the cached registry file), things went horribly wrong. This isn't a
5592 complete fix, we should actually be removing the 'missing' features
5593 from the features list when we load the actual plugin. That's not
5596 2005-10-04 Johan Dahlin <johan@gnome.org>
5598 * check/gst/gstiterator.c: (GST_START_TEST):
5599 * gst/gstbin.c: (gst_bin_iterate_elements),
5600 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5601 * gst/gstelement.c: (gst_element_iterate_pads):
5602 * gst/gstformat.c: (gst_format_iterate_definitions):
5603 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5604 (gst_iterator_new_list), (gst_iterator_filter):
5605 * gst/gstiterator.h:
5606 * gst/gstquery.c: (gst_query_type_iterate_definitions):
5607 Add a GType to GstIterator, update callsites and tests.
5609 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5611 * gst/gstpad.c: (gst_pad_event_default_dispatch):
5612 give events a chance to be handled by event probes when the pad
5615 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5617 * gst/gstevent.c: (gst_event_type_get_name),
5618 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5620 add string representations for event types
5622 2005-10-06 Wim Taymans <wim@fluendo.com>
5624 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5625 Don't use NULL pointers.
5627 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5629 * gst/gst_private.h:
5633 * gst/gstpluginfeature.c:
5634 widen the debug category in output to fit the biggest one we have
5635 add a bus category and use it
5636 play with the colors
5637 fix up some categories
5639 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5641 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5642 add push activation of sink ghost pads.
5643 Andye, please verify
5645 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5647 * gst/gstutils.c: (gst_element_link_pads):
5648 fix a bug in the case where neither element has a pad
5649 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5650 add a test for that case
5652 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5654 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5655 emit have-data before checking for peers. This allows
5656 for probe handlers to connect elements. This helps autopluggers.
5657 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5659 add six checks, linked/unlinked with no/true/false probe
5661 2005-10-04 Wim Taymans <wim@fluendo.com>
5663 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5664 (gst_fake_sink_event), (gst_fake_sink_preroll),
5665 (gst_fake_sink_render), (gst_fake_sink_change_state):
5666 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5667 (gst_fake_src_get_property), (gst_fake_src_create),
5668 (gst_fake_src_stop):
5669 * gst/elements/gstidentity.c: (gst_identity_stop):
5670 Protect last_message with lock.
5672 2005-10-04 Edward Hervey <edward@fluendo.com>
5675 Added precision in the comments for GST_FORMAT_DEFAULT
5677 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
5679 * tools/gst-launch.c: (main):
5680 Don't try to run erroneous pipelines.
5682 2005-10-04 Julien MOUTTE <julien@moutte.net>
5684 * gst/gstbus.c: We don't need this header.
5686 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5691 === release 0.9.3 ===
5693 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5697 Releasing 0.9.3, "Unregistered"
5699 2005-10-03 Andy Wingo <wingo@pobox.com>
5701 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5702 whereby calling a pad's activatepush() function can start a thread
5703 that starts to push or pull before the pad gets the FLUSHING flag
5704 unset. Hack around it by holding the stream lock until the flag is
5705 set. Need to replace this with a proper solution. Together with
5706 the ghost pad fixes, this fixes mp3 playing/tagreading.
5708 * docs/design/part-gstghostpad.txt: Add a note about activation of
5709 proxy pads outside of ghost pads.
5711 * gst/gstghostpad.c: Implement the ghost pad activation design.
5713 2005-10-02 Andy Wingo <wingo@pobox.com>
5715 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5716 It is volatile, after all.
5718 * docs/design/part-gstghostpad.txt: Flesh out activation with
5721 * gst/base/gstbasesrc.c (gst_base_src_init): Use
5724 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
5727 Fix (unused) AM_CONDITIONAL tests.
5729 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
5731 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5733 * gst/gstutils.c: (gst_pad_query_convert):
5734 Add assertion that makes sure src_val is >=0, just like
5735 gst_query_new_convert() has. (#315895)
5737 2005-09-30 Edward Hervey <edward@fluendo.com>
5739 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5740 Let's not iterate pads we're not interested in, it avoids getting
5741 sky-high refcounts on sinkpad.
5743 2005-09-30 Wim Taymans <wim@fluendo.com>
5745 * gst/gstelement.c: (gst_element_set_state),
5746 (gst_element_change_state):
5747 Small tweak, element in ASYNC remains ASYNC.
5749 2005-09-30 Wim Taymans <wim@fluendo.com>
5751 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5752 Only error is an error.
5754 * gst/gstbin.c: (gst_bin_change_state):
5757 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5758 Also call pad_block in pad alloc.
5760 * gst/gstutils.c: (gst_flow_get_name):
5763 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5765 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5766 (gst_base_src_get_range):
5767 Fix documentation typos. Add some more debug info.
5769 2005-09-29 David Schleef <ds@schleef.org>
5771 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5772 more end-user friendly.
5773 * tools/gst-inspect.c: (main): Check if command-line argument is
5774 a file and attempt to load that file as a plugin.
5776 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5778 * check/gst/gstbin.c:
5779 * check/states/sinks.c:
5780 fix tests for the new warning
5781 * check/gst/gstpipeline.c:
5782 add a test for pipeline and bus interaction
5784 elements should be NULL if they get disposed; add a warning if not
5786 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5789 for 2.6 refcounting, make debug log more correct by printing
5790 the actual refcounts at the time of swap (Wim)
5792 2005-09-29 Andy Wingo <wingo@pobox.com>
5794 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5795 removes signal watches previously added via
5796 gst_bus_add_signal_watch.
5797 (gst_bus_add_signal_watch): Don't return the source id, just store
5798 it on the bus if there wasn't an id already.
5800 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5801 add_signal_watch and remove_signal_watch.
5803 2005-09-29 Edward Hervey <edward@fluendo.com>
5805 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5806 Better if we actually iterate the list :)
5808 2005-09-29 Wim Taymans <wim@fluendo.com>
5810 * check/gst/gstbin.c: (GST_START_TEST):
5811 Change for new bus API.
5813 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5814 (send_messages), (GST_START_TEST), (gstbus_suite):
5815 Change for new bus signal API.
5817 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5818 (gst_bus_source_prepare), (gst_bus_source_check),
5819 (gst_bus_create_watch), (gst_bus_add_watch_full),
5820 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5821 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5823 Remove support for multiple GSources operating on different
5824 message types as it is too complex and unneeded when using
5826 Added support for receiving signals from the bus.
5828 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5830 * docs/libs/tmpl/gstdataprotocol.sgml:
5831 * docs/manual/advanced-dataaccess.xml:
5832 * gst/elements/gstcapsfilter.c:
5834 rename filter-caps to caps property
5836 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5838 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5839 More robust fraction string parsing.
5841 * docs/pwg/appendix-porting.xml:
5842 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5844 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5846 * gst/gstcaps.c: (gst_caps_do_simplify):
5847 Thou shalt not free a structure and then continue using it
5848 in the next loop iteration.
5850 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5852 Add test case for caps simplification.
5854 2005-09-29 Wim Taymans <wim@fluendo.com>
5856 * check/gst/gstbin.c: (GST_START_TEST):
5859 2005-09-29 Wim Taymans <wim@fluendo.com>
5861 * check/gst/gstbin.c: (GST_START_TEST):
5864 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5865 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5866 (find_element), (gst_bin_sort_iterator_next),
5867 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5868 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5869 (gst_bin_change_state), (gst_bin_dispose):
5870 A bin does not have a bus, it gets the bus from the parent.
5872 * gst/gstelement.c: (gst_element_requires_clock),
5873 (gst_element_provides_clock), (gst_element_is_indexable),
5874 (gst_element_is_locked_state), (gst_element_change_state),
5875 (gst_element_set_bus_func):
5878 * gst/gstpipeline.c: (gst_pipeline_class_init),
5879 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5880 The pipeline provides a bus.
5882 2005-09-28 Johan Dahlin <johan@gnome.org>
5884 * gst/gstmessage.c (gst_message_parse_state_changed): Use
5885 gst_structure_get_enum instead of gst_structure_get_int
5887 * gst/gststructure.c (gst_structure_get_enum): Impl.
5889 * gst/gststructure.h (gst_structure_get_enum): Add
5891 * docs/gst/gstreamer-sections.txt: Ditto
5893 * gst/gstmessage.c (gst_message_new_state_changed): Use
5894 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5895 which does introspection.
5896 Reviewed by Christian Schaller
5898 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5900 * gst/gstinfo.c: (gst_debug_log_default):
5901 don't do dummy g_strdup()s
5902 * libs/gst/controller/gstcontroller.c:
5903 (on_object_controlled_property_changed),
5904 (gst_controlled_property_new), (gst_controller_new_valist),
5905 (gst_controller_new_list),
5906 (gst_controller_remove_properties_valist), (gst_controller_set),
5907 (gst_controller_get), (gst_controller_sync_values),
5908 (gst_controller_get_value_array), (_gst_controller_class_init),
5909 (gst_controller_get_type):
5910 * libs/gst/controller/gstcontroller.h:
5911 * libs/gst/controller/gstinterpolation.c:
5912 (gst_controlled_property_find_timed_value_node):
5913 convert // to /**/ comments
5915 2005-09-28 Wim Taymans <wim@fluendo.com>
5917 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
5918 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
5919 (gst_bus_sync_signal_handler):
5921 Added async-message and sync-message signals to the bus.
5922 Added helper BusFunc to emit signals for all posted messages.
5924 * gst/gstmessage.c: (gst_message_type_get_name),
5925 (gst_message_type_to_quark), (gst_message_get_type):
5927 Register quarks for message names.
5929 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5931 * docs/libs/gstreamer-libs-sections.txt:
5932 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
5933 (gst_controller_new_list):
5934 * libs/gst/controller/gstcontroller.h:
5935 added another constructor for language bindings
5937 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
5939 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5943 * gst/gstinfo.c: (_gst_debug_init):
5944 slightly more readable color for refcount debugging
5946 2005-09-28 Wim Taymans <wim@fluendo.com>
5948 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
5949 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5950 (find_element), (gst_bin_sort_iterator_next),
5951 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5952 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5953 (gst_bin_change_state), (gst_bin_dispose):
5954 Small doc fixes. get_clock -> provide_clock.
5956 * gst/gstelement.c: (gst_element_class_init),
5957 (gst_element_provides_clock), (gst_element_provide_clock),
5958 (gst_element_get_clock), (gst_element_commit_state),
5959 (gst_element_lost_state):
5961 Make get/set_clock() symetric. Add provide_clock vmethod since
5962 that is actually what this function does.
5964 * gst/gstpipeline.c: (gst_pipeline_class_init),
5965 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
5966 (gst_pipeline_get_clock):
5967 get_clock -> provide_clock.
5969 2005-09-28 Andy Wingo <wingo@pobox.com>
5971 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
5972 lieu of real docs...
5974 * gst/elements/gstfdsrc.c: Cleaned up a bit.
5976 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
5978 * gst/elements/gstcapsfilter.c:
5979 * gst/elements/gstfakesink.c:
5980 * gst/elements/gstfakesrc.c:
5981 * gst/elements/gstfdsink.c:
5982 * gst/elements/gstfdsrc.c:
5983 * gst/elements/gstfilesink.c:
5984 * gst/elements/gstfilesrc.c:
5985 * gst/elements/gstidentity.c:
5986 * gst/elements/gsttee.c:
5987 * gst/elements/gsttypefindelement.c:
5988 Make element details static.
5990 2005-09-28 Wim Taymans <wim@fluendo.com>
5992 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
5993 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
5994 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5995 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5996 (gst_bin_change_state), (gst_bin_dispose):
5997 Some documentation updates.
5998 Clean up dispose handlers.
6000 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
6001 * gst/gstpad.c: (gst_pad_dispose):
6002 Clean up dispose handler.
6004 * gst/gstpipeline.c: (gst_pipeline_change_state):
6005 Removed spurious UNLOCK.
6007 2005-09-27 Stefan Kost <ensonic@users.sf.net>
6009 * docs/gst/gstreamer-sections.txt:
6010 * gst/base/gstbasesrc.h:
6015 * gst/gstpipeline.c:
6016 * gst/gstpipeline.h:
6019 added two new functions to the docs
6020 documents all undocumented GstXXXFlags
6021 completed some incomplete docs
6023 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
6025 * gst/gstbin.c: (gst_bin_dispose):
6026 * gst/gstelement.c: (gst_element_dispose):
6027 remove now useless and leaky resurrection code in dispose
6028 * gst/base/gstbasesrc.c: (gst_base_src_init):
6029 * gst/gstelementfactory.c: (gst_element_factory_create):
6030 * gst/gstobject.c: (gst_object_set_parent):
6033 2005-09-27 Wim Taymans <wim@fluendo.com>
6035 * docs/design/part-TODO.txt:
6038 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
6039 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
6040 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
6041 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
6042 (gst_bin_change_state):
6044 Remove element variable, we keep element info in the iterator now.
6046 2005-09-27 Andy Wingo <wingo@pobox.com>
6048 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
6051 2005-09-27 Wim Taymans <wim@fluendo.com>
6053 * check/gst/gstbin.c: (GST_START_TEST):
6054 Enable check that works now.
6056 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
6057 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
6058 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
6059 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
6060 (gst_bin_change_state):
6062 Redid the state change algorithm using a topological sort algo.
6063 Handles all cases correctly.
6064 Exposed iterator for state change order.
6067 Temp storage for state changes. Need to get rid of this soon.
6069 2005-09-27 Wim Taymans <wim@fluendo.com>
6071 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
6072 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
6073 (link_fold_func), (gst_pad_proxy_setcaps):
6074 Leak fixes, the fold functions need to unref the passed object and
6075 _get_parent_*() returns ref to parent.
6077 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
6079 * check/gst/gstbuffer.c: (test_make_writable):
6080 Plug leak in test case and fix 'make check-valgrind'
6082 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
6084 * gst/gstbuffer.c: (gst_subbuffer_init):
6085 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
6086 works correctly in all circumstances (we could have just copied
6087 the parent buffer's readonly flag, but conceptually it seems
6088 cleaner to mark all subbuffers as read-only). (based on patch
6089 by Alessandro Decina, #314710).
6091 * check/gst/gstbuffer.c: (create_read_only_buffer),
6092 (test_make_writable), (test_subbuffer_make_writable),
6094 Add some tests for gst_buffer_make_writable().
6096 2005-09-27 Wim Taymans <wim@fluendo.com>
6098 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
6099 use gst_object_has_ancestor().
6101 * gst/gstobject.c: (gst_object_has_ancestor):
6103 gst_object_has_ancestor() copied from gstbin.c as it is a
6106 * tests/instantiate/create.c: (create_all_elements):
6107 * tests/lat.c: (handoff_src), (handoff_sink):
6108 * tests/sched/runxml.c: (main):
6109 * tests/seeking/seeking1.c: (main):
6110 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
6112 Fix compilation of some tests.
6114 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
6117 Remove comment. GST_TYPE_G_ERROR is here to stay,
6118 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
6121 2005-09-26 Wim Taymans <wim@fluendo.com>
6123 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6124 Added check that shows error in state change order.
6126 2005-09-26 Wim Taymans <wim@fluendo.com>
6128 * gst/gstbin.c: (gst_bin_change_state):
6129 Make state change function use 3 queues again, we were
6130 adding elements in the wrong order.
6132 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
6135 * gst/gstpad.c: (gst_pad_dispose):
6136 Added some debug info first.
6138 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
6140 * docs/design/draft-push-pull.txt:
6141 * docs/design/part-events.txt:
6142 * docs/design/part-overview.txt:
6143 * docs/design/part-scheduling.txt:
6144 Replace all _pull_region() with _pull_range()
6146 2005-09-26 Andy Wingo <wingo@pobox.com>
6148 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
6150 * check/gst-libs/controller.c: Update for controller api change.
6153 * tests/Makefile.am:
6154 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
6155 over by GLib bug 118439.
6157 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
6158 routines to a function.
6160 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
6162 * libs/gst/controller/gsthelper.c:
6163 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
6164 (gst_object_sync_values): Renamed from sink_values. Ugh.
6166 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
6168 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
6169 Renamed from controller_key, as it is exported.
6171 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
6173 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
6178 * gst/gstpadtemplate.h:
6181 * gst/gstqueryutils.c:
6182 * gst/gstqueryutils.h:
6183 remove queryutils headers after moving the two used functions
6184 to gstquery. also fixes build problem for gstsiddec
6186 2005-09-26 Michael Smith <msmith@fluendo.com>
6188 * tools/gst-launch.1.in:
6189 Correct documentation in manpage of debug syntax
6191 2005-09-26 Wim Taymans <wim@fluendo.com>
6193 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6194 (gst_base_src_is_seekable), (gst_base_src_change_state):
6195 Some more debugging info.
6197 2005-09-25 Stefan Kost <ensonic@users.sf.net>
6199 * docs/gst/gstreamer-sections.txt:
6200 * gst/base/gstbasetransform.h:
6204 2005-09-25 Stefan Kost <ensonic@users.sf.net>
6206 * docs/gst/.cvsignore:
6207 * docs/gst/tmpl/.cvsignore:
6208 * docs/gst/tmpl/gstpipeline.sgml:
6209 * docs/gst/tmpl/gstplugin.sgml:
6210 * gst/gstpipeline.c:
6213 inlined the last two docs files
6214 removed the tmpl directory from cvs (no more conflicts here!)
6216 2005-09-25 Stefan Kost <ensonic@users.sf.net>
6218 * docs/gst/gstreamer-sections.txt:
6219 * docs/gst/tmpl/.cvsignore:
6220 * docs/gst/tmpl/gstpad.sgml:
6221 * docs/gst/tmpl/gstpadtemplate.sgml:
6223 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
6224 (gst_pad_finalize), (gst_pad_set_pad_template):
6226 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
6227 (gst_pad_template_class_init), (gst_pad_template_init),
6228 (gst_pad_template_dispose), (name_is_valid),
6229 (gst_static_pad_template_get), (gst_pad_template_new),
6230 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
6231 (gst_pad_template_pad_created):
6232 * gst/gstpadtemplate.h:
6233 inlined two more docs
6234 factored gstpadtemplate out of gstpad
6236 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
6238 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
6239 (test_children_state_change_order_semi_sink):
6240 Fix test case: we can't rely on a fixed state change order when
6241 going from READY => PAUSED because the sink might commit its
6242 new state first when the first buffer created by the source
6243 reaches the sink before the source has finished its change state.
6244 (Test case still fails at times, see #316856, comment 5 onwards)
6246 2005-09-24 Wim Taymans <wim@fluendo.com>
6248 * docs/design/part-events.txt:
6249 * docs/design/part-gstbus.txt:
6250 * docs/design/part-gstpipeline.txt:
6251 * docs/design/part-messages.txt:
6252 * docs/design/part-overview.txt:
6253 * docs/design/part-segments.txt:
6260 * gst/gstiterator.c:
6261 Various documentation updates.
6263 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
6266 Well, that's embarassing. Luckily we weren't using
6267 GST_CLOCK_DIFF anywhere.
6269 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
6271 * common/gtk-doc.mak:
6272 don't fail on building XML, FC4 slave shows a bunch of doc
6273 missing bits that I don't get
6275 * gst/gstpipeline.c:
6276 * gst/gststructure.c:
6279 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
6281 * docs/design/part-gstbin.txt:
6282 * docs/design/part-gstbus.txt:
6284 Add blurb about how the bus goes into flushing mode and
6285 drops all messages when its bin goes from READY into NULL
6288 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
6290 * docs/gst/gstreamer-sections.txt:
6291 * gst/gststructure.c: (gst_structure_get_clock_time):
6292 * gst/gststructure.h:
6293 add a method to get a GstClockTime out of a structure
6295 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
6297 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
6298 (test_children_state_change_order_semi_sink), (gst_bin_suite):
6299 Added test to check state change order in bins (can still be made
6300 to fail here under heavy disk load; bails out with 'Push on pad
6301 fakesink:sink0, but it was not activated in push mode').
6303 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
6304 Fix state change order when there is only a semi sink (#316856)
6306 * gst/gstbus.c: (gst_bus_class_init):
6307 Use _class_peek_parent(), not _class_ref(); fix docs to say
6308 'default main context' instead of 'mainloop' where that is
6311 * gst/gstelement.c: (gst_element_commit_state),
6312 (gst_element_set_state):
6313 Fix typos in debug messages
6315 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
6318 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
6319 * gst/gstpluginfeature.c:
6322 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6323 change an assert into an error until it gets fixed properly
6325 2005-09-23 Stefan Kost <ensonic@users.sf.net>
6327 * docs/gst/gstreamer-sections.txt:
6328 * docs/gst/tmpl/.cvsignore:
6329 * docs/gst/tmpl/gstelement.sgml:
6330 * docs/gst/tmpl/gstinfo.sgml:
6331 * docs/gst/tmpl/gstobject.sgml:
6336 * gst/gstobject.c: (gst_object_class_init):
6338 inlined 3 more biiiig doc files and added some missing docs on the fly
6340 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
6342 * check/gst/.cvsignore:
6343 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
6344 * gst/gstregistryxml.c: (load_plugin),
6345 (gst_registry_xml_save_plugin):
6346 put back source in registry. add checks for find_plugin.
6347 * testsuite/states/bin.c: (assert_state), (empty_bin),
6348 (test_adding_one_element), (main):
6349 * testsuite/states/locked.c: (main):
6350 some compile/run fixes
6352 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6354 * check/gst/gstvalue.c: (GST_START_TEST):
6355 fix leaks in the test itself
6357 2005-09-22 Wim Taymans <wim@fluendo.com>
6359 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6360 (gst_base_sink_send_event), (gst_base_sink_peer_query),
6361 (gst_base_sink_query):
6362 Prepare for more accurate position reporting and query
6365 * gst/gstelement.c: (gst_element_send_event),
6366 (gst_element_set_state):
6369 2005-09-22 Wim Taymans <wim@fluendo.com>
6371 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
6372 (gst_query_parse_segment):
6375 Add segment query for future use.
6377 2005-09-22 Wim Taymans <wim@fluendo.com>
6379 * gst/gstbin.c: (gst_bin_add_func):
6380 Some more debug info.
6382 * gst/gstelement.c: (gst_element_send_event):
6386 Don't know how flags got broken.
6391 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
6393 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
6394 Add simplistic test suite for GST_TYPE_DATE serialisation and
6397 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
6399 * docs/gst/gstreamer-sections.txt:
6400 * gst/gststructure.c: (gst_structure_set_valist),
6401 (gst_structure_get_date):
6402 * gst/gststructure.h:
6403 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
6404 (gst_date_copy), (gst_value_compare_date),
6405 (gst_value_serialize_date), (gst_value_deserialize_date),
6406 (gst_value_transform_date_string),
6407 (gst_value_transform_string_date), (_gst_value_initialize):
6409 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
6410 bunch of utility functions along with a hack that checks that
6411 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
6412 is required. Part of the grand scheme in #170777.
6414 2005-09-22 Andy Wingo <wingo@pobox.com>
6416 * gst/gstconfig.h.in: Psych out gtk-doc.
6418 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
6420 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
6422 * tools/gst-inspect.c (print_element_list): Plug some
6423 inconsequential leaks.
6425 * gst/gstregistry.c (gst_registry_get_default): Doc.
6427 * check/gst/gstplugin.c:
6428 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
6429 * gst/gstelementfactory.c (gst_element_factory_create):
6430 * gst/gstindexfactory.c (gst_index_factory_create): Update for
6433 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
6434 (gst_plugin_feature_load): Doc, don't eat refs.
6436 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
6437 (gst_plugin_list_free): Doc.
6438 (gst_plugin_load_file): Doc updates.
6440 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
6441 accessors returning refcounted objects, return a ref.
6443 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
6444 accessor for caps. IDEMPOTENCE. Oh yes.
6446 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
6448 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6450 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6451 (_gst_debug_register_funcptr):
6452 Add mutex to serialise access to the hash table with
6453 the function pointer => function name string mapping;
6454 make that hash table static scope (#316809).
6456 * gst/registries/.cvsignore:
6457 Remove left-over file.
6459 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
6461 * docs/pwg/appendix-porting.xml:
6462 And something about newsegment events and caps-on-buffers to
6463 the porting guide (feel free to improve).
6465 2005-09-21 Andy Wingo <wingo@pobox.com>
6467 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
6468 data and event probes on the same pad.
6469 (test_buffer_probe_once): Test that removing probes from within
6470 the probe functions works.
6472 2005-09-21 Andy Wingo <wingo@pobox.com>
6474 * check/gst/gstutils.c: New file.
6475 (test_buffer_probe_n_times): A simple buffer probe test. More to
6478 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
6479 have-data::buffer, not have-data.
6480 (gst_pad_add_event_probe): Likewise for have-data::event.
6481 (gst_pad_add_data_probe): More docs. The part about 'resolving the
6482 peer' isn't quite right yet though.
6483 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
6484 (gst_pad_remove_data_probe): Change to take the guint handler_id
6485 as their arg, not the function+data, which is more glib-like.
6487 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
6488 the signal emission to indicate if the data is a buffer or an
6490 (gst_pad_get_type): Initialize buffer and event quarks.
6491 (gst_pad_class_init): have-data is now a detailed signal, yes it
6494 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
6496 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6497 * gst/gstutils.c: (gst_util_set_value_from_string),
6498 (gst_util_set_object_arg):
6499 Don't put functional code in g_return_if_fail() or
6500 g_return_val_if_fail() statements, otherwise things will
6501 break when G_DISABLE_CHECKS is defined during compilation.
6503 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6505 * docs/gst/tmpl/.cvsignore:
6506 * docs/gst/tmpl/gstvalue.sgml:
6509 inlied another one and added some obvious docs
6511 2005-09-21 Wim Taymans <wim@fluendo.com>
6513 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6514 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
6515 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
6516 (gst_fdsrc_get_property), (gst_fdsrc_create):
6517 * gst/elements/gstfdsrc.h:
6518 Properly implement fdsrc. Removed signal and timeout,
6519 better implemented somewhere else.
6521 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6523 * docs/gst/tmpl/.cvsignore:
6524 * docs/gst/tmpl/gstimplementsinterface.sgml:
6525 * gst/gstinterface.c:
6528 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6530 * docs/gst/gstreamer-sections.txt:
6531 * docs/gst/tmpl/.cvsignore:
6532 * docs/gst/tmpl/gstenumtypes.sgml:
6533 remove obsolete doc file
6535 2005-09-21 David Schleef <ds@schleef.org>
6537 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
6538 little beer, fix a little leak.
6540 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6542 * docs/gst/gstreamer-docs.sgml:
6543 * docs/gst/gstreamer-sections.txt:
6544 * docs/gst/tmpl/.cvsignore:
6549 * gst/gstindex.c: (gst_index_class_init):
6551 * gst/gstindexfactory.c: (gst_index_factory_get_type),
6552 (gst_index_factory_class_init), (gst_index_factory_init),
6553 (gst_index_factory_finalize), (gst_index_factory_new),
6554 (gst_index_factory_destroy), (gst_index_factory_find),
6555 (gst_index_factory_create), (gst_index_factory_make):
6556 * gst/gstindexfactory.h:
6557 * gst/gstpluginfeature.c:
6558 * gst/gstpluginfeature.h:
6559 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6560 more docs inlined, splitted gstindex.{c,h}
6562 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6564 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6567 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6569 * gst/elements/gstfilesink.c: (gst_file_sink_init):
6570 Set sync to FALSE by default.
6572 2005-09-20 Wim Taymans <wim@fluendo.com>
6574 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6575 (gst_base_sink_init):
6576 Make sync property settable from subclass.
6578 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6579 (gst_fake_sink_change_state):
6580 Set sync to FALSE by default.
6582 2005-09-20 Wim Taymans <wim@fluendo.com>
6584 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6585 * tools/gst-launch.c: (main):
6586 The timeout handler should have lower priority than the source
6587 so we don't timeout before popping a message with 0 timeout.
6588 Dump error messages after failed state change.
6590 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6592 * tools/gst-inspect.c: (print_element_properties_info):
6595 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6597 * check/gst/gstevent.c:
6598 * gst/elements/gstfakesink.c:
6599 * gst/elements/gstfakesink.h:
6600 remove the sync property from fakesink.
6601 has the side effect of setting sync TRUE
6602 for fakesink, which is a change. Anyone who knows how
6603 to fix this nicely in a GObject-y way, feel free.
6605 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6607 * docs/gst/gstreamer-docs.sgml:
6608 remove probe refsection
6610 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6612 * check/Makefile.am:
6613 disable valgrinding the controller test again
6614 * docs/gst/gstreamer-sections.txt:
6615 update for api-changes
6617 2005-09-20 Wim Taymans <wim@fluendo.com>
6619 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6620 (gst_base_sink_set_property), (gst_base_sink_get_property),
6621 (gst_base_sink_do_sync):
6622 * gst/base/gstbasesink.h:
6623 Added sync property to basesink to disable clock sync.
6625 2005-09-20 Andy Wingo <wingo@pobox.com>
6627 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6628 eating the caller's refcount.
6630 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
6631 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6634 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6635 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6636 of GLib 2.8 public, so we can know which refcount to check in
6639 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6640 (gst_object_init): Only set the gst refcount if we're going ahead
6641 with the refcount hack.
6643 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6645 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6646 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6647 more leaks plumbed, added more debug-logging
6651 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6654 remove include of gstmemchunk.h
6656 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6658 * gst/gstclock.c: (_gst_clock_id_free):
6659 Commit from the Political Party For More Atomic CVS Commits,
6660 so that people don't waste too much of their day fishing
6661 out obvious leaks out of massive commits.
6662 Oh, and fix a pretty damn obvious leak in the memchunk
6665 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6667 * check/Makefile.am:
6668 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6669 plug mem-leak, re-add to valgrindable tests
6671 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6674 unbreak the build for those who have chronic arthritis
6675 and typing "make check" is just too taxing on the hands
6677 2005-09-20 Andy Wingo <wingo@pobox.com>
6679 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6680 really want it out, you should fix plugins at the same time.
6682 2005-09-19 Stefan Kost <ensonic@users.sf.net>
6685 * docs/gst/gstreamer-sections.txt:
6687 added missing symbols to api docs
6688 disable ref-count hack if we have glib >= 2.8
6690 2005-09-19 David Schleef <ds@schleef.org>
6692 * docs/gst/Makefile.am: Ignore a few more internal headers
6693 * docs/gst/gstreamer-docs.sgml: Remove old sections
6694 * docs/gst/gstreamer-sections.txt: Remove old sections
6695 * docs/gst/tmpl/gstobject.sgml: update
6696 * docs/gst/tmpl/gstplugin.sgml: update
6697 * docs/gst/tmpl/gstpluginfeature.sgml: update
6698 * docs/random/ds/0.9-suggested-changes: update.
6699 * gst/Makefile.am: remove memchunk and trashstack, since they're
6701 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6702 * gst/gst.h: don't include some headers
6703 * gst/gstchildproxy.c: add gstmarshal.h
6704 * gst/gstclock.c: Don't use memchunks
6705 * gst/gstminiobject.c: Add some docs
6706 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6707 * gst/gstobject.h: same
6708 * gst/gstplugin.c: include gstmacros.h
6709 * gst/gstplugin.h: don't include gstmacros.h, since it's private
6710 * gst/gstquery.c: don't use memchunks
6711 * gst/gstregistry.c: rename gst_registry_deinit()
6712 * gst/gstregistry.h: same
6714 2005-09-19 David Schleef <ds@schleef.org>
6716 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6717 * docs/libs/gstreamer-libs-sections.txt:
6718 * docs/libs/tmpl/gstgetbits.sgml:
6719 * docs/libs/tmpl/gstputbits.sgml:
6721 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
6723 * win32/gstenumtypes.c:
6724 * win32/gstenumtypes.h:
6727 2005-09-19 Wim Taymans <wim@fluendo.com>
6729 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6730 Automatically PAUSE and RESUME a pipeline when a flushing seek
6733 2005-09-19 Andy Wingo <wingo@pobox.com>
6735 * gst/gstregistry.h: Spacing fixen.
6737 2005-09-19 Wim Taymans <wim@fluendo.com>
6739 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6740 Handle state change failure more correctly.
6742 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6744 * check/Makefile.am:
6745 * check/pipelines/cleanup.c: (run_pipeline):
6746 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6748 enable cleanup again after fixing the leak
6750 some more info on docs
6752 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6754 * check/Makefile.am:
6755 re-enable tests now that leaks are plugged
6757 * check/gst/gstbin.c:
6758 * check/gst/gstpipeline.c:
6759 add some more tests while fixing leaks
6761 make sure binaries are uptodate when valgrinding/gdbing
6763 * gst/gstelementfactory.c:
6764 remove a ref too many, and add a FIXME for when we get
6765 round to disposing of classes
6767 fix the refcounting when loading a plugin from a file and
6768 the code pretends that the pointer is the same even though
6769 of course it can change
6770 * gst/gstpluginfeature.c:
6771 unref plugins marked cached (a bit confusing as a name)
6772 as the docs state should be done
6773 various doc additions to explain refcounting
6774 * gst/gstregistry.c:
6775 * gst/gstregistryxml.c:
6778 2005-09-19 Wim Taymans <wim@fluendo.com>
6780 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6781 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6782 (send_messages), (GST_START_TEST), (gstbus_suite):
6783 * check/gst/gstpipeline.c: (GST_START_TEST):
6784 * check/pipelines/cleanup.c: (run_pipeline):
6785 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6787 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6788 (gst_bus_source_check), (gst_bus_source_dispatch),
6789 (gst_bus_create_watch), (gst_bus_add_watch_full),
6790 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6792 * tools/gst-launch.c: (event_loop):
6793 * tools/gst-md5sum.c: (event_loop):
6794 GstBusHandler -> GstBusFunc, return value has the same meaning as
6795 any other GSource (FALSE == remove source).
6796 _add_watch() and _add_watch_full() now take a MessageType mask to
6797 only handle specific types of messages.
6798 _poll() returns the GstMessage instead of the message type to avoid
6800 _have_pending() takes a MessageType mask now too.
6801 Added testsuite for multiple bus watches.
6802 Fix testsuites and applications for new bus API.
6804 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6806 * check/Makefile.am:
6807 mark a bunch of the tests as to fix until we fix them
6809 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6812 use GST_PLUGIN settings for valgrind tests as well, so we're
6813 valgrinding the correct thing
6814 * gst/gst.c: (init_post):
6817 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6819 * gst/gst.c: (init_post), (gst_deinit):
6820 * gst/gstelementfactory.c: (gst_element_factory_class_init),
6821 (gst_element_factory_finalize), (gst_element_factory_cleanup):
6822 * gst/gstindex.c: (gst_index_factory_class_init),
6823 (gst_index_factory_finalize):
6824 * gst/gstobject.c: (gst_object_dispose):
6825 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6826 (gst_plugin_load_file), (gst_plugin_desc_free):
6827 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6828 (gst_plugin_feature_finalize):
6829 * gst/gstregistry.c: (gst_registry_class_init),
6830 (gst_registry_init), (gst_registry_finalize),
6831 (gst_registry_get_default), (gst_registry_deinit):
6832 * gst/gstregistry.h:
6833 * gst/gstregistryxml.c: (load_feature), (load_plugin):
6834 various cleanups and memleak plugging. make valgrind is happy now.
6836 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6839 add a check-valgrind target
6841 2005-09-18 David Schleef <ds@schleef.org>
6843 * tools/gst-inspect.c: Revert the GOption code.
6845 2005-09-17 David Schleef <ds@schleef.org>
6847 * check/Makefile.am: Fix environment variables.
6848 * check/gst/gstplugin.c: Fix for API changes.
6849 * tools/gst-inspect.c: Fix for API changes.
6850 * tools/gst-xmlinspect.c: Fix for API changes.
6851 * gst/gstelementfactory.c:
6854 * gst/gstpluginfeature.c:
6855 * gst/gstpluginfeature.h:
6856 * gst/gstregistry.c:
6857 * gst/gstregistry.h:
6858 * gst/gstregistryxml.c:
6859 * gst/gsttypefind.c:
6860 * gst/gsttypefindfactory.c:
6861 * gst/indexers/gstfileindex.c:
6862 * gst/indexers/gstmemindex.c:
6863 * gst/schedulers/Makefile.am:
6864 Change registry to keep track of both plugins and features,
6865 removing the feature tracking from plugins themselves.
6867 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6869 * check/Makefile.am:
6870 * tools/gst-register.1.in:
6873 2005-09-15 David Schleef <ds@schleef.org>
6875 * check/gst/gstplugin.c:
6876 * gst/gstelementfactory.c:
6878 * gst/gstpluginfeature.c:
6879 * gst/gstregistry.c:
6880 Getting tired of debugging. Disabled all the unreffing of
6881 plugins and features, which fixes the segfaults, but of
6882 course leaks like crazy. At least playbin works.
6884 2005-09-15 David Schleef <ds@schleef.org>
6886 * check/gst/gstplugin.c: (register_check_elements),
6887 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6889 * gst/elements/gsttypefindelement.c: Fix refcounting.
6890 * gst/gsttypefind.c:
6891 * gst/gsttypefindfactory.c:
6892 * gst/gsttypefindfactory.h:
6894 2005-09-15 David Schleef <ds@schleef.org>
6896 * gst/gstindex.c: get refcounting correct.
6897 * gst/gstregistry.c: Handle the case where a feature/plugin is
6900 2005-09-15 David Schleef <ds@schleef.org>
6902 * check/Makefile.am:
6903 * check/gst/gstplugin.c: Add test
6904 * gst/gstplugin.c: Fix problems noticed by testsuite
6906 * gst/gstregistry.c:
6907 * gst/gstregistry.h:
6909 2005-09-15 David Schleef <ds@schleef.org>
6911 * gst/gstplugin.c: Implement semi-decent recounting and locking
6912 in plugins and plugin features.
6914 * gst/gstpluginfeature.c:
6915 * gst/gstpluginfeature.h:
6916 * gst/gstregistry.c:
6918 2005-09-15 Michael Smith <msmith@fluendo.com>
6920 * gst/gstregistry.c: (gst_registry_get_feature_list):
6921 Implement this. Makes oggdemux work; decodebin still broken.
6923 2005-09-14 David Schleef <ds@schleef.org>
6925 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
6927 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
6928 * gst/check/Makefile.am:
6929 * libs/gst/controller/Makefile.am:
6930 * libs/gst/dataprotocol/Makefile.am:
6932 2005-09-14 David Schleef <ds@schleef.org>
6934 * configure.ac: Remove getbits library. Nothing uses it, and
6935 it should be in something like liboil if someone did want
6937 * libs/gst/Makefile.am:
6938 * libs/gst/getbits/Makefile.am:
6939 * libs/gst/getbits/gbtest.c:
6940 * libs/gst/getbits/getbits.c:
6941 * libs/gst/getbits/getbits.h:
6942 * libs/gst/getbits/gstgetbits_generic.c:
6943 * libs/gst/getbits/gstgetbits_i386.s:
6944 * libs/gst/getbits/gstgetbits_inl.h:
6946 2005-09-14 David Schleef <ds@schleef.org>
6948 * gst/Makefile.am: Dist glib-compat.h
6950 2005-09-14 David Schleef <ds@schleef.org>
6952 * configure.ac: Remove gst/registries, since it's no longer used.
6953 * gst/registries/Makefile.am:
6954 * gst/registries/gstlibxmlregistry.c:
6955 * gst/registries/gstlibxmlregistry.h:
6956 * gst/registries/gstxmlregistry.c:
6957 * gst/registries/gstxmlregistry.h:
6958 * gst/registries/registrytest.c:
6960 2005-09-14 David Schleef <ds@schleef.org>
6962 * gst/glib-compat.h:
6963 * gst/gstregistryxml.c:
6964 Convergence is near. Seriously.
6966 2005-09-14 David Schleef <ds@schleef.org>
6968 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6969 * gst/glib-compat.h:
6970 Attempt #4 to appease the buildbots.
6972 2005-09-14 David Schleef <ds@schleef.org>
6974 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6977 2005-09-14 David Schleef <ds@schleef.org>
6979 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6982 2005-09-14 David Schleef <ds@schleef.org>
6984 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
6987 2005-09-14 David Schleef <ds@schleef.org>
6989 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
6990 * gst/glib-compat.h: Add some functions that are in newer versions
6991 of glib than we care to require.
6992 * gst/gstregistryxml.c: Use them.
6994 2005-09-14 David Schleef <ds@schleef.org>
6996 * po/POTFILES.in: remove gst-register.c
6998 2005-09-14 David Schleef <ds@schleef.org>
7000 * docs/gst/gstreamer-docs.sgml:
7001 * docs/gst/gstreamer-sections.txt:
7002 * docs/gst/gstreamer.types:
7003 * docs/gst/tmpl/gstelement.sgml:
7004 * docs/gst/tmpl/gstplugin.sgml:
7005 * docs/gst/tmpl/gstpluginfeature.sgml:
7006 Documentation updates for registry changes.
7008 2005-09-14 David Schleef <ds@schleef.org>
7010 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
7011 because we don't require glib-2.8.
7013 2005-09-14 David Schleef <ds@schleef.org>
7015 * gst/gstregistryxml.c: Added. Essentially moved out of the
7016 registries directory.
7018 2005-09-14 David Schleef <ds@schleef.org>
7020 * check/Makefile.am:
7021 * check/generic/states.c:
7025 * gst/gst_private.h:
7026 * gst/gstelementfactory.c:
7031 * gst/gstpluginfeature.c:
7032 * gst/gstpluginfeature.h:
7033 * gst/gstregistry.c:
7034 * gst/gstregistry.h:
7035 * gst/gstregistrypool.c: remove
7036 * gst/gstregistrypool.h: remove
7037 * gst/gsttypefind.c:
7038 * gst/gsttypefindfactory.c:
7040 * tools/Makefile.am:
7041 * tools/gst-compprep.c:
7042 * tools/gst-inspect.c:
7043 * tools/gst-register.c: remove
7044 * tools/gst-xmlinspect.c:
7045 Registry rewrite. Changes registry from being a file created
7046 by a tool into a simple cache file created automatically by
7047 libgstreamer. Removed gst-register (because it's no longer
7048 needed). Remove registry pools, because we only have one
7049 registry implementation (XML). Fix up other subsystems as
7052 2005-09-13 Michael Smith <msmith@fluendo.com>
7054 * gst/gstconfig.h.in:
7055 Don't Use windows linking attributes for MinGW. Fixes #316157
7057 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
7059 * gst/gstutils.c: (set_state_async_thread_func),
7060 (gst_element_set_state_async):
7061 Apparently people think it's better if this function doesn't
7062 try to set the state to whatever state was asked for on the first
7063 call to this function for any object. Seriously.
7065 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
7067 * check/gst/gstpipeline.c: (GST_START_TEST):
7068 * docs/gst/gstreamer-sections.txt:
7069 * gst/gstutils.c: (set_state_async_thread_func),
7070 (gst_element_set_state_async):
7072 add a "gst_element_set_state_async" method that
7073 sets the state and starts a thread to make sure the state
7074 change completes as best as it can
7076 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
7078 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
7079 codify design+behaviour in testsuite after discussion
7081 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
7083 * docs/gst/tmpl/gstelement.sgml:
7084 * docs/manual/appendix-quotes.xml:
7086 * gst/gstelement.c: (gst_element_set_state):
7089 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
7091 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7092 (gst_base_transform_prepare_output_buf),
7093 (gst_base_transform_handle_buffer):
7094 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
7095 (gst_capsfilter_prepare_buf):
7096 Remove the requirement for sub-classes to call the parent
7097 implementation of prepare_output_buffer with a wrapper function.
7100 * gst/gsttagsetter.h:
7103 2005-09-11 Stefan Kost <ensonic@users.sf.net>
7105 * docs/gst/gstreamer-sections.txt:
7108 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
7110 * docs/gst/gstreamer-sections.txt:
7111 * docs/gst/tmpl/gstelement.sgml:
7112 * docs/gst/tmpl/gstplugin.sgml:
7113 * gst/gstminiobject.c:
7115 docs now stop throwing warnings
7117 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
7119 * docs/gst/gstreamer-sections.txt:
7120 * docs/gst/gstreamer.types:
7121 * docs/gst/tmpl/gstpad.sgml:
7122 * docs/gst/tmpl/gsttypes.sgml:
7123 * gst/base/gstadapter.h:
7124 * gst/base/gstbasesink.h:
7125 * gst/base/gstbasesrc.h:
7135 * gst/gststructure.c:
7136 * gst/registries/gstlibxmlregistry.h:
7137 various documentation fixes
7139 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
7141 * docs/gst/gstreamer-sections.txt:
7142 * docs/gst/tmpl/gstvalue.sgml:
7143 rearrange gstvalue section
7144 * gst/gstutils.c: (gst_element_state_get_name):
7146 * gst/gstvalue.c: (_gst_value_initialize):
7150 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
7152 * check/gst-libs/controller.c:
7154 * gst/base/gstbasetransform.c:
7155 (gst_base_transform_default_prepare_buf),
7156 (gst_base_transform_handle_buffer):
7157 * gst/base/gstbasetransform.h:
7158 Some more basetransform changes and fixes to enable sub-classes
7159 that modify buffer metadata only.
7160 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7161 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
7162 (gst_capsfilter_prepare_buf):
7163 If the output pad has fixed allowed caps and input buffers
7164 don't have any, set the fixed caps on outgoing buffers.
7166 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
7167 * check/elements/identity.c: (GST_START_TEST):
7168 Make the error a little clearer when the test fails because
7169 identity made a copy of the buffer.
7170 * docs/gst/gstreamer-sections.txt:
7171 New symbols in gstbasetransform.h
7172 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7173 (gst_base_transform_init), (gst_base_transform_transform_size),
7174 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7175 (gst_base_transform_default_prepare_buf),
7176 (gst_base_transform_get_unit_size),
7177 (gst_base_transform_buffer_alloc),
7178 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7179 (gst_base_transform_change_state),
7180 (gst_base_transform_set_passthrough),
7181 (gst_base_transform_set_in_place),
7182 (gst_base_transform_is_in_place):
7183 * gst/base/gstbasetransform.h:
7184 Change BaseTransform to separate in_place operate from same_caps
7185 output. in_place implies that the element can perform the transform
7186 on incoming buffers in-place, even if the caps on the output are
7188 Sub-class elements can now implement special buffer allocation
7189 methods for outgoing buffers if they wish to.
7190 Big documentation addition.
7191 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
7192 * gst/elements/gstelements.c:
7193 Changes for basetransform modifications.
7194 * gst/elements/Makefile.am:
7195 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
7196 Compile fix. Extra debug output.
7198 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
7200 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
7202 add tests for valid pad naming
7203 * gst/check/gstcheck.c: (gst_check_log_message_func),
7204 (gst_check_log_critical_func):
7206 remove printing of code, it is fragile when the code contains
7207 % and the line number is enough info
7208 * gst/check/gstcheck.h:
7209 * gst/gstpad.c: (gst_pad_template_new):
7212 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
7215 say what CHECK flags we use
7216 * docs/libs/gstreamer-libs.types:
7217 * libs/gst/controller/Makefile.am:
7218 * libs/gst/controller/gst-controller.c:
7219 * libs/gst/controller/gst-controller.h:
7220 * libs/gst/controller/gst-helper.c:
7221 * libs/gst/controller/gst-interpolation.c:
7222 * libs/gst/controller/gstcontroller.c:
7223 * libs/gst/controller/gsthelper.c:
7224 * libs/gst/controller/gstinterpolation.c:
7225 * tools/gst-inspect.c: (print_plugin_info):
7226 we don't use dashes in header names
7228 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
7230 * check/Makefile.am:
7231 * check/gst/.cvsignore:
7232 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
7233 (gst_pipeline_suite), (main):
7234 adding a test for pipelines and state changes
7235 * gst/gstutils.c: (get_state_func):
7237 * gstreamer.spec.in:
7240 2005-09-08 Michael Smith <msmith@fluendo.com>
7242 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
7243 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
7244 (gst_file_src_is_seekable), (gst_file_src_get_size),
7245 (gst_file_src_start):
7246 * gst/elements/gstfilesrc.h:
7247 Various fixes for unseekable, unmmapable, and non-normal files, so
7248 that fallback to read() rather than mmap() works.
7249 * gst/gstevent.c: (gst_event_new_newsegment):
7250 Allow newsegment events with segment_start == segment_end, as will
7251 correctly happen if you use filesrc on a zero-size file, for
7254 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
7256 * gst/gstplugin.c: (gst_plugin_load_file):
7257 Call g_module_close when we don't load the module
7259 * gst/registries/gstlibxmlregistry.c:
7260 (gst_xml_registry_get_property):
7261 Port leak fix from 0.8
7263 2005-09-07 Stefan Kost <ensonic@users.sf.net>
7265 * docs/gst/gstreamer-docs.sgml:
7266 * docs/gst/tmpl/.cvsignore:
7267 * docs/gst/tmpl/gsttrace.sgml:
7268 * docs/gst/tmpl/gsttrashstack.sgml:
7277 * gst/gsttaginterface.c:
7278 * gst/gsttaginterface.h:
7281 * gst/gsttagsetter.c:
7282 * gst/gsttagsetter.h:
7285 * gst/gsttrashstack.c:
7286 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
7287 inlined docs for gsttrace, gsttrashstack
7289 2005-09-07 Stefan Kost <ensonic@users.sf.net>
7292 * gst/elements/gstbufferstore.h:
7293 * gst/elements/gsttypefindelement.c:
7294 * gst/elements/gsttypefindelement.h:
7296 * gst/gsttypefind.c:
7297 * gst/gsttypefind.h:
7298 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
7299 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
7300 (gst_type_find_factory_dispose),
7301 (gst_type_find_factory_unload_thyself),
7302 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
7303 (gst_type_find_factory_get_caps),
7304 (gst_type_find_factory_get_extensions),
7305 (gst_type_find_factory_call_function):
7306 * gst/gsttypefindfactory.h:
7307 * gst/registries/gstlibxmlregistry.c:
7308 * gst/registries/gstxmlregistry.c:
7309 splitted gsttypefind into gsttypefind, gsttypefindfactory
7311 2005-09-07 Andy Wingo <wingo@pobox.com>
7313 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
7314 condition whereby the pad's task function is entered before the
7315 pad_mode variable was set.
7317 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
7319 * gst/gstpad.c: (gst_pad_alloc_buffer):
7320 Catch misbehaving pad_alloc functions that don't
7321 set up caps and do it for them.
7323 2005-09-07 Stefan Kost <ensonic@users.sf.net>
7325 * check/pipelines/simple_launch_lines.c: (run_pipeline):
7327 * docs/gst/tmpl/.cvsignore:
7328 * docs/gst/tmpl/gstmemchunk.sgml:
7329 * docs/gst/tmpl/gstparse.sgml:
7330 * docs/gst/tmpl/gsttaglist.sgml:
7331 * docs/gst/tmpl/gsttagsetter.sgml:
7332 * docs/gst/tmpl/gsttypefind.sgml:
7333 * docs/gst/tmpl/gsttypefindfactory.sgml:
7334 * gst/gstmemchunk.c:
7337 * gst/gsttaginterface.c:
7338 * gst/gsttypefind.c:
7339 * gst/gsttypefind.h:
7342 === release 0.9.2 ===
7344 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
7349 releasing 0.9.2, "South"
7351 2005-09-05 Andy Wingo <wingo@pobox.com>
7353 * gst/registries/gstxmlregistry.h:
7354 * gst/registries/gstxmlregistry.c: Um... resurrect...
7356 * gst/registries/gstxmlregistry.h:
7357 * gst/registries/gstxmlregistry.c: and update to newer API.
7358 Incidentally they should be a bit faster now that they don't have
7361 2005-09-05 Andy Wingo <wingo@pobox.com>
7363 * gst/registries/gstxmlregistry.h:
7364 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
7365 replaced by the libxml registry a while back
7367 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
7369 * docs/gst/tmpl/gstplugin.sgml:
7370 * gst/elements/gstelements.c:
7372 * gst/gstplugin.c: (gst_plugin_register_func),
7373 (gst_plugin_desc_copy), (gst_plugin_desc_free),
7374 (gst_plugin_get_source):
7376 * gst/registries/gstlibxmlregistry.c: (load_plugin),
7377 (gst_xml_registry_save_plugin):
7378 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
7379 (gst_xml_registry_save_plugin):
7380 * tools/gst-inspect.c: (print_plugin_info):
7381 add a "source" plugin description field, to represent the source
7382 module this plugin is a part of. By default GST_PLUGIN_DEFINE
7383 will set it to PACKAGE, which is automake's idea of the name of
7386 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
7392 * docs/faq/Makefile.am:
7393 * docs/gst/tmpl/gstelement.sgml:
7394 * docs/gst/tmpl/gsttypes.sgml:
7395 * docs/htmlinstall.mak:
7396 * docs/manual/Makefile.am:
7397 * docs/pwg/Makefile.am:
7398 reorganize doc build a little
7399 split out docbook and gtk-doc stuff
7400 have two separate --enable's and enable them through autogen
7401 but disable by default in configure (to be similar to other
7403 * gstreamer.spec.in:
7404 clean up docs install
7424 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
7426 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
7429 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
7430 (gst_fake_sink_change_state):
7431 Make state change function thread-safe.
7433 * gst/gstpad.c: (gst_pad_alloc_buffer):
7434 Set offset on generic buffer allocated by fallback.
7436 2005-09-03 Stefan Kost <ensonic@users.sf.net>
7438 * docs/gst/gstreamer-sections.txt:
7439 * docs/gst/tmpl/gstelement.sgml:
7441 * libs/gst/controller/gst-controller.c:
7442 (gst_controlled_property_set_interpolation_mode),
7443 (gst_controlled_property_new),
7444 (gst_controller_find_controlled_property):
7445 run the wingo-magic script against the docs
7447 2005-09-02 Stefan Kost <ensonic@users.sf.net>
7449 * docs/gst/gstreamer-docs.sgml:
7450 * docs/gst/gstreamer-sections.txt:
7451 * docs/gst/tmpl/.cvsignore:
7452 * docs/gst/tmpl/gstelementdetails.sgml:
7453 * docs/gst/tmpl/gstelementfactory.sgml:
7456 * gst/gstelementfactory.c:
7457 * gst/gstelementfactory.h:
7458 merged elementdetails docs into elementfactory docs
7461 2005-09-02 Andy Wingo <wingo@pobox.com>
7463 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
7464 consider this enum an enum and not a flags.
7466 2005-09-02 Stefan Kost <ensonic@users.sf.net>
7468 * docs/gst/gstreamer-docs.sgml:
7469 * docs/gst/tmpl/.cvsignore:
7470 * docs/gst/tmpl/gstghostpad.sgml:
7471 * docs/gst/tmpl/gstiterator.sgml:
7472 * docs/gst/tmpl/gstmacros.sgml:
7473 * docs/gst/tmpl/gstrealpad.sgml:
7474 * docs/gst/tmpl/gstregistry.sgml:
7475 * docs/gst/tmpl/gstregistrypool.sgml:
7476 * docs/gst/tmpl/gststructure.sgml:
7477 * docs/gst/tmpl/gstsystemclock.sgml:
7478 * docs/gst/tmpl/gsttrace.sgml:
7479 * gst/gstghostpad.c:
7481 * gst/gstmemchunk.c:
7482 * gst/gstmemchunk.h:
7484 * gst/gstregistry.c:
7485 * gst/gstregistrypool.c:
7486 * gst/gststructure.c:
7487 * gst/gstsystemclock.c:
7490 2005-09-02 Andy Wingo <wingo@pobox.com>
7492 * gst/gstelement.h (GstState): Renamed from GstElementState,
7493 changed to be a normal enum instead of flags.
7494 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
7495 munged to be GST_STATE_CHANGE_*.
7496 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
7497 work with the new state representation.
7498 (GstStateChange): New enumeration of possible state transitions.
7499 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
7500 (GstElementClass::change_state): Pass the GstStateChange along as
7501 an argument. Helps language bindings, so they don't have to use
7502 tricky lock-needing macros like GST_STATE_CHANGE ().
7504 * scripts/update-states (file): New script. Run it on a file to
7505 update it for state naming and API changes. Updates files in
7508 * All files updated for the new API.
7510 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
7512 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
7513 * gst/gstutils.c: (gst_util_set_value_from_string),
7514 (gst_util_set_object_arg):
7515 fix a bunch of unchecked return values
7516 * tools/gst-complete.c: (main):
7517 * gstreamer.spec.in:
7520 2005-09-01 Wim Taymans <wim@fluendo.com>
7522 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7523 (gst_base_sink_event), (gst_base_sink_do_sync),
7524 (gst_base_sink_handle_event):
7525 * gst/base/gstbasesink.h:
7526 Handle newsegments more correctly.
7531 * gst/gstevent.c: (gst_event_new_newsegment):
7532 A newsegment cannot have a start_time of -1
7534 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
7536 * win32/gstenumtypes.c:
7537 * win32/gstenumtypes.h:
7540 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7542 * libs/gst/controller/gst-controller.c:
7543 (gst_controlled_property_set_interpolation_mode),
7544 (gst_controlled_property_new):
7547 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
7549 * docs/faq/gst-uninstalled:
7554 * gst/gstutils.c: (gst_element_link_filtered):
7556 add gst_element_link_filtered
7558 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7560 * docs/gst/gstreamer-docs.sgml:
7561 * docs/gst/gstreamer-sections.txt:
7562 * docs/gst/tmpl/.cvsignore:
7563 * docs/gst/tmpl/gsterror.sgml:
7564 * docs/gst/tmpl/gstfilter.sgml:
7565 * docs/gst/tmpl/gsturihandler.sgml:
7566 * docs/gst/tmpl/gsturitype.sgml:
7567 * docs/gst/tmpl/gstutils.sgml:
7568 * docs/gst/tmpl/gstxml.sgml:
7576 inlined more docs, fixed double id-ref
7578 2005-08-31 Wim Taymans <wim@fluendo.com>
7580 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7581 (gst_base_transform_handle_buffer):
7582 Passthrough elements don't need the caps as they don't care.
7584 2005-08-31 Wim Taymans <wim@fluendo.com>
7586 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7587 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7588 Don't leak refcounts on buffers.
7590 2005-08-31 Wim Taymans <wim@fluendo.com>
7592 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7593 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7594 (gst_base_transform_chain), (gst_base_transform_change_state):
7595 * gst/base/gstbasetransform.h:
7596 Handle the case where we are not negotiated more gracefully.
7598 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
7600 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7601 (gst_file_src_map_region):
7602 Set READONLY flag on mmap'ed buffers, otherwise
7603 gst_buffer_make_writable() won't work properly (#314708).
7605 2005-08-31 Wim Taymans <wim@fluendo.com>
7607 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7608 passthrough elements can even do inplace on non writable
7609 buffers (as they don't touch them).
7611 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7613 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7614 (gst_test_mono_source_set_property),
7615 (gst_test_mono_source_class_init), (GST_START_TEST),
7616 (gst_controller_suite):
7617 more tests (hehe I have the most)
7619 describe popping messages whenusing mulltiple sources
7620 * libs/gst/controller/gst-controller.c:
7621 (gst_controlled_property_set_interpolation_mode),
7622 (gst_controlled_property_new):
7623 * libs/gst/controller/gst-controller.h:
7624 * libs/gst/controller/gst-interpolation.c:
7625 implement boolean properties
7627 2005-08-31 Wim Taymans <wim@fluendo.com>
7629 * gst/gstminiobject.c: (gst_mini_object_ref):
7630 Cannot assert that the refcount has to be positive
7631 since a disposed object can be resurrected.
7633 2005-08-31 Wim Taymans <wim@fluendo.com>
7635 * gst/gstpad.c: (gst_pad_init):
7636 Revert change, need to first fix badly behaving
7639 2005-08-30 Wim Taymans <wim@fluendo.com>
7641 * check/elements/fakesrc.c: (setup_fakesrc):
7642 * check/elements/identity.c: (setup_identity):
7643 Activate pads before using them.
7645 2005-08-30 Wim Taymans <wim@fluendo.com>
7647 * gst/base/gstadapter.c: (gst_adapter_flush):
7648 Flushing out 0 bytes is ok for this function.
7650 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7651 no newsegment gives a warning and sets the start/stop to
7654 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7655 (gst_base_transform_set_passthrough):
7658 * gst/gstminiobject.c: (gst_mini_object_ref):
7659 Check refcount here too.
7661 * gst/gstpad.c: (gst_pad_init):
7662 Pads are initially flushing and refusing data.
7664 * gst/gstutils.c: (gst_element_link_pads_filtered):
7665 When adding a capsfilter element make sure it has the
7666 same state as the parent bin.
7668 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7670 * docs/gst/tmpl/.cvsignore:
7671 * docs/gst/tmpl/gstformat.sgml:
7672 * docs/gst/tmpl/gstversion.sgml:
7676 * gst/gstversion.h.in:
7677 more docs and two more inlined
7679 2005-08-30 Wim Taymans <wim@fluendo.com>
7681 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7682 Don't sync to clock.
7684 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7686 * docs/gst/gstreamer-sections.txt:
7687 ultral33t func10ns deserve to appear in the docs actually
7688 * docs/gst/tmpl/.cvsignore:
7689 * docs/gst/tmpl/gstcompat.sgml:
7690 * docs/gst/tmpl/gstconfig.sgml:
7691 * gst/check/gstcheck.c:
7693 * gst/gstconfig.h.in:
7696 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7698 * docs/gst/tmpl/.cvsignore:
7699 * docs/gst/tmpl/gstquery.sgml:
7700 * docs/gst/tmpl/gstutils.sgml:
7703 inlined and extended docs
7705 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7707 * check/gst-libs/controller.c: (GST_START_TEST),
7708 (gst_controller_suite):
7710 * docs/gst/tmpl/gstutils.sgml:
7711 * docs/libs/gstreamer-libs-sections.txt:
7712 * docs/libs/tmpl/gstdataprotocol.sgml:
7714 * examples/controller/audio-example.c: (main):
7715 controller example works now
7718 * tools/gst-inspect.c: (print_element_properties_info):
7719 show param spec flags
7721 2005-08-29 Andy Wingo <wingo@pobox.com>
7723 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7725 2005-08-28 Andy Wingo <wingo@pobox.com>
7727 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7728 as having two arguments instead of just one. Allows superclasses
7729 to access information on subclasses -- see the terrible for() loop
7730 in gtype.c:g_type_create_instance for the reason why. All callers
7733 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7735 * docs/design/part-messages.txt:
7737 * docs/gst/tmpl/.cvsignore:
7738 * docs/gst/tmpl/gstcaps.sgml:
7739 * docs/gst/tmpl/gstclock.sgml:
7746 added descriptions for bus and message
7747 inline caps and clock docs
7749 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7755 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7757 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7760 2005-08-26 Andy Wingo <wingo@pobox.com>
7762 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7763 element_set_state's return val.
7764 (test_2_elements): Add test that's been disabled for months.
7766 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7767 can-activate-pull properties.
7769 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7770 can-activate-pull properties. Implement is_seekable so fakesrc can
7771 operate in pull mode.
7773 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7775 (gst_base_sink_activate, gst_base_sink_activate_pull)
7776 (gst_base_sink_activate_push): Make activation mode choosing work.
7778 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7779 is right. Make pull mode work. Post an eos before pausing in pull
7781 (gst_base_sink_change_state): Pay attention to the core's
7782 change_state() return val.
7784 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7785 has-getrange properties. Cleanups.
7787 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7788 has_getrange and replace with can_activate_pull and
7791 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7792 locking comments. Remove has_loop, has_chain and replace with
7793 can_activate_pull and can_activate_push.
7795 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
7798 * examples/Makefile.am:
7799 * examples/metadata/Makefile.am:
7800 * examples/metadata/read-metadata.c: (message_loop),
7801 (have_pad_handler), (make_pipeline), (print_tag), (main):
7802 Add metadata reading example that loops over a list of filenames,
7803 dumping any tags found.
7805 * gst/gstbus.c: (gst_bus_dispose):
7806 * gst/gstelement.c: (gst_element_dispose):
7807 Release a few potentially-held references in dispose.
7809 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7811 * docs/gst/tmpl/gstminiobject.sgml:
7812 do *not* add tmpl/*.sgml files to CVS!
7814 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7816 * libs/gst/bytestream/.cvsignore:
7817 * libs/gst/bytestream/Makefile.am:
7818 * libs/gst/bytestream/adapter.c:
7819 * libs/gst/bytestream/adapter.h:
7820 * libs/gst/bytestream/bytestream.c:
7821 * libs/gst/bytestream/bytestream.h:
7822 * libs/gst/bytestream/filepad.c:
7823 * libs/gst/bytestream/filepad.h:
7824 removing obsolete files
7826 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7828 * docs/gst/gstreamer-docs.sgml:
7829 * docs/libs/gstreamer-libs-docs.sgml:
7830 disabed additional index entries again, as this makes docs-gen just
7831 slow and they aren't useful yet
7832 * docs/libs/gstreamer-libs-sections.txt:
7833 little -section.txt cleanup for libs
7835 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
7837 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7838 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7839 fix up some debugging
7840 (gst_base_transform_get_unit_size),
7841 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7842 (gst_base_transform_handle_buffer):
7843 * gst/base/gstbasetransform.h:
7844 handle and store timed NEWSEGMENT events so that subclasses that
7845 calculate time by counting samples have a segment_start time they
7846 need to add to their timestamps - see audioresample
7848 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7851 removed ';' from the end of macro defs
7852 * docs/gst/gstreamer-docs.sgml:
7853 * docs/gst/gstreamer-sections.txt:
7854 * docs/gst/tmpl/.cvsignore:
7856 * gst/gstelement.c: (gst_element_class_init),
7857 (gst_element_set_state), (activate_pads),
7858 (gst_element_save_thyself):
7859 * gst/gstevent.c: (gst_event_new_newsegment):
7861 * gst/gstiterator.c:
7862 * gst/gstiterator.h:
7865 * gst/gstutils.c: (gst_pad_query_convert):
7867 fixed parameter name mismatches between source, header and docs
7868 added some more docs, resolved the last batch of unused elements in
7869 docs (now someone needs to doc them)
7871 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7873 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7874 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7875 don't walk through the plugins backwards. Where is all this
7876 reversed logic coming from ?
7878 2005-08-25 Wim Taymans <wim@fluendo.com>
7880 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7881 (gst_base_transform_transform_size),
7882 (gst_base_transform_configure_caps),
7883 (gst_base_transform_get_unit_size),
7884 (gst_base_transform_buffer_alloc),
7885 (gst_base_transform_change_state):
7886 * gst/base/gstbasetransform.h:
7887 Cache caps unit_size.
7888 Make sure we cannot negotiate up and downstream at the
7891 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7893 * gst/gst.c: (init_pre), (init_post):
7894 register the installed plugin path after the env var
7895 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7896 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7897 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7898 directories, so the tests can prefer uninstalled over installed
7900 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7902 * gst/base/gstbasetransform.h:
7907 2005-08-25 Wim Taymans <wim@fluendo.com>
7909 * gst/gstbin.c: (bin_bus_handler):
7910 Be a bit more conservative about the posted message.
7912 * gst/gstbus.c: (gst_bus_post):
7913 Some cleanups, warn wrong return values.
7915 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
7917 * check/gst/gstbin.c: (GST_START_TEST):
7918 * gst/gstbin.c: (bin_bus_handler):
7919 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
7920 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
7921 (gst_message_new_warning), (gst_message_new_tag),
7922 (gst_message_new_state_changed), (gst_message_new_segment_start),
7923 (gst_message_new_segment_done), (gst_message_new_custom):
7925 * tools/gst-launch.c: (event_loop):
7926 * tools/gst-md5sum.c: (event_loop):
7927 Revert unpopular change for GST_MESSAGE_SRC to GObject.
7929 2005-08-25 Wim Taymans <wim@fluendo.com>
7931 * check/generic/states.c: (GST_START_TEST):
7932 Cleanup can be done at the end.
7934 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
7935 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7936 (gst_task_get_state), (gst_task_start), (gst_task_pause):
7937 Oh boy.. Thanks for finding this, Thomas.
7939 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7941 * docs/gst/gstreamer.types:
7944 2005-08-25 Stefan Kost <ensonic@users.sf.net>
7946 * docs/gst/gstreamer-docs.sgml:
7947 * docs/gst/gstreamer-sections.txt:
7948 * docs/gst/tmpl/.cvsignore:
7950 * gst/gstiterator.c:
7952 * gst/registries/gstxmlregistry.h:
7953 added missing classes and symbols (123 more to go)
7954 removed removed symbols from section file
7955 fixed many doc-comments
7957 2005-08-24 Wim Taymans <wim@fluendo.com>
7959 * check/generic/states.c: (GST_START_TEST):
7960 Make sure all tasks are stopped.
7962 * check/gst/gstbin.c: (GST_START_TEST):
7963 Unref after usage for proper valgrinding.
7965 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
7966 Really wait for the task to stop before destroying the
7969 * gst/gstqueue.c: (gst_queue_sink_activate_push),
7970 (gst_queue_src_activate_push):
7971 Small cleanups. Don't stop the task when we did not start
7974 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
7975 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
7976 (gst_task_get_state), (gst_task_start), (gst_task_pause),
7979 Protect the stream lock with the object lock.
7980 Disallow setting the stream lock when running.
7981 Add cleanup_all to wait for the threadpool to finish.
7982 Remove code to autoallocate a mutex if none was provided.
7983 Add _join() to wait for a task to stop.
7984 Protect the thread pool with a global lock.
7986 2005-08-24 Wim Taymans <wim@fluendo.com>
7988 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7989 (gst_base_sink_get_times), (gst_base_sink_do_sync),
7990 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
7991 * gst/base/gstbasesink.h:
7992 Handle newsegment events correctly.
7993 Drop buffers out of the segment range.
7995 2005-08-22 Andy Wingo <wingo@pobox.com>
7997 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
7998 macro, implements an interface and gstimplementsinterface for a
8001 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
8003 * check/Makefile.am:
8004 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
8005 add a test that does a bunch of state changes on elements
8006 needs some fixing for valgrind
8007 * check/states/sinks.c: (gst_object_suite):
8010 add prototype for gst_caps_is_equal_fixed
8012 * gst/gstregistrypool.c:
8015 2005-08-24 Andy Wingo <wingo@pobox.com>
8017 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
8018 convert a negative value. Doesn't make much sense. Mostly this is
8019 here to force callers to ensure -1 maps to -1.
8021 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
8023 * docs/pwg/advanced-types.xml:
8024 Well done to Michael for catching my deliberate introduction
8025 of this spelling mistake.
8026 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
8028 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
8029 unlink pads before removing the element from the bin.
8031 2005-08-24 Andy Wingo <wingo@pobox.com>
8033 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
8034 the same thing as GST_DEBUG=*:4.
8035 (parse_debug_level, parse_debug_category): New helper parsers.
8037 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
8039 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8040 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
8041 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
8042 (gst_base_transform_buffer_alloc),
8043 (gst_base_transform_handle_buffer):
8044 use gboolean return values and pointers to size so we can use the
8045 full GST_BUFFER_SIZE range (guint) for buffer sizes
8046 use GstPadDirection for transform_caps
8047 * gst/base/gstbasetransform.h:
8048 rename get_size to get_unit_size since that's what it is
8049 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
8050 use GstPadDirection for transform_caps
8051 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
8053 cleanup and debugging
8055 2005-08-24 Stefan Kost <ensonic@users.sf.net>
8057 * gst/gstelement.c: (gst_element_class_init),
8058 (gst_element_set_state), (activate_pads),
8059 (gst_element_save_thyself):
8060 * tools/gst-compprep.c: (main):
8061 * tools/gst-inspect.c: (print_element_properties_info):
8062 * tools/gst-xmlinspect.c: (print_element_properties):
8063 Fixed long standing mem-leak
8065 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
8067 * check/gst/gstbin.c: (GST_START_TEST):
8068 * gst/gstbin.c: (bin_bus_handler):
8069 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
8070 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
8071 (gst_message_new_warning), (gst_message_new_tag),
8072 (gst_message_new_state_changed), (gst_message_new_segment_start),
8073 (gst_message_new_segment_done), (gst_message_new_custom):
8075 * tools/gst-launch.c: (event_loop):
8076 * tools/gst-md5sum.c: (event_loop):
8077 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
8078 that applications can sensibly post custom messages with references
8079 to their own objects.
8081 2005-08-24 Andy Wingo <wingo@pobox.com>
8083 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
8086 2005-08-24 Wim Taymans <wim@fluendo.com>
8088 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8089 (gst_base_transform_transform_caps),
8090 (gst_base_transform_transform_size),
8091 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8092 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8093 (gst_base_transform_handle_buffer):
8094 * gst/base/gstbasetransform.h:
8095 Many fixes and new features added by Thomas. Can now also do
8096 transforms with variable sizes and a custom fixate_caps function.
8098 2005-08-24 Wim Taymans <wim@fluendo.com>
8100 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
8104 Cast to ClockTime before formatting to time.
8109 2005-08-24 Stefan Kost <ensonic@users.sf.net>
8111 * check/gst-libs/controller.c: (GST_START_TEST),
8112 (gst_controller_suite):
8113 * docs/gst/tmpl/gstcaps.sgml:
8114 * docs/gst/tmpl/gstghostpad.sgml:
8115 * docs/gst/tmpl/gstquery.sgml:
8116 * docs/gst/tmpl/gstutils.sgml:
8117 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
8118 (gst_object_sink_values), (gst_object_get_value_arrays),
8119 (gst_object_get_value_array):
8120 gracefully handle helper method calls to objects that are not beeing
8121 controlled, added test case for that
8123 2005-08-23 Wim Taymans <wim@fluendo.com>
8125 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
8126 (gst_event_new_newsegment), (gst_event_parse_newsegment),
8127 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
8128 (gst_event_parse_qos), (gst_event_new_seek),
8129 (gst_event_parse_seek):
8131 Some more debugging output and doc cleanups.
8133 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8134 Fix possible deadlock.
8136 2005-08-23 Stefan Kost <ensonic@users.sf.net>
8138 * docs/gst/gstreamer-docs.sgml:
8139 * docs/gst/gstreamer-sections.txt:
8140 * docs/gst/gstreamer.types:
8141 * docs/gst/tmpl/.cvsignore:
8146 added 100 symbols from gstreamer-unused.txt to the right sections
8147 fixed more broken comments
8148 added GstBus to docs
8150 2005-08-23 Stefan Kost <ensonic@users.sf.net>
8152 * docs/gst/gstreamer-sections.txt:
8153 * docs/gst/tmpl/.cvsignore:
8154 * docs/gst/tmpl/gstbin.sgml:
8155 * docs/gst/tmpl/gstbuffer.sgml:
8156 * gst/base/gstbasesrc.c:
8157 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
8160 * tools/gst-launch.1.in:
8161 inlined more doc comments, added missing comments and fixed comments
8164 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
8166 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
8170 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
8172 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
8173 * gst/gststructure.h:
8174 add a fixate function for booleans; add a FIXME that these func
8175 names should probably be gst_structure_fixate_*
8177 2005-08-23 Stefan Kost <ensonic@users.sf.net>
8179 * docs/gst/gstreamer-docs.sgml:
8180 * docs/gst/gstreamer-sections.txt:
8182 * gst/gstbin.c: (gst_bin_get_type),
8183 (gst_bin_child_proxy_get_child_by_index),
8184 (gst_bin_child_proxy_get_children_count),
8185 (gst_bin_child_proxy_init):
8186 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
8187 (gst_child_proxy_get_child_by_index),
8188 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
8189 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
8190 (gst_child_proxy_get), (gst_child_proxy_set_property),
8191 (gst_child_proxy_set_valist), (gst_child_proxy_set),
8192 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
8193 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
8194 * gst/gstchildproxy.h:
8195 * gst/parse/grammar.y:
8196 * tools/gst-inspect.c: (print_interfaces),
8197 (print_element_properties_info), (print_element_info):
8198 ported gstchildproxy over from 0.8
8199 ported gst-inspect fixes and enhancements over from 0.8
8201 2005-08-22 Wim Taymans <wim@fluendo.com>
8203 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8204 (gst_base_transform_handle_buffer):
8205 Also call the transform function if we have ANY caps.
8207 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
8210 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
8212 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
8213 Don't pretend to handle seek events if the source is not seekable
8215 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
8217 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8218 Remove extra parameter to debug output
8220 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8221 (gst_base_src_do_seek), (gst_base_src_activate_push):
8222 Fix seek event handling.
8224 * gst/gstpipeline.c: (gst_pipeline_change_state):
8225 * gst/gstqueue.c: (gst_queue_handle_sink_event),
8226 (gst_queue_src_activate_push):
8227 Don't start the src pad task on FLUSH_STOP if the pad
8231 2005-08-22 Wim Taymans <wim@fluendo.com>
8233 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8234 Added check for gst_static_caps_get() refcounting.
8236 2005-08-22 Wim Taymans <wim@fluendo.com>
8238 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
8239 Make _static_caps_get() refcounting sane.
8241 * gst/gstelement.c: (gst_element_set_state):
8242 Add g_return_val_if_fail() to protect against segfaults.
8244 2005-08-22 Stefan Kost <ensonic@users.sf.net>
8246 * docs/gst/tmpl/gstevent.sgml:
8249 inlined remaining docs, added missing doc comments
8251 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
8253 * check/gst/gstbin.c: (GST_START_TEST):
8254 since we don't know when preroll is done, use refcount range
8256 * gst/check/gstcheck.h:
8257 add macro for checking refcount range
8259 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
8261 * check/Makefile.am:
8262 clean up environment for when registry gets built versus
8263 when actual tests are run; valgrind seems to not report
8264 leaks if GST_PLUGIN_PATH is set to some specific values
8265 * check/gst/gstbin.c: (GST_START_TEST):
8266 add more refcounting checks; maybe this exposes a
8269 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8270 * gst/check/gstcheck.h:
8271 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
8272 (gst_bin_change_state):
8273 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
8274 add/fix debugging/whitespace
8276 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
8278 * check/gst/gstevent.c: (event_probe), (test_event),
8280 Er, don't call gst_bin_watch_for_state_change you idiot.
8282 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
8284 * check/Makefile.am:
8285 Use CHECK_CFLAGS and CHECK_LIBS
8286 * check/gst/gstevent.c: (event_probe), (test_event),
8289 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8290 (gst_base_src_start), (gst_base_src_stop),
8291 (gst_base_src_activate_push), (gst_base_src_activate_pull),
8292 (gst_base_src_change_state):
8293 Sprinkle gst_base_src_stop liberally around error paths to fix
8294 problems reusing a source after failed state changes.
8295 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8296 (helper_find_suggest), (gst_type_find_helper):
8297 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
8299 * docs/gst/tmpl/gstevent.sgml:
8300 Migrate part of the docs from the SGML file. Wait for ensonic to
8301 tell me how I did it wrong ;)
8302 * tools/gst-typefind.c: (main):
8303 Extra robustness to state changes between files.
8305 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
8307 * check/Makefile.am:
8308 don't valgrind the controller test - it's leaking - Stefan, HELP
8309 * gst/check/gstcheck.c: (gst_check_message_error),
8310 (gst_check_chain_func), (gst_check_setup_element),
8311 (gst_check_teardown_element), (gst_check_setup_src_pad),
8312 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8313 (gst_check_teardown_sink_pad):
8314 * gst/check/gstcheck.h:
8315 add a bunch of methods to set up elements, and src and sink pads
8316 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
8317 * check/elements/identity.c: (setup_identity), (cleanup_identity),
8322 whitespace/doc fixes
8324 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8327 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
8328 be handled by the application and not always printed as well
8330 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8332 * check/Makefile.am:
8334 * gst/check/gstcheck.c: (gst_check_message_error):
8335 * gst/check/gstcheck.h:
8336 add a fail_unless_equals_int
8337 add fail_unless for error messages
8339 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8341 * check/Makefile.am:
8343 * common/Makefile.am:
8346 factor out some of the common stuff so we can use it
8348 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8350 * check/Makefile.am:
8351 * check/gst/gstiterator.c: (GST_START_TEST):
8352 * check/gst/gstsystemclock.c: (GST_START_TEST),
8353 (gst_systemclock_suite):
8354 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8358 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8360 * check/elements/.cvsignore:
8361 * check/elements/gstfakesrc.c:
8362 rename to name of element
8363 * check/elements/identity.c: (chain_func), (event_func),
8364 (setup_identity), (cleanup_identity), (GST_START_TEST),
8365 (identity_suite), (main):
8366 add a test for identity
8367 * check/Makefile.am:
8368 * pkgconfig/Makefile.am:
8369 * pkgconfig/gstreamer-check.pc.in:
8370 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8374 move the check stuff to a library that gets installed
8375 * check/gst-libs/controller.c: (GST_START_TEST):
8376 * check/gst-libs/gdp.c:
8377 * check/gst/gst.c: (GST_START_TEST):
8378 * check/gst/gstbin.c:
8379 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8380 * check/gst/gstbus.c:
8381 * check/gst/gstcaps.c: (GST_START_TEST):
8382 * check/gst/gstelement.c:
8383 * check/gst/gstghostpad.c:
8384 * check/gst/gstiterator.c:
8385 * check/gst/gstmessage.c:
8386 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
8387 * check/gst/gstobject.c:
8388 * check/gst/gstpad.c: (GST_START_TEST):
8389 * check/gst/gststructure.c: (GST_START_TEST):
8390 * check/gst/gstsystemclock.c: (GST_START_TEST),
8391 (gst_systemclock_suite):
8392 * check/gst/gsttag.c: (gst_tag_suite):
8393 * check/gst/gstvalue.c:
8394 * check/pipelines/cleanup.c:
8395 * check/pipelines/simple_launch_lines.c:
8396 * check/states/sinks.c:
8397 change include statement
8399 * docs/gst/gstreamer-sections.txt:
8400 * docs/gst/tmpl/gstpad.sgml:
8401 document more pad stuff
8402 * gst/gstminiobject.c: (gst_mini_object_ref),
8403 (gst_mini_object_unref):
8406 2005-08-19 Stefan Kost <ensonic@users.sf.net>
8408 * docs/gst/tmpl/gst.sgml:
8410 eliminate another tmpl file, fix spelling in the long-description
8412 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8414 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8415 (test_event), (timediff), (gstevents_suite):
8416 Should fix build on 64-bit arch's
8418 2005-08-18 Andy Wingo <wingo@pobox.com>
8420 Make sure that when a pipeline goes to PLAYING, that data has
8421 actually hit the sink.
8423 * check/states/sinks.c (test_sink): A sink that doesn't get any
8424 data shouldn't return SUCCESS for going to either PLAYING or
8425 PAUSED. Test also the return values on the way back down.
8427 * gst/gstelement.c (gst_element_set_state): When changing the
8428 state of an element currently changing state asynchronously, go to
8429 lost-state after commiting the pending state. Makes future calls
8430 to get_state continue to return ASYNC.
8432 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
8433 ASYNC when going to PLAYING if we still don't have preroll, as can
8434 happen with live sources.
8436 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8438 * docs/pwg/advanced-types.xml:
8439 Hack long paragraph into 2 chunks as a workaround for buggy
8440 jadetex version in sid and breezy that loops infinitely and
8443 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8445 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8446 (test_event), (timediff), (gstevents_suite):
8447 Provide more error margin in clock measurements to allow for
8448 g_get_current_time inaccuracies.
8450 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8452 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8453 (test_event), (timediff), (gstevents_suite):
8454 Fix error message output so I might be able to tell why the
8455 test works here but fails on the build farm.
8457 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8459 * check/Makefile.am:
8460 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8461 (test_event), (timediff), (gstevents_suite), (main):
8464 * docs/design/part-seeking.txt:
8467 * docs/gst/tmpl/gstevent.sgml:
8468 * docs/gst/tmpl/gstfakesrc.sgml:
8471 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8472 Treat a buffer-without-newsegment the same as a receiving
8473 a newsegment not in time format, and disable syncing to the clock
8476 * gst/gstbus.c: (gst_bus_set_sync_handler):
8477 Assert if anyone tries to replace the existing sync_handler for bus,
8478 as only the owner should be setting it.
8481 Have a fixed set of custom event enums with events identified by
8482 their structure name (as in 0.8), rather than a free-for-all
8483 allowing collisions between enum values from different plugins.
8485 * gst/gstpad.c: (gst_pad_class_init):
8488 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8489 Handle out-of-band downstream events from the sending thread.
8491 2005-08-17 Andy Wingo <wingo@pobox.com>
8493 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
8494 play-timeout==0 to mean no timeout at all. In that case, don't
8495 bother with a get_state or a warning, just return directly, even
8498 * gst/base/gstbasetransform.c: Debug changes.
8501 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
8502 ensure bins post state change messages. A bit of a hack but I can't
8503 think of a way to avoid it.
8505 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
8507 2005-08-16 Andy Wingo <wingo@pobox.com>
8509 * gst/base/gstadapter.h:
8510 * gst/base/gstadapter.c (gst_adapter_take): New function, like
8511 peek() but you own the data. Not terribly efficient atm.
8513 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8515 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
8516 (gst_element_found_tags):
8518 Add two utility functions for tag handling.
8520 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8522 * docs/manual/advanced-dataaccess.xml:
8523 * docs/manual/basics-helloworld.xml:
8524 Fix docs to use _bin_add() before _link(), which fixes the examples
8525 with recent core versions (reported by Madhan Raj M
8526 <raj_madan@rediffmail.com>, #313199).
8528 2005-08-16 Wim Taymans <wim@fluendo.com>
8530 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8531 Added subtract checks.
8533 * docs/design/part-events.txt:
8534 Some more docs about newsegment
8536 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8539 * gst/gstcaps.c: (gst_caps_to_string):
8540 Add comments, cleanups.
8542 * gst/gstelement.c: (gst_element_save_thyself):
8545 * gst/gstvalue.c: (gst_value_collect_int_range),
8546 (gst_string_unwrap), (gst_value_union_int_int_range),
8547 (gst_value_union_int_range_int_range),
8548 (gst_value_intersect_int_int_range),
8549 (gst_value_intersect_int_range_int_range),
8550 (gst_value_intersect_double_double_range),
8551 (gst_value_intersect_double_range_double_range),
8552 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
8553 (gst_value_subtract_int_range_int),
8554 (gst_value_subtract_double_range_double),
8555 (gst_value_subtract_double_range_double_range),
8556 (gst_value_subtract_from_list), (gst_value_subtract_list),
8557 (gst_value_can_compare), (gst_value_compare_fraction):
8558 Cleanups, add comments, remove unneeded asserts.
8560 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8562 * tools/gst-launch.c: (event_loop):
8563 don't convert NULL structures to strings
8565 2005-08-15 Stefan Kost <ensonic@users.sf.net>
8567 * docs/gst/gstreamer-sections.txt:
8568 made some defines private
8569 * docs/gst/tmpl/gstconfig.sgml:
8570 * docs/gst/tmpl/gstqueue.sgml:
8571 * docs/gst/tmpl/gsttaglist.sgml:
8572 * docs/gst/tmpl/gsttypes.sgml:
8573 * docs/gst/tmpl/gstutils.sgml:
8574 * docs/pwg/appendix-porting.xml:
8575 * gst/base/gstbasesink.h:
8576 * gst/base/gstbasesrc.c:
8577 * gst/base/gstbasesrc.h:
8578 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
8579 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8580 * gst/gstelement.c: (gst_element_class_init):
8581 * gst/gstpad.c: (gst_pad_class_init):
8582 * gst/gstqueue.c: (gst_queue_class_init):
8583 * gst/gstxml.c: (gst_xml_class_init):
8584 documented all undocumented signal inline
8585 * libs/gst/controller/gst-controller.h:
8588 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8590 * docs/pwg/appendix-porting.xml:
8591 Document _set_link_function -> _set_setcaps_function.
8593 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8595 * check/Makefile.am:
8596 add a .check target for running the check
8597 * check/gst-libs/controller.c: (GST_START_TEST):
8599 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8600 complete checks for gstbuffer; would be nice if I could get the
8601 gcov stuff to work so I can see if I actually completed gstbuffer.c
8603 add ASSERT_BUFFER_REFCOUNT
8605 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
8607 * docs/gst/gstreamer-sections.txt:
8608 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8610 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8611 spew out a warning if a tag that is already registered
8612 is re-registered, unless it is re-registered with a
8613 different type (#308438).
8615 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
8617 * docs/pwg/appendix-porting.xml:
8618 * docs/pwg/building-state.xml:
8619 Add some paragraphs about state changes in 0.9 to the PWG
8620 and the porting guide, in particular about the new meaning
8621 of GST_STATE_PAUSED and how to write state change functions
8622 with concurrent access by multiple threads in mind.
8624 2005-08-11 Stefan Kost <ensonic@users.sf.net>
8626 * docs/gst/gstreamer-docs.sgml:
8627 * docs/libs/gstreamer-libs-docs.sgml:
8628 added deprecation and since indexes
8629 * libs/gst/controller/gst-controller.c:
8630 * libs/gst/controller/gst-helper.c:
8634 2005-08-11 Wim Taymans <wim@fluendo.com>
8636 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8637 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8638 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8639 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8640 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8641 (gst_ghost_pad_set_target):
8642 Actually implement (re)setting the target on a ghostpad
8643 as described in the docs.
8645 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8647 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8648 Check whether GST_DEBUG_NO_COLOR environment variable is
8649 set and disable coloured debug output if that is the case.
8651 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8653 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8654 (gst_type_find_helper):
8655 The memory returned by gst_type_find_peek() needs to
8656 stay valid until the end of a typefind function, and
8657 typefind functions may keep results from different
8658 offsets around, so we can't just unref the buffer from
8659 the previous _peek(), but have to save all buffers
8660 returned by _peek() until typefinding is done and only
8663 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
8665 * docs/gst/gstreamer-sections.txt:
8667 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8669 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8671 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8672 Fix a pretty good memleak.
8674 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8676 * gst/gstiterator.h:
8677 Fix wrong include and 'make distcheck'.
8679 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8681 * gst/gstbin.c: (bin_bus_handler):
8682 Use gst_element_post_message() instead.
8684 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8686 * gst/base/gstadapter.h:
8687 * gst/base/gstbasesink.h:
8688 * gst/base/gstbasesrc.h:
8689 * gst/base/gstbasetransform.h:
8690 * gst/base/gstcollectpads.h:
8691 * gst/base/gstpushsrc.h:
8692 * gst/gstiterator.h:
8693 Add padding to our base elements' class and instance structs and
8694 to GstIterator (you will need to rebuild all plugins and apps!)
8696 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8698 * gst/gstbin.c: (bin_bus_handler):
8699 Make default message forwarding from child->bus to bin->bus
8700 threadsafe and make it not emit warnings if the parent has no bus.
8702 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8704 * gst/gstelement.c: (activate_pads):
8705 On paused->ready, set pad->caps to NULL, as is the documented
8706 behaviour in this state change. Fixes playback of series of
8707 media files when visualization is enabled in Totem.
8709 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8711 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8712 Allow NULL as filter-caps (which means "any").
8714 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8716 * docs/libs/gstreamer-libs-sections.txt:
8717 * libs/gst/controller/gst-controller.c:
8718 * libs/gst/controller/gst-controller.h:
8719 * libs/gst/controller/gst-helper.c:
8720 adding more entries to the docs and fix small doc-bugs
8722 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8724 * docs/gst/gstreamer-docs.sgml:
8725 * docs/gst/gstreamer-sections.txt:
8726 * docs/gst/gstreamer.types:
8727 * docs/gst/tmpl/gstbasesink.sgml:
8728 * docs/gst/tmpl/gstbasesrc.sgml:
8729 * docs/gst/tmpl/gstbasetransform.sgml:
8730 * docs/gst/tmpl/gstfakesrc.sgml:
8731 * gst/base/gstcollectpads.c:
8732 * gst/base/gstcollectpads.h:
8733 * libs/gst/controller/gst-controller.c:
8734 * libs/gst/controller/gst-controller.h:
8735 * libs/gst/controller/gst-helper.c:
8736 * libs/gst/controller/gst-interpolation.c:
8737 * libs/gst/controller/lib.c:
8738 added long/short desc for controller docs
8739 added collectpads base class docs
8740 added correct includes to base-class docs
8742 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8744 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8745 (gst_test_mono_source_set_property),
8746 (gst_test_mono_source_class_init), (GST_START_TEST),
8747 (gst_controller_suite):
8748 * docs/gst/gstreamer-docs.sgml:
8749 * docs/gst/gstreamer-sections.txt:
8750 * docs/gst/gstreamer.types:
8751 * docs/libs/gstreamer-libs-docs.sgml:
8752 * docs/libs/gstreamer-libs-sections.txt:
8753 * gst/base/gstadapter.c:
8754 * libs/gst/controller/gst-controller.c:
8755 (gst_controlled_property_new), (gst_controlled_property_free),
8756 (gst_controller_new_valist),
8757 (gst_controller_remove_properties_valist),
8758 (gst_controller_sink_values), (_gst_controller_finalize):
8759 * libs/gst/controller/gst-controller.h:
8760 * libs/gst/controller/gst-helper.c:
8761 (gst_object_control_properties), (gst_object_uncontrol_properties),
8762 (gst_object_get_controller), (gst_object_set_controller),
8763 (gst_object_sink_values), (gst_object_get_value_arrays),
8764 (gst_object_get_value_array):
8765 more tests (and fixes) for the controller
8766 more docs for the controller
8767 integrated companies docs for the adapter
8769 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
8771 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8772 (GST_START_TEST), (fakesrc_suite):
8773 add tests for sizetype
8775 2005-08-04 Andy Wingo <wingo@pobox.com>
8777 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8778 fixes buffer_alloc proxying among other things.
8780 * gst/base/gstbasetransform.c:
8781 * gst/base/gstbasetransform.h:
8782 Revert patch to gstbasetransform from 7-28 removing
8785 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8786 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8787 Semantics changed, should return not the size of the output buffer
8788 but the byte size of a buffer with a given caps.
8790 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8792 (gst_base_transform_configure_caps): Don't set out_size here: (in,
8793 out) are not the pad caps until setcaps finishes.
8794 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8795 not-in-place case as well. Deal with changing from in-place to
8796 not-in-place within calling pad_alloc_buffer. Still a bit
8797 concerned about the overhead here...
8799 2005-08-03 Andy Wingo <wingo@pobox.com>
8801 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8802 fixating is an error.
8804 2005-08-04 Edward Hervey <edward@fluendo.com>
8806 * gst/base/gstadapter.h:
8807 Added gst_adapter_get_type() to the header
8809 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8811 * check/Makefile.am:
8812 * check/gst-libs/controller.c:
8813 * libs/gst/controller/gst-controller.c:
8814 (gst_controller_new_valist):
8815 added check test suite for the controller
8816 * gst/base/gstpushsrc.c:
8819 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8821 * docs/gst/Makefile.am:
8822 * docs/gst/gstreamer-docs.sgml:
8823 * docs/gst/gstreamer-sections.txt:
8824 * docs/gst/gstreamer.types:
8825 * docs/gst/tmpl/gstfakesrc.sgml:
8827 * gst/base/gstbasesink.c:
8828 * gst/base/gstbasesink.h:
8829 * gst/base/gstbasesrc.c:
8830 * gst/base/gstbasesrc.h:
8831 * gst/base/gstbasetransform.c:
8832 * gst/base/gstpushsrc.c:
8833 * gst/base/gstpushsrc.h:
8834 add short/long description docs to base classes
8835 add pushsrc to the docs
8836 remove consolidated doc fragments
8838 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8841 * docs/libs/Makefile.am:
8842 * docs/libs/gstreamer-libs-docs.sgml:
8843 * docs/libs/gstreamer-libs-sections.txt:
8844 * docs/libs/gstreamer-libs.types:
8845 * examples/Makefile.am:
8846 * examples/controller/.cvsignore:
8847 * examples/controller/Makefile.am:
8848 * examples/controller/audio-example.c: (main):
8849 * libs/gst/Makefile.am:
8850 * libs/gst/controller/.cvsignore:
8851 * libs/gst/controller/Makefile.am:
8852 * libs/gst/controller/gst-controller.c:
8853 (on_object_controlled_property_changed), (gst_timed_value_compare),
8854 (gst_timed_value_find),
8855 (gst_controlled_property_set_interpolation_mode),
8856 (gst_controlled_property_new), (gst_controlled_property_free),
8857 (gst_controller_find_controlled_property),
8858 (gst_controller_new_valist), (gst_controller_new),
8859 (gst_controller_remove_properties_valist),
8860 (gst_controller_remove_properties), (gst_controller_set),
8861 (gst_controller_set_from_list), (gst_controller_unset),
8862 (gst_controller_get), (gst_controller_get_all),
8863 (gst_controller_sink_values), (gst_controller_get_value_arrays),
8864 (gst_controller_get_value_array),
8865 (gst_controller_set_interpolation_mode),
8866 (_gst_controller_finalize), (_gst_controller_init),
8867 (_gst_controller_class_init), (gst_controller_get_type):
8868 * libs/gst/controller/gst-controller.h:
8869 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8870 (g_object_uncontrol_properties), (g_object_get_controller),
8871 (g_object_set_controller), (g_object_sink_values),
8872 (g_object_get_value_arrays), (g_object_get_value_array):
8873 * libs/gst/controller/gst-interpolation.c:
8874 (gst_controlled_property_find_timed_value_node),
8875 (interpolate_none_get), (interpolate_trigger_get),
8876 (interpolate_trigger_get_value_array):
8877 * libs/gst/controller/lib.c: (gst_controller_init):
8878 * pkgconfig/Makefile.am:
8879 * pkgconfig/gstreamer-control-uninstalled.pc.in:
8880 * pkgconfig/gstreamer-control.pc.in:
8881 * testsuite/Makefile.am:
8882 * testsuite/controller/.cvsignore:
8883 * testsuite/controller/Makefile.am:
8884 * testsuite/controller/interpolator.c: (main):
8885 added controller code
8886 removed dparam pc files
8888 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8889 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8890 (gst_collectpads_stop):
8891 Broadcast the condition when shutting down, to make sure we wake all
8892 threads up. Shut down pads on finalize, for safety.
8894 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8895 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8896 (gst_base_transform_handle_buffer),
8897 (gst_base_transform_change_state):
8898 Handle PAUSED->READY->PAUSED transition after negotiation
8900 * gst/gstmessage.c: (gst_message_init):
8901 Extra piece of debug for new messages.
8903 2005-08-01 Stefan Kost <ensonic@users.sf.net>
8906 * docs/gst/tmpl/gstbasesrc.sgml:
8907 * docs/gst/tmpl/gstelement.sgml:
8908 * docs/gst/tmpl/gstevent.sgml:
8909 * docs/gst/tmpl/gstfakesrc.sgml:
8910 * docs/gst/tmpl/gstformat.sgml:
8911 * docs/gst/tmpl/gstghostpad.sgml:
8912 * docs/gst/tmpl/gstpad.sgml:
8913 * docs/gst/tmpl/gstquery.sgml:
8914 * docs/gst/tmpl/gststructure.sgml:
8915 * docs/gst/tmpl/gsttaglist.sgml:
8916 * docs/gst/tmpl/gstvalue.sgml:
8917 * docs/libs/gstreamer-libs-docs.sgml:
8918 * docs/libs/gstreamer-libs-sections.txt:
8919 * docs/libs/gstreamer-libs.types:
8920 * libs/gst/Makefile.am:
8921 * libs/gst/control/.cvsignore:
8922 * libs/gst/control/Makefile.am:
8923 * libs/gst/control/control.c:
8924 * libs/gst/control/control.h:
8925 * libs/gst/control/dparam.c:
8926 * libs/gst/control/dparam.h:
8927 * libs/gst/control/dparam_smooth.c:
8928 * libs/gst/control/dparam_smooth.h:
8929 * libs/gst/control/dparamcommon.h:
8930 * libs/gst/control/dparammanager.c:
8931 * libs/gst/control/dparammanager.h:
8932 * libs/gst/control/dplinearinterp.c:
8933 * libs/gst/control/dplinearinterp.h:
8934 * libs/gst/control/unitconvert.c:
8935 * libs/gst/control/unitconvert.h:
8936 * testsuite/Makefile.am:
8937 * testsuite/dynparams/.cvsignore:
8938 * testsuite/dynparams/Makefile.am:
8939 * testsuite/dynparams/dparamstest.c:
8940 * tools/Makefile.am:
8941 * tools/gst-inspect.c: (print_element_info), (main):
8942 * tools/gst-xmlinspect.c: (print_element_info), (main):
8943 deactivate and remove dparams (libgstcontrol)
8945 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8947 * gst/elements/gsttypefindelement.c:
8948 (gst_type_find_element_have_type), (gst_type_find_element_init),
8949 (stop_typefinding), (gst_type_find_element_handle_event),
8950 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8951 * gst/elements/gsttypefindelement.h:
8952 Set caps on all outgoing buffers, not just the first one.
8954 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8956 * gst/elements/gsttypefindelement.c:
8957 (gst_type_find_element_have_type),
8958 (gst_type_find_element_check_set_buffer_caps),
8959 (gst_type_find_element_init), (stop_typefinding),
8960 (gst_type_find_element_handle_event),
8961 (gst_type_find_element_chain), (gst_type_find_element_getrange):
8962 * gst/elements/gsttypefindelement.h:
8963 Set caps on first outgoing buffer when we've found the type.
8965 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
8967 * docs/gst/gstreamer-docs.sgml:
8968 * docs/gst/gstreamer-sections.txt:
8969 * docs/gst/tmpl/gstscheduler.sgml:
8970 * docs/gst/tmpl/gstschedulerfactory.sgml:
8971 Remove some old cruft from docs.
8973 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
8976 Fix inline docs for GstPadLinkReturn.
8978 * gst/gststructure.c: (gst_structure_has_name):
8979 * gst/gststructure.h:
8980 * docs/gst/gstreamer-sections.txt:
8981 New API: gst_structure_has_name().
8983 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
8986 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
8987 and _LARGEFILE_SOURCE in config.h as required. Do not
8988 export those flags in our .pc files any longer (#142209).
8990 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
8992 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
8993 (gst_file_sink_do_seek), (gst_file_sink_event),
8994 (gst_file_sink_get_current_offset), (gst_file_sink_render):
8995 Redo seek/tell calls with large file support in mind; add some
8996 debugging messages; add log message that tells us when large
8997 file support is unavailable or not enabled for some reason.
8999 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
9000 Add log message that tells us when large file support
9001 is unavailable or not enabled for some reason.
9003 2005-07-29 Wim Taymans <wim@fluendo.com>
9005 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9006 Added test for removing an element with ghostpad from a bin.
9007 Fixed test as current implementation does the right thing.
9009 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
9010 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
9011 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
9012 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
9013 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
9014 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
9015 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
9016 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9017 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
9018 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
9019 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
9020 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
9021 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
9022 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
9023 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
9024 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
9025 * gst/gstghostpad.h:
9026 Clean up ghostpads, remove properties for internal stuff.
9029 Prepare for switching targets, not all use cases work yet.
9031 2005-07-29 Wim Taymans <wim@fluendo.com>
9033 * docs/design/part-gstghostpad.txt:
9036 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
9037 (gst_bin_remove_func):
9038 Unlinking pads while holding the bin LOCK is not a good
9041 * gst/gstpad.c: (gst_pad_class_init),
9042 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
9043 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
9044 No prob setting template after creating the pad.
9046 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
9048 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
9049 (gst_bus_peek), (gst_bus_source_dispatch),
9050 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
9051 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
9052 gst_bus_poll may be called from other threads. Handle
9053 this nicely by not making poll_data disappear off the
9054 stack once gst_bus_poll returns.
9055 gst_bus_peek now increments the refcount on the returned
9058 2005-07-29 Wim Taymans <wim@fluendo.com>
9060 * docs/design/part-gstghostpad.txt:
9061 Overview of current GhostPad datastructures and use
9062 cases for changing the target.
9064 2005-07-28 Wim Taymans <wim@fluendo.com>
9066 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9067 Added checks for hierarchy consistency whan adding linked
9070 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9071 Added check to test element scheduling without bin/pipeline.
9073 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9074 First add elements to bin, then link.
9076 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
9077 (gst_bin_remove_func):
9078 Unlink pads from elements added/removed from bin to maintain
9079 hierarchy consistency.
9081 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9083 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
9084 (gst_base_transform_handle_buffer):
9085 * gst/base/gstbasetransform.h:
9086 Remove broken delay_configure (fixes renegotiation of software
9087 scaling pipelines); remove some leftover printf()s.
9089 2005-07-28 Wim Taymans <wim@fluendo.com>
9091 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9092 Added some more tests for wrong hierarchy
9094 * docs/design/part-overview.txt:
9097 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
9100 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
9101 (gst_element_dispose):
9104 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9105 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
9106 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9107 (gst_pad_set_caps), (gst_pad_send_event):
9108 Check for correct hierarchy when linking pads. Moving to
9109 strict requirement for ghostpads when linking elements in
9113 Clean ups. Added WRONG_HIERARCHY return value.
9115 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9117 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9118 Better debug if no transform is possible.
9120 2005-07-27 Wim Taymans <wim@fluendo.com>
9122 * docs/random/wtay/network-transp:
9125 2005-07-27 Wim Taymans <wim@fluendo.com>
9127 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9128 (gst_dp_event_from_packet):
9129 Fix serialization of seek events.
9131 2005-07-27 Wim Taymans <wim@fluendo.com>
9133 * check/gst-libs/gdp.c: (GST_START_TEST):
9134 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9135 Fix compilation and fix event serialization.
9137 2005-07-27 Wim Taymans <wim@fluendo.com>
9140 * docs/design/part-TODO.txt:
9141 * docs/design/part-events.txt:
9144 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9145 (gst_base_sink_event), (gst_base_sink_do_sync),
9146 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
9147 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9148 (gst_base_src_do_seek), (gst_base_src_event_handler),
9149 (gst_base_src_loop):
9150 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9151 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9152 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9153 (gst_base_transform_event), (gst_base_transform_handle_buffer),
9154 (gst_base_transform_set_passthrough),
9155 (gst_base_transform_is_passthrough):
9156 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9157 * gst/elements/gstfilesink.c: (gst_file_sink_event):
9163 * gst/gstelement.c: (gst_element_seek):
9165 Update gst_element_seek.
9167 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
9168 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
9169 (gst_event_new_flush_start), (gst_event_new_flush_stop),
9170 (gst_event_new_eos), (gst_event_new_newsegment),
9171 (gst_event_parse_newsegment), (gst_event_new_tag),
9172 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
9173 (gst_event_parse_qos), (gst_event_new_seek),
9174 (gst_event_parse_seek), (gst_event_new_navigation):
9176 Make GstEvent use GstStructure. Add parsing code, make sure the
9177 API is sufficiently generic.
9178 Mark possible directions of events and serialization.
9180 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
9181 (_gst_message_copy), (gst_message_new_segment_start),
9182 (gst_message_new_segment_done), (gst_message_new_custom),
9183 (gst_message_parse_segment_start),
9184 (gst_message_parse_segment_done):
9187 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9188 (gst_pad_set_caps), (gst_pad_send_event):
9189 Update for new events.
9190 Catch events sent in wrong directions.
9192 * gst/gstqueue.c: (gst_queue_link_src),
9193 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
9194 (gst_queue_handle_src_query):
9199 Remove event code from this file.
9201 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9202 (gst_dp_event_from_packet):
9205 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9207 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
9208 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9209 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
9210 Make debugging actually useful.
9212 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9214 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
9215 (gst_pad_fixate_caps):
9216 Implement default fixation once again, so that gst_pad_fixate()
9217 actually does anything at all. This probably needs to be some
9218 sort of a last resort, and use profile-based fixation first, but
9219 since that doesn't exist yet, this is the best we have. Fixes
9220 visualization in Totem.
9222 2005-07-22 Wim Taymans <wim@fluendo.com>
9224 * docs/design/part-events.txt:
9227 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9228 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
9229 (gst_base_sink_activate_pull):
9232 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
9233 (gst_fake_src_create):
9234 Fix handoff marshall.
9236 * gst/elements/gstidentity.c: (gst_identity_class_init),
9237 (gst_identity_transform_ip):
9238 We're a real inplace element.
9240 * gst/gstbus.c: (gst_bus_post):
9241 Added some comments.
9243 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
9244 * tests/muxing/case1.c: (main):
9245 * tests/sched/dynamic-pipeline.c: (main):
9246 * tests/sched/interrupt1.c: (main):
9247 * tests/sched/interrupt2.c: (main):
9248 * tests/sched/interrupt3.c: (main):
9249 * tests/sched/runxml.c: (main):
9250 * tests/sched/sched-stress.c: (main):
9251 * tests/seeking/seeking1.c: (event_received), (main):
9252 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
9254 * tests/threadstate/threadstate3.c: (main):
9255 * tests/threadstate/threadstate4.c: (main):
9256 * tests/threadstate/threadstate5.c: (main):
9259 2005-07-21 Wim Taymans <wim@fluendo.com>
9261 * docs/design/part-seeking.txt:
9262 Some small additions.
9264 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9265 (gst_base_sink_get_times), (gst_base_sink_do_sync),
9266 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
9267 * gst/base/gstbasesink.h:
9268 discont values are gint64, handle the math correctly.
9270 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9271 Make the basesrc report error if the source pad is not linked.
9273 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
9274 (gst_queue_loop), (gst_queue_handle_src_query),
9275 (gst_queue_src_activate_push):
9276 Make queue collect data even if the srcpad is not linked.
9277 Start pushing out data as soon as it is linked.
9279 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
9281 Added gst_flow_get_name() to ease error reporting.
9283 2005-07-20 Wim Taymans <wim@fluendo.com>
9285 * gst/gstmessage.c: (gst_message_new_segment_start),
9286 (gst_message_new_segment_done), (gst_message_parse_segment_start),
9287 (gst_message_parse_segment_done):
9289 Added a bunch of messages for advanced seeking.
9291 * gst/parse/grammar.y:
9292 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
9293 (gst_dpman_state_changed):
9294 Fix some new-pad -> pad-added signals
9296 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9298 * docs/manual/appendix-porting.xml:
9299 * docs/pwg/appendix-porting.xml:
9300 Document new-pad/state-change signal renames and the FixedList
9303 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9305 * docs/manual/advanced-autoplugging.xml:
9306 * docs/manual/basics-helloworld.xml:
9307 * docs/manual/basics-pads.xml:
9308 * docs/random/ds/0.9-suggested-changes:
9309 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
9314 * gst/gststructure.c: (gst_structure_value_get_generic_type),
9315 (gst_structure_parse_array), (gst_structure_parse_value):
9316 * gst/gstvalue.c: (gst_type_is_fixed),
9317 (gst_value_list_prepend_value), (gst_value_list_append_value),
9318 (gst_value_list_get_size), (gst_value_list_get_value),
9319 (gst_value_transform_array_string), (gst_value_serialize_array),
9320 (gst_value_deserialize_array), (gst_value_intersect_array),
9321 (gst_value_is_fixed), (_gst_value_initialize):
9323 GstElement::new-pad -> pad-added, GstElement::state-change ->
9324 state-changed, GstValueFixedList -> GstValueArray, add format and
9325 flags as their own arguments in gst_element_seek() (should improve
9326 "bindeability"), remove function generators since they don't work
9327 under a whole bunch of compilers (they were deprecated already
9330 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9332 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
9333 (_gst_debug_register_funcptr):
9335 Fix illegal cast on some platforms (#309253).
9337 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9339 * gst/gstmessage.c: (gst_message_new_custom):
9341 Add _new_custom, make _new_application a macro to _new_custom.
9343 2005-07-20 Wim Taymans <wim@fluendo.com>
9345 * gst/base/gstbasesrc.c: (gst_base_src_init),
9346 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
9347 * gst/base/gstbasesrc.h:
9348 Add a gboolean to decide when to push out a discont.
9350 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9351 (gst_queue_loop), (gst_queue_handle_src_query),
9352 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
9353 (gst_queue_set_property), (gst_queue_get_property):
9356 * tests/threadstate/threadstate1.c: (main):
9357 Make a thread test compile and run... very silly..
9360 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9362 * docs/manual/appendix-porting.xml:
9363 Mention removal of libgstgconf-0.9.la and existence of gconf
9366 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9368 * docs/pwg/advanced-clock.xml:
9369 * docs/pwg/appendix-porting.xml:
9370 * docs/pwg/intro-preface.xml:
9371 * docs/pwg/other-base.xml:
9372 * docs/pwg/other-manager.xml:
9373 * docs/pwg/other-nton.xml:
9374 * docs/pwg/other-ntoone.xml:
9375 * docs/pwg/other-oneton.xml:
9377 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
9378 demuxer), remove n-to-n (was never written), fix some code examples
9379 and links and update the porting section to include all this.
9381 2005-07-19 Wim Taymans <wim@fluendo.com>
9383 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
9384 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
9385 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
9386 (gst_queue_src_activate_push), (gst_queue_change_state),
9387 (gst_queue_get_property):
9389 Propagate GstFlowReturn more intelligently upstream and output
9390 an ERROR/EOS when streaming stopped due to fatal error.
9392 2005-07-19 Wim Taymans <wim@fluendo.com>
9394 * tools/gst-launch.c: (check_intr), (event_loop), (main):
9395 Don't block forever for the state change to complete, the
9396 pipeline already did with a sensible timeout.
9398 2005-07-19 Wim Taymans <wim@fluendo.com>
9400 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9401 Make sure we never call the create function is we
9404 2005-07-19 Andy Wingo <wingo@pobox.com>
9406 * gst/parse/parse.l: Attempt to solve bug #172815.
9408 2005-07-19 Wim Taymans <wim@fluendo.com>
9410 * docs/design/part-clocks.txt:
9411 * docs/design/part-events.txt:
9412 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
9414 Only update the seeking values when we are not
9417 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
9419 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9420 Oops, ignore the result of gst_pad_push_event here.
9422 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
9424 * gst/base/gstbasesrc.c: (gst_base_src_loop),
9425 (gst_base_src_activate_push):
9426 Send discont event from the loop function, as pads
9427 aren't activated yet in the activate_push handler.
9429 * gst/gstbin.c: (bin_bus_handler):
9430 Don't leak element name.
9432 2005-07-18 Andy Wingo <wingo@pobox.com>
9434 * configure.ac: Use AS_LIBTOOL_TAGS.
9436 2005-07-18 Wim Taymans <wim@fluendo.com>
9438 * docs/gst/gstreamer.types:
9439 Remove deleted types.
9441 2005-07-18 Wim Taymans <wim@fluendo.com>
9443 * check/elements/gstfakesrc.c: (GST_START_TEST):
9446 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
9447 (init_popt_callback):
9449 * gst/gst_private.h:
9450 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
9451 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
9454 * gst/gstconfig.h.in:
9455 * gst/gstelement.c: (gst_element_class_init),
9456 (gst_element_set_base_time), (gst_element_get_base_time),
9457 (iterator_fold_with_resync), (gst_element_change_state),
9458 (gst_element_dispose), (gst_element_get_bus):
9460 * gst/gstelementfactory.h:
9461 * gst/gsterror.c: (_gst_core_errors_init):
9464 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9466 * gst/gstinfo.c: (_gst_debug_init):
9467 * gst/gstmessage.c: (_gst_message_copy):
9469 * gst/gstminiobject.h:
9472 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9473 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
9476 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9477 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9478 (gst_pipeline_get_last_stream_time):
9479 * gst/gstpipeline.h:
9480 * gst/gstpluginfeature.h:
9482 * gst/gstscheduler.c:
9483 * gst/gstscheduler.h:
9484 * gst/gststructure.h:
9485 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9486 (gst_task_finalize), (gst_task_func), (gst_task_create),
9487 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
9488 (gst_task_stop), (gst_task_pause):
9490 * gst/gsttypefind.h:
9492 * gst/registries/gstlibxmlregistry.c: (load_feature),
9493 (gst_xml_registry_load), (gst_xml_registry_save_feature):
9494 * gst/registries/gstxmlregistry.c:
9495 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
9496 * gst/schedulers/threadscheduler.c:
9497 * libs/gst/control/dparammanager.h:
9498 * tools/gst-inspect.c: (print_element_list),
9499 (print_plugin_features), (print_element_features):
9500 * tools/gst-xmlinspect.c: (print_element_list),
9501 (print_plugin_info), (main):
9502 Removed plugable schedulers.
9503 Removed Scheduler/Manager from elements.
9504 Removed gsttypes.h, rearranged includes.
9505 Removed dependency pad<->element, element<>pipeline, and
9506 various others, fix includes.
9507 implement gst_pad_get_parent() with gst_object_get_parent()
9508 Make GstTask sefcontained.
9509 Fix _get_state() on GstBin, it did not return ASYNC with a 0
9511 Fix endless loop in iterator_fold_with_resync.
9514 2005-07-18 Wim Taymans <wim@fluendo.com>
9520 2005-07-18 Wim Taymans <wim@fluendo.com>
9525 2005-07-18 Wim Taymans <wim@fluendo.com>
9531 2005-07-18 Wim Taymans <wim@fluendo.com>
9533 * docs/design/part-dynamic.txt:
9534 * docs/design/part-events.txt:
9535 * docs/design/part-seeking.txt:
9536 Some more docs in the works.
9538 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9539 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
9540 (gst_base_transform_setcaps), (gst_base_transform_get_size),
9541 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
9542 (gst_base_transform_handle_buffer),
9543 (gst_base_transform_sink_activate_push),
9544 (gst_base_transform_src_activate_pull),
9545 (gst_base_transform_set_passthrough),
9546 (gst_base_transform_is_passthrough):
9549 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
9552 * gst/gstevent.c: (gst_event_finalize):
9555 * gst/gstutils.c: (gst_element_unlink),
9556 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
9557 (gst_pad_proxy_setcaps):
9559 Add _get_parent_element() to get a pads parent as an element.
9561 2005-07-18 Wim Taymans <wim@fluendo.com>
9563 * check/gst/gstbin.c: (GST_START_TEST):
9566 2005-07-18 Wim Taymans <wim@fluendo.com>
9568 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9569 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9570 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9571 (gst_base_sink_event), (gst_base_sink_do_sync),
9572 (gst_base_sink_chain), (gst_base_sink_loop),
9573 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
9574 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
9576 Fix logic for returning ASYNC when not prerolled.
9578 2005-07-18 Wim Taymans <wim@fluendo.com>
9580 * gst/gstqueue.c: (gst_queue_handle_sink_event):
9581 Fix nasty refcount bug.
9583 2005-07-16 Philippe Khalaf <burger@speedy.org>
9585 * gst/elements/gstfdsrc.c:
9586 * gst/elements/gstfdsrc.h:
9587 * gst/elements/gstelements.c:
9588 * gst/elements/Makefile.am:
9589 Ported fdsrc to 0.9.
9591 2005-07-16 Wim Taymans <wim@fluendo.com>
9593 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9594 (gst_base_sink_do_sync):
9597 2005-07-16 Wim Taymans <wim@fluendo.com>
9599 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9600 (gst_base_sink_event), (gst_base_sink_get_times),
9601 (gst_base_sink_do_sync), (gst_base_sink_change_state):
9602 * gst/base/gstbasesink.h:
9603 Store and use discont values when syncing buffers as described
9606 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9607 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9608 (gst_base_src_activate_push):
9609 Push discont event when starting.
9611 * gst/elements/gstidentity.c: (gst_identity_transform):
9614 * gst/gstbin.c: (gst_bin_change_state):
9615 Small cleanups in base_time distribution.
9617 * gst/gstelement.c: (gst_element_set_base_time),
9618 (gst_element_get_base_time), (gst_element_change_state):
9620 Added methods for the base_time of the element.
9623 * gst/gstpipeline.c: (gst_pipeline_send_event),
9624 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9625 (gst_pipeline_get_last_stream_time):
9626 * gst/gstpipeline.h:
9628 Handle seeking as described in design doc, remove stream_time
9630 Cleanups clock and stream_time selection code. Added accessors
9631 for the stream_time.
9634 2005-07-16 Andy Wingo <wingo@pobox.com>
9636 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9639 2005-07-16 Wim Taymans <wim@fluendo.com>
9641 * check/gst/gstbin.c: (GST_START_TEST):
9642 Make elements silent as the deep_notify refs the
9643 parent, which might make the test fail.
9645 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9646 Don't hold the lock for too long.
9648 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
9650 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9651 Don't unref the caps we passed to gst_caps_make_writable() after
9652 passing them. gst_caps_make_writable() will do that for us.
9654 2005-07-15 Andy Wingo <wingo@pobox.com>
9656 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9659 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9660 own marshalling function for the handoff signal. Properly type the
9661 buffer as a buffer. Fixes some warnings. Should do a more general
9663 (gst_identity_class_init): Plug into the right marshaller.
9665 2005-07-15 Wim Taymans <wim@fluendo.com>
9667 * docs/design/part-TODO.txt:
9668 * docs/design/part-clocks.txt:
9669 * docs/design/part-element-sink.txt:
9670 * docs/design/part-events.txt:
9671 * docs/design/part-gstpipeline.txt:
9672 Updated docs, mostly DISCONT related.
9674 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
9676 * docs/pwg/building-pads.xml:
9677 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9679 2005-07-15 Andy Wingo <wingo@pobox.com>
9681 * tools/gst-typefind.c: Update, add copyright block.
9683 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9684 Normalize and truncate caps before fixation.
9687 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9688 discards all but the first structure from its argument.
9690 2005-07-15 Wim Taymans <wim@fluendo.com>
9692 * gst/base/gstbasetransform.c: (gst_base_transform_init),
9693 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9694 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9695 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9696 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9697 (gst_base_transform_chain), (gst_base_transform_change_state),
9698 (gst_base_transform_set_passthrough),
9699 (gst_base_transform_is_passthrough):
9700 * gst/base/gstbasetransform.h:
9701 Make passthrough work using the bufferpools.
9702 Changed API a bit, subclasses have to write into a buffer
9703 provided by the base class.
9704 More debug info in nego functions.
9706 * gst/elements/gstidentity.c: (gst_identity_init),
9707 (gst_identity_transform):
9708 Port to new base class.
9710 2005-07-15 Wim Taymans <wim@fluendo.com>
9712 * gst/gstmessage.c: (gst_message_new_state_changed):
9713 * tools/gst-launch.c: (event_loop), (main):
9714 Totally dump messages in -launch with the -m option.
9715 Fix message name for State messages,
9717 2005-07-14 Wim Taymans <wim@fluendo.com>
9719 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9720 Post error messages on errors.
9722 2005-07-14 Wim Taymans <wim@fluendo.com>
9724 * gst/gstcaps.c: (gst_caps_do_simplify):
9728 Define error for stream stopped.
9730 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9731 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9732 Do proper return values.
9734 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9735 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9736 (gst_pad_get_range):
9737 Better return values.
9740 Reorganise return values, add macro to check for fatal errors.
9742 * gst/gstqueue.c: (gst_queue_chain):
9743 Return proper GstFlowReturn values,
9745 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
9747 * docs/gst/gstreamer-sections.txt:
9748 * docs/gst/gstreamer.types:
9749 * docs/gst/tmpl/gst.sgml:
9750 * docs/gst/tmpl/gstbasesink.sgml:
9751 * docs/gst/tmpl/gstbasesrc.sgml:
9752 * docs/gst/tmpl/gstbasetransform.sgml:
9753 * docs/gst/tmpl/gstbin.sgml:
9754 * docs/gst/tmpl/gstbuffer.sgml:
9755 * docs/gst/tmpl/gstcaps.sgml:
9756 * docs/gst/tmpl/gstclock.sgml:
9757 * docs/gst/tmpl/gstcompat.sgml:
9758 * docs/gst/tmpl/gstconfig.sgml:
9759 * docs/gst/tmpl/gstelement.sgml:
9760 * docs/gst/tmpl/gstelementdetails.sgml:
9761 * docs/gst/tmpl/gstelementfactory.sgml:
9762 * docs/gst/tmpl/gstenumtypes.sgml:
9763 * docs/gst/tmpl/gsterror.sgml:
9764 * docs/gst/tmpl/gstevent.sgml:
9765 * docs/gst/tmpl/gstfakesink.sgml:
9766 * docs/gst/tmpl/gstfakesrc.sgml:
9767 * docs/gst/tmpl/gstfilesink.sgml:
9768 * docs/gst/tmpl/gstfilesrc.sgml:
9769 * docs/gst/tmpl/gstfilter.sgml:
9770 * docs/gst/tmpl/gstformat.sgml:
9771 * docs/gst/tmpl/gstghostpad.sgml:
9772 * docs/gst/tmpl/gstimplementsinterface.sgml:
9773 * docs/gst/tmpl/gstindex.sgml:
9774 * docs/gst/tmpl/gstindexfactory.sgml:
9775 * docs/gst/tmpl/gstinfo.sgml:
9776 * docs/gst/tmpl/gstiterator.sgml:
9777 * docs/gst/tmpl/gstmacros.sgml:
9778 * docs/gst/tmpl/gstmemchunk.sgml:
9779 * docs/gst/tmpl/gstminiobject.sgml:
9780 * docs/gst/tmpl/gstobject.sgml:
9781 * docs/gst/tmpl/gstpad.sgml:
9782 * docs/gst/tmpl/gstpadtemplate.sgml:
9783 * docs/gst/tmpl/gstparse.sgml:
9784 * docs/gst/tmpl/gstpipeline.sgml:
9785 * docs/gst/tmpl/gstplugin.sgml:
9786 * docs/gst/tmpl/gstpluginfeature.sgml:
9787 * docs/gst/tmpl/gstquery.sgml:
9788 * docs/gst/tmpl/gstqueue.sgml:
9789 * docs/gst/tmpl/gstregistry.sgml:
9790 * docs/gst/tmpl/gstregistrypool.sgml:
9791 * docs/gst/tmpl/gstscheduler.sgml:
9792 * docs/gst/tmpl/gstschedulerfactory.sgml:
9793 * docs/gst/tmpl/gststructure.sgml:
9794 * docs/gst/tmpl/gstsystemclock.sgml:
9795 * docs/gst/tmpl/gsttaglist.sgml:
9796 * docs/gst/tmpl/gsttagsetter.sgml:
9797 * docs/gst/tmpl/gsttrace.sgml:
9798 * docs/gst/tmpl/gsttrashstack.sgml:
9799 * docs/gst/tmpl/gsttypefind.sgml:
9800 * docs/gst/tmpl/gsttypefindfactory.sgml:
9801 * docs/gst/tmpl/gsttypes.sgml:
9802 * docs/gst/tmpl/gsturihandler.sgml:
9803 * docs/gst/tmpl/gsturitype.sgml:
9804 * docs/gst/tmpl/gstutils.sgml:
9805 * docs/gst/tmpl/gstvalue.sgml:
9806 * docs/gst/tmpl/gstversion.sgml:
9807 * docs/gst/tmpl/gstxml.sgml:
9808 * docs/libs/tmpl/gstcontrol.sgml:
9809 * docs/libs/tmpl/gstdataprotocol.sgml:
9810 * docs/libs/tmpl/gstdparam.sgml:
9811 * docs/libs/tmpl/gstdplinint.sgml:
9812 * docs/libs/tmpl/gstdpman.sgml:
9813 * docs/libs/tmpl/gstdpsmooth.sgml:
9814 * docs/libs/tmpl/gstgetbits.sgml:
9815 * docs/libs/tmpl/gstunitconvert.sgml:
9816 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9817 (gst_push_src_base_init), (gst_push_src_class_init),
9818 (gst_push_src_init), (gst_push_src_create):
9819 * gst/base/gstpushsrc.h:
9820 * gst/elements/gstelements.c:
9821 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9822 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9823 (gst_fake_sink_init), (gst_fake_sink_set_property),
9824 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9825 (gst_fake_sink_event), (gst_fake_sink_preroll),
9826 (gst_fake_sink_render), (gst_fake_sink_change_state):
9827 * gst/elements/gstfakesink.h:
9828 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9829 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9830 (gst_fake_src_base_init), (gst_fake_src_class_init),
9831 (gst_fake_src_init), (gst_fake_src_event_handler),
9832 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9833 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9834 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9835 (gst_fake_src_create_buffer), (gst_fake_src_create),
9836 (gst_fake_src_start), (gst_fake_src_stop):
9837 * gst/elements/gstfakesrc.h:
9838 * gst/elements/gstfilesink.c: (_do_init),
9839 (gst_file_sink_base_init), (gst_file_sink_class_init),
9840 (gst_file_sink_init), (gst_file_sink_dispose),
9841 (gst_file_sink_set_location), (gst_file_sink_set_property),
9842 (gst_file_sink_get_property), (gst_file_sink_open_file),
9843 (gst_file_sink_close_file), (gst_file_sink_query),
9844 (gst_file_sink_event), (gst_file_sink_render),
9845 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9846 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9847 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9848 * gst/elements/gstfilesink.h:
9849 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9850 (gst_file_src_class_init), (gst_file_src_init),
9851 (gst_file_src_finalize), (gst_file_src_set_location),
9852 (gst_file_src_set_property), (gst_file_src_get_property),
9853 (gst_file_src_map_region), (gst_file_src_map_small_region),
9854 (gst_file_src_create_mmap), (gst_file_src_create_read),
9855 (gst_file_src_create), (gst_file_src_is_seekable),
9856 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9857 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9858 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9859 (gst_file_src_uri_handler_init):
9860 * gst/elements/gstfilesrc.h:
9861 more autistic cleanliness in functions/names/defines
9863 2005-07-13 Andy Wingo <wingo@pobox.com>
9865 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9866 source couldn't negotiate.
9868 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9872 * gst/gstutils.c (gst_element_link_pads_filtered): New old
9873 function. I am channeling Hades. Put your boots on suckers!!!
9875 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9877 * testsuite/caps/Makefile.am:
9878 * testsuite/caps/value_compare.c:
9879 * testsuite/caps/value_intersect.c:
9880 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9881 move two testsuite apps over to the check dir
9883 2005-07-12 Wim Taymans <wim@fluendo.com>
9885 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9886 Added more debug info in the negotiate process.
9889 Prepare for segment playback.
9891 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9897 * tools/gst-launch.c: (main):
9898 NULL pipeline on errors.
9900 2005-07-12 Andy Wingo <wingo@pobox.com>
9902 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9903 not it comes from a malloc region. Make sure our copy gets freed.
9905 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9907 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9908 * check/gst/gstmessage.c: (GST_START_TEST):
9909 * check/gst/gststructure.c: (GST_START_TEST),
9910 (gst_structure_suite), (main):
9912 * gst/gstelement.c: (gst_element_message_full):
9913 clean up GError and debug string now that they get copied
9914 * gst/gstmessage.c: (gst_message_new_error),
9915 (gst_message_new_warning), (gst_message_parse_error),
9916 (gst_message_parse_warning):
9917 use GST_TYPE_G_ERROR for structure_new, and take copies of
9918 arguments, so that we don't mess up refcounting
9920 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9922 * check/Makefile.am:
9923 add per-test valgrind targets
9924 * check/gst-libs/gdp.c: (GST_START_TEST),
9925 (gst_data_protocol_suite), (main):
9928 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
9930 * check/Makefile.am:
9931 instate more valgrindable tests
9932 * check/elements/gstfakesrc.c: (chain_func), (event_func),
9933 (GST_START_TEST), (fakesrc_suite):
9934 * check/gst/gstpad.c: (GST_START_TEST):
9935 * check/gst/gststructure.c: (GST_START_TEST):
9937 * docs/gst/tmpl/gstminiobject.sgml:
9938 * gst/gstpad.c: (gst_pad_finalize):
9939 fix the static mutex leak
9941 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9943 * check/Makefile.am:
9944 add two more tests for valgrinding
9945 * check/gst/gstvalue.c: (GST_START_TEST):
9946 test refcount of deserialized buffer, found a leak
9947 * docs/gst/gstreamer-docs.sgml:
9948 * docs/gst/gstreamer-sections.txt:
9949 * docs/gst/gstreamer.types:
9950 * docs/gst/tmpl/gstminiobject.sgml:
9951 add miniobject to docs
9952 * gst/gstminiobject.c:
9954 * gst/gstvalue.c: (gst_value_deserialize_buffer),
9955 (gst_string_unwrap):
9956 fix a hard-to-find invalid write for one of the tests
9957 fix a leak for deserialized buffers
9959 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9961 * docs/pwg/advanced-events.xml:
9962 * docs/pwg/advanced-request.xml:
9963 * docs/pwg/advanced-scheduling.xml:
9964 * docs/pwg/appendix-porting.xml:
9965 * docs/pwg/building-boiler.xml:
9966 * docs/pwg/intro-preface.xml:
9967 * docs/pwg/other-ntoone.xml:
9968 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
9969 of example code and explanation for pad activation, loop() and
9970 getrange() functions and a bit more. Remove old comments pointing
9972 * examples/pwg/Makefile.am:
9973 Add loop/getrange examples.
9975 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
9978 check for valgrind binary + some fixes
9980 valgrind suppressions for the tests
9981 * check/Makefile.am:
9982 add a valgrind: target that valgrinds the unit tests
9983 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
9984 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
9985 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
9986 * check/gst/gstghostpad.c:
9988 * check/gst/gstdata.c:
9990 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
9991 (thread_unref), (gst_mini_object_suite), (main):
9993 * gst/gst.c: (gst_deinit):
9995 add a method to clean up.
9996 * gst/gstsystemclock.c: (gst_system_clock_dispose),
9997 (gst_system_clock_obtain):
9998 allow for disposing the system clock.
9999 * tools/gst-launch.c: (main):
10002 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
10004 * docs/gst/tmpl/gstbasesrc.sgml:
10005 * docs/gst/tmpl/gstfakesrc.sgml:
10006 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10007 (gst_base_src_init), (gst_base_src_set_property),
10008 (gst_base_src_get_property), (gst_base_src_get_range),
10009 (gst_base_src_start):
10010 * gst/base/gstbasesrc.h:
10011 add num-buffers property
10012 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10013 (gst_fakesrc_init), (gst_fakesrc_set_property),
10014 (gst_fakesrc_get_property), (gst_fakesrc_create),
10015 (gst_fakesrc_start):
10016 remove num-buffers property
10018 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
10020 * docs/gst/gstreamer-sections.txt:
10021 * docs/gst/tmpl/gstbasesink.sgml:
10022 * docs/gst/tmpl/gstbasesrc.sgml:
10023 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
10024 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
10025 (gst_base_sink_finalize), (gst_base_sink_set_clock),
10026 (gst_base_sink_set_property), (gst_base_sink_get_property),
10027 (gst_base_sink_handle_object), (gst_base_sink_event),
10028 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10029 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
10030 (gst_base_sink_loop), (gst_base_sink_deactivate),
10031 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
10032 (gst_base_sink_change_state):
10033 * gst/base/gstbasesink.h:
10034 * gst/base/gstbasesrc.h:
10035 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
10036 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10037 (gst_filesink_init):
10038 more macro splitting
10040 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
10042 * gst/gstelement.c: (gst_element_get_bus):
10044 * tools/gst-launch.c: (check_intr), (event_loop):
10047 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
10049 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
10052 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
10054 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10055 (gst_base_src_finalize):
10056 add finalize method and clean up properly
10057 * gst/gstpipeline.c: (gst_pipeline_dispose):
10060 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
10062 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
10064 add more things to check
10065 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
10066 * gst/gstelement.c:
10069 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
10071 * check/elements/gstfakesrc.c: (chain_func), (event_func),
10072 (GST_START_TEST), (fakesrc_suite):
10073 * check/gst-libs/gdp.c: (GST_START_TEST):
10074 * check/gst/gst.c: (GST_START_TEST):
10075 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
10076 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10077 * check/gst/gstbus.c: (GST_START_TEST):
10078 * check/gst/gstcaps.c: (GST_START_TEST):
10079 * check/gst/gstdata.c: (GST_START_TEST):
10080 * check/gst/gstelement.c: (GST_START_TEST):
10081 * check/gst/gstghostpad.c: (GST_START_TEST):
10082 * check/gst/gstiterator.c: (GST_START_TEST):
10083 * check/gst/gstmessage.c: (GST_START_TEST):
10084 * check/gst/gstobject.c: (GST_START_TEST):
10085 * check/gst/gstpad.c: (GST_START_TEST):
10086 * check/gst/gststructure.c: (GST_START_TEST):
10087 * check/gst/gstsystemclock.c: (GST_START_TEST),
10088 (gst_systemclock_suite):
10089 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10090 * check/gst/gstvalue.c: (GST_START_TEST):
10091 * check/pipelines/cleanup.c: (GST_START_TEST):
10092 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
10093 * check/states/sinks.c: (GST_START_TEST):
10094 * check/gstcheck.c: (gst_check_init):
10095 * check/gstcheck.h:
10096 add debugging category
10097 use GST_START_TEST now, so we add a debug line
10099 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
10101 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
10102 add test for state change message on a bin
10103 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
10105 * gst/gstbin.c: (gst_bin_init):
10106 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
10107 * gst/gstelement.c: (gst_element_post_message),
10108 (gst_element_set_state):
10109 * gst/gstelementfactory.c: (gst_element_factory_create):
10110 * gst/gstmessage.c: (gst_message_new):
10111 * gst/gstscheduler.c:
10112 various debugging additions and cleanups
10114 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
10116 * check/Makefile.am:
10117 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
10119 adding tests for elements
10120 * gst/gstelement.c: (gst_element_dispose):
10122 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
10124 * gst/registries/gstlibxmlregistry.c: (load_feature):
10125 plug more leaks. A simple gst_init() now is leakfree, yay.
10127 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
10129 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
10130 (gst_xml_registry_load):
10131 plug another memleak
10133 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
10136 use GST_SET_ERROR_CFLAGS
10137 * docs/faq/cvs.xml:
10138 change to ERROR_CFLAGS
10140 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
10143 make GST_ERROR_CFLAGS overridable and re-enable Werror
10144 * docs/faq/cvs.xml:
10145 add a note about error CFLAGS
10146 * docs/gst/tmpl/gstfakesrc.sgml:
10147 * gst/elements/gstfakesrc.c:
10148 comment out some unused code
10149 * gst/gst.c: (split_and_iterate):
10150 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
10154 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
10156 * common/Makefile.am:
10157 * common/gtk-doc.mak:
10158 * docs/gst/Makefile.am:
10159 factor out gtk-doc.mak
10161 2005-07-07 Wim Taymans <wim@fluendo.com>
10163 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
10164 (gst_thread_scheduler_dispose):
10165 Unlock the STREAM_LOCK completely.
10167 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
10169 * check/Makefile.am:
10170 * check/elements/.cvsignore:
10171 * check/elements/gstfakesrc.c: (chain_func), (event_func),
10172 (START_TEST), (fakesrc_suite), (main):
10173 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10174 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
10175 (gst_fakesrc_create), (gst_fakesrc_start):
10176 * gst/elements/gstfakesrc.h:
10177 adding a first element test
10179 2005-07-07 Andy Wingo <wingo@pobox.com>
10181 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
10184 2005-07-07 Wim Taymans <wim@fluendo.com>
10190 2005-07-07 Wim Taymans <wim@fluendo.com>
10192 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
10193 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
10194 Allow subclasses to implement their own negotiation.
10196 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
10198 * docs/design/part-gstbin.txt:
10199 * docs/design/part-gstpipeline.txt:
10200 Update design notes to reflect the movement of
10201 responsibility for bus handling from GstPipeline to
10204 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
10207 Remove unnecessary queue2/3/4 examples.
10209 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
10211 * examples/Makefile.am:
10212 * examples/helloworld/helloworld.c: (event_loop), (main):
10213 * examples/queue/queue.c: (event_loop), (main):
10214 * examples/queue2/queue2.c: (main):
10215 Update a couple of the examples to work again.
10217 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10218 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
10219 Spelling corrections and extra debug.
10221 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
10222 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
10223 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
10225 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
10226 (gst_pipeline_change_state):
10227 * gst/gstpipeline.h:
10228 Move the bus handler for children to the GstBin, and create a
10229 separate bus for receiving messages from children to the one the
10230 bus sends 'upwards' on.
10232 2005-07-06 Wim Taymans <wim@fluendo.com>
10235 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10236 (gst_base_sink_handle_object), (gst_base_sink_loop),
10237 (gst_base_sink_change_state):
10238 * gst/base/gstbasesink.h:
10239 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10240 (gst_base_src_init), (gst_base_src_setcaps),
10241 (gst_base_src_getcaps), (gst_base_src_loop),
10242 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
10243 (gst_base_src_start), (gst_base_src_change_state):
10244 * gst/base/gstbasesrc.h:
10245 Make basesrc negotiate.
10246 Handle the case where preroll fails in basesink.
10249 2005-07-06 Wim Taymans <wim@fluendo.com>
10251 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
10252 Implement the fixate function.
10253 Clean up acceptcaps.
10255 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10257 * docs/pwg/building-filterfactory.xml:
10258 * docs/pwg/pwg.xml:
10259 Remove never-written filter-factory chapter; I'll add the various
10260 base classes to part 4 ("other element types") later on.
10262 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10264 * docs/pwg/advanced-negotiation.xml:
10265 * docs/pwg/building-boiler.xml:
10266 * docs/pwg/building-pads.xml:
10267 * docs/pwg/pwg.xml:
10268 * examples/pwg/Makefile.am:
10269 Add a chapter on caps negotiation, simplify the original code
10270 samples a bit w.r.t. caps negotiation, add link to the advanced
10271 section. Add a bunch of examples showing different use cases of
10272 different types of caps negotiation. Upstream renegotiation isn't
10273 fully documented yet since nobody knows how that works.
10275 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
10277 * check/gst/gstpad.c:
10278 * check/gstcheck.c:
10279 * gst/gstpad.c: (gst_pad_get_internal_links_default):
10280 if pad has no parent, return NULL as list of internal links
10282 2005-07-05 Andy Wingo <wingo@pobox.com>
10284 * gst/elements/gstfilesrc.c:
10285 * gst/elements/gstfakesrc.c:
10286 * gst/base/gstpushsrc.c:
10287 * gst/base/gstbasesrc.h:
10288 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
10290 2005-07-05 Stefan Kost <ensonic@users.sf.net>
10293 better report generation target (lcov needs a patch)
10295 2005-07-05 Andy Wingo <wingo@pobox.com>
10297 * gst/elements, testsuite: Null if we got it...
10299 2005-07-05 Wim Taymans <wim@fluendo.com>
10302 * libs/gst/dataprotocol/Makefile.am:
10303 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
10304 * libs/gst/dataprotocol/dataprotocol.h:
10305 * pkgconfig/Makefile.am:
10306 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
10307 * pkgconfig/gstreamer-dataprotocol.pc.in:
10308 Ported dataprotol to 0.9.
10309 Added pkgconfig files.
10311 2005-07-05 Andy Wingo <wingo@pobox.com>
10313 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
10314 Default to returning TRUE for the case when tranform_caps returns
10315 a fixed caps, like for identity or volume.
10317 * check/gst/gstbus.c (pound_bus_with_messages):
10318 * check/gst/gstmessage.c (START_TEST):
10319 * check/pipelines/simple_launch_lines.c (got_handoff): Application
10320 message API change.
10322 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
10323 logic weaks here: always run transform_caps, trying passthrough
10324 operation only if the original caps intersects with the transform.
10326 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
10327 source and sink caps.
10329 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
10330 Intersect the peer caps with the pad template before going into
10332 (gst_base_transform_transform_caps): More debugging.
10334 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
10337 2005-07-04 Edward Hervey <edward@fluendo.com>
10341 (gst_pad_add_*_probe): now returns the signal id for better wrapping
10344 2005-07-04 Andy Wingo <wingo@pobox.com>
10346 * check/gst/gstpad.c: Only set explicit caps on pads.
10348 2005-07-01 Andy Wingo <wingo@pobox.com>
10350 * tests/network-clock.scm: Commentary update.
10352 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
10353 Didn't really make sense, not implementable with basetransform,
10355 (gst_identity_transform): Unref inbuf via make_writable. Feeble
10356 attempt at implementing the sync property, needs an unlock method.
10358 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
10359 New func, by default returns the same caps (the identity
10361 (gst_base_transform_getcaps): Uses transform_caps to return
10362 something sensible.
10363 (gst_base_transform_setcaps): Complicated logic to get caps on
10364 both pads, even if they are different, and to call set_caps once
10365 for every time both pads get their caps set.
10366 (gst_base_transform_handle_buffer): Give the ref to the transform
10367 function. Allows in-place modification of the buffer.
10369 * gst/base/gstbasetransform.h (transform_caps): New class method.
10370 Given caps on one side, what can I do on the other.
10371 (set_caps): Take two caps, one for each side of the element.
10374 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
10375 caps in place. This is safe because we can check the mutability of
10376 the caps, and a good idea because fixate functions are just called
10377 as a matter of last resort. (Not actually implemented.)
10378 (gst_pad_set_caps): If the caps we're setting is actually the same
10379 as the existing pad caps, just update the pointer without calling
10380 setcaps. Assert that caps is either NULL or fixed, as per the
10383 * gst/gstghostpad.c: Update for fixate changes.
10385 2005-07-02 Andy Wingo <wingo@pobox.com>
10388 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
10389 two refcounts makes it immutable, which is enough. Doc more.
10391 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
10393 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
10394 Put the mini_object into GValue as a mini_object,
10395 not a gpointer, since that's how we declared
10398 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10400 * examples/pwg/Makefile.am:
10401 Fix buildbot again.
10403 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10405 * docs/pwg/building-testapp.xml:
10407 * examples/pwg/Makefile.am:
10410 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10413 * examples/Makefile.am:
10414 * examples/pwg/Makefile.am:
10415 * examples/pwg/extract.pl:
10416 Enable building the PWG examples.
10417 * docs/pwg/advanced-interfaces.xml:
10418 Add URI interface stub.
10419 * docs/pwg/advanced-types.xml:
10420 * docs/pwg/other-autoplugger.xml:
10421 * docs/pwg/appendix-porting.xml:
10422 * docs/pwg/pwg.xml:
10423 Add porting guide (mostly stubs), remove autoplugging (see ADM).
10424 * docs/pwg/building-boiler.xml:
10425 * docs/pwg/building-chainfn.xml:
10426 * docs/pwg/building-pads.xml:
10427 * docs/pwg/building-props.xml:
10428 * docs/pwg/building-state.xml:
10429 * docs/pwg/building-testapp.xml:
10430 Update the building-*.xml parts for 0.9 changes. All examples
10431 code blocks compile in examples/pwg/*.
10433 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10435 * docs/manual/advanced-autoplugging.xml:
10436 * docs/manual/appendix-checklist.xml:
10437 * docs/manual/appendix-integration.xml:
10438 * docs/manual/highlevel-components.xml:
10439 Fix playbin/decodebin examples, update docs a bit, mention bus
10440 instead of signals in various places, mention kmplayer and
10441 kaffeine since they have a working GStreamer backend in the KDE
10444 2005-06-30 Wim Taymans <wim@fluendo.com>
10447 * docs/design/draft-ghostpads.txt:
10448 * docs/design/draft-push-pull.txt:
10449 * docs/design/draft-query.txt:
10450 * docs/design/part-TODO.txt:
10451 * docs/design/part-query.txt:
10452 Added CHANGES-0.9 doc, updated status of other docs.
10457 2005-06-30 Wim Taymans <wim@fluendo.com>
10459 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10460 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
10461 (gst_base_sink_change_state):
10462 * gst/base/gstbasesink.h:
10463 Some tweaks, only EOS and a buffer complete a preroll.
10465 2005-06-30 Andy Wingo <wingo@pobox.com>
10467 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
10468 activate_push down to the internal pad as well.
10470 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
10472 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10474 * gst/gsttaginterface.c:
10475 Some documentation fixes (#307394 and #307397).
10477 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
10479 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10481 * gst/gstvalue.c: (gst_value_intersect_list):
10482 Fix memleak (#309125).
10484 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10486 * docs/manual/advanced-dataaccess.xml:
10487 Fix fakesrc example to compile; doesn't work, bug somewhere...?
10488 * docs/manual/basics-pads.xml:
10489 Add reference for filtered caps to above chapter.
10491 2005-06-30 Wim Taymans <wim@fluendo.com>
10493 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
10494 (gst_bin_change_state):
10496 Lame attempt at making the state change function a bit
10499 2005-06-30 Wim Taymans <wim@fluendo.com>
10501 * docs/design/part-clocks.txt:
10502 * docs/design/part-element-sink.txt:
10503 * docs/design/part-events.txt:
10504 * docs/design/part-preroll.txt:
10505 * docs/design/part-states.txt:
10506 Some more tweeks and additions to the docs.
10508 2005-06-30 Wim Taymans <wim@fluendo.com>
10510 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10511 (default_have_data), (gst_pad_class_init), (gst_pad_init),
10512 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10513 (gst_pad_check_pull_range), (gst_pad_get_range),
10514 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
10516 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
10517 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10518 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10519 (gst_pad_remove_buffer_probe):
10520 Removed atomic operations, use existing LOCK.
10521 Move exception handling out of main code path.
10523 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10525 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10526 (silly_return_true_function), (gst_pad_class_init),
10527 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10528 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
10529 (gst_pad_send_event):
10530 Fix accumulator, add default value by using _emitv() instead
10531 of _emit() for signal emission.
10533 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10535 * docs/manual/advanced-dataaccess.xml:
10536 * examples/manual/Makefile.am:
10538 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
10541 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
10543 * gst/elements/gstfilesink.c: (gst_filesink_render):
10544 Simplify code so that we don't have to handle short
10545 writes and return GST_FLOW_ERROR if an error occured.
10547 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10549 * docs/gst/gstreamer-docs.sgml:
10550 Remove probes more.
10552 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10554 * docs/gst/gstreamer-sections.txt:
10555 * docs/gst/tmpl/gstpad.sgml:
10556 * docs/gst/tmpl/gstprobe.sgml:
10558 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10559 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
10560 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10561 (gst_pad_push_event), (gst_pad_send_event):
10563 * gst/gstutils.c: (gst_pad_add_data_probe),
10564 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10565 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10566 (gst_pad_remove_buffer_probe):
10568 Remove old probes, add new g-signal-based probes and some utility
10571 2005-06-29 Edward Hervey <edward@fluendo.com>
10573 * gst/gstelementfactory.c:
10576 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
10577 the definition to the header file.
10579 2005-06-29 Andy Wingo <wingo@pobox.com>
10581 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10582 plugins from the source directory.
10584 2005-06-29 Wim Taymans <wim@fluendo.com>
10586 * docs/gst/tmpl/gstbuffer.sgml:
10587 * docs/gst/tmpl/gstclock.sgml:
10588 Some fixings for blantently wrong text.
10590 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10592 * check/Makefile.am:
10593 * gst/gst.c: (add_path_func), (init_pre):
10594 * gst/gstregistry.c: (gst_registry_add_path):
10595 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10596 only scan the GST_PLUGIN_PATH locations, and not add
10599 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10601 * docs/gst/gstreamer-sections.txt:
10602 * docs/gst/tmpl/gstbasesrc.sgml:
10603 * gst/gstelement.c:
10604 * gst/gstelement.h:
10609 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10611 * docs/manual/advanced-autoplugging.xml:
10612 Fix autoplugging example.
10614 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10616 * docs/manual/advanced-autoplugging.xml:
10617 * docs/manual/mime-world.fig:
10618 Try to get autoplugging working, fix type detection. Fix text
10619 in hello-world image.
10621 2005-06-29 Wim Taymans <wim@fluendo.com>
10623 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10624 (gst_base_sink_change_state):
10628 map SIGNAL and BROADCAST to the right function.
10631 Remove redundant braces.
10633 * gst/gstpad.c: (gst_pad_set_caps):
10634 Don't call setcaps function when reseting caps to NULL.
10636 * gst/gstsystemclock.c: (gst_system_clock_dispose),
10637 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10638 (gst_system_clock_id_unschedule):
10639 Use BROADCAST as this is what we do.
10641 2005-06-29 Wim Taymans <wim@fluendo.com>
10643 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10644 We are actually prerolling before commiting the state
10647 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10649 * docs/manual/advanced-clocks.xml:
10650 * docs/manual/advanced-interfaces.xml:
10651 * docs/manual/advanced-metadata.xml:
10652 * docs/manual/advanced-position.xml:
10653 * docs/manual/advanced-schedulers.xml:
10654 * docs/manual/advanced-threads.xml:
10655 * docs/manual/appendix-porting.xml:
10656 * docs/manual/basics-bins.xml:
10657 * docs/manual/basics-bus.xml:
10658 * docs/manual/basics-elements.xml:
10659 * docs/manual/basics-helloworld.xml:
10660 * docs/manual/basics-pads.xml:
10661 * docs/manual/highlevel-components.xml:
10662 * docs/manual/manual.xml:
10663 * docs/manual/thread.fig:
10664 Update (until threads/scheduling) Application Development Manual;
10665 remove GstThread, add GstBus, add simple porting checklist, add
10666 documentation for tag writing, clocks, make all examples until this
10667 part compile and run.
10668 * examples/manual/Makefile.am:
10669 Update from changes to Application Development Manual; add bus
10670 example, remove thread example.
10672 2005-06-28 Wim Taymans <wim@fluendo.com>
10674 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10675 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10676 (gst_bus_source_dispatch):
10677 Add debugging messages.
10678 Make internal methods static.
10679 Handle the case where the bus is flushed in the handler.
10681 * gst/gstelement.c: (gst_element_get_bus):
10682 Fix refcount in _get_bus();
10684 * gst/gstpipeline.c: (gst_pipeline_change_state),
10685 (gst_pipeline_get_clock_func):
10686 Clock refcounting fixes.
10687 Handle the case where preroll timed out more gracefully.
10689 * gst/gstsystemclock.c: (gst_system_clock_dispose):
10690 Clean up the internal thread in dispose. This is needed
10691 for subclasses that actually get disposed.
10693 * gst/schedulers/threadscheduler.c:
10694 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10695 (gst_thread_scheduler_dispose):
10696 Free thread pool in dispose.
10698 2005-06-28 Andy Wingo <wingo@pobox.com>
10700 * tests/network-clock-utils.scm (debug, print-event): New utils.
10702 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10703 (*packet-loss*): Unified loss probability.
10704 (network-time): Report out-of-band events.
10706 * tests/plot-data: Add support for out-of-band events. Hack it
10707 into this script instead of passing it down the pipe; should fix
10710 2005-06-28 Wim Taymans <wim@fluendo.com>
10712 * docs/gst/gstreamer.types:
10713 * docs/gst/tmpl/gstbasesrc.sgml:
10714 * docs/gst/tmpl/gstpad.sgml:
10717 2005-06-28 Wim Taymans <wim@fluendo.com>
10719 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10720 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10721 (gst_proxy_pad_do_fixatecaps):
10722 Correctly proxy the check_pull_range function.
10724 2005-06-28 Andy Wingo <wingo@pobox.com>
10726 * tests/network-clock.scm: Removed need for slib.
10728 2005-06-28 Wim Taymans <wim@fluendo.com>
10730 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10731 (gst_basesink_preroll_queue_flush):
10732 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10733 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10734 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10735 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10736 (gst_proxy_pad_set_property):
10739 * gst/gstqueue.c: (gst_queue_init):
10740 The deprecated pad loop function is removed now.
10742 2005-06-28 Andy Wingo <wingo@pobox.com>
10744 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10745 New parameters, simulate network packet loss.
10747 * tests/network-clock-utils.scm: Initialize the RNG.
10749 2005-06-28 Wim Taymans <wim@fluendo.com>
10751 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10752 (gst_basesink_event), (gst_basesink_deactivate):
10753 Flushing the preroll queue always needs to unlock the waiters.
10755 2005-06-28 Edward Hervey <edward@fluendo.com>
10757 * gst/gstpipeline.c: (gst_pipeline_send_event):
10758 Wheen a seek was successful on a pipeline, set the stream_time to the
10759 seek offset in order to have a synchronized stream_time.
10761 2005-06-28 Wim Taymans <wim@fluendo.com>
10763 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10764 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10765 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10766 (gst_proxy_pad_do_fixatecaps):
10767 Call wrapper function instead of just calling the function
10768 pointers. This takes care of any locking and whatmore.
10770 2005-06-28 Wim Taymans <wim@fluendo.com>
10772 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10773 (gst_pad_pull_range):
10775 CONNECTED -> LINKED.
10777 2005-06-28 Andy Wingo <wingo@pobox.com>
10779 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10780 source-munging commit!!!
10782 * gst/gstobject.c (gst_object_unref, gst_object_ref)
10783 (gst_object_sink): Take gpointer arguments, not GstObject --
10784 avoids casts. Like GLib.
10786 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10789 2005-06-27 Andy Wingo <wingo@pobox.com>
10791 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10794 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10795 returns a sorted copy of the trace list.
10796 (gst_alloc_trace_print_live): New API, only prints traces with
10797 live objects. Sort the list.
10798 (gst_alloc_trace_print_all): Sort the list.
10799 (gst_alloc_trace_print): Align columns.
10801 * gst/elements/gstttypefindelement.c:
10802 * gst/elements/gsttee.c:
10803 * gst/base/gstbasesrc.c:
10804 * gst/base/gstbasesink.c:
10805 * gst/base/gstbasetransform.c:
10806 * gst/gstqueue.c: Adapt for pad activation changes.
10808 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10810 (gst_pipeline_dispose): Drop ref on sched.
10812 * gst/gstpad.c (gst_pad_init): Set the default activate func.
10813 (gst_pad_activate_default): Push mode by default.
10814 (pre_activate_switch, post_activate_switch): New stubs, things to
10815 do before and after switching activation modes on pads.
10816 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10817 the pad's activate function to choose which mode to activate.
10818 Shortcut on deactivation and call the right function directly.
10819 (gst_pad_activate_pull): New API, (de)activates a pad in pull
10821 (gst_pad_activate_push): New API, same for push mode.
10822 (gst_pad_set_activate_function)
10823 (gst_pad_set_activatepull_function)
10824 (gst_pad_set_activatepush_function): Setters for new API.
10826 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10827 Trace all miniobjects.
10828 (gst_mini_object_make_writable): Unref the arg if we copy, like
10829 gst_caps_make_writable.
10831 * gst/gstmessage.c (_gst_message_initialize): No trace init.
10833 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
10834 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10835 Adapt for new pad API.
10837 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10839 * gst/gstelement.h:
10840 * gst/gstelement.c (gst_element_iterate_src_pads)
10841 (gst_element_iterate_sink_pads): New API functions.
10843 * gst/gstelement.c (iterator_fold_with_resync): New utility,
10844 should fold into gstiterator.c in some form.
10845 (gst_element_pads_activate): Simplified via use of fold and
10846 delegation of decisions to gstpad->activate.
10848 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10851 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10852 class once in init, like gstmessage. Didn't run into this issue
10853 but it seems correct. Don't initialize a trace, gstminiobject does
10856 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10857 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10859 (assert_live_count): New util function, uses alloc traces to check
10862 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10863 To be modified when unlink drops the internal pad.
10865 2005-06-27 Wim Taymans <wim@fluendo.com>
10867 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10868 (gst_bin_change_state):
10869 Cleanup the get_state() function a little, make sure it
10870 iterates the same set of elements.
10871 Added stub iterate_state_order().
10873 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
10875 * docs/gst/gstreamer-docs.sgml:
10876 * docs/gst/gstreamer-sections.txt:
10877 * docs/gst/gstreamer.types:
10878 * docs/gst/tmpl/gstbasesink.sgml:
10879 * docs/gst/tmpl/gstbasesrc.sgml:
10880 * docs/gst/tmpl/gstbasetransform.sgml:
10881 * docs/gst/tmpl/gstelement.sgml:
10882 * docs/gst/tmpl/gstiterator.sgml:
10883 * gst/base/gstbasesrc.c:
10884 * gst/base/gstbasesrc.h:
10885 * gst/base/gstbasetransform.h:
10886 * gst/gstelement.c:
10887 * gst/gstiterator.h:
10888 adding basetransform and iterator docs
10890 2005-06-27 Andy Wingo <wingo@pobox.com>
10892 * docs/design/part-activation.txt: Notes on how activation should
10893 work -- not quite implemented yet.
10895 2005-06-25 Wim Taymans <wim@fluendo.com>
10897 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10898 At least get the chain function correct, needs more
10901 2005-06-25 Wim Taymans <wim@fluendo.com>
10903 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10904 (gst_basesink_handle_object), (gst_basesink_event),
10905 (gst_basesink_do_sync), (gst_basesink_handle_event),
10906 (gst_basesink_change_state):
10908 Right, two problems here: ghostpads don't take locks and
10909 glib _rec_mutex_lock_full() with depth==0 still locks.
10910 Catch illegal locking and g_warn them.
10912 2005-06-25 Wim Taymans <wim@fluendo.com>
10914 * check/states/sinks.c: (START_TEST), (gst_object_suite):
10915 Have to check for completion now...
10917 2005-06-25 Wim Taymans <wim@fluendo.com>
10919 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
10920 (gst_basesink_handle_object), (gst_basesink_event),
10921 (gst_basesink_do_sync), (gst_basesink_handle_event),
10922 (gst_basesink_change_state):
10924 Unlock STREAM_LOCK whatever the recursion was.
10926 2005-06-25 Wim Taymans <wim@fluendo.com>
10928 * gst/base/gstbasesink.c: (gst_basesink_set_property),
10929 (gst_basesink_preroll_queue_empty),
10930 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
10931 (gst_basesink_event), (gst_basesink_do_sync),
10932 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
10933 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
10934 (gst_basesink_change_state):
10935 Reworked the base sink, handle event and buffer serialisation
10936 correctly and removed possible deadlock.
10937 Handle EOS correctly.
10939 2005-06-25 Wim Taymans <wim@fluendo.com>
10941 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
10942 (gst_pipeline_change_state):
10943 * tools/gst-launch.c: (check_intr), (event_loop), (main):
10944 Allow elements to post EOS in the state change function.
10945 Fix up -launch, make it exit the poll loop when the
10946 pipeline actually changed state.
10947 Fix up warning parsing in -launch.
10949 2005-06-25 Wim Taymans <wim@fluendo.com>
10951 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
10952 (gst_tee_sink_activate):
10953 Core takes STREAM_LOCK for us now.
10955 2005-06-25 Wim Taymans <wim@fluendo.com>
10957 * gst/gstelement.c: (gst_element_get_state_func),
10958 (gst_element_set_state):
10959 * gst/gstelement.h:
10960 * gst/gstmessage.c: (gst_message_parse_error),
10961 (gst_message_parse_warning):
10962 Keep track of current target state while performing a state
10963 change so that subclasses can do something interesting.
10964 Fix parsing of warning/error messages when GError is NULL.
10966 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
10968 * docs/gst/Makefile.am:
10969 * docs/gst/gstreamer-docs.sgml:
10970 * docs/gst/gstreamer-sections.txt:
10971 * docs/gst/gstreamer.types:
10972 * docs/gst/tmpl/gstbasesink.sgml:
10973 * docs/gst/tmpl/gstbasesrc.sgml:
10974 * docs/gst/tmpl/gstbin.sgml:
10975 * docs/gst/tmpl/gstcompat.sgml:
10976 * docs/gst/tmpl/gstfakesink.sgml:
10977 * docs/gst/tmpl/gstfakesrc.sgml:
10978 * docs/gst/tmpl/gstfilesink.sgml:
10979 * docs/gst/tmpl/gstfilesrc.sgml:
10980 * docs/gst/tmpl/gstindex.sgml:
10981 * docs/manual/appendix-quotes.xml:
10982 * gst/base/gstbasesrc.h:
10983 * gst/elements/gstfakesrc.h:
10984 * gst/gstmessage.h:
10985 start pulling in base classes and elements in our docs
10987 2005-06-24 Stefan Kost <ensonic@users.sf.net>
10989 * docs/gst/Makefile.am:
10990 * docs/libs/Makefile.am:
10991 fixed make distcheck with gtk-doc 1.3
10993 2005-06-23 Wim Taymans <wim@fluendo.com>
10995 * gst/gstelement.c: (gst_element_get_state_func),
10996 (gst_element_set_state), (gst_element_change_state):
10997 When the state did not change, also report NO_PREROLL
11000 2005-06-23 Wim Taymans <wim@fluendo.com>
11002 * gst/gstpad.c: (gst_pad_event_default):
11003 * gst/gstqueue.c: (gst_queue_loop):
11004 No unsafe task pausing please.
11006 2005-06-23 Wim Taymans <wim@fluendo.com>
11008 * gst/schedulers/threadscheduler.c:
11009 (gst_thread_scheduler_task_start),
11010 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
11011 Ref the task before pushing it on the threadpool. This
11012 makes sure that we have a ref when the threadfunction is
11015 2005-06-23 Andy Wingo <wingo@pobox.com>
11017 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
11018 offset is greater than the file's size.
11020 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
11021 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
11022 * gst/gstobject.c (gst_object_class_init): Make the class lock
11023 recursive. Wim won't let me drop deep_notify. Decodebin works
11024 again, whoopdy doo.
11026 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
11027 internal pad, and hacks accordingly. Doesn't do it on the target
11028 pad because we change its caps. Probably catches all cases of
11030 (gst_ghost_pad_set_property): Connect to notify::caps as
11033 * tests/network-clock.scm (plot-simulation): Pipe data to the
11034 elite python skript.
11036 * tests/network-clock-utils.scm (define-parameter): New macro,
11037 defines a parameter that can be set via the command line.
11038 (set-parameter!, parse-parameter-arguments): Command line args
11041 * tests/plot-data: Simple matplotlib-based plotter, takes input on
11044 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
11046 * gst/elements/gsttypefindelement.c:
11047 (gst_type_find_element_handle_event):
11048 Don't restart typefinding on a discont.
11049 * gst/gstelement.c: (gst_element_set_state):
11050 Debug spelling fix.
11051 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
11052 Allow changing mode of an active pad.
11053 Debug output fixes.
11054 * gst/registries/gstlibxmlregistry.c: (load_feature):
11055 Don't cast a static pad template to a normal pad template.
11057 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
11059 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
11060 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11061 remove gst_strtoll completely, since it didn't actually do
11062 anything more than what g_ascii_strtoull already does.
11063 check for range errors when deserializing
11064 do a cast for the unsigned cases; but further fixing needs
11065 a decision on what the interpretation of "(int)" and
11066 deserialization should be for values that fall outside the
11067 type's boundaries (ie, refuse, or interpret as casting)
11069 2005-06-23 Wim Taymans <wim@fluendo.com>
11071 * check/Makefile.am:
11072 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
11073 * docs/design/part-live-source.txt:
11074 * docs/design/part-states.txt:
11075 * gst/base/gstbasesrc.c: (gst_basesrc_init),
11076 (gst_basesrc_set_live), (gst_basesrc_is_live),
11077 (gst_basesrc_get_range), (gst_basesrc_activate),
11078 (gst_basesrc_change_state):
11079 * gst/base/gstbasesrc.h:
11080 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11081 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11082 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
11083 * gst/gstelement.c: (gst_element_get_state_func),
11084 (gst_element_set_state):
11085 * gst/gstelement.h:
11087 * tools/gst-launch.c: (event_loop), (main):
11088 Added support for live sources and other elements that
11090 Updated design docs, added live-source design doc.
11091 Implemented live source functionality in basesrc
11092 Fix error condition in _bin_get_state()
11093 Implement live source handling in -launch.
11094 Added check for live sources.
11095 Fixed case in GstBin where elements were changed state
11099 2005-06-23 Andy Wingo <wingo@pobox.com>
11101 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
11102 borken refcounting.
11104 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
11105 gst_caps_replace takes care of this for us.
11107 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
11108 gst_pad_set_caps on the target, not just its setcaps() function.
11110 * tests/network-clock.scm:
11111 * tests/network-clock-utils.scm: A network clock simulator.
11112 Something of an algorithmic testbed before doing something in C.
11114 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
11116 * check/Makefile.am:
11117 * check/gst/capslist.h:
11118 copy over from 0.8, and add two with bitmasks specified with
11120 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
11121 add test to parse everything from capslist.h
11122 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
11124 add test for structure deserialization
11125 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
11126 add tests for deserialization of strings to int types
11127 * gst/gststructure.c: (gst_structure_nth_field_name):
11128 * gst/gststructure.h:
11129 add a way to get the name of a field referenced by index
11130 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11131 instead of checking if the resulting long long lies between
11132 min and max, we check if the long long would fit into
11133 a number of bytes for the final type.
11134 This fixes cases where a string represents 2^32 - 1, which
11135 when cast to int would be the (valid) -1, but is bigger than
11138 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
11140 * gst/parse/grammar.y:
11141 add a log line for type deserialization
11143 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
11145 * check/gst/gstvalue.c: (START_TEST):
11146 * gst/gstvalue.c: (gst_value_deserialize):
11147 return long long, not int, so gint64 deserialization actually
11148 works. Is there any flag that makes the compiler check this ?
11151 2005-06-22 Wim Taymans <wim@fluendo.com>
11154 Added convenience macros for setting buffers in GValue.
11156 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
11158 * check/gst/.cvsignore:
11159 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
11160 add a test deserializing int64, and comment part out because
11163 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
11165 * check/Makefile.am:
11166 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
11167 * testsuite/Makefile.am:
11168 * testsuite/caps/Makefile.am:
11169 * testsuite/caps/value_serialize.c:
11170 * testsuite/test_gst_init.c:
11171 move a value_serialize test over
11173 2005-06-20 Wim Taymans <wim@fluendo.com>
11178 * gst/gstvalue.c: (gst_value_compare_buffer),
11179 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
11180 (gst_value_compare_flags), (gst_value_serialize_flags),
11181 (gst_value_deserialize_flags), (_gst_value_initialize):
11182 Fix serialisation of buffers, they are not boxed types anymore
11184 2005-06-20 Wim Taymans <wim@fluendo.com>
11186 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
11187 Testcase to show error in buffer-on-caps serialisation.
11189 2005-06-20 Andy Wingo <wingo@pobox.com>
11191 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
11192 will be adding to later.
11194 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
11195 if its socks fill with rocks.
11196 (gst_system_clock_obtain): Set the name on object construction.
11197 Avoid double-checked locking.
11199 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
11201 * gst/gsturi.c: (gst_element_make_from_uri):
11202 Fix potential endless loop.
11204 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
11206 * check/Makefile.am:
11208 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
11210 move over from testsuite dir and clean up
11213 * testsuite/Makefile.am:
11214 * testsuite/tags/.cvsignore:
11215 * testsuite/tags/Makefile.am:
11216 * testsuite/tags/merge.c:
11217 remove testsuite/tags
11219 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
11221 * docs/gst/gstreamer-sections.txt:
11222 * docs/gst/tmpl/gstenumtypes.sgml:
11223 * win32/gstenumtypes.c:
11224 clean up documentation build a little
11226 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
11228 * check/gstcheck.h:
11229 add macros for checking refcounts on objects and caps
11230 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
11231 add some more unit tests
11232 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
11233 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
11234 fix leaked refcounts (I hope :)) so unittest works
11238 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
11240 * configure.ac: back to HEAD
11242 === release 0.9.1 ===
11244 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
11250 2005-06-17 Andy Wingo <wingo@pobox.com>
11252 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
11253 assert; it's always possible that the pad gets deactivated in
11254 between the checks in gstpad.c and the implementation. Rely on
11255 finish_preroll() to return a FLUSHING or similar instead of on the
11258 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
11259 clock and post an EOS message if we come out of finish_preroll in
11262 2005-06-16 David Schleef <ds@schleef.org>
11264 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
11265 (gst_capsfilter_set_property): Allow NULL as possible value
11266 for filter_caps property, indicating GST_CAPS_ANY.
11268 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
11270 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
11272 * gst/schedulers/Makefile.am:
11274 * gstreamer.spec.in:
11277 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
11279 * gstreamer.spec.in:
11282 2005-06-08 Andy Wingo <wingo@pobox.com>
11284 * gst/gstutils.c: RPAD fixes all around.
11285 (gst_element_link_pads): Refcounting fixes.
11287 * tools/gst-inspect.c:
11288 * tools/gst-xmlinspect.c:
11290 * gst/base/gsttypefindhelper.c:
11291 * gst/base/gstbasesink.c:
11292 * gst/gstqueue.c: RPAD fixes.
11294 * gst/gstghostpad.h:
11295 * gst/gstghostpad.c: New ghost pad implementation as full proxy
11296 pads. The tricky thing is they provide both source and sink
11297 interfaces, since they proxy the internal pad for the external
11298 pad, and vice versa. Implement with lower-level ProxyPad objects,
11299 with the interior proxy pad as a child of the exterior ghost pad.
11300 Should write a doc on this.
11302 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
11303 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
11306 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
11307 pads are real pads. No ghost pads in this file. Not documenting
11308 the myriad s/RPAD/PAD/ and REALIZE fixes.
11309 (gst_pad_class_init): Add properties for "direction" and
11310 "template". Both are construct-only, so they can't change during
11311 the life of the pad. Fixes properly deriving from GstPad.
11312 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
11313 derived objects, just set properties when creating the objects via
11315 (gst_pad_get_parent): Implement as a function, return NULL if the
11316 parent is not an element.
11317 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
11318 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
11320 * gst/gstobject.c (gst_object_class_init): Make name a construct
11321 property. Don't set it in the object init.
11323 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
11324 with UNKNOWN direction.
11325 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
11326 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
11327 (gst_element_remove_pad): Remove ghost-pad special cases.
11328 (gst_element_pads_activate): Remove rpad cruft.
11330 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
11331 catch the pad's-parent-not-an-element case.
11333 * gst/gst.h: Include gstghostpad.h.
11335 * gst/gst.c (init_post): No more real, ghost pads.
11337 * gst/Makefile.am: Add gstghostpad.[ch].
11339 * check/Makefile.am:
11340 * check/gst/gstbin.c:
11341 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
11342 into a bin creates ghost pads, and that the refcounts are right.
11343 Partly moved from gstbin.c.
11345 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
11347 * check/gst-libs/.cvsignore:
11348 * check/gst/.cvsignore:
11349 * check/pipelines/.cvsignore:
11351 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
11352 (START_TEST), (cleanup_suite), (main):
11353 add some tests related to cleanup after running pipelines
11355 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
11357 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
11358 add a testsuite for GstBuffer
11360 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
11362 * gst/gstminiobject.h:
11363 add defines for accessing the refcount
11365 2005-06-03 Stefan Kost <ensonic@users.sf.net>
11367 * Makefile.am: added support for html unit test coverage reports
11369 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
11371 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
11372 Free existing caps if the capsfilter changes. Add a FIXME about
11373 setting those caps on the pads.
11375 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
11376 Before adding a ghost pad to a parent bin, check that there isn't
11377 already one for the element on the bin. Prevents infinite recursion
11378 when using decodebin in parse pipelines. Andy says he'll rewrite the
11379 way this works anyway, so ignore the hack.
11381 2005-06-02 Andy Wingo <wingo@pobox.com>
11383 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
11384 file size, pass it on to the type find helper.
11386 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
11387 segment_start and segment_end properly according to the seek
11388 method. Segment_end is still a bit flaky because offset can be
11389 negative for CUR and END cases, but it takes -1 as an "unset"
11392 2005-06-02 Wim Taymans <wim@fluendo.com>
11394 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
11395 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
11396 (gst_basesink_activate):
11397 * gst/base/gstbasesink.h:
11398 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11399 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11400 (gst_pad_query), (gst_pad_start_task):
11402 * gst/gstqueue.c: (gst_queue_bufferalloc),
11403 (gst_queue_handle_sink_event), (gst_queue_chain):
11404 Bufferalloc: return GstFlowReturn to more accuratly report
11405 why allocation failed.
11407 2005-06-02 Wim Taymans <wim@fluendo.com>
11409 * gst/gstpipeline.c: (gst_pipeline_send_event):
11410 Take snapshot of state without blocking.
11412 2005-06-02 Wim Taymans <wim@fluendo.com>
11414 * docs/design/part-TODO.txt:
11415 * docs/design/part-caps.txt:
11416 * docs/design/part-clocks.txt:
11417 * docs/design/part-negotiation.txt:
11418 * docs/design/part-preroll.txt:
11421 2005-05-30 Wim Taymans <wim@fluendo.com>
11423 * gst/elements/gstidentity.c: (gst_identity_event),
11424 (gst_identity_transform), (gst_identity_get_property):
11425 Protect last_message property as it is accessed from
11428 2005-05-30 Wim Taymans <wim@fluendo.com>
11430 * gst/gstelement.c: (gst_element_init),
11431 (gst_element_pads_activate), (gst_element_change_state):
11432 Slicker pad activation code.
11434 2005-05-30 Wim Taymans <wim@fluendo.com>
11437 * gst/gstelement.h:
11438 * gst/gstelementfactory.h:
11440 Move elementfactory methods to separate .h file.
11442 2005-05-30 Wim Taymans <wim@fluendo.com>
11444 * docs/design/part-overview.txt:
11445 * gst/gstsystemclock.h:
11446 Small typo fixes, doc updates.
11448 2005-05-30 Wim Taymans <wim@fluendo.com>
11450 * gst/gst.c: (gst_init_get_popt_table), (init_post),
11451 (init_popt_callback):
11452 Remove cpu-opt flag.
11454 2005-05-30 Wim Taymans <wim@fluendo.com>
11456 * gst/gstbuffer.c: (gst_subbuffer_finalize),
11457 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
11459 Avoid typechecking in places where not needed.
11460 Added accessor for malloc_data.
11462 2005-05-30 Wim Taymans <wim@fluendo.com>
11464 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
11465 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
11466 (gst_pad_configure_sink), (gst_pad_configure_src),
11467 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
11468 (gst_pad_start_task):
11469 Propagate errors from _set_caps() in configure_src/sink
11470 functions instead of returning TRUE.
11471 FLUSH events can travel up and downstream
11474 2005-05-30 Wim Taymans <wim@fluendo.com>
11476 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11477 (gst_basesink_activate):
11478 Handle EOS in preroll.
11480 2005-05-30 Wim Taymans <wim@fluendo.com>
11482 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11483 (gst_queue_loop), (gst_queue_handle_src_event):
11484 Remove old pieces of code
11485 Flushing the queue in an upstream event is a very bad idea.
11487 2005-05-26 Andy Wingo <wingo@pobox.com>
11489 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
11490 gst_value_set_mini_object so as to add a ref on the object (which
11491 will be removed when the value is unset).
11493 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
11494 arg type in ::handoff.
11496 * gst/gstelement.c (gst_element_change_state): Also deactivate
11497 pads in READY->NULL, just in case the element didn't make it to
11498 PAUSED. Wingo tested, Wim approved.
11500 2005-05-26 Wim Taymans <wim@fluendo.com>
11502 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11503 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11504 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
11505 A flushing pad cannot be used to alloc_buffer from.
11507 2005-05-26 Wim Taymans <wim@fluendo.com>
11509 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
11510 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
11511 (gst_bus_source_dispatch), (gst_bus_source_finalize),
11512 (gst_bus_create_watch), (gst_bus_add_watch_full):
11514 Implement a real GSource and use g_main_context_wakeup() to
11515 signal new messages instead of the socketpair.
11517 2005-05-25 Wim Taymans <wim@fluendo.com>
11519 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
11520 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
11521 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11522 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11523 (gst_pad_send_event), (gst_pad_start_task):
11524 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
11525 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
11526 (gst_queue_sink_activate), (gst_queue_src_activate),
11527 (gst_queue_change_state):
11529 Fix state changes for non sinks. We now change sinks, then elements
11530 with unconnected srcpads, then the rest.
11531 More efficient queue unlocking in flush and state changes.
11532 Set the pad activate mode even if it does not have an activate
11535 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11537 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
11538 Don't go in pull mode for non-seekable sources.
11539 * gst/elements/gsttypefindelement.h:
11540 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11541 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
11542 (free_entry), (stop_typefinding),
11543 (gst_type_find_element_handle_event), (find_peek),
11544 (gst_type_find_element_chain), (do_pull_typefind),
11545 (gst_type_find_element_change_state):
11546 Allow typefinding (w/o seeking) in push-mode, simplified version
11547 of what was in 0.8.
11548 * gst/gstutils.c: (gst_buffer_join):
11550 gst_buffer_join() from 0.8.
11552 2005-05-25 Wim Taymans <wim@fluendo.com>
11554 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11555 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11556 (gst_pad_send_event), (gst_pad_start_task):
11557 Disable attempt at mode switching until it is figured out.
11559 2005-05-25 Wim Taymans <wim@fluendo.com>
11561 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
11562 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11563 (gst_basesink_finish_preroll), (gst_basesink_chain),
11564 (gst_basesink_loop), (gst_basesink_activate),
11565 (gst_basesink_change_state):
11566 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
11567 (gst_basesrc_get_range), (gst_basesrc_loop),
11568 (gst_basesrc_activate):
11569 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11570 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11571 (gst_real_pad_init), (gst_real_pad_set_property),
11572 (gst_real_pad_get_property), (gst_pad_set_active),
11573 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
11574 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
11575 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
11576 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
11577 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11578 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
11579 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11580 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11581 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11582 (gst_pad_stop_task):
11584 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11585 (gst_queue_loop), (gst_queue_src_activate):
11586 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11587 (gst_task_get_state):
11589 * gst/schedulers/threadscheduler.c:
11590 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11591 Implement gst_pad_pause/start/stop_task(), take STREAM lock
11593 Remove ACTIVE pad flag, use FLUSHING everywhere
11594 Added _pad_chain(), _pad_get_range() to call chain/getrange
11596 Add locks around IS_FLUSHING when reading.
11597 Take STREAM lock in chain(), get_range() functions so plugins
11598 don't need to take it anymore.
11602 2005-05-25 Wim Taymans <wim@fluendo.com>
11604 * tools/gst-launch.c: (event_loop):
11605 Unref message after using its contents instead of
11608 2005-05-24 Wim Taymans <wim@fluendo.com>
11610 * docs/design/draft-ghostpads.txt:
11611 * docs/design/draft-push-pull.txt:
11612 * docs/design/draft-query.txt:
11613 * docs/design/part-overview.txt:
11614 Docs updates, added general overview doc.
11616 2005-05-21 David Schleef <ds@schleef.org>
11618 * docs/gst/tmpl/old/GstBin.sgml:
11619 * docs/gst/tmpl/old/GstBuffer.sgml:
11620 * docs/gst/tmpl/old/GstCaps.sgml:
11621 * docs/gst/tmpl/old/GstClock.sgml:
11622 * docs/gst/tmpl/old/GstCompat.sgml:
11623 * docs/gst/tmpl/old/GstData.sgml:
11624 * docs/gst/tmpl/old/GstElement.sgml:
11625 * docs/gst/tmpl/old/GstEvent.sgml:
11626 * docs/gst/tmpl/old/GstIndex.sgml:
11627 * docs/gst/tmpl/old/GstStructure.sgml:
11628 * docs/gst/tmpl/old/GstTag.sgml:
11629 * docs/gst/tmpl/old/cothreads.sgml:
11630 * docs/gst/tmpl/old/cothreads_compat.sgml:
11631 * docs/gst/tmpl/old/gettext.sgml:
11632 * docs/gst/tmpl/old/gobject2gtk.sgml:
11633 * docs/gst/tmpl/old/grammar.tab.sgml:
11634 * docs/gst/tmpl/old/gst-i18n-app.sgml:
11635 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11636 * docs/gst/tmpl/old/gst_private.sgml:
11637 * docs/gst/tmpl/old/gstaggregator.sgml:
11638 * docs/gst/tmpl/old/gstarch.sgml:
11639 * docs/gst/tmpl/old/gstatomic_impl.sgml:
11640 * docs/gst/tmpl/old/gstbufferstore.sgml:
11641 * docs/gst/tmpl/old/gstdata_private.sgml:
11642 * docs/gst/tmpl/old/gstdisksink.sgml:
11643 * docs/gst/tmpl/old/gstdisksrc.sgml:
11644 * docs/gst/tmpl/old/gstelementfactory.sgml:
11645 * docs/gst/tmpl/old/gstextratypes.sgml:
11646 * docs/gst/tmpl/old/gstfakesink.sgml:
11647 * docs/gst/tmpl/old/gstfakesrc.sgml:
11648 * docs/gst/tmpl/old/gstfdsink.sgml:
11649 * docs/gst/tmpl/old/gstfdsrc.sgml:
11650 * docs/gst/tmpl/old/gstfilesink.sgml:
11651 * docs/gst/tmpl/old/gstfilesrc.sgml:
11652 * docs/gst/tmpl/old/gsthttpsrc.sgml:
11653 * docs/gst/tmpl/old/gstidentity.sgml:
11654 * docs/gst/tmpl/old/gstindexfactory.sgml:
11655 * docs/gst/tmpl/old/gstmarshal.sgml:
11656 * docs/gst/tmpl/old/gstmd5sink.sgml:
11657 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11658 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11659 * docs/gst/tmpl/old/gstpadtemplate.sgml:
11660 * docs/gst/tmpl/old/gstpipefilter.sgml:
11661 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11662 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11663 * docs/gst/tmpl/old/gstshaper.sgml:
11664 * docs/gst/tmpl/old/gstspider.sgml:
11665 * docs/gst/tmpl/old/gstspideridentity.sgml:
11666 * docs/gst/tmpl/old/gststatistics.sgml:
11667 * docs/gst/tmpl/old/gsttee.sgml:
11668 * docs/gst/tmpl/old/gsttimecache.sgml:
11669 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11670 * docs/gst/tmpl/old/gstxmlregistry.sgml:
11671 * docs/gst/tmpl/old/gthread-cothreads.sgml:
11672 * docs/gst/tmpl/old/types.sgml:
11673 I didn't intend to add these or check them in.
11675 2005-05-19 David Schleef <ds@schleef.org>
11677 * configure.ac: Use -no-common everywhere. In a sane world, it
11678 would be the default in libtool, because without it, you can't
11679 build DLLs on Windows.
11680 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11681 * docs/gst/gstreamer-sections.txt:
11682 * docs/gst/tmpl/gstcpu.sgml:
11683 * docs/gst/tmpl/gstdata.sgml:
11684 * docs/gst/tmpl/gstthread.sgml:
11686 2005-05-19 David Schleef <ds@schleef.org>
11688 * gst/gstminiobject.c: (gst_value_set_mini_object),
11689 (gst_value_take_mini_object), (gst_value_get_mini_object):
11690 * gst/gstminiobject.h: Add GValue set/get functions.
11692 2005-05-19 Wim Taymans <wim@fluendo.com>
11694 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11695 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11696 (gst_subbuffer_init), (gst_buffer_is_span_fast):
11698 * gst/gstbus.c: (gst_bus_post):
11699 * gst/gstelement.c: (gst_element_get_random_pad):
11700 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11701 Make subbufer unref the parent in finalize.
11702 some more debugging info.
11705 2005-05-19 Wim Taymans <wim@fluendo.com>
11707 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11708 (gst_basesink_init), (gst_basesink_finalize),
11709 (gst_basesink_activate), (gst_basesink_change_state):
11710 Don't free preroll queue too early.
11712 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11716 Hi, I'm outdated. Please shoot me.
11718 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11720 * gst/gstpipeline.c: (gst_pipeline_send_event):
11721 Do not access variables after they have been deleted.
11723 2005-05-19 Wim Taymans <wim@fluendo.com>
11725 * tools/gst-inspect.c: (print_plugin_features):
11726 A plugin feature does unfortunatly not use the
11729 2005-05-18 Wim Taymans <wim@fluendo.com>
11731 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11732 Port _span() functions to new subbuffers.
11734 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11736 * gst/gstbin.c: (gst_bin_add_func):
11737 Fix clock settery in bins when adding kids after the clock has
11740 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11742 * gst/elements/gstidentity.c: (gst_identity_class_init):
11743 Workaround until signals support GstMiniObject.
11745 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
11748 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11750 2005-05-18 Wim Taymans <wim@fluendo.com>
11752 * gst/base/Makefile.am:
11753 * gst/base/gstadapter.c: (gst_adapter_base_init),
11754 (gst_adapter_class_init), (gst_adapter_init),
11755 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11756 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11757 (gst_adapter_flush), (gst_adapter_available),
11758 (gst_adapter_available_fast):
11759 * gst/base/gstadapter.h:
11760 Ported and added adapter to the base classes.
11762 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11765 * gst/gstmessage.c:
11766 Make sure the class is reffed/unreffed once before threads can be
11767 used. Fixes #304551.
11769 2005-05-17 Wim Taymans <wim@fluendo.com>
11771 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11772 (gst_basesink_chain_unlocked), (gst_basesink_activate):
11773 * gst/gstminiobject.c: (gst_mini_object_get_type),
11774 (gst_mini_object_free):
11775 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11776 (gst_pad_push), (gst_pad_push_event):
11777 * gst/gstqueue.c: (gst_queue_change_state):
11778 Don't queue buffers in basesink when we are flushing.
11779 Unref buffer when flushing in basesink.
11780 Flush queue when going to READY
11781 Unref buffer when _push() returns an error.
11782 Don't free MiniObject instance when refcount is incremented
11783 in _finalize() so that we can recover objects.
11785 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
11787 * docs/manual/advanced-schedulers.xml:
11788 * docs/manual/appendix-checklist.xml:
11789 * docs/pwg/advanced-clock.xml:
11790 * docs/pwg/advanced-interfaces.xml:
11791 * docs/pwg/advanced-request.xml:
11792 * docs/pwg/advanced-types.xml:
11793 * docs/pwg/intro-preface.xml:
11794 * examples/plugins/example.c: (gst_example_get_type),
11795 (gst_example_class_init), (gst_example_chain),
11796 (gst_example_set_property), (gst_example_get_property),
11797 (gst_example_change_state), (plugin_init):
11798 * examples/plugins/example.h:
11801 2005-05-17 Wim Taymans <wim@fluendo.com>
11803 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11804 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11805 * gst/gstqueue.c: (gst_queue_change_state):
11806 Clear queue when going to READY.
11807 Remove IN_SETCAPS flag too.
11809 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
11811 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11812 Remove implicit cast from gboolean to GstElementStateReturn;
11813 make sure we still return failure in paused => ready case if
11814 the parent class fails to change state and our own stop
11817 2005-05-17 Wim Taymans <wim@fluendo.com>
11819 * tools/gst-launch.c: (event_loop):
11820 Message was unreffed too soon.
11822 2005-05-16 Andy Wingo <wingo@pobox.com>
11824 * gst/gstbin.c (sink_iterator_filter): Err... um...
11826 * check/gst/gstbin.c (test_ghost_pads): New test for the
11827 ghosting-if-elements-not-in-same-bin behavior.
11829 2005-05-16 David Schleef <ds@schleef.org>
11831 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11832 accessing refcount directly.
11834 2005-05-15 David Schleef <ds@schleef.org>
11836 * check/Makefile.am: remove GstData checks
11837 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11838 * gst/Makefile.am: add miniobject, remove data
11839 * gst/gst.h: add miniobject, remove data
11840 * gst/gstdata.c: remove
11841 * gst/gstdata.h: remove
11842 * gst/gstdata_private.h: remove
11843 * gst/gsttypes.h: remove GstEvent and GstMessage
11844 * gst/gstelement.c: (gst_element_post_message): fix for API changes
11845 * gst/gstmarshal.list: change BOXED -> OBJECT
11847 Implement GstMiniObject.
11848 * gst/gstminiobject.c:
11849 * gst/gstminiobject.h:
11851 Modify to be subclasses of GstMiniObject.
11852 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11853 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11854 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11855 (gst_subbuffer_get_type), (gst_subbuffer_init),
11856 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11859 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11860 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11861 (_gst_event_copy), (gst_event_new):
11863 * gst/gstmessage.c: (_gst_message_initialize),
11864 (gst_message_get_type), (gst_message_class_init),
11865 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11866 (gst_message_new), (gst_message_new_error),
11867 (gst_message_new_warning), (gst_message_new_tag),
11868 (gst_message_new_state_changed), (gst_message_new_application):
11869 * gst/gstmessage.h:
11870 * gst/gstprobe.c: (gst_probe_perform),
11871 (gst_probe_dispatcher_dispatch):
11873 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11874 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11875 (_gst_query_copy), (gst_query_new):
11877 Update elements for GstData -> GstMiniObject changes
11879 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11880 (gst_queue_chain), (gst_queue_loop):
11881 * gst/elements/gstbufferstore.c:
11882 (gst_buffer_store_add_buffer_func),
11883 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11884 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11885 (gst_fakesink_render):
11886 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11887 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11888 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11889 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11890 (gst_filesrc_create_read):
11891 * gst/elements/gstidentity.c: (gst_identity_class_init):
11892 * gst/elements/gsttypefindelement.c:
11893 (gst_type_find_element_src_event), (free_entry_buffers),
11894 (gst_type_find_element_handle_event):
11895 * libs/gst/dataprotocol/dataprotocol.c:
11896 (gst_dp_header_from_buffer):
11897 * libs/gst/dataprotocol/dataprotocol.h:
11898 * libs/gst/dataprotocol/dp-private.h:
11900 2005-05-15 David Schleef <ds@schleef.org>
11902 * gst/elements/gstelements.c: Don't include headers that were
11905 2005-05-15 David Schleef <ds@schleef.org>
11907 * gst/elements/Makefile.am: Remove some elements that don't
11908 need to be in the core (or even exist at all).
11909 * gst/elements/gstaggregator.c:
11910 * gst/elements/gstaggregator.h:
11911 * gst/elements/gstmd5sink.c:
11912 * gst/elements/gstmd5sink.h:
11913 * gst/elements/gstmultifilesrc.c:
11914 * gst/elements/gstmultifilesrc.h:
11915 * gst/elements/gstpipefilter.c:
11916 * gst/elements/gstpipefilter.h:
11917 * gst/elements/gstshaper.c:
11918 * gst/elements/gstshaper.h:
11919 * gst/elements/gststatistics.c:
11920 * gst/elements/gststatistics.h:
11921 * po/POTFILES.in: Remove above files.
11923 2005-05-14 Andy Wingo <wingo@pobox.com>
11925 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
11926 so as to get the refs right.
11927 (sink_iterator_filter): New function, wraps bin_element_is_sink,
11928 unreffing objects that don't pass the filter.
11930 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
11931 gst_element_set_bus.
11932 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
11933 normal cases, this will destroy the bus.
11935 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
11938 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
11941 2005-05-13 Andy Wingo <wingo@pobox.com>
11943 * gst/gstutils.c (gst_element_link_pads): Instead of calling
11944 gst_pad_link, call pad_link_maybe_ghosting,
11945 (pad_link_maybe_ghosting): Links pads, making sure that the
11946 elements being linked are in the same bin.
11947 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
11948 Helpers for pad_link_maybe_ghosting.
11950 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11953 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
11955 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
11957 * docs/design/part-element-source.txt:
11960 2005-05-12 Wim Taymans <wim@fluendo.com>
11962 * gst/base/gstbasesink.c: (gst_basesink_init),
11963 (gst_basesink_activate):
11964 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
11965 (gst_basesrc_is_seekable):
11966 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11967 (bin_element_is_sink), (gst_bin_change_state):
11968 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
11969 * gst/gstelement.h:
11970 Identify sinks by their flag to avoid overly complicated
11972 Do state changes even for elements not reachable from the
11974 BaseSink is a sink now :)
11975 Some more debugging info in the basesrc.
11978 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11980 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
11981 Implement _query on a bin, similar to _send_event.
11983 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
11985 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
11986 Discont event offset format should be GST_FORMAT_BYTES,
11987 not GST_FORMAT_TIME.
11989 2005-05-12 Wim Taymans <wim@fluendo.com>
11991 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
11992 Same fix as Ronald's but without the signal.
11994 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11996 * gst/gstutils.c: (gst_element_query_position):
11997 No, an element is not a pad.
11999 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12001 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
12002 (gst_bin_get_state):
12003 If a child is removed from a bin while we remove the child from
12004 the bin and while we're retrieving its state, signal this to the
12005 get_state function so we abort the wait (instead of waiting for
12006 a timeout) and can immediately re-iterate over all other elements.
12008 2005-05-12 Wim Taymans <wim@fluendo.com>
12010 * gst/base/Makefile.am:
12011 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
12012 (gst_basesrc_start):
12013 * gst/base/gstbasesrc.h:
12014 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
12015 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
12016 (gst_pushsrc_init), (gst_pushsrc_create):
12017 * gst/base/gstpushsrc.h:
12018 Added is_seekable to BaseSrc
12019 Added simple PushSrc.
12021 2005-05-11 Wim Taymans <wim@fluendo.com>
12023 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
12024 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12025 (gst_element_link_pads), (gst_element_query_position),
12026 (gst_element_query_convert), (intersect_caps_func),
12027 (gst_pad_query_position), (gst_pad_query_convert):
12028 Fix refcounting in utils function.
12029 No point in trying to activate a pad when it's added, it could
12030 be added from the state change function and then we deadlock, the
12031 element has to decide what to do.
12033 2005-05-10 Andy Wingo <wingo@pobox.com>
12035 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
12036 *all* the arguments.
12038 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
12039 stream lock if it's a FLUSH_DONE; normal flushes don't get the
12040 lock (according to the docs -- if this is wrong change the docs).
12042 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
12043 flush messages in the NULL state.
12045 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
12046 message immediately and return.
12047 (gst_bus_set_flushing): New function. If a bus is flushing, it
12048 flushes out any queued messages and immediately unrefs new
12049 messages. This is so when an element goes to NULL, all of the
12050 unhandled messages coming from it can be freed, and their
12051 references to the element dropped. In other words: message source
12052 ref considered harmful :P
12054 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
12055 we're finished with it.
12057 * gst/gstmessage.c (gst_message_new_state_changed):
12059 2005-05-10 Wim Taymans <wim@fluendo.com>
12061 * gst/gstvalue.c: (gst_value_compare_flags),
12062 (gst_value_serialize_flags), (gst_value_deserialize_flags),
12063 (_gst_value_initialize):
12064 Added flags serialize/deserialize/compare code.
12066 2005-05-09 Andy Wingo <wingo@pobox.com>
12068 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
12069 Intersect the peer's caps with our caps.
12071 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12073 * gst/base/gsttypefindhelper.c: (helper_find_peek):
12074 * gst/elements/gsttypefindelement.c: (find_peek):
12075 Handle negative offsets better. Fixes decodebin.
12077 2005-05-09 Wim Taymans <wim@fluendo.com>
12079 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
12080 (gst_base_transform_event):
12081 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
12082 Implement accept_caps.
12083 Fix silly lock/unlock mismatch in base class.
12085 2005-05-09 Wim Taymans <wim@fluendo.com>
12087 * docs/design/draft-push-pull.txt:
12088 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
12089 * gst/elements/gstfilesink.c: (gst_filesink_init),
12090 (gst_filesink_query):
12091 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
12092 (gst_type_find_handle_src_query), (find_element_get_length):
12093 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
12094 * gst/gstelement.h:
12095 * gst/gstmessage.c:
12096 * gst/gstmessage.h:
12097 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
12098 (gst_real_pad_get_caps_unlocked),
12099 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
12100 (gst_pad_event_default_dispatch), (gst_pad_event_default),
12101 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
12102 (gst_real_pad_dispose), (gst_real_pad_finalize),
12103 (gst_pad_load_and_link), (gst_pad_save_thyself),
12104 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
12105 (gst_pad_check_pull_range), (gst_pad_pull_range),
12106 (gst_pad_template_get_type), (gst_pad_template_class_init),
12107 (gst_pad_template_init), (gst_pad_template_dispose),
12108 (name_is_valid), (gst_static_pad_template_get),
12109 (gst_pad_template_new), (gst_static_pad_template_get_caps),
12110 (gst_pad_template_get_caps), (gst_pad_set_element_private),
12111 (gst_pad_get_element_private), (gst_pad_start_task),
12112 (gst_pad_pause_task), (gst_pad_stop_task),
12113 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
12114 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12115 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
12116 (gst_ghost_pad_new):
12118 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
12119 (gst_query_new_position), (gst_query_set_position),
12120 (gst_query_parse_position), (gst_query_new_convert),
12121 (gst_query_set_convert), (gst_query_parse_convert):
12123 * gst/gstqueryutils.c:
12124 * gst/gstqueryutils.h:
12125 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
12126 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
12127 (gst_queue_handle_src_query):
12128 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12129 (gst_element_query_position), (gst_element_query_convert),
12130 (intersect_caps_func), (gst_pad_query_position),
12131 (gst_pad_query_convert):
12133 * tools/gst-inspect.c: (print_pad_info):
12134 * tools/gst-xmlinspect.c: (print_element_info):
12135 Remove old query functions. Ported old code.
12136 Added position/convert helper functions to gstutils.
12137 Reordered gstpad.c code, grouping relevant things.
12138 Remove gst_message_new(), always need to speficy a specific
12142 2005-05-09 Andy Wingo <wingo@pobox.com>
12144 * gst/gstiterator.h: Add some includes.
12146 * gst/gstqueryutils.h: Include more headers.
12149 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
12150 some uses of gst_pad_query.
12152 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
12153 NULL out parameters.
12154 (gst_query_new_position): New proc, allocates a new position
12157 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
12158 gstqueryutils.c to the build.
12160 * gst/gststructure.c (gst_structure_set_valist): Implement with
12161 the generic G_VALUE_COLLECT.
12163 2005-05-08 Edward Hervey <bilboed@bilboed.com>
12165 * gst/Makefile.am: (gst_headers):
12166 Added gstqueryutils.h to the list of headers to install, that was
12167 a 'nachty' move wingo :)
12169 2005-05-06 Andy Wingo <wingo@pobox.com>
12172 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
12173 GstData, init a memchunk.
12174 (standard_definitions): Add a few query types, deprecate a few.
12175 (gst_query_get_type): New proc.
12176 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
12178 (gst_query_new_application, gst_query_get_structure): New public
12181 * docs/design/draft-query.txt: Removed LINKS from the query types,
12182 because all the rest can be dispatched to other pads -- seemed
12183 ugly to have a query that couldn't be dispatched. internal_links
12184 is fine as a pad method.
12186 * gst/gstpad.h: Add query2 as a pad method, add the new functions
12187 in gstpad.c, but maintain binary compatibility for the moment.
12188 Will fix before 0.9 is out.
12190 * gst/gstqueryutils.c:
12191 * gst/gstqueryutils.h: New files, implement 3 methods for each
12192 query type: parse_query, parse_response, and set. Probably need an
12195 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
12197 * gst/elements/gstfilesink.c (gst_filesink_query2):
12198 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
12199 query_types, and formats methods.
12201 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
12202 (gst_pad_set_query2_function): New functions.
12203 (gst_real_pad_init): Set query2_default as the default query2
12204 function. Basically just dispatches to internally linked pads.
12208 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
12209 without using the atomic operations. Only one thread can possibly
12210 be accessing the data at this point. Changed so as to avoid
12211 gst_atomic operations.
12213 2005-05-06 Wim Taymans <wim@fluendo.com>
12215 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
12216 Also set caps if we use the fallback buffer alloc.
12218 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
12220 * docs/gst/Makefile.am:
12221 * docs/gst/gstreamer-docs.sgml:
12222 * docs/gst/gstreamer-sections.txt:
12223 * docs/gst/tmpl/gstatomic.sgml:
12224 * docs/gst/tmpl/gstmemchunk.sgml:
12225 * testsuite/elements/struct_i386.h:
12226 * win32/GStreamer.vcproj:
12228 Purge GstAtomic stuff from docs and win32 makefiles as well
12230 2005-05-06 Wim Taymans <wim@fluendo.com>
12232 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
12233 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
12234 * gst/gstpad.c: (gst_pad_peer_get_caps):
12235 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
12236 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
12237 (gst_queue_src_activate), (gst_queue_change_state):
12239 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12240 (intersect_caps_func):
12241 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
12242 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
12243 Some fixes for the peer_get_caps() change.
12245 2005-05-06 Wim Taymans <wim@fluendo.com>
12247 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
12248 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
12249 (gst_basesink_activate):
12250 Actually do something with error codes returned from the push
12253 2005-05-06 Wim Taymans <wim@fluendo.com>
12255 * docs/design/part-element-sink.txt:
12256 * docs/design/part-element-source.txt:
12257 * gst/base/gstbasesink.c: (gst_basesink_class_init),
12258 (gst_basesink_event), (gst_basesink_activate):
12259 * gst/base/gstbasesink.h:
12260 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
12261 (gst_basesrc_activate):
12262 * gst/base/gstbasesrc.h:
12263 * gst/gstelement.c: (gst_element_pads_activate):
12264 Some more documentation.
12265 Fixed scheduling decision in _pads_activate().
12267 2005-05-05 Andy Wingo <wingo@pobox.com>
12269 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
12272 2005-05-05 Wim Taymans <wim@fluendo.com>
12274 * gst/base/Makefile.am:
12275 * gst/base/gstbasesink.h:
12276 * gst/base/gstbasesrc.c: (gst_basesrc_init),
12277 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
12278 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
12279 (gst_collectpads_class_init), (gst_collectpads_init),
12280 (gst_collectpads_finalize), (gst_collectpads_new),
12281 (gst_collectpads_set_function), (gst_collectpads_add_pad),
12282 (find_pad), (gst_collectpads_remove_pad),
12283 (gst_collectpads_is_active), (gst_collectpads_collect),
12284 (gst_collectpads_collect_range), (gst_collectpads_start),
12285 (gst_collectpads_stop), (gst_collectpads_peek),
12286 (gst_collectpads_pop), (gst_collectpads_available),
12287 (gst_collectpads_read), (gst_collectpads_flush),
12288 (gst_collectpads_chain):
12289 * gst/base/gstcollectpads.h:
12290 * gst/elements/Makefile.am:
12291 * gst/elements/gstelements.c:
12292 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12293 (gst_fakesink_get_times), (gst_fakesink_event),
12294 (gst_fakesink_preroll), (gst_fakesink_render):
12295 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
12296 (gst_filesink_init), (gst_filesink_set_location),
12297 (gst_filesink_open_file), (gst_filesink_close_file),
12298 (gst_filesink_pad_query), (gst_filesink_event),
12299 (gst_filesink_render), (gst_filesink_change_state):
12300 * gst/elements/gstfilesink.h:
12301 Added object to help in making collect pad based elements.
12303 Make event function in sink baseclass return gboolean.
12305 2005-05-05 Wim Taymans <wim@fluendo.com>
12307 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
12308 (gst_bin_get_by_name):
12310 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
12311 (gst_clock_finalize):
12312 * gst/gstdata.c: (gst_data_replace):
12314 * gst/gstelement.c: (gst_element_request_pad),
12315 (gst_element_pads_activate):
12316 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
12317 (gst_object_unref):
12318 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12319 (gst_pad_set_checkgetrange_function),
12320 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
12321 (gst_pad_check_pull_range), (gst_pad_pull_range),
12322 (gst_static_pad_template_get_caps), (gst_pad_start_task),
12323 (gst_pad_pause_task), (gst_pad_stop_task):
12324 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12325 (gst_element_request_pad), (gst_pad_proxy_getcaps):
12326 Fix name lookup in GstBin.
12327 Added _data_replace() function and _buffer_replace()
12328 Use finalize method to clean up clock.
12329 Fix refcounting on request pads.
12330 Fix pad schedule mode error.
12331 Some more object refcounting debug info,
12334 2005-05-04 Andy Wingo <wingo@pobox.com>
12336 * check/Makefile.am:
12337 * docs/gst/tmpl/gstatomic.sgml:
12338 * docs/gst/tmpl/gstplugin.sgml:
12339 * gst/base/gstbasesink.c: (gst_basesink_activate):
12340 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
12341 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
12342 (gst_basesrc_query), (gst_basesrc_set_property),
12343 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
12344 (gst_basesrc_activate):
12345 * gst/base/gstbasesrc.h:
12346 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
12347 (gst_base_transform_src_activate):
12348 * gst/elements/gstelements.c:
12349 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12350 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
12351 * gst/elements/gsttee.c: (gst_tee_sink_activate):
12352 * gst/elements/gsttypefindelement.c: (find_element_get_length),
12353 (gst_type_find_element_checkgetrange),
12354 (gst_type_find_element_activate):
12355 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
12356 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
12357 (gst_caps_load_thyself):
12358 * gst/gstelement.c: (gst_element_pads_activate),
12359 (gst_element_save_thyself), (gst_element_restore_thyself):
12360 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
12361 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
12363 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
12364 (gst_xml_parse_file), (gst_xml_parse_memory),
12365 (gst_xml_get_element), (gst_xml_make_element):
12366 * gst/indexers/gstfileindex.c: (gst_file_index_load),
12367 (_file_index_id_save_xml), (gst_file_index_commit):
12368 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
12369 (read_enum), (load_pad_template), (load_feature), (load_plugin),
12371 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
12372 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
12373 * tools/gst-complete.c: (main):
12374 * tools/gst-compprep.c: (main):
12375 * tools/gst-inspect.c: (print_element_properties_info):
12376 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12377 * tools/gst-xmlinspect.c: (print_element_properties):
12380 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
12382 * gst/gstplugin.c: (gst_plugin_check_module),
12383 (gst_plugin_check_file), (gst_plugin_load_file):
12384 apply patch from #172526 to make register work on MacOSX
12386 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12388 * docs/gst/tmpl/gstconfig.sgml:
12389 * gst/gstconfig.h.in:
12390 move documentation for some symbols. Add doc for GST_PTR_FORMAT
12391 * testsuite/debug/printf_extension.c: (main):
12392 Do not use GST_PTR_FORMAT on pointers to types with
12393 sizeof < sizeof(gpointer). Fixes test on 64-bit
12394 * testsuite/elements/property.h:
12395 use correct printf format
12397 2005-05-02 Wim Taymans <wim@fluendo.com>
12399 * docs/design/draft-push-pull.txt:
12400 * docs/design/draft-query.txt:
12401 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
12402 (gst_basesrc_start):
12403 Added draft for new query API.
12404 Added draft for better selecting scheduling methods.
12405 Make basesrc ignore length if the subclass does not support
12408 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12411 possible fixes for automake-1.5 - _LIBADD is reserved
12413 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12415 * docs/faq/Makefile.am:
12416 * docs/manual/Makefile.am:
12417 * docs/manuals.mak:
12418 * docs/pwg/Makefile.am:
12420 possible fixes for automake-1.5
12422 2005-04-28 Wim Taymans <wim@fluendo.com>
12424 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12425 (gst_basesink_pad_getcaps), (gst_basesink_init),
12426 (gst_basesink_do_sync):
12427 * gst/gstclock.c: (gst_clock_entry_new):
12428 * gst/gstevent.c: (gst_event_discont_get_value):
12429 * gst/gstpipeline.c: (pipeline_bus_handler),
12430 (gst_pipeline_change_state):
12431 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12432 Better debugging of clocking info.
12433 Allow NULL values when getting discont values.
12435 2005-04-27 Wim Taymans <wim@fluendo.com>
12437 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12438 * check/gst/gstpad.c: (gst_pad_suite):
12439 Increase timeout for checks.
12441 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12443 * check/Makefile.am:
12444 fix the broken rule for cleanup. Apparently this rule is
12445 only needed on FC2, so maybe this warrants further autotool
12448 2005-04-26 Wim Taymans <wim@fluendo.com>
12450 * gst/gsttrashstack.h:
12451 Ooohh. a nasty one! After having a failed pop() from the stack,
12452 it's possible that the stack is empty. In that case, don't
12453 follow the NULL pointer.
12455 2005-04-25 Wim Taymans <wim@fluendo.com>
12457 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12458 (gst_pad_set_checkgetrange_function),
12459 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
12460 (gst_pad_check_pull_range), (gst_pad_pull_range),
12461 (gst_static_pad_template_get_caps), (gst_pad_start_task),
12462 (gst_pad_pause_task), (gst_pad_stop_task):
12463 * gst/gstplugin.c: (gst_plugin_load):
12465 Remove gst_library_load as it does more harm than good with
12466 the new g_module flags.
12467 Revert bogus caps template check in pad linking, pad caps
12468 are important when linking not the template, which is more
12469 general than the current caps.
12471 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12473 * gst/autoplug/.cvsignore:
12474 * gst/autoplug/Makefile.am:
12475 * gst/autoplug/gstsearchfuncs.c:
12476 * gst/autoplug/gstsearchfuncs.h:
12477 * gst/autoplug/gstspider.c:
12478 * gst/autoplug/gstspider.h:
12479 * gst/autoplug/gstspideridentity.c:
12480 * gst/autoplug/gstspideridentity.h:
12481 * gst/autoplug/spidertest.c:
12484 2005-04-25 Wim Taymans <wim@fluendo.com>
12486 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12487 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12488 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
12489 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
12491 Added stubs for unimplemented functions.
12493 2005-04-24 David Schleef <ds@schleef.org>
12495 * gst/gstpad.h: Disable some unimplemented functions. Wim,
12498 2005-04-24 David Schleef <ds@schleef.org>
12500 Convert everything from GstAtomicInt to g_atomic_int_*, and
12505 * gst/gstatomic_impl.h:
12513 * gst/gstdata_private.h:
12517 * gst/gstmessage.c:
12520 * gst/gststructure.c:
12521 * gst/gststructure.h:
12522 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
12525 2005-04-24 David Schleef <ds@schleef.org>
12527 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
12528 make the regressions tests work. Remove some code that is no
12530 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
12531 Disable warning for pads without templates.
12533 2005-04-24 David Schleef <ds@schleef.org>
12535 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
12536 functions that handle filtered links.
12537 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
12539 * gst/gstutils.c: Fix/remove utility functions that handle
12542 * gst/gstvalue.c: Add serialization/deserialization of caps
12543 * gst/parse/grammar.y: Ignore filtered caps when linking. This
12544 requires fixing so that the filter caps notation creates
12545 a capsfilter element and sets the filter_caps property. I
12546 think everyone probably wants to keep the shorthand notation.
12547 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
12548 * docs/gst/tmpl/gstpad.sgml:
12550 * gst/elements/gstelements.c: Register capsfilter element.
12551 * gst/Makefile.am: fix spacing
12552 * docs/random/ds/0.9-suggested-changes: random
12554 2005-04-23 David Schleef <ds@schleef.org>
12556 * gst/elements/Makefile.am:
12557 * gst/elements/gstcapsfilter.c: New element that acts like an
12558 identity, but filters caps. Will eventually replace filtered
12559 caps in pad linking.
12560 * gst/gstutils.c: (gst_element_create_all_pads): New function
12561 to create all the ALWAYS pads that are registered with an
12562 element class. This functionality should eventually be
12563 merged in with GstElement initialization.
12565 * testsuite/trigger/README: part of trigger test code that should
12566 have been checked in a long time ago.
12568 2005-04-23 David Schleef <ds@schleef.org>
12570 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
12571 needed with new versions of libtool (nobody will confirm this),
12572 and hard to carry around.
12573 * gst/autoplug/Makefile.am:
12574 * gst/base/Makefile.am:
12575 * gst/elements/Makefile.am:
12576 * gst/indexers/Makefile.am:
12577 * gst/schedulers/Makefile.am:
12578 * libs/gst/bytestream/Makefile.am:
12579 * libs/gst/control/Makefile.am:
12580 * libs/gst/dataprotocol/Makefile.am:
12581 * libs/gst/getbits/Makefile.am:
12583 2005-04-21 Wim Taymans <wim@fluendo.com>
12585 * docs/design/draft-push-pull.txt:
12586 * docs/design/part-MT-refcounting.txt:
12587 * docs/design/part-TODO.txt:
12588 * docs/design/part-caps.txt:
12589 * docs/design/part-events.txt:
12590 * docs/design/part-gstbus.txt:
12591 * docs/design/part-gstpipeline.txt:
12592 * docs/design/part-messages.txt:
12593 * docs/design/part-push-pull.txt:
12594 * docs/design/part-query.txt:
12597 2005-04-21 Wim Taymans <wim@fluendo.com>
12599 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12600 (gst_message_new), (gst_message_new_error),
12601 (gst_message_new_warning), (gst_message_new_tag),
12602 (gst_message_new_state_changed), (gst_message_new_application),
12603 (gst_message_get_structure):
12604 * gst/gstmessage.h:
12605 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12606 (gst_structure_copy_conditional):
12607 Use parent refcount in GstMessage to ensure GstStructure
12609 Cleaned up headers a bit.
12612 2005-04-20 Wim Taymans <wim@fluendo.com>
12614 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12615 (gst_basesink_pad_getcaps), (gst_basesink_init),
12616 (gst_basesink_chain_unlocked):
12617 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12618 (gst_type_find_helper):
12619 * gst/elements/gsttypefindelement.c:
12620 (gst_type_find_element_have_type), (gst_type_find_element_init),
12621 (stop_typefinding), (gst_type_find_element_handle_event),
12622 (find_suggest), (gst_type_find_element_chain),
12623 (gst_type_find_element_checkgetrange),
12624 (gst_type_find_element_getrange), (do_typefind),
12625 (gst_type_find_element_activate):
12626 * gst/gstbuffer.c: (_gst_buffer_sub_free),
12627 (gst_buffer_default_free), (gst_buffer_default_copy),
12628 (gst_buffer_set_caps):
12629 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12630 (gst_caps_replace):
12631 * gst/gstmessage.c: (gst_message_new),
12632 (gst_message_new_state_changed):
12633 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12634 (gst_pad_set_checkgetrange_function),
12635 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12636 (gst_pad_set_caps), (gst_pad_check_pull_range),
12637 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12639 * gst/gsttypefind.c: (gst_type_find_register):
12640 Make gst_caps_replace() work like other _replace() functions.
12641 Use _caps_replace() where possible.
12642 Make sure _message_new() initialises its field.
12643 Add gst_static_pad_template_get_caps()
12646 2005-04-18 Andy Wingo <wingo@pobox.com>
12648 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12649 on the peer, not the pad. I think that was a typo. Pass an extra
12650 arg to see if random access is possible. Activate the pads as
12651 PULL_RANGE if possible.
12653 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12655 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
12656 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12659 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12661 * docs/faq/using.xml:
12662 Add note on gstreamer-properties (#154996).
12664 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12666 * docs/random/bbb/optional-properties:
12667 Some analysis on optional properties.
12669 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12671 * docs/gst/tmpl/gstelementfactory.sgml:
12672 * gst/gstelement.h:
12673 * gst/gstelementfactory.c: (gst_element_factory_init),
12674 (gst_element_factory_cleanup), (gst_element_register),
12675 (__gst_element_factory_add_static_pad_template),
12676 (gst_element_factory_get_static_pad_templates),
12677 (gst_element_factory_can_src_caps),
12678 (gst_element_factory_can_sink_caps):
12679 * gst/registries/Makefile.am:
12680 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12681 (gst_xml_registry_class_init), (gst_xml_registry_init),
12682 (gst_xml_registry_new), (gst_xml_registry_set_property),
12683 (gst_xml_registry_get_property), (get_time), (make_dir),
12684 (gst_xml_registry_get_perms_func),
12685 (plugin_times_older_than_recurse), (plugin_times_older_than),
12686 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12687 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12688 (add_to_char_array), (read_string), (read_uint), (read_enum),
12689 (load_pad_template), (load_feature), (load_plugin), (load_paths),
12690 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12691 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12692 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12693 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12694 (gst_xml_registry_rebuild):
12695 * gst/registries/gstlibxmlregistry.h:
12696 * tools/gst-compprep.c: (main):
12697 * tools/gst-inspect.c: (print_pad_templates_info):
12698 * tools/gst-xmlinspect.c: (print_element_info):
12699 Use libxml2 for registry parsing, use staticpadtemplates in
12700 elementfactories. Makes gst_init() +/- 10x faster.
12702 2005-04-12 Wim Taymans <wim@fluendo.com>
12704 * gst/base/Makefile.am:
12705 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12706 (gst_basesink_pad_getcaps), (gst_basesink_init),
12707 (gst_basesink_event), (gst_basesink_change_state):
12708 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12709 (gst_basesrc_init), (gst_basesrc_query),
12710 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12711 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12712 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12713 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12714 (gst_basesrc_stop), (gst_basesrc_activate),
12715 (gst_basesrc_change_state):
12716 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12717 (helper_find_suggest), (gst_type_find_helper):
12718 * gst/base/gsttypefindhelper.h:
12719 * gst/elements/Makefile.am:
12720 * gst/elements/gstelements.c:
12721 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12722 (gst_fakesink_get_times), (gst_fakesink_event),
12723 (gst_fakesink_preroll), (gst_fakesink_render):
12724 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12725 (gst_fakesrc_init), (gst_fakesrc_event_handler),
12726 (gst_fakesrc_get_property), (gst_fakesrc_create),
12727 (gst_fakesrc_start), (gst_fakesrc_stop):
12728 * gst/elements/gstfakesrc.h:
12729 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12730 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12731 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12732 (gst_filesrc_create_read), (gst_filesrc_create),
12733 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12734 (gst_filesrc_start):
12735 * gst/elements/gsttypefindelement.c:
12736 (gst_type_find_element_have_type), (gst_type_find_element_init),
12737 (start_typefinding), (stop_typefinding), (push_buffer_store),
12738 (gst_type_find_element_handle_event),
12739 (gst_type_find_element_chain),
12740 (gst_type_find_element_checkgetrange),
12741 (gst_type_find_element_getrange), (do_typefind),
12742 (gst_type_find_element_activate),
12743 (gst_type_find_element_change_state):
12744 * gst/elements/gsttypefindelement.h:
12745 * gst/gstpipeline.c: (pipeline_bus_handler):
12746 Added typefind helper.
12747 Small preroll fix in the base sink.
12748 Disable typefind code in basesrc.
12749 Crude port of typefindelement.
12753 2005-04-11 Wim Taymans <wim@fluendo.com>
12755 * check/gst/gstbus.c: (gstbus_suite):
12756 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12757 * check/gstcheck.h:
12758 Fix up the timeout so that the test does not fail.
12760 2005-04-06 Wim Taymans <wim@fluendo.com>
12763 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12764 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12765 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12766 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12767 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12768 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12769 (gst_basesrc_stop), (gst_basesrc_activate),
12770 (gst_basesrc_change_state), (basesrc_find_peek),
12771 (basesrc_find_suggest), (gst_basesrc_type_find):
12772 * gst/base/gstbasesrc.h:
12773 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12774 (gst_filesrc_class_init), (gst_filesrc_init),
12775 (gst_filesrc_finalize), (gst_filesrc_set_location),
12776 (gst_filesrc_set_property), (gst_filesrc_get_property),
12777 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12778 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12779 (gst_filesrc_create_read), (gst_filesrc_create),
12780 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12781 * gst/elements/gstfilesrc.h:
12782 * gst/gstelement.c: (gst_element_get_state_func),
12783 (gst_element_lost_state), (gst_element_pads_activate):
12784 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12785 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12786 (gst_pad_pull_range):
12788 More work on the generic source base class, implement seeking,
12790 Make filesrc extend the base source class.
12791 Added gst_pad_set_checkgetrange_function to GstPad.
12793 2005-04-06 Andy Wingo <wingo@pobox.com>
12795 * pkgconfig/gstreamer-base.pc.in:
12796 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12798 * pkgconfig/Makefile.am:
12799 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12801 2005-04-04 Wim Taymans <wim@fluendo.com>
12803 * gst/base/Makefile.am:
12805 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12806 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12807 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12808 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12809 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12810 (gst_basesrc_base_init), (gst_basesrc_class_init),
12811 (gst_basesrc_init), (gst_basesrc_get_formats),
12812 (gst_basesrc_get_query_types), (gst_basesrc_query),
12813 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12814 (gst_basesrc_set_property), (gst_basesrc_get_property),
12815 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12816 (gst_basesrc_loop), (gst_basesrc_activate),
12817 (gst_basesrc_change_state):
12818 * gst/base/gstbasesrc.h:
12819 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12820 (gst_fakesrc_class_init), (gst_fakesrc_init),
12821 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12822 (gst_fakesrc_get_property), (gst_fakesrc_create):
12823 * gst/elements/gstfakesrc.h:
12824 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12825 (gst_filesrc_open_file), (gst_filesrc_loop),
12826 (gst_filesrc_activate), (filesrc_find_peek),
12827 (gst_filesrc_type_find):
12828 Made base source class, make fakesrc extend it.
12829 Add comments to basesink class.
12830 Some filesrc cleanup.
12832 2005-03-31 David Schleef <ds@schleef.org>
12834 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12835 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12836 expected to link against libgstreamer.
12837 * gst/base/Makefile.am: link against libgstreamer
12838 * gst/elements/Makefile.am: same
12840 2005-03-31 Andy Wingo <wingo@pobox.com>
12842 * tests/instantiate/Makefile.am:
12843 * tests/instantiate/caps.c: Add test to test speed of caps copy
12846 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12847 GMemChunk to be fair.
12849 * gst/gsttrashstack.h: Remove warning about using the fallback
12850 trash stack implementation, it's still faster than malloc.
12852 2005-03-30 Andy Wingo <wingo@pobox.com>
12854 * tests/complexity.c: Add a copyright.
12856 2005-03-31 Wim Taymans <wim@fluendo.com>
12858 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12859 (gst_base_transform_class_init), (gst_base_transform_init),
12860 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12861 (gst_base_transform_get_property),
12862 (gst_base_transform_sink_activate),
12863 (gst_base_transform_src_activate),
12864 (gst_base_transform_change_state):
12865 * gst/base/gstbasetransform.h:
12866 * gst/elements/gstidentity.c: (gst_identity_class_init),
12867 (gst_identity_event), (gst_identity_check_perfect),
12868 (gst_identity_transform), (gst_identity_start),
12869 (gst_identity_stop):
12870 Added start/stop methods to transform base class so subclasses
12871 don't need to deal with state changes even.
12873 2005-03-31 Wim Taymans <wim@fluendo.com>
12875 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12876 (gst_event_new_discontinuous), (gst_event_discont_get_value):
12878 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12879 (gst_pad_pull_range):
12880 Added rate to the discont event to prepare for variable speed
12881 and reverse playback.
12883 2005-03-29 David Schleef <ds@schleef.org>
12886 * testsuite/trigger/Makefile.am:
12887 * testsuite/trigger/trigger.c: A little example program to show
12888 how trigger-based elements can work.
12890 2005-03-29 Wim Taymans <wim@fluendo.com>
12892 * gst/base/Makefile.am:
12894 * gst/base/gstbasesink.c: (gst_basesink_get_type),
12895 (gst_basesink_base_init), (gst_basesink_class_init),
12896 (gst_basesink_pad_getcaps), (gst_basesink_init),
12897 (gst_basesink_activate), (gst_basesink_change_state):
12898 * gst/base/gstbasesink.h:
12899 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12900 (gst_base_transform_base_init), (gst_base_transform_finalize),
12901 (gst_base_transform_class_init), (gst_base_transform_init),
12902 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12903 (gst_base_transform_event), (gst_base_transform_getrange),
12904 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
12905 (gst_base_transform_set_property),
12906 (gst_base_transform_get_property),
12907 (gst_base_transform_sink_activate),
12908 (gst_base_transform_src_activate),
12909 (gst_base_transform_change_state):
12910 * gst/base/gstbasetransform.h:
12911 * gst/elements/gstidentity.c: (gst_identity_finalize),
12912 (gst_identity_class_init), (gst_identity_init),
12913 (gst_identity_event), (gst_identity_check_perfect),
12914 (gst_identity_transform), (gst_identity_set_property),
12915 (gst_identity_get_property), (gst_identity_change_state):
12916 * gst/elements/gstidentity.h:
12917 * gst/gstelement.c: (gst_element_get_state_func),
12918 (gst_element_lost_state), (gst_element_pads_activate):
12919 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12920 (gst_pad_check_pull_range), (gst_pad_pull_range):
12922 Simplify pad activation.
12923 Added function to check if pull_range can be performed.
12924 Error out when pulling inactive or flushing pads.
12925 Removed const from refcounted types as it does not make sense.
12926 Simplify pad templates in basesink
12927 Added base class for simple 1-to-1 transforms.
12928 Make identity subclass the base transform.
12930 2005-03-29 Andy Wingo <wingo@pobox.com>
12932 * docs/libs/gstreamer-libs-overrides.txt:
12933 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
12934 really don't understand what's going on, but like whatever. I want
12937 * docs/gst/Makefile.am:
12938 * docs/libs/Makefile.am: Dist the overrides files.
12940 * check/Makefile.am (clean-local): Remove .libs directories.
12942 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
12943 elements to EXTRA_DIST, so po/ files are happy.
12945 * po/POTFILES.in: Er, remove it here.
12947 * po/POTFILES: Remove gstspider.c.
12949 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
12951 * docs/libs/gstreamer-libs-docs.sgml:
12952 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
12955 * tests/complexity.c (main): Set the length of the preroll queue
12956 on the sinks to prevent a lockup.
12958 * libs/gst/dataprotocol/Makefile.am:
12959 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
12960 the same as the one in check/gst-libs/gdp.c.
12962 * po/, docs/gst/: Commit automatic changes to docs and po files.
12964 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
12965 the versioned libgstbase.
12967 * check/Makefile.am: Depend on an unversioned gst-register, seems
12968 to make autoconf happier.
12970 * gst/base/Makefile.am: Make libgstbase a versioned lib.
12972 2005-03-28 Wim Taymans <wim@fluendo.com>
12975 * docs/design/part-gstelement.txt:
12976 * docs/design/part-negotiation.txt:
12977 * docs/design/part-preroll.txt:
12978 * docs/design/part-scheduling.txt:
12979 * docs/design/part-states.txt:
12981 * gst/base/Makefile.am:
12983 * gst/base/gstbasesink.c: (gst_basesink_get_template),
12984 (gst_basesink_base_init), (gst_basesink_class_init),
12985 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12986 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12987 (gst_basesink_set_pad_functions),
12988 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
12989 (gst_basesink_set_property), (gst_basesink_get_property),
12990 (gst_base_sink_get_template), (gst_base_sink_get_caps),
12991 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
12992 (gst_basesink_preroll_queue_push),
12993 (gst_basesink_preroll_queue_empty),
12994 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
12995 (gst_basesink_event), (gst_basesink_get_times),
12996 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
12997 (gst_basesink_chain_unlocked), (gst_basesink_chain),
12998 (gst_basesink_loop), (gst_basesink_activate),
12999 (gst_basesink_change_state):
13000 * gst/base/gstbasesink.h:
13001 * gst/elements/Makefile.am:
13002 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
13003 (gst_fakesink_class_init), (gst_fakesink_init),
13004 (gst_fakesink_set_property), (gst_fakesink_get_property),
13005 (gst_fakesink_get_times), (gst_fakesink_event),
13006 (gst_fakesink_preroll), (gst_fakesink_render),
13007 (gst_fakesink_change_state):
13008 * gst/elements/gstfakesink.h:
13009 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
13010 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
13011 * gst/gstelement.c: (gst_element_add_pad),
13012 (gst_element_get_state_func), (gst_element_abort_state),
13013 (gst_element_commit_state), (gst_element_lost_state),
13014 (gst_element_set_state), (gst_element_pads_activate):
13015 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
13016 * gst/gstpipeline.c: (gst_pipeline_send_event),
13017 (gst_pipeline_change_state):
13018 Added state change code.
13019 Added/updated docs.
13020 Added sink base class, make fakesink extend the base class.
13021 Small cleanups in GstPipeline.
13023 2005-03-26 David Schleef <ds@schleef.org>
13025 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
13026 is broken and should be implemented in a different library.
13027 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
13028 * gst/gst.h: remove gstcpu.h
13029 * gst/gstcpu.c: remove
13030 * gst/gstcpu.h: remove
13031 * gst/Makefile.am.future: Remove this file. It's ancient.
13033 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13035 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
13036 (gst_bin_send_event):
13037 Add default event/set_manager handlers. The set_manager handler
13038 takes care that the manager is distributed over kids that were
13039 already in the bin before the manager was set. The event handler
13040 is a utility virtual function that sends the event over all sinks,
13041 so that gst_element_send_event (bin, event); has the expected
13043 * gst/gstpad.c: (gst_pad_event_default):
13044 Re-install default event handling for discontinuities, so that
13045 seeking works without requiring hacks in applications or extra
13047 * gst/gstpipeline.c: (gst_pipeline_class_init),
13048 (gst_pipeline_send_event):
13049 Half hack, half utility: set a pipeline to PAUSED for seek events,
13050 since that is the only way we can guarantee a/v sync. Means that
13051 you can do gst_element_seek (pipeline, method, pos); on a pipeline
13052 and it "just works".
13054 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13056 * gst/gstpipeline.c: (gst_pipeline_use_clock):
13057 Lock/unlock mismatch.
13059 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
13061 * docs/faq/gst-uninstalled:
13062 add gst-plugins-base
13063 * docs/gst/Makefile.am:
13064 don't error out until docs are fixed
13065 * docs/gst/gstreamer.types:
13068 2005-03-22 Wim Taymans <wim@fluendo.com>
13070 * check/Makefile.am:
13071 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
13072 * gst/gststructure.c: (gst_structure_set_valist),
13073 (gst_structure_copy_conditional):
13074 Activated more tests.
13075 Added message test.
13076 Added G_TYPE_POINTER to GstStructure.
13079 2005-03-22 Wim Taymans <wim@fluendo.com>
13081 * docs/design/part-TODO.txt:
13082 * docs/design/part-events.txt:
13083 * docs/design/part-gstbin.txt:
13084 * docs/design/part-gstbus.txt:
13085 * docs/design/part-gstpipeline.txt:
13086 * docs/design/part-messages.txt:
13088 * gst/gstmessage.c:
13091 2005-03-21 Wim Taymans <wim@fluendo.com>
13093 * gst/gstbus.c: (gst_bus_post):
13094 Fix copy-and-paste error.
13096 2005-03-21 Wim Taymans <wim@fluendo.com>
13098 * check/Makefile.am:
13100 * gst/elements/Makefile.am:
13101 * gst/elements/gstelements.c:
13102 * gst/elements/gstfakesink.c: (gst_fakesink_init),
13103 (gst_fakesink_event), (gst_fakesink_chain):
13104 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
13105 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
13106 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
13107 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
13108 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
13109 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
13110 (gst_fakesrc_loop), (gst_fakesrc_activate),
13111 (gst_fakesrc_change_state):
13112 * gst/elements/gstfakesrc.h:
13113 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
13114 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
13115 (gst_filesrc_open_file), (gst_filesrc_loop),
13116 (gst_filesrc_activate), (gst_filesrc_change_state),
13117 (filesrc_find_peek), (filesrc_find_suggest),
13118 (gst_filesrc_type_find):
13119 * gst/elements/gstidentity.c: (gst_identity_finalize),
13120 (gst_identity_class_init), (gst_identity_init),
13121 (gst_identity_proxy_getcaps), (identity_queue_push),
13122 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
13123 (gst_identity_getrange), (gst_identity_chain),
13124 (gst_identity_sink_loop), (gst_identity_src_loop),
13125 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
13126 (gst_identity_set_property), (gst_identity_get_property),
13127 (gst_identity_change_state):
13128 * gst/elements/gstidentity.h:
13129 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
13130 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
13131 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
13132 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
13133 (gst_tee_sink_activate):
13134 * gst/elements/gsttee.h:
13135 * gst/gst.c: (gst_register_core_elements), (init_post):
13137 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
13138 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
13139 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
13140 (gst_bin_change_state):
13142 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
13143 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
13144 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
13145 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
13146 (gst_bus_set_sync_handler), (gst_bus_create_watch),
13147 (bus_watch_callback), (bus_watch_destroy),
13148 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
13149 (poll_timeout), (gst_bus_poll):
13153 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13154 (gst_element_post_message), (gst_element_message_full),
13155 (gst_element_get_state_func), (gst_element_get_state),
13156 (gst_element_abort_state), (gst_element_commit_state),
13157 (gst_element_lost_state), (gst_element_set_state),
13158 (gst_element_pads_activate), (gst_element_change_state),
13159 (gst_element_dispose), (gst_element_set_manager_func),
13160 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
13161 (gst_element_set_manager), (gst_element_get_manager),
13162 (gst_element_set_bus), (gst_element_get_bus),
13163 (gst_element_set_scheduler), (gst_element_get_scheduler):
13164 * gst/gstelement.h:
13165 * gst/gstevent.c: (gst_event_new_segment_seek),
13166 (gst_event_new_flush):
13168 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
13169 (_gst_message_free), (gst_message_get_type), (gst_message_new),
13170 (gst_message_new_eos), (gst_message_new_error),
13171 (gst_message_new_warning), (gst_message_new_tag),
13172 (gst_message_new_state_changed), (gst_message_new_application),
13173 (gst_message_get_structure), (gst_message_parse_tag),
13174 (gst_message_parse_state_changed), (gst_message_parse_error),
13175 (gst_message_parse_warning):
13176 * gst/gstmessage.h:
13177 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
13178 (gst_real_pad_set_property), (gst_pad_set_active),
13179 (gst_pad_is_active), (gst_pad_set_blocked_async),
13180 (gst_pad_set_blocked), (gst_pad_is_blocked),
13181 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
13182 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
13183 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13184 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
13185 (gst_pad_link_filtered), (gst_pad_relink_filtered),
13186 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
13187 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
13188 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
13189 (gst_pad_set_caps), (gst_pad_configure_sink),
13190 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
13191 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
13192 (gst_real_pad_dispose), (gst_real_pad_finalize),
13193 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
13194 (gst_pad_event_default_dispatch), (gst_pad_event_default),
13195 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
13197 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
13198 (pipeline_bus_handler), (gst_pipeline_change_state),
13199 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
13200 * gst/gstpipeline.h:
13202 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
13203 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
13204 (gst_queue_link_src), (gst_queue_bufferalloc),
13205 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13206 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
13207 (gst_queue_loop), (gst_queue_handle_src_event),
13208 (gst_queue_handle_src_query), (gst_queue_src_activate),
13209 (gst_queue_change_state):
13211 * gst/gstscheduler.c: (gst_scheduler_init),
13212 (gst_scheduler_dispose), (gst_scheduler_create_task),
13213 (gst_scheduler_factory_create):
13214 * gst/gstscheduler.h:
13215 * gst/gststructure.c: (gst_structure_get_type),
13216 (gst_structure_copy_conditional):
13217 * gst/gststructure.h:
13218 * gst/gsttaginterface.h:
13219 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
13220 (gst_task_init), (gst_task_dispose), (gst_task_create),
13221 (gst_task_get_state), (gst_task_start), (gst_task_stop),
13227 * gst/schedulers/Makefile.am:
13228 * gst/schedulers/cothreads_compat.h:
13229 * gst/schedulers/entryscheduler.c:
13230 * gst/schedulers/faircothreads.c:
13231 * gst/schedulers/faircothreads.h:
13232 * gst/schedulers/fairscheduler.c:
13233 * gst/schedulers/gstbasicscheduler.c:
13234 * gst/schedulers/gstoptimalscheduler.c:
13235 * gst/schedulers/gthread-cothreads.h:
13236 * gst/schedulers/threadscheduler.c:
13237 (gst_thread_scheduler_task_get_type),
13238 (gst_thread_scheduler_task_class_init),
13239 (gst_thread_scheduler_task_init),
13240 (gst_thread_scheduler_task_start),
13241 (gst_thread_scheduler_task_stop),
13242 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
13243 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
13244 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
13245 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
13247 * libs/gst/Makefile.am:
13248 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
13249 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
13250 (gst_file_pad_parent_set):
13251 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13252 (gst_dp_event_from_packet):
13253 * tests/complexity.c: (main):
13254 * tests/mass_elements.c: (main):
13255 * testsuite/states/locked.c: (message_received), (main):
13256 * testsuite/states/parent.c: (main):
13257 * tools/gst-inspect.c: (print_element_flag_info),
13258 (print_implementation_info), (print_pad_info):
13259 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
13261 * tools/gst-md5sum.c: (event_loop), (main):
13262 * tools/gst-typefind.c: (main):
13263 * tools/gst-xmlinspect.c: (print_element_info):
13265 Added GstBus for mainloop integration.
13266 Added GstMessage for sending notifications on the bus.
13267 Added GstTask as an abstraction for pipeline entry points.
13269 Removed Schedulers.
13270 Simplified GstQueue for multithreaded core.
13271 Made _link threadsafe, removed old capsnego.
13272 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
13273 Added pad blocking functions.
13274 Reworked scheduling functions in GstPad to prepare for
13275 scheduling updates soon.
13276 Moved events out of data stream.
13277 Simplified GstEvent types.
13278 Added return values to push/pull.
13279 Removed clocking from GstElement.
13280 Added prototypes for state change function for next merge.
13281 Removed iterate from bins and state change management.
13282 Fixed some elements, disabled others for now.
13283 Fixed -inspect and -launch.
13284 Added check for GstBus.
13286 2005-03-10 Wim Taymans <wim@fluendo.com>
13288 * docs/design/part-MT-refcounting.txt:
13289 * docs/design/part-clocks.txt:
13290 * docs/design/part-gstelement.txt:
13291 * docs/design/part-gstobject.txt:
13292 * docs/design/part-standards.txt:
13293 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13294 (gst_bin_remove_func), (gst_bin_remove):
13298 * testsuite/clock/clock1.c: (main):
13299 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
13301 * testsuite/dlopen/loadgst.c: (do_test):
13302 * testsuite/refcounting/bin.c: (add_remove_test1),
13303 (add_remove_test2), (main):
13304 * testsuite/refcounting/element.c: (main):
13305 * testsuite/refcounting/element_pad.c: (main):
13306 * testsuite/refcounting/pad.c: (main):
13307 * tools/gst-launch.c: (sigint_handler_sighandler):
13308 * tools/gst-typefind.c: (main):
13310 Added doc about clock.
13311 removed gst_bin_iterate_recurse_up(), marked methods
13313 Fix more testsuites.
13315 2005-03-09 Wim Taymans <wim@fluendo.com>
13317 * gst/gstpad.c: (gst_pad_get_direction),
13318 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
13319 (gst_pad_collect_valist):
13320 * testsuite/bins/interface.c: (main):
13321 * testsuite/caps/audioscale.c: (test_caps):
13322 * testsuite/caps/caps.c: (test1), (test2), (test3):
13323 * testsuite/caps/deserialize.c: (main):
13324 * testsuite/caps/enumcaps.c: (main):
13325 * testsuite/caps/filtercaps.c: (main):
13326 * testsuite/caps/intersect2.c: (main):
13327 * testsuite/caps/random.c: (main):
13328 * testsuite/caps/renegotiate.c: (my_fixate), (main):
13329 * testsuite/caps/sets.c: (check_caps):
13330 * testsuite/caps/simplify.c: (check_caps), (main):
13331 * testsuite/caps/subtract.c: (check_caps):
13332 Fix _pad_get_direction wrt ghostpads.
13333 Fix caps testsuite.
13335 2005-03-09 Wim Taymans <wim@fluendo.com>
13337 * check/Makefile.am:
13338 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
13339 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
13340 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
13341 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
13342 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
13343 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
13344 (gst_bin_remove), (gst_bin_iterate_recurse_up),
13345 (bin_element_is_sink), (gst_bin_iterate_sinks),
13346 (gst_bin_iterate_all_by_interface):
13348 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
13349 (gst_element_change_state), (gst_element_dispose),
13350 (gst_element_finalize), (gst_element_set_loop_function):
13351 * gst/gstelement.h:
13352 * gst/gstiterator.c: (find_custom_fold_func):
13353 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13354 (gst_pad_collectv), (gst_pad_collect_valist),
13355 (gst_pad_template_new):
13356 * gst/gstpipeline.c: (gst_pipeline_class_init),
13357 (gst_pipeline_dispose), (gst_pipeline_set_property),
13358 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
13359 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
13360 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
13362 * gst/schedulers/entryscheduler.c:
13363 * gst/schedulers/gstbasicscheduler.c:
13364 (gst_basic_scheduler_cothreaded_chain),
13365 (gst_basic_scheduler_chain_add_element):
13366 * testsuite/bins/interface.c: (main):
13368 Added GstSystemClock test.
13369 Implemented clock distribution code in GstBin.
13370 Implemented iterate sinks method for future use.
13371 Rearranged gstelement.h
13372 Fix GstIterator comparison bug.
13373 Moved some code to GstPipeline, mostly clocking related.
13375 2005-03-09 Wim Taymans <wim@fluendo.com>
13378 * gst/gst_private.h:
13379 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13380 (gst_bin_remove_func), (gst_bin_remove),
13381 (gst_bin_get_by_name_recurse_up):
13382 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
13383 (gst_clock_id_compare_func), (gst_clock_id_wait),
13384 (gst_clock_id_wait_async), (gst_clock_init),
13385 (gst_clock_adjust_unlocked), (gst_clock_get_time):
13386 * gst/gstelement.h:
13387 * gst/gstinfo.c: (_gst_debug_init):
13389 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13390 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
13392 Bump version number, we're now 0.9.0
13393 Add future debugging category.
13394 Fix NULL _unref() in _get_by_name_recurse_up
13395 Rearrange gstpad.h.
13398 2005-03-08 Wim Taymans <wim@fluendo.com>
13400 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
13401 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
13402 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
13403 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
13404 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
13405 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
13406 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
13407 * gst/elements/gstidentity.c: (gst_identity_class_init):
13408 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
13409 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
13410 * gst/elements/gstshaper.c: (gst_shaper_class_init):
13411 * gst/elements/gststatistics.c: (gst_statistics_class_init):
13412 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
13414 * gst/gstelement.c: (gst_element_class_init),
13415 (gst_element_base_class_init), (gst_element_init),
13416 (gst_element_get_random_pad), (gst_element_wait_state_change),
13417 (gst_element_change_state), (gst_element_dispose),
13418 (gst_element_finalize), (gst_element_set_loop_function):
13419 * gst/gstelement.h:
13420 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
13421 * gst/gstthread.c: (gst_thread_class_init),
13422 (gst_thread_release_children_locks), (gst_thread_change_state):
13423 * gst/schedulers/gstbasicscheduler.c:
13424 (gst_basic_scheduler_loopfunc_wrapper),
13425 (gst_basic_scheduler_chain_wrapper),
13426 (gst_basic_scheduler_src_wrapper),
13427 (gst_basic_scheduler_remove_element):
13428 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
13429 Remove threadsafe properties. Fix elements because GObject
13430 complains when installing a property before declaring a
13431 set/get_property handler.
13432 Rearrange gstelement.h file, use STATE macros for state locks.
13433 Free mutexes in the finalize method instead of dispose.
13435 2005-03-08 Wim Taymans <wim@fluendo.com>
13437 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
13438 * gst/gstthread.c: (gst_thread_release_children_locks):
13439 Added parentage check.
13440 Fix build og GstThread again.
13442 2005-03-08 Wim Taymans <wim@fluendo.com>
13444 * docs/design/part-MT-refcounting.txt:
13445 * docs/design/part-conventions.txt:
13446 * docs/design/part-gstobject.txt:
13447 * docs/design/part-relations.txt:
13448 * docs/design/part-standards.txt:
13449 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13450 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
13451 (gst_bin_get_by_name), (gst_bin_get_by_interface),
13452 (gst_bin_iterate_all_by_interface):
13455 * gst/gstelement.c: (gst_element_class_init),
13456 (gst_element_change_state), (gst_element_set_loop_function):
13457 * gst/gstelement.h:
13458 * gst/gstiterator.c:
13459 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
13460 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
13461 (gst_object_dispatch_properties_changed), (gst_object_set_name),
13462 (gst_object_set_parent), (gst_object_unparent),
13463 (gst_object_check_uniqueness):
13465 Docs updates, clean up some headers.
13467 2005-03-07 Wim Taymans <wim@fluendo.com>
13469 * check/.cvsignore:
13470 * check/Makefile.am:
13471 * check/gst-libs/.cvsignore:
13472 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
13473 * check/gst/.cvsignore:
13474 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
13475 (START_TEST), (gstbus_suite), (main):
13476 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
13477 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
13478 (gst_data_suite), (main):
13479 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
13480 (add_fold_func), (gstiterator_suite), (main):
13481 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
13482 (thread_name_object), (thread_name_object_default),
13483 (gst_object_name_compare), (gst_object_suite), (main):
13484 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
13485 (gst_pad_suite), (main):
13486 * check/gstcheck.c: (gst_check_log_message_func),
13487 (gst_check_log_critical_func), (gst_check_init):
13488 * check/gstcheck.h:
13489 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13490 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
13493 2005-03-07 Wim Taymans <wim@fluendo.com>
13495 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
13496 (gst_list_iterator_next), (gst_list_iterator_resync),
13497 (gst_list_iterator_free), (gst_iterator_new_list),
13498 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
13499 (gst_iterator_free), (gst_iterator_push), (filter_next),
13500 (filter_resync), (filter_uninit), (filter_free),
13501 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
13502 (gst_iterator_foreach), (find_custom_fold_func),
13503 (gst_iterator_find_custom):
13504 * gst/gstiterator.h:
13505 Added missing files.
13507 2005-03-07 Wim Taymans <wim@fluendo.com>
13511 * docs/design/part-MT-refcounting.txt:
13512 * docs/design/part-conventions.txt:
13513 * docs/design/part-gstobject.txt:
13514 * docs/design/part-relations.txt:
13515 * examples/mixer/mixer.c: (main):
13516 * examples/thread/thread.c: (eos), (main):
13518 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
13519 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
13520 (gst_spider_plug_from_srcpad):
13521 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
13522 (gst_spider_identity_change_state),
13523 (gst_spider_identity_sink_loop_type_finding):
13524 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
13525 * gst/elements/gstidentity.c: (gst_identity_init):
13526 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
13527 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
13528 * gst/elements/gsttypefindelement.c: (free_entry):
13531 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
13532 (gst_bin_set_clock_func), (gst_bin_auto_clock),
13533 (gst_bin_set_index), (gst_bin_set_element_sched),
13534 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
13535 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
13536 (gst_bin_iterate_elements), (iterate_child_recurse),
13537 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
13538 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
13539 (compare_interface), (gst_bin_get_by_interface),
13540 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
13542 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
13543 (gst_buffer_default_free), (gst_buffer_default_copy),
13544 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
13545 (gst_buffer_create_sub):
13547 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
13548 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
13549 (gst_caps_unref), (gst_static_caps_get),
13550 (gst_caps_remove_and_get_structure), (gst_caps_append),
13551 (gst_caps_append_structure), (gst_caps_remove_structure),
13552 (gst_caps_copy_nth), (gst_caps_set_simple),
13553 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
13554 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
13555 (gst_caps_structure_intersect_field), (gst_caps_intersect),
13556 (gst_caps_structure_subtract_field), (gst_caps_subtract),
13557 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
13558 (gst_caps_structure_figure_out_union),
13559 (gst_caps_switch_structures), (gst_caps_do_simplify),
13560 (gst_caps_replace), (gst_caps_from_string),
13561 (gst_caps_copy_conditional):
13563 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
13564 (_gst_clock_id_free), (gst_clock_id_unref),
13565 (gst_clock_id_compare_func), (gst_clock_id_wait),
13566 (gst_clock_id_wait_async), (gst_clock_class_init),
13567 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
13568 (gst_clock_get_time), (gst_clock_set_time_adjust),
13569 (gst_clock_set_property), (gst_clock_get_property):
13572 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
13573 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
13575 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13576 (gst_element_requires_clock), (gst_element_provides_clock),
13577 (gst_element_set_clock), (gst_element_clock_wait),
13578 (gst_element_wait), (gst_element_set_time_delay),
13579 (gst_element_is_indexable), (gst_element_add_pad),
13580 (gst_element_add_ghost_pad), (gst_element_remove_pad),
13581 (pad_compare_name), (gst_element_get_static_pad),
13582 (gst_element_request_pad), (gst_element_get_request_pad),
13583 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13584 (gst_element_class_get_pad_template_list),
13585 (gst_element_class_get_pad_template), (gst_element_error_func),
13586 (gst_element_get_random_pad), (gst_element_get_event_masks),
13587 (gst_element_send_event), (gst_element_seek),
13588 (gst_element_get_query_types), (gst_element_query),
13589 (gst_element_get_formats), (gst_element_convert),
13590 (gst_element_is_locked_state), (gst_element_set_locked_state),
13591 (gst_element_sync_state_with_parent), (gst_element_change_state),
13592 (gst_element_finalize), (gst_element_yield),
13593 (gst_element_interrupt), (gst_element_set_scheduler),
13594 (gst_element_get_scheduler), (gst_element_set_loop_function):
13595 * gst/gstelement.h:
13597 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13598 (gst_format_get_by_nick), (gst_format_get_details),
13599 (gst_format_iterate_definitions):
13601 * gst/gstindex.c: (gst_index_gtype_resolver):
13604 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13605 (gst_mem_chunk_free):
13606 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13607 (gst_object_ref), (gst_object_unref), (gst_object_sink),
13608 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13609 (gst_object_dispatch_properties_changed),
13610 (gst_object_set_name_default), (gst_object_set_name),
13611 (gst_object_get_name), (gst_object_set_name_prefix),
13612 (gst_object_get_name_prefix), (gst_object_set_parent),
13613 (gst_object_get_parent), (gst_object_unparent),
13614 (gst_object_check_uniqueness), (gst_object_save_thyself),
13615 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13616 (gst_object_set_property), (gst_object_get_property),
13617 (gst_object_get_path_string):
13619 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13620 (gst_real_pad_init), (gst_real_pad_get_property),
13621 (gst_pad_custom_new), (gst_pad_get_direction),
13622 (gst_pad_set_active), (gst_pad_is_active),
13623 (gst_pad_set_event_function), (gst_pad_is_linked),
13624 (gst_pad_link_free), (gst_pad_link_intersect),
13625 (gst_pad_link_fixate), (gst_pad_set_caps),
13626 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13627 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13628 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13629 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13630 (gst_pad_get_caps), (gst_pad_peer_get_caps),
13631 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13632 (gst_pad_realize), (gst_pad_get_allowed_caps),
13633 (gst_real_pad_dispose), (gst_real_pad_finalize),
13634 (gst_pad_collectv), (gst_pad_collect_valist),
13635 (gst_pad_template_dispose), (gst_pad_template_new),
13636 (gst_pad_get_internal_links):
13638 * gst/gstpipeline.c: (gst_pipeline_dispose),
13639 (gst_pipeline_change_state):
13640 * gst/gstpipeline.h:
13642 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13643 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13644 * gst/gstpluginfeature.h:
13645 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13646 * gst/gstquery.c: (_gst_query_type_initialize),
13647 (gst_query_type_register), (gst_query_type_get_by_nick),
13648 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13650 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13651 * gst/gstscheduler.c: (gst_scheduler_add_element),
13652 (gst_scheduler_factory_create):
13653 * gst/gststructure.c: (gst_structure_set_parent_refcount),
13654 (gst_structure_free), (gst_structure_set_name),
13655 (gst_structure_id_set_value), (gst_structure_set_value),
13656 (gst_structure_set_valist), (gst_structure_remove_field),
13657 (gst_structure_remove_fields),
13658 (gst_structure_remove_fields_valist),
13659 (gst_structure_remove_all_fields), (gst_structure_foreach),
13660 (gst_structure_map_in_place),
13661 (gst_caps_structure_fixate_field_nearest_int),
13662 (gst_caps_structure_fixate_field_nearest_double):
13663 * gst/gststructure.h:
13664 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13665 (gst_system_clock_init), (gst_system_clock_dispose),
13666 (gst_system_clock_async_thread),
13667 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13668 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13669 * gst/gstsystemclock.h:
13670 * gst/gsttag.c: (gst_tag_list_add_value_internal),
13671 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13672 * gst/gsttaginterface.c:
13673 * gst/gstthread.c: (gst_thread_dispose),
13674 (gst_thread_release_children_locks), (gst_thread_change_state),
13675 (gst_thread_main_loop):
13676 * gst/gsttrashstack.h:
13677 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13679 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13680 (gst_element_request_pad), (gst_element_get_pad_from_template),
13681 (gst_element_request_compatible_pad),
13682 (gst_element_get_compatible_pad_filtered),
13683 (gst_element_get_compatible_pad), (gst_element_state_get_name),
13684 (gst_element_link_pads_filtered), (gst_element_link_filtered),
13685 (gst_element_link_many), (gst_element_link),
13686 (gst_element_link_pads), (gst_element_unlink_pads),
13687 (gst_element_unlink_many), (gst_element_unlink),
13688 (gst_pad_can_link_filtered), (gst_pad_can_link),
13689 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13690 (gst_object_default_error), (gst_bin_add_many),
13691 (gst_bin_remove_many), (gst_element_populate_std_props),
13692 (gst_element_class_install_std_props), (gst_buffer_merge),
13693 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13694 (link_fold_func), (gst_pad_proxy_setcaps):
13696 * gst/gstvalue.c: (gst_value_deserialize_string):
13697 * gst/parse/grammar.y:
13698 * gst/schedulers/gstbasicscheduler.c:
13699 (gst_basic_scheduler_cothreaded_chain),
13700 (gst_basic_scheduler_chain_recursive_add),
13701 (gst_basic_scheduler_pad_link):
13702 * gst/schedulers/gstoptimalscheduler.c:
13703 (get_group_schedule_function),
13704 (gst_opt_scheduler_state_transition),
13705 (gst_opt_scheduler_add_element), (element_get_reachables_func):
13706 * libs/gst/bytestream/bytestream.c:
13707 * libs/gst/dataprotocol/dataprotocol.c:
13708 (gst_dp_header_from_buffer):
13711 * tests/threadstate/threadstate2.c: (eos):
13712 * tools/gst-compprep.c: (main):
13713 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13714 (print_pad_info), (print_children_info):
13715 * tools/gst-launch.c: (idle_func), (main):
13716 * tools/gst-md5sum.c: (idle_func), (main):
13717 * tools/gst-xmlinspect.c: (print_element_info):
13718 First THREADED backport attempt, focusing on adding locks and
13719 making sure the API is threadsafe. Needs more work. More docs
13722 2005-02-24 Andy Wingo <wingo@pobox.com>
13724 * tests/bench-complexity.scm:
13725 * tests/complexity.gnuplot: New files, good for running complexity
13728 * tests/Makefile.am:
13729 * tests/complexity.c: New test, sets up N elements, at each level
13730 teeing into M streams per element. Eeeenteresting.
13732 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13733 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13734 running bench-mass_elements.scm.
13736 * tests/bench-mass_elements.scm: New script, runs mass_elements
13737 for various numbers of identities, outputting the results to a
13738 file. Requires guile 1.6. Just for testing.
13740 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
13742 * gst/schedulers/fairscheduler.c:
13743 compile with debug disabled
13745 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
13748 hunting season on 0.9 is now OPEN