1 2006-01-05 Wim Taymans <wim@fluendo.com>
3 * gst/gstplugin.c: (gst_plugin_load_file):
4 Replace strdup by g_strdup.
6 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
8 * docs/pwg/advanced-types.xml:
11 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
13 submitted by: Abel Cheung
17 Added Chinese (traditional) translation
19 2006-01-04 Wim Taymans <wim@fluendo.com>
21 * docs/manual/basics-pads.xml:
22 * docs/plugins/Makefile.am:
23 * docs/plugins/gstreamer-plugins-docs.sgml:
24 * docs/plugins/gstreamer-plugins-sections.txt:
25 * docs/pwg/advanced-clock.xml:
26 * docs/pwg/advanced-scheduling.xml:
27 * docs/pwg/advanced-types.xml:
28 * plugins/elements/gstfdsink.c:
29 * plugins/elements/gstfdsrc.c:
30 * plugins/elements/gstfdsrc.h:
31 * plugins/elements/gstidentity.c: (gst_identity_class_init):
32 * plugins/elements/gstidentity.h:
33 * plugins/elements/gstqueue.h:
34 * plugins/elements/gsttee.c:
35 * plugins/elements/gsttee.h:
36 * plugins/elements/gsttypefindelement.c:
37 (gst_type_find_element_class_init):
38 * plugins/elements/gsttypefindelement.h:
39 Small updates to various docs.
40 Added core plugins to docs.
42 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
45 add a suppression for liboil's uninitialized variable
47 2006-01-02 James Livingston <jrl at ids dot org dot au>
49 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
52 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
53 macro, so that gcc doesn't complain if the -Wmissing-prototypes
54 compiler switch is being used (#325429).
57 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
59 * gst/gstbin.c: (gst_bin_query):
60 Disable duration query caching in bins until it gets
63 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
65 * tools/gst-inspect.c: (print_element_properties_info):
66 Handle properties of POINTER and BOXED type.
68 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
70 * gst/gst.c: (init_post):
71 Init tags stuff and some other things before loading
72 any static plugins (there may be other static plugins
73 than just the GStreamer ones, and they may want to
74 register their own tags or formats or whatever, and
75 preferably without segfaulting).
77 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
78 Print at least a warning in the debug logs if we drop a
79 query just because we don't know how to adjust the value
80 in the particular format.
82 2005-12-24 David Schleef <ds@schleef.org>
84 * tools/gstreamer-completion:
85 Replacement for gst-complete written in sh and sed. Only
86 completes names of features, but that's 90% of what I want
87 it for. Properties are not available in registry.xml. (Maybe
90 === release 0.10.1 ===
92 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
95 releasing 0.10.1, "Nollaig chridheil"
97 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
100 Add missing quote, should be make ERROR_CFLAGS="".
102 2005-12-20 Wim Taymans <wim@fluendo.com>
104 * docs/design/part-trickmodes.txt:
105 More documentation on trickmodes.
107 2005-12-20 Edward Hervey <edward@fluendo.com>
109 * gst/gstcaps.c: (gst_static_caps_get_type):
111 API addition: GST_TYPE_STATIC_CAPS
112 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
113 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
114 * gst/gstpadtemplate.h:
115 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
116 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
119 2005-12-18 Wim Taymans <wim@fluendo.com>
121 * libs/gst/base/gstadapter.c:
122 * libs/gst/base/gstadapter.h:
123 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
124 (gst_base_sink_get_position):
125 * libs/gst/base/gstbasesink.h:
126 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
127 (gst_base_src_default_query), (gst_base_src_default_do_seek),
128 (gst_base_src_do_seek), (gst_base_src_perform_seek),
129 (gst_base_src_send_event), (gst_base_src_update_length),
130 (gst_base_src_get_range), (gst_base_src_loop),
131 (gst_base_src_start):
132 * libs/gst/base/gstbasesrc.h:
133 * libs/gst/base/gstbasetransform.h:
134 * libs/gst/base/gstcollectpads.h:
135 * libs/gst/base/gstpushsrc.c:
136 * libs/gst/base/gstpushsrc.h:
137 * libs/gst/dataprotocol/dataprotocol.c:
138 * libs/gst/dataprotocol/dataprotocol.h:
139 * libs/gst/net/gstnetclientclock.h:
140 * libs/gst/net/gstnettimeprovider.h:
141 Documentation updates.
143 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
145 * docs/manual/basics-helloworld.xml:
146 Remove superfluous closing bracket in helloworld example.
148 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
150 * tools/gst-launch.1.in:
151 Update gst-launch man page; add a section with useful
152 environment variables. Fixes #323882.
154 2005-12-16 Stefan Kost <ensonic@users.sf.net>
158 change some char* into char[]
160 2005-12-16 Wim Taymans <wim@fluendo.com>
162 * gst/gstregistryxml.c: (load_feature):
164 Don't use g_object_unref on GstObjects so that we avoid
165 leaks on unsafe glibs.
167 2005-12-16 Wim Taymans <wim@fluendo.com>
169 * gst/gstbin.c: (gst_bin_recalc_state):
172 2005-12-16 Wim Taymans <wim@fluendo.com>
175 Added make forever target for check.
177 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
179 * gst/gst.c: (init_post):
180 make the registry cache file HOST_CPU-dependent
182 2005-12-16 Andy Wingo <wingo@pobox.com>
184 * plugins/elements/gstbufferstore.c
185 (gst_buffer_store_cleared_func): Pay attention to g_list_append
188 * tests/check/gst/gstobject.c
189 (test_fake_object_name_threaded_unique): Pay attention to
190 g_list_sort return value.
192 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
194 * tools/gst-feedback-m.m:
195 Update for 0.9/0.10 (fixes #323870).
197 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
199 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
200 Fix lcopy for mini objects, the mini object needs to be ref'ed.
202 * tests/check/gst/gstminiobject.c: (my_foo_init),
203 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
204 (test_value_collection), (gst_mini_object_suite):
205 Add test to ensure refcounts end up as expected when passing
206 GstMiniObjects through g_object_get() and g_object_set().
208 2005-12-14 Julien MOUTTE <julien@moutte.net>
210 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
211 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
212 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
213 of collectpads. This version removes a lot of races without
214 touching API/ABI. Yay !
216 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
218 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
219 Don't allow activation of a srcpad in pull_range if it has no
221 Change some debug statements to be a little clearer
223 * plugins/elements/gsttypefindelement.c:
224 (gst_type_find_handle_src_query):
225 Check that we have a peer before executing queries thereupon.
227 * tests/examples/metadata/read-metadata.c: (message_loop):
228 Use gst_bus_pop instead of gst_bus_poll when we just want it to
229 immediately return us any available message with 0 timeout.
231 2005-12-12 Michael Smith <msmith@fluendo.com>
233 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
234 Don't unref factories after calling them.
235 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
236 * plugins/elements/gsttypefindelement.c:
237 (gst_type_find_element_chain):
238 Free lists of factories after using them. Fixing typefinding memory
241 2005-12-12 Stefan Kost <ensonic@users.sf.net>
243 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
244 (gst_plugin_feature_load):
245 more meaningful debug output
248 * tests/old/examples/Makefile.am:
249 make make distcheck happy again
251 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
253 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
254 Catch the special case where we are operating chain-based,
255 but the downstream peer pad has no chain function. Emit a
256 custom error message in this case instead of letting the
257 core generate one implying that this is some sort of core
258 bug. It's not, it just means that whatever got plugged
259 into the pipeline downstream when we announced the type
260 can only operate pull-based, while our source can only
261 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
262 Error string has not been marked for translation yet, as
263 it probably needs some more work first.
265 (gst_type_find_element_get_best_possibility):
266 Add helper function to find the best of all available
267 found possibilities that qualify given the min. threshold.
269 (gst_type_find_element_handle_event):
270 Fix the case where we get an EOS while still in TYPEFIND
271 mode (we want to chose the best of all possible types,
272 not just the first type that happens to be in our unsorted
273 list of possible types).
275 (gst_type_find_element_chain):
276 Make sure we return GST_FLOW_ERROR when we errored out
277 in stop_typefinding(); also, don't just find the best of
278 all found type entries and then use the last examined
279 type entry, but actually use the best entry.
281 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
283 * tests/examples/typefind/typefind.c: (type_found):
284 * tests/examples/xml/runxml.c: (xml_loaded):
285 More gcc4 fixes and a mem leak fix.
287 2005-12-12 Stefan Kost <ensonic@users.sf.net>
289 * tests/examples/xml/createxml.c: (object_saved):
292 2005-12-12 Stefan Kost <ensonic@users.sf.net>
295 enable the examples even more
297 2005-12-12 Andy Wingo <wingo@pobox.com>
299 * libs/gst/net/gstnettimeprovider.c
300 (gst_net_time_provider_class_init, gst_net_time_provider_init)
301 (gst_net_time_provider_set_property)
302 (gst_net_time_provider_get_property):
303 API addition: Export "active" as a GObject property.
304 (gst_net_time_provider_thread): Only respond to time queries if
305 the time provider is active.
307 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
308 NetTimeProvider, preserving binary compat.
310 2005-12-12 Stefan Kost <ensonic@users.sf.net>
312 * tests/examples/controller/audio-example.c: (main):
313 * tests/examples/launch/Makefile.am:
314 convert comments again
316 2005-12-12 Wim Taymans <wim@fluendo.com>
318 * libs/gst/base/gstpushsrc.c:
321 2005-12-12 Wim Taymans <wim@fluendo.com>
323 * docs/libs/gstreamer-libs-sections.txt:
324 Added new symbol to docs.
326 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
327 (gst_base_src_init), (gst_base_src_set_format),
328 (gst_base_src_default_query), (gst_base_src_query),
329 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
330 (gst_base_src_perform_seek), (gst_base_src_send_event),
331 (gst_base_src_default_event), (gst_base_src_event_handler),
332 (gst_base_src_set_property), (gst_base_src_get_property),
333 (gst_base_src_wait), (gst_base_src_do_sync),
334 (gst_base_src_update_length), (gst_base_src_get_range),
335 (gst_base_src_check_get_range), (gst_base_src_loop),
336 (gst_base_src_default_negotiate), (gst_base_src_start),
337 (gst_base_src_activate_push), (gst_base_src_activate_pull),
338 (gst_base_src_change_state):
339 * libs/gst/base/gstbasesrc.h:
340 Implement seeking to other formats than _BYTES.
341 Implement more seeking methods correctly.
344 Added do_seek vmethod to make life easier for subclasses
346 API addition: gst_base_src_set_format()
348 2005-12-12 Stefan Kost <ensonic@users.sf.net>
350 * tests/examples/Makefile.am:
353 2005-12-12 Stefan Kost <ensonic@users.sf.net>
356 * docs/random/ensonic/media-device-daemon.txt:
357 * tests/examples/controller/.cvsignore:
358 * tests/examples/controller/Makefile.am:
359 * tests/examples/controller/audio-example.c: (main):
360 * tests/examples/helloworld/.cvsignore:
361 * tests/examples/helloworld/Makefile.am:
362 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
363 * tests/examples/launch/.cvsignore:
364 * tests/examples/launch/Makefile.am:
365 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
366 * tests/examples/metadata/.cvsignore:
367 * tests/examples/metadata/Makefile.am:
368 * tests/examples/metadata/read-metadata.c: (message_loop),
369 (make_pipeline), (print_tag), (main):
370 * tests/examples/queue/.cvsignore:
371 * tests/examples/queue/Makefile.am:
372 * tests/examples/queue/queue.c: (event_loop), (main):
373 * tests/examples/typefind/.cvsignore:
374 * tests/examples/typefind/Makefile.am:
375 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
377 * tests/examples/xml/.cvsignore:
378 * tests/examples/xml/Makefile.am:
379 * tests/examples/xml/createxml.c: (object_saved), (main):
380 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
381 * tests/old/examples/Makefile.am:
382 * tests/old/examples/TODO:
383 * tests/old/examples/controller/.cvsignore:
384 * tests/old/examples/controller/Makefile.am:
385 * tests/old/examples/controller/audio-example.c:
386 * tests/old/examples/helloworld/.cvsignore:
387 * tests/old/examples/helloworld/Makefile.am:
388 * tests/old/examples/helloworld/helloworld.c:
389 * tests/old/examples/launch/.cvsignore:
390 * tests/old/examples/launch/Makefile.am:
391 * tests/old/examples/launch/mp3parselaunch.c:
392 * tests/old/examples/launch/mp3play:
393 * tests/old/examples/manual/Makefile.am:
394 * tests/old/examples/metadata/Makefile.am:
395 * tests/old/examples/metadata/read-metadata.c:
396 * tests/old/examples/queue/.cvsignore:
397 * tests/old/examples/queue/Makefile.am:
398 * tests/old/examples/queue/queue.c:
399 * tests/old/examples/typefind/.cvsignore:
400 * tests/old/examples/typefind/Makefile.am:
401 * tests/old/examples/typefind/typefind.c:
402 * tests/old/examples/xml/.cvsignore:
403 * tests/old/examples/xml/Makefile.am:
404 * tests/old/examples/xml/createxml.c:
405 * tests/old/examples/xml/runxml.c:
406 applied some simple fixing to some examples
407 re-enabled the working examples
409 2005-12-12 Wim Taymans <wim@fluendo.com>
411 * gst/gstsegment.c: (gst_segment_init),
412 (gst_segment_set_last_stop), (gst_segment_set_seek),
413 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
414 (gst_segment_to_running_time):
415 Added more documentation.
416 Make sure the last_pos value is updated properly.
417 Make sure to_stream_time and to_running_time don't
418 operate on wrong values.
420 * tests/check/gst/gstsegment.c: (GST_START_TEST):
423 2005-12-12 Michael Smith <msmith@fluendo.com>
425 * plugins/elements/gsttypefindelement.c: (free_entry),
426 (gst_type_find_element_chain):
427 Now that we're not leaking factories, make sure we keep references
428 to them while we need them.
430 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
432 * tests/check/gst/struct_i386.h:
433 ifdef out the XML structs
435 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
437 * gst/gstvalue.c: (gst_value_transform_double_fraction):
438 floor is not needed, F is always positive; this obviates the
439 need for adding -lm when building without libxml
441 2005-12-12 Wim Taymans <wim@fluendo.com>
443 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
444 Take current playback rate into account when reporting
447 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
449 * docs/manual/mime-world.fig:
450 Let's try this again, this time with a file that is
451 actually in XFig format.
453 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
455 * docs/manual/mime-world.fig:
456 Add audioconvert element to diagram so that it
457 matches the text and the code (fixes #319526).
459 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
461 * docs/pwg/building-chainfn.xml:
462 * docs/pwg/building-pads.xml:
463 * docs/pwg/building-state.xml:
464 * docs/pwg/other-source.xml:
465 Update state change stuff for 0.10 (fixes #322969).
467 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
469 * docs/manual/advanced-dataaccess.xml:
470 * docs/manual/appendix-checklist.xml:
471 * docs/manual/appendix-programs.xml:
472 * docs/manual/basics-pads.xml:
473 * docs/manual/highlevel-components.xml:
474 * docs/manual/manual.xml:
475 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
476 add converters in front of pipelines; remove curly
477 brackets for threads stuff, they no longer exist; use
478 GST_TYPE_FRACTION for framerates; update some pieces of
479 code to 0.10, but there's plenty more to do.
481 * docs/manual/appendix-porting.xml:
482 Expand on asynchroneous state changes; s/0.9/0.10/;
483 mention disappearance of gst_init_get_popt_table()
486 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
488 * docs/faq/using.xml:
489 Spider no longer exists, and neither does gst-launch-ext.
490 Update examples to use decodebin and playbin and put
491 converters in front of sinks (fixes #323726).
493 2005-12-09 Michael Smith <msmith@fluendo.com>
495 * plugins/elements/gsttypefindelement.c: (find_peek),
496 (gst_type_find_element_chain):
497 Fix leaking element factories in typefinding.
498 Fix problem where we forgot about a probable type on non-seekable
499 files, and thus later mis-typefound it.
501 2005-12-09 Michael Smith <msmith@fluendo.com>
503 * common/m4/gst-makecontext.m4:
504 * common/m4/gst-mcsc.m4:
506 * win32/common/config.h:
507 * win32/common/config.h.in:
508 Remove makecontext stuff; not used in 0.10 and causes problems on
509 HPUX according to bug #322441
511 2005-12-07 Wim Taymans <wim@fluendo.com>
513 * tests/check/Makefile.am:
514 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
516 * tests/check/libs/struct_i386.h:
517 Added ABI check for libs
519 2005-12-07 Wim Taymans <wim@fluendo.com>
521 * tests/check/Makefile.am:
522 And add the struct_i386.h to dist.
524 2005-12-07 Wim Taymans <wim@fluendo.com>
526 * tests/check/Makefile.am:
527 * tests/check/gst/.cvsignore:
528 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
530 * tests/check/gst/struct_i386.h:
531 Added check for ABI compatibility.
533 2005-12-07 Wim Taymans <wim@fluendo.com>
535 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
536 (gst_fake_src_get_times), (gst_fake_src_create):
537 Fix broken sync option, fixes #323259
539 2005-12-07 Wim Taymans <wim@fluendo.com>
544 * gst/gstcaps.c: (gst_caps_is_equal):
545 Don't assert on NULL <--> X. Fixes #323260
547 * gst/gstminiobject.c: (gst_mini_object_replace):
548 If we're doing atomic operations, we might just as well use
549 the proper way to get an atomic pointer.
551 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
554 2005-12-07 Michael Smith <msmith@fluendo.com>
556 * gst/parse/grammar.y:
557 Remove handling of { } for threads.
559 2005-12-06 David Schleef <ds@schleef.org>
561 * libs/gst/base/gstbasetransform.c: speling fix.
563 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
565 * docs/libs/tmpl/gstdataprotocol.sgml:
566 * docs/random/omega/testing/gstobject.c:
570 * gst/gstelementfactory.c:
575 * gst/gstpadtemplate.c:
576 * gst/gstregistryxml.c:
578 * gst/gsttagsetter.c:
581 * libs/gst/base/gstbasesrc.c:
582 * libs/gst/net/gstnetclientclock.c:
583 * libs/gst/net/gstnettimeprovider.c:
584 * plugins/elements/gstfakesrc.c:
585 * plugins/elements/gstfdsrc.c:
586 * plugins/elements/gstfilesrc.c:
587 * plugins/elements/gstidentity.c:
588 * plugins/elements/gstqueue.c:
589 * plugins/elements/gsttypefindelement.c:
590 * plugins/indexers/gstfileindex.c:
591 * plugins/indexers/gstmemindex.c:
592 * tests/check/gst/gsttag.c:
593 * tests/old/examples/cutter/cutter.c:
594 * tests/old/examples/mixer/mixer.c:
595 * tests/old/examples/xml/runxml.c: (main):
596 * tests/old/testsuite/caps/normalisation.c:
597 * tests/old/testsuite/debug/global.c:
598 * tests/old/testsuite/parse/parse1.c:
599 * tools/gst-xmlinspect.c:
600 * win32/common/dirent.c:
603 === release 0.10.0 ===
605 2005-12-05 <thomas (at) apestaart (dot) org>
608 releasing 0.10.0, "Maroilles"
610 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
612 submitted by: Funda Wang <fundawang@linux.net.cn>
616 added Chinese (Traditional) translation
618 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
620 * docs/gst/gstreamer-sections.txt:
621 * docs/libs/tmpl/gstdataprotocol.sgml:
622 * docs/random/thomasvs/TODO:
627 2005-12-05 Andy Wingo <wingo@pobox.com>
629 patch by: Wim Taymans <wim@fluendo.com>
631 * libs/gst/base/gstbasetransform.c
632 (gst_base_transform_prepare_output_buf)
633 (gst_base_transform_buffer_alloc):
634 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
635 alloc_buffer_and_set_caps.
637 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
638 set_caps on the source pad.
639 (gst_pad_alloc_buffer_and_set_caps): New function, does what
640 alloc_buffer used to do. Fixes #322874.
642 * docs/gst/gstreamer-sections.txt:
643 * docs/design/part-negotiation.txt:
644 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
647 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
649 patch by: Sebastien Moutte
652 * win32/common/config.h.in:
653 * win32/vs6/libgstcontroller.dsp:
656 2005-12-05 Wim Taymans <wim@fluendo.com>
658 * gst/gstcaps.c: (gst_caps_is_equal):
659 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
660 (gst_fake_src_create):
661 Back out previous code changes, leave doc updates, file bugs
664 2005-12-05 Wim Taymans <wim@fluendo.com>
666 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
667 (gst_fake_src_get_times), (gst_fake_src_create):
668 * plugins/elements/gstfakesrc.h:
669 Fix broken sync code.
671 2005-12-05 Wim Taymans <wim@fluendo.com>
673 * gst/gstcaps.c: (gst_caps_is_equal):
674 Comparing NULL against !NULL yields different caps, not a
677 2005-12-05 Wim Taymans <wim@fluendo.com>
680 Fix small typo in docs.
682 2005-12-05 Andy Wingo <wingo@pobox.com>
684 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
686 * gst/gst.c (init_post): remove hard-coded 0.9 location for
687 registries/plugins with a MAJORMINOR one.
688 (plugin_desc): Rename library from gstcoreleements to
689 staticelements. Fixes #323222.
691 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
693 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
694 Change debug category to 'collectpads' from 'collect_pads'
697 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
699 patch by: Sebastien Moutte
701 * libs/gst/controller/gstinterpolation.c:
702 use convert function for uint64/double
703 * win32/vs6/libgstcontroller.dsp:
706 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
708 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
709 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
711 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
712 add tests that seem to show that the guint64/gdouble conversions
715 2005-12-02 Wim Taymans <wim@fluendo.com>
717 * gst/gstregistry.c: (gst_registry_add_path):
719 * gst/gstregistryxml.c:
722 2005-12-02 Wim Taymans <wim@fluendo.com>
724 * gst/gstutils.c: (gst_util_uint64_scale_int64),
725 (gst_util_uint64_scale_int):
728 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
731 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
734 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
737 * win32/common/config.h:
738 * win32/vs6/gstreamer.dsw:
739 * win32/vs6/libgstcoreelements.dsp:
740 * win32/vs6/libgstelements.dsp:
741 renamed core elements plugin
743 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
745 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
747 do piece-wise major/minor comparison so 0.9 < 0.10
748 also allow .exe extensions for tools
750 2005-12-02 Michael Smith <msmith@fluendo.com>
753 Escape a % to make gtkdoc happier; bug 322958.
755 === release 0.9.7 ===
757 2005-12-01 <thomas (at) apestaart (dot) org>
760 releasing 0.9.7, "My Dog Has No Nose"
762 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
764 * common/gst-xmlinspect.py:
766 * docs/libs/tmpl/gstdataprotocol.sgml:
767 * docs/random/release:
786 * win32/common/config.h:
787 * win32/common/config.h.in:
788 * win32/vs6/gst_inspect.dsp:
789 * win32/vs6/gst_launch.dsp:
790 * win32/vs6/libgstbase.dsp:
791 * win32/vs6/libgstelements.dsp:
792 * win32/vs6/libgstreamer.dsp:
793 * win32/vs7/GStreamer.vcproj:
794 * win32/vs7/gst-inspect.vcproj:
795 * win32/vs7/gst-launch.vcproj:
796 * win32/vs7/libgstbase.vcproj:
797 bump GST_MAJORMINOR to 0.10
798 reset libtool version
800 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
804 Added Bulgarian translation by (Alexander Shopov)
806 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
808 * tests/check/gst/gstplugin.c:
811 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
813 * common/gst-xmlinspect.py:
814 * common/gtk-doc-plugins.mak:
817 * docs/gst/Makefile.am:
818 * docs/gst/gstreamer-docs.sgml:
819 * docs/gst/gstreamer-sections.txt:
820 * docs/gst/gstreamer.types:
821 * docs/gst/gstreamer.types.in:
822 * docs/plugins/Makefile.am:
823 * docs/plugins/gstreamer-plugins-docs.sgml:
824 * docs/plugins/gstreamer-plugins-sections.txt:
825 * docs/plugins/gstreamer-plugins.types:
826 * docs/plugins/inspect.stamp:
827 * docs/plugins/inspect/plugin-coreelements.xml:
828 * docs/plugins/inspect/plugin-coreindexers.xml:
829 * docs/plugins/scanobj-build.stamp:
831 * plugins/elements/Makefile.am:
832 * plugins/elements/gstelements.c:
833 * plugins/elements/gstfakesink.c:
834 * plugins/elements/gstfakesrc.c:
835 * plugins/elements/gstfilesink.c:
836 * plugins/elements/gstfilesrc.c:
837 * plugins/elements/gstqueue.c:
838 * plugins/indexers/Makefile.am:
839 * plugins/indexers/gstindexers.c:
840 document core plugins in a separate document just like all the
842 rename these plugins to something starting with core
844 2005-12-01 Andy Wingo <wingo@pobox.com>
846 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
847 padding here before, but it missed the commit.
849 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
851 * libs/gst/controller/gstinterpolation.c:
852 whitespace prices have crashed, we should feel free to use some now
853 use gst_guint64_to_gdouble
855 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
857 * libs/gst/controller/gstcontroller.c:
858 * libs/gst/controller/gsthelper.c:
859 * libs/gst/controller/gstinterpolation.c:
860 * libs/gst/controller/lib.c:
861 wrap config.h include
863 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
865 * docs/gst/gstreamer-sections.txt:
868 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
870 * plugins/elements/gstelements.c:
871 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
872 (gst_fd_sink__class_init), (gst_fd_sink__init),
873 (gst_fd_sink__chain), (gst_fd_sink__set_property),
874 (gst_fd_sink__get_property):
875 * plugins/elements/gstfdsink.h:
876 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
877 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
878 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
879 (gst_fd_src_unlock), (gst_fd_src_set_property),
880 (gst_fd_src_get_property), (gst_fd_src_create),
881 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
882 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
883 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
884 (gst_fd_src_uri_handler_init):
885 * plugins/elements/gstfdsrc.h:
886 * plugins/elements/gstqueue.c: (gst_queue_get_type):
889 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
891 * docs/gst/Makefile.am:
892 * docs/gst/gstreamer.types.in:
896 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
903 * tests/benchmarks/complexity.c:
904 * tests/benchmarks/mass-elements.c:
905 * tests/check/Makefile.am:
907 * tools/gst-inspect.c:
908 * tools/gst-xmlinspect.c:
909 various fixes to make
910 --disable-nls --disable-registry --disable-loadsave
911 --disable-parse --disable-gst-debug
912 work and get the core .so down to 360444 bytes after stripping
914 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
919 * docs/random/thomasvs/TODO:
924 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
926 * win32/GStreamer.vcproj:
929 * win32/Makefile.inspect:
930 * win32/Makefile.launch:
931 * win32/Makefile.register:
933 * win32/gst-inspect.vcproj:
934 * win32/gst-launch.vcproj:
935 * win32/gst-register.vcproj:
936 * win32/gstelements.vcproj:
937 * win32/gstgetbits.def:
938 * win32/gstgetbits.vcproj:
939 * win32/gstreamer-dbg.def:
940 * win32/gstreamer.def:
941 * win32/libgstbase.def:
942 * win32/libgstbase.vcproj:
943 * win32/link_oldruntime.c:
948 move even more stuff, win32/ is nice and clean now
950 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
952 * libs/gst/control/.cvsignore:
957 * win32/gstbytestream.def:
958 * win32/gstbytestream.vcproj:
960 * win32/gstenumtypes.c:
961 * win32/gstenumtypes.h:
962 * win32/gstoptimalscheduler.vcproj:
963 * win32/gstversion.h:
965 * win32/testsuite/bins.vcproj:
966 * win32/testsuite/bytestream.vcproj:
967 * win32/testsuite/caps.vcproj:
968 * win32/testsuite/cleanup.vcproj:
969 * win32/testsuite/clock.vcproj:
970 * win32/testsuite/debug.vcproj:
971 * win32/testsuite/dlopen.vcproj:
972 * win32/testsuite/dynparams.vcproj:
973 * win32/testsuite/elements.vcproj:
974 * win32/testsuite/ghostpads.vcproj:
975 * win32/testsuite/indexers.vcproj:
976 * win32/testsuite/negotiation.vcproj:
977 * win32/testsuite/parse.vcproj:
978 * win32/testsuite/plugin.vcproj:
979 * win32/testsuite/refcounting.vcproj:
980 * win32/testsuite/schedulers.vcproj:
981 * win32/testsuite/states.vcproj:
982 * win32/testsuite/tags.vcproj:
983 * win32/testsuite/threads.vcproj:
984 remove old win32 stuff that isn't maintained and should be
987 2005-11-30 Andy Wingo <wingo@pobox.com>
989 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
990 loading the gst.interfaces python module bork.
992 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
993 available since GLib 2.2. Fixes #318031.
995 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1000 * check/elements/.cvsignore:
1001 * check/elements/fakesrc.c:
1002 * check/elements/fdsrc.c:
1003 * check/elements/identity.c:
1004 * check/generic/.cvsignore:
1005 * check/generic/states.c:
1006 * check/gst-libs/.cvsignore:
1007 * check/gst-libs/controller.c:
1008 * check/gst-libs/gdp.c:
1009 * check/gst/.cvsignore:
1010 * check/gst/capslist.h:
1012 * check/gst/gstbin.c:
1013 * check/gst/gstbuffer.c:
1014 * check/gst/gstbus.c:
1015 * check/gst/gstcaps.c:
1016 * check/gst/gstelement.c:
1017 * check/gst/gstevent.c:
1018 * check/gst/gstghostpad.c:
1019 * check/gst/gstiterator.c:
1020 * check/gst/gstmessage.c:
1021 * check/gst/gstminiobject.c:
1022 * check/gst/gstobject.c:
1023 * check/gst/gstpad.c:
1024 * check/gst/gstpipeline.c:
1025 * check/gst/gstplugin.c:
1026 * check/gst/gstsegment.c:
1027 * check/gst/gststructure.c:
1028 * check/gst/gstsystemclock.c:
1029 * check/gst/gsttag.c:
1030 * check/gst/gstutils.c:
1031 * check/gst/gstvalue.c:
1032 * check/net/.cvsignore:
1033 * check/net/gstnetclientclock.c:
1034 * check/net/gstnettimeprovider.c:
1035 * check/pipelines/.cvsignore:
1036 * check/pipelines/cleanup.c:
1037 * check/pipelines/simple_launch_lines.c:
1038 * check/pipelines/stress.c:
1039 * check/states/.cvsignore:
1040 * check/states/sinks.c:
1042 * examples/Makefile.am:
1043 * examples/appreader/.cvsignore:
1044 * examples/appreader/Makefile.am:
1045 * examples/appreader/appreader.c:
1046 * examples/controller/.cvsignore:
1047 * examples/controller/Makefile.am:
1048 * examples/controller/audio-example.c:
1049 * examples/cutter/.cvsignore:
1050 * examples/cutter/Makefile.am:
1051 * examples/cutter/cutter.c:
1052 * examples/cutter/cutter.h:
1053 * examples/events/Makefile.am:
1054 * examples/events/seek.c:
1055 * examples/helloworld/.cvsignore:
1056 * examples/helloworld/Makefile.am:
1057 * examples/helloworld/helloworld.c:
1058 * examples/helloworld2/.cvsignore:
1059 * examples/helloworld2/Makefile.am:
1060 * examples/helloworld2/helloworld2.c:
1061 * examples/launch/.cvsignore:
1062 * examples/launch/Makefile.am:
1063 * examples/launch/mp3parselaunch.c:
1064 * examples/launch/mp3play:
1065 * examples/manual/.cvsignore:
1066 * examples/manual/Makefile.am:
1067 * examples/manual/extract.pl:
1068 * examples/metadata/Makefile.am:
1069 * examples/metadata/read-metadata.c:
1070 * examples/mixer/.cvsignore:
1071 * examples/mixer/Makefile.am:
1072 * examples/mixer/mixer.c:
1073 * examples/mixer/mixer.h:
1074 * examples/pingpong/.cvsignore:
1075 * examples/pingpong/Makefile.am:
1076 * examples/pingpong/pingpong.c:
1077 * examples/plugins/.cvsignore:
1078 * examples/plugins/Makefile.am:
1079 * examples/plugins/example.c:
1080 * examples/plugins/example.h:
1081 * examples/pwg/.cvsignore:
1082 * examples/pwg/Makefile.am:
1083 * examples/pwg/extract.pl:
1084 * examples/queue/.cvsignore:
1085 * examples/queue/Makefile.am:
1086 * examples/queue/queue.c:
1087 * examples/queue2/.cvsignore:
1088 * examples/queue2/Makefile.am:
1089 * examples/queue2/queue2.c:
1090 * examples/queue3/.cvsignore:
1091 * examples/queue3/Makefile.am:
1092 * examples/queue3/queue3.c:
1093 * examples/queue4/.cvsignore:
1094 * examples/queue4/Makefile.am:
1095 * examples/queue4/queue4.c:
1096 * examples/retag/.cvsignore:
1097 * examples/retag/Makefile.am:
1098 * examples/retag/retag.c:
1099 * examples/retag/transcode.c:
1100 * examples/thread/.cvsignore:
1101 * examples/thread/Makefile.am:
1102 * examples/thread/thread.c:
1103 * examples/typefind/.cvsignore:
1104 * examples/typefind/Makefile.am:
1105 * examples/typefind/typefind.c:
1106 * examples/xml/.cvsignore:
1107 * examples/xml/Makefile.am:
1108 * examples/xml/createxml.c:
1109 * examples/xml/runxml.c:
1110 * tests/Makefile.am:
1111 * tests/check/Makefile.am:
1112 * testsuite/.cvsignore:
1113 * testsuite/Makefile.am:
1115 * testsuite/caps/.cvsignore:
1116 * testsuite/caps/Makefile.am:
1117 * testsuite/caps/app_fixate.c:
1118 * testsuite/caps/audioscale.c:
1119 * testsuite/caps/caps.c:
1120 * testsuite/caps/caps.h:
1121 * testsuite/caps/caps_strings:
1122 * testsuite/caps/compatibility.c:
1123 * testsuite/caps/deserialize.c:
1124 * testsuite/caps/enumcaps.c:
1125 * testsuite/caps/eratosthenes.c:
1126 * testsuite/caps/filtercaps.c:
1127 * testsuite/caps/fixed.c:
1128 * testsuite/caps/fraction-convert.c:
1129 * testsuite/caps/fraction-multiply-and-zero.c:
1130 * testsuite/caps/intersect2.c:
1131 * testsuite/caps/intersection.c:
1132 * testsuite/caps/normalisation.c:
1133 * testsuite/caps/random.c:
1134 * testsuite/caps/renegotiate.c:
1135 * testsuite/caps/sets.c:
1136 * testsuite/caps/simplify.c:
1137 * testsuite/caps/string-conversions.c:
1138 * testsuite/caps/structure.c:
1139 * testsuite/caps/subtract.c:
1140 * testsuite/caps/union.c:
1141 * testsuite/debug/.cvsignore:
1142 * testsuite/debug/Makefile.am:
1143 * testsuite/debug/category.c:
1144 * testsuite/debug/commandline.c:
1145 * testsuite/debug/global.c:
1146 * testsuite/debug/output.c:
1147 * testsuite/debug/printf_extension.c:
1148 * testsuite/dlopen/.cvsignore:
1149 * testsuite/dlopen/Makefile.am:
1150 * testsuite/dlopen/dlopen_gst.c:
1151 * testsuite/dlopen/loadgst.c:
1152 * testsuite/elements/.cvsignore:
1153 * testsuite/elements/Makefile.am:
1154 * testsuite/elements/gst-inspect-check.in:
1155 * testsuite/elements/struct_i386.h:
1156 * testsuite/elements/struct_size.c:
1157 * testsuite/indexers/.cvsignore:
1158 * testsuite/indexers/Makefile.am:
1159 * testsuite/indexers/cache1.c:
1160 * testsuite/indexers/indexdump.c:
1161 * testsuite/parse/.cvsignore:
1162 * testsuite/parse/Makefile.am:
1163 * testsuite/parse/parse1.c:
1164 * testsuite/parse/parse2.c:
1165 * testsuite/plugin/.cvsignore:
1166 * testsuite/plugin/Makefile.am:
1167 * testsuite/plugin/README:
1168 * testsuite/plugin/dynamic.c:
1169 * testsuite/plugin/linked.c:
1170 * testsuite/plugin/loading.c:
1171 * testsuite/plugin/registry.c:
1172 * testsuite/plugin/static.c:
1173 * testsuite/plugin/static2.c:
1174 * testsuite/plugin/testplugin.c:
1175 * testsuite/plugin/testplugin2.c:
1176 * testsuite/plugin/testplugin2_s.c:
1177 * testsuite/plugin/testplugin_s.c:
1178 * testsuite/refcounting/.cvsignore:
1179 * testsuite/refcounting/Makefile.am:
1180 * testsuite/refcounting/bin.c:
1181 * testsuite/refcounting/element.c:
1182 * testsuite/refcounting/element_pad.c:
1183 * testsuite/refcounting/mainloop.c:
1184 * testsuite/refcounting/mem.c:
1185 * testsuite/refcounting/mem.h:
1186 * testsuite/refcounting/object.c:
1187 * testsuite/refcounting/pad.c:
1188 * testsuite/refcounting/sched.c:
1189 * testsuite/refcounting/thread.c:
1190 * testsuite/states/.cvsignore:
1191 * testsuite/states/Makefile.am:
1192 * testsuite/states/bin.c:
1193 * testsuite/states/locked.c:
1194 * testsuite/states/parent.c:
1195 * testsuite/threads/.cvsignore:
1196 * testsuite/threads/159566.c:
1197 * testsuite/threads/159852.c:
1198 * testsuite/threads/Makefile.am:
1199 * testsuite/threads/queue.c:
1200 * testsuite/threads/signals.c:
1201 * testsuite/threads/staticrec.c:
1202 * testsuite/threads/thread.c:
1203 * testsuite/threads/threadb.c:
1204 * testsuite/threads/threadc.c:
1205 * testsuite/threads/threadd.c:
1206 * testsuite/threads/threade.c:
1207 * testsuite/threads/threadf.c:
1208 * testsuite/threads/threadg.c:
1209 * testsuite/threads/threadh.c:
1210 * testsuite/threads/threadi.c:
1211 move all of these under tests
1213 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1216 * tests/Makefile.am:
1219 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1221 * docs/gst/gstreamer-sections.txt:
1222 * tests/sched/.cvsignore:
1223 * tests/sched/Makefile.am:
1224 * tests/sched/cases/(fs-fs).xml:
1225 * tests/sched/cases/(fs-i-fs).xml:
1226 * tests/sched/cases/(fs-i-i-fs).xml:
1227 * tests/sched/cases/(fs-i-q[i-fs]).xml:
1228 * tests/sched/dynamic-pipeline.c:
1229 * tests/sched/interrupt1.c:
1230 * tests/sched/interrupt2.c:
1231 * tests/sched/interrupt3.c:
1232 * tests/sched/runtestcases:
1233 * tests/sched/runxml.c:
1234 * tests/sched/sched-stress.c:
1235 * tests/sched/sort.c:
1236 * tests/sched/testcases:
1237 * tests/sched/testcases1.tc:
1238 * tests/seeking/.cvsignore:
1239 * tests/seeking/Makefile.am:
1240 * tests/seeking/seeking1.c:
1241 * tests/threadstate/.cvsignore:
1242 * tests/threadstate/Makefile.am:
1243 * tests/threadstate/test1.c:
1244 * tests/threadstate/test2.c:
1245 * tests/threadstate/threadstate1.c:
1246 * tests/threadstate/threadstate2.c:
1247 * tests/threadstate/threadstate3.c:
1248 * tests/threadstate/threadstate4.c:
1249 * tests/threadstate/threadstate5.c:
1250 remove obsolete tests
1252 * tests/bench-complexity.scm:
1253 * tests/bench-mass_elements.scm:
1254 * tests/complexity.c:
1255 * tests/complexity.gnuplot:
1256 * tests/instantiate/.cvsignore:
1257 * tests/instantiate/Makefile.am:
1258 * tests/instantiate/caps.c:
1259 * tests/mass_elements.c:
1260 * tests/network-clock-utils.scm:
1261 * tests/network-clock.scm:
1263 First pass at cleaning up tests/ dir before moving the rest
1264 Combined with CVS surgery
1266 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1269 queue has moved, update
1271 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1273 * docs/gst/gstreamer-sections.txt:
1274 remove double entries from the docs
1275 * gst/gst_private.h:
1276 * gst/gstinfo.c: (_gst_debug_init):
1277 remove the THREAD debug category
1281 * docs/gst/gstreamer.types:
1282 * plugins/elements/gstqueue.c: (gst_queue_get_type),
1283 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
1284 completely move queue and fix up debugging categories
1286 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1288 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1289 make initialization portable, using LL is not
1291 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1293 * win32/common/gstconfig.h:
1296 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1298 * win32/common/libgstreamer.def:
1299 rename symbols; sort base section
1301 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1303 * gst/gstclock.c: (do_linear_regression):
1304 remove crack non-portable handrolled DEBUG macro
1306 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1308 * docs/random/release:
1310 * win32/common/gstenumtypes.c: (register_gst_object_flags),
1311 (gst_object_flags_get_type), (register_gst_bin_flags),
1312 (gst_bin_flags_get_type), (register_gst_buffer_flag),
1313 (gst_buffer_flag_get_type), (register_gst_bus_flags),
1314 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
1315 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
1316 (gst_caps_flags_get_type), (register_gst_clock_return),
1317 (gst_clock_return_get_type), (register_gst_clock_entry_type),
1318 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
1319 (gst_clock_flags_get_type), (register_gst_state),
1320 (gst_state_get_type), (register_gst_state_change_return),
1321 (gst_state_change_return_get_type), (register_gst_state_change),
1322 (gst_state_change_get_type), (register_gst_element_flags),
1323 (gst_element_flags_get_type), (register_gst_core_error),
1324 (gst_core_error_get_type), (register_gst_library_error),
1325 (gst_library_error_get_type), (register_gst_resource_error),
1326 (gst_resource_error_get_type), (register_gst_stream_error),
1327 (gst_stream_error_get_type), (register_gst_event_type_flags),
1328 (gst_event_type_flags_get_type), (register_gst_event_type),
1329 (gst_event_type_get_type), (register_gst_seek_type),
1330 (gst_seek_type_get_type), (register_gst_seek_flags),
1331 (gst_seek_flags_get_type), (register_gst_format),
1332 (gst_format_get_type), (register_gst_index_certainty),
1333 (gst_index_certainty_get_type), (register_gst_index_entry_type),
1334 (gst_index_entry_type_get_type),
1335 (register_gst_index_lookup_method),
1336 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
1337 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
1338 (gst_index_resolver_method_get_type), (register_gst_index_flags),
1339 (gst_index_flags_get_type), (register_gst_debug_level),
1340 (gst_debug_level_get_type), (register_gst_debug_color_flags),
1341 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
1342 (gst_iterator_result_get_type), (register_gst_iterator_item),
1343 (gst_iterator_item_get_type), (register_gst_message_type),
1344 (gst_message_type_get_type), (register_gst_mini_object_flags),
1345 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
1346 (gst_pad_link_return_get_type), (register_gst_flow_return),
1347 (gst_flow_return_get_type), (register_gst_activate_mode),
1348 (gst_activate_mode_get_type), (register_gst_pad_direction),
1349 (gst_pad_direction_get_type), (register_gst_pad_flags),
1350 (gst_pad_flags_get_type), (register_gst_pad_presence),
1351 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
1352 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
1353 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
1354 (gst_plugin_error_get_type), (register_gst_plugin_flags),
1355 (gst_plugin_flags_get_type), (register_gst_rank),
1356 (gst_rank_get_type), (register_gst_query_type),
1357 (gst_query_type_get_type), (register_gst_tag_merge_mode),
1358 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
1359 (gst_tag_flag_get_type), (register_gst_task_state),
1360 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
1361 (gst_alloc_trace_flags_get_type),
1362 (register_gst_type_find_probability),
1363 (gst_type_find_probability_get_type), (register_gst_uri_type),
1364 (gst_uri_type_get_type), (register_gst_parse_error),
1365 (gst_parse_error_get_type):
1366 * win32/common/gstenumtypes.h:
1367 * win32/common/gstversion.h:
1368 update visual studio generated files
1370 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1372 * win32/vs6/libgstbase.dsp:
1373 * win32/vs6/libgstelements.dsp:
1374 update project files for new locations
1376 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
1381 reinstate and update
1386 * docs/random/LICENSE:
1389 2005-11-30 Edward Hervey <edward@fluendo.com>
1391 * gst/gsttypefind.c: (gst_type_find_register):
1392 * gst/gsttypefind.h:
1393 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
1394 (gst_type_find_factory_dispose):
1395 * gst/gsttypefindfactory.h:
1396 Fix memory leak in GstTypeFindFactory.
1398 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1401 * plugins/elements/Makefile.am:
1402 * plugins/elements/gstelements.c:
1403 * plugins/elements/gstqueue.c:
1404 move queue from core to the elements plugin
1406 2005-11-29 Andy Wingo <wingo@pobox.com>
1408 * libs/gst/base/gstbasetransform.h:
1409 * libs/gst/base/gstbasesrc.h:
1410 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
1412 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
1413 of pointers by which to pad very extensible base classes (like the
1414 ones in libs/gst/base).
1416 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1418 * docs/gst/gstreamer-docs.sgml:
1419 * docs/gst/gstreamer-sections.txt:
1420 * docs/libs/gstreamer-libs-docs.sgml:
1421 * docs/libs/gstreamer-libs-sections.txt:
1422 moving documentation from core to lib
1424 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1426 * check/Makefile.am:
1428 * docs/gst/Makefile.am:
1430 * gst/base/.cvsignore:
1431 * gst/base/Makefile.am:
1433 * gst/base/gstadapter.c:
1434 * gst/base/gstadapter.h:
1435 * gst/base/gstbasesink.c:
1436 * gst/base/gstbasesink.h:
1437 * gst/base/gstbasesrc.c:
1438 * gst/base/gstbasesrc.h:
1439 * gst/base/gstbasetransform.c:
1440 * gst/base/gstbasetransform.h:
1441 * gst/base/gstcollectpads.c:
1442 * gst/base/gstcollectpads.h:
1443 * gst/base/gstpushsrc.c:
1444 * gst/base/gstpushsrc.h:
1445 * gst/base/gsttypefindhelper.c:
1446 * gst/base/gsttypefindhelper.h:
1447 * gst/check/Makefile.am:
1448 * gst/check/gstcheck.c:
1449 * gst/check/gstcheck.h:
1450 * gst/net/Makefile.am:
1452 * gst/net/gstnetclientclock.c:
1453 * gst/net/gstnetclientclock.h:
1454 * gst/net/gstnettimepacket.c:
1455 * gst/net/gstnettimepacket.h:
1456 * gst/net/gstnettimeprovider.c:
1457 * gst/net/gstnettimeprovider.h:
1458 * libs/gst/Makefile.am:
1459 * libs/gst/base/Makefile.am:
1460 * libs/gst/base/gstbasetransform.c:
1461 * libs/gst/check/Makefile.am:
1462 * plugins/elements/Makefile.am:
1464 CVS surgery + support to move base, check, and net out of gst
1467 2005-11-29 Andy Wingo <wingo@pobox.com>
1469 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
1471 * gst/gststructure.h (struct _GstStructure): Only one pointer of
1474 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
1476 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
1478 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
1480 * gst/gstobject.h: (struct _GstObject): Only one pointer of
1481 padding; reduces object size by about 30%. We don't expect
1482 anything else to go into gstobject.
1484 * gst/gstminiobject.h (struct _GstMiniObject)
1485 (struct _GstMiniObjectClass): Only one pointer of padding; the
1486 payload is only a pointer and two ints anyway. For the class there
1487 are only two methods as well.
1489 * gst/gstelement.h (struct _GstElementClass): Removed
1490 the state_changed signal callback, it is not used.
1492 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1494 * docs/gst/gstreamer.types:
1495 fix includes, though they are a little dinky
1497 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1499 * check/Makefile.am:
1500 look in the right place for elements, a lot more chance of
1503 remove indexers and elements subdirs
1504 * plugins/Makefile.am:
1505 make indexers conditional
1507 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
1511 * plugins/elements/Makefile.am:
1512 * plugins/elements/gstcapsfilter.c:
1513 * plugins/elements/gstfilesink.c:
1514 * plugins/elements/gstfilesrc.c:
1515 * plugins/elements/gstidentity.c:
1516 * plugins/indexers/Makefile.am:
1517 do CVS surgery and related build fixery to move elements
1518 and indexers in a new gstreamer/plugins directory, out of the
1521 2005-11-29 Andy Wingo <wingo@pobox.com>
1523 * check/Makefile.am:
1524 * pkgconfig/gstreamer-net-uninstalled.pc.in:
1525 * pkgconfig/gstreamer-net.pc.in:
1526 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
1529 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1531 * tools/Makefile.am:
1532 * tools/gst-complete.1.in:
1533 * tools/gst-complete.c:
1534 * tools/gst-compprep.1.in:
1535 * tools/gst-compprep.c:
1536 removing -compprep and -complete
1538 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
1540 * gst/gstevent.c: (gst_event_new_new_segment),
1541 (gst_event_parse_new_segment):
1543 fix #320529 - clean up new_segment API and structure.
1544 Let's hope everyone was using the methods, and not the structure.
1546 2005-11-29 Edward Hervey <edward@fluendo.com>
1548 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
1549 (gst_base_sink_event), (gst_base_sink_do_sync),
1550 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
1551 Properly handle non GST_FORMAT_TIME segment
1552 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
1553 Properly handle non GST_FORMAT_TIME segment
1555 This function is valid if the accumulator is 0 and the format
1556 is different from the requested format.
1558 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1560 * docs/gst/gstreamer-sections.txt:
1561 Add gst_query_new_seeking and gst_query_parse_seeking to the
1564 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
1566 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
1567 Treat a pad alloc with new caps the same as if we were not
1568 negotiated, in order to allow a changing upstream output
1569 to produce a new format of data.
1571 2005-11-29 Edward Hervey <edward@fluendo.com>
1573 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
1574 (gst_base_transform_event), (gst_base_transform_eventfunc):
1575 The event virtual method is now properly implemented, with a default
1577 Sub classes should call the parent_class event method. They should
1578 return FALSE if they had a problem handling the given event, or don't
1579 want GstBaseTransform to send that even downstream
1580 * gst/elements/gstidentity.c: (gst_identity_class_init),
1581 (gst_identity_init), (gst_identity_event),
1582 (gst_identity_transform_ip), (gst_identity_set_property),
1583 (gst_identity_get_property):
1584 * gst/elements/gstidentity.h:
1585 Added the single-segment boolean property.
1586 If set to TRUE, it will output a single segment of data, starting from
1587 0, will eat up all incoming newsegment, and modify the timestamp of the
1590 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
1592 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
1593 Don't ref NULL target pad (#322751). Improve docs.
1595 2005-11-29 Michael Smith <msmith@fluendo.com>
1597 * gst/gstregistryxml.c: (load_plugin):
1598 Don't crash if we failed to load a feature from a plugin.
1600 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1602 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
1604 use more check API and less GLib API
1606 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1609 don't run checks if we don't have check
1611 remove the registry when running make torture
1612 * docs/gst/gstreamer-sections.txt:
1613 remove second multiply
1614 * gst/gstqueue.c: (gst_queue_loop):
1615 fix a compile warning when disabling debug
1617 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1620 Hey! Let's print the pad name if the pointer != NULL instead
1621 of when it == NULL :-)
1623 2005-11-28 Wim Taymans <wim@fluendo.com>
1625 * check/gst/gstutils.c: (GST_START_TEST):
1626 Updated check, add some scaling accuracy checking code.
1628 * gst/gstutils.c: (gst_util_div128_64),
1629 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
1630 (gst_util_uint64_scale_int):
1631 Fix 6 times faster division code. Optimize for common
1632 1/1 and less common X/1 cases.
1634 2005-11-28 Wim Taymans <wim@fluendo.com>
1636 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1639 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
1640 (do_linear_regression), (gst_clock_add_observation):
1642 Release lock when the clock cannot be slaved.
1643 Catch the case where the regression returned an invalid denominator.
1645 * gst/gstutils.c: (gst_util_div128_64_iterate),
1646 (gst_util_div128_64), (gst_util_uint64_scale_int64),
1647 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1648 Add protentially more performant non-iterative 128/64 divide function
1649 that unfortunatly does not work yet.
1650 Shortcut the trivial 0/X = 0 case.
1651 Remove the warnings on overflow.
1653 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1655 * gst/gstplugin.c: (gst_plugin_register_func):
1656 everything causing a plugin not to load should be at least a WARNING
1658 2005-11-28 Stefan Kost <ensonic@users.sf.net>
1660 * docs/random/ensonic/dparams.txt:
1661 some TODOs for the next dev cycle
1662 * libs/gst/controller/gstcontroller.c:
1663 (gst_controlled_property_set_interpolation_mode),
1664 (gst_controlled_property_new):
1665 * libs/gst/controller/gstcontroller.h:
1666 use base type to assign acccessor functions
1668 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1670 * check/Makefile.am:
1671 Oops, that should have been top_srcdir
1673 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
1675 * check/Makefile.am:
1676 * check/elements/fdsrc.c: (GST_START_TEST):
1677 Use a cmdline define to specify the location of a file to use for
1678 testing, to avoid breaking distcheck.
1680 2005-11-28 Andy Wingo <wingo@pobox.com>
1682 * gst/gstpad.c (fixate_value): Use array functions for arrays.
1684 2005-11-28 Edward Hervey <edward@fluendo.com>
1686 * tools/gst-launch.c: (main):
1687 Clarify the output strings, makes it easier to translate.
1690 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
1693 don't try and build net if we don't even have <sys/socket.h>
1695 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
1697 * check/Makefile.am:
1698 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
1699 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
1700 Add tests for fdsrc seekability
1702 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
1703 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
1704 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
1705 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
1706 * gst/elements/gstfdsrc.h:
1707 fdsrc should not be a 'live' source.
1708 Implement seeking on seekable fd's.
1710 * gst/gstquery.c: (gst_query_new_seeking),
1711 (gst_query_parse_seeking):
1713 Implement SEEKING query functions:
1714 *_new_seeking and *_parse_seeking
1716 2005-11-27 Stefan Kost <ensonic@users.sf.net>
1718 * gst/gstelement.c: (gst_element_dispose):
1721 * gst/gstiterator.c:
1722 * gst/gststructure.c:
1725 * libs/gst/controller/gstcontroller.c:
1726 (gst_controlled_property_set_interpolation_mode):
1727 * libs/gst/controller/gstcontroller.h:
1728 * libs/gst/controller/gstinterpolation.c:
1729 (interpolate_none_get_enum_value_array):
1730 support controlling enums
1732 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1735 Improve documentation for gst_value_union().
1738 Change return value for union, intersect and subtract functions
1739 from gint to gboolean.
1741 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
1743 * gst/gstvalue.c: (gst_value_serialize_any_list),
1744 (gst_value_transform_any_list_string),
1745 (gst_value_deserialize_list), (gst_value_deserialize_array),
1746 (gst_value_set_int_range), (gst_value_deserialize_int_range),
1747 (gst_value_set_double_range), (gst_value_deserialize_double_range),
1748 (gst_value_set_fraction_range_full),
1749 (gst_value_deserialize_fraction_range),
1750 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
1751 (gst_value_deserialize_boolean),
1752 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
1753 (gst_value_serialize_float), (gst_value_deserialize_float),
1754 (gst_string_wrap), (gst_value_deserialize_string),
1755 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
1756 (gst_value_union_int_range_int_range),
1757 (gst_value_intersect_int_range_int_range),
1758 (gst_value_intersect_double_range_double_range),
1759 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
1760 (gst_value_subtract_int_range_int_range),
1761 (gst_value_subtract_double_double_range),
1762 (gst_value_subtract_double_range_double_range),
1763 (gst_value_deserialize_fraction):
1765 Use gint, gdouble and gchar in our API instead of int, double and
1766 char (and make usage in gstvalue.c more consistent).
1768 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1770 * check/Makefile.am:
1771 * libs/gst/controller/Makefile.am:
1772 * libs/gst/dataprotocol/Makefile.am:
1773 fix up Makefile.am and remove GST_ENABLE_NEW
1775 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1779 * gst/base/Makefile.am:
1780 * gst/check/Makefile.am:
1781 * gst/elements/Makefile.am:
1782 * gst/net/Makefile.am:
1783 update LDFLAGS use some more
1785 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
1787 * common/m4/gst-doc.m4:
1790 2005-11-26 Edward Hervey <edward@fluendo.com>
1792 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1793 This shouldn't issue a g_warning since it returns NULL if it
1794 couldn't find the plugin, and all functions using this behave
1795 properly on a NULL return. Switching to a GST_WARNING.
1797 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
1799 * gst/gstbin.c: (gst_bin_handle_message_func):
1800 Don't leak clock messages.
1802 2005-11-25 Wim Taymans <wim@fluendo.com>
1804 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1805 (gst_util_uint64_scale_int):
1806 Optimisations, remove unneeded vars.
1808 2005-11-25 Wim Taymans <wim@fluendo.com>
1810 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1811 Added more checks for the high precision uint64 cases.
1813 * gst/gstutils.c: (gst_util_uint64_scale_int64),
1814 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
1815 Implement high precision (guint64 * guint64) / guint64.
1817 2005-11-24 Wim Taymans <wim@fluendo.com>
1819 * gst/base/gstbasesrc.c: (gst_base_src_query):
1820 Fix wrong percentage query.
1822 * gst/gstutils.c: (gst_util_uint64_scale),
1823 (gst_util_uint64_scale_int):
1824 Add some more common cases that can be handled
1825 efficiently to _scale.
1827 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1829 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
1830 (gst_mini_object_suite):
1831 don't use check calls from threads; check probably isn't
1832 threadsafe and using a lock to make it threadsafe would
1833 defeat the purpose of this check
1834 * gst/check/gstcheck.c:
1835 * gst/check/gstcheck.h:
1836 use GST_DEBUG some more
1838 2005-11-24 Wim Taymans <wim@fluendo.com>
1840 * gst/gstutils.c: (gst_util_uint64_scale),
1841 (gst_util_uint64_scale_int):
1842 Chain trivial case to _scale_int.
1844 2005-11-24 Wim Taymans <wim@fluendo.com>
1846 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1847 Added test for scaling.
1852 * gst/gstutils.c: (gst_util_uint64_scale_int):
1853 Implemented high precision scaling code.
1855 2005-11-24 Stefan Kost <ensonic@users.sf.net>
1858 do not crash on pad==NULL
1860 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
1862 Patch by: Stefan Kost
1864 * common/gtk-doc.mak:
1865 * docs/gst/Makefile.am:
1866 * docs/libs/Makefile.am:
1867 Fix distcheck issues for the libraries docs build
1870 2005-11-24 Michael Smith <msmith@fluendo.com>
1872 * docs/manual/basics-helloworld.xml:
1873 Fix bug #315027: memory leak in example code in docs.
1875 2005-11-24 Michael Smith <msmith@fluendo.com>
1877 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
1878 Unlock the PREROLL_LOCK in a failure case.
1880 2005-11-24 Wim Taymans <wim@fluendo.com>
1882 * docs/gst/gstreamer-sections.txt:
1883 * gst/base/gstadapter.h:
1884 * gst/base/gstbasesink.h:
1885 * gst/base/gstbasesrc.h:
1886 * gst/base/gstbasetransform.h:
1887 * gst/base/gstpushsrc.h:
1888 * gst/elements/gstfakesink.h:
1889 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
1890 * gst/elements/gstfakesrc.h:
1891 * gst/elements/gstfilesink.h:
1892 * gst/elements/gstfilesrc.h:
1895 * gst/gstbuffer.c: (_gst_buffer_copy):
1898 * gst/gstchildproxy.c:
1901 * gst/gstelementfactory.c:
1902 * gst/gstelementfactory.h:
1904 * gst/gstghostpad.h:
1906 * gst/gstinterface.h:
1907 * gst/gstminiobject.c:
1908 * gst/gstminiobject.h:
1911 * gst/gstpadtemplate.h:
1912 * gst/gstpipeline.h:
1913 * gst/gstpluginfeature.h:
1918 * gst/gsttagsetter.c:
1919 * gst/gsttagsetter.h:
1922 * gst/gsttypefind.h:
1925 * gst/net/gstnetclientclock.c:
1926 * gst/net/gstnetclientclock.h:
1927 * gst/net/gstnettimepacket.c:
1928 * gst/net/gstnettimeprovider.c:
1929 * gst/net/gstnettimeprovider.h:
1932 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1934 * configure.ac: back to HEAD
1936 === release 0.9.6 ===
1938 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1941 releasing 0.9.6, "Always On Time"
1943 2005-11-23 Wim Taymans <wim@fluendo.com>
1945 * docs/gst/gstreamer-sections.txt:
1946 * gst/glib-compat.c:
1947 * gst/gsttagsetter.c:
1949 * gst/net/gstnetclientclock.c:
1950 * gst/net/gstnettimepacket.h:
1953 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
1955 * docs/faq/using.xml:
1956 * docs/libs/tmpl/gstcontrol.sgml:
1957 * docs/manual/advanced-dparams.xml:
1958 * docs/manual/appendix-checklist.xml:
1959 * docs/manual/basics-elements.xml:
1960 * docs/pwg/other-source.xml:
1961 * docs/random/moving-plugins:
1963 * tools/gst-launch.1.in:
1964 remove mentions of sinesrc
1966 2005-11-23 Michael Smith <msmith@fluendo.com>
1968 * docs/gst/gstreamer-sections.txt:
1969 Update for new API and API changes.
1971 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
1973 Documentation typo fix.
1974 * gst/net/gstnettimepacket.c:
1975 Documentation fixes for arguments.
1977 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
1979 * gst/gststructure.c: (gst_structure_get_fraction),
1980 (gst_structure_parse_value),
1981 (gst_structure_fixate_field_nearest_fraction):
1982 * gst/gststructure.h:
1983 * gst/gstutils.c: (gst_util_uint64_scale_int):
1985 * scripts/update-funcnames:
1987 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
1988 Make gst_structure_fixate_field_nearest_fraction take a numerator
1989 and denominator argument instead of a GValue
1990 add gst_structure_get_fraction helper function.
1992 2005-11-23 Wim Taymans <wim@fluendo.com>
1994 * docs/design/part-TODO.txt:
1997 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
1998 * gst/net/gstnetclientclock.h:
1999 Use parent fields for timeout and window_size.
2001 2005-11-23 Andy Wingo <wingo@pobox.com>
2003 * check/net/gstnetclientclock.c (test_functioning): Adjust to
2004 rate_num/rate_denom change.
2006 * gst/net/gstnetclientclock.c
2007 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
2008 OBJECT_LOCK. Don't call add_observation with the lock.
2010 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
2012 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
2014 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
2015 deal with rate as a fraction whose numerator and denominator are
2016 GstClockTime values.
2017 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
2018 master; the other fields are protected by the SLAVE_LOCK.
2019 (do_linear_regression): Note that this must be called with the
2021 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
2022 OBJECT_LOCK. Call set_calibration instead of touching the
2024 (gst_clock_set_property, gst_clock_get_property): Protect
2025 master/slave parameters with the SLAVE_LOCK.
2027 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
2028 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
2029 note that all of the instance variables that add_observation and
2030 the set_master functions use are protected by that lock and not
2032 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
2034 * gst/gstclock.c (gst_clock_add_observation): No longer requires
2035 the caller to take the object lock.
2037 2005-11-23 Wim Taymans <wim@fluendo.com>
2039 * gst/gsterror.c: (_gst_core_errors_init):
2041 Add error for clock stuff.
2043 * gst/gstpipeline.c: (gst_pipeline_change_state),
2044 (gst_pipeline_set_clock):
2045 Post clock error when clock cannot be used in a pipeline.
2047 2005-11-23 Stefan Kost <ensonic@users.sf.net>
2049 * docs/gst/gstreamer-sections.txt:
2050 make two symbols from gstinfo private for the docs
2051 * gst/base/gstcollectpads.h:
2053 fix doc typos, update docs
2055 2005-11-22 Wim Taymans <wim@fluendo.com>
2057 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
2058 (gst_base_sink_wait), (gst_base_sink_do_sync),
2059 (gst_base_sink_handle_event):
2060 * gst/base/gstbasesink.h:
2061 No need to store the clock, the parent element class already
2064 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
2065 Updates for clock_set returning a gboolean
2067 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
2068 (gst_clock_id_wait_async), (gst_clock_class_init),
2069 (gst_clock_init), (gst_clock_finalize),
2070 (gst_clock_get_internal_time), (gst_clock_get_time),
2071 (gst_clock_slave_callback), (gst_clock_set_master),
2072 (gst_clock_get_master), (do_linear_regression),
2073 (gst_clock_add_observation), (gst_clock_set_property),
2074 (gst_clock_get_property):
2076 Implement master/slave. When setting a clock as a slave, a
2077 periodic timeout is scheduled to sample master and slave times.
2078 Then the slave clock is recalibrated to match offset and rate
2079 of the master clock.
2080 Update logging a bit.
2081 Add flag so that a clock can state that is cannot be slaved to
2084 * gst/gstelement.c: (gst_element_set_clock):
2086 The set clock returns a gboolean for when an element cannot
2087 deal with the selected clock in the pipeline.
2089 * gst/gstpipeline.c: (gst_pipeline_change_state),
2090 (gst_pipeline_set_clock):
2091 * gst/gstpipeline.h:
2092 Handle the case where the selected clock cannot be set on
2095 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
2096 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
2097 (gst_net_client_clock_set_property),
2098 (gst_net_client_clock_get_property),
2099 (gst_net_client_clock_observe_times):
2100 * gst/net/gstnetclientclock.h:
2101 Use regression code in GstClock parent, remove duplicated
2104 2005-11-22 Michael Smith <msmith@fluendo.com>
2106 * gst/gstutils.c: (gst_util_clock_time_scale):
2108 * docs/gst/gstreamer-sections.txt:
2109 Rename method to have extra underscore.
2111 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
2113 * gst/elements/Makefile.am:
2114 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
2115 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
2116 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
2117 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
2118 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
2119 * gst/elements/gstfakesrc.h:
2120 * gst/gstqueue.c: (queue_leaky_get_type):
2121 correctly fix GEnumValues so that nick is the short lowercase
2123 * tools/gst-inspect.c: (print_element_properties_info):
2124 also show the nick, since it's useful to use from parse_launch
2128 2005-11-22 Michael Smith <msmith@fluendo.com>
2130 * gst/gstutils.c: (gst_util_clocktime_scale):
2132 * docs/gst/gstreamer-sections.txt:
2133 Add util method for scaling a clocktime by a fraction. Useful
2134 implementation is left as an exercise for the reader.
2136 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2138 * gst/gstvalue.c: (gst_value_collect_fraction_range):
2139 If needed, allocate storage in the destination value during
2142 2005-11-22 Edward Hervey <edward@fluendo.com>
2144 * docs/gst/gstreamer-sections.txt:
2149 * gst/gstutils.c: (gst_util_set_object_arg):
2150 * tools/gst-compprep.c: (main):
2151 * tools/gst-inspect.c: (print_element_properties_info):
2152 Removed GstURI, closes bug #321061
2154 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2156 * check/gst/gststructure.c: (GST_START_TEST):
2157 * gst/gststructure.c: (gst_structure_parse_value):
2158 Oops, broke automatic string type parsing.
2159 Add a test to catch it in future.
2161 2005-11-22 Andy Wingo <wingo@pobox.com>
2163 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
2164 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
2165 Actually rename the function implementations. Grr.
2167 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2169 * check/gst/capslist.h:
2171 * check/gst/gststructure.c: (GST_START_TEST),
2172 (gst_structure_suite):
2173 Test automatic value type detection in gst_structure_from_string.
2174 * gst/gststructure.c: (gst_structure_parse_value):
2175 Add fraction as a type we try and guess automatically in
2176 caps/structure strings.
2178 2005-11-22 Andy Wingo <wingo@pobox.com>
2180 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
2182 * gst/gsttagsetter.h:
2183 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
2184 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
2185 (gst_tag_setter_add_tag_valist)
2186 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
2187 _add_values, _add_valist, and _add_valist_values. Since this is an
2188 interface the function suffixes should be more explicit so
2189 language binding don't end up with element.add_valist ->
2190 gst_tag_setter_add_valist, for example. Fixes #322069.
2192 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2194 * check/gst/gstcaps.c: (GST_START_TEST):
2195 Extend caps string tests to check that a caps to string
2196 conversion is reversible and produces the same caps.
2198 * gst/gststructure.c: (gst_structure_value_get_generic_type):
2199 Output "fraction" as the generic type fraction range, so caps
2200 serialisation and deserialisation works.
2201 * check/gst/capslist.h:
2202 * gst/gstvalue.c: (gst_value_deserialize_fraction):
2203 Support 'MIN' and 'MAX' for deserialising fractions.
2205 2005-11-22 Andy Wingo <wingo@pobox.com>
2207 * gst/gstevent.h (gst_event_new_new_segment)
2208 (gst_event_parse_new_segment, gst_event_new_buffer_size)
2209 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
2210 Renamed from *_newsegment, *_buffersize, *_notarget.
2212 * scripts/update-funcnames: New script, performs the changes
2215 2005-11-22 Wim Taymans <wim@fluendo.com>
2217 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
2218 Make sure the GstFlowReturn is returned.
2220 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
2221 (gst_bus_add_signal_watch):
2223 add gst_bus_add_signal_watch_full.
2225 * gst/gstplugin.c: (gst_plugin_load_file):
2226 Small style cleanup.
2228 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2230 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
2231 Block the fakesrc srcpad when we send an event, to avoid
2232 contention on the stream_lock causing random test failures.
2234 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2236 * check/gst/gstvalue.c: (GST_START_TEST):
2237 * gst/gstvalue.c: (gst_value_fraction_subtract):
2240 2005-11-22 Stefan Kost <ensonic@users.sf.net>
2243 include "gstchildproxy.h"
2244 * gst/gstchildproxy.h:
2245 * libs/gst/controller/gstcontroller.h:
2246 use G_GNUC_NULL_TERMINATED
2248 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
2250 * check/gst/capslist.h:
2251 * check/gst/gstcaps.c: (GST_START_TEST):
2252 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2253 * gst/gststructure.c: (gst_structure_parse_range),
2254 (gst_structure_fixate_field_nearest_fraction):
2255 * gst/gststructure.h:
2256 * gst/gstvalue.c: (gst_value_init_fraction_range),
2257 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
2258 (gst_value_collect_fraction_range),
2259 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
2260 (gst_value_set_fraction_range_full),
2261 (gst_value_get_fraction_range_min),
2262 (gst_value_get_fraction_range_max),
2263 (gst_value_serialize_fraction_range),
2264 (gst_value_transform_fraction_range_string),
2265 (gst_value_compare_fraction_range),
2266 (gst_value_deserialize_fraction_range),
2267 (gst_value_intersect_fraction_fraction_range),
2268 (gst_value_intersect_fraction_range_fraction_range),
2269 (gst_value_subtract_fraction_fraction_range),
2270 (gst_value_subtract_fraction_range_fraction),
2271 (gst_value_subtract_fraction_range_fraction_range),
2272 (gst_value_collect_fraction), (gst_value_fraction_multiply),
2273 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
2274 (gst_value_transform_string_fraction), (_gst_value_initialize):
2276 Implement fraction ranges and extend GstFraction to support
2277 arithmetic subtraction, as well as deserialization from integer
2278 strings such as "100"
2279 Add a testsuite as for int and double range set operations
2281 2005-11-21 Andy Wingo <wingo@pobox.com>
2285 * gst/gststructure.h: Add glib-compat.h.
2287 2005-11-21 Wim Taymans <wim@fluendo.com>
2289 * gst/gstbin.c: (gst_bin_change_state_func):
2292 2005-11-21 Wim Taymans <wim@fluendo.com>
2295 And add a nice define too.
2297 2005-11-21 Wim Taymans <wim@fluendo.com>
2299 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
2300 (gst_segment_new), (gst_segment_free), (gst_segment_init),
2301 (gst_segment_set_duration), (gst_segment_set_last_stop),
2302 (gst_segment_set_seek), (gst_segment_set_newsegment),
2303 (gst_segment_to_stream_time), (gst_segment_to_running_time),
2306 Make binding friendly.
2308 2005-11-21 Andy Wingo <wingo@pobox.com>
2310 * gst/gsttagsetter.h:
2312 * gst/gststructure.h:
2314 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
2317 * gst/gsterror.c (_gst_core_errors_init):
2318 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
2321 * gst/Makefile.am (gst_headers): Add glib-compat.h.
2322 (noinst_HEADERS): noinst the -private.
2324 2005-11-21 Michael Smith <msmith@fluendo.com>
2327 * gst/gstregistry.h:
2328 Remove unimplemented declarations for which we can see no sensible
2331 2005-11-21 Andy Wingo <wingo@pobox.com>
2333 * gst/gst.h: Include glib-compat.h.
2335 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
2337 * gst/glib-compat.c: Include the public and the private header.
2339 * gst/glib-compat-private.h: Copied here from glib-compat.h.
2343 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
2345 * check/gst/gstevent.c (create_custom_events): Check that
2346 FLUSH_STOP is serialized.
2348 * check/elements/identity.c (event_func):
2349 * check/elements/fakesrc.c (event_func): No stream lock, the core
2352 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
2353 stream lock taking, yay.
2355 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
2356 ensure that core takes the stream lock.
2358 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
2361 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
2362 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
2363 it already. For the flush start we do take it though so we get the
2364 right preroll state change messages.
2366 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
2367 the stream lock here, the core does it for us.
2369 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
2370 GST_STREAM_GET_LOCK.
2371 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
2372 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
2373 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
2374 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
2375 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
2376 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
2378 * gst/gstpad.c: Update for stream lock name change.
2380 * gst/base/gstbasesink.c: Update for preroll lock name change.
2382 2005-11-21 Wim Taymans <wim@fluendo.com>
2384 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
2385 (gst_clock_get_master):
2387 * gst/gstsystemclock.c: (gst_system_clock_init):
2388 Convert Clock flags to object flags.
2389 Added methods to manage master/slave clocks.
2391 2005-11-21 Wim Taymans <wim@fluendo.com>
2393 * check/gst/gstsegment.c: (GST_START_TEST):
2394 * docs/design/part-TODO.txt:
2395 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
2396 (gst_base_sink_event), (gst_base_sink_do_sync),
2397 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
2398 (gst_base_sink_query), (gst_base_sink_change_state):
2399 * gst/base/gstbasesink.h:
2400 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
2401 (gst_base_src_default_newsegment),
2402 (gst_base_src_configure_segment), (gst_base_src_do_seek),
2403 (gst_base_src_get_range), (gst_base_src_loop),
2404 (gst_base_src_change_state):
2405 * gst/base/gstbasesrc.h:
2406 * gst/base/gstbasetransform.c:
2407 (gst_base_transform_prepare_output_buf),
2408 (gst_base_transform_event), (gst_base_transform_change_state):
2409 * gst/base/gstbasetransform.h:
2410 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
2411 (gst_collect_pads_event):
2412 * gst/base/gstcollectpads.h:
2413 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
2414 (gst_fake_src_create):
2415 * gst/elements/gstfakesrc.h:
2416 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
2417 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2418 (gst_segment_set_last_stop), (gst_segment_set_seek),
2419 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
2420 (gst_segment_to_running_time), (gst_segment_clip):
2422 More segment updates, replace code in plugins with segment
2425 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
2427 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
2428 Don't ignore sscanf results
2430 2005-11-21 Andy Wingo <wingo@pobox.com>
2432 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
2435 * *.c: Ran scripts/update-macros. Oh yes.
2437 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
2438 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
2441 * scripts/update-macros: New script. Run it on your files to
2442 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
2445 2005-11-21 Stefan Kost <ensonic@users.sf.net>
2447 * docs/gst/Makefile.am:
2448 * docs/gst/gstreamer-docs.sgml:
2449 * docs/gst/gstreamer-sections.txt:
2450 * docs/gst/gstreamer.types:
2452 more docs fixes, add new api to the docs
2454 2005-11-21 Andy Wingo <wingo@pobox.com>
2456 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
2457 state_broadcast call.
2459 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
2461 2005-11-21 Julien MOUTTE <julien@moutte.net>
2463 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
2464 function calls for arrays.
2466 2005-11-21 Stefan Kost <ensonic@users.sf.net>
2468 * docs/random/ensonic/media-device-daemon.txt:
2469 wild idea, can this be done?
2470 * docs/gst/gstreamer-sections.txt:
2475 * gst/gstpluginfeature.c:
2479 doc fixes and additions
2481 2005-11-21 Andy Wingo <wingo@pobox.com>
2483 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
2484 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
2485 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
2486 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
2487 private to the basesrc implementation.
2489 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
2490 behalf of event function if necessary. It should no longer be
2491 necessary to take the stream lock in pad's event functions. Fixes
2494 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
2495 * docs/gst/gstreamer-sections.txt:
2496 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
2497 (gst_structure_fixate_field_nearest_double),
2498 (gst_structure_fixate_field_boolean):
2499 * gst/gststructure.h:
2500 * win32/common/libgstreamer.def:
2501 * win32/gstreamer.def:
2503 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
2506 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
2508 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
2509 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
2510 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
2511 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
2512 (gst_fdsrc_uri_handler_init):
2513 * gst/elements/gstfdsrc.h:
2514 Port fd:// URI handler from 0.8 to fdsrc
2516 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2518 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
2519 (gst_value_serialize_fourcc):
2521 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
2522 consistent with our other format defines (#320324).
2524 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2526 * gst/gstvalue.c: (gst_value_is_fixed):
2527 Revert previous commit. Value lists are by definition
2528 not fixed, as they are a list of possible values.
2530 2005-11-21 Andy Wingo <wingo@pobox.com>
2532 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
2533 during the stable series if we need it. Fixes #319178.
2535 * gst/gstevent.c (gst_event_new_filler): Removed.
2537 * check/gst/gstevent.c: Update comment about filler events.
2539 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2541 * gst/gstvalue.c: (gst_value_is_fixed):
2542 Should handle both value arrays and value lists.
2544 2005-11-21 Andy Wingo <wingo@pobox.com>
2546 patch by: Alessandro Dessina <alessandro nnva org>
2548 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
2549 functions to access arrays. Fixes #321962.
2551 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2553 * docs/gst/gstreamer.types:
2554 gst_collectpads_get_type => gst_collect_pads_get_type.
2556 * gst/base/gstbasetransform.c:
2557 Remove unused SIGNAL_HANDOFF enum.
2559 2005-11-21 Andy Wingo <wingo@pobox.com>
2561 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
2562 the event type (upstream, downstream, serialized). Renamed
2563 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
2564 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
2565 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
2567 * gst/gstevent.c: Update for new CUSTOM event names.
2569 * check/gst/gstevent.c: Update check for new CUSTOM event names.
2572 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
2575 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2577 * docs/gst/gstreamer-sections.txt:
2578 * win32/common/libgstbase.def:
2579 * win32/libgstbase.def:
2580 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2581 (gst_collect_pads_class_init), (gst_collect_pads_init),
2582 (gst_collect_pads_finalize), (gst_collect_pads_new),
2583 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
2584 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
2585 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
2586 (gst_collect_pads_start), (gst_collect_pads_stop),
2587 (gst_collect_pads_peek), (gst_collect_pads_pop),
2588 (gst_collect_pads_available), (gst_collect_pads_read),
2589 (gst_collect_pads_flush), (gst_collect_pads_event),
2590 (gst_collect_pads_chain):
2591 * gst/base/gstcollectpads.h:
2592 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
2593 unimplemented functions as unimplemented. Add padding to
2594 GstCollectData. (#320766, #320423)
2596 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
2599 Improve docs for DURATION message (usage of duration parameter)
2602 2005-11-20 Wim Taymans <wim@fluendo.com>
2604 * check/Makefile.am:
2605 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
2609 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
2610 (gst_segment_set_seek), (gst_segment_set_newsegment),
2611 (gst_segment_to_stream_time), (gst_segment_to_running_time),
2614 Added segment helper structure and methods. Not fully implemented
2616 Added segment check.
2618 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
2620 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
2621 Add a deserialisation test for fractions
2622 * examples/metadata/read-metadata.c: (message_loop),
2623 (make_pipeline), (main):
2624 Fix up metadata reading sample.
2625 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2627 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
2628 Don't try and fixate empty caps
2629 * gst/gst_private.h:
2630 Wrap in G_BEGIN_DECLS/G_END_DECLS
2631 * gst/gstvalue.c: (gst_value_collect_fraction),
2632 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
2633 (gst_value_transform_string_fraction),
2634 (gst_value_compare_fraction):
2635 Add some extra guards to ensure that we don't end up
2636 with an invalid denominator of 0 in a gstfraction and
2637 that fractions always get reduced.
2639 2005-11-20 Wim Taymans <wim@fluendo.com>
2641 * docs/gst/gstreamer-sections.txt:
2652 2005-11-20 Wim Taymans <wim@fluendo.com>
2654 * docs/design/part-TODO.txt:
2656 Make a proper enum of the flag.
2658 2005-11-19 Wim Taymans <wim@fluendo.com>
2660 * docs/design/part-TODO.txt:
2661 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
2662 (gst_format_to_quark), (gst_format_register):
2664 * gst/gstquery.c: (_gst_query_initialize),
2665 (gst_query_type_get_name), (gst_query_type_to_quark),
2666 (gst_query_type_register):
2668 Add type to quark and type to string conversions.
2670 2005-11-19 Andy Wingo <wingo@pobox.com>
2672 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
2675 2005-11-19 Wim Taymans <wim@fluendo.com>
2677 * docs/design/part-TODO.txt:
2678 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
2679 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
2680 (gst_bin_handle_message_func):
2682 Make message handling overridable.
2684 2005-11-19 Andy Wingo <wingo@pobox.com>
2686 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
2689 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
2691 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
2692 is a GstClockTime. Fixes #321710.
2694 * gst/gstclock.h (GstClock): Remove offset property. Add
2695 internal_calibration and external_calibration. Fix padding. Pad
2696 also by GstClockTime so we don't run into problems.
2698 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
2699 (gst_clock_get_rate_offset): Remove.
2700 (gst_clock_set_time_adjust): Remove. Fixes #321712.
2703 * gst/gstutils.c (g_static_rec_cond_wait)
2704 (g_static_rec_cond_timed_wait): Removed, no longer needed.
2706 * gst/gstbin.c: Remove terrible continue_state prototype.
2708 * gst/gstelement.h (gst_element_continue_state): Make public.
2711 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
2712 by continue_state. Fixes #319389.
2714 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
2715 Really fixes #168438. However I don't see anywhere where the
2716 filter function is called... stupid GStreamer...
2718 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
2719 don't have a dispose function, so it won't get called when the
2720 object is unreffed, but oh well!
2722 * gst/gstindex.c (gst_index_set_filter_full): New API function,
2723 allows a destroy function to be set so user_data can be freed.
2725 (gst_index_set_filter): Call gst_index_set_filter_full.
2727 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
2729 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
2730 string should produce an error, given the lack of a way to
2731 represent NULL strings. Fixes #165650.
2734 * gst/gstvalue.c (gst_value_array_append_value)
2735 (gst_value_array_prepend_value, gst_value_array_get_size)
2736 (gst_value_array_get_value): New API, copied from
2737 gst_value_list_*, only operates on arrays.
2738 (gst_value_list_append_value, gst_value_list_prepend_value)
2739 (gst_value_list_concat, gst_value_list_get_size)
2740 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
2742 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
2743 init_list, because it works on both.
2744 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
2745 (gst_value_copy_list_or_array): Renamed from copy_list.
2746 (gst_value_free_list_or_array): Renamed from free_list.
2747 (gst_value_collect_list_or_array): Renamed from collect_list.
2748 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
2749 (gst_value_list_or_array_peek_pointer): Renamed from
2751 (_gst_value_array_value_table, _gst_value_list_value_table):
2752 Update value table functions.
2753 (gst_value_compare_list_or_array): Renamed from compare_list.
2755 * gsttaglist.h: Whoops, foreach function returns void. Also fix
2759 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
2760 GstTagList*. Fixes #143472.
2762 * gst/gststructure.h: Clarify what the foreach/map functions can
2763 or can't do to their arguments.
2765 2005-11-18 Wim Taymans <wim@fluendo.com>
2767 * gst/gstclock.c: (gst_clock_set_calibration),
2768 (gst_clock_get_calibration):
2770 Calibration can be set with internal time equal to current
2773 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
2779 2005-11-18 Andy Wingo <wingo@pobox.com>
2782 * pkgconfig/gstreamer-net.pc.in:
2783 * pkgconfig/gstreamer-net-uninstalled.pc.in:
2784 * pkgconfig/Makefile.am: Add net pkgconfig files.
2786 2005-11-18 Stefan Kost <ensonic@users.sf.net>
2789 * gst/gstghostpad.c:
2795 2005-11-18 Andy Wingo <wingo@pobox.com>
2797 * gst/net/gstnetclientclock.c: Turn off debugging.
2799 * check/net/gstnetclientclock.c (test_functioning): Assert that the
2800 times connverge somewhat. Can't make a real test.
2802 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
2803 integer arithmetic. Return the minimum of the domain, which can be
2804 set as "internal" for gst_clock_set_calibration.
2805 (gst_net_client_clock_observe_times): Call _set_calibration.
2806 (gst_net_client_clock_new): Call _set_calibration instead of
2809 * check/net/gstnetclientclock.c (test_functioning): Use the right
2813 * gst/gstclock.c (gst_clock_get_calibration)
2814 (gst_clock_set_calibration): New functions, obsolete the ones I
2815 added yesterday. Doh. Precision issues mean we have to extrapolate
2816 from a point in the more recent past than 1970.
2817 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
2819 (gst_clock_adjust_unlocked): Use the right calibration data.
2821 2005-11-18 Edward Hervey <edward@fluendo.com>
2823 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
2824 Also reset the ->current_* values in READY->PAUSED
2826 2005-11-18 Andy Wingo <wingo@pobox.com>
2828 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
2829 Whoops, check the right fd. Also add some debugging.
2830 (gst_net_client_clock_observe_times): Adjust for int64 offset.
2831 (do_linear_regression): Add a crapload of debugging. Subtract off
2832 the minimum values from the input series to discard unneeded bits.
2833 Use only int arithmetic. There is still double arithmetic when
2834 calculating the intercept that needs fixing. Return boolean to
2835 indicate success; FALSE would mean the domain or range is too
2836 great. Still needs fixes.
2838 2005-11-18 Wim Taymans <wim@fluendo.com>
2840 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
2841 For the current position in stream time, we need to subtract
2844 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
2845 Release lock before calling the callback function of async
2848 2005-11-18 Andy Wingo <wingo@pobox.com>
2850 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
2851 Port goes all the way to MAXUINT16.
2853 * gst/net/gstnettimeprovider.c: Make the port range the same as
2854 for the kernel: 0 assigns, otherwise ports are less than
2857 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
2860 * check/net/gstnetclientclock.c (test_functioning): Add the start
2863 2005-11-18 Wim Taymans <wim@fluendo.com>
2865 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
2866 (gst_bin_remove_func), (bin_bus_handler):
2868 Removing a clock provider from a bin, triggers a clock lost message
2869 so that a new clock will be selected.
2870 Adding a clock to a bin triggers a clock provider message.
2871 Make sure we reselect a clock when we received a clock lost message.
2872 Keep a reference to the element that provided the clock.
2874 2005-11-18 Andy Wingo <wingo@pobox.com>
2876 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
2877 the clock initially so it produces values around the base time.
2878 (gst_net_client_clock_class_init): Typo fix.
2879 (gst_net_client_clock_thread): Add note on when the socket gets
2882 2005-11-17 Wim Taymans <wim@fluendo.com>
2884 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
2885 Free remote and local time arrays.
2887 2005-11-17 Wim Taymans <wim@fluendo.com>
2889 * gst/net/gstnetclientclock.c: (do_linear_regression),
2890 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
2891 Fix compilation, uninitialized vars and a forgotten continue.
2893 2005-11-17 Andy Wingo <wingo@pobox.com>
2895 * check/Makefile.am (check_PROGRAMS):
2896 * check/net/gstnetclientclock.c: Add a most minimal test for the
2897 net client clock. More to come later.
2900 * gst/net/Makefile.am: Add netclientclock.
2902 * gst/net/gstnetclientclock.h:
2903 * gst/net/gstnetclientclock.c: New files, implement an untested
2904 GstClock that takes its time from a network time provider.
2905 Implements the algorithm in network-clock.scm.
2907 * tests/network-clock.scm (*window-size*): Rename from
2909 * tests/network-clock.scm (network-time):
2910 * tests/network-clock-utils.scm (q-push): Update callers.
2912 2005-11-17 Wim Taymans <wim@fluendo.com>
2914 * gst/gstbin.c: (gst_bin_provide_clock_func),
2915 (gst_bin_sort_iterator_new):
2916 And unref the child too..
2918 2005-11-17 Wim Taymans <wim@fluendo.com>
2920 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2921 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
2922 Refactor the sort iterator so it can be used while holding the
2924 Make clock selection select a clock closest to the source.
2926 2005-11-17 Michael Smith <msmith@fluendo.com>
2928 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
2929 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
2931 Anonymous structs are a gcc (and some other compilers) extension, so
2932 don't use them. Since this is only for ABI-compatibility, and our
2933 API/ABI freeze is over in a few days, this whole thing will only
2934 last a few days, so don't bother trying to think up a meaningful
2935 name for the struct.
2937 2005-11-17 Andy Wingo <wingo@pobox.com>
2939 * gst/gstclock.h (GstClock): Add rate and offset properties,
2940 preserving ABI stability. Add rate/offset accessors. Will file bug
2941 for the freeze break.
2943 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
2944 and offset, trying to keep precision and avoiding
2946 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
2947 functions. Make gst_clock_set_time_adjust obsolete.
2948 (gst_clock_set_time_adjust): Note that this function is obsolete.
2951 * gst/base/gstbasetransform.h: Make the ABI-stability hack
2952 greppable by using GST_PADDING-1+1.
2954 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
2956 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
2958 * gst/gstmessage.c: (gst_message_parse_clock_lost):
2959 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
2961 * gst/gstpadtemplate.h:
2962 * gst/gstpluginfeature.h:
2963 Don't use c++ style comments in headers (#321638).
2965 2005-11-16 Andy Wingo <wingo@pobox.com>
2967 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
2970 * check/net/gstnettimeprovider.c: Check to see that the time
2971 provider actually provides times. Works, yo!
2973 2005-11-16 Wim Taymans <wim@fluendo.com>
2975 * check/Makefile.am:
2978 * check/elements/fakesrc.c: (GST_START_TEST):
2979 Set element to NULL before disposing it.
2981 2005-11-16 Andy Wingo <wingo@pobox.com>
2983 * gst/net/Makefile.am:
2985 * gst/net/gstnettimeprovider.c:
2986 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
2987 provider, include it from gstnet.h, and add it to the build.
2989 * gst/net/gstnettimepacket.h:
2990 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
2991 sending and receiving.
2993 2005-11-16 Wim Taymans <wim@fluendo.com>
2995 * check/Makefile.am:
2996 Enable valgrind check.
2998 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
2999 (gst_fake_src_alloc_buffer):
3002 2005-11-16 Wim Taymans <wim@fluendo.com>
3004 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
3005 Call parent finalize too.
3007 2005-11-16 Wim Taymans <wim@fluendo.com>
3009 * check/Makefile.am:
3010 Enable valgrind check that should work fine now.
3012 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
3013 * gst/gstqueue.c: (gst_queue_init):
3014 Fix memleaks in pad allocation.
3016 2005-11-16 Andy Wingo <wingo@pobox.com>
3018 * gst/net/Makefile.am:
3019 * gst/net/gstnet.h: New part of core to hold network elements and
3020 objects. Put in core because it exposes API that applications want
3021 to use. The library is named libgstnet-tempname right now because
3022 of the existing libgstnet in gst-plugins-base. Solution is
3023 probably to rename the one in plugins-base; will file a bug for
3026 * gst/net/gstnettimeprovider.c:
3027 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
3028 get_time call over the network.
3031 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
3033 * check/Makefile.am:
3034 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
3035 get additions shortly.
3037 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
3039 * gst/gstpad.c: (gst_pad_new_from_static_template):
3041 add gst_pad_new_from_static_template functions
3042 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
3043 (gst_check_setup_sink_pad):
3044 * gst/elements/gsttee.c: (gst_tee_init):
3047 2005-11-16 Wim Taymans <wim@fluendo.com>
3049 * gst/gstpad.c: (gst_pad_pause_task):
3050 Removed warning, it's not really an error either.
3052 2005-11-16 Wim Taymans <wim@fluendo.com>
3054 * gst/base/gstbasetransform.c:
3055 (gst_base_transform_prepare_output_buf),
3056 (gst_base_transform_event):
3057 Check if the caps are NULL, this can happen if the element
3058 is shutting down and the pad caps are set to NULL.
3060 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
3062 * gst/elements/gsttee.c: (gst_tee_init):
3063 fix pad template leak in tee
3065 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
3067 * gst/glib-compat.c: (g_value_dup_gst_object):
3068 * gst/glib-compat.h:
3069 * gst/gstpad.c: (gst_pad_set_property):
3070 use gst_object_ref when setting the pad template; this will
3071 trigger the pad template leaks on GLib 2.6 and the slaves
3073 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
3075 * gst/glib-compat.c: (gst_flags_get_first_value):
3076 * gst/glib-compat.h:
3077 * gst/gstregistryxml.c:
3078 remove functions copied from GLib 2.6
3080 2005-11-16 Michael Smith <msmith@fluendo.com>
3083 Don't link against VALGRIND_LIBS. That was always the wrong thing to
3084 do, but only breaks with newer valgrind versions. We're not a
3085 valgrind tool, we have no link-time dependencies on libcoregrind.
3087 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
3089 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
3094 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
3096 * gst/base/gstbasesrc.c: (gst_base_src_init):
3097 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
3098 * gst/gstqueue.c: (gst_queue_init):
3099 * gst/gstregistryxml.c: (load_feature):
3100 Revert all these unrefs, they don't even pass make check !
3102 2005-11-15 Johan Dahlin <johan@gnome.org>
3104 * gst/base/gstbasesrc.c: (gst_base_src_init):
3105 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
3106 * gst/gstqueue.c: (gst_queue_init):
3107 Free pad templates, fixes a couple of leaks.
3109 2005-11-15 Daniel Fischer <dan at f3c dot com>
3111 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
3113 * gst/gstpad.c: (gst_pad_get_property):
3114 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
3115 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
3118 2005-11-15 Wim Taymans <wim@fluendo.com>
3123 2005-11-15 Andy Wingo <wingo@pobox.com>
3125 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
3127 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
3128 using GST_CLOCK_TIME_NONE to disable base time management.
3129 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
3130 time if it was NONE before.
3131 (gst_pipeline_change_state): Only munge the base time if
3132 stream_time != GST_CLOCK_TIME_NONE.
3134 * check/gst/gstpipeline.c (test_base_time): Punt around the
3135 problem of the probe not being called, because that's not the
3136 issue I'm looking at. Add a check that setting stream_time to NONE
3137 disables base time management.
3139 2005-11-15 Wim Taymans <wim@fluendo.com>
3141 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
3142 segment_stop == -1 at startup.
3144 * gst/base/gstbasetransform.c: (gst_base_transform_event),
3145 (gst_base_transform_change_state):
3146 Init segment values at start.
3148 2005-11-15 Wim Taymans <wim@fluendo.com>
3150 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
3151 0 segment values are 0 in any format.
3153 * gst/base/gstbasetransform.c: (gst_base_transform_event):
3154 * gst/base/gstbasetransform.h:
3155 Parse newsegment correctly in basetransform
3157 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
3158 Sync to clock using updated segment values.
3160 2005-11-15 Andy Wingo <wingo@pobox.com>
3162 * check/gst/gstpipeline.c (test_base_time): Add check that the
3163 base time and stream time are reset correctly.
3165 2005-11-15 Wim Taymans <wim@fluendo.com>
3167 * docs/design/part-TODO.txt:
3168 Some more TODO items.
3170 2005-11-15 Andy Wingo <wingo@pobox.com>
3172 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
3173 error if the user selected "no clock" as the clocking method.
3175 * check/gst/gstpipeline.c (test_base_time): New test for buffer
3176 timestamps with live capture.
3178 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
3179 is 0 but we are a live source, timestamp the buffers using the
3182 2005-11-14 Stefan Kost <ensonic@users.sf.net>
3184 * docs/gst/gstreamer-sections.txt:
3186 * gst/gstghostpad.c:
3191 2005-11-14 Wim Taymans <wim@fluendo.com>
3194 add suppressions from Wim's Debian machine
3196 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
3199 add suppressions from Andy's AMD64 Ubuntu machine
3201 2005-11-14 Andy Wingo <wingo@pobox.com>
3203 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
3204 STATE_LOCK not necessary. Fixes #311489.
3206 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
3209 * gst/gstindex.c (gst_index_add_object): Note in the docs that
3210 this function is not implemented.
3212 2005-11-14 Julien MOUTTE <julien@moutte.net>
3214 * gst/base/gstbasetransform.c:
3215 (gst_base_transform_prepare_output_buf):
3216 Ref the source pad caps while we need them.
3219 2005-11-11 Wim Taymans <wim@fluendo.com>
3221 * docs/gst/gstreamer-sections.txt:
3222 Added some docs for GstCollectData.
3224 * gst/base/gstadapter.c:
3225 Some small code example fix.
3227 * gst/base/gstcollectpads.c:
3228 * gst/base/gstcollectpads.h:
3231 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
3233 * configure.ac: back to HEAD
3235 === release 0.9.5 ===
3237 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
3240 releasing 0.9.5, "Bike Lunch Day"
3242 2005-11-11 Wim Taymans <wim@fluendo.com>
3244 * gst/gstbuffer.c: (_gst_buffer_copy):
3247 * gst/gstcaps.c: (gst_caps_is_equal):
3249 Make _is_equal fast in the trivial cases.
3251 * gst/gstminiobject.c:
3252 * gst/gstminiobject.h:
3253 More docs. Spifify .h file.
3258 2005-11-11 Wim Taymans <wim@fluendo.com>
3260 * gst/base/gstbasetransform.c:
3261 (gst_base_transform_prepare_output_buf),
3262 (gst_base_transform_handle_buffer):
3264 If we're processing a buffer and need to allocate an output
3265 buffer, we cannot accept a format change. If we did get a
3266 format change, we have to alloc a buffer ourselves of the
3269 2005-11-11 Wim Taymans <wim@fluendo.com>
3271 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
3272 While checking the flag for reentrancy in the gstcaps function
3273 is nice to detect recursive invocations, it also makes it
3274 impossible to call getcaps from multiple threads, which must be
3275 possible. So, checking for recursive calls has to go.
3277 2005-11-11 Michael Smith <msmith@fluendo.com>
3279 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3280 Don't sync on buffers that fall partially outside our current
3281 segment. Prevents an assertion failure/abort playing some files.
3283 2005-11-10 Andy Wingo <wingo@pobox.com>
3285 * check/gst/gstbin.c (test_message_state_changed_children): Style
3288 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
3289 gst_bus_poll with the signal watch. Ensures that poll and a signal
3290 watch see the same messages.
3292 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
3293 a poll and a watch at the same time get the same messages.
3295 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
3297 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
3298 * gst/gstcaps.c: (gst_caps_intersect):
3299 Don't call gst_caps_do_simplify - it doesn't respect order of caps
3300 and it's not needed.
3302 2005-11-10 Wim Taymans <wim@fluendo.com>
3304 * docs/design/part-TODO.txt:
3307 2005-11-10 Wim Taymans <wim@fluendo.com>
3309 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
3310 * gst/base/gstbasesrc.c: (gst_base_src_wait),
3311 (gst_base_src_do_sync), (gst_base_src_get_range):
3312 Implement clock sync in base class.
3314 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
3316 patch by: Tim-Philipp Müller <tim at centricular dot net>
3318 * gst/gststructure.c: (gst_structure_parse_field),
3319 (gst_structure_from_string):
3320 Forward-port a 0.8 patch to handle escaped spaces in structure string,
3321 so that gst_parse_launch() can deal with spaces in filtered link
3322 caps (fixes #164479)
3323 * check/gst/capslist.h:
3324 * check/gst/gststructure.c: (GST_START_TEST):
3325 add unit tests for this change
3327 2005-11-10 Wim Taymans <wim@fluendo.com>
3329 * docs/gst/gstreamer-sections.txt:
3332 Fix docs, move some STATE macros to private.
3334 2005-11-10 Wim Taymans <wim@fluendo.com>
3336 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
3337 Added check for bug #317341
3341 Some more spiffifying.
3343 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
3344 Call peer linkfunction if we are a source pad. Totally fixes
3348 Update docs, source pads should call the peer linkfunction
3349 so they can atomically perform the pad link.
3351 2005-11-09 Wim Taymans <wim@fluendo.com>
3355 Uber-spiffy-spiffify some more.
3357 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
3359 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
3360 * gst/elements/gstfilesink.c: (gst_file_sink_init):
3361 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
3362 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
3363 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
3364 * gst/gstpad.c: (gst_pad_init):
3365 Use GST_DEBUG_FUNCPTR() more extensively.
3367 2005-11-09 Wim Taymans <wim@fluendo.com>
3369 * gst/gstobject.c: (gst_object_class_init):
3371 Documentation fixes.
3373 2005-11-09 Edward Hervey <edward@fluendo.com>
3375 * gst/gsttypefindfactory.c:
3378 2005-11-09 Edward Hervey <edward@fluendo.com>
3380 * gst/base/gsttypefindhelper.c:
3381 * gst/gsttypefind.c:
3382 * gst/gsttypefind.h:
3385 2005-11-09 Wim Taymans <wim@fluendo.com>
3387 * gst/gstiterator.c:
3394 2005-11-09 Wim Taymans <wim@fluendo.com>
3400 2005-11-09 Wim Taymans <wim@fluendo.com>
3402 * docs/gst/gstreamer-sections.txt:
3403 Moved the message async delivery private lock and cond
3404 to the private section.
3410 2005-11-09 Edward Hervey <edward@fluendo.com>
3412 * docs/gst/gstreamer-sections.txt:
3415 Document GstURIHandler
3417 2005-11-09 Wim Taymans <wim@fluendo.com>
3419 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
3420 (gst_iterator_find_custom):
3421 * gst/gstiterator.h:
3424 2005-11-09 Wim Taymans <wim@fluendo.com>
3427 Document another field.
3429 * gst/gststructure.c:
3430 * gst/gststructure.h:
3433 2005-11-09 Wim Taymans <wim@fluendo.com>
3438 2005-11-09 Wim Taymans <wim@fluendo.com>
3440 * docs/gst/gstreamer-sections.txt:
3441 Added some new macros.
3448 2005-11-09 Wim Taymans <wim@fluendo.com>
3450 * docs/design/part-TODO.txt:
3451 Some more items for the TODO
3457 2005-11-09 Andy Wingo <wingo@pobox.com>
3459 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
3460 to work on something else now tho...
3462 * gst/base/gstadapter.c: More adapter docs.
3464 * gst/elements/gstfilesink.c (gst_file_sink_start)
3465 (gst_file_sink_stop): New functions, replace the state change
3467 (gst_file_sink_class_init): Hook up the start and stop functions.
3468 (gst_file_sink_base_init): Don't set the state change handler any
3469 more. It was a bit ugly too, being set from here...
3470 (gst_file_sink_get_property, gst_file_sink_set_property):
3472 (gst_file_sink_set_location): More robust check that doesn't call
3475 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
3477 * gst/base/gstbasetransform.c: (gst_base_transform_event):
3478 Hold STREAM_LOCK while pushing newsegment or tag events as well.
3480 2005-11-08 Wim Taymans <wim@fluendo.com>
3482 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
3483 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3484 (gst_base_sink_chain), (gst_base_sink_change_state):
3485 * gst/base/gstbasesink.h:
3486 * gst/base/gstbasesrc.h:
3489 Avoid excessive typechecking in macros.
3491 * gst/gstminiobject.c: (gst_mini_object_get_type),
3492 (gst_mini_object_init), (gst_mini_object_new),
3493 (gst_mini_object_free):
3494 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
3495 (gst_object_finalize):
3496 Remove cruft code, optimize alloc_trace.
3498 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
3500 * docs/faq/gst-uninstalled:
3501 fix up PS1 for systems that try to reset it
3503 2005-11-07 Wim Taymans <wim@fluendo.com>
3505 * gst/base/gstbasesrc.c: (gst_base_src_init),
3506 (gst_base_src_get_range):
3507 Set the segment_end to -1 initially. Fixed typefind.
3509 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
3511 * gst/base/gstadapter.c:
3512 Debug category should be 'adapter', not 'GstAdapter'.
3514 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
3515 (gst_collectpads_class_init), (gst_collectpads_init),
3516 (gst_collectpads_peek), (gst_collectpads_pop),
3517 (gst_collectpads_event), (gst_collectpads_chain):
3518 Add debug category and some debugging output. Use boilerplate
3519 macros. Remove some extraneous words from docs.
3521 2005-11-05 Andy Wingo <wingo@pobox.com>
3523 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
3526 2005-11-04 Stefan Kost <ensonic@users.sf.net>
3528 * docs/gst/gstreamer-sections.txt:
3531 * gst/gstminiobject.h:
3536 2005-11-04 Wim Taymans <wim@fluendo.com>
3538 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3539 Small update to stop at the configured segment_end
3542 2005-11-04 Stefan Kost <ensonic@users.sf.net>
3544 * gst/gstregistry.c:
3545 * gst/gstregistry.h:
3548 2005-11-04 Edward Hervey <edward@fluendo.com>
3550 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
3551 Check if we are doing a segment seek and have arrived at the
3552 end of that segment.
3554 2005-11-04 Wim Taymans <wim@fluendo.com>
3556 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
3557 Don't leak a mutex unlock in case of an error.
3562 2005-11-04 Wim Taymans <wim@fluendo.com>
3564 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
3566 Get the context to wake up only once.
3568 2005-11-03 Wim Taymans <wim@fluendo.com>
3570 * check/states/sinks.c: (GST_START_TEST):
3571 Uncomment fixed check.
3573 * docs/design/part-TODO.txt:
3576 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3577 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3578 (gst_base_sink_get_position):
3579 If we are going to PLAYING, post the right pending state
3580 when we post the intermediate paused message.
3582 * gst/gstelement.c: (gst_element_continue_state),
3583 (gst_element_set_state_func), (gst_element_change_state):
3584 Don't post state changes that were between the same state
3587 2005-11-03 Stefan Kost <ensonic@users.sf.net>
3589 * docs/gst/gstreamer-sections.txt:
3592 * gst/gstminiobject.h:
3595 more docs and doc style fixes
3597 2005-11-03 Stefan Kost <ensonic@users.sf.net>
3599 * docs/gst/gstreamer-sections.txt:
3601 * gst/gstminiobject.c:
3604 2005-11-03 Andy Wingo <wingo@pobox.com>
3606 * check/states/sinks.c (test_livesrc_sink): Add checks that the
3607 state-changed messages actually have the right order and the right
3610 2005-11-03 Wim Taymans <wim@fluendo.com>
3612 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
3613 Added some more checks. Specifically the case where NO_PREROLL
3614 elements are in the pipeline.
3616 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
3617 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
3618 (gst_base_sink_get_position):
3619 Post READY->PAUSED state change messages too.
3620 Fix bug where VOID was posted as pending state...
3622 * gst/gstbin.c: (gst_bin_recalc_state):
3623 use _element_continue_state() to continue the state change.
3625 * gst/gstelement.c: (gst_element_continue_state),
3626 (gst_element_commit_state), (gst_element_set_state_func),
3627 (gst_element_change_state), (gst_element_change_state_func):
3628 Lots of state change cleanups, assign the STATE_RETURN in
3629 a new continue_state() function that also propagates the
3630 last return value from a state change to the app.
3631 Update some debug statements with proper category.
3633 2005-11-03 Wim Taymans <wim@fluendo.com>
3635 * docs/design/part-events.txt:
3636 * docs/design/part-gstpipeline.txt:
3637 * docs/design/part-messages.txt:
3638 * docs/design/part-overview.txt:
3639 * docs/design/part-seeking.txt:
3640 * docs/design/part-states.txt:
3641 * docs/design/part-trickmodes.txt:
3642 * docs/manual/advanced-position.xml:
3646 People think !! is ugly, this looks better.
3648 * gst/gstpad.c: (gst_pad_set_blocked_async):
3649 Remove !! since it's fixed elsewhere now.
3651 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3653 * gst/gstminiobject.h:
3655 Add !! to _FLAG_IS_SET macros to make the result boolean.
3657 2005-11-03 Edward Hervey <edward@fluendo.com>
3659 * gst/gstpad.c: (gst_pad_set_blocked_async):
3660 comparing a flag and a gboolean rarely returns coherent results...
3661 Added two characters (!!) to make that work correctly.
3663 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3665 * gst/gstbus.c: (gst_bus_class_init):
3668 * gst/gstqueue.c: (gst_queue_loop):
3669 Don't assume a miniobject that isn't a buffer is an
3670 event (it could be that there is a refcounting
3671 problem somewhere and the pointer is stale and
3672 refers to an already destroyed miniobject).
3674 2005-11-03 Julien MOUTTE <julien@moutte.net>
3676 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
3678 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
3680 * docs/manual/advanced-position.xml:
3681 Update seek example and explanations to current 0.9 API.
3683 * gst/elements/gsttypefindelement.c:
3684 (gst_type_find_element_activate):
3685 Remove FIXME comment now that the found caps
3688 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
3690 * gst/gstregistryxml.c: (load_feature):
3691 Add another GST_STR_NULL instance
3693 2005-11-02 Edward Hervey <edward@fluendo.com>
3695 * gst/gstpad.c: (handle_pad_block):
3696 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
3698 2005-11-02 Wim Taymans <wim@fluendo.com>
3703 * gst/gstelement.c: (gst_element_commit_state):
3704 Remove unused value.
3706 * gst/gstiterator.c:
3707 Mention that the returned element is reffed in the docs.
3709 2005-11-02 Wim Taymans <wim@fluendo.com>
3711 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
3712 (gst_pad_push), (gst_pad_push_event):
3713 Unlock blocked pads when they are flushed.
3715 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3718 * docs/gst/gstreamer-sections.txt:
3721 * gst/gstregistry.c: (gst_registry_scan_path_level):
3722 fix for a nasty little missed situation where an installed plug-in
3723 which was in the cache did not get overridden by an uninstalled one
3724 which was earlier in the plugin path because the newly created plugin
3725 for the uninstalled one (not in the registry) didn't get its
3726 ->registered set to TRUE
3728 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3730 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
3731 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
3732 (gst_collectpads_is_active), (gst_collectpads_collect),
3733 (gst_collectpads_collect_range), (gst_collectpads_start),
3734 (gst_collectpads_stop), (gst_collectpads_peek),
3735 (gst_collectpads_pop), (gst_collectpads_available),
3736 (gst_collectpads_read), (gst_collectpads_flush):
3737 Guard public API with assertions.
3740 Fix docs for gst_pad_set_link_function().
3742 2005-11-02 Johan Dahlin <johan@gnome.org>
3744 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
3745 Unref found_caps after we used it.
3747 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
3749 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
3750 Don't try to ref NULL.
3752 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3754 * win32/common/config.h.in:
3755 provide a GST_FUNCTION that just gives a string for now
3757 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
3759 * win32/common/gstenumtypes.c: (register_gst_object_flags),
3760 (gst_object_flags_get_type), (register_gst_bin_flags),
3761 (gst_bin_flags_get_type), (register_gst_buffer_flag),
3762 (gst_buffer_flag_get_type), (register_gst_bus_flags),
3763 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
3764 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
3765 (gst_clock_return_get_type), (register_gst_clock_entry_type),
3766 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
3767 (gst_clock_flags_get_type), (register_gst_state),
3768 (gst_state_get_type), (register_gst_state_change_return),
3769 (gst_state_change_return_get_type), (register_gst_state_change),
3770 (gst_state_change_get_type), (register_gst_element_flags),
3771 (gst_element_flags_get_type), (register_gst_core_error),
3772 (gst_core_error_get_type), (register_gst_library_error),
3773 (gst_library_error_get_type), (register_gst_resource_error),
3774 (gst_resource_error_get_type), (register_gst_stream_error),
3775 (gst_stream_error_get_type), (register_gst_event_type),
3776 (gst_event_type_get_type), (register_gst_seek_type),
3777 (gst_seek_type_get_type), (register_gst_seek_flags),
3778 (gst_seek_flags_get_type), (register_gst_format),
3779 (gst_format_get_type), (register_gst_index_certainty),
3780 (gst_index_certainty_get_type), (register_gst_index_entry_type),
3781 (gst_index_entry_type_get_type),
3782 (register_gst_index_lookup_method),
3783 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
3784 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
3785 (gst_index_resolver_method_get_type), (register_gst_index_flags),
3786 (gst_index_flags_get_type), (register_gst_debug_level),
3787 (gst_debug_level_get_type), (register_gst_debug_color_flags),
3788 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
3789 (gst_iterator_result_get_type), (register_gst_iterator_item),
3790 (gst_iterator_item_get_type), (register_gst_message_type),
3791 (gst_message_type_get_type), (register_gst_mini_object_flags),
3792 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
3793 (gst_pad_link_return_get_type), (register_gst_flow_return),
3794 (gst_flow_return_get_type), (register_gst_activate_mode),
3795 (gst_activate_mode_get_type), (register_gst_pad_direction),
3796 (gst_pad_direction_get_type), (register_gst_pad_flags),
3797 (gst_pad_flags_get_type), (register_gst_pad_presence),
3798 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
3799 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
3800 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
3801 (gst_plugin_error_get_type), (register_gst_plugin_flags),
3802 (gst_plugin_flags_get_type), (register_gst_rank),
3803 (gst_rank_get_type), (register_gst_query_type),
3804 (gst_query_type_get_type), (register_gst_tag_merge_mode),
3805 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
3806 (gst_tag_flag_get_type), (register_gst_task_state),
3807 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
3808 (gst_alloc_trace_flags_get_type),
3809 (register_gst_type_find_probability),
3810 (gst_type_find_probability_get_type), (register_gst_uri_type),
3811 (gst_uri_type_get_type), (register_gst_parse_error),
3812 (gst_parse_error_get_type):
3813 * win32/common/gstversion.h:
3816 2005-11-01 Luca Ognibene <luogni@tin.it>
3819 fix docs. popt is dead, long live GOption.
3821 2005-10-31 Wim Taymans <wim@fluendo.com>
3826 2005-10-31 Andy Wingo <wingo@pobox.com>
3830 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
3832 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
3833 need to serialize property notifications on GLib 2.8. GLib 2.6 has
3834 the possibility of deadlocks here if code calling notify() or
3835 set() has a lock that can be taken in another notify handler (ABBA
3836 with class lock and e.g. python GIL state lock).
3838 2005-10-28 Julien MOUTTE <julien@moutte.net>
3840 * gst/gstbus.c: Doc updates.
3842 2005-10-28 Wim Taymans <wim@fluendo.com>
3844 * docs/design/part-TODO.txt:
3845 * gst/gstiterator.c:
3846 * gst/gstsystemclock.c:
3847 * gst/gstsystemclock.h:
3850 2005-10-28 Edward Hervey <edward@fluendo.com>
3852 * docs/gst/gstreamer-docs.sgml:
3853 * docs/gst/gstreamer-sections.txt:
3854 the GstURIType documentation page is private, it only defines GstURIType
3855 which should be defined in the GstURIHandler page
3857 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
3859 * gst/gstbin.c: (gst_bin_class_init):
3862 Documentation updates.
3864 2005-10-28 Wim Taymans <wim@fluendo.com>
3866 * docs/gst/gstreamer-sections.txt:
3869 Documented the clocks.
3871 2005-10-28 Stefan Kost <ensonic@users.sf.net>
3873 * docs/gst/gstreamer-sections.txt:
3874 move some macros to private sections
3875 * gst/gstminiobject.c:
3876 * gst/gstminiobject.h:
3877 add descriptions provided by ds and some more
3879 mark macro as to be removed
3881 2005-10-28 Wim Taymans <wim@fluendo.com>
3883 * docs/design/part-TODO.txt:
3884 Add an item to TODO.
3886 * gst/gstiterator.c: (gst_iterator_fold),
3887 (gst_iterator_find_custom):
3888 * gst/gstiterator.h:
3891 2005-10-28 Wim Taymans <wim@fluendo.com>
3893 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
3894 (gst_base_transform_init):
3897 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
3898 An EOS event marks the queue as completely filled.
3900 2005-10-27 Wim Taymans <wim@fluendo.com>
3902 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3903 (gst_base_sink_do_sync), (gst_base_sink_get_position):
3904 Some more debugging.
3906 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
3907 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
3908 (gst_base_transform_event), (gst_base_transform_getrange),
3909 (gst_base_transform_chain):
3910 * gst/base/gstbasetransform.h:
3912 Protect transform and concurrent buffer alloc with a new lock.
3913 Try not to break ABI/API.
3915 2005-10-27 Wim Taymans <wim@fluendo.com>
3917 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
3918 (gst_base_src_init), (gst_base_src_query),
3919 (gst_base_src_default_newsegment),
3920 (gst_base_src_configure_segment), (gst_base_src_do_seek),
3921 (gst_base_src_send_event), (gst_base_src_event_handler),
3922 (gst_base_src_pad_get_range), (gst_base_src_loop),
3923 (gst_base_src_unlock), (gst_base_src_default_negotiate),
3924 (gst_base_src_start), (gst_base_src_deactivate),
3925 (gst_base_src_activate_push), (gst_base_src_change_state):
3926 Move some stuff around and cleanup things.
3928 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
3930 * gst/base/gstbasesrc.c: (gst_base_src_query):
3931 Add missing break statements.
3933 2005-10-27 Wim Taymans <wim@fluendo.com>
3935 * check/gst/gstbin.c: (GST_START_TEST):
3936 An extra refcount is taken in basesrc.
3938 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
3939 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3940 (gst_base_src_loop):
3941 Small cleanups, check for flushing after being unlocked from the
3942 LIVE_LOCK. take refcounts correctly (not yet everywhere).
3943 Don't send out EOS when going to READY.
3945 2005-10-27 Wim Taymans <wim@fluendo.com>
3947 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3948 (gst_base_sink_get_position):
3951 * gst/gstbin.c: (message_check), (bin_replace_message),
3952 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3953 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3954 (bin_query_duration_init), (bin_query_duration_fold),
3955 (bin_query_duration_done), (bin_query_generic_fold),
3957 * tools/gst-launch.c: (main):
3960 2005-10-26 Stefan Kost <ensonic@users.sf.net>
3962 * examples/controller/audio-example.c: (main):
3963 * examples/queue/queue.c: (event_loop):
3964 * gst/base/gstbasetransform.h:
3965 * gst/gstelement.c: (gst_element_send_event):
3967 * gst/gstpad.c: (gst_pad_send_event):
3970 changing log priority in error situations
3972 2005-10-25 Wim Taymans <wim@fluendo.com>
3974 * gst/gstbin.c: (message_check), (bin_replace_message),
3975 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3976 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3977 (bin_query_duration_init), (bin_query_duration_fold),
3978 (bin_query_duration_done), (bin_query_generic_fold),
3980 Some doc and debug updates.
3981 Cache previously requested query DURATION for speed. invalidate
3982 cached duration if element posts a DURATION message.
3984 2005-10-25 Wim Taymans <wim@fluendo.com>
3986 * docs/design/part-TODO.txt:
3989 * gst/gstbin.c: (message_check), (bin_replace_message),
3990 (bin_remove_messages), (is_eos), (gst_bin_add_func),
3991 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
3992 (bin_query_duration_init), (bin_query_duration_fold),
3993 (bin_query_duration_done), (bin_query_generic_fold),
3995 Handle SEGMENT_START/DONE messages correctly.
3996 More evolved query algorithm that handles duration queries
3999 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
4000 (gst_element_get_state_func), (gst_element_abort_state),
4001 (gst_element_commit_state), (gst_element_lost_state):
4002 Some more debugging.
4007 2005-10-25 Wim Taymans <wim@fluendo.com>
4009 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
4010 Don't use invalid stream_time.
4012 * gst/gstevent.c: (gst_event_new_newsegment):
4013 stream_time in newsegment cannot be undefined.
4015 2005-10-24 Wim Taymans <wim@fluendo.com>
4020 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
4022 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
4024 2005-10-24 Stefan Kost <ensonic@users.sf.net>
4026 * docs/libs/tmpl/gstdparam.sgml:
4027 * docs/libs/tmpl/gstdplinint.sgml:
4028 * docs/libs/tmpl/gstdpman.sgml:
4029 * docs/libs/tmpl/gstdpsmooth.sgml:
4030 * docs/libs/tmpl/gstunitconvert.sgml:
4033 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
4038 === release 0.9.4 ===
4040 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
4043 releasing 0.9.4, "Tyrannosaurus Rex"
4045 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
4047 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4048 (gst_file_sink_get_current_offset):
4049 Use fseeko() and ftello() if available. When falling back on
4050 lseek() to get the current offset, fflush() first to make sure
4051 everything is up-to-date and we get the right offset.
4053 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
4055 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4056 * gst/base/gstbasesrc.c: (gst_base_src_loop):
4057 * gst/gsterror.c: (_gst_stream_errors_init):
4059 * gst/gstqueue.c: (gst_queue_loop):
4061 remove prematurely added error category and clean up the instances
4063 2005-10-21 Wim Taymans <wim@fluendo.com>
4065 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4066 (gst_base_sink_get_position), (gst_base_sink_query),
4067 (gst_base_sink_change_state):
4068 Simply set the right flag when going to playing, that's all
4069 we need to do instead of calling a function inside the object
4070 lock (that could take the lock as well and deadlock)
4072 2005-10-21 Wim Taymans <wim@fluendo.com>
4074 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
4075 (gst_base_src_loop):
4076 Don't warn, the peer element knows what to do best when
4077 the seek failed, it might try something else.
4079 2005-10-21 Wim Taymans <wim@fluendo.com>
4081 * gst/base/gstbasesrc.c: (gst_base_src_init),
4082 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
4085 2005-10-21 Wim Taymans <wim@fluendo.com>
4087 * docs/design/part-segments.txt:
4090 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
4091 Correctly set caps, even on the subbufer.
4093 2005-10-21 Wim Taymans <wim@fluendo.com>
4095 * docs/gst/gstreamer-docs.sgml:
4096 * docs/gst/gstreamer-sections.txt:
4103 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
4107 And 2% more doc coverage.
4109 2005-10-21 Andy Wingo <wingo@pobox.com>
4111 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
4114 2005-10-20 Wim Taymans <wim@fluendo.com>
4116 * gst/gsterror.c: (gst_error_get_message):
4119 * gst/gststructure.c:
4124 2005-10-20 Wim Taymans <wim@fluendo.com>
4129 Another 1% more coverage.
4131 2005-10-20 Wim Taymans <wim@fluendo.com>
4133 * docs/gst/gstreamer-sections.txt:
4134 * gst/gstelement.c: (gst_element_get_state_func),
4135 (gst_element_abort_state), (gst_element_commit_state),
4136 (gst_element_lost_state):
4138 * gst/gstquery.c: (gst_query_set_position),
4139 (gst_query_parse_position), (gst_query_set_duration),
4140 (gst_query_parse_duration), (gst_query_new_convert):
4142 Yay! 1% more docs coverage.
4144 2005-10-20 Wim Taymans <wim@fluendo.com>
4147 * gst/gstquery.c: (gst_query_set_position),
4148 (gst_query_parse_position), (gst_query_set_duration),
4149 (gst_query_parse_duration), (gst_query_new_convert):
4151 * gst/gstutils.c: (gst_element_query_convert):
4153 Docs and consistency fixes.
4155 2005-10-20 Wim Taymans <wim@fluendo.com>
4161 2005-10-20 Wim Taymans <wim@fluendo.com>
4163 * gst/gstbin.c: (message_check), (bin_replace_message),
4164 (bin_remove_messages), (is_eos), (gst_bin_add_func),
4165 (update_degree), (gst_bin_sort_iterator_next),
4166 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
4167 Reworked the message handling a bit, cache the messages instead of
4168 only the senders. alows us to do more in the future.
4170 2005-10-20 Wim Taymans <wim@fluendo.com>
4172 * docs/design/part-TODO.txt:
4175 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
4176 (gst_base_sink_query):
4177 Don't use clock time to report position when in EOS.
4179 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
4181 * tools/gst-inspect.c: (print_interfaces),
4182 (print_element_properties_info), (print_element_info):
4183 Fix interface output with gst-inspect -a; don't print
4184 newlines after double/float properties.
4186 2005-10-20 Wim Taymans <wim@fluendo.com>
4188 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
4189 (gst_base_sink_query):
4190 Speed up current position calculation.
4192 * gst/base/gstbasesrc.c: (gst_base_src_query),
4193 (gst_base_src_default_newsegment):
4194 Correctly set stream position in newsegment.
4196 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
4197 (update_degree), (gst_bin_sort_iterator_next),
4198 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
4199 * gst/gstmessage.c: (gst_message_new_custom):
4200 Clean up debugging info
4202 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
4203 (gst_queue_loop), (gst_queue_handle_src_query):
4206 2005-10-19 Wim Taymans <wim@fluendo.com>
4208 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4209 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
4210 Fix query handling again.
4212 2005-10-19 Wim Taymans <wim@fluendo.com>
4214 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4215 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
4216 * gst/base/gstbasesrc.c: (gst_base_src_query):
4217 * gst/elements/gstfilesink.c: (gst_file_sink_query):
4218 * gst/elements/gsttypefindelement.c:
4219 (gst_type_find_handle_src_query), (find_element_get_length),
4220 (gst_type_find_element_activate):
4223 * gst/gstquery.c: (gst_query_new_position),
4224 (gst_query_set_position), (gst_query_parse_position),
4225 (gst_query_new_duration), (gst_query_set_duration),
4226 (gst_query_parse_duration), (gst_query_set_segment),
4227 (gst_query_parse_segment):
4229 Bundling query position/duration is not a good idea since duration
4230 does not change much and we don't want to recalculate it for every
4231 position query, so they are separated again..
4232 Base value in segment query is not needed.
4234 * gst/gstqueue.c: (gst_queue_handle_src_query):
4235 * gst/gstutils.c: (gst_element_query_position),
4236 (gst_element_query_duration), (gst_pad_query_position),
4237 (gst_pad_query_duration):
4239 Updates for query API change.
4240 Added some docs here and there.
4242 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
4244 * check/gst/gstbin.c: (GST_START_TEST):
4245 * check/gst/gstghostpad.c: (GST_START_TEST):
4246 * check/pipelines/cleanup.c: (GST_START_TEST):
4247 wait on thread to die so we can check refcount correctly
4249 2005-10-18 Wim Taymans <wim@fluendo.com>
4251 * check/pipelines/stress.c: (GST_START_TEST):
4252 Make check a little more time consuming.
4254 2005-10-18 Wim Taymans <wim@fluendo.com>
4256 * check/Makefile.am:
4257 * check/pipelines/stress.c: (GST_START_TEST),
4258 (simple_launch_lines_suite), (main):
4259 Small state change torture test.
4261 * docs/design/part-states.txt:
4262 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4263 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
4264 (gst_base_sink_change_state):
4265 Never take state lock from streaming thread, clean up ugly
4266 hacks. Unfortunatly core does not yet support nice ways to
4269 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
4271 Start state recalc if a STATE_DIRTY message is posted, but only
4272 on the toplevel bin.
4274 * gst/gstelement.c: (gst_element_sync_state_with_parent),
4275 (gst_element_get_state_func), (gst_element_abort_state),
4276 (gst_element_commit_state), (gst_element_lost_state),
4277 (gst_element_set_state_func), (gst_element_change_state):
4279 State variables are now protected with the LOCK, the state
4280 lock is only used to serialize _set_state().
4282 2005-10-18 Wim Taymans <wim@fluendo.com>
4284 * check/gst/gstbin.c: (GST_START_TEST):
4285 * check/gst/gstmessage.c: (GST_START_TEST):
4286 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4287 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
4289 * gst/gstelement.c: (gst_element_abort_state),
4290 (gst_element_commit_state), (gst_element_lost_state):
4291 * gst/gstmessage.c: (gst_message_new_state_changed),
4292 (gst_message_new_state_dirty), (gst_message_new_segment_start),
4293 (gst_message_new_segment_done), (gst_message_new_duration),
4294 (gst_message_parse_state_changed),
4295 (gst_message_parse_segment_start),
4296 (gst_message_parse_segment_done), (gst_message_parse_duration):
4298 * tools/gst-launch.c: (event_loop):
4299 Seriously, this is better than a previous commit as we only need
4300 to notify the fact that an element changed state in a streaming
4301 thread, marking the state of the parents dirty, hence the
4302 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
4305 2005-10-18 Wim Taymans <wim@fluendo.com>
4307 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
4308 (gst_bin_recalc_func):
4309 * gst/gstelement.c: (gst_element_set_clock),
4310 (gst_element_abort_state), (gst_element_lost_state):
4311 Cleanups, prepare for state change fixes.
4313 2005-10-18 Wim Taymans <wim@fluendo.com>
4316 * gst/gstelement.c: (gst_element_class_init),
4317 (gst_element_set_state), (gst_element_set_state_func):
4319 Pending ABI changes.
4320 GThreadPool in GstBinClass to monitor async state changes.
4321 state_cookie in GstElement to detect concurrent gst/set state.
4322 set_state is now virtual too in case a very complicated element
4323 has to be constructed.
4325 2005-10-18 Wim Taymans <wim@fluendo.com>
4327 * check/gst/gstbin.c: (GST_START_TEST):
4328 * check/gst/gstmessage.c: (GST_START_TEST):
4329 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
4330 * gst/gstbin.c: (bin_bus_handler):
4331 * gst/gstelement.c: (gst_element_commit_state),
4332 (gst_element_lost_state):
4333 * gst/gstmessage.c: (gst_message_new_state_changed),
4334 (gst_message_new_segment_start), (gst_message_new_segment_done),
4335 (gst_message_new_duration), (gst_message_parse_state_changed),
4336 (gst_message_parse_segment_start),
4337 (gst_message_parse_segment_done), (gst_message_parse_duration):
4339 * tools/gst-launch.c: (event_loop):
4340 Make messages future proof.
4341 state-change gets a flag if it was a message comming from the
4343 segment-start/stop can also be specified in other formats.
4344 A message to notify an app that a pipeline changed playback
4346 Also fix a GstMessage leak in -launch
4348 2005-10-18 Andy Wingo <wingo@pobox.com>
4350 * gst/gstelement.c (gst_element_dispose): More helpful message.
4352 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
4354 reviewed by: <delete if not using a buddy>
4356 * common/gtk-doc.mak:
4358 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
4360 * gst/gstregistry.c: (gst_registry_scan_path_level):
4361 unref a plug-in we get that was already initialized
4363 2005-10-18 Stefan Kost <ensonic@users.sf.net>
4365 * docs/gst/gstreamer-sections.txt:
4366 * docs/libs/gstreamer-libs-sections.txt:
4371 2005-10-17 Andy Wingo <wingo@pobox.com>
4373 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
4376 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
4378 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
4380 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
4381 (gst_element_get_state_func): Better debug message.
4382 (gst_element_commit_state): s/INFO/DEBUG/.
4383 (gst_element_lost_state, gst_element_change_state):
4385 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
4386 (gst_message_new_custom): s/INFO/LOG/.
4388 2005-10-17 Michael Smith <msmith@fluendo.com>
4390 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4391 Check if end time is valid using end time, not start time.
4393 2005-10-17 Stefan Kost <ensonic@users.sf.net>
4395 * check/gst-libs/controller.c: (GST_START_TEST),
4396 (gst_controller_suite):
4397 * libs/gst/controller/gstcontroller.c:
4398 (gst_controlled_property_set_interpolation_mode):
4399 * libs/gst/controller/gstcontroller.h:
4400 * libs/gst/controller/gstinterpolation.c:
4401 * testsuite/controller/.cvsignore:
4402 * testsuite/controller/Makefile.am:
4403 * testsuite/controller/interpolator.c:
4404 merge controller testsuites
4406 remove mem-chunk from docs
4408 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
4410 * gst/gstmemchunk.c:
4411 * gst/gstmemchunk.h:
4412 * gst/gsttrashstack.c:
4413 * gst/gsttrashstack.h:
4414 out. get out. you're fired. to the Attic !
4416 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
4418 * gst/gstcaps.c: (gst_caps_intersect):
4419 fix signedness issues in a (hopefully) correct way
4420 * gst/gstelement.c: (gst_element_pads_activate):
4422 * gst/gstobject.c: (gst_object_set_parent):
4425 2005-10-17 Julien MOUTTE <julien@moutte.net>
4427 * gst/gstvalue.h: Fix prototypes.
4429 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4431 * docs/gst/gstreamer-sections.txt:
4432 * gst/gst.c: (gst_version_string):
4434 * gst/gstversion.h.in:
4435 * win32/common/libgstreamer.def:
4436 add gst_version_string ()
4438 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4442 * gst/gst.c: (init_post):
4443 * win32/common/config.h.in:
4445 * gst/gstcaps.c: (gst_caps_intersect):
4446 use gint64, the range could be bigger than a guint
4448 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4451 document potential problem in 2038
4453 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4455 * gst/gstcaps.c: (gst_caps_intersect):
4456 Fix guint j diving under 0
4458 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4461 * win32/common/config.h:
4462 * win32/common/config.h.in:
4463 check for process.h, declares getpid() on Windows
4465 include process.h if we have it
4466 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
4467 * gst/gstmemchunk.h:
4468 fix signedness issues
4469 * win32/common/libgstreamer.def:
4472 2005-10-16 Julien MOUTTE <julien@moutte.net>
4474 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
4475 fix. Because of unsigned ints, caps intersection was going nuts and
4476 trying to access structures with G_MAXUINT index. That fixes
4477 videotestsrc ! ffmpegcolorspace ! fakesink
4478 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
4481 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4484 use the gettext macro
4485 * gst/elements/gstelements.c:
4487 * gst/indexers/gstindexers.c:
4488 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
4489 * win32/common/config.h:
4491 * win32/common/config.h.in:
4492 add the template to generate config.h
4493 * win32/common/gstenumtypes.c:
4494 * win32/common/gstversion.h:
4497 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
4499 * gst/gst.c: (gst_version):
4500 * gst/gstversion.h.in:
4503 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
4506 Oops, add missing closing bracket.
4508 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4511 use common m4's for argument checking
4513 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
4515 * docs/gst/gstreamer-sections.txt:
4517 Add GST_EVENT_TYPE_NAME() macro.
4519 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4522 * gst/gstpluginfeature.c:
4524 privatize more symbols
4526 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4529 add srcdir, builddir includes to GST_ALL_CFLAGS, since
4530 everything that uses GStreamer API should have the includes
4532 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4534 * docs/gst/gstreamer-sections.txt:
4535 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4537 give each value a _get_type, removes the DATA exports
4539 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4543 remove _gst_registry_auto_load, not used anymore
4544 * gst/gstbin.c: (gst_bin_get_type):
4546 * gst/gstelement.c: (gst_element_get_type):
4548 * gst/gstobject.c: (gst_object_get_type):
4550 * gst/gstpad.c: (gst_pad_get_type):
4552 make _get_type functions similar, fixes data export from library
4554 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4557 correctly make conditionals
4558 * gst/elements/Makefile.am:
4559 * gst/elements/gstelements.c:
4560 fix typo causing fdsrc not to build
4562 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4564 * testsuite/Makefile.am:
4565 * testsuite/bytestream/.cvsignore:
4566 * testsuite/bytestream/Makefile.am:
4567 * testsuite/bytestream/filepadsink.c:
4568 * testsuite/bytestream/gstbstest.c:
4569 * testsuite/bytestream/test1.c:
4570 * testsuite/bytestream/testfile1:
4571 * testsuite/caps/normalisation.c:
4572 * testsuite/caps/random.c: (main):
4573 * testsuite/cleanup/.cvsignore:
4574 * testsuite/cleanup/Makefile.am:
4575 * testsuite/cleanup/cleanup1.c:
4576 * testsuite/cleanup/cleanup2.c:
4577 * testsuite/cleanup/cleanup3.c:
4578 * testsuite/cleanup/cleanup4.c:
4579 * testsuite/cleanup/cleanup5.c:
4580 * testsuite/controller/interpolator.c:
4581 * testsuite/debug/printf_extension.c: (main):
4582 * testsuite/elements/tee.c:
4583 * testsuite/negotiation/.cvsignore:
4584 * testsuite/negotiation/Makefile.am:
4585 * testsuite/negotiation/pad_link.c:
4586 * testsuite/pad/Makefile.am:
4587 * testsuite/pad/chainnopull.c:
4588 * testsuite/pad/getnopush.c:
4589 * testsuite/pad/link.c:
4590 * testsuite/refcounting/sched.c: (create_pipeline):
4591 * testsuite/registry/Makefile.am:
4592 * testsuite/registry/gst-print-formats.c:
4593 * testsuite/schedulers/.cvsignore:
4594 * testsuite/schedulers/142183-2.c:
4595 * testsuite/schedulers/142183.c:
4596 * testsuite/schedulers/143777-2.c:
4597 * testsuite/schedulers/143777.c:
4598 * testsuite/schedulers/147713.c:
4599 * testsuite/schedulers/147819.c:
4600 * testsuite/schedulers/147894-2.c:
4601 * testsuite/schedulers/147894.c:
4602 * testsuite/schedulers/Makefile.am:
4603 * testsuite/schedulers/group_link.c:
4604 * testsuite/schedulers/queue_link.c:
4605 * testsuite/schedulers/relink.c:
4606 * testsuite/schedulers/unlink.c:
4607 * testsuite/schedulers/unref.c:
4608 * testsuite/schedulers/useless_iteration.c:
4609 * testsuite/states/bin.c:
4610 clean out/remove some stuff from the testsuite directories
4612 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4615 check for some headers
4616 * gst/elements/Makefile.am:
4617 * gst/elements/gstelements.c:
4618 don't compile fdsrc without sys/socket.h
4619 * gst/indexers/Makefile.am:
4620 * gst/indexers/gstindexers.c: (plugin_init):
4621 don't compile fileindex without mmap
4623 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
4630 * check/Makefile.am:
4631 * docs/gst/Makefile.am:
4632 * examples/helloworld/Makefile.am:
4634 * gst/base/Makefile.am:
4635 * gst/check/Makefile.am:
4636 * gst/elements/Makefile.am:
4637 * gst/indexers/Makefile.am:
4638 * gst/parse/Makefile.am:
4639 * libs/gst/controller/Makefile.am:
4640 * libs/gst/dataprotocol/Makefile.am:
4641 * examples/helloworld/helloworld.c: (event_loop):
4642 compile fixes, though it's not being compiled currently
4644 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4646 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
4647 Add some simple tests for the new taglist date API.
4649 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4651 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
4652 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
4653 Beautify 'last-message' output: print 'none' for buffer timestamps
4654 and durations if none is set; improve alignment with next messages.
4656 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
4658 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
4659 * gst/gstpluginfeature.h:
4660 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
4661 * gst/gstregistry.h:
4662 * docs/gst/gstreamer-sections.txt:
4663 Add new API to check plugin feature version requirements.
4665 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
4666 Some basic tests for the above.
4668 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4670 * gst/gststructure.c: (gst_structure_to_string):
4671 guard against NULL printf - happens when for example
4672 a message structure with GstClock gets serialized
4674 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4676 * gst/base/gstcollectpads.c: (gst_collectpads_event):
4677 Fix presumable copy'n'pasto.
4679 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4681 * gst/elements/gstfakesrc.h:
4682 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
4683 * gst/elements/gsttypefindelement.c:
4685 * gst/elements/gstfilesink.c: (gst_file_sink_render):
4686 I wonder if this could actually write +2GB files before
4688 2005-10-13 Andy Wingo <wingo@pobox.com>
4690 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
4691 Fix Timmeke Waymans bug.
4692 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
4693 string of the proper length to gst_caps_from_string. There's a
4694 potential for, before this fix, that this could cause someone
4695 connecting over the network to cause a segfault if the payload is
4698 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4700 * docs/design/draft-push-pull.txt:
4701 * docs/design/part-overview.txt:
4702 * docs/random/TODO-pre-0.9:
4703 * docs/random/old/ChangeLog.gstreamer:
4704 * gst/base/gstpushsrc.c:
4708 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4710 * gst/glib-compat.c: (gst_flags_get_first_value):
4711 * gst/glib-compat.h:
4712 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
4713 (gst_value_compare_double), (gst_value_serialize_flags):
4714 GLib 2.6 g_flags_get_first_value has a bug that triggers an
4717 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4719 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4720 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
4722 * tools/gst-launch.c: (event_loop):
4723 print out clock nicely
4725 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
4727 * docs/gst/gstreamer-sections.txt:
4729 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
4730 (gst_tag_list_get_date_index):
4731 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
4732 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
4734 2005-10-13 Julien MOUTTE <julien@moutte.net>
4736 * gst/base/gstcollectpads.c: (gst_collectpads_event),
4737 (gst_collectpads_chain):
4738 * gst/base/gstcollectpads.h: Handle newsegment and store informations
4741 2005-10-13 Stefan Kost <ensonic@users.sf.net>
4743 * docs/gst/gstreamer-sections.txt:
4746 * tools/gst-inspect.c: (main):
4747 * tools/gst-launch.c: (main):
4748 * tools/gst-run.c: (main):
4749 * tools/gst-xmlinspect.c: (main):
4750 fix GOption context leaks
4753 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
4757 * win32/common/config.h:
4759 * win32/vs6/grammar.dsp:
4760 * win32/vs6/libgstelements.dsp:
4761 * win32/vs6/libgstreamer.dsp:
4764 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4766 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4767 * gst/base/gstbasesrc.c: (gst_base_src_query):
4768 fix more guint64<->gdouble conversions
4770 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4773 add win32-update target
4774 * win32/common/gstconfig.h:
4775 * win32/common/gstenumtypes.c:
4776 * win32/common/gstenumtypes.h:
4777 * win32/common/gstversion.h:
4778 add files that visual studio can't generate
4780 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
4783 add a win32-update target
4786 2005-10-12 Wim Taymans <wim@fluendo.com>
4788 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4789 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
4790 * gst/gstelement.c: (gst_element_commit_state),
4791 (gst_element_set_state):
4792 Protect flags with proper lock.
4793 unref provided cached clock in dispose.
4795 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4798 * gst/gstminiobject.h:
4800 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
4801 removed unused flags from miniobject
4804 2005-10-12 Wim Taymans <wim@fluendo.com>
4806 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
4807 (gst_file_sink_event), (gst_file_sink_render):
4808 Flush before seeking.
4810 2005-10-12 Andy Wingo <wingo@pobox.com>
4812 * gst/gst.c (gst_init_check): Ignore unknown options, as has
4813 always been the case.
4815 2005-10-12 Stefan Kost <ensonic@users.sf.net>
4817 * check/gst/gstbin.c: (GST_START_TEST):
4818 * docs/gst/gstreamer-sections.txt:
4819 * gst/base/gstbasesink.c: (gst_base_sink_init):
4820 * gst/base/gstbasesrc.c: (gst_base_src_init),
4821 (gst_base_src_get_range), (gst_base_src_check_get_range),
4822 (gst_base_src_start), (gst_base_src_stop):
4823 * gst/base/gstbasesrc.h:
4824 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
4825 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
4826 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
4830 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
4832 * gst/gstelement.c: (gst_element_is_locked_state),
4833 (gst_element_set_locked_state), (gst_element_commit_state),
4834 (gst_element_set_state):
4836 * gst/gstindex.c: (gst_index_init):
4838 * gst/gstminiobject.h:
4839 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
4840 (gst_object_set_parent):
4842 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
4843 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
4845 * gst/gstpadtemplate.h:
4846 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
4847 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4848 * gst/gstpipeline.h:
4849 * gst/indexers/gstfileindex.c: (gst_file_index_load),
4850 (gst_file_index_commit):
4851 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
4852 * testsuite/pad/link.c: (gst_test_src_init),
4853 (gst_test_filter_init), (gst_test_sink_init):
4854 * testsuite/states/locked.c: (main):
4855 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
4856 moved bitshift from macro to enum definition
4858 2005-10-12 Wim Taymans <wim@fluendo.com>
4860 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
4861 * gst/elements/gstfilesink.c: (gst_file_sink_event),
4862 (gst_file_sink_render):
4863 Some more debugging info.
4865 2005-10-12 Wim Taymans <wim@fluendo.com>
4867 * docs/design/part-states.txt:
4868 * tools/gst-launch.c: (main):
4870 Revert non-intentional change.
4872 2005-10-12 Wim Taymans <wim@fluendo.com>
4874 * check/gst/gstbin.c: (GST_START_TEST):
4875 * check/gst/gstelement.c: (GST_START_TEST):
4876 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
4877 * check/gst/gstghostpad.c: (GST_START_TEST):
4878 * check/gst/gstpipeline.c: (GST_START_TEST):
4879 * check/pipelines/simple_launch_lines.c: (run_pipeline):
4880 * check/states/sinks.c: (GST_START_TEST):
4881 * gst/elements/gsttypefindelement.c: (stop_typefinding):
4882 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4883 (gst_bin_remove_func), (gst_bin_get_state_func),
4884 (gst_bin_recalc_state), (gst_bin_change_state_func),
4886 * gst/gstelement.c: (gst_element_get_state_func),
4887 (gst_element_get_state), (gst_element_abort_state),
4888 (gst_element_commit_state), (gst_element_set_state),
4889 (gst_element_change_state), (gst_element_change_state_func):
4891 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
4892 (gst_pipeline_provide_clock_func):
4893 * gst/gstutils.c: (gst_element_link_pads_filtered):
4894 * tools/gst-launch.c: (main):
4895 * tools/gst-typefind.c: (main):
4896 Use GstClockTime in _get_state() instead of GTimeVal.
4897 Remove old code in gstutils.c
4899 2005-10-12 Andy Wingo <wingo@pobox.com>
4901 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
4904 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
4905 there is no task. Shouldn't affect any code, as nothing in our
4906 plugins checks this return value.
4907 (gst_pad_stop_task): Also take the stream lock if the pad has no
4910 2005-10-12 Wim Taymans <wim@fluendo.com>
4912 * gst/gstpad.c: (pre_activate), (post_activate),
4913 (gst_pad_activate_pull), (gst_pad_activate_push):
4914 Cleanup activation code. Reset old state if
4917 2005-10-12 Wim Taymans <wim@fluendo.com>
4919 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4920 (gst_base_sink_change_state):
4921 No need to prerol after receiving EOS.
4923 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
4924 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
4925 * gst/elements/gstidentity.c: (gst_identity_event):
4926 Print events more verbosely.
4928 2005-10-12 Wim Taymans <wim@fluendo.com>
4930 * check/Makefile.am:
4931 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
4932 * check/states/sinks2.c:
4933 Moved sinks2 testcode in sinks check.
4935 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
4936 (gst_bin_remove_func), (gst_bin_recalc_state),
4937 (gst_bin_change_state_func), (bin_bus_handler):
4938 Fix potential race condition when _get_state() iterated over an
4939 ASYNC element right before it posted a state completion.
4942 Do proper cast here.
4944 * gst/gstevent.c: (gst_event_new_newsegment),
4945 (gst_event_parse_newsegment):
4946 A playback rate of 0.0 is not allowed.
4948 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4950 * win32/common/config.h:
4951 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
4952 (_trewinddir), (_ttelldir), (_tseekdir):
4953 * win32/common/dirent.h:
4954 * win32/common/gtchar.h:
4955 * win32/common/libgstbase.def:
4956 * win32/common/libgstreamer.def:
4957 * win32/vs6/grammar.dsp:
4958 * win32/vs6/gst_inspect.dsp:
4959 * win32/vs6/gst_launch.dsp:
4960 * win32/vs6/gstreamer.dsw:
4961 * win32/vs6/libgstbase.dsp:
4962 * win32/vs6/libgstelements.dsp:
4963 * win32/vs6/libgstreamer.dsp:
4964 Visual Studio 6 project files, and a new common directory.
4967 2005-10-11 Wim Taymans <wim@fluendo.com>
4969 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4970 (gst_base_sink_do_sync), (gst_base_sink_query),
4971 (gst_base_sink_change_state):
4972 * gst/base/gstbasesink.h:
4973 Correctly parse newsegment info.
4975 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
4977 * gst/gst.c: (init_post):
4978 split plugin paths correctly
4980 2005-10-11 Wim Taymans <wim@fluendo.com>
4982 * check/gst/gstevent.c: (GST_START_TEST):
4983 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
4984 (gst_base_sink_change_state):
4985 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
4986 * gst/base/gstbasetransform.c: (gst_base_transform_event):
4987 * gst/elements/gstfilesink.c: (gst_file_sink_event):
4988 * gst/gstevent.c: (gst_event_new_newsegment),
4989 (gst_event_parse_newsegment):
4991 Added extra flag to newsegment for future API freeze.
4992 Updated check and base elements.
4994 2005-10-11 Julien MOUTTE <julien@moutte.net>
4996 * gst/base/gstcollectpads.c: (gst_collectpads_init),
4997 (gst_collectpads_add_pad), (gst_collectpads_pop),
4998 (gst_collectpads_event), (gst_collectpads_chain):
4999 * gst/base/gstcollectpads.h: Handle EOS correctly.
5001 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
5003 * tools/gst-launch.c: (main):
5004 more null protecting
5006 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
5008 * gst/gst-i18n-lib.h:
5009 check for ENABLE_NLS, not GETTEXT_PACKAGE
5010 * gst/gstregistry.c: (gst_registry_add_plugin),
5011 (gst_registry_scan_path_level),
5012 (_gst_registry_remove_cache_plugins):
5013 protect possibly NULL strings
5014 * gst/parse/types.h:
5015 config.h already included before
5016 * tools/gst-inspect.c: (main):
5017 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
5018 check for ENABLE_NLS, not GETTEXT_PACKAGE
5019 * tools/gst-launch.c: (main):
5020 check for ENABLE_NLS, not GETTEXT_PACKAGE
5022 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
5025 if we don't have glib, fail before testing 2.8
5026 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
5027 fix a leak, should fix plugins-base testsuite
5029 2005-10-11 Andy Wingo <wingo@pobox.com>
5031 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
5032 take the mode we're going to as an arg. Go head and set the mode
5033 and flushing flags now, so that if the activate function starts a
5034 thread all the flags will be in the right state.
5035 (post_activate): Renamed also. Just handle making sure streaming
5036 finishes for the deactivation case, and setting the deactivated
5038 (gst_pad_set_active): Complain loudly if deactivation fails.
5039 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
5040 (gst_pad_activate_push): Adapt to pre/post_activate changes,
5041 remove the terrible hack.
5043 2005-10-11 Wim Taymans <wim@fluendo.com>
5045 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
5046 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
5047 (gst_bin_recalc_state), (gst_bin_change_state_func),
5048 (gst_bin_dispose), (bin_bus_handler):
5050 Prepare to make current EOS message queue more generic.
5053 * gst/gstevent.c: (gst_event_new_newsegment),
5054 (gst_event_parse_newsegment):
5056 Rename base to stream_time.
5061 2005-10-11 Wim Taymans <wim@fluendo.com>
5063 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
5064 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
5065 (gst_bin_change_state_func), (bin_bus_handler):
5067 Work on proper clock selection.
5069 2005-10-11 Edward Hervey <edward@fluendo.com>
5071 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
5072 * libs/gst/controller/gstcontroller.h:
5073 Added GList* version of _remove_properties() in order to be able to wrap
5076 2005-10-11 Wim Taymans <wim@fluendo.com>
5078 * docs/design/part-states.txt:
5081 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
5082 (gst_bin_change_state_func), (bin_bus_handler):
5083 Doc updates. Don't distribute the same clock over and over again.
5089 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
5090 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
5091 (gst_pad_send_event):
5093 Make probe emission threadsafe again.
5094 Register quarks and move _get_name() from utils.
5097 * gst/gstpipeline.c: (gst_pipeline_class_init),
5098 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
5099 Only redistribute the clock of it changed.
5101 * gst/gstsystemclock.h:
5106 Moved the _flow_get_name() to GstPad.
5108 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
5110 * check/gst-libs/gdp.c: (GST_START_TEST):
5111 * check/gst/gstcaps.c: (GST_START_TEST):
5112 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
5113 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
5114 (gst_dp_packet_from_caps):
5115 fix more valgrind warnings before turning up the heat
5117 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
5119 * gst/parse/grammar.y:
5120 some cleanup before the hacking
5122 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
5124 * gst/base/gstbasesrc.c: (gst_base_src_query):
5126 * gst/gstutils.c: (gst_guint64_to_gdouble),
5127 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
5129 externalize, basesrc uses it
5130 obviously the implementation needs testing
5132 2005-10-10 Wim Taymans <wim@fluendo.com>
5134 * tests/sched/Makefile.am:
5135 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
5136 (make_pipeline3), (make_pipeline4), (print_elem), (main):
5138 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
5140 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
5141 apparently converting from guint64 to double is not implemented
5144 2005-10-10 Wim Taymans <wim@fluendo.com>
5146 * check/Makefile.am:
5147 * check/generic/states.c: (GST_START_TEST):
5148 * check/gst/gstbin.c: (GST_START_TEST):
5149 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
5150 * check/states/sinks.c: (GST_START_TEST):
5151 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
5153 Check fixes, use API as stated in design docs, remove hacks.
5155 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5156 (gst_base_sink_change_state):
5157 Catch stopping our task while we're shutting down.
5159 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5160 (gst_bin_remove_func), (gst_bin_get_state_func),
5161 (gst_bin_recalc_state), (gst_bin_change_state_func),
5164 * gst/gstelement.c: (gst_element_init),
5165 (gst_element_get_state_func), (gst_element_abort_state),
5166 (gst_element_commit_state), (gst_element_lost_state),
5167 (gst_element_set_state), (gst_element_change_state),
5168 (gst_element_change_state_func):
5170 New state change algorithm (see #318116)
5172 * gst/gstpipeline.c: (gst_pipeline_class_init),
5173 (gst_pipeline_init), (gst_pipeline_set_property),
5174 (gst_pipeline_get_property), (do_pipeline_seek),
5175 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
5176 * gst/gstpipeline.h:
5177 Remove crude state change hacks.
5182 * tools/gst-launch.c: (main):
5183 Fixes for state change. Needs some more work to fully use the
5186 2005-10-10 Andy Wingo <wingo@pobox.com>
5188 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
5190 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
5191 this flag, but it's not even in GLib 2.6. Odd. Hack around the
5194 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
5196 * gst/gstiterator.c: (gst_iterator_new):
5197 Fix my previous commit: GTypes passed to gst_iterator_new()
5198 can be fundamental types.
5200 2005-10-10 Wim Taymans <wim@fluendo.com>
5202 * gst/gstelement.c: (gst_element_iterate_pad_list),
5203 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
5204 (gst_element_iterate_sink_pads):
5205 Use src/sink pads lists for the respective iterators instead
5208 2005-10-10 Andy Wingo <wingo@pobox.com>
5210 Merged in popt removal + GOption addition patch from Ronald, bug
5213 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
5214 GstElement macros around, remove popt-related symbols, add goption
5217 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
5219 * docs/gst/Makefile.am:
5220 * docs/libs/Makefile.am: No POPT_CFLAGS.
5222 * examples/manual/Makefile.am:
5223 * docs/manual/basics-init.xml: Doc updates with an example.
5225 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5226 (gst_init), (parse_one_option), (parse_goption_arg):
5227 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
5228 bit of hand merging and debugging to get the GOption stuff working
5231 * tests/Makefile.am:
5232 * tools/Makefile.am:
5233 * tools/gst-inspect.c: (main):
5234 * tools/gst-launch.c: (main):
5235 * tools/gst-run.c: (main):
5236 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
5238 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
5240 * gst/gstiterator.c: (gst_iterator_new):
5241 Add assertions to make sure passed GType is likely to really
5242 be a GType (as the compiler won't catch it if the size and
5243 GType arguments get mixed up, see #318447).
5245 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
5247 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5249 * gst/gstbin.c: (gst_bin_iterate_sorted):
5250 Pass GType and size arguments to gst_iterator_new() in the right
5251 order (maybe we should make _new() take the GType as first argument
5252 just like _new_list()?) (#318447).
5255 2005-10-10 Wim Taymans <wim@fluendo.com>
5257 * gst/gstelement.c: (gst_element_finalize):
5258 And free the GStaticRecMutex too
5260 2005-10-10 Andy Wingo <wingo@pobox.com>
5262 * gst/gstelement.c (gst_element_init, gst_element_finalize):
5263 Allocate and free the mutex properly.
5265 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
5267 (GstElement): The state_lock is now recursive. Rebuild your
5268 plugins, suckers. Old macros adapted.
5270 * docs/gst/gstreamer-sections.txt: Doc updates.
5273 * gst/gstutils.c (g_static_rec_cond_timed_wait)
5274 (g_static_rec_cond_wait): Ported from state changes patch, while
5275 we wait on bug #317802 to be solved in a well-distributed GLib.
5277 * gst/gstelement.c (gst_element_change_state_func): Renamed from
5278 gst_element_change_state, variable name changes.
5279 (gst_element_change_state): Split out of gst_element_set_state in
5280 preparation for the state change merge. Doesn't pay attention to
5281 the 'transition' argument.
5282 (gst_element_set_state): Updates, hopefully purely cosmetic.
5283 (gst_element_sync_state_with_parent): MT-safety. Ported from the
5285 (gst_element_get_state_func): Renamed from get_state, cosmetic
5288 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
5290 * gst/elements/gstelements.c:
5291 * win32/GStreamer.vcproj:
5293 * win32/dirent.c: (_tseekdir):
5294 * win32/gst-inspect.vcproj:
5295 * win32/gst-launch.vcproj:
5296 * win32/gstconfig.h:
5297 * win32/gstelements.vcproj:
5298 * win32/gstenumtypes.c: (gst_object_flags_get_type):
5299 * win32/gstreamer.def:
5301 updates for the win32 build (patch from Sebastien Moutte)
5303 2005-10-10 Andy Wingo <wingo@pobox.com>
5305 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
5306 gst_bin_get_state, cleaned up (but no logic changes).
5307 (bin_element_is_sink): Comment updates.
5308 (sink_iterator_filter): Remove needless cast.
5309 (gst_bin_iterate_sinks): Doc update.
5310 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
5311 cleaned up (but no logic changes).
5313 * check/states/sinks.c (test_src_sink): Cleanups from the state
5315 (test_livesrc_sink): Sync on the state.
5317 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
5318 the state change patch.
5320 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
5323 * check/gst/gstbin.c: Merge in some style fixes and additional
5324 checks from Wim's state change patch.
5326 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
5328 * gst/base/gsttypefindhelper.c: (helper_find_peek),
5329 (gst_type_find_helper):
5330 Check whether we have the requested data already in our list of
5331 cached buffers before pulling a new buffer; also make the buffer
5332 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
5334 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
5339 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
5340 don't use long long, it's not portable. Replacing with
5341 gint64 seems to work; let's hope no skeletons fall out of the closet.
5343 2005-10-10 Andy Wingo <wingo@pobox.com>
5345 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
5347 2005-10-09 Stefan Kost <ensonic@users.sf.net>
5349 * docs/gst/gstreamer-sections.txt:
5354 * gst/gstmessage.c: (gst_message_parse_state_changed):
5357 more docs, fix compilation
5359 2005-10-09 Philippe Khalaf <burger@speedy.org>
5361 Fixed a few forgotten variables on previous commit
5363 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
5365 * gst/base/gsttypefindhelper.c: (helper_find_peek):
5366 Fix evil typefind crasher: getrange() might return a short
5367 buffer at the end of a file, but gst_type_find_peek() must
5368 either return the full data as requested or NULL, but
5369 never a short buffer.
5371 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
5373 * gst/gstmessage.c: (gst_message_new_state_changed),
5374 (gst_message_parse_state_changed):
5376 don't use "new", it's a C++ keyword
5378 2005-10-08 Wim Taymans <wim@fluendo.com>
5380 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
5381 * gst/gstelement.c: (gst_element_post_message):
5382 * gst/gstpipeline.c: (gst_pipeline_change_state):
5383 Small docs and debug updates.
5385 2005-10-08 Stefan Kost <ensonic@users.sf.net>
5387 * docs/gst/gstreamer-sections.txt:
5388 * gst/gstelementfactory.c:
5393 2005-10-08 Wim Taymans <wim@fluendo.com>
5395 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
5396 (gst_bin_dispose), (bin_bus_handler):
5397 Fix typos, add comments.
5398 Clear EOS list when going to PAUSED from any direction and do it
5399 in a threadsafe way.
5400 Get base time in a threadsafe way too.
5401 Fix confusing debug in the change_state function.
5402 Various other small cleanups.
5404 * gst/gstelement.c: (gst_element_post_message):
5405 Fix very verbose bus posting code.
5407 * gst/gstpipeline.c: (gst_pipeline_class_init),
5408 (gst_pipeline_set_property), (gst_pipeline_get_property),
5409 (gst_pipeline_change_state):
5410 Small ARG_ -> PROP_ cleanup
5412 2005-10-08 Wim Taymans <wim@fluendo.com>
5414 * gst/gstbin.c: (is_eos), (bin_bus_handler):
5415 Do a less CPU demanding EOS check because we can.
5417 2005-10-08 Wim Taymans <wim@fluendo.com>
5419 * libs/gst/dataprotocol/dataprotocol.c:
5420 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
5421 (gst_dp_packet_from_event):
5422 * libs/gst/dataprotocol/dataprotocol.h:
5423 * libs/gst/dataprotocol/dp-private.h:
5424 It's about time we bump the version number.
5425 Since event types don't fit in the guint8 anymore describing
5426 the payload type, make payload type 16 bits wide.
5428 2005-10-08 Wim Taymans <wim@fluendo.com>
5430 * docs/design/part-TODO.txt:
5431 * docs/design/part-clocks.txt:
5432 * docs/design/part-events.txt:
5433 * docs/design/part-gstbin.txt:
5434 * docs/design/part-gstelement.txt:
5435 * docs/design/part-gstpipeline.txt:
5436 * docs/design/part-live-source.txt:
5437 * docs/design/part-messages.txt:
5438 * docs/design/part-overview.txt:
5439 * docs/design/part-states.txt:
5442 2005-10-08 Wim Taymans <wim@fluendo.com>
5446 Fix event quark registration.
5447 Add some space between events so we can insert them in the
5450 2005-10-08 Wim Taymans <wim@fluendo.com>
5452 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5453 (gst_base_sink_handle_buffer):
5460 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
5461 (gst_queue_set_property), (gst_queue_get_property):
5463 Remove old unused properties.
5465 2005-10-08 Stefan Kost <ensonic@users.sf.net>
5466 * docs/gst/gstreamer-sections.txt:
5469 * gst/gstminiobject.c:
5470 * gst/gstminiobject.h:
5474 lots of new docs and doc fixes
5476 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5478 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
5480 * gst/gstregistry.c: (gst_registry_lookup_locked),
5481 (gst_registry_scan_path_level):
5482 * gst/gstregistryxml.c: (load_plugin):
5483 Only ever load one plugin for a given plugin basename.
5484 This ensures correct overriding of GST_PLUGIN_PATH over
5485 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
5486 system installed plugins.
5488 2005-10-08 Wim Taymans <wim@fluendo.com>
5490 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5491 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
5492 Prepare for doing QOS.
5494 2005-10-08 Wim Taymans <wim@fluendo.com>
5496 * check/gst/gstbin.c: (GST_START_TEST):
5497 * check/pipelines/cleanup.c: (GST_START_TEST):
5498 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
5499 Allow new clock message too.
5501 2005-10-08 Wim Taymans <wim@fluendo.com>
5503 * gst/gstmessage.c: (gst_message_new_error),
5504 (gst_message_new_warning), (gst_message_new_tag),
5505 (gst_message_new_state_changed), (gst_message_new_clock_provide),
5506 (gst_message_new_clock_lost), (gst_message_new_new_clock),
5507 (gst_message_new_segment_start), (gst_message_new_segment_done),
5508 (gst_message_parse_state_changed),
5509 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
5510 (gst_message_parse_new_clock):
5512 Also carry the clock in question.
5514 2005-10-08 Wim Taymans <wim@fluendo.com>
5516 * gst/gstmessage.c: (gst_message_new_custom),
5517 (gst_message_new_eos), (gst_message_new_error),
5518 (gst_message_new_warning), (gst_message_new_tag),
5519 (gst_message_new_state_changed), (gst_message_new_clock_provide),
5520 (gst_message_new_new_clock), (gst_message_new_segment_start),
5521 (gst_message_new_segment_done), (gst_message_parse_state_changed),
5522 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
5525 Added clock related messages.
5527 * gst/gstpipeline.c: (gst_pipeline_change_state):
5528 Post message when the clock changed.
5530 * tools/gst-launch.c: (event_loop):
5533 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
5535 * tools/gst-inspect.c: (print_element_properties_info):
5536 Can't pass NULL strings to g_print() on windows.
5538 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5541 * docs/gst/Makefile.am:
5542 * docs/gst/gstreamer-docs.sgml:
5543 * docs/gst/running.xml:
5544 * docs/version.entities.in:
5545 add a chapter on running GStreamer.
5546 document GST_DEBUG and GST_PLUGIN* env vars
5548 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5553 remove PLUGINS_BUILDDIR stuff
5554 * gst/gst.c: (init_post):
5555 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
5557 remove, it was condescending and not needed
5559 2005-10-08 Wim Taymans <wim@fluendo.com>
5561 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
5562 (gst_base_sink_handle_object), (gst_base_sink_event),
5563 (gst_base_sink_wait), (gst_base_sink_handle_event),
5564 (gst_base_sink_change_state):
5565 * gst/base/gstbasesink.h:
5566 Repost EOS message while going to PLAYING if still EOS.
5567 Make sure that when receiving a FLUSH_START we don't attempt
5568 to sync on the clock anymore.
5570 2005-10-08 Wim Taymans <wim@fluendo.com>
5572 * tools/gst-launch.c: (event_loop):
5573 Better message printout.
5575 2005-10-08 Wim Taymans <wim@fluendo.com>
5577 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
5578 (gst_bin_child_proxy_get_children_count):
5579 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
5580 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
5581 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
5582 (gst_child_proxy_set_valist):
5583 * gst/parse/grammar.y:
5584 Make ChildProxy threadsafe and fix mem leaks.
5586 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5588 * gst/gst.c: (init_post):
5589 debug the GST_PLUGIN_ env vars
5591 2005-10-08 Wim Taymans <wim@fluendo.com>
5593 * check/gst/gstbin.c: (GST_START_TEST):
5594 * check/gst/gstmessage.c: (GST_START_TEST):
5595 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
5596 * gst/gstelement.c: (gst_element_commit_state),
5597 (gst_element_lost_state):
5598 * gst/gstmessage.c: (gst_message_new_state_changed),
5599 (gst_message_parse_state_changed):
5601 * tools/gst-launch.c: (event_loop):
5602 Added extra field to STATE_CHANGE message with the pending
5603 state, which will be different from the new state soon.
5605 2005-10-08 Wim Taymans <wim@fluendo.com>
5607 * gst/gstbus.c: (gst_bus_pop):
5609 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
5610 Small cleanups and doc updates.
5612 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
5614 * gst/gst.c: (init_pre):
5615 * gst/gstbin.c: (gst_bin_add_func):
5616 log distributing clocks and base time
5617 * gst/gstregistry.c: (gst_registry_add_plugin),
5618 (gst_registry_scan_path_level), (gst_registry_scan_path):
5619 clean up the debugging output a little
5620 * gst/gstutils.c: (gst_element_state_get_name):
5621 warn about a memleak (I've actually seen this be used, though
5622 it was probably a bug)
5624 2005-10-07 Wim Taymans <wim@fluendo.com>
5626 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5627 (gst_base_src_init), (gst_base_src_default_newsegment),
5628 (gst_base_src_newsegment), (gst_base_src_do_seek),
5629 (gst_base_src_loop), (gst_base_src_start):
5630 * gst/base/gstbasesrc.h:
5631 Make the newsegment event customizable by subclasses.
5633 2005-10-07 Wim Taymans <wim@fluendo.com>
5635 * gst/gstevent.c: (gst_event_new_buffersize),
5636 (gst_event_parse_buffersize):
5638 New event for future idea.
5640 2005-10-07 Andy Wingo <wingo@pobox.com>
5642 * gst/gstelement.c (gst_element_post_message): Doc update.
5644 * docs/gst/gstreamer-sections.txt: Update.
5646 * gst/gstmessage.c (gst_message_new_application): Made into a
5647 function like honest API calls.
5648 (gst_message_new_element): New message type.
5650 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
5652 * check/elements/fakesrc.c (test_no_preroll): New check, checks
5653 that setting a live fakesrc to PAUSED returns NO_PREROLL both
5656 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
5657 NO_PREROLL from gst_element_change_state to fall through.
5659 2005-10-07 Wim Taymans <wim@fluendo.com>
5661 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
5662 (gst_ghost_pad_do_activate_push):
5663 Activating a ghostpad with no internal pad in push mode
5666 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
5669 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
5670 Fixes compilation on Windows.
5672 2005-10-07 Michael Smith <msmith@fluendo.com>
5674 * tools/gst-inspect.c:
5675 Print out feature and plugin count at the end when printing out
5678 2005-10-04 Michael Smith <msmith@fluendo.com>
5680 * gst/gsterror.c: (_gst_stream_errors_init):
5681 Add another error string used in a few existing plugins.
5684 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5685 * tools/gst-inspect.c: (print_element_info):
5686 When a feature disappears from a plugin (and the feature exists in
5687 the cached registry file), things went horribly wrong. This isn't a
5688 complete fix, we should actually be removing the 'missing' features
5689 from the features list when we load the actual plugin. That's not
5692 2005-10-04 Johan Dahlin <johan@gnome.org>
5694 * check/gst/gstiterator.c: (GST_START_TEST):
5695 * gst/gstbin.c: (gst_bin_iterate_elements),
5696 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
5697 * gst/gstelement.c: (gst_element_iterate_pads):
5698 * gst/gstformat.c: (gst_format_iterate_definitions):
5699 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
5700 (gst_iterator_new_list), (gst_iterator_filter):
5701 * gst/gstiterator.h:
5702 * gst/gstquery.c: (gst_query_type_iterate_definitions):
5703 Add a GType to GstIterator, update callsites and tests.
5705 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5707 * gst/gstpad.c: (gst_pad_event_default_dispatch):
5708 give events a chance to be handled by event probes when the pad
5711 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5713 * gst/gstevent.c: (gst_event_type_get_name),
5714 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
5716 add string representations for event types
5718 2005-10-06 Wim Taymans <wim@fluendo.com>
5720 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
5721 Don't use NULL pointers.
5723 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5725 * gst/gst_private.h:
5729 * gst/gstpluginfeature.c:
5730 widen the debug category in output to fit the biggest one we have
5731 add a bus category and use it
5732 play with the colors
5733 fix up some categories
5735 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
5737 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
5738 add push activation of sink ghost pads.
5739 Andye, please verify
5741 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5743 * gst/gstutils.c: (gst_element_link_pads):
5744 fix a bug in the case where neither element has a pad
5745 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
5746 add a test for that case
5748 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
5750 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
5751 emit have-data before checking for peers. This allows
5752 for probe handlers to connect elements. This helps autopluggers.
5753 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
5755 add six checks, linked/unlinked with no/true/false probe
5757 2005-10-04 Wim Taymans <wim@fluendo.com>
5759 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
5760 (gst_fake_sink_event), (gst_fake_sink_preroll),
5761 (gst_fake_sink_render), (gst_fake_sink_change_state):
5762 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
5763 (gst_fake_src_get_property), (gst_fake_src_create),
5764 (gst_fake_src_stop):
5765 * gst/elements/gstidentity.c: (gst_identity_stop):
5766 Protect last_message with lock.
5768 2005-10-04 Edward Hervey <edward@fluendo.com>
5771 Added precision in the comments for GST_FORMAT_DEFAULT
5773 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
5775 * tools/gst-launch.c: (main):
5776 Don't try to run erroneous pipelines.
5778 2005-10-04 Julien MOUTTE <julien@moutte.net>
5780 * gst/gstbus.c: We don't need this header.
5782 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5787 === release 0.9.3 ===
5789 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
5793 Releasing 0.9.3, "Unregistered"
5795 2005-10-03 Andy Wingo <wingo@pobox.com>
5797 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
5798 whereby calling a pad's activatepush() function can start a thread
5799 that starts to push or pull before the pad gets the FLUSHING flag
5800 unset. Hack around it by holding the stream lock until the flag is
5801 set. Need to replace this with a proper solution. Together with
5802 the ghost pad fixes, this fixes mp3 playing/tagreading.
5804 * docs/design/part-gstghostpad.txt: Add a note about activation of
5805 proxy pads outside of ghost pads.
5807 * gst/gstghostpad.c: Implement the ghost pad activation design.
5809 2005-10-02 Andy Wingo <wingo@pobox.com>
5811 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
5812 It is volatile, after all.
5814 * docs/design/part-gstghostpad.txt: Flesh out activation with
5817 * gst/base/gstbasesrc.c (gst_base_src_init): Use
5820 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
5823 Fix (unused) AM_CONDITIONAL tests.
5825 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
5827 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5829 * gst/gstutils.c: (gst_pad_query_convert):
5830 Add assertion that makes sure src_val is >=0, just like
5831 gst_query_new_convert() has. (#315895)
5833 2005-09-30 Edward Hervey <edward@fluendo.com>
5835 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
5836 Let's not iterate pads we're not interested in, it avoids getting
5837 sky-high refcounts on sinkpad.
5839 2005-09-30 Wim Taymans <wim@fluendo.com>
5841 * gst/gstelement.c: (gst_element_set_state),
5842 (gst_element_change_state):
5843 Small tweak, element in ASYNC remains ASYNC.
5845 2005-09-30 Wim Taymans <wim@fluendo.com>
5847 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
5848 Only error is an error.
5850 * gst/gstbin.c: (gst_bin_change_state):
5853 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
5854 Also call pad_block in pad alloc.
5856 * gst/gstutils.c: (gst_flow_get_name):
5859 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5861 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
5862 (gst_base_src_get_range):
5863 Fix documentation typos. Add some more debug info.
5865 2005-09-29 David Schleef <ds@schleef.org>
5867 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
5868 more end-user friendly.
5869 * tools/gst-inspect.c: (main): Check if command-line argument is
5870 a file and attempt to load that file as a plugin.
5872 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5874 * check/gst/gstbin.c:
5875 * check/states/sinks.c:
5876 fix tests for the new warning
5877 * check/gst/gstpipeline.c:
5878 add a test for pipeline and bus interaction
5880 elements should be NULL if they get disposed; add a warning if not
5882 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5885 for 2.6 refcounting, make debug log more correct by printing
5886 the actual refcounts at the time of swap (Wim)
5888 2005-09-29 Andy Wingo <wingo@pobox.com>
5890 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
5891 removes signal watches previously added via
5892 gst_bus_add_signal_watch.
5893 (gst_bus_add_signal_watch): Don't return the source id, just store
5894 it on the bus if there wasn't an id already.
5896 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
5897 add_signal_watch and remove_signal_watch.
5899 2005-09-29 Edward Hervey <edward@fluendo.com>
5901 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
5902 Better if we actually iterate the list :)
5904 2005-09-29 Wim Taymans <wim@fluendo.com>
5906 * check/gst/gstbin.c: (GST_START_TEST):
5907 Change for new bus API.
5909 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
5910 (send_messages), (GST_START_TEST), (gstbus_suite):
5911 Change for new bus signal API.
5913 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
5914 (gst_bus_source_prepare), (gst_bus_source_check),
5915 (gst_bus_create_watch), (gst_bus_add_watch_full),
5916 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
5917 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
5919 Remove support for multiple GSources operating on different
5920 message types as it is too complex and unneeded when using
5922 Added support for receiving signals from the bus.
5924 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
5926 * docs/libs/tmpl/gstdataprotocol.sgml:
5927 * docs/manual/advanced-dataaccess.xml:
5928 * gst/elements/gstcapsfilter.c:
5930 rename filter-caps to caps property
5932 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5934 * gst/gstvalue.c: (gst_value_deserialize_fraction):
5935 More robust fraction string parsing.
5937 * docs/pwg/appendix-porting.xml:
5938 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
5940 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
5942 * gst/gstcaps.c: (gst_caps_do_simplify):
5943 Thou shalt not free a structure and then continue using it
5944 in the next loop iteration.
5946 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
5948 Add test case for caps simplification.
5950 2005-09-29 Wim Taymans <wim@fluendo.com>
5952 * check/gst/gstbin.c: (GST_START_TEST):
5955 2005-09-29 Wim Taymans <wim@fluendo.com>
5957 * check/gst/gstbin.c: (GST_START_TEST):
5960 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
5961 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
5962 (find_element), (gst_bin_sort_iterator_next),
5963 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
5964 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
5965 (gst_bin_change_state), (gst_bin_dispose):
5966 A bin does not have a bus, it gets the bus from the parent.
5968 * gst/gstelement.c: (gst_element_requires_clock),
5969 (gst_element_provides_clock), (gst_element_is_indexable),
5970 (gst_element_is_locked_state), (gst_element_change_state),
5971 (gst_element_set_bus_func):
5974 * gst/gstpipeline.c: (gst_pipeline_class_init),
5975 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
5976 The pipeline provides a bus.
5978 2005-09-28 Johan Dahlin <johan@gnome.org>
5980 * gst/gstmessage.c (gst_message_parse_state_changed): Use
5981 gst_structure_get_enum instead of gst_structure_get_int
5983 * gst/gststructure.c (gst_structure_get_enum): Impl.
5985 * gst/gststructure.h (gst_structure_get_enum): Add
5987 * docs/gst/gstreamer-sections.txt: Ditto
5989 * gst/gstmessage.c (gst_message_new_state_changed): Use
5990 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
5991 which does introspection.
5992 Reviewed by Christian Schaller
5994 2005-09-28 Stefan Kost <ensonic@users.sf.net>
5996 * gst/gstinfo.c: (gst_debug_log_default):
5997 don't do dummy g_strdup()s
5998 * libs/gst/controller/gstcontroller.c:
5999 (on_object_controlled_property_changed),
6000 (gst_controlled_property_new), (gst_controller_new_valist),
6001 (gst_controller_new_list),
6002 (gst_controller_remove_properties_valist), (gst_controller_set),
6003 (gst_controller_get), (gst_controller_sync_values),
6004 (gst_controller_get_value_array), (_gst_controller_class_init),
6005 (gst_controller_get_type):
6006 * libs/gst/controller/gstcontroller.h:
6007 * libs/gst/controller/gstinterpolation.c:
6008 (gst_controlled_property_find_timed_value_node):
6009 convert // to /**/ comments
6011 2005-09-28 Wim Taymans <wim@fluendo.com>
6013 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
6014 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
6015 (gst_bus_sync_signal_handler):
6017 Added async-message and sync-message signals to the bus.
6018 Added helper BusFunc to emit signals for all posted messages.
6020 * gst/gstmessage.c: (gst_message_type_get_name),
6021 (gst_message_type_to_quark), (gst_message_get_type):
6023 Register quarks for message names.
6025 2005-09-28 Stefan Kost <ensonic@users.sf.net>
6027 * docs/libs/gstreamer-libs-sections.txt:
6028 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6029 (gst_controller_new_list):
6030 * libs/gst/controller/gstcontroller.h:
6031 added another constructor for language bindings
6033 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
6035 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
6039 * gst/gstinfo.c: (_gst_debug_init):
6040 slightly more readable color for refcount debugging
6042 2005-09-28 Wim Taymans <wim@fluendo.com>
6044 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
6045 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
6046 (find_element), (gst_bin_sort_iterator_next),
6047 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
6048 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
6049 (gst_bin_change_state), (gst_bin_dispose):
6050 Small doc fixes. get_clock -> provide_clock.
6052 * gst/gstelement.c: (gst_element_class_init),
6053 (gst_element_provides_clock), (gst_element_provide_clock),
6054 (gst_element_get_clock), (gst_element_commit_state),
6055 (gst_element_lost_state):
6057 Make get/set_clock() symetric. Add provide_clock vmethod since
6058 that is actually what this function does.
6060 * gst/gstpipeline.c: (gst_pipeline_class_init),
6061 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
6062 (gst_pipeline_get_clock):
6063 get_clock -> provide_clock.
6065 2005-09-28 Andy Wingo <wingo@pobox.com>
6067 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
6068 lieu of real docs...
6070 * gst/elements/gstfdsrc.c: Cleaned up a bit.
6072 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
6074 * gst/elements/gstcapsfilter.c:
6075 * gst/elements/gstfakesink.c:
6076 * gst/elements/gstfakesrc.c:
6077 * gst/elements/gstfdsink.c:
6078 * gst/elements/gstfdsrc.c:
6079 * gst/elements/gstfilesink.c:
6080 * gst/elements/gstfilesrc.c:
6081 * gst/elements/gstidentity.c:
6082 * gst/elements/gsttee.c:
6083 * gst/elements/gsttypefindelement.c:
6084 Make element details static.
6086 2005-09-28 Wim Taymans <wim@fluendo.com>
6088 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
6089 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
6090 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
6091 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
6092 (gst_bin_change_state), (gst_bin_dispose):
6093 Some documentation updates.
6094 Clean up dispose handlers.
6096 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
6097 * gst/gstpad.c: (gst_pad_dispose):
6098 Clean up dispose handler.
6100 * gst/gstpipeline.c: (gst_pipeline_change_state):
6101 Removed spurious UNLOCK.
6103 2005-09-27 Stefan Kost <ensonic@users.sf.net>
6105 * docs/gst/gstreamer-sections.txt:
6106 * gst/base/gstbasesrc.h:
6111 * gst/gstpipeline.c:
6112 * gst/gstpipeline.h:
6115 added two new functions to the docs
6116 documents all undocumented GstXXXFlags
6117 completed some incomplete docs
6119 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
6121 * gst/gstbin.c: (gst_bin_dispose):
6122 * gst/gstelement.c: (gst_element_dispose):
6123 remove now useless and leaky resurrection code in dispose
6124 * gst/base/gstbasesrc.c: (gst_base_src_init):
6125 * gst/gstelementfactory.c: (gst_element_factory_create):
6126 * gst/gstobject.c: (gst_object_set_parent):
6129 2005-09-27 Wim Taymans <wim@fluendo.com>
6131 * docs/design/part-TODO.txt:
6134 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
6135 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
6136 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
6137 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
6138 (gst_bin_change_state):
6140 Remove element variable, we keep element info in the iterator now.
6142 2005-09-27 Andy Wingo <wingo@pobox.com>
6144 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
6147 2005-09-27 Wim Taymans <wim@fluendo.com>
6149 * check/gst/gstbin.c: (GST_START_TEST):
6150 Enable check that works now.
6152 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
6153 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
6154 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
6155 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
6156 (gst_bin_change_state):
6158 Redid the state change algorithm using a topological sort algo.
6159 Handles all cases correctly.
6160 Exposed iterator for state change order.
6163 Temp storage for state changes. Need to get rid of this soon.
6165 2005-09-27 Wim Taymans <wim@fluendo.com>
6167 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
6168 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
6169 (link_fold_func), (gst_pad_proxy_setcaps):
6170 Leak fixes, the fold functions need to unref the passed object and
6171 _get_parent_*() returns ref to parent.
6173 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
6175 * check/gst/gstbuffer.c: (test_make_writable):
6176 Plug leak in test case and fix 'make check-valgrind'
6178 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
6180 * gst/gstbuffer.c: (gst_subbuffer_init):
6181 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
6182 works correctly in all circumstances (we could have just copied
6183 the parent buffer's readonly flag, but conceptually it seems
6184 cleaner to mark all subbuffers as read-only). (based on patch
6185 by Alessandro Decina, #314710).
6187 * check/gst/gstbuffer.c: (create_read_only_buffer),
6188 (test_make_writable), (test_subbuffer_make_writable),
6190 Add some tests for gst_buffer_make_writable().
6192 2005-09-27 Wim Taymans <wim@fluendo.com>
6194 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
6195 use gst_object_has_ancestor().
6197 * gst/gstobject.c: (gst_object_has_ancestor):
6199 gst_object_has_ancestor() copied from gstbin.c as it is a
6202 * tests/instantiate/create.c: (create_all_elements):
6203 * tests/lat.c: (handoff_src), (handoff_sink):
6204 * tests/sched/runxml.c: (main):
6205 * tests/seeking/seeking1.c: (main):
6206 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
6208 Fix compilation of some tests.
6210 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
6213 Remove comment. GST_TYPE_G_ERROR is here to stay,
6214 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
6217 2005-09-26 Wim Taymans <wim@fluendo.com>
6219 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
6220 Added check that shows error in state change order.
6222 2005-09-26 Wim Taymans <wim@fluendo.com>
6224 * gst/gstbin.c: (gst_bin_change_state):
6225 Make state change function use 3 queues again, we were
6226 adding elements in the wrong order.
6228 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
6231 * gst/gstpad.c: (gst_pad_dispose):
6232 Added some debug info first.
6234 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
6236 * docs/design/draft-push-pull.txt:
6237 * docs/design/part-events.txt:
6238 * docs/design/part-overview.txt:
6239 * docs/design/part-scheduling.txt:
6240 Replace all _pull_region() with _pull_range()
6242 2005-09-26 Andy Wingo <wingo@pobox.com>
6244 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
6246 * check/gst-libs/controller.c: Update for controller api change.
6249 * tests/Makefile.am:
6250 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
6251 over by GLib bug 118439.
6253 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
6254 routines to a function.
6256 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
6258 * libs/gst/controller/gsthelper.c:
6259 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
6260 (gst_object_sync_values): Renamed from sink_values. Ugh.
6262 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
6264 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
6265 Renamed from controller_key, as it is exported.
6267 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
6269 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
6274 * gst/gstpadtemplate.h:
6277 * gst/gstqueryutils.c:
6278 * gst/gstqueryutils.h:
6279 remove queryutils headers after moving the two used functions
6280 to gstquery. also fixes build problem for gstsiddec
6282 2005-09-26 Michael Smith <msmith@fluendo.com>
6284 * tools/gst-launch.1.in:
6285 Correct documentation in manpage of debug syntax
6287 2005-09-26 Wim Taymans <wim@fluendo.com>
6289 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
6290 (gst_base_src_is_seekable), (gst_base_src_change_state):
6291 Some more debugging info.
6293 2005-09-25 Stefan Kost <ensonic@users.sf.net>
6295 * docs/gst/gstreamer-sections.txt:
6296 * gst/base/gstbasetransform.h:
6300 2005-09-25 Stefan Kost <ensonic@users.sf.net>
6302 * docs/gst/.cvsignore:
6303 * docs/gst/tmpl/.cvsignore:
6304 * docs/gst/tmpl/gstpipeline.sgml:
6305 * docs/gst/tmpl/gstplugin.sgml:
6306 * gst/gstpipeline.c:
6309 inlined the last two docs files
6310 removed the tmpl directory from cvs (no more conflicts here!)
6312 2005-09-25 Stefan Kost <ensonic@users.sf.net>
6314 * docs/gst/gstreamer-sections.txt:
6315 * docs/gst/tmpl/.cvsignore:
6316 * docs/gst/tmpl/gstpad.sgml:
6317 * docs/gst/tmpl/gstpadtemplate.sgml:
6319 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
6320 (gst_pad_finalize), (gst_pad_set_pad_template):
6322 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
6323 (gst_pad_template_class_init), (gst_pad_template_init),
6324 (gst_pad_template_dispose), (name_is_valid),
6325 (gst_static_pad_template_get), (gst_pad_template_new),
6326 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
6327 (gst_pad_template_pad_created):
6328 * gst/gstpadtemplate.h:
6329 inlined two more docs
6330 factored gstpadtemplate out of gstpad
6332 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
6334 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
6335 (test_children_state_change_order_semi_sink):
6336 Fix test case: we can't rely on a fixed state change order when
6337 going from READY => PAUSED because the sink might commit its
6338 new state first when the first buffer created by the source
6339 reaches the sink before the source has finished its change state.
6340 (Test case still fails at times, see #316856, comment 5 onwards)
6342 2005-09-24 Wim Taymans <wim@fluendo.com>
6344 * docs/design/part-events.txt:
6345 * docs/design/part-gstbus.txt:
6346 * docs/design/part-gstpipeline.txt:
6347 * docs/design/part-messages.txt:
6348 * docs/design/part-overview.txt:
6349 * docs/design/part-segments.txt:
6356 * gst/gstiterator.c:
6357 Various documentation updates.
6359 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
6362 Well, that's embarassing. Luckily we weren't using
6363 GST_CLOCK_DIFF anywhere.
6365 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
6367 * common/gtk-doc.mak:
6368 don't fail on building XML, FC4 slave shows a bunch of doc
6369 missing bits that I don't get
6371 * gst/gstpipeline.c:
6372 * gst/gststructure.c:
6375 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
6377 * docs/design/part-gstbin.txt:
6378 * docs/design/part-gstbus.txt:
6380 Add blurb about how the bus goes into flushing mode and
6381 drops all messages when its bin goes from READY into NULL
6384 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
6386 * docs/gst/gstreamer-sections.txt:
6387 * gst/gststructure.c: (gst_structure_get_clock_time):
6388 * gst/gststructure.h:
6389 add a method to get a GstClockTime out of a structure
6391 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
6393 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
6394 (test_children_state_change_order_semi_sink), (gst_bin_suite):
6395 Added test to check state change order in bins (can still be made
6396 to fail here under heavy disk load; bails out with 'Push on pad
6397 fakesink:sink0, but it was not activated in push mode').
6399 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
6400 Fix state change order when there is only a semi sink (#316856)
6402 * gst/gstbus.c: (gst_bus_class_init):
6403 Use _class_peek_parent(), not _class_ref(); fix docs to say
6404 'default main context' instead of 'mainloop' where that is
6407 * gst/gstelement.c: (gst_element_commit_state),
6408 (gst_element_set_state):
6409 Fix typos in debug messages
6411 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
6414 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
6415 * gst/gstpluginfeature.c:
6418 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6419 change an assert into an error until it gets fixed properly
6421 2005-09-23 Stefan Kost <ensonic@users.sf.net>
6423 * docs/gst/gstreamer-sections.txt:
6424 * docs/gst/tmpl/.cvsignore:
6425 * docs/gst/tmpl/gstelement.sgml:
6426 * docs/gst/tmpl/gstinfo.sgml:
6427 * docs/gst/tmpl/gstobject.sgml:
6432 * gst/gstobject.c: (gst_object_class_init):
6434 inlined 3 more biiiig doc files and added some missing docs on the fly
6436 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
6438 * check/gst/.cvsignore:
6439 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
6440 * gst/gstregistryxml.c: (load_plugin),
6441 (gst_registry_xml_save_plugin):
6442 put back source in registry. add checks for find_plugin.
6443 * testsuite/states/bin.c: (assert_state), (empty_bin),
6444 (test_adding_one_element), (main):
6445 * testsuite/states/locked.c: (main):
6446 some compile/run fixes
6448 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
6450 * check/gst/gstvalue.c: (GST_START_TEST):
6451 fix leaks in the test itself
6453 2005-09-22 Wim Taymans <wim@fluendo.com>
6455 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6456 (gst_base_sink_send_event), (gst_base_sink_peer_query),
6457 (gst_base_sink_query):
6458 Prepare for more accurate position reporting and query
6461 * gst/gstelement.c: (gst_element_send_event),
6462 (gst_element_set_state):
6465 2005-09-22 Wim Taymans <wim@fluendo.com>
6467 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
6468 (gst_query_parse_segment):
6471 Add segment query for future use.
6473 2005-09-22 Wim Taymans <wim@fluendo.com>
6475 * gst/gstbin.c: (gst_bin_add_func):
6476 Some more debug info.
6478 * gst/gstelement.c: (gst_element_send_event):
6482 Don't know how flags got broken.
6487 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
6489 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
6490 Add simplistic test suite for GST_TYPE_DATE serialisation and
6493 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
6495 * docs/gst/gstreamer-sections.txt:
6496 * gst/gststructure.c: (gst_structure_set_valist),
6497 (gst_structure_get_date):
6498 * gst/gststructure.h:
6499 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
6500 (gst_date_copy), (gst_value_compare_date),
6501 (gst_value_serialize_date), (gst_value_deserialize_date),
6502 (gst_value_transform_date_string),
6503 (gst_value_transform_string_date), (_gst_value_initialize):
6505 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
6506 bunch of utility functions along with a hack that checks that
6507 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
6508 is required. Part of the grand scheme in #170777.
6510 2005-09-22 Andy Wingo <wingo@pobox.com>
6512 * gst/gstconfig.h.in: Psych out gtk-doc.
6514 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
6516 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
6518 * tools/gst-inspect.c (print_element_list): Plug some
6519 inconsequential leaks.
6521 * gst/gstregistry.c (gst_registry_get_default): Doc.
6523 * check/gst/gstplugin.c:
6524 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
6525 * gst/gstelementfactory.c (gst_element_factory_create):
6526 * gst/gstindexfactory.c (gst_index_factory_create): Update for
6529 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
6530 (gst_plugin_feature_load): Doc, don't eat refs.
6532 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
6533 (gst_plugin_list_free): Doc.
6534 (gst_plugin_load_file): Doc updates.
6536 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
6537 accessors returning refcounted objects, return a ref.
6539 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
6540 accessor for caps. IDEMPOTENCE. Oh yes.
6542 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
6544 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6546 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
6547 (_gst_debug_register_funcptr):
6548 Add mutex to serialise access to the hash table with
6549 the function pointer => function name string mapping;
6550 make that hash table static scope (#316809).
6552 * gst/registries/.cvsignore:
6553 Remove left-over file.
6555 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
6557 * docs/pwg/appendix-porting.xml:
6558 And something about newsegment events and caps-on-buffers to
6559 the porting guide (feel free to improve).
6561 2005-09-21 Andy Wingo <wingo@pobox.com>
6563 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
6564 data and event probes on the same pad.
6565 (test_buffer_probe_once): Test that removing probes from within
6566 the probe functions works.
6568 2005-09-21 Andy Wingo <wingo@pobox.com>
6570 * check/gst/gstutils.c: New file.
6571 (test_buffer_probe_n_times): A simple buffer probe test. More to
6574 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
6575 have-data::buffer, not have-data.
6576 (gst_pad_add_event_probe): Likewise for have-data::event.
6577 (gst_pad_add_data_probe): More docs. The part about 'resolving the
6578 peer' isn't quite right yet though.
6579 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
6580 (gst_pad_remove_data_probe): Change to take the guint handler_id
6581 as their arg, not the function+data, which is more glib-like.
6583 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
6584 the signal emission to indicate if the data is a buffer or an
6586 (gst_pad_get_type): Initialize buffer and event quarks.
6587 (gst_pad_class_init): have-data is now a detailed signal, yes it
6590 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
6592 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
6593 * gst/gstutils.c: (gst_util_set_value_from_string),
6594 (gst_util_set_object_arg):
6595 Don't put functional code in g_return_if_fail() or
6596 g_return_val_if_fail() statements, otherwise things will
6597 break when G_DISABLE_CHECKS is defined during compilation.
6599 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6601 * docs/gst/tmpl/.cvsignore:
6602 * docs/gst/tmpl/gstvalue.sgml:
6605 inlied another one and added some obvious docs
6607 2005-09-21 Wim Taymans <wim@fluendo.com>
6609 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
6610 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
6611 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
6612 (gst_fdsrc_get_property), (gst_fdsrc_create):
6613 * gst/elements/gstfdsrc.h:
6614 Properly implement fdsrc. Removed signal and timeout,
6615 better implemented somewhere else.
6617 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6619 * docs/gst/tmpl/.cvsignore:
6620 * docs/gst/tmpl/gstimplementsinterface.sgml:
6621 * gst/gstinterface.c:
6624 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6626 * docs/gst/gstreamer-sections.txt:
6627 * docs/gst/tmpl/.cvsignore:
6628 * docs/gst/tmpl/gstenumtypes.sgml:
6629 remove obsolete doc file
6631 2005-09-21 David Schleef <ds@schleef.org>
6633 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
6634 little beer, fix a little leak.
6636 2005-09-21 Stefan Kost <ensonic@users.sf.net>
6638 * docs/gst/gstreamer-docs.sgml:
6639 * docs/gst/gstreamer-sections.txt:
6640 * docs/gst/tmpl/.cvsignore:
6645 * gst/gstindex.c: (gst_index_class_init):
6647 * gst/gstindexfactory.c: (gst_index_factory_get_type),
6648 (gst_index_factory_class_init), (gst_index_factory_init),
6649 (gst_index_factory_finalize), (gst_index_factory_new),
6650 (gst_index_factory_destroy), (gst_index_factory_find),
6651 (gst_index_factory_create), (gst_index_factory_make):
6652 * gst/gstindexfactory.h:
6653 * gst/gstpluginfeature.c:
6654 * gst/gstpluginfeature.h:
6655 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6656 more docs inlined, splitted gstindex.{c,h}
6658 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6660 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6663 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6665 * gst/elements/gstfilesink.c: (gst_file_sink_init):
6666 Set sync to FALSE by default.
6668 2005-09-20 Wim Taymans <wim@fluendo.com>
6670 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6671 (gst_base_sink_init):
6672 Make sync property settable from subclass.
6674 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
6675 (gst_fake_sink_change_state):
6676 Set sync to FALSE by default.
6678 2005-09-20 Wim Taymans <wim@fluendo.com>
6680 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
6681 * tools/gst-launch.c: (main):
6682 The timeout handler should have lower priority than the source
6683 so we don't timeout before popping a message with 0 timeout.
6684 Dump error messages after failed state change.
6686 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
6688 * tools/gst-inspect.c: (print_element_properties_info):
6691 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6693 * check/gst/gstevent.c:
6694 * gst/elements/gstfakesink.c:
6695 * gst/elements/gstfakesink.h:
6696 remove the sync property from fakesink.
6697 has the side effect of setting sync TRUE
6698 for fakesink, which is a change. Anyone who knows how
6699 to fix this nicely in a GObject-y way, feel free.
6701 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6703 * docs/gst/gstreamer-docs.sgml:
6704 remove probe refsection
6706 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6708 * check/Makefile.am:
6709 disable valgrinding the controller test again
6710 * docs/gst/gstreamer-sections.txt:
6711 update for api-changes
6713 2005-09-20 Wim Taymans <wim@fluendo.com>
6715 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6716 (gst_base_sink_set_property), (gst_base_sink_get_property),
6717 (gst_base_sink_do_sync):
6718 * gst/base/gstbasesink.h:
6719 Added sync property to basesink to disable clock sync.
6721 2005-09-20 Andy Wingo <wingo@pobox.com>
6723 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
6724 eating the caller's refcount.
6726 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
6727 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
6730 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
6731 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
6732 of GLib 2.8 public, so we can know which refcount to check in
6735 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
6736 (gst_object_init): Only set the gst refcount if we're going ahead
6737 with the refcount hack.
6739 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6741 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6742 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
6743 more leaks plumbed, added more debug-logging
6747 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6750 remove include of gstmemchunk.h
6752 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6754 * gst/gstclock.c: (_gst_clock_id_free):
6755 Commit from the Political Party For More Atomic CVS Commits,
6756 so that people don't waste too much of their day fishing
6757 out obvious leaks out of massive commits.
6758 Oh, and fix a pretty damn obvious leak in the memchunk
6761 2005-09-20 Stefan Kost <ensonic@users.sf.net>
6763 * check/Makefile.am:
6764 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
6765 plug mem-leak, re-add to valgrindable tests
6767 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
6770 unbreak the build for those who have chronic arthritis
6771 and typing "make check" is just too taxing on the hands
6773 2005-09-20 Andy Wingo <wingo@pobox.com>
6775 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
6776 really want it out, you should fix plugins at the same time.
6778 2005-09-19 Stefan Kost <ensonic@users.sf.net>
6781 * docs/gst/gstreamer-sections.txt:
6783 added missing symbols to api docs
6784 disable ref-count hack if we have glib >= 2.8
6786 2005-09-19 David Schleef <ds@schleef.org>
6788 * docs/gst/Makefile.am: Ignore a few more internal headers
6789 * docs/gst/gstreamer-docs.sgml: Remove old sections
6790 * docs/gst/gstreamer-sections.txt: Remove old sections
6791 * docs/gst/tmpl/gstobject.sgml: update
6792 * docs/gst/tmpl/gstplugin.sgml: update
6793 * docs/gst/tmpl/gstpluginfeature.sgml: update
6794 * docs/random/ds/0.9-suggested-changes: update.
6795 * gst/Makefile.am: remove memchunk and trashstack, since they're
6797 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
6798 * gst/gst.h: don't include some headers
6799 * gst/gstchildproxy.c: add gstmarshal.h
6800 * gst/gstclock.c: Don't use memchunks
6801 * gst/gstminiobject.c: Add some docs
6802 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
6803 * gst/gstobject.h: same
6804 * gst/gstplugin.c: include gstmacros.h
6805 * gst/gstplugin.h: don't include gstmacros.h, since it's private
6806 * gst/gstquery.c: don't use memchunks
6807 * gst/gstregistry.c: rename gst_registry_deinit()
6808 * gst/gstregistry.h: same
6810 2005-09-19 David Schleef <ds@schleef.org>
6812 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
6813 * docs/libs/gstreamer-libs-sections.txt:
6814 * docs/libs/tmpl/gstgetbits.sgml:
6815 * docs/libs/tmpl/gstputbits.sgml:
6817 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
6819 * win32/gstenumtypes.c:
6820 * win32/gstenumtypes.h:
6823 2005-09-19 Wim Taymans <wim@fluendo.com>
6825 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
6826 Automatically PAUSE and RESUME a pipeline when a flushing seek
6829 2005-09-19 Andy Wingo <wingo@pobox.com>
6831 * gst/gstregistry.h: Spacing fixen.
6833 2005-09-19 Wim Taymans <wim@fluendo.com>
6835 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
6836 Handle state change failure more correctly.
6838 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6840 * check/Makefile.am:
6841 * check/pipelines/cleanup.c: (run_pipeline):
6842 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6844 enable cleanup again after fixing the leak
6846 some more info on docs
6848 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6850 * check/Makefile.am:
6851 re-enable tests now that leaks are plugged
6853 * check/gst/gstbin.c:
6854 * check/gst/gstpipeline.c:
6855 add some more tests while fixing leaks
6857 make sure binaries are uptodate when valgrinding/gdbing
6859 * gst/gstelementfactory.c:
6860 remove a ref too many, and add a FIXME for when we get
6861 round to disposing of classes
6863 fix the refcounting when loading a plugin from a file and
6864 the code pretends that the pointer is the same even though
6865 of course it can change
6866 * gst/gstpluginfeature.c:
6867 unref plugins marked cached (a bit confusing as a name)
6868 as the docs state should be done
6869 various doc additions to explain refcounting
6870 * gst/gstregistry.c:
6871 * gst/gstregistryxml.c:
6874 2005-09-19 Wim Taymans <wim@fluendo.com>
6876 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
6877 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
6878 (send_messages), (GST_START_TEST), (gstbus_suite):
6879 * check/gst/gstpipeline.c: (GST_START_TEST):
6880 * check/pipelines/cleanup.c: (run_pipeline):
6881 * check/pipelines/simple_launch_lines.c: (run_pipeline),
6883 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
6884 (gst_bus_source_check), (gst_bus_source_dispatch),
6885 (gst_bus_create_watch), (gst_bus_add_watch_full),
6886 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
6888 * tools/gst-launch.c: (event_loop):
6889 * tools/gst-md5sum.c: (event_loop):
6890 GstBusHandler -> GstBusFunc, return value has the same meaning as
6891 any other GSource (FALSE == remove source).
6892 _add_watch() and _add_watch_full() now take a MessageType mask to
6893 only handle specific types of messages.
6894 _poll() returns the GstMessage instead of the message type to avoid
6896 _have_pending() takes a MessageType mask now too.
6897 Added testsuite for multiple bus watches.
6898 Fix testsuites and applications for new bus API.
6900 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
6902 * check/Makefile.am:
6903 mark a bunch of the tests as to fix until we fix them
6905 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6908 use GST_PLUGIN settings for valgrind tests as well, so we're
6909 valgrinding the correct thing
6910 * gst/gst.c: (init_post):
6913 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6915 * gst/gst.c: (init_post), (gst_deinit):
6916 * gst/gstelementfactory.c: (gst_element_factory_class_init),
6917 (gst_element_factory_finalize), (gst_element_factory_cleanup):
6918 * gst/gstindex.c: (gst_index_factory_class_init),
6919 (gst_index_factory_finalize):
6920 * gst/gstobject.c: (gst_object_dispose):
6921 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
6922 (gst_plugin_load_file), (gst_plugin_desc_free):
6923 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
6924 (gst_plugin_feature_finalize):
6925 * gst/gstregistry.c: (gst_registry_class_init),
6926 (gst_registry_init), (gst_registry_finalize),
6927 (gst_registry_get_default), (gst_registry_deinit):
6928 * gst/gstregistry.h:
6929 * gst/gstregistryxml.c: (load_feature), (load_plugin):
6930 various cleanups and memleak plugging. make valgrind is happy now.
6932 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
6935 add a check-valgrind target
6937 2005-09-18 David Schleef <ds@schleef.org>
6939 * tools/gst-inspect.c: Revert the GOption code.
6941 2005-09-17 David Schleef <ds@schleef.org>
6943 * check/Makefile.am: Fix environment variables.
6944 * check/gst/gstplugin.c: Fix for API changes.
6945 * tools/gst-inspect.c: Fix for API changes.
6946 * tools/gst-xmlinspect.c: Fix for API changes.
6947 * gst/gstelementfactory.c:
6950 * gst/gstpluginfeature.c:
6951 * gst/gstpluginfeature.h:
6952 * gst/gstregistry.c:
6953 * gst/gstregistry.h:
6954 * gst/gstregistryxml.c:
6955 * gst/gsttypefind.c:
6956 * gst/gsttypefindfactory.c:
6957 * gst/indexers/gstfileindex.c:
6958 * gst/indexers/gstmemindex.c:
6959 * gst/schedulers/Makefile.am:
6960 Change registry to keep track of both plugins and features,
6961 removing the feature tracking from plugins themselves.
6963 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6965 * check/Makefile.am:
6966 * tools/gst-register.1.in:
6969 2005-09-15 David Schleef <ds@schleef.org>
6971 * check/gst/gstplugin.c:
6972 * gst/gstelementfactory.c:
6974 * gst/gstpluginfeature.c:
6975 * gst/gstregistry.c:
6976 Getting tired of debugging. Disabled all the unreffing of
6977 plugins and features, which fixes the segfaults, but of
6978 course leaks like crazy. At least playbin works.
6980 2005-09-15 David Schleef <ds@schleef.org>
6982 * check/gst/gstplugin.c: (register_check_elements),
6983 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
6985 * gst/elements/gsttypefindelement.c: Fix refcounting.
6986 * gst/gsttypefind.c:
6987 * gst/gsttypefindfactory.c:
6988 * gst/gsttypefindfactory.h:
6990 2005-09-15 David Schleef <ds@schleef.org>
6992 * gst/gstindex.c: get refcounting correct.
6993 * gst/gstregistry.c: Handle the case where a feature/plugin is
6996 2005-09-15 David Schleef <ds@schleef.org>
6998 * check/Makefile.am:
6999 * check/gst/gstplugin.c: Add test
7000 * gst/gstplugin.c: Fix problems noticed by testsuite
7002 * gst/gstregistry.c:
7003 * gst/gstregistry.h:
7005 2005-09-15 David Schleef <ds@schleef.org>
7007 * gst/gstplugin.c: Implement semi-decent recounting and locking
7008 in plugins and plugin features.
7010 * gst/gstpluginfeature.c:
7011 * gst/gstpluginfeature.h:
7012 * gst/gstregistry.c:
7014 2005-09-15 Michael Smith <msmith@fluendo.com>
7016 * gst/gstregistry.c: (gst_registry_get_feature_list):
7017 Implement this. Makes oggdemux work; decodebin still broken.
7019 2005-09-14 David Schleef <ds@schleef.org>
7021 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
7023 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
7024 * gst/check/Makefile.am:
7025 * libs/gst/controller/Makefile.am:
7026 * libs/gst/dataprotocol/Makefile.am:
7028 2005-09-14 David Schleef <ds@schleef.org>
7030 * configure.ac: Remove getbits library. Nothing uses it, and
7031 it should be in something like liboil if someone did want
7033 * libs/gst/Makefile.am:
7034 * libs/gst/getbits/Makefile.am:
7035 * libs/gst/getbits/gbtest.c:
7036 * libs/gst/getbits/getbits.c:
7037 * libs/gst/getbits/getbits.h:
7038 * libs/gst/getbits/gstgetbits_generic.c:
7039 * libs/gst/getbits/gstgetbits_i386.s:
7040 * libs/gst/getbits/gstgetbits_inl.h:
7042 2005-09-14 David Schleef <ds@schleef.org>
7044 * gst/Makefile.am: Dist glib-compat.h
7046 2005-09-14 David Schleef <ds@schleef.org>
7048 * configure.ac: Remove gst/registries, since it's no longer used.
7049 * gst/registries/Makefile.am:
7050 * gst/registries/gstlibxmlregistry.c:
7051 * gst/registries/gstlibxmlregistry.h:
7052 * gst/registries/gstxmlregistry.c:
7053 * gst/registries/gstxmlregistry.h:
7054 * gst/registries/registrytest.c:
7056 2005-09-14 David Schleef <ds@schleef.org>
7058 * gst/glib-compat.h:
7059 * gst/gstregistryxml.c:
7060 Convergence is near. Seriously.
7062 2005-09-14 David Schleef <ds@schleef.org>
7064 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
7065 * gst/glib-compat.h:
7066 Attempt #4 to appease the buildbots.
7068 2005-09-14 David Schleef <ds@schleef.org>
7070 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
7073 2005-09-14 David Schleef <ds@schleef.org>
7075 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
7078 2005-09-14 David Schleef <ds@schleef.org>
7080 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
7083 2005-09-14 David Schleef <ds@schleef.org>
7085 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
7086 * gst/glib-compat.h: Add some functions that are in newer versions
7087 of glib than we care to require.
7088 * gst/gstregistryxml.c: Use them.
7090 2005-09-14 David Schleef <ds@schleef.org>
7092 * po/POTFILES.in: remove gst-register.c
7094 2005-09-14 David Schleef <ds@schleef.org>
7096 * docs/gst/gstreamer-docs.sgml:
7097 * docs/gst/gstreamer-sections.txt:
7098 * docs/gst/gstreamer.types:
7099 * docs/gst/tmpl/gstelement.sgml:
7100 * docs/gst/tmpl/gstplugin.sgml:
7101 * docs/gst/tmpl/gstpluginfeature.sgml:
7102 Documentation updates for registry changes.
7104 2005-09-14 David Schleef <ds@schleef.org>
7106 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
7107 because we don't require glib-2.8.
7109 2005-09-14 David Schleef <ds@schleef.org>
7111 * gst/gstregistryxml.c: Added. Essentially moved out of the
7112 registries directory.
7114 2005-09-14 David Schleef <ds@schleef.org>
7116 * check/Makefile.am:
7117 * check/generic/states.c:
7121 * gst/gst_private.h:
7122 * gst/gstelementfactory.c:
7127 * gst/gstpluginfeature.c:
7128 * gst/gstpluginfeature.h:
7129 * gst/gstregistry.c:
7130 * gst/gstregistry.h:
7131 * gst/gstregistrypool.c: remove
7132 * gst/gstregistrypool.h: remove
7133 * gst/gsttypefind.c:
7134 * gst/gsttypefindfactory.c:
7136 * tools/Makefile.am:
7137 * tools/gst-compprep.c:
7138 * tools/gst-inspect.c:
7139 * tools/gst-register.c: remove
7140 * tools/gst-xmlinspect.c:
7141 Registry rewrite. Changes registry from being a file created
7142 by a tool into a simple cache file created automatically by
7143 libgstreamer. Removed gst-register (because it's no longer
7144 needed). Remove registry pools, because we only have one
7145 registry implementation (XML). Fix up other subsystems as
7148 2005-09-13 Michael Smith <msmith@fluendo.com>
7150 * gst/gstconfig.h.in:
7151 Don't Use windows linking attributes for MinGW. Fixes #316157
7153 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
7155 * gst/gstutils.c: (set_state_async_thread_func),
7156 (gst_element_set_state_async):
7157 Apparently people think it's better if this function doesn't
7158 try to set the state to whatever state was asked for on the first
7159 call to this function for any object. Seriously.
7161 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
7163 * check/gst/gstpipeline.c: (GST_START_TEST):
7164 * docs/gst/gstreamer-sections.txt:
7165 * gst/gstutils.c: (set_state_async_thread_func),
7166 (gst_element_set_state_async):
7168 add a "gst_element_set_state_async" method that
7169 sets the state and starts a thread to make sure the state
7170 change completes as best as it can
7172 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
7174 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
7175 codify design+behaviour in testsuite after discussion
7177 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
7179 * docs/gst/tmpl/gstelement.sgml:
7180 * docs/manual/appendix-quotes.xml:
7182 * gst/gstelement.c: (gst_element_set_state):
7185 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
7187 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7188 (gst_base_transform_prepare_output_buf),
7189 (gst_base_transform_handle_buffer):
7190 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
7191 (gst_capsfilter_prepare_buf):
7192 Remove the requirement for sub-classes to call the parent
7193 implementation of prepare_output_buffer with a wrapper function.
7196 * gst/gsttagsetter.h:
7199 2005-09-11 Stefan Kost <ensonic@users.sf.net>
7201 * docs/gst/gstreamer-sections.txt:
7204 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
7206 * docs/gst/gstreamer-sections.txt:
7207 * docs/gst/tmpl/gstelement.sgml:
7208 * docs/gst/tmpl/gstplugin.sgml:
7209 * gst/gstminiobject.c:
7211 docs now stop throwing warnings
7213 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
7215 * docs/gst/gstreamer-sections.txt:
7216 * docs/gst/gstreamer.types:
7217 * docs/gst/tmpl/gstpad.sgml:
7218 * docs/gst/tmpl/gsttypes.sgml:
7219 * gst/base/gstadapter.h:
7220 * gst/base/gstbasesink.h:
7221 * gst/base/gstbasesrc.h:
7231 * gst/gststructure.c:
7232 * gst/registries/gstlibxmlregistry.h:
7233 various documentation fixes
7235 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
7237 * docs/gst/gstreamer-sections.txt:
7238 * docs/gst/tmpl/gstvalue.sgml:
7239 rearrange gstvalue section
7240 * gst/gstutils.c: (gst_element_state_get_name):
7242 * gst/gstvalue.c: (_gst_value_initialize):
7246 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
7248 * check/gst-libs/controller.c:
7250 * gst/base/gstbasetransform.c:
7251 (gst_base_transform_default_prepare_buf),
7252 (gst_base_transform_handle_buffer):
7253 * gst/base/gstbasetransform.h:
7254 Some more basetransform changes and fixes to enable sub-classes
7255 that modify buffer metadata only.
7256 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
7257 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
7258 (gst_capsfilter_prepare_buf):
7259 If the output pad has fixed allowed caps and input buffers
7260 don't have any, set the fixed caps on outgoing buffers.
7262 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
7263 * check/elements/identity.c: (GST_START_TEST):
7264 Make the error a little clearer when the test fails because
7265 identity made a copy of the buffer.
7266 * docs/gst/gstreamer-sections.txt:
7267 New symbols in gstbasetransform.h
7268 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7269 (gst_base_transform_init), (gst_base_transform_transform_size),
7270 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
7271 (gst_base_transform_default_prepare_buf),
7272 (gst_base_transform_get_unit_size),
7273 (gst_base_transform_buffer_alloc),
7274 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7275 (gst_base_transform_change_state),
7276 (gst_base_transform_set_passthrough),
7277 (gst_base_transform_set_in_place),
7278 (gst_base_transform_is_in_place):
7279 * gst/base/gstbasetransform.h:
7280 Change BaseTransform to separate in_place operate from same_caps
7281 output. in_place implies that the element can perform the transform
7282 on incoming buffers in-place, even if the caps on the output are
7284 Sub-class elements can now implement special buffer allocation
7285 methods for outgoing buffers if they wish to.
7286 Big documentation addition.
7287 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
7288 * gst/elements/gstelements.c:
7289 Changes for basetransform modifications.
7290 * gst/elements/Makefile.am:
7291 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
7292 Compile fix. Extra debug output.
7294 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
7296 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
7298 add tests for valid pad naming
7299 * gst/check/gstcheck.c: (gst_check_log_message_func),
7300 (gst_check_log_critical_func):
7302 remove printing of code, it is fragile when the code contains
7303 % and the line number is enough info
7304 * gst/check/gstcheck.h:
7305 * gst/gstpad.c: (gst_pad_template_new):
7308 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
7311 say what CHECK flags we use
7312 * docs/libs/gstreamer-libs.types:
7313 * libs/gst/controller/Makefile.am:
7314 * libs/gst/controller/gst-controller.c:
7315 * libs/gst/controller/gst-controller.h:
7316 * libs/gst/controller/gst-helper.c:
7317 * libs/gst/controller/gst-interpolation.c:
7318 * libs/gst/controller/gstcontroller.c:
7319 * libs/gst/controller/gsthelper.c:
7320 * libs/gst/controller/gstinterpolation.c:
7321 * tools/gst-inspect.c: (print_plugin_info):
7322 we don't use dashes in header names
7324 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
7326 * check/Makefile.am:
7327 * check/gst/.cvsignore:
7328 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
7329 (gst_pipeline_suite), (main):
7330 adding a test for pipelines and state changes
7331 * gst/gstutils.c: (get_state_func):
7333 * gstreamer.spec.in:
7336 2005-09-08 Michael Smith <msmith@fluendo.com>
7338 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
7339 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
7340 (gst_file_src_is_seekable), (gst_file_src_get_size),
7341 (gst_file_src_start):
7342 * gst/elements/gstfilesrc.h:
7343 Various fixes for unseekable, unmmapable, and non-normal files, so
7344 that fallback to read() rather than mmap() works.
7345 * gst/gstevent.c: (gst_event_new_newsegment):
7346 Allow newsegment events with segment_start == segment_end, as will
7347 correctly happen if you use filesrc on a zero-size file, for
7350 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
7352 * gst/gstplugin.c: (gst_plugin_load_file):
7353 Call g_module_close when we don't load the module
7355 * gst/registries/gstlibxmlregistry.c:
7356 (gst_xml_registry_get_property):
7357 Port leak fix from 0.8
7359 2005-09-07 Stefan Kost <ensonic@users.sf.net>
7361 * docs/gst/gstreamer-docs.sgml:
7362 * docs/gst/tmpl/.cvsignore:
7363 * docs/gst/tmpl/gsttrace.sgml:
7364 * docs/gst/tmpl/gsttrashstack.sgml:
7373 * gst/gsttaginterface.c:
7374 * gst/gsttaginterface.h:
7377 * gst/gsttagsetter.c:
7378 * gst/gsttagsetter.h:
7381 * gst/gsttrashstack.c:
7382 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
7383 inlined docs for gsttrace, gsttrashstack
7385 2005-09-07 Stefan Kost <ensonic@users.sf.net>
7388 * gst/elements/gstbufferstore.h:
7389 * gst/elements/gsttypefindelement.c:
7390 * gst/elements/gsttypefindelement.h:
7392 * gst/gsttypefind.c:
7393 * gst/gsttypefind.h:
7394 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
7395 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
7396 (gst_type_find_factory_dispose),
7397 (gst_type_find_factory_unload_thyself),
7398 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
7399 (gst_type_find_factory_get_caps),
7400 (gst_type_find_factory_get_extensions),
7401 (gst_type_find_factory_call_function):
7402 * gst/gsttypefindfactory.h:
7403 * gst/registries/gstlibxmlregistry.c:
7404 * gst/registries/gstxmlregistry.c:
7405 splitted gsttypefind into gsttypefind, gsttypefindfactory
7407 2005-09-07 Andy Wingo <wingo@pobox.com>
7409 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
7410 condition whereby the pad's task function is entered before the
7411 pad_mode variable was set.
7413 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
7415 * gst/gstpad.c: (gst_pad_alloc_buffer):
7416 Catch misbehaving pad_alloc functions that don't
7417 set up caps and do it for them.
7419 2005-09-07 Stefan Kost <ensonic@users.sf.net>
7421 * check/pipelines/simple_launch_lines.c: (run_pipeline):
7423 * docs/gst/tmpl/.cvsignore:
7424 * docs/gst/tmpl/gstmemchunk.sgml:
7425 * docs/gst/tmpl/gstparse.sgml:
7426 * docs/gst/tmpl/gsttaglist.sgml:
7427 * docs/gst/tmpl/gsttagsetter.sgml:
7428 * docs/gst/tmpl/gsttypefind.sgml:
7429 * docs/gst/tmpl/gsttypefindfactory.sgml:
7430 * gst/gstmemchunk.c:
7433 * gst/gsttaginterface.c:
7434 * gst/gsttypefind.c:
7435 * gst/gsttypefind.h:
7438 === release 0.9.2 ===
7440 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
7445 releasing 0.9.2, "South"
7447 2005-09-05 Andy Wingo <wingo@pobox.com>
7449 * gst/registries/gstxmlregistry.h:
7450 * gst/registries/gstxmlregistry.c: Um... resurrect...
7452 * gst/registries/gstxmlregistry.h:
7453 * gst/registries/gstxmlregistry.c: and update to newer API.
7454 Incidentally they should be a bit faster now that they don't have
7457 2005-09-05 Andy Wingo <wingo@pobox.com>
7459 * gst/registries/gstxmlregistry.h:
7460 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
7461 replaced by the libxml registry a while back
7463 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
7465 * docs/gst/tmpl/gstplugin.sgml:
7466 * gst/elements/gstelements.c:
7468 * gst/gstplugin.c: (gst_plugin_register_func),
7469 (gst_plugin_desc_copy), (gst_plugin_desc_free),
7470 (gst_plugin_get_source):
7472 * gst/registries/gstlibxmlregistry.c: (load_plugin),
7473 (gst_xml_registry_save_plugin):
7474 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
7475 (gst_xml_registry_save_plugin):
7476 * tools/gst-inspect.c: (print_plugin_info):
7477 add a "source" plugin description field, to represent the source
7478 module this plugin is a part of. By default GST_PLUGIN_DEFINE
7479 will set it to PACKAGE, which is automake's idea of the name of
7482 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
7488 * docs/faq/Makefile.am:
7489 * docs/gst/tmpl/gstelement.sgml:
7490 * docs/gst/tmpl/gsttypes.sgml:
7491 * docs/htmlinstall.mak:
7492 * docs/manual/Makefile.am:
7493 * docs/pwg/Makefile.am:
7494 reorganize doc build a little
7495 split out docbook and gtk-doc stuff
7496 have two separate --enable's and enable them through autogen
7497 but disable by default in configure (to be similar to other
7499 * gstreamer.spec.in:
7500 clean up docs install
7520 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
7522 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
7525 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
7526 (gst_fake_sink_change_state):
7527 Make state change function thread-safe.
7529 * gst/gstpad.c: (gst_pad_alloc_buffer):
7530 Set offset on generic buffer allocated by fallback.
7532 2005-09-03 Stefan Kost <ensonic@users.sf.net>
7534 * docs/gst/gstreamer-sections.txt:
7535 * docs/gst/tmpl/gstelement.sgml:
7537 * libs/gst/controller/gst-controller.c:
7538 (gst_controlled_property_set_interpolation_mode),
7539 (gst_controlled_property_new),
7540 (gst_controller_find_controlled_property):
7541 run the wingo-magic script against the docs
7543 2005-09-02 Stefan Kost <ensonic@users.sf.net>
7545 * docs/gst/gstreamer-docs.sgml:
7546 * docs/gst/gstreamer-sections.txt:
7547 * docs/gst/tmpl/.cvsignore:
7548 * docs/gst/tmpl/gstelementdetails.sgml:
7549 * docs/gst/tmpl/gstelementfactory.sgml:
7552 * gst/gstelementfactory.c:
7553 * gst/gstelementfactory.h:
7554 merged elementdetails docs into elementfactory docs
7557 2005-09-02 Andy Wingo <wingo@pobox.com>
7559 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
7560 consider this enum an enum and not a flags.
7562 2005-09-02 Stefan Kost <ensonic@users.sf.net>
7564 * docs/gst/gstreamer-docs.sgml:
7565 * docs/gst/tmpl/.cvsignore:
7566 * docs/gst/tmpl/gstghostpad.sgml:
7567 * docs/gst/tmpl/gstiterator.sgml:
7568 * docs/gst/tmpl/gstmacros.sgml:
7569 * docs/gst/tmpl/gstrealpad.sgml:
7570 * docs/gst/tmpl/gstregistry.sgml:
7571 * docs/gst/tmpl/gstregistrypool.sgml:
7572 * docs/gst/tmpl/gststructure.sgml:
7573 * docs/gst/tmpl/gstsystemclock.sgml:
7574 * docs/gst/tmpl/gsttrace.sgml:
7575 * gst/gstghostpad.c:
7577 * gst/gstmemchunk.c:
7578 * gst/gstmemchunk.h:
7580 * gst/gstregistry.c:
7581 * gst/gstregistrypool.c:
7582 * gst/gststructure.c:
7583 * gst/gstsystemclock.c:
7586 2005-09-02 Andy Wingo <wingo@pobox.com>
7588 * gst/gstelement.h (GstState): Renamed from GstElementState,
7589 changed to be a normal enum instead of flags.
7590 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
7591 munged to be GST_STATE_CHANGE_*.
7592 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
7593 work with the new state representation.
7594 (GstStateChange): New enumeration of possible state transitions.
7595 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
7596 (GstElementClass::change_state): Pass the GstStateChange along as
7597 an argument. Helps language bindings, so they don't have to use
7598 tricky lock-needing macros like GST_STATE_CHANGE ().
7600 * scripts/update-states (file): New script. Run it on a file to
7601 update it for state naming and API changes. Updates files in
7604 * All files updated for the new API.
7606 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
7608 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
7609 * gst/gstutils.c: (gst_util_set_value_from_string),
7610 (gst_util_set_object_arg):
7611 fix a bunch of unchecked return values
7612 * tools/gst-complete.c: (main):
7613 * gstreamer.spec.in:
7616 2005-09-01 Wim Taymans <wim@fluendo.com>
7618 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7619 (gst_base_sink_event), (gst_base_sink_do_sync),
7620 (gst_base_sink_handle_event):
7621 * gst/base/gstbasesink.h:
7622 Handle newsegments more correctly.
7627 * gst/gstevent.c: (gst_event_new_newsegment):
7628 A newsegment cannot have a start_time of -1
7630 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
7632 * win32/gstenumtypes.c:
7633 * win32/gstenumtypes.h:
7636 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7638 * libs/gst/controller/gst-controller.c:
7639 (gst_controlled_property_set_interpolation_mode),
7640 (gst_controlled_property_new):
7643 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
7645 * docs/faq/gst-uninstalled:
7650 * gst/gstutils.c: (gst_element_link_filtered):
7652 add gst_element_link_filtered
7654 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7656 * docs/gst/gstreamer-docs.sgml:
7657 * docs/gst/gstreamer-sections.txt:
7658 * docs/gst/tmpl/.cvsignore:
7659 * docs/gst/tmpl/gsterror.sgml:
7660 * docs/gst/tmpl/gstfilter.sgml:
7661 * docs/gst/tmpl/gsturihandler.sgml:
7662 * docs/gst/tmpl/gsturitype.sgml:
7663 * docs/gst/tmpl/gstutils.sgml:
7664 * docs/gst/tmpl/gstxml.sgml:
7672 inlined more docs, fixed double id-ref
7674 2005-08-31 Wim Taymans <wim@fluendo.com>
7676 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7677 (gst_base_transform_handle_buffer):
7678 Passthrough elements don't need the caps as they don't care.
7680 2005-08-31 Wim Taymans <wim@fluendo.com>
7682 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
7683 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
7684 Don't leak refcounts on buffers.
7686 2005-08-31 Wim Taymans <wim@fluendo.com>
7688 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
7689 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
7690 (gst_base_transform_chain), (gst_base_transform_change_state):
7691 * gst/base/gstbasetransform.h:
7692 Handle the case where we are not negotiated more gracefully.
7694 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
7696 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
7697 (gst_file_src_map_region):
7698 Set READONLY flag on mmap'ed buffers, otherwise
7699 gst_buffer_make_writable() won't work properly (#314708).
7701 2005-08-31 Wim Taymans <wim@fluendo.com>
7703 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
7704 passthrough elements can even do inplace on non writable
7705 buffers (as they don't touch them).
7707 2005-08-31 Stefan Kost <ensonic@users.sf.net>
7709 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
7710 (gst_test_mono_source_set_property),
7711 (gst_test_mono_source_class_init), (GST_START_TEST),
7712 (gst_controller_suite):
7713 more tests (hehe I have the most)
7715 describe popping messages whenusing mulltiple sources
7716 * libs/gst/controller/gst-controller.c:
7717 (gst_controlled_property_set_interpolation_mode),
7718 (gst_controlled_property_new):
7719 * libs/gst/controller/gst-controller.h:
7720 * libs/gst/controller/gst-interpolation.c:
7721 implement boolean properties
7723 2005-08-31 Wim Taymans <wim@fluendo.com>
7725 * gst/gstminiobject.c: (gst_mini_object_ref):
7726 Cannot assert that the refcount has to be positive
7727 since a disposed object can be resurrected.
7729 2005-08-31 Wim Taymans <wim@fluendo.com>
7731 * gst/gstpad.c: (gst_pad_init):
7732 Revert change, need to first fix badly behaving
7735 2005-08-30 Wim Taymans <wim@fluendo.com>
7737 * check/elements/fakesrc.c: (setup_fakesrc):
7738 * check/elements/identity.c: (setup_identity):
7739 Activate pads before using them.
7741 2005-08-30 Wim Taymans <wim@fluendo.com>
7743 * gst/base/gstadapter.c: (gst_adapter_flush):
7744 Flushing out 0 bytes is ok for this function.
7746 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7747 no newsegment gives a warning and sets the start/stop to
7750 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
7751 (gst_base_transform_set_passthrough):
7754 * gst/gstminiobject.c: (gst_mini_object_ref):
7755 Check refcount here too.
7757 * gst/gstpad.c: (gst_pad_init):
7758 Pads are initially flushing and refusing data.
7760 * gst/gstutils.c: (gst_element_link_pads_filtered):
7761 When adding a capsfilter element make sure it has the
7762 same state as the parent bin.
7764 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7766 * docs/gst/tmpl/.cvsignore:
7767 * docs/gst/tmpl/gstformat.sgml:
7768 * docs/gst/tmpl/gstversion.sgml:
7772 * gst/gstversion.h.in:
7773 more docs and two more inlined
7775 2005-08-30 Wim Taymans <wim@fluendo.com>
7777 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
7778 Don't sync to clock.
7780 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7782 * docs/gst/gstreamer-sections.txt:
7783 ultral33t func10ns deserve to appear in the docs actually
7784 * docs/gst/tmpl/.cvsignore:
7785 * docs/gst/tmpl/gstcompat.sgml:
7786 * docs/gst/tmpl/gstconfig.sgml:
7787 * gst/check/gstcheck.c:
7789 * gst/gstconfig.h.in:
7792 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7794 * docs/gst/tmpl/.cvsignore:
7795 * docs/gst/tmpl/gstquery.sgml:
7796 * docs/gst/tmpl/gstutils.sgml:
7799 inlined and extended docs
7801 2005-08-30 Stefan Kost <ensonic@users.sf.net>
7803 * check/gst-libs/controller.c: (GST_START_TEST),
7804 (gst_controller_suite):
7806 * docs/gst/tmpl/gstutils.sgml:
7807 * docs/libs/gstreamer-libs-sections.txt:
7808 * docs/libs/tmpl/gstdataprotocol.sgml:
7810 * examples/controller/audio-example.c: (main):
7811 controller example works now
7814 * tools/gst-inspect.c: (print_element_properties_info):
7815 show param spec flags
7817 2005-08-29 Andy Wingo <wingo@pobox.com>
7819 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
7821 2005-08-28 Andy Wingo <wingo@pobox.com>
7823 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
7824 as having two arguments instead of just one. Allows superclasses
7825 to access information on subclasses -- see the terrible for() loop
7826 in gtype.c:g_type_create_instance for the reason why. All callers
7829 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7831 * docs/design/part-messages.txt:
7833 * docs/gst/tmpl/.cvsignore:
7834 * docs/gst/tmpl/gstcaps.sgml:
7835 * docs/gst/tmpl/gstclock.sgml:
7842 added descriptions for bus and message
7843 inline caps and clock docs
7845 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7851 2005-08-27 Stefan Kost <ensonic@users.sf.net>
7853 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
7856 2005-08-26 Andy Wingo <wingo@pobox.com>
7858 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
7859 element_set_state's return val.
7860 (test_2_elements): Add test that's been disabled for months.
7862 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
7863 can-activate-pull properties.
7865 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
7866 can-activate-pull properties. Implement is_seekable so fakesrc can
7867 operate in pull mode.
7869 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
7871 (gst_base_sink_activate, gst_base_sink_activate_pull)
7872 (gst_base_sink_activate_push): Make activation mode choosing work.
7874 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
7875 is right. Make pull mode work. Post an eos before pausing in pull
7877 (gst_base_sink_change_state): Pay attention to the core's
7878 change_state() return val.
7880 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
7881 has-getrange properties. Cleanups.
7883 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
7884 has_getrange and replace with can_activate_pull and
7887 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
7888 locking comments. Remove has_loop, has_chain and replace with
7889 can_activate_pull and can_activate_push.
7891 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
7894 * examples/Makefile.am:
7895 * examples/metadata/Makefile.am:
7896 * examples/metadata/read-metadata.c: (message_loop),
7897 (have_pad_handler), (make_pipeline), (print_tag), (main):
7898 Add metadata reading example that loops over a list of filenames,
7899 dumping any tags found.
7901 * gst/gstbus.c: (gst_bus_dispose):
7902 * gst/gstelement.c: (gst_element_dispose):
7903 Release a few potentially-held references in dispose.
7905 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7907 * docs/gst/tmpl/gstminiobject.sgml:
7908 do *not* add tmpl/*.sgml files to CVS!
7910 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7912 * libs/gst/bytestream/.cvsignore:
7913 * libs/gst/bytestream/Makefile.am:
7914 * libs/gst/bytestream/adapter.c:
7915 * libs/gst/bytestream/adapter.h:
7916 * libs/gst/bytestream/bytestream.c:
7917 * libs/gst/bytestream/bytestream.h:
7918 * libs/gst/bytestream/filepad.c:
7919 * libs/gst/bytestream/filepad.h:
7920 removing obsolete files
7922 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7924 * docs/gst/gstreamer-docs.sgml:
7925 * docs/libs/gstreamer-libs-docs.sgml:
7926 disabed additional index entries again, as this makes docs-gen just
7927 slow and they aren't useful yet
7928 * docs/libs/gstreamer-libs-sections.txt:
7929 little -section.txt cleanup for libs
7931 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
7933 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7934 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
7935 fix up some debugging
7936 (gst_base_transform_get_unit_size),
7937 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
7938 (gst_base_transform_handle_buffer):
7939 * gst/base/gstbasetransform.h:
7940 handle and store timed NEWSEGMENT events so that subclasses that
7941 calculate time by counting samples have a segment_start time they
7942 need to add to their timestamps - see audioresample
7944 2005-08-26 Stefan Kost <ensonic@users.sf.net>
7947 removed ';' from the end of macro defs
7948 * docs/gst/gstreamer-docs.sgml:
7949 * docs/gst/gstreamer-sections.txt:
7950 * docs/gst/tmpl/.cvsignore:
7952 * gst/gstelement.c: (gst_element_class_init),
7953 (gst_element_set_state), (activate_pads),
7954 (gst_element_save_thyself):
7955 * gst/gstevent.c: (gst_event_new_newsegment):
7957 * gst/gstiterator.c:
7958 * gst/gstiterator.h:
7961 * gst/gstutils.c: (gst_pad_query_convert):
7963 fixed parameter name mismatches between source, header and docs
7964 added some more docs, resolved the last batch of unused elements in
7965 docs (now someone needs to doc them)
7967 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7969 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
7970 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
7971 don't walk through the plugins backwards. Where is all this
7972 reversed logic coming from ?
7974 2005-08-25 Wim Taymans <wim@fluendo.com>
7976 * gst/base/gstbasetransform.c: (gst_base_transform_init),
7977 (gst_base_transform_transform_size),
7978 (gst_base_transform_configure_caps),
7979 (gst_base_transform_get_unit_size),
7980 (gst_base_transform_buffer_alloc),
7981 (gst_base_transform_change_state):
7982 * gst/base/gstbasetransform.h:
7983 Cache caps unit_size.
7984 Make sure we cannot negotiate up and downstream at the
7987 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7989 * gst/gst.c: (init_pre), (init_post):
7990 register the installed plugin path after the env var
7991 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
7992 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
7993 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
7994 directories, so the tests can prefer uninstalled over installed
7996 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
7998 * gst/base/gstbasetransform.h:
8003 2005-08-25 Wim Taymans <wim@fluendo.com>
8005 * gst/gstbin.c: (bin_bus_handler):
8006 Be a bit more conservative about the posted message.
8008 * gst/gstbus.c: (gst_bus_post):
8009 Some cleanups, warn wrong return values.
8011 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
8013 * check/gst/gstbin.c: (GST_START_TEST):
8014 * gst/gstbin.c: (bin_bus_handler):
8015 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
8016 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
8017 (gst_message_new_warning), (gst_message_new_tag),
8018 (gst_message_new_state_changed), (gst_message_new_segment_start),
8019 (gst_message_new_segment_done), (gst_message_new_custom):
8021 * tools/gst-launch.c: (event_loop):
8022 * tools/gst-md5sum.c: (event_loop):
8023 Revert unpopular change for GST_MESSAGE_SRC to GObject.
8025 2005-08-25 Wim Taymans <wim@fluendo.com>
8027 * check/generic/states.c: (GST_START_TEST):
8028 Cleanup can be done at the end.
8030 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
8031 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
8032 (gst_task_get_state), (gst_task_start), (gst_task_pause):
8033 Oh boy.. Thanks for finding this, Thomas.
8035 2005-08-25 Stefan Kost <ensonic@users.sf.net>
8037 * docs/gst/gstreamer.types:
8040 2005-08-25 Stefan Kost <ensonic@users.sf.net>
8042 * docs/gst/gstreamer-docs.sgml:
8043 * docs/gst/gstreamer-sections.txt:
8044 * docs/gst/tmpl/.cvsignore:
8046 * gst/gstiterator.c:
8048 * gst/registries/gstxmlregistry.h:
8049 added missing classes and symbols (123 more to go)
8050 removed removed symbols from section file
8051 fixed many doc-comments
8053 2005-08-24 Wim Taymans <wim@fluendo.com>
8055 * check/generic/states.c: (GST_START_TEST):
8056 Make sure all tasks are stopped.
8058 * check/gst/gstbin.c: (GST_START_TEST):
8059 Unref after usage for proper valgrinding.
8061 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
8062 Really wait for the task to stop before destroying the
8065 * gst/gstqueue.c: (gst_queue_sink_activate_push),
8066 (gst_queue_src_activate_push):
8067 Small cleanups. Don't stop the task when we did not start
8070 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
8071 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
8072 (gst_task_get_state), (gst_task_start), (gst_task_pause),
8075 Protect the stream lock with the object lock.
8076 Disallow setting the stream lock when running.
8077 Add cleanup_all to wait for the threadpool to finish.
8078 Remove code to autoallocate a mutex if none was provided.
8079 Add _join() to wait for a task to stop.
8080 Protect the thread pool with a global lock.
8082 2005-08-24 Wim Taymans <wim@fluendo.com>
8084 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8085 (gst_base_sink_get_times), (gst_base_sink_do_sync),
8086 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
8087 * gst/base/gstbasesink.h:
8088 Handle newsegment events correctly.
8089 Drop buffers out of the segment range.
8091 2005-08-22 Andy Wingo <wingo@pobox.com>
8093 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
8094 macro, implements an interface and gstimplementsinterface for a
8097 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
8099 * check/Makefile.am:
8100 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
8101 add a test that does a bunch of state changes on elements
8102 needs some fixing for valgrind
8103 * check/states/sinks.c: (gst_object_suite):
8106 add prototype for gst_caps_is_equal_fixed
8108 * gst/gstregistrypool.c:
8111 2005-08-24 Andy Wingo <wingo@pobox.com>
8113 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
8114 convert a negative value. Doesn't make much sense. Mostly this is
8115 here to force callers to ensure -1 maps to -1.
8117 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
8119 * docs/pwg/advanced-types.xml:
8120 Well done to Michael for catching my deliberate introduction
8121 of this spelling mistake.
8122 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
8124 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
8125 unlink pads before removing the element from the bin.
8127 2005-08-24 Andy Wingo <wingo@pobox.com>
8129 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
8130 the same thing as GST_DEBUG=*:4.
8131 (parse_debug_level, parse_debug_category): New helper parsers.
8133 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
8135 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8136 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
8137 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
8138 (gst_base_transform_buffer_alloc),
8139 (gst_base_transform_handle_buffer):
8140 use gboolean return values and pointers to size so we can use the
8141 full GST_BUFFER_SIZE range (guint) for buffer sizes
8142 use GstPadDirection for transform_caps
8143 * gst/base/gstbasetransform.h:
8144 rename get_size to get_unit_size since that's what it is
8145 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
8146 use GstPadDirection for transform_caps
8147 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
8149 cleanup and debugging
8151 2005-08-24 Stefan Kost <ensonic@users.sf.net>
8153 * gst/gstelement.c: (gst_element_class_init),
8154 (gst_element_set_state), (activate_pads),
8155 (gst_element_save_thyself):
8156 * tools/gst-compprep.c: (main):
8157 * tools/gst-inspect.c: (print_element_properties_info):
8158 * tools/gst-xmlinspect.c: (print_element_properties):
8159 Fixed long standing mem-leak
8161 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
8163 * check/gst/gstbin.c: (GST_START_TEST):
8164 * gst/gstbin.c: (bin_bus_handler):
8165 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
8166 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
8167 (gst_message_new_warning), (gst_message_new_tag),
8168 (gst_message_new_state_changed), (gst_message_new_segment_start),
8169 (gst_message_new_segment_done), (gst_message_new_custom):
8171 * tools/gst-launch.c: (event_loop):
8172 * tools/gst-md5sum.c: (event_loop):
8173 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
8174 that applications can sensibly post custom messages with references
8175 to their own objects.
8177 2005-08-24 Andy Wingo <wingo@pobox.com>
8179 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
8182 2005-08-24 Wim Taymans <wim@fluendo.com>
8184 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8185 (gst_base_transform_transform_caps),
8186 (gst_base_transform_transform_size),
8187 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
8188 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
8189 (gst_base_transform_handle_buffer):
8190 * gst/base/gstbasetransform.h:
8191 Many fixes and new features added by Thomas. Can now also do
8192 transforms with variable sizes and a custom fixate_caps function.
8194 2005-08-24 Wim Taymans <wim@fluendo.com>
8196 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
8200 Cast to ClockTime before formatting to time.
8205 2005-08-24 Stefan Kost <ensonic@users.sf.net>
8207 * check/gst-libs/controller.c: (GST_START_TEST),
8208 (gst_controller_suite):
8209 * docs/gst/tmpl/gstcaps.sgml:
8210 * docs/gst/tmpl/gstghostpad.sgml:
8211 * docs/gst/tmpl/gstquery.sgml:
8212 * docs/gst/tmpl/gstutils.sgml:
8213 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
8214 (gst_object_sink_values), (gst_object_get_value_arrays),
8215 (gst_object_get_value_array):
8216 gracefully handle helper method calls to objects that are not beeing
8217 controlled, added test case for that
8219 2005-08-23 Wim Taymans <wim@fluendo.com>
8221 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
8222 (gst_event_new_newsegment), (gst_event_parse_newsegment),
8223 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
8224 (gst_event_parse_qos), (gst_event_new_seek),
8225 (gst_event_parse_seek):
8227 Some more debugging output and doc cleanups.
8229 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8230 Fix possible deadlock.
8232 2005-08-23 Stefan Kost <ensonic@users.sf.net>
8234 * docs/gst/gstreamer-docs.sgml:
8235 * docs/gst/gstreamer-sections.txt:
8236 * docs/gst/gstreamer.types:
8237 * docs/gst/tmpl/.cvsignore:
8242 added 100 symbols from gstreamer-unused.txt to the right sections
8243 fixed more broken comments
8244 added GstBus to docs
8246 2005-08-23 Stefan Kost <ensonic@users.sf.net>
8248 * docs/gst/gstreamer-sections.txt:
8249 * docs/gst/tmpl/.cvsignore:
8250 * docs/gst/tmpl/gstbin.sgml:
8251 * docs/gst/tmpl/gstbuffer.sgml:
8252 * gst/base/gstbasesrc.c:
8253 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
8256 * tools/gst-launch.1.in:
8257 inlined more doc comments, added missing comments and fixed comments
8260 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
8262 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
8266 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
8268 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
8269 * gst/gststructure.h:
8270 add a fixate function for booleans; add a FIXME that these func
8271 names should probably be gst_structure_fixate_*
8273 2005-08-23 Stefan Kost <ensonic@users.sf.net>
8275 * docs/gst/gstreamer-docs.sgml:
8276 * docs/gst/gstreamer-sections.txt:
8278 * gst/gstbin.c: (gst_bin_get_type),
8279 (gst_bin_child_proxy_get_child_by_index),
8280 (gst_bin_child_proxy_get_children_count),
8281 (gst_bin_child_proxy_init):
8282 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
8283 (gst_child_proxy_get_child_by_index),
8284 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
8285 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
8286 (gst_child_proxy_get), (gst_child_proxy_set_property),
8287 (gst_child_proxy_set_valist), (gst_child_proxy_set),
8288 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
8289 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
8290 * gst/gstchildproxy.h:
8291 * gst/parse/grammar.y:
8292 * tools/gst-inspect.c: (print_interfaces),
8293 (print_element_properties_info), (print_element_info):
8294 ported gstchildproxy over from 0.8
8295 ported gst-inspect fixes and enhancements over from 0.8
8297 2005-08-22 Wim Taymans <wim@fluendo.com>
8299 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
8300 (gst_base_transform_handle_buffer):
8301 Also call the transform function if we have ANY caps.
8303 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
8306 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
8308 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
8309 Don't pretend to handle seek events if the source is not seekable
8311 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
8313 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8314 Remove extra parameter to debug output
8316 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8317 (gst_base_src_do_seek), (gst_base_src_activate_push):
8318 Fix seek event handling.
8320 * gst/gstpipeline.c: (gst_pipeline_change_state):
8321 * gst/gstqueue.c: (gst_queue_handle_sink_event),
8322 (gst_queue_src_activate_push):
8323 Don't start the src pad task on FLUSH_STOP if the pad
8327 2005-08-22 Wim Taymans <wim@fluendo.com>
8329 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8330 Added check for gst_static_caps_get() refcounting.
8332 2005-08-22 Wim Taymans <wim@fluendo.com>
8334 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
8335 Make _static_caps_get() refcounting sane.
8337 * gst/gstelement.c: (gst_element_set_state):
8338 Add g_return_val_if_fail() to protect against segfaults.
8340 2005-08-22 Stefan Kost <ensonic@users.sf.net>
8342 * docs/gst/tmpl/gstevent.sgml:
8345 inlined remaining docs, added missing doc comments
8347 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
8349 * check/gst/gstbin.c: (GST_START_TEST):
8350 since we don't know when preroll is done, use refcount range
8352 * gst/check/gstcheck.h:
8353 add macro for checking refcount range
8355 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
8357 * check/Makefile.am:
8358 clean up environment for when registry gets built versus
8359 when actual tests are run; valgrind seems to not report
8360 leaks if GST_PLUGIN_PATH is set to some specific values
8361 * check/gst/gstbin.c: (GST_START_TEST):
8362 add more refcounting checks; maybe this exposes a
8365 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8366 * gst/check/gstcheck.h:
8367 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
8368 (gst_bin_change_state):
8369 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
8370 add/fix debugging/whitespace
8372 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
8374 * check/gst/gstevent.c: (event_probe), (test_event),
8376 Er, don't call gst_bin_watch_for_state_change you idiot.
8378 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
8380 * check/Makefile.am:
8381 Use CHECK_CFLAGS and CHECK_LIBS
8382 * check/gst/gstevent.c: (event_probe), (test_event),
8385 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
8386 (gst_base_src_start), (gst_base_src_stop),
8387 (gst_base_src_activate_push), (gst_base_src_activate_pull),
8388 (gst_base_src_change_state):
8389 Sprinkle gst_base_src_stop liberally around error paths to fix
8390 problems reusing a source after failed state changes.
8391 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8392 (helper_find_suggest), (gst_type_find_helper):
8393 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
8395 * docs/gst/tmpl/gstevent.sgml:
8396 Migrate part of the docs from the SGML file. Wait for ensonic to
8397 tell me how I did it wrong ;)
8398 * tools/gst-typefind.c: (main):
8399 Extra robustness to state changes between files.
8401 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
8403 * check/Makefile.am:
8404 don't valgrind the controller test - it's leaking - Stefan, HELP
8405 * gst/check/gstcheck.c: (gst_check_message_error),
8406 (gst_check_chain_func), (gst_check_setup_element),
8407 (gst_check_teardown_element), (gst_check_setup_src_pad),
8408 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8409 (gst_check_teardown_sink_pad):
8410 * gst/check/gstcheck.h:
8411 add a bunch of methods to set up elements, and src and sink pads
8412 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
8413 * check/elements/identity.c: (setup_identity), (cleanup_identity),
8418 whitespace/doc fixes
8420 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8423 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
8424 be handled by the application and not always printed as well
8426 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8428 * check/Makefile.am:
8430 * gst/check/gstcheck.c: (gst_check_message_error):
8431 * gst/check/gstcheck.h:
8432 add a fail_unless_equals_int
8433 add fail_unless for error messages
8435 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8437 * check/Makefile.am:
8439 * common/Makefile.am:
8442 factor out some of the common stuff so we can use it
8444 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8446 * check/Makefile.am:
8447 * check/gst/gstiterator.c: (GST_START_TEST):
8448 * check/gst/gstsystemclock.c: (GST_START_TEST),
8449 (gst_systemclock_suite):
8450 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
8454 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
8456 * check/elements/.cvsignore:
8457 * check/elements/gstfakesrc.c:
8458 rename to name of element
8459 * check/elements/identity.c: (chain_func), (event_func),
8460 (setup_identity), (cleanup_identity), (GST_START_TEST),
8461 (identity_suite), (main):
8462 add a test for identity
8463 * check/Makefile.am:
8464 * pkgconfig/Makefile.am:
8465 * pkgconfig/gstreamer-check.pc.in:
8466 * pkgconfig/gstreamer-check-uninstalled.pc.in:
8470 move the check stuff to a library that gets installed
8471 * check/gst-libs/controller.c: (GST_START_TEST):
8472 * check/gst-libs/gdp.c:
8473 * check/gst/gst.c: (GST_START_TEST):
8474 * check/gst/gstbin.c:
8475 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8476 * check/gst/gstbus.c:
8477 * check/gst/gstcaps.c: (GST_START_TEST):
8478 * check/gst/gstelement.c:
8479 * check/gst/gstghostpad.c:
8480 * check/gst/gstiterator.c:
8481 * check/gst/gstmessage.c:
8482 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
8483 * check/gst/gstobject.c:
8484 * check/gst/gstpad.c: (GST_START_TEST):
8485 * check/gst/gststructure.c: (GST_START_TEST):
8486 * check/gst/gstsystemclock.c: (GST_START_TEST),
8487 (gst_systemclock_suite):
8488 * check/gst/gsttag.c: (gst_tag_suite):
8489 * check/gst/gstvalue.c:
8490 * check/pipelines/cleanup.c:
8491 * check/pipelines/simple_launch_lines.c:
8492 * check/states/sinks.c:
8493 change include statement
8495 * docs/gst/gstreamer-sections.txt:
8496 * docs/gst/tmpl/gstpad.sgml:
8497 document more pad stuff
8498 * gst/gstminiobject.c: (gst_mini_object_ref),
8499 (gst_mini_object_unref):
8502 2005-08-19 Stefan Kost <ensonic@users.sf.net>
8504 * docs/gst/tmpl/gst.sgml:
8506 eliminate another tmpl file, fix spelling in the long-description
8508 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8510 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8511 (test_event), (timediff), (gstevents_suite):
8512 Should fix build on 64-bit arch's
8514 2005-08-18 Andy Wingo <wingo@pobox.com>
8516 Make sure that when a pipeline goes to PLAYING, that data has
8517 actually hit the sink.
8519 * check/states/sinks.c (test_sink): A sink that doesn't get any
8520 data shouldn't return SUCCESS for going to either PLAYING or
8521 PAUSED. Test also the return values on the way back down.
8523 * gst/gstelement.c (gst_element_set_state): When changing the
8524 state of an element currently changing state asynchronously, go to
8525 lost-state after commiting the pending state. Makes future calls
8526 to get_state continue to return ASYNC.
8528 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
8529 ASYNC when going to PLAYING if we still don't have preroll, as can
8530 happen with live sources.
8532 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8534 * docs/pwg/advanced-types.xml:
8535 Hack long paragraph into 2 chunks as a workaround for buggy
8536 jadetex version in sid and breezy that loops infinitely and
8539 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8541 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8542 (test_event), (timediff), (gstevents_suite):
8543 Provide more error margin in clock measurements to allow for
8544 g_get_current_time inaccuracies.
8546 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8548 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8549 (test_event), (timediff), (gstevents_suite):
8550 Fix error message output so I might be able to tell why the
8551 test works here but fails on the build farm.
8553 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
8555 * check/Makefile.am:
8556 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
8557 (test_event), (timediff), (gstevents_suite), (main):
8560 * docs/design/part-seeking.txt:
8563 * docs/gst/tmpl/gstevent.sgml:
8564 * docs/gst/tmpl/gstfakesrc.sgml:
8567 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8568 Treat a buffer-without-newsegment the same as a receiving
8569 a newsegment not in time format, and disable syncing to the clock
8572 * gst/gstbus.c: (gst_bus_set_sync_handler):
8573 Assert if anyone tries to replace the existing sync_handler for bus,
8574 as only the owner should be setting it.
8577 Have a fixed set of custom event enums with events identified by
8578 their structure name (as in 0.8), rather than a free-for-all
8579 allowing collisions between enum values from different plugins.
8581 * gst/gstpad.c: (gst_pad_class_init):
8584 * gst/gstqueue.c: (gst_queue_handle_sink_event):
8585 Handle out-of-band downstream events from the sending thread.
8587 2005-08-17 Andy Wingo <wingo@pobox.com>
8589 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
8590 play-timeout==0 to mean no timeout at all. In that case, don't
8591 bother with a get_state or a warning, just return directly, even
8594 * gst/base/gstbasetransform.c: Debug changes.
8597 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
8598 ensure bins post state change messages. A bit of a hack but I can't
8599 think of a way to avoid it.
8601 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
8603 2005-08-16 Andy Wingo <wingo@pobox.com>
8605 * gst/base/gstadapter.h:
8606 * gst/base/gstadapter.c (gst_adapter_take): New function, like
8607 peek() but you own the data. Not terribly efficient atm.
8609 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8611 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
8612 (gst_element_found_tags):
8614 Add two utility functions for tag handling.
8616 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8618 * docs/manual/advanced-dataaccess.xml:
8619 * docs/manual/basics-helloworld.xml:
8620 Fix docs to use _bin_add() before _link(), which fixes the examples
8621 with recent core versions (reported by Madhan Raj M
8622 <raj_madan@rediffmail.com>, #313199).
8624 2005-08-16 Wim Taymans <wim@fluendo.com>
8626 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8627 Added subtract checks.
8629 * docs/design/part-events.txt:
8630 Some more docs about newsegment
8632 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
8635 * gst/gstcaps.c: (gst_caps_to_string):
8636 Add comments, cleanups.
8638 * gst/gstelement.c: (gst_element_save_thyself):
8641 * gst/gstvalue.c: (gst_value_collect_int_range),
8642 (gst_string_unwrap), (gst_value_union_int_int_range),
8643 (gst_value_union_int_range_int_range),
8644 (gst_value_intersect_int_int_range),
8645 (gst_value_intersect_int_range_int_range),
8646 (gst_value_intersect_double_double_range),
8647 (gst_value_intersect_double_range_double_range),
8648 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
8649 (gst_value_subtract_int_range_int),
8650 (gst_value_subtract_double_range_double),
8651 (gst_value_subtract_double_range_double_range),
8652 (gst_value_subtract_from_list), (gst_value_subtract_list),
8653 (gst_value_can_compare), (gst_value_compare_fraction):
8654 Cleanups, add comments, remove unneeded asserts.
8656 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8658 * tools/gst-launch.c: (event_loop):
8659 don't convert NULL structures to strings
8661 2005-08-15 Stefan Kost <ensonic@users.sf.net>
8663 * docs/gst/gstreamer-sections.txt:
8664 made some defines private
8665 * docs/gst/tmpl/gstconfig.sgml:
8666 * docs/gst/tmpl/gstqueue.sgml:
8667 * docs/gst/tmpl/gsttaglist.sgml:
8668 * docs/gst/tmpl/gsttypes.sgml:
8669 * docs/gst/tmpl/gstutils.sgml:
8670 * docs/pwg/appendix-porting.xml:
8671 * gst/base/gstbasesink.h:
8672 * gst/base/gstbasesrc.c:
8673 * gst/base/gstbasesrc.h:
8674 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
8675 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
8676 * gst/gstelement.c: (gst_element_class_init):
8677 * gst/gstpad.c: (gst_pad_class_init):
8678 * gst/gstqueue.c: (gst_queue_class_init):
8679 * gst/gstxml.c: (gst_xml_class_init):
8680 documented all undocumented signal inline
8681 * libs/gst/controller/gst-controller.h:
8684 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8686 * docs/pwg/appendix-porting.xml:
8687 Document _set_link_function -> _set_setcaps_function.
8689 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
8691 * check/Makefile.am:
8692 add a .check target for running the check
8693 * check/gst-libs/controller.c: (GST_START_TEST):
8695 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
8696 complete checks for gstbuffer; would be nice if I could get the
8697 gcov stuff to work so I can see if I actually completed gstbuffer.c
8699 add ASSERT_BUFFER_REFCOUNT
8701 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
8703 * docs/gst/gstreamer-sections.txt:
8704 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
8706 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
8707 spew out a warning if a tag that is already registered
8708 is re-registered, unless it is re-registered with a
8709 different type (#308438).
8711 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
8713 * docs/pwg/appendix-porting.xml:
8714 * docs/pwg/building-state.xml:
8715 Add some paragraphs about state changes in 0.9 to the PWG
8716 and the porting guide, in particular about the new meaning
8717 of GST_STATE_PAUSED and how to write state change functions
8718 with concurrent access by multiple threads in mind.
8720 2005-08-11 Stefan Kost <ensonic@users.sf.net>
8722 * docs/gst/gstreamer-docs.sgml:
8723 * docs/libs/gstreamer-libs-docs.sgml:
8724 added deprecation and since indexes
8725 * libs/gst/controller/gst-controller.c:
8726 * libs/gst/controller/gst-helper.c:
8730 2005-08-11 Wim Taymans <wim@fluendo.com>
8732 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
8733 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
8734 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
8735 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
8736 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
8737 (gst_ghost_pad_set_target):
8738 Actually implement (re)setting the target on a ghostpad
8739 as described in the docs.
8741 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8743 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
8744 Check whether GST_DEBUG_NO_COLOR environment variable is
8745 set and disable coloured debug output if that is the case.
8747 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
8749 * gst/base/gsttypefindhelper.c: (helper_find_peek),
8750 (gst_type_find_helper):
8751 The memory returned by gst_type_find_peek() needs to
8752 stay valid until the end of a typefind function, and
8753 typefind functions may keep results from different
8754 offsets around, so we can't just unref the buffer from
8755 the previous _peek(), but have to save all buffers
8756 returned by _peek() until typefinding is done and only
8759 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
8761 * docs/gst/gstreamer-sections.txt:
8763 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
8765 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8767 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8768 Fix a pretty good memleak.
8770 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8772 * gst/gstiterator.h:
8773 Fix wrong include and 'make distcheck'.
8775 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8777 * gst/gstbin.c: (bin_bus_handler):
8778 Use gst_element_post_message() instead.
8780 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
8782 * gst/base/gstadapter.h:
8783 * gst/base/gstbasesink.h:
8784 * gst/base/gstbasesrc.h:
8785 * gst/base/gstbasetransform.h:
8786 * gst/base/gstcollectpads.h:
8787 * gst/base/gstpushsrc.h:
8788 * gst/gstiterator.h:
8789 Add padding to our base elements' class and instance structs and
8790 to GstIterator (you will need to rebuild all plugins and apps!)
8792 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8794 * gst/gstbin.c: (bin_bus_handler):
8795 Make default message forwarding from child->bus to bin->bus
8796 threadsafe and make it not emit warnings if the parent has no bus.
8798 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8800 * gst/gstelement.c: (activate_pads):
8801 On paused->ready, set pad->caps to NULL, as is the documented
8802 behaviour in this state change. Fixes playback of series of
8803 media files when visualization is enabled in Totem.
8805 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
8807 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
8808 Allow NULL as filter-caps (which means "any").
8810 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8812 * docs/libs/gstreamer-libs-sections.txt:
8813 * libs/gst/controller/gst-controller.c:
8814 * libs/gst/controller/gst-controller.h:
8815 * libs/gst/controller/gst-helper.c:
8816 adding more entries to the docs and fix small doc-bugs
8818 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8820 * docs/gst/gstreamer-docs.sgml:
8821 * docs/gst/gstreamer-sections.txt:
8822 * docs/gst/gstreamer.types:
8823 * docs/gst/tmpl/gstbasesink.sgml:
8824 * docs/gst/tmpl/gstbasesrc.sgml:
8825 * docs/gst/tmpl/gstbasetransform.sgml:
8826 * docs/gst/tmpl/gstfakesrc.sgml:
8827 * gst/base/gstcollectpads.c:
8828 * gst/base/gstcollectpads.h:
8829 * libs/gst/controller/gst-controller.c:
8830 * libs/gst/controller/gst-controller.h:
8831 * libs/gst/controller/gst-helper.c:
8832 * libs/gst/controller/gst-interpolation.c:
8833 * libs/gst/controller/lib.c:
8834 added long/short desc for controller docs
8835 added collectpads base class docs
8836 added correct includes to base-class docs
8838 2005-08-05 Stefan Kost <ensonic@users.sf.net>
8840 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
8841 (gst_test_mono_source_set_property),
8842 (gst_test_mono_source_class_init), (GST_START_TEST),
8843 (gst_controller_suite):
8844 * docs/gst/gstreamer-docs.sgml:
8845 * docs/gst/gstreamer-sections.txt:
8846 * docs/gst/gstreamer.types:
8847 * docs/libs/gstreamer-libs-docs.sgml:
8848 * docs/libs/gstreamer-libs-sections.txt:
8849 * gst/base/gstadapter.c:
8850 * libs/gst/controller/gst-controller.c:
8851 (gst_controlled_property_new), (gst_controlled_property_free),
8852 (gst_controller_new_valist),
8853 (gst_controller_remove_properties_valist),
8854 (gst_controller_sink_values), (_gst_controller_finalize):
8855 * libs/gst/controller/gst-controller.h:
8856 * libs/gst/controller/gst-helper.c:
8857 (gst_object_control_properties), (gst_object_uncontrol_properties),
8858 (gst_object_get_controller), (gst_object_set_controller),
8859 (gst_object_sink_values), (gst_object_get_value_arrays),
8860 (gst_object_get_value_array):
8861 more tests (and fixes) for the controller
8862 more docs for the controller
8863 integrated companies docs for the adapter
8865 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
8867 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
8868 (GST_START_TEST), (fakesrc_suite):
8869 add tests for sizetype
8871 2005-08-04 Andy Wingo <wingo@pobox.com>
8873 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
8874 fixes buffer_alloc proxying among other things.
8876 * gst/base/gstbasetransform.c:
8877 * gst/base/gstbasetransform.h:
8878 Revert patch to gstbasetransform from 7-28 removing
8881 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
8882 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
8883 Semantics changed, should return not the size of the output buffer
8884 but the byte size of a buffer with a given caps.
8886 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
8888 (gst_base_transform_configure_caps): Don't set out_size here: (in,
8889 out) are not the pad caps until setcaps finishes.
8890 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
8891 not-in-place case as well. Deal with changing from in-place to
8892 not-in-place within calling pad_alloc_buffer. Still a bit
8893 concerned about the overhead here...
8895 2005-08-03 Andy Wingo <wingo@pobox.com>
8897 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
8898 fixating is an error.
8900 2005-08-04 Edward Hervey <edward@fluendo.com>
8902 * gst/base/gstadapter.h:
8903 Added gst_adapter_get_type() to the header
8905 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8907 * check/Makefile.am:
8908 * check/gst-libs/controller.c:
8909 * libs/gst/controller/gst-controller.c:
8910 (gst_controller_new_valist):
8911 added check test suite for the controller
8912 * gst/base/gstpushsrc.c:
8915 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8917 * docs/gst/Makefile.am:
8918 * docs/gst/gstreamer-docs.sgml:
8919 * docs/gst/gstreamer-sections.txt:
8920 * docs/gst/gstreamer.types:
8921 * docs/gst/tmpl/gstfakesrc.sgml:
8923 * gst/base/gstbasesink.c:
8924 * gst/base/gstbasesink.h:
8925 * gst/base/gstbasesrc.c:
8926 * gst/base/gstbasesrc.h:
8927 * gst/base/gstbasetransform.c:
8928 * gst/base/gstpushsrc.c:
8929 * gst/base/gstpushsrc.h:
8930 add short/long description docs to base classes
8931 add pushsrc to the docs
8932 remove consolidated doc fragments
8934 2005-08-03 Stefan Kost <ensonic@users.sf.net>
8937 * docs/libs/Makefile.am:
8938 * docs/libs/gstreamer-libs-docs.sgml:
8939 * docs/libs/gstreamer-libs-sections.txt:
8940 * docs/libs/gstreamer-libs.types:
8941 * examples/Makefile.am:
8942 * examples/controller/.cvsignore:
8943 * examples/controller/Makefile.am:
8944 * examples/controller/audio-example.c: (main):
8945 * libs/gst/Makefile.am:
8946 * libs/gst/controller/.cvsignore:
8947 * libs/gst/controller/Makefile.am:
8948 * libs/gst/controller/gst-controller.c:
8949 (on_object_controlled_property_changed), (gst_timed_value_compare),
8950 (gst_timed_value_find),
8951 (gst_controlled_property_set_interpolation_mode),
8952 (gst_controlled_property_new), (gst_controlled_property_free),
8953 (gst_controller_find_controlled_property),
8954 (gst_controller_new_valist), (gst_controller_new),
8955 (gst_controller_remove_properties_valist),
8956 (gst_controller_remove_properties), (gst_controller_set),
8957 (gst_controller_set_from_list), (gst_controller_unset),
8958 (gst_controller_get), (gst_controller_get_all),
8959 (gst_controller_sink_values), (gst_controller_get_value_arrays),
8960 (gst_controller_get_value_array),
8961 (gst_controller_set_interpolation_mode),
8962 (_gst_controller_finalize), (_gst_controller_init),
8963 (_gst_controller_class_init), (gst_controller_get_type):
8964 * libs/gst/controller/gst-controller.h:
8965 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
8966 (g_object_uncontrol_properties), (g_object_get_controller),
8967 (g_object_set_controller), (g_object_sink_values),
8968 (g_object_get_value_arrays), (g_object_get_value_array):
8969 * libs/gst/controller/gst-interpolation.c:
8970 (gst_controlled_property_find_timed_value_node),
8971 (interpolate_none_get), (interpolate_trigger_get),
8972 (interpolate_trigger_get_value_array):
8973 * libs/gst/controller/lib.c: (gst_controller_init):
8974 * pkgconfig/Makefile.am:
8975 * pkgconfig/gstreamer-control-uninstalled.pc.in:
8976 * pkgconfig/gstreamer-control.pc.in:
8977 * testsuite/Makefile.am:
8978 * testsuite/controller/.cvsignore:
8979 * testsuite/controller/Makefile.am:
8980 * testsuite/controller/interpolator.c: (main):
8981 added controller code
8982 removed dparam pc files
8984 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8985 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
8986 (gst_collectpads_stop):
8987 Broadcast the condition when shutting down, to make sure we wake all
8988 threads up. Shut down pads on finalize, for safety.
8990 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
8991 * gst/base/gstbasetransform.c: (gst_base_transform_init),
8992 (gst_base_transform_handle_buffer),
8993 (gst_base_transform_change_state):
8994 Handle PAUSED->READY->PAUSED transition after negotiation
8996 * gst/gstmessage.c: (gst_message_init):
8997 Extra piece of debug for new messages.
8999 2005-08-01 Stefan Kost <ensonic@users.sf.net>
9002 * docs/gst/tmpl/gstbasesrc.sgml:
9003 * docs/gst/tmpl/gstelement.sgml:
9004 * docs/gst/tmpl/gstevent.sgml:
9005 * docs/gst/tmpl/gstfakesrc.sgml:
9006 * docs/gst/tmpl/gstformat.sgml:
9007 * docs/gst/tmpl/gstghostpad.sgml:
9008 * docs/gst/tmpl/gstpad.sgml:
9009 * docs/gst/tmpl/gstquery.sgml:
9010 * docs/gst/tmpl/gststructure.sgml:
9011 * docs/gst/tmpl/gsttaglist.sgml:
9012 * docs/gst/tmpl/gstvalue.sgml:
9013 * docs/libs/gstreamer-libs-docs.sgml:
9014 * docs/libs/gstreamer-libs-sections.txt:
9015 * docs/libs/gstreamer-libs.types:
9016 * libs/gst/Makefile.am:
9017 * libs/gst/control/.cvsignore:
9018 * libs/gst/control/Makefile.am:
9019 * libs/gst/control/control.c:
9020 * libs/gst/control/control.h:
9021 * libs/gst/control/dparam.c:
9022 * libs/gst/control/dparam.h:
9023 * libs/gst/control/dparam_smooth.c:
9024 * libs/gst/control/dparam_smooth.h:
9025 * libs/gst/control/dparamcommon.h:
9026 * libs/gst/control/dparammanager.c:
9027 * libs/gst/control/dparammanager.h:
9028 * libs/gst/control/dplinearinterp.c:
9029 * libs/gst/control/dplinearinterp.h:
9030 * libs/gst/control/unitconvert.c:
9031 * libs/gst/control/unitconvert.h:
9032 * testsuite/Makefile.am:
9033 * testsuite/dynparams/.cvsignore:
9034 * testsuite/dynparams/Makefile.am:
9035 * testsuite/dynparams/dparamstest.c:
9036 * tools/Makefile.am:
9037 * tools/gst-inspect.c: (print_element_info), (main):
9038 * tools/gst-xmlinspect.c: (print_element_info), (main):
9039 deactivate and remove dparams (libgstcontrol)
9041 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
9043 * gst/elements/gsttypefindelement.c:
9044 (gst_type_find_element_have_type), (gst_type_find_element_init),
9045 (stop_typefinding), (gst_type_find_element_handle_event),
9046 (gst_type_find_element_chain), (gst_type_find_element_getrange):
9047 * gst/elements/gsttypefindelement.h:
9048 Set caps on all outgoing buffers, not just the first one.
9050 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
9052 * gst/elements/gsttypefindelement.c:
9053 (gst_type_find_element_have_type),
9054 (gst_type_find_element_check_set_buffer_caps),
9055 (gst_type_find_element_init), (stop_typefinding),
9056 (gst_type_find_element_handle_event),
9057 (gst_type_find_element_chain), (gst_type_find_element_getrange):
9058 * gst/elements/gsttypefindelement.h:
9059 Set caps on first outgoing buffer when we've found the type.
9061 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
9063 * docs/gst/gstreamer-docs.sgml:
9064 * docs/gst/gstreamer-sections.txt:
9065 * docs/gst/tmpl/gstscheduler.sgml:
9066 * docs/gst/tmpl/gstschedulerfactory.sgml:
9067 Remove some old cruft from docs.
9069 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
9072 Fix inline docs for GstPadLinkReturn.
9074 * gst/gststructure.c: (gst_structure_has_name):
9075 * gst/gststructure.h:
9076 * docs/gst/gstreamer-sections.txt:
9077 New API: gst_structure_has_name().
9079 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
9082 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
9083 and _LARGEFILE_SOURCE in config.h as required. Do not
9084 export those flags in our .pc files any longer (#142209).
9086 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
9088 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
9089 (gst_file_sink_do_seek), (gst_file_sink_event),
9090 (gst_file_sink_get_current_offset), (gst_file_sink_render):
9091 Redo seek/tell calls with large file support in mind; add some
9092 debugging messages; add log message that tells us when large
9093 file support is unavailable or not enabled for some reason.
9095 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
9096 Add log message that tells us when large file support
9097 is unavailable or not enabled for some reason.
9099 2005-07-29 Wim Taymans <wim@fluendo.com>
9101 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9102 Added test for removing an element with ghostpad from a bin.
9103 Fixed test as current implementation does the right thing.
9105 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
9106 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
9107 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
9108 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
9109 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
9110 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
9111 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
9112 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
9113 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
9114 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
9115 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
9116 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
9117 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
9118 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
9119 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
9120 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
9121 * gst/gstghostpad.h:
9122 Clean up ghostpads, remove properties for internal stuff.
9125 Prepare for switching targets, not all use cases work yet.
9127 2005-07-29 Wim Taymans <wim@fluendo.com>
9129 * docs/design/part-gstghostpad.txt:
9132 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
9133 (gst_bin_remove_func):
9134 Unlinking pads while holding the bin LOCK is not a good
9137 * gst/gstpad.c: (gst_pad_class_init),
9138 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
9139 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
9140 No prob setting template after creating the pad.
9142 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
9144 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
9145 (gst_bus_peek), (gst_bus_source_dispatch),
9146 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
9147 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
9148 gst_bus_poll may be called from other threads. Handle
9149 this nicely by not making poll_data disappear off the
9150 stack once gst_bus_poll returns.
9151 gst_bus_peek now increments the refcount on the returned
9154 2005-07-29 Wim Taymans <wim@fluendo.com>
9156 * docs/design/part-gstghostpad.txt:
9157 Overview of current GhostPad datastructures and use
9158 cases for changing the target.
9160 2005-07-28 Wim Taymans <wim@fluendo.com>
9162 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
9163 Added checks for hierarchy consistency whan adding linked
9166 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9167 Added check to test element scheduling without bin/pipeline.
9169 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9170 First add elements to bin, then link.
9172 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
9173 (gst_bin_remove_func):
9174 Unlink pads from elements added/removed from bin to maintain
9175 hierarchy consistency.
9177 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9179 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
9180 (gst_base_transform_handle_buffer):
9181 * gst/base/gstbasetransform.h:
9182 Remove broken delay_configure (fixes renegotiation of software
9183 scaling pipelines); remove some leftover printf()s.
9185 2005-07-28 Wim Taymans <wim@fluendo.com>
9187 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9188 Added some more tests for wrong hierarchy
9190 * docs/design/part-overview.txt:
9193 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
9196 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
9197 (gst_element_dispose):
9200 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
9201 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
9202 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9203 (gst_pad_set_caps), (gst_pad_send_event):
9204 Check for correct hierarchy when linking pads. Moving to
9205 strict requirement for ghostpads when linking elements in
9209 Clean ups. Added WRONG_HIERARCHY return value.
9211 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9213 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9214 Better debug if no transform is possible.
9216 2005-07-27 Wim Taymans <wim@fluendo.com>
9218 * docs/random/wtay/network-transp:
9221 2005-07-27 Wim Taymans <wim@fluendo.com>
9223 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9224 (gst_dp_event_from_packet):
9225 Fix serialization of seek events.
9227 2005-07-27 Wim Taymans <wim@fluendo.com>
9229 * check/gst-libs/gdp.c: (GST_START_TEST):
9230 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9231 Fix compilation and fix event serialization.
9233 2005-07-27 Wim Taymans <wim@fluendo.com>
9236 * docs/design/part-TODO.txt:
9237 * docs/design/part-events.txt:
9240 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9241 (gst_base_sink_event), (gst_base_sink_do_sync),
9242 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
9243 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9244 (gst_base_src_do_seek), (gst_base_src_event_handler),
9245 (gst_base_src_loop):
9246 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9247 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9248 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9249 (gst_base_transform_event), (gst_base_transform_handle_buffer),
9250 (gst_base_transform_set_passthrough),
9251 (gst_base_transform_is_passthrough):
9252 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
9253 * gst/elements/gstfilesink.c: (gst_file_sink_event):
9259 * gst/gstelement.c: (gst_element_seek):
9261 Update gst_element_seek.
9263 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
9264 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
9265 (gst_event_new_flush_start), (gst_event_new_flush_stop),
9266 (gst_event_new_eos), (gst_event_new_newsegment),
9267 (gst_event_parse_newsegment), (gst_event_new_tag),
9268 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
9269 (gst_event_parse_qos), (gst_event_new_seek),
9270 (gst_event_parse_seek), (gst_event_new_navigation):
9272 Make GstEvent use GstStructure. Add parsing code, make sure the
9273 API is sufficiently generic.
9274 Mark possible directions of events and serialization.
9276 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
9277 (_gst_message_copy), (gst_message_new_segment_start),
9278 (gst_message_new_segment_done), (gst_message_new_custom),
9279 (gst_message_parse_segment_start),
9280 (gst_message_parse_segment_done):
9283 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9284 (gst_pad_set_caps), (gst_pad_send_event):
9285 Update for new events.
9286 Catch events sent in wrong directions.
9288 * gst/gstqueue.c: (gst_queue_link_src),
9289 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
9290 (gst_queue_handle_src_query):
9295 Remove event code from this file.
9297 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
9298 (gst_dp_event_from_packet):
9301 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9303 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
9304 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9305 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
9306 Make debugging actually useful.
9308 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9310 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
9311 (gst_pad_fixate_caps):
9312 Implement default fixation once again, so that gst_pad_fixate()
9313 actually does anything at all. This probably needs to be some
9314 sort of a last resort, and use profile-based fixation first, but
9315 since that doesn't exist yet, this is the best we have. Fixes
9316 visualization in Totem.
9318 2005-07-22 Wim Taymans <wim@fluendo.com>
9320 * docs/design/part-events.txt:
9323 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9324 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
9325 (gst_base_sink_activate_pull):
9328 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
9329 (gst_fake_src_create):
9330 Fix handoff marshall.
9332 * gst/elements/gstidentity.c: (gst_identity_class_init),
9333 (gst_identity_transform_ip):
9334 We're a real inplace element.
9336 * gst/gstbus.c: (gst_bus_post):
9337 Added some comments.
9339 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
9340 * tests/muxing/case1.c: (main):
9341 * tests/sched/dynamic-pipeline.c: (main):
9342 * tests/sched/interrupt1.c: (main):
9343 * tests/sched/interrupt2.c: (main):
9344 * tests/sched/interrupt3.c: (main):
9345 * tests/sched/runxml.c: (main):
9346 * tests/sched/sched-stress.c: (main):
9347 * tests/seeking/seeking1.c: (event_received), (main):
9348 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
9350 * tests/threadstate/threadstate3.c: (main):
9351 * tests/threadstate/threadstate4.c: (main):
9352 * tests/threadstate/threadstate5.c: (main):
9355 2005-07-21 Wim Taymans <wim@fluendo.com>
9357 * docs/design/part-seeking.txt:
9358 Some small additions.
9360 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9361 (gst_base_sink_get_times), (gst_base_sink_do_sync),
9362 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
9363 * gst/base/gstbasesink.h:
9364 discont values are gint64, handle the math correctly.
9366 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9367 Make the basesrc report error if the source pad is not linked.
9369 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
9370 (gst_queue_loop), (gst_queue_handle_src_query),
9371 (gst_queue_src_activate_push):
9372 Make queue collect data even if the srcpad is not linked.
9373 Start pushing out data as soon as it is linked.
9375 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
9377 Added gst_flow_get_name() to ease error reporting.
9379 2005-07-20 Wim Taymans <wim@fluendo.com>
9381 * gst/gstmessage.c: (gst_message_new_segment_start),
9382 (gst_message_new_segment_done), (gst_message_parse_segment_start),
9383 (gst_message_parse_segment_done):
9385 Added a bunch of messages for advanced seeking.
9387 * gst/parse/grammar.y:
9388 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
9389 (gst_dpman_state_changed):
9390 Fix some new-pad -> pad-added signals
9392 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9394 * docs/manual/appendix-porting.xml:
9395 * docs/pwg/appendix-porting.xml:
9396 Document new-pad/state-change signal renames and the FixedList
9399 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9401 * docs/manual/advanced-autoplugging.xml:
9402 * docs/manual/basics-helloworld.xml:
9403 * docs/manual/basics-pads.xml:
9404 * docs/random/ds/0.9-suggested-changes:
9405 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
9410 * gst/gststructure.c: (gst_structure_value_get_generic_type),
9411 (gst_structure_parse_array), (gst_structure_parse_value):
9412 * gst/gstvalue.c: (gst_type_is_fixed),
9413 (gst_value_list_prepend_value), (gst_value_list_append_value),
9414 (gst_value_list_get_size), (gst_value_list_get_value),
9415 (gst_value_transform_array_string), (gst_value_serialize_array),
9416 (gst_value_deserialize_array), (gst_value_intersect_array),
9417 (gst_value_is_fixed), (_gst_value_initialize):
9419 GstElement::new-pad -> pad-added, GstElement::state-change ->
9420 state-changed, GstValueFixedList -> GstValueArray, add format and
9421 flags as their own arguments in gst_element_seek() (should improve
9422 "bindeability"), remove function generators since they don't work
9423 under a whole bunch of compilers (they were deprecated already
9426 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9428 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
9429 (_gst_debug_register_funcptr):
9431 Fix illegal cast on some platforms (#309253).
9433 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9435 * gst/gstmessage.c: (gst_message_new_custom):
9437 Add _new_custom, make _new_application a macro to _new_custom.
9439 2005-07-20 Wim Taymans <wim@fluendo.com>
9441 * gst/base/gstbasesrc.c: (gst_base_src_init),
9442 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
9443 * gst/base/gstbasesrc.h:
9444 Add a gboolean to decide when to push out a discont.
9446 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
9447 (gst_queue_loop), (gst_queue_handle_src_query),
9448 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
9449 (gst_queue_set_property), (gst_queue_get_property):
9452 * tests/threadstate/threadstate1.c: (main):
9453 Make a thread test compile and run... very silly..
9456 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9458 * docs/manual/appendix-porting.xml:
9459 Mention removal of libgstgconf-0.9.la and existence of gconf
9462 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
9464 * docs/pwg/advanced-clock.xml:
9465 * docs/pwg/appendix-porting.xml:
9466 * docs/pwg/intro-preface.xml:
9467 * docs/pwg/other-base.xml:
9468 * docs/pwg/other-manager.xml:
9469 * docs/pwg/other-nton.xml:
9470 * docs/pwg/other-ntoone.xml:
9471 * docs/pwg/other-oneton.xml:
9473 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
9474 demuxer), remove n-to-n (was never written), fix some code examples
9475 and links and update the porting section to include all this.
9477 2005-07-19 Wim Taymans <wim@fluendo.com>
9479 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
9480 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
9481 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
9482 (gst_queue_src_activate_push), (gst_queue_change_state),
9483 (gst_queue_get_property):
9485 Propagate GstFlowReturn more intelligently upstream and output
9486 an ERROR/EOS when streaming stopped due to fatal error.
9488 2005-07-19 Wim Taymans <wim@fluendo.com>
9490 * tools/gst-launch.c: (check_intr), (event_loop), (main):
9491 Don't block forever for the state change to complete, the
9492 pipeline already did with a sensible timeout.
9494 2005-07-19 Wim Taymans <wim@fluendo.com>
9496 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9497 Make sure we never call the create function is we
9500 2005-07-19 Andy Wingo <wingo@pobox.com>
9502 * gst/parse/parse.l: Attempt to solve bug #172815.
9504 2005-07-19 Wim Taymans <wim@fluendo.com>
9506 * docs/design/part-clocks.txt:
9507 * docs/design/part-events.txt:
9508 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
9510 Only update the seeking values when we are not
9513 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
9515 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9516 Oops, ignore the result of gst_pad_push_event here.
9518 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
9520 * gst/base/gstbasesrc.c: (gst_base_src_loop),
9521 (gst_base_src_activate_push):
9522 Send discont event from the loop function, as pads
9523 aren't activated yet in the activate_push handler.
9525 * gst/gstbin.c: (bin_bus_handler):
9526 Don't leak element name.
9528 2005-07-18 Andy Wingo <wingo@pobox.com>
9530 * configure.ac: Use AS_LIBTOOL_TAGS.
9532 2005-07-18 Wim Taymans <wim@fluendo.com>
9534 * docs/gst/gstreamer.types:
9535 Remove deleted types.
9537 2005-07-18 Wim Taymans <wim@fluendo.com>
9539 * check/elements/gstfakesrc.c: (GST_START_TEST):
9542 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
9543 (init_popt_callback):
9545 * gst/gst_private.h:
9546 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
9547 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
9550 * gst/gstconfig.h.in:
9551 * gst/gstelement.c: (gst_element_class_init),
9552 (gst_element_set_base_time), (gst_element_get_base_time),
9553 (iterator_fold_with_resync), (gst_element_change_state),
9554 (gst_element_dispose), (gst_element_get_bus):
9556 * gst/gstelementfactory.h:
9557 * gst/gsterror.c: (_gst_core_errors_init):
9560 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9562 * gst/gstinfo.c: (_gst_debug_init):
9563 * gst/gstmessage.c: (_gst_message_copy):
9565 * gst/gstminiobject.h:
9568 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9569 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
9572 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
9573 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9574 (gst_pipeline_get_last_stream_time):
9575 * gst/gstpipeline.h:
9576 * gst/gstpluginfeature.h:
9578 * gst/gstscheduler.c:
9579 * gst/gstscheduler.h:
9580 * gst/gststructure.h:
9581 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
9582 (gst_task_finalize), (gst_task_func), (gst_task_create),
9583 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
9584 (gst_task_stop), (gst_task_pause):
9586 * gst/gsttypefind.h:
9588 * gst/registries/gstlibxmlregistry.c: (load_feature),
9589 (gst_xml_registry_load), (gst_xml_registry_save_feature):
9590 * gst/registries/gstxmlregistry.c:
9591 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
9592 * gst/schedulers/threadscheduler.c:
9593 * libs/gst/control/dparammanager.h:
9594 * tools/gst-inspect.c: (print_element_list),
9595 (print_plugin_features), (print_element_features):
9596 * tools/gst-xmlinspect.c: (print_element_list),
9597 (print_plugin_info), (main):
9598 Removed plugable schedulers.
9599 Removed Scheduler/Manager from elements.
9600 Removed gsttypes.h, rearranged includes.
9601 Removed dependency pad<->element, element<>pipeline, and
9602 various others, fix includes.
9603 implement gst_pad_get_parent() with gst_object_get_parent()
9604 Make GstTask sefcontained.
9605 Fix _get_state() on GstBin, it did not return ASYNC with a 0
9607 Fix endless loop in iterator_fold_with_resync.
9610 2005-07-18 Wim Taymans <wim@fluendo.com>
9616 2005-07-18 Wim Taymans <wim@fluendo.com>
9621 2005-07-18 Wim Taymans <wim@fluendo.com>
9627 2005-07-18 Wim Taymans <wim@fluendo.com>
9629 * docs/design/part-dynamic.txt:
9630 * docs/design/part-events.txt:
9631 * docs/design/part-seeking.txt:
9632 Some more docs in the works.
9634 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
9635 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
9636 (gst_base_transform_setcaps), (gst_base_transform_get_size),
9637 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
9638 (gst_base_transform_handle_buffer),
9639 (gst_base_transform_sink_activate_push),
9640 (gst_base_transform_src_activate_pull),
9641 (gst_base_transform_set_passthrough),
9642 (gst_base_transform_is_passthrough):
9645 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
9648 * gst/gstevent.c: (gst_event_finalize):
9651 * gst/gstutils.c: (gst_element_unlink),
9652 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
9653 (gst_pad_proxy_setcaps):
9655 Add _get_parent_element() to get a pads parent as an element.
9657 2005-07-18 Wim Taymans <wim@fluendo.com>
9659 * check/gst/gstbin.c: (GST_START_TEST):
9662 2005-07-18 Wim Taymans <wim@fluendo.com>
9664 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
9665 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
9666 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
9667 (gst_base_sink_event), (gst_base_sink_do_sync),
9668 (gst_base_sink_chain), (gst_base_sink_loop),
9669 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
9670 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
9672 Fix logic for returning ASYNC when not prerolled.
9674 2005-07-18 Wim Taymans <wim@fluendo.com>
9676 * gst/gstqueue.c: (gst_queue_handle_sink_event):
9677 Fix nasty refcount bug.
9679 2005-07-16 Philippe Khalaf <burger@speedy.org>
9681 * gst/elements/gstfdsrc.c:
9682 * gst/elements/gstfdsrc.h:
9683 * gst/elements/gstelements.c:
9684 * gst/elements/Makefile.am:
9685 Ported fdsrc to 0.9.
9687 2005-07-16 Wim Taymans <wim@fluendo.com>
9689 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9690 (gst_base_sink_do_sync):
9693 2005-07-16 Wim Taymans <wim@fluendo.com>
9695 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9696 (gst_base_sink_event), (gst_base_sink_get_times),
9697 (gst_base_sink_do_sync), (gst_base_sink_change_state):
9698 * gst/base/gstbasesink.h:
9699 Store and use discont values when syncing buffers as described
9702 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
9703 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
9704 (gst_base_src_activate_push):
9705 Push discont event when starting.
9707 * gst/elements/gstidentity.c: (gst_identity_transform):
9710 * gst/gstbin.c: (gst_bin_change_state):
9711 Small cleanups in base_time distribution.
9713 * gst/gstelement.c: (gst_element_set_base_time),
9714 (gst_element_get_base_time), (gst_element_change_state):
9716 Added methods for the base_time of the element.
9719 * gst/gstpipeline.c: (gst_pipeline_send_event),
9720 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
9721 (gst_pipeline_get_last_stream_time):
9722 * gst/gstpipeline.h:
9724 Handle seeking as described in design doc, remove stream_time
9726 Cleanups clock and stream_time selection code. Added accessors
9727 for the stream_time.
9730 2005-07-16 Andy Wingo <wingo@pobox.com>
9732 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
9735 2005-07-16 Wim Taymans <wim@fluendo.com>
9737 * check/gst/gstbin.c: (GST_START_TEST):
9738 Make elements silent as the deep_notify refs the
9739 parent, which might make the test fail.
9741 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
9742 Don't hold the lock for too long.
9744 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
9746 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9747 Don't unref the caps we passed to gst_caps_make_writable() after
9748 passing them. gst_caps_make_writable() will do that for us.
9750 2005-07-15 Andy Wingo <wingo@pobox.com>
9752 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
9755 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
9756 own marshalling function for the handoff signal. Properly type the
9757 buffer as a buffer. Fixes some warnings. Should do a more general
9759 (gst_identity_class_init): Plug into the right marshaller.
9761 2005-07-15 Wim Taymans <wim@fluendo.com>
9763 * docs/design/part-TODO.txt:
9764 * docs/design/part-clocks.txt:
9765 * docs/design/part-element-sink.txt:
9766 * docs/design/part-events.txt:
9767 * docs/design/part-gstpipeline.txt:
9768 Updated docs, mostly DISCONT related.
9770 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
9772 * docs/pwg/building-pads.xml:
9773 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
9775 2005-07-15 Andy Wingo <wingo@pobox.com>
9777 * tools/gst-typefind.c: Update, add copyright block.
9779 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
9780 Normalize and truncate caps before fixation.
9783 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
9784 discards all but the first structure from its argument.
9786 2005-07-15 Wim Taymans <wim@fluendo.com>
9788 * gst/base/gstbasetransform.c: (gst_base_transform_init),
9789 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
9790 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
9791 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
9792 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
9793 (gst_base_transform_chain), (gst_base_transform_change_state),
9794 (gst_base_transform_set_passthrough),
9795 (gst_base_transform_is_passthrough):
9796 * gst/base/gstbasetransform.h:
9797 Make passthrough work using the bufferpools.
9798 Changed API a bit, subclasses have to write into a buffer
9799 provided by the base class.
9800 More debug info in nego functions.
9802 * gst/elements/gstidentity.c: (gst_identity_init),
9803 (gst_identity_transform):
9804 Port to new base class.
9806 2005-07-15 Wim Taymans <wim@fluendo.com>
9808 * gst/gstmessage.c: (gst_message_new_state_changed):
9809 * tools/gst-launch.c: (event_loop), (main):
9810 Totally dump messages in -launch with the -m option.
9811 Fix message name for State messages,
9813 2005-07-14 Wim Taymans <wim@fluendo.com>
9815 * gst/base/gstbasesrc.c: (gst_base_src_loop):
9816 Post error messages on errors.
9818 2005-07-14 Wim Taymans <wim@fluendo.com>
9820 * gst/gstcaps.c: (gst_caps_do_simplify):
9824 Define error for stream stopped.
9826 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
9827 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
9828 Do proper return values.
9830 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
9831 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
9832 (gst_pad_get_range):
9833 Better return values.
9836 Reorganise return values, add macro to check for fatal errors.
9838 * gst/gstqueue.c: (gst_queue_chain):
9839 Return proper GstFlowReturn values,
9841 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
9843 * docs/gst/gstreamer-sections.txt:
9844 * docs/gst/gstreamer.types:
9845 * docs/gst/tmpl/gst.sgml:
9846 * docs/gst/tmpl/gstbasesink.sgml:
9847 * docs/gst/tmpl/gstbasesrc.sgml:
9848 * docs/gst/tmpl/gstbasetransform.sgml:
9849 * docs/gst/tmpl/gstbin.sgml:
9850 * docs/gst/tmpl/gstbuffer.sgml:
9851 * docs/gst/tmpl/gstcaps.sgml:
9852 * docs/gst/tmpl/gstclock.sgml:
9853 * docs/gst/tmpl/gstcompat.sgml:
9854 * docs/gst/tmpl/gstconfig.sgml:
9855 * docs/gst/tmpl/gstelement.sgml:
9856 * docs/gst/tmpl/gstelementdetails.sgml:
9857 * docs/gst/tmpl/gstelementfactory.sgml:
9858 * docs/gst/tmpl/gstenumtypes.sgml:
9859 * docs/gst/tmpl/gsterror.sgml:
9860 * docs/gst/tmpl/gstevent.sgml:
9861 * docs/gst/tmpl/gstfakesink.sgml:
9862 * docs/gst/tmpl/gstfakesrc.sgml:
9863 * docs/gst/tmpl/gstfilesink.sgml:
9864 * docs/gst/tmpl/gstfilesrc.sgml:
9865 * docs/gst/tmpl/gstfilter.sgml:
9866 * docs/gst/tmpl/gstformat.sgml:
9867 * docs/gst/tmpl/gstghostpad.sgml:
9868 * docs/gst/tmpl/gstimplementsinterface.sgml:
9869 * docs/gst/tmpl/gstindex.sgml:
9870 * docs/gst/tmpl/gstindexfactory.sgml:
9871 * docs/gst/tmpl/gstinfo.sgml:
9872 * docs/gst/tmpl/gstiterator.sgml:
9873 * docs/gst/tmpl/gstmacros.sgml:
9874 * docs/gst/tmpl/gstmemchunk.sgml:
9875 * docs/gst/tmpl/gstminiobject.sgml:
9876 * docs/gst/tmpl/gstobject.sgml:
9877 * docs/gst/tmpl/gstpad.sgml:
9878 * docs/gst/tmpl/gstpadtemplate.sgml:
9879 * docs/gst/tmpl/gstparse.sgml:
9880 * docs/gst/tmpl/gstpipeline.sgml:
9881 * docs/gst/tmpl/gstplugin.sgml:
9882 * docs/gst/tmpl/gstpluginfeature.sgml:
9883 * docs/gst/tmpl/gstquery.sgml:
9884 * docs/gst/tmpl/gstqueue.sgml:
9885 * docs/gst/tmpl/gstregistry.sgml:
9886 * docs/gst/tmpl/gstregistrypool.sgml:
9887 * docs/gst/tmpl/gstscheduler.sgml:
9888 * docs/gst/tmpl/gstschedulerfactory.sgml:
9889 * docs/gst/tmpl/gststructure.sgml:
9890 * docs/gst/tmpl/gstsystemclock.sgml:
9891 * docs/gst/tmpl/gsttaglist.sgml:
9892 * docs/gst/tmpl/gsttagsetter.sgml:
9893 * docs/gst/tmpl/gsttrace.sgml:
9894 * docs/gst/tmpl/gsttrashstack.sgml:
9895 * docs/gst/tmpl/gsttypefind.sgml:
9896 * docs/gst/tmpl/gsttypefindfactory.sgml:
9897 * docs/gst/tmpl/gsttypes.sgml:
9898 * docs/gst/tmpl/gsturihandler.sgml:
9899 * docs/gst/tmpl/gsturitype.sgml:
9900 * docs/gst/tmpl/gstutils.sgml:
9901 * docs/gst/tmpl/gstvalue.sgml:
9902 * docs/gst/tmpl/gstversion.sgml:
9903 * docs/gst/tmpl/gstxml.sgml:
9904 * docs/libs/tmpl/gstcontrol.sgml:
9905 * docs/libs/tmpl/gstdataprotocol.sgml:
9906 * docs/libs/tmpl/gstdparam.sgml:
9907 * docs/libs/tmpl/gstdplinint.sgml:
9908 * docs/libs/tmpl/gstdpman.sgml:
9909 * docs/libs/tmpl/gstdpsmooth.sgml:
9910 * docs/libs/tmpl/gstgetbits.sgml:
9911 * docs/libs/tmpl/gstunitconvert.sgml:
9912 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
9913 (gst_push_src_base_init), (gst_push_src_class_init),
9914 (gst_push_src_init), (gst_push_src_create):
9915 * gst/base/gstpushsrc.h:
9916 * gst/elements/gstelements.c:
9917 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
9918 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
9919 (gst_fake_sink_init), (gst_fake_sink_set_property),
9920 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
9921 (gst_fake_sink_event), (gst_fake_sink_preroll),
9922 (gst_fake_sink_render), (gst_fake_sink_change_state):
9923 * gst/elements/gstfakesink.h:
9924 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9925 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
9926 (gst_fake_src_base_init), (gst_fake_src_class_init),
9927 (gst_fake_src_init), (gst_fake_src_event_handler),
9928 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
9929 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
9930 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
9931 (gst_fake_src_create_buffer), (gst_fake_src_create),
9932 (gst_fake_src_start), (gst_fake_src_stop):
9933 * gst/elements/gstfakesrc.h:
9934 * gst/elements/gstfilesink.c: (_do_init),
9935 (gst_file_sink_base_init), (gst_file_sink_class_init),
9936 (gst_file_sink_init), (gst_file_sink_dispose),
9937 (gst_file_sink_set_location), (gst_file_sink_set_property),
9938 (gst_file_sink_get_property), (gst_file_sink_open_file),
9939 (gst_file_sink_close_file), (gst_file_sink_query),
9940 (gst_file_sink_event), (gst_file_sink_render),
9941 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
9942 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
9943 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
9944 * gst/elements/gstfilesink.h:
9945 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
9946 (gst_file_src_class_init), (gst_file_src_init),
9947 (gst_file_src_finalize), (gst_file_src_set_location),
9948 (gst_file_src_set_property), (gst_file_src_get_property),
9949 (gst_file_src_map_region), (gst_file_src_map_small_region),
9950 (gst_file_src_create_mmap), (gst_file_src_create_read),
9951 (gst_file_src_create), (gst_file_src_is_seekable),
9952 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
9953 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
9954 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
9955 (gst_file_src_uri_handler_init):
9956 * gst/elements/gstfilesrc.h:
9957 more autistic cleanliness in functions/names/defines
9959 2005-07-13 Andy Wingo <wingo@pobox.com>
9961 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
9962 source couldn't negotiate.
9964 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
9968 * gst/gstutils.c (gst_element_link_pads_filtered): New old
9969 function. I am channeling Hades. Put your boots on suckers!!!
9971 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
9973 * testsuite/caps/Makefile.am:
9974 * testsuite/caps/value_compare.c:
9975 * testsuite/caps/value_intersect.c:
9976 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9977 move two testsuite apps over to the check dir
9979 2005-07-12 Wim Taymans <wim@fluendo.com>
9981 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
9982 Added more debug info in the negotiate process.
9985 Prepare for segment playback.
9987 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
9993 * tools/gst-launch.c: (main):
9994 NULL pipeline on errors.
9996 2005-07-12 Andy Wingo <wingo@pobox.com>
9998 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
9999 not it comes from a malloc region. Make sure our copy gets freed.
10001 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
10003 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
10004 * check/gst/gstmessage.c: (GST_START_TEST):
10005 * check/gst/gststructure.c: (GST_START_TEST),
10006 (gst_structure_suite), (main):
10008 * gst/gstelement.c: (gst_element_message_full):
10009 clean up GError and debug string now that they get copied
10010 * gst/gstmessage.c: (gst_message_new_error),
10011 (gst_message_new_warning), (gst_message_parse_error),
10012 (gst_message_parse_warning):
10013 use GST_TYPE_G_ERROR for structure_new, and take copies of
10014 arguments, so that we don't mess up refcounting
10016 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
10018 * check/Makefile.am:
10019 add per-test valgrind targets
10020 * check/gst-libs/gdp.c: (GST_START_TEST),
10021 (gst_data_protocol_suite), (main):
10024 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
10026 * check/Makefile.am:
10027 instate more valgrindable tests
10028 * check/elements/gstfakesrc.c: (chain_func), (event_func),
10029 (GST_START_TEST), (fakesrc_suite):
10030 * check/gst/gstpad.c: (GST_START_TEST):
10031 * check/gst/gststructure.c: (GST_START_TEST):
10033 * docs/gst/tmpl/gstminiobject.sgml:
10034 * gst/gstpad.c: (gst_pad_finalize):
10035 fix the static mutex leak
10037 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
10039 * check/Makefile.am:
10040 add two more tests for valgrinding
10041 * check/gst/gstvalue.c: (GST_START_TEST):
10042 test refcount of deserialized buffer, found a leak
10043 * docs/gst/gstreamer-docs.sgml:
10044 * docs/gst/gstreamer-sections.txt:
10045 * docs/gst/gstreamer.types:
10046 * docs/gst/tmpl/gstminiobject.sgml:
10047 add miniobject to docs
10048 * gst/gstminiobject.c:
10050 * gst/gstvalue.c: (gst_value_deserialize_buffer),
10051 (gst_string_unwrap):
10052 fix a hard-to-find invalid write for one of the tests
10053 fix a leak for deserialized buffers
10055 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10057 * docs/pwg/advanced-events.xml:
10058 * docs/pwg/advanced-request.xml:
10059 * docs/pwg/advanced-scheduling.xml:
10060 * docs/pwg/appendix-porting.xml:
10061 * docs/pwg/building-boiler.xml:
10062 * docs/pwg/intro-preface.xml:
10063 * docs/pwg/other-ntoone.xml:
10064 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
10065 of example code and explanation for pad activation, loop() and
10066 getrange() functions and a bit more. Remove old comments pointing
10068 * examples/pwg/Makefile.am:
10069 Add loop/getrange examples.
10071 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
10074 check for valgrind binary + some fixes
10076 valgrind suppressions for the tests
10077 * check/Makefile.am:
10078 add a valgrind: target that valgrinds the unit tests
10079 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
10080 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
10081 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10082 * check/gst/gstghostpad.c:
10084 * check/gst/gstdata.c:
10086 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
10087 (thread_unref), (gst_mini_object_suite), (main):
10089 * gst/gst.c: (gst_deinit):
10091 add a method to clean up.
10092 * gst/gstsystemclock.c: (gst_system_clock_dispose),
10093 (gst_system_clock_obtain):
10094 allow for disposing the system clock.
10095 * tools/gst-launch.c: (main):
10098 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
10100 * docs/gst/tmpl/gstbasesrc.sgml:
10101 * docs/gst/tmpl/gstfakesrc.sgml:
10102 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10103 (gst_base_src_init), (gst_base_src_set_property),
10104 (gst_base_src_get_property), (gst_base_src_get_range),
10105 (gst_base_src_start):
10106 * gst/base/gstbasesrc.h:
10107 add num-buffers property
10108 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10109 (gst_fakesrc_init), (gst_fakesrc_set_property),
10110 (gst_fakesrc_get_property), (gst_fakesrc_create),
10111 (gst_fakesrc_start):
10112 remove num-buffers property
10114 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
10116 * docs/gst/gstreamer-sections.txt:
10117 * docs/gst/tmpl/gstbasesink.sgml:
10118 * docs/gst/tmpl/gstbasesrc.sgml:
10119 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
10120 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
10121 (gst_base_sink_finalize), (gst_base_sink_set_clock),
10122 (gst_base_sink_set_property), (gst_base_sink_get_property),
10123 (gst_base_sink_handle_object), (gst_base_sink_event),
10124 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10125 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
10126 (gst_base_sink_loop), (gst_base_sink_deactivate),
10127 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
10128 (gst_base_sink_change_state):
10129 * gst/base/gstbasesink.h:
10130 * gst/base/gstbasesrc.h:
10131 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
10132 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
10133 (gst_filesink_init):
10134 more macro splitting
10136 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
10138 * gst/gstelement.c: (gst_element_get_bus):
10140 * tools/gst-launch.c: (check_intr), (event_loop):
10143 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
10145 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
10148 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
10150 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10151 (gst_base_src_finalize):
10152 add finalize method and clean up properly
10153 * gst/gstpipeline.c: (gst_pipeline_dispose):
10156 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
10158 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
10160 add more things to check
10161 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
10162 * gst/gstelement.c:
10165 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
10167 * check/elements/gstfakesrc.c: (chain_func), (event_func),
10168 (GST_START_TEST), (fakesrc_suite):
10169 * check/gst-libs/gdp.c: (GST_START_TEST):
10170 * check/gst/gst.c: (GST_START_TEST):
10171 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
10172 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
10173 * check/gst/gstbus.c: (GST_START_TEST):
10174 * check/gst/gstcaps.c: (GST_START_TEST):
10175 * check/gst/gstdata.c: (GST_START_TEST):
10176 * check/gst/gstelement.c: (GST_START_TEST):
10177 * check/gst/gstghostpad.c: (GST_START_TEST):
10178 * check/gst/gstiterator.c: (GST_START_TEST):
10179 * check/gst/gstmessage.c: (GST_START_TEST):
10180 * check/gst/gstobject.c: (GST_START_TEST):
10181 * check/gst/gstpad.c: (GST_START_TEST):
10182 * check/gst/gststructure.c: (GST_START_TEST):
10183 * check/gst/gstsystemclock.c: (GST_START_TEST),
10184 (gst_systemclock_suite):
10185 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
10186 * check/gst/gstvalue.c: (GST_START_TEST):
10187 * check/pipelines/cleanup.c: (GST_START_TEST):
10188 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
10189 * check/states/sinks.c: (GST_START_TEST):
10190 * check/gstcheck.c: (gst_check_init):
10191 * check/gstcheck.h:
10192 add debugging category
10193 use GST_START_TEST now, so we add a debug line
10195 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
10197 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
10198 add test for state change message on a bin
10199 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
10201 * gst/gstbin.c: (gst_bin_init):
10202 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
10203 * gst/gstelement.c: (gst_element_post_message),
10204 (gst_element_set_state):
10205 * gst/gstelementfactory.c: (gst_element_factory_create):
10206 * gst/gstmessage.c: (gst_message_new):
10207 * gst/gstscheduler.c:
10208 various debugging additions and cleanups
10210 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
10212 * check/Makefile.am:
10213 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
10215 adding tests for elements
10216 * gst/gstelement.c: (gst_element_dispose):
10218 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
10220 * gst/registries/gstlibxmlregistry.c: (load_feature):
10221 plug more leaks. A simple gst_init() now is leakfree, yay.
10223 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
10225 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
10226 (gst_xml_registry_load):
10227 plug another memleak
10229 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
10232 use GST_SET_ERROR_CFLAGS
10233 * docs/faq/cvs.xml:
10234 change to ERROR_CFLAGS
10236 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
10239 make GST_ERROR_CFLAGS overridable and re-enable Werror
10240 * docs/faq/cvs.xml:
10241 add a note about error CFLAGS
10242 * docs/gst/tmpl/gstfakesrc.sgml:
10243 * gst/elements/gstfakesrc.c:
10244 comment out some unused code
10245 * gst/gst.c: (split_and_iterate):
10246 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
10250 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
10252 * common/Makefile.am:
10253 * common/gtk-doc.mak:
10254 * docs/gst/Makefile.am:
10255 factor out gtk-doc.mak
10257 2005-07-07 Wim Taymans <wim@fluendo.com>
10259 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
10260 (gst_thread_scheduler_dispose):
10261 Unlock the STREAM_LOCK completely.
10263 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
10265 * check/Makefile.am:
10266 * check/elements/.cvsignore:
10267 * check/elements/gstfakesrc.c: (chain_func), (event_func),
10268 (START_TEST), (fakesrc_suite), (main):
10269 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
10270 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
10271 (gst_fakesrc_create), (gst_fakesrc_start):
10272 * gst/elements/gstfakesrc.h:
10273 adding a first element test
10275 2005-07-07 Andy Wingo <wingo@pobox.com>
10277 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
10280 2005-07-07 Wim Taymans <wim@fluendo.com>
10286 2005-07-07 Wim Taymans <wim@fluendo.com>
10288 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
10289 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
10290 Allow subclasses to implement their own negotiation.
10292 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
10294 * docs/design/part-gstbin.txt:
10295 * docs/design/part-gstpipeline.txt:
10296 Update design notes to reflect the movement of
10297 responsibility for bus handling from GstPipeline to
10300 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
10303 Remove unnecessary queue2/3/4 examples.
10305 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
10307 * examples/Makefile.am:
10308 * examples/helloworld/helloworld.c: (event_loop), (main):
10309 * examples/queue/queue.c: (event_loop), (main):
10310 * examples/queue2/queue2.c: (main):
10311 Update a couple of the examples to work again.
10313 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10314 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
10315 Spelling corrections and extra debug.
10317 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
10318 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
10319 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
10321 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
10322 (gst_pipeline_change_state):
10323 * gst/gstpipeline.h:
10324 Move the bus handler for children to the GstBin, and create a
10325 separate bus for receiving messages from children to the one the
10326 bus sends 'upwards' on.
10328 2005-07-06 Wim Taymans <wim@fluendo.com>
10331 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10332 (gst_base_sink_handle_object), (gst_base_sink_loop),
10333 (gst_base_sink_change_state):
10334 * gst/base/gstbasesink.h:
10335 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10336 (gst_base_src_init), (gst_base_src_setcaps),
10337 (gst_base_src_getcaps), (gst_base_src_loop),
10338 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
10339 (gst_base_src_start), (gst_base_src_change_state):
10340 * gst/base/gstbasesrc.h:
10341 Make basesrc negotiate.
10342 Handle the case where preroll fails in basesink.
10345 2005-07-06 Wim Taymans <wim@fluendo.com>
10347 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
10348 Implement the fixate function.
10349 Clean up acceptcaps.
10351 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10353 * docs/pwg/building-filterfactory.xml:
10354 * docs/pwg/pwg.xml:
10355 Remove never-written filter-factory chapter; I'll add the various
10356 base classes to part 4 ("other element types") later on.
10358 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10360 * docs/pwg/advanced-negotiation.xml:
10361 * docs/pwg/building-boiler.xml:
10362 * docs/pwg/building-pads.xml:
10363 * docs/pwg/pwg.xml:
10364 * examples/pwg/Makefile.am:
10365 Add a chapter on caps negotiation, simplify the original code
10366 samples a bit w.r.t. caps negotiation, add link to the advanced
10367 section. Add a bunch of examples showing different use cases of
10368 different types of caps negotiation. Upstream renegotiation isn't
10369 fully documented yet since nobody knows how that works.
10371 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
10373 * check/gst/gstpad.c:
10374 * check/gstcheck.c:
10375 * gst/gstpad.c: (gst_pad_get_internal_links_default):
10376 if pad has no parent, return NULL as list of internal links
10378 2005-07-05 Andy Wingo <wingo@pobox.com>
10380 * gst/elements/gstfilesrc.c:
10381 * gst/elements/gstfakesrc.c:
10382 * gst/base/gstpushsrc.c:
10383 * gst/base/gstbasesrc.h:
10384 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
10386 2005-07-05 Stefan Kost <ensonic@users.sf.net>
10389 better report generation target (lcov needs a patch)
10391 2005-07-05 Andy Wingo <wingo@pobox.com>
10393 * gst/elements, testsuite: Null if we got it...
10395 2005-07-05 Wim Taymans <wim@fluendo.com>
10398 * libs/gst/dataprotocol/Makefile.am:
10399 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
10400 * libs/gst/dataprotocol/dataprotocol.h:
10401 * pkgconfig/Makefile.am:
10402 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
10403 * pkgconfig/gstreamer-dataprotocol.pc.in:
10404 Ported dataprotol to 0.9.
10405 Added pkgconfig files.
10407 2005-07-05 Andy Wingo <wingo@pobox.com>
10409 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
10410 Default to returning TRUE for the case when tranform_caps returns
10411 a fixed caps, like for identity or volume.
10413 * check/gst/gstbus.c (pound_bus_with_messages):
10414 * check/gst/gstmessage.c (START_TEST):
10415 * check/pipelines/simple_launch_lines.c (got_handoff): Application
10416 message API change.
10418 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
10419 logic weaks here: always run transform_caps, trying passthrough
10420 operation only if the original caps intersects with the transform.
10422 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
10423 source and sink caps.
10425 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
10426 Intersect the peer caps with the pad template before going into
10428 (gst_base_transform_transform_caps): More debugging.
10430 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
10433 2005-07-04 Edward Hervey <edward@fluendo.com>
10437 (gst_pad_add_*_probe): now returns the signal id for better wrapping
10440 2005-07-04 Andy Wingo <wingo@pobox.com>
10442 * check/gst/gstpad.c: Only set explicit caps on pads.
10444 2005-07-01 Andy Wingo <wingo@pobox.com>
10446 * tests/network-clock.scm: Commentary update.
10448 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
10449 Didn't really make sense, not implementable with basetransform,
10451 (gst_identity_transform): Unref inbuf via make_writable. Feeble
10452 attempt at implementing the sync property, needs an unlock method.
10454 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
10455 New func, by default returns the same caps (the identity
10457 (gst_base_transform_getcaps): Uses transform_caps to return
10458 something sensible.
10459 (gst_base_transform_setcaps): Complicated logic to get caps on
10460 both pads, even if they are different, and to call set_caps once
10461 for every time both pads get their caps set.
10462 (gst_base_transform_handle_buffer): Give the ref to the transform
10463 function. Allows in-place modification of the buffer.
10465 * gst/base/gstbasetransform.h (transform_caps): New class method.
10466 Given caps on one side, what can I do on the other.
10467 (set_caps): Take two caps, one for each side of the element.
10470 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
10471 caps in place. This is safe because we can check the mutability of
10472 the caps, and a good idea because fixate functions are just called
10473 as a matter of last resort. (Not actually implemented.)
10474 (gst_pad_set_caps): If the caps we're setting is actually the same
10475 as the existing pad caps, just update the pointer without calling
10476 setcaps. Assert that caps is either NULL or fixed, as per the
10479 * gst/gstghostpad.c: Update for fixate changes.
10481 2005-07-02 Andy Wingo <wingo@pobox.com>
10484 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
10485 two refcounts makes it immutable, which is enough. Doc more.
10487 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
10489 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
10490 Put the mini_object into GValue as a mini_object,
10491 not a gpointer, since that's how we declared
10494 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10496 * examples/pwg/Makefile.am:
10497 Fix buildbot again.
10499 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10501 * docs/pwg/building-testapp.xml:
10503 * examples/pwg/Makefile.am:
10506 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10509 * examples/Makefile.am:
10510 * examples/pwg/Makefile.am:
10511 * examples/pwg/extract.pl:
10512 Enable building the PWG examples.
10513 * docs/pwg/advanced-interfaces.xml:
10514 Add URI interface stub.
10515 * docs/pwg/advanced-types.xml:
10516 * docs/pwg/other-autoplugger.xml:
10517 * docs/pwg/appendix-porting.xml:
10518 * docs/pwg/pwg.xml:
10519 Add porting guide (mostly stubs), remove autoplugging (see ADM).
10520 * docs/pwg/building-boiler.xml:
10521 * docs/pwg/building-chainfn.xml:
10522 * docs/pwg/building-pads.xml:
10523 * docs/pwg/building-props.xml:
10524 * docs/pwg/building-state.xml:
10525 * docs/pwg/building-testapp.xml:
10526 Update the building-*.xml parts for 0.9 changes. All examples
10527 code blocks compile in examples/pwg/*.
10529 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10531 * docs/manual/advanced-autoplugging.xml:
10532 * docs/manual/appendix-checklist.xml:
10533 * docs/manual/appendix-integration.xml:
10534 * docs/manual/highlevel-components.xml:
10535 Fix playbin/decodebin examples, update docs a bit, mention bus
10536 instead of signals in various places, mention kmplayer and
10537 kaffeine since they have a working GStreamer backend in the KDE
10540 2005-06-30 Wim Taymans <wim@fluendo.com>
10543 * docs/design/draft-ghostpads.txt:
10544 * docs/design/draft-push-pull.txt:
10545 * docs/design/draft-query.txt:
10546 * docs/design/part-TODO.txt:
10547 * docs/design/part-query.txt:
10548 Added CHANGES-0.9 doc, updated status of other docs.
10553 2005-06-30 Wim Taymans <wim@fluendo.com>
10555 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10556 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
10557 (gst_base_sink_change_state):
10558 * gst/base/gstbasesink.h:
10559 Some tweaks, only EOS and a buffer complete a preroll.
10561 2005-06-30 Andy Wingo <wingo@pobox.com>
10563 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
10564 activate_push down to the internal pad as well.
10566 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
10568 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10570 * gst/gsttaginterface.c:
10571 Some documentation fixes (#307394 and #307397).
10573 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
10575 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10577 * gst/gstvalue.c: (gst_value_intersect_list):
10578 Fix memleak (#309125).
10580 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10582 * docs/manual/advanced-dataaccess.xml:
10583 Fix fakesrc example to compile; doesn't work, bug somewhere...?
10584 * docs/manual/basics-pads.xml:
10585 Add reference for filtered caps to above chapter.
10587 2005-06-30 Wim Taymans <wim@fluendo.com>
10589 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
10590 (gst_bin_change_state):
10592 Lame attempt at making the state change function a bit
10595 2005-06-30 Wim Taymans <wim@fluendo.com>
10597 * docs/design/part-clocks.txt:
10598 * docs/design/part-element-sink.txt:
10599 * docs/design/part-events.txt:
10600 * docs/design/part-preroll.txt:
10601 * docs/design/part-states.txt:
10602 Some more tweeks and additions to the docs.
10604 2005-06-30 Wim Taymans <wim@fluendo.com>
10606 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10607 (default_have_data), (gst_pad_class_init), (gst_pad_init),
10608 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10609 (gst_pad_check_pull_range), (gst_pad_get_range),
10610 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
10612 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
10613 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10614 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10615 (gst_pad_remove_buffer_probe):
10616 Removed atomic operations, use existing LOCK.
10617 Move exception handling out of main code path.
10619 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10621 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10622 (silly_return_true_function), (gst_pad_class_init),
10623 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
10624 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
10625 (gst_pad_send_event):
10626 Fix accumulator, add default value by using _emitv() instead
10627 of _emit() for signal emission.
10629 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10631 * docs/manual/advanced-dataaccess.xml:
10632 * examples/manual/Makefile.am:
10634 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
10637 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
10639 * gst/elements/gstfilesink.c: (gst_filesink_render):
10640 Simplify code so that we don't have to handle short
10641 writes and return GST_FLOW_ERROR if an error occured.
10643 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10645 * docs/gst/gstreamer-docs.sgml:
10646 Remove probes more.
10648 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10650 * docs/gst/gstreamer-sections.txt:
10651 * docs/gst/tmpl/gstpad.sgml:
10652 * docs/gst/tmpl/gstprobe.sgml:
10654 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
10655 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
10656 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
10657 (gst_pad_push_event), (gst_pad_send_event):
10659 * gst/gstutils.c: (gst_pad_add_data_probe),
10660 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
10661 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
10662 (gst_pad_remove_buffer_probe):
10664 Remove old probes, add new g-signal-based probes and some utility
10667 2005-06-29 Edward Hervey <edward@fluendo.com>
10669 * gst/gstelementfactory.c:
10672 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
10673 the definition to the header file.
10675 2005-06-29 Andy Wingo <wingo@pobox.com>
10677 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
10678 plugins from the source directory.
10680 2005-06-29 Wim Taymans <wim@fluendo.com>
10682 * docs/gst/tmpl/gstbuffer.sgml:
10683 * docs/gst/tmpl/gstclock.sgml:
10684 Some fixings for blantently wrong text.
10686 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10688 * check/Makefile.am:
10689 * gst/gst.c: (add_path_func), (init_pre):
10690 * gst/gstregistry.c: (gst_registry_add_path):
10691 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
10692 only scan the GST_PLUGIN_PATH locations, and not add
10695 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
10697 * docs/gst/gstreamer-sections.txt:
10698 * docs/gst/tmpl/gstbasesrc.sgml:
10699 * gst/gstelement.c:
10700 * gst/gstelement.h:
10705 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10707 * docs/manual/advanced-autoplugging.xml:
10708 Fix autoplugging example.
10710 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10712 * docs/manual/advanced-autoplugging.xml:
10713 * docs/manual/mime-world.fig:
10714 Try to get autoplugging working, fix type detection. Fix text
10715 in hello-world image.
10717 2005-06-29 Wim Taymans <wim@fluendo.com>
10719 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10720 (gst_base_sink_change_state):
10724 map SIGNAL and BROADCAST to the right function.
10727 Remove redundant braces.
10729 * gst/gstpad.c: (gst_pad_set_caps):
10730 Don't call setcaps function when reseting caps to NULL.
10732 * gst/gstsystemclock.c: (gst_system_clock_dispose),
10733 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
10734 (gst_system_clock_id_unschedule):
10735 Use BROADCAST as this is what we do.
10737 2005-06-29 Wim Taymans <wim@fluendo.com>
10739 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10740 We are actually prerolling before commiting the state
10743 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
10745 * docs/manual/advanced-clocks.xml:
10746 * docs/manual/advanced-interfaces.xml:
10747 * docs/manual/advanced-metadata.xml:
10748 * docs/manual/advanced-position.xml:
10749 * docs/manual/advanced-schedulers.xml:
10750 * docs/manual/advanced-threads.xml:
10751 * docs/manual/appendix-porting.xml:
10752 * docs/manual/basics-bins.xml:
10753 * docs/manual/basics-bus.xml:
10754 * docs/manual/basics-elements.xml:
10755 * docs/manual/basics-helloworld.xml:
10756 * docs/manual/basics-pads.xml:
10757 * docs/manual/highlevel-components.xml:
10758 * docs/manual/manual.xml:
10759 * docs/manual/thread.fig:
10760 Update (until threads/scheduling) Application Development Manual;
10761 remove GstThread, add GstBus, add simple porting checklist, add
10762 documentation for tag writing, clocks, make all examples until this
10763 part compile and run.
10764 * examples/manual/Makefile.am:
10765 Update from changes to Application Development Manual; add bus
10766 example, remove thread example.
10768 2005-06-28 Wim Taymans <wim@fluendo.com>
10770 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
10771 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
10772 (gst_bus_source_dispatch):
10773 Add debugging messages.
10774 Make internal methods static.
10775 Handle the case where the bus is flushed in the handler.
10777 * gst/gstelement.c: (gst_element_get_bus):
10778 Fix refcount in _get_bus();
10780 * gst/gstpipeline.c: (gst_pipeline_change_state),
10781 (gst_pipeline_get_clock_func):
10782 Clock refcounting fixes.
10783 Handle the case where preroll timed out more gracefully.
10785 * gst/gstsystemclock.c: (gst_system_clock_dispose):
10786 Clean up the internal thread in dispose. This is needed
10787 for subclasses that actually get disposed.
10789 * gst/schedulers/threadscheduler.c:
10790 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
10791 (gst_thread_scheduler_dispose):
10792 Free thread pool in dispose.
10794 2005-06-28 Andy Wingo <wingo@pobox.com>
10796 * tests/network-clock-utils.scm (debug, print-event): New utils.
10798 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
10799 (*packet-loss*): Unified loss probability.
10800 (network-time): Report out-of-band events.
10802 * tests/plot-data: Add support for out-of-band events. Hack it
10803 into this script instead of passing it down the pipe; should fix
10806 2005-06-28 Wim Taymans <wim@fluendo.com>
10808 * docs/gst/gstreamer.types:
10809 * docs/gst/tmpl/gstbasesrc.sgml:
10810 * docs/gst/tmpl/gstpad.sgml:
10813 2005-06-28 Wim Taymans <wim@fluendo.com>
10815 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10816 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
10817 (gst_proxy_pad_do_fixatecaps):
10818 Correctly proxy the check_pull_range function.
10820 2005-06-28 Andy Wingo <wingo@pobox.com>
10822 * tests/network-clock.scm: Removed need for slib.
10824 2005-06-28 Wim Taymans <wim@fluendo.com>
10826 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
10827 (gst_basesink_preroll_queue_flush):
10828 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
10829 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
10830 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10831 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
10832 (gst_proxy_pad_set_property):
10835 * gst/gstqueue.c: (gst_queue_init):
10836 The deprecated pad loop function is removed now.
10838 2005-06-28 Andy Wingo <wingo@pobox.com>
10840 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
10841 New parameters, simulate network packet loss.
10843 * tests/network-clock-utils.scm: Initialize the RNG.
10845 2005-06-28 Wim Taymans <wim@fluendo.com>
10847 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
10848 (gst_basesink_event), (gst_basesink_deactivate):
10849 Flushing the preroll queue always needs to unlock the waiters.
10851 2005-06-28 Edward Hervey <edward@fluendo.com>
10853 * gst/gstpipeline.c: (gst_pipeline_send_event):
10854 Wheen a seek was successful on a pipeline, set the stream_time to the
10855 seek offset in order to have a synchronized stream_time.
10857 2005-06-28 Wim Taymans <wim@fluendo.com>
10859 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
10860 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10861 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
10862 (gst_proxy_pad_do_fixatecaps):
10863 Call wrapper function instead of just calling the function
10864 pointers. This takes care of any locking and whatmore.
10866 2005-06-28 Wim Taymans <wim@fluendo.com>
10868 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
10869 (gst_pad_pull_range):
10871 CONNECTED -> LINKED.
10873 2005-06-28 Andy Wingo <wingo@pobox.com>
10875 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
10876 source-munging commit!!!
10878 * gst/gstobject.c (gst_object_unref, gst_object_ref)
10879 (gst_object_sink): Take gpointer arguments, not GstObject --
10880 avoids casts. Like GLib.
10882 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
10885 2005-06-27 Andy Wingo <wingo@pobox.com>
10887 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
10890 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
10891 returns a sorted copy of the trace list.
10892 (gst_alloc_trace_print_live): New API, only prints traces with
10893 live objects. Sort the list.
10894 (gst_alloc_trace_print_all): Sort the list.
10895 (gst_alloc_trace_print): Align columns.
10897 * gst/elements/gstttypefindelement.c:
10898 * gst/elements/gsttee.c:
10899 * gst/base/gstbasesrc.c:
10900 * gst/base/gstbasesink.c:
10901 * gst/base/gstbasetransform.c:
10902 * gst/gstqueue.c: Adapt for pad activation changes.
10904 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
10906 (gst_pipeline_dispose): Drop ref on sched.
10908 * gst/gstpad.c (gst_pad_init): Set the default activate func.
10909 (gst_pad_activate_default): Push mode by default.
10910 (pre_activate_switch, post_activate_switch): New stubs, things to
10911 do before and after switching activation modes on pads.
10912 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
10913 the pad's activate function to choose which mode to activate.
10914 Shortcut on deactivation and call the right function directly.
10915 (gst_pad_activate_pull): New API, (de)activates a pad in pull
10917 (gst_pad_activate_push): New API, same for push mode.
10918 (gst_pad_set_activate_function)
10919 (gst_pad_set_activatepull_function)
10920 (gst_pad_set_activatepush_function): Setters for new API.
10922 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
10923 Trace all miniobjects.
10924 (gst_mini_object_make_writable): Unref the arg if we copy, like
10925 gst_caps_make_writable.
10927 * gst/gstmessage.c (_gst_message_initialize): No trace init.
10929 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
10930 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
10931 Adapt for new pad API.
10933 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
10935 * gst/gstelement.h:
10936 * gst/gstelement.c (gst_element_iterate_src_pads)
10937 (gst_element_iterate_sink_pads): New API functions.
10939 * gst/gstelement.c (iterator_fold_with_resync): New utility,
10940 should fold into gstiterator.c in some form.
10941 (gst_element_pads_activate): Simplified via use of fold and
10942 delegation of decisions to gstpad->activate.
10944 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
10947 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
10948 class once in init, like gstmessage. Didn't run into this issue
10949 but it seems correct. Don't initialize a trace, gstminiobject does
10952 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
10953 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
10955 (assert_live_count): New util function, uses alloc traces to check
10958 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
10959 To be modified when unlink drops the internal pad.
10961 2005-06-27 Wim Taymans <wim@fluendo.com>
10963 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
10964 (gst_bin_change_state):
10965 Cleanup the get_state() function a little, make sure it
10966 iterates the same set of elements.
10967 Added stub iterate_state_order().
10969 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
10971 * docs/gst/gstreamer-docs.sgml:
10972 * docs/gst/gstreamer-sections.txt:
10973 * docs/gst/gstreamer.types:
10974 * docs/gst/tmpl/gstbasesink.sgml:
10975 * docs/gst/tmpl/gstbasesrc.sgml:
10976 * docs/gst/tmpl/gstbasetransform.sgml:
10977 * docs/gst/tmpl/gstelement.sgml:
10978 * docs/gst/tmpl/gstiterator.sgml:
10979 * gst/base/gstbasesrc.c:
10980 * gst/base/gstbasesrc.h:
10981 * gst/base/gstbasetransform.h:
10982 * gst/gstelement.c:
10983 * gst/gstiterator.h:
10984 adding basetransform and iterator docs
10986 2005-06-27 Andy Wingo <wingo@pobox.com>
10988 * docs/design/part-activation.txt: Notes on how activation should
10989 work -- not quite implemented yet.
10991 2005-06-25 Wim Taymans <wim@fluendo.com>
10993 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
10994 At least get the chain function correct, needs more
10997 2005-06-25 Wim Taymans <wim@fluendo.com>
10999 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11000 (gst_basesink_handle_object), (gst_basesink_event),
11001 (gst_basesink_do_sync), (gst_basesink_handle_event),
11002 (gst_basesink_change_state):
11004 Right, two problems here: ghostpads don't take locks and
11005 glib _rec_mutex_lock_full() with depth==0 still locks.
11006 Catch illegal locking and g_warn them.
11008 2005-06-25 Wim Taymans <wim@fluendo.com>
11010 * check/states/sinks.c: (START_TEST), (gst_object_suite):
11011 Have to check for completion now...
11013 2005-06-25 Wim Taymans <wim@fluendo.com>
11015 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
11016 (gst_basesink_handle_object), (gst_basesink_event),
11017 (gst_basesink_do_sync), (gst_basesink_handle_event),
11018 (gst_basesink_change_state):
11020 Unlock STREAM_LOCK whatever the recursion was.
11022 2005-06-25 Wim Taymans <wim@fluendo.com>
11024 * gst/base/gstbasesink.c: (gst_basesink_set_property),
11025 (gst_basesink_preroll_queue_empty),
11026 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
11027 (gst_basesink_event), (gst_basesink_do_sync),
11028 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
11029 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
11030 (gst_basesink_change_state):
11031 Reworked the base sink, handle event and buffer serialisation
11032 correctly and removed possible deadlock.
11033 Handle EOS correctly.
11035 2005-06-25 Wim Taymans <wim@fluendo.com>
11037 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
11038 (gst_pipeline_change_state):
11039 * tools/gst-launch.c: (check_intr), (event_loop), (main):
11040 Allow elements to post EOS in the state change function.
11041 Fix up -launch, make it exit the poll loop when the
11042 pipeline actually changed state.
11043 Fix up warning parsing in -launch.
11045 2005-06-25 Wim Taymans <wim@fluendo.com>
11047 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
11048 (gst_tee_sink_activate):
11049 Core takes STREAM_LOCK for us now.
11051 2005-06-25 Wim Taymans <wim@fluendo.com>
11053 * gst/gstelement.c: (gst_element_get_state_func),
11054 (gst_element_set_state):
11055 * gst/gstelement.h:
11056 * gst/gstmessage.c: (gst_message_parse_error),
11057 (gst_message_parse_warning):
11058 Keep track of current target state while performing a state
11059 change so that subclasses can do something interesting.
11060 Fix parsing of warning/error messages when GError is NULL.
11062 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
11064 * docs/gst/Makefile.am:
11065 * docs/gst/gstreamer-docs.sgml:
11066 * docs/gst/gstreamer-sections.txt:
11067 * docs/gst/gstreamer.types:
11068 * docs/gst/tmpl/gstbasesink.sgml:
11069 * docs/gst/tmpl/gstbasesrc.sgml:
11070 * docs/gst/tmpl/gstbin.sgml:
11071 * docs/gst/tmpl/gstcompat.sgml:
11072 * docs/gst/tmpl/gstfakesink.sgml:
11073 * docs/gst/tmpl/gstfakesrc.sgml:
11074 * docs/gst/tmpl/gstfilesink.sgml:
11075 * docs/gst/tmpl/gstfilesrc.sgml:
11076 * docs/gst/tmpl/gstindex.sgml:
11077 * docs/manual/appendix-quotes.xml:
11078 * gst/base/gstbasesrc.h:
11079 * gst/elements/gstfakesrc.h:
11080 * gst/gstmessage.h:
11081 start pulling in base classes and elements in our docs
11083 2005-06-24 Stefan Kost <ensonic@users.sf.net>
11085 * docs/gst/Makefile.am:
11086 * docs/libs/Makefile.am:
11087 fixed make distcheck with gtk-doc 1.3
11089 2005-06-23 Wim Taymans <wim@fluendo.com>
11091 * gst/gstelement.c: (gst_element_get_state_func),
11092 (gst_element_set_state), (gst_element_change_state):
11093 When the state did not change, also report NO_PREROLL
11096 2005-06-23 Wim Taymans <wim@fluendo.com>
11098 * gst/gstpad.c: (gst_pad_event_default):
11099 * gst/gstqueue.c: (gst_queue_loop):
11100 No unsafe task pausing please.
11102 2005-06-23 Wim Taymans <wim@fluendo.com>
11104 * gst/schedulers/threadscheduler.c:
11105 (gst_thread_scheduler_task_start),
11106 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
11107 Ref the task before pushing it on the threadpool. This
11108 makes sure that we have a ref when the threadfunction is
11111 2005-06-23 Andy Wingo <wingo@pobox.com>
11113 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
11114 offset is greater than the file's size.
11116 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
11117 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
11118 * gst/gstobject.c (gst_object_class_init): Make the class lock
11119 recursive. Wim won't let me drop deep_notify. Decodebin works
11120 again, whoopdy doo.
11122 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
11123 internal pad, and hacks accordingly. Doesn't do it on the target
11124 pad because we change its caps. Probably catches all cases of
11126 (gst_ghost_pad_set_property): Connect to notify::caps as
11129 * tests/network-clock.scm (plot-simulation): Pipe data to the
11130 elite python skript.
11132 * tests/network-clock-utils.scm (define-parameter): New macro,
11133 defines a parameter that can be set via the command line.
11134 (set-parameter!, parse-parameter-arguments): Command line args
11137 * tests/plot-data: Simple matplotlib-based plotter, takes input on
11140 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
11142 * gst/elements/gsttypefindelement.c:
11143 (gst_type_find_element_handle_event):
11144 Don't restart typefinding on a discont.
11145 * gst/gstelement.c: (gst_element_set_state):
11146 Debug spelling fix.
11147 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
11148 Allow changing mode of an active pad.
11149 Debug output fixes.
11150 * gst/registries/gstlibxmlregistry.c: (load_feature):
11151 Don't cast a static pad template to a normal pad template.
11153 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
11155 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
11156 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11157 remove gst_strtoll completely, since it didn't actually do
11158 anything more than what g_ascii_strtoull already does.
11159 check for range errors when deserializing
11160 do a cast for the unsigned cases; but further fixing needs
11161 a decision on what the interpretation of "(int)" and
11162 deserialization should be for values that fall outside the
11163 type's boundaries (ie, refuse, or interpret as casting)
11165 2005-06-23 Wim Taymans <wim@fluendo.com>
11167 * check/Makefile.am:
11168 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
11169 * docs/design/part-live-source.txt:
11170 * docs/design/part-states.txt:
11171 * gst/base/gstbasesrc.c: (gst_basesrc_init),
11172 (gst_basesrc_set_live), (gst_basesrc_is_live),
11173 (gst_basesrc_get_range), (gst_basesrc_activate),
11174 (gst_basesrc_change_state):
11175 * gst/base/gstbasesrc.h:
11176 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
11177 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
11178 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
11179 * gst/gstelement.c: (gst_element_get_state_func),
11180 (gst_element_set_state):
11181 * gst/gstelement.h:
11183 * tools/gst-launch.c: (event_loop), (main):
11184 Added support for live sources and other elements that
11186 Updated design docs, added live-source design doc.
11187 Implemented live source functionality in basesrc
11188 Fix error condition in _bin_get_state()
11189 Implement live source handling in -launch.
11190 Added check for live sources.
11191 Fixed case in GstBin where elements were changed state
11195 2005-06-23 Andy Wingo <wingo@pobox.com>
11197 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
11198 borken refcounting.
11200 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
11201 gst_caps_replace takes care of this for us.
11203 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
11204 gst_pad_set_caps on the target, not just its setcaps() function.
11206 * tests/network-clock.scm:
11207 * tests/network-clock-utils.scm: A network clock simulator.
11208 Something of an algorithmic testbed before doing something in C.
11210 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
11212 * check/Makefile.am:
11213 * check/gst/capslist.h:
11214 copy over from 0.8, and add two with bitmasks specified with
11216 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
11217 add test to parse everything from capslist.h
11218 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
11220 add test for structure deserialization
11221 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
11222 add tests for deserialization of strings to int types
11223 * gst/gststructure.c: (gst_structure_nth_field_name):
11224 * gst/gststructure.h:
11225 add a way to get the name of a field referenced by index
11226 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11227 instead of checking if the resulting long long lies between
11228 min and max, we check if the long long would fit into
11229 a number of bytes for the final type.
11230 This fixes cases where a string represents 2^32 - 1, which
11231 when cast to int would be the (valid) -1, but is bigger than
11234 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
11236 * gst/parse/grammar.y:
11237 add a log line for type deserialization
11239 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
11241 * check/gst/gstvalue.c: (START_TEST):
11242 * gst/gstvalue.c: (gst_value_deserialize):
11243 return long long, not int, so gint64 deserialization actually
11244 works. Is there any flag that makes the compiler check this ?
11247 2005-06-22 Wim Taymans <wim@fluendo.com>
11250 Added convenience macros for setting buffers in GValue.
11252 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
11254 * check/gst/.cvsignore:
11255 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
11256 add a test deserializing int64, and comment part out because
11259 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
11261 * check/Makefile.am:
11262 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
11263 * testsuite/Makefile.am:
11264 * testsuite/caps/Makefile.am:
11265 * testsuite/caps/value_serialize.c:
11266 * testsuite/test_gst_init.c:
11267 move a value_serialize test over
11269 2005-06-20 Wim Taymans <wim@fluendo.com>
11274 * gst/gstvalue.c: (gst_value_compare_buffer),
11275 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
11276 (gst_value_compare_flags), (gst_value_serialize_flags),
11277 (gst_value_deserialize_flags), (_gst_value_initialize):
11278 Fix serialisation of buffers, they are not boxed types anymore
11280 2005-06-20 Wim Taymans <wim@fluendo.com>
11282 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
11283 Testcase to show error in buffer-on-caps serialisation.
11285 2005-06-20 Andy Wingo <wingo@pobox.com>
11287 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
11288 will be adding to later.
11290 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
11291 if its socks fill with rocks.
11292 (gst_system_clock_obtain): Set the name on object construction.
11293 Avoid double-checked locking.
11295 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
11297 * gst/gsturi.c: (gst_element_make_from_uri):
11298 Fix potential endless loop.
11300 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
11302 * check/Makefile.am:
11304 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
11306 move over from testsuite dir and clean up
11309 * testsuite/Makefile.am:
11310 * testsuite/tags/.cvsignore:
11311 * testsuite/tags/Makefile.am:
11312 * testsuite/tags/merge.c:
11313 remove testsuite/tags
11315 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
11317 * docs/gst/gstreamer-sections.txt:
11318 * docs/gst/tmpl/gstenumtypes.sgml:
11319 * win32/gstenumtypes.c:
11320 clean up documentation build a little
11322 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
11324 * check/gstcheck.h:
11325 add macros for checking refcounts on objects and caps
11326 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
11327 add some more unit tests
11328 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
11329 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
11330 fix leaked refcounts (I hope :)) so unittest works
11334 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
11336 * configure.ac: back to HEAD
11338 === release 0.9.1 ===
11340 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
11346 2005-06-17 Andy Wingo <wingo@pobox.com>
11348 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
11349 assert; it's always possible that the pad gets deactivated in
11350 between the checks in gstpad.c and the implementation. Rely on
11351 finish_preroll() to return a FLUSHING or similar instead of on the
11354 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
11355 clock and post an EOS message if we come out of finish_preroll in
11358 2005-06-16 David Schleef <ds@schleef.org>
11360 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
11361 (gst_capsfilter_set_property): Allow NULL as possible value
11362 for filter_caps property, indicating GST_CAPS_ANY.
11364 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
11366 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
11368 * gst/schedulers/Makefile.am:
11370 * gstreamer.spec.in:
11373 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
11375 * gstreamer.spec.in:
11378 2005-06-08 Andy Wingo <wingo@pobox.com>
11380 * gst/gstutils.c: RPAD fixes all around.
11381 (gst_element_link_pads): Refcounting fixes.
11383 * tools/gst-inspect.c:
11384 * tools/gst-xmlinspect.c:
11386 * gst/base/gsttypefindhelper.c:
11387 * gst/base/gstbasesink.c:
11388 * gst/gstqueue.c: RPAD fixes.
11390 * gst/gstghostpad.h:
11391 * gst/gstghostpad.c: New ghost pad implementation as full proxy
11392 pads. The tricky thing is they provide both source and sink
11393 interfaces, since they proxy the internal pad for the external
11394 pad, and vice versa. Implement with lower-level ProxyPad objects,
11395 with the interior proxy pad as a child of the exterior ghost pad.
11396 Should write a doc on this.
11398 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
11399 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
11402 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
11403 pads are real pads. No ghost pads in this file. Not documenting
11404 the myriad s/RPAD/PAD/ and REALIZE fixes.
11405 (gst_pad_class_init): Add properties for "direction" and
11406 "template". Both are construct-only, so they can't change during
11407 the life of the pad. Fixes properly deriving from GstPad.
11408 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
11409 derived objects, just set properties when creating the objects via
11411 (gst_pad_get_parent): Implement as a function, return NULL if the
11412 parent is not an element.
11413 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
11414 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
11416 * gst/gstobject.c (gst_object_class_init): Make name a construct
11417 property. Don't set it in the object init.
11419 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
11420 with UNKNOWN direction.
11421 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
11422 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
11423 (gst_element_remove_pad): Remove ghost-pad special cases.
11424 (gst_element_pads_activate): Remove rpad cruft.
11426 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
11427 catch the pad's-parent-not-an-element case.
11429 * gst/gst.h: Include gstghostpad.h.
11431 * gst/gst.c (init_post): No more real, ghost pads.
11433 * gst/Makefile.am: Add gstghostpad.[ch].
11435 * check/Makefile.am:
11436 * check/gst/gstbin.c:
11437 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
11438 into a bin creates ghost pads, and that the refcounts are right.
11439 Partly moved from gstbin.c.
11441 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
11443 * check/gst-libs/.cvsignore:
11444 * check/gst/.cvsignore:
11445 * check/pipelines/.cvsignore:
11447 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
11448 (START_TEST), (cleanup_suite), (main):
11449 add some tests related to cleanup after running pipelines
11451 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
11453 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
11454 add a testsuite for GstBuffer
11456 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
11458 * gst/gstminiobject.h:
11459 add defines for accessing the refcount
11461 2005-06-03 Stefan Kost <ensonic@users.sf.net>
11463 * Makefile.am: added support for html unit test coverage reports
11465 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
11467 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
11468 Free existing caps if the capsfilter changes. Add a FIXME about
11469 setting those caps on the pads.
11471 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
11472 Before adding a ghost pad to a parent bin, check that there isn't
11473 already one for the element on the bin. Prevents infinite recursion
11474 when using decodebin in parse pipelines. Andy says he'll rewrite the
11475 way this works anyway, so ignore the hack.
11477 2005-06-02 Andy Wingo <wingo@pobox.com>
11479 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
11480 file size, pass it on to the type find helper.
11482 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
11483 segment_start and segment_end properly according to the seek
11484 method. Segment_end is still a bit flaky because offset can be
11485 negative for CUR and END cases, but it takes -1 as an "unset"
11488 2005-06-02 Wim Taymans <wim@fluendo.com>
11490 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
11491 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
11492 (gst_basesink_activate):
11493 * gst/base/gstbasesink.h:
11494 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11495 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11496 (gst_pad_query), (gst_pad_start_task):
11498 * gst/gstqueue.c: (gst_queue_bufferalloc),
11499 (gst_queue_handle_sink_event), (gst_queue_chain):
11500 Bufferalloc: return GstFlowReturn to more accuratly report
11501 why allocation failed.
11503 2005-06-02 Wim Taymans <wim@fluendo.com>
11505 * gst/gstpipeline.c: (gst_pipeline_send_event):
11506 Take snapshot of state without blocking.
11508 2005-06-02 Wim Taymans <wim@fluendo.com>
11510 * docs/design/part-TODO.txt:
11511 * docs/design/part-caps.txt:
11512 * docs/design/part-clocks.txt:
11513 * docs/design/part-negotiation.txt:
11514 * docs/design/part-preroll.txt:
11517 2005-05-30 Wim Taymans <wim@fluendo.com>
11519 * gst/elements/gstidentity.c: (gst_identity_event),
11520 (gst_identity_transform), (gst_identity_get_property):
11521 Protect last_message property as it is accessed from
11524 2005-05-30 Wim Taymans <wim@fluendo.com>
11526 * gst/gstelement.c: (gst_element_init),
11527 (gst_element_pads_activate), (gst_element_change_state):
11528 Slicker pad activation code.
11530 2005-05-30 Wim Taymans <wim@fluendo.com>
11533 * gst/gstelement.h:
11534 * gst/gstelementfactory.h:
11536 Move elementfactory methods to separate .h file.
11538 2005-05-30 Wim Taymans <wim@fluendo.com>
11540 * docs/design/part-overview.txt:
11541 * gst/gstsystemclock.h:
11542 Small typo fixes, doc updates.
11544 2005-05-30 Wim Taymans <wim@fluendo.com>
11546 * gst/gst.c: (gst_init_get_popt_table), (init_post),
11547 (init_popt_callback):
11548 Remove cpu-opt flag.
11550 2005-05-30 Wim Taymans <wim@fluendo.com>
11552 * gst/gstbuffer.c: (gst_subbuffer_finalize),
11553 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
11555 Avoid typechecking in places where not needed.
11556 Added accessor for malloc_data.
11558 2005-05-30 Wim Taymans <wim@fluendo.com>
11560 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
11561 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
11562 (gst_pad_configure_sink), (gst_pad_configure_src),
11563 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
11564 (gst_pad_start_task):
11565 Propagate errors from _set_caps() in configure_src/sink
11566 functions instead of returning TRUE.
11567 FLUSH events can travel up and downstream
11570 2005-05-30 Wim Taymans <wim@fluendo.com>
11572 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11573 (gst_basesink_activate):
11574 Handle EOS in preroll.
11576 2005-05-30 Wim Taymans <wim@fluendo.com>
11578 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11579 (gst_queue_loop), (gst_queue_handle_src_event):
11580 Remove old pieces of code
11581 Flushing the queue in an upstream event is a very bad idea.
11583 2005-05-26 Andy Wingo <wingo@pobox.com>
11585 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
11586 gst_value_set_mini_object so as to add a ref on the object (which
11587 will be removed when the value is unset).
11589 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
11590 arg type in ::handoff.
11592 * gst/gstelement.c (gst_element_change_state): Also deactivate
11593 pads in READY->NULL, just in case the element didn't make it to
11594 PAUSED. Wingo tested, Wim approved.
11596 2005-05-26 Wim Taymans <wim@fluendo.com>
11598 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11599 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
11600 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
11601 A flushing pad cannot be used to alloc_buffer from.
11603 2005-05-26 Wim Taymans <wim@fluendo.com>
11605 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
11606 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
11607 (gst_bus_source_dispatch), (gst_bus_source_finalize),
11608 (gst_bus_create_watch), (gst_bus_add_watch_full):
11610 Implement a real GSource and use g_main_context_wakeup() to
11611 signal new messages instead of the socketpair.
11613 2005-05-25 Wim Taymans <wim@fluendo.com>
11615 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
11616 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
11617 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11618 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11619 (gst_pad_send_event), (gst_pad_start_task):
11620 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
11621 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
11622 (gst_queue_sink_activate), (gst_queue_src_activate),
11623 (gst_queue_change_state):
11625 Fix state changes for non sinks. We now change sinks, then elements
11626 with unconnected srcpads, then the rest.
11627 More efficient queue unlocking in flush and state changes.
11628 Set the pad activate mode even if it does not have an activate
11631 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11633 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
11634 Don't go in pull mode for non-seekable sources.
11635 * gst/elements/gsttypefindelement.h:
11636 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
11637 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
11638 (free_entry), (stop_typefinding),
11639 (gst_type_find_element_handle_event), (find_peek),
11640 (gst_type_find_element_chain), (do_pull_typefind),
11641 (gst_type_find_element_change_state):
11642 Allow typefinding (w/o seeking) in push-mode, simplified version
11643 of what was in 0.8.
11644 * gst/gstutils.c: (gst_buffer_join):
11646 gst_buffer_join() from 0.8.
11648 2005-05-25 Wim Taymans <wim@fluendo.com>
11650 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
11651 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
11652 (gst_pad_send_event), (gst_pad_start_task):
11653 Disable attempt at mode switching until it is figured out.
11655 2005-05-25 Wim Taymans <wim@fluendo.com>
11657 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
11658 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
11659 (gst_basesink_finish_preroll), (gst_basesink_chain),
11660 (gst_basesink_loop), (gst_basesink_activate),
11661 (gst_basesink_change_state):
11662 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
11663 (gst_basesrc_get_range), (gst_basesrc_loop),
11664 (gst_basesrc_activate):
11665 * gst/elements/gsttee.c: (gst_tee_sink_activate):
11666 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
11667 (gst_real_pad_init), (gst_real_pad_set_property),
11668 (gst_real_pad_get_property), (gst_pad_set_active),
11669 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
11670 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
11671 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
11672 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
11673 (gst_pad_event_default_dispatch), (gst_pad_event_default),
11674 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
11675 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
11676 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
11677 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
11678 (gst_pad_stop_task):
11680 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
11681 (gst_queue_loop), (gst_queue_src_activate):
11682 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
11683 (gst_task_get_state):
11685 * gst/schedulers/threadscheduler.c:
11686 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
11687 Implement gst_pad_pause/start/stop_task(), take STREAM lock
11689 Remove ACTIVE pad flag, use FLUSHING everywhere
11690 Added _pad_chain(), _pad_get_range() to call chain/getrange
11692 Add locks around IS_FLUSHING when reading.
11693 Take STREAM lock in chain(), get_range() functions so plugins
11694 don't need to take it anymore.
11698 2005-05-25 Wim Taymans <wim@fluendo.com>
11700 * tools/gst-launch.c: (event_loop):
11701 Unref message after using its contents instead of
11704 2005-05-24 Wim Taymans <wim@fluendo.com>
11706 * docs/design/draft-ghostpads.txt:
11707 * docs/design/draft-push-pull.txt:
11708 * docs/design/draft-query.txt:
11709 * docs/design/part-overview.txt:
11710 Docs updates, added general overview doc.
11712 2005-05-21 David Schleef <ds@schleef.org>
11714 * docs/gst/tmpl/old/GstBin.sgml:
11715 * docs/gst/tmpl/old/GstBuffer.sgml:
11716 * docs/gst/tmpl/old/GstCaps.sgml:
11717 * docs/gst/tmpl/old/GstClock.sgml:
11718 * docs/gst/tmpl/old/GstCompat.sgml:
11719 * docs/gst/tmpl/old/GstData.sgml:
11720 * docs/gst/tmpl/old/GstElement.sgml:
11721 * docs/gst/tmpl/old/GstEvent.sgml:
11722 * docs/gst/tmpl/old/GstIndex.sgml:
11723 * docs/gst/tmpl/old/GstStructure.sgml:
11724 * docs/gst/tmpl/old/GstTag.sgml:
11725 * docs/gst/tmpl/old/cothreads.sgml:
11726 * docs/gst/tmpl/old/cothreads_compat.sgml:
11727 * docs/gst/tmpl/old/gettext.sgml:
11728 * docs/gst/tmpl/old/gobject2gtk.sgml:
11729 * docs/gst/tmpl/old/grammar.tab.sgml:
11730 * docs/gst/tmpl/old/gst-i18n-app.sgml:
11731 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
11732 * docs/gst/tmpl/old/gst_private.sgml:
11733 * docs/gst/tmpl/old/gstaggregator.sgml:
11734 * docs/gst/tmpl/old/gstarch.sgml:
11735 * docs/gst/tmpl/old/gstatomic_impl.sgml:
11736 * docs/gst/tmpl/old/gstbufferstore.sgml:
11737 * docs/gst/tmpl/old/gstdata_private.sgml:
11738 * docs/gst/tmpl/old/gstdisksink.sgml:
11739 * docs/gst/tmpl/old/gstdisksrc.sgml:
11740 * docs/gst/tmpl/old/gstelementfactory.sgml:
11741 * docs/gst/tmpl/old/gstextratypes.sgml:
11742 * docs/gst/tmpl/old/gstfakesink.sgml:
11743 * docs/gst/tmpl/old/gstfakesrc.sgml:
11744 * docs/gst/tmpl/old/gstfdsink.sgml:
11745 * docs/gst/tmpl/old/gstfdsrc.sgml:
11746 * docs/gst/tmpl/old/gstfilesink.sgml:
11747 * docs/gst/tmpl/old/gstfilesrc.sgml:
11748 * docs/gst/tmpl/old/gsthttpsrc.sgml:
11749 * docs/gst/tmpl/old/gstidentity.sgml:
11750 * docs/gst/tmpl/old/gstindexfactory.sgml:
11751 * docs/gst/tmpl/old/gstmarshal.sgml:
11752 * docs/gst/tmpl/old/gstmd5sink.sgml:
11753 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
11754 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
11755 * docs/gst/tmpl/old/gstpadtemplate.sgml:
11756 * docs/gst/tmpl/old/gstpipefilter.sgml:
11757 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
11758 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
11759 * docs/gst/tmpl/old/gstshaper.sgml:
11760 * docs/gst/tmpl/old/gstspider.sgml:
11761 * docs/gst/tmpl/old/gstspideridentity.sgml:
11762 * docs/gst/tmpl/old/gststatistics.sgml:
11763 * docs/gst/tmpl/old/gsttee.sgml:
11764 * docs/gst/tmpl/old/gsttimecache.sgml:
11765 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
11766 * docs/gst/tmpl/old/gstxmlregistry.sgml:
11767 * docs/gst/tmpl/old/gthread-cothreads.sgml:
11768 * docs/gst/tmpl/old/types.sgml:
11769 I didn't intend to add these or check them in.
11771 2005-05-19 David Schleef <ds@schleef.org>
11773 * configure.ac: Use -no-common everywhere. In a sane world, it
11774 would be the default in libtool, because without it, you can't
11775 build DLLs on Windows.
11776 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
11777 * docs/gst/gstreamer-sections.txt:
11778 * docs/gst/tmpl/gstcpu.sgml:
11779 * docs/gst/tmpl/gstdata.sgml:
11780 * docs/gst/tmpl/gstthread.sgml:
11782 2005-05-19 David Schleef <ds@schleef.org>
11784 * gst/gstminiobject.c: (gst_value_set_mini_object),
11785 (gst_value_take_mini_object), (gst_value_get_mini_object):
11786 * gst/gstminiobject.h: Add GValue set/get functions.
11788 2005-05-19 Wim Taymans <wim@fluendo.com>
11790 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
11791 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
11792 (gst_subbuffer_init), (gst_buffer_is_span_fast):
11794 * gst/gstbus.c: (gst_bus_post):
11795 * gst/gstelement.c: (gst_element_get_random_pad):
11796 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
11797 Make subbufer unref the parent in finalize.
11798 some more debugging info.
11801 2005-05-19 Wim Taymans <wim@fluendo.com>
11803 * gst/base/gstbasesink.c: (gst_basesink_class_init),
11804 (gst_basesink_init), (gst_basesink_finalize),
11805 (gst_basesink_activate), (gst_basesink_change_state):
11806 Don't free preroll queue too early.
11808 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11812 Hi, I'm outdated. Please shoot me.
11814 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11816 * gst/gstpipeline.c: (gst_pipeline_send_event):
11817 Do not access variables after they have been deleted.
11819 2005-05-19 Wim Taymans <wim@fluendo.com>
11821 * tools/gst-inspect.c: (print_plugin_features):
11822 A plugin feature does unfortunatly not use the
11825 2005-05-18 Wim Taymans <wim@fluendo.com>
11827 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
11828 Port _span() functions to new subbuffers.
11830 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11832 * gst/gstbin.c: (gst_bin_add_func):
11833 Fix clock settery in bins when adding kids after the clock has
11836 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
11838 * gst/elements/gstidentity.c: (gst_identity_class_init):
11839 Workaround until signals support GstMiniObject.
11841 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
11844 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
11846 2005-05-18 Wim Taymans <wim@fluendo.com>
11848 * gst/base/Makefile.am:
11849 * gst/base/gstadapter.c: (gst_adapter_base_init),
11850 (gst_adapter_class_init), (gst_adapter_init),
11851 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
11852 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
11853 (gst_adapter_flush), (gst_adapter_available),
11854 (gst_adapter_available_fast):
11855 * gst/base/gstadapter.h:
11856 Ported and added adapter to the base classes.
11858 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
11861 * gst/gstmessage.c:
11862 Make sure the class is reffed/unreffed once before threads can be
11863 used. Fixes #304551.
11865 2005-05-17 Wim Taymans <wim@fluendo.com>
11867 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
11868 (gst_basesink_chain_unlocked), (gst_basesink_activate):
11869 * gst/gstminiobject.c: (gst_mini_object_get_type),
11870 (gst_mini_object_free):
11871 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
11872 (gst_pad_push), (gst_pad_push_event):
11873 * gst/gstqueue.c: (gst_queue_change_state):
11874 Don't queue buffers in basesink when we are flushing.
11875 Unref buffer when flushing in basesink.
11876 Flush queue when going to READY
11877 Unref buffer when _push() returns an error.
11878 Don't free MiniObject instance when refcount is incremented
11879 in _finalize() so that we can recover objects.
11881 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
11883 * docs/manual/advanced-schedulers.xml:
11884 * docs/manual/appendix-checklist.xml:
11885 * docs/pwg/advanced-clock.xml:
11886 * docs/pwg/advanced-interfaces.xml:
11887 * docs/pwg/advanced-request.xml:
11888 * docs/pwg/advanced-types.xml:
11889 * docs/pwg/intro-preface.xml:
11890 * examples/plugins/example.c: (gst_example_get_type),
11891 (gst_example_class_init), (gst_example_chain),
11892 (gst_example_set_property), (gst_example_get_property),
11893 (gst_example_change_state), (plugin_init):
11894 * examples/plugins/example.h:
11897 2005-05-17 Wim Taymans <wim@fluendo.com>
11899 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
11900 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
11901 * gst/gstqueue.c: (gst_queue_change_state):
11902 Clear queue when going to READY.
11903 Remove IN_SETCAPS flag too.
11905 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
11907 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
11908 Remove implicit cast from gboolean to GstElementStateReturn;
11909 make sure we still return failure in paused => ready case if
11910 the parent class fails to change state and our own stop
11913 2005-05-17 Wim Taymans <wim@fluendo.com>
11915 * tools/gst-launch.c: (event_loop):
11916 Message was unreffed too soon.
11918 2005-05-16 Andy Wingo <wingo@pobox.com>
11920 * gst/gstbin.c (sink_iterator_filter): Err... um...
11922 * check/gst/gstbin.c (test_ghost_pads): New test for the
11923 ghosting-if-elements-not-in-same-bin behavior.
11925 2005-05-16 David Schleef <ds@schleef.org>
11927 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
11928 accessing refcount directly.
11930 2005-05-15 David Schleef <ds@schleef.org>
11932 * check/Makefile.am: remove GstData checks
11933 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
11934 * gst/Makefile.am: add miniobject, remove data
11935 * gst/gst.h: add miniobject, remove data
11936 * gst/gstdata.c: remove
11937 * gst/gstdata.h: remove
11938 * gst/gstdata_private.h: remove
11939 * gst/gsttypes.h: remove GstEvent and GstMessage
11940 * gst/gstelement.c: (gst_element_post_message): fix for API changes
11941 * gst/gstmarshal.list: change BOXED -> OBJECT
11943 Implement GstMiniObject.
11944 * gst/gstminiobject.c:
11945 * gst/gstminiobject.h:
11947 Modify to be subclasses of GstMiniObject.
11948 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
11949 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
11950 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
11951 (gst_subbuffer_get_type), (gst_subbuffer_init),
11952 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
11955 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
11956 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
11957 (_gst_event_copy), (gst_event_new):
11959 * gst/gstmessage.c: (_gst_message_initialize),
11960 (gst_message_get_type), (gst_message_class_init),
11961 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
11962 (gst_message_new), (gst_message_new_error),
11963 (gst_message_new_warning), (gst_message_new_tag),
11964 (gst_message_new_state_changed), (gst_message_new_application):
11965 * gst/gstmessage.h:
11966 * gst/gstprobe.c: (gst_probe_perform),
11967 (gst_probe_dispatcher_dispatch):
11969 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
11970 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
11971 (_gst_query_copy), (gst_query_new):
11973 Update elements for GstData -> GstMiniObject changes
11975 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
11976 (gst_queue_chain), (gst_queue_loop):
11977 * gst/elements/gstbufferstore.c:
11978 (gst_buffer_store_add_buffer_func),
11979 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
11980 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
11981 (gst_fakesink_render):
11982 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
11983 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
11984 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
11985 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
11986 (gst_filesrc_create_read):
11987 * gst/elements/gstidentity.c: (gst_identity_class_init):
11988 * gst/elements/gsttypefindelement.c:
11989 (gst_type_find_element_src_event), (free_entry_buffers),
11990 (gst_type_find_element_handle_event):
11991 * libs/gst/dataprotocol/dataprotocol.c:
11992 (gst_dp_header_from_buffer):
11993 * libs/gst/dataprotocol/dataprotocol.h:
11994 * libs/gst/dataprotocol/dp-private.h:
11996 2005-05-15 David Schleef <ds@schleef.org>
11998 * gst/elements/gstelements.c: Don't include headers that were
12001 2005-05-15 David Schleef <ds@schleef.org>
12003 * gst/elements/Makefile.am: Remove some elements that don't
12004 need to be in the core (or even exist at all).
12005 * gst/elements/gstaggregator.c:
12006 * gst/elements/gstaggregator.h:
12007 * gst/elements/gstmd5sink.c:
12008 * gst/elements/gstmd5sink.h:
12009 * gst/elements/gstmultifilesrc.c:
12010 * gst/elements/gstmultifilesrc.h:
12011 * gst/elements/gstpipefilter.c:
12012 * gst/elements/gstpipefilter.h:
12013 * gst/elements/gstshaper.c:
12014 * gst/elements/gstshaper.h:
12015 * gst/elements/gststatistics.c:
12016 * gst/elements/gststatistics.h:
12017 * po/POTFILES.in: Remove above files.
12019 2005-05-14 Andy Wingo <wingo@pobox.com>
12021 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
12022 so as to get the refs right.
12023 (sink_iterator_filter): New function, wraps bin_element_is_sink,
12024 unreffing objects that don't pass the filter.
12026 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
12027 gst_element_set_bus.
12028 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
12029 normal cases, this will destroy the bus.
12031 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
12034 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
12037 2005-05-13 Andy Wingo <wingo@pobox.com>
12039 * gst/gstutils.c (gst_element_link_pads): Instead of calling
12040 gst_pad_link, call pad_link_maybe_ghosting,
12041 (pad_link_maybe_ghosting): Links pads, making sure that the
12042 elements being linked are in the same bin.
12043 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
12044 Helpers for pad_link_maybe_ghosting.
12046 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
12049 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
12051 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
12053 * docs/design/part-element-source.txt:
12056 2005-05-12 Wim Taymans <wim@fluendo.com>
12058 * gst/base/gstbasesink.c: (gst_basesink_init),
12059 (gst_basesink_activate):
12060 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
12061 (gst_basesrc_is_seekable):
12062 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
12063 (bin_element_is_sink), (gst_bin_change_state):
12064 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
12065 * gst/gstelement.h:
12066 Identify sinks by their flag to avoid overly complicated
12068 Do state changes even for elements not reachable from the
12070 BaseSink is a sink now :)
12071 Some more debugging info in the basesrc.
12074 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12076 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
12077 Implement _query on a bin, similar to _send_event.
12079 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
12081 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
12082 Discont event offset format should be GST_FORMAT_BYTES,
12083 not GST_FORMAT_TIME.
12085 2005-05-12 Wim Taymans <wim@fluendo.com>
12087 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
12088 Same fix as Ronald's but without the signal.
12090 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12092 * gst/gstutils.c: (gst_element_query_position):
12093 No, an element is not a pad.
12095 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12097 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
12098 (gst_bin_get_state):
12099 If a child is removed from a bin while we remove the child from
12100 the bin and while we're retrieving its state, signal this to the
12101 get_state function so we abort the wait (instead of waiting for
12102 a timeout) and can immediately re-iterate over all other elements.
12104 2005-05-12 Wim Taymans <wim@fluendo.com>
12106 * gst/base/Makefile.am:
12107 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
12108 (gst_basesrc_start):
12109 * gst/base/gstbasesrc.h:
12110 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
12111 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
12112 (gst_pushsrc_init), (gst_pushsrc_create):
12113 * gst/base/gstpushsrc.h:
12114 Added is_seekable to BaseSrc
12115 Added simple PushSrc.
12117 2005-05-11 Wim Taymans <wim@fluendo.com>
12119 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
12120 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12121 (gst_element_link_pads), (gst_element_query_position),
12122 (gst_element_query_convert), (intersect_caps_func),
12123 (gst_pad_query_position), (gst_pad_query_convert):
12124 Fix refcounting in utils function.
12125 No point in trying to activate a pad when it's added, it could
12126 be added from the state change function and then we deadlock, the
12127 element has to decide what to do.
12129 2005-05-10 Andy Wingo <wingo@pobox.com>
12131 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
12132 *all* the arguments.
12134 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
12135 stream lock if it's a FLUSH_DONE; normal flushes don't get the
12136 lock (according to the docs -- if this is wrong change the docs).
12138 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
12139 flush messages in the NULL state.
12141 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
12142 message immediately and return.
12143 (gst_bus_set_flushing): New function. If a bus is flushing, it
12144 flushes out any queued messages and immediately unrefs new
12145 messages. This is so when an element goes to NULL, all of the
12146 unhandled messages coming from it can be freed, and their
12147 references to the element dropped. In other words: message source
12148 ref considered harmful :P
12150 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
12151 we're finished with it.
12153 * gst/gstmessage.c (gst_message_new_state_changed):
12155 2005-05-10 Wim Taymans <wim@fluendo.com>
12157 * gst/gstvalue.c: (gst_value_compare_flags),
12158 (gst_value_serialize_flags), (gst_value_deserialize_flags),
12159 (_gst_value_initialize):
12160 Added flags serialize/deserialize/compare code.
12162 2005-05-09 Andy Wingo <wingo@pobox.com>
12164 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
12165 Intersect the peer's caps with our caps.
12167 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12169 * gst/base/gsttypefindhelper.c: (helper_find_peek):
12170 * gst/elements/gsttypefindelement.c: (find_peek):
12171 Handle negative offsets better. Fixes decodebin.
12173 2005-05-09 Wim Taymans <wim@fluendo.com>
12175 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
12176 (gst_base_transform_event):
12177 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
12178 Implement accept_caps.
12179 Fix silly lock/unlock mismatch in base class.
12181 2005-05-09 Wim Taymans <wim@fluendo.com>
12183 * docs/design/draft-push-pull.txt:
12184 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
12185 * gst/elements/gstfilesink.c: (gst_filesink_init),
12186 (gst_filesink_query):
12187 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
12188 (gst_type_find_handle_src_query), (find_element_get_length):
12189 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
12190 * gst/gstelement.h:
12191 * gst/gstmessage.c:
12192 * gst/gstmessage.h:
12193 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
12194 (gst_real_pad_get_caps_unlocked),
12195 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
12196 (gst_pad_event_default_dispatch), (gst_pad_event_default),
12197 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
12198 (gst_real_pad_dispose), (gst_real_pad_finalize),
12199 (gst_pad_load_and_link), (gst_pad_save_thyself),
12200 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
12201 (gst_pad_check_pull_range), (gst_pad_pull_range),
12202 (gst_pad_template_get_type), (gst_pad_template_class_init),
12203 (gst_pad_template_init), (gst_pad_template_dispose),
12204 (name_is_valid), (gst_static_pad_template_get),
12205 (gst_pad_template_new), (gst_static_pad_template_get_caps),
12206 (gst_pad_template_get_caps), (gst_pad_set_element_private),
12207 (gst_pad_get_element_private), (gst_pad_start_task),
12208 (gst_pad_pause_task), (gst_pad_stop_task),
12209 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
12210 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
12211 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
12212 (gst_ghost_pad_new):
12214 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
12215 (gst_query_new_position), (gst_query_set_position),
12216 (gst_query_parse_position), (gst_query_new_convert),
12217 (gst_query_set_convert), (gst_query_parse_convert):
12219 * gst/gstqueryutils.c:
12220 * gst/gstqueryutils.h:
12221 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
12222 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
12223 (gst_queue_handle_src_query):
12224 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12225 (gst_element_query_position), (gst_element_query_convert),
12226 (intersect_caps_func), (gst_pad_query_position),
12227 (gst_pad_query_convert):
12229 * tools/gst-inspect.c: (print_pad_info):
12230 * tools/gst-xmlinspect.c: (print_element_info):
12231 Remove old query functions. Ported old code.
12232 Added position/convert helper functions to gstutils.
12233 Reordered gstpad.c code, grouping relevant things.
12234 Remove gst_message_new(), always need to speficy a specific
12238 2005-05-09 Andy Wingo <wingo@pobox.com>
12240 * gst/gstiterator.h: Add some includes.
12242 * gst/gstqueryutils.h: Include more headers.
12245 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
12246 some uses of gst_pad_query.
12248 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
12249 NULL out parameters.
12250 (gst_query_new_position): New proc, allocates a new position
12253 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
12254 gstqueryutils.c to the build.
12256 * gst/gststructure.c (gst_structure_set_valist): Implement with
12257 the generic G_VALUE_COLLECT.
12259 2005-05-08 Edward Hervey <bilboed@bilboed.com>
12261 * gst/Makefile.am: (gst_headers):
12262 Added gstqueryutils.h to the list of headers to install, that was
12263 a 'nachty' move wingo :)
12265 2005-05-06 Andy Wingo <wingo@pobox.com>
12268 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
12269 GstData, init a memchunk.
12270 (standard_definitions): Add a few query types, deprecate a few.
12271 (gst_query_get_type): New proc.
12272 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
12274 (gst_query_new_application, gst_query_get_structure): New public
12277 * docs/design/draft-query.txt: Removed LINKS from the query types,
12278 because all the rest can be dispatched to other pads -- seemed
12279 ugly to have a query that couldn't be dispatched. internal_links
12280 is fine as a pad method.
12282 * gst/gstpad.h: Add query2 as a pad method, add the new functions
12283 in gstpad.c, but maintain binary compatibility for the moment.
12284 Will fix before 0.9 is out.
12286 * gst/gstqueryutils.c:
12287 * gst/gstqueryutils.h: New files, implement 3 methods for each
12288 query type: parse_query, parse_response, and set. Probably need an
12291 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
12293 * gst/elements/gstfilesink.c (gst_filesink_query2):
12294 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
12295 query_types, and formats methods.
12297 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
12298 (gst_pad_set_query2_function): New functions.
12299 (gst_real_pad_init): Set query2_default as the default query2
12300 function. Basically just dispatches to internally linked pads.
12304 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
12305 without using the atomic operations. Only one thread can possibly
12306 be accessing the data at this point. Changed so as to avoid
12307 gst_atomic operations.
12309 2005-05-06 Wim Taymans <wim@fluendo.com>
12311 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
12312 Also set caps if we use the fallback buffer alloc.
12314 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
12316 * docs/gst/Makefile.am:
12317 * docs/gst/gstreamer-docs.sgml:
12318 * docs/gst/gstreamer-sections.txt:
12319 * docs/gst/tmpl/gstatomic.sgml:
12320 * docs/gst/tmpl/gstmemchunk.sgml:
12321 * testsuite/elements/struct_i386.h:
12322 * win32/GStreamer.vcproj:
12324 Purge GstAtomic stuff from docs and win32 makefiles as well
12326 2005-05-06 Wim Taymans <wim@fluendo.com>
12328 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
12329 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
12330 * gst/gstpad.c: (gst_pad_peer_get_caps):
12331 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
12332 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
12333 (gst_queue_src_activate), (gst_queue_change_state):
12335 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12336 (intersect_caps_func):
12337 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
12338 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
12339 Some fixes for the peer_get_caps() change.
12341 2005-05-06 Wim Taymans <wim@fluendo.com>
12343 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
12344 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
12345 (gst_basesink_activate):
12346 Actually do something with error codes returned from the push
12349 2005-05-06 Wim Taymans <wim@fluendo.com>
12351 * docs/design/part-element-sink.txt:
12352 * docs/design/part-element-source.txt:
12353 * gst/base/gstbasesink.c: (gst_basesink_class_init),
12354 (gst_basesink_event), (gst_basesink_activate):
12355 * gst/base/gstbasesink.h:
12356 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
12357 (gst_basesrc_activate):
12358 * gst/base/gstbasesrc.h:
12359 * gst/gstelement.c: (gst_element_pads_activate):
12360 Some more documentation.
12361 Fixed scheduling decision in _pads_activate().
12363 2005-05-05 Andy Wingo <wingo@pobox.com>
12365 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
12368 2005-05-05 Wim Taymans <wim@fluendo.com>
12370 * gst/base/Makefile.am:
12371 * gst/base/gstbasesink.h:
12372 * gst/base/gstbasesrc.c: (gst_basesrc_init),
12373 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
12374 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
12375 (gst_collectpads_class_init), (gst_collectpads_init),
12376 (gst_collectpads_finalize), (gst_collectpads_new),
12377 (gst_collectpads_set_function), (gst_collectpads_add_pad),
12378 (find_pad), (gst_collectpads_remove_pad),
12379 (gst_collectpads_is_active), (gst_collectpads_collect),
12380 (gst_collectpads_collect_range), (gst_collectpads_start),
12381 (gst_collectpads_stop), (gst_collectpads_peek),
12382 (gst_collectpads_pop), (gst_collectpads_available),
12383 (gst_collectpads_read), (gst_collectpads_flush),
12384 (gst_collectpads_chain):
12385 * gst/base/gstcollectpads.h:
12386 * gst/elements/Makefile.am:
12387 * gst/elements/gstelements.c:
12388 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12389 (gst_fakesink_get_times), (gst_fakesink_event),
12390 (gst_fakesink_preroll), (gst_fakesink_render):
12391 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
12392 (gst_filesink_init), (gst_filesink_set_location),
12393 (gst_filesink_open_file), (gst_filesink_close_file),
12394 (gst_filesink_pad_query), (gst_filesink_event),
12395 (gst_filesink_render), (gst_filesink_change_state):
12396 * gst/elements/gstfilesink.h:
12397 Added object to help in making collect pad based elements.
12399 Make event function in sink baseclass return gboolean.
12401 2005-05-05 Wim Taymans <wim@fluendo.com>
12403 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
12404 (gst_bin_get_by_name):
12406 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
12407 (gst_clock_finalize):
12408 * gst/gstdata.c: (gst_data_replace):
12410 * gst/gstelement.c: (gst_element_request_pad),
12411 (gst_element_pads_activate):
12412 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
12413 (gst_object_unref):
12414 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12415 (gst_pad_set_checkgetrange_function),
12416 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
12417 (gst_pad_check_pull_range), (gst_pad_pull_range),
12418 (gst_static_pad_template_get_caps), (gst_pad_start_task),
12419 (gst_pad_pause_task), (gst_pad_stop_task):
12420 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
12421 (gst_element_request_pad), (gst_pad_proxy_getcaps):
12422 Fix name lookup in GstBin.
12423 Added _data_replace() function and _buffer_replace()
12424 Use finalize method to clean up clock.
12425 Fix refcounting on request pads.
12426 Fix pad schedule mode error.
12427 Some more object refcounting debug info,
12430 2005-05-04 Andy Wingo <wingo@pobox.com>
12432 * check/Makefile.am:
12433 * docs/gst/tmpl/gstatomic.sgml:
12434 * docs/gst/tmpl/gstplugin.sgml:
12435 * gst/base/gstbasesink.c: (gst_basesink_activate):
12436 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
12437 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
12438 (gst_basesrc_query), (gst_basesrc_set_property),
12439 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
12440 (gst_basesrc_activate):
12441 * gst/base/gstbasesrc.h:
12442 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
12443 (gst_base_transform_src_activate):
12444 * gst/elements/gstelements.c:
12445 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12446 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
12447 * gst/elements/gsttee.c: (gst_tee_sink_activate):
12448 * gst/elements/gsttypefindelement.c: (find_element_get_length),
12449 (gst_type_find_element_checkgetrange),
12450 (gst_type_find_element_activate):
12451 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
12452 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
12453 (gst_caps_load_thyself):
12454 * gst/gstelement.c: (gst_element_pads_activate),
12455 (gst_element_save_thyself), (gst_element_restore_thyself):
12456 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
12457 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
12459 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
12460 (gst_xml_parse_file), (gst_xml_parse_memory),
12461 (gst_xml_get_element), (gst_xml_make_element):
12462 * gst/indexers/gstfileindex.c: (gst_file_index_load),
12463 (_file_index_id_save_xml), (gst_file_index_commit):
12464 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
12465 (read_enum), (load_pad_template), (load_feature), (load_plugin),
12467 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
12468 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
12469 * tools/gst-complete.c: (main):
12470 * tools/gst-compprep.c: (main):
12471 * tools/gst-inspect.c: (print_element_properties_info):
12472 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
12473 * tools/gst-xmlinspect.c: (print_element_properties):
12476 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
12478 * gst/gstplugin.c: (gst_plugin_check_module),
12479 (gst_plugin_check_file), (gst_plugin_load_file):
12480 apply patch from #172526 to make register work on MacOSX
12482 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12484 * docs/gst/tmpl/gstconfig.sgml:
12485 * gst/gstconfig.h.in:
12486 move documentation for some symbols. Add doc for GST_PTR_FORMAT
12487 * testsuite/debug/printf_extension.c: (main):
12488 Do not use GST_PTR_FORMAT on pointers to types with
12489 sizeof < sizeof(gpointer). Fixes test on 64-bit
12490 * testsuite/elements/property.h:
12491 use correct printf format
12493 2005-05-02 Wim Taymans <wim@fluendo.com>
12495 * docs/design/draft-push-pull.txt:
12496 * docs/design/draft-query.txt:
12497 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
12498 (gst_basesrc_start):
12499 Added draft for new query API.
12500 Added draft for better selecting scheduling methods.
12501 Make basesrc ignore length if the subclass does not support
12504 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12507 possible fixes for automake-1.5 - _LIBADD is reserved
12509 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
12511 * docs/faq/Makefile.am:
12512 * docs/manual/Makefile.am:
12513 * docs/manuals.mak:
12514 * docs/pwg/Makefile.am:
12516 possible fixes for automake-1.5
12518 2005-04-28 Wim Taymans <wim@fluendo.com>
12520 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12521 (gst_basesink_pad_getcaps), (gst_basesink_init),
12522 (gst_basesink_do_sync):
12523 * gst/gstclock.c: (gst_clock_entry_new):
12524 * gst/gstevent.c: (gst_event_discont_get_value):
12525 * gst/gstpipeline.c: (pipeline_bus_handler),
12526 (gst_pipeline_change_state):
12527 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12528 Better debugging of clocking info.
12529 Allow NULL values when getting discont values.
12531 2005-04-27 Wim Taymans <wim@fluendo.com>
12533 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
12534 * check/gst/gstpad.c: (gst_pad_suite):
12535 Increase timeout for checks.
12537 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12539 * check/Makefile.am:
12540 fix the broken rule for cleanup. Apparently this rule is
12541 only needed on FC2, so maybe this warrants further autotool
12544 2005-04-26 Wim Taymans <wim@fluendo.com>
12546 * gst/gsttrashstack.h:
12547 Ooohh. a nasty one! After having a failed pop() from the stack,
12548 it's possible that the stack is empty. In that case, don't
12549 follow the NULL pointer.
12551 2005-04-25 Wim Taymans <wim@fluendo.com>
12553 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12554 (gst_pad_set_checkgetrange_function),
12555 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
12556 (gst_pad_check_pull_range), (gst_pad_pull_range),
12557 (gst_static_pad_template_get_caps), (gst_pad_start_task),
12558 (gst_pad_pause_task), (gst_pad_stop_task):
12559 * gst/gstplugin.c: (gst_plugin_load):
12561 Remove gst_library_load as it does more harm than good with
12562 the new g_module flags.
12563 Revert bogus caps template check in pad linking, pad caps
12564 are important when linking not the template, which is more
12565 general than the current caps.
12567 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12569 * gst/autoplug/.cvsignore:
12570 * gst/autoplug/Makefile.am:
12571 * gst/autoplug/gstsearchfuncs.c:
12572 * gst/autoplug/gstsearchfuncs.h:
12573 * gst/autoplug/gstspider.c:
12574 * gst/autoplug/gstspider.h:
12575 * gst/autoplug/gstspideridentity.c:
12576 * gst/autoplug/gstspideridentity.h:
12577 * gst/autoplug/spidertest.c:
12580 2005-04-25 Wim Taymans <wim@fluendo.com>
12582 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12583 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12584 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
12585 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
12587 Added stubs for unimplemented functions.
12589 2005-04-24 David Schleef <ds@schleef.org>
12591 * gst/gstpad.h: Disable some unimplemented functions. Wim,
12594 2005-04-24 David Schleef <ds@schleef.org>
12596 Convert everything from GstAtomicInt to g_atomic_int_*, and
12601 * gst/gstatomic_impl.h:
12609 * gst/gstdata_private.h:
12613 * gst/gstmessage.c:
12616 * gst/gststructure.c:
12617 * gst/gststructure.h:
12618 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
12621 2005-04-24 David Schleef <ds@schleef.org>
12623 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
12624 make the regressions tests work. Remove some code that is no
12626 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
12627 Disable warning for pads without templates.
12629 2005-04-24 David Schleef <ds@schleef.org>
12631 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
12632 functions that handle filtered links.
12633 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
12635 * gst/gstutils.c: Fix/remove utility functions that handle
12638 * gst/gstvalue.c: Add serialization/deserialization of caps
12639 * gst/parse/grammar.y: Ignore filtered caps when linking. This
12640 requires fixing so that the filter caps notation creates
12641 a capsfilter element and sets the filter_caps property. I
12642 think everyone probably wants to keep the shorthand notation.
12643 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
12644 * docs/gst/tmpl/gstpad.sgml:
12646 * gst/elements/gstelements.c: Register capsfilter element.
12647 * gst/Makefile.am: fix spacing
12648 * docs/random/ds/0.9-suggested-changes: random
12650 2005-04-23 David Schleef <ds@schleef.org>
12652 * gst/elements/Makefile.am:
12653 * gst/elements/gstcapsfilter.c: New element that acts like an
12654 identity, but filters caps. Will eventually replace filtered
12655 caps in pad linking.
12656 * gst/gstutils.c: (gst_element_create_all_pads): New function
12657 to create all the ALWAYS pads that are registered with an
12658 element class. This functionality should eventually be
12659 merged in with GstElement initialization.
12661 * testsuite/trigger/README: part of trigger test code that should
12662 have been checked in a long time ago.
12664 2005-04-23 David Schleef <ds@schleef.org>
12666 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
12667 needed with new versions of libtool (nobody will confirm this),
12668 and hard to carry around.
12669 * gst/autoplug/Makefile.am:
12670 * gst/base/Makefile.am:
12671 * gst/elements/Makefile.am:
12672 * gst/indexers/Makefile.am:
12673 * gst/schedulers/Makefile.am:
12674 * libs/gst/bytestream/Makefile.am:
12675 * libs/gst/control/Makefile.am:
12676 * libs/gst/dataprotocol/Makefile.am:
12677 * libs/gst/getbits/Makefile.am:
12679 2005-04-21 Wim Taymans <wim@fluendo.com>
12681 * docs/design/draft-push-pull.txt:
12682 * docs/design/part-MT-refcounting.txt:
12683 * docs/design/part-TODO.txt:
12684 * docs/design/part-caps.txt:
12685 * docs/design/part-events.txt:
12686 * docs/design/part-gstbus.txt:
12687 * docs/design/part-gstpipeline.txt:
12688 * docs/design/part-messages.txt:
12689 * docs/design/part-push-pull.txt:
12690 * docs/design/part-query.txt:
12693 2005-04-21 Wim Taymans <wim@fluendo.com>
12695 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
12696 (gst_message_new), (gst_message_new_error),
12697 (gst_message_new_warning), (gst_message_new_tag),
12698 (gst_message_new_state_changed), (gst_message_new_application),
12699 (gst_message_get_structure):
12700 * gst/gstmessage.h:
12701 * gst/gststructure.c: (gst_structure_set_parent_refcount),
12702 (gst_structure_copy_conditional):
12703 Use parent refcount in GstMessage to ensure GstStructure
12705 Cleaned up headers a bit.
12708 2005-04-20 Wim Taymans <wim@fluendo.com>
12710 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12711 (gst_basesink_pad_getcaps), (gst_basesink_init),
12712 (gst_basesink_chain_unlocked):
12713 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
12714 (gst_type_find_helper):
12715 * gst/elements/gsttypefindelement.c:
12716 (gst_type_find_element_have_type), (gst_type_find_element_init),
12717 (stop_typefinding), (gst_type_find_element_handle_event),
12718 (find_suggest), (gst_type_find_element_chain),
12719 (gst_type_find_element_checkgetrange),
12720 (gst_type_find_element_getrange), (do_typefind),
12721 (gst_type_find_element_activate):
12722 * gst/gstbuffer.c: (_gst_buffer_sub_free),
12723 (gst_buffer_default_free), (gst_buffer_default_copy),
12724 (gst_buffer_set_caps):
12725 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
12726 (gst_caps_replace):
12727 * gst/gstmessage.c: (gst_message_new),
12728 (gst_message_new_state_changed):
12729 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12730 (gst_pad_set_checkgetrange_function),
12731 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
12732 (gst_pad_set_caps), (gst_pad_check_pull_range),
12733 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
12735 * gst/gsttypefind.c: (gst_type_find_register):
12736 Make gst_caps_replace() work like other _replace() functions.
12737 Use _caps_replace() where possible.
12738 Make sure _message_new() initialises its field.
12739 Add gst_static_pad_template_get_caps()
12742 2005-04-18 Andy Wingo <wingo@pobox.com>
12744 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
12745 on the peer, not the pad. I think that was a typo. Pass an extra
12746 arg to see if random access is possible. Activate the pads as
12747 PULL_RANGE if possible.
12749 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
12751 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
12752 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
12755 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12757 * docs/faq/using.xml:
12758 Add note on gstreamer-properties (#154996).
12760 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12762 * docs/random/bbb/optional-properties:
12763 Some analysis on optional properties.
12765 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
12767 * docs/gst/tmpl/gstelementfactory.sgml:
12768 * gst/gstelement.h:
12769 * gst/gstelementfactory.c: (gst_element_factory_init),
12770 (gst_element_factory_cleanup), (gst_element_register),
12771 (__gst_element_factory_add_static_pad_template),
12772 (gst_element_factory_get_static_pad_templates),
12773 (gst_element_factory_can_src_caps),
12774 (gst_element_factory_can_sink_caps):
12775 * gst/registries/Makefile.am:
12776 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
12777 (gst_xml_registry_class_init), (gst_xml_registry_init),
12778 (gst_xml_registry_new), (gst_xml_registry_set_property),
12779 (gst_xml_registry_get_property), (get_time), (make_dir),
12780 (gst_xml_registry_get_perms_func),
12781 (plugin_times_older_than_recurse), (plugin_times_older_than),
12782 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
12783 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
12784 (add_to_char_array), (read_string), (read_uint), (read_enum),
12785 (load_pad_template), (load_feature), (load_plugin), (load_paths),
12786 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
12787 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
12788 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
12789 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
12790 (gst_xml_registry_rebuild):
12791 * gst/registries/gstlibxmlregistry.h:
12792 * tools/gst-compprep.c: (main):
12793 * tools/gst-inspect.c: (print_pad_templates_info):
12794 * tools/gst-xmlinspect.c: (print_element_info):
12795 Use libxml2 for registry parsing, use staticpadtemplates in
12796 elementfactories. Makes gst_init() +/- 10x faster.
12798 2005-04-12 Wim Taymans <wim@fluendo.com>
12800 * gst/base/Makefile.am:
12801 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12802 (gst_basesink_pad_getcaps), (gst_basesink_init),
12803 (gst_basesink_event), (gst_basesink_change_state):
12804 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12805 (gst_basesrc_init), (gst_basesrc_query),
12806 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12807 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12808 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12809 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12810 (gst_basesrc_stop), (gst_basesrc_activate),
12811 (gst_basesrc_change_state):
12812 * gst/base/gsttypefindhelper.c: (helper_find_peek),
12813 (helper_find_suggest), (gst_type_find_helper):
12814 * gst/base/gsttypefindhelper.h:
12815 * gst/elements/Makefile.am:
12816 * gst/elements/gstelements.c:
12817 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
12818 (gst_fakesink_get_times), (gst_fakesink_event),
12819 (gst_fakesink_preroll), (gst_fakesink_render):
12820 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
12821 (gst_fakesrc_init), (gst_fakesrc_event_handler),
12822 (gst_fakesrc_get_property), (gst_fakesrc_create),
12823 (gst_fakesrc_start), (gst_fakesrc_stop):
12824 * gst/elements/gstfakesrc.h:
12825 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
12826 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12827 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12828 (gst_filesrc_create_read), (gst_filesrc_create),
12829 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
12830 (gst_filesrc_start):
12831 * gst/elements/gsttypefindelement.c:
12832 (gst_type_find_element_have_type), (gst_type_find_element_init),
12833 (start_typefinding), (stop_typefinding), (push_buffer_store),
12834 (gst_type_find_element_handle_event),
12835 (gst_type_find_element_chain),
12836 (gst_type_find_element_checkgetrange),
12837 (gst_type_find_element_getrange), (do_typefind),
12838 (gst_type_find_element_activate),
12839 (gst_type_find_element_change_state):
12840 * gst/elements/gsttypefindelement.h:
12841 * gst/gstpipeline.c: (pipeline_bus_handler):
12842 Added typefind helper.
12843 Small preroll fix in the base sink.
12844 Disable typefind code in basesrc.
12845 Crude port of typefindelement.
12849 2005-04-11 Wim Taymans <wim@fluendo.com>
12851 * check/gst/gstbus.c: (gstbus_suite):
12852 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
12853 * check/gstcheck.h:
12854 Fix up the timeout so that the test does not fail.
12856 2005-04-06 Wim Taymans <wim@fluendo.com>
12859 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12860 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
12861 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
12862 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
12863 (gst_basesrc_check_get_range), (gst_basesrc_loop),
12864 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
12865 (gst_basesrc_stop), (gst_basesrc_activate),
12866 (gst_basesrc_change_state), (basesrc_find_peek),
12867 (basesrc_find_suggest), (gst_basesrc_type_find):
12868 * gst/base/gstbasesrc.h:
12869 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
12870 (gst_filesrc_class_init), (gst_filesrc_init),
12871 (gst_filesrc_finalize), (gst_filesrc_set_location),
12872 (gst_filesrc_set_property), (gst_filesrc_get_property),
12873 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
12874 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
12875 (gst_filesrc_create_read), (gst_filesrc_create),
12876 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
12877 * gst/elements/gstfilesrc.h:
12878 * gst/gstelement.c: (gst_element_get_state_func),
12879 (gst_element_lost_state), (gst_element_pads_activate):
12880 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12881 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
12882 (gst_pad_pull_range):
12884 More work on the generic source base class, implement seeking,
12886 Make filesrc extend the base source class.
12887 Added gst_pad_set_checkgetrange_function to GstPad.
12889 2005-04-06 Andy Wingo <wingo@pobox.com>
12891 * pkgconfig/gstreamer-base.pc.in:
12892 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
12894 * pkgconfig/Makefile.am:
12895 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
12897 2005-04-04 Wim Taymans <wim@fluendo.com>
12899 * gst/base/Makefile.am:
12901 * gst/base/gstbasesink.c: (gst_basesink_base_init),
12902 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
12903 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
12904 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
12905 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
12906 (gst_basesrc_base_init), (gst_basesrc_class_init),
12907 (gst_basesrc_init), (gst_basesrc_get_formats),
12908 (gst_basesrc_get_query_types), (gst_basesrc_query),
12909 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
12910 (gst_basesrc_set_property), (gst_basesrc_get_property),
12911 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
12912 (gst_basesrc_loop), (gst_basesrc_activate),
12913 (gst_basesrc_change_state):
12914 * gst/base/gstbasesrc.h:
12915 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
12916 (gst_fakesrc_class_init), (gst_fakesrc_init),
12917 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
12918 (gst_fakesrc_get_property), (gst_fakesrc_create):
12919 * gst/elements/gstfakesrc.h:
12920 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
12921 (gst_filesrc_open_file), (gst_filesrc_loop),
12922 (gst_filesrc_activate), (filesrc_find_peek),
12923 (gst_filesrc_type_find):
12924 Made base source class, make fakesrc extend it.
12925 Add comments to basesink class.
12926 Some filesrc cleanup.
12928 2005-03-31 David Schleef <ds@schleef.org>
12930 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
12931 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
12932 expected to link against libgstreamer.
12933 * gst/base/Makefile.am: link against libgstreamer
12934 * gst/elements/Makefile.am: same
12936 2005-03-31 Andy Wingo <wingo@pobox.com>
12938 * tests/instantiate/Makefile.am:
12939 * tests/instantiate/caps.c: Add test to test speed of caps copy
12942 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
12943 GMemChunk to be fair.
12945 * gst/gsttrashstack.h: Remove warning about using the fallback
12946 trash stack implementation, it's still faster than malloc.
12948 2005-03-30 Andy Wingo <wingo@pobox.com>
12950 * tests/complexity.c: Add a copyright.
12952 2005-03-31 Wim Taymans <wim@fluendo.com>
12954 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
12955 (gst_base_transform_class_init), (gst_base_transform_init),
12956 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
12957 (gst_base_transform_get_property),
12958 (gst_base_transform_sink_activate),
12959 (gst_base_transform_src_activate),
12960 (gst_base_transform_change_state):
12961 * gst/base/gstbasetransform.h:
12962 * gst/elements/gstidentity.c: (gst_identity_class_init),
12963 (gst_identity_event), (gst_identity_check_perfect),
12964 (gst_identity_transform), (gst_identity_start),
12965 (gst_identity_stop):
12966 Added start/stop methods to transform base class so subclasses
12967 don't need to deal with state changes even.
12969 2005-03-31 Wim Taymans <wim@fluendo.com>
12971 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
12972 (gst_event_new_discontinuous), (gst_event_discont_get_value):
12974 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
12975 (gst_pad_pull_range):
12976 Added rate to the discont event to prepare for variable speed
12977 and reverse playback.
12979 2005-03-29 David Schleef <ds@schleef.org>
12982 * testsuite/trigger/Makefile.am:
12983 * testsuite/trigger/trigger.c: A little example program to show
12984 how trigger-based elements can work.
12986 2005-03-29 Wim Taymans <wim@fluendo.com>
12988 * gst/base/Makefile.am:
12990 * gst/base/gstbasesink.c: (gst_basesink_get_type),
12991 (gst_basesink_base_init), (gst_basesink_class_init),
12992 (gst_basesink_pad_getcaps), (gst_basesink_init),
12993 (gst_basesink_activate), (gst_basesink_change_state):
12994 * gst/base/gstbasesink.h:
12995 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
12996 (gst_base_transform_base_init), (gst_base_transform_finalize),
12997 (gst_base_transform_class_init), (gst_base_transform_init),
12998 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
12999 (gst_base_transform_event), (gst_base_transform_getrange),
13000 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
13001 (gst_base_transform_set_property),
13002 (gst_base_transform_get_property),
13003 (gst_base_transform_sink_activate),
13004 (gst_base_transform_src_activate),
13005 (gst_base_transform_change_state):
13006 * gst/base/gstbasetransform.h:
13007 * gst/elements/gstidentity.c: (gst_identity_finalize),
13008 (gst_identity_class_init), (gst_identity_init),
13009 (gst_identity_event), (gst_identity_check_perfect),
13010 (gst_identity_transform), (gst_identity_set_property),
13011 (gst_identity_get_property), (gst_identity_change_state):
13012 * gst/elements/gstidentity.h:
13013 * gst/gstelement.c: (gst_element_get_state_func),
13014 (gst_element_lost_state), (gst_element_pads_activate):
13015 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
13016 (gst_pad_check_pull_range), (gst_pad_pull_range):
13018 Simplify pad activation.
13019 Added function to check if pull_range can be performed.
13020 Error out when pulling inactive or flushing pads.
13021 Removed const from refcounted types as it does not make sense.
13022 Simplify pad templates in basesink
13023 Added base class for simple 1-to-1 transforms.
13024 Make identity subclass the base transform.
13026 2005-03-29 Andy Wingo <wingo@pobox.com>
13028 * docs/libs/gstreamer-libs-overrides.txt:
13029 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
13030 really don't understand what's going on, but like whatever. I want
13033 * docs/gst/Makefile.am:
13034 * docs/libs/Makefile.am: Dist the overrides files.
13036 * check/Makefile.am (clean-local): Remove .libs directories.
13038 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
13039 elements to EXTRA_DIST, so po/ files are happy.
13041 * po/POTFILES.in: Er, remove it here.
13043 * po/POTFILES: Remove gstspider.c.
13045 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
13047 * docs/libs/gstreamer-libs-docs.sgml:
13048 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
13051 * tests/complexity.c (main): Set the length of the preroll queue
13052 on the sinks to prevent a lockup.
13054 * libs/gst/dataprotocol/Makefile.am:
13055 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
13056 the same as the one in check/gst-libs/gdp.c.
13058 * po/, docs/gst/: Commit automatic changes to docs and po files.
13060 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
13061 the versioned libgstbase.
13063 * check/Makefile.am: Depend on an unversioned gst-register, seems
13064 to make autoconf happier.
13066 * gst/base/Makefile.am: Make libgstbase a versioned lib.
13068 2005-03-28 Wim Taymans <wim@fluendo.com>
13071 * docs/design/part-gstelement.txt:
13072 * docs/design/part-negotiation.txt:
13073 * docs/design/part-preroll.txt:
13074 * docs/design/part-scheduling.txt:
13075 * docs/design/part-states.txt:
13077 * gst/base/Makefile.am:
13079 * gst/base/gstbasesink.c: (gst_basesink_get_template),
13080 (gst_basesink_base_init), (gst_basesink_class_init),
13081 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
13082 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
13083 (gst_basesink_set_pad_functions),
13084 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
13085 (gst_basesink_set_property), (gst_basesink_get_property),
13086 (gst_base_sink_get_template), (gst_base_sink_get_caps),
13087 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
13088 (gst_basesink_preroll_queue_push),
13089 (gst_basesink_preroll_queue_empty),
13090 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
13091 (gst_basesink_event), (gst_basesink_get_times),
13092 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
13093 (gst_basesink_chain_unlocked), (gst_basesink_chain),
13094 (gst_basesink_loop), (gst_basesink_activate),
13095 (gst_basesink_change_state):
13096 * gst/base/gstbasesink.h:
13097 * gst/elements/Makefile.am:
13098 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
13099 (gst_fakesink_class_init), (gst_fakesink_init),
13100 (gst_fakesink_set_property), (gst_fakesink_get_property),
13101 (gst_fakesink_get_times), (gst_fakesink_event),
13102 (gst_fakesink_preroll), (gst_fakesink_render),
13103 (gst_fakesink_change_state):
13104 * gst/elements/gstfakesink.h:
13105 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
13106 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
13107 * gst/gstelement.c: (gst_element_add_pad),
13108 (gst_element_get_state_func), (gst_element_abort_state),
13109 (gst_element_commit_state), (gst_element_lost_state),
13110 (gst_element_set_state), (gst_element_pads_activate):
13111 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
13112 * gst/gstpipeline.c: (gst_pipeline_send_event),
13113 (gst_pipeline_change_state):
13114 Added state change code.
13115 Added/updated docs.
13116 Added sink base class, make fakesink extend the base class.
13117 Small cleanups in GstPipeline.
13119 2005-03-26 David Schleef <ds@schleef.org>
13121 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
13122 is broken and should be implemented in a different library.
13123 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
13124 * gst/gst.h: remove gstcpu.h
13125 * gst/gstcpu.c: remove
13126 * gst/gstcpu.h: remove
13127 * gst/Makefile.am.future: Remove this file. It's ancient.
13129 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13131 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
13132 (gst_bin_send_event):
13133 Add default event/set_manager handlers. The set_manager handler
13134 takes care that the manager is distributed over kids that were
13135 already in the bin before the manager was set. The event handler
13136 is a utility virtual function that sends the event over all sinks,
13137 so that gst_element_send_event (bin, event); has the expected
13139 * gst/gstpad.c: (gst_pad_event_default):
13140 Re-install default event handling for discontinuities, so that
13141 seeking works without requiring hacks in applications or extra
13143 * gst/gstpipeline.c: (gst_pipeline_class_init),
13144 (gst_pipeline_send_event):
13145 Half hack, half utility: set a pipeline to PAUSED for seek events,
13146 since that is the only way we can guarantee a/v sync. Means that
13147 you can do gst_element_seek (pipeline, method, pos); on a pipeline
13148 and it "just works".
13150 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
13152 * gst/gstpipeline.c: (gst_pipeline_use_clock):
13153 Lock/unlock mismatch.
13155 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
13157 * docs/faq/gst-uninstalled:
13158 add gst-plugins-base
13159 * docs/gst/Makefile.am:
13160 don't error out until docs are fixed
13161 * docs/gst/gstreamer.types:
13164 2005-03-22 Wim Taymans <wim@fluendo.com>
13166 * check/Makefile.am:
13167 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
13168 * gst/gststructure.c: (gst_structure_set_valist),
13169 (gst_structure_copy_conditional):
13170 Activated more tests.
13171 Added message test.
13172 Added G_TYPE_POINTER to GstStructure.
13175 2005-03-22 Wim Taymans <wim@fluendo.com>
13177 * docs/design/part-TODO.txt:
13178 * docs/design/part-events.txt:
13179 * docs/design/part-gstbin.txt:
13180 * docs/design/part-gstbus.txt:
13181 * docs/design/part-gstpipeline.txt:
13182 * docs/design/part-messages.txt:
13184 * gst/gstmessage.c:
13187 2005-03-21 Wim Taymans <wim@fluendo.com>
13189 * gst/gstbus.c: (gst_bus_post):
13190 Fix copy-and-paste error.
13192 2005-03-21 Wim Taymans <wim@fluendo.com>
13194 * check/Makefile.am:
13196 * gst/elements/Makefile.am:
13197 * gst/elements/gstelements.c:
13198 * gst/elements/gstfakesink.c: (gst_fakesink_init),
13199 (gst_fakesink_event), (gst_fakesink_chain):
13200 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
13201 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
13202 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
13203 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
13204 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
13205 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
13206 (gst_fakesrc_loop), (gst_fakesrc_activate),
13207 (gst_fakesrc_change_state):
13208 * gst/elements/gstfakesrc.h:
13209 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
13210 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
13211 (gst_filesrc_open_file), (gst_filesrc_loop),
13212 (gst_filesrc_activate), (gst_filesrc_change_state),
13213 (filesrc_find_peek), (filesrc_find_suggest),
13214 (gst_filesrc_type_find):
13215 * gst/elements/gstidentity.c: (gst_identity_finalize),
13216 (gst_identity_class_init), (gst_identity_init),
13217 (gst_identity_proxy_getcaps), (identity_queue_push),
13218 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
13219 (gst_identity_getrange), (gst_identity_chain),
13220 (gst_identity_sink_loop), (gst_identity_src_loop),
13221 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
13222 (gst_identity_set_property), (gst_identity_get_property),
13223 (gst_identity_change_state):
13224 * gst/elements/gstidentity.h:
13225 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
13226 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
13227 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
13228 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
13229 (gst_tee_sink_activate):
13230 * gst/elements/gsttee.h:
13231 * gst/gst.c: (gst_register_core_elements), (init_post):
13233 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
13234 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
13235 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
13236 (gst_bin_change_state):
13238 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
13239 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
13240 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
13241 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
13242 (gst_bus_set_sync_handler), (gst_bus_create_watch),
13243 (bus_watch_callback), (bus_watch_destroy),
13244 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
13245 (poll_timeout), (gst_bus_poll):
13249 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13250 (gst_element_post_message), (gst_element_message_full),
13251 (gst_element_get_state_func), (gst_element_get_state),
13252 (gst_element_abort_state), (gst_element_commit_state),
13253 (gst_element_lost_state), (gst_element_set_state),
13254 (gst_element_pads_activate), (gst_element_change_state),
13255 (gst_element_dispose), (gst_element_set_manager_func),
13256 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
13257 (gst_element_set_manager), (gst_element_get_manager),
13258 (gst_element_set_bus), (gst_element_get_bus),
13259 (gst_element_set_scheduler), (gst_element_get_scheduler):
13260 * gst/gstelement.h:
13261 * gst/gstevent.c: (gst_event_new_segment_seek),
13262 (gst_event_new_flush):
13264 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
13265 (_gst_message_free), (gst_message_get_type), (gst_message_new),
13266 (gst_message_new_eos), (gst_message_new_error),
13267 (gst_message_new_warning), (gst_message_new_tag),
13268 (gst_message_new_state_changed), (gst_message_new_application),
13269 (gst_message_get_structure), (gst_message_parse_tag),
13270 (gst_message_parse_state_changed), (gst_message_parse_error),
13271 (gst_message_parse_warning):
13272 * gst/gstmessage.h:
13273 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
13274 (gst_real_pad_set_property), (gst_pad_set_active),
13275 (gst_pad_is_active), (gst_pad_set_blocked_async),
13276 (gst_pad_set_blocked), (gst_pad_is_blocked),
13277 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
13278 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
13279 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
13280 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
13281 (gst_pad_link_filtered), (gst_pad_relink_filtered),
13282 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
13283 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
13284 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
13285 (gst_pad_set_caps), (gst_pad_configure_sink),
13286 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
13287 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
13288 (gst_real_pad_dispose), (gst_real_pad_finalize),
13289 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
13290 (gst_pad_event_default_dispatch), (gst_pad_event_default),
13291 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
13293 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
13294 (pipeline_bus_handler), (gst_pipeline_change_state),
13295 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
13296 * gst/gstpipeline.h:
13298 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
13299 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
13300 (gst_queue_link_src), (gst_queue_bufferalloc),
13301 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13302 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
13303 (gst_queue_loop), (gst_queue_handle_src_event),
13304 (gst_queue_handle_src_query), (gst_queue_src_activate),
13305 (gst_queue_change_state):
13307 * gst/gstscheduler.c: (gst_scheduler_init),
13308 (gst_scheduler_dispose), (gst_scheduler_create_task),
13309 (gst_scheduler_factory_create):
13310 * gst/gstscheduler.h:
13311 * gst/gststructure.c: (gst_structure_get_type),
13312 (gst_structure_copy_conditional):
13313 * gst/gststructure.h:
13314 * gst/gsttaginterface.h:
13315 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
13316 (gst_task_init), (gst_task_dispose), (gst_task_create),
13317 (gst_task_get_state), (gst_task_start), (gst_task_stop),
13323 * gst/schedulers/Makefile.am:
13324 * gst/schedulers/cothreads_compat.h:
13325 * gst/schedulers/entryscheduler.c:
13326 * gst/schedulers/faircothreads.c:
13327 * gst/schedulers/faircothreads.h:
13328 * gst/schedulers/fairscheduler.c:
13329 * gst/schedulers/gstbasicscheduler.c:
13330 * gst/schedulers/gstoptimalscheduler.c:
13331 * gst/schedulers/gthread-cothreads.h:
13332 * gst/schedulers/threadscheduler.c:
13333 (gst_thread_scheduler_task_get_type),
13334 (gst_thread_scheduler_task_class_init),
13335 (gst_thread_scheduler_task_init),
13336 (gst_thread_scheduler_task_start),
13337 (gst_thread_scheduler_task_stop),
13338 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
13339 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
13340 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
13341 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
13343 * libs/gst/Makefile.am:
13344 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
13345 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
13346 (gst_file_pad_parent_set):
13347 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13348 (gst_dp_event_from_packet):
13349 * tests/complexity.c: (main):
13350 * tests/mass_elements.c: (main):
13351 * testsuite/states/locked.c: (message_received), (main):
13352 * testsuite/states/parent.c: (main):
13353 * tools/gst-inspect.c: (print_element_flag_info),
13354 (print_implementation_info), (print_pad_info):
13355 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
13357 * tools/gst-md5sum.c: (event_loop), (main):
13358 * tools/gst-typefind.c: (main):
13359 * tools/gst-xmlinspect.c: (print_element_info):
13361 Added GstBus for mainloop integration.
13362 Added GstMessage for sending notifications on the bus.
13363 Added GstTask as an abstraction for pipeline entry points.
13365 Removed Schedulers.
13366 Simplified GstQueue for multithreaded core.
13367 Made _link threadsafe, removed old capsnego.
13368 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
13369 Added pad blocking functions.
13370 Reworked scheduling functions in GstPad to prepare for
13371 scheduling updates soon.
13372 Moved events out of data stream.
13373 Simplified GstEvent types.
13374 Added return values to push/pull.
13375 Removed clocking from GstElement.
13376 Added prototypes for state change function for next merge.
13377 Removed iterate from bins and state change management.
13378 Fixed some elements, disabled others for now.
13379 Fixed -inspect and -launch.
13380 Added check for GstBus.
13382 2005-03-10 Wim Taymans <wim@fluendo.com>
13384 * docs/design/part-MT-refcounting.txt:
13385 * docs/design/part-clocks.txt:
13386 * docs/design/part-gstelement.txt:
13387 * docs/design/part-gstobject.txt:
13388 * docs/design/part-standards.txt:
13389 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13390 (gst_bin_remove_func), (gst_bin_remove):
13394 * testsuite/clock/clock1.c: (main):
13395 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
13397 * testsuite/dlopen/loadgst.c: (do_test):
13398 * testsuite/refcounting/bin.c: (add_remove_test1),
13399 (add_remove_test2), (main):
13400 * testsuite/refcounting/element.c: (main):
13401 * testsuite/refcounting/element_pad.c: (main):
13402 * testsuite/refcounting/pad.c: (main):
13403 * tools/gst-launch.c: (sigint_handler_sighandler):
13404 * tools/gst-typefind.c: (main):
13406 Added doc about clock.
13407 removed gst_bin_iterate_recurse_up(), marked methods
13409 Fix more testsuites.
13411 2005-03-09 Wim Taymans <wim@fluendo.com>
13413 * gst/gstpad.c: (gst_pad_get_direction),
13414 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
13415 (gst_pad_collect_valist):
13416 * testsuite/bins/interface.c: (main):
13417 * testsuite/caps/audioscale.c: (test_caps):
13418 * testsuite/caps/caps.c: (test1), (test2), (test3):
13419 * testsuite/caps/deserialize.c: (main):
13420 * testsuite/caps/enumcaps.c: (main):
13421 * testsuite/caps/filtercaps.c: (main):
13422 * testsuite/caps/intersect2.c: (main):
13423 * testsuite/caps/random.c: (main):
13424 * testsuite/caps/renegotiate.c: (my_fixate), (main):
13425 * testsuite/caps/sets.c: (check_caps):
13426 * testsuite/caps/simplify.c: (check_caps), (main):
13427 * testsuite/caps/subtract.c: (check_caps):
13428 Fix _pad_get_direction wrt ghostpads.
13429 Fix caps testsuite.
13431 2005-03-09 Wim Taymans <wim@fluendo.com>
13433 * check/Makefile.am:
13434 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
13435 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
13436 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
13437 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
13438 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
13439 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
13440 (gst_bin_remove), (gst_bin_iterate_recurse_up),
13441 (bin_element_is_sink), (gst_bin_iterate_sinks),
13442 (gst_bin_iterate_all_by_interface):
13444 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
13445 (gst_element_change_state), (gst_element_dispose),
13446 (gst_element_finalize), (gst_element_set_loop_function):
13447 * gst/gstelement.h:
13448 * gst/gstiterator.c: (find_custom_fold_func):
13449 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13450 (gst_pad_collectv), (gst_pad_collect_valist),
13451 (gst_pad_template_new):
13452 * gst/gstpipeline.c: (gst_pipeline_class_init),
13453 (gst_pipeline_dispose), (gst_pipeline_set_property),
13454 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
13455 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
13456 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
13458 * gst/schedulers/entryscheduler.c:
13459 * gst/schedulers/gstbasicscheduler.c:
13460 (gst_basic_scheduler_cothreaded_chain),
13461 (gst_basic_scheduler_chain_add_element):
13462 * testsuite/bins/interface.c: (main):
13464 Added GstSystemClock test.
13465 Implemented clock distribution code in GstBin.
13466 Implemented iterate sinks method for future use.
13467 Rearranged gstelement.h
13468 Fix GstIterator comparison bug.
13469 Moved some code to GstPipeline, mostly clocking related.
13471 2005-03-09 Wim Taymans <wim@fluendo.com>
13474 * gst/gst_private.h:
13475 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13476 (gst_bin_remove_func), (gst_bin_remove),
13477 (gst_bin_get_by_name_recurse_up):
13478 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
13479 (gst_clock_id_compare_func), (gst_clock_id_wait),
13480 (gst_clock_id_wait_async), (gst_clock_init),
13481 (gst_clock_adjust_unlocked), (gst_clock_get_time):
13482 * gst/gstelement.h:
13483 * gst/gstinfo.c: (_gst_debug_init):
13485 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
13486 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
13488 Bump version number, we're now 0.9.0
13489 Add future debugging category.
13490 Fix NULL _unref() in _get_by_name_recurse_up
13491 Rearrange gstpad.h.
13494 2005-03-08 Wim Taymans <wim@fluendo.com>
13496 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
13497 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
13498 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
13499 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
13500 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
13501 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
13502 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
13503 * gst/elements/gstidentity.c: (gst_identity_class_init):
13504 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
13505 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
13506 * gst/elements/gstshaper.c: (gst_shaper_class_init):
13507 * gst/elements/gststatistics.c: (gst_statistics_class_init):
13508 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
13510 * gst/gstelement.c: (gst_element_class_init),
13511 (gst_element_base_class_init), (gst_element_init),
13512 (gst_element_get_random_pad), (gst_element_wait_state_change),
13513 (gst_element_change_state), (gst_element_dispose),
13514 (gst_element_finalize), (gst_element_set_loop_function):
13515 * gst/gstelement.h:
13516 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
13517 * gst/gstthread.c: (gst_thread_class_init),
13518 (gst_thread_release_children_locks), (gst_thread_change_state):
13519 * gst/schedulers/gstbasicscheduler.c:
13520 (gst_basic_scheduler_loopfunc_wrapper),
13521 (gst_basic_scheduler_chain_wrapper),
13522 (gst_basic_scheduler_src_wrapper),
13523 (gst_basic_scheduler_remove_element):
13524 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
13525 Remove threadsafe properties. Fix elements because GObject
13526 complains when installing a property before declaring a
13527 set/get_property handler.
13528 Rearrange gstelement.h file, use STATE macros for state locks.
13529 Free mutexes in the finalize method instead of dispose.
13531 2005-03-08 Wim Taymans <wim@fluendo.com>
13533 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
13534 * gst/gstthread.c: (gst_thread_release_children_locks):
13535 Added parentage check.
13536 Fix build og GstThread again.
13538 2005-03-08 Wim Taymans <wim@fluendo.com>
13540 * docs/design/part-MT-refcounting.txt:
13541 * docs/design/part-conventions.txt:
13542 * docs/design/part-gstobject.txt:
13543 * docs/design/part-relations.txt:
13544 * docs/design/part-standards.txt:
13545 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
13546 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
13547 (gst_bin_get_by_name), (gst_bin_get_by_interface),
13548 (gst_bin_iterate_all_by_interface):
13551 * gst/gstelement.c: (gst_element_class_init),
13552 (gst_element_change_state), (gst_element_set_loop_function):
13553 * gst/gstelement.h:
13554 * gst/gstiterator.c:
13555 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
13556 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
13557 (gst_object_dispatch_properties_changed), (gst_object_set_name),
13558 (gst_object_set_parent), (gst_object_unparent),
13559 (gst_object_check_uniqueness):
13561 Docs updates, clean up some headers.
13563 2005-03-07 Wim Taymans <wim@fluendo.com>
13565 * check/.cvsignore:
13566 * check/Makefile.am:
13567 * check/gst-libs/.cvsignore:
13568 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
13569 * check/gst/.cvsignore:
13570 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
13571 (START_TEST), (gstbus_suite), (main):
13572 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
13573 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
13574 (gst_data_suite), (main):
13575 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
13576 (add_fold_func), (gstiterator_suite), (main):
13577 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
13578 (thread_name_object), (thread_name_object_default),
13579 (gst_object_name_compare), (gst_object_suite), (main):
13580 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
13581 (gst_pad_suite), (main):
13582 * check/gstcheck.c: (gst_check_log_message_func),
13583 (gst_check_log_critical_func), (gst_check_init):
13584 * check/gstcheck.h:
13585 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
13586 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
13589 2005-03-07 Wim Taymans <wim@fluendo.com>
13591 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
13592 (gst_list_iterator_next), (gst_list_iterator_resync),
13593 (gst_list_iterator_free), (gst_iterator_new_list),
13594 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
13595 (gst_iterator_free), (gst_iterator_push), (filter_next),
13596 (filter_resync), (filter_uninit), (filter_free),
13597 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
13598 (gst_iterator_foreach), (find_custom_fold_func),
13599 (gst_iterator_find_custom):
13600 * gst/gstiterator.h:
13601 Added missing files.
13603 2005-03-07 Wim Taymans <wim@fluendo.com>
13607 * docs/design/part-MT-refcounting.txt:
13608 * docs/design/part-conventions.txt:
13609 * docs/design/part-gstobject.txt:
13610 * docs/design/part-relations.txt:
13611 * examples/mixer/mixer.c: (main):
13612 * examples/thread/thread.c: (eos), (main):
13614 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
13615 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
13616 (gst_spider_plug_from_srcpad):
13617 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
13618 (gst_spider_identity_change_state),
13619 (gst_spider_identity_sink_loop_type_finding):
13620 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
13621 * gst/elements/gstidentity.c: (gst_identity_init):
13622 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
13623 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
13624 * gst/elements/gsttypefindelement.c: (free_entry):
13627 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
13628 (gst_bin_set_clock_func), (gst_bin_auto_clock),
13629 (gst_bin_set_index), (gst_bin_set_element_sched),
13630 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
13631 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
13632 (gst_bin_iterate_elements), (iterate_child_recurse),
13633 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
13634 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
13635 (compare_interface), (gst_bin_get_by_interface),
13636 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
13638 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
13639 (gst_buffer_default_free), (gst_buffer_default_copy),
13640 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
13641 (gst_buffer_create_sub):
13643 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
13644 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
13645 (gst_caps_unref), (gst_static_caps_get),
13646 (gst_caps_remove_and_get_structure), (gst_caps_append),
13647 (gst_caps_append_structure), (gst_caps_remove_structure),
13648 (gst_caps_copy_nth), (gst_caps_set_simple),
13649 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
13650 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
13651 (gst_caps_structure_intersect_field), (gst_caps_intersect),
13652 (gst_caps_structure_subtract_field), (gst_caps_subtract),
13653 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
13654 (gst_caps_structure_figure_out_union),
13655 (gst_caps_switch_structures), (gst_caps_do_simplify),
13656 (gst_caps_replace), (gst_caps_from_string),
13657 (gst_caps_copy_conditional):
13659 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
13660 (_gst_clock_id_free), (gst_clock_id_unref),
13661 (gst_clock_id_compare_func), (gst_clock_id_wait),
13662 (gst_clock_id_wait_async), (gst_clock_class_init),
13663 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
13664 (gst_clock_get_time), (gst_clock_set_time_adjust),
13665 (gst_clock_set_property), (gst_clock_get_property):
13668 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
13669 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
13671 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
13672 (gst_element_requires_clock), (gst_element_provides_clock),
13673 (gst_element_set_clock), (gst_element_clock_wait),
13674 (gst_element_wait), (gst_element_set_time_delay),
13675 (gst_element_is_indexable), (gst_element_add_pad),
13676 (gst_element_add_ghost_pad), (gst_element_remove_pad),
13677 (pad_compare_name), (gst_element_get_static_pad),
13678 (gst_element_request_pad), (gst_element_get_request_pad),
13679 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
13680 (gst_element_class_get_pad_template_list),
13681 (gst_element_class_get_pad_template), (gst_element_error_func),
13682 (gst_element_get_random_pad), (gst_element_get_event_masks),
13683 (gst_element_send_event), (gst_element_seek),
13684 (gst_element_get_query_types), (gst_element_query),
13685 (gst_element_get_formats), (gst_element_convert),
13686 (gst_element_is_locked_state), (gst_element_set_locked_state),
13687 (gst_element_sync_state_with_parent), (gst_element_change_state),
13688 (gst_element_finalize), (gst_element_yield),
13689 (gst_element_interrupt), (gst_element_set_scheduler),
13690 (gst_element_get_scheduler), (gst_element_set_loop_function):
13691 * gst/gstelement.h:
13693 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
13694 (gst_format_get_by_nick), (gst_format_get_details),
13695 (gst_format_iterate_definitions):
13697 * gst/gstindex.c: (gst_index_gtype_resolver):
13700 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
13701 (gst_mem_chunk_free):
13702 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
13703 (gst_object_ref), (gst_object_unref), (gst_object_sink),
13704 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
13705 (gst_object_dispatch_properties_changed),
13706 (gst_object_set_name_default), (gst_object_set_name),
13707 (gst_object_get_name), (gst_object_set_name_prefix),
13708 (gst_object_get_name_prefix), (gst_object_set_parent),
13709 (gst_object_get_parent), (gst_object_unparent),
13710 (gst_object_check_uniqueness), (gst_object_save_thyself),
13711 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
13712 (gst_object_set_property), (gst_object_get_property),
13713 (gst_object_get_path_string):
13715 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
13716 (gst_real_pad_init), (gst_real_pad_get_property),
13717 (gst_pad_custom_new), (gst_pad_get_direction),
13718 (gst_pad_set_active), (gst_pad_is_active),
13719 (gst_pad_set_event_function), (gst_pad_is_linked),
13720 (gst_pad_link_free), (gst_pad_link_intersect),
13721 (gst_pad_link_fixate), (gst_pad_set_caps),
13722 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
13723 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
13724 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
13725 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
13726 (gst_pad_get_caps), (gst_pad_peer_get_caps),
13727 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
13728 (gst_pad_realize), (gst_pad_get_allowed_caps),
13729 (gst_real_pad_dispose), (gst_real_pad_finalize),
13730 (gst_pad_collectv), (gst_pad_collect_valist),
13731 (gst_pad_template_dispose), (gst_pad_template_new),
13732 (gst_pad_get_internal_links):
13734 * gst/gstpipeline.c: (gst_pipeline_dispose),
13735 (gst_pipeline_change_state):
13736 * gst/gstpipeline.h:
13738 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
13739 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
13740 * gst/gstpluginfeature.h:
13741 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
13742 * gst/gstquery.c: (_gst_query_type_initialize),
13743 (gst_query_type_register), (gst_query_type_get_by_nick),
13744 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
13746 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
13747 * gst/gstscheduler.c: (gst_scheduler_add_element),
13748 (gst_scheduler_factory_create):
13749 * gst/gststructure.c: (gst_structure_set_parent_refcount),
13750 (gst_structure_free), (gst_structure_set_name),
13751 (gst_structure_id_set_value), (gst_structure_set_value),
13752 (gst_structure_set_valist), (gst_structure_remove_field),
13753 (gst_structure_remove_fields),
13754 (gst_structure_remove_fields_valist),
13755 (gst_structure_remove_all_fields), (gst_structure_foreach),
13756 (gst_structure_map_in_place),
13757 (gst_caps_structure_fixate_field_nearest_int),
13758 (gst_caps_structure_fixate_field_nearest_double):
13759 * gst/gststructure.h:
13760 * gst/gstsystemclock.c: (gst_system_clock_class_init),
13761 (gst_system_clock_init), (gst_system_clock_dispose),
13762 (gst_system_clock_async_thread),
13763 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
13764 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
13765 * gst/gstsystemclock.h:
13766 * gst/gsttag.c: (gst_tag_list_add_value_internal),
13767 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
13768 * gst/gsttaginterface.c:
13769 * gst/gstthread.c: (gst_thread_dispose),
13770 (gst_thread_release_children_locks), (gst_thread_change_state),
13771 (gst_thread_main_loop):
13772 * gst/gsttrashstack.h:
13773 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
13775 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
13776 (gst_element_request_pad), (gst_element_get_pad_from_template),
13777 (gst_element_request_compatible_pad),
13778 (gst_element_get_compatible_pad_filtered),
13779 (gst_element_get_compatible_pad), (gst_element_state_get_name),
13780 (gst_element_link_pads_filtered), (gst_element_link_filtered),
13781 (gst_element_link_many), (gst_element_link),
13782 (gst_element_link_pads), (gst_element_unlink_pads),
13783 (gst_element_unlink_many), (gst_element_unlink),
13784 (gst_pad_can_link_filtered), (gst_pad_can_link),
13785 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
13786 (gst_object_default_error), (gst_bin_add_many),
13787 (gst_bin_remove_many), (gst_element_populate_std_props),
13788 (gst_element_class_install_std_props), (gst_buffer_merge),
13789 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
13790 (link_fold_func), (gst_pad_proxy_setcaps):
13792 * gst/gstvalue.c: (gst_value_deserialize_string):
13793 * gst/parse/grammar.y:
13794 * gst/schedulers/gstbasicscheduler.c:
13795 (gst_basic_scheduler_cothreaded_chain),
13796 (gst_basic_scheduler_chain_recursive_add),
13797 (gst_basic_scheduler_pad_link):
13798 * gst/schedulers/gstoptimalscheduler.c:
13799 (get_group_schedule_function),
13800 (gst_opt_scheduler_state_transition),
13801 (gst_opt_scheduler_add_element), (element_get_reachables_func):
13802 * libs/gst/bytestream/bytestream.c:
13803 * libs/gst/dataprotocol/dataprotocol.c:
13804 (gst_dp_header_from_buffer):
13807 * tests/threadstate/threadstate2.c: (eos):
13808 * tools/gst-compprep.c: (main):
13809 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
13810 (print_pad_info), (print_children_info):
13811 * tools/gst-launch.c: (idle_func), (main):
13812 * tools/gst-md5sum.c: (idle_func), (main):
13813 * tools/gst-xmlinspect.c: (print_element_info):
13814 First THREADED backport attempt, focusing on adding locks and
13815 making sure the API is threadsafe. Needs more work. More docs
13818 2005-02-24 Andy Wingo <wingo@pobox.com>
13820 * tests/bench-complexity.scm:
13821 * tests/complexity.gnuplot: New files, good for running complexity
13824 * tests/Makefile.am:
13825 * tests/complexity.c: New test, sets up N elements, at each level
13826 teeing into M streams per element. Eeeenteresting.
13828 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
13829 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
13830 running bench-mass_elements.scm.
13832 * tests/bench-mass_elements.scm: New script, runs mass_elements
13833 for various numbers of identities, outputting the results to a
13834 file. Requires guile 1.6. Just for testing.
13836 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
13838 * gst/schedulers/fairscheduler.c:
13839 compile with debug disabled
13841 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
13844 hunting season on 0.9 is now OPEN