1 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
3 * win32/vs6/libgstreamer.dsp:
4 * win32/vs7/libgstreamer.vcproj:
5 * win32/vs8/libgstreamer.vcproj:
6 Don't reference glib-compat.c which is currently not used and not
7 disted; add gstquark.c which was recently added. Fixes #361730.
9 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
11 * win32/common/libgstbase.def:
12 * win32/common/libgstcontroller.def:
13 * win32/common/libgstreamer.def:
14 Add gst_caps_merge() and a bunch of other recently-added functions.
17 2006-10-11 Wim Taymans <wim@fluendo.com>
19 * docs/plugins/gstreamer-plugins.args:
20 * docs/plugins/inspect/plugin-coreelements.xml:
21 * docs/plugins/inspect/plugin-coreindexers.xml:
24 * gst/gstsystemclock.c:
27 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
28 (gst_tee_request_new_pad), (gst_tee_release_pad),
29 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
30 (gst_tee_sink_activate_pull):
31 * plugins/elements/gsttee.h:
33 Add default property defines.
34 Implement release pad function.
35 Give properties better blubs etc.
36 Activate pads before adding them to a running tee.
37 Do simple buffer_alloc on the first requested pad.
38 Post error when activation fails.
40 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
42 * gst/gst.c: (ensure_current_registry_forking):
43 Check return value of write() to make compiler happy.
45 2006-10-11 Wim Taymans <wim@fluendo.com>
47 Patch by: Sjoerd Simons <sjoerd at luon dot net>
49 * plugins/elements/gstqueue.c: (gst_queue_chain):
50 Recheck queue filledness after signalling the overrun when we're about
51 to leak downstream because we released the lock when emitting the signal
52 and the queue could be empty again. Fixes #352345.
54 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
56 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
57 Fix refcounting here too, just like we did for _new_valist() a few
58 days ago (#357180) (thanks to René Stadler). Also remove all those
59 'Since: 0.9' from the gtk-doc blobs.
61 * tests/check/libs/controller.c: (controller_refcount_new_list),
62 (gst_controller_suite):
63 Unit test for the above.
65 2006-10-10 Wim Taymans <wim@fluendo.com>
67 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
69 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
70 (gst_pad_save_thyself):
72 Write pad direction in XML output. Fixes #345496.
74 2006-10-10 Wim Taymans <wim@fluendo.com>
76 Patch by: René Stadler <mail at renestadler dot de>
78 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
79 (gst_controller_new_list), (_gst_controller_dispose),
80 (_gst_controller_finalize), (_gst_controller_class_init):
81 Take ref to controlled object so that it cannot disappear.
84 2006-10-10 Wim Taymans <wim@fluendo.com>
86 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
87 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
88 (gst_check_teardown_sink_pad):
89 Activate/deactivate pads in setup/teardown respectively.
91 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
93 Patch by: Josep Torre Valles <josep@fluendo.com>
96 Cast values when making gstenumtypes.h. This pacifies Forte
97 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
100 2006-10-09 Wim Taymans <wim@fluendo.com>
102 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
103 Rename some more @cur to @start to fix docs.
105 * gst/gstsegment.c: (gst_segment_set_seek):
107 time and start must always stay in sync as defined in design doc.
109 * gst/gsttaglist.c: (gst_tag_list_is_empty):
110 Rename param to fix docs.
112 * tests/check/gst/gstsegment.c: (GST_START_TEST):
113 Check that start and time are in sync.
115 * tests/check/pipelines/parse-launch.c:
116 (gst_parse_test_element_change_state):
117 Activate pad before adding to the element.
119 2006-10-09 Wim Taymans <wim@fluendo.com>
121 * docs/design/part-qos.txt:
126 Update seek event docs regarding negative rates.
127 Rename @cur to @start.
129 * gst/gstsegment.c: (gst_segment_set_seek):
131 Update set_seek docs regarding negative rates.
132 Correctly update last_stop to @stop when dealing with negative
134 Rename @cur to @start.
136 * tests/check/gst/gstpad.c: (GST_START_TEST):
137 Activate pads before trying to use them.
139 * tests/check/gst/gstsegment.c: (GST_START_TEST),
141 Add simple check for segments and negative rates.
143 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
145 * gst/gsttaglist.c: (gst_tag_list_is_empty):
147 * docs/gst/gstreamer-sections.txt:
148 API: add gst_tag_list_is_empty() (#360467).
150 * tests/check/gst/gsttag.c: (GST_START_TEST):
153 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
156 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
157 a value that doesn't fit on enumeration.
159 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
161 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
162 Remove local debugging system and use Gstreamer's instead.
164 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
166 Patch by: Josep Torre Valles <josep@fluendo.com>
168 * common/m4/gst-error.m4:
169 Disable warning of statement not reached on Forte.
171 Fix warning on Forte (value doesn't fit on enumeration).
172 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
173 Fix warning on Forte (value doesn't fit on enumeration).
174 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
175 DEBUG macro says it takes minimum of 2 args and so Forte
176 complains about the use with just 1 arg.
177 * plugins/elements/gstfdsink.c:
178 * plugins/elements/gstfdsrc.c:
179 * plugins/elements/gstfilesink.c:
180 * plugins/elements/gstfilesrc.c:
181 Use correct return type for the uri handler implementations.
183 All these fix warnings in Forte. Fixes bug #360860.
185 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
188 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
189 format string, so don't use G_GNUC_PRINTF for those versions.
191 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
193 * gst/gsttaglist.c: (gst_is_tag_list):
195 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
197 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
198 Small test for the above.
200 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
203 Less tabs, more spaces.
205 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
208 Those two function declarations do actually belong there, revert
209 commit from yesterday that turned them intro macros.
211 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
213 Patch by: Josep Torre Valles <josep@fluendo.com>
215 * gst/gst.c: (gst_init_get_option_group):
216 Fix empty declaration and type mismatch.
217 * gst/gstbin.c: (gst_bin_change_state_func):
219 * gst/gstelement.c: (gst_element_continue_state),
220 (gst_element_set_state_func), (gst_element_change_state),
221 (gst_element_change_state_func):
223 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
224 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
226 * gst/gstobject.c: (gst_class_signal_connect):
227 Cast as appropriate. The function pointer parameter really
228 has the wrong type but would break API if we change it.
230 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
231 order of including string.h.
232 * gst/gstutils.c: (gst_element_state_get_name):
233 Remove unreachable line.
234 * gst/gstxml.c: (gst_xml_parse_doc):
236 All these caught by Forte.
238 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
240 Patch by: Josep Torre Valles <josep@fluendo.com>
242 * common/m4/gst-error.m4:
244 We need to disable warnings on Forte for empty declarations
245 due to gst-indent adding ;s to lines that just use macros
246 where the macro actually doesn't need a ; at end to end
249 2006-10-06 Wim Taymans <wim@fluendo.com>
251 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
252 (gst_file_sink_close_file), (gst_file_sink_event),
253 (gst_file_sink_render):
254 Add some FIXME for the NEWSEGMENT handling.
256 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
258 * gst/parse/grammar.y:
259 Remove static function gst_parse_element_lock as all it does
260 is return. Looks like cruft from 0.8.
262 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
264 Patch by: Josep Torre Valles <josep@fluendo.com>
266 * common/m4/gst-error.m4:
268 * libs/gst/net/Makefile.am:
269 Fix a compilation issue with Forte on Solaris. inet_aton is in
272 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
274 * gst/gstpad.c: (pre_activate):
275 * gst/gstregistry.c: (gst_registry_scan_path_level):
276 * gst/gstregistryxml.c: (load_plugin):
277 * libs/gst/controller/gstcontroller.c:
278 (gst_controlled_property_set_interpolation_mode):
279 * libs/gst/dataprotocol/dataprotocol.c:
280 (gst_dp_packet_from_event_1_0):
281 * libs/gst/net/gstnetclientclock.c:
282 (gst_net_client_clock_observe_times):
283 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
286 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
289 * docs/gst/gstreamer-sections.txt:
290 * gst/gstconfig.h.in:
293 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
294 whether we can use G_GNUC_PRINTF in other header files and at
295 least check the printf format/arguments of debug messages and
296 GST_ELEMENT_ERROR messages when the printf extension is not
298 Replace more tabs with spaces in gstinfo.h and remove two spurious
299 function declarations in GST_DISABLE_DEBUG part with macros.
301 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
303 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
304 More docs for the sync-message signal (mention that it is not
305 emitted by default); log message structures of messages posted on
308 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
310 * gst/gst.c: (ensure_current_registry_forking):
311 Use a pipe pair to receive status results from the forked child, and
312 ignore the result from waitpid. Fixes #355499
314 2006-10-02 Wim Taymans <wim@fluendo.com>
316 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
317 (gst_ghost_pad_suite):
320 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
323 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
325 2006-10-02 Edward Hervey <edward@fluendo.com>
327 * docs/design/part-block.txt:
328 Further explain the use of flushing on blocked pads.
329 * docs/gst/gstreamer-sections.txt:
330 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
331 (gst_pad_push_event):
333 Added new GstPadFlag : GST_PAD_BLOCKING.
334 Adds the notion of pads really blocking, which enables to properly
335 handle FLUSH_START/FLUSH_STOP events on blocked pads.
337 API: gst_pad_is_blocking()
338 API: GST_PAD_IS_BLOCKING() macro
339 API: GST_PAD_BLOCKING GstPadFlag
341 2006-10-02 Wim Taymans <wim@fluendo.com>
343 Patch by: mrcgran <mrc.gran at gmail dot com>
345 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
346 Filter the proxied caps against the padtemplate if we have one.
348 * gst/gstquery.c: (gst_query_new_segment):
349 Add include for gstinfo.h so that compilation with
350 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
352 2006-10-02 Wim Taymans <wim@fluendo.com>
354 Patch by: Alessandro Decina <alessandro at nnva org>
356 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
357 (gst_file_sink_set_location), (gst_file_sink_open_file),
358 (gst_file_sink_close_file), (gst_file_sink_event),
359 (gst_file_sink_render):
360 Set file to NULL when closing filesink so that we can set a new filename
361 in READY. Fixes #358613.
363 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
365 Patch by: Alessandro Decina <alessandro at nnva org>
367 * gst/gstevent.c: (_gst_event_copy):
368 Fix gst_mini_object_make_writable() and gst_event_copy() for events
369 with event structures by setting the parent refcount address of the
370 copied structure to the address of the refcount member of the newly
371 copied event rather than the address of the refcount member of the
372 original event. Fixes #358737.
374 * tests/check/gst/gstevent.c: (GST_START_TEST):
375 Unit test for the above.
377 2006-09-29 Stefan Kost <ensonic@users.sf.net>
379 * docs/design/Makefile.am:
380 Dist some more files.
382 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
384 * tests/check/libs/controller.c: (GST_START_TEST),
385 (gst_controller_suite):
386 Add test for the previous fix; add some more tests
387 for correct refcounting behaviour; fix a few leaks
388 in test cases; call gst_controller_init() at start
391 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
393 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
394 (gst_controller_set_from_list):
395 Don't g_return_val_if_fail() on timed values with invalid timestamps
396 inside a critical section without unlocking the mutex. Spotted by
397 René Stadler. (#357617)
398 Also, fix up refcounting properly: when returning an existing
399 controller, we should increase the reference only once and not
400 once per property and when trying to control a property again
401 we should also increase the refcount.
403 2006-09-29 Wim Taymans <wim@fluendo.com>
405 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
406 * libs/gst/net/gstnettimeprovider.c:
407 (gst_net_time_provider_thread):
408 Stop reading commands when EOF as well.
410 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
411 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
412 * plugins/elements/gstidentity.c: (gst_identity_class_init):
413 Unify description of the dump property.
415 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
417 * tests/examples/manual/.cvsignore:
418 OK, so it's actually cvsignore that needs changing. Stop laughing.
420 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
422 * tests/examples/manual/Makefile.am:
423 Gah, declare vars *before* using them
425 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
427 * gst/gst.c: (init_pre), (scan_and_update_registry),
428 (ensure_current_registry_nonforking),
429 (ensure_current_registry_forking), (ensure_current_registry),
430 (init_post), (gst_debug_help), (gst_deinit):
432 * gst/gstregistry.c: (gst_registry_finalize),
433 (gst_registry_remove_features_for_plugin_unlocked),
434 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
435 (gst_registry_scan_path),
436 (_priv_gst_registry_remove_cache_plugins),
437 (_priv_gst_registry_cleanup):
439 Re-commit the registry changes, along with an extra fix:
440 When a cached plugin is encountered at a different file path,
441 update the stored path in the registry cache so that the parent
442 process knows where it actually is now when it re-reads the registry
443 cache. Fixes the thing that broke distcheck with the previous commit.
445 * tests/check/Makefile.am:
446 Clean up files named 'core' too when running make clean.
448 * tests/examples/manual/Makefile.am:
449 Set up a registry path for running these tests, and clean it properly
452 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
455 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
456 want gmodule-no-export-2.0.pc instead so that we don't drag in
457 --export-dynamic on every project that links to GStreamer.
459 Also, make our export regex only match the start of symbols, rather
460 than any symbol that contains '_gst' somewhere.
462 * libs/gst/check/Makefile.am:
463 The libgstcheck we build does however need export-dynamic, as it
464 produces some symbols that don't match our _gst... style regex.
467 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
469 * gst/gst.c: (init_pre), (scan_and_update_registry),
470 (ensure_current_registry_nonforking),
471 (ensure_current_registry_forking), (ensure_current_registry),
472 (init_post), (gst_debug_help), (gst_deinit):
474 * gst/gstregistry.c: (gst_registry_finalize),
475 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
476 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
477 (_gst_registry_cleanup):
479 Revert previous change until I figure out why it breaks distcheck.
481 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
483 * gst/gst.c: (init_pre), (scan_and_update_registry),
484 (ensure_current_registry_nonforking),
485 (ensure_current_registry_forking), (ensure_current_registry),
486 (init_post), (gst_debug_help), (gst_deinit):
488 Make init_pre and init_post take the full complement of GOptionFunc
489 args so they can return useful GErrors. Make the registry updating
492 Call _priv_gst_registry_remove_cache_plugins after scanning files to
493 ensure that the registry we're about to write out doesn't contain
494 stale information about old-deleted plugin files.
496 Make _priv_gst_registry_remove_cache_plugins return a boolean so
497 that deletion of plugin files is considered a registry change.
500 * gst/gstregistry.c: (gst_registry_finalize),
501 (gst_registry_remove_features_for_plugin_unlocked),
502 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
503 (gst_registry_scan_path),
504 (_priv_gst_registry_remove_cache_plugins),
505 (_priv_gst_registry_cleanup):
507 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
508 by adding _priv prefix, so that they won't appear in the global
509 symbol table. They still do atm though because of #318031. Move the
510 prototypes to gst_private.h
512 When removing a plugin, remove all features for that plugin too.
515 2006-09-27 Wim Taymans <wim@fluendo.com>
517 * docs/random/moving-plugins:
518 Make it clear that the "compiled-in descriptions" really mean
521 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
522 (gst_base_sink_wait_preroll):
525 * docs/libs/gstreamer-libs-sections.txt:
526 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
527 (gst_base_src_get_range), (gst_base_src_activate_push):
528 * libs/gst/base/gstbasesrc.h:
529 Added function to block while waiting for PLAYING, this function
530 is used by live sources that block on the clock.
531 API: gst_base_src_wait_playing()
533 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
535 Patch by: Peter Kjellerstedt <pkj at axis com>
538 gst-element-check.m4 is generated and should therefore be
539 copied from the build dir rather than the source dir (#357593).
540 'make distcheck' hasn't noticed this because we were disting
541 the file as well, so stop doing that.
543 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
545 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
546 Add some tests for gst_caps_intersect().
548 * tools/gst-launch.c: (event_loop):
549 Print all buffering percentages we get, even the 100% one.
551 2006-09-26 Wim Taymans <wim@fluendo.com>
553 * tools/gst-inspect.c: (print_element_properties_info),
555 Fix printing of flags to match the look of enums.
557 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
559 * gst/gstelementfactory.c:
560 Fix typo in docs blurb.
562 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
564 * gst/gsturi.c: (search_by_entry):
565 Don't assert/crash here if a uri handler doesn't return any
566 supported protocols. The list of protocols could be generated
567 dynamically at runtime or at plugin registration, and an error
568 in the underlying library shouldn't be fatal (#353301).
570 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
573 Fix warning if HAVE_PRINTF_EXTENSION is undefined
574 (spotted by Peter Kjellerstedt).
576 2006-09-23 Wim Taymans <wim@fluendo.com>
578 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
580 * libs/gst/base/gstbasesrc.c:
581 (gst_base_src_default_check_get_range), (gst_base_src_start),
582 (gst_base_src_activate_push), (gst_base_src_activate_pull),
583 (gst_base_src_change_state):
584 Match _start/_stop calls in the activate functions. Remove redundant
585 _stop call from the state change function. Fixes #356910.
586 Turn failure DEBUG into ERROR.
588 2006-09-22 Wim Taymans <wim@fluendo.com>
590 * docs/design/part-buffering.txt:
591 * gst/gstmessage.c: (gst_message_new_buffering),
592 (gst_message_parse_buffering):
593 Update docs about buffering.
595 * docs/design/part-trickmodes.txt:
598 2006-09-22 Stefan Kost <ensonic@users.sf.net>
600 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
601 (gst_controller_new_list):
602 Ref instances when returning them again (fixes #357180)
604 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
606 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
607 Don't forget to release proxy lock when there's an error.
609 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
612 Add extra initialisers for Caps things, to fix some plugin warnings
615 2006-09-18 Wim Taymans <wim@fluendo.com>
617 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
618 Also set template on the internal pad so that a getcaps from the
619 target pad returns the template caps.
621 2006-09-18 Wim Taymans <wim@fluendo.com>
623 * gst/gstelement.c: (gst_element_post_message),
624 (gst_element_dispose):
625 Use _DEBUG_OBJECT some more.
627 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
630 * tools/gst-launch.c: (main):
631 If the toplevel element is not a GstPipeline, it must be put in a
632 pipeline so that a bus and clock is selected.
634 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
636 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
637 JITTER, RATE, and LATENCY query should be handled by the
638 default case and not by the CONVERT query code.
640 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
642 * gst/gstformat.c: (gst_format_register):
643 Fix locking order (must take lock before using n_values).
645 * gst/gstvalue.c: (gst_value_serialize_enum),
646 (gst_value_deserialize_enum_iter_cmp),
647 (gst_value_deserialize_enum):
648 Fix serialisation/deserialisation of custom registered GstFormats.
650 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
651 Unit test for custom format serialisation/deserialisation.
653 2006-09-17 Stefan Kost <ensonic@users.sf.net>
655 * docs/pwg/building-boiler.xml:
656 * plugins/elements/gstcapsfilter.c:
657 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
660 2006-09-16 Edward Hervey <edward@fluendo.com>
662 * libs/gst/base/gstbasetransform.c:
663 (gst_base_transform_buffer_alloc):
664 Check if requested caps are the same as the sinks caps IF
665 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
667 This fixes the renegotiation issues stated in #352827.
669 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
672 * docs/manual/advanced-autoplugging.xml:
673 * tests/examples/Makefile.am:
674 * tests/examples/manual/.cvsignore:
675 * tests/examples/manual/Makefile.am:
676 * tests/examples/manual/extract.pl:
677 Extract the manual examples again like we used to do.
680 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
682 * win32/common/config.h:
685 2006-09-16 Stefan Kost <ensonic@users.sf.net>
688 Documents how to receive errors.
690 2006-09-15 Wim Taymans <wim@fluendo.com>
692 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
693 (event_loop), (main):
694 Added some comments here and there.
695 Post an application message when an interrupt is caught instead of doing
696 an uncontrolled state change.
697 Clean up the event loop.
698 Handle buffering messages, pause/resume the pipeline.
699 Make shutdown because of an interrupt more reliable.
701 2006-09-15 Wim Taymans <wim@fluendo.com>
703 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
704 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
705 (gst_base_sink_preroll_object):
706 Make sure that our internal state is correct when we commit our state
707 asynchronously. This solves a race where a state change to PLAYING
708 could cause the sink to remain blocked in preroll in some situations.
710 2006-09-15 Wim Taymans <wim@fluendo.com>
712 * tools/gst-inspect.c: (print_element_properties_info),
714 List flags as hex so it's easier to deal with.
716 2006-09-15 Wim Taymans <wim@fluendo.com>
718 * docs/libs/gstreamer-libs-sections.txt:
719 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
720 (gst_base_sink_do_sync):
721 * libs/gst/base/gstbasesink.h:
722 Expose logic to wait for preroll so that subclasses such as audiosink
723 can also use this method.
724 API: gst_base_sink_wait_preroll()
726 2006-09-15 Wim Taymans <wim@fluendo.com>
728 * gst/gstobject.c: (gst_object_set_parent):
729 * gst/gstpipeline.c: (do_pipeline_seek):
730 Small cleanups in docs and code.
732 * gst/gstsegment.c: (gst_segment_clip):
733 * tests/check/gst/gstsegment.c: (GST_START_TEST):
734 if stop == start and start is in the segment, no clipping should be
735 done. Also add a test for this.
737 2006-09-15 Wim Taymans <wim@fluendo.com>
739 * docs/design/part-buffering.txt:
740 * docs/gst/gstreamer-sections.txt:
741 * gst/gstmessage.c: (gst_message_new_buffering),
742 (gst_message_parse_buffering):
744 Added methods to create and parse BUFFERING messages.
745 Added preliminary docs about buffering.
746 API: gst_message_new_buffering
747 API: gst_message_parse_buffering
749 2006-09-06 Wim Taymans <wim@fluendo.com>
752 Update documentation.
754 * gst/gstelement.c: (gst_element_class_init),
755 (gst_element_release_request_pad), (gst_element_set_clock),
756 (gst_element_get_index), (gst_element_add_pad),
757 (gst_element_remove_pad), (gst_element_get_random_pad),
758 (gst_element_send_event), (gst_element_get_query_types),
759 (gst_element_query), (gst_element_post_message),
760 (gst_element_message_full), (gst_element_continue_state),
761 (gst_element_lost_state), (gst_element_save_thyself),
762 (gst_element_restore_thyself):
763 Documentation updates.
764 Rename last bit of the new-pad -> pad-added signal rename.
765 Fix the case where an element query would only work if the source
767 Avoid some useless type checking in message handling.
772 Documentation updates.
774 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
776 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
777 add an INFO line for when we actually update the fd
779 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
784 === release 0.10.10 ===
786 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
789 releasing 0.10.10, "Pais"
791 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
793 * docs/manual/advanced-position.xml:
794 Fix typo in sample code.
796 2006-09-05 Wim Taymans <wim@fluendo.com>
798 * libs/gst/net/gstnetclientclock.c: (inet_aton),
799 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
800 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
801 * libs/gst/net/gstnetclientclock.h:
802 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
803 * libs/gst/net/gstnettimepacket.h:
804 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
805 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
806 (gst_net_time_provider_thread), (gst_net_time_provider_new):
807 * libs/gst/net/gstnettimeprovider.h:
808 Make stuff compile on windows. Fixes #345295.
810 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
812 * gst/gst.c: (ensure_current_registry_forking):
813 Print better details when child was terminated by signal.
815 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
817 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
818 Print a warning rather than g_assert() if a plugin feature
819 is a URI handler but returns no protocols (#353976).
821 2006-09-02 Stefan Kost <ensonic@users.sf.net>
823 * docs/random/moving-plugins:
826 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
828 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
829 Fix locking order, handle NULL function values properly.
834 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
835 Initialise variable before using it and fix debug statement to
836 print the address of the function rather than the address of the
837 variable on the stack holding the address of the function.
839 2006-09-01 Wim Taymans <wim@fluendo.com>
841 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
842 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
843 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
844 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
845 (gst_ghost_pad_parent_unset),
846 (gst_ghost_pad_internal_do_activate_push),
847 (gst_ghost_pad_internal_do_activate_pull),
848 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
849 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
850 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
851 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
852 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
853 (gst_ghost_pad_new_no_target_from_template),
854 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
856 Avoid needless typechecking in macros.
857 Since the internal pad is always present and never changes, there is
858 no need to locking or ref when retrieving it.
859 Improve debugging a bit.
860 Handle link errors when setting the target. Fixes #341029.
862 2006-09-01 Wim Taymans <wim@fluendo.com>
864 * docs/libs/gstreamer-libs-sections.txt:
865 * docs/plugins/gstreamer-plugins-sections.txt:
868 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
869 (gst_collect_pads_event):
870 * libs/gst/base/gstcollectpads.h:
871 Documentation updates.
872 Free queued buffer when removing a pad.
874 2006-08-31 Michael Smith <msmith@fluendo.com>
876 * gst/gstutils.c: (gst_element_link_pads),
877 (gst_element_link_pads_filtered):
878 Ensure that we set a capsfilter to NULL if we failed to link it
879 when doing filtered linking, to avoid criticals.
881 No need to check for unreffing srcpad, which is explicly NULLed
882 above (a trivial code cleanup).
884 2006-08-31 Wim Taymans <wim@fluendo.com>
886 * docs/design/part-gstghostpad.txt:
887 Update ascii art in documentation.
889 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
890 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
891 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
892 (gst_ghost_pad_internal_do_activate_push),
893 (gst_ghost_pad_internal_do_activate_pull),
894 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
895 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
896 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
897 (gst_ghost_pad_set_target):
898 Small cleanups and leak fixes.
899 Remove some checks now that the internal pad is never NULL.
900 Fix the case where linking pads without a target would create nasty
901 criticals. Fixes #341029.
902 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
903 value of _set_target().
905 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
906 (gst_ghost_pad_suite):
907 Some more tests for creating and linking untargeted ghostpads.
909 2006-08-31 Edward Hervey <edward@fluendo.com>
911 * docs/gst/gstreamer-sections.txt:
912 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
913 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
914 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
915 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
916 (gst_ghost_pad_new_from_template),
917 (gst_ghost_pad_new_no_target_from_template):
919 Refactored *_new() functions.
920 Templates are now used as a g_object_new() parameter.
921 Use template in _do_getcaps() if we don't have a target.
922 Small documentation cleanups.
923 Added two new constructors:
924 gst_ghost_pad_new_from_template()
925 gst_ghost_pad_new_no_target_from_template()
926 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
927 (gst_ghost_pad_suite):
928 Added tests for new ghostpad instanciation functions.
930 API additions: gst_ghost_pad_new_from_template,
931 gst_ghost_pad_new_no_target_from_template
933 2006-08-30 Stefan Kost <ensonic@users.sf.net>
935 * docs/random/ensonic/profiling.txt:
936 Ideas about qos profiling.
938 2006-08-29 Wim Taymans <wim@fluendo.com>
940 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
944 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
947 Improve and detypofy docs.
949 * tests/check/Makefile.am:
950 * tests/check/gst/.cvsignore:
951 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
952 Add a basic test suite for GstXML.
954 2006-08-29 Wim Taymans <wim@fluendo.com>
956 * gst/gstelement.c: (activate_pads), (clear_caps),
957 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
958 Clear the pad caps when the element shut down all of the pads and
959 is not streaming data that could modify the caps.
962 2006-08-28 Michael Smith <msmith@fluendo.com>
964 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
965 Revert previous change; I misunderstood single-segment mode.
967 2006-08-28 Michael Smith <msmith@fluendo.com>
969 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
970 Unset DISCONT on buffers when using single-segment mode.
972 2006-08-28 Wim Taymans <wim@fluendo.com>
974 * gst/gstcaps.c: (gst_caps_merge_structure):
976 Fix docs and indentation again.
978 * tests/check/gst/gstquery.c: (GST_START_TEST):
979 Fix leak in tests and add some more tests.
981 2006-08-28 Edward Hervey <edward@fluendo.com>
983 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
984 Inform GstSegment of the last stop position in order for the current
985 segment to have a proper duration if it doesn't have a specific stop
986 position from which a duration could be calculated.
987 This bug was noticeable when a non-flushing, non-update new segment was
988 followed by another segment (all buffers from the new segment were being
991 2006-08-28 Wim Taymans <wim@fluendo.com>
993 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
994 Small comment update.
996 * plugins/elements/gstidentity.c: (gst_identity_class_init),
997 (gst_identity_transform_ip):
998 Drop-probability is broken, mention this in the code with a
999 FIXME and also in the property description.
1000 Make silent also be silent about the drop messages.
1002 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
1004 * docs/manual/appendix-win32.xml:
1005 Remove mention of popt, we don't depend on that any
1006 longer (#353136). Add some comments pointing out that
1007 this section is slightly outdated.
1009 2006-08-28 Wim Taymans <wim@fluendo.com>
1011 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
1013 * gst/gstquery.c: (gst_query_new_segment):
1014 * tests/check/gst/gstquery.c: (GST_START_TEST):
1015 Initialize variables when creating a new segment query.
1018 2006-08-28 Wim Taymans <wim@fluendo.com>
1020 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
1022 * gst/gstelement.c: (gst_element_get_bus):
1023 * tests/check/gst/gstelement.c: (GST_START_TEST):
1024 Check for NULL before _reffing the bus. Fixes #353122.
1026 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
1028 * docs/manual/basics-bus.xml:
1029 Docs update: fix wrong callback return value explanation; add
1030 some lines about the implicit relationship between main loop
1031 and main context; remove duplicate main loop variable declaration.
1033 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
1035 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1036 Don't leak caps in unit test; add a few more simple
1039 2006-08-24 Stefan Kost <ensonic@users.sf.net>
1041 * docs/gst/gstreamer-sections.txt:
1042 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
1043 (gst_caps_structure_is_subset), (gst_caps_merge),
1044 (gst_caps_merge_structure):
1046 * libs/gst/base/gstbasetransform.c:
1047 (gst_base_transform_transform_caps):
1048 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1049 implement caps merging (fixes #352580)
1051 2006-08-23 Stefan Kost <ensonic@users.sf.net>
1053 * tools/Makefile.am:
1054 * tools/gst-plot-timeline.py:
1055 add debug-log plotting developer tool (#340674)
1057 2006-08-23 Wim Taymans <wim@fluendo.com>
1059 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
1060 (gst_pad_stop_task):
1061 Improve debugging for task functions.
1063 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
1064 (gst_task_start), (gst_task_pause), (gst_task_join):
1065 Make sure that the task function started and finished after a
1067 Don't try to push the task function on the threadpool multiple
1069 Improve the g_warning message with some useful suggestions
1070 about how to fix the problem.
1072 2006-08-23 Wim Taymans <wim@fluendo.com>
1074 * gst/gstutils.c: (gst_pad_proxy_getcaps):
1075 Handle RESYNC correctly in _proxy_getcaps.
1077 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
1079 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
1080 (gst_xml_parse_memory), (gst_xml_get_element):
1081 Chain up to parent class in dispose function and also
1082 unref the elements in the toplevel_elements GList.
1083 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
1084 Always return a reference in gst_xml_get_element() rather
1085 than only sometimes.
1087 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
1088 Don't leak GstXml object.
1090 2006-08-21 Stefan Kost <ensonic@users.sf.net>
1092 * docs/gst/gstreamer-sections.txt:
1093 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
1096 * libs/gst/base/gstbasetransform.c:
1097 (gst_base_transform_transform_caps):
1098 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
1101 2006-08-21 Edward Hervey <edward@fluendo.com>
1103 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
1104 Implement GObject::dispose virtual method in GstXML so we can free the
1107 2006-08-21 Wim Taymans <wim@fluendo.com>
1109 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
1110 (gst_buffer_create_sub):
1111 Copy duration/offset_end/caps when creating a subbuffer of the
1113 Make the subbuffer read-only when we make the metadata writable for
1116 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1117 Added check for metadata copy when creating subbuffers.
1119 2006-08-21 Edward Hervey <edward@fluendo.com>
1121 * libs/gst/base/gstbasetransform.c:
1122 (gst_base_transform_buffer_alloc):
1123 Only call downstream buffer_alloc if transform element is passthrough
1124 or always_in_place. Closes #350449.
1126 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1129 ChangeLog surgery to add comments to previous changes
1131 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1136 * gst/gstpad.c: (gst_pad_set_active):
1137 Be more verbose in the log
1139 * libs/gst/base/gstbasetransform.c:
1140 (gst_base_transform_transform_caps):
1141 Simplify caps to get rid of duplicates, fixes #345444
1143 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1147 Use these optimizations only internally.
1149 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1151 * gst/gstvalue.c: (gst_value_compare_list),
1152 (gst_value_compare_fraction_range),
1153 (gst_value_intersect_fraction_fraction_range),
1154 (gst_value_intersect_fraction_range_fraction_range),
1155 (gst_value_subtract_fraction_fraction_range),
1156 (gst_value_subtract_fraction_range_fraction_range),
1157 (gst_value_get_compare_func), (gst_value_compare),
1158 (gst_value_compare_with_func):
1160 Saves the expensive lookup of the compare function in many cases
1163 2006-08-18 Edward Hervey <edward@fluendo.com>
1165 * tests/check/gst/gstinfo.c: (gst_info_suite):
1166 Disable test that require gstdebug if it wasn't built in core.
1168 2006-08-18 Stefan Kost <ensonic@users.sf.net>
1170 * docs/random/ensonic/logging.txt:
1173 * gst/gstinfo.c: (gst_debug_log_default):
1174 reorder fields, save some columns, add optional color codes for log
1177 2006-08-18 Stefan Kost <ensonic@users.sf.net>
1179 * docs/random/ensonic/logging.txt:
1180 add ideas about making the logs a bit more useful
1182 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
1184 * docs/pwg/advanced-events.xml:
1185 * docs/pwg/titlepage.xml:
1186 Update for 0.10 API (#340627). Add myself
1189 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
1191 * docs/libs/gstreamer-libs-docs.sgml:
1192 * docs/libs/gstreamer-libs-sections.txt:
1193 * libs/gst/check/gstbufferstraw.c:
1194 Make gstcheck stuff show up in docs (still needs to
1195 be documented properly though).
1197 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
1199 * docs/gst/gstreamer-sections.txt:
1201 * gst/gst.c: (init_post):
1202 * gst/gst_private.h:
1203 * gst/gstquark.c: (_priv_gst_quarks_initialize):
1205 * gst/gstquery.c: (gst_query_new_position),
1206 (gst_query_set_position), (gst_query_parse_position),
1207 (gst_query_new_duration), (gst_query_set_duration),
1208 (gst_query_parse_duration), (gst_query_new_convert),
1209 (gst_query_set_convert), (gst_query_parse_convert),
1210 (gst_query_new_segment), (gst_query_set_segment),
1211 (gst_query_parse_segment), (gst_query_new_seeking),
1212 (gst_query_set_seeking), (gst_query_parse_seeking):
1213 Add internal helpers for pre-registering quarks from static strings
1214 and using the quark values directly instead of looking them up when
1215 creating and parsing queries. Can be used for event construction too.
1218 2006-08-16 Wim Taymans <wim@fluendo.com>
1223 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1225 * gst/gstutils.c: (gst_util_set_value_from_string):
1226 Fix memleak (#351502).
1228 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1229 Add unit test for most of gst_util_set_value_from_string()
1230 (not that one would want to encourage use of this function).
1232 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1234 * libs/gst/check/gstcheck.h:
1235 Use const gchar * variables in fail_unless_equals_string
1236 macro to avoid compiler warnings (and don't use tabs for
1239 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1241 * tools/gst-launch.c: (print_tag):
1242 More space on the left for the tag names, to cater
1243 for the 'extended comment' tag (not touching the
1244 string for the first line since it's translated).
1246 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1248 * libs/gst/check/gstcheck.h:
1249 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
1250 print something when they fail.
1252 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
1254 * docs/gst/gstreamer-sections.txt:
1255 * gst/gsttaglist.c: (_gst_tag_initialize):
1257 API: add GST_TAG_EXTENDED_COMMENT (#350935).
1258 Also change merge function for GST_TAG_COMMENT to
1261 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
1263 * gst/gstinfo.c: (gst_debug_print_object):
1264 Make GST_PTR_FORMAT print messages as well.
1266 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
1267 (GST_START_TEST), (gst_info_suite):
1270 2006-08-14 Edward Hervey <edward@fluendo.com>
1272 * gst/gstelementfactory.c: (gst_element_register):
1273 If the GstElementClass doesn't have a GstElementDetails with all fields
1274 filled up correctly (longname, description AND author), then error out
1275 nicely instead of crashing.
1277 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
1279 * gst/gststructure.c:
1280 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
1283 Expand on the difference between arrays and lists as we use them.
1285 2006-08-14 Wim Taymans <wim@fluendo.com>
1287 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1288 If the parent state change function failed, don't assume we can safely
1289 stop the source, this will be done when the pads are deactivated.
1291 2006-08-14 Wim Taymans <wim@fluendo.com>
1294 * gst/gsttask.c: (gst_task_join):
1297 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
1298 (gst_pad_stop_task):
1299 When pad (de)activation failed for some reason, restore the old
1300 activation mode and set the pad to flushing instead of assuming the
1302 If the _task_join() failed, reinstall the task on the pad so that it can
1303 be stopped later and return an error.
1305 2006-08-11 Andy Wingo <wingo@pobox.com>
1308 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1309 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
1310 is only for users of API that don't want to see deprecated
1311 functions in the headers; people that want to compile out
1312 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
1313 CFLAGS. Fixes the build of multifdsink, or will soon..
1315 2006-08-11 Wim Taymans <wim@fluendo.com>
1317 * docs/gst/gstreamer-sections.txt:
1318 Add GstClockClass vmethod docs.
1321 Mark #endif with comment for associated #if
1323 * gst/gstclock.c: (gst_clock_id_wait):
1325 Add vmethod wait_jitter to avoid an unneeded _get_time() for
1326 most clock implementations.
1328 Flesh out docs about resolution methods.
1329 API: GstClockClass::wait_jitter
1331 * gst/gstsystemclock.c: (gst_system_clock_class_init),
1332 (gst_system_clock_async_thread),
1333 (gst_system_clock_id_wait_jitter_unlocked),
1334 (gst_system_clock_id_wait_jitter):
1335 Use base class wait_jitter variant for improved performance
1336 due to less clock polling.
1338 2006-08-11 Edward Hervey <edward@fluendo.com>
1340 * gst/gst.c: (gst_init_check), (init_post):
1341 Set gst as being initialized before scanning/updating the registry,
1342 since there might be my python plugin loader that calls gst_init() and
1343 we don't want to loop back in.
1346 2006-08-11 Wim Taymans <wim@fluendo.com>
1348 * docs/design/part-qos.txt:
1349 Bring docs in line with the code. Mostly the sign of the jitter was
1350 wrong in the docs. Fixes #349943.
1353 Fix the docs for the jitter.
1355 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
1356 (gst_event_parse_tag), (gst_event_new_buffer_size),
1357 (gst_event_parse_buffer_size), (gst_event_parse_qos),
1358 (gst_event_new_seek), (gst_event_parse_seek),
1359 (gst_event_new_navigation):
1360 Make sure the GstStructure has no parent when creating custom
1362 Add some more argument checking so that we avoid 0.0 rates.
1363 Flesh out the docs for the QoS event some more.
1365 2006-08-11 Wim Taymans <wim@fluendo.com>
1367 * docs/gst/gstreamer-sections.txt:
1368 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1369 (ensure_current_registry_forking), (ensure_current_registry),
1370 (parse_one_option), (parse_goption_arg), (gst_deinit),
1371 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
1374 Added API and command line option to disable registry forking in
1375 addition to the environment variable.
1376 Constify some static arrays.
1377 Added some more debug.
1379 API: gst_registry_fork_is_enabled()
1380 API: gst_registry_fork_set_enabled()
1381 API: --gst-disable-registry-fork command line option
1384 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
1386 * gst/gst.c: (gst_init):
1387 Fix typo in error message.
1389 2006-08-10 Stefan Kost <ensonic@users.sf.net>
1391 * libs/gst/controller/gstcontroller.h:
1392 fix ABI size-correction
1394 * tests/check/libs/gdp.c: (gst_dp_suite):
1395 make tests that use deprecated API conditional
1397 2006-08-10 Stefan Kost <ensonic@users.sf.net>
1399 * docs/libs/gstreamer-libs-sections.txt:
1400 * libs/gst/controller/gstcontroller.c:
1401 (_gst_controller_get_property), (_gst_controller_set_property),
1402 (_gst_controller_init), (_gst_controller_class_init):
1403 * libs/gst/controller/gstcontroller.h:
1404 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
1405 (gst_object_set_control_rate):
1406 API: add gst_object_{s,g}et_control_rate(), add private data section,
1409 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1410 * libs/gst/dataprotocol/dataprotocol.h:
1411 add deprecation guards to make gtk-doc happy and allow disabling cruft
1413 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
1415 * tests/check/Makefile.am:
1416 * tests/check/gst/.cvsignore:
1417 Let's enable the new unit test as well.
1419 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
1422 * docs/gst/gstreamer-sections.txt:
1423 * gst/gstconfig.h.in:
1424 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
1425 (_gst_info_printf_extension_ptr),
1426 (_gst_info_printf_extension_segment):
1427 API: add GST_SEGMENT_FORMAT, which is a printf extension we
1428 register that lets us easily dump GstSegments into debug
1431 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
1432 (info_segment_format_printf_extension), (gst_info_suite):
1433 Add simple unit test that logs a bunch of different segments (not
1434 valgrinded at the moment because of leaks in
1435 gst_debug_add_log_function).
1437 2006-08-09 Edward Hervey <edward@fluendo.com>
1439 * libs/gst/base/gstbasetransform.c:
1440 (gst_base_transform_buffer_alloc):
1441 Even if we can't figure out the proper format to request downstream,
1442 call buffer_alloc() downstream with the input parameters without setting
1443 the caps on the srcpad. This will force negotiation in the chain
1447 2006-08-08 Edward Hervey <edward@fluendo.com>
1449 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
1450 Unlinking from a pad without a target is now a perfectly valid case
1451 which should NOT raise an assertion.
1452 This case would happen if a linked ghostpad its target set to NULL after
1453 it was previously linked.
1455 2006-08-08 Edward Hervey <edward@fluendo.com>
1457 * tests/check/libs/gdp.c:
1458 Also comment out the test (see below).
1460 2006-08-08 Edward Hervey <edward@fluendo.com>
1462 * tests/check/libs/gdp.c: (gst_dp_suite):
1463 Use the architecture information from config.h and not gcc macros
1464 in order to properly disable a test that fails on PPC64.
1466 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
1468 * gst/gstelement.c: (gst_element_remove_pad):
1469 Don't crash printing the warning if the pad has no parent.
1471 2006-08-02 Wim Taymans <wim@fluendo.com>
1473 * libs/gst/dataprotocol/dataprotocol.c:
1474 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
1475 (gst_dp_crc), (gst_dp_header_payload_length),
1476 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
1477 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
1478 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
1479 (gst_dp_event_from_packet), (gst_dp_validate_header),
1480 (gst_dp_validate_payload):
1481 Make debug category static
1482 Constify the crc table.
1483 Do some more arg checking in public functions.
1484 Fix some docs and do some small cleanups.
1486 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
1487 Add some more checks to see if GDP deals with bogus input.
1489 2006-07-31 Wim Taymans <wim@fluendo.com>
1491 * gst/gstvalue.c: (gst_value_compare_list):
1492 Fix GstValueList comparison code. Fixes #347293.
1494 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1495 Check to test GstValueList comparison.
1497 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1499 * gst/gstelementfactory.c: (gst_element_factory_create):
1500 Remove unnecessary ref/unref pair
1502 * gst/parse/grammar.y:
1503 Make sure to free the parse buffer on all code paths.
1504 Move a g_free up to the error handler where it's easier to see.
1506 * tests/check/gst/gstevent.c: (test_event):
1507 Extending timeout for downstream travelling events to 10 seconds to
1508 hopefully avoid intermittent failure on the buildbots.
1510 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
1511 Don't manually set the state of the src element - it will happen as a
1512 natural consequence of the pipeline changing state, and that way it
1513 will do it in the right order too.
1515 2006-07-31 Wim Taymans <wim@fluendo.com>
1517 * libs/gst/base/gstbasetransform.c:
1518 (gst_base_transform_buffer_alloc):
1519 Use OBJECT_LOCK and refcounting to get the pad caps in the
1520 buffer_alloc function because the caps could change while we are
1521 busy with them. Fixes #349105
1523 2006-07-31 Wim Taymans <wim@fluendo.com>
1525 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
1526 Protect _PAD_CAPS with OBJECT_LOCK.
1528 2006-07-31 Wim Taymans <wim@fluendo.com>
1530 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
1531 (gst_pad_get_property), (gst_pad_activate_pull),
1532 (gst_pad_activate_push), (gst_pad_set_blocked_async),
1533 (gst_pad_set_activate_function),
1534 (gst_pad_set_activatepull_function),
1535 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
1536 (gst_pad_set_getrange_function),
1537 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
1538 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
1539 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
1540 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
1541 (gst_pad_set_acceptcaps_function),
1542 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
1543 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
1544 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
1545 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
1546 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
1547 (gst_pad_configure_sink), (gst_pad_configure_src),
1548 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
1549 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
1550 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
1551 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
1552 (gst_pad_send_event):
1553 Use _DEBUG_OBJECT when it makes sense.
1554 Protect GST_PAD_CAPS with the OBJECT_LOCK.
1555 Small cleanups and code reflows.
1556 Avoid caps refcounting in _accept_caps.
1557 Refactor alloc_buffer so that the code performed on the peer is in a
1558 separate function. Also if the pad does not implement a buffer alloc
1559 function, we should still check if the pad is flushing before falling
1560 back to the default allocator.
1562 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1564 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1565 Make all uses of identity and fakesink have silent=true to avoid
1566 serialising every passing data structure, which is breaking tests
1567 on FC4 for some unknown reason.
1569 2006-07-30 Stefan Kost <ensonic@users.sf.net>
1571 * gst/parse/Makefile.am:
1572 * gst/parse/grammar.y:
1573 * gst/parse/parse.l:
1574 Reverted previous patch as it required to bump the flex dependency to
1575 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
1577 2006-07-30 Stefan Kost <ensonic@users.sf.net>
1579 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
1581 * gst/parse/Makefile.am:
1582 * gst/parse/grammar.y:
1583 * gst/parse/parse.l:
1584 push & pop the state of the lexer for reentrant use case
1587 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
1589 * libs/gst/base/gstbasesrc.h:
1590 Note in the docs that the ::newsegment vfunc is not actually used by
1593 2006-07-28 Wim Taymans <wim@fluendo.com>
1595 * libs/gst/base/gstcollectpads.c:
1596 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
1597 (gst_collect_pads_clear), (gst_collect_pads_flush),
1598 (gst_collect_pads_event), (gst_collect_pads_chain):
1599 When flushing a pad, also clear the queued buffer so that we don't
1600 accidentally use it when we shouldn't.
1601 Fix leaks by inreffing incomming buffer.
1602 Flush out queued buffers in case of errors.
1605 2006-07-28 Wim Taymans <wim@fluendo.com>
1607 * docs/random/phonon-gst:
1608 Random notes about a Phonon backend.
1610 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1612 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
1614 * tests/check/libs/gdp.c: (gst_dp_suite):
1615 Take a whack at fixing the ppc compile using a different define to
1616 disable the broken test.
1618 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1619 Remove excess g_print()
1621 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1623 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1624 Oops, meant to uncomment this line too to dampen the noise a bit.
1626 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1628 * gst/parse/grammar.y:
1629 * gst/parse/parse.l:
1630 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1631 (GST_START_TEST), (parse_suite):
1632 Fix some of the leaks exposed by extending the parse-launch testsuite,
1633 and move the 3 I can't figure out into a separate test that won't run
1634 the pipelines unless the appropriate line is uncommented.
1636 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
1638 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1639 Requesting 0 bytes before the end of the file should result in
1640 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
1643 2006-07-27 Wim Taymans <wim@fluendo.com>
1645 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
1646 Fix useless assert, a uint is always positive.
1648 * gst/gststructure.c: (gst_structure_nth_field_name),
1649 (gst_structure_foreach), (gst_structure_map_in_place):
1650 Check input arguments for public functions to avoid obvious crashes.
1652 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
1653 * plugins/elements/gstfakesink.h:
1654 Do less useless typechecking.
1656 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
1658 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1659 Do not use mmap() by default since there are a number of error
1660 conditions that we would like to handle in a non-fatal way that
1661 will result in a SIGBUS if we use mmap(). Examples: external
1662 devices (USB harddrive, portable music player) being unplugged
1663 while in use; file on mounted CD/DVD that can't be read because
1664 the medium is partly damaged. Fixes #348455 and #348475.
1666 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1669 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
1672 2006-07-26 Stefan Kost <ensonic@users.sf.net>
1674 * gst/gstregistry.c:
1675 Move big documentation comment into class section header, so that it
1676 appears in the API docs.
1678 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1680 * docs/gst/gstreamer-sections.txt:
1681 Oops. Commit the docs additions too for new API.
1682 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
1684 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1686 * gst/gststructure.c: (gst_structure_id_set),
1687 (gst_structure_id_set_valist):
1688 * gst/gststructure.h:
1689 Add API for setting values into structures without performing
1690 a quark lookup, if the appropriate quark is already known.
1692 API: gst_structure_id_set
1693 API: gst_structure_id_set_valist
1695 * gst/parse/grammar.y:
1696 * gst/parse/parse.l:
1697 Remove some dead code shown by the coverage information.
1698 Don't throw a critical g_warning when encountering a syntax error,
1699 just warn and let the normal error path handle it.
1701 * plugins/elements/gstelements.c:
1702 Bump the rank of filesink up to PRIMARY so that it is preferred over
1703 gnomevfssink for file:// sink uri's
1705 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1706 (GST_START_TEST), (run_delayed_test),
1707 (gst_parse_test_element_base_init),
1708 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
1709 (gst_parse_test_element_change_state),
1710 (gst_register_parse_element), (parse_suite):
1711 Beef up the tests for parse syntax to check that more error cases
1712 fail as they are supposed to. Increases the test coverage a bit.
1714 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
1716 * docs/manual/basics-elements.xml:
1717 Fix gst_element_link() example.
1720 Mention in API docs that one should usually gst_bin_add()
1721 elements to a bin or pipeline before doing the linking.
1723 2006-07-26 Wim Taymans <wim@fluendo.com>
1725 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1726 (gst_subbuffer_get_type), (gst_buffer_create_sub):
1727 Avoid function call for known types by keeping the buffer and
1728 subbuffer GType global.
1730 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1731 Random silly optimisations in read() path.
1733 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1735 * tools/gst-launch.c: (main):
1736 If the top-level of the parse is a normal bin, it doesn't do the
1737 right logic to run as a top-level element, so place it inside a
1740 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
1742 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1743 Remove superfluous g_object_notify() calls, GObject does
1744 that for us automatically.
1746 2006-07-25 Stefan Kost <ensonic@users.sf.net>
1749 on Win32, use dllspec to export the debug category symbols
1751 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
1753 * gst/gsttaglist.c: (_gst_tag_initialize):
1754 Allow more than one GST_TAG_IMAGE per taglist.
1756 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
1758 * gst/gstminiobject.c:
1760 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1761 (gst_fd_src_create):
1762 log recurring events at LOG level
1763 add more debug for when the fd gets set
1765 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1767 * gst/gstparse.c: (gst_parse_launch):
1768 Also remove reentrance checks if flex is MT safe (#348179)
1769 Fix my empty ChangeLog entry below
1771 2006-07-21 Andy Wingo <wingo@pobox.com>
1773 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1775 * libs/gst/check/Makefile.am
1776 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1777 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
1778 * libs/gst/check/gstbufferstraw.h:
1779 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1780 functions, thus proving I am still a GStreamer haxor. OK I wrote
1781 them a long time ago, but anyways.
1783 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1786 * gst/gstparse.c: (gst_parse_launch):
1787 Check for flex version and omit mutex if we have a MT save flex
1790 2006-07-21 Wim Taymans <wim@fluendo.com>
1792 * gst/gstparse.c: (gst_parse_launch):
1793 Protect recursive calls to _parse with a recursive mutex
1796 2006-07-21 Wim Taymans <wim@fluendo.com>
1798 * tests/check/gst/gstpad.c: (GST_START_TEST):
1801 2006-07-20 Stefan Kost <ensonic@users.sf.net>
1803 * gst/gstparse.c: (gst_parse_launch):
1804 Do not hang on recursive usage of gst_parse_launch()
1806 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1809 Add some more docs, comments and FIXME 0.11s here and there
1810 and also fix some typos.
1812 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1815 Convert tabs to spaces for better readability.
1817 2006-07-20 Edward Hervey <edward@fluendo.com>
1819 * tests/check/libs/gdp.c: (gst_dp_suite):
1820 the test_buffer test fails at line 140 on ppc64 at the following
1822 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
1823 GST_BUFFER_FLAG_IN_CAPS),
1824 "GST_BUFFER_IN_CAPS flag should have been copied !");
1825 See bug #348114 for more details.
1827 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
1829 * docs/pwg/advanced-scheduling.xml:
1831 Fix typos (#348000).
1833 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
1835 * docs/pwg/intro-basics.xml:
1836 Fix wrong links (#347927).
1838 2006-07-18 Stefan Kost <ensonic@users.sf.net>
1840 * gst/gstregistry.h:
1841 * gst/gstregistryxml.c: (load_feature),
1842 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1843 * win32/common/config.h:
1844 make --disable-index work (#342564)
1846 2006-07-18 Wim Taymans <wim@fluendo.com>
1848 Patch by: Peter Kjellerstedt <pkj at axis dot com>
1852 The attached patch adds two missing defines to gsttrace.h when tracing
1853 is disabled. It also corrects one existing define.
1856 2006-07-17 Wim Taymans <wim@fluendo.com>
1858 * docs/gst/gstreamer-sections.txt:
1859 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
1861 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
1862 Add two functions to check and change the SIGSEGV behaviour
1863 when loading plugins.
1864 Don't mess with the SIGSEGV handler when we were told not to.
1866 API: gst_segtrap_is_enabled
1867 API: gst_segtrap_set_enabled
1869 2006-07-14 Wim Taymans <wim@fluendo.com>
1871 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1872 * tests/check/elements/filesrc.c: (GST_START_TEST):
1873 Revert fix for regression in #347408 after release.
1875 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
1877 Patch by: Antoine Tremblay <hexa00 at gmail com>
1879 * gst/gstutils.c: (gst_element_unlink):
1880 Free iterator when done (#347311).
1882 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1883 And add a test case for this.
1885 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
1888 Bump nano back to CVS
1890 === release 0.10.9 ===
1892 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1895 releasing 0.10.9, "On the road again"
1897 2006-07-13 Wim Taymans <wim@fluendo.com>
1899 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1900 * tests/check/elements/filesrc.c: (GST_START_TEST):
1901 Revert pull-0 fix for release. Disable check. Fixes #347408.
1903 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
1905 * libs/gst/dataprotocol/dataprotocol.c:
1906 (gst_dp_event_from_packet_1_0):
1907 Fixes #347337: failure to deserialize event packets with
1908 empty payload (only event type)
1910 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
1913 do not install a .c file in the header directory
1915 2006-07-13 Edward Hervey <edward@fluendo.com>
1917 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
1918 GhostPad no longer implicitely use the padtemplates of the targets.
1921 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
1923 * gst/gstvalue.c: (gst_value_compare_list),
1924 (gst_value_compare_array), (_gst_value_initialize):
1925 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1926 Make GstValueArray comparison be order dependent as designed.
1927 Add checks for value lists and value array comparisons.
1930 2006-07-11 Edward Hervey <edward@fluendo.com>
1932 * gst/gstbin.c: (activate_pads),
1933 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
1934 (gst_bin_change_state_func):
1935 (de)activate src pads before calling state_change on the childs.
1936 This is to avoid the case where a src ghostpad is blocked (holding the
1937 stream lock), which would block the deactivation of the ghostpad's
1939 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
1940 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
1941 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
1942 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
1943 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
1944 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
1945 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1946 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
1947 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
1948 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1949 (gst_ghost_pad_class_init),
1950 (gst_ghost_pad_internal_do_activate_push),
1951 (gst_ghost_pad_internal_do_activate_pull),
1952 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1953 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1954 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
1955 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
1956 GhostPads now create their internal GstProxyPad at creation (and not
1957 when they're linked, as it was being done previously).
1958 The internal and target pads are linked straight away.
1959 The data will also travel through the other pad in order to make
1960 pad blocking and probes non-hackish (the probe/block now really happens
1961 on the GhostPad and not on the target).
1962 * gst/gstpad.c: (gst_pad_set_blocked_async),
1963 (gst_pad_link_prepare), (gst_pad_push_event):
1964 Remove previous ghostpad cruft.
1965 * gst/gstutils.c: (gst_pad_add_data_probe),
1966 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
1967 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
1968 (gst_pad_remove_buffer_probe):
1969 Remove previous ghost pad cruft.
1970 Added more detailed debug statements.
1971 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1972 Fix the testsuite for refcounting changes.
1973 The comments about who has references were correct, but the refcount
1974 being checked wasn't the same (!?!).
1978 2006-07-10 Stefan Kost <ensonic@users.sf.net>
1980 * docs/gst/gstreamer-sections.txt:
1981 * gst/gstconfig.h.in:
1982 More docs for configuration options, add docs to gtk-doc.
1984 2006-07-10 Stefan Kost <ensonic@users.sf.net>
1987 * gst/gstconfig.h.in:
1988 * win32/common/config.h:
1989 Fix build when disabling tracing (fixes #344016). Also start to document
1990 the defines that disable the sub-systems.
1992 2006-07-10 Edward Hervey <edward@fluendo.com>
1994 * gst/gst.c: (ensure_current_registry_forking):
1995 let's make valgrind happy...
1997 2006-07-09 Wim Taymans <wim@fluendo.com>
1999 * gst/gstelement.c: (activate_pads),
2000 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
2001 Better pad activation code: Reset the collect value too on resync.
2004 2006-07-09 Wim Taymans <wim@fluendo.com>
2006 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
2007 (gst_pad_activate_push):
2008 Use some more macros where it makes sense.
2009 Allow pad mode switching instead of asserting. When a pad
2010 is activated in one mode and we activate it in another,
2011 deactivate it first before activating it in a different mode.
2014 2006-07-08 Andy Wingo <wingo@pobox.com>
2016 * tools/gst-launch.c (main): Handle err == NULL.
2018 * gst/gst.c (init_post, ensure_current_registry)
2019 (ensure_current_registry_forking)
2020 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
2021 factoring out the registry scanning into separate functions. Don't
2022 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
2023 Better environment var name/interface suggestions accepted.
2025 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2027 * gst/gstobject.c: (gst_object_set_name_default),
2028 (gst_object_set_name):
2029 Random micro-optimisation: don't use a hash table
2030 with strings as keys and the usual strdup/strcmp
2031 involved, but rather just use the GQuark of the
2032 type name as key, since it needs to be looked up
2033 anyway to get the type name string.
2035 * tests/check/gst/gstobject.c: (GST_START_TEST):
2038 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2040 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
2041 (gst_bin_iterate_all_by_interface):
2042 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
2043 GTypes are gulongs and thus the top 4 bytes might be cut
2044 off on some platforms when doing GPOINTER_TO_INT, leading
2045 to invalid GTypes and bad things happening (see RH bug #179654).
2046 Also add a check to make sure the type passed in is really
2049 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2054 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2058 * gst-element-check.m4:
2059 * gst-element-check.m4.in:
2060 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
2061 instead of the unversioned gst-inspect (#324176, #168659).
2063 2006-07-06 Wim Taymans <wim@fluendo.com>
2066 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
2069 2006-07-06 Wim Taymans <wim@fluendo.com>
2071 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2072 (gst_base_src_wait), (gst_base_src_update_length),
2073 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
2074 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
2075 (gst_base_src_loop), (gst_base_src_start),
2076 (gst_base_src_activate_pull):
2078 blocksize == 0 now means the default blocksize when working in push
2080 Remove some pointless asserts in _wait function.
2081 Fix offset/length calculations and EOS handling. We can now pull 0
2082 bytes as well, which is allowed.
2083 use _check_get_range() to decide if we can operate in _pull based
2085 Fix refcounting leak when check_get_range function was not
2087 API GstBaseSrc::blocksize range can be 0 too now (default)
2089 * tests/check/elements/filesrc.c: (GST_START_TEST),
2091 Added check to test _get_range() behaviour.
2093 2006-07-06 Wim Taymans <wim@fluendo.com>
2095 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2096 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
2097 (gst_pad_pull_range):
2099 Lots of comments and docs added to the pad functions.
2100 Flesh out the expected behaviour of the get_range() functions.
2102 2006-07-06 Wim Taymans <wim@fluendo.com>
2107 * gst/gstiterator.h:
2111 Remove comma at end of enumerator list.
2113 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
2115 * win32/common/libgstbase.def:
2116 * win32/common/libgstdataprotocol.def:
2117 * win32/common/libsgtreamer.def:
2118 Add new exported functions.
2120 2006-07-05 Wim Taymans <wim@fluendo.com>
2122 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
2123 Add some more docs here and there.
2125 2006-07-05 Wim Taymans <wim@fluendo.com>
2127 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
2128 (gst_base_sink_loop), (gst_base_sink_get_position):
2129 When operating in pull mode update the offset so that we
2132 2006-07-05 Wim Taymans <wim@fluendo.com>
2134 * gst/gstregistryxml.c: (read_string):
2135 Avoid strdup. (will happen in libxml, but hey!)
2140 2006-07-05 Wim Taymans <wim@fluendo.com>
2142 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
2143 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
2145 No point in checking if the size of the subbuffer > 0, the
2146 code handles it correclty as demonstrated by unit test.
2147 Also add a unit test for the zero sized _new_and_alloc and
2148 _copy. Fixes #346663.
2150 2006-07-05 Wim Taymans <wim@fluendo.com>
2152 * libs/gst/base/gstbasetransform.c:
2153 (gst_base_transform_prepare_output_buffer),
2154 (gst_base_transform_buffer_alloc),
2155 (gst_base_transform_handle_buffer):
2156 Make sure the buffer we pass to transform_ip has a refcount of
2157 1 and thus is writable. Fixes #343196
2159 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
2161 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2162 (gst_file_src_init), (gst_file_src_set_property),
2163 (gst_file_src_get_property), (gst_file_src_map_region):
2164 * plugins/elements/gstfilesrc.h:
2165 Add "sequential" property, off by default, to use madvise and hint
2166 to the kernel that sequential access is desired.
2167 Touch all retrieved pages by default to ensure they are pulled
2168 into memory. (Closes #345720)
2170 2006-07-03 Wim Taymans <wim@fluendo.com>
2172 * docs/design/part-block.txt:
2173 * docs/design/part-dynamic.txt:
2176 2006-07-03 Wim Taymans <wim@fluendo.com>
2178 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
2179 (gst_caps_unref), (gst_static_caps_get),
2180 (gst_caps_append_structure):
2181 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
2182 Use GSlice when the glib we build against is >= 2.10
2184 2006-07-03 Wim Taymans <wim@fluendo.com>
2186 * gst/gstelement.c: (gst_element_pads_activate):
2187 Small cleanup in pad activation code.
2189 2006-07-03 Wim Taymans <wim@fluendo.com>
2191 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2193 * gst/gst-i18n-app.h:
2194 * gst/gst-i18n-lib.h:
2195 * tools/gst-inspect.c: (print_signal_info):
2196 The attached patch will make the inclusion of gettext.h unconditional in
2197 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
2198 libintl.h in tools/gst-inspect.c.
2199 This allows use of --disable-nls again and fixes #344642.
2201 2006-07-03 Edward Hervey <edward@fluendo.com>
2203 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
2204 Implement pad blocking on events according to part-block.txt.
2205 More comments on behaviour.
2206 * tests/check/gst/gstevent.c: (test_event):
2207 Send event to peer pad of blocked pad (else it will block).
2209 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
2211 * libs/gst/check/gstcheck.c: (gst_check_message_error),
2212 (gst_check_run_suite):
2213 if we get the wrong message, give us the types as string
2214 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2216 * tests/check/elements/filesrc.c: (GST_START_TEST):
2217 add a test for trying to open a non-existing file
2219 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
2221 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2222 add a test for adding self
2224 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
2226 * libs/gst/check/gstcheck.h:
2227 add some assert_ as alias for fail_unless_*
2228 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
2229 increase test coverage
2231 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2234 include lcov.mak for lcov coverage generation
2235 * tools/Makefile.am:
2238 2006-07-02 Edward Hervey <edward@fluendo.com>
2240 * tests/check/elements/.cvsignore:
2243 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2246 don't set CFLAGS and friends for gcov, done from GST_GCOV now
2247 * tests/check/Makefile.am:
2250 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2252 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
2253 remove gst_caps_simplify; it was not declared and not used
2254 and deprecated in 0.8
2256 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2258 * docs/faq/gst-uninstalled:
2259 don't put empty paths on PYTHONPATH
2260 * docs/gst/gstreamer-sections.txt:
2261 remove some symbols that are not there
2263 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2265 * gst/gstcaps.c: (gst_caps_compare_structures):
2267 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2268 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2271 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2273 * libs/gst/dataprotocol/Makefile.am:
2274 build dataprotocol test by linking to the lib, instead of
2275 compiling the source, so we get coverage
2276 * tests/check/Makefile.am:
2277 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
2278 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
2279 add a test for filesrc
2281 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2283 * tests/check/gst/gststructure.c: (GST_START_TEST),
2284 (gst_structure_suite):
2285 Push coverage from 59.04% to 70.00%
2287 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2289 * tests/check/Makefile.am:
2290 gst-inspect every element; this makes sure that we also get
2291 coverage on element's get/set functions
2293 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2296 set CFLAGS and friends to -O0 if gcov is being used
2299 * libs/gst/base/Makefile.am:
2300 * libs/gst/check/Makefile.am:
2301 * libs/gst/controller/Makefile.am:
2302 * libs/gst/dataprotocol/Makefile.am:
2303 * libs/gst/net/Makefile.am:
2304 * plugins/elements/Makefile.am:
2305 * plugins/indexers/Makefile.am:
2306 add makefile rules to generate gcov data and clean up
2307 * tests/check/Makefile.am:
2308 add a coverage target that generates an html overview
2311 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2313 * tests/check/elements/fakesink.c:
2314 * tests/check/elements/fakesrc.c:
2315 * tests/check/elements/fdsrc.c:
2316 * tests/check/elements/identity.c:
2317 * tests/check/generic/sinks.c: (gst_sinks_suite):
2318 * tests/check/generic/states.c:
2319 * tests/check/gst/gst.c:
2320 * tests/check/gst/gstabi.c:
2321 * tests/check/gst/gstbin.c:
2322 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
2323 * tests/check/gst/gstbus.c: (gst_bus_suite):
2324 * tests/check/gst/gstcaps.c: (GST_START_TEST):
2325 * tests/check/gst/gstelement.c:
2326 * tests/check/gst/gstevent.c: (gst_event_suite):
2327 * tests/check/gst/gstghostpad.c:
2328 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
2329 * tests/check/gst/gstmessage.c: (gst_message_suite):
2330 * tests/check/gst/gstminiobject.c:
2331 * tests/check/gst/gstobject.c:
2332 * tests/check/gst/gstpad.c:
2333 * tests/check/gst/gstpipeline.c:
2334 * tests/check/gst/gstplugin.c:
2335 * tests/check/gst/gstquery.c: (gst_query_suite):
2336 * tests/check/gst/gstsegment.c: (gst_segment_suite):
2337 * tests/check/gst/gststructure.c:
2338 * tests/check/gst/gstsystemclock.c:
2339 * tests/check/gst/gsttag.c:
2340 * tests/check/gst/gsttask.c: (gst_task_suite):
2341 * tests/check/gst/gstutils.c:
2342 * tests/check/gst/gstvalue.c:
2343 * tests/check/libs/adapter.c:
2344 * tests/check/libs/basesrc.c:
2345 * tests/check/libs/collectpads.c:
2346 * tests/check/libs/controller.c:
2347 * tests/check/libs/gdp.c: (gst_dp_suite):
2348 * tests/check/libs/gstnetclientclock.c:
2349 * tests/check/libs/gstnettimeprovider.c:
2350 * tests/check/libs/libsabi.c: (libsabi_suite):
2351 * tests/check/libs/typefindhelper.c:
2352 * tests/check/pipelines/cleanup.c:
2353 * tests/check/pipelines/parse-launch.c:
2354 * tests/check/pipelines/simple-launch-lines.c:
2355 * tests/check/pipelines/stress.c: (stress_suite):
2358 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2360 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
2361 * libs/gst/check/gstcheck.h:
2362 create a macro and function so that the simple unit test
2363 case can be just one macro to create main()
2365 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
2367 * gst/gstbin.c: (gst_bin_restore_thyself):
2368 * gst/gstxml.c: (gst_xml_make_element):
2369 Fix deserialisation from XML. Set parent manually
2370 instead of using gst_bin_add(), since gst_bin_add()
2371 will unlink all pads of the element being added.
2374 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
2376 Patch by: Peter Kjellerstedt <pkj at axis com>
2378 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
2379 Fix missing g_strdup() and double free when using the
2380 --gst-plugin-load command line option (#346097).
2382 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
2385 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
2387 * libs/gst/net/gstnetclientclock.c:
2388 * libs/gst/net/gstnettimeprovider.c:
2389 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
2391 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
2393 * docs/manual/advanced-dataaccess.xml:
2394 Fix buffer probe example compilation in
2397 2006-06-22 Edward Hervey <edward@fluendo.com>
2399 * gst/gstelement.c: (gst_element_pads_activate):
2400 We need to deactivate src pads first and then sink pads.
2401 The reason is the src pads might be blocking while holding the streaming
2402 lock, so we need to deactivate them first so that deactivating the sink
2403 pads doesn't block (since it will require the streaming lock).
2405 2006-06-22 Wim Taymans <wim@fluendo.com>
2407 * libs/gst/base/gstbasetransform.c:
2408 (gst_base_transform_buffer_alloc):
2409 Forgot to remove two unneeded unrefs.
2410 Simplify a check _is_equal allready checks the obvious case.
2412 2006-06-22 Wim Taymans <wim@fluendo.com>
2414 * docs/design/part-block.txt:
2415 Some docs about what pad_block should do.
2417 2006-06-22 Wim Taymans <wim@fluendo.com>
2419 * gst/gstcaps.c: (gst_caps_replace):
2420 Fix crasher when passed NULL. Doc clarification.
2421 Optimize for the trivial case.
2423 * gst/gstpipeline.c: (gst_pipeline_change_state):
2426 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2427 Small documentation cleanup.
2429 * libs/gst/base/gstbasetransform.c:
2430 (gst_base_transform_buffer_alloc):
2431 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
2432 is what we need and it avoids a whole lot of redundant
2433 refcount operations.
2435 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
2437 Patch by: Philip Jägenstedt <philip at lysator liu se>
2439 * docs/manual/advanced-dataaccess.xml:
2440 Fix 'Embedding static elements' section to use
2441 GST_PLUGIN_DEFINE_STATIC (#345607).
2443 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2445 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
2446 Attempt to 'fix' spuriously failing test case: it seems like the
2447 timeout of half a second is simply too small when the system is under
2448 load otherwise, and the timeout doesn't really seem to serve any
2449 particular purpose here. Give the pipeline a few seconds to preroll
2450 first, and then give it another half a second to go from PAUSED to
2451 PLAYING and marshal the message into the main thread.
2453 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2455 * tools/gst-feedback-m.m:
2456 Don't only use unversioned tools, try versioned tools as well
2459 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2461 * gst/gstbus.c: (gst_bus_class_init):
2462 Fix some typos, make docs more explicit.
2464 2006-06-20 Wim Taymans <wim@fluendo.com>
2466 * tests/check/gst/gstghostpad.c: (block_callback),
2467 (GST_START_TEST), (gst_ghost_pad_suite):
2468 Added some more ghostpad tests, mainly blocking
2471 2006-06-16 Wim Taymans <wim@fluendo.com>
2473 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2474 (gst_file_sink_close_file), (gst_file_sink_do_seek),
2475 (gst_file_sink_event), (gst_file_sink_render):
2476 * plugins/elements/gstfilesink.h:
2477 Check if we can seek in the file instead of assuming
2478 we always can. Post an error when we are asked to seek in a
2479 non-seekable file (like a fifo). Fixes #343312.
2482 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
2484 * tools/gst-launch.1.in:
2485 Un-garble (fourcc) bit in filtered caps section.
2487 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
2489 * docs/manual/advanced-autoplugging.xml:
2490 * docs/manual/basics-helloworld.xml:
2491 * docs/manual/highlevel-components.xml:
2492 Don't leak bus reference in sample code.
2494 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
2497 Add default for new --enable-plugin-docs switch.
2500 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
2504 Use new ENABLE_PLUGIN_DOCS conditional.
2506 2006-06-14 Wim Taymans <wim@fluendo.com>
2508 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
2509 Make it clear with a FIXME and a real define what the #if 0
2510 previously disabled.
2512 2006-06-14 Wim Taymans <wim@fluendo.com>
2514 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2515 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2516 * libs/gst/base/gstbasetransform.c:
2517 (gst_base_transform_sink_eventfunc):
2518 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
2519 Don't randomly and silently reset a segment when the format
2520 changes as this is a bug somewhere upstream. Fixes #330379.
2522 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
2524 Patch by: Wouter Paesen <wouter at kangaroot net>
2526 * libs/gst/controller/gstcontroller.c:
2527 (gst_controlled_property_new):
2528 Fix controlling of float properties (#344849).
2530 * tests/check/libs/controller.c:
2531 (gst_test_mono_source_get_property),
2532 (gst_test_mono_source_set_property),
2533 (gst_test_mono_source_class_init), (GST_START_TEST):
2534 While we're at it, add some float stuff to unit test.
2536 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
2539 * docs/images/gdp-header.svg:
2541 * docs/libs/Makefile.am:
2542 * docs/libs/gdp-header.png:
2543 * libs/gst/dataprotocol/dataprotocol.c:
2544 add it to the API docs
2545 * docs/manual/intro-motivation.xml:
2548 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
2550 * gst/gst.c: (scan_and_update_registry), (init_post):
2551 If the fork()'ed child process can't write the updated registry cache
2552 file to disk for some reason, make it exit with a failure exit code,
2553 so that the parent can then re-scan the plugins itself and update the
2554 registry structures in memory and work with that (rather than failing
2555 when creating elements because seemingly no plugins are available).
2556 Refactor registry scanning code into separate function for this and
2557 also separate fork() and non-fork() code paths. Fixes #344748.
2559 2006-06-13 Wim Taymans <wim@fluendo.com>
2561 * docs/manual/advanced-dataaccess.xml:
2562 Fix wrong PluginDesc. Fixes #344755.
2564 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
2566 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2567 Fix silly bug that prevented us from creating
2568 ~/.gstreamer-0.10 and writing the registry in one
2569 go (the first call to g_mkstemp() would overwrite the
2570 placeholder in the template string, so the second call
2571 to g_mkstemp() after creating the missing directory
2572 would then error out with 'invalid argument').
2574 2006-06-13 Edward Hervey <edward@fluendo.com>
2576 * gst/gst.c: (init_post):
2579 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
2581 * gst/glib-compat-private.h:
2582 * gst/glib-compat.c:
2583 * gst/glib-compat.h:
2584 * gst/gstvalue.c: (gst_value_serialize_flags):
2585 remove GLib 2.6 compatibility code
2587 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
2589 * gst/parse/Makefile.am:
2590 Fix build with 'make -j N' even more (#340016).
2592 2006-06-12 Wim Taymans <wim@fluendo.com>
2594 * docs/gst/gstreamer-sections.txt:
2597 2006-06-12 Wim Taymans <wim@fluendo.com>
2599 * gst/gstsegment.c: (gst_segment_set_duration),
2600 (gst_segment_set_last_stop), (gst_segment_set_seek),
2601 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2602 (gst_segment_to_running_time), (gst_segment_clip):
2603 Use G_UNLIKELY to help the compiler a bit.
2605 2006-06-12 Wim Taymans <wim@fluendo.com>
2607 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
2609 * gst/gstevent.c: (gst_event_get_type):
2611 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2613 constify quark registration strings. Fixes #344115
2614 Avoid unneeded type checking is _pad_push() by internally
2615 calling gst_pad_chain_unchecked().
2617 2006-06-12 Wim Taymans <wim@fluendo.com>
2619 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
2620 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
2621 (gst_subbuffer_finalize), (gst_buffer_create_sub),
2622 (gst_buffer_is_span_fast), (gst_buffer_span):
2623 Init _type for consistency.
2624 Use _FLAGS macro to avoid type check.
2625 Avoid unneeded type checks in subbufer code.
2627 2006-06-12 Wim Taymans <wim@fluendo.com>
2629 * gst/gst.c: (gst_debug_help):
2630 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
2631 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2632 (gst_plugin_feature_list_free):
2633 * gst/gstregistry.c: (gst_registry_add_plugin),
2634 (gst_registry_add_feature), (gst_registry_plugin_filter),
2635 (gst_registry_feature_filter), (gst_registry_find_plugin),
2636 (gst_registry_find_feature), (gst_registry_get_plugin_list),
2637 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
2638 * gst/gstregistryxml.c: (load_feature),
2639 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
2640 * gst/gstminiobject.c: (gst_mini_object_unref),
2641 (gst_mini_object_replace), (gst_value_mini_object_free),
2642 (gst_value_mini_object_copy):
2643 Use _CAST macros to avoid unneeded type checking.
2644 Added some more G_UNLIKELY.
2646 2006-06-12 Wim Taymans <wim@fluendo.com>
2649 Avoid unneeded type checking.
2650 API: GST_BUFFER_IS_DISCONT
2652 * gst/gstminiobject.h:
2653 Avoid type check in flag accessor.
2655 * gst/gstelementfactory.h:
2657 * gst/gstpluginfeature.h:
2659 API: GST_ELEMENT_FACTORY_CAST
2660 API: GST_PLUGIN_CAST
2661 API: GST_PLUGIN_FEATURE_CAST
2663 2006-06-12 Wim Taymans <wim@fluendo.com>
2665 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
2667 Add G_UNLIKELY in type registration.
2668 Avoid type check in _ref/_unref since that is also
2671 2006-06-12 Wim Taymans <wim@fluendo.com>
2673 * gst/gsterror.c: (gst_g_error_get_type):
2674 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2675 (gst_static_pad_template_get_type):
2676 * gst/gsttaglist.c: (gst_tag_list_get_type):
2677 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
2678 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
2679 * gst/gsturi.c: (gst_uri_handler_get_type):
2680 * gst/gstvalue.c: (gst_date_get_type):
2681 * gst/gstxml.c: (gst_xml_get_type):
2682 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2683 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2684 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
2685 Add G_UNLIKELY in type registration.
2687 2006-06-12 Wim Taymans <wim@fluendo.com>
2689 * tools/gst-inspect.c: (print_signal_info):
2690 Properly print enum values.
2692 2006-06-12 Wim Taymans <wim@fluendo.com>
2694 * gst/gstinfo.c: (gst_debug_set_active),
2695 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
2697 Add some G_[UN]LIKELY.
2698 Maintain __gst_debug_min to avoid formatting the arguments of
2699 debug messages that will be dropped anyway to avoid a lot of
2700 overhead from the debugging system.
2702 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2706 add missing files containing translatable strings, tell intltool about
2709 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2711 * tests/check/libs/.cvsignore:
2712 add test-binary to ignore list
2714 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2716 * docs/libs/gstreamer-libs-docs.sgml:
2717 reorder (put dp into a chapter) and indent
2719 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2724 === release 0.10.8 ===
2726 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2729 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2731 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2733 * gst/gst.c: (init_post):
2734 move pid declaration to declaration block
2736 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2738 * gst/gst.c: (init_post):
2739 use _exit() instead of exit() in our forked child; this ensures
2740 that none of the registered exit handlers from whatever is using
2741 GStreamer get executed. This fixes gnome-mixer-applet failing
2742 to load, because ORBit would shut down.
2743 Spotted by: Edward Hervey <edward@fluendo.com>
2744 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
2747 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2752 === release 0.10.7 ===
2754 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2757 releasing 0.10.7, "Soepeke, ik zie ou"
2759 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
2782 * win32/common/config.h:
2785 2006-06-07 Wim Taymans <wim@fluendo.com>
2787 * gst/gstindex.c: (gst_index_gtype_resolver):
2788 * tools/gst-xmlinspect.c: (print_plugin_info):
2789 Fix leak spotted by coverity checker. Fixes #343827
2790 Fix another other leak found by paolo borelli.
2792 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2794 * libs/gst/dataprotocol/dataprotocol.c:
2795 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2796 (gst_dp_version_get_type), (gst_dp_init),
2797 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2798 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2799 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2800 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2801 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2802 (gst_dp_packetizer_free):
2803 * libs/gst/dataprotocol/dataprotocol.h:
2804 API: add a GstDPPacketizer object, and create/free functions
2805 API: add GstDPVersion enum
2806 Add 1.0 event function that uses the string serialization
2807 Serialize more useful buffer flags
2810 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2812 * tests/check/Makefile.am:
2813 * tests/check/gst/gstabi.c:
2814 * tests/check/gst/struct_ppc64.h:
2815 * tests/check/libs/libsabi.c:
2816 * tests/check/libs/struct_ppc64.h:
2817 add ppc64 structure sizes
2819 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2821 * tests/check/Makefile.am:
2822 * tests/check/gst/gstabi.c:
2823 * tests/check/gst/struct_x86_64.h:
2824 * tests/check/libs/libsabi.c:
2825 * tests/check/libs/struct_x86_64.h:
2826 generate and add structure size lists for x86_64
2828 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2830 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2831 * libs/gst/check/gstcheck.h:
2832 factor out the method from tests that checks size of structures,
2833 and add code to generate the header containing these sizes
2834 * tests/check/gst/gstabi.c: (GST_START_TEST):
2835 * tests/check/gst/struct_i386.h:
2836 * tests/check/libs/libsabi.c: (GST_START_TEST):
2837 * tests/check/libs/struct_i386.h:
2840 2006-06-06 Michael Smith <msmith@fluendo.com>
2843 Don't use c++-style comments, fixes #343929
2845 2006-06-05 Edward Hervey <edward@fluendo.com>
2848 plugin_paths is not used if we build without registry support.
2850 * gst/gstsegment.c: (gst_segment_copy):
2851 _copy() was always returning NULL...
2853 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2855 * libs/gst/dataprotocol/dataprotocol.c:
2856 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2857 (gst_dp_packet_from_event):
2860 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2862 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
2863 make sure we unset caps
2865 2006-06-02 Michael Smith <msmith@fluendo.com>
2867 * libs/gst/check/gstcheck.c: (gst_check_init),
2868 (gst_check_chain_func):
2869 * libs/gst/check/gstcheck.h:
2870 Add a cond/mutex to the check support lib, signal this whenever we
2871 add to the buffers list. This will allow tests to not busy-wait on
2874 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2876 * libs/gst/dataprotocol/dataprotocol.c:
2877 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2878 (gst_dp_packet_from_event):
2879 factor out some common header init code
2881 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2883 * docs/libs/gstreamer-libs-sections.txt:
2884 * docs/libs/tmpl/gstdataprotocol.sgml:
2885 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
2886 * libs/gst/dataprotocol/dataprotocol.h:
2887 API: make gst_dp_crc() public
2889 2006-06-01 Stefan Kost <ensonic@users.sf.net>
2891 * plugins/indexers/gstindexers.c: (plugin_init):
2892 conditionally register fileindexer (fixes #343598)
2894 2006-06-01 Stefan Kost <ensonic@users.sf.net>
2896 * gst/gsttagsetter.h:
2897 Can't cast ifaces to a class
2899 * libs/gst/net/gstnetclientclock.h:
2900 * libs/gst/net/gstnettimeprovider.h:
2901 * plugins/elements/gstfakesink.h:
2902 * plugins/elements/gstfakesrc.h:
2903 * plugins/elements/gstfdsink.h:
2904 * plugins/elements/gstfdsrc.h:
2905 * plugins/elements/gstfilesink.h:
2906 * plugins/elements/gstfilesrc.h:
2907 * plugins/elements/gstidentity.h:
2908 * plugins/elements/gstqueue.h:
2909 * plugins/elements/gsttee.h:
2910 * plugins/indexers/gstfileindex.c:
2911 * plugins/indexers/gstmemindex.c:
2912 * tests/old/examples/plugins/example.h:
2913 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2915 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
2917 * libs/gst/dataprotocol/dataprotocol.c:
2918 (gst_dp_header_from_buffer):
2919 make sure we zero the whole ABI-compatible area
2921 2006-06-01 Wim Taymans <wim@fluendo.com>
2923 Patch by: Alessandro Decina <alessandro at nnva dot org>
2925 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
2926 Make sure the EOS flag is cleared from pads after a flush
2927 or stop. Fixes #343538.
2929 * tests/check/libs/collectpads.c: (GST_START_TEST),
2930 (gst_collect_pads_suite):
2931 Added test for collectpads reusage after EOS.
2933 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
2936 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
2937 * win32/common/libgstbase.def:
2938 export gst_collect_pads_set_flushing
2939 * win32/common/libgstreamer.def:
2940 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
2941 gst_value_fraction_multiply
2942 * win32/vs6/gst_inspect.dsp:
2943 add a link to intl.lib
2945 2006-05-30 Wim Taymans <wim@fluendo.com>
2947 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2948 (gst_collect_pads_chain):
2949 Handle the case where a pad is removed from the collection
2950 that could cause the other pads to become collectable.
2952 2006-05-30 Wim Taymans <wim@fluendo.com>
2955 Clarify the use of _release_request_pad() and
2956 _get_request_pad() a bit better.
2958 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
2959 (gst_adapter_take_buffer):
2960 Fix some doc and comment typos.
2962 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
2964 * docs/gst/gstreamer-sections.txt:
2965 * docs/libs/gstreamer-libs-sections.txt:
2966 add declared symbols
2968 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
2970 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
2971 Add debug that can be enabled using a #define at the top of the file,
2972 for dumping stats about how late/early we were when waking up from
2973 waiting on the clock.
2975 2006-05-30 Wim Taymans <wim@fluendo.com>
2977 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
2978 When rebuilding the pad list, don't leak the previous list.
2980 2006-05-30 Wim Taymans <wim@fluendo.com>
2982 Patch by: Lutz Mueller <lutz at topfrose dot de>
2984 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2985 (gst_base_src_get_query_types), (gst_base_src_update_length):
2986 Publish supported query types.
2987 Update last_stop field in get_range mode so the position
2988 query works. Fixes #342321.
2990 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
2992 * docs/gst/gstreamer-sections.txt:
2993 * gst/gsttaglist.c: (_gst_tag_initialize):
2995 API: add GST_TAG_PREVIEW_IMAGE (#343341).
2997 2006-05-30 Wim Taymans <wim@fluendo.com>
2999 Patch by: Alessandro Decina <alessandro at nnva dot org>
3001 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
3002 Unlock mutex when removing an unknown pad.
3005 * tests/check/Makefile.am:
3006 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
3007 (push_event), (setup), (teardown), (GST_START_TEST),
3008 (gst_collect_pads_suite), (main):
3009 Added collecpads check, disabled for now as check crashes for
3012 2006-05-29 Wim Taymans <wim@fluendo.com>
3014 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
3015 Don't leak pads lists.
3017 2006-05-29 Wim Taymans <wim@fluendo.com>
3019 * docs/libs/gstreamer-libs-sections.txt:
3020 * libs/gst/base/gstcollectpads.c:
3021 (gst_collect_pads_set_flushing_unlocked),
3022 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3023 (gst_collect_pads_stop):
3024 * libs/gst/base/gstcollectpads.h:
3025 API: gst_collect_pads_set_flushing()
3026 Added api to set the pads to flushing, useful for seeking
3027 code in elements using collectpads.
3028 Clear segment when receiving a flush.
3030 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
3032 * gst/gst.c: (add_path_func), (init_post):
3033 Don't scan registry paths passed via --gst-plugin-path immediately
3034 (will crash, because absolutely nothing is set up and no types are
3035 registered etc.); do this later in init_post(). Fixes #343057.
3037 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
3039 * gst/gst.c: (init_post):
3040 if we have fork, fork while reading/rebuilding the registry
3041 so the parent doesn't take the hit of having all plugins loaded
3042 in memory. Fixes #342777.
3044 Check if we have fork()
3045 * win32/common/config.h.in:
3048 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
3050 * plugins/elements/gstelements.c:
3051 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
3052 (gst_file_src_init), (gst_file_src_set_property),
3053 (gst_file_src_get_property), (gst_file_src_start):
3054 * plugins/elements/gstfilesrc.h:
3055 API: GstFileSrc::use-mmap
3057 Add a use-mmap property to enable easier testing of all code paths.
3058 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
3059 in the absence of gnomevfssrc. (Closes #340501)
3061 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3063 * tools/gst-inspect.c:
3064 Add missing include, removes warning of ngettext not being defined on
3067 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
3069 * gst/gstvalue.c: (gst_value_deserialize_fraction):
3070 Handle NULL input and output pointers silently as a failed conversion,
3071 rather than g_warnings.
3073 2006-05-25 Wim Taymans <wim@fluendo.com>
3075 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
3076 Initialize variable before using. Fixes #342820.
3078 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
3080 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
3081 Fix off-by-one bug that would only allow peeks of N-1 bytes
3082 from the start even if the buffer to typefind on contains
3083 in fact N bytes of data (makes vorbis typefinding from a
3084 vorbis identification header buffer work).
3086 * tests/check/Makefile.am:
3087 * tests/check/libs/.cvsignore:
3088 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
3089 (gst_typefindhelper_suite), (main), (foobar_typefind),
3091 Add very basic unit test for gst_type_find_helper_for_buffer()
3092 that checks for the problem fixed above.
3094 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
3096 * tools/gst-inspect.c: (print_interfaces),
3097 (print_element_properties_info), (print_element_list), (main):
3098 add more translatable strings
3100 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
3102 Patch by: Julien Moutte <julien at moutte net>
3104 * docs/gst/gstreamer-sections.txt:
3105 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
3107 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3108 (gst_fake_sink_preroll):
3109 * plugins/elements/gstfakesink.h:
3110 API: Add new GstFakeSink::preroll-handoff signal (#337100).
3112 2006-05-23 Wim Taymans <wim@fluendo.com>
3114 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
3116 Added _CUSTOM error and success GstFlowReturn that can be
3117 used be elements internally.
3118 Added macro to check for SUCCESS flowreturns.
3119 API: GST_FLOW_CUSTOM_SUCCESS
3120 API: GST_FLOW_CUSTOM_ERROR
3121 API: GST_FLOW_IS_SUCCESS
3123 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3124 Added check for GstFlowReturn sanity.
3126 2006-05-23 Wim Taymans <wim@fluendo.com>
3128 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3130 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3131 (gst_collect_pads_event):
3132 clear/reset segment info in FLUSH_STOP.
3135 2006-05-22 Stefan Kost <ensonic@users.sf.net>
3137 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
3138 (gst_collect_pads_check_collected):
3139 Flush queued buffer on _stop(), fixes playing again (#342454)
3141 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
3143 * tests/check/gst/gststructure.c: (GST_START_TEST),
3144 (gst_structure_suite):
3145 add a test for a complete structure
3147 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
3149 * docs/faq/developing.xml:
3151 * docs/faq/troubleshooting.xml:
3152 * docs/faq/using.xml:
3153 Some minor FAQ updates that won't change the fact that
3154 our FAQ is badly structured, full of information hardly
3155 anyone new to GStreamer needs to know and lacking lots
3156 of information people constantly ask for.
3158 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
3160 * gst/gstpad.c: (gst_pad_set_caps):
3161 Short-circuit gst_pad_set_caps if setting the existing
3162 caps pointer again, and avoid printing debug and
3163 reffing/unreffing the caps.
3165 * plugins/elements/gstqueue.c: (gst_queue_push_one):
3166 There's actually no need to set the caps before pushing -
3167 the acceptcaps method will handle it anyway.
3169 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
3171 * docs/gst/gstreamer-sections.txt:
3172 * win32/common/libgstreamer.def:
3173 * gst/gstutils.c: (gst_element_seek_simple):
3175 API: add gst_element_seek_simple() (#342238).
3177 2006-05-18 Edward Hervey <edward@fluendo.com>
3179 * gst/gsttypefind.c: (gst_type_find_get_type):
3180 * gst/gsttypefind.h:
3181 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
3182 registered for GstTypeFind pointers. This allows wrapping the structure
3183 in bindings (i.e. gst-python).
3185 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
3187 * gst/gsttagsetter.c:
3188 Docs additions and fixes (see #339918).
3190 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
3192 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3193 The caps intersection algorithm can produce multiple copies of the
3194 caps. Until that is fixed, we need to simplify the result to be
3195 sure whether the allowed caps are fixed or not.
3197 * plugins/elements/gstqueue.c: (gst_queue_init),
3198 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
3199 (gst_queue_push_one):
3200 Proxied buffer alloc should not set the caps on the source pad.
3201 When pushing buffers, we always accept the caps change that triggers.
3202 This prevents negotiation errors caused by caps changing mid-stream
3203 and then being refused on our source pad (because upstream is now
3204 refusing those caps).
3206 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
3208 * tests/examples/helloworld/helloworld.c: (main):
3209 Must plug audioconvert and audioresample between decoder
3212 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
3214 * gst/gstregistryxml.c: (read_string), (load_pad_template),
3215 (load_feature), (load_plugin):
3216 Allow empty strings for some of the plugin fields so we don't
3217 drop valid plugin entries that were written out correctly
3220 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
3222 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
3223 Use g_remove and g_rename instead of remove and rename that don't
3224 handle utf8 characters. rename was failing for users who had specific
3225 characters in their name then the registry was built at each
3227 * win32/vs6/gst_inspect.dsp:
3228 * win32/vs6/gst_launch.dsp:
3229 * win32/vs6/libgstbase.dsp:
3230 * win32/vs6/libgstcoreelements.dsp:
3231 * win32/vs6/libgstreamer.dsp:
3232 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
3233 build of libgstreamer and clean unused libraries in projects link
3236 2006-05-17 Edward Hervey <edward@fluendo.com>
3238 * plugins/elements/gstqueue.c: (gst_queue_push_one):
3239 The queue is not responsible for pushing an EOS when receiving a fatal
3240 flow error. It's up to the real element driving the pipeline to do that.
3242 2006-05-16 Edward Hervey <edward@fluendo.com>
3244 * plugins/elements/gstqueue.c: (gst_queue_push_one):
3245 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
3246 buffer returned a fatal error. It should just send an EOS and stop
3248 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
3249 when pushing buffers on the queue and will be able to handle the event.
3251 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
3253 * docs/manual/basics-bins.xml:
3254 * docs/manual/basics-init.xml:
3255 Fix typos and minor errors in sample code (#341856).
3257 2006-05-16 Wim Taymans <wim@fluendo.com>
3259 * docs/design/part-qos.txt:
3260 Fix indexes in formulas to make more sense.
3262 2006-05-15 Wim Taymans <wim@fluendo.com>
3264 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3265 Don't report POSITION based on clock time if sync is
3268 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
3271 Add cast to make compiler happy - refcount variable was a gint
3272 in GstObject but is a guint in GObject and g_atomic_int_get()
3275 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
3277 * gst/parse/Makefile.am:
3278 chain commands using &&, which also makes parallel make work
3280 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
3282 * docs/gst/gstreamer-sections.txt:
3288 === release 0.10.6 ===
3290 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
3293 releasing 0.10.6, "Take the cannoli"
3295 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
3297 * tools/gst-launch.c: (print_tag):
3298 Fix use of uninitialized variable in the hypothetical
3299 case that some broken plugin creates a GST_TAG_IMAGE
3300 tag containing a NULL buffer (#341667).
3302 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
3304 * tools/gst-launch.c: (print_tag):
3305 Print something more intelligible for image tags when
3306 using the -t switch (#341556).
3308 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
3313 define GST_MAJORMINOR so we have it available in win32/common/config.h
3314 Possibly remove it from our Makefile.am files later
3315 * win32/common/config.h:
3316 * win32/common/config.h.in:
3317 added GST_MAJORMINOR
3318 * win32/common/gstenumtypes.c: (register_gst_resource_error):
3319 * win32/common/gstversion.h:
3322 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
3325 Update win32 files listing.
3326 * win32/common/gstversion.h:
3327 Add GST_MAJORMINOR definition.
3328 * win32/common/libgstreamer.def:
3329 Add new exported functions.
3331 2006-05-12 Michael Smith <msmith@fluendo.com>
3333 * gst/gstplugin.c: (gst_plugin_load_file):
3334 If an so file has no plugin entry point, unload the module.
3336 2006-05-11 Wim Taymans <wim@fluendo.com>
3338 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
3339 (gst_queue_set_property):
3340 Don't forget to signal the _chain or _loop function
3341 when the queue size or thresholds change since that might
3342 cause them to make progres again.
3344 2006-05-11 Stefan Kost <ensonic@users.sf.net>
3346 * gst/gstclock.c: (gst_clock_class_init):
3347 * gst/gstindex.c: (gst_index_class_init):
3348 * gst/gstobject.c: (gst_object_class_init):
3349 * gst/gstpad.c: (gst_pad_class_init):
3350 * gst/gstpipeline.c: (gst_pipeline_class_init):
3351 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3352 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3353 * libs/gst/base/gstbasetransform.c:
3354 (gst_base_transform_class_init):
3355 * libs/gst/net/gstnetclientclock.c:
3356 (gst_net_client_clock_class_init):
3357 * libs/gst/net/gstnettimeprovider.c:
3358 (gst_net_time_provider_class_init):
3359 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3360 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3361 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3362 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3363 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3364 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3365 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3366 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3367 * plugins/elements/gsttee.c: (gst_tee_class_init):
3368 * tests/old/examples/plugins/example.c: (gst_example_class_init):
3369 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3370 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
3372 2006-05-11 Wim Taymans <wim@fluendo.com>
3374 * gst/gstbuffer.c: (_gst_buffer_initialize):
3375 Register subbufer along with the buffer type so that
3376 it does not accidentally gets registered from N
3377 different streaming threads in a non threadsafe way.
3379 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
3384 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
3385 gst_event_ref() and gst_message_ref() functions again
3386 (ugly hack, please do fix if there's a better way besides
3387 overrides.txt, which doesn't seem to work).
3389 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3391 * libs/gst/check/gstcheck.h:
3392 add an assert for setting state to avoid lots of repetitive code
3395 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3397 * gst/gstvalue.c: (gst_value_serialize_flags):
3398 fix a leak if no flags are set
3399 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3402 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
3404 * docs/manual/basics-pads.xml:
3405 Expand a bit on caps and filtered links and update
3406 examples that were still using the no longer existing
3407 gst_pad_link_filtered() (#338206).
3409 2006-05-10 Wim Taymans <wim@fluendo.com>
3411 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3412 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3413 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3414 (gst_collect_pads_stop):
3415 * libs/gst/base/gstcollectpads.h:
3416 No need to call _stop in _finalize.
3417 Iterate the main pad list in _finalize.
3418 Added some more debug.
3419 Free lists and data in the right order.
3420 Also free data whem doing _remove_pad when stopped for
3421 backward compatibility protect ::started with PAD_LOCK as
3424 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3426 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
3427 (gst_structure_parse_value):
3429 rename a method so that it actually says what it does better
3431 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3433 * gst/gstevent.c: (_gst_event_initialize):
3434 * gst/gstformat.c: (_gst_format_initialize):
3435 make sure some essential types used by events are registered
3436 as part of gst_init()
3437 * gst/gstvalue.c: (gst_value_serialize_flags):
3438 if no flags are set, serialize them to a value that represents NONE
3439 so that deserializing them works
3440 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3441 add tests for serialization and deserialization of flags
3443 2006-05-10 Wim Taymans <wim@fluendo.com>
3445 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
3446 (gst_collect_pads_collect_range), (gst_collect_pads_available),
3447 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
3448 (gst_collect_pads_event), (gst_collect_pads_chain):
3451 Catch and return errors from the collect function
3452 Refuse data on eos pads.
3454 2006-05-10 Edward Hervey <edward@fluendo.com>
3456 * gst/gstinterface.h:
3457 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
3458 GInterface type checking.
3459 They were previously using non-defined macros.
3461 2006-05-09 Wim Taymans <wim@fluendo.com>
3463 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
3464 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
3465 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
3466 (gst_collect_pads_start), (gst_collect_pads_stop),
3467 (gst_collect_pads_peek), (gst_collect_pads_pop),
3468 (gst_collect_pads_available), (gst_collect_pads_read),
3469 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
3470 (gst_collect_pads_is_collected), (gst_collect_pads_event),
3471 (gst_collect_pads_chain):
3472 * libs/gst/base/gstcollectpads.h:
3473 Clean up the mess that is collectpads, add comments and
3474 FIXMEs where needed.
3475 Maintain a separate pad list so we can add pads while
3476 collecting the other ones. For this we need a new separate
3478 Fix memory leak in finalize.
3479 Refactor some weird code to set/unset pad flushing flags, mark
3481 Don't crash in _available, _read, _flush when we're EOS.
3483 * tests/check/libs/.cvsignore:
3484 Ignore adapter check binary.
3486 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3488 * gst/gstindex.c: (gst_index_resolver_get_type):
3489 * plugins/elements/gstfakesink.c:
3490 (gst_fake_sink_state_error_get_type):
3491 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
3492 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
3493 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3494 Const-ify GEnumValue arrays.
3496 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3498 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3499 Add test case for flags + gst_buffer_make_metadata_writable().
3501 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3503 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
3504 gst_buffer_make_metadata_writable() should maintain the
3505 buffer flags (those that make sense at least) (see #340859).
3507 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3509 * tools/gst-inspect.c:
3510 * tools/gst-launch.c:
3511 * tools/gst-typefind.c:
3512 * tools/gst-xmlinspect.c:
3514 Fix up includes: need to include stdlib.h in tools.h for exit().
3516 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3518 * gst/gsttaglist.c: (_gst_tag_initialize):
3520 API: add GST_TAG_IMAGE tag (#340721).
3522 2006-05-08 Wim Taymans <wim@fluendo.com>
3525 Added some docs for the segment query.
3527 2006-05-08 Wim Taymans <wim@fluendo.com>
3529 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3530 (gst_base_src_loop), (gst_base_src_change_state):
3531 Always push non-flushing serialized events in the streaming
3534 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
3536 * gst/gsterror.c: (_gst_stream_errors_init):
3537 Add a missing error string.
3539 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
3541 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
3542 Add applied_rate to the debug
3544 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3545 Copy applied_rate into the outgoing NEWSEGMENT event
3547 2006-05-08 Wim Taymans <wim@fluendo.com>
3549 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
3551 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3552 (gst_base_sink_change_state):
3553 call ::unlock before taking the PREROLL_LOCK so we can safely
3554 handle elements that lock in ::render.
3557 2006-05-08 Edward Hervey <edward@fluendo.com>
3559 * autogen.sh: (CONFIGURE_DEF_OPT):
3560 Darwin's libtoolize is in fact called glibtoolize.
3561 Adding glibtoolize to the list of accepted names for libtoolize.
3563 2006-05-08 Wim Taymans <wim@fluendo.com>
3565 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3566 Unify error handling, don't post an error message
3567 when a push() returns EOS but perform our normal EOS
3568 handling code. Fixes #340772.
3570 2006-05-08 Wim Taymans <wim@fluendo.com>
3572 * docs/design/part-overview.txt:
3573 Make upsteam/downstream concepts more clear.
3574 Give an example of serialized/non-serialized events.
3576 * docs/design/part-events.txt:
3577 * docs/design/part-streams.txt:
3578 Mention applied_rate.
3580 * docs/design/part-trickmodes.txt:
3581 Mention applied rate, flesh out some more use cases.
3583 * gst/gstevent.c: (gst_event_new_new_segment),
3584 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
3585 (gst_event_parse_new_segment_full), (gst_event_new_tag),
3586 (gst_event_parse_tag), (gst_event_new_buffer_size),
3587 (gst_event_parse_buffer_size), (gst_event_new_qos),
3588 (gst_event_parse_qos), (gst_event_parse_seek),
3589 (gst_event_new_navigation):
3591 Add applied_rate field to NEWSEGMENT event.
3592 API: gst_event_new_new_segment_full()
3593 API: gst_event_parse_new_segment_full()
3595 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
3596 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
3597 (gst_segment_to_stream_time), (gst_segment_to_running_time):
3599 Add applied_rate to GstSegment structure.
3600 Make calculation of stream_time and running_time more correct
3601 wrt rate/applied_rate.
3603 API: GstSegment::applied_rate field
3604 API: gst_segment_set_newsegment_full();
3606 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3607 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
3608 * libs/gst/base/gstbasetransform.c:
3609 (gst_base_transform_sink_eventfunc),
3610 (gst_base_transform_handle_buffer):
3611 Parse and use applied_rate in the GstSegment field.
3613 * tests/check/gst/gstevent.c: (GST_START_TEST):
3614 Add check for applied_rate field.
3616 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3617 (gstsegments_suite):
3618 Add more checks for various GstSegment operations.
3620 2006-05-08 Wim Taymans <wim@fluendo.com>
3622 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3623 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
3624 (gst_base_sink_get_position), (gst_base_sink_change_state):
3625 Store the sync time of the buffer end position separatly in a
3626 new variable eos_rtime so we can properly sync the EOS event.
3628 Fix the docs for gst_base_sink_set_qos_enabled().
3629 Don't set segment start to invalid value when we receive a
3630 non TIME newsegment.
3631 get closer to handling position reporting for negative rates
3634 2006-05-07 Stefan Kost <ensonic@users.sf.net>
3637 Docs about how to print caps for debug purposes.
3639 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
3640 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
3642 2006-05-07 Stefan Kost <ensonic@users.sf.net>
3645 use full enum names and preprend a '%' in docs strings to make recent
3646 gtk-doc turn that into a link
3648 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3650 * docs/manual/basics-bins.xml:
3651 * docs/manual/basics-bus.xml:
3652 * docs/manual/basics-pads.xml:
3653 Some typo fixes, some additions, some clarifications.
3655 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3657 * tools/gst-inspect.c: (main):
3658 * tools/gst-launch.c: (main):
3659 * tools/gst-run.c: (main):
3660 * tools/gst-typefind.c: (main):
3661 * tools/gst-xmlinspect.c: (main):
3662 Use the string passed to g_option_context_new() for
3663 what it's intended for - the program name is already
3666 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3668 * tools/Makefile.am:
3669 * tools/gst-inspect.c: (main):
3670 * tools/gst-launch.c: (main):
3671 * tools/gst-xmlinspect.c: (main):
3673 Add back --version command line option (#340460).
3675 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
3676 Add --version option and use GOption for argument parsing; refactor a
3677 bit; accept directories as arguments and recurse into them; lastly,
3678 print a decent error message when things go wrong.
3680 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3682 * docs/manual/basics-bins.xml:
3683 Don't mention GstThread (#340611)
3684 * docs/manual/basics-elements.xml:
3685 Update link to GObject tutorial (#340607)
3687 2006-05-05 Wim Taymans <wim@fluendo.com>
3690 * gst/gstminiobject.c:
3691 Add note about refcounting and miniobject/buffer writeability
3692 to docs. Fixes #340604
3694 * gst/gstelementfactory.h:
3695 Added some explanation about @klass.
3697 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3699 * docs/manual/intro-motivation.xml:
3700 * docs/manual/manual.xml:
3701 Avoid CORBA & Bonobo references (#340598)
3703 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3705 * docs/manual/basics-bus.xml:
3706 * docs/manual/basics-pads.xml:
3707 Fix up some inaccuracies and omissions (#340609)
3709 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3711 * gst/gstghostpad.c:
3712 Small typo in docs (#340625)
3714 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3716 * gst/parse/Makefile.am:
3717 Make 'make -j' proof (see #340698).
3719 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3722 Require GLib-2.8 here as well.
3724 2006-05-05 Wim Taymans <wim@fluendo.com>
3726 * gst/glib-compat.c:
3727 * gst/gst.c: (init_pre):
3728 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3729 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3730 (gst_object_dispatch_properties_changed):
3732 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3733 * gst/gststructure.c: (gst_structure_set_valist):
3734 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3735 Remove pre glib2.8 compatibility, fixes #340508
3737 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3740 Mention type of tags in doc blurbs.
3742 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
3744 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3745 (gst_pad_configure_src), (gst_pad_push):
3746 Restore acceptcaps checking behaviour now that good plugins have
3749 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3751 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3762 * gst/parse/Makefile.am:
3763 * libs/gst/base/gstadapter.c:
3764 * libs/gst/base/gstbasesrc.c:
3765 * libs/gst/base/gstpushsrc.c:
3766 * libs/gst/base/gsttypefindhelper.c:
3767 * plugins/elements/gstfakesrc.c:
3768 * plugins/elements/gstidentity.c:
3769 Make sure gstprivate.h and/or config.h are
3770 always included first, otherwise some of our
3771 defines (like _FILE_OFFSET_BITS) might be
3772 redefined in the system headers. Fixes build
3773 on opensolaris (#340016).
3775 2006-05-04 Wim Taymans <wim@fluendo.com>
3777 * docs/libs/gstreamer-libs-sections.txt:
3778 API: addition: gst_adapter_take_buffer()
3780 * libs/gst/base/gstadapter.c: (gst_adapter_push),
3781 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3782 (gst_adapter_available_fast):
3783 * libs/gst/base/gstadapter.h:
3784 Prepare for optimizing the hell out of this hugely inefficient
3786 Added gst_adapter_take_buffer() so we can at least start thinking
3787 about subbuffering and merging.
3788 Added some comments.
3790 * tests/check/Makefile.am:
3791 * tests/check/libs/adapter.c: (GST_START_TEST),
3792 (gst_adapter_suite), (main):
3793 Added GstAdapter check.
3795 2006-05-04 Wim Taymans <wim@fluendo.com>
3797 * docs/design/part-overview.txt:
3798 Fix some typos, add blurb about buffer flags.
3800 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
3802 * docs/libs/gstreamer-libs-sections.txt:
3803 make sure GstBaseTransformClass shows up in the docs
3804 * libs/gst/base/gstbasetransform.c:
3805 * libs/gst/base/gstbasetransform.h:
3806 move docs so gtk-doc picks it up now
3808 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3810 * docs/libs/gstreamer-libs-sections.txt:
3811 add missing symbols to docs
3813 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3815 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3816 back out the newsegment handling change, see #340060 for ongoing
3819 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
3821 * tools/gst-run.c: (get_candidates), (main):
3822 Fix wrong g_file_test() usage (see glib docs for why it doesn't
3823 work); fix typo in error message. Fixes #340079.
3825 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
3827 * common/Makefile.am:
3829 * docs/faq/Makefile.am:
3830 * docs/gst/Makefile.am:
3831 * docs/libs/Makefile.am:
3832 * docs/manual/Makefile.am:
3833 * docs/plugins/Makefile.am:
3834 * docs/pwg/Makefile.am:
3835 * docs/slides/Makefile.am:
3837 * common/upload.mak:
3838 move upload.mak to common
3840 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
3842 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3843 add more asserts on refcounts
3844 do more cleanup at end of tests
3845 fix test leaks showing in FC5
3847 2006-04-29 Stefan Kost <ensonic@users.sf.net>
3849 * plugins/elements/gsttypefindelement.c:
3850 (gst_type_find_element_handle_event):
3851 reverted wrong change and reflowed code to avoid others falling into
3854 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3856 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3857 fix changelog entry about last collectpads change,
3858 add notes about proper fix
3860 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3863 * gst/gstregistry.c: (gst_registry_scan_path_level),
3864 (gst_registry_scan_path):
3865 * gst/gstregistry.h:
3866 only write out registry if it has changed, fixes #338339
3868 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3871 * gst/gstpipeline.c:
3872 * plugins/elements/gstcapsfilter.c:
3873 * plugins/elements/gstfakesink.c:
3874 * plugins/elements/gstfakesrc.c:
3875 * plugins/elements/gstfdsink.c:
3876 * plugins/elements/gstfdsrc.c:
3877 * plugins/elements/gstfilesink.c:
3878 * plugins/elements/gstfilesrc.c:
3879 * plugins/elements/gstidentity.c:
3880 * plugins/elements/gstqueue.c:
3881 * plugins/elements/gsttee.c:
3882 * plugins/elements/gsttypefindelement.c:
3883 (gst_type_find_element_handle_event):
3884 make GstElementDetails const
3886 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3888 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3889 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3890 (gst_collect_pads_is_collected), (gst_collect_pads_event):
3891 more detailed debug and formatting cleanup,
3892 forward newsegments to src-pad (so that e.g. adder not eats them)
3894 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3896 * gst/gstutils.c: (gst_element_link_pads):
3899 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3901 * libs/gst/controller/gstcontroller.c:
3902 (gst_controller_sync_values):
3904 * tests/check/libs/controller.c: (GST_START_TEST),
3905 (gst_controller_suite):
3906 a new test for live value handling
3908 2006-04-28 Wim Taymans <wim@fluendo.com>
3910 * gst/gstutils.c: (push_and_ref):
3911 Added some more docs.
3912 Fix refcount issue whith gst_element_found_tags() helper
3913 function. Fixes #338335
3915 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3916 Added testsuite for gst_element_found_tags().
3918 2006-04-28 Michael Smith <msmith@fluendo.com>
3920 * gst/gstvalue.c: (gst_value_serialize_flags):
3921 Avoid NULL dereference when trying to serialize flags containing
3924 2006-04-28 Michael Smith <msmith@fluendo.com>
3926 * plugins/elements/gsttypefindelement.c:
3927 (gst_type_find_element_handle_event):
3928 If we get EOS before any data is accumulated, don't use
3929 uninitialised local variables.
3931 2006-04-28 Michael Smith <msmith@fluendo.com>
3933 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3934 (gst_dp_event_from_packet):
3935 Fixes in reading/writing events over GDP (not currently used?) -
3936 dereferencing NULL events for unknown/invalid event types, memory
3937 leak, and change g_warning to GST_WARNING.
3939 2006-04-28 Wim Taymans <wim@fluendo.com>
3941 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
3942 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3943 (gst_base_sink_get_position), (gst_base_sink_change_state):
3944 When frame dropping is enabled, we should not ignore frames
3946 Update some documentation.
3948 2006-04-28 Wim Taymans <wim@fluendo.com>
3950 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3951 (gst_base_src_send_event), (gst_base_src_change_state):
3952 Documentation updates.
3954 2006-04-28 Wim Taymans <wim@fluendo.com>
3956 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3957 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
3958 handle EAGAIN, EINTR and short writes correctly. Also clean
3959 up some error cases, avoid a deadlock on bad file descriptors and
3960 use GST_DEBUG_OBJECT.
3963 2006-04-28 Wim Taymans <wim@fluendo.com>
3965 * gst/gstvalue.c: (gst_value_serialize_buffer),
3966 (gst_value_deserialize_buffer):
3967 Don't try to serialize a GValue with a NULL buffer.
3970 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3971 Added check for serialisation of NULL buffers.
3973 2006-04-28 Wim Taymans <wim@fluendo.com>
3975 * gst/gstminiobject.c: (gst_value_take_mini_object):
3976 Taking a NULL miniobject is valid, fix the case where
3977 we try to unref the NULL miniobject.
3979 2006-04-28 Wim Taymans <wim@fluendo.com>
3981 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
3983 * gst/gstbin.c: (gst_bin_handle_message_func):
3985 Don't leak bin refcount when a state recalc is
3986 in progress and we delay another one #339808.
3988 2006-04-28 Wim Taymans <wim@fluendo.com>
3990 * docs/design/part-TODO.txt:
3991 Mention QoS as an ongoing work item.
3993 * docs/design/part-buffering.txt:
3994 New doc about buffering that needs to be fleshed out
3997 * docs/design/part-qos.txt:
3998 More QoS policy for decoders/demuxers/transforms
4000 * docs/design/part-trickmodes.txt:
4003 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
4008 === release 0.10.5 ===
4010 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
4013 releasing 0.10.5, "Fogo"
4015 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
4017 patch by: Wim Taymans
4019 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
4020 (gst_pad_configure_src), (gst_pad_push):
4021 * gst/gstpipeline.c: (gst_pipeline_init):
4022 Fix internal data flow errors. Fixes #338711.
4024 2006-04-12 Wim Taymans <wim@fluendo.com>
4026 * tests/check/gst/gstelement.c: (GST_START_TEST):
4027 Don't leak the factory.
4029 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
4032 * win32/common/config.h:
4035 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
4037 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4038 (gst_controller_unset_all):
4039 Free allocated GstTimedValues when freeing list nodes.
4040 Should fix leaks 'make check-valgrind' complains about.
4042 * win32/common/libgstcontroller.def:
4043 Add gst_controller_unset_all.
4045 2006-04-11 Stefan Kost <ensonic@users.sf.net>
4047 * docs/libs/gstreamer-libs-sections.txt:
4048 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4049 (gst_controller_unset_all):
4050 * libs/gst/controller/gstcontroller.h:
4051 API: Added new method gst_controller_unset_all()
4052 fixed gst_controller_unset()
4053 * tests/check/libs/controller.c: (GST_START_TEST),
4054 (gst_controller_suite):
4055 Added two testcases for new and fixed method
4057 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
4059 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4060 MSG_DONTWAIT is not defined on Cygwin, so work
4061 around that (fixes #317048).
4063 2006-04-11 Wim Taymans <wim@fluendo.com>
4065 * gst/gstelementfactory.c: (gst_element_register),
4066 (gst_element_factory_create), (gst_element_factory_make):
4069 Updated docs (Fixes #131079)
4071 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4074 * tests/check/gst/gstelement.c: (GST_START_TEST),
4075 (gst_element_suite):
4076 Added testcase for elementfactory class field.
4078 2006-04-10 Wim Taymans <wim@fluendo.com>
4081 Added some more docs.
4083 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
4084 (gst_base_sink_reset_qos):
4085 Calculate more accurate rate values.
4087 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
4089 * gst/gst_private.h:
4090 add a new #ifdef to use __declspec(dllimport) only for
4091 other modules and not for gstreamer core
4092 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
4093 use gst_guint64_to_gdouble for conversion
4094 * win32/common/libgstreamer.def:
4095 add new exported functions
4096 * win32/vs6/gst_inspect.dsp:
4097 * win32/vs6/gst_launch.dsp:
4098 * win32/vs6/libgstbase.dsp:
4099 * win32/vs6/libgstcontroller.dsp:
4100 * win32/vs6/libgstcoreelements.dsp:
4101 * win32/vs6/libgstdataprotocol.dsp:
4102 * win32/vs6/libgstnet.dsp:
4103 update project files
4105 2006-04-08 Stefan Kost <ensonic@users.sf.net>
4107 * gst/gstbuffer.c: (gst_subbuffer_class_init):
4108 * gst/gstclock.c: (gst_clock_class_init):
4109 * gst/gstelement.c: (gst_element_class_init):
4110 * gst/gstindex.c: (gst_index_class_init):
4111 * gst/gstindexfactory.c: (gst_index_factory_class_init):
4112 * gst/gstobject.c: (gst_object_class_init),
4113 (gst_signal_object_class_init):
4114 * gst/gstpad.c: (gst_pad_class_init):
4115 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
4116 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
4117 * gst/gstregistry.c: (gst_registry_class_init):
4118 * gst/gstsystemclock.c: (gst_system_clock_class_init):
4119 * gst/gsttask.c: (gst_task_class_init):
4120 * gst/gstxml.c: (gst_xml_class_init):
4121 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4122 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4123 (gst_base_src_loop):
4124 * libs/gst/controller/gstcontroller.c:/
4125 (_gst_controller_class_init):
4126 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4127 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4128 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
4129 * tests/old/examples/plugins/example.c: (gst_example_class_init):
4130 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
4131 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
4133 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
4135 * gst/gstpad.c: (gst_pad_link):
4136 Must set peer pads before calling the link function, otherwise
4137 a task started from a link function might get a flow-not-linked
4138 result when trying to push because the other thread where the
4139 linking happens hasn't had a chance to set the peers yet. This
4140 might happen for example when a queue gets linked to a downstream
4141 element, as queue starts a streaming task when its source pad
4142 gets linked. Happens in real life when playing back flac/musepack
4143 files in playbin (#332390).
4145 2006-04-08 Stefan Kost <ensonic@users.sf.net>
4149 * libs/gst/base/gstadapter.h:
4150 * libs/gst/base/gstbasesink.h:
4151 * libs/gst/base/gstbasesrc.h:
4152 * libs/gst/base/gstbasetransform.h:
4153 * libs/gst/base/gstcollectpads.h:
4154 * libs/gst/base/gstpushsrc.h:
4155 Fix broken GObject macros
4157 2006-04-07 Wim Taymans <wim@fluendo.com>
4159 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4160 Initialize start and stop times, thanks valgrind.
4162 2006-04-07 Wim Taymans <wim@fluendo.com>
4164 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4165 Be a bit nicer to badly behaving upstream elements that expect
4166 us to deal with non TIME segments and timestamps (such as fakesrc
4169 2006-04-07 Wim Taymans <wim@fluendo.com>
4172 Small documentation clarification about the signal watch.
4174 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4175 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4176 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4177 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
4178 (gst_base_sink_get_position_last),
4179 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
4180 Convert and store timestamps in stream time and running time, the
4181 raw timestamps are not usefull, also document this better.
4182 Use different window sizes for good and bad QoS observations so
4183 we react to badness a little quicker.
4184 Keep track of the amount of rendered and dropped buffers.
4185 Send QoS timestamps in running time.
4187 * libs/gst/base/gstbasetransform.c:
4188 (gst_base_transform_sink_eventfunc),
4189 (gst_base_transform_handle_buffer):
4190 Compare QoS timestamps against running time.
4192 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
4197 2006-04-06 Michael Smith <msmith@fluendo.com>
4199 * gst/gstpad.c: (gst_pad_set_property):
4200 Use g_value_get_object() instead of g_value_dup_gst_object(),
4201 to avoid double-reffing the pad template (which we then sink,
4202 so this worked previously if (and only if) the pad template
4205 * gst/gstpadtemplate.c: (gst_pad_template_init),
4206 (gst_pad_template_pad_created):
4207 Never return floating references to pad templates, create
4208 them as initially-sunken.
4210 Document an extra function (and make this stop sinking our
4211 pad template, since that is now guaranteed to do nothing,
4212 since we created it sunken).
4214 * gst/gstghostpad.c:
4217 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
4219 * gst/gstinfo.c: (__gst_in_valgrind):
4222 * plugins/elements/gsttypefindelement.c:
4223 (gst_type_find_element_chain):
4224 Don't leak buffer caps.
4226 2006-04-06 Michael Smith <msmith@fluendo.com>
4228 * gst/parse/grammar.y:
4229 Fix a leak in parse-launch for any source-or-sink named element
4232 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4233 Unref the pipeline if it exists after we've failed parsing.
4235 2006-04-05 Michael Smith <msmith@fluendo.com>
4237 * gst/gstpipeline.c: (gst_pipeline_init):
4238 When we create a pipeline bus, initially create it in flushing mode.
4239 Fixes leaks in at least one test, and makes a new pipeline work the
4240 same as one that has gone to READY and then back to NULL.
4245 2006-04-05 Michael Smith <msmith@fluendo.com>
4247 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4248 Unref a pad we reffed.
4249 * tests/check/gst/gstutils.c: (GST_START_TEST):
4252 2006-04-05 Michael Smith <msmith@fluendo.com>
4254 * gst/gstquery.c: (gst_query_set_formats),
4255 (gst_query_set_formatsv):
4256 Fix leaking GValues in queries, as shown by valgrind/testsuite.
4258 2006-04-05 Michael Smith <msmith@fluendo.com>
4260 * tests/check/generic/sinks.c: (GST_START_TEST):
4261 Fix a variety of memleaks in sinks check, which are only sometimes
4262 shown by running the tests under valgrind (weird?).
4264 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
4266 * docs/version.entities.in:
4267 Fix the substituted entity name after thomas' changes on the
4270 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4272 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
4275 2006-04-05 Andy Wingo <wingo@pobox.com>
4277 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
4279 * libs/gst/base/gstbasetransform.c
4280 (gst_base_transform_sink_eventfunc): When resetting our segment on
4281 FLUSH_STOP, also update the flag saying we haven't seen a
4284 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
4286 Patch by: Paolo Borelli <pborelli at katamail dot com>
4288 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
4289 (gst_plugin_check_license):
4290 minor clean-ups: G_DEFINE_TYPE already takes care of the
4291 parent_class stuff, no need to do it twice. Mark array of
4292 license strings as constant. (#337103)
4294 2006-04-04 Michael Smith <msmith@fluendo.com>
4296 * tools/gst-inspect.c: (print_element_list):
4297 Free the right plugin list; fixes a memory leak.
4299 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
4301 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4303 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4304 Don't error out on empty buffers (#336945).
4306 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
4308 * docs/libs/gstreamer-libs-sections.txt:
4310 * libs/gst/base/gstbasesink.c:
4311 * libs/gst/base/gstbasesink.h:
4312 * libs/gst/base/gstbasesrc.c:
4313 * libs/gst/base/gstbasesrc.h:
4314 Documentation updates. Make BaseSink and BaseSrc docs contain the
4315 class structure so that people can actually see the prototypes for
4316 virtual functions they're supposed to be overriding.
4318 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
4320 * plugins/elements/gsttypefindelement.c:
4321 (gst_type_find_element_chain):
4322 More debug info; when skipping typefinding, send cached
4323 events in all cases.
4325 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
4328 use new AS_VERSION and AS_NANO macros
4329 * gst/gst-i18n-lib.h:
4332 * gst/gstversion.h.in:
4333 * win32/common/config.h:
4334 * win32/common/config.h.in:
4337 2006-03-31 Michael Smith <msmith@fluendo.com>
4339 * plugins/elements/gsttypefindelement.c:
4340 (gst_type_find_element_chain):
4341 Do not typefind content if the buffers already have caps.
4342 Neccesary for icydemux (#333657), and the right thing to do anyway.
4344 2006-03-30 Wim Taymans <wim@fluendo.com>
4346 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4347 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
4348 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
4349 (gst_base_sink_record_qos_observation),
4350 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4351 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4352 (gst_base_sink_change_state):
4353 More QoS measurements as described in the design doc.
4354 Get rid of ringbuffer with observations, running average is
4355 more simple and equally good.
4356 Calculates valid proportion now.
4357 Added beginning of flood measurement.
4359 2006-03-29 Wim Taymans <wim@fluendo.com>
4361 * docs/design/part-qos.txt:
4363 Small documentation updates and additions.
4365 2006-03-29 Wim Taymans <wim@fluendo.com>
4367 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4368 (gst_base_src_send_event), (gst_base_src_loop),
4369 (gst_base_src_change_state):
4370 Perform the EOS logic when we reach the segment stop position.
4371 Fix compilation on gcc4.1
4373 2006-03-29 Wim Taymans <wim@fluendo.com>
4375 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
4377 * plugins/elements/gstqueue.c: (gst_queue_init),
4378 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
4379 (gst_queue_set_property):
4380 * plugins/elements/gstqueue.h:
4381 In queue, when EOS is received, if minimum threshold > max_size -
4382 current_level, there is chance that queue blocks forever in conditional
4383 item del wait. This is because the queue is not emptied completely due
4384 to minimum threshold. Here is another approach. Instead of setting
4385 cur_levels to max in EOS, just zero all minimum threshold levels. This
4386 should make sure that queue gives out all data. When going to READY
4387 (stop) state, just reset the original minimum threshold levels.
4390 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
4392 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
4393 (gst_type_find_element_handle_event),
4394 (gst_type_find_element_send_cached_events),
4395 (gst_type_find_element_change_state):
4396 * plugins/elements/gsttypefindelement.h:
4397 When typefinding is done in push mode, we should cache
4398 events we receive during typefinding instead of just
4399 dropping them (e.g. newsegment, custom events from
4400 dvdreadsrc etc.) and then send them out once we've
4401 determined the type of the stream (and decodebin
4402 has had a chance to plug in a decoder/demuxer).
4404 2006-03-27 Wim Taymans <wim@fluendo.com>
4406 * docs/design/part-qos.txt:
4409 2006-03-27 Wim Taymans <wim@fluendo.com>
4411 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
4413 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4414 (gst_base_src_send_event), (gst_base_src_change_state):
4415 Handle element seek correctly when we are streaming.
4418 2006-03-24 Michael Smith <msmith@fluendo.com>
4420 * docs/faq/gst-uninstalled:
4421 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
4422 allow you to correctly run intalled applications built against old
4423 core, using plugins that require updated core (e.g. running
4424 installed totem against a full uninstalled gstreamer stack)
4426 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4428 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
4431 2006-03-24 Wim Taymans <wim@fluendo.com>
4433 * docs/gst/gstreamer-sections.txt:
4434 Rearrange the order of the methods so that related methods
4435 are grouped together in sections.
4437 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4440 Little clarification in the docs
4442 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4446 * plugins/elements/gstidentity.c:
4447 * plugins/elements/gstqueue.c:
4448 * plugins/elements/gsttee.c:
4449 * plugins/elements/gsttypefindelement.c:
4450 GST_ELEMENT_DETAILS formatting
4452 2006-03-24 Wim Taymans <wim@fluendo.com>
4454 * libs/gst/base/gstbasesink.h:
4455 Only add fields, not insert or we break ABI.
4457 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4459 * win32/common/libgstbase.def:
4460 * win32/common/libgstreamer.def:
4461 Update, add recently added functions.
4463 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4465 * docs/gst/gstreamer-sections.txt:
4466 * gst/gstutils.c: (gst_pad_query_peer_position),
4467 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
4469 API: add some new utility functions:
4470 - gst_pad_query_peer_position()
4471 - gst_pad_query_peer_duration()
4472 - gst_pad_query_peer_convert()
4474 2006-03-23 Wim Taymans <wim@fluendo.com>
4476 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4477 (gst_base_sink_init), (gst_base_sink_finalize),
4478 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
4479 (gst_base_sink_set_property), (gst_base_sink_get_property),
4480 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
4481 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4482 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
4483 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4484 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4485 (gst_base_sink_preroll_object), (gst_base_sink_event),
4486 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
4487 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4488 (gst_base_sink_query), (gst_base_sink_change_state):
4489 Decouple max-lateness and the fact that QoS messages are generated
4490 with a new property (qos).
4491 added API: GstBaseSink::async_play()
4492 Add vmethod so subclasses can be notified of ASYNC playing
4494 Collect timestamp start and stop to report better current
4495 position in EOS/PLAYING/PAUSED/READY/NULL.
4496 Refactor QoS/frame dropping and other measurements.
4497 API: GstBaseSrc::qos
4500 * libs/gst/base/gstbasesink.h:
4501 Added Private struct.
4502 API: gst_base_sink_set_qos_enabled()
4503 API: gst_base_sink_is_qos_enabled()
4505 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4507 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
4508 If compiling against GLib-2.8 or newer, try to read the
4509 registry file using GMappedFile first before falling back
4510 to fopen() + fread() (#332151).
4512 2006-03-22 Wim Taymans <wim@fluendo.com>
4514 * gst/gstinfo.c: (gst_debug_set_active),
4515 (gst_debug_category_set_threshold):
4516 Disable debugging unless explicitly activated.
4519 2006-03-22 Wim Taymans <wim@fluendo.com>
4521 * gst/gstelement.c: (gst_element_set_locked_state),
4522 (gst_element_dispose):
4523 Cleanup the error case.
4525 * gst/gstobject.c: (gst_object_dispose):
4526 print a critical when some object was disposed with
4527 a parent, also revive the object since it might
4530 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
4532 * tools/gst-launch.1.in:
4535 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
4538 * tests/check/Makefile.am:
4539 disable some tests when we don't have a registry
4540 * tests/check/gst/gstutils.c: (gst_utils_suite):
4541 don't build the part that needs parsing
4543 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
4546 * tests/examples/Makefile.am:
4547 fix --disable-parse build
4549 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4551 * tools/gst-feedback.1.in:
4552 Fix typo: s/feeback/feedback/ (#133494).
4554 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4556 * tools/Makefile.am:
4557 * tools/gst-launch.1.in:
4558 Add FILES section and correct entry about GST_REGISTRY_PATH
4559 environment variable (#133495; #133494).
4561 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4563 * tools/Makefile.am:
4564 * tools/gst-md5sum.1.in:
4565 * tools/gst-md5sum.c:
4566 Remove gst-md5sum and man page (the md5sink element
4567 required was removed ages ago)
4569 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4571 * gst/gststructure.c: (gst_structure_id_set_value):
4572 Make sure that string fields in structures/taglists
4573 contain valid UTF-8 - we don't want to pass rubbish to
4574 applications because of a buggy plugin (cp. #334167).
4576 2006-03-21 Edward Hervey <edward@fluendo.com>
4578 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
4579 (gst_bin_handle_message_func):
4580 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
4581 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
4582 (gst_element_set_bus_func):
4583 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
4584 * gst/gstminiobject.c: (gst_value_set_mini_object),
4585 (gst_value_take_mini_object):
4586 * gst/gstpad.c: (gst_pad_set_pad_template):
4587 * gst/gstpipeline.c: (gst_pipeline_dispose),
4588 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4589 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
4590 (gst_collect_pads_chain):
4591 * libs/gst/net/gstnettimeprovider.c:
4592 (gst_net_time_provider_set_property):
4593 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
4594 It's in fact all issues with gst_*object_replace().
4596 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4598 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
4600 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4601 * pkgconfig/gstreamer-check.pc.in:
4602 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
4604 2006-03-21 Edward Hervey <edward@fluendo.com>
4609 gst_[buffer|event|message]_ref() macros are replaced by a static
4610 inline functions because gcc-4.1 will about if the return value
4612 * tests/check/gst/gstevent.c: (event_probe):
4613 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
4615 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
4618 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
4619 the type' case. (Closes: #335195 for now). In the future, when we
4620 depend on GLib 2.10, we could also intern the type name using
4621 g_intern_static_string()
4623 2006-03-20 Wim Taymans <wim@fluendo.com>
4625 * gst/gstbin.c: (gst_bin_handle_message_func),
4626 (bin_query_max_init), (bin_query_position_fold),
4627 (bin_query_position_done), (gst_bin_query):
4628 Position query should also take max of all streams.
4630 2006-03-20 Wim Taymans <wim@fluendo.com>
4632 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4633 (gst_fake_src_finalize):
4634 Fix leaks in fakesrc.
4636 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4637 Fix leaks in the testcase.
4639 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
4641 * gst/gst_private.h:
4642 add win32 specific import decoration(__declspec(dllimport))
4643 for all extern GstDebugCategory * variables
4644 * win32/common/libgstbase.def:
4645 * win32/common/libgstcontroller.def:
4646 * win32/common/libgstreamer.def:
4647 Add some exports, remove empty lines
4648 * win32/common/libgstdataprotocol.def:
4649 * win32/common/libgstdataprotocol.dsp:
4650 * win32/common/libgstnet.def:
4651 * win32/common/libgstnet.dsp:
4652 new project files and exportation files added
4654 2006-03-19 Wim Taymans <wim@fluendo.com>
4656 * tests/check/libs/basesrc.c: (eos_event_counter):
4657 Use proper return value for probe.
4659 2006-03-17 Wim Taymans <wim@fluendo.com>
4661 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4663 Don't leak buffers, caps and pads on negotiation errors.
4665 2006-03-16 Stefan Kost <ensonic@users.sf.net>
4668 * docs/faq/dependencies.xml:
4669 * docs/faq/developing.xml:
4671 * docs/faq/general.xml:
4672 * docs/faq/getting.xml:
4673 * docs/faq/legal.xml:
4674 * docs/faq/troubleshooting.xml:
4675 * docs/faq/using.xml:
4676 Faq review and update.
4678 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
4680 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4682 Don't pound the cpu to pieces by checking get_caps when accept_caps
4683 is called with the same caps as the pad already has.
4684 Use GST_DEBUG_OBJECT when outputting caps change information.
4686 2006-03-15 Wim Taymans <wim@fluendo.com>
4688 * gst/gstclock.c: (gst_clock_class_init):
4691 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
4696 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
4697 (gst_pad_accept_caps), (gst_pad_configure_sink),
4698 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
4699 Make the default acceptcaps behaviour be to check the requested
4700 caps against the gst_pad_get_caps output.
4702 Ensure that gst_pad_accept_caps is used to check caps when a pad
4703 doesn't have a setcaps function, so that pads automatically refuse
4704 caps that they don't allow in their pad template. (Fixes #332986)
4706 When a buffer with attached caps is pushed, ensure that the source
4707 pad receives those caps even if the element didn't call
4708 gst_pad_set_caps first.
4710 2006-03-15 Wim Taymans <wim@fluendo.com>
4712 * libs/gst/base/gstadapter.c:
4715 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
4717 * win32/common/libgstbase.def:
4718 * win32/common/libgstcontroller.def:
4719 * win32/common/libgstreamer.def:
4720 Add a whole bunch of missing functions (#334434).
4722 2006-03-14 Wim Taymans <wim@fluendo.com>
4724 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4725 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4726 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4727 Better debug info when we receive a segment event.
4728 Reorganize a bit so we can pass the get_times() results around.
4729 Use the segment format when calculating the running time.
4730 Don't do QoS is sync is disabled or we have no clock or the
4731 element does not want us to sync to the clock.
4732 Don't drop buffers if QoS is disabled for now.
4734 2006-03-14 Wim Taymans <wim@fluendo.com>
4736 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4737 Marked the stats property as unimplemented so people don't get
4739 Add debug message when regression goes wrong.
4740 Added some more docs.
4742 2006-03-14 Wim Taymans <wim@fluendo.com>
4744 * gst/gstsegment.c: (gst_segment_to_stream_time):
4745 Return correct return type in case of errors.
4747 2006-03-14 Wim Taymans <wim@fluendo.com>
4749 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4750 Don't segfault on invalid formats.
4752 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4754 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4755 Can't use gst_segment_to_running_time() when the segment
4756 is not in GST_TIME_FORMAT (like with filesink, for example).
4757 Stops flac encoding pipelines from spewing critical warnings
4760 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4762 * gst/gstpipeline.c: (gst_pipeline_class_init):
4763 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4765 * plugins/elements/gsttypefindelement.c:
4766 (gst_type_find_element_handle_event):
4767 Don't try to typefind empty streams.
4769 2006-03-14 Wim Taymans <wim@fluendo.com>
4771 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4772 (gst_base_sink_do_qos):
4773 Separate QoS calculation.
4774 Only drop buffers when lateness is bigger than the
4775 duration of the buffer.
4777 2006-03-13 Wim Taymans <wim@fluendo.com>
4779 * gst/gstpipeline.c: (gst_pipeline_set_property),
4780 (gst_pipeline_get_property), (do_pipeline_seek),
4781 (gst_pipeline_change_state), (gst_pipeline_set_delay),
4782 (gst_pipeline_get_delay):
4783 Don't deadlock when reading properties.
4785 2006-03-13 Wim Taymans <wim@fluendo.com>
4787 * libs/gst/base/gstbasetransform.c:
4788 (gst_base_transform_class_init), (gst_base_transform_init),
4789 (gst_base_transform_sink_event),
4790 (gst_base_transform_sink_eventfunc),
4791 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4792 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4793 (gst_base_transform_set_property),
4794 (gst_base_transform_get_property),
4795 (gst_base_transform_change_state), (gst_base_transform_update_qos),
4796 (gst_base_transform_set_qos_enabled),
4797 (gst_base_transform_is_qos_enabled):
4798 * libs/gst/base/gstbasetransform.h:
4799 Make basetransform virtual method for src events too.
4800 Handle QOS in basetransform.
4801 API: gst_base_transform_update_qos()
4802 API: gst_base_transform_set_qos_enabled()
4803 API: gst_base_transform_is_qos_enabled()
4805 2006-03-13 Wim Taymans <wim@fluendo.com>
4807 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4808 (gst_base_sink_do_sync):
4810 Use QOS debug category.
4812 2006-03-13 Wim Taymans <wim@fluendo.com>
4814 * plugins/elements/gstqueue.c:
4815 Very small doc update.
4817 2006-03-13 Wim Taymans <wim@fluendo.com>
4819 * gst/gst_private.h:
4820 * gst/gstinfo.c: (_gst_debug_init):
4821 Added QOS debug category
4823 2006-03-13 Wim Taymans <wim@fluendo.com>
4825 * docs/gst/gstreamer-sections.txt:
4826 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
4828 * gst/gstbus.c: (gst_bus_class_init):
4831 * gst/gstelement.c: (gst_element_set_locked_state):
4833 Documentation updates.
4835 * gst/gstpipeline.c: (gst_pipeline_get_type),
4836 (gst_pipeline_class_init), (gst_pipeline_init),
4837 (gst_pipeline_dispose), (gst_pipeline_set_property),
4838 (gst_pipeline_get_property), (do_pipeline_seek),
4839 (gst_pipeline_send_event), (gst_pipeline_change_state),
4840 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
4841 (gst_pipeline_get_delay):
4842 * gst/gstpipeline.h:
4843 Added methods for setting the delay.
4844 API: gst_pipeline_set_delay()
4845 API: gst_pipeline_get_delay()
4846 Add pipeline debug category
4849 Don't reset stream time when seek failed.
4851 2006-03-13 Wim Taymans <wim@fluendo.com>
4853 * docs/design/draft-klass.txt:
4854 * docs/design/part-clocks.txt:
4855 * docs/design/part-events.txt:
4856 * docs/design/part-gstbin.txt:
4857 * docs/design/part-gstpipeline.txt:
4858 * docs/design/part-messages.txt:
4859 * docs/design/part-negotiation.txt:
4860 * docs/design/part-overview.txt:
4861 * docs/design/part-preroll.txt:
4862 * docs/design/part-seeking.txt:
4863 * docs/design/part-states.txt:
4864 * docs/design/part-streams.txt:
4865 Documentation updates.
4867 2006-03-12 Julien MOUTTE <julien@moutte.net>
4869 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
4870 us to leak strings...
4872 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
4874 * libs/gst/net/gstnettimeprovider.c:
4876 * win32/common/config.h:
4879 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
4881 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
4884 Don't check for libgnomeui (leftover from old examples
4885 that aren't built or disted any longer) (#334303).
4887 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
4889 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4890 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4891 Emit RESOURCE_NO_SPACE_LEFT error here as well when
4892 there's no space left on the device.
4894 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
4897 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
4898 to cast the input to GstClockTime before comparing with
4899 another GstClockTime value.
4901 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
4906 === release 0.10.4 ===
4908 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
4911 releasing 0.10.4, "Light"
4913 2006-03-10 Michael Smith <msmith@fluendo.com>
4915 * libs/gst/dataprotocol/dataprotocol.c:
4916 Fix docs for dataprocotol to not get the return types completely
4917 wrong for a few functions.
4919 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4921 * docs/gst/gstreamer-sections.txt:
4922 * gst/gstpipeline.c: (gst_pipeline_class_init),
4923 (gst_pipeline_init), (gst_pipeline_set_property),
4924 (gst_pipeline_get_property), (gst_pipeline_change_state),
4925 (gst_pipeline_set_auto_flush_bus),
4926 (gst_pipeline_get_auto_flush_bus):
4927 * gst/gstpipeline.h:
4928 Add new API: gst_pipeline_set_auto_flush_bus() and
4929 gst_pipeline_get_auto_flush_bus() to disable automatic
4930 flushing of the pipeline's GstBus when going from READY
4931 to NULL state (#332045).
4933 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4935 * docs/gst/gstreamer-sections.txt:
4936 * gst/gsturi.c: (gst_uri_has_protocol):
4938 Add new API: gst_uri_has_protocol() (#333779).
4940 2006-03-09 Wim Taymans <wim@fluendo.com>
4942 * gst/gstclock.c: (gst_clock_entry_new),
4943 (gst_clock_id_compare_func), (gst_clock_id_wait),
4944 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
4945 (gst_clock_init), (gst_clock_get_internal_time),
4946 (gst_clock_set_master), (do_linear_regression),
4947 (gst_clock_add_observation), (gst_clock_set_property):
4951 Fix a possible segfault when the window-size is made smaller.
4952 Calculate jitter before performing the clock wait. Ideally
4953 the clock implementation should calculate jitter but we need
4954 API breakage for that.
4956 * gst/gstsystemclock.c: (gst_system_clock_init):
4959 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4960 Remove leftover else
4962 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4963 (gst_systemclock_suite):
4964 Added check to test GST_CLOCK_DIFF.
4966 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4968 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
4969 (gst_type_find_helper_get_range):
4970 If we are provided with the size, we should implement
4971 GstTypeFind::get_length, so that typefind functions who
4972 want to can actually peek at the middle of a file.
4974 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
4976 * docs/manual/advanced-dataaccess.xml:
4977 Add some very very basic error checking.
4979 * docs/pwg/appendix-checklist.xml:
4980 Some updates to the list of things to check when writing an element.
4982 2006-03-08 Wim Taymans <wim@fluendo.com>
4984 * docs/design/part-element-transform.txt:
4985 Added some docs about the design of tranform elements.
4987 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4988 (gst_base_src_loop), (gst_base_src_change_state):
4989 Mark buffers with the DISCONT flag.
4991 2006-03-08 Michael Smith <msmith@fluendo.com>
4993 * gst/gstregistry.h:
4994 * gst/gstregistryxml.c: (gst_registry_save),
4995 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
4996 (gst_registry_xml_save_pad_template),
4997 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
4998 (gst_registry_xml_write_cache):
4999 Rewrite registry-saving to avoid race conditions and check for
5002 2006-03-08 Wim Taymans <wim@fluendo.com>
5004 * libs/gst/base/gstbasetransform.c:
5005 (gst_base_transform_transform_caps),
5006 (gst_base_transform_transform_size),
5007 (gst_base_transform_prepare_output_buffer),
5008 (gst_base_transform_get_unit_size),
5009 (gst_base_transform_buffer_alloc),
5010 (gst_base_transform_handle_buffer),
5011 (gst_base_transform_change_state):
5012 Cleanups, separate normal flow from errors, add sensible
5014 Don't try to renegotiate when allocating an output buffer.
5015 Also copy DISCONT buffer flag when copying a buffer.
5016 Reset the transform after we finish streaming, not during.
5018 2006-03-08 Wim Taymans <wim@fluendo.com>
5020 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
5021 Use last buffer timestamp in qos message.
5023 2006-03-07 Wim Taymans <wim@fluendo.com>
5025 Patch by: Christophe Fergeau
5027 * docs/pwg/advanced-tagging.xml:
5028 * docs/pwg/building-pads.xml:
5031 2006-03-07 Wim Taymans <wim@fluendo.com>
5033 * docs/libs/gstreamer-libs-sections.txt:
5034 Added basesink new methods.
5038 Docs updates. Flesh out the QoS docs.
5040 * libs/gst/base/gstadapter.c:
5041 Small doc clarification about ownership and flushing.
5043 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
5044 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5045 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
5046 (gst_base_sink_get_property), (gst_base_sink_do_sync):
5047 * libs/gst/base/gstbasesink.h:
5049 Added new methods to allow subclass to control max-lateness
5051 Generate very basic QoS events based on last sync observation.
5052 Updated docs, fix typo, added some QoS blurb.
5054 * libs/gst/base/gstbasesrc.c:
5055 Remove obsolete _get_state() calls from docs.
5057 2006-03-07 Wim Taymans <wim@fluendo.com>
5059 * docs/libs/gstreamer-libs-sections.txt:
5060 * libs/gst/base/gstbasetransform.h:
5061 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
5062 Fix docs for GstBaseSrc.
5064 2006-03-07 Wim Taymans <wim@fluendo.com>
5066 * docs/gst/gstreamer-sections.txt:
5069 * libs/gst/base/gstbasetransform.h:
5070 Small documentation fixes.
5072 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
5075 Document thread-unsafety of gst_value_register_foo_func()
5076 when used at the same time as gst_value_foo() (#322628).
5078 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
5080 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
5081 (gst_push_src_check_get_range):
5082 Push sources don't support pull mode by default.
5084 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
5086 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5087 (gst_base_src_init), (gst_base_src_pad_check_get_range),
5088 (gst_base_src_default_check_get_range):
5089 * libs/gst/base/gstbasesrc.h:
5090 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
5091 provide default implementation, and rename
5092 gst_base_src_check_get_range() to
5093 gst_base_src_pad_check_get_range() for clarity.
5095 2006-03-06 Wim Taymans <wim@fluendo.com>
5097 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
5098 Make property overridable.
5100 2006-03-06 Wim Taymans <wim@fluendo.com>
5102 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5103 (gst_base_sink_init), (gst_base_sink_set_property),
5104 (gst_base_sink_get_property), (gst_base_sink_do_sync):
5105 * libs/gst/base/gstbasesink.h:
5106 API addition: Make max-lateness a property.
5108 2006-03-06 Wim Taymans <wim@fluendo.com>
5110 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
5111 (gst_base_sink_do_sync), (gst_base_sink_render_object):
5112 Don't ever draw a frame that is >10ms late.
5114 2006-03-06 Michael Smith <msmith@fluendo.com>
5116 * gst/gstmessage.c: (_gst_message_copy):
5117 When copying a message, set the parent_refcount of the enclosed
5118 structure to point at the copy, not the original message.
5120 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
5122 Patch by: Christophe Fergeau
5125 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
5126 usable in c++ code (#333417)
5128 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
5131 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
5133 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
5135 * libs/gst/base/gstbasetransform.c:
5136 (gst_base_transform_transform_caps):
5137 Make sure caps are writable before passing them to
5140 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
5143 Fix some minor docs errors.
5145 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
5147 Patch by: Ross Burton <ross at burtonini dot com>
5149 * gst/gsterror.c: (_gst_resource_errors_init):
5151 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
5153 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
5156 Add a check and output a g_warning when GStreamer is built
5157 against GLib 2.6 but running against 2.8 or higher, and vice
5158 versa. (Closes: #323542)
5160 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
5162 * gst/parse/parse.l:
5163 Commit patch for parse_launch syntax from #331255. Removes
5164 support for quoted strings and mimetypes when writing filtered
5165 caps. See the bug report for more details - I'm pretty sure this
5166 obscure feature is not in use by _anyone_ anywhere.
5168 With this simple change, the size of the gstreamer.so here
5169 drops from 2193KB to 1565KB.
5171 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
5173 * plugins/elements/gsttypefindelement.h:
5174 * plugins/elements/gsttypefindelement.c:
5175 (gst_type_find_element_src_event), (start_typefinding),
5176 (stop_typefinding), (gst_type_find_element_handle_event),
5177 (gst_type_find_element_chain),
5178 (gst_type_find_element_chain_do_typefinding):
5179 Use gst_type_find_helper_for_buffer() for chain-based
5182 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
5184 * plugins/elements/gsttypefindelement.c:
5185 (gst_type_find_element_class_init),
5186 (gst_type_find_element_set_property),
5187 (gst_type_find_element_get_property):
5188 Deprecate "maximum" property (not only was it only taken into
5189 account for typefinding in push-mode anyway, it also was never
5190 actually possible to set it in the first place because the
5191 property was registered with the numeric property ID for the
5192 "minimum" property). Register "maximum" property correctly,
5193 for the sake of future copy'n'pasters. Remove some cruft
5194 from property get/set functions.
5196 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
5198 * plugins/elements/gsttypefindelement.c:
5199 (gst_type_find_element_activate):
5200 Use gst_type_find_helper_get_range() here, so we
5201 can honour the "minimum" property and also emit
5202 the signal with the correct probability of the found caps.
5204 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
5206 * docs/libs/gstreamer-libs-sections.txt:
5207 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5208 (helper_find_suggest), (gst_type_find_helper_get_range),
5209 (gst_type_find_helper):
5210 * libs/gst/base/gsttypefindhelper.h:
5211 New API: gst_type_find_helper_get_range() (#333042).
5213 2006-03-02 Michael Smith <msmith@fluendo.com>
5215 * gst/gstregistryxml.c: (load_feature):
5216 Asserting on a failure to read part of the registry is Not Cool.
5217 Just log a warning and return NULL (which is already handled)
5219 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
5221 * win32/common/libgstbase.def:
5222 added export of gst_type_find_helper_for_buffer
5223 * win32/common/libgstbase.def:
5224 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
5225 gst_ghost_pad_get_target
5227 2006-02-28 Wim Taymans <wim@fluendo.com>
5229 * docs/design/draft-klass.txt:
5231 Added Connector to mark elements that are only used to
5232 allow pipeline connections.
5233 Moved Debug to extra feature since most of them are
5234 functionally something else.
5236 2006-02-28 Wim Taymans <wim@fluendo.com>
5238 * docs/design/draft-klass.txt:
5239 Some updates and clarifications.
5241 2006-02-28 Wim Taymans <wim@fluendo.com>
5243 * docs/design/draft-klass.txt:
5244 Proposal for klass field values.
5246 * docs/design/part-streams.txt:
5247 Start of a doc describing stream anatomy.
5249 2006-02-28 Wim Taymans <wim@fluendo.com>
5251 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
5252 Help the compiler a bit with type registration.
5253 Use existing forward cod path instead of duplicating it when
5256 * gst/gstbus.c: (gst_bus_get_type):
5257 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
5258 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
5259 * gst/gstclock.c: (gst_clock_get_type):
5260 * gst/gstelement.c: (gst_element_get_type),
5261 * gst/gstelementfactory.c: (gst_element_factory_get_type):
5262 * gst/gstindexfactory.c: (gst_index_factory_get_type):
5263 * gst/gstminiobject.c: (gst_mini_object_get_type):
5264 * gst/gstpad.c: (gst_pad_get_type):
5265 * gst/gstsegment.c: (gst_segment_get_type):
5266 * gst/gststructure.c: (gst_structure_get_type):
5267 * gst/gstsystemclock.c: (gst_system_clock_get_type):
5268 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
5270 Help compiler with type registration.
5272 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5275 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5277 * plugins/elements/gsttypefindelement.c:
5278 (gst_type_find_element_handle_event):
5279 When we get an EOS event and have not found a type yet
5280 (most likely because we had not yet accumulated
5281 TYPE_FIND_MIN_SIZE of data yet), try to determine the
5282 type given the data we have so far. Fixes typefinding
5283 for very short streams again, most notably quicktime
5284 redirections as used on Apple's trailer site (#331701).
5286 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5288 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
5289 (gst_type_find_helper):
5290 Try typefinding factories with the highest rank first.
5292 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5294 * docs/libs/gstreamer-libs-docs.sgml:
5295 * docs/libs/gstreamer-libs-sections.txt:
5296 * libs/gst/base/gsttypefindhelper.c:
5297 Add section for typefind helper and add documentation
5298 for the old and the new function.
5300 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5302 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
5303 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
5304 (gst_type_find_helper_for_buffer):
5305 * libs/gst/base/gsttypefindhelper.h:
5306 New API: gst_type_find_helper_for_buffer() (#332723).
5308 2006-02-27 Michael Smith <msmith@fluendo.com>
5310 Patch by: Loïc Minier
5314 * docs/slides/Makefile.am:
5315 prevent CVS directories getting disted.
5317 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5319 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
5320 Use the REFCOUNTING category for caps refcounting.
5322 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
5324 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
5325 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
5327 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
5329 * plugins/elements/gsttypefindelement.c:
5330 (gst_type_find_element_activate):
5331 Use gst_pad_check_pull_range() before _activate_pull()
5332 to avoid unnecessary open/close (see #331690).
5334 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
5337 Docs enhancement: make it crystal clear what the
5338 gst_pad_add_*_probe() callbacks should look like.
5340 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
5342 * libs/gst/base/gstbasesrc.c:
5343 Document how applications can stop recording from
5344 live sources (see #330996).
5346 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5348 * tests/check/Makefile.am:
5349 * tests/check/libs/basesrc.c: (eos_event_counter),
5350 (basesrc_eos_events_pull), (basesrc_eos_events_push),
5351 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
5352 (gst_basesrc_suite), (main):
5353 ... and add some tests for the base source EOS stuff.
5355 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5357 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
5358 Test case originally showed the problem fixed below,
5359 but was then amended. Add checks back at the place
5360 where they used to be.
5362 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5364 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5365 (gst_base_src_init), (gst_base_src_loop),
5366 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5367 (gst_base_src_change_state):
5368 * libs/gst/base/gstbasesrc.h:
5369 Don't unconditionally send EOS when going from PAUSED to
5370 READY state, esp. make sure we don't send two EOS events
5371 in some cases (e.g. one when reaching EOS and one when
5372 going from PAUSED to READY). Also, we don't want to send
5373 EOS events when operating in pull mode. However, we do
5374 want to send an EOS event when shutting down a live
5375 source explicitly, for example (fixes #330996).
5377 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5379 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5380 Update src->read_position after a seek when not using mmap.
5381 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
5383 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
5389 Make things work with --disable-parse as they do with
5390 --disable-load-save - the symbols involved disappear, but the
5391 header is still installed and GST_DISABLE_PARSE is included via
5394 2006-02-20 Julien MOUTTE <julien@moutte.net>
5396 * libs/gst/base/gstbasetransform.c:
5397 (gst_base_transform_change_state): Fix a stupid bug. I was
5398 sure I compiled that.
5400 2006-02-20 Julien MOUTTE <julien@moutte.net>
5402 * gst/gstpad.c: (gst_pad_set_blocked_async):
5403 * gst/gstutils.c: (gst_pad_add_data_probe),
5404 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5405 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5406 (gst_pad_remove_buffer_probe): Make those function act on the
5407 ghostpad target when it's a ghostpad. (Closes #331727)
5409 2006-02-20 Julien MOUTTE <julien@moutte.net>
5411 * libs/gst/base/gstbasetransform.c:
5412 (gst_base_transform_change_state): Make basetransform reusable.
5415 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
5417 * docs/random/release:
5418 Move the current documentation of how to do a release to the top
5421 * gst/gstbin.c: (gst_bin_class_init),
5422 (gst_bin_handle_message_func):
5423 Allow multiple state-recalculation threads. (Closes #328873)
5425 2006-02-19 Julien MOUTTE <julien@moutte.net>
5427 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
5428 * gst/gstpad.c: (gst_pad_set_event_function),
5429 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5430 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
5431 2 strings. You can't use the STR_NULL macro on that.
5433 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
5435 * gst/gstpad.c: (gst_pad_set_event_function),
5436 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5437 (gst_pad_set_getcaps_function)
5438 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
5439 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
5440 So now, we can use --gst-debug-level=5 on Windows
5441 * win32/common/libgstcontroller.def:
5442 Added export of gst_controller_init
5443 * win32/vs6/libgstcontroller.dsp:
5444 Fixed Release post build configuration
5446 2006-02-17 Wim Taymans <wim@fluendo.com>
5448 * tests/check/gst/gstquery.c: (GST_START_TEST):
5449 Added another check.
5451 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
5453 * plugins/elements/gsttypefindelement.c: (find_peek):
5454 We can do peeks at non-zero offsets, as long as they
5455 fall within the buffer we have.
5457 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
5459 * tests/check/Makefile.am:
5460 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
5461 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
5462 (parse_suite), (main):
5463 Add testsuite for parse launch syntax
5465 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
5467 * plugins/elements/gsttypefindelement.c:
5468 (gst_type_find_element_chain):
5469 When typefinding is unsuccessful in the chain function, don't
5470 error out immediately. Only error out with NO_CAPS_FOUND if
5471 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
5472 otherwise simply wait for more data so we can try typefinding
5473 again with more data later. Also, don't attempt to typefind
5474 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
5475 this should improve typefinding from network sources where the
5476 size of the first buffer can be somewhat random.
5478 2006-02-14 Wim Taymans <wim@fluendo.com>
5480 * docs/gst/gstreamer-sections.txt:
5481 * gst/gstpadtemplate.c:
5482 * gst/gstpadtemplate.h:
5483 Fix padtemplate docs, fixes #328805.
5485 2006-02-14 Wim Taymans <wim@fluendo.com>
5487 * tools/gst-launch.c: (main):
5488 NO_PREROLL is not an ERROR so don't send confusing messages
5491 2006-02-14 Wim Taymans <wim@fluendo.com>
5493 Patch by: Torsten Schoenfeld
5495 * gst/gstregistry.c: (gst_registry_get_default),
5496 (_gst_registry_cleanup):
5497 Protect default registry with lock and ref/sink it.
5500 2006-02-14 Wim Taymans <wim@fluendo.com>
5503 * gst/gstquery.c: (gst_query_list_add_format),
5504 (gst_query_set_formatsv), (gst_query_parse_formats_length),
5505 (gst_query_parse_formats_nth):
5506 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5509 2006-02-14 Wim Taymans <wim@fluendo.com>
5511 * docs/gst/gstreamer-sections.txt:
5512 Reworked query docs.
5514 * gst/gstquery.c: (gst_query_new_formats),
5515 (gst_query_list_add_format), (gst_query_set_formats),
5516 (gst_query_set_formatsv), (gst_query_parse_formats_length),
5517 (gst_query_parse_formats_nth):
5519 Flesh out formats query, added some new methods.
5520 Fix part of #324398.
5522 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
5523 Added query creation tests.
5525 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
5527 * gst/gstpad.c: (fixate_value):
5528 Add a default fixation for fraction lists.
5530 2006-02-13 Wim Taymans <wim@fluendo.com>
5532 * gst/gsttask.c: (gst_task_init), (gst_task_func),
5533 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
5536 Detect and warn for obvious deadlocks. fixes #320340
5537 Fix error case where lock was not released.
5539 * tests/check/Makefile.am:
5540 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
5541 (task_func), (gst_element_suite), (main):
5544 2006-02-13 Wim Taymans <wim@fluendo.com>
5546 * docs/gst/gstreamer-sections.txt:
5548 Add new functions to docs.
5550 2006-02-13 Wim Taymans <wim@fluendo.com>
5552 * docs/design/part-TODO.txt:
5553 Updated TODO list, basesrc supports seeking to non-bytes
5556 * docs/design/part-element-sink.txt:
5559 * gst/gstbin.c: (bin_replace_message),
5560 (gst_bin_handle_message_func):
5561 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
5562 * gst/gstevent.c: (gst_event_finalize):
5563 * gst/gstpad.c: (gst_pad_event_default_dispatch),
5564 (gst_pad_send_event):
5565 Use shiny new _TYPE_NAME macros.
5567 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5568 Move debug statement up.
5570 * gst/gstelement.c: (gst_element_set_locked_state):
5573 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
5575 * docs/gst/gstreamer-sections.txt:
5578 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
5579 macros (#330906). Also, document the already existing
5580 GST_QUERY_TYPE macro.
5582 2006-02-13 Wim Taymans <wim@fluendo.com>
5584 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
5585 (event_probe), (GST_START_TEST):
5586 Only events up to the pipeline EOS are counted, there are
5587 some more when going to NULL currently which we don't care
5590 2006-02-13 Wim Taymans <wim@fluendo.com>
5592 * gst/gstpad.c: (gst_pad_send_event):
5593 Correctly check flushing and emit probes. fixes #330125
5595 2006-02-10 Andy Wingo <wingo@pobox.com>
5597 * gst/gstbus.c (gst_bus_class_init): Declare our private data
5599 (gst_bus_init): Cache the location of the private data in the
5601 (gst_bus_enable_sync_message_emission)
5602 (gst_bus_disable_sync_message_emission): Implement new public
5604 (gst_bus_post): Emit the sync-message signal if the user asked for
5607 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
5608 location of the bus-private structure.
5609 (gst_bus_enable_sync_message_emission)
5610 (gst_bus_disable_sync_message_emission): API addition
5612 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
5614 Patch by: Vincent Torri
5616 * docs/pwg/building-boiler.xml:
5617 PWG patch from #326800
5619 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
5623 * docs/design/Makefile.am:
5626 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5631 === release 0.10.3 ===
5633 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5636 releasing 0.10.3, "Like a virgin"
5638 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5641 2nd prerelease of 0.10.3
5642 Bump libtool versioning.
5644 2006-02-07 Andy Wingo <wingo@pobox.com>
5646 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
5647 update last_stop if we're in TIME format and the timestamp is
5650 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
5651 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
5652 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
5653 If we get a new newsegment with a different format, adapt
5656 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
5657 of 0. Not a problem, really.
5659 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
5662 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
5667 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
5670 project files updated to the default vs7 configuration
5671 * win32/common/libgstbase.def:
5672 * win32/common/libgstreamer.def:
5674 removed empty lines,
5675 sorted all exported symbols alphabetically
5676 * win32/common/dirent.c:
5677 * win32/common/dirent.h:
5678 * win32/common/gchar.h:
5679 use windows line end.
5681 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
5683 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5684 Send EOS event when stopping.
5686 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
5689 Tell folks what to do if the plugin-foobar.xml file
5690 hasn't been generated for a newly-added plugin.
5692 2006-02-05 Julien MOUTTE <julien@moutte.net>
5694 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5695 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5696 (gst_collect_pads_start), (gst_collect_pads_stop),
5697 (gst_collect_pads_event): Collectpads now holds a reference
5698 to the GstPad that was added. Indeed we don't want to look
5699 at pads that might just go away with no warning...
5701 2006-02-05 Julien MOUTTE <julien@moutte.net>
5703 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5704 (gst_collect_pads_start), (gst_collect_pads_stop),
5705 (gst_collect_pads_event), (gst_collect_pads_chain):
5706 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
5707 Mark Nauwelaerts's patch on bug #328491.
5709 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5711 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
5713 Add some simple tests for gst_parse_bin_from_description() and
5714 gst_bin_find_unconnected_pad() (#329069).
5716 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5718 * tools/gst-launch.c: (event_loop), (main):
5719 Catch errors during preroll (#320084).
5721 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
5723 * plugins/elements/gsttypefindelement.c:
5724 (gst_type_find_element_activate):
5725 Post TYPE_NOT_FOUND error message when typefinding
5726 is unsuccessful in the activate function as well.
5728 2006-02-02 Wim Taymans <wim@fluendo.com>
5730 * docs/design/part-element-sink.txt:
5733 2006-02-02 Wim Taymans <wim@fluendo.com>
5735 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5736 (gst_base_sink_render_object),
5737 (gst_base_sink_queue_object_unlocked):
5738 Only keep track of prerollable items when we are
5740 Before rendering after preroll, always check if we
5742 Added some more debugging.
5744 2006-02-02 Wim Taymans <wim@fluendo.com>
5746 * gst/gstelement.c: (gst_element_continue_state),
5747 (gst_element_set_state_func), (gst_element_change_state):
5748 Fixed #326576, been running this for quite some time with
5749 no regressions at all.
5751 2006-02-02 Wim Taymans <wim@fluendo.com>
5754 Added more suppressions
5756 2006-02-02 Wim Taymans <wim@fluendo.com>
5758 * docs/design/part-element-sink.txt:
5761 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5762 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5763 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5764 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5765 (gst_base_sink_do_sync), (gst_base_sink_render_object),
5766 (gst_base_sink_preroll_object),
5767 (gst_base_sink_queue_object_unlocked),
5768 (gst_base_sink_queue_object), (gst_base_sink_event),
5769 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5770 (gst_base_sink_loop), (gst_base_sink_activate_pull),
5771 (gst_base_sink_get_position), (gst_base_sink_change_state):
5772 * libs/gst/base/gstbasesink.h:
5773 Totally refactored matching the design doc.
5774 Use two segments, one to clip incomming buffers and another to
5776 Handle queueing correctly, bypass the queue when playing.
5777 Make EOS cancelable.
5778 Handle errors correctly when operating in pull based mode.
5780 * tests/check/elements/fakesink.c: (GST_START_TEST),
5782 Added new check for sinks.
5784 2006-02-02 Wim Taymans <wim@fluendo.com>
5786 * gst/gstsegment.c: (gst_segment_clip):
5787 No reason to refuse to clip when start == -1
5789 2006-02-02 Stefan Kost <ensonic@users.sf.net>
5792 * docs/manual/intro-basics.xml:
5793 * docs/manual/intro-preface.xml:
5794 * docs/manual/manual.xml:
5795 * docs/pwg/advanced-dparams.xml:
5796 * docs/pwg/intro-basics.xml:
5797 * docs/pwg/intro-preface.xml:
5799 describe dparams (controller) for plugins
5800 unify docs a little more
5802 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
5804 * docs/gst/gstreamer-sections.txt:
5805 * gst/gstutils.c: (element_find_unconnected_pad),
5806 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5808 Add new API: gst_parse_bin_from_description() and
5809 gst_bin_find_unconnected_pad() (#329069).
5811 2006-02-01 Stefan Kost <ensonic@users.sf.net>
5813 * docs/manual/README:
5814 uncover a nasty detail of the docs build
5816 2006-01-31 Wim Taymans <wim@fluendo.com>
5818 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5819 Don't cache duration messages if we're not going to use or
5822 2006-01-31 Stefan Kost <ensonic@users.sf.net>
5824 * docs/manual/advanced-dparams.xml:
5825 * docs/pwg/advanced-dparams.xml:
5829 * libs/gst/controller/lib.c: (gst_controller_init):
5832 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
5834 * gst/gstelement.c: (gst_element_message_full):
5835 also show file/line/func if no additional debug was given
5837 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
5839 * win32/vs7/grammar.vcproj:
5840 activate copy of autogenerated files for Release mode
5842 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
5844 * win32/common/libgstreamer.def:
5845 export gst_value_compare
5847 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
5849 * plugins/elements/Makefile.am:
5850 * plugins/elements/gstelements.c:
5851 * plugins/elements/gstfdsink.c: (_do_init),
5852 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
5853 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
5854 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
5855 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
5856 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
5857 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
5858 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
5859 * plugins/elements/gstfdsink.h:
5860 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
5862 2006-01-30 Stefan Kost <ensonic@users.sf.net>
5864 * docs/manual/advanced-dparams.xml:
5866 * docs/manual/advanced-position.xml:
5867 * docs/manual/basics-init.xml:
5868 * docs/manual/manual.xml:
5869 * docs/manual/titlepage.xml:
5871 * docs/pwg/titlepage.xml:
5872 cleanup xml (more to come)
5873 * libs/gst/controller/gstcontroller.c:
5876 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
5878 * win32/vs6/grammar.dsp:
5879 add autogen of gstmarshal.c,h for Release mode
5881 2006-01-30 Wim Taymans <wim@fluendo.com>
5883 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5884 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
5885 (gst_base_sink_handle_object), (gst_base_sink_event),
5886 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
5887 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5888 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
5889 (gst_base_sink_deactivate), (gst_base_sink_activate),
5890 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5891 (gst_base_sink_query), (gst_base_sink_change_state):
5892 Basesink cleanups, remove some old code.
5893 Handle the case where a subclass can preroll in the render
5894 method (mostly audiosinks).
5896 Remove some locks around variables that are now protected
5897 with the PREROLL_LOCK (clock_id, flushing, ..).
5898 Optimize position query some more, do correct locking.
5899 Remove old code to push queue in state change, this is not
5900 needed anymore since preroll blocks on all prerollable items
5902 Almost implemented as described in design doc.
5904 2006-01-30 Wim Taymans <wim@fluendo.com>
5906 * tests/check/gst/gstbin.c: (GST_START_TEST):
5907 Wait for refcount to settle down before checking.
5909 2006-01-30 Wim Taymans <wim@fluendo.com>
5911 * docs/design/part-element-sink.txt:
5912 Pseudo code overview of desired sink behaviour regarding
5915 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5916 * win32/vs6/grammar.dsp:
5917 fix some bugs in Release mode for autogenerated files
5919 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5920 * win32/common/libgstbase.def:
5921 * win32/common/libgstreamer.def:
5922 export some new symbols: gst_base_src_set_format,
5923 gst_iterator_next, gst_structure_set_valist
5925 2006-01-29 Julien MOUTTE <julien@moutte.net>
5927 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5928 Set pad functions unconditionally. Fixes #329105.
5930 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5932 add vs8 project files created by Sergey Scobich
5934 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
5936 * gst/gstutils.c: (gst_element_unlink_pads):
5937 Don't leak pad references.
5939 * tests/check/elements/fakesink.c: (GST_START_TEST):
5940 * tests/check/generic/sinks.c: (GST_START_TEST):
5941 * tests/check/generic/states.c: (GST_START_TEST):
5942 * tests/check/gst/gstbin.c: (GST_START_TEST):
5943 * tests/check/gst/gstcaps.c: (GST_START_TEST):
5944 * tests/check/gst/gstelement.c: (GST_START_TEST):
5945 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5946 * tests/check/gst/gstiterator.c: (GST_START_TEST):
5947 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5948 Fix a bunch of leaks. Make generic/sinks.c
5949 use a bit less cpu by slowing the buffer rate
5950 between fakesrc and fakesink.
5952 2006-01-27 Stefan Kost <ensonic@users.sf.net>
5954 * gst/gstelement.c: (gst_element_send_event):
5957 * gst/gstiterator.c:
5958 * gst/gstiterator.h:
5959 * gst/gstpad.c: (gst_pad_send_event):
5960 * gst/gststructure.c:
5964 * libs/gst/base/gstadapter.c:
5965 doc fixes, to link to function, just write gst_cool_function(), don't
5968 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5970 * plugins/elements/gsttee.c: (gst_tee_do_push),
5971 (gst_tee_handle_buffer):
5972 Always prefer an actual return value from a src
5973 pad in place of NOT_LINKED. This means we return
5974 WRONG_STATE when all src pads are WRONG_STATE
5975 instead of NOT_LINKED.
5977 Lock when replacing the last message to prevent
5978 racing with the get_property method.
5982 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5984 * tests/check/Makefile.am:
5985 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
5987 Add a very simple check that should have caught the memleak I fixed
5988 last night (if not for the slice allocator hiding it)
5990 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5992 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
5993 (gst_bin_remove_func), (gst_bin_handle_message_func),
5994 (bin_query_duration_fold), (bin_query_generic_fold):
5995 Clean up references to the clock provider when disposed or when
5996 handling a clock-lost message from it.
5998 Unref sinks when performing a query via gst_iterator_fold, as the
5999 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
6001 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
6002 (gst_clock_set_master):
6003 Drop our reference to the master clock, if any, when we are disposed.
6005 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
6006 Chain up in dispose.
6008 2006-01-26 Wim Taymans <wim@fluendo.com>
6010 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
6013 2006-01-26 Julien MOUTTE <julien@moutte.net>
6015 * plugins/elements/gsttee.c: (gst_tee_do_push),
6016 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
6017 handles pad being NOT_LINKED or in WRONG_STATE.
6019 2006-01-26 Stefan Kost <ensonic@users.sf.net>
6024 2006-01-26 Stefan Kost <ensonic@users.sf.net>
6027 remove obsolete entry
6029 2006-01-26 Stefan Kost <ensonic@users.sf.net>
6031 * docs/gst/gstreamer-sections.txt:
6032 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
6033 (gst_bin_iterate_sources), (gst_bin_send_event):
6035 * gst/gstelement.c: (gst_element_send_event):
6037 * gst/gstpad.c: (gst_pad_send_event):
6038 added code for downstream events, reviewed docs in gstevent.c
6040 2006-01-25 Julien MOUTTE <julien@moutte.net>
6042 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6043 We only query position using the clock in the playing state.
6044 Query peer in the other cases.
6045 * win32/common/config.h: Updates.
6047 2006-01-24 Wim Taymans <wim@fluendo.com>
6049 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6050 A clock entry that is scheduled for the exact time of the
6051 clock is still in time.
6053 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6054 (gst_base_sink_do_sync):
6055 Add some more debug info.
6057 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
6060 Add new vs7 project files and solution.
6062 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
6065 all files removed as they were out-dated.
6067 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
6069 * docs/random/release:
6071 * gst/gstbin.c: (gst_bin_init):
6072 * gst/gstbus.c: (gst_bus_new):
6074 * gst/gstpipeline.c: (gst_pipeline_init):
6075 use gst_bus_new(), improve logging, fix docs
6076 * win32/common/config.h:
6077 update for cvs build
6079 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
6082 up required version of automake to 1.7
6084 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
6086 * win32/common/libgstreamer.def:
6087 export gst_buffer_is_metadata_writable
6089 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
6091 * docs/gst/gstreamer-sections.txt:
6093 Add gst_event_replace() (#327001)
6095 2006-01-20 Wim Taymans <wim@fluendo.com>
6097 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6098 Make it actually compile too..
6100 2006-01-20 Wim Taymans <wim@fluendo.com>
6103 Clarify behaviour of _is_equal() when passing NULL parameters.
6105 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6107 Cleanups. Don't unref NULL caps.
6108 When setting the same caps, protect caps of the pad with
6110 Use full functionality of _is_equal() when comparing caps.
6112 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
6114 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
6115 Don't loop infinitely if there are no buffers to present. Partially
6116 fixes #327197, but collectpads is just broken for reusing elements
6117 to do multiple encodes atm.
6119 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
6121 * tools/gst-inspect.c: (print_element_features):
6122 * tools/gst-xmlinspect.c: (main):
6123 URL_HANDLER is not a plugin feature we can search for in
6126 2006-01-19 Edward Hervey <edward@fluendo.com>
6128 * gst/gstelement.c: (gst_element_pads_activate):
6129 When activating, do src pads first, then sink pads.
6130 When de-activating, do sink pads first, then src pads.
6132 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6134 * docs/gst/gstreamer-sections.txt:
6135 Add gst_index_add_associationv to the docs
6137 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6142 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
6143 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
6144 Do some refactoring. Doesn't actually change functionality,
6145 but makes landing the DRAIN event easier later.
6147 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
6149 * docs/pwg/advanced-scheduling.xml:
6150 Update from 0.9.x to 0.10 API and make example a bit
6153 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6155 * docs/gst/gstreamer-sections.txt:
6156 Add gst_buffer_(is|make)_metadata_writable methods.
6158 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6160 * docs/design/part-sparsestreams.txt:
6161 Update sparse streams doc, hopefully for greater clarity
6163 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
6165 * docs/design/part-events.txt:
6166 Remove mention of FILLER events.
6169 * docs/design/part-sparsestreams.txt:
6170 Write some things about using NEWSEGMENT to keep sparse streams
6173 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
6175 * gst/gstbin.c: (gst_bin_dispose):
6176 Guard gst_object_unref call against a NULL object (dispose
6177 can theoretically be called multiple times).
6179 2006-01-18 Wim Taymans <wim@fluendo.com>
6181 * gst/gstbin.c: (gst_bin_element_set_state):
6182 * gst/gstclock.c: (gst_clock_id_wait):
6183 Added some more debug info.
6185 * libs/gst/base/gstadapter.c:
6188 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6189 (gst_base_sink_do_sync), (gst_base_sink_chain):
6190 Added some comments.
6192 2006-01-18 Wim Taymans <wim@fluendo.com>
6194 * tests/check/Makefile.am:
6195 * tests/check/elements/fakesink.c: (chain_async_buffer),
6196 (chain_async), (chain_async_return), (GST_START_TEST),
6197 (fakesink_suite), (main):
6198 Added fakesink test that checks prerolling and clipping
6201 * tests/check/gst/gstutils.c: (GST_START_TEST):
6202 Make check run faster so that buildbots don't timeout.
6204 2006-01-18 Wim Taymans <wim@fluendo.com>
6206 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6207 (gst_base_sink_do_sync):
6209 When the sink finishes blocking on the preroll buffer, it can
6210 immediatly render it instead of rendering when the next buffer
6213 2006-01-18 Wim Taymans <wim@fluendo.com>
6215 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
6216 (gst_base_sink_get_property), (gst_base_sink_do_sync),
6217 (gst_base_sink_chain):
6219 GST_ELEMENT_CLOCK and sync are protected with LOCK.
6220 Don't store _last_stop if the buffer is dropped.
6222 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
6224 * plugins/elements/gsttypefindelement.c:
6225 (gst_type_find_element_class_init):
6226 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
6227 object method handler that sets the caps on the pad and we want
6228 that to happen before we emit the signal (fixes e.g. feeding a
6229 plain text file to decodebin).
6231 2006-01-18 Christian Schaller <Christian@fluendo.com>
6233 * gst/gstplugin.c: Add MPL and Proprietary as license options
6235 2006-01-18 Andy Wingo <wingo@pobox.com>
6237 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
6238 symbol was exported before, it appears this was just an oversight.
6240 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
6242 * gst/gstindex.c (gst_index_add_associationv): Changed int in
6243 prototype to gint. OK since this prototype was not in the header.
6245 2006-01-17 Andy Wingo <wingo@pobox.com>
6247 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
6248 registry while we remove plugins.
6250 * tools/gst-inspect.c (print_element_info): Don't unref the
6251 factory arg, that should be the responsibility of whatever code
6252 received the ref. Fixes a double-free when called from
6253 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
6254 (main): Unref the factory if we have one.
6255 (print_element_list): No change -- relies on the
6256 plugin_feature_list_free to free the list of features.
6258 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
6260 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6261 (gst_buffer_make_metadata_writable):
6263 * libs/gst/base/gstbasetransform.c:
6264 (gst_base_transform_prepare_output_buf):
6265 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6266 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6267 Replace gst_buffer_(make|is)_metadata_writable patch now
6268 that the release is out.
6270 2006-01-17 Andy Wingo <wingo@pobox.com>
6272 * gst/gstregistry.c: Reflow design comment. Update so as to speak
6273 in the present tense without reference to versions.
6275 * gst/gstregistry.c (gst_registry_add_plugin)
6276 (gst_registry_remove_plugin, gst_registry_remove_feature)
6277 (gst_registry_find_feature, gst_registry_get_feature_list)
6278 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
6279 (gst_registry_lookup, gst_registry_scan_path)
6280 (_gst_registry_remove_cache_plugins)
6281 (gst_registry_get_feature_list_by_plugin): Add argument
6284 === release 0.10.2 ===
6286 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
6289 releasing 0.10.2, "If man is five"
6291 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
6295 * libs/gst/base/gstbasetransform.c:
6296 (gst_base_transform_prepare_output_buf):
6297 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6298 * tests/check/gst/gstbuffer.c: (gst_test_suite):
6299 Back out patch until after the release.
6301 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
6303 * gst/gstminiobject.c:
6304 Spelling fix in docs.
6305 * ChangeLog - remove conflict indicator
6307 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
6309 Reviewed By: Andy Wingo
6311 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6312 (gst_buffer_make_metadata_writable):
6314 Add gst_buffer_(is|make)_metadata_writable as analogues of
6315 gst_buffer_(is|make)_writable.
6317 * libs/gst/base/gstbasetransform.c:
6318 (gst_base_transform_prepare_output_buf):
6319 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6320 Use name gst_buffer_(is|make)_metadata_writable functions.
6322 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6323 Test gst_buffer_(is|make)_metadata_writable
6327 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
6329 * docs/manual/Makefile.am:
6330 don't do parallel make
6333 * win32/common/config.h.in:
6334 add generations for HOST_CPU and GST_MAJORMINOR
6335 * win32/common/config.h:
6336 commit generated result
6338 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
6340 * docs/manual/appendix-integration.xml:
6341 Update GNOME integration section to use gst_init_get_option_group()
6342 instead of the old popt stuff (#322911). Also, GNOME applications
6343 should now use gconf*sink and gconf*src instead of the old gconf
6346 2006-01-13 Stefan Kost <ensonic@users.sf.net>
6349 * docs/gst/gstreamer-docs.sgml:
6350 * docs/gst/gstreamer-sections.txt:
6351 * docs/libs/gstreamer-libs-sections.txt:
6352 add new API entries to the docs
6353 * libs/gst/controller/Makefile.am:
6354 * libs/gst/controller/gstcontroller.c:
6355 * libs/gst/controller/gstcontroller.h:
6356 * libs/gst/controller/gstcontrollerprivate.h:
6357 * libs/gst/controller/gsthelper.c:
6358 * libs/gst/controller/gstinterpolation.c:
6359 move private structs to private header
6361 gstreamer-0.7 -> gstreamer-0.10
6362 * tests/check/libs/struct_i386.h:
6363 remove private structs
6365 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
6367 * plugins/indexers/Makefile.am:
6368 Fixes as part of #317048
6370 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
6372 * plugins/indexers/Makefile.am:
6373 fix #316086 - compilation when mmap is missing
6375 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
6377 * libs/gst/base/gstbasesink.c:
6378 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
6379 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
6380 * win32/common/config.h:
6381 added some defines GST_MAJORMINOR and HOST_CPU
6382 * win32/common/libgstbase.def:
6383 * win32/common/libgstreamer.def:
6384 added some exported functions.
6386 2006-01-12 Stefan Kost <ensonic@users.sf.net>
6388 * libs/gst/controller/gstcontroller.c:
6389 (gst_controlled_property_set_interpolation_mode),
6390 (gst_controlled_property_new):
6391 * libs/gst/controller/gstcontroller.h:
6392 * libs/gst/controller/gstinterpolation.c:
6393 (interpolate_none_get_string_value_array):
6394 make G_TYPE_STRING controlable
6396 2006-01-12 Stefan Kost <ensonic@users.sf.net>
6399 * tools/gst-feedback.1.in:
6400 * tools/gst-inspect.1.in:
6401 * tools/gst-launch.1.in:
6402 * tools/gst-md5sum.1.in:
6403 * tools/gst-typefind.1.in:
6404 * tools/gst-xmlinspect.1.in:
6405 * tools/gst-xmllaunch.1.in:
6406 cleanup man-pages, remove reference to gst-register, document env-vars
6408 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
6410 * gst/gstbuffer.c: (gst_buffer_span):
6411 gst_buffer_span should copy the timestamp of the first buffer
6412 if they were both originally overlapping subbuffers of the
6413 same parent, using the same logic as the 'slow copy' case.
6415 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
6417 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
6418 Need to awaken ALL the pads when we pop a buffer, otherwise
6419 collectpads only works when there is 2 input streams.
6421 2006-01-11 Stefan Kost <ensonic@users.sf.net>
6423 * docs/random/ensonic/media-device-daemon.txt:
6426 fix doc example, add clarification
6427 * tools/gst-launch.1.in:
6428 add initial info about GST_PLUGIN_PATH, needs more work
6430 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
6432 * docs/manual/basics-bins.xml:
6433 * docs/manual/basics-elements.xml:
6434 * docs/manual/intro-basics.xml:
6435 Some more minor docs additions and updates.
6437 2006-01-11 Wim Taymans <wim@fluendo.com>
6439 * docs/manual/basics-bins.xml:
6440 * docs/manual/basics-elements.xml:
6441 Some small fixes as pointed out by Ser-ver on IRC.
6443 2006-01-10 Edward Hervey <edward@fluendo.com>
6445 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6446 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
6447 the single-segment mode.
6449 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
6451 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6453 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
6454 (gst_base_src_perform_seek), (gst_base_src_send_event),
6455 (gst_base_src_set_property), (gst_base_src_get_property),
6456 (gst_base_src_loop), (gst_base_src_start),
6457 (gst_base_src_activate_push):
6458 * libs/gst/base/gstbasesrc.h:
6459 Name (private) union; makes Sun's Forte compiler happy (#324900).
6461 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
6464 gst-register is gone.
6466 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
6468 * gst/gstvalue.c: (_gst_value_initialize):
6469 make the G_TYPE_DATE instantiation work if debug is disabled
6471 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
6473 * gst/gstmessage.c: (gst_message_parse_tag),
6474 (gst_message_parse_error), (gst_message_parse_warning):
6475 Don't crash when return location for error/warning debug
6476 string is NULL; add fact that return locations can be
6477 NULL to docs where appropriate.
6479 2006-01-05 Wim Taymans <wim@fluendo.com>
6481 * gst/gstplugin.c: (gst_plugin_load_file):
6482 Replace strdup by g_strdup.
6484 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
6486 * docs/pwg/advanced-types.xml:
6489 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
6491 submitted by: Abel Cheung
6495 Added Chinese (traditional) translation
6497 2006-01-04 Wim Taymans <wim@fluendo.com>
6499 * docs/manual/basics-pads.xml:
6500 * docs/plugins/Makefile.am:
6501 * docs/plugins/gstreamer-plugins-docs.sgml:
6502 * docs/plugins/gstreamer-plugins-sections.txt:
6503 * docs/pwg/advanced-clock.xml:
6504 * docs/pwg/advanced-scheduling.xml:
6505 * docs/pwg/advanced-types.xml:
6506 * plugins/elements/gstfdsink.c:
6507 * plugins/elements/gstfdsrc.c:
6508 * plugins/elements/gstfdsrc.h:
6509 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6510 * plugins/elements/gstidentity.h:
6511 * plugins/elements/gstqueue.h:
6512 * plugins/elements/gsttee.c:
6513 * plugins/elements/gsttee.h:
6514 * plugins/elements/gsttypefindelement.c:
6515 (gst_type_find_element_class_init):
6516 * plugins/elements/gsttypefindelement.h:
6517 Small updates to various docs.
6518 Added core plugins to docs.
6520 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6523 add a suppression for liboil's uninitialized variable
6525 2006-01-02 James Livingston <jrl at ids dot org dot au>
6527 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6530 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
6531 macro, so that gcc doesn't complain if the -Wmissing-prototypes
6532 compiler switch is being used (#325429).
6534 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
6536 * gst/gstbin.c: (gst_bin_query):
6537 Disable duration query caching in bins until it gets
6538 fixed (see #324807).
6540 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
6542 * tools/gst-inspect.c: (print_element_properties_info):
6543 Handle properties of POINTER and BOXED type.
6545 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
6547 * gst/gst.c: (init_post):
6548 Init tags stuff and some other things before loading
6549 any static plugins (there may be other static plugins
6550 than just the GStreamer ones, and they may want to
6551 register their own tags or formats or whatever, and
6552 preferably without segfaulting).
6554 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6555 Print at least a warning in the debug logs if we drop a
6556 query just because we don't know how to adjust the value
6557 in the particular format.
6559 2005-12-24 David Schleef <ds@schleef.org>
6561 * tools/gstreamer-completion:
6562 Replacement for gst-complete written in sh and sed. Only
6563 completes names of features, but that's 90% of what I want
6564 it for. Properties are not available in registry.xml. (Maybe
6567 === release 0.10.1 ===
6569 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
6572 releasing 0.10.1, "Nollaig chridheil"
6574 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
6577 Add missing quote, should be make ERROR_CFLAGS="".
6579 2005-12-20 Wim Taymans <wim@fluendo.com>
6581 * docs/design/part-trickmodes.txt:
6582 More documentation on trickmodes.
6584 2005-12-20 Edward Hervey <edward@fluendo.com>
6586 * gst/gstcaps.c: (gst_static_caps_get_type):
6588 API addition: GST_TYPE_STATIC_CAPS
6589 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
6590 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
6591 * gst/gstpadtemplate.h:
6592 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
6593 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
6596 2005-12-18 Wim Taymans <wim@fluendo.com>
6598 * libs/gst/base/gstadapter.c:
6599 * libs/gst/base/gstadapter.h:
6600 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6601 (gst_base_sink_get_position):
6602 * libs/gst/base/gstbasesink.h:
6603 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6604 (gst_base_src_default_query), (gst_base_src_default_do_seek),
6605 (gst_base_src_do_seek), (gst_base_src_perform_seek),
6606 (gst_base_src_send_event), (gst_base_src_update_length),
6607 (gst_base_src_get_range), (gst_base_src_loop),
6608 (gst_base_src_start):
6609 * libs/gst/base/gstbasesrc.h:
6610 * libs/gst/base/gstbasetransform.h:
6611 * libs/gst/base/gstcollectpads.h:
6612 * libs/gst/base/gstpushsrc.c:
6613 * libs/gst/base/gstpushsrc.h:
6614 * libs/gst/dataprotocol/dataprotocol.c:
6615 * libs/gst/dataprotocol/dataprotocol.h:
6616 * libs/gst/net/gstnetclientclock.h:
6617 * libs/gst/net/gstnettimeprovider.h:
6618 Documentation updates.
6620 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
6622 * docs/manual/basics-helloworld.xml:
6623 Remove superfluous closing bracket in helloworld example.
6625 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
6627 * tools/gst-launch.1.in:
6628 Update gst-launch man page; add a section with useful
6629 environment variables. Fixes #323882.
6631 2005-12-16 Stefan Kost <ensonic@users.sf.net>
6634 * gst/gst_private.h:
6635 change some char* into char[]
6637 2005-12-16 Wim Taymans <wim@fluendo.com>
6639 * gst/gstregistryxml.c: (load_feature):
6641 Don't use g_object_unref on GstObjects so that we avoid
6642 leaks on unsafe glibs.
6644 2005-12-16 Wim Taymans <wim@fluendo.com>
6646 * gst/gstbin.c: (gst_bin_recalc_state):
6649 2005-12-16 Wim Taymans <wim@fluendo.com>
6652 Added make forever target for check.
6654 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
6656 * gst/gst.c: (init_post):
6657 make the registry cache file HOST_CPU-dependent
6659 2005-12-16 Andy Wingo <wingo@pobox.com>
6661 * plugins/elements/gstbufferstore.c
6662 (gst_buffer_store_cleared_func): Pay attention to g_list_append
6665 * tests/check/gst/gstobject.c
6666 (test_fake_object_name_threaded_unique): Pay attention to
6667 g_list_sort return value.
6669 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
6671 * tools/gst-feedback-m.m:
6672 Update for 0.9/0.10 (fixes #323870).
6674 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
6676 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
6677 Fix lcopy for mini objects, the mini object needs to be ref'ed.
6679 * tests/check/gst/gstminiobject.c: (my_foo_init),
6680 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
6681 (test_value_collection), (gst_mini_object_suite):
6682 Add test to ensure refcounts end up as expected when passing
6683 GstMiniObjects through g_object_get() and g_object_set().
6685 2005-12-14 Julien MOUTTE <julien@moutte.net>
6687 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6688 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
6689 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
6690 of collectpads. This version removes a lot of races without
6691 touching API/ABI. Yay !
6693 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
6695 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
6696 Don't allow activation of a srcpad in pull_range if it has no
6698 Change some debug statements to be a little clearer
6700 * plugins/elements/gsttypefindelement.c:
6701 (gst_type_find_handle_src_query):
6702 Check that we have a peer before executing queries thereupon.
6704 * tests/examples/metadata/read-metadata.c: (message_loop):
6705 Use gst_bus_pop instead of gst_bus_poll when we just want it to
6706 immediately return us any available message with 0 timeout.
6708 2005-12-12 Michael Smith <msmith@fluendo.com>
6710 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6711 Don't unref factories after calling them.
6712 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
6713 * plugins/elements/gsttypefindelement.c:
6714 (gst_type_find_element_chain):
6715 Free lists of factories after using them. Fixing typefinding memory
6718 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6720 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6721 (gst_plugin_feature_load):
6722 more meaningful debug output
6724 * tests/Makefile.am:
6725 * tests/old/examples/Makefile.am:
6726 make make distcheck happy again
6728 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6730 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6731 Catch the special case where we are operating chain-based,
6732 but the downstream peer pad has no chain function. Emit a
6733 custom error message in this case instead of letting the
6734 core generate one implying that this is some sort of core
6735 bug. It's not, it just means that whatever got plugged
6736 into the pipeline downstream when we announced the type
6737 can only operate pull-based, while our source can only
6738 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6739 Error string has not been marked for translation yet, as
6740 it probably needs some more work first.
6742 (gst_type_find_element_get_best_possibility):
6743 Add helper function to find the best of all available
6744 found possibilities that qualify given the min. threshold.
6746 (gst_type_find_element_handle_event):
6747 Fix the case where we get an EOS while still in TYPEFIND
6748 mode (we want to chose the best of all possible types,
6749 not just the first type that happens to be in our unsorted
6750 list of possible types).
6752 (gst_type_find_element_chain):
6753 Make sure we return GST_FLOW_ERROR when we errored out
6754 in stop_typefinding(); also, don't just find the best of
6755 all found type entries and then use the last examined
6756 type entry, but actually use the best entry.
6758 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6760 * tests/examples/typefind/typefind.c: (type_found):
6761 * tests/examples/xml/runxml.c: (xml_loaded):
6762 More gcc4 fixes and a mem leak fix.
6764 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6766 * tests/examples/xml/createxml.c: (object_saved):
6769 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6771 * tests/Makefile.am:
6772 enable the examples even more
6774 2005-12-12 Andy Wingo <wingo@pobox.com>
6776 * libs/gst/net/gstnettimeprovider.c
6777 (gst_net_time_provider_class_init, gst_net_time_provider_init)
6778 (gst_net_time_provider_set_property)
6779 (gst_net_time_provider_get_property):
6780 API addition: Export "active" as a GObject property.
6781 (gst_net_time_provider_thread): Only respond to time queries if
6782 the time provider is active.
6784 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6785 NetTimeProvider, preserving binary compat.
6787 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6789 * tests/examples/controller/audio-example.c: (main):
6790 * tests/examples/launch/Makefile.am:
6791 convert comments again
6793 2005-12-12 Wim Taymans <wim@fluendo.com>
6795 * libs/gst/base/gstpushsrc.c:
6798 2005-12-12 Wim Taymans <wim@fluendo.com>
6800 * docs/libs/gstreamer-libs-sections.txt:
6801 Added new symbol to docs.
6803 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6804 (gst_base_src_init), (gst_base_src_set_format),
6805 (gst_base_src_default_query), (gst_base_src_query),
6806 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6807 (gst_base_src_perform_seek), (gst_base_src_send_event),
6808 (gst_base_src_default_event), (gst_base_src_event_handler),
6809 (gst_base_src_set_property), (gst_base_src_get_property),
6810 (gst_base_src_wait), (gst_base_src_do_sync),
6811 (gst_base_src_update_length), (gst_base_src_get_range),
6812 (gst_base_src_check_get_range), (gst_base_src_loop),
6813 (gst_base_src_default_negotiate), (gst_base_src_start),
6814 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6815 (gst_base_src_change_state):
6816 * libs/gst/base/gstbasesrc.h:
6817 Implement seeking to other formats than _BYTES.
6818 Implement more seeking methods correctly.
6820 Added query vmethod.
6821 Added do_seek vmethod to make life easier for subclasses
6823 API addition: gst_base_src_set_format()
6825 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6827 * tests/examples/Makefile.am:
6830 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6833 * docs/random/ensonic/media-device-daemon.txt:
6834 * tests/examples/controller/.cvsignore:
6835 * tests/examples/controller/Makefile.am:
6836 * tests/examples/controller/audio-example.c: (main):
6837 * tests/examples/helloworld/.cvsignore:
6838 * tests/examples/helloworld/Makefile.am:
6839 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
6840 * tests/examples/launch/.cvsignore:
6841 * tests/examples/launch/Makefile.am:
6842 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
6843 * tests/examples/metadata/.cvsignore:
6844 * tests/examples/metadata/Makefile.am:
6845 * tests/examples/metadata/read-metadata.c: (message_loop),
6846 (make_pipeline), (print_tag), (main):
6847 * tests/examples/queue/.cvsignore:
6848 * tests/examples/queue/Makefile.am:
6849 * tests/examples/queue/queue.c: (event_loop), (main):
6850 * tests/examples/typefind/.cvsignore:
6851 * tests/examples/typefind/Makefile.am:
6852 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
6854 * tests/examples/xml/.cvsignore:
6855 * tests/examples/xml/Makefile.am:
6856 * tests/examples/xml/createxml.c: (object_saved), (main):
6857 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
6858 * tests/old/examples/Makefile.am:
6859 * tests/old/examples/TODO:
6860 * tests/old/examples/controller/.cvsignore:
6861 * tests/old/examples/controller/Makefile.am:
6862 * tests/old/examples/controller/audio-example.c:
6863 * tests/old/examples/helloworld/.cvsignore:
6864 * tests/old/examples/helloworld/Makefile.am:
6865 * tests/old/examples/helloworld/helloworld.c:
6866 * tests/old/examples/launch/.cvsignore:
6867 * tests/old/examples/launch/Makefile.am:
6868 * tests/old/examples/launch/mp3parselaunch.c:
6869 * tests/old/examples/launch/mp3play:
6870 * tests/old/examples/manual/Makefile.am:
6871 * tests/old/examples/metadata/Makefile.am:
6872 * tests/old/examples/metadata/read-metadata.c:
6873 * tests/old/examples/queue/.cvsignore:
6874 * tests/old/examples/queue/Makefile.am:
6875 * tests/old/examples/queue/queue.c:
6876 * tests/old/examples/typefind/.cvsignore:
6877 * tests/old/examples/typefind/Makefile.am:
6878 * tests/old/examples/typefind/typefind.c:
6879 * tests/old/examples/xml/.cvsignore:
6880 * tests/old/examples/xml/Makefile.am:
6881 * tests/old/examples/xml/createxml.c:
6882 * tests/old/examples/xml/runxml.c:
6883 applied some simple fixing to some examples
6884 re-enabled the working examples
6886 2005-12-12 Wim Taymans <wim@fluendo.com>
6888 * gst/gstsegment.c: (gst_segment_init),
6889 (gst_segment_set_last_stop), (gst_segment_set_seek),
6890 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6891 (gst_segment_to_running_time):
6892 Added more documentation.
6893 Make sure the last_pos value is updated properly.
6894 Make sure to_stream_time and to_running_time don't
6895 operate on wrong values.
6897 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6900 2005-12-12 Michael Smith <msmith@fluendo.com>
6902 * plugins/elements/gsttypefindelement.c: (free_entry),
6903 (gst_type_find_element_chain):
6904 Now that we're not leaking factories, make sure we keep references
6905 to them while we need them.
6907 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
6909 * tests/check/gst/struct_i386.h:
6910 ifdef out the XML structs
6912 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
6914 * gst/gstvalue.c: (gst_value_transform_double_fraction):
6915 floor is not needed, F is always positive; this obviates the
6916 need for adding -lm when building without libxml
6918 2005-12-12 Wim Taymans <wim@fluendo.com>
6920 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6921 Take current playback rate into account when reporting
6924 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6926 * docs/manual/mime-world.fig:
6927 Let's try this again, this time with a file that is
6928 actually in XFig format.
6930 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6932 * docs/manual/mime-world.fig:
6933 Add audioconvert element to diagram so that it
6934 matches the text and the code (fixes #319526).
6936 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6938 * docs/pwg/building-chainfn.xml:
6939 * docs/pwg/building-pads.xml:
6940 * docs/pwg/building-state.xml:
6941 * docs/pwg/other-source.xml:
6942 Update state change stuff for 0.10 (fixes #322969).
6944 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6946 * docs/manual/advanced-dataaccess.xml:
6947 * docs/manual/appendix-checklist.xml:
6948 * docs/manual/appendix-programs.xml:
6949 * docs/manual/basics-pads.xml:
6950 * docs/manual/highlevel-components.xml:
6951 * docs/manual/manual.xml:
6952 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
6953 add converters in front of pipelines; remove curly
6954 brackets for threads stuff, they no longer exist; use
6955 GST_TYPE_FRACTION for framerates; update some pieces of
6956 code to 0.10, but there's plenty more to do.
6958 * docs/manual/appendix-porting.xml:
6959 Expand on asynchroneous state changes; s/0.9/0.10/;
6960 mention disappearance of gst_init_get_popt_table()
6963 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6965 * docs/faq/using.xml:
6966 Spider no longer exists, and neither does gst-launch-ext.
6967 Update examples to use decodebin and playbin and put
6968 converters in front of sinks (fixes #323726).
6970 2005-12-09 Michael Smith <msmith@fluendo.com>
6972 * plugins/elements/gsttypefindelement.c: (find_peek),
6973 (gst_type_find_element_chain):
6974 Fix leaking element factories in typefinding.
6975 Fix problem where we forgot about a probable type on non-seekable
6976 files, and thus later mis-typefound it.
6978 2005-12-09 Michael Smith <msmith@fluendo.com>
6980 * common/m4/gst-makecontext.m4:
6981 * common/m4/gst-mcsc.m4:
6983 * win32/common/config.h:
6984 * win32/common/config.h.in:
6985 Remove makecontext stuff; not used in 0.10 and causes problems on
6986 HPUX according to bug #322441
6988 2005-12-07 Wim Taymans <wim@fluendo.com>
6990 * tests/check/Makefile.am:
6991 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
6993 * tests/check/libs/struct_i386.h:
6994 Added ABI check for libs
6996 2005-12-07 Wim Taymans <wim@fluendo.com>
6998 * tests/check/Makefile.am:
6999 And add the struct_i386.h to dist.
7001 2005-12-07 Wim Taymans <wim@fluendo.com>
7003 * tests/check/Makefile.am:
7004 * tests/check/gst/.cvsignore:
7005 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
7007 * tests/check/gst/struct_i386.h:
7008 Added check for ABI compatibility.
7010 2005-12-07 Wim Taymans <wim@fluendo.com>
7012 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7013 (gst_fake_src_get_times), (gst_fake_src_create):
7014 Fix broken sync option, fixes #323259
7016 2005-12-07 Wim Taymans <wim@fluendo.com>
7021 * gst/gstcaps.c: (gst_caps_is_equal):
7022 Don't assert on NULL <--> X. Fixes #323260
7024 * gst/gstminiobject.c: (gst_mini_object_replace):
7025 If we're doing atomic operations, we might just as well use
7026 the proper way to get an atomic pointer.
7028 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7031 2005-12-07 Michael Smith <msmith@fluendo.com>
7033 * gst/parse/grammar.y:
7034 Remove handling of { } for threads.
7036 2005-12-06 David Schleef <ds@schleef.org>
7038 * libs/gst/base/gstbasetransform.c: speling fix.
7040 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
7042 * docs/libs/tmpl/gstdataprotocol.sgml:
7043 * docs/random/omega/testing/gstobject.c:
7047 * gst/gstelementfactory.c:
7050 * gst/gstghostpad.c:
7052 * gst/gstpadtemplate.c:
7053 * gst/gstregistryxml.c:
7055 * gst/gsttagsetter.c:
7056 * gst/gsttypefind.c:
7058 * libs/gst/base/gstbasesrc.c:
7059 * libs/gst/net/gstnetclientclock.c:
7060 * libs/gst/net/gstnettimeprovider.c:
7061 * plugins/elements/gstfakesrc.c:
7062 * plugins/elements/gstfdsrc.c:
7063 * plugins/elements/gstfilesrc.c:
7064 * plugins/elements/gstidentity.c:
7065 * plugins/elements/gstqueue.c:
7066 * plugins/elements/gsttypefindelement.c:
7067 * plugins/indexers/gstfileindex.c:
7068 * plugins/indexers/gstmemindex.c:
7069 * tests/check/gst/gsttag.c:
7070 * tests/old/examples/cutter/cutter.c:
7071 * tests/old/examples/mixer/mixer.c:
7072 * tests/old/examples/xml/runxml.c: (main):
7073 * tests/old/testsuite/caps/normalisation.c:
7074 * tests/old/testsuite/debug/global.c:
7075 * tests/old/testsuite/parse/parse1.c:
7076 * tools/gst-xmlinspect.c:
7077 * win32/common/dirent.c:
7080 === release 0.10.0 ===
7082 2005-12-05 <thomas (at) apestaart (dot) org>
7085 releasing 0.10.0, "Maroilles"
7087 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
7089 submitted by: Funda Wang <fundawang@linux.net.cn>
7093 added Chinese (Traditional) translation
7095 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
7097 * docs/gst/gstreamer-sections.txt:
7098 * docs/libs/tmpl/gstdataprotocol.sgml:
7099 * docs/random/thomasvs/TODO:
7104 2005-12-05 Andy Wingo <wingo@pobox.com>
7106 patch by: Wim Taymans <wim@fluendo.com>
7108 * libs/gst/base/gstbasetransform.c
7109 (gst_base_transform_prepare_output_buf)
7110 (gst_base_transform_buffer_alloc):
7111 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
7112 alloc_buffer_and_set_caps.
7114 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
7115 set_caps on the source pad.
7116 (gst_pad_alloc_buffer_and_set_caps): New function, does what
7117 alloc_buffer used to do. Fixes #322874.
7119 * docs/gst/gstreamer-sections.txt:
7120 * docs/design/part-negotiation.txt:
7121 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
7124 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
7126 patch by: Sebastien Moutte
7129 * win32/common/config.h.in:
7130 * win32/vs6/libgstcontroller.dsp:
7133 2005-12-05 Wim Taymans <wim@fluendo.com>
7135 * gst/gstcaps.c: (gst_caps_is_equal):
7136 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7137 (gst_fake_src_create):
7138 Back out previous code changes, leave doc updates, file bugs
7141 2005-12-05 Wim Taymans <wim@fluendo.com>
7143 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7144 (gst_fake_src_get_times), (gst_fake_src_create):
7145 * plugins/elements/gstfakesrc.h:
7146 Fix broken sync code.
7148 2005-12-05 Wim Taymans <wim@fluendo.com>
7150 * gst/gstcaps.c: (gst_caps_is_equal):
7151 Comparing NULL against !NULL yields different caps, not a
7154 2005-12-05 Wim Taymans <wim@fluendo.com>
7156 * gst/gstpipeline.c:
7157 Fix small typo in docs.
7159 2005-12-05 Andy Wingo <wingo@pobox.com>
7161 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
7163 * gst/gst.c (init_post): remove hard-coded 0.9 location for
7164 registries/plugins with a MAJORMINOR one.
7165 (plugin_desc): Rename library from gstcoreleements to
7166 staticelements. Fixes #323222.
7168 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
7170 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
7171 Change debug category to 'collectpads' from 'collect_pads'
7174 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
7176 patch by: Sebastien Moutte
7178 * libs/gst/controller/gstinterpolation.c:
7179 use convert function for uint64/double
7180 * win32/vs6/libgstcontroller.dsp:
7183 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
7185 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
7186 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
7188 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7189 add tests that seem to show that the guint64/gdouble conversions
7192 2005-12-02 Wim Taymans <wim@fluendo.com>
7194 * gst/gstregistry.c: (gst_registry_add_path):
7195 * gst/gstregistry.h:
7196 * gst/gstregistryxml.c:
7199 2005-12-02 Wim Taymans <wim@fluendo.com>
7201 * gst/gstutils.c: (gst_util_uint64_scale_int64),
7202 (gst_util_uint64_scale_int):
7205 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7208 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
7211 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
7214 * win32/common/config.h:
7215 * win32/vs6/gstreamer.dsw:
7216 * win32/vs6/libgstcoreelements.dsp:
7217 * win32/vs6/libgstelements.dsp:
7218 renamed core elements plugin
7220 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
7222 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
7224 do piece-wise major/minor comparison so 0.9 < 0.10
7225 also allow .exe extensions for tools
7227 2005-12-02 Michael Smith <msmith@fluendo.com>
7230 Escape a % to make gtkdoc happier; bug 322958.
7232 === release 0.9.7 ===
7234 2005-12-01 <thomas (at) apestaart (dot) org>
7237 releasing 0.9.7, "My Dog Has No Nose"
7239 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7241 * common/gst-xmlinspect.py:
7243 * docs/libs/tmpl/gstdataprotocol.sgml:
7244 * docs/random/release:
7263 * win32/common/config.h:
7264 * win32/common/config.h.in:
7265 * win32/vs6/gst_inspect.dsp:
7266 * win32/vs6/gst_launch.dsp:
7267 * win32/vs6/libgstbase.dsp:
7268 * win32/vs6/libgstelements.dsp:
7269 * win32/vs6/libgstreamer.dsp:
7270 * win32/vs7/GStreamer.vcproj:
7271 * win32/vs7/gst-inspect.vcproj:
7272 * win32/vs7/gst-launch.vcproj:
7273 * win32/vs7/libgstbase.vcproj:
7274 bump GST_MAJORMINOR to 0.10
7275 reset libtool version
7277 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7281 Added Bulgarian translation by (Alexander Shopov)
7283 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7285 * tests/check/gst/gstplugin.c:
7288 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7290 * common/gst-xmlinspect.py:
7291 * common/gtk-doc-plugins.mak:
7294 * docs/gst/Makefile.am:
7295 * docs/gst/gstreamer-docs.sgml:
7296 * docs/gst/gstreamer-sections.txt:
7297 * docs/gst/gstreamer.types:
7298 * docs/gst/gstreamer.types.in:
7299 * docs/plugins/Makefile.am:
7300 * docs/plugins/gstreamer-plugins-docs.sgml:
7301 * docs/plugins/gstreamer-plugins-sections.txt:
7302 * docs/plugins/gstreamer-plugins.types:
7303 * docs/plugins/inspect.stamp:
7304 * docs/plugins/inspect/plugin-coreelements.xml:
7305 * docs/plugins/inspect/plugin-coreindexers.xml:
7306 * docs/plugins/scanobj-build.stamp:
7307 * gstreamer.spec.in:
7308 * plugins/elements/Makefile.am:
7309 * plugins/elements/gstelements.c:
7310 * plugins/elements/gstfakesink.c:
7311 * plugins/elements/gstfakesrc.c:
7312 * plugins/elements/gstfilesink.c:
7313 * plugins/elements/gstfilesrc.c:
7314 * plugins/elements/gstqueue.c:
7315 * plugins/indexers/Makefile.am:
7316 * plugins/indexers/gstindexers.c:
7317 document core plugins in a separate document just like all the
7319 rename these plugins to something starting with core
7321 2005-12-01 Andy Wingo <wingo@pobox.com>
7323 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
7324 padding here before, but it missed the commit.
7326 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7328 * libs/gst/controller/gstinterpolation.c:
7329 whitespace prices have crashed, we should feel free to use some now
7330 use gst_guint64_to_gdouble
7332 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7334 * libs/gst/controller/gstcontroller.c:
7335 * libs/gst/controller/gsthelper.c:
7336 * libs/gst/controller/gstinterpolation.c:
7337 * libs/gst/controller/lib.c:
7338 wrap config.h include
7340 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7342 * docs/gst/gstreamer-sections.txt:
7345 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7347 * plugins/elements/gstelements.c:
7348 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
7349 (gst_fd_sink__class_init), (gst_fd_sink__init),
7350 (gst_fd_sink__chain), (gst_fd_sink__set_property),
7351 (gst_fd_sink__get_property):
7352 * plugins/elements/gstfdsink.h:
7353 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
7354 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
7355 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
7356 (gst_fd_src_unlock), (gst_fd_src_set_property),
7357 (gst_fd_src_get_property), (gst_fd_src_create),
7358 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
7359 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
7360 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
7361 (gst_fd_src_uri_handler_init):
7362 * plugins/elements/gstfdsrc.h:
7363 * plugins/elements/gstqueue.c: (gst_queue_get_type):
7366 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7368 * docs/gst/Makefile.am:
7369 * docs/gst/gstreamer.types.in:
7373 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7379 * gst/gstregistry.h:
7380 * tests/benchmarks/complexity.c:
7381 * tests/benchmarks/mass-elements.c:
7382 * tests/check/Makefile.am:
7383 * tools/Makefile.am:
7384 * tools/gst-inspect.c:
7385 * tools/gst-xmlinspect.c:
7386 various fixes to make
7387 --disable-nls --disable-registry --disable-loadsave
7388 --disable-parse --disable-gst-debug
7389 work and get the core .so down to 360444 bytes after stripping
7391 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7396 * docs/random/thomasvs/TODO:
7397 * tests/Makefile.am:
7401 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7403 * win32/GStreamer.vcproj:
7406 * win32/Makefile.inspect:
7407 * win32/Makefile.launch:
7408 * win32/Makefile.register:
7410 * win32/gst-inspect.vcproj:
7411 * win32/gst-launch.vcproj:
7412 * win32/gst-register.vcproj:
7413 * win32/gstelements.vcproj:
7414 * win32/gstgetbits.def:
7415 * win32/gstgetbits.vcproj:
7416 * win32/gstreamer-dbg.def:
7417 * win32/gstreamer.def:
7418 * win32/libgstbase.def:
7419 * win32/libgstbase.vcproj:
7420 * win32/link_oldruntime.c:
7425 move even more stuff, win32/ is nice and clean now
7427 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7429 * libs/gst/control/.cvsignore:
7434 * win32/gstbytestream.def:
7435 * win32/gstbytestream.vcproj:
7436 * win32/gstconfig.h:
7437 * win32/gstenumtypes.c:
7438 * win32/gstenumtypes.h:
7439 * win32/gstoptimalscheduler.vcproj:
7440 * win32/gstversion.h:
7442 * win32/testsuite/bins.vcproj:
7443 * win32/testsuite/bytestream.vcproj:
7444 * win32/testsuite/caps.vcproj:
7445 * win32/testsuite/cleanup.vcproj:
7446 * win32/testsuite/clock.vcproj:
7447 * win32/testsuite/debug.vcproj:
7448 * win32/testsuite/dlopen.vcproj:
7449 * win32/testsuite/dynparams.vcproj:
7450 * win32/testsuite/elements.vcproj:
7451 * win32/testsuite/ghostpads.vcproj:
7452 * win32/testsuite/indexers.vcproj:
7453 * win32/testsuite/negotiation.vcproj:
7454 * win32/testsuite/parse.vcproj:
7455 * win32/testsuite/plugin.vcproj:
7456 * win32/testsuite/refcounting.vcproj:
7457 * win32/testsuite/schedulers.vcproj:
7458 * win32/testsuite/states.vcproj:
7459 * win32/testsuite/tags.vcproj:
7460 * win32/testsuite/threads.vcproj:
7461 remove old win32 stuff that isn't maintained and should be
7464 2005-11-30 Andy Wingo <wingo@pobox.com>
7466 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
7467 loading the gst.interfaces python module bork.
7469 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
7470 available since GLib 2.2. Fixes #318031.
7472 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7476 * check/Makefile.am:
7477 * check/elements/.cvsignore:
7478 * check/elements/fakesrc.c:
7479 * check/elements/fdsrc.c:
7480 * check/elements/identity.c:
7481 * check/generic/.cvsignore:
7482 * check/generic/states.c:
7483 * check/gst-libs/.cvsignore:
7484 * check/gst-libs/controller.c:
7485 * check/gst-libs/gdp.c:
7486 * check/gst/.cvsignore:
7487 * check/gst/capslist.h:
7489 * check/gst/gstbin.c:
7490 * check/gst/gstbuffer.c:
7491 * check/gst/gstbus.c:
7492 * check/gst/gstcaps.c:
7493 * check/gst/gstelement.c:
7494 * check/gst/gstevent.c:
7495 * check/gst/gstghostpad.c:
7496 * check/gst/gstiterator.c:
7497 * check/gst/gstmessage.c:
7498 * check/gst/gstminiobject.c:
7499 * check/gst/gstobject.c:
7500 * check/gst/gstpad.c:
7501 * check/gst/gstpipeline.c:
7502 * check/gst/gstplugin.c:
7503 * check/gst/gstsegment.c:
7504 * check/gst/gststructure.c:
7505 * check/gst/gstsystemclock.c:
7506 * check/gst/gsttag.c:
7507 * check/gst/gstutils.c:
7508 * check/gst/gstvalue.c:
7509 * check/net/.cvsignore:
7510 * check/net/gstnetclientclock.c:
7511 * check/net/gstnettimeprovider.c:
7512 * check/pipelines/.cvsignore:
7513 * check/pipelines/cleanup.c:
7514 * check/pipelines/simple_launch_lines.c:
7515 * check/pipelines/stress.c:
7516 * check/states/.cvsignore:
7517 * check/states/sinks.c:
7519 * examples/Makefile.am:
7520 * examples/appreader/.cvsignore:
7521 * examples/appreader/Makefile.am:
7522 * examples/appreader/appreader.c:
7523 * examples/controller/.cvsignore:
7524 * examples/controller/Makefile.am:
7525 * examples/controller/audio-example.c:
7526 * examples/cutter/.cvsignore:
7527 * examples/cutter/Makefile.am:
7528 * examples/cutter/cutter.c:
7529 * examples/cutter/cutter.h:
7530 * examples/events/Makefile.am:
7531 * examples/events/seek.c:
7532 * examples/helloworld/.cvsignore:
7533 * examples/helloworld/Makefile.am:
7534 * examples/helloworld/helloworld.c:
7535 * examples/helloworld2/.cvsignore:
7536 * examples/helloworld2/Makefile.am:
7537 * examples/helloworld2/helloworld2.c:
7538 * examples/launch/.cvsignore:
7539 * examples/launch/Makefile.am:
7540 * examples/launch/mp3parselaunch.c:
7541 * examples/launch/mp3play:
7542 * examples/manual/.cvsignore:
7543 * examples/manual/Makefile.am:
7544 * examples/manual/extract.pl:
7545 * examples/metadata/Makefile.am:
7546 * examples/metadata/read-metadata.c:
7547 * examples/mixer/.cvsignore:
7548 * examples/mixer/Makefile.am:
7549 * examples/mixer/mixer.c:
7550 * examples/mixer/mixer.h:
7551 * examples/pingpong/.cvsignore:
7552 * examples/pingpong/Makefile.am:
7553 * examples/pingpong/pingpong.c:
7554 * examples/plugins/.cvsignore:
7555 * examples/plugins/Makefile.am:
7556 * examples/plugins/example.c:
7557 * examples/plugins/example.h:
7558 * examples/pwg/.cvsignore:
7559 * examples/pwg/Makefile.am:
7560 * examples/pwg/extract.pl:
7561 * examples/queue/.cvsignore:
7562 * examples/queue/Makefile.am:
7563 * examples/queue/queue.c:
7564 * examples/queue2/.cvsignore:
7565 * examples/queue2/Makefile.am:
7566 * examples/queue2/queue2.c:
7567 * examples/queue3/.cvsignore:
7568 * examples/queue3/Makefile.am:
7569 * examples/queue3/queue3.c:
7570 * examples/queue4/.cvsignore:
7571 * examples/queue4/Makefile.am:
7572 * examples/queue4/queue4.c:
7573 * examples/retag/.cvsignore:
7574 * examples/retag/Makefile.am:
7575 * examples/retag/retag.c:
7576 * examples/retag/transcode.c:
7577 * examples/thread/.cvsignore:
7578 * examples/thread/Makefile.am:
7579 * examples/thread/thread.c:
7580 * examples/typefind/.cvsignore:
7581 * examples/typefind/Makefile.am:
7582 * examples/typefind/typefind.c:
7583 * examples/xml/.cvsignore:
7584 * examples/xml/Makefile.am:
7585 * examples/xml/createxml.c:
7586 * examples/xml/runxml.c:
7587 * tests/Makefile.am:
7588 * tests/check/Makefile.am:
7589 * testsuite/.cvsignore:
7590 * testsuite/Makefile.am:
7592 * testsuite/caps/.cvsignore:
7593 * testsuite/caps/Makefile.am:
7594 * testsuite/caps/app_fixate.c:
7595 * testsuite/caps/audioscale.c:
7596 * testsuite/caps/caps.c:
7597 * testsuite/caps/caps.h:
7598 * testsuite/caps/caps_strings:
7599 * testsuite/caps/compatibility.c:
7600 * testsuite/caps/deserialize.c:
7601 * testsuite/caps/enumcaps.c:
7602 * testsuite/caps/eratosthenes.c:
7603 * testsuite/caps/filtercaps.c:
7604 * testsuite/caps/fixed.c:
7605 * testsuite/caps/fraction-convert.c:
7606 * testsuite/caps/fraction-multiply-and-zero.c:
7607 * testsuite/caps/intersect2.c:
7608 * testsuite/caps/intersection.c:
7609 * testsuite/caps/normalisation.c:
7610 * testsuite/caps/random.c:
7611 * testsuite/caps/renegotiate.c:
7612 * testsuite/caps/sets.c:
7613 * testsuite/caps/simplify.c:
7614 * testsuite/caps/string-conversions.c:
7615 * testsuite/caps/structure.c:
7616 * testsuite/caps/subtract.c:
7617 * testsuite/caps/union.c:
7618 * testsuite/debug/.cvsignore:
7619 * testsuite/debug/Makefile.am:
7620 * testsuite/debug/category.c:
7621 * testsuite/debug/commandline.c:
7622 * testsuite/debug/global.c:
7623 * testsuite/debug/output.c:
7624 * testsuite/debug/printf_extension.c:
7625 * testsuite/dlopen/.cvsignore:
7626 * testsuite/dlopen/Makefile.am:
7627 * testsuite/dlopen/dlopen_gst.c:
7628 * testsuite/dlopen/loadgst.c:
7629 * testsuite/elements/.cvsignore:
7630 * testsuite/elements/Makefile.am:
7631 * testsuite/elements/gst-inspect-check.in:
7632 * testsuite/elements/struct_i386.h:
7633 * testsuite/elements/struct_size.c:
7634 * testsuite/indexers/.cvsignore:
7635 * testsuite/indexers/Makefile.am:
7636 * testsuite/indexers/cache1.c:
7637 * testsuite/indexers/indexdump.c:
7638 * testsuite/parse/.cvsignore:
7639 * testsuite/parse/Makefile.am:
7640 * testsuite/parse/parse1.c:
7641 * testsuite/parse/parse2.c:
7642 * testsuite/plugin/.cvsignore:
7643 * testsuite/plugin/Makefile.am:
7644 * testsuite/plugin/README:
7645 * testsuite/plugin/dynamic.c:
7646 * testsuite/plugin/linked.c:
7647 * testsuite/plugin/loading.c:
7648 * testsuite/plugin/registry.c:
7649 * testsuite/plugin/static.c:
7650 * testsuite/plugin/static2.c:
7651 * testsuite/plugin/testplugin.c:
7652 * testsuite/plugin/testplugin2.c:
7653 * testsuite/plugin/testplugin2_s.c:
7654 * testsuite/plugin/testplugin_s.c:
7655 * testsuite/refcounting/.cvsignore:
7656 * testsuite/refcounting/Makefile.am:
7657 * testsuite/refcounting/bin.c:
7658 * testsuite/refcounting/element.c:
7659 * testsuite/refcounting/element_pad.c:
7660 * testsuite/refcounting/mainloop.c:
7661 * testsuite/refcounting/mem.c:
7662 * testsuite/refcounting/mem.h:
7663 * testsuite/refcounting/object.c:
7664 * testsuite/refcounting/pad.c:
7665 * testsuite/refcounting/sched.c:
7666 * testsuite/refcounting/thread.c:
7667 * testsuite/states/.cvsignore:
7668 * testsuite/states/Makefile.am:
7669 * testsuite/states/bin.c:
7670 * testsuite/states/locked.c:
7671 * testsuite/states/parent.c:
7672 * testsuite/threads/.cvsignore:
7673 * testsuite/threads/159566.c:
7674 * testsuite/threads/159852.c:
7675 * testsuite/threads/Makefile.am:
7676 * testsuite/threads/queue.c:
7677 * testsuite/threads/signals.c:
7678 * testsuite/threads/staticrec.c:
7679 * testsuite/threads/thread.c:
7680 * testsuite/threads/threadb.c:
7681 * testsuite/threads/threadc.c:
7682 * testsuite/threads/threadd.c:
7683 * testsuite/threads/threade.c:
7684 * testsuite/threads/threadf.c:
7685 * testsuite/threads/threadg.c:
7686 * testsuite/threads/threadh.c:
7687 * testsuite/threads/threadi.c:
7688 move all of these under tests
7690 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7693 * tests/Makefile.am:
7696 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7698 * docs/gst/gstreamer-sections.txt:
7699 * tests/sched/.cvsignore:
7700 * tests/sched/Makefile.am:
7701 * tests/sched/cases/(fs-fs).xml:
7702 * tests/sched/cases/(fs-i-fs).xml:
7703 * tests/sched/cases/(fs-i-i-fs).xml:
7704 * tests/sched/cases/(fs-i-q[i-fs]).xml:
7705 * tests/sched/dynamic-pipeline.c:
7706 * tests/sched/interrupt1.c:
7707 * tests/sched/interrupt2.c:
7708 * tests/sched/interrupt3.c:
7709 * tests/sched/runtestcases:
7710 * tests/sched/runxml.c:
7711 * tests/sched/sched-stress.c:
7712 * tests/sched/sort.c:
7713 * tests/sched/testcases:
7714 * tests/sched/testcases1.tc:
7715 * tests/seeking/.cvsignore:
7716 * tests/seeking/Makefile.am:
7717 * tests/seeking/seeking1.c:
7718 * tests/threadstate/.cvsignore:
7719 * tests/threadstate/Makefile.am:
7720 * tests/threadstate/test1.c:
7721 * tests/threadstate/test2.c:
7722 * tests/threadstate/threadstate1.c:
7723 * tests/threadstate/threadstate2.c:
7724 * tests/threadstate/threadstate3.c:
7725 * tests/threadstate/threadstate4.c:
7726 * tests/threadstate/threadstate5.c:
7727 remove obsolete tests
7729 * tests/bench-complexity.scm:
7730 * tests/bench-mass_elements.scm:
7731 * tests/complexity.c:
7732 * tests/complexity.gnuplot:
7733 * tests/instantiate/.cvsignore:
7734 * tests/instantiate/Makefile.am:
7735 * tests/instantiate/caps.c:
7736 * tests/mass_elements.c:
7737 * tests/network-clock-utils.scm:
7738 * tests/network-clock.scm:
7740 First pass at cleaning up tests/ dir before moving the rest
7741 Combined with CVS surgery
7743 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7746 queue has moved, update
7748 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7750 * docs/gst/gstreamer-sections.txt:
7751 remove double entries from the docs
7752 * gst/gst_private.h:
7753 * gst/gstinfo.c: (_gst_debug_init):
7754 remove the THREAD debug category
7758 * docs/gst/gstreamer.types:
7759 * plugins/elements/gstqueue.c: (gst_queue_get_type),
7760 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7761 completely move queue and fix up debugging categories
7763 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7765 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7766 make initialization portable, using LL is not
7768 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7770 * win32/common/gstconfig.h:
7773 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7775 * win32/common/libgstreamer.def:
7776 rename symbols; sort base section
7778 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7780 * gst/gstclock.c: (do_linear_regression):
7781 remove crack non-portable handrolled DEBUG macro
7783 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7785 * docs/random/release:
7787 * win32/common/gstenumtypes.c: (register_gst_object_flags),
7788 (gst_object_flags_get_type), (register_gst_bin_flags),
7789 (gst_bin_flags_get_type), (register_gst_buffer_flag),
7790 (gst_buffer_flag_get_type), (register_gst_bus_flags),
7791 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7792 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7793 (gst_caps_flags_get_type), (register_gst_clock_return),
7794 (gst_clock_return_get_type), (register_gst_clock_entry_type),
7795 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7796 (gst_clock_flags_get_type), (register_gst_state),
7797 (gst_state_get_type), (register_gst_state_change_return),
7798 (gst_state_change_return_get_type), (register_gst_state_change),
7799 (gst_state_change_get_type), (register_gst_element_flags),
7800 (gst_element_flags_get_type), (register_gst_core_error),
7801 (gst_core_error_get_type), (register_gst_library_error),
7802 (gst_library_error_get_type), (register_gst_resource_error),
7803 (gst_resource_error_get_type), (register_gst_stream_error),
7804 (gst_stream_error_get_type), (register_gst_event_type_flags),
7805 (gst_event_type_flags_get_type), (register_gst_event_type),
7806 (gst_event_type_get_type), (register_gst_seek_type),
7807 (gst_seek_type_get_type), (register_gst_seek_flags),
7808 (gst_seek_flags_get_type), (register_gst_format),
7809 (gst_format_get_type), (register_gst_index_certainty),
7810 (gst_index_certainty_get_type), (register_gst_index_entry_type),
7811 (gst_index_entry_type_get_type),
7812 (register_gst_index_lookup_method),
7813 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7814 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7815 (gst_index_resolver_method_get_type), (register_gst_index_flags),
7816 (gst_index_flags_get_type), (register_gst_debug_level),
7817 (gst_debug_level_get_type), (register_gst_debug_color_flags),
7818 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7819 (gst_iterator_result_get_type), (register_gst_iterator_item),
7820 (gst_iterator_item_get_type), (register_gst_message_type),
7821 (gst_message_type_get_type), (register_gst_mini_object_flags),
7822 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7823 (gst_pad_link_return_get_type), (register_gst_flow_return),
7824 (gst_flow_return_get_type), (register_gst_activate_mode),
7825 (gst_activate_mode_get_type), (register_gst_pad_direction),
7826 (gst_pad_direction_get_type), (register_gst_pad_flags),
7827 (gst_pad_flags_get_type), (register_gst_pad_presence),
7828 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7829 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7830 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7831 (gst_plugin_error_get_type), (register_gst_plugin_flags),
7832 (gst_plugin_flags_get_type), (register_gst_rank),
7833 (gst_rank_get_type), (register_gst_query_type),
7834 (gst_query_type_get_type), (register_gst_tag_merge_mode),
7835 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7836 (gst_tag_flag_get_type), (register_gst_task_state),
7837 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7838 (gst_alloc_trace_flags_get_type),
7839 (register_gst_type_find_probability),
7840 (gst_type_find_probability_get_type), (register_gst_uri_type),
7841 (gst_uri_type_get_type), (register_gst_parse_error),
7842 (gst_parse_error_get_type):
7843 * win32/common/gstenumtypes.h:
7844 * win32/common/gstversion.h:
7845 update visual studio generated files
7847 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7849 * win32/vs6/libgstbase.dsp:
7850 * win32/vs6/libgstelements.dsp:
7851 update project files for new locations
7853 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7858 reinstate and update
7863 * docs/random/LICENSE:
7866 2005-11-30 Edward Hervey <edward@fluendo.com>
7868 * gst/gsttypefind.c: (gst_type_find_register):
7869 * gst/gsttypefind.h:
7870 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
7871 (gst_type_find_factory_dispose):
7872 * gst/gsttypefindfactory.h:
7873 Fix memory leak in GstTypeFindFactory.
7875 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7878 * plugins/elements/Makefile.am:
7879 * plugins/elements/gstelements.c:
7880 * plugins/elements/gstqueue.c:
7881 move queue from core to the elements plugin
7883 2005-11-29 Andy Wingo <wingo@pobox.com>
7885 * libs/gst/base/gstbasetransform.h:
7886 * libs/gst/base/gstbasesrc.h:
7887 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
7889 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
7890 of pointers by which to pad very extensible base classes (like the
7891 ones in libs/gst/base).
7893 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7895 * docs/gst/gstreamer-docs.sgml:
7896 * docs/gst/gstreamer-sections.txt:
7897 * docs/libs/gstreamer-libs-docs.sgml:
7898 * docs/libs/gstreamer-libs-sections.txt:
7899 moving documentation from core to lib
7901 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7903 * check/Makefile.am:
7905 * docs/gst/Makefile.am:
7907 * gst/base/.cvsignore:
7908 * gst/base/Makefile.am:
7910 * gst/base/gstadapter.c:
7911 * gst/base/gstadapter.h:
7912 * gst/base/gstbasesink.c:
7913 * gst/base/gstbasesink.h:
7914 * gst/base/gstbasesrc.c:
7915 * gst/base/gstbasesrc.h:
7916 * gst/base/gstbasetransform.c:
7917 * gst/base/gstbasetransform.h:
7918 * gst/base/gstcollectpads.c:
7919 * gst/base/gstcollectpads.h:
7920 * gst/base/gstpushsrc.c:
7921 * gst/base/gstpushsrc.h:
7922 * gst/base/gsttypefindhelper.c:
7923 * gst/base/gsttypefindhelper.h:
7924 * gst/check/Makefile.am:
7925 * gst/check/gstcheck.c:
7926 * gst/check/gstcheck.h:
7927 * gst/net/Makefile.am:
7929 * gst/net/gstnetclientclock.c:
7930 * gst/net/gstnetclientclock.h:
7931 * gst/net/gstnettimepacket.c:
7932 * gst/net/gstnettimepacket.h:
7933 * gst/net/gstnettimeprovider.c:
7934 * gst/net/gstnettimeprovider.h:
7935 * libs/gst/Makefile.am:
7936 * libs/gst/base/Makefile.am:
7937 * libs/gst/base/gstbasetransform.c:
7938 * libs/gst/check/Makefile.am:
7939 * plugins/elements/Makefile.am:
7941 CVS surgery + support to move base, check, and net out of gst
7944 2005-11-29 Andy Wingo <wingo@pobox.com>
7946 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
7948 * gst/gststructure.h (struct _GstStructure): Only one pointer of
7951 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
7953 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
7955 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
7957 * gst/gstobject.h: (struct _GstObject): Only one pointer of
7958 padding; reduces object size by about 30%. We don't expect
7959 anything else to go into gstobject.
7961 * gst/gstminiobject.h (struct _GstMiniObject)
7962 (struct _GstMiniObjectClass): Only one pointer of padding; the
7963 payload is only a pointer and two ints anyway. For the class there
7964 are only two methods as well.
7966 * gst/gstelement.h (struct _GstElementClass): Removed
7967 the state_changed signal callback, it is not used.
7969 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7971 * docs/gst/gstreamer.types:
7972 fix includes, though they are a little dinky
7974 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7976 * check/Makefile.am:
7977 look in the right place for elements, a lot more chance of
7980 remove indexers and elements subdirs
7981 * plugins/Makefile.am:
7982 make indexers conditional
7984 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7988 * plugins/elements/Makefile.am:
7989 * plugins/elements/gstcapsfilter.c:
7990 * plugins/elements/gstfilesink.c:
7991 * plugins/elements/gstfilesrc.c:
7992 * plugins/elements/gstidentity.c:
7993 * plugins/indexers/Makefile.am:
7994 do CVS surgery and related build fixery to move elements
7995 and indexers in a new gstreamer/plugins directory, out of the
7998 2005-11-29 Andy Wingo <wingo@pobox.com>
8000 * check/Makefile.am:
8001 * pkgconfig/gstreamer-net-uninstalled.pc.in:
8002 * pkgconfig/gstreamer-net.pc.in:
8003 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
8006 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
8008 * tools/Makefile.am:
8009 * tools/gst-complete.1.in:
8010 * tools/gst-complete.c:
8011 * tools/gst-compprep.1.in:
8012 * tools/gst-compprep.c:
8013 removing -compprep and -complete
8015 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
8017 * gst/gstevent.c: (gst_event_new_new_segment),
8018 (gst_event_parse_new_segment):
8020 fix #320529 - clean up new_segment API and structure.
8021 Let's hope everyone was using the methods, and not the structure.
8023 2005-11-29 Edward Hervey <edward@fluendo.com>
8025 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8026 (gst_base_sink_event), (gst_base_sink_do_sync),
8027 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8028 Properly handle non GST_FORMAT_TIME segment
8029 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8030 Properly handle non GST_FORMAT_TIME segment
8032 This function is valid if the accumulator is 0 and the format
8033 is different from the requested format.
8035 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
8037 * docs/gst/gstreamer-sections.txt:
8038 Add gst_query_new_seeking and gst_query_parse_seeking to the
8041 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
8043 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8044 Treat a pad alloc with new caps the same as if we were not
8045 negotiated, in order to allow a changing upstream output
8046 to produce a new format of data.
8048 2005-11-29 Edward Hervey <edward@fluendo.com>
8050 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
8051 (gst_base_transform_event), (gst_base_transform_eventfunc):
8052 The event virtual method is now properly implemented, with a default
8054 Sub classes should call the parent_class event method. They should
8055 return FALSE if they had a problem handling the given event, or don't
8056 want GstBaseTransform to send that even downstream
8057 * gst/elements/gstidentity.c: (gst_identity_class_init),
8058 (gst_identity_init), (gst_identity_event),
8059 (gst_identity_transform_ip), (gst_identity_set_property),
8060 (gst_identity_get_property):
8061 * gst/elements/gstidentity.h:
8062 Added the single-segment boolean property.
8063 If set to TRUE, it will output a single segment of data, starting from
8064 0, will eat up all incoming newsegment, and modify the timestamp of the
8067 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
8069 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
8070 Don't ref NULL target pad (#322751). Improve docs.
8072 2005-11-29 Michael Smith <msmith@fluendo.com>
8074 * gst/gstregistryxml.c: (load_plugin):
8075 Don't crash if we failed to load a feature from a plugin.
8077 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8079 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
8081 use more check API and less GLib API
8083 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8086 don't run checks if we don't have check
8088 remove the registry when running make torture
8089 * docs/gst/gstreamer-sections.txt:
8090 remove second multiply
8091 * gst/gstqueue.c: (gst_queue_loop):
8092 fix a compile warning when disabling debug
8094 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
8097 Hey! Let's print the pad name if the pointer != NULL instead
8098 of when it == NULL :-)
8100 2005-11-28 Wim Taymans <wim@fluendo.com>
8102 * check/gst/gstutils.c: (GST_START_TEST):
8103 Updated check, add some scaling accuracy checking code.
8105 * gst/gstutils.c: (gst_util_div128_64),
8106 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
8107 (gst_util_uint64_scale_int):
8108 Fix 6 times faster division code. Optimize for common
8109 1/1 and less common X/1 cases.
8111 2005-11-28 Wim Taymans <wim@fluendo.com>
8113 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8116 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
8117 (do_linear_regression), (gst_clock_add_observation):
8119 Release lock when the clock cannot be slaved.
8120 Catch the case where the regression returned an invalid denominator.
8122 * gst/gstutils.c: (gst_util_div128_64_iterate),
8123 (gst_util_div128_64), (gst_util_uint64_scale_int64),
8124 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
8125 Add protentially more performant non-iterative 128/64 divide function
8126 that unfortunatly does not work yet.
8127 Shortcut the trivial 0/X = 0 case.
8128 Remove the warnings on overflow.
8130 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8132 * gst/gstplugin.c: (gst_plugin_register_func):
8133 everything causing a plugin not to load should be at least a WARNING
8135 2005-11-28 Stefan Kost <ensonic@users.sf.net>
8137 * docs/random/ensonic/dparams.txt:
8138 some TODOs for the next dev cycle
8139 * libs/gst/controller/gstcontroller.c:
8140 (gst_controlled_property_set_interpolation_mode),
8141 (gst_controlled_property_new):
8142 * libs/gst/controller/gstcontroller.h:
8143 use base type to assign acccessor functions
8145 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
8147 * check/Makefile.am:
8148 Oops, that should have been top_srcdir
8150 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
8152 * check/Makefile.am:
8153 * check/elements/fdsrc.c: (GST_START_TEST):
8154 Use a cmdline define to specify the location of a file to use for
8155 testing, to avoid breaking distcheck.
8157 2005-11-28 Andy Wingo <wingo@pobox.com>
8159 * gst/gstpad.c (fixate_value): Use array functions for arrays.
8161 2005-11-28 Edward Hervey <edward@fluendo.com>
8163 * tools/gst-launch.c: (main):
8164 Clarify the output strings, makes it easier to translate.
8167 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8170 don't try and build net if we don't even have <sys/socket.h>
8172 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
8174 * check/Makefile.am:
8175 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
8176 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
8177 Add tests for fdsrc seekability
8179 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
8180 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
8181 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
8182 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
8183 * gst/elements/gstfdsrc.h:
8184 fdsrc should not be a 'live' source.
8185 Implement seeking on seekable fd's.
8187 * gst/gstquery.c: (gst_query_new_seeking),
8188 (gst_query_parse_seeking):
8190 Implement SEEKING query functions:
8191 *_new_seeking and *_parse_seeking
8193 2005-11-27 Stefan Kost <ensonic@users.sf.net>
8195 * gst/gstelement.c: (gst_element_dispose):
8198 * gst/gstiterator.c:
8199 * gst/gststructure.c:
8202 * libs/gst/controller/gstcontroller.c:
8203 (gst_controlled_property_set_interpolation_mode):
8204 * libs/gst/controller/gstcontroller.h:
8205 * libs/gst/controller/gstinterpolation.c:
8206 (interpolate_none_get_enum_value_array):
8207 support controlling enums
8209 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
8212 Improve documentation for gst_value_union().
8215 Change return value for union, intersect and subtract functions
8216 from gint to gboolean.
8218 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
8220 * gst/gstvalue.c: (gst_value_serialize_any_list),
8221 (gst_value_transform_any_list_string),
8222 (gst_value_deserialize_list), (gst_value_deserialize_array),
8223 (gst_value_set_int_range), (gst_value_deserialize_int_range),
8224 (gst_value_set_double_range), (gst_value_deserialize_double_range),
8225 (gst_value_set_fraction_range_full),
8226 (gst_value_deserialize_fraction_range),
8227 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
8228 (gst_value_deserialize_boolean),
8229 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
8230 (gst_value_serialize_float), (gst_value_deserialize_float),
8231 (gst_string_wrap), (gst_value_deserialize_string),
8232 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
8233 (gst_value_union_int_range_int_range),
8234 (gst_value_intersect_int_range_int_range),
8235 (gst_value_intersect_double_range_double_range),
8236 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
8237 (gst_value_subtract_int_range_int_range),
8238 (gst_value_subtract_double_double_range),
8239 (gst_value_subtract_double_range_double_range),
8240 (gst_value_deserialize_fraction):
8242 Use gint, gdouble and gchar in our API instead of int, double and
8243 char (and make usage in gstvalue.c more consistent).
8245 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
8247 * check/Makefile.am:
8248 * libs/gst/controller/Makefile.am:
8249 * libs/gst/dataprotocol/Makefile.am:
8250 fix up Makefile.am and remove GST_ENABLE_NEW
8252 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
8256 * gst/base/Makefile.am:
8257 * gst/check/Makefile.am:
8258 * gst/elements/Makefile.am:
8259 * gst/net/Makefile.am:
8260 update LDFLAGS use some more
8262 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
8264 * common/m4/gst-doc.m4:
8267 2005-11-26 Edward Hervey <edward@fluendo.com>
8269 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8270 This shouldn't issue a g_warning since it returns NULL if it
8271 couldn't find the plugin, and all functions using this behave
8272 properly on a NULL return. Switching to a GST_WARNING.
8274 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
8276 * gst/gstbin.c: (gst_bin_handle_message_func):
8277 Don't leak clock messages.
8279 2005-11-25 Wim Taymans <wim@fluendo.com>
8281 * gst/gstutils.c: (gst_util_uint64_scale_int64),
8282 (gst_util_uint64_scale_int):
8283 Optimisations, remove unneeded vars.
8285 2005-11-25 Wim Taymans <wim@fluendo.com>
8287 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8288 Added more checks for the high precision uint64 cases.
8290 * gst/gstutils.c: (gst_util_uint64_scale_int64),
8291 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
8292 Implement high precision (guint64 * guint64) / guint64.
8294 2005-11-24 Wim Taymans <wim@fluendo.com>
8296 * gst/base/gstbasesrc.c: (gst_base_src_query):
8297 Fix wrong percentage query.
8299 * gst/gstutils.c: (gst_util_uint64_scale),
8300 (gst_util_uint64_scale_int):
8301 Add some more common cases that can be handled
8302 efficiently to _scale.
8304 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
8306 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
8307 (gst_mini_object_suite):
8308 don't use check calls from threads; check probably isn't
8309 threadsafe and using a lock to make it threadsafe would
8310 defeat the purpose of this check
8311 * gst/check/gstcheck.c:
8312 * gst/check/gstcheck.h:
8313 use GST_DEBUG some more
8315 2005-11-24 Wim Taymans <wim@fluendo.com>
8317 * gst/gstutils.c: (gst_util_uint64_scale),
8318 (gst_util_uint64_scale_int):
8319 Chain trivial case to _scale_int.
8321 2005-11-24 Wim Taymans <wim@fluendo.com>
8323 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8324 Added test for scaling.
8329 * gst/gstutils.c: (gst_util_uint64_scale_int):
8330 Implemented high precision scaling code.
8332 2005-11-24 Stefan Kost <ensonic@users.sf.net>
8335 do not crash on pad==NULL
8337 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
8339 Patch by: Stefan Kost
8341 * common/gtk-doc.mak:
8342 * docs/gst/Makefile.am:
8343 * docs/libs/Makefile.am:
8344 Fix distcheck issues for the libraries docs build
8347 2005-11-24 Michael Smith <msmith@fluendo.com>
8349 * docs/manual/basics-helloworld.xml:
8350 Fix bug #315027: memory leak in example code in docs.
8352 2005-11-24 Michael Smith <msmith@fluendo.com>
8354 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8355 Unlock the PREROLL_LOCK in a failure case.
8357 2005-11-24 Wim Taymans <wim@fluendo.com>
8359 * docs/gst/gstreamer-sections.txt:
8360 * gst/base/gstadapter.h:
8361 * gst/base/gstbasesink.h:
8362 * gst/base/gstbasesrc.h:
8363 * gst/base/gstbasetransform.h:
8364 * gst/base/gstpushsrc.h:
8365 * gst/elements/gstfakesink.h:
8366 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
8367 * gst/elements/gstfakesrc.h:
8368 * gst/elements/gstfilesink.h:
8369 * gst/elements/gstfilesrc.h:
8372 * gst/gstbuffer.c: (_gst_buffer_copy):
8375 * gst/gstchildproxy.c:
8378 * gst/gstelementfactory.c:
8379 * gst/gstelementfactory.h:
8381 * gst/gstghostpad.h:
8383 * gst/gstinterface.h:
8384 * gst/gstminiobject.c:
8385 * gst/gstminiobject.h:
8388 * gst/gstpadtemplate.h:
8389 * gst/gstpipeline.h:
8390 * gst/gstpluginfeature.h:
8395 * gst/gsttagsetter.c:
8396 * gst/gsttagsetter.h:
8399 * gst/gsttypefind.h:
8402 * gst/net/gstnetclientclock.c:
8403 * gst/net/gstnetclientclock.h:
8404 * gst/net/gstnettimepacket.c:
8405 * gst/net/gstnettimeprovider.c:
8406 * gst/net/gstnettimeprovider.h:
8409 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8411 * configure.ac: back to HEAD
8413 === release 0.9.6 ===
8415 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8418 releasing 0.9.6, "Always On Time"
8420 2005-11-23 Wim Taymans <wim@fluendo.com>
8422 * docs/gst/gstreamer-sections.txt:
8423 * gst/glib-compat.c:
8424 * gst/gsttagsetter.c:
8426 * gst/net/gstnetclientclock.c:
8427 * gst/net/gstnettimepacket.h:
8430 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8432 * docs/faq/using.xml:
8433 * docs/libs/tmpl/gstcontrol.sgml:
8434 * docs/manual/advanced-dparams.xml:
8435 * docs/manual/appendix-checklist.xml:
8436 * docs/manual/basics-elements.xml:
8437 * docs/pwg/other-source.xml:
8438 * docs/random/moving-plugins:
8440 * tools/gst-launch.1.in:
8441 remove mentions of sinesrc
8443 2005-11-23 Michael Smith <msmith@fluendo.com>
8445 * docs/gst/gstreamer-sections.txt:
8446 Update for new API and API changes.
8448 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
8450 Documentation typo fix.
8451 * gst/net/gstnettimepacket.c:
8452 Documentation fixes for arguments.
8454 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
8456 * gst/gststructure.c: (gst_structure_get_fraction),
8457 (gst_structure_parse_value),
8458 (gst_structure_fixate_field_nearest_fraction):
8459 * gst/gststructure.h:
8460 * gst/gstutils.c: (gst_util_uint64_scale_int):
8462 * scripts/update-funcnames:
8464 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
8465 Make gst_structure_fixate_field_nearest_fraction take a numerator
8466 and denominator argument instead of a GValue
8467 add gst_structure_get_fraction helper function.
8469 2005-11-23 Wim Taymans <wim@fluendo.com>
8471 * docs/design/part-TODO.txt:
8474 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8475 * gst/net/gstnetclientclock.h:
8476 Use parent fields for timeout and window_size.
8478 2005-11-23 Andy Wingo <wingo@pobox.com>
8480 * check/net/gstnetclientclock.c (test_functioning): Adjust to
8481 rate_num/rate_denom change.
8483 * gst/net/gstnetclientclock.c
8484 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
8485 OBJECT_LOCK. Don't call add_observation with the lock.
8487 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
8489 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
8491 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
8492 deal with rate as a fraction whose numerator and denominator are
8493 GstClockTime values.
8494 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
8495 master; the other fields are protected by the SLAVE_LOCK.
8496 (do_linear_regression): Note that this must be called with the
8498 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
8499 OBJECT_LOCK. Call set_calibration instead of touching the
8501 (gst_clock_set_property, gst_clock_get_property): Protect
8502 master/slave parameters with the SLAVE_LOCK.
8504 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
8505 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
8506 note that all of the instance variables that add_observation and
8507 the set_master functions use are protected by that lock and not
8509 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
8511 * gst/gstclock.c (gst_clock_add_observation): No longer requires
8512 the caller to take the object lock.
8514 2005-11-23 Wim Taymans <wim@fluendo.com>
8516 * gst/gsterror.c: (_gst_core_errors_init):
8518 Add error for clock stuff.
8520 * gst/gstpipeline.c: (gst_pipeline_change_state),
8521 (gst_pipeline_set_clock):
8522 Post clock error when clock cannot be used in a pipeline.
8524 2005-11-23 Stefan Kost <ensonic@users.sf.net>
8526 * docs/gst/gstreamer-sections.txt:
8527 make two symbols from gstinfo private for the docs
8528 * gst/base/gstcollectpads.h:
8530 fix doc typos, update docs
8532 2005-11-22 Wim Taymans <wim@fluendo.com>
8534 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
8535 (gst_base_sink_wait), (gst_base_sink_do_sync),
8536 (gst_base_sink_handle_event):
8537 * gst/base/gstbasesink.h:
8538 No need to store the clock, the parent element class already
8541 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
8542 Updates for clock_set returning a gboolean
8544 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
8545 (gst_clock_id_wait_async), (gst_clock_class_init),
8546 (gst_clock_init), (gst_clock_finalize),
8547 (gst_clock_get_internal_time), (gst_clock_get_time),
8548 (gst_clock_slave_callback), (gst_clock_set_master),
8549 (gst_clock_get_master), (do_linear_regression),
8550 (gst_clock_add_observation), (gst_clock_set_property),
8551 (gst_clock_get_property):
8553 Implement master/slave. When setting a clock as a slave, a
8554 periodic timeout is scheduled to sample master and slave times.
8555 Then the slave clock is recalibrated to match offset and rate
8556 of the master clock.
8557 Update logging a bit.
8558 Add flag so that a clock can state that is cannot be slaved to
8561 * gst/gstelement.c: (gst_element_set_clock):
8563 The set clock returns a gboolean for when an element cannot
8564 deal with the selected clock in the pipeline.
8566 * gst/gstpipeline.c: (gst_pipeline_change_state),
8567 (gst_pipeline_set_clock):
8568 * gst/gstpipeline.h:
8569 Handle the case where the selected clock cannot be set on
8572 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
8573 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8574 (gst_net_client_clock_set_property),
8575 (gst_net_client_clock_get_property),
8576 (gst_net_client_clock_observe_times):
8577 * gst/net/gstnetclientclock.h:
8578 Use regression code in GstClock parent, remove duplicated
8581 2005-11-22 Michael Smith <msmith@fluendo.com>
8583 * gst/gstutils.c: (gst_util_clock_time_scale):
8585 * docs/gst/gstreamer-sections.txt:
8586 Rename method to have extra underscore.
8588 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
8590 * gst/elements/Makefile.am:
8591 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
8592 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8593 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8594 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
8595 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
8596 * gst/elements/gstfakesrc.h:
8597 * gst/gstqueue.c: (queue_leaky_get_type):
8598 correctly fix GEnumValues so that nick is the short lowercase
8600 * tools/gst-inspect.c: (print_element_properties_info):
8601 also show the nick, since it's useful to use from parse_launch
8605 2005-11-22 Michael Smith <msmith@fluendo.com>
8607 * gst/gstutils.c: (gst_util_clocktime_scale):
8609 * docs/gst/gstreamer-sections.txt:
8610 Add util method for scaling a clocktime by a fraction. Useful
8611 implementation is left as an exercise for the reader.
8613 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8615 * gst/gstvalue.c: (gst_value_collect_fraction_range):
8616 If needed, allocate storage in the destination value during
8619 2005-11-22 Edward Hervey <edward@fluendo.com>
8621 * docs/gst/gstreamer-sections.txt:
8626 * gst/gstutils.c: (gst_util_set_object_arg):
8627 * tools/gst-compprep.c: (main):
8628 * tools/gst-inspect.c: (print_element_properties_info):
8629 Removed GstURI, closes bug #321061
8631 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8633 * check/gst/gststructure.c: (GST_START_TEST):
8634 * gst/gststructure.c: (gst_structure_parse_value):
8635 Oops, broke automatic string type parsing.
8636 Add a test to catch it in future.
8638 2005-11-22 Andy Wingo <wingo@pobox.com>
8640 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
8641 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
8642 Actually rename the function implementations. Grr.
8644 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8646 * check/gst/capslist.h:
8648 * check/gst/gststructure.c: (GST_START_TEST),
8649 (gst_structure_suite):
8650 Test automatic value type detection in gst_structure_from_string.
8651 * gst/gststructure.c: (gst_structure_parse_value):
8652 Add fraction as a type we try and guess automatically in
8653 caps/structure strings.
8655 2005-11-22 Andy Wingo <wingo@pobox.com>
8657 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
8659 * gst/gsttagsetter.h:
8660 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
8661 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
8662 (gst_tag_setter_add_tag_valist)
8663 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
8664 _add_values, _add_valist, and _add_valist_values. Since this is an
8665 interface the function suffixes should be more explicit so
8666 language binding don't end up with element.add_valist ->
8667 gst_tag_setter_add_valist, for example. Fixes #322069.
8669 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8671 * check/gst/gstcaps.c: (GST_START_TEST):
8672 Extend caps string tests to check that a caps to string
8673 conversion is reversible and produces the same caps.
8675 * gst/gststructure.c: (gst_structure_value_get_generic_type):
8676 Output "fraction" as the generic type fraction range, so caps
8677 serialisation and deserialisation works.
8678 * check/gst/capslist.h:
8679 * gst/gstvalue.c: (gst_value_deserialize_fraction):
8680 Support 'MIN' and 'MAX' for deserialising fractions.
8682 2005-11-22 Andy Wingo <wingo@pobox.com>
8684 * gst/gstevent.h (gst_event_new_new_segment)
8685 (gst_event_parse_new_segment, gst_event_new_buffer_size)
8686 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
8687 Renamed from *_newsegment, *_buffersize, *_notarget.
8689 * scripts/update-funcnames: New script, performs the changes
8692 2005-11-22 Wim Taymans <wim@fluendo.com>
8694 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8695 Make sure the GstFlowReturn is returned.
8697 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
8698 (gst_bus_add_signal_watch):
8700 add gst_bus_add_signal_watch_full.
8702 * gst/gstplugin.c: (gst_plugin_load_file):
8703 Small style cleanup.
8705 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8707 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
8708 Block the fakesrc srcpad when we send an event, to avoid
8709 contention on the stream_lock causing random test failures.
8711 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8713 * check/gst/gstvalue.c: (GST_START_TEST):
8714 * gst/gstvalue.c: (gst_value_fraction_subtract):
8717 2005-11-22 Stefan Kost <ensonic@users.sf.net>
8720 include "gstchildproxy.h"
8721 * gst/gstchildproxy.h:
8722 * libs/gst/controller/gstcontroller.h:
8723 use G_GNUC_NULL_TERMINATED
8725 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8727 * check/gst/capslist.h:
8728 * check/gst/gstcaps.c: (GST_START_TEST):
8729 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8730 * gst/gststructure.c: (gst_structure_parse_range),
8731 (gst_structure_fixate_field_nearest_fraction):
8732 * gst/gststructure.h:
8733 * gst/gstvalue.c: (gst_value_init_fraction_range),
8734 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8735 (gst_value_collect_fraction_range),
8736 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8737 (gst_value_set_fraction_range_full),
8738 (gst_value_get_fraction_range_min),
8739 (gst_value_get_fraction_range_max),
8740 (gst_value_serialize_fraction_range),
8741 (gst_value_transform_fraction_range_string),
8742 (gst_value_compare_fraction_range),
8743 (gst_value_deserialize_fraction_range),
8744 (gst_value_intersect_fraction_fraction_range),
8745 (gst_value_intersect_fraction_range_fraction_range),
8746 (gst_value_subtract_fraction_fraction_range),
8747 (gst_value_subtract_fraction_range_fraction),
8748 (gst_value_subtract_fraction_range_fraction_range),
8749 (gst_value_collect_fraction), (gst_value_fraction_multiply),
8750 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8751 (gst_value_transform_string_fraction), (_gst_value_initialize):
8753 Implement fraction ranges and extend GstFraction to support
8754 arithmetic subtraction, as well as deserialization from integer
8755 strings such as "100"
8756 Add a testsuite as for int and double range set operations
8758 2005-11-21 Andy Wingo <wingo@pobox.com>
8762 * gst/gststructure.h: Add glib-compat.h.
8764 2005-11-21 Wim Taymans <wim@fluendo.com>
8766 * gst/gstbin.c: (gst_bin_change_state_func):
8769 2005-11-21 Wim Taymans <wim@fluendo.com>
8772 And add a nice define too.
8774 2005-11-21 Wim Taymans <wim@fluendo.com>
8776 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8777 (gst_segment_new), (gst_segment_free), (gst_segment_init),
8778 (gst_segment_set_duration), (gst_segment_set_last_stop),
8779 (gst_segment_set_seek), (gst_segment_set_newsegment),
8780 (gst_segment_to_stream_time), (gst_segment_to_running_time),
8783 Make binding friendly.
8785 2005-11-21 Andy Wingo <wingo@pobox.com>
8787 * gst/gsttagsetter.h:
8789 * gst/gststructure.h:
8791 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8794 * gst/gsterror.c (_gst_core_errors_init):
8795 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8798 * gst/Makefile.am (gst_headers): Add glib-compat.h.
8799 (noinst_HEADERS): noinst the -private.
8801 2005-11-21 Michael Smith <msmith@fluendo.com>
8804 * gst/gstregistry.h:
8805 Remove unimplemented declarations for which we can see no sensible
8808 2005-11-21 Andy Wingo <wingo@pobox.com>
8810 * gst/gst.h: Include glib-compat.h.
8812 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8814 * gst/glib-compat.c: Include the public and the private header.
8816 * gst/glib-compat-private.h: Copied here from glib-compat.h.
8820 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
8822 * check/gst/gstevent.c (create_custom_events): Check that
8823 FLUSH_STOP is serialized.
8825 * check/elements/identity.c (event_func):
8826 * check/elements/fakesrc.c (event_func): No stream lock, the core
8829 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
8830 stream lock taking, yay.
8832 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
8833 ensure that core takes the stream lock.
8835 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
8838 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
8839 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
8840 it already. For the flush start we do take it though so we get the
8841 right preroll state change messages.
8843 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
8844 the stream lock here, the core does it for us.
8846 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
8847 GST_STREAM_GET_LOCK.
8848 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
8849 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
8850 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
8851 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
8852 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
8853 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
8855 * gst/gstpad.c: Update for stream lock name change.
8857 * gst/base/gstbasesink.c: Update for preroll lock name change.
8859 2005-11-21 Wim Taymans <wim@fluendo.com>
8861 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
8862 (gst_clock_get_master):
8864 * gst/gstsystemclock.c: (gst_system_clock_init):
8865 Convert Clock flags to object flags.
8866 Added methods to manage master/slave clocks.
8868 2005-11-21 Wim Taymans <wim@fluendo.com>
8870 * check/gst/gstsegment.c: (GST_START_TEST):
8871 * docs/design/part-TODO.txt:
8872 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8873 (gst_base_sink_event), (gst_base_sink_do_sync),
8874 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8875 (gst_base_sink_query), (gst_base_sink_change_state):
8876 * gst/base/gstbasesink.h:
8877 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8878 (gst_base_src_default_newsegment),
8879 (gst_base_src_configure_segment), (gst_base_src_do_seek),
8880 (gst_base_src_get_range), (gst_base_src_loop),
8881 (gst_base_src_change_state):
8882 * gst/base/gstbasesrc.h:
8883 * gst/base/gstbasetransform.c:
8884 (gst_base_transform_prepare_output_buf),
8885 (gst_base_transform_event), (gst_base_transform_change_state):
8886 * gst/base/gstbasetransform.h:
8887 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8888 (gst_collect_pads_event):
8889 * gst/base/gstcollectpads.h:
8890 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
8891 (gst_fake_src_create):
8892 * gst/elements/gstfakesrc.h:
8893 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8894 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8895 (gst_segment_set_last_stop), (gst_segment_set_seek),
8896 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8897 (gst_segment_to_running_time), (gst_segment_clip):
8899 More segment updates, replace code in plugins with segment
8902 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8904 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
8905 Don't ignore sscanf results
8907 2005-11-21 Andy Wingo <wingo@pobox.com>
8909 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
8912 * *.c: Ran scripts/update-macros. Oh yes.
8914 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
8915 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
8918 * scripts/update-macros: New script. Run it on your files to
8919 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
8922 2005-11-21 Stefan Kost <ensonic@users.sf.net>
8924 * docs/gst/Makefile.am:
8925 * docs/gst/gstreamer-docs.sgml:
8926 * docs/gst/gstreamer-sections.txt:
8927 * docs/gst/gstreamer.types:
8929 more docs fixes, add new api to the docs
8931 2005-11-21 Andy Wingo <wingo@pobox.com>
8933 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
8934 state_broadcast call.
8936 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
8938 2005-11-21 Julien MOUTTE <julien@moutte.net>
8940 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
8941 function calls for arrays.
8943 2005-11-21 Stefan Kost <ensonic@users.sf.net>
8945 * docs/random/ensonic/media-device-daemon.txt:
8946 wild idea, can this be done?
8947 * docs/gst/gstreamer-sections.txt:
8952 * gst/gstpluginfeature.c:
8956 doc fixes and additions
8958 2005-11-21 Andy Wingo <wingo@pobox.com>
8960 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
8961 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
8962 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
8963 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
8964 private to the basesrc implementation.
8966 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
8967 behalf of event function if necessary. It should no longer be
8968 necessary to take the stream lock in pad's event functions. Fixes
8971 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8972 * docs/gst/gstreamer-sections.txt:
8973 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
8974 (gst_structure_fixate_field_nearest_double),
8975 (gst_structure_fixate_field_boolean):
8976 * gst/gststructure.h:
8977 * win32/common/libgstreamer.def:
8978 * win32/gstreamer.def:
8980 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
8983 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8985 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
8986 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
8987 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
8988 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
8989 (gst_fdsrc_uri_handler_init):
8990 * gst/elements/gstfdsrc.h:
8991 Port fd:// URI handler from 0.8 to fdsrc
8993 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8995 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
8996 (gst_value_serialize_fourcc):
8998 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
8999 consistent with our other format defines (#320324).
9001 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9003 * gst/gstvalue.c: (gst_value_is_fixed):
9004 Revert previous commit. Value lists are by definition
9005 not fixed, as they are a list of possible values.
9007 2005-11-21 Andy Wingo <wingo@pobox.com>
9009 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
9010 during the stable series if we need it. Fixes #319178.
9012 * gst/gstevent.c (gst_event_new_filler): Removed.
9014 * check/gst/gstevent.c: Update comment about filler events.
9016 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9018 * gst/gstvalue.c: (gst_value_is_fixed):
9019 Should handle both value arrays and value lists.
9021 2005-11-21 Andy Wingo <wingo@pobox.com>
9023 patch by: Alessandro Dessina <alessandro nnva org>
9025 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
9026 functions to access arrays. Fixes #321962.
9028 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9030 * docs/gst/gstreamer.types:
9031 gst_collectpads_get_type => gst_collect_pads_get_type.
9033 * gst/base/gstbasetransform.c:
9034 Remove unused SIGNAL_HANDOFF enum.
9036 2005-11-21 Andy Wingo <wingo@pobox.com>
9038 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
9039 the event type (upstream, downstream, serialized). Renamed
9040 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
9041 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
9042 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
9044 * gst/gstevent.c: Update for new CUSTOM event names.
9046 * check/gst/gstevent.c: Update check for new CUSTOM event names.
9049 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
9052 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9054 * docs/gst/gstreamer-sections.txt:
9055 * win32/common/libgstbase.def:
9056 * win32/libgstbase.def:
9057 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9058 (gst_collect_pads_class_init), (gst_collect_pads_init),
9059 (gst_collect_pads_finalize), (gst_collect_pads_new),
9060 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
9061 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
9062 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
9063 (gst_collect_pads_start), (gst_collect_pads_stop),
9064 (gst_collect_pads_peek), (gst_collect_pads_pop),
9065 (gst_collect_pads_available), (gst_collect_pads_read),
9066 (gst_collect_pads_flush), (gst_collect_pads_event),
9067 (gst_collect_pads_chain):
9068 * gst/base/gstcollectpads.h:
9069 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
9070 unimplemented functions as unimplemented. Add padding to
9071 GstCollectData. (#320766, #320423)
9073 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9076 Improve docs for DURATION message (usage of duration parameter)
9079 2005-11-20 Wim Taymans <wim@fluendo.com>
9081 * check/Makefile.am:
9082 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
9086 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
9087 (gst_segment_set_seek), (gst_segment_set_newsegment),
9088 (gst_segment_to_stream_time), (gst_segment_to_running_time),
9091 Added segment helper structure and methods. Not fully implemented
9093 Added segment check.
9095 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
9097 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9098 Add a deserialisation test for fractions
9099 * examples/metadata/read-metadata.c: (message_loop),
9100 (make_pipeline), (main):
9101 Fix up metadata reading sample.
9102 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9104 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9105 Don't try and fixate empty caps
9106 * gst/gst_private.h:
9107 Wrap in G_BEGIN_DECLS/G_END_DECLS
9108 * gst/gstvalue.c: (gst_value_collect_fraction),
9109 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
9110 (gst_value_transform_string_fraction),
9111 (gst_value_compare_fraction):
9112 Add some extra guards to ensure that we don't end up
9113 with an invalid denominator of 0 in a gstfraction and
9114 that fractions always get reduced.
9116 2005-11-20 Wim Taymans <wim@fluendo.com>
9118 * docs/gst/gstreamer-sections.txt:
9129 2005-11-20 Wim Taymans <wim@fluendo.com>
9131 * docs/design/part-TODO.txt:
9133 Make a proper enum of the flag.
9135 2005-11-19 Wim Taymans <wim@fluendo.com>
9137 * docs/design/part-TODO.txt:
9138 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
9139 (gst_format_to_quark), (gst_format_register):
9141 * gst/gstquery.c: (_gst_query_initialize),
9142 (gst_query_type_get_name), (gst_query_type_to_quark),
9143 (gst_query_type_register):
9145 Add type to quark and type to string conversions.
9147 2005-11-19 Andy Wingo <wingo@pobox.com>
9149 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
9152 2005-11-19 Wim Taymans <wim@fluendo.com>
9154 * docs/design/part-TODO.txt:
9155 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
9156 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
9157 (gst_bin_handle_message_func):
9159 Make message handling overridable.
9161 2005-11-19 Andy Wingo <wingo@pobox.com>
9163 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
9166 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
9168 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
9169 is a GstClockTime. Fixes #321710.
9171 * gst/gstclock.h (GstClock): Remove offset property. Add
9172 internal_calibration and external_calibration. Fix padding. Pad
9173 also by GstClockTime so we don't run into problems.
9175 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
9176 (gst_clock_get_rate_offset): Remove.
9177 (gst_clock_set_time_adjust): Remove. Fixes #321712.
9180 * gst/gstutils.c (g_static_rec_cond_wait)
9181 (g_static_rec_cond_timed_wait): Removed, no longer needed.
9183 * gst/gstbin.c: Remove terrible continue_state prototype.
9185 * gst/gstelement.h (gst_element_continue_state): Make public.
9188 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
9189 by continue_state. Fixes #319389.
9191 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
9192 Really fixes #168438. However I don't see anywhere where the
9193 filter function is called... stupid GStreamer...
9195 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
9196 don't have a dispose function, so it won't get called when the
9197 object is unreffed, but oh well!
9199 * gst/gstindex.c (gst_index_set_filter_full): New API function,
9200 allows a destroy function to be set so user_data can be freed.
9202 (gst_index_set_filter): Call gst_index_set_filter_full.
9204 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
9206 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
9207 string should produce an error, given the lack of a way to
9208 represent NULL strings. Fixes #165650.
9211 * gst/gstvalue.c (gst_value_array_append_value)
9212 (gst_value_array_prepend_value, gst_value_array_get_size)
9213 (gst_value_array_get_value): New API, copied from
9214 gst_value_list_*, only operates on arrays.
9215 (gst_value_list_append_value, gst_value_list_prepend_value)
9216 (gst_value_list_concat, gst_value_list_get_size)
9217 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
9219 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
9220 init_list, because it works on both.
9221 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
9222 (gst_value_copy_list_or_array): Renamed from copy_list.
9223 (gst_value_free_list_or_array): Renamed from free_list.
9224 (gst_value_collect_list_or_array): Renamed from collect_list.
9225 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
9226 (gst_value_list_or_array_peek_pointer): Renamed from
9228 (_gst_value_array_value_table, _gst_value_list_value_table):
9229 Update value table functions.
9230 (gst_value_compare_list_or_array): Renamed from compare_list.
9232 * gsttaglist.h: Whoops, foreach function returns void. Also fix
9236 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
9237 GstTagList*. Fixes #143472.
9239 * gst/gststructure.h: Clarify what the foreach/map functions can
9240 or can't do to their arguments.
9242 2005-11-18 Wim Taymans <wim@fluendo.com>
9244 * gst/gstclock.c: (gst_clock_set_calibration),
9245 (gst_clock_get_calibration):
9247 Calibration can be set with internal time equal to current
9250 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
9256 2005-11-18 Andy Wingo <wingo@pobox.com>
9259 * pkgconfig/gstreamer-net.pc.in:
9260 * pkgconfig/gstreamer-net-uninstalled.pc.in:
9261 * pkgconfig/Makefile.am: Add net pkgconfig files.
9263 2005-11-18 Stefan Kost <ensonic@users.sf.net>
9266 * gst/gstghostpad.c:
9272 2005-11-18 Andy Wingo <wingo@pobox.com>
9274 * gst/net/gstnetclientclock.c: Turn off debugging.
9276 * check/net/gstnetclientclock.c (test_functioning): Assert that the
9277 times connverge somewhat. Can't make a real test.
9279 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
9280 integer arithmetic. Return the minimum of the domain, which can be
9281 set as "internal" for gst_clock_set_calibration.
9282 (gst_net_client_clock_observe_times): Call _set_calibration.
9283 (gst_net_client_clock_new): Call _set_calibration instead of
9286 * check/net/gstnetclientclock.c (test_functioning): Use the right
9290 * gst/gstclock.c (gst_clock_get_calibration)
9291 (gst_clock_set_calibration): New functions, obsolete the ones I
9292 added yesterday. Doh. Precision issues mean we have to extrapolate
9293 from a point in the more recent past than 1970.
9294 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
9296 (gst_clock_adjust_unlocked): Use the right calibration data.
9298 2005-11-18 Edward Hervey <edward@fluendo.com>
9300 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9301 Also reset the ->current_* values in READY->PAUSED
9303 2005-11-18 Andy Wingo <wingo@pobox.com>
9305 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
9306 Whoops, check the right fd. Also add some debugging.
9307 (gst_net_client_clock_observe_times): Adjust for int64 offset.
9308 (do_linear_regression): Add a crapload of debugging. Subtract off
9309 the minimum values from the input series to discard unneeded bits.
9310 Use only int arithmetic. There is still double arithmetic when
9311 calculating the intercept that needs fixing. Return boolean to
9312 indicate success; FALSE would mean the domain or range is too
9313 great. Still needs fixes.
9315 2005-11-18 Wim Taymans <wim@fluendo.com>
9317 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
9318 For the current position in stream time, we need to subtract
9321 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
9322 Release lock before calling the callback function of async
9325 2005-11-18 Andy Wingo <wingo@pobox.com>
9327 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
9328 Port goes all the way to MAXUINT16.
9330 * gst/net/gstnettimeprovider.c: Make the port range the same as
9331 for the kernel: 0 assigns, otherwise ports are less than
9334 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
9337 * check/net/gstnetclientclock.c (test_functioning): Add the start
9340 2005-11-18 Wim Taymans <wim@fluendo.com>
9342 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9343 (gst_bin_remove_func), (bin_bus_handler):
9345 Removing a clock provider from a bin, triggers a clock lost message
9346 so that a new clock will be selected.
9347 Adding a clock to a bin triggers a clock provider message.
9348 Make sure we reselect a clock when we received a clock lost message.
9349 Keep a reference to the element that provided the clock.
9351 2005-11-18 Andy Wingo <wingo@pobox.com>
9353 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
9354 the clock initially so it produces values around the base time.
9355 (gst_net_client_clock_class_init): Typo fix.
9356 (gst_net_client_clock_thread): Add note on when the socket gets
9359 2005-11-17 Wim Taymans <wim@fluendo.com>
9361 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
9362 Free remote and local time arrays.
9364 2005-11-17 Wim Taymans <wim@fluendo.com>
9366 * gst/net/gstnetclientclock.c: (do_linear_regression),
9367 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
9368 Fix compilation, uninitialized vars and a forgotten continue.
9370 2005-11-17 Andy Wingo <wingo@pobox.com>
9372 * check/Makefile.am (check_PROGRAMS):
9373 * check/net/gstnetclientclock.c: Add a most minimal test for the
9374 net client clock. More to come later.
9377 * gst/net/Makefile.am: Add netclientclock.
9379 * gst/net/gstnetclientclock.h:
9380 * gst/net/gstnetclientclock.c: New files, implement an untested
9381 GstClock that takes its time from a network time provider.
9382 Implements the algorithm in network-clock.scm.
9384 * tests/network-clock.scm (*window-size*): Rename from
9386 * tests/network-clock.scm (network-time):
9387 * tests/network-clock-utils.scm (q-push): Update callers.
9389 2005-11-17 Wim Taymans <wim@fluendo.com>
9391 * gst/gstbin.c: (gst_bin_provide_clock_func),
9392 (gst_bin_sort_iterator_new):
9393 And unref the child too..
9395 2005-11-17 Wim Taymans <wim@fluendo.com>
9397 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9398 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
9399 Refactor the sort iterator so it can be used while holding the
9401 Make clock selection select a clock closest to the source.
9403 2005-11-17 Michael Smith <msmith@fluendo.com>
9405 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
9406 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
9408 Anonymous structs are a gcc (and some other compilers) extension, so
9409 don't use them. Since this is only for ABI-compatibility, and our
9410 API/ABI freeze is over in a few days, this whole thing will only
9411 last a few days, so don't bother trying to think up a meaningful
9412 name for the struct.
9414 2005-11-17 Andy Wingo <wingo@pobox.com>
9416 * gst/gstclock.h (GstClock): Add rate and offset properties,
9417 preserving ABI stability. Add rate/offset accessors. Will file bug
9418 for the freeze break.
9420 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
9421 and offset, trying to keep precision and avoiding
9423 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
9424 functions. Make gst_clock_set_time_adjust obsolete.
9425 (gst_clock_set_time_adjust): Note that this function is obsolete.
9428 * gst/base/gstbasetransform.h: Make the ABI-stability hack
9429 greppable by using GST_PADDING-1+1.
9431 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
9433 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9435 * gst/gstmessage.c: (gst_message_parse_clock_lost):
9436 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
9438 * gst/gstpadtemplate.h:
9439 * gst/gstpluginfeature.h:
9440 Don't use c++ style comments in headers (#321638).
9442 2005-11-16 Andy Wingo <wingo@pobox.com>
9444 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
9447 * check/net/gstnettimeprovider.c: Check to see that the time
9448 provider actually provides times. Works, yo!
9450 2005-11-16 Wim Taymans <wim@fluendo.com>
9452 * check/Makefile.am:
9455 * check/elements/fakesrc.c: (GST_START_TEST):
9456 Set element to NULL before disposing it.
9458 2005-11-16 Andy Wingo <wingo@pobox.com>
9460 * gst/net/Makefile.am:
9462 * gst/net/gstnettimeprovider.c:
9463 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
9464 provider, include it from gstnet.h, and add it to the build.
9466 * gst/net/gstnettimepacket.h:
9467 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
9468 sending and receiving.
9470 2005-11-16 Wim Taymans <wim@fluendo.com>
9472 * check/Makefile.am:
9473 Enable valgrind check.
9475 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
9476 (gst_fake_src_alloc_buffer):
9479 2005-11-16 Wim Taymans <wim@fluendo.com>
9481 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
9482 Call parent finalize too.
9484 2005-11-16 Wim Taymans <wim@fluendo.com>
9486 * check/Makefile.am:
9487 Enable valgrind check that should work fine now.
9489 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9490 * gst/gstqueue.c: (gst_queue_init):
9491 Fix memleaks in pad allocation.
9493 2005-11-16 Andy Wingo <wingo@pobox.com>
9495 * gst/net/Makefile.am:
9496 * gst/net/gstnet.h: New part of core to hold network elements and
9497 objects. Put in core because it exposes API that applications want
9498 to use. The library is named libgstnet-tempname right now because
9499 of the existing libgstnet in gst-plugins-base. Solution is
9500 probably to rename the one in plugins-base; will file a bug for
9503 * gst/net/gstnettimeprovider.c:
9504 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
9505 get_time call over the network.
9508 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
9510 * check/Makefile.am:
9511 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
9512 get additions shortly.
9514 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9516 * gst/gstpad.c: (gst_pad_new_from_static_template):
9518 add gst_pad_new_from_static_template functions
9519 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
9520 (gst_check_setup_sink_pad):
9521 * gst/elements/gsttee.c: (gst_tee_init):
9524 2005-11-16 Wim Taymans <wim@fluendo.com>
9526 * gst/gstpad.c: (gst_pad_pause_task):
9527 Removed warning, it's not really an error either.
9529 2005-11-16 Wim Taymans <wim@fluendo.com>
9531 * gst/base/gstbasetransform.c:
9532 (gst_base_transform_prepare_output_buf),
9533 (gst_base_transform_event):
9534 Check if the caps are NULL, this can happen if the element
9535 is shutting down and the pad caps are set to NULL.
9537 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9539 * gst/elements/gsttee.c: (gst_tee_init):
9540 fix pad template leak in tee
9542 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9544 * gst/glib-compat.c: (g_value_dup_gst_object):
9545 * gst/glib-compat.h:
9546 * gst/gstpad.c: (gst_pad_set_property):
9547 use gst_object_ref when setting the pad template; this will
9548 trigger the pad template leaks on GLib 2.6 and the slaves
9550 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9552 * gst/glib-compat.c: (gst_flags_get_first_value):
9553 * gst/glib-compat.h:
9554 * gst/gstregistryxml.c:
9555 remove functions copied from GLib 2.6
9557 2005-11-16 Michael Smith <msmith@fluendo.com>
9560 Don't link against VALGRIND_LIBS. That was always the wrong thing to
9561 do, but only breaks with newer valgrind versions. We're not a
9562 valgrind tool, we have no link-time dependencies on libcoregrind.
9564 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9566 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9571 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9573 * gst/base/gstbasesrc.c: (gst_base_src_init):
9574 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9575 * gst/gstqueue.c: (gst_queue_init):
9576 * gst/gstregistryxml.c: (load_feature):
9577 Revert all these unrefs, they don't even pass make check !
9579 2005-11-15 Johan Dahlin <johan@gnome.org>
9581 * gst/base/gstbasesrc.c: (gst_base_src_init):
9582 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9583 * gst/gstqueue.c: (gst_queue_init):
9584 Free pad templates, fixes a couple of leaks.
9586 2005-11-15 Daniel Fischer <dan at f3c dot com>
9588 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9590 * gst/gstpad.c: (gst_pad_get_property):
9591 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
9592 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
9595 2005-11-15 Wim Taymans <wim@fluendo.com>
9600 2005-11-15 Andy Wingo <wingo@pobox.com>
9602 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
9604 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
9605 using GST_CLOCK_TIME_NONE to disable base time management.
9606 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
9607 time if it was NONE before.
9608 (gst_pipeline_change_state): Only munge the base time if
9609 stream_time != GST_CLOCK_TIME_NONE.
9611 * check/gst/gstpipeline.c (test_base_time): Punt around the
9612 problem of the probe not being called, because that's not the
9613 issue I'm looking at. Add a check that setting stream_time to NONE
9614 disables base time management.
9616 2005-11-15 Wim Taymans <wim@fluendo.com>
9618 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9619 segment_stop == -1 at startup.
9621 * gst/base/gstbasetransform.c: (gst_base_transform_event),
9622 (gst_base_transform_change_state):
9623 Init segment values at start.
9625 2005-11-15 Wim Taymans <wim@fluendo.com>
9627 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9628 0 segment values are 0 in any format.
9630 * gst/base/gstbasetransform.c: (gst_base_transform_event):
9631 * gst/base/gstbasetransform.h:
9632 Parse newsegment correctly in basetransform
9634 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
9635 Sync to clock using updated segment values.
9637 2005-11-15 Andy Wingo <wingo@pobox.com>
9639 * check/gst/gstpipeline.c (test_base_time): Add check that the
9640 base time and stream time are reset correctly.
9642 2005-11-15 Wim Taymans <wim@fluendo.com>
9644 * docs/design/part-TODO.txt:
9645 Some more TODO items.
9647 2005-11-15 Andy Wingo <wingo@pobox.com>
9649 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
9650 error if the user selected "no clock" as the clocking method.
9652 * check/gst/gstpipeline.c (test_base_time): New test for buffer
9653 timestamps with live capture.
9655 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
9656 is 0 but we are a live source, timestamp the buffers using the
9659 2005-11-14 Stefan Kost <ensonic@users.sf.net>
9661 * docs/gst/gstreamer-sections.txt:
9663 * gst/gstghostpad.c:
9668 2005-11-14 Wim Taymans <wim@fluendo.com>
9671 add suppressions from Wim's Debian machine
9673 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
9676 add suppressions from Andy's AMD64 Ubuntu machine
9678 2005-11-14 Andy Wingo <wingo@pobox.com>
9680 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
9681 STATE_LOCK not necessary. Fixes #311489.
9683 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
9686 * gst/gstindex.c (gst_index_add_object): Note in the docs that
9687 this function is not implemented.
9689 2005-11-14 Julien MOUTTE <julien@moutte.net>
9691 * gst/base/gstbasetransform.c:
9692 (gst_base_transform_prepare_output_buf):
9693 Ref the source pad caps while we need them.
9696 2005-11-11 Wim Taymans <wim@fluendo.com>
9698 * docs/gst/gstreamer-sections.txt:
9699 Added some docs for GstCollectData.
9701 * gst/base/gstadapter.c:
9702 Some small code example fix.
9704 * gst/base/gstcollectpads.c:
9705 * gst/base/gstcollectpads.h:
9708 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9710 * configure.ac: back to HEAD
9712 === release 0.9.5 ===
9714 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9717 releasing 0.9.5, "Bike Lunch Day"
9719 2005-11-11 Wim Taymans <wim@fluendo.com>
9721 * gst/gstbuffer.c: (_gst_buffer_copy):
9724 * gst/gstcaps.c: (gst_caps_is_equal):
9726 Make _is_equal fast in the trivial cases.
9728 * gst/gstminiobject.c:
9729 * gst/gstminiobject.h:
9730 More docs. Spifify .h file.
9735 2005-11-11 Wim Taymans <wim@fluendo.com>
9737 * gst/base/gstbasetransform.c:
9738 (gst_base_transform_prepare_output_buf),
9739 (gst_base_transform_handle_buffer):
9741 If we're processing a buffer and need to allocate an output
9742 buffer, we cannot accept a format change. If we did get a
9743 format change, we have to alloc a buffer ourselves of the
9746 2005-11-11 Wim Taymans <wim@fluendo.com>
9748 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9749 While checking the flag for reentrancy in the gstcaps function
9750 is nice to detect recursive invocations, it also makes it
9751 impossible to call getcaps from multiple threads, which must be
9752 possible. So, checking for recursive calls has to go.
9754 2005-11-11 Michael Smith <msmith@fluendo.com>
9756 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9757 Don't sync on buffers that fall partially outside our current
9758 segment. Prevents an assertion failure/abort playing some files.
9760 2005-11-10 Andy Wingo <wingo@pobox.com>
9762 * check/gst/gstbin.c (test_message_state_changed_children): Style
9765 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9766 gst_bus_poll with the signal watch. Ensures that poll and a signal
9767 watch see the same messages.
9769 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9770 a poll and a watch at the same time get the same messages.
9772 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9774 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9775 * gst/gstcaps.c: (gst_caps_intersect):
9776 Don't call gst_caps_do_simplify - it doesn't respect order of caps
9777 and it's not needed.
9779 2005-11-10 Wim Taymans <wim@fluendo.com>
9781 * docs/design/part-TODO.txt:
9784 2005-11-10 Wim Taymans <wim@fluendo.com>
9786 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9787 * gst/base/gstbasesrc.c: (gst_base_src_wait),
9788 (gst_base_src_do_sync), (gst_base_src_get_range):
9789 Implement clock sync in base class.
9791 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9793 patch by: Tim-Philipp Müller <tim at centricular dot net>
9795 * gst/gststructure.c: (gst_structure_parse_field),
9796 (gst_structure_from_string):
9797 Forward-port a 0.8 patch to handle escaped spaces in structure string,
9798 so that gst_parse_launch() can deal with spaces in filtered link
9799 caps (fixes #164479)
9800 * check/gst/capslist.h:
9801 * check/gst/gststructure.c: (GST_START_TEST):
9802 add unit tests for this change
9804 2005-11-10 Wim Taymans <wim@fluendo.com>
9806 * docs/gst/gstreamer-sections.txt:
9809 Fix docs, move some STATE macros to private.
9811 2005-11-10 Wim Taymans <wim@fluendo.com>
9813 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9814 Added check for bug #317341
9818 Some more spiffifying.
9820 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
9821 Call peer linkfunction if we are a source pad. Totally fixes
9825 Update docs, source pads should call the peer linkfunction
9826 so they can atomically perform the pad link.
9828 2005-11-09 Wim Taymans <wim@fluendo.com>
9832 Uber-spiffy-spiffify some more.
9834 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
9836 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
9837 * gst/elements/gstfilesink.c: (gst_file_sink_init):
9838 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9839 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
9840 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
9841 * gst/gstpad.c: (gst_pad_init):
9842 Use GST_DEBUG_FUNCPTR() more extensively.
9844 2005-11-09 Wim Taymans <wim@fluendo.com>
9846 * gst/gstobject.c: (gst_object_class_init):
9848 Documentation fixes.
9850 2005-11-09 Edward Hervey <edward@fluendo.com>
9852 * gst/gsttypefindfactory.c:
9855 2005-11-09 Edward Hervey <edward@fluendo.com>
9857 * gst/base/gsttypefindhelper.c:
9858 * gst/gsttypefind.c:
9859 * gst/gsttypefind.h:
9862 2005-11-09 Wim Taymans <wim@fluendo.com>
9864 * gst/gstiterator.c:
9871 2005-11-09 Wim Taymans <wim@fluendo.com>
9877 2005-11-09 Wim Taymans <wim@fluendo.com>
9879 * docs/gst/gstreamer-sections.txt:
9880 Moved the message async delivery private lock and cond
9881 to the private section.
9887 2005-11-09 Edward Hervey <edward@fluendo.com>
9889 * docs/gst/gstreamer-sections.txt:
9892 Document GstURIHandler
9894 2005-11-09 Wim Taymans <wim@fluendo.com>
9896 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
9897 (gst_iterator_find_custom):
9898 * gst/gstiterator.h:
9901 2005-11-09 Wim Taymans <wim@fluendo.com>
9904 Document another field.
9906 * gst/gststructure.c:
9907 * gst/gststructure.h:
9910 2005-11-09 Wim Taymans <wim@fluendo.com>
9915 2005-11-09 Wim Taymans <wim@fluendo.com>
9917 * docs/gst/gstreamer-sections.txt:
9918 Added some new macros.
9925 2005-11-09 Wim Taymans <wim@fluendo.com>
9927 * docs/design/part-TODO.txt:
9928 Some more items for the TODO
9934 2005-11-09 Andy Wingo <wingo@pobox.com>
9936 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
9937 to work on something else now tho...
9939 * gst/base/gstadapter.c: More adapter docs.
9941 * gst/elements/gstfilesink.c (gst_file_sink_start)
9942 (gst_file_sink_stop): New functions, replace the state change
9944 (gst_file_sink_class_init): Hook up the start and stop functions.
9945 (gst_file_sink_base_init): Don't set the state change handler any
9946 more. It was a bit ugly too, being set from here...
9947 (gst_file_sink_get_property, gst_file_sink_set_property):
9949 (gst_file_sink_set_location): More robust check that doesn't call
9952 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
9954 * gst/base/gstbasetransform.c: (gst_base_transform_event):
9955 Hold STREAM_LOCK while pushing newsegment or tag events as well.
9957 2005-11-08 Wim Taymans <wim@fluendo.com>
9959 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9960 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9961 (gst_base_sink_chain), (gst_base_sink_change_state):
9962 * gst/base/gstbasesink.h:
9963 * gst/base/gstbasesrc.h:
9966 Avoid excessive typechecking in macros.
9968 * gst/gstminiobject.c: (gst_mini_object_get_type),
9969 (gst_mini_object_init), (gst_mini_object_new),
9970 (gst_mini_object_free):
9971 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9972 (gst_object_finalize):
9973 Remove cruft code, optimize alloc_trace.
9975 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
9977 * docs/faq/gst-uninstalled:
9978 fix up PS1 for systems that try to reset it
9980 2005-11-07 Wim Taymans <wim@fluendo.com>
9982 * gst/base/gstbasesrc.c: (gst_base_src_init),
9983 (gst_base_src_get_range):
9984 Set the segment_end to -1 initially. Fixed typefind.
9986 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
9988 * gst/base/gstadapter.c:
9989 Debug category should be 'adapter', not 'GstAdapter'.
9991 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
9992 (gst_collectpads_class_init), (gst_collectpads_init),
9993 (gst_collectpads_peek), (gst_collectpads_pop),
9994 (gst_collectpads_event), (gst_collectpads_chain):
9995 Add debug category and some debugging output. Use boilerplate
9996 macros. Remove some extraneous words from docs.
9998 2005-11-05 Andy Wingo <wingo@pobox.com>
10000 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
10003 2005-11-04 Stefan Kost <ensonic@users.sf.net>
10005 * docs/gst/gstreamer-sections.txt:
10008 * gst/gstminiobject.h:
10013 2005-11-04 Wim Taymans <wim@fluendo.com>
10015 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10016 Small update to stop at the configured segment_end
10019 2005-11-04 Stefan Kost <ensonic@users.sf.net>
10021 * gst/gstregistry.c:
10022 * gst/gstregistry.h:
10025 2005-11-04 Edward Hervey <edward@fluendo.com>
10027 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10028 Check if we are doing a segment seek and have arrived at the
10029 end of that segment.
10031 2005-11-04 Wim Taymans <wim@fluendo.com>
10033 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
10034 Don't leak a mutex unlock in case of an error.
10039 2005-11-04 Wim Taymans <wim@fluendo.com>
10041 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
10043 Get the context to wake up only once.
10045 2005-11-03 Wim Taymans <wim@fluendo.com>
10047 * check/states/sinks.c: (GST_START_TEST):
10048 Uncomment fixed check.
10050 * docs/design/part-TODO.txt:
10053 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10054 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
10055 (gst_base_sink_get_position):
10056 If we are going to PLAYING, post the right pending state
10057 when we post the intermediate paused message.
10059 * gst/gstelement.c: (gst_element_continue_state),
10060 (gst_element_set_state_func), (gst_element_change_state):
10061 Don't post state changes that were between the same state
10062 and were not ASYNC.
10064 2005-11-03 Stefan Kost <ensonic@users.sf.net>
10066 * docs/gst/gstreamer-sections.txt:
10069 * gst/gstminiobject.h:
10072 more docs and doc style fixes
10074 2005-11-03 Stefan Kost <ensonic@users.sf.net>
10076 * docs/gst/gstreamer-sections.txt:
10077 * gst/gstelement.c:
10078 * gst/gstminiobject.c:
10081 2005-11-03 Andy Wingo <wingo@pobox.com>
10083 * check/states/sinks.c (test_livesrc_sink): Add checks that the
10084 state-changed messages actually have the right order and the right
10087 2005-11-03 Wim Taymans <wim@fluendo.com>
10089 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
10090 Added some more checks. Specifically the case where NO_PREROLL
10091 elements are in the pipeline.
10093 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10094 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
10095 (gst_base_sink_get_position):
10096 Post READY->PAUSED state change messages too.
10097 Fix bug where VOID was posted as pending state...
10099 * gst/gstbin.c: (gst_bin_recalc_state):
10100 use _element_continue_state() to continue the state change.
10102 * gst/gstelement.c: (gst_element_continue_state),
10103 (gst_element_commit_state), (gst_element_set_state_func),
10104 (gst_element_change_state), (gst_element_change_state_func):
10105 Lots of state change cleanups, assign the STATE_RETURN in
10106 a new continue_state() function that also propagates the
10107 last return value from a state change to the app.
10108 Update some debug statements with proper category.
10110 2005-11-03 Wim Taymans <wim@fluendo.com>
10112 * docs/design/part-events.txt:
10113 * docs/design/part-gstpipeline.txt:
10114 * docs/design/part-messages.txt:
10115 * docs/design/part-overview.txt:
10116 * docs/design/part-seeking.txt:
10117 * docs/design/part-states.txt:
10118 * docs/design/part-trickmodes.txt:
10119 * docs/manual/advanced-position.xml:
10120 Small docs updates.
10123 People think !! is ugly, this looks better.
10125 * gst/gstpad.c: (gst_pad_set_blocked_async):
10126 Remove !! since it's fixed elsewhere now.
10128 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
10130 * gst/gstminiobject.h:
10132 Add !! to _FLAG_IS_SET macros to make the result boolean.
10134 2005-11-03 Edward Hervey <edward@fluendo.com>
10136 * gst/gstpad.c: (gst_pad_set_blocked_async):
10137 comparing a flag and a gboolean rarely returns coherent results...
10138 Added two characters (!!) to make that work correctly.
10140 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
10142 * gst/gstbus.c: (gst_bus_class_init):
10145 * gst/gstqueue.c: (gst_queue_loop):
10146 Don't assume a miniobject that isn't a buffer is an
10147 event (it could be that there is a refcounting
10148 problem somewhere and the pointer is stale and
10149 refers to an already destroyed miniobject).
10151 2005-11-03 Julien MOUTTE <julien@moutte.net>
10153 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
10155 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
10157 * docs/manual/advanced-position.xml:
10158 Update seek example and explanations to current 0.9 API.
10160 * gst/elements/gsttypefindelement.c:
10161 (gst_type_find_element_activate):
10162 Remove FIXME comment now that the found caps
10165 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
10167 * gst/gstregistryxml.c: (load_feature):
10168 Add another GST_STR_NULL instance
10170 2005-11-02 Edward Hervey <edward@fluendo.com>
10172 * gst/gstpad.c: (handle_pad_block):
10173 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
10175 2005-11-02 Wim Taymans <wim@fluendo.com>
10180 * gst/gstelement.c: (gst_element_commit_state):
10181 Remove unused value.
10183 * gst/gstiterator.c:
10184 Mention that the returned element is reffed in the docs.
10186 2005-11-02 Wim Taymans <wim@fluendo.com>
10188 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
10189 (gst_pad_push), (gst_pad_push_event):
10190 Unlock blocked pads when they are flushed.
10192 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
10195 * docs/gst/gstreamer-sections.txt:
10198 * gst/gstregistry.c: (gst_registry_scan_path_level):
10199 fix for a nasty little missed situation where an installed plug-in
10200 which was in the cache did not get overridden by an uninstalled one
10201 which was earlier in the plugin path because the newly created plugin
10202 for the uninstalled one (not in the registry) didn't get its
10203 ->registered set to TRUE
10205 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
10207 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
10208 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
10209 (gst_collectpads_is_active), (gst_collectpads_collect),
10210 (gst_collectpads_collect_range), (gst_collectpads_start),
10211 (gst_collectpads_stop), (gst_collectpads_peek),
10212 (gst_collectpads_pop), (gst_collectpads_available),
10213 (gst_collectpads_read), (gst_collectpads_flush):
10214 Guard public API with assertions.
10217 Fix docs for gst_pad_set_link_function().
10219 2005-11-02 Johan Dahlin <johan@gnome.org>
10221 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
10222 Unref found_caps after we used it.
10224 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
10226 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
10227 Don't try to ref NULL.
10229 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
10231 * win32/common/config.h.in:
10232 provide a GST_FUNCTION that just gives a string for now
10234 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
10236 * win32/common/gstenumtypes.c: (register_gst_object_flags),
10237 (gst_object_flags_get_type), (register_gst_bin_flags),
10238 (gst_bin_flags_get_type), (register_gst_buffer_flag),
10239 (gst_buffer_flag_get_type), (register_gst_bus_flags),
10240 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10241 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
10242 (gst_clock_return_get_type), (register_gst_clock_entry_type),
10243 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10244 (gst_clock_flags_get_type), (register_gst_state),
10245 (gst_state_get_type), (register_gst_state_change_return),
10246 (gst_state_change_return_get_type), (register_gst_state_change),
10247 (gst_state_change_get_type), (register_gst_element_flags),
10248 (gst_element_flags_get_type), (register_gst_core_error),
10249 (gst_core_error_get_type), (register_gst_library_error),
10250 (gst_library_error_get_type), (register_gst_resource_error),
10251 (gst_resource_error_get_type), (register_gst_stream_error),
10252 (gst_stream_error_get_type), (register_gst_event_type),
10253 (gst_event_type_get_type), (register_gst_seek_type),
10254 (gst_seek_type_get_type), (register_gst_seek_flags),
10255 (gst_seek_flags_get_type), (register_gst_format),
10256 (gst_format_get_type), (register_gst_index_certainty),
10257 (gst_index_certainty_get_type), (register_gst_index_entry_type),
10258 (gst_index_entry_type_get_type),
10259 (register_gst_index_lookup_method),
10260 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10261 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10262 (gst_index_resolver_method_get_type), (register_gst_index_flags),
10263 (gst_index_flags_get_type), (register_gst_debug_level),
10264 (gst_debug_level_get_type), (register_gst_debug_color_flags),
10265 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10266 (gst_iterator_result_get_type), (register_gst_iterator_item),
10267 (gst_iterator_item_get_type), (register_gst_message_type),
10268 (gst_message_type_get_type), (register_gst_mini_object_flags),
10269 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10270 (gst_pad_link_return_get_type), (register_gst_flow_return),
10271 (gst_flow_return_get_type), (register_gst_activate_mode),
10272 (gst_activate_mode_get_type), (register_gst_pad_direction),
10273 (gst_pad_direction_get_type), (register_gst_pad_flags),
10274 (gst_pad_flags_get_type), (register_gst_pad_presence),
10275 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10276 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10277 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10278 (gst_plugin_error_get_type), (register_gst_plugin_flags),
10279 (gst_plugin_flags_get_type), (register_gst_rank),
10280 (gst_rank_get_type), (register_gst_query_type),
10281 (gst_query_type_get_type), (register_gst_tag_merge_mode),
10282 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10283 (gst_tag_flag_get_type), (register_gst_task_state),
10284 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10285 (gst_alloc_trace_flags_get_type),
10286 (register_gst_type_find_probability),
10287 (gst_type_find_probability_get_type), (register_gst_uri_type),
10288 (gst_uri_type_get_type), (register_gst_parse_error),
10289 (gst_parse_error_get_type):
10290 * win32/common/gstversion.h:
10291 update win32 copies
10293 2005-11-01 Luca Ognibene <luogni@tin.it>
10296 fix docs. popt is dead, long live GOption.
10298 2005-10-31 Wim Taymans <wim@fluendo.com>
10303 2005-10-31 Andy Wingo <wingo@pobox.com>
10307 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
10309 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
10310 need to serialize property notifications on GLib 2.8. GLib 2.6 has
10311 the possibility of deadlocks here if code calling notify() or
10312 set() has a lock that can be taken in another notify handler (ABBA
10313 with class lock and e.g. python GIL state lock).
10315 2005-10-28 Julien MOUTTE <julien@moutte.net>
10317 * gst/gstbus.c: Doc updates.
10319 2005-10-28 Wim Taymans <wim@fluendo.com>
10321 * docs/design/part-TODO.txt:
10322 * gst/gstiterator.c:
10323 * gst/gstsystemclock.c:
10324 * gst/gstsystemclock.h:
10327 2005-10-28 Edward Hervey <edward@fluendo.com>
10329 * docs/gst/gstreamer-docs.sgml:
10330 * docs/gst/gstreamer-sections.txt:
10331 the GstURIType documentation page is private, it only defines GstURIType
10332 which should be defined in the GstURIHandler page
10334 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
10336 * gst/gstbin.c: (gst_bin_class_init):
10339 Documentation updates.
10341 2005-10-28 Wim Taymans <wim@fluendo.com>
10343 * docs/gst/gstreamer-sections.txt:
10346 Documented the clocks.
10348 2005-10-28 Stefan Kost <ensonic@users.sf.net>
10350 * docs/gst/gstreamer-sections.txt:
10351 move some macros to private sections
10352 * gst/gstminiobject.c:
10353 * gst/gstminiobject.h:
10354 add descriptions provided by ds and some more
10356 mark macro as to be removed
10358 2005-10-28 Wim Taymans <wim@fluendo.com>
10360 * docs/design/part-TODO.txt:
10361 Add an item to TODO.
10363 * gst/gstiterator.c: (gst_iterator_fold),
10364 (gst_iterator_find_custom):
10365 * gst/gstiterator.h:
10368 2005-10-28 Wim Taymans <wim@fluendo.com>
10370 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10371 (gst_base_transform_init):
10374 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
10375 An EOS event marks the queue as completely filled.
10377 2005-10-27 Wim Taymans <wim@fluendo.com>
10379 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10380 (gst_base_sink_do_sync), (gst_base_sink_get_position):
10381 Some more debugging.
10383 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
10384 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
10385 (gst_base_transform_event), (gst_base_transform_getrange),
10386 (gst_base_transform_chain):
10387 * gst/base/gstbasetransform.h:
10389 Protect transform and concurrent buffer alloc with a new lock.
10390 Try not to break ABI/API.
10392 2005-10-27 Wim Taymans <wim@fluendo.com>
10394 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10395 (gst_base_src_init), (gst_base_src_query),
10396 (gst_base_src_default_newsegment),
10397 (gst_base_src_configure_segment), (gst_base_src_do_seek),
10398 (gst_base_src_send_event), (gst_base_src_event_handler),
10399 (gst_base_src_pad_get_range), (gst_base_src_loop),
10400 (gst_base_src_unlock), (gst_base_src_default_negotiate),
10401 (gst_base_src_start), (gst_base_src_deactivate),
10402 (gst_base_src_activate_push), (gst_base_src_change_state):
10403 Move some stuff around and cleanup things.
10405 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
10407 * gst/base/gstbasesrc.c: (gst_base_src_query):
10408 Add missing break statements.
10410 2005-10-27 Wim Taymans <wim@fluendo.com>
10412 * check/gst/gstbin.c: (GST_START_TEST):
10413 An extra refcount is taken in basesrc.
10415 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
10416 (gst_base_src_get_range), (gst_base_src_pad_get_range),
10417 (gst_base_src_loop):
10418 Small cleanups, check for flushing after being unlocked from the
10419 LIVE_LOCK. take refcounts correctly (not yet everywhere).
10420 Don't send out EOS when going to READY.
10422 2005-10-27 Wim Taymans <wim@fluendo.com>
10424 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10425 (gst_base_sink_get_position):
10428 * gst/gstbin.c: (message_check), (bin_replace_message),
10429 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10430 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10431 (bin_query_duration_init), (bin_query_duration_fold),
10432 (bin_query_duration_done), (bin_query_generic_fold),
10434 * tools/gst-launch.c: (main):
10437 2005-10-26 Stefan Kost <ensonic@users.sf.net>
10439 * examples/controller/audio-example.c: (main):
10440 * examples/queue/queue.c: (event_loop):
10441 * gst/base/gstbasetransform.h:
10442 * gst/gstelement.c: (gst_element_send_event):
10444 * gst/gstpad.c: (gst_pad_send_event):
10447 changing log priority in error situations
10449 2005-10-25 Wim Taymans <wim@fluendo.com>
10451 * gst/gstbin.c: (message_check), (bin_replace_message),
10452 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10453 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10454 (bin_query_duration_init), (bin_query_duration_fold),
10455 (bin_query_duration_done), (bin_query_generic_fold),
10457 Some doc and debug updates.
10458 Cache previously requested query DURATION for speed. invalidate
10459 cached duration if element posts a DURATION message.
10461 2005-10-25 Wim Taymans <wim@fluendo.com>
10463 * docs/design/part-TODO.txt:
10466 * gst/gstbin.c: (message_check), (bin_replace_message),
10467 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10468 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10469 (bin_query_duration_init), (bin_query_duration_fold),
10470 (bin_query_duration_done), (bin_query_generic_fold),
10472 Handle SEGMENT_START/DONE messages correctly.
10473 More evolved query algorithm that handles duration queries
10476 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
10477 (gst_element_get_state_func), (gst_element_abort_state),
10478 (gst_element_commit_state), (gst_element_lost_state):
10479 Some more debugging.
10481 * gst/gstmessage.h:
10484 2005-10-25 Wim Taymans <wim@fluendo.com>
10486 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
10487 Don't use invalid stream_time.
10489 * gst/gstevent.c: (gst_event_new_newsegment):
10490 stream_time in newsegment cannot be undefined.
10492 2005-10-24 Wim Taymans <wim@fluendo.com>
10497 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10499 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
10501 2005-10-24 Stefan Kost <ensonic@users.sf.net>
10503 * docs/libs/tmpl/gstdparam.sgml:
10504 * docs/libs/tmpl/gstdplinint.sgml:
10505 * docs/libs/tmpl/gstdpman.sgml:
10506 * docs/libs/tmpl/gstdpsmooth.sgml:
10507 * docs/libs/tmpl/gstunitconvert.sgml:
10510 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
10515 === release 0.9.4 ===
10517 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
10520 releasing 0.9.4, "Tyrannosaurus Rex"
10522 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
10524 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10525 (gst_file_sink_get_current_offset):
10526 Use fseeko() and ftello() if available. When falling back on
10527 lseek() to get the current offset, fflush() first to make sure
10528 everything is up-to-date and we get the right offset.
10530 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
10532 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10533 * gst/base/gstbasesrc.c: (gst_base_src_loop):
10534 * gst/gsterror.c: (_gst_stream_errors_init):
10536 * gst/gstqueue.c: (gst_queue_loop):
10538 remove prematurely added error category and clean up the instances
10540 2005-10-21 Wim Taymans <wim@fluendo.com>
10542 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10543 (gst_base_sink_get_position), (gst_base_sink_query),
10544 (gst_base_sink_change_state):
10545 Simply set the right flag when going to playing, that's all
10546 we need to do instead of calling a function inside the object
10547 lock (that could take the lock as well and deadlock)
10549 2005-10-21 Wim Taymans <wim@fluendo.com>
10551 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
10552 (gst_base_src_loop):
10553 Don't warn, the peer element knows what to do best when
10554 the seek failed, it might try something else.
10556 2005-10-21 Wim Taymans <wim@fluendo.com>
10558 * gst/base/gstbasesrc.c: (gst_base_src_init),
10559 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
10562 2005-10-21 Wim Taymans <wim@fluendo.com>
10564 * docs/design/part-segments.txt:
10567 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10568 Correctly set caps, even on the subbufer.
10570 2005-10-21 Wim Taymans <wim@fluendo.com>
10572 * docs/gst/gstreamer-docs.sgml:
10573 * docs/gst/gstreamer-sections.txt:
10574 * gst/gstelement.h:
10577 * gst/gstmessage.h:
10580 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
10584 And 2% more doc coverage.
10586 2005-10-21 Andy Wingo <wingo@pobox.com>
10588 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
10589 position reporting.
10591 2005-10-20 Wim Taymans <wim@fluendo.com>
10593 * gst/gsterror.c: (gst_error_get_message):
10596 * gst/gststructure.c:
10601 2005-10-20 Wim Taymans <wim@fluendo.com>
10606 Another 1% more coverage.
10608 2005-10-20 Wim Taymans <wim@fluendo.com>
10610 * docs/gst/gstreamer-sections.txt:
10611 * gst/gstelement.c: (gst_element_get_state_func),
10612 (gst_element_abort_state), (gst_element_commit_state),
10613 (gst_element_lost_state):
10615 * gst/gstquery.c: (gst_query_set_position),
10616 (gst_query_parse_position), (gst_query_set_duration),
10617 (gst_query_parse_duration), (gst_query_new_convert):
10619 Yay! 1% more docs coverage.
10621 2005-10-20 Wim Taymans <wim@fluendo.com>
10624 * gst/gstquery.c: (gst_query_set_position),
10625 (gst_query_parse_position), (gst_query_set_duration),
10626 (gst_query_parse_duration), (gst_query_new_convert):
10628 * gst/gstutils.c: (gst_element_query_convert):
10630 Docs and consistency fixes.
10632 2005-10-20 Wim Taymans <wim@fluendo.com>
10638 2005-10-20 Wim Taymans <wim@fluendo.com>
10640 * gst/gstbin.c: (message_check), (bin_replace_message),
10641 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10642 (update_degree), (gst_bin_sort_iterator_next),
10643 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
10644 Reworked the message handling a bit, cache the messages instead of
10645 only the senders. alows us to do more in the future.
10647 2005-10-20 Wim Taymans <wim@fluendo.com>
10649 * docs/design/part-TODO.txt:
10652 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10653 (gst_base_sink_query):
10654 Don't use clock time to report position when in EOS.
10656 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
10658 * tools/gst-inspect.c: (print_interfaces),
10659 (print_element_properties_info), (print_element_info):
10660 Fix interface output with gst-inspect -a; don't print
10661 newlines after double/float properties.
10663 2005-10-20 Wim Taymans <wim@fluendo.com>
10665 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10666 (gst_base_sink_query):
10667 Speed up current position calculation.
10669 * gst/base/gstbasesrc.c: (gst_base_src_query),
10670 (gst_base_src_default_newsegment):
10671 Correctly set stream position in newsegment.
10673 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
10674 (update_degree), (gst_bin_sort_iterator_next),
10675 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
10676 * gst/gstmessage.c: (gst_message_new_custom):
10677 Clean up debugging info
10679 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
10680 (gst_queue_loop), (gst_queue_handle_src_query):
10683 2005-10-19 Wim Taymans <wim@fluendo.com>
10685 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10686 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10687 Fix query handling again.
10689 2005-10-19 Wim Taymans <wim@fluendo.com>
10691 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10692 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10693 * gst/base/gstbasesrc.c: (gst_base_src_query):
10694 * gst/elements/gstfilesink.c: (gst_file_sink_query):
10695 * gst/elements/gsttypefindelement.c:
10696 (gst_type_find_handle_src_query), (find_element_get_length),
10697 (gst_type_find_element_activate):
10700 * gst/gstquery.c: (gst_query_new_position),
10701 (gst_query_set_position), (gst_query_parse_position),
10702 (gst_query_new_duration), (gst_query_set_duration),
10703 (gst_query_parse_duration), (gst_query_set_segment),
10704 (gst_query_parse_segment):
10706 Bundling query position/duration is not a good idea since duration
10707 does not change much and we don't want to recalculate it for every
10708 position query, so they are separated again..
10709 Base value in segment query is not needed.
10711 * gst/gstqueue.c: (gst_queue_handle_src_query):
10712 * gst/gstutils.c: (gst_element_query_position),
10713 (gst_element_query_duration), (gst_pad_query_position),
10714 (gst_pad_query_duration):
10716 Updates for query API change.
10717 Added some docs here and there.
10719 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
10721 * check/gst/gstbin.c: (GST_START_TEST):
10722 * check/gst/gstghostpad.c: (GST_START_TEST):
10723 * check/pipelines/cleanup.c: (GST_START_TEST):
10724 wait on thread to die so we can check refcount correctly
10726 2005-10-18 Wim Taymans <wim@fluendo.com>
10728 * check/pipelines/stress.c: (GST_START_TEST):
10729 Make check a little more time consuming.
10731 2005-10-18 Wim Taymans <wim@fluendo.com>
10733 * check/Makefile.am:
10734 * check/pipelines/stress.c: (GST_START_TEST),
10735 (simple_launch_lines_suite), (main):
10736 Small state change torture test.
10738 * docs/design/part-states.txt:
10739 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10740 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10741 (gst_base_sink_change_state):
10742 Never take state lock from streaming thread, clean up ugly
10743 hacks. Unfortunatly core does not yet support nice ways to
10744 async commit state.
10746 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10748 Start state recalc if a STATE_DIRTY message is posted, but only
10749 on the toplevel bin.
10751 * gst/gstelement.c: (gst_element_sync_state_with_parent),
10752 (gst_element_get_state_func), (gst_element_abort_state),
10753 (gst_element_commit_state), (gst_element_lost_state),
10754 (gst_element_set_state_func), (gst_element_change_state):
10755 * gst/gstelement.h:
10756 State variables are now protected with the LOCK, the state
10757 lock is only used to serialize _set_state().
10759 2005-10-18 Wim Taymans <wim@fluendo.com>
10761 * check/gst/gstbin.c: (GST_START_TEST):
10762 * check/gst/gstmessage.c: (GST_START_TEST):
10763 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10764 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10766 * gst/gstelement.c: (gst_element_abort_state),
10767 (gst_element_commit_state), (gst_element_lost_state):
10768 * gst/gstmessage.c: (gst_message_new_state_changed),
10769 (gst_message_new_state_dirty), (gst_message_new_segment_start),
10770 (gst_message_new_segment_done), (gst_message_new_duration),
10771 (gst_message_parse_state_changed),
10772 (gst_message_parse_segment_start),
10773 (gst_message_parse_segment_done), (gst_message_parse_duration):
10774 * gst/gstmessage.h:
10775 * tools/gst-launch.c: (event_loop):
10776 Seriously, this is better than a previous commit as we only need
10777 to notify the fact that an element changed state in a streaming
10778 thread, marking the state of the parents dirty, hence the
10779 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10782 2005-10-18 Wim Taymans <wim@fluendo.com>
10784 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10785 (gst_bin_recalc_func):
10786 * gst/gstelement.c: (gst_element_set_clock),
10787 (gst_element_abort_state), (gst_element_lost_state):
10788 Cleanups, prepare for state change fixes.
10790 2005-10-18 Wim Taymans <wim@fluendo.com>
10793 * gst/gstelement.c: (gst_element_class_init),
10794 (gst_element_set_state), (gst_element_set_state_func):
10795 * gst/gstelement.h:
10796 Pending ABI changes.
10797 GThreadPool in GstBinClass to monitor async state changes.
10798 state_cookie in GstElement to detect concurrent gst/set state.
10799 set_state is now virtual too in case a very complicated element
10800 has to be constructed.
10802 2005-10-18 Wim Taymans <wim@fluendo.com>
10804 * check/gst/gstbin.c: (GST_START_TEST):
10805 * check/gst/gstmessage.c: (GST_START_TEST):
10806 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10807 * gst/gstbin.c: (bin_bus_handler):
10808 * gst/gstelement.c: (gst_element_commit_state),
10809 (gst_element_lost_state):
10810 * gst/gstmessage.c: (gst_message_new_state_changed),
10811 (gst_message_new_segment_start), (gst_message_new_segment_done),
10812 (gst_message_new_duration), (gst_message_parse_state_changed),
10813 (gst_message_parse_segment_start),
10814 (gst_message_parse_segment_done), (gst_message_parse_duration):
10815 * gst/gstmessage.h:
10816 * tools/gst-launch.c: (event_loop):
10817 Make messages future proof.
10818 state-change gets a flag if it was a message comming from the
10820 segment-start/stop can also be specified in other formats.
10821 A message to notify an app that a pipeline changed playback
10823 Also fix a GstMessage leak in -launch
10825 2005-10-18 Andy Wingo <wingo@pobox.com>
10827 * gst/gstelement.c (gst_element_dispose): More helpful message.
10829 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
10831 reviewed by: <delete if not using a buddy>
10833 * common/gtk-doc.mak:
10835 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
10837 * gst/gstregistry.c: (gst_registry_scan_path_level):
10838 unref a plug-in we get that was already initialized
10840 2005-10-18 Stefan Kost <ensonic@users.sf.net>
10842 * docs/gst/gstreamer-sections.txt:
10843 * docs/libs/gstreamer-libs-sections.txt:
10844 * gst/gstelement.h:
10845 add new api entries
10846 hide internal macro
10848 2005-10-17 Andy Wingo <wingo@pobox.com>
10850 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
10853 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
10855 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
10857 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
10858 (gst_element_get_state_func): Better debug message.
10859 (gst_element_commit_state): s/INFO/DEBUG/.
10860 (gst_element_lost_state, gst_element_change_state):
10862 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
10863 (gst_message_new_custom): s/INFO/LOG/.
10865 2005-10-17 Michael Smith <msmith@fluendo.com>
10867 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10868 Check if end time is valid using end time, not start time.
10870 2005-10-17 Stefan Kost <ensonic@users.sf.net>
10872 * check/gst-libs/controller.c: (GST_START_TEST),
10873 (gst_controller_suite):
10874 * libs/gst/controller/gstcontroller.c:
10875 (gst_controlled_property_set_interpolation_mode):
10876 * libs/gst/controller/gstcontroller.h:
10877 * libs/gst/controller/gstinterpolation.c:
10878 * testsuite/controller/.cvsignore:
10879 * testsuite/controller/Makefile.am:
10880 * testsuite/controller/interpolator.c:
10881 merge controller testsuites
10883 remove mem-chunk from docs
10885 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
10887 * gst/gstmemchunk.c:
10888 * gst/gstmemchunk.h:
10889 * gst/gsttrashstack.c:
10890 * gst/gsttrashstack.h:
10891 out. get out. you're fired. to the Attic !
10893 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
10895 * gst/gstcaps.c: (gst_caps_intersect):
10896 fix signedness issues in a (hopefully) correct way
10897 * gst/gstelement.c: (gst_element_pads_activate):
10899 * gst/gstobject.c: (gst_object_set_parent):
10902 2005-10-17 Julien MOUTTE <julien@moutte.net>
10904 * gst/gstvalue.h: Fix prototypes.
10906 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10908 * docs/gst/gstreamer-sections.txt:
10909 * gst/gst.c: (gst_version_string):
10911 * gst/gstversion.h.in:
10912 * win32/common/libgstreamer.def:
10913 add gst_version_string ()
10915 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10919 * gst/gst.c: (init_post):
10920 * win32/common/config.h.in:
10922 * gst/gstcaps.c: (gst_caps_intersect):
10923 use gint64, the range could be bigger than a guint
10925 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10928 document potential problem in 2038
10930 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10932 * gst/gstcaps.c: (gst_caps_intersect):
10933 Fix guint j diving under 0
10935 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10938 * win32/common/config.h:
10939 * win32/common/config.h.in:
10940 check for process.h, declares getpid() on Windows
10942 include process.h if we have it
10943 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
10944 * gst/gstmemchunk.h:
10945 fix signedness issues
10946 * win32/common/libgstreamer.def:
10949 2005-10-16 Julien MOUTTE <julien@moutte.net>
10951 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
10952 fix. Because of unsigned ints, caps intersection was going nuts and
10953 trying to access structures with G_MAXUINT index. That fixes
10954 videotestsrc ! ffmpegcolorspace ! fakesink
10955 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
10958 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10961 use the gettext macro
10962 * gst/elements/gstelements.c:
10964 * gst/indexers/gstindexers.c:
10965 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
10966 * win32/common/config.h:
10968 * win32/common/config.h.in:
10969 add the template to generate config.h
10970 * win32/common/gstenumtypes.c:
10971 * win32/common/gstversion.h:
10974 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10976 * gst/gst.c: (gst_version):
10977 * gst/gstversion.h.in:
10980 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
10983 Oops, add missing closing bracket.
10985 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10988 use common m4's for argument checking
10990 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
10992 * docs/gst/gstreamer-sections.txt:
10994 Add GST_EVENT_TYPE_NAME() macro.
10996 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10999 * gst/gstpluginfeature.c:
11001 privatize more symbols
11003 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11006 add srcdir, builddir includes to GST_ALL_CFLAGS, since
11007 everything that uses GStreamer API should have the includes
11009 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11011 * docs/gst/gstreamer-sections.txt:
11012 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
11014 give each value a _get_type, removes the DATA exports
11016 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11020 remove _gst_registry_auto_load, not used anymore
11021 * gst/gstbin.c: (gst_bin_get_type):
11023 * gst/gstelement.c: (gst_element_get_type):
11024 * gst/gstelement.h:
11025 * gst/gstobject.c: (gst_object_get_type):
11027 * gst/gstpad.c: (gst_pad_get_type):
11029 make _get_type functions similar, fixes data export from library
11031 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11034 correctly make conditionals
11035 * gst/elements/Makefile.am:
11036 * gst/elements/gstelements.c:
11037 fix typo causing fdsrc not to build
11039 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11041 * testsuite/Makefile.am:
11042 * testsuite/bytestream/.cvsignore:
11043 * testsuite/bytestream/Makefile.am:
11044 * testsuite/bytestream/filepadsink.c:
11045 * testsuite/bytestream/gstbstest.c:
11046 * testsuite/bytestream/test1.c:
11047 * testsuite/bytestream/testfile1:
11048 * testsuite/caps/normalisation.c:
11049 * testsuite/caps/random.c: (main):
11050 * testsuite/cleanup/.cvsignore:
11051 * testsuite/cleanup/Makefile.am:
11052 * testsuite/cleanup/cleanup1.c:
11053 * testsuite/cleanup/cleanup2.c:
11054 * testsuite/cleanup/cleanup3.c:
11055 * testsuite/cleanup/cleanup4.c:
11056 * testsuite/cleanup/cleanup5.c:
11057 * testsuite/controller/interpolator.c:
11058 * testsuite/debug/printf_extension.c: (main):
11059 * testsuite/elements/tee.c:
11060 * testsuite/negotiation/.cvsignore:
11061 * testsuite/negotiation/Makefile.am:
11062 * testsuite/negotiation/pad_link.c:
11063 * testsuite/pad/Makefile.am:
11064 * testsuite/pad/chainnopull.c:
11065 * testsuite/pad/getnopush.c:
11066 * testsuite/pad/link.c:
11067 * testsuite/refcounting/sched.c: (create_pipeline):
11068 * testsuite/registry/Makefile.am:
11069 * testsuite/registry/gst-print-formats.c:
11070 * testsuite/schedulers/.cvsignore:
11071 * testsuite/schedulers/142183-2.c:
11072 * testsuite/schedulers/142183.c:
11073 * testsuite/schedulers/143777-2.c:
11074 * testsuite/schedulers/143777.c:
11075 * testsuite/schedulers/147713.c:
11076 * testsuite/schedulers/147819.c:
11077 * testsuite/schedulers/147894-2.c:
11078 * testsuite/schedulers/147894.c:
11079 * testsuite/schedulers/Makefile.am:
11080 * testsuite/schedulers/group_link.c:
11081 * testsuite/schedulers/queue_link.c:
11082 * testsuite/schedulers/relink.c:
11083 * testsuite/schedulers/unlink.c:
11084 * testsuite/schedulers/unref.c:
11085 * testsuite/schedulers/useless_iteration.c:
11086 * testsuite/states/bin.c:
11087 clean out/remove some stuff from the testsuite directories
11089 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11092 check for some headers
11093 * gst/elements/Makefile.am:
11094 * gst/elements/gstelements.c:
11095 don't compile fdsrc without sys/socket.h
11096 * gst/indexers/Makefile.am:
11097 * gst/indexers/gstindexers.c: (plugin_init):
11098 don't compile fileindex without mmap
11100 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11107 * check/Makefile.am:
11108 * docs/gst/Makefile.am:
11109 * examples/helloworld/Makefile.am:
11111 * gst/base/Makefile.am:
11112 * gst/check/Makefile.am:
11113 * gst/elements/Makefile.am:
11114 * gst/indexers/Makefile.am:
11115 * gst/parse/Makefile.am:
11116 * libs/gst/controller/Makefile.am:
11117 * libs/gst/dataprotocol/Makefile.am:
11118 * examples/helloworld/helloworld.c: (event_loop):
11119 compile fixes, though it's not being compiled currently
11121 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
11123 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
11124 Add some simple tests for the new taglist date API.
11126 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
11128 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
11129 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
11130 Beautify 'last-message' output: print 'none' for buffer timestamps
11131 and durations if none is set; improve alignment with next messages.
11133 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
11135 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
11136 * gst/gstpluginfeature.h:
11137 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
11138 * gst/gstregistry.h:
11139 * docs/gst/gstreamer-sections.txt:
11140 Add new API to check plugin feature version requirements.
11142 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
11143 Some basic tests for the above.
11145 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11147 * gst/gststructure.c: (gst_structure_to_string):
11148 guard against NULL printf - happens when for example
11149 a message structure with GstClock gets serialized
11151 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
11153 * gst/base/gstcollectpads.c: (gst_collectpads_event):
11154 Fix presumable copy'n'pasto.
11156 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11158 * gst/elements/gstfakesrc.h:
11159 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
11160 * gst/elements/gsttypefindelement.c:
11161 fix some signedness
11162 * gst/elements/gstfilesink.c: (gst_file_sink_render):
11163 I wonder if this could actually write +2GB files before
11165 2005-10-13 Andy Wingo <wingo@pobox.com>
11167 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
11168 Fix Timmeke Waymans bug.
11169 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
11170 string of the proper length to gst_caps_from_string. There's a
11171 potential for, before this fix, that this could cause someone
11172 connecting over the network to cause a segfault if the payload is
11173 not NUL-terminated.
11175 2005-10-13 Stefan Kost <ensonic@users.sf.net>
11177 * docs/design/draft-push-pull.txt:
11178 * docs/design/part-overview.txt:
11179 * docs/random/TODO-pre-0.9:
11180 * docs/random/old/ChangeLog.gstreamer:
11181 * gst/base/gstpushsrc.c:
11185 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11187 * gst/glib-compat.c: (gst_flags_get_first_value):
11188 * gst/glib-compat.h:
11189 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
11190 (gst_value_compare_double), (gst_value_serialize_flags):
11191 GLib 2.6 g_flags_get_first_value has a bug that triggers an
11194 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11196 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11197 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
11199 * tools/gst-launch.c: (event_loop):
11200 print out clock nicely
11202 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
11204 * docs/gst/gstreamer-sections.txt:
11205 * gst/gsttaglist.h:
11206 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
11207 (gst_tag_list_get_date_index):
11208 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
11209 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
11211 2005-10-13 Julien MOUTTE <julien@moutte.net>
11213 * gst/base/gstcollectpads.c: (gst_collectpads_event),
11214 (gst_collectpads_chain):
11215 * gst/base/gstcollectpads.h: Handle newsegment and store informations
11218 2005-10-13 Stefan Kost <ensonic@users.sf.net>
11220 * docs/gst/gstreamer-sections.txt:
11223 * tools/gst-inspect.c: (main):
11224 * tools/gst-launch.c: (main):
11225 * tools/gst-run.c: (main):
11226 * tools/gst-xmlinspect.c: (main):
11227 fix GOption context leaks
11230 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11234 * win32/common/config.h:
11236 * win32/vs6/grammar.dsp:
11237 * win32/vs6/libgstelements.dsp:
11238 * win32/vs6/libgstreamer.dsp:
11241 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
11243 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11244 * gst/base/gstbasesrc.c: (gst_base_src_query):
11245 fix more guint64<->gdouble conversions
11247 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
11250 add win32-update target
11251 * win32/common/gstconfig.h:
11252 * win32/common/gstenumtypes.c:
11253 * win32/common/gstenumtypes.h:
11254 * win32/common/gstversion.h:
11255 add files that visual studio can't generate
11257 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
11260 add a win32-update target
11263 2005-10-12 Wim Taymans <wim@fluendo.com>
11265 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11266 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
11267 * gst/gstelement.c: (gst_element_commit_state),
11268 (gst_element_set_state):
11269 Protect flags with proper lock.
11270 unref provided cached clock in dispose.
11272 2005-10-12 Stefan Kost <ensonic@users.sf.net>
11275 * gst/gstminiobject.h:
11277 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
11278 removed unused flags from miniobject
11281 2005-10-12 Wim Taymans <wim@fluendo.com>
11283 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
11284 (gst_file_sink_event), (gst_file_sink_render):
11285 Flush before seeking.
11287 2005-10-12 Andy Wingo <wingo@pobox.com>
11289 * gst/gst.c (gst_init_check): Ignore unknown options, as has
11290 always been the case.
11292 2005-10-12 Stefan Kost <ensonic@users.sf.net>
11294 * check/gst/gstbin.c: (GST_START_TEST):
11295 * docs/gst/gstreamer-sections.txt:
11296 * gst/base/gstbasesink.c: (gst_base_sink_init):
11297 * gst/base/gstbasesrc.c: (gst_base_src_init),
11298 (gst_base_src_get_range), (gst_base_src_check_get_range),
11299 (gst_base_src_start), (gst_base_src_stop):
11300 * gst/base/gstbasesrc.h:
11301 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
11302 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11303 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
11307 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
11309 * gst/gstelement.c: (gst_element_is_locked_state),
11310 (gst_element_set_locked_state), (gst_element_commit_state),
11311 (gst_element_set_state):
11312 * gst/gstelement.h:
11313 * gst/gstindex.c: (gst_index_init):
11315 * gst/gstminiobject.h:
11316 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
11317 (gst_object_set_parent):
11319 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
11320 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
11322 * gst/gstpadtemplate.h:
11323 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
11324 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
11325 * gst/gstpipeline.h:
11326 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11327 (gst_file_index_commit):
11328 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
11329 * testsuite/pad/link.c: (gst_test_src_init),
11330 (gst_test_filter_init), (gst_test_sink_init):
11331 * testsuite/states/locked.c: (main):
11332 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
11333 moved bitshift from macro to enum definition
11335 2005-10-12 Wim Taymans <wim@fluendo.com>
11337 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
11338 * gst/elements/gstfilesink.c: (gst_file_sink_event),
11339 (gst_file_sink_render):
11340 Some more debugging info.
11342 2005-10-12 Wim Taymans <wim@fluendo.com>
11344 * docs/design/part-states.txt:
11345 * tools/gst-launch.c: (main):
11347 Revert non-intentional change.
11349 2005-10-12 Wim Taymans <wim@fluendo.com>
11351 * check/gst/gstbin.c: (GST_START_TEST):
11352 * check/gst/gstelement.c: (GST_START_TEST):
11353 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
11354 * check/gst/gstghostpad.c: (GST_START_TEST):
11355 * check/gst/gstpipeline.c: (GST_START_TEST):
11356 * check/pipelines/simple_launch_lines.c: (run_pipeline):
11357 * check/states/sinks.c: (GST_START_TEST):
11358 * gst/elements/gsttypefindelement.c: (stop_typefinding):
11359 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11360 (gst_bin_remove_func), (gst_bin_get_state_func),
11361 (gst_bin_recalc_state), (gst_bin_change_state_func),
11363 * gst/gstelement.c: (gst_element_get_state_func),
11364 (gst_element_get_state), (gst_element_abort_state),
11365 (gst_element_commit_state), (gst_element_set_state),
11366 (gst_element_change_state), (gst_element_change_state_func):
11367 * gst/gstelement.h:
11368 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
11369 (gst_pipeline_provide_clock_func):
11370 * gst/gstutils.c: (gst_element_link_pads_filtered):
11371 * tools/gst-launch.c: (main):
11372 * tools/gst-typefind.c: (main):
11373 Use GstClockTime in _get_state() instead of GTimeVal.
11374 Remove old code in gstutils.c
11376 2005-10-12 Andy Wingo <wingo@pobox.com>
11378 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
11381 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
11382 there is no task. Shouldn't affect any code, as nothing in our
11383 plugins checks this return value.
11384 (gst_pad_stop_task): Also take the stream lock if the pad has no
11385 task. Docs updated.
11387 2005-10-12 Wim Taymans <wim@fluendo.com>
11389 * gst/gstpad.c: (pre_activate), (post_activate),
11390 (gst_pad_activate_pull), (gst_pad_activate_push):
11391 Cleanup activation code. Reset old state if
11394 2005-10-12 Wim Taymans <wim@fluendo.com>
11396 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11397 (gst_base_sink_change_state):
11398 No need to prerol after receiving EOS.
11400 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
11401 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
11402 * gst/elements/gstidentity.c: (gst_identity_event):
11403 Print events more verbosely.
11405 2005-10-12 Wim Taymans <wim@fluendo.com>
11407 * check/Makefile.am:
11408 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
11409 * check/states/sinks2.c:
11410 Moved sinks2 testcode in sinks check.
11412 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11413 (gst_bin_remove_func), (gst_bin_recalc_state),
11414 (gst_bin_change_state_func), (bin_bus_handler):
11415 Fix potential race condition when _get_state() iterated over an
11416 ASYNC element right before it posted a state completion.
11419 Do proper cast here.
11421 * gst/gstevent.c: (gst_event_new_newsegment),
11422 (gst_event_parse_newsegment):
11423 A playback rate of 0.0 is not allowed.
11425 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11427 * win32/common/config.h:
11428 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
11429 (_trewinddir), (_ttelldir), (_tseekdir):
11430 * win32/common/dirent.h:
11431 * win32/common/gtchar.h:
11432 * win32/common/libgstbase.def:
11433 * win32/common/libgstreamer.def:
11434 * win32/vs6/grammar.dsp:
11435 * win32/vs6/gst_inspect.dsp:
11436 * win32/vs6/gst_launch.dsp:
11437 * win32/vs6/gstreamer.dsw:
11438 * win32/vs6/libgstbase.dsp:
11439 * win32/vs6/libgstelements.dsp:
11440 * win32/vs6/libgstreamer.dsp:
11441 Visual Studio 6 project files, and a new common directory.
11444 2005-10-11 Wim Taymans <wim@fluendo.com>
11446 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11447 (gst_base_sink_do_sync), (gst_base_sink_query),
11448 (gst_base_sink_change_state):
11449 * gst/base/gstbasesink.h:
11450 Correctly parse newsegment info.
11452 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11454 * gst/gst.c: (init_post):
11455 split plugin paths correctly
11457 2005-10-11 Wim Taymans <wim@fluendo.com>
11459 * check/gst/gstevent.c: (GST_START_TEST):
11460 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11461 (gst_base_sink_change_state):
11462 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
11463 * gst/base/gstbasetransform.c: (gst_base_transform_event):
11464 * gst/elements/gstfilesink.c: (gst_file_sink_event):
11465 * gst/gstevent.c: (gst_event_new_newsegment),
11466 (gst_event_parse_newsegment):
11468 Added extra flag to newsegment for future API freeze.
11469 Updated check and base elements.
11471 2005-10-11 Julien MOUTTE <julien@moutte.net>
11473 * gst/base/gstcollectpads.c: (gst_collectpads_init),
11474 (gst_collectpads_add_pad), (gst_collectpads_pop),
11475 (gst_collectpads_event), (gst_collectpads_chain):
11476 * gst/base/gstcollectpads.h: Handle EOS correctly.
11478 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11480 * tools/gst-launch.c: (main):
11481 more null protecting
11483 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11485 * gst/gst-i18n-lib.h:
11486 check for ENABLE_NLS, not GETTEXT_PACKAGE
11487 * gst/gstregistry.c: (gst_registry_add_plugin),
11488 (gst_registry_scan_path_level),
11489 (_gst_registry_remove_cache_plugins):
11490 protect possibly NULL strings
11491 * gst/parse/types.h:
11492 config.h already included before
11493 * tools/gst-inspect.c: (main):
11494 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
11495 check for ENABLE_NLS, not GETTEXT_PACKAGE
11496 * tools/gst-launch.c: (main):
11497 check for ENABLE_NLS, not GETTEXT_PACKAGE
11499 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11502 if we don't have glib, fail before testing 2.8
11503 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
11504 fix a leak, should fix plugins-base testsuite
11506 2005-10-11 Andy Wingo <wingo@pobox.com>
11508 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
11509 take the mode we're going to as an arg. Go head and set the mode
11510 and flushing flags now, so that if the activate function starts a
11511 thread all the flags will be in the right state.
11512 (post_activate): Renamed also. Just handle making sure streaming
11513 finishes for the deactivation case, and setting the deactivated
11515 (gst_pad_set_active): Complain loudly if deactivation fails.
11516 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
11517 (gst_pad_activate_push): Adapt to pre/post_activate changes,
11518 remove the terrible hack.
11520 2005-10-11 Wim Taymans <wim@fluendo.com>
11522 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11523 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
11524 (gst_bin_recalc_state), (gst_bin_change_state_func),
11525 (gst_bin_dispose), (bin_bus_handler):
11527 Prepare to make current EOS message queue more generic.
11530 * gst/gstevent.c: (gst_event_new_newsegment),
11531 (gst_event_parse_newsegment):
11533 Rename base to stream_time.
11535 * gst/gstmessage.h:
11538 2005-10-11 Wim Taymans <wim@fluendo.com>
11540 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11541 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
11542 (gst_bin_change_state_func), (bin_bus_handler):
11544 Work on proper clock selection.
11546 2005-10-11 Edward Hervey <edward@fluendo.com>
11548 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
11549 * libs/gst/controller/gstcontroller.h:
11550 Added GList* version of _remove_properties() in order to be able to wrap
11553 2005-10-11 Wim Taymans <wim@fluendo.com>
11555 * docs/design/part-states.txt:
11558 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
11559 (gst_bin_change_state_func), (bin_bus_handler):
11560 Doc updates. Don't distribute the same clock over and over again.
11566 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
11567 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
11568 (gst_pad_send_event):
11570 Make probe emission threadsafe again.
11571 Register quarks and move _get_name() from utils.
11574 * gst/gstpipeline.c: (gst_pipeline_class_init),
11575 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11576 Only redistribute the clock of it changed.
11578 * gst/gstsystemclock.h:
11583 Moved the _flow_get_name() to GstPad.
11585 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11587 * check/gst-libs/gdp.c: (GST_START_TEST):
11588 * check/gst/gstcaps.c: (GST_START_TEST):
11589 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
11590 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
11591 (gst_dp_packet_from_caps):
11592 fix more valgrind warnings before turning up the heat
11594 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11596 * gst/parse/grammar.y:
11597 some cleanup before the hacking
11599 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11601 * gst/base/gstbasesrc.c: (gst_base_src_query):
11603 * gst/gstutils.c: (gst_guint64_to_gdouble),
11604 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
11606 externalize, basesrc uses it
11607 obviously the implementation needs testing
11609 2005-10-10 Wim Taymans <wim@fluendo.com>
11611 * tests/sched/Makefile.am:
11612 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
11613 (make_pipeline3), (make_pipeline4), (print_elem), (main):
11615 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11617 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
11618 apparently converting from guint64 to double is not implemented
11621 2005-10-10 Wim Taymans <wim@fluendo.com>
11623 * check/Makefile.am:
11624 * check/generic/states.c: (GST_START_TEST):
11625 * check/gst/gstbin.c: (GST_START_TEST):
11626 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11627 * check/states/sinks.c: (GST_START_TEST):
11628 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
11630 Check fixes, use API as stated in design docs, remove hacks.
11632 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11633 (gst_base_sink_change_state):
11634 Catch stopping our task while we're shutting down.
11636 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
11637 (gst_bin_remove_func), (gst_bin_get_state_func),
11638 (gst_bin_recalc_state), (gst_bin_change_state_func),
11641 * gst/gstelement.c: (gst_element_init),
11642 (gst_element_get_state_func), (gst_element_abort_state),
11643 (gst_element_commit_state), (gst_element_lost_state),
11644 (gst_element_set_state), (gst_element_change_state),
11645 (gst_element_change_state_func):
11646 * gst/gstelement.h:
11647 New state change algorithm (see #318116)
11649 * gst/gstpipeline.c: (gst_pipeline_class_init),
11650 (gst_pipeline_init), (gst_pipeline_set_property),
11651 (gst_pipeline_get_property), (do_pipeline_seek),
11652 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11653 * gst/gstpipeline.h:
11654 Remove crude state change hacks.
11657 Remove crude hacks.
11659 * tools/gst-launch.c: (main):
11660 Fixes for state change. Needs some more work to fully use the
11663 2005-10-10 Andy Wingo <wingo@pobox.com>
11665 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
11667 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
11668 this flag, but it's not even in GLib 2.6. Odd. Hack around the
11671 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11673 * gst/gstiterator.c: (gst_iterator_new):
11674 Fix my previous commit: GTypes passed to gst_iterator_new()
11675 can be fundamental types.
11677 2005-10-10 Wim Taymans <wim@fluendo.com>
11679 * gst/gstelement.c: (gst_element_iterate_pad_list),
11680 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
11681 (gst_element_iterate_sink_pads):
11682 Use src/sink pads lists for the respective iterators instead
11685 2005-10-10 Andy Wingo <wingo@pobox.com>
11687 Merged in popt removal + GOption addition patch from Ronald, bug
11690 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
11691 GstElement macros around, remove popt-related symbols, add goption
11694 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
11696 * docs/gst/Makefile.am:
11697 * docs/libs/Makefile.am: No POPT_CFLAGS.
11699 * examples/manual/Makefile.am:
11700 * docs/manual/basics-init.xml: Doc updates with an example.
11702 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11703 (gst_init), (parse_one_option), (parse_goption_arg):
11704 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
11705 bit of hand merging and debugging to get the GOption stuff working
11708 * tests/Makefile.am:
11709 * tools/Makefile.am:
11710 * tools/gst-inspect.c: (main):
11711 * tools/gst-launch.c: (main):
11712 * tools/gst-run.c: (main):
11713 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
11715 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11717 * gst/gstiterator.c: (gst_iterator_new):
11718 Add assertions to make sure passed GType is likely to really
11719 be a GType (as the compiler won't catch it if the size and
11720 GType arguments get mixed up, see #318447).
11722 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
11724 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11726 * gst/gstbin.c: (gst_bin_iterate_sorted):
11727 Pass GType and size arguments to gst_iterator_new() in the right
11728 order (maybe we should make _new() take the GType as first argument
11729 just like _new_list()?) (#318447).
11732 2005-10-10 Wim Taymans <wim@fluendo.com>
11734 * gst/gstelement.c: (gst_element_finalize):
11735 And free the GStaticRecMutex too
11737 2005-10-10 Andy Wingo <wingo@pobox.com>
11739 * gst/gstelement.c (gst_element_init, gst_element_finalize):
11740 Allocate and free the mutex properly.
11742 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11744 (GstElement): The state_lock is now recursive. Rebuild your
11745 plugins, suckers. Old macros adapted.
11747 * docs/gst/gstreamer-sections.txt: Doc updates.
11750 * gst/gstutils.c (g_static_rec_cond_timed_wait)
11751 (g_static_rec_cond_wait): Ported from state changes patch, while
11752 we wait on bug #317802 to be solved in a well-distributed GLib.
11754 * gst/gstelement.c (gst_element_change_state_func): Renamed from
11755 gst_element_change_state, variable name changes.
11756 (gst_element_change_state): Split out of gst_element_set_state in
11757 preparation for the state change merge. Doesn't pay attention to
11758 the 'transition' argument.
11759 (gst_element_set_state): Updates, hopefully purely cosmetic.
11760 (gst_element_sync_state_with_parent): MT-safety. Ported from the
11761 state change patch.
11762 (gst_element_get_state_func): Renamed from get_state, cosmetic
11765 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11767 * gst/elements/gstelements.c:
11768 * win32/GStreamer.vcproj:
11770 * win32/dirent.c: (_tseekdir):
11771 * win32/gst-inspect.vcproj:
11772 * win32/gst-launch.vcproj:
11773 * win32/gstconfig.h:
11774 * win32/gstelements.vcproj:
11775 * win32/gstenumtypes.c: (gst_object_flags_get_type):
11776 * win32/gstreamer.def:
11777 * win32/msvc71.sln:
11778 updates for the win32 build (patch from Sebastien Moutte)
11780 2005-10-10 Andy Wingo <wingo@pobox.com>
11782 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11783 gst_bin_get_state, cleaned up (but no logic changes).
11784 (bin_element_is_sink): Comment updates.
11785 (sink_iterator_filter): Remove needless cast.
11786 (gst_bin_iterate_sinks): Doc update.
11787 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11788 cleaned up (but no logic changes).
11790 * check/states/sinks.c (test_src_sink): Cleanups from the state
11792 (test_livesrc_sink): Sync on the state.
11794 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11795 the state change patch.
11797 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11800 * check/gst/gstbin.c: Merge in some style fixes and additional
11801 checks from Wim's state change patch.
11803 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11805 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11806 (gst_type_find_helper):
11807 Check whether we have the requested data already in our list of
11808 cached buffers before pulling a new buffer; also make the buffer
11809 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11811 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11816 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11817 don't use long long, it's not portable. Replacing with
11818 gint64 seems to work; let's hope no skeletons fall out of the closet.
11820 2005-10-10 Andy Wingo <wingo@pobox.com>
11822 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
11824 2005-10-09 Stefan Kost <ensonic@users.sf.net>
11826 * docs/gst/gstreamer-sections.txt:
11831 * gst/gstmessage.c: (gst_message_parse_state_changed):
11834 more docs, fix compilation
11836 2005-10-09 Philippe Khalaf <burger@speedy.org>
11837 * gst/gstmessage.c:
11838 Fixed a few forgotten variables on previous commit
11840 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
11842 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11843 Fix evil typefind crasher: getrange() might return a short
11844 buffer at the end of a file, but gst_type_find_peek() must
11845 either return the full data as requested or NULL, but
11846 never a short buffer.
11848 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
11850 * gst/gstmessage.c: (gst_message_new_state_changed),
11851 (gst_message_parse_state_changed):
11852 * gst/gstmessage.h:
11853 don't use "new", it's a C++ keyword
11855 2005-10-08 Wim Taymans <wim@fluendo.com>
11857 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
11858 * gst/gstelement.c: (gst_element_post_message):
11859 * gst/gstpipeline.c: (gst_pipeline_change_state):
11860 Small docs and debug updates.
11862 2005-10-08 Stefan Kost <ensonic@users.sf.net>
11864 * docs/gst/gstreamer-sections.txt:
11865 * gst/gstelementfactory.c:
11867 * gst/gsttaglist.c:
11870 2005-10-08 Wim Taymans <wim@fluendo.com>
11872 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
11873 (gst_bin_dispose), (bin_bus_handler):
11874 Fix typos, add comments.
11875 Clear EOS list when going to PAUSED from any direction and do it
11876 in a threadsafe way.
11877 Get base time in a threadsafe way too.
11878 Fix confusing debug in the change_state function.
11879 Various other small cleanups.
11881 * gst/gstelement.c: (gst_element_post_message):
11882 Fix very verbose bus posting code.
11884 * gst/gstpipeline.c: (gst_pipeline_class_init),
11885 (gst_pipeline_set_property), (gst_pipeline_get_property),
11886 (gst_pipeline_change_state):
11887 Small ARG_ -> PROP_ cleanup
11889 2005-10-08 Wim Taymans <wim@fluendo.com>
11891 * gst/gstbin.c: (is_eos), (bin_bus_handler):
11892 Do a less CPU demanding EOS check because we can.
11894 2005-10-08 Wim Taymans <wim@fluendo.com>
11896 * libs/gst/dataprotocol/dataprotocol.c:
11897 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11898 (gst_dp_packet_from_event):
11899 * libs/gst/dataprotocol/dataprotocol.h:
11900 * libs/gst/dataprotocol/dp-private.h:
11901 It's about time we bump the version number.
11902 Since event types don't fit in the guint8 anymore describing
11903 the payload type, make payload type 16 bits wide.
11905 2005-10-08 Wim Taymans <wim@fluendo.com>
11907 * docs/design/part-TODO.txt:
11908 * docs/design/part-clocks.txt:
11909 * docs/design/part-events.txt:
11910 * docs/design/part-gstbin.txt:
11911 * docs/design/part-gstelement.txt:
11912 * docs/design/part-gstpipeline.txt:
11913 * docs/design/part-live-source.txt:
11914 * docs/design/part-messages.txt:
11915 * docs/design/part-overview.txt:
11916 * docs/design/part-states.txt:
11919 2005-10-08 Wim Taymans <wim@fluendo.com>
11923 Fix event quark registration.
11924 Add some space between events so we can insert them in the
11927 2005-10-08 Wim Taymans <wim@fluendo.com>
11929 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11930 (gst_base_sink_handle_buffer):
11931 Better log message.
11934 * gst/gstelement.h:
11937 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11938 (gst_queue_set_property), (gst_queue_get_property):
11940 Remove old unused properties.
11942 2005-10-08 Stefan Kost <ensonic@users.sf.net>
11943 * docs/gst/gstreamer-sections.txt:
11944 * gst/gstmessage.c:
11945 * gst/gstmessage.h:
11946 * gst/gstminiobject.c:
11947 * gst/gstminiobject.h:
11951 lots of new docs and doc fixes
11953 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11955 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
11957 * gst/gstregistry.c: (gst_registry_lookup_locked),
11958 (gst_registry_scan_path_level):
11959 * gst/gstregistryxml.c: (load_plugin):
11960 Only ever load one plugin for a given plugin basename.
11961 This ensures correct overriding of GST_PLUGIN_PATH over
11962 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
11963 system installed plugins.
11965 2005-10-08 Wim Taymans <wim@fluendo.com>
11967 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11968 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
11969 Prepare for doing QOS.
11971 2005-10-08 Wim Taymans <wim@fluendo.com>
11973 * check/gst/gstbin.c: (GST_START_TEST):
11974 * check/pipelines/cleanup.c: (GST_START_TEST):
11975 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
11976 Allow new clock message too.
11978 2005-10-08 Wim Taymans <wim@fluendo.com>
11980 * gst/gstmessage.c: (gst_message_new_error),
11981 (gst_message_new_warning), (gst_message_new_tag),
11982 (gst_message_new_state_changed), (gst_message_new_clock_provide),
11983 (gst_message_new_clock_lost), (gst_message_new_new_clock),
11984 (gst_message_new_segment_start), (gst_message_new_segment_done),
11985 (gst_message_parse_state_changed),
11986 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
11987 (gst_message_parse_new_clock):
11988 * gst/gstmessage.h:
11989 Also carry the clock in question.
11991 2005-10-08 Wim Taymans <wim@fluendo.com>
11993 * gst/gstmessage.c: (gst_message_new_custom),
11994 (gst_message_new_eos), (gst_message_new_error),
11995 (gst_message_new_warning), (gst_message_new_tag),
11996 (gst_message_new_state_changed), (gst_message_new_clock_provide),
11997 (gst_message_new_new_clock), (gst_message_new_segment_start),
11998 (gst_message_new_segment_done), (gst_message_parse_state_changed),
11999 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
12000 * gst/gstmessage.h:
12002 Added clock related messages.
12004 * gst/gstpipeline.c: (gst_pipeline_change_state):
12005 Post message when the clock changed.
12007 * tools/gst-launch.c: (event_loop):
12010 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
12012 * tools/gst-inspect.c: (print_element_properties_info):
12013 Can't pass NULL strings to g_print() on windows.
12015 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12017 * docs/Makefile.am:
12018 * docs/gst/Makefile.am:
12019 * docs/gst/gstreamer-docs.sgml:
12020 * docs/gst/running.xml:
12021 * docs/version.entities.in:
12022 add a chapter on running GStreamer.
12023 document GST_DEBUG and GST_PLUGIN* env vars
12025 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12030 remove PLUGINS_BUILDDIR stuff
12031 * gst/gst.c: (init_post):
12032 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
12034 remove, it was condescending and not needed
12036 2005-10-08 Wim Taymans <wim@fluendo.com>
12038 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
12039 (gst_base_sink_handle_object), (gst_base_sink_event),
12040 (gst_base_sink_wait), (gst_base_sink_handle_event),
12041 (gst_base_sink_change_state):
12042 * gst/base/gstbasesink.h:
12043 Repost EOS message while going to PLAYING if still EOS.
12044 Make sure that when receiving a FLUSH_START we don't attempt
12045 to sync on the clock anymore.
12047 2005-10-08 Wim Taymans <wim@fluendo.com>
12049 * tools/gst-launch.c: (event_loop):
12050 Better message printout.
12052 2005-10-08 Wim Taymans <wim@fluendo.com>
12054 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
12055 (gst_bin_child_proxy_get_children_count):
12056 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
12057 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
12058 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
12059 (gst_child_proxy_set_valist):
12060 * gst/parse/grammar.y:
12061 Make ChildProxy threadsafe and fix mem leaks.
12063 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12065 * gst/gst.c: (init_post):
12066 debug the GST_PLUGIN_ env vars
12068 2005-10-08 Wim Taymans <wim@fluendo.com>
12070 * check/gst/gstbin.c: (GST_START_TEST):
12071 * check/gst/gstmessage.c: (GST_START_TEST):
12072 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
12073 * gst/gstelement.c: (gst_element_commit_state),
12074 (gst_element_lost_state):
12075 * gst/gstmessage.c: (gst_message_new_state_changed),
12076 (gst_message_parse_state_changed):
12077 * gst/gstmessage.h:
12078 * tools/gst-launch.c: (event_loop):
12079 Added extra field to STATE_CHANGE message with the pending
12080 state, which will be different from the new state soon.
12082 2005-10-08 Wim Taymans <wim@fluendo.com>
12084 * gst/gstbus.c: (gst_bus_pop):
12086 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
12087 Small cleanups and doc updates.
12089 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12091 * gst/gst.c: (init_pre):
12092 * gst/gstbin.c: (gst_bin_add_func):
12093 log distributing clocks and base time
12094 * gst/gstregistry.c: (gst_registry_add_plugin),
12095 (gst_registry_scan_path_level), (gst_registry_scan_path):
12096 clean up the debugging output a little
12097 * gst/gstutils.c: (gst_element_state_get_name):
12098 warn about a memleak (I've actually seen this be used, though
12099 it was probably a bug)
12101 2005-10-07 Wim Taymans <wim@fluendo.com>
12103 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12104 (gst_base_src_init), (gst_base_src_default_newsegment),
12105 (gst_base_src_newsegment), (gst_base_src_do_seek),
12106 (gst_base_src_loop), (gst_base_src_start):
12107 * gst/base/gstbasesrc.h:
12108 Make the newsegment event customizable by subclasses.
12110 2005-10-07 Wim Taymans <wim@fluendo.com>
12112 * gst/gstevent.c: (gst_event_new_buffersize),
12113 (gst_event_parse_buffersize):
12115 New event for future idea.
12117 2005-10-07 Andy Wingo <wingo@pobox.com>
12119 * gst/gstelement.c (gst_element_post_message): Doc update.
12121 * docs/gst/gstreamer-sections.txt: Update.
12123 * gst/gstmessage.c (gst_message_new_application): Made into a
12124 function like honest API calls.
12125 (gst_message_new_element): New message type.
12127 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
12129 * check/elements/fakesrc.c (test_no_preroll): New check, checks
12130 that setting a live fakesrc to PAUSED returns NO_PREROLL both
12133 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
12134 NO_PREROLL from gst_element_change_state to fall through.
12136 2005-10-07 Wim Taymans <wim@fluendo.com>
12138 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
12139 (gst_ghost_pad_do_activate_push):
12140 Activating a ghostpad with no internal pad in push mode
12143 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
12146 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
12147 Fixes compilation on Windows.
12149 2005-10-07 Michael Smith <msmith@fluendo.com>
12151 * tools/gst-inspect.c:
12152 Print out feature and plugin count at the end when printing out
12155 2005-10-04 Michael Smith <msmith@fluendo.com>
12157 * gst/gsterror.c: (_gst_stream_errors_init):
12158 Add another error string used in a few existing plugins.
12161 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12162 * tools/gst-inspect.c: (print_element_info):
12163 When a feature disappears from a plugin (and the feature exists in
12164 the cached registry file), things went horribly wrong. This isn't a
12165 complete fix, we should actually be removing the 'missing' features
12166 from the features list when we load the actual plugin. That's not
12169 2005-10-04 Johan Dahlin <johan@gnome.org>
12171 * check/gst/gstiterator.c: (GST_START_TEST):
12172 * gst/gstbin.c: (gst_bin_iterate_elements),
12173 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
12174 * gst/gstelement.c: (gst_element_iterate_pads):
12175 * gst/gstformat.c: (gst_format_iterate_definitions):
12176 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12177 (gst_iterator_new_list), (gst_iterator_filter):
12178 * gst/gstiterator.h:
12179 * gst/gstquery.c: (gst_query_type_iterate_definitions):
12180 Add a GType to GstIterator, update callsites and tests.
12182 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12184 * gst/gstpad.c: (gst_pad_event_default_dispatch):
12185 give events a chance to be handled by event probes when the pad
12188 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12190 * gst/gstevent.c: (gst_event_type_get_name),
12191 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
12193 add string representations for event types
12195 2005-10-06 Wim Taymans <wim@fluendo.com>
12197 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
12198 Don't use NULL pointers.
12200 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12202 * gst/gst_private.h:
12204 * gst/gstelement.c:
12206 * gst/gstpluginfeature.c:
12207 widen the debug category in output to fit the biggest one we have
12208 add a bus category and use it
12209 play with the colors
12210 fix up some categories
12212 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12214 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
12215 add push activation of sink ghost pads.
12216 Andye, please verify
12218 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
12220 * gst/gstutils.c: (gst_element_link_pads):
12221 fix a bug in the case where neither element has a pad
12222 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
12223 add a test for that case
12225 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
12227 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
12228 emit have-data before checking for peers. This allows
12229 for probe handlers to connect elements. This helps autopluggers.
12230 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
12232 add six checks, linked/unlinked with no/true/false probe
12234 2005-10-04 Wim Taymans <wim@fluendo.com>
12236 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
12237 (gst_fake_sink_event), (gst_fake_sink_preroll),
12238 (gst_fake_sink_render), (gst_fake_sink_change_state):
12239 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
12240 (gst_fake_src_get_property), (gst_fake_src_create),
12241 (gst_fake_src_stop):
12242 * gst/elements/gstidentity.c: (gst_identity_stop):
12243 Protect last_message with lock.
12245 2005-10-04 Edward Hervey <edward@fluendo.com>
12248 Added precision in the comments for GST_FORMAT_DEFAULT
12250 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
12252 * tools/gst-launch.c: (main):
12253 Don't try to run erroneous pipelines.
12255 2005-10-04 Julien MOUTTE <julien@moutte.net>
12257 * gst/gstbus.c: We don't need this header.
12259 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
12262 back to development
12264 === release 0.9.3 ===
12266 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
12270 Releasing 0.9.3, "Unregistered"
12272 2005-10-03 Andy Wingo <wingo@pobox.com>
12274 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
12275 whereby calling a pad's activatepush() function can start a thread
12276 that starts to push or pull before the pad gets the FLUSHING flag
12277 unset. Hack around it by holding the stream lock until the flag is
12278 set. Need to replace this with a proper solution. Together with
12279 the ghost pad fixes, this fixes mp3 playing/tagreading.
12281 * docs/design/part-gstghostpad.txt: Add a note about activation of
12282 proxy pads outside of ghost pads.
12284 * gst/gstghostpad.c: Implement the ghost pad activation design.
12286 2005-10-02 Andy Wingo <wingo@pobox.com>
12288 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
12289 It is volatile, after all.
12291 * docs/design/part-gstghostpad.txt: Flesh out activation with
12294 * gst/base/gstbasesrc.c (gst_base_src_init): Use
12297 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
12300 Fix (unused) AM_CONDITIONAL tests.
12302 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
12304 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12306 * gst/gstutils.c: (gst_pad_query_convert):
12307 Add assertion that makes sure src_val is >=0, just like
12308 gst_query_new_convert() has. (#315895)
12310 2005-09-30 Edward Hervey <edward@fluendo.com>
12312 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
12313 Let's not iterate pads we're not interested in, it avoids getting
12314 sky-high refcounts on sinkpad.
12316 2005-09-30 Wim Taymans <wim@fluendo.com>
12318 * gst/gstelement.c: (gst_element_set_state),
12319 (gst_element_change_state):
12320 Small tweak, element in ASYNC remains ASYNC.
12322 2005-09-30 Wim Taymans <wim@fluendo.com>
12324 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12325 Only error is an error.
12327 * gst/gstbin.c: (gst_bin_change_state):
12330 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
12331 Also call pad_block in pad alloc.
12333 * gst/gstutils.c: (gst_flow_get_name):
12336 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12338 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12339 (gst_base_src_get_range):
12340 Fix documentation typos. Add some more debug info.
12342 2005-09-29 David Schleef <ds@schleef.org>
12344 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
12345 more end-user friendly.
12346 * tools/gst-inspect.c: (main): Check if command-line argument is
12347 a file and attempt to load that file as a plugin.
12349 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12351 * check/gst/gstbin.c:
12352 * check/states/sinks.c:
12353 fix tests for the new warning
12354 * check/gst/gstpipeline.c:
12355 add a test for pipeline and bus interaction
12356 * gst/gstelement.c:
12357 elements should be NULL if they get disposed; add a warning if not
12359 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12362 for 2.6 refcounting, make debug log more correct by printing
12363 the actual refcounts at the time of swap (Wim)
12365 2005-09-29 Andy Wingo <wingo@pobox.com>
12367 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
12368 removes signal watches previously added via
12369 gst_bus_add_signal_watch.
12370 (gst_bus_add_signal_watch): Don't return the source id, just store
12371 it on the bus if there wasn't an id already.
12373 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
12374 add_signal_watch and remove_signal_watch.
12376 2005-09-29 Edward Hervey <edward@fluendo.com>
12378 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
12379 Better if we actually iterate the list :)
12381 2005-09-29 Wim Taymans <wim@fluendo.com>
12383 * check/gst/gstbin.c: (GST_START_TEST):
12384 Change for new bus API.
12386 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12387 (send_messages), (GST_START_TEST), (gstbus_suite):
12388 Change for new bus signal API.
12390 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
12391 (gst_bus_source_prepare), (gst_bus_source_check),
12392 (gst_bus_create_watch), (gst_bus_add_watch_full),
12393 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
12394 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
12396 Remove support for multiple GSources operating on different
12397 message types as it is too complex and unneeded when using
12399 Added support for receiving signals from the bus.
12401 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12403 * docs/libs/tmpl/gstdataprotocol.sgml:
12404 * docs/manual/advanced-dataaccess.xml:
12405 * gst/elements/gstcapsfilter.c:
12407 rename filter-caps to caps property
12409 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12411 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12412 More robust fraction string parsing.
12414 * docs/pwg/appendix-porting.xml:
12415 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
12417 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12419 * gst/gstcaps.c: (gst_caps_do_simplify):
12420 Thou shalt not free a structure and then continue using it
12421 in the next loop iteration.
12423 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
12425 Add test case for caps simplification.
12427 2005-09-29 Wim Taymans <wim@fluendo.com>
12429 * check/gst/gstbin.c: (GST_START_TEST):
12432 2005-09-29 Wim Taymans <wim@fluendo.com>
12434 * check/gst/gstbin.c: (GST_START_TEST):
12437 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
12438 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12439 (find_element), (gst_bin_sort_iterator_next),
12440 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12441 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12442 (gst_bin_change_state), (gst_bin_dispose):
12443 A bin does not have a bus, it gets the bus from the parent.
12445 * gst/gstelement.c: (gst_element_requires_clock),
12446 (gst_element_provides_clock), (gst_element_is_indexable),
12447 (gst_element_is_locked_state), (gst_element_change_state),
12448 (gst_element_set_bus_func):
12451 * gst/gstpipeline.c: (gst_pipeline_class_init),
12452 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
12453 The pipeline provides a bus.
12455 2005-09-28 Johan Dahlin <johan@gnome.org>
12457 * gst/gstmessage.c (gst_message_parse_state_changed): Use
12458 gst_structure_get_enum instead of gst_structure_get_int
12460 * gst/gststructure.c (gst_structure_get_enum): Impl.
12462 * gst/gststructure.h (gst_structure_get_enum): Add
12464 * docs/gst/gstreamer-sections.txt: Ditto
12466 * gst/gstmessage.c (gst_message_new_state_changed): Use
12467 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
12468 which does introspection.
12469 Reviewed by Christian Schaller
12471 2005-09-28 Stefan Kost <ensonic@users.sf.net>
12473 * gst/gstinfo.c: (gst_debug_log_default):
12474 don't do dummy g_strdup()s
12475 * libs/gst/controller/gstcontroller.c:
12476 (on_object_controlled_property_changed),
12477 (gst_controlled_property_new), (gst_controller_new_valist),
12478 (gst_controller_new_list),
12479 (gst_controller_remove_properties_valist), (gst_controller_set),
12480 (gst_controller_get), (gst_controller_sync_values),
12481 (gst_controller_get_value_array), (_gst_controller_class_init),
12482 (gst_controller_get_type):
12483 * libs/gst/controller/gstcontroller.h:
12484 * libs/gst/controller/gstinterpolation.c:
12485 (gst_controlled_property_find_timed_value_node):
12486 convert // to /**/ comments
12488 2005-09-28 Wim Taymans <wim@fluendo.com>
12490 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
12491 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
12492 (gst_bus_sync_signal_handler):
12494 Added async-message and sync-message signals to the bus.
12495 Added helper BusFunc to emit signals for all posted messages.
12497 * gst/gstmessage.c: (gst_message_type_get_name),
12498 (gst_message_type_to_quark), (gst_message_get_type):
12499 * gst/gstmessage.h:
12500 Register quarks for message names.
12502 2005-09-28 Stefan Kost <ensonic@users.sf.net>
12504 * docs/libs/gstreamer-libs-sections.txt:
12505 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12506 (gst_controller_new_list):
12507 * libs/gst/controller/gstcontroller.h:
12508 added another constructor for language bindings
12510 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
12512 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12516 * gst/gstinfo.c: (_gst_debug_init):
12517 slightly more readable color for refcount debugging
12519 2005-09-28 Wim Taymans <wim@fluendo.com>
12521 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
12522 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12523 (find_element), (gst_bin_sort_iterator_next),
12524 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12525 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12526 (gst_bin_change_state), (gst_bin_dispose):
12527 Small doc fixes. get_clock -> provide_clock.
12529 * gst/gstelement.c: (gst_element_class_init),
12530 (gst_element_provides_clock), (gst_element_provide_clock),
12531 (gst_element_get_clock), (gst_element_commit_state),
12532 (gst_element_lost_state):
12533 * gst/gstelement.h:
12534 Make get/set_clock() symetric. Add provide_clock vmethod since
12535 that is actually what this function does.
12537 * gst/gstpipeline.c: (gst_pipeline_class_init),
12538 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
12539 (gst_pipeline_get_clock):
12540 get_clock -> provide_clock.
12542 2005-09-28 Andy Wingo <wingo@pobox.com>
12544 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
12545 lieu of real docs...
12547 * gst/elements/gstfdsrc.c: Cleaned up a bit.
12549 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
12551 * gst/elements/gstcapsfilter.c:
12552 * gst/elements/gstfakesink.c:
12553 * gst/elements/gstfakesrc.c:
12554 * gst/elements/gstfdsink.c:
12555 * gst/elements/gstfdsrc.c:
12556 * gst/elements/gstfilesink.c:
12557 * gst/elements/gstfilesrc.c:
12558 * gst/elements/gstidentity.c:
12559 * gst/elements/gsttee.c:
12560 * gst/elements/gsttypefindelement.c:
12561 Make element details static.
12563 2005-09-28 Wim Taymans <wim@fluendo.com>
12565 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12566 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12567 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12568 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12569 (gst_bin_change_state), (gst_bin_dispose):
12570 Some documentation updates.
12571 Clean up dispose handlers.
12573 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
12574 * gst/gstpad.c: (gst_pad_dispose):
12575 Clean up dispose handler.
12577 * gst/gstpipeline.c: (gst_pipeline_change_state):
12578 Removed spurious UNLOCK.
12580 2005-09-27 Stefan Kost <ensonic@users.sf.net>
12582 * docs/gst/gstreamer-sections.txt:
12583 * gst/base/gstbasesrc.h:
12584 * gst/gstelement.h:
12588 * gst/gstpipeline.c:
12589 * gst/gstpipeline.h:
12592 added two new functions to the docs
12593 documents all undocumented GstXXXFlags
12594 completed some incomplete docs
12596 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
12598 * gst/gstbin.c: (gst_bin_dispose):
12599 * gst/gstelement.c: (gst_element_dispose):
12600 remove now useless and leaky resurrection code in dispose
12601 * gst/base/gstbasesrc.c: (gst_base_src_init):
12602 * gst/gstelementfactory.c: (gst_element_factory_create):
12603 * gst/gstobject.c: (gst_object_set_parent):
12606 2005-09-27 Wim Taymans <wim@fluendo.com>
12608 * docs/design/part-TODO.txt:
12611 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12612 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12613 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12614 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12615 (gst_bin_change_state):
12616 * gst/gstelement.h:
12617 Remove element variable, we keep element info in the iterator now.
12619 2005-09-27 Andy Wingo <wingo@pobox.com>
12621 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
12624 2005-09-27 Wim Taymans <wim@fluendo.com>
12626 * check/gst/gstbin.c: (GST_START_TEST):
12627 Enable check that works now.
12629 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12630 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12631 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12632 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12633 (gst_bin_change_state):
12635 Redid the state change algorithm using a topological sort algo.
12636 Handles all cases correctly.
12637 Exposed iterator for state change order.
12639 * gst/gstelement.h:
12640 Temp storage for state changes. Need to get rid of this soon.
12642 2005-09-27 Wim Taymans <wim@fluendo.com>
12644 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
12645 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
12646 (link_fold_func), (gst_pad_proxy_setcaps):
12647 Leak fixes, the fold functions need to unref the passed object and
12648 _get_parent_*() returns ref to parent.
12650 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12652 * check/gst/gstbuffer.c: (test_make_writable):
12653 Plug leak in test case and fix 'make check-valgrind'
12655 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12657 * gst/gstbuffer.c: (gst_subbuffer_init):
12658 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
12659 works correctly in all circumstances (we could have just copied
12660 the parent buffer's readonly flag, but conceptually it seems
12661 cleaner to mark all subbuffers as read-only). (based on patch
12662 by Alessandro Decina, #314710).
12664 * check/gst/gstbuffer.c: (create_read_only_buffer),
12665 (test_make_writable), (test_subbuffer_make_writable),
12667 Add some tests for gst_buffer_make_writable().
12669 2005-09-27 Wim Taymans <wim@fluendo.com>
12671 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
12672 use gst_object_has_ancestor().
12674 * gst/gstobject.c: (gst_object_has_ancestor):
12676 gst_object_has_ancestor() copied from gstbin.c as it is a
12679 * tests/instantiate/create.c: (create_all_elements):
12680 * tests/lat.c: (handoff_src), (handoff_sink):
12681 * tests/sched/runxml.c: (main):
12682 * tests/seeking/seeking1.c: (main):
12683 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
12685 Fix compilation of some tests.
12687 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12690 Remove comment. GST_TYPE_G_ERROR is here to stay,
12691 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
12692 (#316961, #300610).
12694 2005-09-26 Wim Taymans <wim@fluendo.com>
12696 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12697 Added check that shows error in state change order.
12699 2005-09-26 Wim Taymans <wim@fluendo.com>
12701 * gst/gstbin.c: (gst_bin_change_state):
12702 Make state change function use 3 queues again, we were
12703 adding elements in the wrong order.
12705 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12708 * gst/gstpad.c: (gst_pad_dispose):
12709 Added some debug info first.
12711 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
12713 * docs/design/draft-push-pull.txt:
12714 * docs/design/part-events.txt:
12715 * docs/design/part-overview.txt:
12716 * docs/design/part-scheduling.txt:
12717 Replace all _pull_region() with _pull_range()
12719 2005-09-26 Andy Wingo <wingo@pobox.com>
12721 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
12723 * check/gst-libs/controller.c: Update for controller api change.
12726 * tests/Makefile.am:
12727 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12728 over by GLib bug 118439.
12730 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12731 routines to a function.
12733 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12735 * libs/gst/controller/gsthelper.c:
12736 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12737 (gst_object_sync_values): Renamed from sink_values. Ugh.
12739 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12741 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12742 Renamed from controller_key, as it is exported.
12744 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12746 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
12751 * gst/gstpadtemplate.h:
12754 * gst/gstqueryutils.c:
12755 * gst/gstqueryutils.h:
12756 remove queryutils headers after moving the two used functions
12757 to gstquery. also fixes build problem for gstsiddec
12759 2005-09-26 Michael Smith <msmith@fluendo.com>
12761 * tools/gst-launch.1.in:
12762 Correct documentation in manpage of debug syntax
12764 2005-09-26 Wim Taymans <wim@fluendo.com>
12766 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12767 (gst_base_src_is_seekable), (gst_base_src_change_state):
12768 Some more debugging info.
12770 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12772 * docs/gst/gstreamer-sections.txt:
12773 * gst/base/gstbasetransform.h:
12777 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12779 * docs/gst/.cvsignore:
12780 * docs/gst/tmpl/.cvsignore:
12781 * docs/gst/tmpl/gstpipeline.sgml:
12782 * docs/gst/tmpl/gstplugin.sgml:
12783 * gst/gstpipeline.c:
12786 inlined the last two docs files
12787 removed the tmpl directory from cvs (no more conflicts here!)
12789 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12791 * docs/gst/gstreamer-sections.txt:
12792 * docs/gst/tmpl/.cvsignore:
12793 * docs/gst/tmpl/gstpad.sgml:
12794 * docs/gst/tmpl/gstpadtemplate.sgml:
12796 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12797 (gst_pad_finalize), (gst_pad_set_pad_template):
12799 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12800 (gst_pad_template_class_init), (gst_pad_template_init),
12801 (gst_pad_template_dispose), (name_is_valid),
12802 (gst_static_pad_template_get), (gst_pad_template_new),
12803 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12804 (gst_pad_template_pad_created):
12805 * gst/gstpadtemplate.h:
12806 inlined two more docs
12807 factored gstpadtemplate out of gstpad
12809 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
12811 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12812 (test_children_state_change_order_semi_sink):
12813 Fix test case: we can't rely on a fixed state change order when
12814 going from READY => PAUSED because the sink might commit its
12815 new state first when the first buffer created by the source
12816 reaches the sink before the source has finished its change state.
12817 (Test case still fails at times, see #316856, comment 5 onwards)
12819 2005-09-24 Wim Taymans <wim@fluendo.com>
12821 * docs/design/part-events.txt:
12822 * docs/design/part-gstbus.txt:
12823 * docs/design/part-gstpipeline.txt:
12824 * docs/design/part-messages.txt:
12825 * docs/design/part-overview.txt:
12826 * docs/design/part-segments.txt:
12830 * gst/gstelement.c:
12833 * gst/gstiterator.c:
12834 Various documentation updates.
12836 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
12839 Well, that's embarassing. Luckily we weren't using
12840 GST_CLOCK_DIFF anywhere.
12842 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12844 * common/gtk-doc.mak:
12845 don't fail on building XML, FC4 slave shows a bunch of doc
12846 missing bits that I don't get
12848 * gst/gstpipeline.c:
12849 * gst/gststructure.c:
12852 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
12854 * docs/design/part-gstbin.txt:
12855 * docs/design/part-gstbus.txt:
12857 Add blurb about how the bus goes into flushing mode and
12858 drops all messages when its bin goes from READY into NULL
12861 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12863 * docs/gst/gstreamer-sections.txt:
12864 * gst/gststructure.c: (gst_structure_get_clock_time):
12865 * gst/gststructure.h:
12866 add a method to get a GstClockTime out of a structure
12868 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
12870 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12871 (test_children_state_change_order_semi_sink), (gst_bin_suite):
12872 Added test to check state change order in bins (can still be made
12873 to fail here under heavy disk load; bails out with 'Push on pad
12874 fakesink:sink0, but it was not activated in push mode').
12876 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
12877 Fix state change order when there is only a semi sink (#316856)
12879 * gst/gstbus.c: (gst_bus_class_init):
12880 Use _class_peek_parent(), not _class_ref(); fix docs to say
12881 'default main context' instead of 'mainloop' where that is
12884 * gst/gstelement.c: (gst_element_commit_state),
12885 (gst_element_set_state):
12886 Fix typos in debug messages
12888 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12891 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
12892 * gst/gstpluginfeature.c:
12894 various doc updates
12895 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12896 change an assert into an error until it gets fixed properly
12898 2005-09-23 Stefan Kost <ensonic@users.sf.net>
12900 * docs/gst/gstreamer-sections.txt:
12901 * docs/gst/tmpl/.cvsignore:
12902 * docs/gst/tmpl/gstelement.sgml:
12903 * docs/gst/tmpl/gstinfo.sgml:
12904 * docs/gst/tmpl/gstobject.sgml:
12905 * gst/gstelement.c:
12906 * gst/gstelement.h:
12909 * gst/gstobject.c: (gst_object_class_init):
12911 inlined 3 more biiiig doc files and added some missing docs on the fly
12913 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12915 * check/gst/.cvsignore:
12916 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
12917 * gst/gstregistryxml.c: (load_plugin),
12918 (gst_registry_xml_save_plugin):
12919 put back source in registry. add checks for find_plugin.
12920 * testsuite/states/bin.c: (assert_state), (empty_bin),
12921 (test_adding_one_element), (main):
12922 * testsuite/states/locked.c: (main):
12923 some compile/run fixes
12925 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
12927 * check/gst/gstvalue.c: (GST_START_TEST):
12928 fix leaks in the test itself
12930 2005-09-22 Wim Taymans <wim@fluendo.com>
12932 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12933 (gst_base_sink_send_event), (gst_base_sink_peer_query),
12934 (gst_base_sink_query):
12935 Prepare for more accurate position reporting and query
12938 * gst/gstelement.c: (gst_element_send_event),
12939 (gst_element_set_state):
12942 2005-09-22 Wim Taymans <wim@fluendo.com>
12944 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
12945 (gst_query_parse_segment):
12947 More documentation.
12948 Add segment query for future use.
12950 2005-09-22 Wim Taymans <wim@fluendo.com>
12952 * gst/gstbin.c: (gst_bin_add_func):
12953 Some more debug info.
12955 * gst/gstelement.c: (gst_element_send_event):
12956 Simplify send_event
12958 * gst/gstelement.h:
12959 Don't know how flags got broken.
12964 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
12966 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
12967 Add simplistic test suite for GST_TYPE_DATE serialisation and
12970 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
12972 * docs/gst/gstreamer-sections.txt:
12973 * gst/gststructure.c: (gst_structure_set_valist),
12974 (gst_structure_get_date):
12975 * gst/gststructure.h:
12976 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
12977 (gst_date_copy), (gst_value_compare_date),
12978 (gst_value_serialize_date), (gst_value_deserialize_date),
12979 (gst_value_transform_date_string),
12980 (gst_value_transform_string_date), (_gst_value_initialize):
12982 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
12983 bunch of utility functions along with a hack that checks that
12984 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
12985 is required. Part of the grand scheme in #170777.
12987 2005-09-22 Andy Wingo <wingo@pobox.com>
12989 * gst/gstconfig.h.in: Psych out gtk-doc.
12991 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
12993 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
12995 * tools/gst-inspect.c (print_element_list): Plug some
12996 inconsequential leaks.
12998 * gst/gstregistry.c (gst_registry_get_default): Doc.
13000 * check/gst/gstplugin.c:
13001 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
13002 * gst/gstelementfactory.c (gst_element_factory_create):
13003 * gst/gstindexfactory.c (gst_index_factory_create): Update for
13006 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
13007 (gst_plugin_feature_load): Doc, don't eat refs.
13009 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
13010 (gst_plugin_list_free): Doc.
13011 (gst_plugin_load_file): Doc updates.
13013 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
13014 accessors returning refcounted objects, return a ref.
13016 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
13017 accessor for caps. IDEMPOTENCE. Oh yes.
13019 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
13021 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13023 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
13024 (_gst_debug_register_funcptr):
13025 Add mutex to serialise access to the hash table with
13026 the function pointer => function name string mapping;
13027 make that hash table static scope (#316809).
13029 * gst/registries/.cvsignore:
13030 Remove left-over file.
13032 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
13034 * docs/pwg/appendix-porting.xml:
13035 And something about newsegment events and caps-on-buffers to
13036 the porting guide (feel free to improve).
13038 2005-09-21 Andy Wingo <wingo@pobox.com>
13040 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
13041 data and event probes on the same pad.
13042 (test_buffer_probe_once): Test that removing probes from within
13043 the probe functions works.
13045 2005-09-21 Andy Wingo <wingo@pobox.com>
13047 * check/gst/gstutils.c: New file.
13048 (test_buffer_probe_n_times): A simple buffer probe test. More to
13051 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
13052 have-data::buffer, not have-data.
13053 (gst_pad_add_event_probe): Likewise for have-data::event.
13054 (gst_pad_add_data_probe): More docs. The part about 'resolving the
13055 peer' isn't quite right yet though.
13056 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
13057 (gst_pad_remove_data_probe): Change to take the guint handler_id
13058 as their arg, not the function+data, which is more glib-like.
13060 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
13061 the signal emission to indicate if the data is a buffer or an
13063 (gst_pad_get_type): Initialize buffer and event quarks.
13064 (gst_pad_class_init): have-data is now a detailed signal, yes it
13067 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
13069 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
13070 * gst/gstutils.c: (gst_util_set_value_from_string),
13071 (gst_util_set_object_arg):
13072 Don't put functional code in g_return_if_fail() or
13073 g_return_val_if_fail() statements, otherwise things will
13074 break when G_DISABLE_CHECKS is defined during compilation.
13076 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13078 * docs/gst/tmpl/.cvsignore:
13079 * docs/gst/tmpl/gstvalue.sgml:
13082 inlied another one and added some obvious docs
13084 2005-09-21 Wim Taymans <wim@fluendo.com>
13086 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
13087 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
13088 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
13089 (gst_fdsrc_get_property), (gst_fdsrc_create):
13090 * gst/elements/gstfdsrc.h:
13091 Properly implement fdsrc. Removed signal and timeout,
13092 better implemented somewhere else.
13094 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13096 * docs/gst/tmpl/.cvsignore:
13097 * docs/gst/tmpl/gstimplementsinterface.sgml:
13098 * gst/gstinterface.c:
13101 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13103 * docs/gst/gstreamer-sections.txt:
13104 * docs/gst/tmpl/.cvsignore:
13105 * docs/gst/tmpl/gstenumtypes.sgml:
13106 remove obsolete doc file
13108 2005-09-21 David Schleef <ds@schleef.org>
13110 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
13111 little beer, fix a little leak.
13113 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13115 * docs/gst/gstreamer-docs.sgml:
13116 * docs/gst/gstreamer-sections.txt:
13117 * docs/gst/tmpl/.cvsignore:
13121 * gst/gstelement.h:
13122 * gst/gstindex.c: (gst_index_class_init):
13124 * gst/gstindexfactory.c: (gst_index_factory_get_type),
13125 (gst_index_factory_class_init), (gst_index_factory_init),
13126 (gst_index_factory_finalize), (gst_index_factory_new),
13127 (gst_index_factory_destroy), (gst_index_factory_find),
13128 (gst_index_factory_create), (gst_index_factory_make):
13129 * gst/gstindexfactory.h:
13130 * gst/gstpluginfeature.c:
13131 * gst/gstpluginfeature.h:
13132 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13133 more docs inlined, splitted gstindex.{c,h}
13135 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13137 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13140 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
13142 * gst/elements/gstfilesink.c: (gst_file_sink_init):
13143 Set sync to FALSE by default.
13145 2005-09-20 Wim Taymans <wim@fluendo.com>
13147 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13148 (gst_base_sink_init):
13149 Make sync property settable from subclass.
13151 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13152 (gst_fake_sink_change_state):
13153 Set sync to FALSE by default.
13155 2005-09-20 Wim Taymans <wim@fluendo.com>
13157 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
13158 * tools/gst-launch.c: (main):
13159 The timeout handler should have lower priority than the source
13160 so we don't timeout before popping a message with 0 timeout.
13161 Dump error messages after failed state change.
13163 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
13165 * tools/gst-inspect.c: (print_element_properties_info):
13168 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13170 * check/gst/gstevent.c:
13171 * gst/elements/gstfakesink.c:
13172 * gst/elements/gstfakesink.h:
13173 remove the sync property from fakesink.
13174 has the side effect of setting sync TRUE
13175 for fakesink, which is a change. Anyone who knows how
13176 to fix this nicely in a GObject-y way, feel free.
13178 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13180 * docs/gst/gstreamer-docs.sgml:
13181 remove probe refsection
13183 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13185 * check/Makefile.am:
13186 disable valgrinding the controller test again
13187 * docs/gst/gstreamer-sections.txt:
13188 update for api-changes
13190 2005-09-20 Wim Taymans <wim@fluendo.com>
13192 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13193 (gst_base_sink_set_property), (gst_base_sink_get_property),
13194 (gst_base_sink_do_sync):
13195 * gst/base/gstbasesink.h:
13196 Added sync property to basesink to disable clock sync.
13198 2005-09-20 Andy Wingo <wingo@pobox.com>
13200 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
13201 eating the caller's refcount.
13203 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
13204 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
13207 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
13208 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
13209 of GLib 2.8 public, so we can know which refcount to check in
13212 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
13213 (gst_object_init): Only set the gst refcount if we're going ahead
13214 with the refcount hack.
13216 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13218 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
13219 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13220 more leaks plumbed, added more debug-logging
13224 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13226 * gst/gstmessage.c:
13227 remove include of gstmemchunk.h
13229 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13231 * gst/gstclock.c: (_gst_clock_id_free):
13232 Commit from the Political Party For More Atomic CVS Commits,
13233 so that people don't waste too much of their day fishing
13234 out obvious leaks out of massive commits.
13235 Oh, and fix a pretty damn obvious leak in the memchunk
13238 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13240 * check/Makefile.am:
13241 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
13242 plug mem-leak, re-add to valgrindable tests
13244 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13247 unbreak the build for those who have chronic arthritis
13248 and typing "make check" is just too taxing on the hands
13250 2005-09-20 Andy Wingo <wingo@pobox.com>
13252 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
13253 really want it out, you should fix plugins at the same time.
13255 2005-09-19 Stefan Kost <ensonic@users.sf.net>
13258 * docs/gst/gstreamer-sections.txt:
13260 added missing symbols to api docs
13261 disable ref-count hack if we have glib >= 2.8
13263 2005-09-19 David Schleef <ds@schleef.org>
13265 * docs/gst/Makefile.am: Ignore a few more internal headers
13266 * docs/gst/gstreamer-docs.sgml: Remove old sections
13267 * docs/gst/gstreamer-sections.txt: Remove old sections
13268 * docs/gst/tmpl/gstobject.sgml: update
13269 * docs/gst/tmpl/gstplugin.sgml: update
13270 * docs/gst/tmpl/gstpluginfeature.sgml: update
13271 * docs/random/ds/0.9-suggested-changes: update.
13272 * gst/Makefile.am: remove memchunk and trashstack, since they're
13274 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
13275 * gst/gst.h: don't include some headers
13276 * gst/gstchildproxy.c: add gstmarshal.h
13277 * gst/gstclock.c: Don't use memchunks
13278 * gst/gstminiobject.c: Add some docs
13279 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
13280 * gst/gstobject.h: same
13281 * gst/gstplugin.c: include gstmacros.h
13282 * gst/gstplugin.h: don't include gstmacros.h, since it's private
13283 * gst/gstquery.c: don't use memchunks
13284 * gst/gstregistry.c: rename gst_registry_deinit()
13285 * gst/gstregistry.h: same
13287 2005-09-19 David Schleef <ds@schleef.org>
13289 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
13290 * docs/libs/gstreamer-libs-sections.txt:
13291 * docs/libs/tmpl/gstgetbits.sgml:
13292 * docs/libs/tmpl/gstputbits.sgml:
13294 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
13296 * win32/gstenumtypes.c:
13297 * win32/gstenumtypes.h:
13300 2005-09-19 Wim Taymans <wim@fluendo.com>
13302 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
13303 Automatically PAUSE and RESUME a pipeline when a flushing seek
13306 2005-09-19 Andy Wingo <wingo@pobox.com>
13308 * gst/gstregistry.h: Spacing fixen.
13310 2005-09-19 Wim Taymans <wim@fluendo.com>
13312 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
13313 Handle state change failure more correctly.
13315 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
13317 * check/Makefile.am:
13318 * check/pipelines/cleanup.c: (run_pipeline):
13319 * check/pipelines/simple_launch_lines.c: (run_pipeline),
13321 enable cleanup again after fixing the leak
13323 some more info on docs
13325 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
13327 * check/Makefile.am:
13328 re-enable tests now that leaks are plugged
13330 * check/gst/gstbin.c:
13331 * check/gst/gstpipeline.c:
13332 add some more tests while fixing leaks
13333 * common/check.mak:
13334 make sure binaries are uptodate when valgrinding/gdbing
13336 * gst/gstelementfactory.c:
13337 remove a ref too many, and add a FIXME for when we get
13338 round to disposing of classes
13340 fix the refcounting when loading a plugin from a file and
13341 the code pretends that the pointer is the same even though
13342 of course it can change
13343 * gst/gstpluginfeature.c:
13344 unref plugins marked cached (a bit confusing as a name)
13345 as the docs state should be done
13346 various doc additions to explain refcounting
13347 * gst/gstregistry.c:
13348 * gst/gstregistryxml.c:
13351 2005-09-19 Wim Taymans <wim@fluendo.com>
13353 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
13354 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
13355 (send_messages), (GST_START_TEST), (gstbus_suite):
13356 * check/gst/gstpipeline.c: (GST_START_TEST):
13357 * check/pipelines/cleanup.c: (run_pipeline):
13358 * check/pipelines/simple_launch_lines.c: (run_pipeline),
13360 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
13361 (gst_bus_source_check), (gst_bus_source_dispatch),
13362 (gst_bus_create_watch), (gst_bus_add_watch_full),
13363 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
13365 * tools/gst-launch.c: (event_loop):
13366 * tools/gst-md5sum.c: (event_loop):
13367 GstBusHandler -> GstBusFunc, return value has the same meaning as
13368 any other GSource (FALSE == remove source).
13369 _add_watch() and _add_watch_full() now take a MessageType mask to
13370 only handle specific types of messages.
13371 _poll() returns the GstMessage instead of the message type to avoid
13373 _have_pending() takes a MessageType mask now too.
13374 Added testsuite for multiple bus watches.
13375 Fix testsuites and applications for new bus API.
13377 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
13379 * check/Makefile.am:
13380 mark a bunch of the tests as to fix until we fix them
13382 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13384 * common/check.mak:
13385 use GST_PLUGIN settings for valgrind tests as well, so we're
13386 valgrinding the correct thing
13387 * gst/gst.c: (init_post):
13390 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13392 * gst/gst.c: (init_post), (gst_deinit):
13393 * gst/gstelementfactory.c: (gst_element_factory_class_init),
13394 (gst_element_factory_finalize), (gst_element_factory_cleanup):
13395 * gst/gstindex.c: (gst_index_factory_class_init),
13396 (gst_index_factory_finalize):
13397 * gst/gstobject.c: (gst_object_dispose):
13398 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13399 (gst_plugin_load_file), (gst_plugin_desc_free):
13400 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
13401 (gst_plugin_feature_finalize):
13402 * gst/gstregistry.c: (gst_registry_class_init),
13403 (gst_registry_init), (gst_registry_finalize),
13404 (gst_registry_get_default), (gst_registry_deinit):
13405 * gst/gstregistry.h:
13406 * gst/gstregistryxml.c: (load_feature), (load_plugin):
13407 various cleanups and memleak plugging. make valgrind is happy now.
13409 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13411 * common/check.mak:
13412 add a check-valgrind target
13414 2005-09-18 David Schleef <ds@schleef.org>
13416 * tools/gst-inspect.c: Revert the GOption code.
13418 2005-09-17 David Schleef <ds@schleef.org>
13420 * check/Makefile.am: Fix environment variables.
13421 * check/gst/gstplugin.c: Fix for API changes.
13422 * tools/gst-inspect.c: Fix for API changes.
13423 * tools/gst-xmlinspect.c: Fix for API changes.
13424 * gst/gstelementfactory.c:
13427 * gst/gstpluginfeature.c:
13428 * gst/gstpluginfeature.h:
13429 * gst/gstregistry.c:
13430 * gst/gstregistry.h:
13431 * gst/gstregistryxml.c:
13432 * gst/gsttypefind.c:
13433 * gst/gsttypefindfactory.c:
13434 * gst/indexers/gstfileindex.c:
13435 * gst/indexers/gstmemindex.c:
13436 * gst/schedulers/Makefile.am:
13437 Change registry to keep track of both plugins and features,
13438 removing the feature tracking from plugins themselves.
13440 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
13442 * check/Makefile.am:
13443 * tools/gst-register.1.in:
13444 remove gst-register
13446 2005-09-15 David Schleef <ds@schleef.org>
13448 * check/gst/gstplugin.c:
13449 * gst/gstelementfactory.c:
13451 * gst/gstpluginfeature.c:
13452 * gst/gstregistry.c:
13453 Getting tired of debugging. Disabled all the unreffing of
13454 plugins and features, which fixes the segfaults, but of
13455 course leaks like crazy. At least playbin works.
13457 2005-09-15 David Schleef <ds@schleef.org>
13459 * check/gst/gstplugin.c: (register_check_elements),
13460 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
13462 * gst/elements/gsttypefindelement.c: Fix refcounting.
13463 * gst/gsttypefind.c:
13464 * gst/gsttypefindfactory.c:
13465 * gst/gsttypefindfactory.h:
13467 2005-09-15 David Schleef <ds@schleef.org>
13469 * gst/gstindex.c: get refcounting correct.
13470 * gst/gstregistry.c: Handle the case where a feature/plugin is
13473 2005-09-15 David Schleef <ds@schleef.org>
13475 * check/Makefile.am:
13476 * check/gst/gstplugin.c: Add test
13477 * gst/gstplugin.c: Fix problems noticed by testsuite
13479 * gst/gstregistry.c:
13480 * gst/gstregistry.h:
13482 2005-09-15 David Schleef <ds@schleef.org>
13484 * gst/gstplugin.c: Implement semi-decent recounting and locking
13485 in plugins and plugin features.
13487 * gst/gstpluginfeature.c:
13488 * gst/gstpluginfeature.h:
13489 * gst/gstregistry.c:
13491 2005-09-15 Michael Smith <msmith@fluendo.com>
13493 * gst/gstregistry.c: (gst_registry_get_feature_list):
13494 Implement this. Makes oggdemux work; decodebin still broken.
13496 2005-09-14 David Schleef <ds@schleef.org>
13498 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
13500 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
13501 * gst/check/Makefile.am:
13502 * libs/gst/controller/Makefile.am:
13503 * libs/gst/dataprotocol/Makefile.am:
13505 2005-09-14 David Schleef <ds@schleef.org>
13507 * configure.ac: Remove getbits library. Nothing uses it, and
13508 it should be in something like liboil if someone did want
13510 * libs/gst/Makefile.am:
13511 * libs/gst/getbits/Makefile.am:
13512 * libs/gst/getbits/gbtest.c:
13513 * libs/gst/getbits/getbits.c:
13514 * libs/gst/getbits/getbits.h:
13515 * libs/gst/getbits/gstgetbits_generic.c:
13516 * libs/gst/getbits/gstgetbits_i386.s:
13517 * libs/gst/getbits/gstgetbits_inl.h:
13519 2005-09-14 David Schleef <ds@schleef.org>
13521 * gst/Makefile.am: Dist glib-compat.h
13523 2005-09-14 David Schleef <ds@schleef.org>
13525 * configure.ac: Remove gst/registries, since it's no longer used.
13526 * gst/registries/Makefile.am:
13527 * gst/registries/gstlibxmlregistry.c:
13528 * gst/registries/gstlibxmlregistry.h:
13529 * gst/registries/gstxmlregistry.c:
13530 * gst/registries/gstxmlregistry.h:
13531 * gst/registries/registrytest.c:
13533 2005-09-14 David Schleef <ds@schleef.org>
13535 * gst/glib-compat.h:
13536 * gst/gstregistryxml.c:
13537 Convergence is near. Seriously.
13539 2005-09-14 David Schleef <ds@schleef.org>
13541 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13542 * gst/glib-compat.h:
13543 Attempt #4 to appease the buildbots.
13545 2005-09-14 David Schleef <ds@schleef.org>
13547 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13550 2005-09-14 David Schleef <ds@schleef.org>
13552 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13555 2005-09-14 David Schleef <ds@schleef.org>
13557 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
13560 2005-09-14 David Schleef <ds@schleef.org>
13562 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13563 * gst/glib-compat.h: Add some functions that are in newer versions
13564 of glib than we care to require.
13565 * gst/gstregistryxml.c: Use them.
13567 2005-09-14 David Schleef <ds@schleef.org>
13569 * po/POTFILES.in: remove gst-register.c
13571 2005-09-14 David Schleef <ds@schleef.org>
13573 * docs/gst/gstreamer-docs.sgml:
13574 * docs/gst/gstreamer-sections.txt:
13575 * docs/gst/gstreamer.types:
13576 * docs/gst/tmpl/gstelement.sgml:
13577 * docs/gst/tmpl/gstplugin.sgml:
13578 * docs/gst/tmpl/gstpluginfeature.sgml:
13579 Documentation updates for registry changes.
13581 2005-09-14 David Schleef <ds@schleef.org>
13583 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
13584 because we don't require glib-2.8.
13586 2005-09-14 David Schleef <ds@schleef.org>
13588 * gst/gstregistryxml.c: Added. Essentially moved out of the
13589 registries directory.
13591 2005-09-14 David Schleef <ds@schleef.org>
13593 * check/Makefile.am:
13594 * check/generic/states.c:
13598 * gst/gst_private.h:
13599 * gst/gstelementfactory.c:
13604 * gst/gstpluginfeature.c:
13605 * gst/gstpluginfeature.h:
13606 * gst/gstregistry.c:
13607 * gst/gstregistry.h:
13608 * gst/gstregistrypool.c: remove
13609 * gst/gstregistrypool.h: remove
13610 * gst/gsttypefind.c:
13611 * gst/gsttypefindfactory.c:
13613 * tools/Makefile.am:
13614 * tools/gst-compprep.c:
13615 * tools/gst-inspect.c:
13616 * tools/gst-register.c: remove
13617 * tools/gst-xmlinspect.c:
13618 Registry rewrite. Changes registry from being a file created
13619 by a tool into a simple cache file created automatically by
13620 libgstreamer. Removed gst-register (because it's no longer
13621 needed). Remove registry pools, because we only have one
13622 registry implementation (XML). Fix up other subsystems as
13625 2005-09-13 Michael Smith <msmith@fluendo.com>
13627 * gst/gstconfig.h.in:
13628 Don't Use windows linking attributes for MinGW. Fixes #316157
13630 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
13632 * gst/gstutils.c: (set_state_async_thread_func),
13633 (gst_element_set_state_async):
13634 Apparently people think it's better if this function doesn't
13635 try to set the state to whatever state was asked for on the first
13636 call to this function for any object. Seriously.
13638 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13640 * check/gst/gstpipeline.c: (GST_START_TEST):
13641 * docs/gst/gstreamer-sections.txt:
13642 * gst/gstutils.c: (set_state_async_thread_func),
13643 (gst_element_set_state_async):
13645 add a "gst_element_set_state_async" method that
13646 sets the state and starts a thread to make sure the state
13647 change completes as best as it can
13649 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13651 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13652 codify design+behaviour in testsuite after discussion
13654 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13656 * docs/gst/tmpl/gstelement.sgml:
13657 * docs/manual/appendix-quotes.xml:
13659 * gst/gstelement.c: (gst_element_set_state):
13662 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
13664 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13665 (gst_base_transform_prepare_output_buf),
13666 (gst_base_transform_handle_buffer):
13667 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
13668 (gst_capsfilter_prepare_buf):
13669 Remove the requirement for sub-classes to call the parent
13670 implementation of prepare_output_buffer with a wrapper function.
13672 * gst/gsttaglist.h:
13673 * gst/gsttagsetter.h:
13674 Fix #define wrapper
13676 2005-09-11 Stefan Kost <ensonic@users.sf.net>
13678 * docs/gst/gstreamer-sections.txt:
13681 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13683 * docs/gst/gstreamer-sections.txt:
13684 * docs/gst/tmpl/gstelement.sgml:
13685 * docs/gst/tmpl/gstplugin.sgml:
13686 * gst/gstminiobject.c:
13688 docs now stop throwing warnings
13690 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13692 * docs/gst/gstreamer-sections.txt:
13693 * docs/gst/gstreamer.types:
13694 * docs/gst/tmpl/gstpad.sgml:
13695 * docs/gst/tmpl/gsttypes.sgml:
13696 * gst/base/gstadapter.h:
13697 * gst/base/gstbasesink.h:
13698 * gst/base/gstbasesrc.h:
13704 * gst/gstelement.h:
13706 * gst/gstmessage.h:
13708 * gst/gststructure.c:
13709 * gst/registries/gstlibxmlregistry.h:
13710 various documentation fixes
13712 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13714 * docs/gst/gstreamer-sections.txt:
13715 * docs/gst/tmpl/gstvalue.sgml:
13716 rearrange gstvalue section
13717 * gst/gstutils.c: (gst_element_state_get_name):
13719 * gst/gstvalue.c: (_gst_value_initialize):
13723 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
13725 * check/gst-libs/controller.c:
13726 Header include fix.
13727 * gst/base/gstbasetransform.c:
13728 (gst_base_transform_default_prepare_buf),
13729 (gst_base_transform_handle_buffer):
13730 * gst/base/gstbasetransform.h:
13731 Some more basetransform changes and fixes to enable sub-classes
13732 that modify buffer metadata only.
13733 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13734 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13735 (gst_capsfilter_prepare_buf):
13736 If the output pad has fixed allowed caps and input buffers
13737 don't have any, set the fixed caps on outgoing buffers.
13739 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
13740 * check/elements/identity.c: (GST_START_TEST):
13741 Make the error a little clearer when the test fails because
13742 identity made a copy of the buffer.
13743 * docs/gst/gstreamer-sections.txt:
13744 New symbols in gstbasetransform.h
13745 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13746 (gst_base_transform_init), (gst_base_transform_transform_size),
13747 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13748 (gst_base_transform_default_prepare_buf),
13749 (gst_base_transform_get_unit_size),
13750 (gst_base_transform_buffer_alloc),
13751 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13752 (gst_base_transform_change_state),
13753 (gst_base_transform_set_passthrough),
13754 (gst_base_transform_set_in_place),
13755 (gst_base_transform_is_in_place):
13756 * gst/base/gstbasetransform.h:
13757 Change BaseTransform to separate in_place operate from same_caps
13758 output. in_place implies that the element can perform the transform
13759 on incoming buffers in-place, even if the caps on the output are
13761 Sub-class elements can now implement special buffer allocation
13762 methods for outgoing buffers if they wish to.
13763 Big documentation addition.
13764 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13765 * gst/elements/gstelements.c:
13766 Changes for basetransform modifications.
13767 * gst/elements/Makefile.am:
13768 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13769 Compile fix. Extra debug output.
13771 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13773 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13775 add tests for valid pad naming
13776 * gst/check/gstcheck.c: (gst_check_log_message_func),
13777 (gst_check_log_critical_func):
13779 remove printing of code, it is fragile when the code contains
13780 % and the line number is enough info
13781 * gst/check/gstcheck.h:
13782 * gst/gstpad.c: (gst_pad_template_new):
13785 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13788 say what CHECK flags we use
13789 * docs/libs/gstreamer-libs.types:
13790 * libs/gst/controller/Makefile.am:
13791 * libs/gst/controller/gst-controller.c:
13792 * libs/gst/controller/gst-controller.h:
13793 * libs/gst/controller/gst-helper.c:
13794 * libs/gst/controller/gst-interpolation.c:
13795 * libs/gst/controller/gstcontroller.c:
13796 * libs/gst/controller/gsthelper.c:
13797 * libs/gst/controller/gstinterpolation.c:
13798 * tools/gst-inspect.c: (print_plugin_info):
13799 we don't use dashes in header names
13801 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13803 * check/Makefile.am:
13804 * check/gst/.cvsignore:
13805 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13806 (gst_pipeline_suite), (main):
13807 adding a test for pipelines and state changes
13808 * gst/gstutils.c: (get_state_func):
13810 * gstreamer.spec.in:
13813 2005-09-08 Michael Smith <msmith@fluendo.com>
13815 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13816 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13817 (gst_file_src_is_seekable), (gst_file_src_get_size),
13818 (gst_file_src_start):
13819 * gst/elements/gstfilesrc.h:
13820 Various fixes for unseekable, unmmapable, and non-normal files, so
13821 that fallback to read() rather than mmap() works.
13822 * gst/gstevent.c: (gst_event_new_newsegment):
13823 Allow newsegment events with segment_start == segment_end, as will
13824 correctly happen if you use filesrc on a zero-size file, for
13827 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
13829 * gst/gstplugin.c: (gst_plugin_load_file):
13830 Call g_module_close when we don't load the module
13832 * gst/registries/gstlibxmlregistry.c:
13833 (gst_xml_registry_get_property):
13834 Port leak fix from 0.8
13836 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13838 * docs/gst/gstreamer-docs.sgml:
13839 * docs/gst/tmpl/.cvsignore:
13840 * docs/gst/tmpl/gsttrace.sgml:
13841 * docs/gst/tmpl/gsttrashstack.sgml:
13844 * gst/gstelement.h:
13846 * gst/gstmessage.c:
13847 * gst/gstmessage.h:
13850 * gst/gsttaginterface.c:
13851 * gst/gsttaginterface.h:
13852 * gst/gsttaglist.c:
13853 * gst/gsttaglist.h:
13854 * gst/gsttagsetter.c:
13855 * gst/gsttagsetter.h:
13858 * gst/gsttrashstack.c:
13859 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
13860 inlined docs for gsttrace, gsttrashstack
13862 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13865 * gst/elements/gstbufferstore.h:
13866 * gst/elements/gsttypefindelement.c:
13867 * gst/elements/gsttypefindelement.h:
13869 * gst/gsttypefind.c:
13870 * gst/gsttypefind.h:
13871 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
13872 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
13873 (gst_type_find_factory_dispose),
13874 (gst_type_find_factory_unload_thyself),
13875 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
13876 (gst_type_find_factory_get_caps),
13877 (gst_type_find_factory_get_extensions),
13878 (gst_type_find_factory_call_function):
13879 * gst/gsttypefindfactory.h:
13880 * gst/registries/gstlibxmlregistry.c:
13881 * gst/registries/gstxmlregistry.c:
13882 splitted gsttypefind into gsttypefind, gsttypefindfactory
13884 2005-09-07 Andy Wingo <wingo@pobox.com>
13886 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
13887 condition whereby the pad's task function is entered before the
13888 pad_mode variable was set.
13890 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
13892 * gst/gstpad.c: (gst_pad_alloc_buffer):
13893 Catch misbehaving pad_alloc functions that don't
13894 set up caps and do it for them.
13896 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13898 * check/pipelines/simple_launch_lines.c: (run_pipeline):
13899 test for pipe!=NULL
13900 * docs/gst/tmpl/.cvsignore:
13901 * docs/gst/tmpl/gstmemchunk.sgml:
13902 * docs/gst/tmpl/gstparse.sgml:
13903 * docs/gst/tmpl/gsttaglist.sgml:
13904 * docs/gst/tmpl/gsttagsetter.sgml:
13905 * docs/gst/tmpl/gsttypefind.sgml:
13906 * docs/gst/tmpl/gsttypefindfactory.sgml:
13907 * gst/gstmemchunk.c:
13910 * gst/gsttaginterface.c:
13911 * gst/gsttypefind.c:
13912 * gst/gsttypefind.h:
13915 === release 0.9.2 ===
13917 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
13922 releasing 0.9.2, "South"
13924 2005-09-05 Andy Wingo <wingo@pobox.com>
13926 * gst/registries/gstxmlregistry.h:
13927 * gst/registries/gstxmlregistry.c: Um... resurrect...
13929 * gst/registries/gstxmlregistry.h:
13930 * gst/registries/gstxmlregistry.c: and update to newer API.
13931 Incidentally they should be a bit faster now that they don't have
13934 2005-09-05 Andy Wingo <wingo@pobox.com>
13936 * gst/registries/gstxmlregistry.h:
13937 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
13938 replaced by the libxml registry a while back
13940 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
13942 * docs/gst/tmpl/gstplugin.sgml:
13943 * gst/elements/gstelements.c:
13945 * gst/gstplugin.c: (gst_plugin_register_func),
13946 (gst_plugin_desc_copy), (gst_plugin_desc_free),
13947 (gst_plugin_get_source):
13949 * gst/registries/gstlibxmlregistry.c: (load_plugin),
13950 (gst_xml_registry_save_plugin):
13951 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
13952 (gst_xml_registry_save_plugin):
13953 * tools/gst-inspect.c: (print_plugin_info):
13954 add a "source" plugin description field, to represent the source
13955 module this plugin is a part of. By default GST_PLUGIN_DEFINE
13956 will set it to PACKAGE, which is automake's idea of the name of
13957 the source project.
13959 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
13964 * docs/Makefile.am:
13965 * docs/faq/Makefile.am:
13966 * docs/gst/tmpl/gstelement.sgml:
13967 * docs/gst/tmpl/gsttypes.sgml:
13968 * docs/htmlinstall.mak:
13969 * docs/manual/Makefile.am:
13970 * docs/pwg/Makefile.am:
13971 reorganize doc build a little
13972 split out docbook and gtk-doc stuff
13973 have two separate --enable's and enable them through autogen
13974 but disable by default in configure (to be similar to other
13976 * gstreamer.spec.in:
13977 clean up docs install
13995 translation updates
13997 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
13999 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
14002 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
14003 (gst_fake_sink_change_state):
14004 Make state change function thread-safe.
14006 * gst/gstpad.c: (gst_pad_alloc_buffer):
14007 Set offset on generic buffer allocated by fallback.
14009 2005-09-03 Stefan Kost <ensonic@users.sf.net>
14011 * docs/gst/gstreamer-sections.txt:
14012 * docs/gst/tmpl/gstelement.sgml:
14014 * libs/gst/controller/gst-controller.c:
14015 (gst_controlled_property_set_interpolation_mode),
14016 (gst_controlled_property_new),
14017 (gst_controller_find_controlled_property):
14018 run the wingo-magic script against the docs
14020 2005-09-02 Stefan Kost <ensonic@users.sf.net>
14022 * docs/gst/gstreamer-docs.sgml:
14023 * docs/gst/gstreamer-sections.txt:
14024 * docs/gst/tmpl/.cvsignore:
14025 * docs/gst/tmpl/gstelementdetails.sgml:
14026 * docs/gst/tmpl/gstelementfactory.sgml:
14029 * gst/gstelementfactory.c:
14030 * gst/gstelementfactory.h:
14031 merged elementdetails docs into elementfactory docs
14034 2005-09-02 Andy Wingo <wingo@pobox.com>
14036 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
14037 consider this enum an enum and not a flags.
14039 2005-09-02 Stefan Kost <ensonic@users.sf.net>
14041 * docs/gst/gstreamer-docs.sgml:
14042 * docs/gst/tmpl/.cvsignore:
14043 * docs/gst/tmpl/gstghostpad.sgml:
14044 * docs/gst/tmpl/gstiterator.sgml:
14045 * docs/gst/tmpl/gstmacros.sgml:
14046 * docs/gst/tmpl/gstrealpad.sgml:
14047 * docs/gst/tmpl/gstregistry.sgml:
14048 * docs/gst/tmpl/gstregistrypool.sgml:
14049 * docs/gst/tmpl/gststructure.sgml:
14050 * docs/gst/tmpl/gstsystemclock.sgml:
14051 * docs/gst/tmpl/gsttrace.sgml:
14052 * gst/gstghostpad.c:
14054 * gst/gstmemchunk.c:
14055 * gst/gstmemchunk.h:
14057 * gst/gstregistry.c:
14058 * gst/gstregistrypool.c:
14059 * gst/gststructure.c:
14060 * gst/gstsystemclock.c:
14063 2005-09-02 Andy Wingo <wingo@pobox.com>
14065 * gst/gstelement.h (GstState): Renamed from GstElementState,
14066 changed to be a normal enum instead of flags.
14067 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
14068 munged to be GST_STATE_CHANGE_*.
14069 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
14070 work with the new state representation.
14071 (GstStateChange): New enumeration of possible state transitions.
14072 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
14073 (GstElementClass::change_state): Pass the GstStateChange along as
14074 an argument. Helps language bindings, so they don't have to use
14075 tricky lock-needing macros like GST_STATE_CHANGE ().
14077 * scripts/update-states (file): New script. Run it on a file to
14078 update it for state naming and API changes. Updates files in
14081 * All files updated for the new API.
14083 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
14085 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
14086 * gst/gstutils.c: (gst_util_set_value_from_string),
14087 (gst_util_set_object_arg):
14088 fix a bunch of unchecked return values
14089 * tools/gst-complete.c: (main):
14090 * gstreamer.spec.in:
14093 2005-09-01 Wim Taymans <wim@fluendo.com>
14095 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14096 (gst_base_sink_event), (gst_base_sink_do_sync),
14097 (gst_base_sink_handle_event):
14098 * gst/base/gstbasesink.h:
14099 Handle newsegments more correctly.
14104 * gst/gstevent.c: (gst_event_new_newsegment):
14105 A newsegment cannot have a start_time of -1
14107 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
14109 * win32/gstenumtypes.c:
14110 * win32/gstenumtypes.h:
14113 2005-08-31 Stefan Kost <ensonic@users.sf.net>
14115 * libs/gst/controller/gst-controller.c:
14116 (gst_controlled_property_set_interpolation_mode),
14117 (gst_controlled_property_new):
14118 fixed boolean again
14120 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
14122 * docs/faq/gst-uninstalled:
14127 * gst/gstutils.c: (gst_element_link_filtered):
14129 add gst_element_link_filtered
14131 2005-08-31 Stefan Kost <ensonic@users.sf.net>
14133 * docs/gst/gstreamer-docs.sgml:
14134 * docs/gst/gstreamer-sections.txt:
14135 * docs/gst/tmpl/.cvsignore:
14136 * docs/gst/tmpl/gsterror.sgml:
14137 * docs/gst/tmpl/gstfilter.sgml:
14138 * docs/gst/tmpl/gsturihandler.sgml:
14139 * docs/gst/tmpl/gsturitype.sgml:
14140 * docs/gst/tmpl/gstutils.sgml:
14141 * docs/gst/tmpl/gstxml.sgml:
14146 * gst/gsturitype.c:
14149 inlined more docs, fixed double id-ref
14151 2005-08-31 Wim Taymans <wim@fluendo.com>
14153 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14154 (gst_base_transform_handle_buffer):
14155 Passthrough elements don't need the caps as they don't care.
14157 2005-08-31 Wim Taymans <wim@fluendo.com>
14159 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14160 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
14161 Don't leak refcounts on buffers.
14163 2005-08-31 Wim Taymans <wim@fluendo.com>
14165 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
14166 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
14167 (gst_base_transform_chain), (gst_base_transform_change_state):
14168 * gst/base/gstbasetransform.h:
14169 Handle the case where we are not negotiated more gracefully.
14171 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
14173 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
14174 (gst_file_src_map_region):
14175 Set READONLY flag on mmap'ed buffers, otherwise
14176 gst_buffer_make_writable() won't work properly (#314708).
14178 2005-08-31 Wim Taymans <wim@fluendo.com>
14180 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
14181 passthrough elements can even do inplace on non writable
14182 buffers (as they don't touch them).
14184 2005-08-31 Stefan Kost <ensonic@users.sf.net>
14186 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
14187 (gst_test_mono_source_set_property),
14188 (gst_test_mono_source_class_init), (GST_START_TEST),
14189 (gst_controller_suite):
14190 more tests (hehe I have the most)
14192 describe popping messages whenusing mulltiple sources
14193 * libs/gst/controller/gst-controller.c:
14194 (gst_controlled_property_set_interpolation_mode),
14195 (gst_controlled_property_new):
14196 * libs/gst/controller/gst-controller.h:
14197 * libs/gst/controller/gst-interpolation.c:
14198 implement boolean properties
14200 2005-08-31 Wim Taymans <wim@fluendo.com>
14202 * gst/gstminiobject.c: (gst_mini_object_ref):
14203 Cannot assert that the refcount has to be positive
14204 since a disposed object can be resurrected.
14206 2005-08-31 Wim Taymans <wim@fluendo.com>
14208 * gst/gstpad.c: (gst_pad_init):
14209 Revert change, need to first fix badly behaving
14212 2005-08-30 Wim Taymans <wim@fluendo.com>
14214 * check/elements/fakesrc.c: (setup_fakesrc):
14215 * check/elements/identity.c: (setup_identity):
14216 Activate pads before using them.
14218 2005-08-30 Wim Taymans <wim@fluendo.com>
14220 * gst/base/gstadapter.c: (gst_adapter_flush):
14221 Flushing out 0 bytes is ok for this function.
14223 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14224 no newsegment gives a warning and sets the start/stop to
14227 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
14228 (gst_base_transform_set_passthrough):
14231 * gst/gstminiobject.c: (gst_mini_object_ref):
14232 Check refcount here too.
14234 * gst/gstpad.c: (gst_pad_init):
14235 Pads are initially flushing and refusing data.
14237 * gst/gstutils.c: (gst_element_link_pads_filtered):
14238 When adding a capsfilter element make sure it has the
14239 same state as the parent bin.
14241 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14243 * docs/gst/tmpl/.cvsignore:
14244 * docs/gst/tmpl/gstformat.sgml:
14245 * docs/gst/tmpl/gstversion.sgml:
14249 * gst/gstversion.h.in:
14250 more docs and two more inlined
14252 2005-08-30 Wim Taymans <wim@fluendo.com>
14254 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
14255 Don't sync to clock.
14257 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14259 * docs/gst/gstreamer-sections.txt:
14260 ultral33t func10ns deserve to appear in the docs actually
14261 * docs/gst/tmpl/.cvsignore:
14262 * docs/gst/tmpl/gstcompat.sgml:
14263 * docs/gst/tmpl/gstconfig.sgml:
14264 * gst/check/gstcheck.c:
14266 * gst/gstconfig.h.in:
14269 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14271 * docs/gst/tmpl/.cvsignore:
14272 * docs/gst/tmpl/gstquery.sgml:
14273 * docs/gst/tmpl/gstutils.sgml:
14276 inlined and extended docs
14278 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14280 * check/gst-libs/controller.c: (GST_START_TEST),
14281 (gst_controller_suite):
14283 * docs/gst/tmpl/gstutils.sgml:
14284 * docs/libs/gstreamer-libs-sections.txt:
14285 * docs/libs/tmpl/gstdataprotocol.sgml:
14287 * examples/controller/audio-example.c: (main):
14288 controller example works now
14291 * tools/gst-inspect.c: (print_element_properties_info):
14292 show param spec flags
14294 2005-08-29 Andy Wingo <wingo@pobox.com>
14296 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
14298 2005-08-28 Andy Wingo <wingo@pobox.com>
14300 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
14301 as having two arguments instead of just one. Allows superclasses
14302 to access information on subclasses -- see the terrible for() loop
14303 in gtype.c:g_type_create_instance for the reason why. All callers
14306 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14308 * docs/design/part-messages.txt:
14310 * docs/gst/tmpl/.cvsignore:
14311 * docs/gst/tmpl/gstcaps.sgml:
14312 * docs/gst/tmpl/gstclock.sgml:
14318 * gst/gstmessage.c:
14319 added descriptions for bus and message
14320 inline caps and clock docs
14322 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14324 * gst/gstmessage.c:
14325 * gst/gstmessage.h:
14328 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14330 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
14333 2005-08-26 Andy Wingo <wingo@pobox.com>
14335 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
14336 element_set_state's return val.
14337 (test_2_elements): Add test that's been disabled for months.
14339 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
14340 can-activate-pull properties.
14342 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
14343 can-activate-pull properties. Implement is_seekable so fakesrc can
14344 operate in pull mode.
14346 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
14348 (gst_base_sink_activate, gst_base_sink_activate_pull)
14349 (gst_base_sink_activate_push): Make activation mode choosing work.
14351 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
14352 is right. Make pull mode work. Post an eos before pausing in pull
14354 (gst_base_sink_change_state): Pay attention to the core's
14355 change_state() return val.
14357 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
14358 has-getrange properties. Cleanups.
14360 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
14361 has_getrange and replace with can_activate_pull and
14364 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
14365 locking comments. Remove has_loop, has_chain and replace with
14366 can_activate_pull and can_activate_push.
14368 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
14371 * examples/Makefile.am:
14372 * examples/metadata/Makefile.am:
14373 * examples/metadata/read-metadata.c: (message_loop),
14374 (have_pad_handler), (make_pipeline), (print_tag), (main):
14375 Add metadata reading example that loops over a list of filenames,
14376 dumping any tags found.
14378 * gst/gstbus.c: (gst_bus_dispose):
14379 * gst/gstelement.c: (gst_element_dispose):
14380 Release a few potentially-held references in dispose.
14382 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14384 * docs/gst/tmpl/gstminiobject.sgml:
14385 do *not* add tmpl/*.sgml files to CVS!
14387 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14389 * libs/gst/bytestream/.cvsignore:
14390 * libs/gst/bytestream/Makefile.am:
14391 * libs/gst/bytestream/adapter.c:
14392 * libs/gst/bytestream/adapter.h:
14393 * libs/gst/bytestream/bytestream.c:
14394 * libs/gst/bytestream/bytestream.h:
14395 * libs/gst/bytestream/filepad.c:
14396 * libs/gst/bytestream/filepad.h:
14397 removing obsolete files
14399 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14401 * docs/gst/gstreamer-docs.sgml:
14402 * docs/libs/gstreamer-libs-docs.sgml:
14403 disabed additional index entries again, as this makes docs-gen just
14404 slow and they aren't useful yet
14405 * docs/libs/gstreamer-libs-sections.txt:
14406 little -section.txt cleanup for libs
14408 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
14410 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14411 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
14412 fix up some debugging
14413 (gst_base_transform_get_unit_size),
14414 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
14415 (gst_base_transform_handle_buffer):
14416 * gst/base/gstbasetransform.h:
14417 handle and store timed NEWSEGMENT events so that subclasses that
14418 calculate time by counting samples have a segment_start time they
14419 need to add to their timestamps - see audioresample
14421 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14424 removed ';' from the end of macro defs
14425 * docs/gst/gstreamer-docs.sgml:
14426 * docs/gst/gstreamer-sections.txt:
14427 * docs/gst/tmpl/.cvsignore:
14429 * gst/gstelement.c: (gst_element_class_init),
14430 (gst_element_set_state), (activate_pads),
14431 (gst_element_save_thyself):
14432 * gst/gstevent.c: (gst_event_new_newsegment):
14434 * gst/gstiterator.c:
14435 * gst/gstiterator.h:
14438 * gst/gstutils.c: (gst_pad_query_convert):
14440 fixed parameter name mismatches between source, header and docs
14441 added some more docs, resolved the last batch of unused elements in
14442 docs (now someone needs to doc them)
14444 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14446 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
14447 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
14448 don't walk through the plugins backwards. Where is all this
14449 reversed logic coming from ?
14451 2005-08-25 Wim Taymans <wim@fluendo.com>
14453 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14454 (gst_base_transform_transform_size),
14455 (gst_base_transform_configure_caps),
14456 (gst_base_transform_get_unit_size),
14457 (gst_base_transform_buffer_alloc),
14458 (gst_base_transform_change_state):
14459 * gst/base/gstbasetransform.h:
14460 Cache caps unit_size.
14461 Make sure we cannot negotiate up and downstream at the
14464 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14466 * gst/gst.c: (init_pre), (init_post):
14467 register the installed plugin path after the env var
14468 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
14469 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
14470 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
14471 directories, so the tests can prefer uninstalled over installed
14473 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14475 * gst/base/gstbasetransform.h:
14480 2005-08-25 Wim Taymans <wim@fluendo.com>
14482 * gst/gstbin.c: (bin_bus_handler):
14483 Be a bit more conservative about the posted message.
14485 * gst/gstbus.c: (gst_bus_post):
14486 Some cleanups, warn wrong return values.
14488 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
14490 * check/gst/gstbin.c: (GST_START_TEST):
14491 * gst/gstbin.c: (bin_bus_handler):
14492 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14493 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14494 (gst_message_new_warning), (gst_message_new_tag),
14495 (gst_message_new_state_changed), (gst_message_new_segment_start),
14496 (gst_message_new_segment_done), (gst_message_new_custom):
14497 * gst/gstmessage.h:
14498 * tools/gst-launch.c: (event_loop):
14499 * tools/gst-md5sum.c: (event_loop):
14500 Revert unpopular change for GST_MESSAGE_SRC to GObject.
14502 2005-08-25 Wim Taymans <wim@fluendo.com>
14504 * check/generic/states.c: (GST_START_TEST):
14505 Cleanup can be done at the end.
14507 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
14508 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14509 (gst_task_get_state), (gst_task_start), (gst_task_pause):
14510 Oh boy.. Thanks for finding this, Thomas.
14512 2005-08-25 Stefan Kost <ensonic@users.sf.net>
14514 * docs/gst/gstreamer.types:
14515 added missing types
14517 2005-08-25 Stefan Kost <ensonic@users.sf.net>
14519 * docs/gst/gstreamer-docs.sgml:
14520 * docs/gst/gstreamer-sections.txt:
14521 * docs/gst/tmpl/.cvsignore:
14523 * gst/gstiterator.c:
14525 * gst/registries/gstxmlregistry.h:
14526 added missing classes and symbols (123 more to go)
14527 removed removed symbols from section file
14528 fixed many doc-comments
14530 2005-08-24 Wim Taymans <wim@fluendo.com>
14532 * check/generic/states.c: (GST_START_TEST):
14533 Make sure all tasks are stopped.
14535 * check/gst/gstbin.c: (GST_START_TEST):
14536 Unref after usage for proper valgrinding.
14538 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
14539 Really wait for the task to stop before destroying the
14542 * gst/gstqueue.c: (gst_queue_sink_activate_push),
14543 (gst_queue_src_activate_push):
14544 Small cleanups. Don't stop the task when we did not start
14547 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
14548 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14549 (gst_task_get_state), (gst_task_start), (gst_task_pause),
14552 Protect the stream lock with the object lock.
14553 Disallow setting the stream lock when running.
14554 Add cleanup_all to wait for the threadpool to finish.
14555 Remove code to autoallocate a mutex if none was provided.
14556 Add _join() to wait for a task to stop.
14557 Protect the thread pool with a global lock.
14559 2005-08-24 Wim Taymans <wim@fluendo.com>
14561 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14562 (gst_base_sink_get_times), (gst_base_sink_do_sync),
14563 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
14564 * gst/base/gstbasesink.h:
14565 Handle newsegment events correctly.
14566 Drop buffers out of the segment range.
14568 2005-08-22 Andy Wingo <wingo@pobox.com>
14570 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
14571 macro, implements an interface and gstimplementsinterface for a
14574 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
14576 * check/Makefile.am:
14577 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
14578 add a test that does a bunch of state changes on elements
14579 needs some fixing for valgrind
14580 * check/states/sinks.c: (gst_object_suite):
14583 add prototype for gst_caps_is_equal_fixed
14585 * gst/gstregistrypool.c:
14588 2005-08-24 Andy Wingo <wingo@pobox.com>
14590 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
14591 convert a negative value. Doesn't make much sense. Mostly this is
14592 here to force callers to ensure -1 maps to -1.
14594 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
14596 * docs/pwg/advanced-types.xml:
14597 Well done to Michael for catching my deliberate introduction
14598 of this spelling mistake.
14599 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
14600 * gst/gstelement.h:
14601 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
14602 unlink pads before removing the element from the bin.
14604 2005-08-24 Andy Wingo <wingo@pobox.com>
14606 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
14607 the same thing as GST_DEBUG=*:4.
14608 (parse_debug_level, parse_debug_category): New helper parsers.
14610 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
14612 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14613 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
14614 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
14615 (gst_base_transform_buffer_alloc),
14616 (gst_base_transform_handle_buffer):
14617 use gboolean return values and pointers to size so we can use the
14618 full GST_BUFFER_SIZE range (guint) for buffer sizes
14619 use GstPadDirection for transform_caps
14620 * gst/base/gstbasetransform.h:
14621 rename get_size to get_unit_size since that's what it is
14622 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
14623 use GstPadDirection for transform_caps
14624 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14626 cleanup and debugging
14628 2005-08-24 Stefan Kost <ensonic@users.sf.net>
14630 * gst/gstelement.c: (gst_element_class_init),
14631 (gst_element_set_state), (activate_pads),
14632 (gst_element_save_thyself):
14633 * tools/gst-compprep.c: (main):
14634 * tools/gst-inspect.c: (print_element_properties_info):
14635 * tools/gst-xmlinspect.c: (print_element_properties):
14636 Fixed long standing mem-leak
14638 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
14640 * check/gst/gstbin.c: (GST_START_TEST):
14641 * gst/gstbin.c: (bin_bus_handler):
14642 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14643 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14644 (gst_message_new_warning), (gst_message_new_tag),
14645 (gst_message_new_state_changed), (gst_message_new_segment_start),
14646 (gst_message_new_segment_done), (gst_message_new_custom):
14647 * gst/gstmessage.h:
14648 * tools/gst-launch.c: (event_loop):
14649 * tools/gst-md5sum.c: (event_loop):
14650 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
14651 that applications can sensibly post custom messages with references
14652 to their own objects.
14654 2005-08-24 Andy Wingo <wingo@pobox.com>
14656 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
14659 2005-08-24 Wim Taymans <wim@fluendo.com>
14661 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14662 (gst_base_transform_transform_caps),
14663 (gst_base_transform_transform_size),
14664 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14665 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14666 (gst_base_transform_handle_buffer):
14667 * gst/base/gstbasetransform.h:
14668 Many fixes and new features added by Thomas. Can now also do
14669 transforms with variable sizes and a custom fixate_caps function.
14671 2005-08-24 Wim Taymans <wim@fluendo.com>
14673 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14677 Cast to ClockTime before formatting to time.
14682 2005-08-24 Stefan Kost <ensonic@users.sf.net>
14684 * check/gst-libs/controller.c: (GST_START_TEST),
14685 (gst_controller_suite):
14686 * docs/gst/tmpl/gstcaps.sgml:
14687 * docs/gst/tmpl/gstghostpad.sgml:
14688 * docs/gst/tmpl/gstquery.sgml:
14689 * docs/gst/tmpl/gstutils.sgml:
14690 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
14691 (gst_object_sink_values), (gst_object_get_value_arrays),
14692 (gst_object_get_value_array):
14693 gracefully handle helper method calls to objects that are not beeing
14694 controlled, added test case for that
14696 2005-08-23 Wim Taymans <wim@fluendo.com>
14698 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
14699 (gst_event_new_newsegment), (gst_event_parse_newsegment),
14700 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
14701 (gst_event_parse_qos), (gst_event_new_seek),
14702 (gst_event_parse_seek):
14704 Some more debugging output and doc cleanups.
14706 * gst/gstqueue.c: (gst_queue_handle_sink_event):
14707 Fix possible deadlock.
14709 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14711 * docs/gst/gstreamer-docs.sgml:
14712 * docs/gst/gstreamer-sections.txt:
14713 * docs/gst/gstreamer.types:
14714 * docs/gst/tmpl/.cvsignore:
14717 * gst/gstelement.c:
14719 added 100 symbols from gstreamer-unused.txt to the right sections
14720 fixed more broken comments
14721 added GstBus to docs
14723 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14725 * docs/gst/gstreamer-sections.txt:
14726 * docs/gst/tmpl/.cvsignore:
14727 * docs/gst/tmpl/gstbin.sgml:
14728 * docs/gst/tmpl/gstbuffer.sgml:
14729 * gst/base/gstbasesrc.c:
14730 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14733 * tools/gst-launch.1.in:
14734 inlined more doc comments, added missing comments and fixed comments
14737 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
14739 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14743 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14745 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14746 * gst/gststructure.h:
14747 add a fixate function for booleans; add a FIXME that these func
14748 names should probably be gst_structure_fixate_*
14750 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14752 * docs/gst/gstreamer-docs.sgml:
14753 * docs/gst/gstreamer-sections.txt:
14755 * gst/gstbin.c: (gst_bin_get_type),
14756 (gst_bin_child_proxy_get_child_by_index),
14757 (gst_bin_child_proxy_get_children_count),
14758 (gst_bin_child_proxy_init):
14759 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14760 (gst_child_proxy_get_child_by_index),
14761 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14762 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14763 (gst_child_proxy_get), (gst_child_proxy_set_property),
14764 (gst_child_proxy_set_valist), (gst_child_proxy_set),
14765 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14766 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14767 * gst/gstchildproxy.h:
14768 * gst/parse/grammar.y:
14769 * tools/gst-inspect.c: (print_interfaces),
14770 (print_element_properties_info), (print_element_info):
14771 ported gstchildproxy over from 0.8
14772 ported gst-inspect fixes and enhancements over from 0.8
14774 2005-08-22 Wim Taymans <wim@fluendo.com>
14776 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14777 (gst_base_transform_handle_buffer):
14778 Also call the transform function if we have ANY caps.
14780 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14783 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14785 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14786 Don't pretend to handle seek events if the source is not seekable
14788 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14790 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14791 Remove extra parameter to debug output
14793 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14794 (gst_base_src_do_seek), (gst_base_src_activate_push):
14795 Fix seek event handling.
14797 * gst/gstpipeline.c: (gst_pipeline_change_state):
14798 * gst/gstqueue.c: (gst_queue_handle_sink_event),
14799 (gst_queue_src_activate_push):
14800 Don't start the src pad task on FLUSH_STOP if the pad
14804 2005-08-22 Wim Taymans <wim@fluendo.com>
14806 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14807 Added check for gst_static_caps_get() refcounting.
14809 2005-08-22 Wim Taymans <wim@fluendo.com>
14811 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14812 Make _static_caps_get() refcounting sane.
14814 * gst/gstelement.c: (gst_element_set_state):
14815 Add g_return_val_if_fail() to protect against segfaults.
14817 2005-08-22 Stefan Kost <ensonic@users.sf.net>
14819 * docs/gst/tmpl/gstevent.sgml:
14822 inlined remaining docs, added missing doc comments
14824 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
14826 * check/gst/gstbin.c: (GST_START_TEST):
14827 since we don't know when preroll is done, use refcount range
14829 * gst/check/gstcheck.h:
14830 add macro for checking refcount range
14832 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
14834 * check/Makefile.am:
14835 clean up environment for when registry gets built versus
14836 when actual tests are run; valgrind seems to not report
14837 leaks if GST_PLUGIN_PATH is set to some specific values
14838 * check/gst/gstbin.c: (GST_START_TEST):
14839 add more refcounting checks; maybe this exposes a
14841 * common/check.mak:
14842 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14843 * gst/check/gstcheck.h:
14844 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
14845 (gst_bin_change_state):
14846 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
14847 add/fix debugging/whitespace
14849 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
14851 * check/gst/gstevent.c: (event_probe), (test_event),
14853 Er, don't call gst_bin_watch_for_state_change you idiot.
14855 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
14857 * check/Makefile.am:
14858 Use CHECK_CFLAGS and CHECK_LIBS
14859 * check/gst/gstevent.c: (event_probe), (test_event),
14862 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14863 (gst_base_src_start), (gst_base_src_stop),
14864 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14865 (gst_base_src_change_state):
14866 Sprinkle gst_base_src_stop liberally around error paths to fix
14867 problems reusing a source after failed state changes.
14868 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14869 (helper_find_suggest), (gst_type_find_helper):
14870 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
14872 * docs/gst/tmpl/gstevent.sgml:
14873 Migrate part of the docs from the SGML file. Wait for ensonic to
14874 tell me how I did it wrong ;)
14875 * tools/gst-typefind.c: (main):
14876 Extra robustness to state changes between files.
14878 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
14880 * check/Makefile.am:
14881 don't valgrind the controller test - it's leaking - Stefan, HELP
14882 * gst/check/gstcheck.c: (gst_check_message_error),
14883 (gst_check_chain_func), (gst_check_setup_element),
14884 (gst_check_teardown_element), (gst_check_setup_src_pad),
14885 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
14886 (gst_check_teardown_sink_pad):
14887 * gst/check/gstcheck.h:
14888 add a bunch of methods to set up elements, and src and sink pads
14889 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
14890 * check/elements/identity.c: (setup_identity), (cleanup_identity),
14893 * gst/gstmessage.c:
14895 whitespace/doc fixes
14897 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14899 * gst/gstelement.h:
14900 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
14901 be handled by the application and not always printed as well
14903 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14905 * check/Makefile.am:
14907 * gst/check/gstcheck.c: (gst_check_message_error):
14908 * gst/check/gstcheck.h:
14909 add a fail_unless_equals_int
14910 add fail_unless for error messages
14912 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14914 * check/Makefile.am:
14916 * common/Makefile.am:
14917 * common/check.mak:
14919 factor out some of the common stuff so we can use it
14921 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14923 * check/Makefile.am:
14924 * check/gst/gstiterator.c: (GST_START_TEST):
14925 * check/gst/gstsystemclock.c: (GST_START_TEST),
14926 (gst_systemclock_suite):
14927 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14929 valgrind more tests
14931 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14933 * check/elements/.cvsignore:
14934 * check/elements/gstfakesrc.c:
14935 rename to name of element
14936 * check/elements/identity.c: (chain_func), (event_func),
14937 (setup_identity), (cleanup_identity), (GST_START_TEST),
14938 (identity_suite), (main):
14939 add a test for identity
14940 * check/Makefile.am:
14941 * pkgconfig/Makefile.am:
14942 * pkgconfig/gstreamer-check.pc.in:
14943 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14947 move the check stuff to a library that gets installed
14948 * check/gst-libs/controller.c: (GST_START_TEST):
14949 * check/gst-libs/gdp.c:
14950 * check/gst/gst.c: (GST_START_TEST):
14951 * check/gst/gstbin.c:
14952 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14953 * check/gst/gstbus.c:
14954 * check/gst/gstcaps.c: (GST_START_TEST):
14955 * check/gst/gstelement.c:
14956 * check/gst/gstghostpad.c:
14957 * check/gst/gstiterator.c:
14958 * check/gst/gstmessage.c:
14959 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
14960 * check/gst/gstobject.c:
14961 * check/gst/gstpad.c: (GST_START_TEST):
14962 * check/gst/gststructure.c: (GST_START_TEST):
14963 * check/gst/gstsystemclock.c: (GST_START_TEST),
14964 (gst_systemclock_suite):
14965 * check/gst/gsttag.c: (gst_tag_suite):
14966 * check/gst/gstvalue.c:
14967 * check/pipelines/cleanup.c:
14968 * check/pipelines/simple_launch_lines.c:
14969 * check/states/sinks.c:
14970 change include statement
14972 * docs/gst/gstreamer-sections.txt:
14973 * docs/gst/tmpl/gstpad.sgml:
14974 document more pad stuff
14975 * gst/gstminiobject.c: (gst_mini_object_ref),
14976 (gst_mini_object_unref):
14979 2005-08-19 Stefan Kost <ensonic@users.sf.net>
14981 * docs/gst/tmpl/gst.sgml:
14983 eliminate another tmpl file, fix spelling in the long-description
14985 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14987 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14988 (test_event), (timediff), (gstevents_suite):
14989 Should fix build on 64-bit arch's
14991 2005-08-18 Andy Wingo <wingo@pobox.com>
14993 Make sure that when a pipeline goes to PLAYING, that data has
14994 actually hit the sink.
14996 * check/states/sinks.c (test_sink): A sink that doesn't get any
14997 data shouldn't return SUCCESS for going to either PLAYING or
14998 PAUSED. Test also the return values on the way back down.
15000 * gst/gstelement.c (gst_element_set_state): When changing the
15001 state of an element currently changing state asynchronously, go to
15002 lost-state after commiting the pending state. Makes future calls
15003 to get_state continue to return ASYNC.
15005 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
15006 ASYNC when going to PLAYING if we still don't have preroll, as can
15007 happen with live sources.
15009 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15011 * docs/pwg/advanced-types.xml:
15012 Hack long paragraph into 2 chunks as a workaround for buggy
15013 jadetex version in sid and breezy that loops infinitely and
15016 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15018 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15019 (test_event), (timediff), (gstevents_suite):
15020 Provide more error margin in clock measurements to allow for
15021 g_get_current_time inaccuracies.
15023 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15025 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15026 (test_event), (timediff), (gstevents_suite):
15027 Fix error message output so I might be able to tell why the
15028 test works here but fails on the build farm.
15030 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15032 * check/Makefile.am:
15033 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15034 (test_event), (timediff), (gstevents_suite), (main):
15037 * docs/design/part-seeking.txt:
15038 Spelling correction
15040 * docs/gst/tmpl/gstevent.sgml:
15041 * docs/gst/tmpl/gstfakesrc.sgml:
15044 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15045 Treat a buffer-without-newsegment the same as a receiving
15046 a newsegment not in time format, and disable syncing to the clock
15049 * gst/gstbus.c: (gst_bus_set_sync_handler):
15050 Assert if anyone tries to replace the existing sync_handler for bus,
15051 as only the owner should be setting it.
15054 Have a fixed set of custom event enums with events identified by
15055 their structure name (as in 0.8), rather than a free-for-all
15056 allowing collisions between enum values from different plugins.
15058 * gst/gstpad.c: (gst_pad_class_init):
15061 * gst/gstqueue.c: (gst_queue_handle_sink_event):
15062 Handle out-of-band downstream events from the sending thread.
15064 2005-08-17 Andy Wingo <wingo@pobox.com>
15066 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
15067 play-timeout==0 to mean no timeout at all. In that case, don't
15068 bother with a get_state or a warning, just return directly, even
15071 * gst/base/gstbasetransform.c: Debug changes.
15074 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
15075 ensure bins post state change messages. A bit of a hack but I can't
15076 think of a way to avoid it.
15078 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
15080 2005-08-16 Andy Wingo <wingo@pobox.com>
15082 * gst/base/gstadapter.h:
15083 * gst/base/gstadapter.c (gst_adapter_take): New function, like
15084 peek() but you own the data. Not terribly efficient atm.
15086 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15088 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
15089 (gst_element_found_tags):
15091 Add two utility functions for tag handling.
15093 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15095 * docs/manual/advanced-dataaccess.xml:
15096 * docs/manual/basics-helloworld.xml:
15097 Fix docs to use _bin_add() before _link(), which fixes the examples
15098 with recent core versions (reported by Madhan Raj M
15099 <raj_madan@rediffmail.com>, #313199).
15101 2005-08-16 Wim Taymans <wim@fluendo.com>
15103 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15104 Added subtract checks.
15106 * docs/design/part-events.txt:
15107 Some more docs about newsegment
15109 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
15112 * gst/gstcaps.c: (gst_caps_to_string):
15113 Add comments, cleanups.
15115 * gst/gstelement.c: (gst_element_save_thyself):
15118 * gst/gstvalue.c: (gst_value_collect_int_range),
15119 (gst_string_unwrap), (gst_value_union_int_int_range),
15120 (gst_value_union_int_range_int_range),
15121 (gst_value_intersect_int_int_range),
15122 (gst_value_intersect_int_range_int_range),
15123 (gst_value_intersect_double_double_range),
15124 (gst_value_intersect_double_range_double_range),
15125 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
15126 (gst_value_subtract_int_range_int),
15127 (gst_value_subtract_double_range_double),
15128 (gst_value_subtract_double_range_double_range),
15129 (gst_value_subtract_from_list), (gst_value_subtract_list),
15130 (gst_value_can_compare), (gst_value_compare_fraction):
15131 Cleanups, add comments, remove unneeded asserts.
15133 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
15135 * tools/gst-launch.c: (event_loop):
15136 don't convert NULL structures to strings
15138 2005-08-15 Stefan Kost <ensonic@users.sf.net>
15140 * docs/gst/gstreamer-sections.txt:
15141 made some defines private
15142 * docs/gst/tmpl/gstconfig.sgml:
15143 * docs/gst/tmpl/gstqueue.sgml:
15144 * docs/gst/tmpl/gsttaglist.sgml:
15145 * docs/gst/tmpl/gsttypes.sgml:
15146 * docs/gst/tmpl/gstutils.sgml:
15147 * docs/pwg/appendix-porting.xml:
15148 * gst/base/gstbasesink.h:
15149 * gst/base/gstbasesrc.c:
15150 * gst/base/gstbasesrc.h:
15151 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
15152 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
15153 * gst/gstelement.c: (gst_element_class_init):
15154 * gst/gstpad.c: (gst_pad_class_init):
15155 * gst/gstqueue.c: (gst_queue_class_init):
15156 * gst/gstxml.c: (gst_xml_class_init):
15157 documented all undocumented signal inline
15158 * libs/gst/controller/gst-controller.h:
15161 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15163 * docs/pwg/appendix-porting.xml:
15164 Document _set_link_function -> _set_setcaps_function.
15166 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
15168 * check/Makefile.am:
15169 add a .check target for running the check
15170 * check/gst-libs/controller.c: (GST_START_TEST):
15172 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15173 complete checks for gstbuffer; would be nice if I could get the
15174 gcov stuff to work so I can see if I actually completed gstbuffer.c
15175 * check/gstcheck.h:
15176 add ASSERT_BUFFER_REFCOUNT
15178 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
15180 * docs/gst/gstreamer-sections.txt:
15181 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
15183 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
15184 spew out a warning if a tag that is already registered
15185 is re-registered, unless it is re-registered with a
15186 different type (#308438).
15188 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
15190 * docs/pwg/appendix-porting.xml:
15191 * docs/pwg/building-state.xml:
15192 Add some paragraphs about state changes in 0.9 to the PWG
15193 and the porting guide, in particular about the new meaning
15194 of GST_STATE_PAUSED and how to write state change functions
15195 with concurrent access by multiple threads in mind.
15197 2005-08-11 Stefan Kost <ensonic@users.sf.net>
15199 * docs/gst/gstreamer-docs.sgml:
15200 * docs/libs/gstreamer-libs-docs.sgml:
15201 added deprecation and since indexes
15202 * libs/gst/controller/gst-controller.c:
15203 * libs/gst/controller/gst-helper.c:
15207 2005-08-11 Wim Taymans <wim@fluendo.com>
15209 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
15210 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
15211 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
15212 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
15213 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
15214 (gst_ghost_pad_set_target):
15215 Actually implement (re)setting the target on a ghostpad
15216 as described in the docs.
15218 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
15220 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
15221 Check whether GST_DEBUG_NO_COLOR environment variable is
15222 set and disable coloured debug output if that is the case.
15224 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
15226 * gst/base/gsttypefindhelper.c: (helper_find_peek),
15227 (gst_type_find_helper):
15228 The memory returned by gst_type_find_peek() needs to
15229 stay valid until the end of a typefind function, and
15230 typefind functions may keep results from different
15231 offsets around, so we can't just unref the buffer from
15232 the previous _peek(), but have to save all buffers
15233 returned by _peek() until typefinding is done and only
15236 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
15238 * docs/gst/gstreamer-sections.txt:
15240 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
15242 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15244 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
15245 Fix a pretty good memleak.
15247 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
15249 * gst/gstiterator.h:
15250 Fix wrong include and 'make distcheck'.
15252 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15254 * gst/gstbin.c: (bin_bus_handler):
15255 Use gst_element_post_message() instead.
15257 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
15259 * gst/base/gstadapter.h:
15260 * gst/base/gstbasesink.h:
15261 * gst/base/gstbasesrc.h:
15262 * gst/base/gstbasetransform.h:
15263 * gst/base/gstcollectpads.h:
15264 * gst/base/gstpushsrc.h:
15265 * gst/gstiterator.h:
15266 Add padding to our base elements' class and instance structs and
15267 to GstIterator (you will need to rebuild all plugins and apps!)
15269 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15271 * gst/gstbin.c: (bin_bus_handler):
15272 Make default message forwarding from child->bus to bin->bus
15273 threadsafe and make it not emit warnings if the parent has no bus.
15275 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15277 * gst/gstelement.c: (activate_pads):
15278 On paused->ready, set pad->caps to NULL, as is the documented
15279 behaviour in this state change. Fixes playback of series of
15280 media files when visualization is enabled in Totem.
15282 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15284 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
15285 Allow NULL as filter-caps (which means "any").
15287 2005-08-05 Stefan Kost <ensonic@users.sf.net>
15289 * docs/libs/gstreamer-libs-sections.txt:
15290 * libs/gst/controller/gst-controller.c:
15291 * libs/gst/controller/gst-controller.h:
15292 * libs/gst/controller/gst-helper.c:
15293 adding more entries to the docs and fix small doc-bugs
15295 2005-08-05 Stefan Kost <ensonic@users.sf.net>
15297 * docs/gst/gstreamer-docs.sgml:
15298 * docs/gst/gstreamer-sections.txt:
15299 * docs/gst/gstreamer.types:
15300 * docs/gst/tmpl/gstbasesink.sgml:
15301 * docs/gst/tmpl/gstbasesrc.sgml:
15302 * docs/gst/tmpl/gstbasetransform.sgml:
15303 * docs/gst/tmpl/gstfakesrc.sgml:
15304 * gst/base/gstcollectpads.c:
15305 * gst/base/gstcollectpads.h:
15306 * libs/gst/controller/gst-controller.c:
15307 * libs/gst/controller/gst-controller.h:
15308 * libs/gst/controller/gst-helper.c:
15309 * libs/gst/controller/gst-interpolation.c:
15310 * libs/gst/controller/lib.c:
15311 added long/short desc for controller docs
15312 added collectpads base class docs
15313 added correct includes to base-class docs
15315 2005-08-05 Stefan Kost <ensonic@users.sf.net>
15317 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
15318 (gst_test_mono_source_set_property),
15319 (gst_test_mono_source_class_init), (GST_START_TEST),
15320 (gst_controller_suite):
15321 * docs/gst/gstreamer-docs.sgml:
15322 * docs/gst/gstreamer-sections.txt:
15323 * docs/gst/gstreamer.types:
15324 * docs/libs/gstreamer-libs-docs.sgml:
15325 * docs/libs/gstreamer-libs-sections.txt:
15326 * gst/base/gstadapter.c:
15327 * libs/gst/controller/gst-controller.c:
15328 (gst_controlled_property_new), (gst_controlled_property_free),
15329 (gst_controller_new_valist),
15330 (gst_controller_remove_properties_valist),
15331 (gst_controller_sink_values), (_gst_controller_finalize):
15332 * libs/gst/controller/gst-controller.h:
15333 * libs/gst/controller/gst-helper.c:
15334 (gst_object_control_properties), (gst_object_uncontrol_properties),
15335 (gst_object_get_controller), (gst_object_set_controller),
15336 (gst_object_sink_values), (gst_object_get_value_arrays),
15337 (gst_object_get_value_array):
15338 more tests (and fixes) for the controller
15339 more docs for the controller
15340 integrated companies docs for the adapter
15342 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
15344 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
15345 (GST_START_TEST), (fakesrc_suite):
15346 add tests for sizetype
15348 2005-08-04 Andy Wingo <wingo@pobox.com>
15350 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
15351 fixes buffer_alloc proxying among other things.
15353 * gst/base/gstbasetransform.c:
15354 * gst/base/gstbasetransform.h:
15355 Revert patch to gstbasetransform from 7-28 removing
15358 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
15359 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
15360 Semantics changed, should return not the size of the output buffer
15361 but the byte size of a buffer with a given caps.
15363 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
15365 (gst_base_transform_configure_caps): Don't set out_size here: (in,
15366 out) are not the pad caps until setcaps finishes.
15367 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
15368 not-in-place case as well. Deal with changing from in-place to
15369 not-in-place within calling pad_alloc_buffer. Still a bit
15370 concerned about the overhead here...
15372 2005-08-03 Andy Wingo <wingo@pobox.com>
15374 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
15375 fixating is an error.
15377 2005-08-04 Edward Hervey <edward@fluendo.com>
15379 * gst/base/gstadapter.h:
15380 Added gst_adapter_get_type() to the header
15382 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15384 * check/Makefile.am:
15385 * check/gst-libs/controller.c:
15386 * libs/gst/controller/gst-controller.c:
15387 (gst_controller_new_valist):
15388 added check test suite for the controller
15389 * gst/base/gstpushsrc.c:
15392 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15394 * docs/gst/Makefile.am:
15395 * docs/gst/gstreamer-docs.sgml:
15396 * docs/gst/gstreamer-sections.txt:
15397 * docs/gst/gstreamer.types:
15398 * docs/gst/tmpl/gstfakesrc.sgml:
15400 * gst/base/gstbasesink.c:
15401 * gst/base/gstbasesink.h:
15402 * gst/base/gstbasesrc.c:
15403 * gst/base/gstbasesrc.h:
15404 * gst/base/gstbasetransform.c:
15405 * gst/base/gstpushsrc.c:
15406 * gst/base/gstpushsrc.h:
15407 add short/long description docs to base classes
15408 add pushsrc to the docs
15409 remove consolidated doc fragments
15411 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15414 * docs/libs/Makefile.am:
15415 * docs/libs/gstreamer-libs-docs.sgml:
15416 * docs/libs/gstreamer-libs-sections.txt:
15417 * docs/libs/gstreamer-libs.types:
15418 * examples/Makefile.am:
15419 * examples/controller/.cvsignore:
15420 * examples/controller/Makefile.am:
15421 * examples/controller/audio-example.c: (main):
15422 * libs/gst/Makefile.am:
15423 * libs/gst/controller/.cvsignore:
15424 * libs/gst/controller/Makefile.am:
15425 * libs/gst/controller/gst-controller.c:
15426 (on_object_controlled_property_changed), (gst_timed_value_compare),
15427 (gst_timed_value_find),
15428 (gst_controlled_property_set_interpolation_mode),
15429 (gst_controlled_property_new), (gst_controlled_property_free),
15430 (gst_controller_find_controlled_property),
15431 (gst_controller_new_valist), (gst_controller_new),
15432 (gst_controller_remove_properties_valist),
15433 (gst_controller_remove_properties), (gst_controller_set),
15434 (gst_controller_set_from_list), (gst_controller_unset),
15435 (gst_controller_get), (gst_controller_get_all),
15436 (gst_controller_sink_values), (gst_controller_get_value_arrays),
15437 (gst_controller_get_value_array),
15438 (gst_controller_set_interpolation_mode),
15439 (_gst_controller_finalize), (_gst_controller_init),
15440 (_gst_controller_class_init), (gst_controller_get_type):
15441 * libs/gst/controller/gst-controller.h:
15442 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
15443 (g_object_uncontrol_properties), (g_object_get_controller),
15444 (g_object_set_controller), (g_object_sink_values),
15445 (g_object_get_value_arrays), (g_object_get_value_array):
15446 * libs/gst/controller/gst-interpolation.c:
15447 (gst_controlled_property_find_timed_value_node),
15448 (interpolate_none_get), (interpolate_trigger_get),
15449 (interpolate_trigger_get_value_array):
15450 * libs/gst/controller/lib.c: (gst_controller_init):
15451 * pkgconfig/Makefile.am:
15452 * pkgconfig/gstreamer-control-uninstalled.pc.in:
15453 * pkgconfig/gstreamer-control.pc.in:
15454 * testsuite/Makefile.am:
15455 * testsuite/controller/.cvsignore:
15456 * testsuite/controller/Makefile.am:
15457 * testsuite/controller/interpolator.c: (main):
15458 added controller code
15459 removed dparam pc files
15461 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
15462 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
15463 (gst_collectpads_stop):
15464 Broadcast the condition when shutting down, to make sure we wake all
15465 threads up. Shut down pads on finalize, for safety.
15467 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
15468 * gst/base/gstbasetransform.c: (gst_base_transform_init),
15469 (gst_base_transform_handle_buffer),
15470 (gst_base_transform_change_state):
15471 Handle PAUSED->READY->PAUSED transition after negotiation
15473 * gst/gstmessage.c: (gst_message_init):
15474 Extra piece of debug for new messages.
15476 2005-08-01 Stefan Kost <ensonic@users.sf.net>
15479 * docs/gst/tmpl/gstbasesrc.sgml:
15480 * docs/gst/tmpl/gstelement.sgml:
15481 * docs/gst/tmpl/gstevent.sgml:
15482 * docs/gst/tmpl/gstfakesrc.sgml:
15483 * docs/gst/tmpl/gstformat.sgml:
15484 * docs/gst/tmpl/gstghostpad.sgml:
15485 * docs/gst/tmpl/gstpad.sgml:
15486 * docs/gst/tmpl/gstquery.sgml:
15487 * docs/gst/tmpl/gststructure.sgml:
15488 * docs/gst/tmpl/gsttaglist.sgml:
15489 * docs/gst/tmpl/gstvalue.sgml:
15490 * docs/libs/gstreamer-libs-docs.sgml:
15491 * docs/libs/gstreamer-libs-sections.txt:
15492 * docs/libs/gstreamer-libs.types:
15493 * libs/gst/Makefile.am:
15494 * libs/gst/control/.cvsignore:
15495 * libs/gst/control/Makefile.am:
15496 * libs/gst/control/control.c:
15497 * libs/gst/control/control.h:
15498 * libs/gst/control/dparam.c:
15499 * libs/gst/control/dparam.h:
15500 * libs/gst/control/dparam_smooth.c:
15501 * libs/gst/control/dparam_smooth.h:
15502 * libs/gst/control/dparamcommon.h:
15503 * libs/gst/control/dparammanager.c:
15504 * libs/gst/control/dparammanager.h:
15505 * libs/gst/control/dplinearinterp.c:
15506 * libs/gst/control/dplinearinterp.h:
15507 * libs/gst/control/unitconvert.c:
15508 * libs/gst/control/unitconvert.h:
15509 * testsuite/Makefile.am:
15510 * testsuite/dynparams/.cvsignore:
15511 * testsuite/dynparams/Makefile.am:
15512 * testsuite/dynparams/dparamstest.c:
15513 * tools/Makefile.am:
15514 * tools/gst-inspect.c: (print_element_info), (main):
15515 * tools/gst-xmlinspect.c: (print_element_info), (main):
15516 deactivate and remove dparams (libgstcontrol)
15518 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15520 * gst/elements/gsttypefindelement.c:
15521 (gst_type_find_element_have_type), (gst_type_find_element_init),
15522 (stop_typefinding), (gst_type_find_element_handle_event),
15523 (gst_type_find_element_chain), (gst_type_find_element_getrange):
15524 * gst/elements/gsttypefindelement.h:
15525 Set caps on all outgoing buffers, not just the first one.
15527 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15529 * gst/elements/gsttypefindelement.c:
15530 (gst_type_find_element_have_type),
15531 (gst_type_find_element_check_set_buffer_caps),
15532 (gst_type_find_element_init), (stop_typefinding),
15533 (gst_type_find_element_handle_event),
15534 (gst_type_find_element_chain), (gst_type_find_element_getrange):
15535 * gst/elements/gsttypefindelement.h:
15536 Set caps on first outgoing buffer when we've found the type.
15538 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15540 * docs/gst/gstreamer-docs.sgml:
15541 * docs/gst/gstreamer-sections.txt:
15542 * docs/gst/tmpl/gstscheduler.sgml:
15543 * docs/gst/tmpl/gstschedulerfactory.sgml:
15544 Remove some old cruft from docs.
15546 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
15549 Fix inline docs for GstPadLinkReturn.
15551 * gst/gststructure.c: (gst_structure_has_name):
15552 * gst/gststructure.h:
15553 * docs/gst/gstreamer-sections.txt:
15554 New API: gst_structure_has_name().
15556 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
15559 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
15560 and _LARGEFILE_SOURCE in config.h as required. Do not
15561 export those flags in our .pc files any longer (#142209).
15563 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
15565 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
15566 (gst_file_sink_do_seek), (gst_file_sink_event),
15567 (gst_file_sink_get_current_offset), (gst_file_sink_render):
15568 Redo seek/tell calls with large file support in mind; add some
15569 debugging messages; add log message that tells us when large
15570 file support is unavailable or not enabled for some reason.
15572 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
15573 Add log message that tells us when large file support
15574 is unavailable or not enabled for some reason.
15576 2005-07-29 Wim Taymans <wim@fluendo.com>
15578 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15579 Added test for removing an element with ghostpad from a bin.
15580 Fixed test as current implementation does the right thing.
15582 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
15583 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
15584 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
15585 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
15586 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
15587 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
15588 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
15589 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15590 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
15591 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
15592 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
15593 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
15594 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
15595 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
15596 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
15597 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
15598 * gst/gstghostpad.h:
15599 Clean up ghostpads, remove properties for internal stuff.
15602 Prepare for switching targets, not all use cases work yet.
15604 2005-07-29 Wim Taymans <wim@fluendo.com>
15606 * docs/design/part-gstghostpad.txt:
15609 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15610 (gst_bin_remove_func):
15611 Unlinking pads while holding the bin LOCK is not a good
15614 * gst/gstpad.c: (gst_pad_class_init),
15615 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
15616 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
15617 No prob setting template after creating the pad.
15619 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
15621 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
15622 (gst_bus_peek), (gst_bus_source_dispatch),
15623 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
15624 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
15625 gst_bus_poll may be called from other threads. Handle
15626 this nicely by not making poll_data disappear off the
15627 stack once gst_bus_poll returns.
15628 gst_bus_peek now increments the refcount on the returned
15631 2005-07-29 Wim Taymans <wim@fluendo.com>
15633 * docs/design/part-gstghostpad.txt:
15634 Overview of current GhostPad datastructures and use
15635 cases for changing the target.
15637 2005-07-28 Wim Taymans <wim@fluendo.com>
15639 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15640 Added checks for hierarchy consistency whan adding linked
15643 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15644 Added check to test element scheduling without bin/pipeline.
15646 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15647 First add elements to bin, then link.
15649 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15650 (gst_bin_remove_func):
15651 Unlink pads from elements added/removed from bin to maintain
15652 hierarchy consistency.
15654 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15656 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
15657 (gst_base_transform_handle_buffer):
15658 * gst/base/gstbasetransform.h:
15659 Remove broken delay_configure (fixes renegotiation of software
15660 scaling pipelines); remove some leftover printf()s.
15662 2005-07-28 Wim Taymans <wim@fluendo.com>
15664 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15665 Added some more tests for wrong hierarchy
15667 * docs/design/part-overview.txt:
15670 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
15673 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
15674 (gst_element_dispose):
15675 Some more cleanups.
15677 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15678 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
15679 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15680 (gst_pad_set_caps), (gst_pad_send_event):
15681 Check for correct hierarchy when linking pads. Moving to
15682 strict requirement for ghostpads when linking elements in
15686 Clean ups. Added WRONG_HIERARCHY return value.
15688 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15690 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15691 Better debug if no transform is possible.
15693 2005-07-27 Wim Taymans <wim@fluendo.com>
15695 * docs/random/wtay/network-transp:
15696 Some old doc I had.
15698 2005-07-27 Wim Taymans <wim@fluendo.com>
15700 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15701 (gst_dp_event_from_packet):
15702 Fix serialization of seek events.
15704 2005-07-27 Wim Taymans <wim@fluendo.com>
15706 * check/gst-libs/gdp.c: (GST_START_TEST):
15707 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15708 Fix compilation and fix event serialization.
15710 2005-07-27 Wim Taymans <wim@fluendo.com>
15713 * docs/design/part-TODO.txt:
15714 * docs/design/part-events.txt:
15717 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15718 (gst_base_sink_event), (gst_base_sink_do_sync),
15719 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15720 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15721 (gst_base_src_do_seek), (gst_base_src_event_handler),
15722 (gst_base_src_loop):
15723 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15724 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15725 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15726 (gst_base_transform_event), (gst_base_transform_handle_buffer),
15727 (gst_base_transform_set_passthrough),
15728 (gst_base_transform_is_passthrough):
15729 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15730 * gst/elements/gstfilesink.c: (gst_file_sink_event):
15736 * gst/gstelement.c: (gst_element_seek):
15737 * gst/gstelement.h:
15738 Update gst_element_seek.
15740 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15741 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15742 (gst_event_new_flush_start), (gst_event_new_flush_stop),
15743 (gst_event_new_eos), (gst_event_new_newsegment),
15744 (gst_event_parse_newsegment), (gst_event_new_tag),
15745 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15746 (gst_event_parse_qos), (gst_event_new_seek),
15747 (gst_event_parse_seek), (gst_event_new_navigation):
15749 Make GstEvent use GstStructure. Add parsing code, make sure the
15750 API is sufficiently generic.
15751 Mark possible directions of events and serialization.
15753 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15754 (_gst_message_copy), (gst_message_new_segment_start),
15755 (gst_message_new_segment_done), (gst_message_new_custom),
15756 (gst_message_parse_segment_start),
15757 (gst_message_parse_segment_done):
15760 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15761 (gst_pad_set_caps), (gst_pad_send_event):
15762 Update for new events.
15763 Catch events sent in wrong directions.
15765 * gst/gstqueue.c: (gst_queue_link_src),
15766 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15767 (gst_queue_handle_src_query):
15772 Remove event code from this file.
15774 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15775 (gst_dp_event_from_packet):
15778 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15780 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15781 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15782 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15783 Make debugging actually useful.
15785 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15787 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15788 (gst_pad_fixate_caps):
15789 Implement default fixation once again, so that gst_pad_fixate()
15790 actually does anything at all. This probably needs to be some
15791 sort of a last resort, and use profile-based fixation first, but
15792 since that doesn't exist yet, this is the best we have. Fixes
15793 visualization in Totem.
15795 2005-07-22 Wim Taymans <wim@fluendo.com>
15797 * docs/design/part-events.txt:
15800 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15801 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15802 (gst_base_sink_activate_pull):
15803 Some more comments.
15805 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15806 (gst_fake_src_create):
15807 Fix handoff marshall.
15809 * gst/elements/gstidentity.c: (gst_identity_class_init),
15810 (gst_identity_transform_ip):
15811 We're a real inplace element.
15813 * gst/gstbus.c: (gst_bus_post):
15814 Added some comments.
15816 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15817 * tests/muxing/case1.c: (main):
15818 * tests/sched/dynamic-pipeline.c: (main):
15819 * tests/sched/interrupt1.c: (main):
15820 * tests/sched/interrupt2.c: (main):
15821 * tests/sched/interrupt3.c: (main):
15822 * tests/sched/runxml.c: (main):
15823 * tests/sched/sched-stress.c: (main):
15824 * tests/seeking/seeking1.c: (event_received), (main):
15825 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15827 * tests/threadstate/threadstate3.c: (main):
15828 * tests/threadstate/threadstate4.c: (main):
15829 * tests/threadstate/threadstate5.c: (main):
15832 2005-07-21 Wim Taymans <wim@fluendo.com>
15834 * docs/design/part-seeking.txt:
15835 Some small additions.
15837 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15838 (gst_base_sink_get_times), (gst_base_sink_do_sync),
15839 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15840 * gst/base/gstbasesink.h:
15841 discont values are gint64, handle the math correctly.
15843 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15844 Make the basesrc report error if the source pad is not linked.
15846 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15847 (gst_queue_loop), (gst_queue_handle_src_query),
15848 (gst_queue_src_activate_push):
15849 Make queue collect data even if the srcpad is not linked.
15850 Start pushing out data as soon as it is linked.
15852 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
15854 Added gst_flow_get_name() to ease error reporting.
15856 2005-07-20 Wim Taymans <wim@fluendo.com>
15858 * gst/gstmessage.c: (gst_message_new_segment_start),
15859 (gst_message_new_segment_done), (gst_message_parse_segment_start),
15860 (gst_message_parse_segment_done):
15861 * gst/gstmessage.h:
15862 Added a bunch of messages for advanced seeking.
15864 * gst/parse/grammar.y:
15865 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
15866 (gst_dpman_state_changed):
15867 Fix some new-pad -> pad-added signals
15869 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15871 * docs/manual/appendix-porting.xml:
15872 * docs/pwg/appendix-porting.xml:
15873 Document new-pad/state-change signal renames and the FixedList
15876 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15878 * docs/manual/advanced-autoplugging.xml:
15879 * docs/manual/basics-helloworld.xml:
15880 * docs/manual/basics-pads.xml:
15881 * docs/random/ds/0.9-suggested-changes:
15882 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
15883 * gst/gstelement.h:
15887 * gst/gststructure.c: (gst_structure_value_get_generic_type),
15888 (gst_structure_parse_array), (gst_structure_parse_value):
15889 * gst/gstvalue.c: (gst_type_is_fixed),
15890 (gst_value_list_prepend_value), (gst_value_list_append_value),
15891 (gst_value_list_get_size), (gst_value_list_get_value),
15892 (gst_value_transform_array_string), (gst_value_serialize_array),
15893 (gst_value_deserialize_array), (gst_value_intersect_array),
15894 (gst_value_is_fixed), (_gst_value_initialize):
15896 GstElement::new-pad -> pad-added, GstElement::state-change ->
15897 state-changed, GstValueFixedList -> GstValueArray, add format and
15898 flags as their own arguments in gst_element_seek() (should improve
15899 "bindeability"), remove function generators since they don't work
15900 under a whole bunch of compilers (they were deprecated already
15903 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15905 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15906 (_gst_debug_register_funcptr):
15908 Fix illegal cast on some platforms (#309253).
15910 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15912 * gst/gstmessage.c: (gst_message_new_custom):
15913 * gst/gstmessage.h:
15914 Add _new_custom, make _new_application a macro to _new_custom.
15916 2005-07-20 Wim Taymans <wim@fluendo.com>
15918 * gst/base/gstbasesrc.c: (gst_base_src_init),
15919 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15920 * gst/base/gstbasesrc.h:
15921 Add a gboolean to decide when to push out a discont.
15923 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15924 (gst_queue_loop), (gst_queue_handle_src_query),
15925 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
15926 (gst_queue_set_property), (gst_queue_get_property):
15929 * tests/threadstate/threadstate1.c: (main):
15930 Make a thread test compile and run... very silly..
15933 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15935 * docs/manual/appendix-porting.xml:
15936 Mention removal of libgstgconf-0.9.la and existence of gconf
15939 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15941 * docs/pwg/advanced-clock.xml:
15942 * docs/pwg/appendix-porting.xml:
15943 * docs/pwg/intro-preface.xml:
15944 * docs/pwg/other-base.xml:
15945 * docs/pwg/other-manager.xml:
15946 * docs/pwg/other-nton.xml:
15947 * docs/pwg/other-ntoone.xml:
15948 * docs/pwg/other-oneton.xml:
15949 * docs/pwg/pwg.xml:
15950 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
15951 demuxer), remove n-to-n (was never written), fix some code examples
15952 and links and update the porting section to include all this.
15954 2005-07-19 Wim Taymans <wim@fluendo.com>
15956 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
15957 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
15958 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
15959 (gst_queue_src_activate_push), (gst_queue_change_state),
15960 (gst_queue_get_property):
15962 Propagate GstFlowReturn more intelligently upstream and output
15963 an ERROR/EOS when streaming stopped due to fatal error.
15965 2005-07-19 Wim Taymans <wim@fluendo.com>
15967 * tools/gst-launch.c: (check_intr), (event_loop), (main):
15968 Don't block forever for the state change to complete, the
15969 pipeline already did with a sensible timeout.
15971 2005-07-19 Wim Taymans <wim@fluendo.com>
15973 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15974 Make sure we never call the create function is we
15977 2005-07-19 Andy Wingo <wingo@pobox.com>
15979 * gst/parse/parse.l: Attempt to solve bug #172815.
15981 2005-07-19 Wim Taymans <wim@fluendo.com>
15983 * docs/design/part-clocks.txt:
15984 * docs/design/part-events.txt:
15985 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
15986 Small docs updates.
15987 Only update the seeking values when we are not
15990 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
15992 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15993 Oops, ignore the result of gst_pad_push_event here.
15995 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
15997 * gst/base/gstbasesrc.c: (gst_base_src_loop),
15998 (gst_base_src_activate_push):
15999 Send discont event from the loop function, as pads
16000 aren't activated yet in the activate_push handler.
16002 * gst/gstbin.c: (bin_bus_handler):
16003 Don't leak element name.
16005 2005-07-18 Andy Wingo <wingo@pobox.com>
16007 * configure.ac: Use AS_LIBTOOL_TAGS.
16009 2005-07-18 Wim Taymans <wim@fluendo.com>
16011 * docs/gst/gstreamer.types:
16012 Remove deleted types.
16014 2005-07-18 Wim Taymans <wim@fluendo.com>
16016 * check/elements/gstfakesrc.c: (GST_START_TEST):
16019 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
16020 (init_popt_callback):
16022 * gst/gst_private.h:
16023 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
16024 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
16027 * gst/gstconfig.h.in:
16028 * gst/gstelement.c: (gst_element_class_init),
16029 (gst_element_set_base_time), (gst_element_get_base_time),
16030 (iterator_fold_with_resync), (gst_element_change_state),
16031 (gst_element_dispose), (gst_element_get_bus):
16032 * gst/gstelement.h:
16033 * gst/gstelementfactory.h:
16034 * gst/gsterror.c: (_gst_core_errors_init):
16037 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
16039 * gst/gstinfo.c: (_gst_debug_init):
16040 * gst/gstmessage.c: (_gst_message_copy):
16041 * gst/gstmessage.h:
16042 * gst/gstminiobject.h:
16045 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16046 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
16049 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16050 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
16051 (gst_pipeline_get_last_stream_time):
16052 * gst/gstpipeline.h:
16053 * gst/gstpluginfeature.h:
16055 * gst/gstscheduler.c:
16056 * gst/gstscheduler.h:
16057 * gst/gststructure.h:
16058 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
16059 (gst_task_finalize), (gst_task_func), (gst_task_create),
16060 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
16061 (gst_task_stop), (gst_task_pause):
16063 * gst/gsttypefind.h:
16065 * gst/registries/gstlibxmlregistry.c: (load_feature),
16066 (gst_xml_registry_load), (gst_xml_registry_save_feature):
16067 * gst/registries/gstxmlregistry.c:
16068 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
16069 * gst/schedulers/threadscheduler.c:
16070 * libs/gst/control/dparammanager.h:
16071 * tools/gst-inspect.c: (print_element_list),
16072 (print_plugin_features), (print_element_features):
16073 * tools/gst-xmlinspect.c: (print_element_list),
16074 (print_plugin_info), (main):
16075 Removed plugable schedulers.
16076 Removed Scheduler/Manager from elements.
16077 Removed gsttypes.h, rearranged includes.
16078 Removed dependency pad<->element, element<>pipeline, and
16079 various others, fix includes.
16080 implement gst_pad_get_parent() with gst_object_get_parent()
16081 Make GstTask sefcontained.
16082 Fix _get_state() on GstBin, it did not return ASYNC with a 0
16084 Fix endless loop in iterator_fold_with_resync.
16087 2005-07-18 Wim Taymans <wim@fluendo.com>
16093 2005-07-18 Wim Taymans <wim@fluendo.com>
16096 No more cothreads.h
16098 2005-07-18 Wim Taymans <wim@fluendo.com>
16102 Let's remove these.
16104 2005-07-18 Wim Taymans <wim@fluendo.com>
16106 * docs/design/part-dynamic.txt:
16107 * docs/design/part-events.txt:
16108 * docs/design/part-seeking.txt:
16109 Some more docs in the works.
16111 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
16112 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
16113 (gst_base_transform_setcaps), (gst_base_transform_get_size),
16114 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
16115 (gst_base_transform_handle_buffer),
16116 (gst_base_transform_sink_activate_push),
16117 (gst_base_transform_src_activate_pull),
16118 (gst_base_transform_set_passthrough),
16119 (gst_base_transform_is_passthrough):
16122 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
16125 * gst/gstevent.c: (gst_event_finalize):
16128 * gst/gstutils.c: (gst_element_unlink),
16129 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
16130 (gst_pad_proxy_setcaps):
16132 Add _get_parent_element() to get a pads parent as an element.
16134 2005-07-18 Wim Taymans <wim@fluendo.com>
16136 * check/gst/gstbin.c: (GST_START_TEST):
16139 2005-07-18 Wim Taymans <wim@fluendo.com>
16141 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16142 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16143 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16144 (gst_base_sink_event), (gst_base_sink_do_sync),
16145 (gst_base_sink_chain), (gst_base_sink_loop),
16146 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
16147 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
16149 Fix logic for returning ASYNC when not prerolled.
16151 2005-07-18 Wim Taymans <wim@fluendo.com>
16153 * gst/gstqueue.c: (gst_queue_handle_sink_event):
16154 Fix nasty refcount bug.
16156 2005-07-16 Philippe Khalaf <burger@speedy.org>
16158 * gst/elements/gstfdsrc.c:
16159 * gst/elements/gstfdsrc.h:
16160 * gst/elements/gstelements.c:
16161 * gst/elements/Makefile.am:
16162 Ported fdsrc to 0.9.
16164 2005-07-16 Wim Taymans <wim@fluendo.com>
16166 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16167 (gst_base_sink_do_sync):
16170 2005-07-16 Wim Taymans <wim@fluendo.com>
16172 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16173 (gst_base_sink_event), (gst_base_sink_get_times),
16174 (gst_base_sink_do_sync), (gst_base_sink_change_state):
16175 * gst/base/gstbasesink.h:
16176 Store and use discont values when syncing buffers as described
16179 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
16180 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
16181 (gst_base_src_activate_push):
16182 Push discont event when starting.
16184 * gst/elements/gstidentity.c: (gst_identity_transform):
16187 * gst/gstbin.c: (gst_bin_change_state):
16188 Small cleanups in base_time distribution.
16190 * gst/gstelement.c: (gst_element_set_base_time),
16191 (gst_element_get_base_time), (gst_element_change_state):
16192 * gst/gstelement.h:
16193 Added methods for the base_time of the element.
16196 * gst/gstpipeline.c: (gst_pipeline_send_event),
16197 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
16198 (gst_pipeline_get_last_stream_time):
16199 * gst/gstpipeline.h:
16201 Handle seeking as described in design doc, remove stream_time
16203 Cleanups clock and stream_time selection code. Added accessors
16204 for the stream_time.
16207 2005-07-16 Andy Wingo <wingo@pobox.com>
16209 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
16212 2005-07-16 Wim Taymans <wim@fluendo.com>
16214 * check/gst/gstbin.c: (GST_START_TEST):
16215 Make elements silent as the deep_notify refs the
16216 parent, which might make the test fail.
16218 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
16219 Don't hold the lock for too long.
16221 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
16223 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16224 Don't unref the caps we passed to gst_caps_make_writable() after
16225 passing them. gst_caps_make_writable() will do that for us.
16227 2005-07-15 Andy Wingo <wingo@pobox.com>
16229 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
16232 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
16233 own marshalling function for the handoff signal. Properly type the
16234 buffer as a buffer. Fixes some warnings. Should do a more general
16236 (gst_identity_class_init): Plug into the right marshaller.
16238 2005-07-15 Wim Taymans <wim@fluendo.com>
16240 * docs/design/part-TODO.txt:
16241 * docs/design/part-clocks.txt:
16242 * docs/design/part-element-sink.txt:
16243 * docs/design/part-events.txt:
16244 * docs/design/part-gstpipeline.txt:
16245 Updated docs, mostly DISCONT related.
16247 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
16249 * docs/pwg/building-pads.xml:
16250 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
16252 2005-07-15 Andy Wingo <wingo@pobox.com>
16254 * tools/gst-typefind.c: Update, add copyright block.
16256 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
16257 Normalize and truncate caps before fixation.
16260 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
16261 discards all but the first structure from its argument.
16263 2005-07-15 Wim Taymans <wim@fluendo.com>
16265 * gst/base/gstbasetransform.c: (gst_base_transform_init),
16266 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
16267 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16268 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
16269 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
16270 (gst_base_transform_chain), (gst_base_transform_change_state),
16271 (gst_base_transform_set_passthrough),
16272 (gst_base_transform_is_passthrough):
16273 * gst/base/gstbasetransform.h:
16274 Make passthrough work using the bufferpools.
16275 Changed API a bit, subclasses have to write into a buffer
16276 provided by the base class.
16277 More debug info in nego functions.
16279 * gst/elements/gstidentity.c: (gst_identity_init),
16280 (gst_identity_transform):
16281 Port to new base class.
16283 2005-07-15 Wim Taymans <wim@fluendo.com>
16285 * gst/gstmessage.c: (gst_message_new_state_changed):
16286 * tools/gst-launch.c: (event_loop), (main):
16287 Totally dump messages in -launch with the -m option.
16288 Fix message name for State messages,
16290 2005-07-14 Wim Taymans <wim@fluendo.com>
16292 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16293 Post error messages on errors.
16295 2005-07-14 Wim Taymans <wim@fluendo.com>
16297 * gst/gstcaps.c: (gst_caps_do_simplify):
16301 Define error for stream stopped.
16303 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16304 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
16305 Do proper return values.
16307 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16308 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
16309 (gst_pad_get_range):
16310 Better return values.
16313 Reorganise return values, add macro to check for fatal errors.
16315 * gst/gstqueue.c: (gst_queue_chain):
16316 Return proper GstFlowReturn values,
16318 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
16320 * docs/gst/gstreamer-sections.txt:
16321 * docs/gst/gstreamer.types:
16322 * docs/gst/tmpl/gst.sgml:
16323 * docs/gst/tmpl/gstbasesink.sgml:
16324 * docs/gst/tmpl/gstbasesrc.sgml:
16325 * docs/gst/tmpl/gstbasetransform.sgml:
16326 * docs/gst/tmpl/gstbin.sgml:
16327 * docs/gst/tmpl/gstbuffer.sgml:
16328 * docs/gst/tmpl/gstcaps.sgml:
16329 * docs/gst/tmpl/gstclock.sgml:
16330 * docs/gst/tmpl/gstcompat.sgml:
16331 * docs/gst/tmpl/gstconfig.sgml:
16332 * docs/gst/tmpl/gstelement.sgml:
16333 * docs/gst/tmpl/gstelementdetails.sgml:
16334 * docs/gst/tmpl/gstelementfactory.sgml:
16335 * docs/gst/tmpl/gstenumtypes.sgml:
16336 * docs/gst/tmpl/gsterror.sgml:
16337 * docs/gst/tmpl/gstevent.sgml:
16338 * docs/gst/tmpl/gstfakesink.sgml:
16339 * docs/gst/tmpl/gstfakesrc.sgml:
16340 * docs/gst/tmpl/gstfilesink.sgml:
16341 * docs/gst/tmpl/gstfilesrc.sgml:
16342 * docs/gst/tmpl/gstfilter.sgml:
16343 * docs/gst/tmpl/gstformat.sgml:
16344 * docs/gst/tmpl/gstghostpad.sgml:
16345 * docs/gst/tmpl/gstimplementsinterface.sgml:
16346 * docs/gst/tmpl/gstindex.sgml:
16347 * docs/gst/tmpl/gstindexfactory.sgml:
16348 * docs/gst/tmpl/gstinfo.sgml:
16349 * docs/gst/tmpl/gstiterator.sgml:
16350 * docs/gst/tmpl/gstmacros.sgml:
16351 * docs/gst/tmpl/gstmemchunk.sgml:
16352 * docs/gst/tmpl/gstminiobject.sgml:
16353 * docs/gst/tmpl/gstobject.sgml:
16354 * docs/gst/tmpl/gstpad.sgml:
16355 * docs/gst/tmpl/gstpadtemplate.sgml:
16356 * docs/gst/tmpl/gstparse.sgml:
16357 * docs/gst/tmpl/gstpipeline.sgml:
16358 * docs/gst/tmpl/gstplugin.sgml:
16359 * docs/gst/tmpl/gstpluginfeature.sgml:
16360 * docs/gst/tmpl/gstquery.sgml:
16361 * docs/gst/tmpl/gstqueue.sgml:
16362 * docs/gst/tmpl/gstregistry.sgml:
16363 * docs/gst/tmpl/gstregistrypool.sgml:
16364 * docs/gst/tmpl/gstscheduler.sgml:
16365 * docs/gst/tmpl/gstschedulerfactory.sgml:
16366 * docs/gst/tmpl/gststructure.sgml:
16367 * docs/gst/tmpl/gstsystemclock.sgml:
16368 * docs/gst/tmpl/gsttaglist.sgml:
16369 * docs/gst/tmpl/gsttagsetter.sgml:
16370 * docs/gst/tmpl/gsttrace.sgml:
16371 * docs/gst/tmpl/gsttrashstack.sgml:
16372 * docs/gst/tmpl/gsttypefind.sgml:
16373 * docs/gst/tmpl/gsttypefindfactory.sgml:
16374 * docs/gst/tmpl/gsttypes.sgml:
16375 * docs/gst/tmpl/gsturihandler.sgml:
16376 * docs/gst/tmpl/gsturitype.sgml:
16377 * docs/gst/tmpl/gstutils.sgml:
16378 * docs/gst/tmpl/gstvalue.sgml:
16379 * docs/gst/tmpl/gstversion.sgml:
16380 * docs/gst/tmpl/gstxml.sgml:
16381 * docs/libs/tmpl/gstcontrol.sgml:
16382 * docs/libs/tmpl/gstdataprotocol.sgml:
16383 * docs/libs/tmpl/gstdparam.sgml:
16384 * docs/libs/tmpl/gstdplinint.sgml:
16385 * docs/libs/tmpl/gstdpman.sgml:
16386 * docs/libs/tmpl/gstdpsmooth.sgml:
16387 * docs/libs/tmpl/gstgetbits.sgml:
16388 * docs/libs/tmpl/gstunitconvert.sgml:
16389 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
16390 (gst_push_src_base_init), (gst_push_src_class_init),
16391 (gst_push_src_init), (gst_push_src_create):
16392 * gst/base/gstpushsrc.h:
16393 * gst/elements/gstelements.c:
16394 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
16395 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
16396 (gst_fake_sink_init), (gst_fake_sink_set_property),
16397 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
16398 (gst_fake_sink_event), (gst_fake_sink_preroll),
16399 (gst_fake_sink_render), (gst_fake_sink_change_state):
16400 * gst/elements/gstfakesink.h:
16401 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16402 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16403 (gst_fake_src_base_init), (gst_fake_src_class_init),
16404 (gst_fake_src_init), (gst_fake_src_event_handler),
16405 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
16406 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
16407 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
16408 (gst_fake_src_create_buffer), (gst_fake_src_create),
16409 (gst_fake_src_start), (gst_fake_src_stop):
16410 * gst/elements/gstfakesrc.h:
16411 * gst/elements/gstfilesink.c: (_do_init),
16412 (gst_file_sink_base_init), (gst_file_sink_class_init),
16413 (gst_file_sink_init), (gst_file_sink_dispose),
16414 (gst_file_sink_set_location), (gst_file_sink_set_property),
16415 (gst_file_sink_get_property), (gst_file_sink_open_file),
16416 (gst_file_sink_close_file), (gst_file_sink_query),
16417 (gst_file_sink_event), (gst_file_sink_render),
16418 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
16419 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
16420 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
16421 * gst/elements/gstfilesink.h:
16422 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
16423 (gst_file_src_class_init), (gst_file_src_init),
16424 (gst_file_src_finalize), (gst_file_src_set_location),
16425 (gst_file_src_set_property), (gst_file_src_get_property),
16426 (gst_file_src_map_region), (gst_file_src_map_small_region),
16427 (gst_file_src_create_mmap), (gst_file_src_create_read),
16428 (gst_file_src_create), (gst_file_src_is_seekable),
16429 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
16430 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
16431 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
16432 (gst_file_src_uri_handler_init):
16433 * gst/elements/gstfilesrc.h:
16434 more autistic cleanliness in functions/names/defines
16436 2005-07-13 Andy Wingo <wingo@pobox.com>
16438 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
16439 source couldn't negotiate.
16441 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
16445 * gst/gstutils.c (gst_element_link_pads_filtered): New old
16446 function. I am channeling Hades. Put your boots on suckers!!!
16448 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
16450 * testsuite/caps/Makefile.am:
16451 * testsuite/caps/value_compare.c:
16452 * testsuite/caps/value_intersect.c:
16453 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16454 move two testsuite apps over to the check dir
16456 2005-07-12 Wim Taymans <wim@fluendo.com>
16458 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
16459 Added more debug info in the negotiate process.
16461 * gst/gstmessage.h:
16462 Prepare for segment playback.
16464 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
16470 * tools/gst-launch.c: (main):
16471 NULL pipeline on errors.
16473 2005-07-12 Andy Wingo <wingo@pobox.com>
16475 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
16476 not it comes from a malloc region. Make sure our copy gets freed.
16478 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16480 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16481 * check/gst/gstmessage.c: (GST_START_TEST):
16482 * check/gst/gststructure.c: (GST_START_TEST),
16483 (gst_structure_suite), (main):
16485 * gst/gstelement.c: (gst_element_message_full):
16486 clean up GError and debug string now that they get copied
16487 * gst/gstmessage.c: (gst_message_new_error),
16488 (gst_message_new_warning), (gst_message_parse_error),
16489 (gst_message_parse_warning):
16490 use GST_TYPE_G_ERROR for structure_new, and take copies of
16491 arguments, so that we don't mess up refcounting
16493 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16495 * check/Makefile.am:
16496 add per-test valgrind targets
16497 * check/gst-libs/gdp.c: (GST_START_TEST),
16498 (gst_data_protocol_suite), (main):
16501 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16503 * check/Makefile.am:
16504 instate more valgrindable tests
16505 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16506 (GST_START_TEST), (fakesrc_suite):
16507 * check/gst/gstpad.c: (GST_START_TEST):
16508 * check/gst/gststructure.c: (GST_START_TEST):
16510 * docs/gst/tmpl/gstminiobject.sgml:
16511 * gst/gstpad.c: (gst_pad_finalize):
16512 fix the static mutex leak
16514 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16516 * check/Makefile.am:
16517 add two more tests for valgrinding
16518 * check/gst/gstvalue.c: (GST_START_TEST):
16519 test refcount of deserialized buffer, found a leak
16520 * docs/gst/gstreamer-docs.sgml:
16521 * docs/gst/gstreamer-sections.txt:
16522 * docs/gst/gstreamer.types:
16523 * docs/gst/tmpl/gstminiobject.sgml:
16524 add miniobject to docs
16525 * gst/gstminiobject.c:
16527 * gst/gstvalue.c: (gst_value_deserialize_buffer),
16528 (gst_string_unwrap):
16529 fix a hard-to-find invalid write for one of the tests
16530 fix a leak for deserialized buffers
16532 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16534 * docs/pwg/advanced-events.xml:
16535 * docs/pwg/advanced-request.xml:
16536 * docs/pwg/advanced-scheduling.xml:
16537 * docs/pwg/appendix-porting.xml:
16538 * docs/pwg/building-boiler.xml:
16539 * docs/pwg/intro-preface.xml:
16540 * docs/pwg/other-ntoone.xml:
16541 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
16542 of example code and explanation for pad activation, loop() and
16543 getrange() functions and a bit more. Remove old comments pointing
16545 * examples/pwg/Makefile.am:
16546 Add loop/getrange examples.
16548 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16551 check for valgrind binary + some fixes
16553 valgrind suppressions for the tests
16554 * check/Makefile.am:
16555 add a valgrind: target that valgrinds the unit tests
16556 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
16557 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16558 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16559 * check/gst/gstghostpad.c:
16561 * check/gst/gstdata.c:
16563 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
16564 (thread_unref), (gst_mini_object_suite), (main):
16566 * gst/gst.c: (gst_deinit):
16568 add a method to clean up.
16569 * gst/gstsystemclock.c: (gst_system_clock_dispose),
16570 (gst_system_clock_obtain):
16571 allow for disposing the system clock.
16572 * tools/gst-launch.c: (main):
16575 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16577 * docs/gst/tmpl/gstbasesrc.sgml:
16578 * docs/gst/tmpl/gstfakesrc.sgml:
16579 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16580 (gst_base_src_init), (gst_base_src_set_property),
16581 (gst_base_src_get_property), (gst_base_src_get_range),
16582 (gst_base_src_start):
16583 * gst/base/gstbasesrc.h:
16584 add num-buffers property
16585 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16586 (gst_fakesrc_init), (gst_fakesrc_set_property),
16587 (gst_fakesrc_get_property), (gst_fakesrc_create),
16588 (gst_fakesrc_start):
16589 remove num-buffers property
16591 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16593 * docs/gst/gstreamer-sections.txt:
16594 * docs/gst/tmpl/gstbasesink.sgml:
16595 * docs/gst/tmpl/gstbasesrc.sgml:
16596 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16597 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16598 (gst_base_sink_finalize), (gst_base_sink_set_clock),
16599 (gst_base_sink_set_property), (gst_base_sink_get_property),
16600 (gst_base_sink_handle_object), (gst_base_sink_event),
16601 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16602 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
16603 (gst_base_sink_loop), (gst_base_sink_deactivate),
16604 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
16605 (gst_base_sink_change_state):
16606 * gst/base/gstbasesink.h:
16607 * gst/base/gstbasesrc.h:
16608 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
16609 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16610 (gst_filesink_init):
16611 more macro splitting
16613 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16615 * gst/gstelement.c: (gst_element_get_bus):
16617 * tools/gst-launch.c: (check_intr), (event_loop):
16620 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16622 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16625 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16627 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16628 (gst_base_src_finalize):
16629 add finalize method and clean up properly
16630 * gst/gstpipeline.c: (gst_pipeline_dispose):
16633 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16635 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
16637 add more things to check
16638 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
16639 * gst/gstelement.c:
16642 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16644 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16645 (GST_START_TEST), (fakesrc_suite):
16646 * check/gst-libs/gdp.c: (GST_START_TEST):
16647 * check/gst/gst.c: (GST_START_TEST):
16648 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16649 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16650 * check/gst/gstbus.c: (GST_START_TEST):
16651 * check/gst/gstcaps.c: (GST_START_TEST):
16652 * check/gst/gstdata.c: (GST_START_TEST):
16653 * check/gst/gstelement.c: (GST_START_TEST):
16654 * check/gst/gstghostpad.c: (GST_START_TEST):
16655 * check/gst/gstiterator.c: (GST_START_TEST):
16656 * check/gst/gstmessage.c: (GST_START_TEST):
16657 * check/gst/gstobject.c: (GST_START_TEST):
16658 * check/gst/gstpad.c: (GST_START_TEST):
16659 * check/gst/gststructure.c: (GST_START_TEST):
16660 * check/gst/gstsystemclock.c: (GST_START_TEST),
16661 (gst_systemclock_suite):
16662 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
16663 * check/gst/gstvalue.c: (GST_START_TEST):
16664 * check/pipelines/cleanup.c: (GST_START_TEST):
16665 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16666 * check/states/sinks.c: (GST_START_TEST):
16667 * check/gstcheck.c: (gst_check_init):
16668 * check/gstcheck.h:
16669 add debugging category
16670 use GST_START_TEST now, so we add a debug line
16672 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16674 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
16675 add test for state change message on a bin
16676 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
16678 * gst/gstbin.c: (gst_bin_init):
16679 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
16680 * gst/gstelement.c: (gst_element_post_message),
16681 (gst_element_set_state):
16682 * gst/gstelementfactory.c: (gst_element_factory_create):
16683 * gst/gstmessage.c: (gst_message_new):
16684 * gst/gstscheduler.c:
16685 various debugging additions and cleanups
16687 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16689 * check/Makefile.am:
16690 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
16692 adding tests for elements
16693 * gst/gstelement.c: (gst_element_dispose):
16695 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16697 * gst/registries/gstlibxmlregistry.c: (load_feature):
16698 plug more leaks. A simple gst_init() now is leakfree, yay.
16700 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16702 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
16703 (gst_xml_registry_load):
16704 plug another memleak
16706 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16709 use GST_SET_ERROR_CFLAGS
16710 * docs/faq/cvs.xml:
16711 change to ERROR_CFLAGS
16713 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16716 make GST_ERROR_CFLAGS overridable and re-enable Werror
16717 * docs/faq/cvs.xml:
16718 add a note about error CFLAGS
16719 * docs/gst/tmpl/gstfakesrc.sgml:
16720 * gst/elements/gstfakesrc.c:
16721 comment out some unused code
16722 * gst/gst.c: (split_and_iterate):
16723 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
16727 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16729 * common/Makefile.am:
16730 * common/gtk-doc.mak:
16731 * docs/gst/Makefile.am:
16732 factor out gtk-doc.mak
16734 2005-07-07 Wim Taymans <wim@fluendo.com>
16736 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16737 (gst_thread_scheduler_dispose):
16738 Unlock the STREAM_LOCK completely.
16740 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16742 * check/Makefile.am:
16743 * check/elements/.cvsignore:
16744 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16745 (START_TEST), (fakesrc_suite), (main):
16746 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16747 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16748 (gst_fakesrc_create), (gst_fakesrc_start):
16749 * gst/elements/gstfakesrc.h:
16750 adding a first element test
16752 2005-07-07 Andy Wingo <wingo@pobox.com>
16754 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16757 2005-07-07 Wim Taymans <wim@fluendo.com>
16763 2005-07-07 Wim Taymans <wim@fluendo.com>
16765 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16766 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16767 Allow subclasses to implement their own negotiation.
16769 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16771 * docs/design/part-gstbin.txt:
16772 * docs/design/part-gstpipeline.txt:
16773 Update design notes to reflect the movement of
16774 responsibility for bus handling from GstPipeline to
16777 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16780 Remove unnecessary queue2/3/4 examples.
16782 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16784 * examples/Makefile.am:
16785 * examples/helloworld/helloworld.c: (event_loop), (main):
16786 * examples/queue/queue.c: (event_loop), (main):
16787 * examples/queue2/queue2.c: (main):
16788 Update a couple of the examples to work again.
16790 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16791 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16792 Spelling corrections and extra debug.
16794 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16795 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16796 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16798 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16799 (gst_pipeline_change_state):
16800 * gst/gstpipeline.h:
16801 Move the bus handler for children to the GstBin, and create a
16802 separate bus for receiving messages from children to the one the
16803 bus sends 'upwards' on.
16805 2005-07-06 Wim Taymans <wim@fluendo.com>
16808 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16809 (gst_base_sink_handle_object), (gst_base_sink_loop),
16810 (gst_base_sink_change_state):
16811 * gst/base/gstbasesink.h:
16812 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16813 (gst_base_src_init), (gst_base_src_setcaps),
16814 (gst_base_src_getcaps), (gst_base_src_loop),
16815 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16816 (gst_base_src_start), (gst_base_src_change_state):
16817 * gst/base/gstbasesrc.h:
16818 Make basesrc negotiate.
16819 Handle the case where preroll fails in basesink.
16822 2005-07-06 Wim Taymans <wim@fluendo.com>
16824 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
16825 Implement the fixate function.
16826 Clean up acceptcaps.
16828 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16830 * docs/pwg/building-filterfactory.xml:
16831 * docs/pwg/pwg.xml:
16832 Remove never-written filter-factory chapter; I'll add the various
16833 base classes to part 4 ("other element types") later on.
16835 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16837 * docs/pwg/advanced-negotiation.xml:
16838 * docs/pwg/building-boiler.xml:
16839 * docs/pwg/building-pads.xml:
16840 * docs/pwg/pwg.xml:
16841 * examples/pwg/Makefile.am:
16842 Add a chapter on caps negotiation, simplify the original code
16843 samples a bit w.r.t. caps negotiation, add link to the advanced
16844 section. Add a bunch of examples showing different use cases of
16845 different types of caps negotiation. Upstream renegotiation isn't
16846 fully documented yet since nobody knows how that works.
16848 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
16850 * check/gst/gstpad.c:
16851 * check/gstcheck.c:
16852 * gst/gstpad.c: (gst_pad_get_internal_links_default):
16853 if pad has no parent, return NULL as list of internal links
16855 2005-07-05 Andy Wingo <wingo@pobox.com>
16857 * gst/elements/gstfilesrc.c:
16858 * gst/elements/gstfakesrc.c:
16859 * gst/base/gstpushsrc.c:
16860 * gst/base/gstbasesrc.h:
16861 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
16863 2005-07-05 Stefan Kost <ensonic@users.sf.net>
16866 better report generation target (lcov needs a patch)
16868 2005-07-05 Andy Wingo <wingo@pobox.com>
16870 * gst/elements, testsuite: Null if we got it...
16872 2005-07-05 Wim Taymans <wim@fluendo.com>
16875 * libs/gst/dataprotocol/Makefile.am:
16876 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
16877 * libs/gst/dataprotocol/dataprotocol.h:
16878 * pkgconfig/Makefile.am:
16879 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
16880 * pkgconfig/gstreamer-dataprotocol.pc.in:
16881 Ported dataprotol to 0.9.
16882 Added pkgconfig files.
16884 2005-07-05 Andy Wingo <wingo@pobox.com>
16886 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
16887 Default to returning TRUE for the case when tranform_caps returns
16888 a fixed caps, like for identity or volume.
16890 * check/gst/gstbus.c (pound_bus_with_messages):
16891 * check/gst/gstmessage.c (START_TEST):
16892 * check/pipelines/simple_launch_lines.c (got_handoff): Application
16893 message API change.
16895 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
16896 logic weaks here: always run transform_caps, trying passthrough
16897 operation only if the original caps intersects with the transform.
16899 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
16900 source and sink caps.
16902 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
16903 Intersect the peer caps with the pad template before going into
16905 (gst_base_transform_transform_caps): More debugging.
16907 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
16910 2005-07-04 Edward Hervey <edward@fluendo.com>
16914 (gst_pad_add_*_probe): now returns the signal id for better wrapping
16917 2005-07-04 Andy Wingo <wingo@pobox.com>
16919 * check/gst/gstpad.c: Only set explicit caps on pads.
16921 2005-07-01 Andy Wingo <wingo@pobox.com>
16923 * tests/network-clock.scm: Commentary update.
16925 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
16926 Didn't really make sense, not implementable with basetransform,
16928 (gst_identity_transform): Unref inbuf via make_writable. Feeble
16929 attempt at implementing the sync property, needs an unlock method.
16931 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
16932 New func, by default returns the same caps (the identity
16934 (gst_base_transform_getcaps): Uses transform_caps to return
16935 something sensible.
16936 (gst_base_transform_setcaps): Complicated logic to get caps on
16937 both pads, even if they are different, and to call set_caps once
16938 for every time both pads get their caps set.
16939 (gst_base_transform_handle_buffer): Give the ref to the transform
16940 function. Allows in-place modification of the buffer.
16942 * gst/base/gstbasetransform.h (transform_caps): New class method.
16943 Given caps on one side, what can I do on the other.
16944 (set_caps): Take two caps, one for each side of the element.
16947 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
16948 caps in place. This is safe because we can check the mutability of
16949 the caps, and a good idea because fixate functions are just called
16950 as a matter of last resort. (Not actually implemented.)
16951 (gst_pad_set_caps): If the caps we're setting is actually the same
16952 as the existing pad caps, just update the pointer without calling
16953 setcaps. Assert that caps is either NULL or fixed, as per the
16956 * gst/gstghostpad.c: Update for fixate changes.
16958 2005-07-02 Andy Wingo <wingo@pobox.com>
16961 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
16962 two refcounts makes it immutable, which is enough. Doc more.
16964 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
16966 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
16967 Put the mini_object into GValue as a mini_object,
16968 not a gpointer, since that's how we declared
16971 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16973 * examples/pwg/Makefile.am:
16974 Fix buildbot again.
16976 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16978 * docs/pwg/building-testapp.xml:
16980 * examples/pwg/Makefile.am:
16983 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16986 * examples/Makefile.am:
16987 * examples/pwg/Makefile.am:
16988 * examples/pwg/extract.pl:
16989 Enable building the PWG examples.
16990 * docs/pwg/advanced-interfaces.xml:
16991 Add URI interface stub.
16992 * docs/pwg/advanced-types.xml:
16993 * docs/pwg/other-autoplugger.xml:
16994 * docs/pwg/appendix-porting.xml:
16995 * docs/pwg/pwg.xml:
16996 Add porting guide (mostly stubs), remove autoplugging (see ADM).
16997 * docs/pwg/building-boiler.xml:
16998 * docs/pwg/building-chainfn.xml:
16999 * docs/pwg/building-pads.xml:
17000 * docs/pwg/building-props.xml:
17001 * docs/pwg/building-state.xml:
17002 * docs/pwg/building-testapp.xml:
17003 Update the building-*.xml parts for 0.9 changes. All examples
17004 code blocks compile in examples/pwg/*.
17006 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17008 * docs/manual/advanced-autoplugging.xml:
17009 * docs/manual/appendix-checklist.xml:
17010 * docs/manual/appendix-integration.xml:
17011 * docs/manual/highlevel-components.xml:
17012 Fix playbin/decodebin examples, update docs a bit, mention bus
17013 instead of signals in various places, mention kmplayer and
17014 kaffeine since they have a working GStreamer backend in the KDE
17017 2005-06-30 Wim Taymans <wim@fluendo.com>
17020 * docs/design/draft-ghostpads.txt:
17021 * docs/design/draft-push-pull.txt:
17022 * docs/design/draft-query.txt:
17023 * docs/design/part-TODO.txt:
17024 * docs/design/part-query.txt:
17025 Added CHANGES-0.9 doc, updated status of other docs.
17030 2005-06-30 Wim Taymans <wim@fluendo.com>
17032 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
17033 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
17034 (gst_base_sink_change_state):
17035 * gst/base/gstbasesink.h:
17036 Some tweaks, only EOS and a buffer complete a preroll.
17038 2005-06-30 Andy Wingo <wingo@pobox.com>
17040 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
17041 activate_push down to the internal pad as well.
17043 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
17045 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17047 * gst/gsttaginterface.c:
17048 Some documentation fixes (#307394 and #307397).
17050 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
17052 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17054 * gst/gstvalue.c: (gst_value_intersect_list):
17055 Fix memleak (#309125).
17057 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17059 * docs/manual/advanced-dataaccess.xml:
17060 Fix fakesrc example to compile; doesn't work, bug somewhere...?
17061 * docs/manual/basics-pads.xml:
17062 Add reference for filtered caps to above chapter.
17064 2005-06-30 Wim Taymans <wim@fluendo.com>
17066 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
17067 (gst_bin_change_state):
17069 Lame attempt at making the state change function a bit
17072 2005-06-30 Wim Taymans <wim@fluendo.com>
17074 * docs/design/part-clocks.txt:
17075 * docs/design/part-element-sink.txt:
17076 * docs/design/part-events.txt:
17077 * docs/design/part-preroll.txt:
17078 * docs/design/part-states.txt:
17079 Some more tweeks and additions to the docs.
17081 2005-06-30 Wim Taymans <wim@fluendo.com>
17083 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17084 (default_have_data), (gst_pad_class_init), (gst_pad_init),
17085 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
17086 (gst_pad_check_pull_range), (gst_pad_get_range),
17087 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
17089 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
17090 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17091 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17092 (gst_pad_remove_buffer_probe):
17093 Removed atomic operations, use existing LOCK.
17094 Move exception handling out of main code path.
17096 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17098 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17099 (silly_return_true_function), (gst_pad_class_init),
17100 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
17101 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
17102 (gst_pad_send_event):
17103 Fix accumulator, add default value by using _emitv() instead
17104 of _emit() for signal emission.
17106 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17108 * docs/manual/advanced-dataaccess.xml:
17109 * examples/manual/Makefile.am:
17111 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
17114 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
17116 * gst/elements/gstfilesink.c: (gst_filesink_render):
17117 Simplify code so that we don't have to handle short
17118 writes and return GST_FLOW_ERROR if an error occured.
17120 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17122 * docs/gst/gstreamer-docs.sgml:
17123 Remove probes more.
17125 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17127 * docs/gst/gstreamer-sections.txt:
17128 * docs/gst/tmpl/gstpad.sgml:
17129 * docs/gst/tmpl/gstprobe.sgml:
17131 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17132 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
17133 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17134 (gst_pad_push_event), (gst_pad_send_event):
17136 * gst/gstutils.c: (gst_pad_add_data_probe),
17137 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17138 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17139 (gst_pad_remove_buffer_probe):
17141 Remove old probes, add new g-signal-based probes and some utility
17144 2005-06-29 Edward Hervey <edward@fluendo.com>
17146 * gst/gstelementfactory.c:
17149 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
17150 the definition to the header file.
17152 2005-06-29 Andy Wingo <wingo@pobox.com>
17154 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
17155 plugins from the source directory.
17157 2005-06-29 Wim Taymans <wim@fluendo.com>
17159 * docs/gst/tmpl/gstbuffer.sgml:
17160 * docs/gst/tmpl/gstclock.sgml:
17161 Some fixings for blantently wrong text.
17163 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
17165 * check/Makefile.am:
17166 * gst/gst.c: (add_path_func), (init_pre):
17167 * gst/gstregistry.c: (gst_registry_add_path):
17168 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
17169 only scan the GST_PLUGIN_PATH locations, and not add
17172 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
17174 * docs/gst/gstreamer-sections.txt:
17175 * docs/gst/tmpl/gstbasesrc.sgml:
17176 * gst/gstelement.c:
17177 * gst/gstelement.h:
17182 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17184 * docs/manual/advanced-autoplugging.xml:
17185 Fix autoplugging example.
17187 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17189 * docs/manual/advanced-autoplugging.xml:
17190 * docs/manual/mime-world.fig:
17191 Try to get autoplugging working, fix type detection. Fix text
17192 in hello-world image.
17194 2005-06-29 Wim Taymans <wim@fluendo.com>
17196 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17197 (gst_base_sink_change_state):
17201 map SIGNAL and BROADCAST to the right function.
17204 Remove redundant braces.
17206 * gst/gstpad.c: (gst_pad_set_caps):
17207 Don't call setcaps function when reseting caps to NULL.
17209 * gst/gstsystemclock.c: (gst_system_clock_dispose),
17210 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
17211 (gst_system_clock_id_unschedule):
17212 Use BROADCAST as this is what we do.
17214 2005-06-29 Wim Taymans <wim@fluendo.com>
17216 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17217 We are actually prerolling before commiting the state
17220 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17222 * docs/manual/advanced-clocks.xml:
17223 * docs/manual/advanced-interfaces.xml:
17224 * docs/manual/advanced-metadata.xml:
17225 * docs/manual/advanced-position.xml:
17226 * docs/manual/advanced-schedulers.xml:
17227 * docs/manual/advanced-threads.xml:
17228 * docs/manual/appendix-porting.xml:
17229 * docs/manual/basics-bins.xml:
17230 * docs/manual/basics-bus.xml:
17231 * docs/manual/basics-elements.xml:
17232 * docs/manual/basics-helloworld.xml:
17233 * docs/manual/basics-pads.xml:
17234 * docs/manual/highlevel-components.xml:
17235 * docs/manual/manual.xml:
17236 * docs/manual/thread.fig:
17237 Update (until threads/scheduling) Application Development Manual;
17238 remove GstThread, add GstBus, add simple porting checklist, add
17239 documentation for tag writing, clocks, make all examples until this
17240 part compile and run.
17241 * examples/manual/Makefile.am:
17242 Update from changes to Application Development Manual; add bus
17243 example, remove thread example.
17245 2005-06-28 Wim Taymans <wim@fluendo.com>
17247 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
17248 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
17249 (gst_bus_source_dispatch):
17250 Add debugging messages.
17251 Make internal methods static.
17252 Handle the case where the bus is flushed in the handler.
17254 * gst/gstelement.c: (gst_element_get_bus):
17255 Fix refcount in _get_bus();
17257 * gst/gstpipeline.c: (gst_pipeline_change_state),
17258 (gst_pipeline_get_clock_func):
17259 Clock refcounting fixes.
17260 Handle the case where preroll timed out more gracefully.
17262 * gst/gstsystemclock.c: (gst_system_clock_dispose):
17263 Clean up the internal thread in dispose. This is needed
17264 for subclasses that actually get disposed.
17266 * gst/schedulers/threadscheduler.c:
17267 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
17268 (gst_thread_scheduler_dispose):
17269 Free thread pool in dispose.
17271 2005-06-28 Andy Wingo <wingo@pobox.com>
17273 * tests/network-clock-utils.scm (debug, print-event): New utils.
17275 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
17276 (*packet-loss*): Unified loss probability.
17277 (network-time): Report out-of-band events.
17279 * tests/plot-data: Add support for out-of-band events. Hack it
17280 into this script instead of passing it down the pipe; should fix
17283 2005-06-28 Wim Taymans <wim@fluendo.com>
17285 * docs/gst/gstreamer.types:
17286 * docs/gst/tmpl/gstbasesrc.sgml:
17287 * docs/gst/tmpl/gstpad.sgml:
17290 2005-06-28 Wim Taymans <wim@fluendo.com>
17292 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17293 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
17294 (gst_proxy_pad_do_fixatecaps):
17295 Correctly proxy the check_pull_range function.
17297 2005-06-28 Andy Wingo <wingo@pobox.com>
17299 * tests/network-clock.scm: Removed need for slib.
17301 2005-06-28 Wim Taymans <wim@fluendo.com>
17303 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
17304 (gst_basesink_preroll_queue_flush):
17305 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
17306 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
17307 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17308 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
17309 (gst_proxy_pad_set_property):
17312 * gst/gstqueue.c: (gst_queue_init):
17313 The deprecated pad loop function is removed now.
17315 2005-06-28 Andy Wingo <wingo@pobox.com>
17317 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
17318 New parameters, simulate network packet loss.
17320 * tests/network-clock-utils.scm: Initialize the RNG.
17322 2005-06-28 Wim Taymans <wim@fluendo.com>
17324 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
17325 (gst_basesink_event), (gst_basesink_deactivate):
17326 Flushing the preroll queue always needs to unlock the waiters.
17328 2005-06-28 Edward Hervey <edward@fluendo.com>
17330 * gst/gstpipeline.c: (gst_pipeline_send_event):
17331 Wheen a seek was successful on a pipeline, set the stream_time to the
17332 seek offset in order to have a synchronized stream_time.
17334 2005-06-28 Wim Taymans <wim@fluendo.com>
17336 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17337 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
17338 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
17339 (gst_proxy_pad_do_fixatecaps):
17340 Call wrapper function instead of just calling the function
17341 pointers. This takes care of any locking and whatmore.
17343 2005-06-28 Wim Taymans <wim@fluendo.com>
17345 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
17346 (gst_pad_pull_range):
17348 CONNECTED -> LINKED.
17350 2005-06-28 Andy Wingo <wingo@pobox.com>
17352 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
17353 source-munging commit!!!
17355 * gst/gstobject.c (gst_object_unref, gst_object_ref)
17356 (gst_object_sink): Take gpointer arguments, not GstObject --
17357 avoids casts. Like GLib.
17359 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
17362 2005-06-27 Andy Wingo <wingo@pobox.com>
17364 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
17367 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
17368 returns a sorted copy of the trace list.
17369 (gst_alloc_trace_print_live): New API, only prints traces with
17370 live objects. Sort the list.
17371 (gst_alloc_trace_print_all): Sort the list.
17372 (gst_alloc_trace_print): Align columns.
17374 * gst/elements/gstttypefindelement.c:
17375 * gst/elements/gsttee.c:
17376 * gst/base/gstbasesrc.c:
17377 * gst/base/gstbasesink.c:
17378 * gst/base/gstbasetransform.c:
17379 * gst/gstqueue.c: Adapt for pad activation changes.
17381 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
17383 (gst_pipeline_dispose): Drop ref on sched.
17385 * gst/gstpad.c (gst_pad_init): Set the default activate func.
17386 (gst_pad_activate_default): Push mode by default.
17387 (pre_activate_switch, post_activate_switch): New stubs, things to
17388 do before and after switching activation modes on pads.
17389 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
17390 the pad's activate function to choose which mode to activate.
17391 Shortcut on deactivation and call the right function directly.
17392 (gst_pad_activate_pull): New API, (de)activates a pad in pull
17394 (gst_pad_activate_push): New API, same for push mode.
17395 (gst_pad_set_activate_function)
17396 (gst_pad_set_activatepull_function)
17397 (gst_pad_set_activatepush_function): Setters for new API.
17399 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
17400 Trace all miniobjects.
17401 (gst_mini_object_make_writable): Unref the arg if we copy, like
17402 gst_caps_make_writable.
17404 * gst/gstmessage.c (_gst_message_initialize): No trace init.
17406 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
17407 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
17408 Adapt for new pad API.
17410 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
17412 * gst/gstelement.h:
17413 * gst/gstelement.c (gst_element_iterate_src_pads)
17414 (gst_element_iterate_sink_pads): New API functions.
17416 * gst/gstelement.c (iterator_fold_with_resync): New utility,
17417 should fold into gstiterator.c in some form.
17418 (gst_element_pads_activate): Simplified via use of fold and
17419 delegation of decisions to gstpad->activate.
17421 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
17424 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
17425 class once in init, like gstmessage. Didn't run into this issue
17426 but it seems correct. Don't initialize a trace, gstminiobject does
17429 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
17430 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
17432 (assert_live_count): New util function, uses alloc traces to check
17435 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
17436 To be modified when unlink drops the internal pad.
17438 2005-06-27 Wim Taymans <wim@fluendo.com>
17440 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
17441 (gst_bin_change_state):
17442 Cleanup the get_state() function a little, make sure it
17443 iterates the same set of elements.
17444 Added stub iterate_state_order().
17446 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
17448 * docs/gst/gstreamer-docs.sgml:
17449 * docs/gst/gstreamer-sections.txt:
17450 * docs/gst/gstreamer.types:
17451 * docs/gst/tmpl/gstbasesink.sgml:
17452 * docs/gst/tmpl/gstbasesrc.sgml:
17453 * docs/gst/tmpl/gstbasetransform.sgml:
17454 * docs/gst/tmpl/gstelement.sgml:
17455 * docs/gst/tmpl/gstiterator.sgml:
17456 * gst/base/gstbasesrc.c:
17457 * gst/base/gstbasesrc.h:
17458 * gst/base/gstbasetransform.h:
17459 * gst/gstelement.c:
17460 * gst/gstiterator.h:
17461 adding basetransform and iterator docs
17463 2005-06-27 Andy Wingo <wingo@pobox.com>
17465 * docs/design/part-activation.txt: Notes on how activation should
17466 work -- not quite implemented yet.
17468 2005-06-25 Wim Taymans <wim@fluendo.com>
17470 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
17471 At least get the chain function correct, needs more
17474 2005-06-25 Wim Taymans <wim@fluendo.com>
17476 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17477 (gst_basesink_handle_object), (gst_basesink_event),
17478 (gst_basesink_do_sync), (gst_basesink_handle_event),
17479 (gst_basesink_change_state):
17481 Right, two problems here: ghostpads don't take locks and
17482 glib _rec_mutex_lock_full() with depth==0 still locks.
17483 Catch illegal locking and g_warn them.
17485 2005-06-25 Wim Taymans <wim@fluendo.com>
17487 * check/states/sinks.c: (START_TEST), (gst_object_suite):
17488 Have to check for completion now...
17490 2005-06-25 Wim Taymans <wim@fluendo.com>
17492 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17493 (gst_basesink_handle_object), (gst_basesink_event),
17494 (gst_basesink_do_sync), (gst_basesink_handle_event),
17495 (gst_basesink_change_state):
17497 Unlock STREAM_LOCK whatever the recursion was.
17499 2005-06-25 Wim Taymans <wim@fluendo.com>
17501 * gst/base/gstbasesink.c: (gst_basesink_set_property),
17502 (gst_basesink_preroll_queue_empty),
17503 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
17504 (gst_basesink_event), (gst_basesink_do_sync),
17505 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
17506 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
17507 (gst_basesink_change_state):
17508 Reworked the base sink, handle event and buffer serialisation
17509 correctly and removed possible deadlock.
17510 Handle EOS correctly.
17512 2005-06-25 Wim Taymans <wim@fluendo.com>
17514 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
17515 (gst_pipeline_change_state):
17516 * tools/gst-launch.c: (check_intr), (event_loop), (main):
17517 Allow elements to post EOS in the state change function.
17518 Fix up -launch, make it exit the poll loop when the
17519 pipeline actually changed state.
17520 Fix up warning parsing in -launch.
17522 2005-06-25 Wim Taymans <wim@fluendo.com>
17524 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
17525 (gst_tee_sink_activate):
17526 Core takes STREAM_LOCK for us now.
17528 2005-06-25 Wim Taymans <wim@fluendo.com>
17530 * gst/gstelement.c: (gst_element_get_state_func),
17531 (gst_element_set_state):
17532 * gst/gstelement.h:
17533 * gst/gstmessage.c: (gst_message_parse_error),
17534 (gst_message_parse_warning):
17535 Keep track of current target state while performing a state
17536 change so that subclasses can do something interesting.
17537 Fix parsing of warning/error messages when GError is NULL.
17539 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
17541 * docs/gst/Makefile.am:
17542 * docs/gst/gstreamer-docs.sgml:
17543 * docs/gst/gstreamer-sections.txt:
17544 * docs/gst/gstreamer.types:
17545 * docs/gst/tmpl/gstbasesink.sgml:
17546 * docs/gst/tmpl/gstbasesrc.sgml:
17547 * docs/gst/tmpl/gstbin.sgml:
17548 * docs/gst/tmpl/gstcompat.sgml:
17549 * docs/gst/tmpl/gstfakesink.sgml:
17550 * docs/gst/tmpl/gstfakesrc.sgml:
17551 * docs/gst/tmpl/gstfilesink.sgml:
17552 * docs/gst/tmpl/gstfilesrc.sgml:
17553 * docs/gst/tmpl/gstindex.sgml:
17554 * docs/manual/appendix-quotes.xml:
17555 * gst/base/gstbasesrc.h:
17556 * gst/elements/gstfakesrc.h:
17557 * gst/gstmessage.h:
17558 start pulling in base classes and elements in our docs
17560 2005-06-24 Stefan Kost <ensonic@users.sf.net>
17562 * docs/gst/Makefile.am:
17563 * docs/libs/Makefile.am:
17564 fixed make distcheck with gtk-doc 1.3
17566 2005-06-23 Wim Taymans <wim@fluendo.com>
17568 * gst/gstelement.c: (gst_element_get_state_func),
17569 (gst_element_set_state), (gst_element_change_state):
17570 When the state did not change, also report NO_PREROLL
17573 2005-06-23 Wim Taymans <wim@fluendo.com>
17575 * gst/gstpad.c: (gst_pad_event_default):
17576 * gst/gstqueue.c: (gst_queue_loop):
17577 No unsafe task pausing please.
17579 2005-06-23 Wim Taymans <wim@fluendo.com>
17581 * gst/schedulers/threadscheduler.c:
17582 (gst_thread_scheduler_task_start),
17583 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
17584 Ref the task before pushing it on the threadpool. This
17585 makes sure that we have a ref when the threadfunction is
17588 2005-06-23 Andy Wingo <wingo@pobox.com>
17590 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
17591 offset is greater than the file's size.
17593 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
17594 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
17595 * gst/gstobject.c (gst_object_class_init): Make the class lock
17596 recursive. Wim won't let me drop deep_notify. Decodebin works
17597 again, whoopdy doo.
17599 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
17600 internal pad, and hacks accordingly. Doesn't do it on the target
17601 pad because we change its caps. Probably catches all cases of
17603 (gst_ghost_pad_set_property): Connect to notify::caps as
17606 * tests/network-clock.scm (plot-simulation): Pipe data to the
17607 elite python skript.
17609 * tests/network-clock-utils.scm (define-parameter): New macro,
17610 defines a parameter that can be set via the command line.
17611 (set-parameter!, parse-parameter-arguments): Command line args
17614 * tests/plot-data: Simple matplotlib-based plotter, takes input on
17617 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
17619 * gst/elements/gsttypefindelement.c:
17620 (gst_type_find_element_handle_event):
17621 Don't restart typefinding on a discont.
17622 * gst/gstelement.c: (gst_element_set_state):
17623 Debug spelling fix.
17624 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
17625 Allow changing mode of an active pad.
17626 Debug output fixes.
17627 * gst/registries/gstlibxmlregistry.c: (load_feature):
17628 Don't cast a static pad template to a normal pad template.
17630 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
17632 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17633 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17634 remove gst_strtoll completely, since it didn't actually do
17635 anything more than what g_ascii_strtoull already does.
17636 check for range errors when deserializing
17637 do a cast for the unsigned cases; but further fixing needs
17638 a decision on what the interpretation of "(int)" and
17639 deserialization should be for values that fall outside the
17640 type's boundaries (ie, refuse, or interpret as casting)
17642 2005-06-23 Wim Taymans <wim@fluendo.com>
17644 * check/Makefile.am:
17645 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
17646 * docs/design/part-live-source.txt:
17647 * docs/design/part-states.txt:
17648 * gst/base/gstbasesrc.c: (gst_basesrc_init),
17649 (gst_basesrc_set_live), (gst_basesrc_is_live),
17650 (gst_basesrc_get_range), (gst_basesrc_activate),
17651 (gst_basesrc_change_state):
17652 * gst/base/gstbasesrc.h:
17653 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17654 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17655 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
17656 * gst/gstelement.c: (gst_element_get_state_func),
17657 (gst_element_set_state):
17658 * gst/gstelement.h:
17660 * tools/gst-launch.c: (event_loop), (main):
17661 Added support for live sources and other elements that
17663 Updated design docs, added live-source design doc.
17664 Implemented live source functionality in basesrc
17665 Fix error condition in _bin_get_state()
17666 Implement live source handling in -launch.
17667 Added check for live sources.
17668 Fixed case in GstBin where elements were changed state
17672 2005-06-23 Andy Wingo <wingo@pobox.com>
17674 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
17675 borken refcounting.
17677 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
17678 gst_caps_replace takes care of this for us.
17680 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
17681 gst_pad_set_caps on the target, not just its setcaps() function.
17683 * tests/network-clock.scm:
17684 * tests/network-clock-utils.scm: A network clock simulator.
17685 Something of an algorithmic testbed before doing something in C.
17687 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17689 * check/Makefile.am:
17690 * check/gst/capslist.h:
17691 copy over from 0.8, and add two with bitmasks specified with
17693 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17694 add test to parse everything from capslist.h
17695 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
17697 add test for structure deserialization
17698 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17699 add tests for deserialization of strings to int types
17700 * gst/gststructure.c: (gst_structure_nth_field_name):
17701 * gst/gststructure.h:
17702 add a way to get the name of a field referenced by index
17703 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17704 instead of checking if the resulting long long lies between
17705 min and max, we check if the long long would fit into
17706 a number of bytes for the final type.
17707 This fixes cases where a string represents 2^32 - 1, which
17708 when cast to int would be the (valid) -1, but is bigger than
17711 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17713 * gst/parse/grammar.y:
17714 add a log line for type deserialization
17716 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17718 * check/gst/gstvalue.c: (START_TEST):
17719 * gst/gstvalue.c: (gst_value_deserialize):
17720 return long long, not int, so gint64 deserialization actually
17721 works. Is there any flag that makes the compiler check this ?
17724 2005-06-22 Wim Taymans <wim@fluendo.com>
17727 Added convenience macros for setting buffers in GValue.
17729 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17731 * check/gst/.cvsignore:
17732 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17733 add a test deserializing int64, and comment part out because
17736 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17738 * check/Makefile.am:
17739 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17740 * testsuite/Makefile.am:
17741 * testsuite/caps/Makefile.am:
17742 * testsuite/caps/value_serialize.c:
17743 * testsuite/test_gst_init.c:
17744 move a value_serialize test over
17746 2005-06-20 Wim Taymans <wim@fluendo.com>
17751 * gst/gstvalue.c: (gst_value_compare_buffer),
17752 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17753 (gst_value_compare_flags), (gst_value_serialize_flags),
17754 (gst_value_deserialize_flags), (_gst_value_initialize):
17755 Fix serialisation of buffers, they are not boxed types anymore
17757 2005-06-20 Wim Taymans <wim@fluendo.com>
17759 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17760 Testcase to show error in buffer-on-caps serialisation.
17762 2005-06-20 Andy Wingo <wingo@pobox.com>
17764 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17765 will be adding to later.
17767 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17768 if its socks fill with rocks.
17769 (gst_system_clock_obtain): Set the name on object construction.
17770 Avoid double-checked locking.
17772 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
17774 * gst/gsturi.c: (gst_element_make_from_uri):
17775 Fix potential endless loop.
17777 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17779 * check/Makefile.am:
17781 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17783 move over from testsuite dir and clean up
17786 * testsuite/Makefile.am:
17787 * testsuite/tags/.cvsignore:
17788 * testsuite/tags/Makefile.am:
17789 * testsuite/tags/merge.c:
17790 remove testsuite/tags
17792 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17794 * docs/gst/gstreamer-sections.txt:
17795 * docs/gst/tmpl/gstenumtypes.sgml:
17796 * win32/gstenumtypes.c:
17797 clean up documentation build a little
17799 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17801 * check/gstcheck.h:
17802 add macros for checking refcounts on objects and caps
17803 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17804 add some more unit tests
17805 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17806 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17807 fix leaked refcounts (I hope :)) so unittest works
17811 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17813 * configure.ac: back to HEAD
17815 === release 0.9.1 ===
17817 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
17823 2005-06-17 Andy Wingo <wingo@pobox.com>
17825 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
17826 assert; it's always possible that the pad gets deactivated in
17827 between the checks in gstpad.c and the implementation. Rely on
17828 finish_preroll() to return a FLUSHING or similar instead of on the
17831 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
17832 clock and post an EOS message if we come out of finish_preroll in
17835 2005-06-16 David Schleef <ds@schleef.org>
17837 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17838 (gst_capsfilter_set_property): Allow NULL as possible value
17839 for filter_caps property, indicating GST_CAPS_ANY.
17841 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17843 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
17845 * gst/schedulers/Makefile.am:
17847 * gstreamer.spec.in:
17850 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17852 * gstreamer.spec.in:
17855 2005-06-08 Andy Wingo <wingo@pobox.com>
17857 * gst/gstutils.c: RPAD fixes all around.
17858 (gst_element_link_pads): Refcounting fixes.
17860 * tools/gst-inspect.c:
17861 * tools/gst-xmlinspect.c:
17863 * gst/base/gsttypefindhelper.c:
17864 * gst/base/gstbasesink.c:
17865 * gst/gstqueue.c: RPAD fixes.
17867 * gst/gstghostpad.h:
17868 * gst/gstghostpad.c: New ghost pad implementation as full proxy
17869 pads. The tricky thing is they provide both source and sink
17870 interfaces, since they proxy the internal pad for the external
17871 pad, and vice versa. Implement with lower-level ProxyPad objects,
17872 with the interior proxy pad as a child of the exterior ghost pad.
17873 Should write a doc on this.
17875 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
17876 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
17879 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
17880 pads are real pads. No ghost pads in this file. Not documenting
17881 the myriad s/RPAD/PAD/ and REALIZE fixes.
17882 (gst_pad_class_init): Add properties for "direction" and
17883 "template". Both are construct-only, so they can't change during
17884 the life of the pad. Fixes properly deriving from GstPad.
17885 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
17886 derived objects, just set properties when creating the objects via
17888 (gst_pad_get_parent): Implement as a function, return NULL if the
17889 parent is not an element.
17890 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
17891 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
17893 * gst/gstobject.c (gst_object_class_init): Make name a construct
17894 property. Don't set it in the object init.
17896 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
17897 with UNKNOWN direction.
17898 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
17899 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
17900 (gst_element_remove_pad): Remove ghost-pad special cases.
17901 (gst_element_pads_activate): Remove rpad cruft.
17903 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
17904 catch the pad's-parent-not-an-element case.
17906 * gst/gst.h: Include gstghostpad.h.
17908 * gst/gst.c (init_post): No more real, ghost pads.
17910 * gst/Makefile.am: Add gstghostpad.[ch].
17912 * check/Makefile.am:
17913 * check/gst/gstbin.c:
17914 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
17915 into a bin creates ghost pads, and that the refcounts are right.
17916 Partly moved from gstbin.c.
17918 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17920 * check/gst-libs/.cvsignore:
17921 * check/gst/.cvsignore:
17922 * check/pipelines/.cvsignore:
17924 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
17925 (START_TEST), (cleanup_suite), (main):
17926 add some tests related to cleanup after running pipelines
17928 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17930 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
17931 add a testsuite for GstBuffer
17933 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17935 * gst/gstminiobject.h:
17936 add defines for accessing the refcount
17938 2005-06-03 Stefan Kost <ensonic@users.sf.net>
17940 * Makefile.am: added support for html unit test coverage reports
17942 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
17944 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17945 Free existing caps if the capsfilter changes. Add a FIXME about
17946 setting those caps on the pads.
17948 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
17949 Before adding a ghost pad to a parent bin, check that there isn't
17950 already one for the element on the bin. Prevents infinite recursion
17951 when using decodebin in parse pipelines. Andy says he'll rewrite the
17952 way this works anyway, so ignore the hack.
17954 2005-06-02 Andy Wingo <wingo@pobox.com>
17956 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
17957 file size, pass it on to the type find helper.
17959 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
17960 segment_start and segment_end properly according to the seek
17961 method. Segment_end is still a bit flaky because offset can be
17962 negative for CUR and END cases, but it takes -1 as an "unset"
17965 2005-06-02 Wim Taymans <wim@fluendo.com>
17967 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
17968 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
17969 (gst_basesink_activate):
17970 * gst/base/gstbasesink.h:
17971 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17972 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17973 (gst_pad_query), (gst_pad_start_task):
17975 * gst/gstqueue.c: (gst_queue_bufferalloc),
17976 (gst_queue_handle_sink_event), (gst_queue_chain):
17977 Bufferalloc: return GstFlowReturn to more accuratly report
17978 why allocation failed.
17980 2005-06-02 Wim Taymans <wim@fluendo.com>
17982 * gst/gstpipeline.c: (gst_pipeline_send_event):
17983 Take snapshot of state without blocking.
17985 2005-06-02 Wim Taymans <wim@fluendo.com>
17987 * docs/design/part-TODO.txt:
17988 * docs/design/part-caps.txt:
17989 * docs/design/part-clocks.txt:
17990 * docs/design/part-negotiation.txt:
17991 * docs/design/part-preroll.txt:
17994 2005-05-30 Wim Taymans <wim@fluendo.com>
17996 * gst/elements/gstidentity.c: (gst_identity_event),
17997 (gst_identity_transform), (gst_identity_get_property):
17998 Protect last_message property as it is accessed from
18001 2005-05-30 Wim Taymans <wim@fluendo.com>
18003 * gst/gstelement.c: (gst_element_init),
18004 (gst_element_pads_activate), (gst_element_change_state):
18005 Slicker pad activation code.
18007 2005-05-30 Wim Taymans <wim@fluendo.com>
18010 * gst/gstelement.h:
18011 * gst/gstelementfactory.h:
18013 Move elementfactory methods to separate .h file.
18015 2005-05-30 Wim Taymans <wim@fluendo.com>
18017 * docs/design/part-overview.txt:
18018 * gst/gstsystemclock.h:
18019 Small typo fixes, doc updates.
18021 2005-05-30 Wim Taymans <wim@fluendo.com>
18023 * gst/gst.c: (gst_init_get_popt_table), (init_post),
18024 (init_popt_callback):
18025 Remove cpu-opt flag.
18027 2005-05-30 Wim Taymans <wim@fluendo.com>
18029 * gst/gstbuffer.c: (gst_subbuffer_finalize),
18030 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
18032 Avoid typechecking in places where not needed.
18033 Added accessor for malloc_data.
18035 2005-05-30 Wim Taymans <wim@fluendo.com>
18037 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
18038 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
18039 (gst_pad_configure_sink), (gst_pad_configure_src),
18040 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
18041 (gst_pad_start_task):
18042 Propagate errors from _set_caps() in configure_src/sink
18043 functions instead of returning TRUE.
18044 FLUSH events can travel up and downstream
18047 2005-05-30 Wim Taymans <wim@fluendo.com>
18049 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
18050 (gst_basesink_activate):
18051 Handle EOS in preroll.
18053 2005-05-30 Wim Taymans <wim@fluendo.com>
18055 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18056 (gst_queue_loop), (gst_queue_handle_src_event):
18057 Remove old pieces of code
18058 Flushing the queue in an upstream event is a very bad idea.
18060 2005-05-26 Andy Wingo <wingo@pobox.com>
18062 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
18063 gst_value_set_mini_object so as to add a ref on the object (which
18064 will be removed when the value is unset).
18066 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
18067 arg type in ::handoff.
18069 * gst/gstelement.c (gst_element_change_state): Also deactivate
18070 pads in READY->NULL, just in case the element didn't make it to
18071 PAUSED. Wingo tested, Wim approved.
18073 2005-05-26 Wim Taymans <wim@fluendo.com>
18075 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18076 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
18077 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
18078 A flushing pad cannot be used to alloc_buffer from.
18080 2005-05-26 Wim Taymans <wim@fluendo.com>
18082 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
18083 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
18084 (gst_bus_source_dispatch), (gst_bus_source_finalize),
18085 (gst_bus_create_watch), (gst_bus_add_watch_full):
18087 Implement a real GSource and use g_main_context_wakeup() to
18088 signal new messages instead of the socketpair.
18090 2005-05-25 Wim Taymans <wim@fluendo.com>
18092 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
18093 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
18094 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18095 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
18096 (gst_pad_send_event), (gst_pad_start_task):
18097 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
18098 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18099 (gst_queue_sink_activate), (gst_queue_src_activate),
18100 (gst_queue_change_state):
18102 Fix state changes for non sinks. We now change sinks, then elements
18103 with unconnected srcpads, then the rest.
18104 More efficient queue unlocking in flush and state changes.
18105 Set the pad activate mode even if it does not have an activate
18108 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18110 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
18111 Don't go in pull mode for non-seekable sources.
18112 * gst/elements/gsttypefindelement.h:
18113 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18114 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
18115 (free_entry), (stop_typefinding),
18116 (gst_type_find_element_handle_event), (find_peek),
18117 (gst_type_find_element_chain), (do_pull_typefind),
18118 (gst_type_find_element_change_state):
18119 Allow typefinding (w/o seeking) in push-mode, simplified version
18120 of what was in 0.8.
18121 * gst/gstutils.c: (gst_buffer_join):
18123 gst_buffer_join() from 0.8.
18125 2005-05-25 Wim Taymans <wim@fluendo.com>
18127 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18128 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
18129 (gst_pad_send_event), (gst_pad_start_task):
18130 Disable attempt at mode switching until it is figured out.
18132 2005-05-25 Wim Taymans <wim@fluendo.com>
18134 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
18135 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
18136 (gst_basesink_finish_preroll), (gst_basesink_chain),
18137 (gst_basesink_loop), (gst_basesink_activate),
18138 (gst_basesink_change_state):
18139 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
18140 (gst_basesrc_get_range), (gst_basesrc_loop),
18141 (gst_basesrc_activate):
18142 * gst/elements/gsttee.c: (gst_tee_sink_activate):
18143 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
18144 (gst_real_pad_init), (gst_real_pad_set_property),
18145 (gst_real_pad_get_property), (gst_pad_set_active),
18146 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
18147 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
18148 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
18149 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
18150 (gst_pad_event_default_dispatch), (gst_pad_event_default),
18151 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
18152 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
18153 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
18154 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
18155 (gst_pad_stop_task):
18157 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18158 (gst_queue_loop), (gst_queue_src_activate):
18159 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
18160 (gst_task_get_state):
18162 * gst/schedulers/threadscheduler.c:
18163 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
18164 Implement gst_pad_pause/start/stop_task(), take STREAM lock
18166 Remove ACTIVE pad flag, use FLUSHING everywhere
18167 Added _pad_chain(), _pad_get_range() to call chain/getrange
18169 Add locks around IS_FLUSHING when reading.
18170 Take STREAM lock in chain(), get_range() functions so plugins
18171 don't need to take it anymore.
18175 2005-05-25 Wim Taymans <wim@fluendo.com>
18177 * tools/gst-launch.c: (event_loop):
18178 Unref message after using its contents instead of
18181 2005-05-24 Wim Taymans <wim@fluendo.com>
18183 * docs/design/draft-ghostpads.txt:
18184 * docs/design/draft-push-pull.txt:
18185 * docs/design/draft-query.txt:
18186 * docs/design/part-overview.txt:
18187 Docs updates, added general overview doc.
18189 2005-05-21 David Schleef <ds@schleef.org>
18191 * docs/gst/tmpl/old/GstBin.sgml:
18192 * docs/gst/tmpl/old/GstBuffer.sgml:
18193 * docs/gst/tmpl/old/GstCaps.sgml:
18194 * docs/gst/tmpl/old/GstClock.sgml:
18195 * docs/gst/tmpl/old/GstCompat.sgml:
18196 * docs/gst/tmpl/old/GstData.sgml:
18197 * docs/gst/tmpl/old/GstElement.sgml:
18198 * docs/gst/tmpl/old/GstEvent.sgml:
18199 * docs/gst/tmpl/old/GstIndex.sgml:
18200 * docs/gst/tmpl/old/GstStructure.sgml:
18201 * docs/gst/tmpl/old/GstTag.sgml:
18202 * docs/gst/tmpl/old/cothreads.sgml:
18203 * docs/gst/tmpl/old/cothreads_compat.sgml:
18204 * docs/gst/tmpl/old/gettext.sgml:
18205 * docs/gst/tmpl/old/gobject2gtk.sgml:
18206 * docs/gst/tmpl/old/grammar.tab.sgml:
18207 * docs/gst/tmpl/old/gst-i18n-app.sgml:
18208 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
18209 * docs/gst/tmpl/old/gst_private.sgml:
18210 * docs/gst/tmpl/old/gstaggregator.sgml:
18211 * docs/gst/tmpl/old/gstarch.sgml:
18212 * docs/gst/tmpl/old/gstatomic_impl.sgml:
18213 * docs/gst/tmpl/old/gstbufferstore.sgml:
18214 * docs/gst/tmpl/old/gstdata_private.sgml:
18215 * docs/gst/tmpl/old/gstdisksink.sgml:
18216 * docs/gst/tmpl/old/gstdisksrc.sgml:
18217 * docs/gst/tmpl/old/gstelementfactory.sgml:
18218 * docs/gst/tmpl/old/gstextratypes.sgml:
18219 * docs/gst/tmpl/old/gstfakesink.sgml:
18220 * docs/gst/tmpl/old/gstfakesrc.sgml:
18221 * docs/gst/tmpl/old/gstfdsink.sgml:
18222 * docs/gst/tmpl/old/gstfdsrc.sgml:
18223 * docs/gst/tmpl/old/gstfilesink.sgml:
18224 * docs/gst/tmpl/old/gstfilesrc.sgml:
18225 * docs/gst/tmpl/old/gsthttpsrc.sgml:
18226 * docs/gst/tmpl/old/gstidentity.sgml:
18227 * docs/gst/tmpl/old/gstindexfactory.sgml:
18228 * docs/gst/tmpl/old/gstmarshal.sgml:
18229 * docs/gst/tmpl/old/gstmd5sink.sgml:
18230 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
18231 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
18232 * docs/gst/tmpl/old/gstpadtemplate.sgml:
18233 * docs/gst/tmpl/old/gstpipefilter.sgml:
18234 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
18235 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
18236 * docs/gst/tmpl/old/gstshaper.sgml:
18237 * docs/gst/tmpl/old/gstspider.sgml:
18238 * docs/gst/tmpl/old/gstspideridentity.sgml:
18239 * docs/gst/tmpl/old/gststatistics.sgml:
18240 * docs/gst/tmpl/old/gsttee.sgml:
18241 * docs/gst/tmpl/old/gsttimecache.sgml:
18242 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
18243 * docs/gst/tmpl/old/gstxmlregistry.sgml:
18244 * docs/gst/tmpl/old/gthread-cothreads.sgml:
18245 * docs/gst/tmpl/old/types.sgml:
18246 I didn't intend to add these or check them in.
18248 2005-05-19 David Schleef <ds@schleef.org>
18250 * configure.ac: Use -no-common everywhere. In a sane world, it
18251 would be the default in libtool, because without it, you can't
18252 build DLLs on Windows.
18253 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
18254 * docs/gst/gstreamer-sections.txt:
18255 * docs/gst/tmpl/gstcpu.sgml:
18256 * docs/gst/tmpl/gstdata.sgml:
18257 * docs/gst/tmpl/gstthread.sgml:
18259 2005-05-19 David Schleef <ds@schleef.org>
18261 * gst/gstminiobject.c: (gst_value_set_mini_object),
18262 (gst_value_take_mini_object), (gst_value_get_mini_object):
18263 * gst/gstminiobject.h: Add GValue set/get functions.
18265 2005-05-19 Wim Taymans <wim@fluendo.com>
18267 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
18268 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
18269 (gst_subbuffer_init), (gst_buffer_is_span_fast):
18271 * gst/gstbus.c: (gst_bus_post):
18272 * gst/gstelement.c: (gst_element_get_random_pad):
18273 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
18274 Make subbufer unref the parent in finalize.
18275 some more debugging info.
18278 2005-05-19 Wim Taymans <wim@fluendo.com>
18280 * gst/base/gstbasesink.c: (gst_basesink_class_init),
18281 (gst_basesink_init), (gst_basesink_finalize),
18282 (gst_basesink_activate), (gst_basesink_change_state):
18283 Don't free preroll queue too early.
18285 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18289 Hi, I'm outdated. Please shoot me.
18291 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18293 * gst/gstpipeline.c: (gst_pipeline_send_event):
18294 Do not access variables after they have been deleted.
18296 2005-05-19 Wim Taymans <wim@fluendo.com>
18298 * tools/gst-inspect.c: (print_plugin_features):
18299 A plugin feature does unfortunatly not use the
18302 2005-05-18 Wim Taymans <wim@fluendo.com>
18304 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
18305 Port _span() functions to new subbuffers.
18307 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18309 * gst/gstbin.c: (gst_bin_add_func):
18310 Fix clock settery in bins when adding kids after the clock has
18313 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18315 * gst/elements/gstidentity.c: (gst_identity_class_init):
18316 Workaround until signals support GstMiniObject.
18318 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
18321 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
18323 2005-05-18 Wim Taymans <wim@fluendo.com>
18325 * gst/base/Makefile.am:
18326 * gst/base/gstadapter.c: (gst_adapter_base_init),
18327 (gst_adapter_class_init), (gst_adapter_init),
18328 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
18329 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
18330 (gst_adapter_flush), (gst_adapter_available),
18331 (gst_adapter_available_fast):
18332 * gst/base/gstadapter.h:
18333 Ported and added adapter to the base classes.
18335 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18338 * gst/gstmessage.c:
18339 Make sure the class is reffed/unreffed once before threads can be
18340 used. Fixes #304551.
18342 2005-05-17 Wim Taymans <wim@fluendo.com>
18344 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
18345 (gst_basesink_chain_unlocked), (gst_basesink_activate):
18346 * gst/gstminiobject.c: (gst_mini_object_get_type),
18347 (gst_mini_object_free):
18348 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
18349 (gst_pad_push), (gst_pad_push_event):
18350 * gst/gstqueue.c: (gst_queue_change_state):
18351 Don't queue buffers in basesink when we are flushing.
18352 Unref buffer when flushing in basesink.
18353 Flush queue when going to READY
18354 Unref buffer when _push() returns an error.
18355 Don't free MiniObject instance when refcount is incremented
18356 in _finalize() so that we can recover objects.
18358 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
18360 * docs/manual/advanced-schedulers.xml:
18361 * docs/manual/appendix-checklist.xml:
18362 * docs/pwg/advanced-clock.xml:
18363 * docs/pwg/advanced-interfaces.xml:
18364 * docs/pwg/advanced-request.xml:
18365 * docs/pwg/advanced-types.xml:
18366 * docs/pwg/intro-preface.xml:
18367 * examples/plugins/example.c: (gst_example_get_type),
18368 (gst_example_class_init), (gst_example_chain),
18369 (gst_example_set_property), (gst_example_get_property),
18370 (gst_example_change_state), (plugin_init):
18371 * examples/plugins/example.h:
18374 2005-05-17 Wim Taymans <wim@fluendo.com>
18376 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
18377 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
18378 * gst/gstqueue.c: (gst_queue_change_state):
18379 Clear queue when going to READY.
18380 Remove IN_SETCAPS flag too.
18382 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
18384 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
18385 Remove implicit cast from gboolean to GstElementStateReturn;
18386 make sure we still return failure in paused => ready case if
18387 the parent class fails to change state and our own stop
18390 2005-05-17 Wim Taymans <wim@fluendo.com>
18392 * tools/gst-launch.c: (event_loop):
18393 Message was unreffed too soon.
18395 2005-05-16 Andy Wingo <wingo@pobox.com>
18397 * gst/gstbin.c (sink_iterator_filter): Err... um...
18399 * check/gst/gstbin.c (test_ghost_pads): New test for the
18400 ghosting-if-elements-not-in-same-bin behavior.
18402 2005-05-16 David Schleef <ds@schleef.org>
18404 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
18405 accessing refcount directly.
18407 2005-05-15 David Schleef <ds@schleef.org>
18409 * check/Makefile.am: remove GstData checks
18410 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
18411 * gst/Makefile.am: add miniobject, remove data
18412 * gst/gst.h: add miniobject, remove data
18413 * gst/gstdata.c: remove
18414 * gst/gstdata.h: remove
18415 * gst/gstdata_private.h: remove
18416 * gst/gsttypes.h: remove GstEvent and GstMessage
18417 * gst/gstelement.c: (gst_element_post_message): fix for API changes
18418 * gst/gstmarshal.list: change BOXED -> OBJECT
18420 Implement GstMiniObject.
18421 * gst/gstminiobject.c:
18422 * gst/gstminiobject.h:
18424 Modify to be subclasses of GstMiniObject.
18425 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
18426 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
18427 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
18428 (gst_subbuffer_get_type), (gst_subbuffer_init),
18429 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
18432 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
18433 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
18434 (_gst_event_copy), (gst_event_new):
18436 * gst/gstmessage.c: (_gst_message_initialize),
18437 (gst_message_get_type), (gst_message_class_init),
18438 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
18439 (gst_message_new), (gst_message_new_error),
18440 (gst_message_new_warning), (gst_message_new_tag),
18441 (gst_message_new_state_changed), (gst_message_new_application):
18442 * gst/gstmessage.h:
18443 * gst/gstprobe.c: (gst_probe_perform),
18444 (gst_probe_dispatcher_dispatch):
18446 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
18447 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
18448 (_gst_query_copy), (gst_query_new):
18450 Update elements for GstData -> GstMiniObject changes
18452 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
18453 (gst_queue_chain), (gst_queue_loop):
18454 * gst/elements/gstbufferstore.c:
18455 (gst_buffer_store_add_buffer_func),
18456 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
18457 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18458 (gst_fakesink_render):
18459 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
18460 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
18461 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
18462 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
18463 (gst_filesrc_create_read):
18464 * gst/elements/gstidentity.c: (gst_identity_class_init):
18465 * gst/elements/gsttypefindelement.c:
18466 (gst_type_find_element_src_event), (free_entry_buffers),
18467 (gst_type_find_element_handle_event):
18468 * libs/gst/dataprotocol/dataprotocol.c:
18469 (gst_dp_header_from_buffer):
18470 * libs/gst/dataprotocol/dataprotocol.h:
18471 * libs/gst/dataprotocol/dp-private.h:
18473 2005-05-15 David Schleef <ds@schleef.org>
18475 * gst/elements/gstelements.c: Don't include headers that were
18478 2005-05-15 David Schleef <ds@schleef.org>
18480 * gst/elements/Makefile.am: Remove some elements that don't
18481 need to be in the core (or even exist at all).
18482 * gst/elements/gstaggregator.c:
18483 * gst/elements/gstaggregator.h:
18484 * gst/elements/gstmd5sink.c:
18485 * gst/elements/gstmd5sink.h:
18486 * gst/elements/gstmultifilesrc.c:
18487 * gst/elements/gstmultifilesrc.h:
18488 * gst/elements/gstpipefilter.c:
18489 * gst/elements/gstpipefilter.h:
18490 * gst/elements/gstshaper.c:
18491 * gst/elements/gstshaper.h:
18492 * gst/elements/gststatistics.c:
18493 * gst/elements/gststatistics.h:
18494 * po/POTFILES.in: Remove above files.
18496 2005-05-14 Andy Wingo <wingo@pobox.com>
18498 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
18499 so as to get the refs right.
18500 (sink_iterator_filter): New function, wraps bin_element_is_sink,
18501 unreffing objects that don't pass the filter.
18503 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
18504 gst_element_set_bus.
18505 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
18506 normal cases, this will destroy the bus.
18508 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
18511 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
18514 2005-05-13 Andy Wingo <wingo@pobox.com>
18516 * gst/gstutils.c (gst_element_link_pads): Instead of calling
18517 gst_pad_link, call pad_link_maybe_ghosting,
18518 (pad_link_maybe_ghosting): Links pads, making sure that the
18519 elements being linked are in the same bin.
18520 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
18521 Helpers for pad_link_maybe_ghosting.
18523 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
18526 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
18528 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
18530 * docs/design/part-element-source.txt:
18533 2005-05-12 Wim Taymans <wim@fluendo.com>
18535 * gst/base/gstbasesink.c: (gst_basesink_init),
18536 (gst_basesink_activate):
18537 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
18538 (gst_basesrc_is_seekable):
18539 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18540 (bin_element_is_sink), (gst_bin_change_state):
18541 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18542 * gst/gstelement.h:
18543 Identify sinks by their flag to avoid overly complicated
18545 Do state changes even for elements not reachable from the
18547 BaseSink is a sink now :)
18548 Some more debugging info in the basesrc.
18551 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18553 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
18554 Implement _query on a bin, similar to _send_event.
18556 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
18558 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
18559 Discont event offset format should be GST_FORMAT_BYTES,
18560 not GST_FORMAT_TIME.
18562 2005-05-12 Wim Taymans <wim@fluendo.com>
18564 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
18565 Same fix as Ronald's but without the signal.
18567 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18569 * gst/gstutils.c: (gst_element_query_position):
18570 No, an element is not a pad.
18572 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18574 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
18575 (gst_bin_get_state):
18576 If a child is removed from a bin while we remove the child from
18577 the bin and while we're retrieving its state, signal this to the
18578 get_state function so we abort the wait (instead of waiting for
18579 a timeout) and can immediately re-iterate over all other elements.
18581 2005-05-12 Wim Taymans <wim@fluendo.com>
18583 * gst/base/Makefile.am:
18584 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
18585 (gst_basesrc_start):
18586 * gst/base/gstbasesrc.h:
18587 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
18588 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
18589 (gst_pushsrc_init), (gst_pushsrc_create):
18590 * gst/base/gstpushsrc.h:
18591 Added is_seekable to BaseSrc
18592 Added simple PushSrc.
18594 2005-05-11 Wim Taymans <wim@fluendo.com>
18596 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18597 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18598 (gst_element_link_pads), (gst_element_query_position),
18599 (gst_element_query_convert), (intersect_caps_func),
18600 (gst_pad_query_position), (gst_pad_query_convert):
18601 Fix refcounting in utils function.
18602 No point in trying to activate a pad when it's added, it could
18603 be added from the state change function and then we deadlock, the
18604 element has to decide what to do.
18606 2005-05-10 Andy Wingo <wingo@pobox.com>
18608 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
18609 *all* the arguments.
18611 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
18612 stream lock if it's a FLUSH_DONE; normal flushes don't get the
18613 lock (according to the docs -- if this is wrong change the docs).
18615 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
18616 flush messages in the NULL state.
18618 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
18619 message immediately and return.
18620 (gst_bus_set_flushing): New function. If a bus is flushing, it
18621 flushes out any queued messages and immediately unrefs new
18622 messages. This is so when an element goes to NULL, all of the
18623 unhandled messages coming from it can be freed, and their
18624 references to the element dropped. In other words: message source
18625 ref considered harmful :P
18627 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
18628 we're finished with it.
18630 * gst/gstmessage.c (gst_message_new_state_changed):
18632 2005-05-10 Wim Taymans <wim@fluendo.com>
18634 * gst/gstvalue.c: (gst_value_compare_flags),
18635 (gst_value_serialize_flags), (gst_value_deserialize_flags),
18636 (_gst_value_initialize):
18637 Added flags serialize/deserialize/compare code.
18639 2005-05-09 Andy Wingo <wingo@pobox.com>
18641 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
18642 Intersect the peer's caps with our caps.
18644 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18646 * gst/base/gsttypefindhelper.c: (helper_find_peek):
18647 * gst/elements/gsttypefindelement.c: (find_peek):
18648 Handle negative offsets better. Fixes decodebin.
18650 2005-05-09 Wim Taymans <wim@fluendo.com>
18652 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
18653 (gst_base_transform_event):
18654 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
18655 Implement accept_caps.
18656 Fix silly lock/unlock mismatch in base class.
18658 2005-05-09 Wim Taymans <wim@fluendo.com>
18660 * docs/design/draft-push-pull.txt:
18661 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
18662 * gst/elements/gstfilesink.c: (gst_filesink_init),
18663 (gst_filesink_query):
18664 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18665 (gst_type_find_handle_src_query), (find_element_get_length):
18666 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
18667 * gst/gstelement.h:
18668 * gst/gstmessage.c:
18669 * gst/gstmessage.h:
18670 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
18671 (gst_real_pad_get_caps_unlocked),
18672 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
18673 (gst_pad_event_default_dispatch), (gst_pad_event_default),
18674 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
18675 (gst_real_pad_dispose), (gst_real_pad_finalize),
18676 (gst_pad_load_and_link), (gst_pad_save_thyself),
18677 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
18678 (gst_pad_check_pull_range), (gst_pad_pull_range),
18679 (gst_pad_template_get_type), (gst_pad_template_class_init),
18680 (gst_pad_template_init), (gst_pad_template_dispose),
18681 (name_is_valid), (gst_static_pad_template_get),
18682 (gst_pad_template_new), (gst_static_pad_template_get_caps),
18683 (gst_pad_template_get_caps), (gst_pad_set_element_private),
18684 (gst_pad_get_element_private), (gst_pad_start_task),
18685 (gst_pad_pause_task), (gst_pad_stop_task),
18686 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
18687 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
18688 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
18689 (gst_ghost_pad_new):
18691 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
18692 (gst_query_new_position), (gst_query_set_position),
18693 (gst_query_parse_position), (gst_query_new_convert),
18694 (gst_query_set_convert), (gst_query_parse_convert):
18696 * gst/gstqueryutils.c:
18697 * gst/gstqueryutils.h:
18698 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18699 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18700 (gst_queue_handle_src_query):
18701 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18702 (gst_element_query_position), (gst_element_query_convert),
18703 (intersect_caps_func), (gst_pad_query_position),
18704 (gst_pad_query_convert):
18706 * tools/gst-inspect.c: (print_pad_info):
18707 * tools/gst-xmlinspect.c: (print_element_info):
18708 Remove old query functions. Ported old code.
18709 Added position/convert helper functions to gstutils.
18710 Reordered gstpad.c code, grouping relevant things.
18711 Remove gst_message_new(), always need to speficy a specific
18715 2005-05-09 Andy Wingo <wingo@pobox.com>
18717 * gst/gstiterator.h: Add some includes.
18719 * gst/gstqueryutils.h: Include more headers.
18722 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
18723 some uses of gst_pad_query.
18725 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18726 NULL out parameters.
18727 (gst_query_new_position): New proc, allocates a new position
18730 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18731 gstqueryutils.c to the build.
18733 * gst/gststructure.c (gst_structure_set_valist): Implement with
18734 the generic G_VALUE_COLLECT.
18736 2005-05-08 Edward Hervey <bilboed@bilboed.com>
18738 * gst/Makefile.am: (gst_headers):
18739 Added gstqueryutils.h to the list of headers to install, that was
18740 a 'nachty' move wingo :)
18742 2005-05-06 Andy Wingo <wingo@pobox.com>
18745 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18746 GstData, init a memchunk.
18747 (standard_definitions): Add a few query types, deprecate a few.
18748 (gst_query_get_type): New proc.
18749 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18751 (gst_query_new_application, gst_query_get_structure): New public
18754 * docs/design/draft-query.txt: Removed LINKS from the query types,
18755 because all the rest can be dispatched to other pads -- seemed
18756 ugly to have a query that couldn't be dispatched. internal_links
18757 is fine as a pad method.
18759 * gst/gstpad.h: Add query2 as a pad method, add the new functions
18760 in gstpad.c, but maintain binary compatibility for the moment.
18761 Will fix before 0.9 is out.
18763 * gst/gstqueryutils.c:
18764 * gst/gstqueryutils.h: New files, implement 3 methods for each
18765 query type: parse_query, parse_response, and set. Probably need an
18768 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18770 * gst/elements/gstfilesink.c (gst_filesink_query2):
18771 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18772 query_types, and formats methods.
18774 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18775 (gst_pad_set_query2_function): New functions.
18776 (gst_real_pad_init): Set query2_default as the default query2
18777 function. Basically just dispatches to internally linked pads.
18781 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18782 without using the atomic operations. Only one thread can possibly
18783 be accessing the data at this point. Changed so as to avoid
18784 gst_atomic operations.
18786 2005-05-06 Wim Taymans <wim@fluendo.com>
18788 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18789 Also set caps if we use the fallback buffer alloc.
18791 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
18793 * docs/gst/Makefile.am:
18794 * docs/gst/gstreamer-docs.sgml:
18795 * docs/gst/gstreamer-sections.txt:
18796 * docs/gst/tmpl/gstatomic.sgml:
18797 * docs/gst/tmpl/gstmemchunk.sgml:
18798 * testsuite/elements/struct_i386.h:
18799 * win32/GStreamer.vcproj:
18801 Purge GstAtomic stuff from docs and win32 makefiles as well
18803 2005-05-06 Wim Taymans <wim@fluendo.com>
18805 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18806 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18807 * gst/gstpad.c: (gst_pad_peer_get_caps):
18808 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18809 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18810 (gst_queue_src_activate), (gst_queue_change_state):
18812 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18813 (intersect_caps_func):
18814 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18815 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18816 Some fixes for the peer_get_caps() change.
18818 2005-05-06 Wim Taymans <wim@fluendo.com>
18820 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18821 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
18822 (gst_basesink_activate):
18823 Actually do something with error codes returned from the push
18826 2005-05-06 Wim Taymans <wim@fluendo.com>
18828 * docs/design/part-element-sink.txt:
18829 * docs/design/part-element-source.txt:
18830 * gst/base/gstbasesink.c: (gst_basesink_class_init),
18831 (gst_basesink_event), (gst_basesink_activate):
18832 * gst/base/gstbasesink.h:
18833 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
18834 (gst_basesrc_activate):
18835 * gst/base/gstbasesrc.h:
18836 * gst/gstelement.c: (gst_element_pads_activate):
18837 Some more documentation.
18838 Fixed scheduling decision in _pads_activate().
18840 2005-05-05 Andy Wingo <wingo@pobox.com>
18842 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
18845 2005-05-05 Wim Taymans <wim@fluendo.com>
18847 * gst/base/Makefile.am:
18848 * gst/base/gstbasesink.h:
18849 * gst/base/gstbasesrc.c: (gst_basesrc_init),
18850 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
18851 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
18852 (gst_collectpads_class_init), (gst_collectpads_init),
18853 (gst_collectpads_finalize), (gst_collectpads_new),
18854 (gst_collectpads_set_function), (gst_collectpads_add_pad),
18855 (find_pad), (gst_collectpads_remove_pad),
18856 (gst_collectpads_is_active), (gst_collectpads_collect),
18857 (gst_collectpads_collect_range), (gst_collectpads_start),
18858 (gst_collectpads_stop), (gst_collectpads_peek),
18859 (gst_collectpads_pop), (gst_collectpads_available),
18860 (gst_collectpads_read), (gst_collectpads_flush),
18861 (gst_collectpads_chain):
18862 * gst/base/gstcollectpads.h:
18863 * gst/elements/Makefile.am:
18864 * gst/elements/gstelements.c:
18865 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18866 (gst_fakesink_get_times), (gst_fakesink_event),
18867 (gst_fakesink_preroll), (gst_fakesink_render):
18868 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18869 (gst_filesink_init), (gst_filesink_set_location),
18870 (gst_filesink_open_file), (gst_filesink_close_file),
18871 (gst_filesink_pad_query), (gst_filesink_event),
18872 (gst_filesink_render), (gst_filesink_change_state):
18873 * gst/elements/gstfilesink.h:
18874 Added object to help in making collect pad based elements.
18876 Make event function in sink baseclass return gboolean.
18878 2005-05-05 Wim Taymans <wim@fluendo.com>
18880 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
18881 (gst_bin_get_by_name):
18883 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
18884 (gst_clock_finalize):
18885 * gst/gstdata.c: (gst_data_replace):
18887 * gst/gstelement.c: (gst_element_request_pad),
18888 (gst_element_pads_activate):
18889 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
18890 (gst_object_unref):
18891 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18892 (gst_pad_set_checkgetrange_function),
18893 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
18894 (gst_pad_check_pull_range), (gst_pad_pull_range),
18895 (gst_static_pad_template_get_caps), (gst_pad_start_task),
18896 (gst_pad_pause_task), (gst_pad_stop_task):
18897 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18898 (gst_element_request_pad), (gst_pad_proxy_getcaps):
18899 Fix name lookup in GstBin.
18900 Added _data_replace() function and _buffer_replace()
18901 Use finalize method to clean up clock.
18902 Fix refcounting on request pads.
18903 Fix pad schedule mode error.
18904 Some more object refcounting debug info,
18907 2005-05-04 Andy Wingo <wingo@pobox.com>
18909 * check/Makefile.am:
18910 * docs/gst/tmpl/gstatomic.sgml:
18911 * docs/gst/tmpl/gstplugin.sgml:
18912 * gst/base/gstbasesink.c: (gst_basesink_activate):
18913 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
18914 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
18915 (gst_basesrc_query), (gst_basesrc_set_property),
18916 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
18917 (gst_basesrc_activate):
18918 * gst/base/gstbasesrc.h:
18919 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
18920 (gst_base_transform_src_activate):
18921 * gst/elements/gstelements.c:
18922 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18923 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18924 * gst/elements/gsttee.c: (gst_tee_sink_activate):
18925 * gst/elements/gsttypefindelement.c: (find_element_get_length),
18926 (gst_type_find_element_checkgetrange),
18927 (gst_type_find_element_activate):
18928 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
18929 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
18930 (gst_caps_load_thyself):
18931 * gst/gstelement.c: (gst_element_pads_activate),
18932 (gst_element_save_thyself), (gst_element_restore_thyself):
18933 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
18934 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
18936 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
18937 (gst_xml_parse_file), (gst_xml_parse_memory),
18938 (gst_xml_get_element), (gst_xml_make_element):
18939 * gst/indexers/gstfileindex.c: (gst_file_index_load),
18940 (_file_index_id_save_xml), (gst_file_index_commit):
18941 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
18942 (read_enum), (load_pad_template), (load_feature), (load_plugin),
18944 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
18945 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
18946 * tools/gst-complete.c: (main):
18947 * tools/gst-compprep.c: (main):
18948 * tools/gst-inspect.c: (print_element_properties_info):
18949 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
18950 * tools/gst-xmlinspect.c: (print_element_properties):
18953 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
18955 * gst/gstplugin.c: (gst_plugin_check_module),
18956 (gst_plugin_check_file), (gst_plugin_load_file):
18957 apply patch from #172526 to make register work on MacOSX
18959 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18961 * docs/gst/tmpl/gstconfig.sgml:
18962 * gst/gstconfig.h.in:
18963 move documentation for some symbols. Add doc for GST_PTR_FORMAT
18964 * testsuite/debug/printf_extension.c: (main):
18965 Do not use GST_PTR_FORMAT on pointers to types with
18966 sizeof < sizeof(gpointer). Fixes test on 64-bit
18967 * testsuite/elements/property.h:
18968 use correct printf format
18970 2005-05-02 Wim Taymans <wim@fluendo.com>
18972 * docs/design/draft-push-pull.txt:
18973 * docs/design/draft-query.txt:
18974 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
18975 (gst_basesrc_start):
18976 Added draft for new query API.
18977 Added draft for better selecting scheduling methods.
18978 Make basesrc ignore length if the subclass does not support
18981 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18984 possible fixes for automake-1.5 - _LIBADD is reserved
18986 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18988 * docs/faq/Makefile.am:
18989 * docs/manual/Makefile.am:
18990 * docs/manuals.mak:
18991 * docs/pwg/Makefile.am:
18993 possible fixes for automake-1.5
18995 2005-04-28 Wim Taymans <wim@fluendo.com>
18997 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18998 (gst_basesink_pad_getcaps), (gst_basesink_init),
18999 (gst_basesink_do_sync):
19000 * gst/gstclock.c: (gst_clock_entry_new):
19001 * gst/gstevent.c: (gst_event_discont_get_value):
19002 * gst/gstpipeline.c: (pipeline_bus_handler),
19003 (gst_pipeline_change_state):
19004 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
19005 Better debugging of clocking info.
19006 Allow NULL values when getting discont values.
19008 2005-04-27 Wim Taymans <wim@fluendo.com>
19010 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19011 * check/gst/gstpad.c: (gst_pad_suite):
19012 Increase timeout for checks.
19014 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19016 * check/Makefile.am:
19017 fix the broken rule for cleanup. Apparently this rule is
19018 only needed on FC2, so maybe this warrants further autotool
19021 2005-04-26 Wim Taymans <wim@fluendo.com>
19023 * gst/gsttrashstack.h:
19024 Ooohh. a nasty one! After having a failed pop() from the stack,
19025 it's possible that the stack is empty. In that case, don't
19026 follow the NULL pointer.
19028 2005-04-25 Wim Taymans <wim@fluendo.com>
19030 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19031 (gst_pad_set_checkgetrange_function),
19032 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
19033 (gst_pad_check_pull_range), (gst_pad_pull_range),
19034 (gst_static_pad_template_get_caps), (gst_pad_start_task),
19035 (gst_pad_pause_task), (gst_pad_stop_task):
19036 * gst/gstplugin.c: (gst_plugin_load):
19038 Remove gst_library_load as it does more harm than good with
19039 the new g_module flags.
19040 Revert bogus caps template check in pad linking, pad caps
19041 are important when linking not the template, which is more
19042 general than the current caps.
19044 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19046 * gst/autoplug/.cvsignore:
19047 * gst/autoplug/Makefile.am:
19048 * gst/autoplug/gstsearchfuncs.c:
19049 * gst/autoplug/gstsearchfuncs.h:
19050 * gst/autoplug/gstspider.c:
19051 * gst/autoplug/gstspider.h:
19052 * gst/autoplug/gstspideridentity.c:
19053 * gst/autoplug/gstspideridentity.h:
19054 * gst/autoplug/spidertest.c:
19057 2005-04-25 Wim Taymans <wim@fluendo.com>
19059 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19060 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19061 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
19062 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
19064 Added stubs for unimplemented functions.
19066 2005-04-24 David Schleef <ds@schleef.org>
19068 * gst/gstpad.h: Disable some unimplemented functions. Wim,
19071 2005-04-24 David Schleef <ds@schleef.org>
19073 Convert everything from GstAtomicInt to g_atomic_int_*, and
19078 * gst/gstatomic_impl.h:
19086 * gst/gstdata_private.h:
19090 * gst/gstmessage.c:
19093 * gst/gststructure.c:
19094 * gst/gststructure.h:
19095 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
19098 2005-04-24 David Schleef <ds@schleef.org>
19100 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
19101 make the regressions tests work. Remove some code that is no
19103 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
19104 Disable warning for pads without templates.
19106 2005-04-24 David Schleef <ds@schleef.org>
19108 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
19109 functions that handle filtered links.
19110 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
19112 * gst/gstutils.c: Fix/remove utility functions that handle
19115 * gst/gstvalue.c: Add serialization/deserialization of caps
19116 * gst/parse/grammar.y: Ignore filtered caps when linking. This
19117 requires fixing so that the filter caps notation creates
19118 a capsfilter element and sets the filter_caps property. I
19119 think everyone probably wants to keep the shorthand notation.
19120 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
19121 * docs/gst/tmpl/gstpad.sgml:
19123 * gst/elements/gstelements.c: Register capsfilter element.
19124 * gst/Makefile.am: fix spacing
19125 * docs/random/ds/0.9-suggested-changes: random
19127 2005-04-23 David Schleef <ds@schleef.org>
19129 * gst/elements/Makefile.am:
19130 * gst/elements/gstcapsfilter.c: New element that acts like an
19131 identity, but filters caps. Will eventually replace filtered
19132 caps in pad linking.
19133 * gst/gstutils.c: (gst_element_create_all_pads): New function
19134 to create all the ALWAYS pads that are registered with an
19135 element class. This functionality should eventually be
19136 merged in with GstElement initialization.
19138 * testsuite/trigger/README: part of trigger test code that should
19139 have been checked in a long time ago.
19141 2005-04-23 David Schleef <ds@schleef.org>
19143 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
19144 needed with new versions of libtool (nobody will confirm this),
19145 and hard to carry around.
19146 * gst/autoplug/Makefile.am:
19147 * gst/base/Makefile.am:
19148 * gst/elements/Makefile.am:
19149 * gst/indexers/Makefile.am:
19150 * gst/schedulers/Makefile.am:
19151 * libs/gst/bytestream/Makefile.am:
19152 * libs/gst/control/Makefile.am:
19153 * libs/gst/dataprotocol/Makefile.am:
19154 * libs/gst/getbits/Makefile.am:
19156 2005-04-21 Wim Taymans <wim@fluendo.com>
19158 * docs/design/draft-push-pull.txt:
19159 * docs/design/part-MT-refcounting.txt:
19160 * docs/design/part-TODO.txt:
19161 * docs/design/part-caps.txt:
19162 * docs/design/part-events.txt:
19163 * docs/design/part-gstbus.txt:
19164 * docs/design/part-gstpipeline.txt:
19165 * docs/design/part-messages.txt:
19166 * docs/design/part-push-pull.txt:
19167 * docs/design/part-query.txt:
19170 2005-04-21 Wim Taymans <wim@fluendo.com>
19172 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
19173 (gst_message_new), (gst_message_new_error),
19174 (gst_message_new_warning), (gst_message_new_tag),
19175 (gst_message_new_state_changed), (gst_message_new_application),
19176 (gst_message_get_structure):
19177 * gst/gstmessage.h:
19178 * gst/gststructure.c: (gst_structure_set_parent_refcount),
19179 (gst_structure_copy_conditional):
19180 Use parent refcount in GstMessage to ensure GstStructure
19182 Cleaned up headers a bit.
19185 2005-04-20 Wim Taymans <wim@fluendo.com>
19187 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19188 (gst_basesink_pad_getcaps), (gst_basesink_init),
19189 (gst_basesink_chain_unlocked):
19190 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
19191 (gst_type_find_helper):
19192 * gst/elements/gsttypefindelement.c:
19193 (gst_type_find_element_have_type), (gst_type_find_element_init),
19194 (stop_typefinding), (gst_type_find_element_handle_event),
19195 (find_suggest), (gst_type_find_element_chain),
19196 (gst_type_find_element_checkgetrange),
19197 (gst_type_find_element_getrange), (do_typefind),
19198 (gst_type_find_element_activate):
19199 * gst/gstbuffer.c: (_gst_buffer_sub_free),
19200 (gst_buffer_default_free), (gst_buffer_default_copy),
19201 (gst_buffer_set_caps):
19202 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
19203 (gst_caps_replace):
19204 * gst/gstmessage.c: (gst_message_new),
19205 (gst_message_new_state_changed):
19206 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19207 (gst_pad_set_checkgetrange_function),
19208 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
19209 (gst_pad_set_caps), (gst_pad_check_pull_range),
19210 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
19212 * gst/gsttypefind.c: (gst_type_find_register):
19213 Make gst_caps_replace() work like other _replace() functions.
19214 Use _caps_replace() where possible.
19215 Make sure _message_new() initialises its field.
19216 Add gst_static_pad_template_get_caps()
19219 2005-04-18 Andy Wingo <wingo@pobox.com>
19221 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
19222 on the peer, not the pad. I think that was a typo. Pass an extra
19223 arg to see if random access is possible. Activate the pads as
19224 PULL_RANGE if possible.
19226 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
19228 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
19229 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
19232 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19234 * docs/faq/using.xml:
19235 Add note on gstreamer-properties (#154996).
19237 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19239 * docs/random/bbb/optional-properties:
19240 Some analysis on optional properties.
19242 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19244 * docs/gst/tmpl/gstelementfactory.sgml:
19245 * gst/gstelement.h:
19246 * gst/gstelementfactory.c: (gst_element_factory_init),
19247 (gst_element_factory_cleanup), (gst_element_register),
19248 (__gst_element_factory_add_static_pad_template),
19249 (gst_element_factory_get_static_pad_templates),
19250 (gst_element_factory_can_src_caps),
19251 (gst_element_factory_can_sink_caps):
19252 * gst/registries/Makefile.am:
19253 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
19254 (gst_xml_registry_class_init), (gst_xml_registry_init),
19255 (gst_xml_registry_new), (gst_xml_registry_set_property),
19256 (gst_xml_registry_get_property), (get_time), (make_dir),
19257 (gst_xml_registry_get_perms_func),
19258 (plugin_times_older_than_recurse), (plugin_times_older_than),
19259 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
19260 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
19261 (add_to_char_array), (read_string), (read_uint), (read_enum),
19262 (load_pad_template), (load_feature), (load_plugin), (load_paths),
19263 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
19264 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
19265 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
19266 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
19267 (gst_xml_registry_rebuild):
19268 * gst/registries/gstlibxmlregistry.h:
19269 * tools/gst-compprep.c: (main):
19270 * tools/gst-inspect.c: (print_pad_templates_info):
19271 * tools/gst-xmlinspect.c: (print_element_info):
19272 Use libxml2 for registry parsing, use staticpadtemplates in
19273 elementfactories. Makes gst_init() +/- 10x faster.
19275 2005-04-12 Wim Taymans <wim@fluendo.com>
19277 * gst/base/Makefile.am:
19278 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19279 (gst_basesink_pad_getcaps), (gst_basesink_init),
19280 (gst_basesink_event), (gst_basesink_change_state):
19281 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19282 (gst_basesrc_init), (gst_basesrc_query),
19283 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19284 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19285 (gst_basesrc_check_get_range), (gst_basesrc_loop),
19286 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19287 (gst_basesrc_stop), (gst_basesrc_activate),
19288 (gst_basesrc_change_state):
19289 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19290 (helper_find_suggest), (gst_type_find_helper):
19291 * gst/base/gsttypefindhelper.h:
19292 * gst/elements/Makefile.am:
19293 * gst/elements/gstelements.c:
19294 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
19295 (gst_fakesink_get_times), (gst_fakesink_event),
19296 (gst_fakesink_preroll), (gst_fakesink_render):
19297 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19298 (gst_fakesrc_init), (gst_fakesrc_event_handler),
19299 (gst_fakesrc_get_property), (gst_fakesrc_create),
19300 (gst_fakesrc_start), (gst_fakesrc_stop):
19301 * gst/elements/gstfakesrc.h:
19302 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
19303 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19304 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19305 (gst_filesrc_create_read), (gst_filesrc_create),
19306 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
19307 (gst_filesrc_start):
19308 * gst/elements/gsttypefindelement.c:
19309 (gst_type_find_element_have_type), (gst_type_find_element_init),
19310 (start_typefinding), (stop_typefinding), (push_buffer_store),
19311 (gst_type_find_element_handle_event),
19312 (gst_type_find_element_chain),
19313 (gst_type_find_element_checkgetrange),
19314 (gst_type_find_element_getrange), (do_typefind),
19315 (gst_type_find_element_activate),
19316 (gst_type_find_element_change_state):
19317 * gst/elements/gsttypefindelement.h:
19318 * gst/gstpipeline.c: (pipeline_bus_handler):
19319 Added typefind helper.
19320 Small preroll fix in the base sink.
19321 Disable typefind code in basesrc.
19322 Crude port of typefindelement.
19326 2005-04-11 Wim Taymans <wim@fluendo.com>
19328 * check/gst/gstbus.c: (gstbus_suite):
19329 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
19330 * check/gstcheck.h:
19331 Fix up the timeout so that the test does not fail.
19333 2005-04-06 Wim Taymans <wim@fluendo.com>
19336 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19337 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
19338 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19339 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19340 (gst_basesrc_check_get_range), (gst_basesrc_loop),
19341 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19342 (gst_basesrc_stop), (gst_basesrc_activate),
19343 (gst_basesrc_change_state), (basesrc_find_peek),
19344 (basesrc_find_suggest), (gst_basesrc_type_find):
19345 * gst/base/gstbasesrc.h:
19346 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
19347 (gst_filesrc_class_init), (gst_filesrc_init),
19348 (gst_filesrc_finalize), (gst_filesrc_set_location),
19349 (gst_filesrc_set_property), (gst_filesrc_get_property),
19350 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19351 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19352 (gst_filesrc_create_read), (gst_filesrc_create),
19353 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
19354 * gst/elements/gstfilesrc.h:
19355 * gst/gstelement.c: (gst_element_get_state_func),
19356 (gst_element_lost_state), (gst_element_pads_activate):
19357 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19358 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19359 (gst_pad_pull_range):
19361 More work on the generic source base class, implement seeking,
19363 Make filesrc extend the base source class.
19364 Added gst_pad_set_checkgetrange_function to GstPad.
19366 2005-04-06 Andy Wingo <wingo@pobox.com>
19368 * pkgconfig/gstreamer-base.pc.in:
19369 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
19371 * pkgconfig/Makefile.am:
19372 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
19374 2005-04-04 Wim Taymans <wim@fluendo.com>
19376 * gst/base/Makefile.am:
19378 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19379 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19380 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19381 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
19382 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19383 (gst_basesrc_base_init), (gst_basesrc_class_init),
19384 (gst_basesrc_init), (gst_basesrc_get_formats),
19385 (gst_basesrc_get_query_types), (gst_basesrc_query),
19386 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
19387 (gst_basesrc_set_property), (gst_basesrc_get_property),
19388 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
19389 (gst_basesrc_loop), (gst_basesrc_activate),
19390 (gst_basesrc_change_state):
19391 * gst/base/gstbasesrc.h:
19392 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
19393 (gst_fakesrc_class_init), (gst_fakesrc_init),
19394 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
19395 (gst_fakesrc_get_property), (gst_fakesrc_create):
19396 * gst/elements/gstfakesrc.h:
19397 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
19398 (gst_filesrc_open_file), (gst_filesrc_loop),
19399 (gst_filesrc_activate), (filesrc_find_peek),
19400 (gst_filesrc_type_find):
19401 Made base source class, make fakesrc extend it.
19402 Add comments to basesink class.
19403 Some filesrc cleanup.
19405 2005-03-31 David Schleef <ds@schleef.org>
19407 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
19408 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
19409 expected to link against libgstreamer.
19410 * gst/base/Makefile.am: link against libgstreamer
19411 * gst/elements/Makefile.am: same
19413 2005-03-31 Andy Wingo <wingo@pobox.com>
19415 * tests/instantiate/Makefile.am:
19416 * tests/instantiate/caps.c: Add test to test speed of caps copy
19419 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
19420 GMemChunk to be fair.
19422 * gst/gsttrashstack.h: Remove warning about using the fallback
19423 trash stack implementation, it's still faster than malloc.
19425 2005-03-30 Andy Wingo <wingo@pobox.com>
19427 * tests/complexity.c: Add a copyright.
19429 2005-03-31 Wim Taymans <wim@fluendo.com>
19431 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
19432 (gst_base_transform_class_init), (gst_base_transform_init),
19433 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19434 (gst_base_transform_get_property),
19435 (gst_base_transform_sink_activate),
19436 (gst_base_transform_src_activate),
19437 (gst_base_transform_change_state):
19438 * gst/base/gstbasetransform.h:
19439 * gst/elements/gstidentity.c: (gst_identity_class_init),
19440 (gst_identity_event), (gst_identity_check_perfect),
19441 (gst_identity_transform), (gst_identity_start),
19442 (gst_identity_stop):
19443 Added start/stop methods to transform base class so subclasses
19444 don't need to deal with state changes even.
19446 2005-03-31 Wim Taymans <wim@fluendo.com>
19448 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
19449 (gst_event_new_discontinuous), (gst_event_discont_get_value):
19451 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19452 (gst_pad_pull_range):
19453 Added rate to the discont event to prepare for variable speed
19454 and reverse playback.
19456 2005-03-29 David Schleef <ds@schleef.org>
19459 * testsuite/trigger/Makefile.am:
19460 * testsuite/trigger/trigger.c: A little example program to show
19461 how trigger-based elements can work.
19463 2005-03-29 Wim Taymans <wim@fluendo.com>
19465 * gst/base/Makefile.am:
19467 * gst/base/gstbasesink.c: (gst_basesink_get_type),
19468 (gst_basesink_base_init), (gst_basesink_class_init),
19469 (gst_basesink_pad_getcaps), (gst_basesink_init),
19470 (gst_basesink_activate), (gst_basesink_change_state):
19471 * gst/base/gstbasesink.h:
19472 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
19473 (gst_base_transform_base_init), (gst_base_transform_finalize),
19474 (gst_base_transform_class_init), (gst_base_transform_init),
19475 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
19476 (gst_base_transform_event), (gst_base_transform_getrange),
19477 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
19478 (gst_base_transform_set_property),
19479 (gst_base_transform_get_property),
19480 (gst_base_transform_sink_activate),
19481 (gst_base_transform_src_activate),
19482 (gst_base_transform_change_state):
19483 * gst/base/gstbasetransform.h:
19484 * gst/elements/gstidentity.c: (gst_identity_finalize),
19485 (gst_identity_class_init), (gst_identity_init),
19486 (gst_identity_event), (gst_identity_check_perfect),
19487 (gst_identity_transform), (gst_identity_set_property),
19488 (gst_identity_get_property), (gst_identity_change_state):
19489 * gst/elements/gstidentity.h:
19490 * gst/gstelement.c: (gst_element_get_state_func),
19491 (gst_element_lost_state), (gst_element_pads_activate):
19492 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19493 (gst_pad_check_pull_range), (gst_pad_pull_range):
19495 Simplify pad activation.
19496 Added function to check if pull_range can be performed.
19497 Error out when pulling inactive or flushing pads.
19498 Removed const from refcounted types as it does not make sense.
19499 Simplify pad templates in basesink
19500 Added base class for simple 1-to-1 transforms.
19501 Make identity subclass the base transform.
19503 2005-03-29 Andy Wingo <wingo@pobox.com>
19505 * docs/libs/gstreamer-libs-overrides.txt:
19506 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
19507 really don't understand what's going on, but like whatever. I want
19510 * docs/gst/Makefile.am:
19511 * docs/libs/Makefile.am: Dist the overrides files.
19513 * check/Makefile.am (clean-local): Remove .libs directories.
19515 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
19516 elements to EXTRA_DIST, so po/ files are happy.
19518 * po/POTFILES.in: Er, remove it here.
19520 * po/POTFILES: Remove gstspider.c.
19522 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
19524 * docs/libs/gstreamer-libs-docs.sgml:
19525 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
19528 * tests/complexity.c (main): Set the length of the preroll queue
19529 on the sinks to prevent a lockup.
19531 * libs/gst/dataprotocol/Makefile.am:
19532 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
19533 the same as the one in check/gst-libs/gdp.c.
19535 * po/, docs/gst/: Commit automatic changes to docs and po files.
19537 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
19538 the versioned libgstbase.
19540 * check/Makefile.am: Depend on an unversioned gst-register, seems
19541 to make autoconf happier.
19543 * gst/base/Makefile.am: Make libgstbase a versioned lib.
19545 2005-03-28 Wim Taymans <wim@fluendo.com>
19548 * docs/design/part-gstelement.txt:
19549 * docs/design/part-negotiation.txt:
19550 * docs/design/part-preroll.txt:
19551 * docs/design/part-scheduling.txt:
19552 * docs/design/part-states.txt:
19554 * gst/base/Makefile.am:
19556 * gst/base/gstbasesink.c: (gst_basesink_get_template),
19557 (gst_basesink_base_init), (gst_basesink_class_init),
19558 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19559 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19560 (gst_basesink_set_pad_functions),
19561 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
19562 (gst_basesink_set_property), (gst_basesink_get_property),
19563 (gst_base_sink_get_template), (gst_base_sink_get_caps),
19564 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
19565 (gst_basesink_preroll_queue_push),
19566 (gst_basesink_preroll_queue_empty),
19567 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
19568 (gst_basesink_event), (gst_basesink_get_times),
19569 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
19570 (gst_basesink_chain_unlocked), (gst_basesink_chain),
19571 (gst_basesink_loop), (gst_basesink_activate),
19572 (gst_basesink_change_state):
19573 * gst/base/gstbasesink.h:
19574 * gst/elements/Makefile.am:
19575 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
19576 (gst_fakesink_class_init), (gst_fakesink_init),
19577 (gst_fakesink_set_property), (gst_fakesink_get_property),
19578 (gst_fakesink_get_times), (gst_fakesink_event),
19579 (gst_fakesink_preroll), (gst_fakesink_render),
19580 (gst_fakesink_change_state):
19581 * gst/elements/gstfakesink.h:
19582 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19583 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
19584 * gst/gstelement.c: (gst_element_add_pad),
19585 (gst_element_get_state_func), (gst_element_abort_state),
19586 (gst_element_commit_state), (gst_element_lost_state),
19587 (gst_element_set_state), (gst_element_pads_activate):
19588 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
19589 * gst/gstpipeline.c: (gst_pipeline_send_event),
19590 (gst_pipeline_change_state):
19591 Added state change code.
19592 Added/updated docs.
19593 Added sink base class, make fakesink extend the base class.
19594 Small cleanups in GstPipeline.
19596 2005-03-26 David Schleef <ds@schleef.org>
19598 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
19599 is broken and should be implemented in a different library.
19600 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
19601 * gst/gst.h: remove gstcpu.h
19602 * gst/gstcpu.c: remove
19603 * gst/gstcpu.h: remove
19604 * gst/Makefile.am.future: Remove this file. It's ancient.
19606 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19608 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19609 (gst_bin_send_event):
19610 Add default event/set_manager handlers. The set_manager handler
19611 takes care that the manager is distributed over kids that were
19612 already in the bin before the manager was set. The event handler
19613 is a utility virtual function that sends the event over all sinks,
19614 so that gst_element_send_event (bin, event); has the expected
19616 * gst/gstpad.c: (gst_pad_event_default):
19617 Re-install default event handling for discontinuities, so that
19618 seeking works without requiring hacks in applications or extra
19620 * gst/gstpipeline.c: (gst_pipeline_class_init),
19621 (gst_pipeline_send_event):
19622 Half hack, half utility: set a pipeline to PAUSED for seek events,
19623 since that is the only way we can guarantee a/v sync. Means that
19624 you can do gst_element_seek (pipeline, method, pos); on a pipeline
19625 and it "just works".
19627 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19629 * gst/gstpipeline.c: (gst_pipeline_use_clock):
19630 Lock/unlock mismatch.
19632 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
19634 * docs/faq/gst-uninstalled:
19635 add gst-plugins-base
19636 * docs/gst/Makefile.am:
19637 don't error out until docs are fixed
19638 * docs/gst/gstreamer.types:
19641 2005-03-22 Wim Taymans <wim@fluendo.com>
19643 * check/Makefile.am:
19644 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
19645 * gst/gststructure.c: (gst_structure_set_valist),
19646 (gst_structure_copy_conditional):
19647 Activated more tests.
19648 Added message test.
19649 Added G_TYPE_POINTER to GstStructure.
19652 2005-03-22 Wim Taymans <wim@fluendo.com>
19654 * docs/design/part-TODO.txt:
19655 * docs/design/part-events.txt:
19656 * docs/design/part-gstbin.txt:
19657 * docs/design/part-gstbus.txt:
19658 * docs/design/part-gstpipeline.txt:
19659 * docs/design/part-messages.txt:
19661 * gst/gstmessage.c:
19664 2005-03-21 Wim Taymans <wim@fluendo.com>
19666 * gst/gstbus.c: (gst_bus_post):
19667 Fix copy-and-paste error.
19669 2005-03-21 Wim Taymans <wim@fluendo.com>
19671 * check/Makefile.am:
19673 * gst/elements/Makefile.am:
19674 * gst/elements/gstelements.c:
19675 * gst/elements/gstfakesink.c: (gst_fakesink_init),
19676 (gst_fakesink_event), (gst_fakesink_chain):
19677 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19678 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
19679 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
19680 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
19681 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19682 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
19683 (gst_fakesrc_loop), (gst_fakesrc_activate),
19684 (gst_fakesrc_change_state):
19685 * gst/elements/gstfakesrc.h:
19686 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
19687 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
19688 (gst_filesrc_open_file), (gst_filesrc_loop),
19689 (gst_filesrc_activate), (gst_filesrc_change_state),
19690 (filesrc_find_peek), (filesrc_find_suggest),
19691 (gst_filesrc_type_find):
19692 * gst/elements/gstidentity.c: (gst_identity_finalize),
19693 (gst_identity_class_init), (gst_identity_init),
19694 (gst_identity_proxy_getcaps), (identity_queue_push),
19695 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
19696 (gst_identity_getrange), (gst_identity_chain),
19697 (gst_identity_sink_loop), (gst_identity_src_loop),
19698 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
19699 (gst_identity_set_property), (gst_identity_get_property),
19700 (gst_identity_change_state):
19701 * gst/elements/gstidentity.h:
19702 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
19703 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
19704 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
19705 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
19706 (gst_tee_sink_activate):
19707 * gst/elements/gsttee.h:
19708 * gst/gst.c: (gst_register_core_elements), (init_post):
19710 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
19711 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
19712 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
19713 (gst_bin_change_state):
19715 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
19716 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
19717 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
19718 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
19719 (gst_bus_set_sync_handler), (gst_bus_create_watch),
19720 (bus_watch_callback), (bus_watch_destroy),
19721 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
19722 (poll_timeout), (gst_bus_poll):
19726 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19727 (gst_element_post_message), (gst_element_message_full),
19728 (gst_element_get_state_func), (gst_element_get_state),
19729 (gst_element_abort_state), (gst_element_commit_state),
19730 (gst_element_lost_state), (gst_element_set_state),
19731 (gst_element_pads_activate), (gst_element_change_state),
19732 (gst_element_dispose), (gst_element_set_manager_func),
19733 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19734 (gst_element_set_manager), (gst_element_get_manager),
19735 (gst_element_set_bus), (gst_element_get_bus),
19736 (gst_element_set_scheduler), (gst_element_get_scheduler):
19737 * gst/gstelement.h:
19738 * gst/gstevent.c: (gst_event_new_segment_seek),
19739 (gst_event_new_flush):
19741 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19742 (_gst_message_free), (gst_message_get_type), (gst_message_new),
19743 (gst_message_new_eos), (gst_message_new_error),
19744 (gst_message_new_warning), (gst_message_new_tag),
19745 (gst_message_new_state_changed), (gst_message_new_application),
19746 (gst_message_get_structure), (gst_message_parse_tag),
19747 (gst_message_parse_state_changed), (gst_message_parse_error),
19748 (gst_message_parse_warning):
19749 * gst/gstmessage.h:
19750 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19751 (gst_real_pad_set_property), (gst_pad_set_active),
19752 (gst_pad_is_active), (gst_pad_set_blocked_async),
19753 (gst_pad_set_blocked), (gst_pad_is_blocked),
19754 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19755 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19756 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19757 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19758 (gst_pad_link_filtered), (gst_pad_relink_filtered),
19759 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19760 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19761 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19762 (gst_pad_set_caps), (gst_pad_configure_sink),
19763 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19764 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19765 (gst_real_pad_dispose), (gst_real_pad_finalize),
19766 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19767 (gst_pad_event_default_dispatch), (gst_pad_event_default),
19768 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19770 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19771 (pipeline_bus_handler), (gst_pipeline_change_state),
19772 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19773 * gst/gstpipeline.h:
19775 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19776 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19777 (gst_queue_link_src), (gst_queue_bufferalloc),
19778 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19779 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19780 (gst_queue_loop), (gst_queue_handle_src_event),
19781 (gst_queue_handle_src_query), (gst_queue_src_activate),
19782 (gst_queue_change_state):
19784 * gst/gstscheduler.c: (gst_scheduler_init),
19785 (gst_scheduler_dispose), (gst_scheduler_create_task),
19786 (gst_scheduler_factory_create):
19787 * gst/gstscheduler.h:
19788 * gst/gststructure.c: (gst_structure_get_type),
19789 (gst_structure_copy_conditional):
19790 * gst/gststructure.h:
19791 * gst/gsttaginterface.h:
19792 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19793 (gst_task_init), (gst_task_dispose), (gst_task_create),
19794 (gst_task_get_state), (gst_task_start), (gst_task_stop),
19800 * gst/schedulers/Makefile.am:
19801 * gst/schedulers/cothreads_compat.h:
19802 * gst/schedulers/entryscheduler.c:
19803 * gst/schedulers/faircothreads.c:
19804 * gst/schedulers/faircothreads.h:
19805 * gst/schedulers/fairscheduler.c:
19806 * gst/schedulers/gstbasicscheduler.c:
19807 * gst/schedulers/gstoptimalscheduler.c:
19808 * gst/schedulers/gthread-cothreads.h:
19809 * gst/schedulers/threadscheduler.c:
19810 (gst_thread_scheduler_task_get_type),
19811 (gst_thread_scheduler_task_class_init),
19812 (gst_thread_scheduler_task_init),
19813 (gst_thread_scheduler_task_start),
19814 (gst_thread_scheduler_task_stop),
19815 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19816 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19817 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19818 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19820 * libs/gst/Makefile.am:
19821 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
19822 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
19823 (gst_file_pad_parent_set):
19824 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19825 (gst_dp_event_from_packet):
19826 * tests/complexity.c: (main):
19827 * tests/mass_elements.c: (main):
19828 * testsuite/states/locked.c: (message_received), (main):
19829 * testsuite/states/parent.c: (main):
19830 * tools/gst-inspect.c: (print_element_flag_info),
19831 (print_implementation_info), (print_pad_info):
19832 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
19834 * tools/gst-md5sum.c: (event_loop), (main):
19835 * tools/gst-typefind.c: (main):
19836 * tools/gst-xmlinspect.c: (print_element_info):
19838 Added GstBus for mainloop integration.
19839 Added GstMessage for sending notifications on the bus.
19840 Added GstTask as an abstraction for pipeline entry points.
19842 Removed Schedulers.
19843 Simplified GstQueue for multithreaded core.
19844 Made _link threadsafe, removed old capsnego.
19845 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
19846 Added pad blocking functions.
19847 Reworked scheduling functions in GstPad to prepare for
19848 scheduling updates soon.
19849 Moved events out of data stream.
19850 Simplified GstEvent types.
19851 Added return values to push/pull.
19852 Removed clocking from GstElement.
19853 Added prototypes for state change function for next merge.
19854 Removed iterate from bins and state change management.
19855 Fixed some elements, disabled others for now.
19856 Fixed -inspect and -launch.
19857 Added check for GstBus.
19859 2005-03-10 Wim Taymans <wim@fluendo.com>
19861 * docs/design/part-MT-refcounting.txt:
19862 * docs/design/part-clocks.txt:
19863 * docs/design/part-gstelement.txt:
19864 * docs/design/part-gstobject.txt:
19865 * docs/design/part-standards.txt:
19866 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19867 (gst_bin_remove_func), (gst_bin_remove):
19871 * testsuite/clock/clock1.c: (main):
19872 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
19874 * testsuite/dlopen/loadgst.c: (do_test):
19875 * testsuite/refcounting/bin.c: (add_remove_test1),
19876 (add_remove_test2), (main):
19877 * testsuite/refcounting/element.c: (main):
19878 * testsuite/refcounting/element_pad.c: (main):
19879 * testsuite/refcounting/pad.c: (main):
19880 * tools/gst-launch.c: (sigint_handler_sighandler):
19881 * tools/gst-typefind.c: (main):
19883 Added doc about clock.
19884 removed gst_bin_iterate_recurse_up(), marked methods
19886 Fix more testsuites.
19888 2005-03-09 Wim Taymans <wim@fluendo.com>
19890 * gst/gstpad.c: (gst_pad_get_direction),
19891 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
19892 (gst_pad_collect_valist):
19893 * testsuite/bins/interface.c: (main):
19894 * testsuite/caps/audioscale.c: (test_caps):
19895 * testsuite/caps/caps.c: (test1), (test2), (test3):
19896 * testsuite/caps/deserialize.c: (main):
19897 * testsuite/caps/enumcaps.c: (main):
19898 * testsuite/caps/filtercaps.c: (main):
19899 * testsuite/caps/intersect2.c: (main):
19900 * testsuite/caps/random.c: (main):
19901 * testsuite/caps/renegotiate.c: (my_fixate), (main):
19902 * testsuite/caps/sets.c: (check_caps):
19903 * testsuite/caps/simplify.c: (check_caps), (main):
19904 * testsuite/caps/subtract.c: (check_caps):
19905 Fix _pad_get_direction wrt ghostpads.
19906 Fix caps testsuite.
19908 2005-03-09 Wim Taymans <wim@fluendo.com>
19910 * check/Makefile.am:
19911 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
19912 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
19913 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
19914 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
19915 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
19916 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
19917 (gst_bin_remove), (gst_bin_iterate_recurse_up),
19918 (bin_element_is_sink), (gst_bin_iterate_sinks),
19919 (gst_bin_iterate_all_by_interface):
19921 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
19922 (gst_element_change_state), (gst_element_dispose),
19923 (gst_element_finalize), (gst_element_set_loop_function):
19924 * gst/gstelement.h:
19925 * gst/gstiterator.c: (find_custom_fold_func):
19926 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19927 (gst_pad_collectv), (gst_pad_collect_valist),
19928 (gst_pad_template_new):
19929 * gst/gstpipeline.c: (gst_pipeline_class_init),
19930 (gst_pipeline_dispose), (gst_pipeline_set_property),
19931 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
19932 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
19933 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
19935 * gst/schedulers/entryscheduler.c:
19936 * gst/schedulers/gstbasicscheduler.c:
19937 (gst_basic_scheduler_cothreaded_chain),
19938 (gst_basic_scheduler_chain_add_element):
19939 * testsuite/bins/interface.c: (main):
19941 Added GstSystemClock test.
19942 Implemented clock distribution code in GstBin.
19943 Implemented iterate sinks method for future use.
19944 Rearranged gstelement.h
19945 Fix GstIterator comparison bug.
19946 Moved some code to GstPipeline, mostly clocking related.
19948 2005-03-09 Wim Taymans <wim@fluendo.com>
19951 * gst/gst_private.h:
19952 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19953 (gst_bin_remove_func), (gst_bin_remove),
19954 (gst_bin_get_by_name_recurse_up):
19955 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
19956 (gst_clock_id_compare_func), (gst_clock_id_wait),
19957 (gst_clock_id_wait_async), (gst_clock_init),
19958 (gst_clock_adjust_unlocked), (gst_clock_get_time):
19959 * gst/gstelement.h:
19960 * gst/gstinfo.c: (_gst_debug_init):
19962 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19963 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
19965 Bump version number, we're now 0.9.0
19966 Add future debugging category.
19967 Fix NULL _unref() in _get_by_name_recurse_up
19968 Rearrange gstpad.h.
19971 2005-03-08 Wim Taymans <wim@fluendo.com>
19973 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
19974 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
19975 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
19976 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
19977 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
19978 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
19979 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
19980 * gst/elements/gstidentity.c: (gst_identity_class_init):
19981 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
19982 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
19983 * gst/elements/gstshaper.c: (gst_shaper_class_init):
19984 * gst/elements/gststatistics.c: (gst_statistics_class_init):
19985 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
19987 * gst/gstelement.c: (gst_element_class_init),
19988 (gst_element_base_class_init), (gst_element_init),
19989 (gst_element_get_random_pad), (gst_element_wait_state_change),
19990 (gst_element_change_state), (gst_element_dispose),
19991 (gst_element_finalize), (gst_element_set_loop_function):
19992 * gst/gstelement.h:
19993 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
19994 * gst/gstthread.c: (gst_thread_class_init),
19995 (gst_thread_release_children_locks), (gst_thread_change_state):
19996 * gst/schedulers/gstbasicscheduler.c:
19997 (gst_basic_scheduler_loopfunc_wrapper),
19998 (gst_basic_scheduler_chain_wrapper),
19999 (gst_basic_scheduler_src_wrapper),
20000 (gst_basic_scheduler_remove_element):
20001 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
20002 Remove threadsafe properties. Fix elements because GObject
20003 complains when installing a property before declaring a
20004 set/get_property handler.
20005 Rearrange gstelement.h file, use STATE macros for state locks.
20006 Free mutexes in the finalize method instead of dispose.
20008 2005-03-08 Wim Taymans <wim@fluendo.com>
20010 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
20011 * gst/gstthread.c: (gst_thread_release_children_locks):
20012 Added parentage check.
20013 Fix build og GstThread again.
20015 2005-03-08 Wim Taymans <wim@fluendo.com>
20017 * docs/design/part-MT-refcounting.txt:
20018 * docs/design/part-conventions.txt:
20019 * docs/design/part-gstobject.txt:
20020 * docs/design/part-relations.txt:
20021 * docs/design/part-standards.txt:
20022 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
20023 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
20024 (gst_bin_get_by_name), (gst_bin_get_by_interface),
20025 (gst_bin_iterate_all_by_interface):
20028 * gst/gstelement.c: (gst_element_class_init),
20029 (gst_element_change_state), (gst_element_set_loop_function):
20030 * gst/gstelement.h:
20031 * gst/gstiterator.c:
20032 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
20033 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
20034 (gst_object_dispatch_properties_changed), (gst_object_set_name),
20035 (gst_object_set_parent), (gst_object_unparent),
20036 (gst_object_check_uniqueness):
20038 Docs updates, clean up some headers.
20040 2005-03-07 Wim Taymans <wim@fluendo.com>
20042 * check/.cvsignore:
20043 * check/Makefile.am:
20044 * check/gst-libs/.cvsignore:
20045 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
20046 * check/gst/.cvsignore:
20047 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
20048 (START_TEST), (gstbus_suite), (main):
20049 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
20050 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
20051 (gst_data_suite), (main):
20052 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
20053 (add_fold_func), (gstiterator_suite), (main):
20054 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
20055 (thread_name_object), (thread_name_object_default),
20056 (gst_object_name_compare), (gst_object_suite), (main):
20057 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
20058 (gst_pad_suite), (main):
20059 * check/gstcheck.c: (gst_check_log_message_func),
20060 (gst_check_log_critical_func), (gst_check_init):
20061 * check/gstcheck.h:
20062 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20063 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
20066 2005-03-07 Wim Taymans <wim@fluendo.com>
20068 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
20069 (gst_list_iterator_next), (gst_list_iterator_resync),
20070 (gst_list_iterator_free), (gst_iterator_new_list),
20071 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
20072 (gst_iterator_free), (gst_iterator_push), (filter_next),
20073 (filter_resync), (filter_uninit), (filter_free),
20074 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
20075 (gst_iterator_foreach), (find_custom_fold_func),
20076 (gst_iterator_find_custom):
20077 * gst/gstiterator.h:
20078 Added missing files.
20080 2005-03-07 Wim Taymans <wim@fluendo.com>
20084 * docs/design/part-MT-refcounting.txt:
20085 * docs/design/part-conventions.txt:
20086 * docs/design/part-gstobject.txt:
20087 * docs/design/part-relations.txt:
20088 * examples/mixer/mixer.c: (main):
20089 * examples/thread/thread.c: (eos), (main):
20091 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
20092 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
20093 (gst_spider_plug_from_srcpad):
20094 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
20095 (gst_spider_identity_change_state),
20096 (gst_spider_identity_sink_loop_type_finding):
20097 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
20098 * gst/elements/gstidentity.c: (gst_identity_init):
20099 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
20100 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
20101 * gst/elements/gsttypefindelement.c: (free_entry):
20104 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
20105 (gst_bin_set_clock_func), (gst_bin_auto_clock),
20106 (gst_bin_set_index), (gst_bin_set_element_sched),
20107 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
20108 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
20109 (gst_bin_iterate_elements), (iterate_child_recurse),
20110 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
20111 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
20112 (compare_interface), (gst_bin_get_by_interface),
20113 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
20115 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
20116 (gst_buffer_default_free), (gst_buffer_default_copy),
20117 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
20118 (gst_buffer_create_sub):
20120 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
20121 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
20122 (gst_caps_unref), (gst_static_caps_get),
20123 (gst_caps_remove_and_get_structure), (gst_caps_append),
20124 (gst_caps_append_structure), (gst_caps_remove_structure),
20125 (gst_caps_copy_nth), (gst_caps_set_simple),
20126 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
20127 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
20128 (gst_caps_structure_intersect_field), (gst_caps_intersect),
20129 (gst_caps_structure_subtract_field), (gst_caps_subtract),
20130 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
20131 (gst_caps_structure_figure_out_union),
20132 (gst_caps_switch_structures), (gst_caps_do_simplify),
20133 (gst_caps_replace), (gst_caps_from_string),
20134 (gst_caps_copy_conditional):
20136 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
20137 (_gst_clock_id_free), (gst_clock_id_unref),
20138 (gst_clock_id_compare_func), (gst_clock_id_wait),
20139 (gst_clock_id_wait_async), (gst_clock_class_init),
20140 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
20141 (gst_clock_get_time), (gst_clock_set_time_adjust),
20142 (gst_clock_set_property), (gst_clock_get_property):
20145 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
20146 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
20148 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
20149 (gst_element_requires_clock), (gst_element_provides_clock),
20150 (gst_element_set_clock), (gst_element_clock_wait),
20151 (gst_element_wait), (gst_element_set_time_delay),
20152 (gst_element_is_indexable), (gst_element_add_pad),
20153 (gst_element_add_ghost_pad), (gst_element_remove_pad),
20154 (pad_compare_name), (gst_element_get_static_pad),
20155 (gst_element_request_pad), (gst_element_get_request_pad),
20156 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
20157 (gst_element_class_get_pad_template_list),
20158 (gst_element_class_get_pad_template), (gst_element_error_func),
20159 (gst_element_get_random_pad), (gst_element_get_event_masks),
20160 (gst_element_send_event), (gst_element_seek),
20161 (gst_element_get_query_types), (gst_element_query),
20162 (gst_element_get_formats), (gst_element_convert),
20163 (gst_element_is_locked_state), (gst_element_set_locked_state),
20164 (gst_element_sync_state_with_parent), (gst_element_change_state),
20165 (gst_element_finalize), (gst_element_yield),
20166 (gst_element_interrupt), (gst_element_set_scheduler),
20167 (gst_element_get_scheduler), (gst_element_set_loop_function):
20168 * gst/gstelement.h:
20170 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
20171 (gst_format_get_by_nick), (gst_format_get_details),
20172 (gst_format_iterate_definitions):
20174 * gst/gstindex.c: (gst_index_gtype_resolver):
20177 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
20178 (gst_mem_chunk_free):
20179 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
20180 (gst_object_ref), (gst_object_unref), (gst_object_sink),
20181 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
20182 (gst_object_dispatch_properties_changed),
20183 (gst_object_set_name_default), (gst_object_set_name),
20184 (gst_object_get_name), (gst_object_set_name_prefix),
20185 (gst_object_get_name_prefix), (gst_object_set_parent),
20186 (gst_object_get_parent), (gst_object_unparent),
20187 (gst_object_check_uniqueness), (gst_object_save_thyself),
20188 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
20189 (gst_object_set_property), (gst_object_get_property),
20190 (gst_object_get_path_string):
20192 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20193 (gst_real_pad_init), (gst_real_pad_get_property),
20194 (gst_pad_custom_new), (gst_pad_get_direction),
20195 (gst_pad_set_active), (gst_pad_is_active),
20196 (gst_pad_set_event_function), (gst_pad_is_linked),
20197 (gst_pad_link_free), (gst_pad_link_intersect),
20198 (gst_pad_link_fixate), (gst_pad_set_caps),
20199 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
20200 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
20201 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
20202 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
20203 (gst_pad_get_caps), (gst_pad_peer_get_caps),
20204 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
20205 (gst_pad_realize), (gst_pad_get_allowed_caps),
20206 (gst_real_pad_dispose), (gst_real_pad_finalize),
20207 (gst_pad_collectv), (gst_pad_collect_valist),
20208 (gst_pad_template_dispose), (gst_pad_template_new),
20209 (gst_pad_get_internal_links):
20211 * gst/gstpipeline.c: (gst_pipeline_dispose),
20212 (gst_pipeline_change_state):
20213 * gst/gstpipeline.h:
20215 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
20216 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
20217 * gst/gstpluginfeature.h:
20218 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
20219 * gst/gstquery.c: (_gst_query_type_initialize),
20220 (gst_query_type_register), (gst_query_type_get_by_nick),
20221 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
20223 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
20224 * gst/gstscheduler.c: (gst_scheduler_add_element),
20225 (gst_scheduler_factory_create):
20226 * gst/gststructure.c: (gst_structure_set_parent_refcount),
20227 (gst_structure_free), (gst_structure_set_name),
20228 (gst_structure_id_set_value), (gst_structure_set_value),
20229 (gst_structure_set_valist), (gst_structure_remove_field),
20230 (gst_structure_remove_fields),
20231 (gst_structure_remove_fields_valist),
20232 (gst_structure_remove_all_fields), (gst_structure_foreach),
20233 (gst_structure_map_in_place),
20234 (gst_caps_structure_fixate_field_nearest_int),
20235 (gst_caps_structure_fixate_field_nearest_double):
20236 * gst/gststructure.h:
20237 * gst/gstsystemclock.c: (gst_system_clock_class_init),
20238 (gst_system_clock_init), (gst_system_clock_dispose),
20239 (gst_system_clock_async_thread),
20240 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
20241 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
20242 * gst/gstsystemclock.h:
20243 * gst/gsttag.c: (gst_tag_list_add_value_internal),
20244 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
20245 * gst/gsttaginterface.c:
20246 * gst/gstthread.c: (gst_thread_dispose),
20247 (gst_thread_release_children_locks), (gst_thread_change_state),
20248 (gst_thread_main_loop):
20249 * gst/gsttrashstack.h:
20250 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
20252 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
20253 (gst_element_request_pad), (gst_element_get_pad_from_template),
20254 (gst_element_request_compatible_pad),
20255 (gst_element_get_compatible_pad_filtered),
20256 (gst_element_get_compatible_pad), (gst_element_state_get_name),
20257 (gst_element_link_pads_filtered), (gst_element_link_filtered),
20258 (gst_element_link_many), (gst_element_link),
20259 (gst_element_link_pads), (gst_element_unlink_pads),
20260 (gst_element_unlink_many), (gst_element_unlink),
20261 (gst_pad_can_link_filtered), (gst_pad_can_link),
20262 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
20263 (gst_object_default_error), (gst_bin_add_many),
20264 (gst_bin_remove_many), (gst_element_populate_std_props),
20265 (gst_element_class_install_std_props), (gst_buffer_merge),
20266 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
20267 (link_fold_func), (gst_pad_proxy_setcaps):
20269 * gst/gstvalue.c: (gst_value_deserialize_string):
20270 * gst/parse/grammar.y:
20271 * gst/schedulers/gstbasicscheduler.c:
20272 (gst_basic_scheduler_cothreaded_chain),
20273 (gst_basic_scheduler_chain_recursive_add),
20274 (gst_basic_scheduler_pad_link):
20275 * gst/schedulers/gstoptimalscheduler.c:
20276 (get_group_schedule_function),
20277 (gst_opt_scheduler_state_transition),
20278 (gst_opt_scheduler_add_element), (element_get_reachables_func):
20279 * libs/gst/bytestream/bytestream.c:
20280 * libs/gst/dataprotocol/dataprotocol.c:
20281 (gst_dp_header_from_buffer):
20284 * tests/threadstate/threadstate2.c: (eos):
20285 * tools/gst-compprep.c: (main):
20286 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
20287 (print_pad_info), (print_children_info):
20288 * tools/gst-launch.c: (idle_func), (main):
20289 * tools/gst-md5sum.c: (idle_func), (main):
20290 * tools/gst-xmlinspect.c: (print_element_info):
20291 First THREADED backport attempt, focusing on adding locks and
20292 making sure the API is threadsafe. Needs more work. More docs
20295 2005-02-24 Andy Wingo <wingo@pobox.com>
20297 * tests/bench-complexity.scm:
20298 * tests/complexity.gnuplot: New files, good for running complexity
20301 * tests/Makefile.am:
20302 * tests/complexity.c: New test, sets up N elements, at each level
20303 teeing into M streams per element. Eeeenteresting.
20305 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
20306 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
20307 running bench-mass_elements.scm.
20309 * tests/bench-mass_elements.scm: New script, runs mass_elements
20310 for various numbers of identities, outputting the results to a
20311 file. Requires guile 1.6. Just for testing.
20313 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
20315 * gst/schedulers/fairscheduler.c:
20316 compile with debug disabled
20318 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
20321 hunting season on 0.9 is now OPEN