1 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
4 Add casts to the correct return type to state <=> state transition
7 2006-10-16 Stefan Kost <ensonic@users.sf.net>
9 * docs/design/part-live-source.txt:
10 describe howto handle latency
12 * docs/random/ensonic/profiling.txt:
15 * tools/gst-plot-timeline.py:
16 fix log parsing for solaris, remove unused function
18 2006-10-16 Wim Taymans <wim@fluendo.com>
20 * docs/design/part-trickmodes.txt:
22 Update some docs regarding reverse playback.
24 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
26 Patch by: Marcus Granado <mrc dot gran at gmail com>
28 * win32/vs8/grammar.vcproj:
29 Error out with a warning if glib-genmarshal.exe is not in path,
30 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
32 2006-10-13 Wim Taymans <wim@fluendo.com>
34 * gst/gstsegment.c: (gst_segment_set_seek):
35 When seeking to stop -1, set last_stop (current position) to the
36 duration of the segment.
38 2006-10-13 Wim Taymans <wim@fluendo.com>
41 Clarify _NO_PREROLL a bit more.
46 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
47 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
48 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
49 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
50 due to wrong locking order. Fixes #361769.
51 Remove some redundant/misplaced checks in pad_block.
53 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
54 For negative rates, count backwards from the duration.
56 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
58 * gst/gsterror.c: (_gst_library_errors_init):
59 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
60 up with something better).
62 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
64 * win32/vs6/libgstreamer.dsp:
65 * win32/vs7/libgstreamer.vcproj:
66 * win32/vs8/libgstreamer.vcproj:
67 Don't reference glib-compat.c which is currently not used and not
68 disted; add gstquark.c which was recently added. Fixes #361730.
70 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
72 * win32/common/libgstbase.def:
73 * win32/common/libgstcontroller.def:
74 * win32/common/libgstreamer.def:
75 Add gst_caps_merge() and a bunch of other recently-added functions.
78 2006-10-11 Wim Taymans <wim@fluendo.com>
80 * docs/plugins/gstreamer-plugins.args:
81 * docs/plugins/inspect/plugin-coreelements.xml:
82 * docs/plugins/inspect/plugin-coreindexers.xml:
85 * gst/gstsystemclock.c:
88 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
89 (gst_tee_request_new_pad), (gst_tee_release_pad),
90 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
91 (gst_tee_sink_activate_pull):
92 * plugins/elements/gsttee.h:
94 Add default property defines.
95 Implement release pad function.
96 Give properties better blubs etc.
97 Activate pads before adding them to a running tee.
98 Do simple buffer_alloc on the first requested pad.
99 Post error when activation fails.
101 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
103 * gst/gst.c: (ensure_current_registry_forking):
104 Check return value of write() to make compiler happy.
106 2006-10-11 Wim Taymans <wim@fluendo.com>
108 Patch by: Sjoerd Simons <sjoerd at luon dot net>
110 * plugins/elements/gstqueue.c: (gst_queue_chain):
111 Recheck queue filledness after signalling the overrun when we're about
112 to leak downstream because we released the lock when emitting the signal
113 and the queue could be empty again. Fixes #352345.
115 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
117 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
118 Fix refcounting here too, just like we did for _new_valist() a few
119 days ago (#357180) (thanks to René Stadler). Also remove all those
120 'Since: 0.9' from the gtk-doc blobs.
122 * tests/check/libs/controller.c: (controller_refcount_new_list),
123 (gst_controller_suite):
124 Unit test for the above.
126 2006-10-10 Wim Taymans <wim@fluendo.com>
128 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
130 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
131 (gst_pad_save_thyself):
133 Write pad direction in XML output. Fixes #345496.
135 2006-10-10 Wim Taymans <wim@fluendo.com>
137 Patch by: René Stadler <mail at renestadler dot de>
139 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
140 (gst_controller_new_list), (_gst_controller_dispose),
141 (_gst_controller_finalize), (_gst_controller_class_init):
142 Take ref to controlled object so that it cannot disappear.
145 2006-10-10 Wim Taymans <wim@fluendo.com>
147 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
148 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
149 (gst_check_teardown_sink_pad):
150 Activate/deactivate pads in setup/teardown respectively.
152 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
154 Patch by: Josep Torre Valles <josep@fluendo.com>
157 Cast values when making gstenumtypes.h. This pacifies Forte
158 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
161 2006-10-09 Wim Taymans <wim@fluendo.com>
163 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
164 Rename some more @cur to @start to fix docs.
166 * gst/gstsegment.c: (gst_segment_set_seek):
168 time and start must always stay in sync as defined in design doc.
170 * gst/gsttaglist.c: (gst_tag_list_is_empty):
171 Rename param to fix docs.
173 * tests/check/gst/gstsegment.c: (GST_START_TEST):
174 Check that start and time are in sync.
176 * tests/check/pipelines/parse-launch.c:
177 (gst_parse_test_element_change_state):
178 Activate pad before adding to the element.
180 2006-10-09 Wim Taymans <wim@fluendo.com>
182 * docs/design/part-qos.txt:
187 Update seek event docs regarding negative rates.
188 Rename @cur to @start.
190 * gst/gstsegment.c: (gst_segment_set_seek):
192 Update set_seek docs regarding negative rates.
193 Correctly update last_stop to @stop when dealing with negative
195 Rename @cur to @start.
197 * tests/check/gst/gstpad.c: (GST_START_TEST):
198 Activate pads before trying to use them.
200 * tests/check/gst/gstsegment.c: (GST_START_TEST),
202 Add simple check for segments and negative rates.
204 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
206 * gst/gsttaglist.c: (gst_tag_list_is_empty):
208 * docs/gst/gstreamer-sections.txt:
209 API: add gst_tag_list_is_empty() (#360467).
211 * tests/check/gst/gsttag.c: (GST_START_TEST):
214 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
217 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
218 a value that doesn't fit on enumeration.
220 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
222 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
223 Remove local debugging system and use Gstreamer's instead.
225 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
227 Patch by: Josep Torre Valles <josep@fluendo.com>
229 * common/m4/gst-error.m4:
230 Disable warning of statement not reached on Forte.
232 Fix warning on Forte (value doesn't fit on enumeration).
233 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
234 Fix warning on Forte (value doesn't fit on enumeration).
235 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
236 DEBUG macro says it takes minimum of 2 args and so Forte
237 complains about the use with just 1 arg.
238 * plugins/elements/gstfdsink.c:
239 * plugins/elements/gstfdsrc.c:
240 * plugins/elements/gstfilesink.c:
241 * plugins/elements/gstfilesrc.c:
242 Use correct return type for the uri handler implementations.
244 All these fix warnings in Forte. Fixes bug #360860.
246 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
249 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
250 format string, so don't use G_GNUC_PRINTF for those versions.
252 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
254 * gst/gsttaglist.c: (gst_is_tag_list):
256 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
258 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
259 Small test for the above.
261 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
264 Less tabs, more spaces.
266 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
269 Those two function declarations do actually belong there, revert
270 commit from yesterday that turned them intro macros.
272 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
274 Patch by: Josep Torre Valles <josep@fluendo.com>
276 * gst/gst.c: (gst_init_get_option_group):
277 Fix empty declaration and type mismatch.
278 * gst/gstbin.c: (gst_bin_change_state_func):
280 * gst/gstelement.c: (gst_element_continue_state),
281 (gst_element_set_state_func), (gst_element_change_state),
282 (gst_element_change_state_func):
284 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
285 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
287 * gst/gstobject.c: (gst_class_signal_connect):
288 Cast as appropriate. The function pointer parameter really
289 has the wrong type but would break API if we change it.
291 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
292 order of including string.h.
293 * gst/gstutils.c: (gst_element_state_get_name):
294 Remove unreachable line.
295 * gst/gstxml.c: (gst_xml_parse_doc):
297 All these caught by Forte.
299 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
301 Patch by: Josep Torre Valles <josep@fluendo.com>
303 * common/m4/gst-error.m4:
305 We need to disable warnings on Forte for empty declarations
306 due to gst-indent adding ;s to lines that just use macros
307 where the macro actually doesn't need a ; at end to end
310 2006-10-06 Wim Taymans <wim@fluendo.com>
312 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
313 (gst_file_sink_close_file), (gst_file_sink_event),
314 (gst_file_sink_render):
315 Add some FIXME for the NEWSEGMENT handling.
317 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
319 * gst/parse/grammar.y:
320 Remove static function gst_parse_element_lock as all it does
321 is return. Looks like cruft from 0.8.
323 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
325 Patch by: Josep Torre Valles <josep@fluendo.com>
327 * common/m4/gst-error.m4:
329 * libs/gst/net/Makefile.am:
330 Fix a compilation issue with Forte on Solaris. inet_aton is in
333 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
335 * gst/gstpad.c: (pre_activate):
336 * gst/gstregistry.c: (gst_registry_scan_path_level):
337 * gst/gstregistryxml.c: (load_plugin):
338 * libs/gst/controller/gstcontroller.c:
339 (gst_controlled_property_set_interpolation_mode):
340 * libs/gst/dataprotocol/dataprotocol.c:
341 (gst_dp_packet_from_event_1_0):
342 * libs/gst/net/gstnetclientclock.c:
343 (gst_net_client_clock_observe_times):
344 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
347 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
350 * docs/gst/gstreamer-sections.txt:
351 * gst/gstconfig.h.in:
354 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
355 whether we can use G_GNUC_PRINTF in other header files and at
356 least check the printf format/arguments of debug messages and
357 GST_ELEMENT_ERROR messages when the printf extension is not
359 Replace more tabs with spaces in gstinfo.h and remove two spurious
360 function declarations in GST_DISABLE_DEBUG part with macros.
362 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
364 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
365 More docs for the sync-message signal (mention that it is not
366 emitted by default); log message structures of messages posted on
369 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
371 * gst/gst.c: (ensure_current_registry_forking):
372 Use a pipe pair to receive status results from the forked child, and
373 ignore the result from waitpid. Fixes #355499
375 2006-10-02 Wim Taymans <wim@fluendo.com>
377 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
378 (gst_ghost_pad_suite):
381 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
384 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
386 2006-10-02 Edward Hervey <edward@fluendo.com>
388 * docs/design/part-block.txt:
389 Further explain the use of flushing on blocked pads.
390 * docs/gst/gstreamer-sections.txt:
391 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
392 (gst_pad_push_event):
394 Added new GstPadFlag : GST_PAD_BLOCKING.
395 Adds the notion of pads really blocking, which enables to properly
396 handle FLUSH_START/FLUSH_STOP events on blocked pads.
398 API: gst_pad_is_blocking()
399 API: GST_PAD_IS_BLOCKING() macro
400 API: GST_PAD_BLOCKING GstPadFlag
402 2006-10-02 Wim Taymans <wim@fluendo.com>
404 Patch by: mrcgran <mrc.gran at gmail dot com>
406 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
407 Filter the proxied caps against the padtemplate if we have one.
409 * gst/gstquery.c: (gst_query_new_segment):
410 Add include for gstinfo.h so that compilation with
411 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
413 2006-10-02 Wim Taymans <wim@fluendo.com>
415 Patch by: Alessandro Decina <alessandro at nnva org>
417 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
418 (gst_file_sink_set_location), (gst_file_sink_open_file),
419 (gst_file_sink_close_file), (gst_file_sink_event),
420 (gst_file_sink_render):
421 Set file to NULL when closing filesink so that we can set a new filename
422 in READY. Fixes #358613.
424 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
426 Patch by: Alessandro Decina <alessandro at nnva org>
428 * gst/gstevent.c: (_gst_event_copy):
429 Fix gst_mini_object_make_writable() and gst_event_copy() for events
430 with event structures by setting the parent refcount address of the
431 copied structure to the address of the refcount member of the newly
432 copied event rather than the address of the refcount member of the
433 original event. Fixes #358737.
435 * tests/check/gst/gstevent.c: (GST_START_TEST):
436 Unit test for the above.
438 2006-09-29 Stefan Kost <ensonic@users.sf.net>
440 * docs/design/Makefile.am:
441 Dist some more files.
443 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
445 * tests/check/libs/controller.c: (GST_START_TEST),
446 (gst_controller_suite):
447 Add test for the previous fix; add some more tests
448 for correct refcounting behaviour; fix a few leaks
449 in test cases; call gst_controller_init() at start
452 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
454 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
455 (gst_controller_set_from_list):
456 Don't g_return_val_if_fail() on timed values with invalid timestamps
457 inside a critical section without unlocking the mutex. Spotted by
458 René Stadler. (#357617)
459 Also, fix up refcounting properly: when returning an existing
460 controller, we should increase the reference only once and not
461 once per property and when trying to control a property again
462 we should also increase the refcount.
464 2006-09-29 Wim Taymans <wim@fluendo.com>
466 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
467 * libs/gst/net/gstnettimeprovider.c:
468 (gst_net_time_provider_thread):
469 Stop reading commands when EOF as well.
471 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
472 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
473 * plugins/elements/gstidentity.c: (gst_identity_class_init):
474 Unify description of the dump property.
476 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
478 * tests/examples/manual/.cvsignore:
479 OK, so it's actually cvsignore that needs changing. Stop laughing.
481 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
483 * tests/examples/manual/Makefile.am:
484 Gah, declare vars *before* using them
486 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
488 * gst/gst.c: (init_pre), (scan_and_update_registry),
489 (ensure_current_registry_nonforking),
490 (ensure_current_registry_forking), (ensure_current_registry),
491 (init_post), (gst_debug_help), (gst_deinit):
493 * gst/gstregistry.c: (gst_registry_finalize),
494 (gst_registry_remove_features_for_plugin_unlocked),
495 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
496 (gst_registry_scan_path),
497 (_priv_gst_registry_remove_cache_plugins),
498 (_priv_gst_registry_cleanup):
500 Re-commit the registry changes, along with an extra fix:
501 When a cached plugin is encountered at a different file path,
502 update the stored path in the registry cache so that the parent
503 process knows where it actually is now when it re-reads the registry
504 cache. Fixes the thing that broke distcheck with the previous commit.
506 * tests/check/Makefile.am:
507 Clean up files named 'core' too when running make clean.
509 * tests/examples/manual/Makefile.am:
510 Set up a registry path for running these tests, and clean it properly
513 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
516 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
517 want gmodule-no-export-2.0.pc instead so that we don't drag in
518 --export-dynamic on every project that links to GStreamer.
520 Also, make our export regex only match the start of symbols, rather
521 than any symbol that contains '_gst' somewhere.
523 * libs/gst/check/Makefile.am:
524 The libgstcheck we build does however need export-dynamic, as it
525 produces some symbols that don't match our _gst... style regex.
528 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
530 * gst/gst.c: (init_pre), (scan_and_update_registry),
531 (ensure_current_registry_nonforking),
532 (ensure_current_registry_forking), (ensure_current_registry),
533 (init_post), (gst_debug_help), (gst_deinit):
535 * gst/gstregistry.c: (gst_registry_finalize),
536 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
537 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
538 (_gst_registry_cleanup):
540 Revert previous change until I figure out why it breaks distcheck.
542 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
544 * gst/gst.c: (init_pre), (scan_and_update_registry),
545 (ensure_current_registry_nonforking),
546 (ensure_current_registry_forking), (ensure_current_registry),
547 (init_post), (gst_debug_help), (gst_deinit):
549 Make init_pre and init_post take the full complement of GOptionFunc
550 args so they can return useful GErrors. Make the registry updating
553 Call _priv_gst_registry_remove_cache_plugins after scanning files to
554 ensure that the registry we're about to write out doesn't contain
555 stale information about old-deleted plugin files.
557 Make _priv_gst_registry_remove_cache_plugins return a boolean so
558 that deletion of plugin files is considered a registry change.
561 * gst/gstregistry.c: (gst_registry_finalize),
562 (gst_registry_remove_features_for_plugin_unlocked),
563 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
564 (gst_registry_scan_path),
565 (_priv_gst_registry_remove_cache_plugins),
566 (_priv_gst_registry_cleanup):
568 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
569 by adding _priv prefix, so that they won't appear in the global
570 symbol table. They still do atm though because of #318031. Move the
571 prototypes to gst_private.h
573 When removing a plugin, remove all features for that plugin too.
576 2006-09-27 Wim Taymans <wim@fluendo.com>
578 * docs/random/moving-plugins:
579 Make it clear that the "compiled-in descriptions" really mean
582 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
583 (gst_base_sink_wait_preroll):
586 * docs/libs/gstreamer-libs-sections.txt:
587 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
588 (gst_base_src_get_range), (gst_base_src_activate_push):
589 * libs/gst/base/gstbasesrc.h:
590 Added function to block while waiting for PLAYING, this function
591 is used by live sources that block on the clock.
592 API: gst_base_src_wait_playing()
594 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
596 Patch by: Peter Kjellerstedt <pkj at axis com>
599 gst-element-check.m4 is generated and should therefore be
600 copied from the build dir rather than the source dir (#357593).
601 'make distcheck' hasn't noticed this because we were disting
602 the file as well, so stop doing that.
604 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
606 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
607 Add some tests for gst_caps_intersect().
609 * tools/gst-launch.c: (event_loop):
610 Print all buffering percentages we get, even the 100% one.
612 2006-09-26 Wim Taymans <wim@fluendo.com>
614 * tools/gst-inspect.c: (print_element_properties_info),
616 Fix printing of flags to match the look of enums.
618 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
620 * gst/gstelementfactory.c:
621 Fix typo in docs blurb.
623 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
625 * gst/gsturi.c: (search_by_entry):
626 Don't assert/crash here if a uri handler doesn't return any
627 supported protocols. The list of protocols could be generated
628 dynamically at runtime or at plugin registration, and an error
629 in the underlying library shouldn't be fatal (#353301).
631 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
634 Fix warning if HAVE_PRINTF_EXTENSION is undefined
635 (spotted by Peter Kjellerstedt).
637 2006-09-23 Wim Taymans <wim@fluendo.com>
639 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
641 * libs/gst/base/gstbasesrc.c:
642 (gst_base_src_default_check_get_range), (gst_base_src_start),
643 (gst_base_src_activate_push), (gst_base_src_activate_pull),
644 (gst_base_src_change_state):
645 Match _start/_stop calls in the activate functions. Remove redundant
646 _stop call from the state change function. Fixes #356910.
647 Turn failure DEBUG into ERROR.
649 2006-09-22 Wim Taymans <wim@fluendo.com>
651 * docs/design/part-buffering.txt:
652 * gst/gstmessage.c: (gst_message_new_buffering),
653 (gst_message_parse_buffering):
654 Update docs about buffering.
656 * docs/design/part-trickmodes.txt:
659 2006-09-22 Stefan Kost <ensonic@users.sf.net>
661 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
662 (gst_controller_new_list):
663 Ref instances when returning them again (fixes #357180)
665 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
667 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
668 Don't forget to release proxy lock when there's an error.
670 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
673 Add extra initialisers for Caps things, to fix some plugin warnings
676 2006-09-18 Wim Taymans <wim@fluendo.com>
678 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
679 Also set template on the internal pad so that a getcaps from the
680 target pad returns the template caps.
682 2006-09-18 Wim Taymans <wim@fluendo.com>
684 * gst/gstelement.c: (gst_element_post_message),
685 (gst_element_dispose):
686 Use _DEBUG_OBJECT some more.
688 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
691 * tools/gst-launch.c: (main):
692 If the toplevel element is not a GstPipeline, it must be put in a
693 pipeline so that a bus and clock is selected.
695 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
697 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
698 JITTER, RATE, and LATENCY query should be handled by the
699 default case and not by the CONVERT query code.
701 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
703 * gst/gstformat.c: (gst_format_register):
704 Fix locking order (must take lock before using n_values).
706 * gst/gstvalue.c: (gst_value_serialize_enum),
707 (gst_value_deserialize_enum_iter_cmp),
708 (gst_value_deserialize_enum):
709 Fix serialisation/deserialisation of custom registered GstFormats.
711 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
712 Unit test for custom format serialisation/deserialisation.
714 2006-09-17 Stefan Kost <ensonic@users.sf.net>
716 * docs/pwg/building-boiler.xml:
717 * plugins/elements/gstcapsfilter.c:
718 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
721 2006-09-16 Edward Hervey <edward@fluendo.com>
723 * libs/gst/base/gstbasetransform.c:
724 (gst_base_transform_buffer_alloc):
725 Check if requested caps are the same as the sinks caps IF
726 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
728 This fixes the renegotiation issues stated in #352827.
730 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
733 * docs/manual/advanced-autoplugging.xml:
734 * tests/examples/Makefile.am:
735 * tests/examples/manual/.cvsignore:
736 * tests/examples/manual/Makefile.am:
737 * tests/examples/manual/extract.pl:
738 Extract the manual examples again like we used to do.
741 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
743 * win32/common/config.h:
746 2006-09-16 Stefan Kost <ensonic@users.sf.net>
749 Documents how to receive errors.
751 2006-09-15 Wim Taymans <wim@fluendo.com>
753 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
754 (event_loop), (main):
755 Added some comments here and there.
756 Post an application message when an interrupt is caught instead of doing
757 an uncontrolled state change.
758 Clean up the event loop.
759 Handle buffering messages, pause/resume the pipeline.
760 Make shutdown because of an interrupt more reliable.
762 2006-09-15 Wim Taymans <wim@fluendo.com>
764 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
765 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
766 (gst_base_sink_preroll_object):
767 Make sure that our internal state is correct when we commit our state
768 asynchronously. This solves a race where a state change to PLAYING
769 could cause the sink to remain blocked in preroll in some situations.
771 2006-09-15 Wim Taymans <wim@fluendo.com>
773 * tools/gst-inspect.c: (print_element_properties_info),
775 List flags as hex so it's easier to deal with.
777 2006-09-15 Wim Taymans <wim@fluendo.com>
779 * docs/libs/gstreamer-libs-sections.txt:
780 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
781 (gst_base_sink_do_sync):
782 * libs/gst/base/gstbasesink.h:
783 Expose logic to wait for preroll so that subclasses such as audiosink
784 can also use this method.
785 API: gst_base_sink_wait_preroll()
787 2006-09-15 Wim Taymans <wim@fluendo.com>
789 * gst/gstobject.c: (gst_object_set_parent):
790 * gst/gstpipeline.c: (do_pipeline_seek):
791 Small cleanups in docs and code.
793 * gst/gstsegment.c: (gst_segment_clip):
794 * tests/check/gst/gstsegment.c: (GST_START_TEST):
795 if stop == start and start is in the segment, no clipping should be
796 done. Also add a test for this.
798 2006-09-15 Wim Taymans <wim@fluendo.com>
800 * docs/design/part-buffering.txt:
801 * docs/gst/gstreamer-sections.txt:
802 * gst/gstmessage.c: (gst_message_new_buffering),
803 (gst_message_parse_buffering):
805 Added methods to create and parse BUFFERING messages.
806 Added preliminary docs about buffering.
807 API: gst_message_new_buffering
808 API: gst_message_parse_buffering
810 2006-09-06 Wim Taymans <wim@fluendo.com>
813 Update documentation.
815 * gst/gstelement.c: (gst_element_class_init),
816 (gst_element_release_request_pad), (gst_element_set_clock),
817 (gst_element_get_index), (gst_element_add_pad),
818 (gst_element_remove_pad), (gst_element_get_random_pad),
819 (gst_element_send_event), (gst_element_get_query_types),
820 (gst_element_query), (gst_element_post_message),
821 (gst_element_message_full), (gst_element_continue_state),
822 (gst_element_lost_state), (gst_element_save_thyself),
823 (gst_element_restore_thyself):
824 Documentation updates.
825 Rename last bit of the new-pad -> pad-added signal rename.
826 Fix the case where an element query would only work if the source
828 Avoid some useless type checking in message handling.
833 Documentation updates.
835 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
837 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
838 add an INFO line for when we actually update the fd
840 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
845 === release 0.10.10 ===
847 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
850 releasing 0.10.10, "Pais"
852 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
854 * docs/manual/advanced-position.xml:
855 Fix typo in sample code.
857 2006-09-05 Wim Taymans <wim@fluendo.com>
859 * libs/gst/net/gstnetclientclock.c: (inet_aton),
860 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
861 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
862 * libs/gst/net/gstnetclientclock.h:
863 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
864 * libs/gst/net/gstnettimepacket.h:
865 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
866 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
867 (gst_net_time_provider_thread), (gst_net_time_provider_new):
868 * libs/gst/net/gstnettimeprovider.h:
869 Make stuff compile on windows. Fixes #345295.
871 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
873 * gst/gst.c: (ensure_current_registry_forking):
874 Print better details when child was terminated by signal.
876 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
878 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
879 Print a warning rather than g_assert() if a plugin feature
880 is a URI handler but returns no protocols (#353976).
882 2006-09-02 Stefan Kost <ensonic@users.sf.net>
884 * docs/random/moving-plugins:
887 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
889 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
890 Fix locking order, handle NULL function values properly.
895 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
896 Initialise variable before using it and fix debug statement to
897 print the address of the function rather than the address of the
898 variable on the stack holding the address of the function.
900 2006-09-01 Wim Taymans <wim@fluendo.com>
902 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
903 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
904 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
905 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
906 (gst_ghost_pad_parent_unset),
907 (gst_ghost_pad_internal_do_activate_push),
908 (gst_ghost_pad_internal_do_activate_pull),
909 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
910 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
911 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
912 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
913 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
914 (gst_ghost_pad_new_no_target_from_template),
915 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
917 Avoid needless typechecking in macros.
918 Since the internal pad is always present and never changes, there is
919 no need to locking or ref when retrieving it.
920 Improve debugging a bit.
921 Handle link errors when setting the target. Fixes #341029.
923 2006-09-01 Wim Taymans <wim@fluendo.com>
925 * docs/libs/gstreamer-libs-sections.txt:
926 * docs/plugins/gstreamer-plugins-sections.txt:
929 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
930 (gst_collect_pads_event):
931 * libs/gst/base/gstcollectpads.h:
932 Documentation updates.
933 Free queued buffer when removing a pad.
935 2006-08-31 Michael Smith <msmith@fluendo.com>
937 * gst/gstutils.c: (gst_element_link_pads),
938 (gst_element_link_pads_filtered):
939 Ensure that we set a capsfilter to NULL if we failed to link it
940 when doing filtered linking, to avoid criticals.
942 No need to check for unreffing srcpad, which is explicly NULLed
943 above (a trivial code cleanup).
945 2006-08-31 Wim Taymans <wim@fluendo.com>
947 * docs/design/part-gstghostpad.txt:
948 Update ascii art in documentation.
950 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
951 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
952 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
953 (gst_ghost_pad_internal_do_activate_push),
954 (gst_ghost_pad_internal_do_activate_pull),
955 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
956 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
957 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
958 (gst_ghost_pad_set_target):
959 Small cleanups and leak fixes.
960 Remove some checks now that the internal pad is never NULL.
961 Fix the case where linking pads without a target would create nasty
962 criticals. Fixes #341029.
963 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
964 value of _set_target().
966 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
967 (gst_ghost_pad_suite):
968 Some more tests for creating and linking untargeted ghostpads.
970 2006-08-31 Edward Hervey <edward@fluendo.com>
972 * docs/gst/gstreamer-sections.txt:
973 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
974 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
975 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
976 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
977 (gst_ghost_pad_new_from_template),
978 (gst_ghost_pad_new_no_target_from_template):
980 Refactored *_new() functions.
981 Templates are now used as a g_object_new() parameter.
982 Use template in _do_getcaps() if we don't have a target.
983 Small documentation cleanups.
984 Added two new constructors:
985 gst_ghost_pad_new_from_template()
986 gst_ghost_pad_new_no_target_from_template()
987 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
988 (gst_ghost_pad_suite):
989 Added tests for new ghostpad instanciation functions.
991 API additions: gst_ghost_pad_new_from_template,
992 gst_ghost_pad_new_no_target_from_template
994 2006-08-30 Stefan Kost <ensonic@users.sf.net>
996 * docs/random/ensonic/profiling.txt:
997 Ideas about qos profiling.
999 2006-08-29 Wim Taymans <wim@fluendo.com>
1001 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
1005 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
1008 Improve and detypofy docs.
1010 * tests/check/Makefile.am:
1011 * tests/check/gst/.cvsignore:
1012 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
1013 Add a basic test suite for GstXML.
1015 2006-08-29 Wim Taymans <wim@fluendo.com>
1017 * gst/gstelement.c: (activate_pads), (clear_caps),
1018 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
1019 Clear the pad caps when the element shut down all of the pads and
1020 is not streaming data that could modify the caps.
1023 2006-08-28 Michael Smith <msmith@fluendo.com>
1025 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1026 Revert previous change; I misunderstood single-segment mode.
1028 2006-08-28 Michael Smith <msmith@fluendo.com>
1030 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1031 Unset DISCONT on buffers when using single-segment mode.
1033 2006-08-28 Wim Taymans <wim@fluendo.com>
1035 * gst/gstcaps.c: (gst_caps_merge_structure):
1037 Fix docs and indentation again.
1039 * tests/check/gst/gstquery.c: (GST_START_TEST):
1040 Fix leak in tests and add some more tests.
1042 2006-08-28 Edward Hervey <edward@fluendo.com>
1044 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1045 Inform GstSegment of the last stop position in order for the current
1046 segment to have a proper duration if it doesn't have a specific stop
1047 position from which a duration could be calculated.
1048 This bug was noticeable when a non-flushing, non-update new segment was
1049 followed by another segment (all buffers from the new segment were being
1052 2006-08-28 Wim Taymans <wim@fluendo.com>
1054 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1055 Small comment update.
1057 * plugins/elements/gstidentity.c: (gst_identity_class_init),
1058 (gst_identity_transform_ip):
1059 Drop-probability is broken, mention this in the code with a
1060 FIXME and also in the property description.
1061 Make silent also be silent about the drop messages.
1063 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
1065 * docs/manual/appendix-win32.xml:
1066 Remove mention of popt, we don't depend on that any
1067 longer (#353136). Add some comments pointing out that
1068 this section is slightly outdated.
1070 2006-08-28 Wim Taymans <wim@fluendo.com>
1072 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
1074 * gst/gstquery.c: (gst_query_new_segment):
1075 * tests/check/gst/gstquery.c: (GST_START_TEST):
1076 Initialize variables when creating a new segment query.
1079 2006-08-28 Wim Taymans <wim@fluendo.com>
1081 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
1083 * gst/gstelement.c: (gst_element_get_bus):
1084 * tests/check/gst/gstelement.c: (GST_START_TEST):
1085 Check for NULL before _reffing the bus. Fixes #353122.
1087 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
1089 * docs/manual/basics-bus.xml:
1090 Docs update: fix wrong callback return value explanation; add
1091 some lines about the implicit relationship between main loop
1092 and main context; remove duplicate main loop variable declaration.
1094 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
1096 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1097 Don't leak caps in unit test; add a few more simple
1100 2006-08-24 Stefan Kost <ensonic@users.sf.net>
1102 * docs/gst/gstreamer-sections.txt:
1103 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
1104 (gst_caps_structure_is_subset), (gst_caps_merge),
1105 (gst_caps_merge_structure):
1107 * libs/gst/base/gstbasetransform.c:
1108 (gst_base_transform_transform_caps):
1109 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1110 implement caps merging (fixes #352580)
1112 2006-08-23 Stefan Kost <ensonic@users.sf.net>
1114 * tools/Makefile.am:
1115 * tools/gst-plot-timeline.py:
1116 add debug-log plotting developer tool (#340674)
1118 2006-08-23 Wim Taymans <wim@fluendo.com>
1120 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
1121 (gst_pad_stop_task):
1122 Improve debugging for task functions.
1124 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
1125 (gst_task_start), (gst_task_pause), (gst_task_join):
1126 Make sure that the task function started and finished after a
1128 Don't try to push the task function on the threadpool multiple
1130 Improve the g_warning message with some useful suggestions
1131 about how to fix the problem.
1133 2006-08-23 Wim Taymans <wim@fluendo.com>
1135 * gst/gstutils.c: (gst_pad_proxy_getcaps):
1136 Handle RESYNC correctly in _proxy_getcaps.
1138 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
1140 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
1141 (gst_xml_parse_memory), (gst_xml_get_element):
1142 Chain up to parent class in dispose function and also
1143 unref the elements in the toplevel_elements GList.
1144 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
1145 Always return a reference in gst_xml_get_element() rather
1146 than only sometimes.
1148 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
1149 Don't leak GstXml object.
1151 2006-08-21 Stefan Kost <ensonic@users.sf.net>
1153 * docs/gst/gstreamer-sections.txt:
1154 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
1157 * libs/gst/base/gstbasetransform.c:
1158 (gst_base_transform_transform_caps):
1159 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
1162 2006-08-21 Edward Hervey <edward@fluendo.com>
1164 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
1165 Implement GObject::dispose virtual method in GstXML so we can free the
1168 2006-08-21 Wim Taymans <wim@fluendo.com>
1170 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
1171 (gst_buffer_create_sub):
1172 Copy duration/offset_end/caps when creating a subbuffer of the
1174 Make the subbuffer read-only when we make the metadata writable for
1177 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1178 Added check for metadata copy when creating subbuffers.
1180 2006-08-21 Edward Hervey <edward@fluendo.com>
1182 * libs/gst/base/gstbasetransform.c:
1183 (gst_base_transform_buffer_alloc):
1184 Only call downstream buffer_alloc if transform element is passthrough
1185 or always_in_place. Closes #350449.
1187 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1190 ChangeLog surgery to add comments to previous changes
1192 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1197 * gst/gstpad.c: (gst_pad_set_active):
1198 Be more verbose in the log
1200 * libs/gst/base/gstbasetransform.c:
1201 (gst_base_transform_transform_caps):
1202 Simplify caps to get rid of duplicates, fixes #345444
1204 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1208 Use these optimizations only internally.
1210 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1212 * gst/gstvalue.c: (gst_value_compare_list),
1213 (gst_value_compare_fraction_range),
1214 (gst_value_intersect_fraction_fraction_range),
1215 (gst_value_intersect_fraction_range_fraction_range),
1216 (gst_value_subtract_fraction_fraction_range),
1217 (gst_value_subtract_fraction_range_fraction_range),
1218 (gst_value_get_compare_func), (gst_value_compare),
1219 (gst_value_compare_with_func):
1221 Saves the expensive lookup of the compare function in many cases
1224 2006-08-18 Edward Hervey <edward@fluendo.com>
1226 * tests/check/gst/gstinfo.c: (gst_info_suite):
1227 Disable test that require gstdebug if it wasn't built in core.
1229 2006-08-18 Stefan Kost <ensonic@users.sf.net>
1231 * docs/random/ensonic/logging.txt:
1234 * gst/gstinfo.c: (gst_debug_log_default):
1235 reorder fields, save some columns, add optional color codes for log
1238 2006-08-18 Stefan Kost <ensonic@users.sf.net>
1240 * docs/random/ensonic/logging.txt:
1241 add ideas about making the logs a bit more useful
1243 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
1245 * docs/pwg/advanced-events.xml:
1246 * docs/pwg/titlepage.xml:
1247 Update for 0.10 API (#340627). Add myself
1250 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
1252 * docs/libs/gstreamer-libs-docs.sgml:
1253 * docs/libs/gstreamer-libs-sections.txt:
1254 * libs/gst/check/gstbufferstraw.c:
1255 Make gstcheck stuff show up in docs (still needs to
1256 be documented properly though).
1258 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
1260 * docs/gst/gstreamer-sections.txt:
1262 * gst/gst.c: (init_post):
1263 * gst/gst_private.h:
1264 * gst/gstquark.c: (_priv_gst_quarks_initialize):
1266 * gst/gstquery.c: (gst_query_new_position),
1267 (gst_query_set_position), (gst_query_parse_position),
1268 (gst_query_new_duration), (gst_query_set_duration),
1269 (gst_query_parse_duration), (gst_query_new_convert),
1270 (gst_query_set_convert), (gst_query_parse_convert),
1271 (gst_query_new_segment), (gst_query_set_segment),
1272 (gst_query_parse_segment), (gst_query_new_seeking),
1273 (gst_query_set_seeking), (gst_query_parse_seeking):
1274 Add internal helpers for pre-registering quarks from static strings
1275 and using the quark values directly instead of looking them up when
1276 creating and parsing queries. Can be used for event construction too.
1279 2006-08-16 Wim Taymans <wim@fluendo.com>
1284 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1286 * gst/gstutils.c: (gst_util_set_value_from_string):
1287 Fix memleak (#351502).
1289 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1290 Add unit test for most of gst_util_set_value_from_string()
1291 (not that one would want to encourage use of this function).
1293 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1295 * libs/gst/check/gstcheck.h:
1296 Use const gchar * variables in fail_unless_equals_string
1297 macro to avoid compiler warnings (and don't use tabs for
1300 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1302 * tools/gst-launch.c: (print_tag):
1303 More space on the left for the tag names, to cater
1304 for the 'extended comment' tag (not touching the
1305 string for the first line since it's translated).
1307 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1309 * libs/gst/check/gstcheck.h:
1310 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
1311 print something when they fail.
1313 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
1315 * docs/gst/gstreamer-sections.txt:
1316 * gst/gsttaglist.c: (_gst_tag_initialize):
1318 API: add GST_TAG_EXTENDED_COMMENT (#350935).
1319 Also change merge function for GST_TAG_COMMENT to
1322 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
1324 * gst/gstinfo.c: (gst_debug_print_object):
1325 Make GST_PTR_FORMAT print messages as well.
1327 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
1328 (GST_START_TEST), (gst_info_suite):
1331 2006-08-14 Edward Hervey <edward@fluendo.com>
1333 * gst/gstelementfactory.c: (gst_element_register):
1334 If the GstElementClass doesn't have a GstElementDetails with all fields
1335 filled up correctly (longname, description AND author), then error out
1336 nicely instead of crashing.
1338 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
1340 * gst/gststructure.c:
1341 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
1344 Expand on the difference between arrays and lists as we use them.
1346 2006-08-14 Wim Taymans <wim@fluendo.com>
1348 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1349 If the parent state change function failed, don't assume we can safely
1350 stop the source, this will be done when the pads are deactivated.
1352 2006-08-14 Wim Taymans <wim@fluendo.com>
1355 * gst/gsttask.c: (gst_task_join):
1358 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
1359 (gst_pad_stop_task):
1360 When pad (de)activation failed for some reason, restore the old
1361 activation mode and set the pad to flushing instead of assuming the
1363 If the _task_join() failed, reinstall the task on the pad so that it can
1364 be stopped later and return an error.
1366 2006-08-11 Andy Wingo <wingo@pobox.com>
1369 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1370 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
1371 is only for users of API that don't want to see deprecated
1372 functions in the headers; people that want to compile out
1373 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
1374 CFLAGS. Fixes the build of multifdsink, or will soon..
1376 2006-08-11 Wim Taymans <wim@fluendo.com>
1378 * docs/gst/gstreamer-sections.txt:
1379 Add GstClockClass vmethod docs.
1382 Mark #endif with comment for associated #if
1384 * gst/gstclock.c: (gst_clock_id_wait):
1386 Add vmethod wait_jitter to avoid an unneeded _get_time() for
1387 most clock implementations.
1389 Flesh out docs about resolution methods.
1390 API: GstClockClass::wait_jitter
1392 * gst/gstsystemclock.c: (gst_system_clock_class_init),
1393 (gst_system_clock_async_thread),
1394 (gst_system_clock_id_wait_jitter_unlocked),
1395 (gst_system_clock_id_wait_jitter):
1396 Use base class wait_jitter variant for improved performance
1397 due to less clock polling.
1399 2006-08-11 Edward Hervey <edward@fluendo.com>
1401 * gst/gst.c: (gst_init_check), (init_post):
1402 Set gst as being initialized before scanning/updating the registry,
1403 since there might be my python plugin loader that calls gst_init() and
1404 we don't want to loop back in.
1407 2006-08-11 Wim Taymans <wim@fluendo.com>
1409 * docs/design/part-qos.txt:
1410 Bring docs in line with the code. Mostly the sign of the jitter was
1411 wrong in the docs. Fixes #349943.
1414 Fix the docs for the jitter.
1416 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
1417 (gst_event_parse_tag), (gst_event_new_buffer_size),
1418 (gst_event_parse_buffer_size), (gst_event_parse_qos),
1419 (gst_event_new_seek), (gst_event_parse_seek),
1420 (gst_event_new_navigation):
1421 Make sure the GstStructure has no parent when creating custom
1423 Add some more argument checking so that we avoid 0.0 rates.
1424 Flesh out the docs for the QoS event some more.
1426 2006-08-11 Wim Taymans <wim@fluendo.com>
1428 * docs/gst/gstreamer-sections.txt:
1429 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1430 (ensure_current_registry_forking), (ensure_current_registry),
1431 (parse_one_option), (parse_goption_arg), (gst_deinit),
1432 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
1435 Added API and command line option to disable registry forking in
1436 addition to the environment variable.
1437 Constify some static arrays.
1438 Added some more debug.
1440 API: gst_registry_fork_is_enabled()
1441 API: gst_registry_fork_set_enabled()
1442 API: --gst-disable-registry-fork command line option
1445 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
1447 * gst/gst.c: (gst_init):
1448 Fix typo in error message.
1450 2006-08-10 Stefan Kost <ensonic@users.sf.net>
1452 * libs/gst/controller/gstcontroller.h:
1453 fix ABI size-correction
1455 * tests/check/libs/gdp.c: (gst_dp_suite):
1456 make tests that use deprecated API conditional
1458 2006-08-10 Stefan Kost <ensonic@users.sf.net>
1460 * docs/libs/gstreamer-libs-sections.txt:
1461 * libs/gst/controller/gstcontroller.c:
1462 (_gst_controller_get_property), (_gst_controller_set_property),
1463 (_gst_controller_init), (_gst_controller_class_init):
1464 * libs/gst/controller/gstcontroller.h:
1465 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
1466 (gst_object_set_control_rate):
1467 API: add gst_object_{s,g}et_control_rate(), add private data section,
1470 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1471 * libs/gst/dataprotocol/dataprotocol.h:
1472 add deprecation guards to make gtk-doc happy and allow disabling cruft
1474 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
1476 * tests/check/Makefile.am:
1477 * tests/check/gst/.cvsignore:
1478 Let's enable the new unit test as well.
1480 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
1483 * docs/gst/gstreamer-sections.txt:
1484 * gst/gstconfig.h.in:
1485 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
1486 (_gst_info_printf_extension_ptr),
1487 (_gst_info_printf_extension_segment):
1488 API: add GST_SEGMENT_FORMAT, which is a printf extension we
1489 register that lets us easily dump GstSegments into debug
1492 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
1493 (info_segment_format_printf_extension), (gst_info_suite):
1494 Add simple unit test that logs a bunch of different segments (not
1495 valgrinded at the moment because of leaks in
1496 gst_debug_add_log_function).
1498 2006-08-09 Edward Hervey <edward@fluendo.com>
1500 * libs/gst/base/gstbasetransform.c:
1501 (gst_base_transform_buffer_alloc):
1502 Even if we can't figure out the proper format to request downstream,
1503 call buffer_alloc() downstream with the input parameters without setting
1504 the caps on the srcpad. This will force negotiation in the chain
1508 2006-08-08 Edward Hervey <edward@fluendo.com>
1510 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
1511 Unlinking from a pad without a target is now a perfectly valid case
1512 which should NOT raise an assertion.
1513 This case would happen if a linked ghostpad its target set to NULL after
1514 it was previously linked.
1516 2006-08-08 Edward Hervey <edward@fluendo.com>
1518 * tests/check/libs/gdp.c:
1519 Also comment out the test (see below).
1521 2006-08-08 Edward Hervey <edward@fluendo.com>
1523 * tests/check/libs/gdp.c: (gst_dp_suite):
1524 Use the architecture information from config.h and not gcc macros
1525 in order to properly disable a test that fails on PPC64.
1527 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
1529 * gst/gstelement.c: (gst_element_remove_pad):
1530 Don't crash printing the warning if the pad has no parent.
1532 2006-08-02 Wim Taymans <wim@fluendo.com>
1534 * libs/gst/dataprotocol/dataprotocol.c:
1535 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
1536 (gst_dp_crc), (gst_dp_header_payload_length),
1537 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
1538 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
1539 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
1540 (gst_dp_event_from_packet), (gst_dp_validate_header),
1541 (gst_dp_validate_payload):
1542 Make debug category static
1543 Constify the crc table.
1544 Do some more arg checking in public functions.
1545 Fix some docs and do some small cleanups.
1547 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
1548 Add some more checks to see if GDP deals with bogus input.
1550 2006-07-31 Wim Taymans <wim@fluendo.com>
1552 * gst/gstvalue.c: (gst_value_compare_list):
1553 Fix GstValueList comparison code. Fixes #347293.
1555 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1556 Check to test GstValueList comparison.
1558 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1560 * gst/gstelementfactory.c: (gst_element_factory_create):
1561 Remove unnecessary ref/unref pair
1563 * gst/parse/grammar.y:
1564 Make sure to free the parse buffer on all code paths.
1565 Move a g_free up to the error handler where it's easier to see.
1567 * tests/check/gst/gstevent.c: (test_event):
1568 Extending timeout for downstream travelling events to 10 seconds to
1569 hopefully avoid intermittent failure on the buildbots.
1571 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
1572 Don't manually set the state of the src element - it will happen as a
1573 natural consequence of the pipeline changing state, and that way it
1574 will do it in the right order too.
1576 2006-07-31 Wim Taymans <wim@fluendo.com>
1578 * libs/gst/base/gstbasetransform.c:
1579 (gst_base_transform_buffer_alloc):
1580 Use OBJECT_LOCK and refcounting to get the pad caps in the
1581 buffer_alloc function because the caps could change while we are
1582 busy with them. Fixes #349105
1584 2006-07-31 Wim Taymans <wim@fluendo.com>
1586 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
1587 Protect _PAD_CAPS with OBJECT_LOCK.
1589 2006-07-31 Wim Taymans <wim@fluendo.com>
1591 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
1592 (gst_pad_get_property), (gst_pad_activate_pull),
1593 (gst_pad_activate_push), (gst_pad_set_blocked_async),
1594 (gst_pad_set_activate_function),
1595 (gst_pad_set_activatepull_function),
1596 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
1597 (gst_pad_set_getrange_function),
1598 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
1599 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
1600 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
1601 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
1602 (gst_pad_set_acceptcaps_function),
1603 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
1604 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
1605 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
1606 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
1607 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
1608 (gst_pad_configure_sink), (gst_pad_configure_src),
1609 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
1610 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
1611 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
1612 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
1613 (gst_pad_send_event):
1614 Use _DEBUG_OBJECT when it makes sense.
1615 Protect GST_PAD_CAPS with the OBJECT_LOCK.
1616 Small cleanups and code reflows.
1617 Avoid caps refcounting in _accept_caps.
1618 Refactor alloc_buffer so that the code performed on the peer is in a
1619 separate function. Also if the pad does not implement a buffer alloc
1620 function, we should still check if the pad is flushing before falling
1621 back to the default allocator.
1623 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1625 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1626 Make all uses of identity and fakesink have silent=true to avoid
1627 serialising every passing data structure, which is breaking tests
1628 on FC4 for some unknown reason.
1630 2006-07-30 Stefan Kost <ensonic@users.sf.net>
1632 * gst/parse/Makefile.am:
1633 * gst/parse/grammar.y:
1634 * gst/parse/parse.l:
1635 Reverted previous patch as it required to bump the flex dependency to
1636 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
1638 2006-07-30 Stefan Kost <ensonic@users.sf.net>
1640 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
1642 * gst/parse/Makefile.am:
1643 * gst/parse/grammar.y:
1644 * gst/parse/parse.l:
1645 push & pop the state of the lexer for reentrant use case
1648 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
1650 * libs/gst/base/gstbasesrc.h:
1651 Note in the docs that the ::newsegment vfunc is not actually used by
1654 2006-07-28 Wim Taymans <wim@fluendo.com>
1656 * libs/gst/base/gstcollectpads.c:
1657 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
1658 (gst_collect_pads_clear), (gst_collect_pads_flush),
1659 (gst_collect_pads_event), (gst_collect_pads_chain):
1660 When flushing a pad, also clear the queued buffer so that we don't
1661 accidentally use it when we shouldn't.
1662 Fix leaks by inreffing incomming buffer.
1663 Flush out queued buffers in case of errors.
1666 2006-07-28 Wim Taymans <wim@fluendo.com>
1668 * docs/random/phonon-gst:
1669 Random notes about a Phonon backend.
1671 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1673 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
1675 * tests/check/libs/gdp.c: (gst_dp_suite):
1676 Take a whack at fixing the ppc compile using a different define to
1677 disable the broken test.
1679 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1680 Remove excess g_print()
1682 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1684 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1685 Oops, meant to uncomment this line too to dampen the noise a bit.
1687 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1689 * gst/parse/grammar.y:
1690 * gst/parse/parse.l:
1691 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1692 (GST_START_TEST), (parse_suite):
1693 Fix some of the leaks exposed by extending the parse-launch testsuite,
1694 and move the 3 I can't figure out into a separate test that won't run
1695 the pipelines unless the appropriate line is uncommented.
1697 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
1699 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1700 Requesting 0 bytes before the end of the file should result in
1701 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
1704 2006-07-27 Wim Taymans <wim@fluendo.com>
1706 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
1707 Fix useless assert, a uint is always positive.
1709 * gst/gststructure.c: (gst_structure_nth_field_name),
1710 (gst_structure_foreach), (gst_structure_map_in_place):
1711 Check input arguments for public functions to avoid obvious crashes.
1713 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
1714 * plugins/elements/gstfakesink.h:
1715 Do less useless typechecking.
1717 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
1719 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1720 Do not use mmap() by default since there are a number of error
1721 conditions that we would like to handle in a non-fatal way that
1722 will result in a SIGBUS if we use mmap(). Examples: external
1723 devices (USB harddrive, portable music player) being unplugged
1724 while in use; file on mounted CD/DVD that can't be read because
1725 the medium is partly damaged. Fixes #348455 and #348475.
1727 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1730 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
1733 2006-07-26 Stefan Kost <ensonic@users.sf.net>
1735 * gst/gstregistry.c:
1736 Move big documentation comment into class section header, so that it
1737 appears in the API docs.
1739 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1741 * docs/gst/gstreamer-sections.txt:
1742 Oops. Commit the docs additions too for new API.
1743 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
1745 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1747 * gst/gststructure.c: (gst_structure_id_set),
1748 (gst_structure_id_set_valist):
1749 * gst/gststructure.h:
1750 Add API for setting values into structures without performing
1751 a quark lookup, if the appropriate quark is already known.
1753 API: gst_structure_id_set
1754 API: gst_structure_id_set_valist
1756 * gst/parse/grammar.y:
1757 * gst/parse/parse.l:
1758 Remove some dead code shown by the coverage information.
1759 Don't throw a critical g_warning when encountering a syntax error,
1760 just warn and let the normal error path handle it.
1762 * plugins/elements/gstelements.c:
1763 Bump the rank of filesink up to PRIMARY so that it is preferred over
1764 gnomevfssink for file:// sink uri's
1766 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1767 (GST_START_TEST), (run_delayed_test),
1768 (gst_parse_test_element_base_init),
1769 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
1770 (gst_parse_test_element_change_state),
1771 (gst_register_parse_element), (parse_suite):
1772 Beef up the tests for parse syntax to check that more error cases
1773 fail as they are supposed to. Increases the test coverage a bit.
1775 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
1777 * docs/manual/basics-elements.xml:
1778 Fix gst_element_link() example.
1781 Mention in API docs that one should usually gst_bin_add()
1782 elements to a bin or pipeline before doing the linking.
1784 2006-07-26 Wim Taymans <wim@fluendo.com>
1786 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1787 (gst_subbuffer_get_type), (gst_buffer_create_sub):
1788 Avoid function call for known types by keeping the buffer and
1789 subbuffer GType global.
1791 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1792 Random silly optimisations in read() path.
1794 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1796 * tools/gst-launch.c: (main):
1797 If the top-level of the parse is a normal bin, it doesn't do the
1798 right logic to run as a top-level element, so place it inside a
1801 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
1803 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1804 Remove superfluous g_object_notify() calls, GObject does
1805 that for us automatically.
1807 2006-07-25 Stefan Kost <ensonic@users.sf.net>
1810 on Win32, use dllspec to export the debug category symbols
1812 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
1814 * gst/gsttaglist.c: (_gst_tag_initialize):
1815 Allow more than one GST_TAG_IMAGE per taglist.
1817 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
1819 * gst/gstminiobject.c:
1821 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1822 (gst_fd_src_create):
1823 log recurring events at LOG level
1824 add more debug for when the fd gets set
1826 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1828 * gst/gstparse.c: (gst_parse_launch):
1829 Also remove reentrance checks if flex is MT safe (#348179)
1830 Fix my empty ChangeLog entry below
1832 2006-07-21 Andy Wingo <wingo@pobox.com>
1834 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1836 * libs/gst/check/Makefile.am
1837 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1838 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
1839 * libs/gst/check/gstbufferstraw.h:
1840 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1841 functions, thus proving I am still a GStreamer haxor. OK I wrote
1842 them a long time ago, but anyways.
1844 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1847 * gst/gstparse.c: (gst_parse_launch):
1848 Check for flex version and omit mutex if we have a MT save flex
1851 2006-07-21 Wim Taymans <wim@fluendo.com>
1853 * gst/gstparse.c: (gst_parse_launch):
1854 Protect recursive calls to _parse with a recursive mutex
1857 2006-07-21 Wim Taymans <wim@fluendo.com>
1859 * tests/check/gst/gstpad.c: (GST_START_TEST):
1862 2006-07-20 Stefan Kost <ensonic@users.sf.net>
1864 * gst/gstparse.c: (gst_parse_launch):
1865 Do not hang on recursive usage of gst_parse_launch()
1867 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1870 Add some more docs, comments and FIXME 0.11s here and there
1871 and also fix some typos.
1873 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1876 Convert tabs to spaces for better readability.
1878 2006-07-20 Edward Hervey <edward@fluendo.com>
1880 * tests/check/libs/gdp.c: (gst_dp_suite):
1881 the test_buffer test fails at line 140 on ppc64 at the following
1883 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
1884 GST_BUFFER_FLAG_IN_CAPS),
1885 "GST_BUFFER_IN_CAPS flag should have been copied !");
1886 See bug #348114 for more details.
1888 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
1890 * docs/pwg/advanced-scheduling.xml:
1892 Fix typos (#348000).
1894 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
1896 * docs/pwg/intro-basics.xml:
1897 Fix wrong links (#347927).
1899 2006-07-18 Stefan Kost <ensonic@users.sf.net>
1901 * gst/gstregistry.h:
1902 * gst/gstregistryxml.c: (load_feature),
1903 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1904 * win32/common/config.h:
1905 make --disable-index work (#342564)
1907 2006-07-18 Wim Taymans <wim@fluendo.com>
1909 Patch by: Peter Kjellerstedt <pkj at axis dot com>
1913 The attached patch adds two missing defines to gsttrace.h when tracing
1914 is disabled. It also corrects one existing define.
1917 2006-07-17 Wim Taymans <wim@fluendo.com>
1919 * docs/gst/gstreamer-sections.txt:
1920 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
1922 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
1923 Add two functions to check and change the SIGSEGV behaviour
1924 when loading plugins.
1925 Don't mess with the SIGSEGV handler when we were told not to.
1927 API: gst_segtrap_is_enabled
1928 API: gst_segtrap_set_enabled
1930 2006-07-14 Wim Taymans <wim@fluendo.com>
1932 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1933 * tests/check/elements/filesrc.c: (GST_START_TEST):
1934 Revert fix for regression in #347408 after release.
1936 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
1938 Patch by: Antoine Tremblay <hexa00 at gmail com>
1940 * gst/gstutils.c: (gst_element_unlink):
1941 Free iterator when done (#347311).
1943 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1944 And add a test case for this.
1946 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
1949 Bump nano back to CVS
1951 === release 0.10.9 ===
1953 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1956 releasing 0.10.9, "On the road again"
1958 2006-07-13 Wim Taymans <wim@fluendo.com>
1960 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1961 * tests/check/elements/filesrc.c: (GST_START_TEST):
1962 Revert pull-0 fix for release. Disable check. Fixes #347408.
1964 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
1966 * libs/gst/dataprotocol/dataprotocol.c:
1967 (gst_dp_event_from_packet_1_0):
1968 Fixes #347337: failure to deserialize event packets with
1969 empty payload (only event type)
1971 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
1974 do not install a .c file in the header directory
1976 2006-07-13 Edward Hervey <edward@fluendo.com>
1978 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
1979 GhostPad no longer implicitely use the padtemplates of the targets.
1982 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
1984 * gst/gstvalue.c: (gst_value_compare_list),
1985 (gst_value_compare_array), (_gst_value_initialize):
1986 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1987 Make GstValueArray comparison be order dependent as designed.
1988 Add checks for value lists and value array comparisons.
1991 2006-07-11 Edward Hervey <edward@fluendo.com>
1993 * gst/gstbin.c: (activate_pads),
1994 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
1995 (gst_bin_change_state_func):
1996 (de)activate src pads before calling state_change on the childs.
1997 This is to avoid the case where a src ghostpad is blocked (holding the
1998 stream lock), which would block the deactivation of the ghostpad's
2000 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
2001 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
2002 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
2003 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
2004 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
2005 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
2006 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
2007 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
2008 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
2009 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
2010 (gst_ghost_pad_class_init),
2011 (gst_ghost_pad_internal_do_activate_push),
2012 (gst_ghost_pad_internal_do_activate_pull),
2013 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
2014 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
2015 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
2016 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
2017 GhostPads now create their internal GstProxyPad at creation (and not
2018 when they're linked, as it was being done previously).
2019 The internal and target pads are linked straight away.
2020 The data will also travel through the other pad in order to make
2021 pad blocking and probes non-hackish (the probe/block now really happens
2022 on the GhostPad and not on the target).
2023 * gst/gstpad.c: (gst_pad_set_blocked_async),
2024 (gst_pad_link_prepare), (gst_pad_push_event):
2025 Remove previous ghostpad cruft.
2026 * gst/gstutils.c: (gst_pad_add_data_probe),
2027 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
2028 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
2029 (gst_pad_remove_buffer_probe):
2030 Remove previous ghost pad cruft.
2031 Added more detailed debug statements.
2032 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2033 Fix the testsuite for refcounting changes.
2034 The comments about who has references were correct, but the refcount
2035 being checked wasn't the same (!?!).
2039 2006-07-10 Stefan Kost <ensonic@users.sf.net>
2041 * docs/gst/gstreamer-sections.txt:
2042 * gst/gstconfig.h.in:
2043 More docs for configuration options, add docs to gtk-doc.
2045 2006-07-10 Stefan Kost <ensonic@users.sf.net>
2048 * gst/gstconfig.h.in:
2049 * win32/common/config.h:
2050 Fix build when disabling tracing (fixes #344016). Also start to document
2051 the defines that disable the sub-systems.
2053 2006-07-10 Edward Hervey <edward@fluendo.com>
2055 * gst/gst.c: (ensure_current_registry_forking):
2056 let's make valgrind happy...
2058 2006-07-09 Wim Taymans <wim@fluendo.com>
2060 * gst/gstelement.c: (activate_pads),
2061 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
2062 Better pad activation code: Reset the collect value too on resync.
2065 2006-07-09 Wim Taymans <wim@fluendo.com>
2067 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
2068 (gst_pad_activate_push):
2069 Use some more macros where it makes sense.
2070 Allow pad mode switching instead of asserting. When a pad
2071 is activated in one mode and we activate it in another,
2072 deactivate it first before activating it in a different mode.
2075 2006-07-08 Andy Wingo <wingo@pobox.com>
2077 * tools/gst-launch.c (main): Handle err == NULL.
2079 * gst/gst.c (init_post, ensure_current_registry)
2080 (ensure_current_registry_forking)
2081 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
2082 factoring out the registry scanning into separate functions. Don't
2083 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
2084 Better environment var name/interface suggestions accepted.
2086 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2088 * gst/gstobject.c: (gst_object_set_name_default),
2089 (gst_object_set_name):
2090 Random micro-optimisation: don't use a hash table
2091 with strings as keys and the usual strdup/strcmp
2092 involved, but rather just use the GQuark of the
2093 type name as key, since it needs to be looked up
2094 anyway to get the type name string.
2096 * tests/check/gst/gstobject.c: (GST_START_TEST):
2099 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2101 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
2102 (gst_bin_iterate_all_by_interface):
2103 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
2104 GTypes are gulongs and thus the top 4 bytes might be cut
2105 off on some platforms when doing GPOINTER_TO_INT, leading
2106 to invalid GTypes and bad things happening (see RH bug #179654).
2107 Also add a check to make sure the type passed in is really
2110 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2115 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2119 * gst-element-check.m4:
2120 * gst-element-check.m4.in:
2121 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
2122 instead of the unversioned gst-inspect (#324176, #168659).
2124 2006-07-06 Wim Taymans <wim@fluendo.com>
2127 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
2130 2006-07-06 Wim Taymans <wim@fluendo.com>
2132 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2133 (gst_base_src_wait), (gst_base_src_update_length),
2134 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
2135 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
2136 (gst_base_src_loop), (gst_base_src_start),
2137 (gst_base_src_activate_pull):
2139 blocksize == 0 now means the default blocksize when working in push
2141 Remove some pointless asserts in _wait function.
2142 Fix offset/length calculations and EOS handling. We can now pull 0
2143 bytes as well, which is allowed.
2144 use _check_get_range() to decide if we can operate in _pull based
2146 Fix refcounting leak when check_get_range function was not
2148 API GstBaseSrc::blocksize range can be 0 too now (default)
2150 * tests/check/elements/filesrc.c: (GST_START_TEST),
2152 Added check to test _get_range() behaviour.
2154 2006-07-06 Wim Taymans <wim@fluendo.com>
2156 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2157 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
2158 (gst_pad_pull_range):
2160 Lots of comments and docs added to the pad functions.
2161 Flesh out the expected behaviour of the get_range() functions.
2163 2006-07-06 Wim Taymans <wim@fluendo.com>
2168 * gst/gstiterator.h:
2172 Remove comma at end of enumerator list.
2174 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
2176 * win32/common/libgstbase.def:
2177 * win32/common/libgstdataprotocol.def:
2178 * win32/common/libsgtreamer.def:
2179 Add new exported functions.
2181 2006-07-05 Wim Taymans <wim@fluendo.com>
2183 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
2184 Add some more docs here and there.
2186 2006-07-05 Wim Taymans <wim@fluendo.com>
2188 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
2189 (gst_base_sink_loop), (gst_base_sink_get_position):
2190 When operating in pull mode update the offset so that we
2193 2006-07-05 Wim Taymans <wim@fluendo.com>
2195 * gst/gstregistryxml.c: (read_string):
2196 Avoid strdup. (will happen in libxml, but hey!)
2201 2006-07-05 Wim Taymans <wim@fluendo.com>
2203 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
2204 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
2206 No point in checking if the size of the subbuffer > 0, the
2207 code handles it correclty as demonstrated by unit test.
2208 Also add a unit test for the zero sized _new_and_alloc and
2209 _copy. Fixes #346663.
2211 2006-07-05 Wim Taymans <wim@fluendo.com>
2213 * libs/gst/base/gstbasetransform.c:
2214 (gst_base_transform_prepare_output_buffer),
2215 (gst_base_transform_buffer_alloc),
2216 (gst_base_transform_handle_buffer):
2217 Make sure the buffer we pass to transform_ip has a refcount of
2218 1 and thus is writable. Fixes #343196
2220 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
2222 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2223 (gst_file_src_init), (gst_file_src_set_property),
2224 (gst_file_src_get_property), (gst_file_src_map_region):
2225 * plugins/elements/gstfilesrc.h:
2226 Add "sequential" property, off by default, to use madvise and hint
2227 to the kernel that sequential access is desired.
2228 Touch all retrieved pages by default to ensure they are pulled
2229 into memory. (Closes #345720)
2231 2006-07-03 Wim Taymans <wim@fluendo.com>
2233 * docs/design/part-block.txt:
2234 * docs/design/part-dynamic.txt:
2237 2006-07-03 Wim Taymans <wim@fluendo.com>
2239 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
2240 (gst_caps_unref), (gst_static_caps_get),
2241 (gst_caps_append_structure):
2242 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
2243 Use GSlice when the glib we build against is >= 2.10
2245 2006-07-03 Wim Taymans <wim@fluendo.com>
2247 * gst/gstelement.c: (gst_element_pads_activate):
2248 Small cleanup in pad activation code.
2250 2006-07-03 Wim Taymans <wim@fluendo.com>
2252 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2254 * gst/gst-i18n-app.h:
2255 * gst/gst-i18n-lib.h:
2256 * tools/gst-inspect.c: (print_signal_info):
2257 The attached patch will make the inclusion of gettext.h unconditional in
2258 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
2259 libintl.h in tools/gst-inspect.c.
2260 This allows use of --disable-nls again and fixes #344642.
2262 2006-07-03 Edward Hervey <edward@fluendo.com>
2264 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
2265 Implement pad blocking on events according to part-block.txt.
2266 More comments on behaviour.
2267 * tests/check/gst/gstevent.c: (test_event):
2268 Send event to peer pad of blocked pad (else it will block).
2270 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
2272 * libs/gst/check/gstcheck.c: (gst_check_message_error),
2273 (gst_check_run_suite):
2274 if we get the wrong message, give us the types as string
2275 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2277 * tests/check/elements/filesrc.c: (GST_START_TEST):
2278 add a test for trying to open a non-existing file
2280 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
2282 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2283 add a test for adding self
2285 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
2287 * libs/gst/check/gstcheck.h:
2288 add some assert_ as alias for fail_unless_*
2289 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
2290 increase test coverage
2292 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2295 include lcov.mak for lcov coverage generation
2296 * tools/Makefile.am:
2299 2006-07-02 Edward Hervey <edward@fluendo.com>
2301 * tests/check/elements/.cvsignore:
2304 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2307 don't set CFLAGS and friends for gcov, done from GST_GCOV now
2308 * tests/check/Makefile.am:
2311 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2313 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
2314 remove gst_caps_simplify; it was not declared and not used
2315 and deprecated in 0.8
2317 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2319 * docs/faq/gst-uninstalled:
2320 don't put empty paths on PYTHONPATH
2321 * docs/gst/gstreamer-sections.txt:
2322 remove some symbols that are not there
2324 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2326 * gst/gstcaps.c: (gst_caps_compare_structures):
2328 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2329 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2332 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2334 * libs/gst/dataprotocol/Makefile.am:
2335 build dataprotocol test by linking to the lib, instead of
2336 compiling the source, so we get coverage
2337 * tests/check/Makefile.am:
2338 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
2339 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
2340 add a test for filesrc
2342 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2344 * tests/check/gst/gststructure.c: (GST_START_TEST),
2345 (gst_structure_suite):
2346 Push coverage from 59.04% to 70.00%
2348 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2350 * tests/check/Makefile.am:
2351 gst-inspect every element; this makes sure that we also get
2352 coverage on element's get/set functions
2354 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2357 set CFLAGS and friends to -O0 if gcov is being used
2360 * libs/gst/base/Makefile.am:
2361 * libs/gst/check/Makefile.am:
2362 * libs/gst/controller/Makefile.am:
2363 * libs/gst/dataprotocol/Makefile.am:
2364 * libs/gst/net/Makefile.am:
2365 * plugins/elements/Makefile.am:
2366 * plugins/indexers/Makefile.am:
2367 add makefile rules to generate gcov data and clean up
2368 * tests/check/Makefile.am:
2369 add a coverage target that generates an html overview
2372 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2374 * tests/check/elements/fakesink.c:
2375 * tests/check/elements/fakesrc.c:
2376 * tests/check/elements/fdsrc.c:
2377 * tests/check/elements/identity.c:
2378 * tests/check/generic/sinks.c: (gst_sinks_suite):
2379 * tests/check/generic/states.c:
2380 * tests/check/gst/gst.c:
2381 * tests/check/gst/gstabi.c:
2382 * tests/check/gst/gstbin.c:
2383 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
2384 * tests/check/gst/gstbus.c: (gst_bus_suite):
2385 * tests/check/gst/gstcaps.c: (GST_START_TEST):
2386 * tests/check/gst/gstelement.c:
2387 * tests/check/gst/gstevent.c: (gst_event_suite):
2388 * tests/check/gst/gstghostpad.c:
2389 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
2390 * tests/check/gst/gstmessage.c: (gst_message_suite):
2391 * tests/check/gst/gstminiobject.c:
2392 * tests/check/gst/gstobject.c:
2393 * tests/check/gst/gstpad.c:
2394 * tests/check/gst/gstpipeline.c:
2395 * tests/check/gst/gstplugin.c:
2396 * tests/check/gst/gstquery.c: (gst_query_suite):
2397 * tests/check/gst/gstsegment.c: (gst_segment_suite):
2398 * tests/check/gst/gststructure.c:
2399 * tests/check/gst/gstsystemclock.c:
2400 * tests/check/gst/gsttag.c:
2401 * tests/check/gst/gsttask.c: (gst_task_suite):
2402 * tests/check/gst/gstutils.c:
2403 * tests/check/gst/gstvalue.c:
2404 * tests/check/libs/adapter.c:
2405 * tests/check/libs/basesrc.c:
2406 * tests/check/libs/collectpads.c:
2407 * tests/check/libs/controller.c:
2408 * tests/check/libs/gdp.c: (gst_dp_suite):
2409 * tests/check/libs/gstnetclientclock.c:
2410 * tests/check/libs/gstnettimeprovider.c:
2411 * tests/check/libs/libsabi.c: (libsabi_suite):
2412 * tests/check/libs/typefindhelper.c:
2413 * tests/check/pipelines/cleanup.c:
2414 * tests/check/pipelines/parse-launch.c:
2415 * tests/check/pipelines/simple-launch-lines.c:
2416 * tests/check/pipelines/stress.c: (stress_suite):
2419 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2421 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
2422 * libs/gst/check/gstcheck.h:
2423 create a macro and function so that the simple unit test
2424 case can be just one macro to create main()
2426 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
2428 * gst/gstbin.c: (gst_bin_restore_thyself):
2429 * gst/gstxml.c: (gst_xml_make_element):
2430 Fix deserialisation from XML. Set parent manually
2431 instead of using gst_bin_add(), since gst_bin_add()
2432 will unlink all pads of the element being added.
2435 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
2437 Patch by: Peter Kjellerstedt <pkj at axis com>
2439 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
2440 Fix missing g_strdup() and double free when using the
2441 --gst-plugin-load command line option (#346097).
2443 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
2446 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
2448 * libs/gst/net/gstnetclientclock.c:
2449 * libs/gst/net/gstnettimeprovider.c:
2450 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
2452 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
2454 * docs/manual/advanced-dataaccess.xml:
2455 Fix buffer probe example compilation in
2458 2006-06-22 Edward Hervey <edward@fluendo.com>
2460 * gst/gstelement.c: (gst_element_pads_activate):
2461 We need to deactivate src pads first and then sink pads.
2462 The reason is the src pads might be blocking while holding the streaming
2463 lock, so we need to deactivate them first so that deactivating the sink
2464 pads doesn't block (since it will require the streaming lock).
2466 2006-06-22 Wim Taymans <wim@fluendo.com>
2468 * libs/gst/base/gstbasetransform.c:
2469 (gst_base_transform_buffer_alloc):
2470 Forgot to remove two unneeded unrefs.
2471 Simplify a check _is_equal allready checks the obvious case.
2473 2006-06-22 Wim Taymans <wim@fluendo.com>
2475 * docs/design/part-block.txt:
2476 Some docs about what pad_block should do.
2478 2006-06-22 Wim Taymans <wim@fluendo.com>
2480 * gst/gstcaps.c: (gst_caps_replace):
2481 Fix crasher when passed NULL. Doc clarification.
2482 Optimize for the trivial case.
2484 * gst/gstpipeline.c: (gst_pipeline_change_state):
2487 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2488 Small documentation cleanup.
2490 * libs/gst/base/gstbasetransform.c:
2491 (gst_base_transform_buffer_alloc):
2492 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
2493 is what we need and it avoids a whole lot of redundant
2494 refcount operations.
2496 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
2498 Patch by: Philip Jägenstedt <philip at lysator liu se>
2500 * docs/manual/advanced-dataaccess.xml:
2501 Fix 'Embedding static elements' section to use
2502 GST_PLUGIN_DEFINE_STATIC (#345607).
2504 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2506 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
2507 Attempt to 'fix' spuriously failing test case: it seems like the
2508 timeout of half a second is simply too small when the system is under
2509 load otherwise, and the timeout doesn't really seem to serve any
2510 particular purpose here. Give the pipeline a few seconds to preroll
2511 first, and then give it another half a second to go from PAUSED to
2512 PLAYING and marshal the message into the main thread.
2514 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2516 * tools/gst-feedback-m.m:
2517 Don't only use unversioned tools, try versioned tools as well
2520 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2522 * gst/gstbus.c: (gst_bus_class_init):
2523 Fix some typos, make docs more explicit.
2525 2006-06-20 Wim Taymans <wim@fluendo.com>
2527 * tests/check/gst/gstghostpad.c: (block_callback),
2528 (GST_START_TEST), (gst_ghost_pad_suite):
2529 Added some more ghostpad tests, mainly blocking
2532 2006-06-16 Wim Taymans <wim@fluendo.com>
2534 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2535 (gst_file_sink_close_file), (gst_file_sink_do_seek),
2536 (gst_file_sink_event), (gst_file_sink_render):
2537 * plugins/elements/gstfilesink.h:
2538 Check if we can seek in the file instead of assuming
2539 we always can. Post an error when we are asked to seek in a
2540 non-seekable file (like a fifo). Fixes #343312.
2543 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
2545 * tools/gst-launch.1.in:
2546 Un-garble (fourcc) bit in filtered caps section.
2548 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
2550 * docs/manual/advanced-autoplugging.xml:
2551 * docs/manual/basics-helloworld.xml:
2552 * docs/manual/highlevel-components.xml:
2553 Don't leak bus reference in sample code.
2555 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
2558 Add default for new --enable-plugin-docs switch.
2561 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
2565 Use new ENABLE_PLUGIN_DOCS conditional.
2567 2006-06-14 Wim Taymans <wim@fluendo.com>
2569 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
2570 Make it clear with a FIXME and a real define what the #if 0
2571 previously disabled.
2573 2006-06-14 Wim Taymans <wim@fluendo.com>
2575 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2576 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2577 * libs/gst/base/gstbasetransform.c:
2578 (gst_base_transform_sink_eventfunc):
2579 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
2580 Don't randomly and silently reset a segment when the format
2581 changes as this is a bug somewhere upstream. Fixes #330379.
2583 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
2585 Patch by: Wouter Paesen <wouter at kangaroot net>
2587 * libs/gst/controller/gstcontroller.c:
2588 (gst_controlled_property_new):
2589 Fix controlling of float properties (#344849).
2591 * tests/check/libs/controller.c:
2592 (gst_test_mono_source_get_property),
2593 (gst_test_mono_source_set_property),
2594 (gst_test_mono_source_class_init), (GST_START_TEST):
2595 While we're at it, add some float stuff to unit test.
2597 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
2600 * docs/images/gdp-header.svg:
2602 * docs/libs/Makefile.am:
2603 * docs/libs/gdp-header.png:
2604 * libs/gst/dataprotocol/dataprotocol.c:
2605 add it to the API docs
2606 * docs/manual/intro-motivation.xml:
2609 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
2611 * gst/gst.c: (scan_and_update_registry), (init_post):
2612 If the fork()'ed child process can't write the updated registry cache
2613 file to disk for some reason, make it exit with a failure exit code,
2614 so that the parent can then re-scan the plugins itself and update the
2615 registry structures in memory and work with that (rather than failing
2616 when creating elements because seemingly no plugins are available).
2617 Refactor registry scanning code into separate function for this and
2618 also separate fork() and non-fork() code paths. Fixes #344748.
2620 2006-06-13 Wim Taymans <wim@fluendo.com>
2622 * docs/manual/advanced-dataaccess.xml:
2623 Fix wrong PluginDesc. Fixes #344755.
2625 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
2627 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2628 Fix silly bug that prevented us from creating
2629 ~/.gstreamer-0.10 and writing the registry in one
2630 go (the first call to g_mkstemp() would overwrite the
2631 placeholder in the template string, so the second call
2632 to g_mkstemp() after creating the missing directory
2633 would then error out with 'invalid argument').
2635 2006-06-13 Edward Hervey <edward@fluendo.com>
2637 * gst/gst.c: (init_post):
2640 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
2642 * gst/glib-compat-private.h:
2643 * gst/glib-compat.c:
2644 * gst/glib-compat.h:
2645 * gst/gstvalue.c: (gst_value_serialize_flags):
2646 remove GLib 2.6 compatibility code
2648 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
2650 * gst/parse/Makefile.am:
2651 Fix build with 'make -j N' even more (#340016).
2653 2006-06-12 Wim Taymans <wim@fluendo.com>
2655 * docs/gst/gstreamer-sections.txt:
2658 2006-06-12 Wim Taymans <wim@fluendo.com>
2660 * gst/gstsegment.c: (gst_segment_set_duration),
2661 (gst_segment_set_last_stop), (gst_segment_set_seek),
2662 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2663 (gst_segment_to_running_time), (gst_segment_clip):
2664 Use G_UNLIKELY to help the compiler a bit.
2666 2006-06-12 Wim Taymans <wim@fluendo.com>
2668 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
2670 * gst/gstevent.c: (gst_event_get_type):
2672 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2674 constify quark registration strings. Fixes #344115
2675 Avoid unneeded type checking is _pad_push() by internally
2676 calling gst_pad_chain_unchecked().
2678 2006-06-12 Wim Taymans <wim@fluendo.com>
2680 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
2681 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
2682 (gst_subbuffer_finalize), (gst_buffer_create_sub),
2683 (gst_buffer_is_span_fast), (gst_buffer_span):
2684 Init _type for consistency.
2685 Use _FLAGS macro to avoid type check.
2686 Avoid unneeded type checks in subbufer code.
2688 2006-06-12 Wim Taymans <wim@fluendo.com>
2690 * gst/gst.c: (gst_debug_help):
2691 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
2692 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2693 (gst_plugin_feature_list_free):
2694 * gst/gstregistry.c: (gst_registry_add_plugin),
2695 (gst_registry_add_feature), (gst_registry_plugin_filter),
2696 (gst_registry_feature_filter), (gst_registry_find_plugin),
2697 (gst_registry_find_feature), (gst_registry_get_plugin_list),
2698 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
2699 * gst/gstregistryxml.c: (load_feature),
2700 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
2701 * gst/gstminiobject.c: (gst_mini_object_unref),
2702 (gst_mini_object_replace), (gst_value_mini_object_free),
2703 (gst_value_mini_object_copy):
2704 Use _CAST macros to avoid unneeded type checking.
2705 Added some more G_UNLIKELY.
2707 2006-06-12 Wim Taymans <wim@fluendo.com>
2710 Avoid unneeded type checking.
2711 API: GST_BUFFER_IS_DISCONT
2713 * gst/gstminiobject.h:
2714 Avoid type check in flag accessor.
2716 * gst/gstelementfactory.h:
2718 * gst/gstpluginfeature.h:
2720 API: GST_ELEMENT_FACTORY_CAST
2721 API: GST_PLUGIN_CAST
2722 API: GST_PLUGIN_FEATURE_CAST
2724 2006-06-12 Wim Taymans <wim@fluendo.com>
2726 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
2728 Add G_UNLIKELY in type registration.
2729 Avoid type check in _ref/_unref since that is also
2732 2006-06-12 Wim Taymans <wim@fluendo.com>
2734 * gst/gsterror.c: (gst_g_error_get_type):
2735 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2736 (gst_static_pad_template_get_type):
2737 * gst/gsttaglist.c: (gst_tag_list_get_type):
2738 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
2739 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
2740 * gst/gsturi.c: (gst_uri_handler_get_type):
2741 * gst/gstvalue.c: (gst_date_get_type):
2742 * gst/gstxml.c: (gst_xml_get_type):
2743 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2744 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2745 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
2746 Add G_UNLIKELY in type registration.
2748 2006-06-12 Wim Taymans <wim@fluendo.com>
2750 * tools/gst-inspect.c: (print_signal_info):
2751 Properly print enum values.
2753 2006-06-12 Wim Taymans <wim@fluendo.com>
2755 * gst/gstinfo.c: (gst_debug_set_active),
2756 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
2758 Add some G_[UN]LIKELY.
2759 Maintain __gst_debug_min to avoid formatting the arguments of
2760 debug messages that will be dropped anyway to avoid a lot of
2761 overhead from the debugging system.
2763 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2767 add missing files containing translatable strings, tell intltool about
2770 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2772 * tests/check/libs/.cvsignore:
2773 add test-binary to ignore list
2775 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2777 * docs/libs/gstreamer-libs-docs.sgml:
2778 reorder (put dp into a chapter) and indent
2780 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2785 === release 0.10.8 ===
2787 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2790 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2792 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2794 * gst/gst.c: (init_post):
2795 move pid declaration to declaration block
2797 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2799 * gst/gst.c: (init_post):
2800 use _exit() instead of exit() in our forked child; this ensures
2801 that none of the registered exit handlers from whatever is using
2802 GStreamer get executed. This fixes gnome-mixer-applet failing
2803 to load, because ORBit would shut down.
2804 Spotted by: Edward Hervey <edward@fluendo.com>
2805 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
2808 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2813 === release 0.10.7 ===
2815 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2818 releasing 0.10.7, "Soepeke, ik zie ou"
2820 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
2843 * win32/common/config.h:
2846 2006-06-07 Wim Taymans <wim@fluendo.com>
2848 * gst/gstindex.c: (gst_index_gtype_resolver):
2849 * tools/gst-xmlinspect.c: (print_plugin_info):
2850 Fix leak spotted by coverity checker. Fixes #343827
2851 Fix another other leak found by paolo borelli.
2853 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2855 * libs/gst/dataprotocol/dataprotocol.c:
2856 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2857 (gst_dp_version_get_type), (gst_dp_init),
2858 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2859 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2860 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2861 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2862 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2863 (gst_dp_packetizer_free):
2864 * libs/gst/dataprotocol/dataprotocol.h:
2865 API: add a GstDPPacketizer object, and create/free functions
2866 API: add GstDPVersion enum
2867 Add 1.0 event function that uses the string serialization
2868 Serialize more useful buffer flags
2871 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2873 * tests/check/Makefile.am:
2874 * tests/check/gst/gstabi.c:
2875 * tests/check/gst/struct_ppc64.h:
2876 * tests/check/libs/libsabi.c:
2877 * tests/check/libs/struct_ppc64.h:
2878 add ppc64 structure sizes
2880 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2882 * tests/check/Makefile.am:
2883 * tests/check/gst/gstabi.c:
2884 * tests/check/gst/struct_x86_64.h:
2885 * tests/check/libs/libsabi.c:
2886 * tests/check/libs/struct_x86_64.h:
2887 generate and add structure size lists for x86_64
2889 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2891 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2892 * libs/gst/check/gstcheck.h:
2893 factor out the method from tests that checks size of structures,
2894 and add code to generate the header containing these sizes
2895 * tests/check/gst/gstabi.c: (GST_START_TEST):
2896 * tests/check/gst/struct_i386.h:
2897 * tests/check/libs/libsabi.c: (GST_START_TEST):
2898 * tests/check/libs/struct_i386.h:
2901 2006-06-06 Michael Smith <msmith@fluendo.com>
2904 Don't use c++-style comments, fixes #343929
2906 2006-06-05 Edward Hervey <edward@fluendo.com>
2909 plugin_paths is not used if we build without registry support.
2911 * gst/gstsegment.c: (gst_segment_copy):
2912 _copy() was always returning NULL...
2914 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2916 * libs/gst/dataprotocol/dataprotocol.c:
2917 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2918 (gst_dp_packet_from_event):
2921 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2923 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
2924 make sure we unset caps
2926 2006-06-02 Michael Smith <msmith@fluendo.com>
2928 * libs/gst/check/gstcheck.c: (gst_check_init),
2929 (gst_check_chain_func):
2930 * libs/gst/check/gstcheck.h:
2931 Add a cond/mutex to the check support lib, signal this whenever we
2932 add to the buffers list. This will allow tests to not busy-wait on
2935 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2937 * libs/gst/dataprotocol/dataprotocol.c:
2938 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2939 (gst_dp_packet_from_event):
2940 factor out some common header init code
2942 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2944 * docs/libs/gstreamer-libs-sections.txt:
2945 * docs/libs/tmpl/gstdataprotocol.sgml:
2946 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
2947 * libs/gst/dataprotocol/dataprotocol.h:
2948 API: make gst_dp_crc() public
2950 2006-06-01 Stefan Kost <ensonic@users.sf.net>
2952 * plugins/indexers/gstindexers.c: (plugin_init):
2953 conditionally register fileindexer (fixes #343598)
2955 2006-06-01 Stefan Kost <ensonic@users.sf.net>
2957 * gst/gsttagsetter.h:
2958 Can't cast ifaces to a class
2960 * libs/gst/net/gstnetclientclock.h:
2961 * libs/gst/net/gstnettimeprovider.h:
2962 * plugins/elements/gstfakesink.h:
2963 * plugins/elements/gstfakesrc.h:
2964 * plugins/elements/gstfdsink.h:
2965 * plugins/elements/gstfdsrc.h:
2966 * plugins/elements/gstfilesink.h:
2967 * plugins/elements/gstfilesrc.h:
2968 * plugins/elements/gstidentity.h:
2969 * plugins/elements/gstqueue.h:
2970 * plugins/elements/gsttee.h:
2971 * plugins/indexers/gstfileindex.c:
2972 * plugins/indexers/gstmemindex.c:
2973 * tests/old/examples/plugins/example.h:
2974 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2976 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
2978 * libs/gst/dataprotocol/dataprotocol.c:
2979 (gst_dp_header_from_buffer):
2980 make sure we zero the whole ABI-compatible area
2982 2006-06-01 Wim Taymans <wim@fluendo.com>
2984 Patch by: Alessandro Decina <alessandro at nnva dot org>
2986 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
2987 Make sure the EOS flag is cleared from pads after a flush
2988 or stop. Fixes #343538.
2990 * tests/check/libs/collectpads.c: (GST_START_TEST),
2991 (gst_collect_pads_suite):
2992 Added test for collectpads reusage after EOS.
2994 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
2997 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
2998 * win32/common/libgstbase.def:
2999 export gst_collect_pads_set_flushing
3000 * win32/common/libgstreamer.def:
3001 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
3002 gst_value_fraction_multiply
3003 * win32/vs6/gst_inspect.dsp:
3004 add a link to intl.lib
3006 2006-05-30 Wim Taymans <wim@fluendo.com>
3008 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3009 (gst_collect_pads_chain):
3010 Handle the case where a pad is removed from the collection
3011 that could cause the other pads to become collectable.
3013 2006-05-30 Wim Taymans <wim@fluendo.com>
3016 Clarify the use of _release_request_pad() and
3017 _get_request_pad() a bit better.
3019 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
3020 (gst_adapter_take_buffer):
3021 Fix some doc and comment typos.
3023 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
3025 * docs/gst/gstreamer-sections.txt:
3026 * docs/libs/gstreamer-libs-sections.txt:
3027 add declared symbols
3029 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
3031 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
3032 Add debug that can be enabled using a #define at the top of the file,
3033 for dumping stats about how late/early we were when waking up from
3034 waiting on the clock.
3036 2006-05-30 Wim Taymans <wim@fluendo.com>
3038 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
3039 When rebuilding the pad list, don't leak the previous list.
3041 2006-05-30 Wim Taymans <wim@fluendo.com>
3043 Patch by: Lutz Mueller <lutz at topfrose dot de>
3045 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3046 (gst_base_src_get_query_types), (gst_base_src_update_length):
3047 Publish supported query types.
3048 Update last_stop field in get_range mode so the position
3049 query works. Fixes #342321.
3051 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
3053 * docs/gst/gstreamer-sections.txt:
3054 * gst/gsttaglist.c: (_gst_tag_initialize):
3056 API: add GST_TAG_PREVIEW_IMAGE (#343341).
3058 2006-05-30 Wim Taymans <wim@fluendo.com>
3060 Patch by: Alessandro Decina <alessandro at nnva dot org>
3062 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
3063 Unlock mutex when removing an unknown pad.
3066 * tests/check/Makefile.am:
3067 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
3068 (push_event), (setup), (teardown), (GST_START_TEST),
3069 (gst_collect_pads_suite), (main):
3070 Added collecpads check, disabled for now as check crashes for
3073 2006-05-29 Wim Taymans <wim@fluendo.com>
3075 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
3076 Don't leak pads lists.
3078 2006-05-29 Wim Taymans <wim@fluendo.com>
3080 * docs/libs/gstreamer-libs-sections.txt:
3081 * libs/gst/base/gstcollectpads.c:
3082 (gst_collect_pads_set_flushing_unlocked),
3083 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3084 (gst_collect_pads_stop):
3085 * libs/gst/base/gstcollectpads.h:
3086 API: gst_collect_pads_set_flushing()
3087 Added api to set the pads to flushing, useful for seeking
3088 code in elements using collectpads.
3089 Clear segment when receiving a flush.
3091 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
3093 * gst/gst.c: (add_path_func), (init_post):
3094 Don't scan registry paths passed via --gst-plugin-path immediately
3095 (will crash, because absolutely nothing is set up and no types are
3096 registered etc.); do this later in init_post(). Fixes #343057.
3098 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
3100 * gst/gst.c: (init_post):
3101 if we have fork, fork while reading/rebuilding the registry
3102 so the parent doesn't take the hit of having all plugins loaded
3103 in memory. Fixes #342777.
3105 Check if we have fork()
3106 * win32/common/config.h.in:
3109 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
3111 * plugins/elements/gstelements.c:
3112 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
3113 (gst_file_src_init), (gst_file_src_set_property),
3114 (gst_file_src_get_property), (gst_file_src_start):
3115 * plugins/elements/gstfilesrc.h:
3116 API: GstFileSrc::use-mmap
3118 Add a use-mmap property to enable easier testing of all code paths.
3119 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
3120 in the absence of gnomevfssrc. (Closes #340501)
3122 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3124 * tools/gst-inspect.c:
3125 Add missing include, removes warning of ngettext not being defined on
3128 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
3130 * gst/gstvalue.c: (gst_value_deserialize_fraction):
3131 Handle NULL input and output pointers silently as a failed conversion,
3132 rather than g_warnings.
3134 2006-05-25 Wim Taymans <wim@fluendo.com>
3136 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
3137 Initialize variable before using. Fixes #342820.
3139 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
3141 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
3142 Fix off-by-one bug that would only allow peeks of N-1 bytes
3143 from the start even if the buffer to typefind on contains
3144 in fact N bytes of data (makes vorbis typefinding from a
3145 vorbis identification header buffer work).
3147 * tests/check/Makefile.am:
3148 * tests/check/libs/.cvsignore:
3149 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
3150 (gst_typefindhelper_suite), (main), (foobar_typefind),
3152 Add very basic unit test for gst_type_find_helper_for_buffer()
3153 that checks for the problem fixed above.
3155 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
3157 * tools/gst-inspect.c: (print_interfaces),
3158 (print_element_properties_info), (print_element_list), (main):
3159 add more translatable strings
3161 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
3163 Patch by: Julien Moutte <julien at moutte net>
3165 * docs/gst/gstreamer-sections.txt:
3166 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
3168 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3169 (gst_fake_sink_preroll):
3170 * plugins/elements/gstfakesink.h:
3171 API: Add new GstFakeSink::preroll-handoff signal (#337100).
3173 2006-05-23 Wim Taymans <wim@fluendo.com>
3175 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
3177 Added _CUSTOM error and success GstFlowReturn that can be
3178 used be elements internally.
3179 Added macro to check for SUCCESS flowreturns.
3180 API: GST_FLOW_CUSTOM_SUCCESS
3181 API: GST_FLOW_CUSTOM_ERROR
3182 API: GST_FLOW_IS_SUCCESS
3184 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3185 Added check for GstFlowReturn sanity.
3187 2006-05-23 Wim Taymans <wim@fluendo.com>
3189 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3191 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3192 (gst_collect_pads_event):
3193 clear/reset segment info in FLUSH_STOP.
3196 2006-05-22 Stefan Kost <ensonic@users.sf.net>
3198 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
3199 (gst_collect_pads_check_collected):
3200 Flush queued buffer on _stop(), fixes playing again (#342454)
3202 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
3204 * tests/check/gst/gststructure.c: (GST_START_TEST),
3205 (gst_structure_suite):
3206 add a test for a complete structure
3208 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
3210 * docs/faq/developing.xml:
3212 * docs/faq/troubleshooting.xml:
3213 * docs/faq/using.xml:
3214 Some minor FAQ updates that won't change the fact that
3215 our FAQ is badly structured, full of information hardly
3216 anyone new to GStreamer needs to know and lacking lots
3217 of information people constantly ask for.
3219 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
3221 * gst/gstpad.c: (gst_pad_set_caps):
3222 Short-circuit gst_pad_set_caps if setting the existing
3223 caps pointer again, and avoid printing debug and
3224 reffing/unreffing the caps.
3226 * plugins/elements/gstqueue.c: (gst_queue_push_one):
3227 There's actually no need to set the caps before pushing -
3228 the acceptcaps method will handle it anyway.
3230 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
3232 * docs/gst/gstreamer-sections.txt:
3233 * win32/common/libgstreamer.def:
3234 * gst/gstutils.c: (gst_element_seek_simple):
3236 API: add gst_element_seek_simple() (#342238).
3238 2006-05-18 Edward Hervey <edward@fluendo.com>
3240 * gst/gsttypefind.c: (gst_type_find_get_type):
3241 * gst/gsttypefind.h:
3242 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
3243 registered for GstTypeFind pointers. This allows wrapping the structure
3244 in bindings (i.e. gst-python).
3246 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
3248 * gst/gsttagsetter.c:
3249 Docs additions and fixes (see #339918).
3251 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
3253 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3254 The caps intersection algorithm can produce multiple copies of the
3255 caps. Until that is fixed, we need to simplify the result to be
3256 sure whether the allowed caps are fixed or not.
3258 * plugins/elements/gstqueue.c: (gst_queue_init),
3259 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
3260 (gst_queue_push_one):
3261 Proxied buffer alloc should not set the caps on the source pad.
3262 When pushing buffers, we always accept the caps change that triggers.
3263 This prevents negotiation errors caused by caps changing mid-stream
3264 and then being refused on our source pad (because upstream is now
3265 refusing those caps).
3267 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
3269 * tests/examples/helloworld/helloworld.c: (main):
3270 Must plug audioconvert and audioresample between decoder
3273 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
3275 * gst/gstregistryxml.c: (read_string), (load_pad_template),
3276 (load_feature), (load_plugin):
3277 Allow empty strings for some of the plugin fields so we don't
3278 drop valid plugin entries that were written out correctly
3281 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
3283 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
3284 Use g_remove and g_rename instead of remove and rename that don't
3285 handle utf8 characters. rename was failing for users who had specific
3286 characters in their name then the registry was built at each
3288 * win32/vs6/gst_inspect.dsp:
3289 * win32/vs6/gst_launch.dsp:
3290 * win32/vs6/libgstbase.dsp:
3291 * win32/vs6/libgstcoreelements.dsp:
3292 * win32/vs6/libgstreamer.dsp:
3293 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
3294 build of libgstreamer and clean unused libraries in projects link
3297 2006-05-17 Edward Hervey <edward@fluendo.com>
3299 * plugins/elements/gstqueue.c: (gst_queue_push_one):
3300 The queue is not responsible for pushing an EOS when receiving a fatal
3301 flow error. It's up to the real element driving the pipeline to do that.
3303 2006-05-16 Edward Hervey <edward@fluendo.com>
3305 * plugins/elements/gstqueue.c: (gst_queue_push_one):
3306 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
3307 buffer returned a fatal error. It should just send an EOS and stop
3309 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
3310 when pushing buffers on the queue and will be able to handle the event.
3312 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
3314 * docs/manual/basics-bins.xml:
3315 * docs/manual/basics-init.xml:
3316 Fix typos and minor errors in sample code (#341856).
3318 2006-05-16 Wim Taymans <wim@fluendo.com>
3320 * docs/design/part-qos.txt:
3321 Fix indexes in formulas to make more sense.
3323 2006-05-15 Wim Taymans <wim@fluendo.com>
3325 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3326 Don't report POSITION based on clock time if sync is
3329 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
3332 Add cast to make compiler happy - refcount variable was a gint
3333 in GstObject but is a guint in GObject and g_atomic_int_get()
3336 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
3338 * gst/parse/Makefile.am:
3339 chain commands using &&, which also makes parallel make work
3341 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
3343 * docs/gst/gstreamer-sections.txt:
3349 === release 0.10.6 ===
3351 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
3354 releasing 0.10.6, "Take the cannoli"
3356 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
3358 * tools/gst-launch.c: (print_tag):
3359 Fix use of uninitialized variable in the hypothetical
3360 case that some broken plugin creates a GST_TAG_IMAGE
3361 tag containing a NULL buffer (#341667).
3363 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
3365 * tools/gst-launch.c: (print_tag):
3366 Print something more intelligible for image tags when
3367 using the -t switch (#341556).
3369 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
3374 define GST_MAJORMINOR so we have it available in win32/common/config.h
3375 Possibly remove it from our Makefile.am files later
3376 * win32/common/config.h:
3377 * win32/common/config.h.in:
3378 added GST_MAJORMINOR
3379 * win32/common/gstenumtypes.c: (register_gst_resource_error):
3380 * win32/common/gstversion.h:
3383 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
3386 Update win32 files listing.
3387 * win32/common/gstversion.h:
3388 Add GST_MAJORMINOR definition.
3389 * win32/common/libgstreamer.def:
3390 Add new exported functions.
3392 2006-05-12 Michael Smith <msmith@fluendo.com>
3394 * gst/gstplugin.c: (gst_plugin_load_file):
3395 If an so file has no plugin entry point, unload the module.
3397 2006-05-11 Wim Taymans <wim@fluendo.com>
3399 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
3400 (gst_queue_set_property):
3401 Don't forget to signal the _chain or _loop function
3402 when the queue size or thresholds change since that might
3403 cause them to make progres again.
3405 2006-05-11 Stefan Kost <ensonic@users.sf.net>
3407 * gst/gstclock.c: (gst_clock_class_init):
3408 * gst/gstindex.c: (gst_index_class_init):
3409 * gst/gstobject.c: (gst_object_class_init):
3410 * gst/gstpad.c: (gst_pad_class_init):
3411 * gst/gstpipeline.c: (gst_pipeline_class_init):
3412 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3413 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3414 * libs/gst/base/gstbasetransform.c:
3415 (gst_base_transform_class_init):
3416 * libs/gst/net/gstnetclientclock.c:
3417 (gst_net_client_clock_class_init):
3418 * libs/gst/net/gstnettimeprovider.c:
3419 (gst_net_time_provider_class_init):
3420 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3421 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3422 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3423 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3424 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3425 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3426 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3427 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3428 * plugins/elements/gsttee.c: (gst_tee_class_init):
3429 * tests/old/examples/plugins/example.c: (gst_example_class_init):
3430 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3431 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
3433 2006-05-11 Wim Taymans <wim@fluendo.com>
3435 * gst/gstbuffer.c: (_gst_buffer_initialize):
3436 Register subbufer along with the buffer type so that
3437 it does not accidentally gets registered from N
3438 different streaming threads in a non threadsafe way.
3440 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
3445 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
3446 gst_event_ref() and gst_message_ref() functions again
3447 (ugly hack, please do fix if there's a better way besides
3448 overrides.txt, which doesn't seem to work).
3450 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3452 * libs/gst/check/gstcheck.h:
3453 add an assert for setting state to avoid lots of repetitive code
3456 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3458 * gst/gstvalue.c: (gst_value_serialize_flags):
3459 fix a leak if no flags are set
3460 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3463 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
3465 * docs/manual/basics-pads.xml:
3466 Expand a bit on caps and filtered links and update
3467 examples that were still using the no longer existing
3468 gst_pad_link_filtered() (#338206).
3470 2006-05-10 Wim Taymans <wim@fluendo.com>
3472 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3473 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3474 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3475 (gst_collect_pads_stop):
3476 * libs/gst/base/gstcollectpads.h:
3477 No need to call _stop in _finalize.
3478 Iterate the main pad list in _finalize.
3479 Added some more debug.
3480 Free lists and data in the right order.
3481 Also free data whem doing _remove_pad when stopped for
3482 backward compatibility protect ::started with PAD_LOCK as
3485 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3487 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
3488 (gst_structure_parse_value):
3490 rename a method so that it actually says what it does better
3492 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3494 * gst/gstevent.c: (_gst_event_initialize):
3495 * gst/gstformat.c: (_gst_format_initialize):
3496 make sure some essential types used by events are registered
3497 as part of gst_init()
3498 * gst/gstvalue.c: (gst_value_serialize_flags):
3499 if no flags are set, serialize them to a value that represents NONE
3500 so that deserializing them works
3501 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3502 add tests for serialization and deserialization of flags
3504 2006-05-10 Wim Taymans <wim@fluendo.com>
3506 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
3507 (gst_collect_pads_collect_range), (gst_collect_pads_available),
3508 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
3509 (gst_collect_pads_event), (gst_collect_pads_chain):
3512 Catch and return errors from the collect function
3513 Refuse data on eos pads.
3515 2006-05-10 Edward Hervey <edward@fluendo.com>
3517 * gst/gstinterface.h:
3518 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
3519 GInterface type checking.
3520 They were previously using non-defined macros.
3522 2006-05-09 Wim Taymans <wim@fluendo.com>
3524 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
3525 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
3526 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
3527 (gst_collect_pads_start), (gst_collect_pads_stop),
3528 (gst_collect_pads_peek), (gst_collect_pads_pop),
3529 (gst_collect_pads_available), (gst_collect_pads_read),
3530 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
3531 (gst_collect_pads_is_collected), (gst_collect_pads_event),
3532 (gst_collect_pads_chain):
3533 * libs/gst/base/gstcollectpads.h:
3534 Clean up the mess that is collectpads, add comments and
3535 FIXMEs where needed.
3536 Maintain a separate pad list so we can add pads while
3537 collecting the other ones. For this we need a new separate
3539 Fix memory leak in finalize.
3540 Refactor some weird code to set/unset pad flushing flags, mark
3542 Don't crash in _available, _read, _flush when we're EOS.
3544 * tests/check/libs/.cvsignore:
3545 Ignore adapter check binary.
3547 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3549 * gst/gstindex.c: (gst_index_resolver_get_type):
3550 * plugins/elements/gstfakesink.c:
3551 (gst_fake_sink_state_error_get_type):
3552 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
3553 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
3554 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3555 Const-ify GEnumValue arrays.
3557 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3559 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3560 Add test case for flags + gst_buffer_make_metadata_writable().
3562 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3564 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
3565 gst_buffer_make_metadata_writable() should maintain the
3566 buffer flags (those that make sense at least) (see #340859).
3568 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3570 * tools/gst-inspect.c:
3571 * tools/gst-launch.c:
3572 * tools/gst-typefind.c:
3573 * tools/gst-xmlinspect.c:
3575 Fix up includes: need to include stdlib.h in tools.h for exit().
3577 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3579 * gst/gsttaglist.c: (_gst_tag_initialize):
3581 API: add GST_TAG_IMAGE tag (#340721).
3583 2006-05-08 Wim Taymans <wim@fluendo.com>
3586 Added some docs for the segment query.
3588 2006-05-08 Wim Taymans <wim@fluendo.com>
3590 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3591 (gst_base_src_loop), (gst_base_src_change_state):
3592 Always push non-flushing serialized events in the streaming
3595 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
3597 * gst/gsterror.c: (_gst_stream_errors_init):
3598 Add a missing error string.
3600 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
3602 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
3603 Add applied_rate to the debug
3605 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3606 Copy applied_rate into the outgoing NEWSEGMENT event
3608 2006-05-08 Wim Taymans <wim@fluendo.com>
3610 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
3612 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3613 (gst_base_sink_change_state):
3614 call ::unlock before taking the PREROLL_LOCK so we can safely
3615 handle elements that lock in ::render.
3618 2006-05-08 Edward Hervey <edward@fluendo.com>
3620 * autogen.sh: (CONFIGURE_DEF_OPT):
3621 Darwin's libtoolize is in fact called glibtoolize.
3622 Adding glibtoolize to the list of accepted names for libtoolize.
3624 2006-05-08 Wim Taymans <wim@fluendo.com>
3626 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3627 Unify error handling, don't post an error message
3628 when a push() returns EOS but perform our normal EOS
3629 handling code. Fixes #340772.
3631 2006-05-08 Wim Taymans <wim@fluendo.com>
3633 * docs/design/part-overview.txt:
3634 Make upsteam/downstream concepts more clear.
3635 Give an example of serialized/non-serialized events.
3637 * docs/design/part-events.txt:
3638 * docs/design/part-streams.txt:
3639 Mention applied_rate.
3641 * docs/design/part-trickmodes.txt:
3642 Mention applied rate, flesh out some more use cases.
3644 * gst/gstevent.c: (gst_event_new_new_segment),
3645 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
3646 (gst_event_parse_new_segment_full), (gst_event_new_tag),
3647 (gst_event_parse_tag), (gst_event_new_buffer_size),
3648 (gst_event_parse_buffer_size), (gst_event_new_qos),
3649 (gst_event_parse_qos), (gst_event_parse_seek),
3650 (gst_event_new_navigation):
3652 Add applied_rate field to NEWSEGMENT event.
3653 API: gst_event_new_new_segment_full()
3654 API: gst_event_parse_new_segment_full()
3656 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
3657 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
3658 (gst_segment_to_stream_time), (gst_segment_to_running_time):
3660 Add applied_rate to GstSegment structure.
3661 Make calculation of stream_time and running_time more correct
3662 wrt rate/applied_rate.
3664 API: GstSegment::applied_rate field
3665 API: gst_segment_set_newsegment_full();
3667 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3668 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
3669 * libs/gst/base/gstbasetransform.c:
3670 (gst_base_transform_sink_eventfunc),
3671 (gst_base_transform_handle_buffer):
3672 Parse and use applied_rate in the GstSegment field.
3674 * tests/check/gst/gstevent.c: (GST_START_TEST):
3675 Add check for applied_rate field.
3677 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3678 (gstsegments_suite):
3679 Add more checks for various GstSegment operations.
3681 2006-05-08 Wim Taymans <wim@fluendo.com>
3683 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3684 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
3685 (gst_base_sink_get_position), (gst_base_sink_change_state):
3686 Store the sync time of the buffer end position separatly in a
3687 new variable eos_rtime so we can properly sync the EOS event.
3689 Fix the docs for gst_base_sink_set_qos_enabled().
3690 Don't set segment start to invalid value when we receive a
3691 non TIME newsegment.
3692 get closer to handling position reporting for negative rates
3695 2006-05-07 Stefan Kost <ensonic@users.sf.net>
3698 Docs about how to print caps for debug purposes.
3700 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
3701 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
3703 2006-05-07 Stefan Kost <ensonic@users.sf.net>
3706 use full enum names and preprend a '%' in docs strings to make recent
3707 gtk-doc turn that into a link
3709 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3711 * docs/manual/basics-bins.xml:
3712 * docs/manual/basics-bus.xml:
3713 * docs/manual/basics-pads.xml:
3714 Some typo fixes, some additions, some clarifications.
3716 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3718 * tools/gst-inspect.c: (main):
3719 * tools/gst-launch.c: (main):
3720 * tools/gst-run.c: (main):
3721 * tools/gst-typefind.c: (main):
3722 * tools/gst-xmlinspect.c: (main):
3723 Use the string passed to g_option_context_new() for
3724 what it's intended for - the program name is already
3727 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3729 * tools/Makefile.am:
3730 * tools/gst-inspect.c: (main):
3731 * tools/gst-launch.c: (main):
3732 * tools/gst-xmlinspect.c: (main):
3734 Add back --version command line option (#340460).
3736 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
3737 Add --version option and use GOption for argument parsing; refactor a
3738 bit; accept directories as arguments and recurse into them; lastly,
3739 print a decent error message when things go wrong.
3741 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3743 * docs/manual/basics-bins.xml:
3744 Don't mention GstThread (#340611)
3745 * docs/manual/basics-elements.xml:
3746 Update link to GObject tutorial (#340607)
3748 2006-05-05 Wim Taymans <wim@fluendo.com>
3751 * gst/gstminiobject.c:
3752 Add note about refcounting and miniobject/buffer writeability
3753 to docs. Fixes #340604
3755 * gst/gstelementfactory.h:
3756 Added some explanation about @klass.
3758 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3760 * docs/manual/intro-motivation.xml:
3761 * docs/manual/manual.xml:
3762 Avoid CORBA & Bonobo references (#340598)
3764 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3766 * docs/manual/basics-bus.xml:
3767 * docs/manual/basics-pads.xml:
3768 Fix up some inaccuracies and omissions (#340609)
3770 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3772 * gst/gstghostpad.c:
3773 Small typo in docs (#340625)
3775 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3777 * gst/parse/Makefile.am:
3778 Make 'make -j' proof (see #340698).
3780 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3783 Require GLib-2.8 here as well.
3785 2006-05-05 Wim Taymans <wim@fluendo.com>
3787 * gst/glib-compat.c:
3788 * gst/gst.c: (init_pre):
3789 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3790 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3791 (gst_object_dispatch_properties_changed):
3793 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3794 * gst/gststructure.c: (gst_structure_set_valist):
3795 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3796 Remove pre glib2.8 compatibility, fixes #340508
3798 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3801 Mention type of tags in doc blurbs.
3803 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
3805 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3806 (gst_pad_configure_src), (gst_pad_push):
3807 Restore acceptcaps checking behaviour now that good plugins have
3810 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3812 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3823 * gst/parse/Makefile.am:
3824 * libs/gst/base/gstadapter.c:
3825 * libs/gst/base/gstbasesrc.c:
3826 * libs/gst/base/gstpushsrc.c:
3827 * libs/gst/base/gsttypefindhelper.c:
3828 * plugins/elements/gstfakesrc.c:
3829 * plugins/elements/gstidentity.c:
3830 Make sure gstprivate.h and/or config.h are
3831 always included first, otherwise some of our
3832 defines (like _FILE_OFFSET_BITS) might be
3833 redefined in the system headers. Fixes build
3834 on opensolaris (#340016).
3836 2006-05-04 Wim Taymans <wim@fluendo.com>
3838 * docs/libs/gstreamer-libs-sections.txt:
3839 API: addition: gst_adapter_take_buffer()
3841 * libs/gst/base/gstadapter.c: (gst_adapter_push),
3842 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3843 (gst_adapter_available_fast):
3844 * libs/gst/base/gstadapter.h:
3845 Prepare for optimizing the hell out of this hugely inefficient
3847 Added gst_adapter_take_buffer() so we can at least start thinking
3848 about subbuffering and merging.
3849 Added some comments.
3851 * tests/check/Makefile.am:
3852 * tests/check/libs/adapter.c: (GST_START_TEST),
3853 (gst_adapter_suite), (main):
3854 Added GstAdapter check.
3856 2006-05-04 Wim Taymans <wim@fluendo.com>
3858 * docs/design/part-overview.txt:
3859 Fix some typos, add blurb about buffer flags.
3861 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
3863 * docs/libs/gstreamer-libs-sections.txt:
3864 make sure GstBaseTransformClass shows up in the docs
3865 * libs/gst/base/gstbasetransform.c:
3866 * libs/gst/base/gstbasetransform.h:
3867 move docs so gtk-doc picks it up now
3869 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3871 * docs/libs/gstreamer-libs-sections.txt:
3872 add missing symbols to docs
3874 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3876 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3877 back out the newsegment handling change, see #340060 for ongoing
3880 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
3882 * tools/gst-run.c: (get_candidates), (main):
3883 Fix wrong g_file_test() usage (see glib docs for why it doesn't
3884 work); fix typo in error message. Fixes #340079.
3886 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
3888 * common/Makefile.am:
3890 * docs/faq/Makefile.am:
3891 * docs/gst/Makefile.am:
3892 * docs/libs/Makefile.am:
3893 * docs/manual/Makefile.am:
3894 * docs/plugins/Makefile.am:
3895 * docs/pwg/Makefile.am:
3896 * docs/slides/Makefile.am:
3898 * common/upload.mak:
3899 move upload.mak to common
3901 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
3903 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3904 add more asserts on refcounts
3905 do more cleanup at end of tests
3906 fix test leaks showing in FC5
3908 2006-04-29 Stefan Kost <ensonic@users.sf.net>
3910 * plugins/elements/gsttypefindelement.c:
3911 (gst_type_find_element_handle_event):
3912 reverted wrong change and reflowed code to avoid others falling into
3915 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3917 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3918 fix changelog entry about last collectpads change,
3919 add notes about proper fix
3921 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3924 * gst/gstregistry.c: (gst_registry_scan_path_level),
3925 (gst_registry_scan_path):
3926 * gst/gstregistry.h:
3927 only write out registry if it has changed, fixes #338339
3929 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3932 * gst/gstpipeline.c:
3933 * plugins/elements/gstcapsfilter.c:
3934 * plugins/elements/gstfakesink.c:
3935 * plugins/elements/gstfakesrc.c:
3936 * plugins/elements/gstfdsink.c:
3937 * plugins/elements/gstfdsrc.c:
3938 * plugins/elements/gstfilesink.c:
3939 * plugins/elements/gstfilesrc.c:
3940 * plugins/elements/gstidentity.c:
3941 * plugins/elements/gstqueue.c:
3942 * plugins/elements/gsttee.c:
3943 * plugins/elements/gsttypefindelement.c:
3944 (gst_type_find_element_handle_event):
3945 make GstElementDetails const
3947 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3949 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3950 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3951 (gst_collect_pads_is_collected), (gst_collect_pads_event):
3952 more detailed debug and formatting cleanup,
3953 forward newsegments to src-pad (so that e.g. adder not eats them)
3955 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3957 * gst/gstutils.c: (gst_element_link_pads):
3960 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3962 * libs/gst/controller/gstcontroller.c:
3963 (gst_controller_sync_values):
3965 * tests/check/libs/controller.c: (GST_START_TEST),
3966 (gst_controller_suite):
3967 a new test for live value handling
3969 2006-04-28 Wim Taymans <wim@fluendo.com>
3971 * gst/gstutils.c: (push_and_ref):
3972 Added some more docs.
3973 Fix refcount issue whith gst_element_found_tags() helper
3974 function. Fixes #338335
3976 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3977 Added testsuite for gst_element_found_tags().
3979 2006-04-28 Michael Smith <msmith@fluendo.com>
3981 * gst/gstvalue.c: (gst_value_serialize_flags):
3982 Avoid NULL dereference when trying to serialize flags containing
3985 2006-04-28 Michael Smith <msmith@fluendo.com>
3987 * plugins/elements/gsttypefindelement.c:
3988 (gst_type_find_element_handle_event):
3989 If we get EOS before any data is accumulated, don't use
3990 uninitialised local variables.
3992 2006-04-28 Michael Smith <msmith@fluendo.com>
3994 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3995 (gst_dp_event_from_packet):
3996 Fixes in reading/writing events over GDP (not currently used?) -
3997 dereferencing NULL events for unknown/invalid event types, memory
3998 leak, and change g_warning to GST_WARNING.
4000 2006-04-28 Wim Taymans <wim@fluendo.com>
4002 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
4003 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
4004 (gst_base_sink_get_position), (gst_base_sink_change_state):
4005 When frame dropping is enabled, we should not ignore frames
4007 Update some documentation.
4009 2006-04-28 Wim Taymans <wim@fluendo.com>
4011 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4012 (gst_base_src_send_event), (gst_base_src_change_state):
4013 Documentation updates.
4015 2006-04-28 Wim Taymans <wim@fluendo.com>
4017 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
4018 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
4019 handle EAGAIN, EINTR and short writes correctly. Also clean
4020 up some error cases, avoid a deadlock on bad file descriptors and
4021 use GST_DEBUG_OBJECT.
4024 2006-04-28 Wim Taymans <wim@fluendo.com>
4026 * gst/gstvalue.c: (gst_value_serialize_buffer),
4027 (gst_value_deserialize_buffer):
4028 Don't try to serialize a GValue with a NULL buffer.
4031 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4032 Added check for serialisation of NULL buffers.
4034 2006-04-28 Wim Taymans <wim@fluendo.com>
4036 * gst/gstminiobject.c: (gst_value_take_mini_object):
4037 Taking a NULL miniobject is valid, fix the case where
4038 we try to unref the NULL miniobject.
4040 2006-04-28 Wim Taymans <wim@fluendo.com>
4042 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
4044 * gst/gstbin.c: (gst_bin_handle_message_func):
4046 Don't leak bin refcount when a state recalc is
4047 in progress and we delay another one #339808.
4049 2006-04-28 Wim Taymans <wim@fluendo.com>
4051 * docs/design/part-TODO.txt:
4052 Mention QoS as an ongoing work item.
4054 * docs/design/part-buffering.txt:
4055 New doc about buffering that needs to be fleshed out
4058 * docs/design/part-qos.txt:
4059 More QoS policy for decoders/demuxers/transforms
4061 * docs/design/part-trickmodes.txt:
4064 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
4069 === release 0.10.5 ===
4071 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
4074 releasing 0.10.5, "Fogo"
4076 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
4078 patch by: Wim Taymans
4080 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
4081 (gst_pad_configure_src), (gst_pad_push):
4082 * gst/gstpipeline.c: (gst_pipeline_init):
4083 Fix internal data flow errors. Fixes #338711.
4085 2006-04-12 Wim Taymans <wim@fluendo.com>
4087 * tests/check/gst/gstelement.c: (GST_START_TEST):
4088 Don't leak the factory.
4090 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
4093 * win32/common/config.h:
4096 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
4098 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4099 (gst_controller_unset_all):
4100 Free allocated GstTimedValues when freeing list nodes.
4101 Should fix leaks 'make check-valgrind' complains about.
4103 * win32/common/libgstcontroller.def:
4104 Add gst_controller_unset_all.
4106 2006-04-11 Stefan Kost <ensonic@users.sf.net>
4108 * docs/libs/gstreamer-libs-sections.txt:
4109 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4110 (gst_controller_unset_all):
4111 * libs/gst/controller/gstcontroller.h:
4112 API: Added new method gst_controller_unset_all()
4113 fixed gst_controller_unset()
4114 * tests/check/libs/controller.c: (GST_START_TEST),
4115 (gst_controller_suite):
4116 Added two testcases for new and fixed method
4118 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
4120 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4121 MSG_DONTWAIT is not defined on Cygwin, so work
4122 around that (fixes #317048).
4124 2006-04-11 Wim Taymans <wim@fluendo.com>
4126 * gst/gstelementfactory.c: (gst_element_register),
4127 (gst_element_factory_create), (gst_element_factory_make):
4130 Updated docs (Fixes #131079)
4132 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4135 * tests/check/gst/gstelement.c: (GST_START_TEST),
4136 (gst_element_suite):
4137 Added testcase for elementfactory class field.
4139 2006-04-10 Wim Taymans <wim@fluendo.com>
4142 Added some more docs.
4144 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
4145 (gst_base_sink_reset_qos):
4146 Calculate more accurate rate values.
4148 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
4150 * gst/gst_private.h:
4151 add a new #ifdef to use __declspec(dllimport) only for
4152 other modules and not for gstreamer core
4153 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
4154 use gst_guint64_to_gdouble for conversion
4155 * win32/common/libgstreamer.def:
4156 add new exported functions
4157 * win32/vs6/gst_inspect.dsp:
4158 * win32/vs6/gst_launch.dsp:
4159 * win32/vs6/libgstbase.dsp:
4160 * win32/vs6/libgstcontroller.dsp:
4161 * win32/vs6/libgstcoreelements.dsp:
4162 * win32/vs6/libgstdataprotocol.dsp:
4163 * win32/vs6/libgstnet.dsp:
4164 update project files
4166 2006-04-08 Stefan Kost <ensonic@users.sf.net>
4168 * gst/gstbuffer.c: (gst_subbuffer_class_init):
4169 * gst/gstclock.c: (gst_clock_class_init):
4170 * gst/gstelement.c: (gst_element_class_init):
4171 * gst/gstindex.c: (gst_index_class_init):
4172 * gst/gstindexfactory.c: (gst_index_factory_class_init):
4173 * gst/gstobject.c: (gst_object_class_init),
4174 (gst_signal_object_class_init):
4175 * gst/gstpad.c: (gst_pad_class_init):
4176 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
4177 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
4178 * gst/gstregistry.c: (gst_registry_class_init):
4179 * gst/gstsystemclock.c: (gst_system_clock_class_init):
4180 * gst/gsttask.c: (gst_task_class_init):
4181 * gst/gstxml.c: (gst_xml_class_init):
4182 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4183 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4184 (gst_base_src_loop):
4185 * libs/gst/controller/gstcontroller.c:/
4186 (_gst_controller_class_init):
4187 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4188 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4189 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
4190 * tests/old/examples/plugins/example.c: (gst_example_class_init):
4191 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
4192 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
4194 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
4196 * gst/gstpad.c: (gst_pad_link):
4197 Must set peer pads before calling the link function, otherwise
4198 a task started from a link function might get a flow-not-linked
4199 result when trying to push because the other thread where the
4200 linking happens hasn't had a chance to set the peers yet. This
4201 might happen for example when a queue gets linked to a downstream
4202 element, as queue starts a streaming task when its source pad
4203 gets linked. Happens in real life when playing back flac/musepack
4204 files in playbin (#332390).
4206 2006-04-08 Stefan Kost <ensonic@users.sf.net>
4210 * libs/gst/base/gstadapter.h:
4211 * libs/gst/base/gstbasesink.h:
4212 * libs/gst/base/gstbasesrc.h:
4213 * libs/gst/base/gstbasetransform.h:
4214 * libs/gst/base/gstcollectpads.h:
4215 * libs/gst/base/gstpushsrc.h:
4216 Fix broken GObject macros
4218 2006-04-07 Wim Taymans <wim@fluendo.com>
4220 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4221 Initialize start and stop times, thanks valgrind.
4223 2006-04-07 Wim Taymans <wim@fluendo.com>
4225 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4226 Be a bit nicer to badly behaving upstream elements that expect
4227 us to deal with non TIME segments and timestamps (such as fakesrc
4230 2006-04-07 Wim Taymans <wim@fluendo.com>
4233 Small documentation clarification about the signal watch.
4235 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4236 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4237 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4238 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
4239 (gst_base_sink_get_position_last),
4240 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
4241 Convert and store timestamps in stream time and running time, the
4242 raw timestamps are not usefull, also document this better.
4243 Use different window sizes for good and bad QoS observations so
4244 we react to badness a little quicker.
4245 Keep track of the amount of rendered and dropped buffers.
4246 Send QoS timestamps in running time.
4248 * libs/gst/base/gstbasetransform.c:
4249 (gst_base_transform_sink_eventfunc),
4250 (gst_base_transform_handle_buffer):
4251 Compare QoS timestamps against running time.
4253 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
4258 2006-04-06 Michael Smith <msmith@fluendo.com>
4260 * gst/gstpad.c: (gst_pad_set_property):
4261 Use g_value_get_object() instead of g_value_dup_gst_object(),
4262 to avoid double-reffing the pad template (which we then sink,
4263 so this worked previously if (and only if) the pad template
4266 * gst/gstpadtemplate.c: (gst_pad_template_init),
4267 (gst_pad_template_pad_created):
4268 Never return floating references to pad templates, create
4269 them as initially-sunken.
4271 Document an extra function (and make this stop sinking our
4272 pad template, since that is now guaranteed to do nothing,
4273 since we created it sunken).
4275 * gst/gstghostpad.c:
4278 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
4280 * gst/gstinfo.c: (__gst_in_valgrind):
4283 * plugins/elements/gsttypefindelement.c:
4284 (gst_type_find_element_chain):
4285 Don't leak buffer caps.
4287 2006-04-06 Michael Smith <msmith@fluendo.com>
4289 * gst/parse/grammar.y:
4290 Fix a leak in parse-launch for any source-or-sink named element
4293 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4294 Unref the pipeline if it exists after we've failed parsing.
4296 2006-04-05 Michael Smith <msmith@fluendo.com>
4298 * gst/gstpipeline.c: (gst_pipeline_init):
4299 When we create a pipeline bus, initially create it in flushing mode.
4300 Fixes leaks in at least one test, and makes a new pipeline work the
4301 same as one that has gone to READY and then back to NULL.
4306 2006-04-05 Michael Smith <msmith@fluendo.com>
4308 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4309 Unref a pad we reffed.
4310 * tests/check/gst/gstutils.c: (GST_START_TEST):
4313 2006-04-05 Michael Smith <msmith@fluendo.com>
4315 * gst/gstquery.c: (gst_query_set_formats),
4316 (gst_query_set_formatsv):
4317 Fix leaking GValues in queries, as shown by valgrind/testsuite.
4319 2006-04-05 Michael Smith <msmith@fluendo.com>
4321 * tests/check/generic/sinks.c: (GST_START_TEST):
4322 Fix a variety of memleaks in sinks check, which are only sometimes
4323 shown by running the tests under valgrind (weird?).
4325 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
4327 * docs/version.entities.in:
4328 Fix the substituted entity name after thomas' changes on the
4331 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4333 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
4336 2006-04-05 Andy Wingo <wingo@pobox.com>
4338 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
4340 * libs/gst/base/gstbasetransform.c
4341 (gst_base_transform_sink_eventfunc): When resetting our segment on
4342 FLUSH_STOP, also update the flag saying we haven't seen a
4345 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
4347 Patch by: Paolo Borelli <pborelli at katamail dot com>
4349 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
4350 (gst_plugin_check_license):
4351 minor clean-ups: G_DEFINE_TYPE already takes care of the
4352 parent_class stuff, no need to do it twice. Mark array of
4353 license strings as constant. (#337103)
4355 2006-04-04 Michael Smith <msmith@fluendo.com>
4357 * tools/gst-inspect.c: (print_element_list):
4358 Free the right plugin list; fixes a memory leak.
4360 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
4362 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4364 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4365 Don't error out on empty buffers (#336945).
4367 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
4369 * docs/libs/gstreamer-libs-sections.txt:
4371 * libs/gst/base/gstbasesink.c:
4372 * libs/gst/base/gstbasesink.h:
4373 * libs/gst/base/gstbasesrc.c:
4374 * libs/gst/base/gstbasesrc.h:
4375 Documentation updates. Make BaseSink and BaseSrc docs contain the
4376 class structure so that people can actually see the prototypes for
4377 virtual functions they're supposed to be overriding.
4379 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
4381 * plugins/elements/gsttypefindelement.c:
4382 (gst_type_find_element_chain):
4383 More debug info; when skipping typefinding, send cached
4384 events in all cases.
4386 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
4389 use new AS_VERSION and AS_NANO macros
4390 * gst/gst-i18n-lib.h:
4393 * gst/gstversion.h.in:
4394 * win32/common/config.h:
4395 * win32/common/config.h.in:
4398 2006-03-31 Michael Smith <msmith@fluendo.com>
4400 * plugins/elements/gsttypefindelement.c:
4401 (gst_type_find_element_chain):
4402 Do not typefind content if the buffers already have caps.
4403 Neccesary for icydemux (#333657), and the right thing to do anyway.
4405 2006-03-30 Wim Taymans <wim@fluendo.com>
4407 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4408 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
4409 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
4410 (gst_base_sink_record_qos_observation),
4411 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4412 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4413 (gst_base_sink_change_state):
4414 More QoS measurements as described in the design doc.
4415 Get rid of ringbuffer with observations, running average is
4416 more simple and equally good.
4417 Calculates valid proportion now.
4418 Added beginning of flood measurement.
4420 2006-03-29 Wim Taymans <wim@fluendo.com>
4422 * docs/design/part-qos.txt:
4424 Small documentation updates and additions.
4426 2006-03-29 Wim Taymans <wim@fluendo.com>
4428 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4429 (gst_base_src_send_event), (gst_base_src_loop),
4430 (gst_base_src_change_state):
4431 Perform the EOS logic when we reach the segment stop position.
4432 Fix compilation on gcc4.1
4434 2006-03-29 Wim Taymans <wim@fluendo.com>
4436 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
4438 * plugins/elements/gstqueue.c: (gst_queue_init),
4439 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
4440 (gst_queue_set_property):
4441 * plugins/elements/gstqueue.h:
4442 In queue, when EOS is received, if minimum threshold > max_size -
4443 current_level, there is chance that queue blocks forever in conditional
4444 item del wait. This is because the queue is not emptied completely due
4445 to minimum threshold. Here is another approach. Instead of setting
4446 cur_levels to max in EOS, just zero all minimum threshold levels. This
4447 should make sure that queue gives out all data. When going to READY
4448 (stop) state, just reset the original minimum threshold levels.
4451 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
4453 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
4454 (gst_type_find_element_handle_event),
4455 (gst_type_find_element_send_cached_events),
4456 (gst_type_find_element_change_state):
4457 * plugins/elements/gsttypefindelement.h:
4458 When typefinding is done in push mode, we should cache
4459 events we receive during typefinding instead of just
4460 dropping them (e.g. newsegment, custom events from
4461 dvdreadsrc etc.) and then send them out once we've
4462 determined the type of the stream (and decodebin
4463 has had a chance to plug in a decoder/demuxer).
4465 2006-03-27 Wim Taymans <wim@fluendo.com>
4467 * docs/design/part-qos.txt:
4470 2006-03-27 Wim Taymans <wim@fluendo.com>
4472 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
4474 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4475 (gst_base_src_send_event), (gst_base_src_change_state):
4476 Handle element seek correctly when we are streaming.
4479 2006-03-24 Michael Smith <msmith@fluendo.com>
4481 * docs/faq/gst-uninstalled:
4482 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
4483 allow you to correctly run intalled applications built against old
4484 core, using plugins that require updated core (e.g. running
4485 installed totem against a full uninstalled gstreamer stack)
4487 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4489 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
4492 2006-03-24 Wim Taymans <wim@fluendo.com>
4494 * docs/gst/gstreamer-sections.txt:
4495 Rearrange the order of the methods so that related methods
4496 are grouped together in sections.
4498 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4501 Little clarification in the docs
4503 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4507 * plugins/elements/gstidentity.c:
4508 * plugins/elements/gstqueue.c:
4509 * plugins/elements/gsttee.c:
4510 * plugins/elements/gsttypefindelement.c:
4511 GST_ELEMENT_DETAILS formatting
4513 2006-03-24 Wim Taymans <wim@fluendo.com>
4515 * libs/gst/base/gstbasesink.h:
4516 Only add fields, not insert or we break ABI.
4518 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4520 * win32/common/libgstbase.def:
4521 * win32/common/libgstreamer.def:
4522 Update, add recently added functions.
4524 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4526 * docs/gst/gstreamer-sections.txt:
4527 * gst/gstutils.c: (gst_pad_query_peer_position),
4528 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
4530 API: add some new utility functions:
4531 - gst_pad_query_peer_position()
4532 - gst_pad_query_peer_duration()
4533 - gst_pad_query_peer_convert()
4535 2006-03-23 Wim Taymans <wim@fluendo.com>
4537 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4538 (gst_base_sink_init), (gst_base_sink_finalize),
4539 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
4540 (gst_base_sink_set_property), (gst_base_sink_get_property),
4541 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
4542 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4543 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
4544 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4545 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4546 (gst_base_sink_preroll_object), (gst_base_sink_event),
4547 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
4548 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4549 (gst_base_sink_query), (gst_base_sink_change_state):
4550 Decouple max-lateness and the fact that QoS messages are generated
4551 with a new property (qos).
4552 added API: GstBaseSink::async_play()
4553 Add vmethod so subclasses can be notified of ASYNC playing
4555 Collect timestamp start and stop to report better current
4556 position in EOS/PLAYING/PAUSED/READY/NULL.
4557 Refactor QoS/frame dropping and other measurements.
4558 API: GstBaseSrc::qos
4561 * libs/gst/base/gstbasesink.h:
4562 Added Private struct.
4563 API: gst_base_sink_set_qos_enabled()
4564 API: gst_base_sink_is_qos_enabled()
4566 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4568 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
4569 If compiling against GLib-2.8 or newer, try to read the
4570 registry file using GMappedFile first before falling back
4571 to fopen() + fread() (#332151).
4573 2006-03-22 Wim Taymans <wim@fluendo.com>
4575 * gst/gstinfo.c: (gst_debug_set_active),
4576 (gst_debug_category_set_threshold):
4577 Disable debugging unless explicitly activated.
4580 2006-03-22 Wim Taymans <wim@fluendo.com>
4582 * gst/gstelement.c: (gst_element_set_locked_state),
4583 (gst_element_dispose):
4584 Cleanup the error case.
4586 * gst/gstobject.c: (gst_object_dispose):
4587 print a critical when some object was disposed with
4588 a parent, also revive the object since it might
4591 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
4593 * tools/gst-launch.1.in:
4596 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
4599 * tests/check/Makefile.am:
4600 disable some tests when we don't have a registry
4601 * tests/check/gst/gstutils.c: (gst_utils_suite):
4602 don't build the part that needs parsing
4604 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
4607 * tests/examples/Makefile.am:
4608 fix --disable-parse build
4610 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4612 * tools/gst-feedback.1.in:
4613 Fix typo: s/feeback/feedback/ (#133494).
4615 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4617 * tools/Makefile.am:
4618 * tools/gst-launch.1.in:
4619 Add FILES section and correct entry about GST_REGISTRY_PATH
4620 environment variable (#133495; #133494).
4622 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4624 * tools/Makefile.am:
4625 * tools/gst-md5sum.1.in:
4626 * tools/gst-md5sum.c:
4627 Remove gst-md5sum and man page (the md5sink element
4628 required was removed ages ago)
4630 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4632 * gst/gststructure.c: (gst_structure_id_set_value):
4633 Make sure that string fields in structures/taglists
4634 contain valid UTF-8 - we don't want to pass rubbish to
4635 applications because of a buggy plugin (cp. #334167).
4637 2006-03-21 Edward Hervey <edward@fluendo.com>
4639 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
4640 (gst_bin_handle_message_func):
4641 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
4642 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
4643 (gst_element_set_bus_func):
4644 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
4645 * gst/gstminiobject.c: (gst_value_set_mini_object),
4646 (gst_value_take_mini_object):
4647 * gst/gstpad.c: (gst_pad_set_pad_template):
4648 * gst/gstpipeline.c: (gst_pipeline_dispose),
4649 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4650 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
4651 (gst_collect_pads_chain):
4652 * libs/gst/net/gstnettimeprovider.c:
4653 (gst_net_time_provider_set_property):
4654 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
4655 It's in fact all issues with gst_*object_replace().
4657 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4659 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
4661 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4662 * pkgconfig/gstreamer-check.pc.in:
4663 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
4665 2006-03-21 Edward Hervey <edward@fluendo.com>
4670 gst_[buffer|event|message]_ref() macros are replaced by a static
4671 inline functions because gcc-4.1 will about if the return value
4673 * tests/check/gst/gstevent.c: (event_probe):
4674 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
4676 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
4679 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
4680 the type' case. (Closes: #335195 for now). In the future, when we
4681 depend on GLib 2.10, we could also intern the type name using
4682 g_intern_static_string()
4684 2006-03-20 Wim Taymans <wim@fluendo.com>
4686 * gst/gstbin.c: (gst_bin_handle_message_func),
4687 (bin_query_max_init), (bin_query_position_fold),
4688 (bin_query_position_done), (gst_bin_query):
4689 Position query should also take max of all streams.
4691 2006-03-20 Wim Taymans <wim@fluendo.com>
4693 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4694 (gst_fake_src_finalize):
4695 Fix leaks in fakesrc.
4697 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4698 Fix leaks in the testcase.
4700 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
4702 * gst/gst_private.h:
4703 add win32 specific import decoration(__declspec(dllimport))
4704 for all extern GstDebugCategory * variables
4705 * win32/common/libgstbase.def:
4706 * win32/common/libgstcontroller.def:
4707 * win32/common/libgstreamer.def:
4708 Add some exports, remove empty lines
4709 * win32/common/libgstdataprotocol.def:
4710 * win32/common/libgstdataprotocol.dsp:
4711 * win32/common/libgstnet.def:
4712 * win32/common/libgstnet.dsp:
4713 new project files and exportation files added
4715 2006-03-19 Wim Taymans <wim@fluendo.com>
4717 * tests/check/libs/basesrc.c: (eos_event_counter):
4718 Use proper return value for probe.
4720 2006-03-17 Wim Taymans <wim@fluendo.com>
4722 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4724 Don't leak buffers, caps and pads on negotiation errors.
4726 2006-03-16 Stefan Kost <ensonic@users.sf.net>
4729 * docs/faq/dependencies.xml:
4730 * docs/faq/developing.xml:
4732 * docs/faq/general.xml:
4733 * docs/faq/getting.xml:
4734 * docs/faq/legal.xml:
4735 * docs/faq/troubleshooting.xml:
4736 * docs/faq/using.xml:
4737 Faq review and update.
4739 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
4741 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4743 Don't pound the cpu to pieces by checking get_caps when accept_caps
4744 is called with the same caps as the pad already has.
4745 Use GST_DEBUG_OBJECT when outputting caps change information.
4747 2006-03-15 Wim Taymans <wim@fluendo.com>
4749 * gst/gstclock.c: (gst_clock_class_init):
4752 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
4757 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
4758 (gst_pad_accept_caps), (gst_pad_configure_sink),
4759 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
4760 Make the default acceptcaps behaviour be to check the requested
4761 caps against the gst_pad_get_caps output.
4763 Ensure that gst_pad_accept_caps is used to check caps when a pad
4764 doesn't have a setcaps function, so that pads automatically refuse
4765 caps that they don't allow in their pad template. (Fixes #332986)
4767 When a buffer with attached caps is pushed, ensure that the source
4768 pad receives those caps even if the element didn't call
4769 gst_pad_set_caps first.
4771 2006-03-15 Wim Taymans <wim@fluendo.com>
4773 * libs/gst/base/gstadapter.c:
4776 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
4778 * win32/common/libgstbase.def:
4779 * win32/common/libgstcontroller.def:
4780 * win32/common/libgstreamer.def:
4781 Add a whole bunch of missing functions (#334434).
4783 2006-03-14 Wim Taymans <wim@fluendo.com>
4785 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4786 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4787 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4788 Better debug info when we receive a segment event.
4789 Reorganize a bit so we can pass the get_times() results around.
4790 Use the segment format when calculating the running time.
4791 Don't do QoS is sync is disabled or we have no clock or the
4792 element does not want us to sync to the clock.
4793 Don't drop buffers if QoS is disabled for now.
4795 2006-03-14 Wim Taymans <wim@fluendo.com>
4797 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4798 Marked the stats property as unimplemented so people don't get
4800 Add debug message when regression goes wrong.
4801 Added some more docs.
4803 2006-03-14 Wim Taymans <wim@fluendo.com>
4805 * gst/gstsegment.c: (gst_segment_to_stream_time):
4806 Return correct return type in case of errors.
4808 2006-03-14 Wim Taymans <wim@fluendo.com>
4810 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4811 Don't segfault on invalid formats.
4813 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4815 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4816 Can't use gst_segment_to_running_time() when the segment
4817 is not in GST_TIME_FORMAT (like with filesink, for example).
4818 Stops flac encoding pipelines from spewing critical warnings
4821 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4823 * gst/gstpipeline.c: (gst_pipeline_class_init):
4824 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4826 * plugins/elements/gsttypefindelement.c:
4827 (gst_type_find_element_handle_event):
4828 Don't try to typefind empty streams.
4830 2006-03-14 Wim Taymans <wim@fluendo.com>
4832 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4833 (gst_base_sink_do_qos):
4834 Separate QoS calculation.
4835 Only drop buffers when lateness is bigger than the
4836 duration of the buffer.
4838 2006-03-13 Wim Taymans <wim@fluendo.com>
4840 * gst/gstpipeline.c: (gst_pipeline_set_property),
4841 (gst_pipeline_get_property), (do_pipeline_seek),
4842 (gst_pipeline_change_state), (gst_pipeline_set_delay),
4843 (gst_pipeline_get_delay):
4844 Don't deadlock when reading properties.
4846 2006-03-13 Wim Taymans <wim@fluendo.com>
4848 * libs/gst/base/gstbasetransform.c:
4849 (gst_base_transform_class_init), (gst_base_transform_init),
4850 (gst_base_transform_sink_event),
4851 (gst_base_transform_sink_eventfunc),
4852 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4853 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4854 (gst_base_transform_set_property),
4855 (gst_base_transform_get_property),
4856 (gst_base_transform_change_state), (gst_base_transform_update_qos),
4857 (gst_base_transform_set_qos_enabled),
4858 (gst_base_transform_is_qos_enabled):
4859 * libs/gst/base/gstbasetransform.h:
4860 Make basetransform virtual method for src events too.
4861 Handle QOS in basetransform.
4862 API: gst_base_transform_update_qos()
4863 API: gst_base_transform_set_qos_enabled()
4864 API: gst_base_transform_is_qos_enabled()
4866 2006-03-13 Wim Taymans <wim@fluendo.com>
4868 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4869 (gst_base_sink_do_sync):
4871 Use QOS debug category.
4873 2006-03-13 Wim Taymans <wim@fluendo.com>
4875 * plugins/elements/gstqueue.c:
4876 Very small doc update.
4878 2006-03-13 Wim Taymans <wim@fluendo.com>
4880 * gst/gst_private.h:
4881 * gst/gstinfo.c: (_gst_debug_init):
4882 Added QOS debug category
4884 2006-03-13 Wim Taymans <wim@fluendo.com>
4886 * docs/gst/gstreamer-sections.txt:
4887 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
4889 * gst/gstbus.c: (gst_bus_class_init):
4892 * gst/gstelement.c: (gst_element_set_locked_state):
4894 Documentation updates.
4896 * gst/gstpipeline.c: (gst_pipeline_get_type),
4897 (gst_pipeline_class_init), (gst_pipeline_init),
4898 (gst_pipeline_dispose), (gst_pipeline_set_property),
4899 (gst_pipeline_get_property), (do_pipeline_seek),
4900 (gst_pipeline_send_event), (gst_pipeline_change_state),
4901 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
4902 (gst_pipeline_get_delay):
4903 * gst/gstpipeline.h:
4904 Added methods for setting the delay.
4905 API: gst_pipeline_set_delay()
4906 API: gst_pipeline_get_delay()
4907 Add pipeline debug category
4910 Don't reset stream time when seek failed.
4912 2006-03-13 Wim Taymans <wim@fluendo.com>
4914 * docs/design/draft-klass.txt:
4915 * docs/design/part-clocks.txt:
4916 * docs/design/part-events.txt:
4917 * docs/design/part-gstbin.txt:
4918 * docs/design/part-gstpipeline.txt:
4919 * docs/design/part-messages.txt:
4920 * docs/design/part-negotiation.txt:
4921 * docs/design/part-overview.txt:
4922 * docs/design/part-preroll.txt:
4923 * docs/design/part-seeking.txt:
4924 * docs/design/part-states.txt:
4925 * docs/design/part-streams.txt:
4926 Documentation updates.
4928 2006-03-12 Julien MOUTTE <julien@moutte.net>
4930 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
4931 us to leak strings...
4933 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
4935 * libs/gst/net/gstnettimeprovider.c:
4937 * win32/common/config.h:
4940 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
4942 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
4945 Don't check for libgnomeui (leftover from old examples
4946 that aren't built or disted any longer) (#334303).
4948 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
4950 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4951 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4952 Emit RESOURCE_NO_SPACE_LEFT error here as well when
4953 there's no space left on the device.
4955 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
4958 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
4959 to cast the input to GstClockTime before comparing with
4960 another GstClockTime value.
4962 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
4967 === release 0.10.4 ===
4969 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
4972 releasing 0.10.4, "Light"
4974 2006-03-10 Michael Smith <msmith@fluendo.com>
4976 * libs/gst/dataprotocol/dataprotocol.c:
4977 Fix docs for dataprocotol to not get the return types completely
4978 wrong for a few functions.
4980 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4982 * docs/gst/gstreamer-sections.txt:
4983 * gst/gstpipeline.c: (gst_pipeline_class_init),
4984 (gst_pipeline_init), (gst_pipeline_set_property),
4985 (gst_pipeline_get_property), (gst_pipeline_change_state),
4986 (gst_pipeline_set_auto_flush_bus),
4987 (gst_pipeline_get_auto_flush_bus):
4988 * gst/gstpipeline.h:
4989 Add new API: gst_pipeline_set_auto_flush_bus() and
4990 gst_pipeline_get_auto_flush_bus() to disable automatic
4991 flushing of the pipeline's GstBus when going from READY
4992 to NULL state (#332045).
4994 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4996 * docs/gst/gstreamer-sections.txt:
4997 * gst/gsturi.c: (gst_uri_has_protocol):
4999 Add new API: gst_uri_has_protocol() (#333779).
5001 2006-03-09 Wim Taymans <wim@fluendo.com>
5003 * gst/gstclock.c: (gst_clock_entry_new),
5004 (gst_clock_id_compare_func), (gst_clock_id_wait),
5005 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
5006 (gst_clock_init), (gst_clock_get_internal_time),
5007 (gst_clock_set_master), (do_linear_regression),
5008 (gst_clock_add_observation), (gst_clock_set_property):
5012 Fix a possible segfault when the window-size is made smaller.
5013 Calculate jitter before performing the clock wait. Ideally
5014 the clock implementation should calculate jitter but we need
5015 API breakage for that.
5017 * gst/gstsystemclock.c: (gst_system_clock_init):
5020 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
5021 Remove leftover else
5023 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5024 (gst_systemclock_suite):
5025 Added check to test GST_CLOCK_DIFF.
5027 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
5029 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
5030 (gst_type_find_helper_get_range):
5031 If we are provided with the size, we should implement
5032 GstTypeFind::get_length, so that typefind functions who
5033 want to can actually peek at the middle of a file.
5035 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
5037 * docs/manual/advanced-dataaccess.xml:
5038 Add some very very basic error checking.
5040 * docs/pwg/appendix-checklist.xml:
5041 Some updates to the list of things to check when writing an element.
5043 2006-03-08 Wim Taymans <wim@fluendo.com>
5045 * docs/design/part-element-transform.txt:
5046 Added some docs about the design of tranform elements.
5048 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5049 (gst_base_src_loop), (gst_base_src_change_state):
5050 Mark buffers with the DISCONT flag.
5052 2006-03-08 Michael Smith <msmith@fluendo.com>
5054 * gst/gstregistry.h:
5055 * gst/gstregistryxml.c: (gst_registry_save),
5056 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
5057 (gst_registry_xml_save_pad_template),
5058 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
5059 (gst_registry_xml_write_cache):
5060 Rewrite registry-saving to avoid race conditions and check for
5063 2006-03-08 Wim Taymans <wim@fluendo.com>
5065 * libs/gst/base/gstbasetransform.c:
5066 (gst_base_transform_transform_caps),
5067 (gst_base_transform_transform_size),
5068 (gst_base_transform_prepare_output_buffer),
5069 (gst_base_transform_get_unit_size),
5070 (gst_base_transform_buffer_alloc),
5071 (gst_base_transform_handle_buffer),
5072 (gst_base_transform_change_state):
5073 Cleanups, separate normal flow from errors, add sensible
5075 Don't try to renegotiate when allocating an output buffer.
5076 Also copy DISCONT buffer flag when copying a buffer.
5077 Reset the transform after we finish streaming, not during.
5079 2006-03-08 Wim Taymans <wim@fluendo.com>
5081 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
5082 Use last buffer timestamp in qos message.
5084 2006-03-07 Wim Taymans <wim@fluendo.com>
5086 Patch by: Christophe Fergeau
5088 * docs/pwg/advanced-tagging.xml:
5089 * docs/pwg/building-pads.xml:
5092 2006-03-07 Wim Taymans <wim@fluendo.com>
5094 * docs/libs/gstreamer-libs-sections.txt:
5095 Added basesink new methods.
5099 Docs updates. Flesh out the QoS docs.
5101 * libs/gst/base/gstadapter.c:
5102 Small doc clarification about ownership and flushing.
5104 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
5105 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5106 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
5107 (gst_base_sink_get_property), (gst_base_sink_do_sync):
5108 * libs/gst/base/gstbasesink.h:
5110 Added new methods to allow subclass to control max-lateness
5112 Generate very basic QoS events based on last sync observation.
5113 Updated docs, fix typo, added some QoS blurb.
5115 * libs/gst/base/gstbasesrc.c:
5116 Remove obsolete _get_state() calls from docs.
5118 2006-03-07 Wim Taymans <wim@fluendo.com>
5120 * docs/libs/gstreamer-libs-sections.txt:
5121 * libs/gst/base/gstbasetransform.h:
5122 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
5123 Fix docs for GstBaseSrc.
5125 2006-03-07 Wim Taymans <wim@fluendo.com>
5127 * docs/gst/gstreamer-sections.txt:
5130 * libs/gst/base/gstbasetransform.h:
5131 Small documentation fixes.
5133 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
5136 Document thread-unsafety of gst_value_register_foo_func()
5137 when used at the same time as gst_value_foo() (#322628).
5139 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
5141 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
5142 (gst_push_src_check_get_range):
5143 Push sources don't support pull mode by default.
5145 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
5147 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5148 (gst_base_src_init), (gst_base_src_pad_check_get_range),
5149 (gst_base_src_default_check_get_range):
5150 * libs/gst/base/gstbasesrc.h:
5151 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
5152 provide default implementation, and rename
5153 gst_base_src_check_get_range() to
5154 gst_base_src_pad_check_get_range() for clarity.
5156 2006-03-06 Wim Taymans <wim@fluendo.com>
5158 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
5159 Make property overridable.
5161 2006-03-06 Wim Taymans <wim@fluendo.com>
5163 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5164 (gst_base_sink_init), (gst_base_sink_set_property),
5165 (gst_base_sink_get_property), (gst_base_sink_do_sync):
5166 * libs/gst/base/gstbasesink.h:
5167 API addition: Make max-lateness a property.
5169 2006-03-06 Wim Taymans <wim@fluendo.com>
5171 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
5172 (gst_base_sink_do_sync), (gst_base_sink_render_object):
5173 Don't ever draw a frame that is >10ms late.
5175 2006-03-06 Michael Smith <msmith@fluendo.com>
5177 * gst/gstmessage.c: (_gst_message_copy):
5178 When copying a message, set the parent_refcount of the enclosed
5179 structure to point at the copy, not the original message.
5181 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
5183 Patch by: Christophe Fergeau
5186 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
5187 usable in c++ code (#333417)
5189 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
5192 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
5194 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
5196 * libs/gst/base/gstbasetransform.c:
5197 (gst_base_transform_transform_caps):
5198 Make sure caps are writable before passing them to
5201 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
5204 Fix some minor docs errors.
5206 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
5208 Patch by: Ross Burton <ross at burtonini dot com>
5210 * gst/gsterror.c: (_gst_resource_errors_init):
5212 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
5214 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
5217 Add a check and output a g_warning when GStreamer is built
5218 against GLib 2.6 but running against 2.8 or higher, and vice
5219 versa. (Closes: #323542)
5221 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
5223 * gst/parse/parse.l:
5224 Commit patch for parse_launch syntax from #331255. Removes
5225 support for quoted strings and mimetypes when writing filtered
5226 caps. See the bug report for more details - I'm pretty sure this
5227 obscure feature is not in use by _anyone_ anywhere.
5229 With this simple change, the size of the gstreamer.so here
5230 drops from 2193KB to 1565KB.
5232 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
5234 * plugins/elements/gsttypefindelement.h:
5235 * plugins/elements/gsttypefindelement.c:
5236 (gst_type_find_element_src_event), (start_typefinding),
5237 (stop_typefinding), (gst_type_find_element_handle_event),
5238 (gst_type_find_element_chain),
5239 (gst_type_find_element_chain_do_typefinding):
5240 Use gst_type_find_helper_for_buffer() for chain-based
5243 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
5245 * plugins/elements/gsttypefindelement.c:
5246 (gst_type_find_element_class_init),
5247 (gst_type_find_element_set_property),
5248 (gst_type_find_element_get_property):
5249 Deprecate "maximum" property (not only was it only taken into
5250 account for typefinding in push-mode anyway, it also was never
5251 actually possible to set it in the first place because the
5252 property was registered with the numeric property ID for the
5253 "minimum" property). Register "maximum" property correctly,
5254 for the sake of future copy'n'pasters. Remove some cruft
5255 from property get/set functions.
5257 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
5259 * plugins/elements/gsttypefindelement.c:
5260 (gst_type_find_element_activate):
5261 Use gst_type_find_helper_get_range() here, so we
5262 can honour the "minimum" property and also emit
5263 the signal with the correct probability of the found caps.
5265 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
5267 * docs/libs/gstreamer-libs-sections.txt:
5268 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5269 (helper_find_suggest), (gst_type_find_helper_get_range),
5270 (gst_type_find_helper):
5271 * libs/gst/base/gsttypefindhelper.h:
5272 New API: gst_type_find_helper_get_range() (#333042).
5274 2006-03-02 Michael Smith <msmith@fluendo.com>
5276 * gst/gstregistryxml.c: (load_feature):
5277 Asserting on a failure to read part of the registry is Not Cool.
5278 Just log a warning and return NULL (which is already handled)
5280 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
5282 * win32/common/libgstbase.def:
5283 added export of gst_type_find_helper_for_buffer
5284 * win32/common/libgstbase.def:
5285 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
5286 gst_ghost_pad_get_target
5288 2006-02-28 Wim Taymans <wim@fluendo.com>
5290 * docs/design/draft-klass.txt:
5292 Added Connector to mark elements that are only used to
5293 allow pipeline connections.
5294 Moved Debug to extra feature since most of them are
5295 functionally something else.
5297 2006-02-28 Wim Taymans <wim@fluendo.com>
5299 * docs/design/draft-klass.txt:
5300 Some updates and clarifications.
5302 2006-02-28 Wim Taymans <wim@fluendo.com>
5304 * docs/design/draft-klass.txt:
5305 Proposal for klass field values.
5307 * docs/design/part-streams.txt:
5308 Start of a doc describing stream anatomy.
5310 2006-02-28 Wim Taymans <wim@fluendo.com>
5312 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
5313 Help the compiler a bit with type registration.
5314 Use existing forward cod path instead of duplicating it when
5317 * gst/gstbus.c: (gst_bus_get_type):
5318 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
5319 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
5320 * gst/gstclock.c: (gst_clock_get_type):
5321 * gst/gstelement.c: (gst_element_get_type),
5322 * gst/gstelementfactory.c: (gst_element_factory_get_type):
5323 * gst/gstindexfactory.c: (gst_index_factory_get_type):
5324 * gst/gstminiobject.c: (gst_mini_object_get_type):
5325 * gst/gstpad.c: (gst_pad_get_type):
5326 * gst/gstsegment.c: (gst_segment_get_type):
5327 * gst/gststructure.c: (gst_structure_get_type):
5328 * gst/gstsystemclock.c: (gst_system_clock_get_type):
5329 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
5331 Help compiler with type registration.
5333 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5336 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5338 * plugins/elements/gsttypefindelement.c:
5339 (gst_type_find_element_handle_event):
5340 When we get an EOS event and have not found a type yet
5341 (most likely because we had not yet accumulated
5342 TYPE_FIND_MIN_SIZE of data yet), try to determine the
5343 type given the data we have so far. Fixes typefinding
5344 for very short streams again, most notably quicktime
5345 redirections as used on Apple's trailer site (#331701).
5347 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5349 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
5350 (gst_type_find_helper):
5351 Try typefinding factories with the highest rank first.
5353 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5355 * docs/libs/gstreamer-libs-docs.sgml:
5356 * docs/libs/gstreamer-libs-sections.txt:
5357 * libs/gst/base/gsttypefindhelper.c:
5358 Add section for typefind helper and add documentation
5359 for the old and the new function.
5361 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5363 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
5364 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
5365 (gst_type_find_helper_for_buffer):
5366 * libs/gst/base/gsttypefindhelper.h:
5367 New API: gst_type_find_helper_for_buffer() (#332723).
5369 2006-02-27 Michael Smith <msmith@fluendo.com>
5371 Patch by: Loïc Minier
5375 * docs/slides/Makefile.am:
5376 prevent CVS directories getting disted.
5378 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5380 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
5381 Use the REFCOUNTING category for caps refcounting.
5383 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
5385 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
5386 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
5388 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
5390 * plugins/elements/gsttypefindelement.c:
5391 (gst_type_find_element_activate):
5392 Use gst_pad_check_pull_range() before _activate_pull()
5393 to avoid unnecessary open/close (see #331690).
5395 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
5398 Docs enhancement: make it crystal clear what the
5399 gst_pad_add_*_probe() callbacks should look like.
5401 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
5403 * libs/gst/base/gstbasesrc.c:
5404 Document how applications can stop recording from
5405 live sources (see #330996).
5407 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5409 * tests/check/Makefile.am:
5410 * tests/check/libs/basesrc.c: (eos_event_counter),
5411 (basesrc_eos_events_pull), (basesrc_eos_events_push),
5412 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
5413 (gst_basesrc_suite), (main):
5414 ... and add some tests for the base source EOS stuff.
5416 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5418 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
5419 Test case originally showed the problem fixed below,
5420 but was then amended. Add checks back at the place
5421 where they used to be.
5423 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5425 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5426 (gst_base_src_init), (gst_base_src_loop),
5427 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5428 (gst_base_src_change_state):
5429 * libs/gst/base/gstbasesrc.h:
5430 Don't unconditionally send EOS when going from PAUSED to
5431 READY state, esp. make sure we don't send two EOS events
5432 in some cases (e.g. one when reaching EOS and one when
5433 going from PAUSED to READY). Also, we don't want to send
5434 EOS events when operating in pull mode. However, we do
5435 want to send an EOS event when shutting down a live
5436 source explicitly, for example (fixes #330996).
5438 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5440 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5441 Update src->read_position after a seek when not using mmap.
5442 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
5444 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
5450 Make things work with --disable-parse as they do with
5451 --disable-load-save - the symbols involved disappear, but the
5452 header is still installed and GST_DISABLE_PARSE is included via
5455 2006-02-20 Julien MOUTTE <julien@moutte.net>
5457 * libs/gst/base/gstbasetransform.c:
5458 (gst_base_transform_change_state): Fix a stupid bug. I was
5459 sure I compiled that.
5461 2006-02-20 Julien MOUTTE <julien@moutte.net>
5463 * gst/gstpad.c: (gst_pad_set_blocked_async):
5464 * gst/gstutils.c: (gst_pad_add_data_probe),
5465 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5466 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5467 (gst_pad_remove_buffer_probe): Make those function act on the
5468 ghostpad target when it's a ghostpad. (Closes #331727)
5470 2006-02-20 Julien MOUTTE <julien@moutte.net>
5472 * libs/gst/base/gstbasetransform.c:
5473 (gst_base_transform_change_state): Make basetransform reusable.
5476 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
5478 * docs/random/release:
5479 Move the current documentation of how to do a release to the top
5482 * gst/gstbin.c: (gst_bin_class_init),
5483 (gst_bin_handle_message_func):
5484 Allow multiple state-recalculation threads. (Closes #328873)
5486 2006-02-19 Julien MOUTTE <julien@moutte.net>
5488 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
5489 * gst/gstpad.c: (gst_pad_set_event_function),
5490 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5491 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
5492 2 strings. You can't use the STR_NULL macro on that.
5494 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
5496 * gst/gstpad.c: (gst_pad_set_event_function),
5497 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5498 (gst_pad_set_getcaps_function)
5499 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
5500 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
5501 So now, we can use --gst-debug-level=5 on Windows
5502 * win32/common/libgstcontroller.def:
5503 Added export of gst_controller_init
5504 * win32/vs6/libgstcontroller.dsp:
5505 Fixed Release post build configuration
5507 2006-02-17 Wim Taymans <wim@fluendo.com>
5509 * tests/check/gst/gstquery.c: (GST_START_TEST):
5510 Added another check.
5512 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
5514 * plugins/elements/gsttypefindelement.c: (find_peek):
5515 We can do peeks at non-zero offsets, as long as they
5516 fall within the buffer we have.
5518 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
5520 * tests/check/Makefile.am:
5521 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
5522 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
5523 (parse_suite), (main):
5524 Add testsuite for parse launch syntax
5526 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
5528 * plugins/elements/gsttypefindelement.c:
5529 (gst_type_find_element_chain):
5530 When typefinding is unsuccessful in the chain function, don't
5531 error out immediately. Only error out with NO_CAPS_FOUND if
5532 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
5533 otherwise simply wait for more data so we can try typefinding
5534 again with more data later. Also, don't attempt to typefind
5535 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
5536 this should improve typefinding from network sources where the
5537 size of the first buffer can be somewhat random.
5539 2006-02-14 Wim Taymans <wim@fluendo.com>
5541 * docs/gst/gstreamer-sections.txt:
5542 * gst/gstpadtemplate.c:
5543 * gst/gstpadtemplate.h:
5544 Fix padtemplate docs, fixes #328805.
5546 2006-02-14 Wim Taymans <wim@fluendo.com>
5548 * tools/gst-launch.c: (main):
5549 NO_PREROLL is not an ERROR so don't send confusing messages
5552 2006-02-14 Wim Taymans <wim@fluendo.com>
5554 Patch by: Torsten Schoenfeld
5556 * gst/gstregistry.c: (gst_registry_get_default),
5557 (_gst_registry_cleanup):
5558 Protect default registry with lock and ref/sink it.
5561 2006-02-14 Wim Taymans <wim@fluendo.com>
5564 * gst/gstquery.c: (gst_query_list_add_format),
5565 (gst_query_set_formatsv), (gst_query_parse_formats_length),
5566 (gst_query_parse_formats_nth):
5567 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5570 2006-02-14 Wim Taymans <wim@fluendo.com>
5572 * docs/gst/gstreamer-sections.txt:
5573 Reworked query docs.
5575 * gst/gstquery.c: (gst_query_new_formats),
5576 (gst_query_list_add_format), (gst_query_set_formats),
5577 (gst_query_set_formatsv), (gst_query_parse_formats_length),
5578 (gst_query_parse_formats_nth):
5580 Flesh out formats query, added some new methods.
5581 Fix part of #324398.
5583 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
5584 Added query creation tests.
5586 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
5588 * gst/gstpad.c: (fixate_value):
5589 Add a default fixation for fraction lists.
5591 2006-02-13 Wim Taymans <wim@fluendo.com>
5593 * gst/gsttask.c: (gst_task_init), (gst_task_func),
5594 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
5597 Detect and warn for obvious deadlocks. fixes #320340
5598 Fix error case where lock was not released.
5600 * tests/check/Makefile.am:
5601 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
5602 (task_func), (gst_element_suite), (main):
5605 2006-02-13 Wim Taymans <wim@fluendo.com>
5607 * docs/gst/gstreamer-sections.txt:
5609 Add new functions to docs.
5611 2006-02-13 Wim Taymans <wim@fluendo.com>
5613 * docs/design/part-TODO.txt:
5614 Updated TODO list, basesrc supports seeking to non-bytes
5617 * docs/design/part-element-sink.txt:
5620 * gst/gstbin.c: (bin_replace_message),
5621 (gst_bin_handle_message_func):
5622 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
5623 * gst/gstevent.c: (gst_event_finalize):
5624 * gst/gstpad.c: (gst_pad_event_default_dispatch),
5625 (gst_pad_send_event):
5626 Use shiny new _TYPE_NAME macros.
5628 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5629 Move debug statement up.
5631 * gst/gstelement.c: (gst_element_set_locked_state):
5634 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
5636 * docs/gst/gstreamer-sections.txt:
5639 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
5640 macros (#330906). Also, document the already existing
5641 GST_QUERY_TYPE macro.
5643 2006-02-13 Wim Taymans <wim@fluendo.com>
5645 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
5646 (event_probe), (GST_START_TEST):
5647 Only events up to the pipeline EOS are counted, there are
5648 some more when going to NULL currently which we don't care
5651 2006-02-13 Wim Taymans <wim@fluendo.com>
5653 * gst/gstpad.c: (gst_pad_send_event):
5654 Correctly check flushing and emit probes. fixes #330125
5656 2006-02-10 Andy Wingo <wingo@pobox.com>
5658 * gst/gstbus.c (gst_bus_class_init): Declare our private data
5660 (gst_bus_init): Cache the location of the private data in the
5662 (gst_bus_enable_sync_message_emission)
5663 (gst_bus_disable_sync_message_emission): Implement new public
5665 (gst_bus_post): Emit the sync-message signal if the user asked for
5668 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
5669 location of the bus-private structure.
5670 (gst_bus_enable_sync_message_emission)
5671 (gst_bus_disable_sync_message_emission): API addition
5673 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
5675 Patch by: Vincent Torri
5677 * docs/pwg/building-boiler.xml:
5678 PWG patch from #326800
5680 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
5684 * docs/design/Makefile.am:
5687 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5692 === release 0.10.3 ===
5694 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5697 releasing 0.10.3, "Like a virgin"
5699 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5702 2nd prerelease of 0.10.3
5703 Bump libtool versioning.
5705 2006-02-07 Andy Wingo <wingo@pobox.com>
5707 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
5708 update last_stop if we're in TIME format and the timestamp is
5711 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
5712 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
5713 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
5714 If we get a new newsegment with a different format, adapt
5717 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
5718 of 0. Not a problem, really.
5720 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
5723 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
5728 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
5731 project files updated to the default vs7 configuration
5732 * win32/common/libgstbase.def:
5733 * win32/common/libgstreamer.def:
5735 removed empty lines,
5736 sorted all exported symbols alphabetically
5737 * win32/common/dirent.c:
5738 * win32/common/dirent.h:
5739 * win32/common/gchar.h:
5740 use windows line end.
5742 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
5744 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5745 Send EOS event when stopping.
5747 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
5750 Tell folks what to do if the plugin-foobar.xml file
5751 hasn't been generated for a newly-added plugin.
5753 2006-02-05 Julien MOUTTE <julien@moutte.net>
5755 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5756 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5757 (gst_collect_pads_start), (gst_collect_pads_stop),
5758 (gst_collect_pads_event): Collectpads now holds a reference
5759 to the GstPad that was added. Indeed we don't want to look
5760 at pads that might just go away with no warning...
5762 2006-02-05 Julien MOUTTE <julien@moutte.net>
5764 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5765 (gst_collect_pads_start), (gst_collect_pads_stop),
5766 (gst_collect_pads_event), (gst_collect_pads_chain):
5767 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
5768 Mark Nauwelaerts's patch on bug #328491.
5770 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5772 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
5774 Add some simple tests for gst_parse_bin_from_description() and
5775 gst_bin_find_unconnected_pad() (#329069).
5777 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5779 * tools/gst-launch.c: (event_loop), (main):
5780 Catch errors during preroll (#320084).
5782 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
5784 * plugins/elements/gsttypefindelement.c:
5785 (gst_type_find_element_activate):
5786 Post TYPE_NOT_FOUND error message when typefinding
5787 is unsuccessful in the activate function as well.
5789 2006-02-02 Wim Taymans <wim@fluendo.com>
5791 * docs/design/part-element-sink.txt:
5794 2006-02-02 Wim Taymans <wim@fluendo.com>
5796 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5797 (gst_base_sink_render_object),
5798 (gst_base_sink_queue_object_unlocked):
5799 Only keep track of prerollable items when we are
5801 Before rendering after preroll, always check if we
5803 Added some more debugging.
5805 2006-02-02 Wim Taymans <wim@fluendo.com>
5807 * gst/gstelement.c: (gst_element_continue_state),
5808 (gst_element_set_state_func), (gst_element_change_state):
5809 Fixed #326576, been running this for quite some time with
5810 no regressions at all.
5812 2006-02-02 Wim Taymans <wim@fluendo.com>
5815 Added more suppressions
5817 2006-02-02 Wim Taymans <wim@fluendo.com>
5819 * docs/design/part-element-sink.txt:
5822 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5823 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5824 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5825 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5826 (gst_base_sink_do_sync), (gst_base_sink_render_object),
5827 (gst_base_sink_preroll_object),
5828 (gst_base_sink_queue_object_unlocked),
5829 (gst_base_sink_queue_object), (gst_base_sink_event),
5830 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5831 (gst_base_sink_loop), (gst_base_sink_activate_pull),
5832 (gst_base_sink_get_position), (gst_base_sink_change_state):
5833 * libs/gst/base/gstbasesink.h:
5834 Totally refactored matching the design doc.
5835 Use two segments, one to clip incomming buffers and another to
5837 Handle queueing correctly, bypass the queue when playing.
5838 Make EOS cancelable.
5839 Handle errors correctly when operating in pull based mode.
5841 * tests/check/elements/fakesink.c: (GST_START_TEST),
5843 Added new check for sinks.
5845 2006-02-02 Wim Taymans <wim@fluendo.com>
5847 * gst/gstsegment.c: (gst_segment_clip):
5848 No reason to refuse to clip when start == -1
5850 2006-02-02 Stefan Kost <ensonic@users.sf.net>
5853 * docs/manual/intro-basics.xml:
5854 * docs/manual/intro-preface.xml:
5855 * docs/manual/manual.xml:
5856 * docs/pwg/advanced-dparams.xml:
5857 * docs/pwg/intro-basics.xml:
5858 * docs/pwg/intro-preface.xml:
5860 describe dparams (controller) for plugins
5861 unify docs a little more
5863 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
5865 * docs/gst/gstreamer-sections.txt:
5866 * gst/gstutils.c: (element_find_unconnected_pad),
5867 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5869 Add new API: gst_parse_bin_from_description() and
5870 gst_bin_find_unconnected_pad() (#329069).
5872 2006-02-01 Stefan Kost <ensonic@users.sf.net>
5874 * docs/manual/README:
5875 uncover a nasty detail of the docs build
5877 2006-01-31 Wim Taymans <wim@fluendo.com>
5879 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5880 Don't cache duration messages if we're not going to use or
5883 2006-01-31 Stefan Kost <ensonic@users.sf.net>
5885 * docs/manual/advanced-dparams.xml:
5886 * docs/pwg/advanced-dparams.xml:
5890 * libs/gst/controller/lib.c: (gst_controller_init):
5893 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
5895 * gst/gstelement.c: (gst_element_message_full):
5896 also show file/line/func if no additional debug was given
5898 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
5900 * win32/vs7/grammar.vcproj:
5901 activate copy of autogenerated files for Release mode
5903 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
5905 * win32/common/libgstreamer.def:
5906 export gst_value_compare
5908 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
5910 * plugins/elements/Makefile.am:
5911 * plugins/elements/gstelements.c:
5912 * plugins/elements/gstfdsink.c: (_do_init),
5913 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
5914 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
5915 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
5916 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
5917 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
5918 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
5919 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
5920 * plugins/elements/gstfdsink.h:
5921 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
5923 2006-01-30 Stefan Kost <ensonic@users.sf.net>
5925 * docs/manual/advanced-dparams.xml:
5927 * docs/manual/advanced-position.xml:
5928 * docs/manual/basics-init.xml:
5929 * docs/manual/manual.xml:
5930 * docs/manual/titlepage.xml:
5932 * docs/pwg/titlepage.xml:
5933 cleanup xml (more to come)
5934 * libs/gst/controller/gstcontroller.c:
5937 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
5939 * win32/vs6/grammar.dsp:
5940 add autogen of gstmarshal.c,h for Release mode
5942 2006-01-30 Wim Taymans <wim@fluendo.com>
5944 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5945 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
5946 (gst_base_sink_handle_object), (gst_base_sink_event),
5947 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
5948 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5949 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
5950 (gst_base_sink_deactivate), (gst_base_sink_activate),
5951 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5952 (gst_base_sink_query), (gst_base_sink_change_state):
5953 Basesink cleanups, remove some old code.
5954 Handle the case where a subclass can preroll in the render
5955 method (mostly audiosinks).
5957 Remove some locks around variables that are now protected
5958 with the PREROLL_LOCK (clock_id, flushing, ..).
5959 Optimize position query some more, do correct locking.
5960 Remove old code to push queue in state change, this is not
5961 needed anymore since preroll blocks on all prerollable items
5963 Almost implemented as described in design doc.
5965 2006-01-30 Wim Taymans <wim@fluendo.com>
5967 * tests/check/gst/gstbin.c: (GST_START_TEST):
5968 Wait for refcount to settle down before checking.
5970 2006-01-30 Wim Taymans <wim@fluendo.com>
5972 * docs/design/part-element-sink.txt:
5973 Pseudo code overview of desired sink behaviour regarding
5976 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5977 * win32/vs6/grammar.dsp:
5978 fix some bugs in Release mode for autogenerated files
5980 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5981 * win32/common/libgstbase.def:
5982 * win32/common/libgstreamer.def:
5983 export some new symbols: gst_base_src_set_format,
5984 gst_iterator_next, gst_structure_set_valist
5986 2006-01-29 Julien MOUTTE <julien@moutte.net>
5988 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5989 Set pad functions unconditionally. Fixes #329105.
5991 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5993 add vs8 project files created by Sergey Scobich
5995 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
5997 * gst/gstutils.c: (gst_element_unlink_pads):
5998 Don't leak pad references.
6000 * tests/check/elements/fakesink.c: (GST_START_TEST):
6001 * tests/check/generic/sinks.c: (GST_START_TEST):
6002 * tests/check/generic/states.c: (GST_START_TEST):
6003 * tests/check/gst/gstbin.c: (GST_START_TEST):
6004 * tests/check/gst/gstcaps.c: (GST_START_TEST):
6005 * tests/check/gst/gstelement.c: (GST_START_TEST):
6006 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
6007 * tests/check/gst/gstiterator.c: (GST_START_TEST):
6008 * tests/check/gst/gstvalue.c: (GST_START_TEST):
6009 Fix a bunch of leaks. Make generic/sinks.c
6010 use a bit less cpu by slowing the buffer rate
6011 between fakesrc and fakesink.
6013 2006-01-27 Stefan Kost <ensonic@users.sf.net>
6015 * gst/gstelement.c: (gst_element_send_event):
6018 * gst/gstiterator.c:
6019 * gst/gstiterator.h:
6020 * gst/gstpad.c: (gst_pad_send_event):
6021 * gst/gststructure.c:
6025 * libs/gst/base/gstadapter.c:
6026 doc fixes, to link to function, just write gst_cool_function(), don't
6029 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
6031 * plugins/elements/gsttee.c: (gst_tee_do_push),
6032 (gst_tee_handle_buffer):
6033 Always prefer an actual return value from a src
6034 pad in place of NOT_LINKED. This means we return
6035 WRONG_STATE when all src pads are WRONG_STATE
6036 instead of NOT_LINKED.
6038 Lock when replacing the last message to prevent
6039 racing with the get_property method.
6043 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
6045 * tests/check/Makefile.am:
6046 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
6048 Add a very simple check that should have caught the memleak I fixed
6049 last night (if not for the slice allocator hiding it)
6051 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
6053 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
6054 (gst_bin_remove_func), (gst_bin_handle_message_func),
6055 (bin_query_duration_fold), (bin_query_generic_fold):
6056 Clean up references to the clock provider when disposed or when
6057 handling a clock-lost message from it.
6059 Unref sinks when performing a query via gst_iterator_fold, as the
6060 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
6062 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
6063 (gst_clock_set_master):
6064 Drop our reference to the master clock, if any, when we are disposed.
6066 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
6067 Chain up in dispose.
6069 2006-01-26 Wim Taymans <wim@fluendo.com>
6071 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
6074 2006-01-26 Julien MOUTTE <julien@moutte.net>
6076 * plugins/elements/gsttee.c: (gst_tee_do_push),
6077 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
6078 handles pad being NOT_LINKED or in WRONG_STATE.
6080 2006-01-26 Stefan Kost <ensonic@users.sf.net>
6085 2006-01-26 Stefan Kost <ensonic@users.sf.net>
6088 remove obsolete entry
6090 2006-01-26 Stefan Kost <ensonic@users.sf.net>
6092 * docs/gst/gstreamer-sections.txt:
6093 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
6094 (gst_bin_iterate_sources), (gst_bin_send_event):
6096 * gst/gstelement.c: (gst_element_send_event):
6098 * gst/gstpad.c: (gst_pad_send_event):
6099 added code for downstream events, reviewed docs in gstevent.c
6101 2006-01-25 Julien MOUTTE <julien@moutte.net>
6103 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6104 We only query position using the clock in the playing state.
6105 Query peer in the other cases.
6106 * win32/common/config.h: Updates.
6108 2006-01-24 Wim Taymans <wim@fluendo.com>
6110 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6111 A clock entry that is scheduled for the exact time of the
6112 clock is still in time.
6114 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6115 (gst_base_sink_do_sync):
6116 Add some more debug info.
6118 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
6121 Add new vs7 project files and solution.
6123 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
6126 all files removed as they were out-dated.
6128 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
6130 * docs/random/release:
6132 * gst/gstbin.c: (gst_bin_init):
6133 * gst/gstbus.c: (gst_bus_new):
6135 * gst/gstpipeline.c: (gst_pipeline_init):
6136 use gst_bus_new(), improve logging, fix docs
6137 * win32/common/config.h:
6138 update for cvs build
6140 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
6143 up required version of automake to 1.7
6145 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
6147 * win32/common/libgstreamer.def:
6148 export gst_buffer_is_metadata_writable
6150 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
6152 * docs/gst/gstreamer-sections.txt:
6154 Add gst_event_replace() (#327001)
6156 2006-01-20 Wim Taymans <wim@fluendo.com>
6158 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6159 Make it actually compile too..
6161 2006-01-20 Wim Taymans <wim@fluendo.com>
6164 Clarify behaviour of _is_equal() when passing NULL parameters.
6166 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6168 Cleanups. Don't unref NULL caps.
6169 When setting the same caps, protect caps of the pad with
6171 Use full functionality of _is_equal() when comparing caps.
6173 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
6175 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
6176 Don't loop infinitely if there are no buffers to present. Partially
6177 fixes #327197, but collectpads is just broken for reusing elements
6178 to do multiple encodes atm.
6180 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
6182 * tools/gst-inspect.c: (print_element_features):
6183 * tools/gst-xmlinspect.c: (main):
6184 URL_HANDLER is not a plugin feature we can search for in
6187 2006-01-19 Edward Hervey <edward@fluendo.com>
6189 * gst/gstelement.c: (gst_element_pads_activate):
6190 When activating, do src pads first, then sink pads.
6191 When de-activating, do sink pads first, then src pads.
6193 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6195 * docs/gst/gstreamer-sections.txt:
6196 Add gst_index_add_associationv to the docs
6198 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6203 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
6204 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
6205 Do some refactoring. Doesn't actually change functionality,
6206 but makes landing the DRAIN event easier later.
6208 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
6210 * docs/pwg/advanced-scheduling.xml:
6211 Update from 0.9.x to 0.10 API and make example a bit
6214 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6216 * docs/gst/gstreamer-sections.txt:
6217 Add gst_buffer_(is|make)_metadata_writable methods.
6219 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6221 * docs/design/part-sparsestreams.txt:
6222 Update sparse streams doc, hopefully for greater clarity
6224 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
6226 * docs/design/part-events.txt:
6227 Remove mention of FILLER events.
6230 * docs/design/part-sparsestreams.txt:
6231 Write some things about using NEWSEGMENT to keep sparse streams
6234 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
6236 * gst/gstbin.c: (gst_bin_dispose):
6237 Guard gst_object_unref call against a NULL object (dispose
6238 can theoretically be called multiple times).
6240 2006-01-18 Wim Taymans <wim@fluendo.com>
6242 * gst/gstbin.c: (gst_bin_element_set_state):
6243 * gst/gstclock.c: (gst_clock_id_wait):
6244 Added some more debug info.
6246 * libs/gst/base/gstadapter.c:
6249 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6250 (gst_base_sink_do_sync), (gst_base_sink_chain):
6251 Added some comments.
6253 2006-01-18 Wim Taymans <wim@fluendo.com>
6255 * tests/check/Makefile.am:
6256 * tests/check/elements/fakesink.c: (chain_async_buffer),
6257 (chain_async), (chain_async_return), (GST_START_TEST),
6258 (fakesink_suite), (main):
6259 Added fakesink test that checks prerolling and clipping
6262 * tests/check/gst/gstutils.c: (GST_START_TEST):
6263 Make check run faster so that buildbots don't timeout.
6265 2006-01-18 Wim Taymans <wim@fluendo.com>
6267 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6268 (gst_base_sink_do_sync):
6270 When the sink finishes blocking on the preroll buffer, it can
6271 immediatly render it instead of rendering when the next buffer
6274 2006-01-18 Wim Taymans <wim@fluendo.com>
6276 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
6277 (gst_base_sink_get_property), (gst_base_sink_do_sync),
6278 (gst_base_sink_chain):
6280 GST_ELEMENT_CLOCK and sync are protected with LOCK.
6281 Don't store _last_stop if the buffer is dropped.
6283 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
6285 * plugins/elements/gsttypefindelement.c:
6286 (gst_type_find_element_class_init):
6287 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
6288 object method handler that sets the caps on the pad and we want
6289 that to happen before we emit the signal (fixes e.g. feeding a
6290 plain text file to decodebin).
6292 2006-01-18 Christian Schaller <Christian@fluendo.com>
6294 * gst/gstplugin.c: Add MPL and Proprietary as license options
6296 2006-01-18 Andy Wingo <wingo@pobox.com>
6298 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
6299 symbol was exported before, it appears this was just an oversight.
6301 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
6303 * gst/gstindex.c (gst_index_add_associationv): Changed int in
6304 prototype to gint. OK since this prototype was not in the header.
6306 2006-01-17 Andy Wingo <wingo@pobox.com>
6308 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
6309 registry while we remove plugins.
6311 * tools/gst-inspect.c (print_element_info): Don't unref the
6312 factory arg, that should be the responsibility of whatever code
6313 received the ref. Fixes a double-free when called from
6314 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
6315 (main): Unref the factory if we have one.
6316 (print_element_list): No change -- relies on the
6317 plugin_feature_list_free to free the list of features.
6319 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
6321 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6322 (gst_buffer_make_metadata_writable):
6324 * libs/gst/base/gstbasetransform.c:
6325 (gst_base_transform_prepare_output_buf):
6326 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6327 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6328 Replace gst_buffer_(make|is)_metadata_writable patch now
6329 that the release is out.
6331 2006-01-17 Andy Wingo <wingo@pobox.com>
6333 * gst/gstregistry.c: Reflow design comment. Update so as to speak
6334 in the present tense without reference to versions.
6336 * gst/gstregistry.c (gst_registry_add_plugin)
6337 (gst_registry_remove_plugin, gst_registry_remove_feature)
6338 (gst_registry_find_feature, gst_registry_get_feature_list)
6339 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
6340 (gst_registry_lookup, gst_registry_scan_path)
6341 (_gst_registry_remove_cache_plugins)
6342 (gst_registry_get_feature_list_by_plugin): Add argument
6345 === release 0.10.2 ===
6347 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
6350 releasing 0.10.2, "If man is five"
6352 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
6356 * libs/gst/base/gstbasetransform.c:
6357 (gst_base_transform_prepare_output_buf):
6358 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6359 * tests/check/gst/gstbuffer.c: (gst_test_suite):
6360 Back out patch until after the release.
6362 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
6364 * gst/gstminiobject.c:
6365 Spelling fix in docs.
6366 * ChangeLog - remove conflict indicator
6368 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
6370 Reviewed By: Andy Wingo
6372 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6373 (gst_buffer_make_metadata_writable):
6375 Add gst_buffer_(is|make)_metadata_writable as analogues of
6376 gst_buffer_(is|make)_writable.
6378 * libs/gst/base/gstbasetransform.c:
6379 (gst_base_transform_prepare_output_buf):
6380 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6381 Use name gst_buffer_(is|make)_metadata_writable functions.
6383 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6384 Test gst_buffer_(is|make)_metadata_writable
6388 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
6390 * docs/manual/Makefile.am:
6391 don't do parallel make
6394 * win32/common/config.h.in:
6395 add generations for HOST_CPU and GST_MAJORMINOR
6396 * win32/common/config.h:
6397 commit generated result
6399 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
6401 * docs/manual/appendix-integration.xml:
6402 Update GNOME integration section to use gst_init_get_option_group()
6403 instead of the old popt stuff (#322911). Also, GNOME applications
6404 should now use gconf*sink and gconf*src instead of the old gconf
6407 2006-01-13 Stefan Kost <ensonic@users.sf.net>
6410 * docs/gst/gstreamer-docs.sgml:
6411 * docs/gst/gstreamer-sections.txt:
6412 * docs/libs/gstreamer-libs-sections.txt:
6413 add new API entries to the docs
6414 * libs/gst/controller/Makefile.am:
6415 * libs/gst/controller/gstcontroller.c:
6416 * libs/gst/controller/gstcontroller.h:
6417 * libs/gst/controller/gstcontrollerprivate.h:
6418 * libs/gst/controller/gsthelper.c:
6419 * libs/gst/controller/gstinterpolation.c:
6420 move private structs to private header
6422 gstreamer-0.7 -> gstreamer-0.10
6423 * tests/check/libs/struct_i386.h:
6424 remove private structs
6426 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
6428 * plugins/indexers/Makefile.am:
6429 Fixes as part of #317048
6431 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
6433 * plugins/indexers/Makefile.am:
6434 fix #316086 - compilation when mmap is missing
6436 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
6438 * libs/gst/base/gstbasesink.c:
6439 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
6440 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
6441 * win32/common/config.h:
6442 added some defines GST_MAJORMINOR and HOST_CPU
6443 * win32/common/libgstbase.def:
6444 * win32/common/libgstreamer.def:
6445 added some exported functions.
6447 2006-01-12 Stefan Kost <ensonic@users.sf.net>
6449 * libs/gst/controller/gstcontroller.c:
6450 (gst_controlled_property_set_interpolation_mode),
6451 (gst_controlled_property_new):
6452 * libs/gst/controller/gstcontroller.h:
6453 * libs/gst/controller/gstinterpolation.c:
6454 (interpolate_none_get_string_value_array):
6455 make G_TYPE_STRING controlable
6457 2006-01-12 Stefan Kost <ensonic@users.sf.net>
6460 * tools/gst-feedback.1.in:
6461 * tools/gst-inspect.1.in:
6462 * tools/gst-launch.1.in:
6463 * tools/gst-md5sum.1.in:
6464 * tools/gst-typefind.1.in:
6465 * tools/gst-xmlinspect.1.in:
6466 * tools/gst-xmllaunch.1.in:
6467 cleanup man-pages, remove reference to gst-register, document env-vars
6469 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
6471 * gst/gstbuffer.c: (gst_buffer_span):
6472 gst_buffer_span should copy the timestamp of the first buffer
6473 if they were both originally overlapping subbuffers of the
6474 same parent, using the same logic as the 'slow copy' case.
6476 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
6478 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
6479 Need to awaken ALL the pads when we pop a buffer, otherwise
6480 collectpads only works when there is 2 input streams.
6482 2006-01-11 Stefan Kost <ensonic@users.sf.net>
6484 * docs/random/ensonic/media-device-daemon.txt:
6487 fix doc example, add clarification
6488 * tools/gst-launch.1.in:
6489 add initial info about GST_PLUGIN_PATH, needs more work
6491 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
6493 * docs/manual/basics-bins.xml:
6494 * docs/manual/basics-elements.xml:
6495 * docs/manual/intro-basics.xml:
6496 Some more minor docs additions and updates.
6498 2006-01-11 Wim Taymans <wim@fluendo.com>
6500 * docs/manual/basics-bins.xml:
6501 * docs/manual/basics-elements.xml:
6502 Some small fixes as pointed out by Ser-ver on IRC.
6504 2006-01-10 Edward Hervey <edward@fluendo.com>
6506 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6507 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
6508 the single-segment mode.
6510 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
6512 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6514 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
6515 (gst_base_src_perform_seek), (gst_base_src_send_event),
6516 (gst_base_src_set_property), (gst_base_src_get_property),
6517 (gst_base_src_loop), (gst_base_src_start),
6518 (gst_base_src_activate_push):
6519 * libs/gst/base/gstbasesrc.h:
6520 Name (private) union; makes Sun's Forte compiler happy (#324900).
6522 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
6525 gst-register is gone.
6527 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
6529 * gst/gstvalue.c: (_gst_value_initialize):
6530 make the G_TYPE_DATE instantiation work if debug is disabled
6532 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
6534 * gst/gstmessage.c: (gst_message_parse_tag),
6535 (gst_message_parse_error), (gst_message_parse_warning):
6536 Don't crash when return location for error/warning debug
6537 string is NULL; add fact that return locations can be
6538 NULL to docs where appropriate.
6540 2006-01-05 Wim Taymans <wim@fluendo.com>
6542 * gst/gstplugin.c: (gst_plugin_load_file):
6543 Replace strdup by g_strdup.
6545 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
6547 * docs/pwg/advanced-types.xml:
6550 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
6552 submitted by: Abel Cheung
6556 Added Chinese (traditional) translation
6558 2006-01-04 Wim Taymans <wim@fluendo.com>
6560 * docs/manual/basics-pads.xml:
6561 * docs/plugins/Makefile.am:
6562 * docs/plugins/gstreamer-plugins-docs.sgml:
6563 * docs/plugins/gstreamer-plugins-sections.txt:
6564 * docs/pwg/advanced-clock.xml:
6565 * docs/pwg/advanced-scheduling.xml:
6566 * docs/pwg/advanced-types.xml:
6567 * plugins/elements/gstfdsink.c:
6568 * plugins/elements/gstfdsrc.c:
6569 * plugins/elements/gstfdsrc.h:
6570 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6571 * plugins/elements/gstidentity.h:
6572 * plugins/elements/gstqueue.h:
6573 * plugins/elements/gsttee.c:
6574 * plugins/elements/gsttee.h:
6575 * plugins/elements/gsttypefindelement.c:
6576 (gst_type_find_element_class_init):
6577 * plugins/elements/gsttypefindelement.h:
6578 Small updates to various docs.
6579 Added core plugins to docs.
6581 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6584 add a suppression for liboil's uninitialized variable
6586 2006-01-02 James Livingston <jrl at ids dot org dot au>
6588 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6591 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
6592 macro, so that gcc doesn't complain if the -Wmissing-prototypes
6593 compiler switch is being used (#325429).
6595 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
6597 * gst/gstbin.c: (gst_bin_query):
6598 Disable duration query caching in bins until it gets
6599 fixed (see #324807).
6601 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
6603 * tools/gst-inspect.c: (print_element_properties_info):
6604 Handle properties of POINTER and BOXED type.
6606 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
6608 * gst/gst.c: (init_post):
6609 Init tags stuff and some other things before loading
6610 any static plugins (there may be other static plugins
6611 than just the GStreamer ones, and they may want to
6612 register their own tags or formats or whatever, and
6613 preferably without segfaulting).
6615 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6616 Print at least a warning in the debug logs if we drop a
6617 query just because we don't know how to adjust the value
6618 in the particular format.
6620 2005-12-24 David Schleef <ds@schleef.org>
6622 * tools/gstreamer-completion:
6623 Replacement for gst-complete written in sh and sed. Only
6624 completes names of features, but that's 90% of what I want
6625 it for. Properties are not available in registry.xml. (Maybe
6628 === release 0.10.1 ===
6630 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
6633 releasing 0.10.1, "Nollaig chridheil"
6635 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
6638 Add missing quote, should be make ERROR_CFLAGS="".
6640 2005-12-20 Wim Taymans <wim@fluendo.com>
6642 * docs/design/part-trickmodes.txt:
6643 More documentation on trickmodes.
6645 2005-12-20 Edward Hervey <edward@fluendo.com>
6647 * gst/gstcaps.c: (gst_static_caps_get_type):
6649 API addition: GST_TYPE_STATIC_CAPS
6650 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
6651 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
6652 * gst/gstpadtemplate.h:
6653 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
6654 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
6657 2005-12-18 Wim Taymans <wim@fluendo.com>
6659 * libs/gst/base/gstadapter.c:
6660 * libs/gst/base/gstadapter.h:
6661 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6662 (gst_base_sink_get_position):
6663 * libs/gst/base/gstbasesink.h:
6664 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6665 (gst_base_src_default_query), (gst_base_src_default_do_seek),
6666 (gst_base_src_do_seek), (gst_base_src_perform_seek),
6667 (gst_base_src_send_event), (gst_base_src_update_length),
6668 (gst_base_src_get_range), (gst_base_src_loop),
6669 (gst_base_src_start):
6670 * libs/gst/base/gstbasesrc.h:
6671 * libs/gst/base/gstbasetransform.h:
6672 * libs/gst/base/gstcollectpads.h:
6673 * libs/gst/base/gstpushsrc.c:
6674 * libs/gst/base/gstpushsrc.h:
6675 * libs/gst/dataprotocol/dataprotocol.c:
6676 * libs/gst/dataprotocol/dataprotocol.h:
6677 * libs/gst/net/gstnetclientclock.h:
6678 * libs/gst/net/gstnettimeprovider.h:
6679 Documentation updates.
6681 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
6683 * docs/manual/basics-helloworld.xml:
6684 Remove superfluous closing bracket in helloworld example.
6686 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
6688 * tools/gst-launch.1.in:
6689 Update gst-launch man page; add a section with useful
6690 environment variables. Fixes #323882.
6692 2005-12-16 Stefan Kost <ensonic@users.sf.net>
6695 * gst/gst_private.h:
6696 change some char* into char[]
6698 2005-12-16 Wim Taymans <wim@fluendo.com>
6700 * gst/gstregistryxml.c: (load_feature):
6702 Don't use g_object_unref on GstObjects so that we avoid
6703 leaks on unsafe glibs.
6705 2005-12-16 Wim Taymans <wim@fluendo.com>
6707 * gst/gstbin.c: (gst_bin_recalc_state):
6710 2005-12-16 Wim Taymans <wim@fluendo.com>
6713 Added make forever target for check.
6715 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
6717 * gst/gst.c: (init_post):
6718 make the registry cache file HOST_CPU-dependent
6720 2005-12-16 Andy Wingo <wingo@pobox.com>
6722 * plugins/elements/gstbufferstore.c
6723 (gst_buffer_store_cleared_func): Pay attention to g_list_append
6726 * tests/check/gst/gstobject.c
6727 (test_fake_object_name_threaded_unique): Pay attention to
6728 g_list_sort return value.
6730 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
6732 * tools/gst-feedback-m.m:
6733 Update for 0.9/0.10 (fixes #323870).
6735 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
6737 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
6738 Fix lcopy for mini objects, the mini object needs to be ref'ed.
6740 * tests/check/gst/gstminiobject.c: (my_foo_init),
6741 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
6742 (test_value_collection), (gst_mini_object_suite):
6743 Add test to ensure refcounts end up as expected when passing
6744 GstMiniObjects through g_object_get() and g_object_set().
6746 2005-12-14 Julien MOUTTE <julien@moutte.net>
6748 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6749 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
6750 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
6751 of collectpads. This version removes a lot of races without
6752 touching API/ABI. Yay !
6754 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
6756 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
6757 Don't allow activation of a srcpad in pull_range if it has no
6759 Change some debug statements to be a little clearer
6761 * plugins/elements/gsttypefindelement.c:
6762 (gst_type_find_handle_src_query):
6763 Check that we have a peer before executing queries thereupon.
6765 * tests/examples/metadata/read-metadata.c: (message_loop):
6766 Use gst_bus_pop instead of gst_bus_poll when we just want it to
6767 immediately return us any available message with 0 timeout.
6769 2005-12-12 Michael Smith <msmith@fluendo.com>
6771 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6772 Don't unref factories after calling them.
6773 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
6774 * plugins/elements/gsttypefindelement.c:
6775 (gst_type_find_element_chain):
6776 Free lists of factories after using them. Fixing typefinding memory
6779 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6781 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6782 (gst_plugin_feature_load):
6783 more meaningful debug output
6785 * tests/Makefile.am:
6786 * tests/old/examples/Makefile.am:
6787 make make distcheck happy again
6789 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6791 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6792 Catch the special case where we are operating chain-based,
6793 but the downstream peer pad has no chain function. Emit a
6794 custom error message in this case instead of letting the
6795 core generate one implying that this is some sort of core
6796 bug. It's not, it just means that whatever got plugged
6797 into the pipeline downstream when we announced the type
6798 can only operate pull-based, while our source can only
6799 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6800 Error string has not been marked for translation yet, as
6801 it probably needs some more work first.
6803 (gst_type_find_element_get_best_possibility):
6804 Add helper function to find the best of all available
6805 found possibilities that qualify given the min. threshold.
6807 (gst_type_find_element_handle_event):
6808 Fix the case where we get an EOS while still in TYPEFIND
6809 mode (we want to chose the best of all possible types,
6810 not just the first type that happens to be in our unsorted
6811 list of possible types).
6813 (gst_type_find_element_chain):
6814 Make sure we return GST_FLOW_ERROR when we errored out
6815 in stop_typefinding(); also, don't just find the best of
6816 all found type entries and then use the last examined
6817 type entry, but actually use the best entry.
6819 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6821 * tests/examples/typefind/typefind.c: (type_found):
6822 * tests/examples/xml/runxml.c: (xml_loaded):
6823 More gcc4 fixes and a mem leak fix.
6825 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6827 * tests/examples/xml/createxml.c: (object_saved):
6830 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6832 * tests/Makefile.am:
6833 enable the examples even more
6835 2005-12-12 Andy Wingo <wingo@pobox.com>
6837 * libs/gst/net/gstnettimeprovider.c
6838 (gst_net_time_provider_class_init, gst_net_time_provider_init)
6839 (gst_net_time_provider_set_property)
6840 (gst_net_time_provider_get_property):
6841 API addition: Export "active" as a GObject property.
6842 (gst_net_time_provider_thread): Only respond to time queries if
6843 the time provider is active.
6845 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6846 NetTimeProvider, preserving binary compat.
6848 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6850 * tests/examples/controller/audio-example.c: (main):
6851 * tests/examples/launch/Makefile.am:
6852 convert comments again
6854 2005-12-12 Wim Taymans <wim@fluendo.com>
6856 * libs/gst/base/gstpushsrc.c:
6859 2005-12-12 Wim Taymans <wim@fluendo.com>
6861 * docs/libs/gstreamer-libs-sections.txt:
6862 Added new symbol to docs.
6864 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6865 (gst_base_src_init), (gst_base_src_set_format),
6866 (gst_base_src_default_query), (gst_base_src_query),
6867 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6868 (gst_base_src_perform_seek), (gst_base_src_send_event),
6869 (gst_base_src_default_event), (gst_base_src_event_handler),
6870 (gst_base_src_set_property), (gst_base_src_get_property),
6871 (gst_base_src_wait), (gst_base_src_do_sync),
6872 (gst_base_src_update_length), (gst_base_src_get_range),
6873 (gst_base_src_check_get_range), (gst_base_src_loop),
6874 (gst_base_src_default_negotiate), (gst_base_src_start),
6875 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6876 (gst_base_src_change_state):
6877 * libs/gst/base/gstbasesrc.h:
6878 Implement seeking to other formats than _BYTES.
6879 Implement more seeking methods correctly.
6881 Added query vmethod.
6882 Added do_seek vmethod to make life easier for subclasses
6884 API addition: gst_base_src_set_format()
6886 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6888 * tests/examples/Makefile.am:
6891 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6894 * docs/random/ensonic/media-device-daemon.txt:
6895 * tests/examples/controller/.cvsignore:
6896 * tests/examples/controller/Makefile.am:
6897 * tests/examples/controller/audio-example.c: (main):
6898 * tests/examples/helloworld/.cvsignore:
6899 * tests/examples/helloworld/Makefile.am:
6900 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
6901 * tests/examples/launch/.cvsignore:
6902 * tests/examples/launch/Makefile.am:
6903 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
6904 * tests/examples/metadata/.cvsignore:
6905 * tests/examples/metadata/Makefile.am:
6906 * tests/examples/metadata/read-metadata.c: (message_loop),
6907 (make_pipeline), (print_tag), (main):
6908 * tests/examples/queue/.cvsignore:
6909 * tests/examples/queue/Makefile.am:
6910 * tests/examples/queue/queue.c: (event_loop), (main):
6911 * tests/examples/typefind/.cvsignore:
6912 * tests/examples/typefind/Makefile.am:
6913 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
6915 * tests/examples/xml/.cvsignore:
6916 * tests/examples/xml/Makefile.am:
6917 * tests/examples/xml/createxml.c: (object_saved), (main):
6918 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
6919 * tests/old/examples/Makefile.am:
6920 * tests/old/examples/TODO:
6921 * tests/old/examples/controller/.cvsignore:
6922 * tests/old/examples/controller/Makefile.am:
6923 * tests/old/examples/controller/audio-example.c:
6924 * tests/old/examples/helloworld/.cvsignore:
6925 * tests/old/examples/helloworld/Makefile.am:
6926 * tests/old/examples/helloworld/helloworld.c:
6927 * tests/old/examples/launch/.cvsignore:
6928 * tests/old/examples/launch/Makefile.am:
6929 * tests/old/examples/launch/mp3parselaunch.c:
6930 * tests/old/examples/launch/mp3play:
6931 * tests/old/examples/manual/Makefile.am:
6932 * tests/old/examples/metadata/Makefile.am:
6933 * tests/old/examples/metadata/read-metadata.c:
6934 * tests/old/examples/queue/.cvsignore:
6935 * tests/old/examples/queue/Makefile.am:
6936 * tests/old/examples/queue/queue.c:
6937 * tests/old/examples/typefind/.cvsignore:
6938 * tests/old/examples/typefind/Makefile.am:
6939 * tests/old/examples/typefind/typefind.c:
6940 * tests/old/examples/xml/.cvsignore:
6941 * tests/old/examples/xml/Makefile.am:
6942 * tests/old/examples/xml/createxml.c:
6943 * tests/old/examples/xml/runxml.c:
6944 applied some simple fixing to some examples
6945 re-enabled the working examples
6947 2005-12-12 Wim Taymans <wim@fluendo.com>
6949 * gst/gstsegment.c: (gst_segment_init),
6950 (gst_segment_set_last_stop), (gst_segment_set_seek),
6951 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6952 (gst_segment_to_running_time):
6953 Added more documentation.
6954 Make sure the last_pos value is updated properly.
6955 Make sure to_stream_time and to_running_time don't
6956 operate on wrong values.
6958 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6961 2005-12-12 Michael Smith <msmith@fluendo.com>
6963 * plugins/elements/gsttypefindelement.c: (free_entry),
6964 (gst_type_find_element_chain):
6965 Now that we're not leaking factories, make sure we keep references
6966 to them while we need them.
6968 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
6970 * tests/check/gst/struct_i386.h:
6971 ifdef out the XML structs
6973 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
6975 * gst/gstvalue.c: (gst_value_transform_double_fraction):
6976 floor is not needed, F is always positive; this obviates the
6977 need for adding -lm when building without libxml
6979 2005-12-12 Wim Taymans <wim@fluendo.com>
6981 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6982 Take current playback rate into account when reporting
6985 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6987 * docs/manual/mime-world.fig:
6988 Let's try this again, this time with a file that is
6989 actually in XFig format.
6991 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6993 * docs/manual/mime-world.fig:
6994 Add audioconvert element to diagram so that it
6995 matches the text and the code (fixes #319526).
6997 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6999 * docs/pwg/building-chainfn.xml:
7000 * docs/pwg/building-pads.xml:
7001 * docs/pwg/building-state.xml:
7002 * docs/pwg/other-source.xml:
7003 Update state change stuff for 0.10 (fixes #322969).
7005 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
7007 * docs/manual/advanced-dataaccess.xml:
7008 * docs/manual/appendix-checklist.xml:
7009 * docs/manual/appendix-programs.xml:
7010 * docs/manual/basics-pads.xml:
7011 * docs/manual/highlevel-components.xml:
7012 * docs/manual/manual.xml:
7013 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
7014 add converters in front of pipelines; remove curly
7015 brackets for threads stuff, they no longer exist; use
7016 GST_TYPE_FRACTION for framerates; update some pieces of
7017 code to 0.10, but there's plenty more to do.
7019 * docs/manual/appendix-porting.xml:
7020 Expand on asynchroneous state changes; s/0.9/0.10/;
7021 mention disappearance of gst_init_get_popt_table()
7024 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
7026 * docs/faq/using.xml:
7027 Spider no longer exists, and neither does gst-launch-ext.
7028 Update examples to use decodebin and playbin and put
7029 converters in front of sinks (fixes #323726).
7031 2005-12-09 Michael Smith <msmith@fluendo.com>
7033 * plugins/elements/gsttypefindelement.c: (find_peek),
7034 (gst_type_find_element_chain):
7035 Fix leaking element factories in typefinding.
7036 Fix problem where we forgot about a probable type on non-seekable
7037 files, and thus later mis-typefound it.
7039 2005-12-09 Michael Smith <msmith@fluendo.com>
7041 * common/m4/gst-makecontext.m4:
7042 * common/m4/gst-mcsc.m4:
7044 * win32/common/config.h:
7045 * win32/common/config.h.in:
7046 Remove makecontext stuff; not used in 0.10 and causes problems on
7047 HPUX according to bug #322441
7049 2005-12-07 Wim Taymans <wim@fluendo.com>
7051 * tests/check/Makefile.am:
7052 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
7054 * tests/check/libs/struct_i386.h:
7055 Added ABI check for libs
7057 2005-12-07 Wim Taymans <wim@fluendo.com>
7059 * tests/check/Makefile.am:
7060 And add the struct_i386.h to dist.
7062 2005-12-07 Wim Taymans <wim@fluendo.com>
7064 * tests/check/Makefile.am:
7065 * tests/check/gst/.cvsignore:
7066 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
7068 * tests/check/gst/struct_i386.h:
7069 Added check for ABI compatibility.
7071 2005-12-07 Wim Taymans <wim@fluendo.com>
7073 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7074 (gst_fake_src_get_times), (gst_fake_src_create):
7075 Fix broken sync option, fixes #323259
7077 2005-12-07 Wim Taymans <wim@fluendo.com>
7082 * gst/gstcaps.c: (gst_caps_is_equal):
7083 Don't assert on NULL <--> X. Fixes #323260
7085 * gst/gstminiobject.c: (gst_mini_object_replace):
7086 If we're doing atomic operations, we might just as well use
7087 the proper way to get an atomic pointer.
7089 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7092 2005-12-07 Michael Smith <msmith@fluendo.com>
7094 * gst/parse/grammar.y:
7095 Remove handling of { } for threads.
7097 2005-12-06 David Schleef <ds@schleef.org>
7099 * libs/gst/base/gstbasetransform.c: speling fix.
7101 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
7103 * docs/libs/tmpl/gstdataprotocol.sgml:
7104 * docs/random/omega/testing/gstobject.c:
7108 * gst/gstelementfactory.c:
7111 * gst/gstghostpad.c:
7113 * gst/gstpadtemplate.c:
7114 * gst/gstregistryxml.c:
7116 * gst/gsttagsetter.c:
7117 * gst/gsttypefind.c:
7119 * libs/gst/base/gstbasesrc.c:
7120 * libs/gst/net/gstnetclientclock.c:
7121 * libs/gst/net/gstnettimeprovider.c:
7122 * plugins/elements/gstfakesrc.c:
7123 * plugins/elements/gstfdsrc.c:
7124 * plugins/elements/gstfilesrc.c:
7125 * plugins/elements/gstidentity.c:
7126 * plugins/elements/gstqueue.c:
7127 * plugins/elements/gsttypefindelement.c:
7128 * plugins/indexers/gstfileindex.c:
7129 * plugins/indexers/gstmemindex.c:
7130 * tests/check/gst/gsttag.c:
7131 * tests/old/examples/cutter/cutter.c:
7132 * tests/old/examples/mixer/mixer.c:
7133 * tests/old/examples/xml/runxml.c: (main):
7134 * tests/old/testsuite/caps/normalisation.c:
7135 * tests/old/testsuite/debug/global.c:
7136 * tests/old/testsuite/parse/parse1.c:
7137 * tools/gst-xmlinspect.c:
7138 * win32/common/dirent.c:
7141 === release 0.10.0 ===
7143 2005-12-05 <thomas (at) apestaart (dot) org>
7146 releasing 0.10.0, "Maroilles"
7148 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
7150 submitted by: Funda Wang <fundawang@linux.net.cn>
7154 added Chinese (Traditional) translation
7156 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
7158 * docs/gst/gstreamer-sections.txt:
7159 * docs/libs/tmpl/gstdataprotocol.sgml:
7160 * docs/random/thomasvs/TODO:
7165 2005-12-05 Andy Wingo <wingo@pobox.com>
7167 patch by: Wim Taymans <wim@fluendo.com>
7169 * libs/gst/base/gstbasetransform.c
7170 (gst_base_transform_prepare_output_buf)
7171 (gst_base_transform_buffer_alloc):
7172 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
7173 alloc_buffer_and_set_caps.
7175 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
7176 set_caps on the source pad.
7177 (gst_pad_alloc_buffer_and_set_caps): New function, does what
7178 alloc_buffer used to do. Fixes #322874.
7180 * docs/gst/gstreamer-sections.txt:
7181 * docs/design/part-negotiation.txt:
7182 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
7185 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
7187 patch by: Sebastien Moutte
7190 * win32/common/config.h.in:
7191 * win32/vs6/libgstcontroller.dsp:
7194 2005-12-05 Wim Taymans <wim@fluendo.com>
7196 * gst/gstcaps.c: (gst_caps_is_equal):
7197 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7198 (gst_fake_src_create):
7199 Back out previous code changes, leave doc updates, file bugs
7202 2005-12-05 Wim Taymans <wim@fluendo.com>
7204 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7205 (gst_fake_src_get_times), (gst_fake_src_create):
7206 * plugins/elements/gstfakesrc.h:
7207 Fix broken sync code.
7209 2005-12-05 Wim Taymans <wim@fluendo.com>
7211 * gst/gstcaps.c: (gst_caps_is_equal):
7212 Comparing NULL against !NULL yields different caps, not a
7215 2005-12-05 Wim Taymans <wim@fluendo.com>
7217 * gst/gstpipeline.c:
7218 Fix small typo in docs.
7220 2005-12-05 Andy Wingo <wingo@pobox.com>
7222 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
7224 * gst/gst.c (init_post): remove hard-coded 0.9 location for
7225 registries/plugins with a MAJORMINOR one.
7226 (plugin_desc): Rename library from gstcoreleements to
7227 staticelements. Fixes #323222.
7229 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
7231 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
7232 Change debug category to 'collectpads' from 'collect_pads'
7235 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
7237 patch by: Sebastien Moutte
7239 * libs/gst/controller/gstinterpolation.c:
7240 use convert function for uint64/double
7241 * win32/vs6/libgstcontroller.dsp:
7244 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
7246 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
7247 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
7249 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7250 add tests that seem to show that the guint64/gdouble conversions
7253 2005-12-02 Wim Taymans <wim@fluendo.com>
7255 * gst/gstregistry.c: (gst_registry_add_path):
7256 * gst/gstregistry.h:
7257 * gst/gstregistryxml.c:
7260 2005-12-02 Wim Taymans <wim@fluendo.com>
7262 * gst/gstutils.c: (gst_util_uint64_scale_int64),
7263 (gst_util_uint64_scale_int):
7266 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7269 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
7272 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
7275 * win32/common/config.h:
7276 * win32/vs6/gstreamer.dsw:
7277 * win32/vs6/libgstcoreelements.dsp:
7278 * win32/vs6/libgstelements.dsp:
7279 renamed core elements plugin
7281 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
7283 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
7285 do piece-wise major/minor comparison so 0.9 < 0.10
7286 also allow .exe extensions for tools
7288 2005-12-02 Michael Smith <msmith@fluendo.com>
7291 Escape a % to make gtkdoc happier; bug 322958.
7293 === release 0.9.7 ===
7295 2005-12-01 <thomas (at) apestaart (dot) org>
7298 releasing 0.9.7, "My Dog Has No Nose"
7300 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7302 * common/gst-xmlinspect.py:
7304 * docs/libs/tmpl/gstdataprotocol.sgml:
7305 * docs/random/release:
7324 * win32/common/config.h:
7325 * win32/common/config.h.in:
7326 * win32/vs6/gst_inspect.dsp:
7327 * win32/vs6/gst_launch.dsp:
7328 * win32/vs6/libgstbase.dsp:
7329 * win32/vs6/libgstelements.dsp:
7330 * win32/vs6/libgstreamer.dsp:
7331 * win32/vs7/GStreamer.vcproj:
7332 * win32/vs7/gst-inspect.vcproj:
7333 * win32/vs7/gst-launch.vcproj:
7334 * win32/vs7/libgstbase.vcproj:
7335 bump GST_MAJORMINOR to 0.10
7336 reset libtool version
7338 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7342 Added Bulgarian translation by (Alexander Shopov)
7344 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7346 * tests/check/gst/gstplugin.c:
7349 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7351 * common/gst-xmlinspect.py:
7352 * common/gtk-doc-plugins.mak:
7355 * docs/gst/Makefile.am:
7356 * docs/gst/gstreamer-docs.sgml:
7357 * docs/gst/gstreamer-sections.txt:
7358 * docs/gst/gstreamer.types:
7359 * docs/gst/gstreamer.types.in:
7360 * docs/plugins/Makefile.am:
7361 * docs/plugins/gstreamer-plugins-docs.sgml:
7362 * docs/plugins/gstreamer-plugins-sections.txt:
7363 * docs/plugins/gstreamer-plugins.types:
7364 * docs/plugins/inspect.stamp:
7365 * docs/plugins/inspect/plugin-coreelements.xml:
7366 * docs/plugins/inspect/plugin-coreindexers.xml:
7367 * docs/plugins/scanobj-build.stamp:
7368 * gstreamer.spec.in:
7369 * plugins/elements/Makefile.am:
7370 * plugins/elements/gstelements.c:
7371 * plugins/elements/gstfakesink.c:
7372 * plugins/elements/gstfakesrc.c:
7373 * plugins/elements/gstfilesink.c:
7374 * plugins/elements/gstfilesrc.c:
7375 * plugins/elements/gstqueue.c:
7376 * plugins/indexers/Makefile.am:
7377 * plugins/indexers/gstindexers.c:
7378 document core plugins in a separate document just like all the
7380 rename these plugins to something starting with core
7382 2005-12-01 Andy Wingo <wingo@pobox.com>
7384 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
7385 padding here before, but it missed the commit.
7387 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7389 * libs/gst/controller/gstinterpolation.c:
7390 whitespace prices have crashed, we should feel free to use some now
7391 use gst_guint64_to_gdouble
7393 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7395 * libs/gst/controller/gstcontroller.c:
7396 * libs/gst/controller/gsthelper.c:
7397 * libs/gst/controller/gstinterpolation.c:
7398 * libs/gst/controller/lib.c:
7399 wrap config.h include
7401 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7403 * docs/gst/gstreamer-sections.txt:
7406 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7408 * plugins/elements/gstelements.c:
7409 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
7410 (gst_fd_sink__class_init), (gst_fd_sink__init),
7411 (gst_fd_sink__chain), (gst_fd_sink__set_property),
7412 (gst_fd_sink__get_property):
7413 * plugins/elements/gstfdsink.h:
7414 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
7415 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
7416 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
7417 (gst_fd_src_unlock), (gst_fd_src_set_property),
7418 (gst_fd_src_get_property), (gst_fd_src_create),
7419 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
7420 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
7421 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
7422 (gst_fd_src_uri_handler_init):
7423 * plugins/elements/gstfdsrc.h:
7424 * plugins/elements/gstqueue.c: (gst_queue_get_type):
7427 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7429 * docs/gst/Makefile.am:
7430 * docs/gst/gstreamer.types.in:
7434 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7440 * gst/gstregistry.h:
7441 * tests/benchmarks/complexity.c:
7442 * tests/benchmarks/mass-elements.c:
7443 * tests/check/Makefile.am:
7444 * tools/Makefile.am:
7445 * tools/gst-inspect.c:
7446 * tools/gst-xmlinspect.c:
7447 various fixes to make
7448 --disable-nls --disable-registry --disable-loadsave
7449 --disable-parse --disable-gst-debug
7450 work and get the core .so down to 360444 bytes after stripping
7452 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7457 * docs/random/thomasvs/TODO:
7458 * tests/Makefile.am:
7462 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7464 * win32/GStreamer.vcproj:
7467 * win32/Makefile.inspect:
7468 * win32/Makefile.launch:
7469 * win32/Makefile.register:
7471 * win32/gst-inspect.vcproj:
7472 * win32/gst-launch.vcproj:
7473 * win32/gst-register.vcproj:
7474 * win32/gstelements.vcproj:
7475 * win32/gstgetbits.def:
7476 * win32/gstgetbits.vcproj:
7477 * win32/gstreamer-dbg.def:
7478 * win32/gstreamer.def:
7479 * win32/libgstbase.def:
7480 * win32/libgstbase.vcproj:
7481 * win32/link_oldruntime.c:
7486 move even more stuff, win32/ is nice and clean now
7488 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7490 * libs/gst/control/.cvsignore:
7495 * win32/gstbytestream.def:
7496 * win32/gstbytestream.vcproj:
7497 * win32/gstconfig.h:
7498 * win32/gstenumtypes.c:
7499 * win32/gstenumtypes.h:
7500 * win32/gstoptimalscheduler.vcproj:
7501 * win32/gstversion.h:
7503 * win32/testsuite/bins.vcproj:
7504 * win32/testsuite/bytestream.vcproj:
7505 * win32/testsuite/caps.vcproj:
7506 * win32/testsuite/cleanup.vcproj:
7507 * win32/testsuite/clock.vcproj:
7508 * win32/testsuite/debug.vcproj:
7509 * win32/testsuite/dlopen.vcproj:
7510 * win32/testsuite/dynparams.vcproj:
7511 * win32/testsuite/elements.vcproj:
7512 * win32/testsuite/ghostpads.vcproj:
7513 * win32/testsuite/indexers.vcproj:
7514 * win32/testsuite/negotiation.vcproj:
7515 * win32/testsuite/parse.vcproj:
7516 * win32/testsuite/plugin.vcproj:
7517 * win32/testsuite/refcounting.vcproj:
7518 * win32/testsuite/schedulers.vcproj:
7519 * win32/testsuite/states.vcproj:
7520 * win32/testsuite/tags.vcproj:
7521 * win32/testsuite/threads.vcproj:
7522 remove old win32 stuff that isn't maintained and should be
7525 2005-11-30 Andy Wingo <wingo@pobox.com>
7527 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
7528 loading the gst.interfaces python module bork.
7530 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
7531 available since GLib 2.2. Fixes #318031.
7533 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7537 * check/Makefile.am:
7538 * check/elements/.cvsignore:
7539 * check/elements/fakesrc.c:
7540 * check/elements/fdsrc.c:
7541 * check/elements/identity.c:
7542 * check/generic/.cvsignore:
7543 * check/generic/states.c:
7544 * check/gst-libs/.cvsignore:
7545 * check/gst-libs/controller.c:
7546 * check/gst-libs/gdp.c:
7547 * check/gst/.cvsignore:
7548 * check/gst/capslist.h:
7550 * check/gst/gstbin.c:
7551 * check/gst/gstbuffer.c:
7552 * check/gst/gstbus.c:
7553 * check/gst/gstcaps.c:
7554 * check/gst/gstelement.c:
7555 * check/gst/gstevent.c:
7556 * check/gst/gstghostpad.c:
7557 * check/gst/gstiterator.c:
7558 * check/gst/gstmessage.c:
7559 * check/gst/gstminiobject.c:
7560 * check/gst/gstobject.c:
7561 * check/gst/gstpad.c:
7562 * check/gst/gstpipeline.c:
7563 * check/gst/gstplugin.c:
7564 * check/gst/gstsegment.c:
7565 * check/gst/gststructure.c:
7566 * check/gst/gstsystemclock.c:
7567 * check/gst/gsttag.c:
7568 * check/gst/gstutils.c:
7569 * check/gst/gstvalue.c:
7570 * check/net/.cvsignore:
7571 * check/net/gstnetclientclock.c:
7572 * check/net/gstnettimeprovider.c:
7573 * check/pipelines/.cvsignore:
7574 * check/pipelines/cleanup.c:
7575 * check/pipelines/simple_launch_lines.c:
7576 * check/pipelines/stress.c:
7577 * check/states/.cvsignore:
7578 * check/states/sinks.c:
7580 * examples/Makefile.am:
7581 * examples/appreader/.cvsignore:
7582 * examples/appreader/Makefile.am:
7583 * examples/appreader/appreader.c:
7584 * examples/controller/.cvsignore:
7585 * examples/controller/Makefile.am:
7586 * examples/controller/audio-example.c:
7587 * examples/cutter/.cvsignore:
7588 * examples/cutter/Makefile.am:
7589 * examples/cutter/cutter.c:
7590 * examples/cutter/cutter.h:
7591 * examples/events/Makefile.am:
7592 * examples/events/seek.c:
7593 * examples/helloworld/.cvsignore:
7594 * examples/helloworld/Makefile.am:
7595 * examples/helloworld/helloworld.c:
7596 * examples/helloworld2/.cvsignore:
7597 * examples/helloworld2/Makefile.am:
7598 * examples/helloworld2/helloworld2.c:
7599 * examples/launch/.cvsignore:
7600 * examples/launch/Makefile.am:
7601 * examples/launch/mp3parselaunch.c:
7602 * examples/launch/mp3play:
7603 * examples/manual/.cvsignore:
7604 * examples/manual/Makefile.am:
7605 * examples/manual/extract.pl:
7606 * examples/metadata/Makefile.am:
7607 * examples/metadata/read-metadata.c:
7608 * examples/mixer/.cvsignore:
7609 * examples/mixer/Makefile.am:
7610 * examples/mixer/mixer.c:
7611 * examples/mixer/mixer.h:
7612 * examples/pingpong/.cvsignore:
7613 * examples/pingpong/Makefile.am:
7614 * examples/pingpong/pingpong.c:
7615 * examples/plugins/.cvsignore:
7616 * examples/plugins/Makefile.am:
7617 * examples/plugins/example.c:
7618 * examples/plugins/example.h:
7619 * examples/pwg/.cvsignore:
7620 * examples/pwg/Makefile.am:
7621 * examples/pwg/extract.pl:
7622 * examples/queue/.cvsignore:
7623 * examples/queue/Makefile.am:
7624 * examples/queue/queue.c:
7625 * examples/queue2/.cvsignore:
7626 * examples/queue2/Makefile.am:
7627 * examples/queue2/queue2.c:
7628 * examples/queue3/.cvsignore:
7629 * examples/queue3/Makefile.am:
7630 * examples/queue3/queue3.c:
7631 * examples/queue4/.cvsignore:
7632 * examples/queue4/Makefile.am:
7633 * examples/queue4/queue4.c:
7634 * examples/retag/.cvsignore:
7635 * examples/retag/Makefile.am:
7636 * examples/retag/retag.c:
7637 * examples/retag/transcode.c:
7638 * examples/thread/.cvsignore:
7639 * examples/thread/Makefile.am:
7640 * examples/thread/thread.c:
7641 * examples/typefind/.cvsignore:
7642 * examples/typefind/Makefile.am:
7643 * examples/typefind/typefind.c:
7644 * examples/xml/.cvsignore:
7645 * examples/xml/Makefile.am:
7646 * examples/xml/createxml.c:
7647 * examples/xml/runxml.c:
7648 * tests/Makefile.am:
7649 * tests/check/Makefile.am:
7650 * testsuite/.cvsignore:
7651 * testsuite/Makefile.am:
7653 * testsuite/caps/.cvsignore:
7654 * testsuite/caps/Makefile.am:
7655 * testsuite/caps/app_fixate.c:
7656 * testsuite/caps/audioscale.c:
7657 * testsuite/caps/caps.c:
7658 * testsuite/caps/caps.h:
7659 * testsuite/caps/caps_strings:
7660 * testsuite/caps/compatibility.c:
7661 * testsuite/caps/deserialize.c:
7662 * testsuite/caps/enumcaps.c:
7663 * testsuite/caps/eratosthenes.c:
7664 * testsuite/caps/filtercaps.c:
7665 * testsuite/caps/fixed.c:
7666 * testsuite/caps/fraction-convert.c:
7667 * testsuite/caps/fraction-multiply-and-zero.c:
7668 * testsuite/caps/intersect2.c:
7669 * testsuite/caps/intersection.c:
7670 * testsuite/caps/normalisation.c:
7671 * testsuite/caps/random.c:
7672 * testsuite/caps/renegotiate.c:
7673 * testsuite/caps/sets.c:
7674 * testsuite/caps/simplify.c:
7675 * testsuite/caps/string-conversions.c:
7676 * testsuite/caps/structure.c:
7677 * testsuite/caps/subtract.c:
7678 * testsuite/caps/union.c:
7679 * testsuite/debug/.cvsignore:
7680 * testsuite/debug/Makefile.am:
7681 * testsuite/debug/category.c:
7682 * testsuite/debug/commandline.c:
7683 * testsuite/debug/global.c:
7684 * testsuite/debug/output.c:
7685 * testsuite/debug/printf_extension.c:
7686 * testsuite/dlopen/.cvsignore:
7687 * testsuite/dlopen/Makefile.am:
7688 * testsuite/dlopen/dlopen_gst.c:
7689 * testsuite/dlopen/loadgst.c:
7690 * testsuite/elements/.cvsignore:
7691 * testsuite/elements/Makefile.am:
7692 * testsuite/elements/gst-inspect-check.in:
7693 * testsuite/elements/struct_i386.h:
7694 * testsuite/elements/struct_size.c:
7695 * testsuite/indexers/.cvsignore:
7696 * testsuite/indexers/Makefile.am:
7697 * testsuite/indexers/cache1.c:
7698 * testsuite/indexers/indexdump.c:
7699 * testsuite/parse/.cvsignore:
7700 * testsuite/parse/Makefile.am:
7701 * testsuite/parse/parse1.c:
7702 * testsuite/parse/parse2.c:
7703 * testsuite/plugin/.cvsignore:
7704 * testsuite/plugin/Makefile.am:
7705 * testsuite/plugin/README:
7706 * testsuite/plugin/dynamic.c:
7707 * testsuite/plugin/linked.c:
7708 * testsuite/plugin/loading.c:
7709 * testsuite/plugin/registry.c:
7710 * testsuite/plugin/static.c:
7711 * testsuite/plugin/static2.c:
7712 * testsuite/plugin/testplugin.c:
7713 * testsuite/plugin/testplugin2.c:
7714 * testsuite/plugin/testplugin2_s.c:
7715 * testsuite/plugin/testplugin_s.c:
7716 * testsuite/refcounting/.cvsignore:
7717 * testsuite/refcounting/Makefile.am:
7718 * testsuite/refcounting/bin.c:
7719 * testsuite/refcounting/element.c:
7720 * testsuite/refcounting/element_pad.c:
7721 * testsuite/refcounting/mainloop.c:
7722 * testsuite/refcounting/mem.c:
7723 * testsuite/refcounting/mem.h:
7724 * testsuite/refcounting/object.c:
7725 * testsuite/refcounting/pad.c:
7726 * testsuite/refcounting/sched.c:
7727 * testsuite/refcounting/thread.c:
7728 * testsuite/states/.cvsignore:
7729 * testsuite/states/Makefile.am:
7730 * testsuite/states/bin.c:
7731 * testsuite/states/locked.c:
7732 * testsuite/states/parent.c:
7733 * testsuite/threads/.cvsignore:
7734 * testsuite/threads/159566.c:
7735 * testsuite/threads/159852.c:
7736 * testsuite/threads/Makefile.am:
7737 * testsuite/threads/queue.c:
7738 * testsuite/threads/signals.c:
7739 * testsuite/threads/staticrec.c:
7740 * testsuite/threads/thread.c:
7741 * testsuite/threads/threadb.c:
7742 * testsuite/threads/threadc.c:
7743 * testsuite/threads/threadd.c:
7744 * testsuite/threads/threade.c:
7745 * testsuite/threads/threadf.c:
7746 * testsuite/threads/threadg.c:
7747 * testsuite/threads/threadh.c:
7748 * testsuite/threads/threadi.c:
7749 move all of these under tests
7751 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7754 * tests/Makefile.am:
7757 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7759 * docs/gst/gstreamer-sections.txt:
7760 * tests/sched/.cvsignore:
7761 * tests/sched/Makefile.am:
7762 * tests/sched/cases/(fs-fs).xml:
7763 * tests/sched/cases/(fs-i-fs).xml:
7764 * tests/sched/cases/(fs-i-i-fs).xml:
7765 * tests/sched/cases/(fs-i-q[i-fs]).xml:
7766 * tests/sched/dynamic-pipeline.c:
7767 * tests/sched/interrupt1.c:
7768 * tests/sched/interrupt2.c:
7769 * tests/sched/interrupt3.c:
7770 * tests/sched/runtestcases:
7771 * tests/sched/runxml.c:
7772 * tests/sched/sched-stress.c:
7773 * tests/sched/sort.c:
7774 * tests/sched/testcases:
7775 * tests/sched/testcases1.tc:
7776 * tests/seeking/.cvsignore:
7777 * tests/seeking/Makefile.am:
7778 * tests/seeking/seeking1.c:
7779 * tests/threadstate/.cvsignore:
7780 * tests/threadstate/Makefile.am:
7781 * tests/threadstate/test1.c:
7782 * tests/threadstate/test2.c:
7783 * tests/threadstate/threadstate1.c:
7784 * tests/threadstate/threadstate2.c:
7785 * tests/threadstate/threadstate3.c:
7786 * tests/threadstate/threadstate4.c:
7787 * tests/threadstate/threadstate5.c:
7788 remove obsolete tests
7790 * tests/bench-complexity.scm:
7791 * tests/bench-mass_elements.scm:
7792 * tests/complexity.c:
7793 * tests/complexity.gnuplot:
7794 * tests/instantiate/.cvsignore:
7795 * tests/instantiate/Makefile.am:
7796 * tests/instantiate/caps.c:
7797 * tests/mass_elements.c:
7798 * tests/network-clock-utils.scm:
7799 * tests/network-clock.scm:
7801 First pass at cleaning up tests/ dir before moving the rest
7802 Combined with CVS surgery
7804 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7807 queue has moved, update
7809 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7811 * docs/gst/gstreamer-sections.txt:
7812 remove double entries from the docs
7813 * gst/gst_private.h:
7814 * gst/gstinfo.c: (_gst_debug_init):
7815 remove the THREAD debug category
7819 * docs/gst/gstreamer.types:
7820 * plugins/elements/gstqueue.c: (gst_queue_get_type),
7821 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7822 completely move queue and fix up debugging categories
7824 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7826 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7827 make initialization portable, using LL is not
7829 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7831 * win32/common/gstconfig.h:
7834 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7836 * win32/common/libgstreamer.def:
7837 rename symbols; sort base section
7839 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7841 * gst/gstclock.c: (do_linear_regression):
7842 remove crack non-portable handrolled DEBUG macro
7844 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7846 * docs/random/release:
7848 * win32/common/gstenumtypes.c: (register_gst_object_flags),
7849 (gst_object_flags_get_type), (register_gst_bin_flags),
7850 (gst_bin_flags_get_type), (register_gst_buffer_flag),
7851 (gst_buffer_flag_get_type), (register_gst_bus_flags),
7852 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7853 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7854 (gst_caps_flags_get_type), (register_gst_clock_return),
7855 (gst_clock_return_get_type), (register_gst_clock_entry_type),
7856 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7857 (gst_clock_flags_get_type), (register_gst_state),
7858 (gst_state_get_type), (register_gst_state_change_return),
7859 (gst_state_change_return_get_type), (register_gst_state_change),
7860 (gst_state_change_get_type), (register_gst_element_flags),
7861 (gst_element_flags_get_type), (register_gst_core_error),
7862 (gst_core_error_get_type), (register_gst_library_error),
7863 (gst_library_error_get_type), (register_gst_resource_error),
7864 (gst_resource_error_get_type), (register_gst_stream_error),
7865 (gst_stream_error_get_type), (register_gst_event_type_flags),
7866 (gst_event_type_flags_get_type), (register_gst_event_type),
7867 (gst_event_type_get_type), (register_gst_seek_type),
7868 (gst_seek_type_get_type), (register_gst_seek_flags),
7869 (gst_seek_flags_get_type), (register_gst_format),
7870 (gst_format_get_type), (register_gst_index_certainty),
7871 (gst_index_certainty_get_type), (register_gst_index_entry_type),
7872 (gst_index_entry_type_get_type),
7873 (register_gst_index_lookup_method),
7874 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7875 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7876 (gst_index_resolver_method_get_type), (register_gst_index_flags),
7877 (gst_index_flags_get_type), (register_gst_debug_level),
7878 (gst_debug_level_get_type), (register_gst_debug_color_flags),
7879 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7880 (gst_iterator_result_get_type), (register_gst_iterator_item),
7881 (gst_iterator_item_get_type), (register_gst_message_type),
7882 (gst_message_type_get_type), (register_gst_mini_object_flags),
7883 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7884 (gst_pad_link_return_get_type), (register_gst_flow_return),
7885 (gst_flow_return_get_type), (register_gst_activate_mode),
7886 (gst_activate_mode_get_type), (register_gst_pad_direction),
7887 (gst_pad_direction_get_type), (register_gst_pad_flags),
7888 (gst_pad_flags_get_type), (register_gst_pad_presence),
7889 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7890 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7891 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7892 (gst_plugin_error_get_type), (register_gst_plugin_flags),
7893 (gst_plugin_flags_get_type), (register_gst_rank),
7894 (gst_rank_get_type), (register_gst_query_type),
7895 (gst_query_type_get_type), (register_gst_tag_merge_mode),
7896 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7897 (gst_tag_flag_get_type), (register_gst_task_state),
7898 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7899 (gst_alloc_trace_flags_get_type),
7900 (register_gst_type_find_probability),
7901 (gst_type_find_probability_get_type), (register_gst_uri_type),
7902 (gst_uri_type_get_type), (register_gst_parse_error),
7903 (gst_parse_error_get_type):
7904 * win32/common/gstenumtypes.h:
7905 * win32/common/gstversion.h:
7906 update visual studio generated files
7908 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7910 * win32/vs6/libgstbase.dsp:
7911 * win32/vs6/libgstelements.dsp:
7912 update project files for new locations
7914 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7919 reinstate and update
7924 * docs/random/LICENSE:
7927 2005-11-30 Edward Hervey <edward@fluendo.com>
7929 * gst/gsttypefind.c: (gst_type_find_register):
7930 * gst/gsttypefind.h:
7931 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
7932 (gst_type_find_factory_dispose):
7933 * gst/gsttypefindfactory.h:
7934 Fix memory leak in GstTypeFindFactory.
7936 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7939 * plugins/elements/Makefile.am:
7940 * plugins/elements/gstelements.c:
7941 * plugins/elements/gstqueue.c:
7942 move queue from core to the elements plugin
7944 2005-11-29 Andy Wingo <wingo@pobox.com>
7946 * libs/gst/base/gstbasetransform.h:
7947 * libs/gst/base/gstbasesrc.h:
7948 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
7950 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
7951 of pointers by which to pad very extensible base classes (like the
7952 ones in libs/gst/base).
7954 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7956 * docs/gst/gstreamer-docs.sgml:
7957 * docs/gst/gstreamer-sections.txt:
7958 * docs/libs/gstreamer-libs-docs.sgml:
7959 * docs/libs/gstreamer-libs-sections.txt:
7960 moving documentation from core to lib
7962 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7964 * check/Makefile.am:
7966 * docs/gst/Makefile.am:
7968 * gst/base/.cvsignore:
7969 * gst/base/Makefile.am:
7971 * gst/base/gstadapter.c:
7972 * gst/base/gstadapter.h:
7973 * gst/base/gstbasesink.c:
7974 * gst/base/gstbasesink.h:
7975 * gst/base/gstbasesrc.c:
7976 * gst/base/gstbasesrc.h:
7977 * gst/base/gstbasetransform.c:
7978 * gst/base/gstbasetransform.h:
7979 * gst/base/gstcollectpads.c:
7980 * gst/base/gstcollectpads.h:
7981 * gst/base/gstpushsrc.c:
7982 * gst/base/gstpushsrc.h:
7983 * gst/base/gsttypefindhelper.c:
7984 * gst/base/gsttypefindhelper.h:
7985 * gst/check/Makefile.am:
7986 * gst/check/gstcheck.c:
7987 * gst/check/gstcheck.h:
7988 * gst/net/Makefile.am:
7990 * gst/net/gstnetclientclock.c:
7991 * gst/net/gstnetclientclock.h:
7992 * gst/net/gstnettimepacket.c:
7993 * gst/net/gstnettimepacket.h:
7994 * gst/net/gstnettimeprovider.c:
7995 * gst/net/gstnettimeprovider.h:
7996 * libs/gst/Makefile.am:
7997 * libs/gst/base/Makefile.am:
7998 * libs/gst/base/gstbasetransform.c:
7999 * libs/gst/check/Makefile.am:
8000 * plugins/elements/Makefile.am:
8002 CVS surgery + support to move base, check, and net out of gst
8005 2005-11-29 Andy Wingo <wingo@pobox.com>
8007 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
8009 * gst/gststructure.h (struct _GstStructure): Only one pointer of
8012 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
8014 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
8016 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
8018 * gst/gstobject.h: (struct _GstObject): Only one pointer of
8019 padding; reduces object size by about 30%. We don't expect
8020 anything else to go into gstobject.
8022 * gst/gstminiobject.h (struct _GstMiniObject)
8023 (struct _GstMiniObjectClass): Only one pointer of padding; the
8024 payload is only a pointer and two ints anyway. For the class there
8025 are only two methods as well.
8027 * gst/gstelement.h (struct _GstElementClass): Removed
8028 the state_changed signal callback, it is not used.
8030 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
8032 * docs/gst/gstreamer.types:
8033 fix includes, though they are a little dinky
8035 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8037 * check/Makefile.am:
8038 look in the right place for elements, a lot more chance of
8041 remove indexers and elements subdirs
8042 * plugins/Makefile.am:
8043 make indexers conditional
8045 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8049 * plugins/elements/Makefile.am:
8050 * plugins/elements/gstcapsfilter.c:
8051 * plugins/elements/gstfilesink.c:
8052 * plugins/elements/gstfilesrc.c:
8053 * plugins/elements/gstidentity.c:
8054 * plugins/indexers/Makefile.am:
8055 do CVS surgery and related build fixery to move elements
8056 and indexers in a new gstreamer/plugins directory, out of the
8059 2005-11-29 Andy Wingo <wingo@pobox.com>
8061 * check/Makefile.am:
8062 * pkgconfig/gstreamer-net-uninstalled.pc.in:
8063 * pkgconfig/gstreamer-net.pc.in:
8064 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
8067 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
8069 * tools/Makefile.am:
8070 * tools/gst-complete.1.in:
8071 * tools/gst-complete.c:
8072 * tools/gst-compprep.1.in:
8073 * tools/gst-compprep.c:
8074 removing -compprep and -complete
8076 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
8078 * gst/gstevent.c: (gst_event_new_new_segment),
8079 (gst_event_parse_new_segment):
8081 fix #320529 - clean up new_segment API and structure.
8082 Let's hope everyone was using the methods, and not the structure.
8084 2005-11-29 Edward Hervey <edward@fluendo.com>
8086 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8087 (gst_base_sink_event), (gst_base_sink_do_sync),
8088 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8089 Properly handle non GST_FORMAT_TIME segment
8090 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8091 Properly handle non GST_FORMAT_TIME segment
8093 This function is valid if the accumulator is 0 and the format
8094 is different from the requested format.
8096 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
8098 * docs/gst/gstreamer-sections.txt:
8099 Add gst_query_new_seeking and gst_query_parse_seeking to the
8102 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
8104 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8105 Treat a pad alloc with new caps the same as if we were not
8106 negotiated, in order to allow a changing upstream output
8107 to produce a new format of data.
8109 2005-11-29 Edward Hervey <edward@fluendo.com>
8111 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
8112 (gst_base_transform_event), (gst_base_transform_eventfunc):
8113 The event virtual method is now properly implemented, with a default
8115 Sub classes should call the parent_class event method. They should
8116 return FALSE if they had a problem handling the given event, or don't
8117 want GstBaseTransform to send that even downstream
8118 * gst/elements/gstidentity.c: (gst_identity_class_init),
8119 (gst_identity_init), (gst_identity_event),
8120 (gst_identity_transform_ip), (gst_identity_set_property),
8121 (gst_identity_get_property):
8122 * gst/elements/gstidentity.h:
8123 Added the single-segment boolean property.
8124 If set to TRUE, it will output a single segment of data, starting from
8125 0, will eat up all incoming newsegment, and modify the timestamp of the
8128 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
8130 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
8131 Don't ref NULL target pad (#322751). Improve docs.
8133 2005-11-29 Michael Smith <msmith@fluendo.com>
8135 * gst/gstregistryxml.c: (load_plugin):
8136 Don't crash if we failed to load a feature from a plugin.
8138 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8140 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
8142 use more check API and less GLib API
8144 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8147 don't run checks if we don't have check
8149 remove the registry when running make torture
8150 * docs/gst/gstreamer-sections.txt:
8151 remove second multiply
8152 * gst/gstqueue.c: (gst_queue_loop):
8153 fix a compile warning when disabling debug
8155 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
8158 Hey! Let's print the pad name if the pointer != NULL instead
8159 of when it == NULL :-)
8161 2005-11-28 Wim Taymans <wim@fluendo.com>
8163 * check/gst/gstutils.c: (GST_START_TEST):
8164 Updated check, add some scaling accuracy checking code.
8166 * gst/gstutils.c: (gst_util_div128_64),
8167 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
8168 (gst_util_uint64_scale_int):
8169 Fix 6 times faster division code. Optimize for common
8170 1/1 and less common X/1 cases.
8172 2005-11-28 Wim Taymans <wim@fluendo.com>
8174 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8177 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
8178 (do_linear_regression), (gst_clock_add_observation):
8180 Release lock when the clock cannot be slaved.
8181 Catch the case where the regression returned an invalid denominator.
8183 * gst/gstutils.c: (gst_util_div128_64_iterate),
8184 (gst_util_div128_64), (gst_util_uint64_scale_int64),
8185 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
8186 Add protentially more performant non-iterative 128/64 divide function
8187 that unfortunatly does not work yet.
8188 Shortcut the trivial 0/X = 0 case.
8189 Remove the warnings on overflow.
8191 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8193 * gst/gstplugin.c: (gst_plugin_register_func):
8194 everything causing a plugin not to load should be at least a WARNING
8196 2005-11-28 Stefan Kost <ensonic@users.sf.net>
8198 * docs/random/ensonic/dparams.txt:
8199 some TODOs for the next dev cycle
8200 * libs/gst/controller/gstcontroller.c:
8201 (gst_controlled_property_set_interpolation_mode),
8202 (gst_controlled_property_new):
8203 * libs/gst/controller/gstcontroller.h:
8204 use base type to assign acccessor functions
8206 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
8208 * check/Makefile.am:
8209 Oops, that should have been top_srcdir
8211 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
8213 * check/Makefile.am:
8214 * check/elements/fdsrc.c: (GST_START_TEST):
8215 Use a cmdline define to specify the location of a file to use for
8216 testing, to avoid breaking distcheck.
8218 2005-11-28 Andy Wingo <wingo@pobox.com>
8220 * gst/gstpad.c (fixate_value): Use array functions for arrays.
8222 2005-11-28 Edward Hervey <edward@fluendo.com>
8224 * tools/gst-launch.c: (main):
8225 Clarify the output strings, makes it easier to translate.
8228 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8231 don't try and build net if we don't even have <sys/socket.h>
8233 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
8235 * check/Makefile.am:
8236 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
8237 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
8238 Add tests for fdsrc seekability
8240 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
8241 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
8242 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
8243 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
8244 * gst/elements/gstfdsrc.h:
8245 fdsrc should not be a 'live' source.
8246 Implement seeking on seekable fd's.
8248 * gst/gstquery.c: (gst_query_new_seeking),
8249 (gst_query_parse_seeking):
8251 Implement SEEKING query functions:
8252 *_new_seeking and *_parse_seeking
8254 2005-11-27 Stefan Kost <ensonic@users.sf.net>
8256 * gst/gstelement.c: (gst_element_dispose):
8259 * gst/gstiterator.c:
8260 * gst/gststructure.c:
8263 * libs/gst/controller/gstcontroller.c:
8264 (gst_controlled_property_set_interpolation_mode):
8265 * libs/gst/controller/gstcontroller.h:
8266 * libs/gst/controller/gstinterpolation.c:
8267 (interpolate_none_get_enum_value_array):
8268 support controlling enums
8270 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
8273 Improve documentation for gst_value_union().
8276 Change return value for union, intersect and subtract functions
8277 from gint to gboolean.
8279 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
8281 * gst/gstvalue.c: (gst_value_serialize_any_list),
8282 (gst_value_transform_any_list_string),
8283 (gst_value_deserialize_list), (gst_value_deserialize_array),
8284 (gst_value_set_int_range), (gst_value_deserialize_int_range),
8285 (gst_value_set_double_range), (gst_value_deserialize_double_range),
8286 (gst_value_set_fraction_range_full),
8287 (gst_value_deserialize_fraction_range),
8288 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
8289 (gst_value_deserialize_boolean),
8290 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
8291 (gst_value_serialize_float), (gst_value_deserialize_float),
8292 (gst_string_wrap), (gst_value_deserialize_string),
8293 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
8294 (gst_value_union_int_range_int_range),
8295 (gst_value_intersect_int_range_int_range),
8296 (gst_value_intersect_double_range_double_range),
8297 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
8298 (gst_value_subtract_int_range_int_range),
8299 (gst_value_subtract_double_double_range),
8300 (gst_value_subtract_double_range_double_range),
8301 (gst_value_deserialize_fraction):
8303 Use gint, gdouble and gchar in our API instead of int, double and
8304 char (and make usage in gstvalue.c more consistent).
8306 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
8308 * check/Makefile.am:
8309 * libs/gst/controller/Makefile.am:
8310 * libs/gst/dataprotocol/Makefile.am:
8311 fix up Makefile.am and remove GST_ENABLE_NEW
8313 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
8317 * gst/base/Makefile.am:
8318 * gst/check/Makefile.am:
8319 * gst/elements/Makefile.am:
8320 * gst/net/Makefile.am:
8321 update LDFLAGS use some more
8323 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
8325 * common/m4/gst-doc.m4:
8328 2005-11-26 Edward Hervey <edward@fluendo.com>
8330 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8331 This shouldn't issue a g_warning since it returns NULL if it
8332 couldn't find the plugin, and all functions using this behave
8333 properly on a NULL return. Switching to a GST_WARNING.
8335 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
8337 * gst/gstbin.c: (gst_bin_handle_message_func):
8338 Don't leak clock messages.
8340 2005-11-25 Wim Taymans <wim@fluendo.com>
8342 * gst/gstutils.c: (gst_util_uint64_scale_int64),
8343 (gst_util_uint64_scale_int):
8344 Optimisations, remove unneeded vars.
8346 2005-11-25 Wim Taymans <wim@fluendo.com>
8348 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8349 Added more checks for the high precision uint64 cases.
8351 * gst/gstutils.c: (gst_util_uint64_scale_int64),
8352 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
8353 Implement high precision (guint64 * guint64) / guint64.
8355 2005-11-24 Wim Taymans <wim@fluendo.com>
8357 * gst/base/gstbasesrc.c: (gst_base_src_query):
8358 Fix wrong percentage query.
8360 * gst/gstutils.c: (gst_util_uint64_scale),
8361 (gst_util_uint64_scale_int):
8362 Add some more common cases that can be handled
8363 efficiently to _scale.
8365 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
8367 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
8368 (gst_mini_object_suite):
8369 don't use check calls from threads; check probably isn't
8370 threadsafe and using a lock to make it threadsafe would
8371 defeat the purpose of this check
8372 * gst/check/gstcheck.c:
8373 * gst/check/gstcheck.h:
8374 use GST_DEBUG some more
8376 2005-11-24 Wim Taymans <wim@fluendo.com>
8378 * gst/gstutils.c: (gst_util_uint64_scale),
8379 (gst_util_uint64_scale_int):
8380 Chain trivial case to _scale_int.
8382 2005-11-24 Wim Taymans <wim@fluendo.com>
8384 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8385 Added test for scaling.
8390 * gst/gstutils.c: (gst_util_uint64_scale_int):
8391 Implemented high precision scaling code.
8393 2005-11-24 Stefan Kost <ensonic@users.sf.net>
8396 do not crash on pad==NULL
8398 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
8400 Patch by: Stefan Kost
8402 * common/gtk-doc.mak:
8403 * docs/gst/Makefile.am:
8404 * docs/libs/Makefile.am:
8405 Fix distcheck issues for the libraries docs build
8408 2005-11-24 Michael Smith <msmith@fluendo.com>
8410 * docs/manual/basics-helloworld.xml:
8411 Fix bug #315027: memory leak in example code in docs.
8413 2005-11-24 Michael Smith <msmith@fluendo.com>
8415 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8416 Unlock the PREROLL_LOCK in a failure case.
8418 2005-11-24 Wim Taymans <wim@fluendo.com>
8420 * docs/gst/gstreamer-sections.txt:
8421 * gst/base/gstadapter.h:
8422 * gst/base/gstbasesink.h:
8423 * gst/base/gstbasesrc.h:
8424 * gst/base/gstbasetransform.h:
8425 * gst/base/gstpushsrc.h:
8426 * gst/elements/gstfakesink.h:
8427 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
8428 * gst/elements/gstfakesrc.h:
8429 * gst/elements/gstfilesink.h:
8430 * gst/elements/gstfilesrc.h:
8433 * gst/gstbuffer.c: (_gst_buffer_copy):
8436 * gst/gstchildproxy.c:
8439 * gst/gstelementfactory.c:
8440 * gst/gstelementfactory.h:
8442 * gst/gstghostpad.h:
8444 * gst/gstinterface.h:
8445 * gst/gstminiobject.c:
8446 * gst/gstminiobject.h:
8449 * gst/gstpadtemplate.h:
8450 * gst/gstpipeline.h:
8451 * gst/gstpluginfeature.h:
8456 * gst/gsttagsetter.c:
8457 * gst/gsttagsetter.h:
8460 * gst/gsttypefind.h:
8463 * gst/net/gstnetclientclock.c:
8464 * gst/net/gstnetclientclock.h:
8465 * gst/net/gstnettimepacket.c:
8466 * gst/net/gstnettimeprovider.c:
8467 * gst/net/gstnettimeprovider.h:
8470 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8472 * configure.ac: back to HEAD
8474 === release 0.9.6 ===
8476 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8479 releasing 0.9.6, "Always On Time"
8481 2005-11-23 Wim Taymans <wim@fluendo.com>
8483 * docs/gst/gstreamer-sections.txt:
8484 * gst/glib-compat.c:
8485 * gst/gsttagsetter.c:
8487 * gst/net/gstnetclientclock.c:
8488 * gst/net/gstnettimepacket.h:
8491 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8493 * docs/faq/using.xml:
8494 * docs/libs/tmpl/gstcontrol.sgml:
8495 * docs/manual/advanced-dparams.xml:
8496 * docs/manual/appendix-checklist.xml:
8497 * docs/manual/basics-elements.xml:
8498 * docs/pwg/other-source.xml:
8499 * docs/random/moving-plugins:
8501 * tools/gst-launch.1.in:
8502 remove mentions of sinesrc
8504 2005-11-23 Michael Smith <msmith@fluendo.com>
8506 * docs/gst/gstreamer-sections.txt:
8507 Update for new API and API changes.
8509 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
8511 Documentation typo fix.
8512 * gst/net/gstnettimepacket.c:
8513 Documentation fixes for arguments.
8515 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
8517 * gst/gststructure.c: (gst_structure_get_fraction),
8518 (gst_structure_parse_value),
8519 (gst_structure_fixate_field_nearest_fraction):
8520 * gst/gststructure.h:
8521 * gst/gstutils.c: (gst_util_uint64_scale_int):
8523 * scripts/update-funcnames:
8525 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
8526 Make gst_structure_fixate_field_nearest_fraction take a numerator
8527 and denominator argument instead of a GValue
8528 add gst_structure_get_fraction helper function.
8530 2005-11-23 Wim Taymans <wim@fluendo.com>
8532 * docs/design/part-TODO.txt:
8535 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8536 * gst/net/gstnetclientclock.h:
8537 Use parent fields for timeout and window_size.
8539 2005-11-23 Andy Wingo <wingo@pobox.com>
8541 * check/net/gstnetclientclock.c (test_functioning): Adjust to
8542 rate_num/rate_denom change.
8544 * gst/net/gstnetclientclock.c
8545 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
8546 OBJECT_LOCK. Don't call add_observation with the lock.
8548 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
8550 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
8552 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
8553 deal with rate as a fraction whose numerator and denominator are
8554 GstClockTime values.
8555 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
8556 master; the other fields are protected by the SLAVE_LOCK.
8557 (do_linear_regression): Note that this must be called with the
8559 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
8560 OBJECT_LOCK. Call set_calibration instead of touching the
8562 (gst_clock_set_property, gst_clock_get_property): Protect
8563 master/slave parameters with the SLAVE_LOCK.
8565 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
8566 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
8567 note that all of the instance variables that add_observation and
8568 the set_master functions use are protected by that lock and not
8570 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
8572 * gst/gstclock.c (gst_clock_add_observation): No longer requires
8573 the caller to take the object lock.
8575 2005-11-23 Wim Taymans <wim@fluendo.com>
8577 * gst/gsterror.c: (_gst_core_errors_init):
8579 Add error for clock stuff.
8581 * gst/gstpipeline.c: (gst_pipeline_change_state),
8582 (gst_pipeline_set_clock):
8583 Post clock error when clock cannot be used in a pipeline.
8585 2005-11-23 Stefan Kost <ensonic@users.sf.net>
8587 * docs/gst/gstreamer-sections.txt:
8588 make two symbols from gstinfo private for the docs
8589 * gst/base/gstcollectpads.h:
8591 fix doc typos, update docs
8593 2005-11-22 Wim Taymans <wim@fluendo.com>
8595 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
8596 (gst_base_sink_wait), (gst_base_sink_do_sync),
8597 (gst_base_sink_handle_event):
8598 * gst/base/gstbasesink.h:
8599 No need to store the clock, the parent element class already
8602 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
8603 Updates for clock_set returning a gboolean
8605 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
8606 (gst_clock_id_wait_async), (gst_clock_class_init),
8607 (gst_clock_init), (gst_clock_finalize),
8608 (gst_clock_get_internal_time), (gst_clock_get_time),
8609 (gst_clock_slave_callback), (gst_clock_set_master),
8610 (gst_clock_get_master), (do_linear_regression),
8611 (gst_clock_add_observation), (gst_clock_set_property),
8612 (gst_clock_get_property):
8614 Implement master/slave. When setting a clock as a slave, a
8615 periodic timeout is scheduled to sample master and slave times.
8616 Then the slave clock is recalibrated to match offset and rate
8617 of the master clock.
8618 Update logging a bit.
8619 Add flag so that a clock can state that is cannot be slaved to
8622 * gst/gstelement.c: (gst_element_set_clock):
8624 The set clock returns a gboolean for when an element cannot
8625 deal with the selected clock in the pipeline.
8627 * gst/gstpipeline.c: (gst_pipeline_change_state),
8628 (gst_pipeline_set_clock):
8629 * gst/gstpipeline.h:
8630 Handle the case where the selected clock cannot be set on
8633 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
8634 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8635 (gst_net_client_clock_set_property),
8636 (gst_net_client_clock_get_property),
8637 (gst_net_client_clock_observe_times):
8638 * gst/net/gstnetclientclock.h:
8639 Use regression code in GstClock parent, remove duplicated
8642 2005-11-22 Michael Smith <msmith@fluendo.com>
8644 * gst/gstutils.c: (gst_util_clock_time_scale):
8646 * docs/gst/gstreamer-sections.txt:
8647 Rename method to have extra underscore.
8649 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
8651 * gst/elements/Makefile.am:
8652 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
8653 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8654 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8655 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
8656 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
8657 * gst/elements/gstfakesrc.h:
8658 * gst/gstqueue.c: (queue_leaky_get_type):
8659 correctly fix GEnumValues so that nick is the short lowercase
8661 * tools/gst-inspect.c: (print_element_properties_info):
8662 also show the nick, since it's useful to use from parse_launch
8666 2005-11-22 Michael Smith <msmith@fluendo.com>
8668 * gst/gstutils.c: (gst_util_clocktime_scale):
8670 * docs/gst/gstreamer-sections.txt:
8671 Add util method for scaling a clocktime by a fraction. Useful
8672 implementation is left as an exercise for the reader.
8674 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8676 * gst/gstvalue.c: (gst_value_collect_fraction_range):
8677 If needed, allocate storage in the destination value during
8680 2005-11-22 Edward Hervey <edward@fluendo.com>
8682 * docs/gst/gstreamer-sections.txt:
8687 * gst/gstutils.c: (gst_util_set_object_arg):
8688 * tools/gst-compprep.c: (main):
8689 * tools/gst-inspect.c: (print_element_properties_info):
8690 Removed GstURI, closes bug #321061
8692 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8694 * check/gst/gststructure.c: (GST_START_TEST):
8695 * gst/gststructure.c: (gst_structure_parse_value):
8696 Oops, broke automatic string type parsing.
8697 Add a test to catch it in future.
8699 2005-11-22 Andy Wingo <wingo@pobox.com>
8701 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
8702 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
8703 Actually rename the function implementations. Grr.
8705 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8707 * check/gst/capslist.h:
8709 * check/gst/gststructure.c: (GST_START_TEST),
8710 (gst_structure_suite):
8711 Test automatic value type detection in gst_structure_from_string.
8712 * gst/gststructure.c: (gst_structure_parse_value):
8713 Add fraction as a type we try and guess automatically in
8714 caps/structure strings.
8716 2005-11-22 Andy Wingo <wingo@pobox.com>
8718 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
8720 * gst/gsttagsetter.h:
8721 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
8722 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
8723 (gst_tag_setter_add_tag_valist)
8724 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
8725 _add_values, _add_valist, and _add_valist_values. Since this is an
8726 interface the function suffixes should be more explicit so
8727 language binding don't end up with element.add_valist ->
8728 gst_tag_setter_add_valist, for example. Fixes #322069.
8730 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8732 * check/gst/gstcaps.c: (GST_START_TEST):
8733 Extend caps string tests to check that a caps to string
8734 conversion is reversible and produces the same caps.
8736 * gst/gststructure.c: (gst_structure_value_get_generic_type):
8737 Output "fraction" as the generic type fraction range, so caps
8738 serialisation and deserialisation works.
8739 * check/gst/capslist.h:
8740 * gst/gstvalue.c: (gst_value_deserialize_fraction):
8741 Support 'MIN' and 'MAX' for deserialising fractions.
8743 2005-11-22 Andy Wingo <wingo@pobox.com>
8745 * gst/gstevent.h (gst_event_new_new_segment)
8746 (gst_event_parse_new_segment, gst_event_new_buffer_size)
8747 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
8748 Renamed from *_newsegment, *_buffersize, *_notarget.
8750 * scripts/update-funcnames: New script, performs the changes
8753 2005-11-22 Wim Taymans <wim@fluendo.com>
8755 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8756 Make sure the GstFlowReturn is returned.
8758 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
8759 (gst_bus_add_signal_watch):
8761 add gst_bus_add_signal_watch_full.
8763 * gst/gstplugin.c: (gst_plugin_load_file):
8764 Small style cleanup.
8766 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8768 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
8769 Block the fakesrc srcpad when we send an event, to avoid
8770 contention on the stream_lock causing random test failures.
8772 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8774 * check/gst/gstvalue.c: (GST_START_TEST):
8775 * gst/gstvalue.c: (gst_value_fraction_subtract):
8778 2005-11-22 Stefan Kost <ensonic@users.sf.net>
8781 include "gstchildproxy.h"
8782 * gst/gstchildproxy.h:
8783 * libs/gst/controller/gstcontroller.h:
8784 use G_GNUC_NULL_TERMINATED
8786 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8788 * check/gst/capslist.h:
8789 * check/gst/gstcaps.c: (GST_START_TEST):
8790 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8791 * gst/gststructure.c: (gst_structure_parse_range),
8792 (gst_structure_fixate_field_nearest_fraction):
8793 * gst/gststructure.h:
8794 * gst/gstvalue.c: (gst_value_init_fraction_range),
8795 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8796 (gst_value_collect_fraction_range),
8797 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8798 (gst_value_set_fraction_range_full),
8799 (gst_value_get_fraction_range_min),
8800 (gst_value_get_fraction_range_max),
8801 (gst_value_serialize_fraction_range),
8802 (gst_value_transform_fraction_range_string),
8803 (gst_value_compare_fraction_range),
8804 (gst_value_deserialize_fraction_range),
8805 (gst_value_intersect_fraction_fraction_range),
8806 (gst_value_intersect_fraction_range_fraction_range),
8807 (gst_value_subtract_fraction_fraction_range),
8808 (gst_value_subtract_fraction_range_fraction),
8809 (gst_value_subtract_fraction_range_fraction_range),
8810 (gst_value_collect_fraction), (gst_value_fraction_multiply),
8811 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8812 (gst_value_transform_string_fraction), (_gst_value_initialize):
8814 Implement fraction ranges and extend GstFraction to support
8815 arithmetic subtraction, as well as deserialization from integer
8816 strings such as "100"
8817 Add a testsuite as for int and double range set operations
8819 2005-11-21 Andy Wingo <wingo@pobox.com>
8823 * gst/gststructure.h: Add glib-compat.h.
8825 2005-11-21 Wim Taymans <wim@fluendo.com>
8827 * gst/gstbin.c: (gst_bin_change_state_func):
8830 2005-11-21 Wim Taymans <wim@fluendo.com>
8833 And add a nice define too.
8835 2005-11-21 Wim Taymans <wim@fluendo.com>
8837 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8838 (gst_segment_new), (gst_segment_free), (gst_segment_init),
8839 (gst_segment_set_duration), (gst_segment_set_last_stop),
8840 (gst_segment_set_seek), (gst_segment_set_newsegment),
8841 (gst_segment_to_stream_time), (gst_segment_to_running_time),
8844 Make binding friendly.
8846 2005-11-21 Andy Wingo <wingo@pobox.com>
8848 * gst/gsttagsetter.h:
8850 * gst/gststructure.h:
8852 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8855 * gst/gsterror.c (_gst_core_errors_init):
8856 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8859 * gst/Makefile.am (gst_headers): Add glib-compat.h.
8860 (noinst_HEADERS): noinst the -private.
8862 2005-11-21 Michael Smith <msmith@fluendo.com>
8865 * gst/gstregistry.h:
8866 Remove unimplemented declarations for which we can see no sensible
8869 2005-11-21 Andy Wingo <wingo@pobox.com>
8871 * gst/gst.h: Include glib-compat.h.
8873 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8875 * gst/glib-compat.c: Include the public and the private header.
8877 * gst/glib-compat-private.h: Copied here from glib-compat.h.
8881 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
8883 * check/gst/gstevent.c (create_custom_events): Check that
8884 FLUSH_STOP is serialized.
8886 * check/elements/identity.c (event_func):
8887 * check/elements/fakesrc.c (event_func): No stream lock, the core
8890 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
8891 stream lock taking, yay.
8893 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
8894 ensure that core takes the stream lock.
8896 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
8899 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
8900 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
8901 it already. For the flush start we do take it though so we get the
8902 right preroll state change messages.
8904 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
8905 the stream lock here, the core does it for us.
8907 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
8908 GST_STREAM_GET_LOCK.
8909 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
8910 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
8911 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
8912 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
8913 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
8914 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
8916 * gst/gstpad.c: Update for stream lock name change.
8918 * gst/base/gstbasesink.c: Update for preroll lock name change.
8920 2005-11-21 Wim Taymans <wim@fluendo.com>
8922 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
8923 (gst_clock_get_master):
8925 * gst/gstsystemclock.c: (gst_system_clock_init):
8926 Convert Clock flags to object flags.
8927 Added methods to manage master/slave clocks.
8929 2005-11-21 Wim Taymans <wim@fluendo.com>
8931 * check/gst/gstsegment.c: (GST_START_TEST):
8932 * docs/design/part-TODO.txt:
8933 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8934 (gst_base_sink_event), (gst_base_sink_do_sync),
8935 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8936 (gst_base_sink_query), (gst_base_sink_change_state):
8937 * gst/base/gstbasesink.h:
8938 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8939 (gst_base_src_default_newsegment),
8940 (gst_base_src_configure_segment), (gst_base_src_do_seek),
8941 (gst_base_src_get_range), (gst_base_src_loop),
8942 (gst_base_src_change_state):
8943 * gst/base/gstbasesrc.h:
8944 * gst/base/gstbasetransform.c:
8945 (gst_base_transform_prepare_output_buf),
8946 (gst_base_transform_event), (gst_base_transform_change_state):
8947 * gst/base/gstbasetransform.h:
8948 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8949 (gst_collect_pads_event):
8950 * gst/base/gstcollectpads.h:
8951 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
8952 (gst_fake_src_create):
8953 * gst/elements/gstfakesrc.h:
8954 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8955 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8956 (gst_segment_set_last_stop), (gst_segment_set_seek),
8957 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8958 (gst_segment_to_running_time), (gst_segment_clip):
8960 More segment updates, replace code in plugins with segment
8963 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8965 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
8966 Don't ignore sscanf results
8968 2005-11-21 Andy Wingo <wingo@pobox.com>
8970 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
8973 * *.c: Ran scripts/update-macros. Oh yes.
8975 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
8976 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
8979 * scripts/update-macros: New script. Run it on your files to
8980 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
8983 2005-11-21 Stefan Kost <ensonic@users.sf.net>
8985 * docs/gst/Makefile.am:
8986 * docs/gst/gstreamer-docs.sgml:
8987 * docs/gst/gstreamer-sections.txt:
8988 * docs/gst/gstreamer.types:
8990 more docs fixes, add new api to the docs
8992 2005-11-21 Andy Wingo <wingo@pobox.com>
8994 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
8995 state_broadcast call.
8997 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
8999 2005-11-21 Julien MOUTTE <julien@moutte.net>
9001 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
9002 function calls for arrays.
9004 2005-11-21 Stefan Kost <ensonic@users.sf.net>
9006 * docs/random/ensonic/media-device-daemon.txt:
9007 wild idea, can this be done?
9008 * docs/gst/gstreamer-sections.txt:
9013 * gst/gstpluginfeature.c:
9017 doc fixes and additions
9019 2005-11-21 Andy Wingo <wingo@pobox.com>
9021 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
9022 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
9023 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
9024 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
9025 private to the basesrc implementation.
9027 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
9028 behalf of event function if necessary. It should no longer be
9029 necessary to take the stream lock in pad's event functions. Fixes
9032 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
9033 * docs/gst/gstreamer-sections.txt:
9034 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
9035 (gst_structure_fixate_field_nearest_double),
9036 (gst_structure_fixate_field_boolean):
9037 * gst/gststructure.h:
9038 * win32/common/libgstreamer.def:
9039 * win32/gstreamer.def:
9041 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
9044 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
9046 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
9047 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
9048 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
9049 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
9050 (gst_fdsrc_uri_handler_init):
9051 * gst/elements/gstfdsrc.h:
9052 Port fd:// URI handler from 0.8 to fdsrc
9054 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9056 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
9057 (gst_value_serialize_fourcc):
9059 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
9060 consistent with our other format defines (#320324).
9062 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9064 * gst/gstvalue.c: (gst_value_is_fixed):
9065 Revert previous commit. Value lists are by definition
9066 not fixed, as they are a list of possible values.
9068 2005-11-21 Andy Wingo <wingo@pobox.com>
9070 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
9071 during the stable series if we need it. Fixes #319178.
9073 * gst/gstevent.c (gst_event_new_filler): Removed.
9075 * check/gst/gstevent.c: Update comment about filler events.
9077 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9079 * gst/gstvalue.c: (gst_value_is_fixed):
9080 Should handle both value arrays and value lists.
9082 2005-11-21 Andy Wingo <wingo@pobox.com>
9084 patch by: Alessandro Dessina <alessandro nnva org>
9086 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
9087 functions to access arrays. Fixes #321962.
9089 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9091 * docs/gst/gstreamer.types:
9092 gst_collectpads_get_type => gst_collect_pads_get_type.
9094 * gst/base/gstbasetransform.c:
9095 Remove unused SIGNAL_HANDOFF enum.
9097 2005-11-21 Andy Wingo <wingo@pobox.com>
9099 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
9100 the event type (upstream, downstream, serialized). Renamed
9101 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
9102 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
9103 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
9105 * gst/gstevent.c: Update for new CUSTOM event names.
9107 * check/gst/gstevent.c: Update check for new CUSTOM event names.
9110 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
9113 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9115 * docs/gst/gstreamer-sections.txt:
9116 * win32/common/libgstbase.def:
9117 * win32/libgstbase.def:
9118 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9119 (gst_collect_pads_class_init), (gst_collect_pads_init),
9120 (gst_collect_pads_finalize), (gst_collect_pads_new),
9121 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
9122 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
9123 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
9124 (gst_collect_pads_start), (gst_collect_pads_stop),
9125 (gst_collect_pads_peek), (gst_collect_pads_pop),
9126 (gst_collect_pads_available), (gst_collect_pads_read),
9127 (gst_collect_pads_flush), (gst_collect_pads_event),
9128 (gst_collect_pads_chain):
9129 * gst/base/gstcollectpads.h:
9130 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
9131 unimplemented functions as unimplemented. Add padding to
9132 GstCollectData. (#320766, #320423)
9134 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9137 Improve docs for DURATION message (usage of duration parameter)
9140 2005-11-20 Wim Taymans <wim@fluendo.com>
9142 * check/Makefile.am:
9143 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
9147 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
9148 (gst_segment_set_seek), (gst_segment_set_newsegment),
9149 (gst_segment_to_stream_time), (gst_segment_to_running_time),
9152 Added segment helper structure and methods. Not fully implemented
9154 Added segment check.
9156 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
9158 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9159 Add a deserialisation test for fractions
9160 * examples/metadata/read-metadata.c: (message_loop),
9161 (make_pipeline), (main):
9162 Fix up metadata reading sample.
9163 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9165 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9166 Don't try and fixate empty caps
9167 * gst/gst_private.h:
9168 Wrap in G_BEGIN_DECLS/G_END_DECLS
9169 * gst/gstvalue.c: (gst_value_collect_fraction),
9170 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
9171 (gst_value_transform_string_fraction),
9172 (gst_value_compare_fraction):
9173 Add some extra guards to ensure that we don't end up
9174 with an invalid denominator of 0 in a gstfraction and
9175 that fractions always get reduced.
9177 2005-11-20 Wim Taymans <wim@fluendo.com>
9179 * docs/gst/gstreamer-sections.txt:
9190 2005-11-20 Wim Taymans <wim@fluendo.com>
9192 * docs/design/part-TODO.txt:
9194 Make a proper enum of the flag.
9196 2005-11-19 Wim Taymans <wim@fluendo.com>
9198 * docs/design/part-TODO.txt:
9199 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
9200 (gst_format_to_quark), (gst_format_register):
9202 * gst/gstquery.c: (_gst_query_initialize),
9203 (gst_query_type_get_name), (gst_query_type_to_quark),
9204 (gst_query_type_register):
9206 Add type to quark and type to string conversions.
9208 2005-11-19 Andy Wingo <wingo@pobox.com>
9210 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
9213 2005-11-19 Wim Taymans <wim@fluendo.com>
9215 * docs/design/part-TODO.txt:
9216 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
9217 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
9218 (gst_bin_handle_message_func):
9220 Make message handling overridable.
9222 2005-11-19 Andy Wingo <wingo@pobox.com>
9224 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
9227 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
9229 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
9230 is a GstClockTime. Fixes #321710.
9232 * gst/gstclock.h (GstClock): Remove offset property. Add
9233 internal_calibration and external_calibration. Fix padding. Pad
9234 also by GstClockTime so we don't run into problems.
9236 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
9237 (gst_clock_get_rate_offset): Remove.
9238 (gst_clock_set_time_adjust): Remove. Fixes #321712.
9241 * gst/gstutils.c (g_static_rec_cond_wait)
9242 (g_static_rec_cond_timed_wait): Removed, no longer needed.
9244 * gst/gstbin.c: Remove terrible continue_state prototype.
9246 * gst/gstelement.h (gst_element_continue_state): Make public.
9249 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
9250 by continue_state. Fixes #319389.
9252 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
9253 Really fixes #168438. However I don't see anywhere where the
9254 filter function is called... stupid GStreamer...
9256 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
9257 don't have a dispose function, so it won't get called when the
9258 object is unreffed, but oh well!
9260 * gst/gstindex.c (gst_index_set_filter_full): New API function,
9261 allows a destroy function to be set so user_data can be freed.
9263 (gst_index_set_filter): Call gst_index_set_filter_full.
9265 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
9267 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
9268 string should produce an error, given the lack of a way to
9269 represent NULL strings. Fixes #165650.
9272 * gst/gstvalue.c (gst_value_array_append_value)
9273 (gst_value_array_prepend_value, gst_value_array_get_size)
9274 (gst_value_array_get_value): New API, copied from
9275 gst_value_list_*, only operates on arrays.
9276 (gst_value_list_append_value, gst_value_list_prepend_value)
9277 (gst_value_list_concat, gst_value_list_get_size)
9278 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
9280 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
9281 init_list, because it works on both.
9282 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
9283 (gst_value_copy_list_or_array): Renamed from copy_list.
9284 (gst_value_free_list_or_array): Renamed from free_list.
9285 (gst_value_collect_list_or_array): Renamed from collect_list.
9286 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
9287 (gst_value_list_or_array_peek_pointer): Renamed from
9289 (_gst_value_array_value_table, _gst_value_list_value_table):
9290 Update value table functions.
9291 (gst_value_compare_list_or_array): Renamed from compare_list.
9293 * gsttaglist.h: Whoops, foreach function returns void. Also fix
9297 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
9298 GstTagList*. Fixes #143472.
9300 * gst/gststructure.h: Clarify what the foreach/map functions can
9301 or can't do to their arguments.
9303 2005-11-18 Wim Taymans <wim@fluendo.com>
9305 * gst/gstclock.c: (gst_clock_set_calibration),
9306 (gst_clock_get_calibration):
9308 Calibration can be set with internal time equal to current
9311 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
9317 2005-11-18 Andy Wingo <wingo@pobox.com>
9320 * pkgconfig/gstreamer-net.pc.in:
9321 * pkgconfig/gstreamer-net-uninstalled.pc.in:
9322 * pkgconfig/Makefile.am: Add net pkgconfig files.
9324 2005-11-18 Stefan Kost <ensonic@users.sf.net>
9327 * gst/gstghostpad.c:
9333 2005-11-18 Andy Wingo <wingo@pobox.com>
9335 * gst/net/gstnetclientclock.c: Turn off debugging.
9337 * check/net/gstnetclientclock.c (test_functioning): Assert that the
9338 times connverge somewhat. Can't make a real test.
9340 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
9341 integer arithmetic. Return the minimum of the domain, which can be
9342 set as "internal" for gst_clock_set_calibration.
9343 (gst_net_client_clock_observe_times): Call _set_calibration.
9344 (gst_net_client_clock_new): Call _set_calibration instead of
9347 * check/net/gstnetclientclock.c (test_functioning): Use the right
9351 * gst/gstclock.c (gst_clock_get_calibration)
9352 (gst_clock_set_calibration): New functions, obsolete the ones I
9353 added yesterday. Doh. Precision issues mean we have to extrapolate
9354 from a point in the more recent past than 1970.
9355 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
9357 (gst_clock_adjust_unlocked): Use the right calibration data.
9359 2005-11-18 Edward Hervey <edward@fluendo.com>
9361 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9362 Also reset the ->current_* values in READY->PAUSED
9364 2005-11-18 Andy Wingo <wingo@pobox.com>
9366 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
9367 Whoops, check the right fd. Also add some debugging.
9368 (gst_net_client_clock_observe_times): Adjust for int64 offset.
9369 (do_linear_regression): Add a crapload of debugging. Subtract off
9370 the minimum values from the input series to discard unneeded bits.
9371 Use only int arithmetic. There is still double arithmetic when
9372 calculating the intercept that needs fixing. Return boolean to
9373 indicate success; FALSE would mean the domain or range is too
9374 great. Still needs fixes.
9376 2005-11-18 Wim Taymans <wim@fluendo.com>
9378 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
9379 For the current position in stream time, we need to subtract
9382 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
9383 Release lock before calling the callback function of async
9386 2005-11-18 Andy Wingo <wingo@pobox.com>
9388 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
9389 Port goes all the way to MAXUINT16.
9391 * gst/net/gstnettimeprovider.c: Make the port range the same as
9392 for the kernel: 0 assigns, otherwise ports are less than
9395 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
9398 * check/net/gstnetclientclock.c (test_functioning): Add the start
9401 2005-11-18 Wim Taymans <wim@fluendo.com>
9403 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9404 (gst_bin_remove_func), (bin_bus_handler):
9406 Removing a clock provider from a bin, triggers a clock lost message
9407 so that a new clock will be selected.
9408 Adding a clock to a bin triggers a clock provider message.
9409 Make sure we reselect a clock when we received a clock lost message.
9410 Keep a reference to the element that provided the clock.
9412 2005-11-18 Andy Wingo <wingo@pobox.com>
9414 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
9415 the clock initially so it produces values around the base time.
9416 (gst_net_client_clock_class_init): Typo fix.
9417 (gst_net_client_clock_thread): Add note on when the socket gets
9420 2005-11-17 Wim Taymans <wim@fluendo.com>
9422 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
9423 Free remote and local time arrays.
9425 2005-11-17 Wim Taymans <wim@fluendo.com>
9427 * gst/net/gstnetclientclock.c: (do_linear_regression),
9428 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
9429 Fix compilation, uninitialized vars and a forgotten continue.
9431 2005-11-17 Andy Wingo <wingo@pobox.com>
9433 * check/Makefile.am (check_PROGRAMS):
9434 * check/net/gstnetclientclock.c: Add a most minimal test for the
9435 net client clock. More to come later.
9438 * gst/net/Makefile.am: Add netclientclock.
9440 * gst/net/gstnetclientclock.h:
9441 * gst/net/gstnetclientclock.c: New files, implement an untested
9442 GstClock that takes its time from a network time provider.
9443 Implements the algorithm in network-clock.scm.
9445 * tests/network-clock.scm (*window-size*): Rename from
9447 * tests/network-clock.scm (network-time):
9448 * tests/network-clock-utils.scm (q-push): Update callers.
9450 2005-11-17 Wim Taymans <wim@fluendo.com>
9452 * gst/gstbin.c: (gst_bin_provide_clock_func),
9453 (gst_bin_sort_iterator_new):
9454 And unref the child too..
9456 2005-11-17 Wim Taymans <wim@fluendo.com>
9458 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9459 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
9460 Refactor the sort iterator so it can be used while holding the
9462 Make clock selection select a clock closest to the source.
9464 2005-11-17 Michael Smith <msmith@fluendo.com>
9466 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
9467 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
9469 Anonymous structs are a gcc (and some other compilers) extension, so
9470 don't use them. Since this is only for ABI-compatibility, and our
9471 API/ABI freeze is over in a few days, this whole thing will only
9472 last a few days, so don't bother trying to think up a meaningful
9473 name for the struct.
9475 2005-11-17 Andy Wingo <wingo@pobox.com>
9477 * gst/gstclock.h (GstClock): Add rate and offset properties,
9478 preserving ABI stability. Add rate/offset accessors. Will file bug
9479 for the freeze break.
9481 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
9482 and offset, trying to keep precision and avoiding
9484 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
9485 functions. Make gst_clock_set_time_adjust obsolete.
9486 (gst_clock_set_time_adjust): Note that this function is obsolete.
9489 * gst/base/gstbasetransform.h: Make the ABI-stability hack
9490 greppable by using GST_PADDING-1+1.
9492 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
9494 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9496 * gst/gstmessage.c: (gst_message_parse_clock_lost):
9497 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
9499 * gst/gstpadtemplate.h:
9500 * gst/gstpluginfeature.h:
9501 Don't use c++ style comments in headers (#321638).
9503 2005-11-16 Andy Wingo <wingo@pobox.com>
9505 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
9508 * check/net/gstnettimeprovider.c: Check to see that the time
9509 provider actually provides times. Works, yo!
9511 2005-11-16 Wim Taymans <wim@fluendo.com>
9513 * check/Makefile.am:
9516 * check/elements/fakesrc.c: (GST_START_TEST):
9517 Set element to NULL before disposing it.
9519 2005-11-16 Andy Wingo <wingo@pobox.com>
9521 * gst/net/Makefile.am:
9523 * gst/net/gstnettimeprovider.c:
9524 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
9525 provider, include it from gstnet.h, and add it to the build.
9527 * gst/net/gstnettimepacket.h:
9528 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
9529 sending and receiving.
9531 2005-11-16 Wim Taymans <wim@fluendo.com>
9533 * check/Makefile.am:
9534 Enable valgrind check.
9536 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
9537 (gst_fake_src_alloc_buffer):
9540 2005-11-16 Wim Taymans <wim@fluendo.com>
9542 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
9543 Call parent finalize too.
9545 2005-11-16 Wim Taymans <wim@fluendo.com>
9547 * check/Makefile.am:
9548 Enable valgrind check that should work fine now.
9550 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9551 * gst/gstqueue.c: (gst_queue_init):
9552 Fix memleaks in pad allocation.
9554 2005-11-16 Andy Wingo <wingo@pobox.com>
9556 * gst/net/Makefile.am:
9557 * gst/net/gstnet.h: New part of core to hold network elements and
9558 objects. Put in core because it exposes API that applications want
9559 to use. The library is named libgstnet-tempname right now because
9560 of the existing libgstnet in gst-plugins-base. Solution is
9561 probably to rename the one in plugins-base; will file a bug for
9564 * gst/net/gstnettimeprovider.c:
9565 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
9566 get_time call over the network.
9569 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
9571 * check/Makefile.am:
9572 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
9573 get additions shortly.
9575 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9577 * gst/gstpad.c: (gst_pad_new_from_static_template):
9579 add gst_pad_new_from_static_template functions
9580 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
9581 (gst_check_setup_sink_pad):
9582 * gst/elements/gsttee.c: (gst_tee_init):
9585 2005-11-16 Wim Taymans <wim@fluendo.com>
9587 * gst/gstpad.c: (gst_pad_pause_task):
9588 Removed warning, it's not really an error either.
9590 2005-11-16 Wim Taymans <wim@fluendo.com>
9592 * gst/base/gstbasetransform.c:
9593 (gst_base_transform_prepare_output_buf),
9594 (gst_base_transform_event):
9595 Check if the caps are NULL, this can happen if the element
9596 is shutting down and the pad caps are set to NULL.
9598 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9600 * gst/elements/gsttee.c: (gst_tee_init):
9601 fix pad template leak in tee
9603 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9605 * gst/glib-compat.c: (g_value_dup_gst_object):
9606 * gst/glib-compat.h:
9607 * gst/gstpad.c: (gst_pad_set_property):
9608 use gst_object_ref when setting the pad template; this will
9609 trigger the pad template leaks on GLib 2.6 and the slaves
9611 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9613 * gst/glib-compat.c: (gst_flags_get_first_value):
9614 * gst/glib-compat.h:
9615 * gst/gstregistryxml.c:
9616 remove functions copied from GLib 2.6
9618 2005-11-16 Michael Smith <msmith@fluendo.com>
9621 Don't link against VALGRIND_LIBS. That was always the wrong thing to
9622 do, but only breaks with newer valgrind versions. We're not a
9623 valgrind tool, we have no link-time dependencies on libcoregrind.
9625 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9627 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9632 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9634 * gst/base/gstbasesrc.c: (gst_base_src_init):
9635 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9636 * gst/gstqueue.c: (gst_queue_init):
9637 * gst/gstregistryxml.c: (load_feature):
9638 Revert all these unrefs, they don't even pass make check !
9640 2005-11-15 Johan Dahlin <johan@gnome.org>
9642 * gst/base/gstbasesrc.c: (gst_base_src_init):
9643 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9644 * gst/gstqueue.c: (gst_queue_init):
9645 Free pad templates, fixes a couple of leaks.
9647 2005-11-15 Daniel Fischer <dan at f3c dot com>
9649 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9651 * gst/gstpad.c: (gst_pad_get_property):
9652 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
9653 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
9656 2005-11-15 Wim Taymans <wim@fluendo.com>
9661 2005-11-15 Andy Wingo <wingo@pobox.com>
9663 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
9665 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
9666 using GST_CLOCK_TIME_NONE to disable base time management.
9667 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
9668 time if it was NONE before.
9669 (gst_pipeline_change_state): Only munge the base time if
9670 stream_time != GST_CLOCK_TIME_NONE.
9672 * check/gst/gstpipeline.c (test_base_time): Punt around the
9673 problem of the probe not being called, because that's not the
9674 issue I'm looking at. Add a check that setting stream_time to NONE
9675 disables base time management.
9677 2005-11-15 Wim Taymans <wim@fluendo.com>
9679 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9680 segment_stop == -1 at startup.
9682 * gst/base/gstbasetransform.c: (gst_base_transform_event),
9683 (gst_base_transform_change_state):
9684 Init segment values at start.
9686 2005-11-15 Wim Taymans <wim@fluendo.com>
9688 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9689 0 segment values are 0 in any format.
9691 * gst/base/gstbasetransform.c: (gst_base_transform_event):
9692 * gst/base/gstbasetransform.h:
9693 Parse newsegment correctly in basetransform
9695 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
9696 Sync to clock using updated segment values.
9698 2005-11-15 Andy Wingo <wingo@pobox.com>
9700 * check/gst/gstpipeline.c (test_base_time): Add check that the
9701 base time and stream time are reset correctly.
9703 2005-11-15 Wim Taymans <wim@fluendo.com>
9705 * docs/design/part-TODO.txt:
9706 Some more TODO items.
9708 2005-11-15 Andy Wingo <wingo@pobox.com>
9710 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
9711 error if the user selected "no clock" as the clocking method.
9713 * check/gst/gstpipeline.c (test_base_time): New test for buffer
9714 timestamps with live capture.
9716 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
9717 is 0 but we are a live source, timestamp the buffers using the
9720 2005-11-14 Stefan Kost <ensonic@users.sf.net>
9722 * docs/gst/gstreamer-sections.txt:
9724 * gst/gstghostpad.c:
9729 2005-11-14 Wim Taymans <wim@fluendo.com>
9732 add suppressions from Wim's Debian machine
9734 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
9737 add suppressions from Andy's AMD64 Ubuntu machine
9739 2005-11-14 Andy Wingo <wingo@pobox.com>
9741 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
9742 STATE_LOCK not necessary. Fixes #311489.
9744 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
9747 * gst/gstindex.c (gst_index_add_object): Note in the docs that
9748 this function is not implemented.
9750 2005-11-14 Julien MOUTTE <julien@moutte.net>
9752 * gst/base/gstbasetransform.c:
9753 (gst_base_transform_prepare_output_buf):
9754 Ref the source pad caps while we need them.
9757 2005-11-11 Wim Taymans <wim@fluendo.com>
9759 * docs/gst/gstreamer-sections.txt:
9760 Added some docs for GstCollectData.
9762 * gst/base/gstadapter.c:
9763 Some small code example fix.
9765 * gst/base/gstcollectpads.c:
9766 * gst/base/gstcollectpads.h:
9769 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9771 * configure.ac: back to HEAD
9773 === release 0.9.5 ===
9775 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9778 releasing 0.9.5, "Bike Lunch Day"
9780 2005-11-11 Wim Taymans <wim@fluendo.com>
9782 * gst/gstbuffer.c: (_gst_buffer_copy):
9785 * gst/gstcaps.c: (gst_caps_is_equal):
9787 Make _is_equal fast in the trivial cases.
9789 * gst/gstminiobject.c:
9790 * gst/gstminiobject.h:
9791 More docs. Spifify .h file.
9796 2005-11-11 Wim Taymans <wim@fluendo.com>
9798 * gst/base/gstbasetransform.c:
9799 (gst_base_transform_prepare_output_buf),
9800 (gst_base_transform_handle_buffer):
9802 If we're processing a buffer and need to allocate an output
9803 buffer, we cannot accept a format change. If we did get a
9804 format change, we have to alloc a buffer ourselves of the
9807 2005-11-11 Wim Taymans <wim@fluendo.com>
9809 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9810 While checking the flag for reentrancy in the gstcaps function
9811 is nice to detect recursive invocations, it also makes it
9812 impossible to call getcaps from multiple threads, which must be
9813 possible. So, checking for recursive calls has to go.
9815 2005-11-11 Michael Smith <msmith@fluendo.com>
9817 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9818 Don't sync on buffers that fall partially outside our current
9819 segment. Prevents an assertion failure/abort playing some files.
9821 2005-11-10 Andy Wingo <wingo@pobox.com>
9823 * check/gst/gstbin.c (test_message_state_changed_children): Style
9826 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9827 gst_bus_poll with the signal watch. Ensures that poll and a signal
9828 watch see the same messages.
9830 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9831 a poll and a watch at the same time get the same messages.
9833 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9835 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9836 * gst/gstcaps.c: (gst_caps_intersect):
9837 Don't call gst_caps_do_simplify - it doesn't respect order of caps
9838 and it's not needed.
9840 2005-11-10 Wim Taymans <wim@fluendo.com>
9842 * docs/design/part-TODO.txt:
9845 2005-11-10 Wim Taymans <wim@fluendo.com>
9847 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9848 * gst/base/gstbasesrc.c: (gst_base_src_wait),
9849 (gst_base_src_do_sync), (gst_base_src_get_range):
9850 Implement clock sync in base class.
9852 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9854 patch by: Tim-Philipp Müller <tim at centricular dot net>
9856 * gst/gststructure.c: (gst_structure_parse_field),
9857 (gst_structure_from_string):
9858 Forward-port a 0.8 patch to handle escaped spaces in structure string,
9859 so that gst_parse_launch() can deal with spaces in filtered link
9860 caps (fixes #164479)
9861 * check/gst/capslist.h:
9862 * check/gst/gststructure.c: (GST_START_TEST):
9863 add unit tests for this change
9865 2005-11-10 Wim Taymans <wim@fluendo.com>
9867 * docs/gst/gstreamer-sections.txt:
9870 Fix docs, move some STATE macros to private.
9872 2005-11-10 Wim Taymans <wim@fluendo.com>
9874 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9875 Added check for bug #317341
9879 Some more spiffifying.
9881 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
9882 Call peer linkfunction if we are a source pad. Totally fixes
9886 Update docs, source pads should call the peer linkfunction
9887 so they can atomically perform the pad link.
9889 2005-11-09 Wim Taymans <wim@fluendo.com>
9893 Uber-spiffy-spiffify some more.
9895 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
9897 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
9898 * gst/elements/gstfilesink.c: (gst_file_sink_init):
9899 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9900 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
9901 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
9902 * gst/gstpad.c: (gst_pad_init):
9903 Use GST_DEBUG_FUNCPTR() more extensively.
9905 2005-11-09 Wim Taymans <wim@fluendo.com>
9907 * gst/gstobject.c: (gst_object_class_init):
9909 Documentation fixes.
9911 2005-11-09 Edward Hervey <edward@fluendo.com>
9913 * gst/gsttypefindfactory.c:
9916 2005-11-09 Edward Hervey <edward@fluendo.com>
9918 * gst/base/gsttypefindhelper.c:
9919 * gst/gsttypefind.c:
9920 * gst/gsttypefind.h:
9923 2005-11-09 Wim Taymans <wim@fluendo.com>
9925 * gst/gstiterator.c:
9932 2005-11-09 Wim Taymans <wim@fluendo.com>
9938 2005-11-09 Wim Taymans <wim@fluendo.com>
9940 * docs/gst/gstreamer-sections.txt:
9941 Moved the message async delivery private lock and cond
9942 to the private section.
9948 2005-11-09 Edward Hervey <edward@fluendo.com>
9950 * docs/gst/gstreamer-sections.txt:
9953 Document GstURIHandler
9955 2005-11-09 Wim Taymans <wim@fluendo.com>
9957 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
9958 (gst_iterator_find_custom):
9959 * gst/gstiterator.h:
9962 2005-11-09 Wim Taymans <wim@fluendo.com>
9965 Document another field.
9967 * gst/gststructure.c:
9968 * gst/gststructure.h:
9971 2005-11-09 Wim Taymans <wim@fluendo.com>
9976 2005-11-09 Wim Taymans <wim@fluendo.com>
9978 * docs/gst/gstreamer-sections.txt:
9979 Added some new macros.
9986 2005-11-09 Wim Taymans <wim@fluendo.com>
9988 * docs/design/part-TODO.txt:
9989 Some more items for the TODO
9995 2005-11-09 Andy Wingo <wingo@pobox.com>
9997 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
9998 to work on something else now tho...
10000 * gst/base/gstadapter.c: More adapter docs.
10002 * gst/elements/gstfilesink.c (gst_file_sink_start)
10003 (gst_file_sink_stop): New functions, replace the state change
10005 (gst_file_sink_class_init): Hook up the start and stop functions.
10006 (gst_file_sink_base_init): Don't set the state change handler any
10007 more. It was a bit ugly too, being set from here...
10008 (gst_file_sink_get_property, gst_file_sink_set_property):
10010 (gst_file_sink_set_location): More robust check that doesn't call
10011 GST_STATE. Ugggggg.
10013 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
10015 * gst/base/gstbasetransform.c: (gst_base_transform_event):
10016 Hold STREAM_LOCK while pushing newsegment or tag events as well.
10018 2005-11-08 Wim Taymans <wim@fluendo.com>
10020 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
10021 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
10022 (gst_base_sink_chain), (gst_base_sink_change_state):
10023 * gst/base/gstbasesink.h:
10024 * gst/base/gstbasesrc.h:
10025 * gst/gstelement.h:
10027 Avoid excessive typechecking in macros.
10029 * gst/gstminiobject.c: (gst_mini_object_get_type),
10030 (gst_mini_object_init), (gst_mini_object_new),
10031 (gst_mini_object_free):
10032 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10033 (gst_object_finalize):
10034 Remove cruft code, optimize alloc_trace.
10036 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
10038 * docs/faq/gst-uninstalled:
10039 fix up PS1 for systems that try to reset it
10041 2005-11-07 Wim Taymans <wim@fluendo.com>
10043 * gst/base/gstbasesrc.c: (gst_base_src_init),
10044 (gst_base_src_get_range):
10045 Set the segment_end to -1 initially. Fixed typefind.
10047 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
10049 * gst/base/gstadapter.c:
10050 Debug category should be 'adapter', not 'GstAdapter'.
10052 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
10053 (gst_collectpads_class_init), (gst_collectpads_init),
10054 (gst_collectpads_peek), (gst_collectpads_pop),
10055 (gst_collectpads_event), (gst_collectpads_chain):
10056 Add debug category and some debugging output. Use boilerplate
10057 macros. Remove some extraneous words from docs.
10059 2005-11-05 Andy Wingo <wingo@pobox.com>
10061 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
10064 2005-11-04 Stefan Kost <ensonic@users.sf.net>
10066 * docs/gst/gstreamer-sections.txt:
10069 * gst/gstminiobject.h:
10074 2005-11-04 Wim Taymans <wim@fluendo.com>
10076 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10077 Small update to stop at the configured segment_end
10080 2005-11-04 Stefan Kost <ensonic@users.sf.net>
10082 * gst/gstregistry.c:
10083 * gst/gstregistry.h:
10086 2005-11-04 Edward Hervey <edward@fluendo.com>
10088 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10089 Check if we are doing a segment seek and have arrived at the
10090 end of that segment.
10092 2005-11-04 Wim Taymans <wim@fluendo.com>
10094 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
10095 Don't leak a mutex unlock in case of an error.
10100 2005-11-04 Wim Taymans <wim@fluendo.com>
10102 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
10104 Get the context to wake up only once.
10106 2005-11-03 Wim Taymans <wim@fluendo.com>
10108 * check/states/sinks.c: (GST_START_TEST):
10109 Uncomment fixed check.
10111 * docs/design/part-TODO.txt:
10114 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10115 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
10116 (gst_base_sink_get_position):
10117 If we are going to PLAYING, post the right pending state
10118 when we post the intermediate paused message.
10120 * gst/gstelement.c: (gst_element_continue_state),
10121 (gst_element_set_state_func), (gst_element_change_state):
10122 Don't post state changes that were between the same state
10123 and were not ASYNC.
10125 2005-11-03 Stefan Kost <ensonic@users.sf.net>
10127 * docs/gst/gstreamer-sections.txt:
10130 * gst/gstminiobject.h:
10133 more docs and doc style fixes
10135 2005-11-03 Stefan Kost <ensonic@users.sf.net>
10137 * docs/gst/gstreamer-sections.txt:
10138 * gst/gstelement.c:
10139 * gst/gstminiobject.c:
10142 2005-11-03 Andy Wingo <wingo@pobox.com>
10144 * check/states/sinks.c (test_livesrc_sink): Add checks that the
10145 state-changed messages actually have the right order and the right
10148 2005-11-03 Wim Taymans <wim@fluendo.com>
10150 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
10151 Added some more checks. Specifically the case where NO_PREROLL
10152 elements are in the pipeline.
10154 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10155 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
10156 (gst_base_sink_get_position):
10157 Post READY->PAUSED state change messages too.
10158 Fix bug where VOID was posted as pending state...
10160 * gst/gstbin.c: (gst_bin_recalc_state):
10161 use _element_continue_state() to continue the state change.
10163 * gst/gstelement.c: (gst_element_continue_state),
10164 (gst_element_commit_state), (gst_element_set_state_func),
10165 (gst_element_change_state), (gst_element_change_state_func):
10166 Lots of state change cleanups, assign the STATE_RETURN in
10167 a new continue_state() function that also propagates the
10168 last return value from a state change to the app.
10169 Update some debug statements with proper category.
10171 2005-11-03 Wim Taymans <wim@fluendo.com>
10173 * docs/design/part-events.txt:
10174 * docs/design/part-gstpipeline.txt:
10175 * docs/design/part-messages.txt:
10176 * docs/design/part-overview.txt:
10177 * docs/design/part-seeking.txt:
10178 * docs/design/part-states.txt:
10179 * docs/design/part-trickmodes.txt:
10180 * docs/manual/advanced-position.xml:
10181 Small docs updates.
10184 People think !! is ugly, this looks better.
10186 * gst/gstpad.c: (gst_pad_set_blocked_async):
10187 Remove !! since it's fixed elsewhere now.
10189 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
10191 * gst/gstminiobject.h:
10193 Add !! to _FLAG_IS_SET macros to make the result boolean.
10195 2005-11-03 Edward Hervey <edward@fluendo.com>
10197 * gst/gstpad.c: (gst_pad_set_blocked_async):
10198 comparing a flag and a gboolean rarely returns coherent results...
10199 Added two characters (!!) to make that work correctly.
10201 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
10203 * gst/gstbus.c: (gst_bus_class_init):
10206 * gst/gstqueue.c: (gst_queue_loop):
10207 Don't assume a miniobject that isn't a buffer is an
10208 event (it could be that there is a refcounting
10209 problem somewhere and the pointer is stale and
10210 refers to an already destroyed miniobject).
10212 2005-11-03 Julien MOUTTE <julien@moutte.net>
10214 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
10216 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
10218 * docs/manual/advanced-position.xml:
10219 Update seek example and explanations to current 0.9 API.
10221 * gst/elements/gsttypefindelement.c:
10222 (gst_type_find_element_activate):
10223 Remove FIXME comment now that the found caps
10226 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
10228 * gst/gstregistryxml.c: (load_feature):
10229 Add another GST_STR_NULL instance
10231 2005-11-02 Edward Hervey <edward@fluendo.com>
10233 * gst/gstpad.c: (handle_pad_block):
10234 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
10236 2005-11-02 Wim Taymans <wim@fluendo.com>
10241 * gst/gstelement.c: (gst_element_commit_state):
10242 Remove unused value.
10244 * gst/gstiterator.c:
10245 Mention that the returned element is reffed in the docs.
10247 2005-11-02 Wim Taymans <wim@fluendo.com>
10249 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
10250 (gst_pad_push), (gst_pad_push_event):
10251 Unlock blocked pads when they are flushed.
10253 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
10256 * docs/gst/gstreamer-sections.txt:
10259 * gst/gstregistry.c: (gst_registry_scan_path_level):
10260 fix for a nasty little missed situation where an installed plug-in
10261 which was in the cache did not get overridden by an uninstalled one
10262 which was earlier in the plugin path because the newly created plugin
10263 for the uninstalled one (not in the registry) didn't get its
10264 ->registered set to TRUE
10266 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
10268 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
10269 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
10270 (gst_collectpads_is_active), (gst_collectpads_collect),
10271 (gst_collectpads_collect_range), (gst_collectpads_start),
10272 (gst_collectpads_stop), (gst_collectpads_peek),
10273 (gst_collectpads_pop), (gst_collectpads_available),
10274 (gst_collectpads_read), (gst_collectpads_flush):
10275 Guard public API with assertions.
10278 Fix docs for gst_pad_set_link_function().
10280 2005-11-02 Johan Dahlin <johan@gnome.org>
10282 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
10283 Unref found_caps after we used it.
10285 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
10287 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
10288 Don't try to ref NULL.
10290 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
10292 * win32/common/config.h.in:
10293 provide a GST_FUNCTION that just gives a string for now
10295 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
10297 * win32/common/gstenumtypes.c: (register_gst_object_flags),
10298 (gst_object_flags_get_type), (register_gst_bin_flags),
10299 (gst_bin_flags_get_type), (register_gst_buffer_flag),
10300 (gst_buffer_flag_get_type), (register_gst_bus_flags),
10301 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10302 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
10303 (gst_clock_return_get_type), (register_gst_clock_entry_type),
10304 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10305 (gst_clock_flags_get_type), (register_gst_state),
10306 (gst_state_get_type), (register_gst_state_change_return),
10307 (gst_state_change_return_get_type), (register_gst_state_change),
10308 (gst_state_change_get_type), (register_gst_element_flags),
10309 (gst_element_flags_get_type), (register_gst_core_error),
10310 (gst_core_error_get_type), (register_gst_library_error),
10311 (gst_library_error_get_type), (register_gst_resource_error),
10312 (gst_resource_error_get_type), (register_gst_stream_error),
10313 (gst_stream_error_get_type), (register_gst_event_type),
10314 (gst_event_type_get_type), (register_gst_seek_type),
10315 (gst_seek_type_get_type), (register_gst_seek_flags),
10316 (gst_seek_flags_get_type), (register_gst_format),
10317 (gst_format_get_type), (register_gst_index_certainty),
10318 (gst_index_certainty_get_type), (register_gst_index_entry_type),
10319 (gst_index_entry_type_get_type),
10320 (register_gst_index_lookup_method),
10321 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10322 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10323 (gst_index_resolver_method_get_type), (register_gst_index_flags),
10324 (gst_index_flags_get_type), (register_gst_debug_level),
10325 (gst_debug_level_get_type), (register_gst_debug_color_flags),
10326 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10327 (gst_iterator_result_get_type), (register_gst_iterator_item),
10328 (gst_iterator_item_get_type), (register_gst_message_type),
10329 (gst_message_type_get_type), (register_gst_mini_object_flags),
10330 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10331 (gst_pad_link_return_get_type), (register_gst_flow_return),
10332 (gst_flow_return_get_type), (register_gst_activate_mode),
10333 (gst_activate_mode_get_type), (register_gst_pad_direction),
10334 (gst_pad_direction_get_type), (register_gst_pad_flags),
10335 (gst_pad_flags_get_type), (register_gst_pad_presence),
10336 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10337 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10338 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10339 (gst_plugin_error_get_type), (register_gst_plugin_flags),
10340 (gst_plugin_flags_get_type), (register_gst_rank),
10341 (gst_rank_get_type), (register_gst_query_type),
10342 (gst_query_type_get_type), (register_gst_tag_merge_mode),
10343 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10344 (gst_tag_flag_get_type), (register_gst_task_state),
10345 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10346 (gst_alloc_trace_flags_get_type),
10347 (register_gst_type_find_probability),
10348 (gst_type_find_probability_get_type), (register_gst_uri_type),
10349 (gst_uri_type_get_type), (register_gst_parse_error),
10350 (gst_parse_error_get_type):
10351 * win32/common/gstversion.h:
10352 update win32 copies
10354 2005-11-01 Luca Ognibene <luogni@tin.it>
10357 fix docs. popt is dead, long live GOption.
10359 2005-10-31 Wim Taymans <wim@fluendo.com>
10364 2005-10-31 Andy Wingo <wingo@pobox.com>
10368 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
10370 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
10371 need to serialize property notifications on GLib 2.8. GLib 2.6 has
10372 the possibility of deadlocks here if code calling notify() or
10373 set() has a lock that can be taken in another notify handler (ABBA
10374 with class lock and e.g. python GIL state lock).
10376 2005-10-28 Julien MOUTTE <julien@moutte.net>
10378 * gst/gstbus.c: Doc updates.
10380 2005-10-28 Wim Taymans <wim@fluendo.com>
10382 * docs/design/part-TODO.txt:
10383 * gst/gstiterator.c:
10384 * gst/gstsystemclock.c:
10385 * gst/gstsystemclock.h:
10388 2005-10-28 Edward Hervey <edward@fluendo.com>
10390 * docs/gst/gstreamer-docs.sgml:
10391 * docs/gst/gstreamer-sections.txt:
10392 the GstURIType documentation page is private, it only defines GstURIType
10393 which should be defined in the GstURIHandler page
10395 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
10397 * gst/gstbin.c: (gst_bin_class_init):
10400 Documentation updates.
10402 2005-10-28 Wim Taymans <wim@fluendo.com>
10404 * docs/gst/gstreamer-sections.txt:
10407 Documented the clocks.
10409 2005-10-28 Stefan Kost <ensonic@users.sf.net>
10411 * docs/gst/gstreamer-sections.txt:
10412 move some macros to private sections
10413 * gst/gstminiobject.c:
10414 * gst/gstminiobject.h:
10415 add descriptions provided by ds and some more
10417 mark macro as to be removed
10419 2005-10-28 Wim Taymans <wim@fluendo.com>
10421 * docs/design/part-TODO.txt:
10422 Add an item to TODO.
10424 * gst/gstiterator.c: (gst_iterator_fold),
10425 (gst_iterator_find_custom):
10426 * gst/gstiterator.h:
10429 2005-10-28 Wim Taymans <wim@fluendo.com>
10431 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10432 (gst_base_transform_init):
10435 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
10436 An EOS event marks the queue as completely filled.
10438 2005-10-27 Wim Taymans <wim@fluendo.com>
10440 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10441 (gst_base_sink_do_sync), (gst_base_sink_get_position):
10442 Some more debugging.
10444 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
10445 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
10446 (gst_base_transform_event), (gst_base_transform_getrange),
10447 (gst_base_transform_chain):
10448 * gst/base/gstbasetransform.h:
10450 Protect transform and concurrent buffer alloc with a new lock.
10451 Try not to break ABI/API.
10453 2005-10-27 Wim Taymans <wim@fluendo.com>
10455 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10456 (gst_base_src_init), (gst_base_src_query),
10457 (gst_base_src_default_newsegment),
10458 (gst_base_src_configure_segment), (gst_base_src_do_seek),
10459 (gst_base_src_send_event), (gst_base_src_event_handler),
10460 (gst_base_src_pad_get_range), (gst_base_src_loop),
10461 (gst_base_src_unlock), (gst_base_src_default_negotiate),
10462 (gst_base_src_start), (gst_base_src_deactivate),
10463 (gst_base_src_activate_push), (gst_base_src_change_state):
10464 Move some stuff around and cleanup things.
10466 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
10468 * gst/base/gstbasesrc.c: (gst_base_src_query):
10469 Add missing break statements.
10471 2005-10-27 Wim Taymans <wim@fluendo.com>
10473 * check/gst/gstbin.c: (GST_START_TEST):
10474 An extra refcount is taken in basesrc.
10476 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
10477 (gst_base_src_get_range), (gst_base_src_pad_get_range),
10478 (gst_base_src_loop):
10479 Small cleanups, check for flushing after being unlocked from the
10480 LIVE_LOCK. take refcounts correctly (not yet everywhere).
10481 Don't send out EOS when going to READY.
10483 2005-10-27 Wim Taymans <wim@fluendo.com>
10485 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10486 (gst_base_sink_get_position):
10489 * gst/gstbin.c: (message_check), (bin_replace_message),
10490 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10491 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10492 (bin_query_duration_init), (bin_query_duration_fold),
10493 (bin_query_duration_done), (bin_query_generic_fold),
10495 * tools/gst-launch.c: (main):
10498 2005-10-26 Stefan Kost <ensonic@users.sf.net>
10500 * examples/controller/audio-example.c: (main):
10501 * examples/queue/queue.c: (event_loop):
10502 * gst/base/gstbasetransform.h:
10503 * gst/gstelement.c: (gst_element_send_event):
10505 * gst/gstpad.c: (gst_pad_send_event):
10508 changing log priority in error situations
10510 2005-10-25 Wim Taymans <wim@fluendo.com>
10512 * gst/gstbin.c: (message_check), (bin_replace_message),
10513 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10514 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10515 (bin_query_duration_init), (bin_query_duration_fold),
10516 (bin_query_duration_done), (bin_query_generic_fold),
10518 Some doc and debug updates.
10519 Cache previously requested query DURATION for speed. invalidate
10520 cached duration if element posts a DURATION message.
10522 2005-10-25 Wim Taymans <wim@fluendo.com>
10524 * docs/design/part-TODO.txt:
10527 * gst/gstbin.c: (message_check), (bin_replace_message),
10528 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10529 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10530 (bin_query_duration_init), (bin_query_duration_fold),
10531 (bin_query_duration_done), (bin_query_generic_fold),
10533 Handle SEGMENT_START/DONE messages correctly.
10534 More evolved query algorithm that handles duration queries
10537 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
10538 (gst_element_get_state_func), (gst_element_abort_state),
10539 (gst_element_commit_state), (gst_element_lost_state):
10540 Some more debugging.
10542 * gst/gstmessage.h:
10545 2005-10-25 Wim Taymans <wim@fluendo.com>
10547 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
10548 Don't use invalid stream_time.
10550 * gst/gstevent.c: (gst_event_new_newsegment):
10551 stream_time in newsegment cannot be undefined.
10553 2005-10-24 Wim Taymans <wim@fluendo.com>
10558 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10560 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
10562 2005-10-24 Stefan Kost <ensonic@users.sf.net>
10564 * docs/libs/tmpl/gstdparam.sgml:
10565 * docs/libs/tmpl/gstdplinint.sgml:
10566 * docs/libs/tmpl/gstdpman.sgml:
10567 * docs/libs/tmpl/gstdpsmooth.sgml:
10568 * docs/libs/tmpl/gstunitconvert.sgml:
10571 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
10576 === release 0.9.4 ===
10578 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
10581 releasing 0.9.4, "Tyrannosaurus Rex"
10583 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
10585 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10586 (gst_file_sink_get_current_offset):
10587 Use fseeko() and ftello() if available. When falling back on
10588 lseek() to get the current offset, fflush() first to make sure
10589 everything is up-to-date and we get the right offset.
10591 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
10593 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10594 * gst/base/gstbasesrc.c: (gst_base_src_loop):
10595 * gst/gsterror.c: (_gst_stream_errors_init):
10597 * gst/gstqueue.c: (gst_queue_loop):
10599 remove prematurely added error category and clean up the instances
10601 2005-10-21 Wim Taymans <wim@fluendo.com>
10603 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10604 (gst_base_sink_get_position), (gst_base_sink_query),
10605 (gst_base_sink_change_state):
10606 Simply set the right flag when going to playing, that's all
10607 we need to do instead of calling a function inside the object
10608 lock (that could take the lock as well and deadlock)
10610 2005-10-21 Wim Taymans <wim@fluendo.com>
10612 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
10613 (gst_base_src_loop):
10614 Don't warn, the peer element knows what to do best when
10615 the seek failed, it might try something else.
10617 2005-10-21 Wim Taymans <wim@fluendo.com>
10619 * gst/base/gstbasesrc.c: (gst_base_src_init),
10620 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
10623 2005-10-21 Wim Taymans <wim@fluendo.com>
10625 * docs/design/part-segments.txt:
10628 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10629 Correctly set caps, even on the subbufer.
10631 2005-10-21 Wim Taymans <wim@fluendo.com>
10633 * docs/gst/gstreamer-docs.sgml:
10634 * docs/gst/gstreamer-sections.txt:
10635 * gst/gstelement.h:
10638 * gst/gstmessage.h:
10641 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
10645 And 2% more doc coverage.
10647 2005-10-21 Andy Wingo <wingo@pobox.com>
10649 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
10650 position reporting.
10652 2005-10-20 Wim Taymans <wim@fluendo.com>
10654 * gst/gsterror.c: (gst_error_get_message):
10657 * gst/gststructure.c:
10662 2005-10-20 Wim Taymans <wim@fluendo.com>
10667 Another 1% more coverage.
10669 2005-10-20 Wim Taymans <wim@fluendo.com>
10671 * docs/gst/gstreamer-sections.txt:
10672 * gst/gstelement.c: (gst_element_get_state_func),
10673 (gst_element_abort_state), (gst_element_commit_state),
10674 (gst_element_lost_state):
10676 * gst/gstquery.c: (gst_query_set_position),
10677 (gst_query_parse_position), (gst_query_set_duration),
10678 (gst_query_parse_duration), (gst_query_new_convert):
10680 Yay! 1% more docs coverage.
10682 2005-10-20 Wim Taymans <wim@fluendo.com>
10685 * gst/gstquery.c: (gst_query_set_position),
10686 (gst_query_parse_position), (gst_query_set_duration),
10687 (gst_query_parse_duration), (gst_query_new_convert):
10689 * gst/gstutils.c: (gst_element_query_convert):
10691 Docs and consistency fixes.
10693 2005-10-20 Wim Taymans <wim@fluendo.com>
10699 2005-10-20 Wim Taymans <wim@fluendo.com>
10701 * gst/gstbin.c: (message_check), (bin_replace_message),
10702 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10703 (update_degree), (gst_bin_sort_iterator_next),
10704 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
10705 Reworked the message handling a bit, cache the messages instead of
10706 only the senders. alows us to do more in the future.
10708 2005-10-20 Wim Taymans <wim@fluendo.com>
10710 * docs/design/part-TODO.txt:
10713 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10714 (gst_base_sink_query):
10715 Don't use clock time to report position when in EOS.
10717 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
10719 * tools/gst-inspect.c: (print_interfaces),
10720 (print_element_properties_info), (print_element_info):
10721 Fix interface output with gst-inspect -a; don't print
10722 newlines after double/float properties.
10724 2005-10-20 Wim Taymans <wim@fluendo.com>
10726 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10727 (gst_base_sink_query):
10728 Speed up current position calculation.
10730 * gst/base/gstbasesrc.c: (gst_base_src_query),
10731 (gst_base_src_default_newsegment):
10732 Correctly set stream position in newsegment.
10734 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
10735 (update_degree), (gst_bin_sort_iterator_next),
10736 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
10737 * gst/gstmessage.c: (gst_message_new_custom):
10738 Clean up debugging info
10740 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
10741 (gst_queue_loop), (gst_queue_handle_src_query):
10744 2005-10-19 Wim Taymans <wim@fluendo.com>
10746 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10747 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10748 Fix query handling again.
10750 2005-10-19 Wim Taymans <wim@fluendo.com>
10752 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10753 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10754 * gst/base/gstbasesrc.c: (gst_base_src_query):
10755 * gst/elements/gstfilesink.c: (gst_file_sink_query):
10756 * gst/elements/gsttypefindelement.c:
10757 (gst_type_find_handle_src_query), (find_element_get_length),
10758 (gst_type_find_element_activate):
10761 * gst/gstquery.c: (gst_query_new_position),
10762 (gst_query_set_position), (gst_query_parse_position),
10763 (gst_query_new_duration), (gst_query_set_duration),
10764 (gst_query_parse_duration), (gst_query_set_segment),
10765 (gst_query_parse_segment):
10767 Bundling query position/duration is not a good idea since duration
10768 does not change much and we don't want to recalculate it for every
10769 position query, so they are separated again..
10770 Base value in segment query is not needed.
10772 * gst/gstqueue.c: (gst_queue_handle_src_query):
10773 * gst/gstutils.c: (gst_element_query_position),
10774 (gst_element_query_duration), (gst_pad_query_position),
10775 (gst_pad_query_duration):
10777 Updates for query API change.
10778 Added some docs here and there.
10780 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
10782 * check/gst/gstbin.c: (GST_START_TEST):
10783 * check/gst/gstghostpad.c: (GST_START_TEST):
10784 * check/pipelines/cleanup.c: (GST_START_TEST):
10785 wait on thread to die so we can check refcount correctly
10787 2005-10-18 Wim Taymans <wim@fluendo.com>
10789 * check/pipelines/stress.c: (GST_START_TEST):
10790 Make check a little more time consuming.
10792 2005-10-18 Wim Taymans <wim@fluendo.com>
10794 * check/Makefile.am:
10795 * check/pipelines/stress.c: (GST_START_TEST),
10796 (simple_launch_lines_suite), (main):
10797 Small state change torture test.
10799 * docs/design/part-states.txt:
10800 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10801 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10802 (gst_base_sink_change_state):
10803 Never take state lock from streaming thread, clean up ugly
10804 hacks. Unfortunatly core does not yet support nice ways to
10805 async commit state.
10807 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10809 Start state recalc if a STATE_DIRTY message is posted, but only
10810 on the toplevel bin.
10812 * gst/gstelement.c: (gst_element_sync_state_with_parent),
10813 (gst_element_get_state_func), (gst_element_abort_state),
10814 (gst_element_commit_state), (gst_element_lost_state),
10815 (gst_element_set_state_func), (gst_element_change_state):
10816 * gst/gstelement.h:
10817 State variables are now protected with the LOCK, the state
10818 lock is only used to serialize _set_state().
10820 2005-10-18 Wim Taymans <wim@fluendo.com>
10822 * check/gst/gstbin.c: (GST_START_TEST):
10823 * check/gst/gstmessage.c: (GST_START_TEST):
10824 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10825 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10827 * gst/gstelement.c: (gst_element_abort_state),
10828 (gst_element_commit_state), (gst_element_lost_state):
10829 * gst/gstmessage.c: (gst_message_new_state_changed),
10830 (gst_message_new_state_dirty), (gst_message_new_segment_start),
10831 (gst_message_new_segment_done), (gst_message_new_duration),
10832 (gst_message_parse_state_changed),
10833 (gst_message_parse_segment_start),
10834 (gst_message_parse_segment_done), (gst_message_parse_duration):
10835 * gst/gstmessage.h:
10836 * tools/gst-launch.c: (event_loop):
10837 Seriously, this is better than a previous commit as we only need
10838 to notify the fact that an element changed state in a streaming
10839 thread, marking the state of the parents dirty, hence the
10840 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10843 2005-10-18 Wim Taymans <wim@fluendo.com>
10845 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10846 (gst_bin_recalc_func):
10847 * gst/gstelement.c: (gst_element_set_clock),
10848 (gst_element_abort_state), (gst_element_lost_state):
10849 Cleanups, prepare for state change fixes.
10851 2005-10-18 Wim Taymans <wim@fluendo.com>
10854 * gst/gstelement.c: (gst_element_class_init),
10855 (gst_element_set_state), (gst_element_set_state_func):
10856 * gst/gstelement.h:
10857 Pending ABI changes.
10858 GThreadPool in GstBinClass to monitor async state changes.
10859 state_cookie in GstElement to detect concurrent gst/set state.
10860 set_state is now virtual too in case a very complicated element
10861 has to be constructed.
10863 2005-10-18 Wim Taymans <wim@fluendo.com>
10865 * check/gst/gstbin.c: (GST_START_TEST):
10866 * check/gst/gstmessage.c: (GST_START_TEST):
10867 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10868 * gst/gstbin.c: (bin_bus_handler):
10869 * gst/gstelement.c: (gst_element_commit_state),
10870 (gst_element_lost_state):
10871 * gst/gstmessage.c: (gst_message_new_state_changed),
10872 (gst_message_new_segment_start), (gst_message_new_segment_done),
10873 (gst_message_new_duration), (gst_message_parse_state_changed),
10874 (gst_message_parse_segment_start),
10875 (gst_message_parse_segment_done), (gst_message_parse_duration):
10876 * gst/gstmessage.h:
10877 * tools/gst-launch.c: (event_loop):
10878 Make messages future proof.
10879 state-change gets a flag if it was a message comming from the
10881 segment-start/stop can also be specified in other formats.
10882 A message to notify an app that a pipeline changed playback
10884 Also fix a GstMessage leak in -launch
10886 2005-10-18 Andy Wingo <wingo@pobox.com>
10888 * gst/gstelement.c (gst_element_dispose): More helpful message.
10890 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
10892 reviewed by: <delete if not using a buddy>
10894 * common/gtk-doc.mak:
10896 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
10898 * gst/gstregistry.c: (gst_registry_scan_path_level):
10899 unref a plug-in we get that was already initialized
10901 2005-10-18 Stefan Kost <ensonic@users.sf.net>
10903 * docs/gst/gstreamer-sections.txt:
10904 * docs/libs/gstreamer-libs-sections.txt:
10905 * gst/gstelement.h:
10906 add new api entries
10907 hide internal macro
10909 2005-10-17 Andy Wingo <wingo@pobox.com>
10911 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
10914 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
10916 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
10918 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
10919 (gst_element_get_state_func): Better debug message.
10920 (gst_element_commit_state): s/INFO/DEBUG/.
10921 (gst_element_lost_state, gst_element_change_state):
10923 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
10924 (gst_message_new_custom): s/INFO/LOG/.
10926 2005-10-17 Michael Smith <msmith@fluendo.com>
10928 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10929 Check if end time is valid using end time, not start time.
10931 2005-10-17 Stefan Kost <ensonic@users.sf.net>
10933 * check/gst-libs/controller.c: (GST_START_TEST),
10934 (gst_controller_suite):
10935 * libs/gst/controller/gstcontroller.c:
10936 (gst_controlled_property_set_interpolation_mode):
10937 * libs/gst/controller/gstcontroller.h:
10938 * libs/gst/controller/gstinterpolation.c:
10939 * testsuite/controller/.cvsignore:
10940 * testsuite/controller/Makefile.am:
10941 * testsuite/controller/interpolator.c:
10942 merge controller testsuites
10944 remove mem-chunk from docs
10946 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
10948 * gst/gstmemchunk.c:
10949 * gst/gstmemchunk.h:
10950 * gst/gsttrashstack.c:
10951 * gst/gsttrashstack.h:
10952 out. get out. you're fired. to the Attic !
10954 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
10956 * gst/gstcaps.c: (gst_caps_intersect):
10957 fix signedness issues in a (hopefully) correct way
10958 * gst/gstelement.c: (gst_element_pads_activate):
10960 * gst/gstobject.c: (gst_object_set_parent):
10963 2005-10-17 Julien MOUTTE <julien@moutte.net>
10965 * gst/gstvalue.h: Fix prototypes.
10967 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10969 * docs/gst/gstreamer-sections.txt:
10970 * gst/gst.c: (gst_version_string):
10972 * gst/gstversion.h.in:
10973 * win32/common/libgstreamer.def:
10974 add gst_version_string ()
10976 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10980 * gst/gst.c: (init_post):
10981 * win32/common/config.h.in:
10983 * gst/gstcaps.c: (gst_caps_intersect):
10984 use gint64, the range could be bigger than a guint
10986 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10989 document potential problem in 2038
10991 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10993 * gst/gstcaps.c: (gst_caps_intersect):
10994 Fix guint j diving under 0
10996 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10999 * win32/common/config.h:
11000 * win32/common/config.h.in:
11001 check for process.h, declares getpid() on Windows
11003 include process.h if we have it
11004 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
11005 * gst/gstmemchunk.h:
11006 fix signedness issues
11007 * win32/common/libgstreamer.def:
11010 2005-10-16 Julien MOUTTE <julien@moutte.net>
11012 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
11013 fix. Because of unsigned ints, caps intersection was going nuts and
11014 trying to access structures with G_MAXUINT index. That fixes
11015 videotestsrc ! ffmpegcolorspace ! fakesink
11016 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
11019 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11022 use the gettext macro
11023 * gst/elements/gstelements.c:
11025 * gst/indexers/gstindexers.c:
11026 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
11027 * win32/common/config.h:
11029 * win32/common/config.h.in:
11030 add the template to generate config.h
11031 * win32/common/gstenumtypes.c:
11032 * win32/common/gstversion.h:
11035 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11037 * gst/gst.c: (gst_version):
11038 * gst/gstversion.h.in:
11041 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
11044 Oops, add missing closing bracket.
11046 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11049 use common m4's for argument checking
11051 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
11053 * docs/gst/gstreamer-sections.txt:
11055 Add GST_EVENT_TYPE_NAME() macro.
11057 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11060 * gst/gstpluginfeature.c:
11062 privatize more symbols
11064 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11067 add srcdir, builddir includes to GST_ALL_CFLAGS, since
11068 everything that uses GStreamer API should have the includes
11070 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11072 * docs/gst/gstreamer-sections.txt:
11073 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
11075 give each value a _get_type, removes the DATA exports
11077 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11081 remove _gst_registry_auto_load, not used anymore
11082 * gst/gstbin.c: (gst_bin_get_type):
11084 * gst/gstelement.c: (gst_element_get_type):
11085 * gst/gstelement.h:
11086 * gst/gstobject.c: (gst_object_get_type):
11088 * gst/gstpad.c: (gst_pad_get_type):
11090 make _get_type functions similar, fixes data export from library
11092 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11095 correctly make conditionals
11096 * gst/elements/Makefile.am:
11097 * gst/elements/gstelements.c:
11098 fix typo causing fdsrc not to build
11100 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11102 * testsuite/Makefile.am:
11103 * testsuite/bytestream/.cvsignore:
11104 * testsuite/bytestream/Makefile.am:
11105 * testsuite/bytestream/filepadsink.c:
11106 * testsuite/bytestream/gstbstest.c:
11107 * testsuite/bytestream/test1.c:
11108 * testsuite/bytestream/testfile1:
11109 * testsuite/caps/normalisation.c:
11110 * testsuite/caps/random.c: (main):
11111 * testsuite/cleanup/.cvsignore:
11112 * testsuite/cleanup/Makefile.am:
11113 * testsuite/cleanup/cleanup1.c:
11114 * testsuite/cleanup/cleanup2.c:
11115 * testsuite/cleanup/cleanup3.c:
11116 * testsuite/cleanup/cleanup4.c:
11117 * testsuite/cleanup/cleanup5.c:
11118 * testsuite/controller/interpolator.c:
11119 * testsuite/debug/printf_extension.c: (main):
11120 * testsuite/elements/tee.c:
11121 * testsuite/negotiation/.cvsignore:
11122 * testsuite/negotiation/Makefile.am:
11123 * testsuite/negotiation/pad_link.c:
11124 * testsuite/pad/Makefile.am:
11125 * testsuite/pad/chainnopull.c:
11126 * testsuite/pad/getnopush.c:
11127 * testsuite/pad/link.c:
11128 * testsuite/refcounting/sched.c: (create_pipeline):
11129 * testsuite/registry/Makefile.am:
11130 * testsuite/registry/gst-print-formats.c:
11131 * testsuite/schedulers/.cvsignore:
11132 * testsuite/schedulers/142183-2.c:
11133 * testsuite/schedulers/142183.c:
11134 * testsuite/schedulers/143777-2.c:
11135 * testsuite/schedulers/143777.c:
11136 * testsuite/schedulers/147713.c:
11137 * testsuite/schedulers/147819.c:
11138 * testsuite/schedulers/147894-2.c:
11139 * testsuite/schedulers/147894.c:
11140 * testsuite/schedulers/Makefile.am:
11141 * testsuite/schedulers/group_link.c:
11142 * testsuite/schedulers/queue_link.c:
11143 * testsuite/schedulers/relink.c:
11144 * testsuite/schedulers/unlink.c:
11145 * testsuite/schedulers/unref.c:
11146 * testsuite/schedulers/useless_iteration.c:
11147 * testsuite/states/bin.c:
11148 clean out/remove some stuff from the testsuite directories
11150 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11153 check for some headers
11154 * gst/elements/Makefile.am:
11155 * gst/elements/gstelements.c:
11156 don't compile fdsrc without sys/socket.h
11157 * gst/indexers/Makefile.am:
11158 * gst/indexers/gstindexers.c: (plugin_init):
11159 don't compile fileindex without mmap
11161 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11168 * check/Makefile.am:
11169 * docs/gst/Makefile.am:
11170 * examples/helloworld/Makefile.am:
11172 * gst/base/Makefile.am:
11173 * gst/check/Makefile.am:
11174 * gst/elements/Makefile.am:
11175 * gst/indexers/Makefile.am:
11176 * gst/parse/Makefile.am:
11177 * libs/gst/controller/Makefile.am:
11178 * libs/gst/dataprotocol/Makefile.am:
11179 * examples/helloworld/helloworld.c: (event_loop):
11180 compile fixes, though it's not being compiled currently
11182 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
11184 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
11185 Add some simple tests for the new taglist date API.
11187 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
11189 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
11190 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
11191 Beautify 'last-message' output: print 'none' for buffer timestamps
11192 and durations if none is set; improve alignment with next messages.
11194 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
11196 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
11197 * gst/gstpluginfeature.h:
11198 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
11199 * gst/gstregistry.h:
11200 * docs/gst/gstreamer-sections.txt:
11201 Add new API to check plugin feature version requirements.
11203 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
11204 Some basic tests for the above.
11206 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11208 * gst/gststructure.c: (gst_structure_to_string):
11209 guard against NULL printf - happens when for example
11210 a message structure with GstClock gets serialized
11212 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
11214 * gst/base/gstcollectpads.c: (gst_collectpads_event):
11215 Fix presumable copy'n'pasto.
11217 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11219 * gst/elements/gstfakesrc.h:
11220 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
11221 * gst/elements/gsttypefindelement.c:
11222 fix some signedness
11223 * gst/elements/gstfilesink.c: (gst_file_sink_render):
11224 I wonder if this could actually write +2GB files before
11226 2005-10-13 Andy Wingo <wingo@pobox.com>
11228 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
11229 Fix Timmeke Waymans bug.
11230 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
11231 string of the proper length to gst_caps_from_string. There's a
11232 potential for, before this fix, that this could cause someone
11233 connecting over the network to cause a segfault if the payload is
11234 not NUL-terminated.
11236 2005-10-13 Stefan Kost <ensonic@users.sf.net>
11238 * docs/design/draft-push-pull.txt:
11239 * docs/design/part-overview.txt:
11240 * docs/random/TODO-pre-0.9:
11241 * docs/random/old/ChangeLog.gstreamer:
11242 * gst/base/gstpushsrc.c:
11246 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11248 * gst/glib-compat.c: (gst_flags_get_first_value):
11249 * gst/glib-compat.h:
11250 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
11251 (gst_value_compare_double), (gst_value_serialize_flags):
11252 GLib 2.6 g_flags_get_first_value has a bug that triggers an
11255 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11257 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11258 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
11260 * tools/gst-launch.c: (event_loop):
11261 print out clock nicely
11263 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
11265 * docs/gst/gstreamer-sections.txt:
11266 * gst/gsttaglist.h:
11267 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
11268 (gst_tag_list_get_date_index):
11269 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
11270 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
11272 2005-10-13 Julien MOUTTE <julien@moutte.net>
11274 * gst/base/gstcollectpads.c: (gst_collectpads_event),
11275 (gst_collectpads_chain):
11276 * gst/base/gstcollectpads.h: Handle newsegment and store informations
11279 2005-10-13 Stefan Kost <ensonic@users.sf.net>
11281 * docs/gst/gstreamer-sections.txt:
11284 * tools/gst-inspect.c: (main):
11285 * tools/gst-launch.c: (main):
11286 * tools/gst-run.c: (main):
11287 * tools/gst-xmlinspect.c: (main):
11288 fix GOption context leaks
11291 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11295 * win32/common/config.h:
11297 * win32/vs6/grammar.dsp:
11298 * win32/vs6/libgstelements.dsp:
11299 * win32/vs6/libgstreamer.dsp:
11302 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
11304 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11305 * gst/base/gstbasesrc.c: (gst_base_src_query):
11306 fix more guint64<->gdouble conversions
11308 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
11311 add win32-update target
11312 * win32/common/gstconfig.h:
11313 * win32/common/gstenumtypes.c:
11314 * win32/common/gstenumtypes.h:
11315 * win32/common/gstversion.h:
11316 add files that visual studio can't generate
11318 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
11321 add a win32-update target
11324 2005-10-12 Wim Taymans <wim@fluendo.com>
11326 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11327 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
11328 * gst/gstelement.c: (gst_element_commit_state),
11329 (gst_element_set_state):
11330 Protect flags with proper lock.
11331 unref provided cached clock in dispose.
11333 2005-10-12 Stefan Kost <ensonic@users.sf.net>
11336 * gst/gstminiobject.h:
11338 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
11339 removed unused flags from miniobject
11342 2005-10-12 Wim Taymans <wim@fluendo.com>
11344 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
11345 (gst_file_sink_event), (gst_file_sink_render):
11346 Flush before seeking.
11348 2005-10-12 Andy Wingo <wingo@pobox.com>
11350 * gst/gst.c (gst_init_check): Ignore unknown options, as has
11351 always been the case.
11353 2005-10-12 Stefan Kost <ensonic@users.sf.net>
11355 * check/gst/gstbin.c: (GST_START_TEST):
11356 * docs/gst/gstreamer-sections.txt:
11357 * gst/base/gstbasesink.c: (gst_base_sink_init):
11358 * gst/base/gstbasesrc.c: (gst_base_src_init),
11359 (gst_base_src_get_range), (gst_base_src_check_get_range),
11360 (gst_base_src_start), (gst_base_src_stop):
11361 * gst/base/gstbasesrc.h:
11362 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
11363 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11364 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
11368 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
11370 * gst/gstelement.c: (gst_element_is_locked_state),
11371 (gst_element_set_locked_state), (gst_element_commit_state),
11372 (gst_element_set_state):
11373 * gst/gstelement.h:
11374 * gst/gstindex.c: (gst_index_init):
11376 * gst/gstminiobject.h:
11377 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
11378 (gst_object_set_parent):
11380 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
11381 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
11383 * gst/gstpadtemplate.h:
11384 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
11385 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
11386 * gst/gstpipeline.h:
11387 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11388 (gst_file_index_commit):
11389 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
11390 * testsuite/pad/link.c: (gst_test_src_init),
11391 (gst_test_filter_init), (gst_test_sink_init):
11392 * testsuite/states/locked.c: (main):
11393 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
11394 moved bitshift from macro to enum definition
11396 2005-10-12 Wim Taymans <wim@fluendo.com>
11398 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
11399 * gst/elements/gstfilesink.c: (gst_file_sink_event),
11400 (gst_file_sink_render):
11401 Some more debugging info.
11403 2005-10-12 Wim Taymans <wim@fluendo.com>
11405 * docs/design/part-states.txt:
11406 * tools/gst-launch.c: (main):
11408 Revert non-intentional change.
11410 2005-10-12 Wim Taymans <wim@fluendo.com>
11412 * check/gst/gstbin.c: (GST_START_TEST):
11413 * check/gst/gstelement.c: (GST_START_TEST):
11414 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
11415 * check/gst/gstghostpad.c: (GST_START_TEST):
11416 * check/gst/gstpipeline.c: (GST_START_TEST):
11417 * check/pipelines/simple_launch_lines.c: (run_pipeline):
11418 * check/states/sinks.c: (GST_START_TEST):
11419 * gst/elements/gsttypefindelement.c: (stop_typefinding):
11420 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11421 (gst_bin_remove_func), (gst_bin_get_state_func),
11422 (gst_bin_recalc_state), (gst_bin_change_state_func),
11424 * gst/gstelement.c: (gst_element_get_state_func),
11425 (gst_element_get_state), (gst_element_abort_state),
11426 (gst_element_commit_state), (gst_element_set_state),
11427 (gst_element_change_state), (gst_element_change_state_func):
11428 * gst/gstelement.h:
11429 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
11430 (gst_pipeline_provide_clock_func):
11431 * gst/gstutils.c: (gst_element_link_pads_filtered):
11432 * tools/gst-launch.c: (main):
11433 * tools/gst-typefind.c: (main):
11434 Use GstClockTime in _get_state() instead of GTimeVal.
11435 Remove old code in gstutils.c
11437 2005-10-12 Andy Wingo <wingo@pobox.com>
11439 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
11442 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
11443 there is no task. Shouldn't affect any code, as nothing in our
11444 plugins checks this return value.
11445 (gst_pad_stop_task): Also take the stream lock if the pad has no
11446 task. Docs updated.
11448 2005-10-12 Wim Taymans <wim@fluendo.com>
11450 * gst/gstpad.c: (pre_activate), (post_activate),
11451 (gst_pad_activate_pull), (gst_pad_activate_push):
11452 Cleanup activation code. Reset old state if
11455 2005-10-12 Wim Taymans <wim@fluendo.com>
11457 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11458 (gst_base_sink_change_state):
11459 No need to prerol after receiving EOS.
11461 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
11462 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
11463 * gst/elements/gstidentity.c: (gst_identity_event):
11464 Print events more verbosely.
11466 2005-10-12 Wim Taymans <wim@fluendo.com>
11468 * check/Makefile.am:
11469 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
11470 * check/states/sinks2.c:
11471 Moved sinks2 testcode in sinks check.
11473 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11474 (gst_bin_remove_func), (gst_bin_recalc_state),
11475 (gst_bin_change_state_func), (bin_bus_handler):
11476 Fix potential race condition when _get_state() iterated over an
11477 ASYNC element right before it posted a state completion.
11480 Do proper cast here.
11482 * gst/gstevent.c: (gst_event_new_newsegment),
11483 (gst_event_parse_newsegment):
11484 A playback rate of 0.0 is not allowed.
11486 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11488 * win32/common/config.h:
11489 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
11490 (_trewinddir), (_ttelldir), (_tseekdir):
11491 * win32/common/dirent.h:
11492 * win32/common/gtchar.h:
11493 * win32/common/libgstbase.def:
11494 * win32/common/libgstreamer.def:
11495 * win32/vs6/grammar.dsp:
11496 * win32/vs6/gst_inspect.dsp:
11497 * win32/vs6/gst_launch.dsp:
11498 * win32/vs6/gstreamer.dsw:
11499 * win32/vs6/libgstbase.dsp:
11500 * win32/vs6/libgstelements.dsp:
11501 * win32/vs6/libgstreamer.dsp:
11502 Visual Studio 6 project files, and a new common directory.
11505 2005-10-11 Wim Taymans <wim@fluendo.com>
11507 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11508 (gst_base_sink_do_sync), (gst_base_sink_query),
11509 (gst_base_sink_change_state):
11510 * gst/base/gstbasesink.h:
11511 Correctly parse newsegment info.
11513 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11515 * gst/gst.c: (init_post):
11516 split plugin paths correctly
11518 2005-10-11 Wim Taymans <wim@fluendo.com>
11520 * check/gst/gstevent.c: (GST_START_TEST):
11521 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11522 (gst_base_sink_change_state):
11523 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
11524 * gst/base/gstbasetransform.c: (gst_base_transform_event):
11525 * gst/elements/gstfilesink.c: (gst_file_sink_event):
11526 * gst/gstevent.c: (gst_event_new_newsegment),
11527 (gst_event_parse_newsegment):
11529 Added extra flag to newsegment for future API freeze.
11530 Updated check and base elements.
11532 2005-10-11 Julien MOUTTE <julien@moutte.net>
11534 * gst/base/gstcollectpads.c: (gst_collectpads_init),
11535 (gst_collectpads_add_pad), (gst_collectpads_pop),
11536 (gst_collectpads_event), (gst_collectpads_chain):
11537 * gst/base/gstcollectpads.h: Handle EOS correctly.
11539 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11541 * tools/gst-launch.c: (main):
11542 more null protecting
11544 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11546 * gst/gst-i18n-lib.h:
11547 check for ENABLE_NLS, not GETTEXT_PACKAGE
11548 * gst/gstregistry.c: (gst_registry_add_plugin),
11549 (gst_registry_scan_path_level),
11550 (_gst_registry_remove_cache_plugins):
11551 protect possibly NULL strings
11552 * gst/parse/types.h:
11553 config.h already included before
11554 * tools/gst-inspect.c: (main):
11555 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
11556 check for ENABLE_NLS, not GETTEXT_PACKAGE
11557 * tools/gst-launch.c: (main):
11558 check for ENABLE_NLS, not GETTEXT_PACKAGE
11560 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11563 if we don't have glib, fail before testing 2.8
11564 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
11565 fix a leak, should fix plugins-base testsuite
11567 2005-10-11 Andy Wingo <wingo@pobox.com>
11569 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
11570 take the mode we're going to as an arg. Go head and set the mode
11571 and flushing flags now, so that if the activate function starts a
11572 thread all the flags will be in the right state.
11573 (post_activate): Renamed also. Just handle making sure streaming
11574 finishes for the deactivation case, and setting the deactivated
11576 (gst_pad_set_active): Complain loudly if deactivation fails.
11577 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
11578 (gst_pad_activate_push): Adapt to pre/post_activate changes,
11579 remove the terrible hack.
11581 2005-10-11 Wim Taymans <wim@fluendo.com>
11583 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11584 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
11585 (gst_bin_recalc_state), (gst_bin_change_state_func),
11586 (gst_bin_dispose), (bin_bus_handler):
11588 Prepare to make current EOS message queue more generic.
11591 * gst/gstevent.c: (gst_event_new_newsegment),
11592 (gst_event_parse_newsegment):
11594 Rename base to stream_time.
11596 * gst/gstmessage.h:
11599 2005-10-11 Wim Taymans <wim@fluendo.com>
11601 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11602 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
11603 (gst_bin_change_state_func), (bin_bus_handler):
11605 Work on proper clock selection.
11607 2005-10-11 Edward Hervey <edward@fluendo.com>
11609 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
11610 * libs/gst/controller/gstcontroller.h:
11611 Added GList* version of _remove_properties() in order to be able to wrap
11614 2005-10-11 Wim Taymans <wim@fluendo.com>
11616 * docs/design/part-states.txt:
11619 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
11620 (gst_bin_change_state_func), (bin_bus_handler):
11621 Doc updates. Don't distribute the same clock over and over again.
11627 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
11628 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
11629 (gst_pad_send_event):
11631 Make probe emission threadsafe again.
11632 Register quarks and move _get_name() from utils.
11635 * gst/gstpipeline.c: (gst_pipeline_class_init),
11636 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11637 Only redistribute the clock of it changed.
11639 * gst/gstsystemclock.h:
11644 Moved the _flow_get_name() to GstPad.
11646 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11648 * check/gst-libs/gdp.c: (GST_START_TEST):
11649 * check/gst/gstcaps.c: (GST_START_TEST):
11650 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
11651 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
11652 (gst_dp_packet_from_caps):
11653 fix more valgrind warnings before turning up the heat
11655 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11657 * gst/parse/grammar.y:
11658 some cleanup before the hacking
11660 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11662 * gst/base/gstbasesrc.c: (gst_base_src_query):
11664 * gst/gstutils.c: (gst_guint64_to_gdouble),
11665 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
11667 externalize, basesrc uses it
11668 obviously the implementation needs testing
11670 2005-10-10 Wim Taymans <wim@fluendo.com>
11672 * tests/sched/Makefile.am:
11673 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
11674 (make_pipeline3), (make_pipeline4), (print_elem), (main):
11676 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11678 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
11679 apparently converting from guint64 to double is not implemented
11682 2005-10-10 Wim Taymans <wim@fluendo.com>
11684 * check/Makefile.am:
11685 * check/generic/states.c: (GST_START_TEST):
11686 * check/gst/gstbin.c: (GST_START_TEST):
11687 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11688 * check/states/sinks.c: (GST_START_TEST):
11689 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
11691 Check fixes, use API as stated in design docs, remove hacks.
11693 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11694 (gst_base_sink_change_state):
11695 Catch stopping our task while we're shutting down.
11697 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
11698 (gst_bin_remove_func), (gst_bin_get_state_func),
11699 (gst_bin_recalc_state), (gst_bin_change_state_func),
11702 * gst/gstelement.c: (gst_element_init),
11703 (gst_element_get_state_func), (gst_element_abort_state),
11704 (gst_element_commit_state), (gst_element_lost_state),
11705 (gst_element_set_state), (gst_element_change_state),
11706 (gst_element_change_state_func):
11707 * gst/gstelement.h:
11708 New state change algorithm (see #318116)
11710 * gst/gstpipeline.c: (gst_pipeline_class_init),
11711 (gst_pipeline_init), (gst_pipeline_set_property),
11712 (gst_pipeline_get_property), (do_pipeline_seek),
11713 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11714 * gst/gstpipeline.h:
11715 Remove crude state change hacks.
11718 Remove crude hacks.
11720 * tools/gst-launch.c: (main):
11721 Fixes for state change. Needs some more work to fully use the
11724 2005-10-10 Andy Wingo <wingo@pobox.com>
11726 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
11728 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
11729 this flag, but it's not even in GLib 2.6. Odd. Hack around the
11732 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11734 * gst/gstiterator.c: (gst_iterator_new):
11735 Fix my previous commit: GTypes passed to gst_iterator_new()
11736 can be fundamental types.
11738 2005-10-10 Wim Taymans <wim@fluendo.com>
11740 * gst/gstelement.c: (gst_element_iterate_pad_list),
11741 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
11742 (gst_element_iterate_sink_pads):
11743 Use src/sink pads lists for the respective iterators instead
11746 2005-10-10 Andy Wingo <wingo@pobox.com>
11748 Merged in popt removal + GOption addition patch from Ronald, bug
11751 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
11752 GstElement macros around, remove popt-related symbols, add goption
11755 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
11757 * docs/gst/Makefile.am:
11758 * docs/libs/Makefile.am: No POPT_CFLAGS.
11760 * examples/manual/Makefile.am:
11761 * docs/manual/basics-init.xml: Doc updates with an example.
11763 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11764 (gst_init), (parse_one_option), (parse_goption_arg):
11765 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
11766 bit of hand merging and debugging to get the GOption stuff working
11769 * tests/Makefile.am:
11770 * tools/Makefile.am:
11771 * tools/gst-inspect.c: (main):
11772 * tools/gst-launch.c: (main):
11773 * tools/gst-run.c: (main):
11774 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
11776 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11778 * gst/gstiterator.c: (gst_iterator_new):
11779 Add assertions to make sure passed GType is likely to really
11780 be a GType (as the compiler won't catch it if the size and
11781 GType arguments get mixed up, see #318447).
11783 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
11785 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11787 * gst/gstbin.c: (gst_bin_iterate_sorted):
11788 Pass GType and size arguments to gst_iterator_new() in the right
11789 order (maybe we should make _new() take the GType as first argument
11790 just like _new_list()?) (#318447).
11793 2005-10-10 Wim Taymans <wim@fluendo.com>
11795 * gst/gstelement.c: (gst_element_finalize):
11796 And free the GStaticRecMutex too
11798 2005-10-10 Andy Wingo <wingo@pobox.com>
11800 * gst/gstelement.c (gst_element_init, gst_element_finalize):
11801 Allocate and free the mutex properly.
11803 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11805 (GstElement): The state_lock is now recursive. Rebuild your
11806 plugins, suckers. Old macros adapted.
11808 * docs/gst/gstreamer-sections.txt: Doc updates.
11811 * gst/gstutils.c (g_static_rec_cond_timed_wait)
11812 (g_static_rec_cond_wait): Ported from state changes patch, while
11813 we wait on bug #317802 to be solved in a well-distributed GLib.
11815 * gst/gstelement.c (gst_element_change_state_func): Renamed from
11816 gst_element_change_state, variable name changes.
11817 (gst_element_change_state): Split out of gst_element_set_state in
11818 preparation for the state change merge. Doesn't pay attention to
11819 the 'transition' argument.
11820 (gst_element_set_state): Updates, hopefully purely cosmetic.
11821 (gst_element_sync_state_with_parent): MT-safety. Ported from the
11822 state change patch.
11823 (gst_element_get_state_func): Renamed from get_state, cosmetic
11826 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11828 * gst/elements/gstelements.c:
11829 * win32/GStreamer.vcproj:
11831 * win32/dirent.c: (_tseekdir):
11832 * win32/gst-inspect.vcproj:
11833 * win32/gst-launch.vcproj:
11834 * win32/gstconfig.h:
11835 * win32/gstelements.vcproj:
11836 * win32/gstenumtypes.c: (gst_object_flags_get_type):
11837 * win32/gstreamer.def:
11838 * win32/msvc71.sln:
11839 updates for the win32 build (patch from Sebastien Moutte)
11841 2005-10-10 Andy Wingo <wingo@pobox.com>
11843 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11844 gst_bin_get_state, cleaned up (but no logic changes).
11845 (bin_element_is_sink): Comment updates.
11846 (sink_iterator_filter): Remove needless cast.
11847 (gst_bin_iterate_sinks): Doc update.
11848 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11849 cleaned up (but no logic changes).
11851 * check/states/sinks.c (test_src_sink): Cleanups from the state
11853 (test_livesrc_sink): Sync on the state.
11855 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11856 the state change patch.
11858 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11861 * check/gst/gstbin.c: Merge in some style fixes and additional
11862 checks from Wim's state change patch.
11864 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11866 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11867 (gst_type_find_helper):
11868 Check whether we have the requested data already in our list of
11869 cached buffers before pulling a new buffer; also make the buffer
11870 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11872 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11877 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11878 don't use long long, it's not portable. Replacing with
11879 gint64 seems to work; let's hope no skeletons fall out of the closet.
11881 2005-10-10 Andy Wingo <wingo@pobox.com>
11883 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
11885 2005-10-09 Stefan Kost <ensonic@users.sf.net>
11887 * docs/gst/gstreamer-sections.txt:
11892 * gst/gstmessage.c: (gst_message_parse_state_changed):
11895 more docs, fix compilation
11897 2005-10-09 Philippe Khalaf <burger@speedy.org>
11898 * gst/gstmessage.c:
11899 Fixed a few forgotten variables on previous commit
11901 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
11903 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11904 Fix evil typefind crasher: getrange() might return a short
11905 buffer at the end of a file, but gst_type_find_peek() must
11906 either return the full data as requested or NULL, but
11907 never a short buffer.
11909 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
11911 * gst/gstmessage.c: (gst_message_new_state_changed),
11912 (gst_message_parse_state_changed):
11913 * gst/gstmessage.h:
11914 don't use "new", it's a C++ keyword
11916 2005-10-08 Wim Taymans <wim@fluendo.com>
11918 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
11919 * gst/gstelement.c: (gst_element_post_message):
11920 * gst/gstpipeline.c: (gst_pipeline_change_state):
11921 Small docs and debug updates.
11923 2005-10-08 Stefan Kost <ensonic@users.sf.net>
11925 * docs/gst/gstreamer-sections.txt:
11926 * gst/gstelementfactory.c:
11928 * gst/gsttaglist.c:
11931 2005-10-08 Wim Taymans <wim@fluendo.com>
11933 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
11934 (gst_bin_dispose), (bin_bus_handler):
11935 Fix typos, add comments.
11936 Clear EOS list when going to PAUSED from any direction and do it
11937 in a threadsafe way.
11938 Get base time in a threadsafe way too.
11939 Fix confusing debug in the change_state function.
11940 Various other small cleanups.
11942 * gst/gstelement.c: (gst_element_post_message):
11943 Fix very verbose bus posting code.
11945 * gst/gstpipeline.c: (gst_pipeline_class_init),
11946 (gst_pipeline_set_property), (gst_pipeline_get_property),
11947 (gst_pipeline_change_state):
11948 Small ARG_ -> PROP_ cleanup
11950 2005-10-08 Wim Taymans <wim@fluendo.com>
11952 * gst/gstbin.c: (is_eos), (bin_bus_handler):
11953 Do a less CPU demanding EOS check because we can.
11955 2005-10-08 Wim Taymans <wim@fluendo.com>
11957 * libs/gst/dataprotocol/dataprotocol.c:
11958 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11959 (gst_dp_packet_from_event):
11960 * libs/gst/dataprotocol/dataprotocol.h:
11961 * libs/gst/dataprotocol/dp-private.h:
11962 It's about time we bump the version number.
11963 Since event types don't fit in the guint8 anymore describing
11964 the payload type, make payload type 16 bits wide.
11966 2005-10-08 Wim Taymans <wim@fluendo.com>
11968 * docs/design/part-TODO.txt:
11969 * docs/design/part-clocks.txt:
11970 * docs/design/part-events.txt:
11971 * docs/design/part-gstbin.txt:
11972 * docs/design/part-gstelement.txt:
11973 * docs/design/part-gstpipeline.txt:
11974 * docs/design/part-live-source.txt:
11975 * docs/design/part-messages.txt:
11976 * docs/design/part-overview.txt:
11977 * docs/design/part-states.txt:
11980 2005-10-08 Wim Taymans <wim@fluendo.com>
11984 Fix event quark registration.
11985 Add some space between events so we can insert them in the
11988 2005-10-08 Wim Taymans <wim@fluendo.com>
11990 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11991 (gst_base_sink_handle_buffer):
11992 Better log message.
11995 * gst/gstelement.h:
11998 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11999 (gst_queue_set_property), (gst_queue_get_property):
12001 Remove old unused properties.
12003 2005-10-08 Stefan Kost <ensonic@users.sf.net>
12004 * docs/gst/gstreamer-sections.txt:
12005 * gst/gstmessage.c:
12006 * gst/gstmessage.h:
12007 * gst/gstminiobject.c:
12008 * gst/gstminiobject.h:
12012 lots of new docs and doc fixes
12014 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12016 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
12018 * gst/gstregistry.c: (gst_registry_lookup_locked),
12019 (gst_registry_scan_path_level):
12020 * gst/gstregistryxml.c: (load_plugin):
12021 Only ever load one plugin for a given plugin basename.
12022 This ensures correct overriding of GST_PLUGIN_PATH over
12023 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
12024 system installed plugins.
12026 2005-10-08 Wim Taymans <wim@fluendo.com>
12028 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12029 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
12030 Prepare for doing QOS.
12032 2005-10-08 Wim Taymans <wim@fluendo.com>
12034 * check/gst/gstbin.c: (GST_START_TEST):
12035 * check/pipelines/cleanup.c: (GST_START_TEST):
12036 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
12037 Allow new clock message too.
12039 2005-10-08 Wim Taymans <wim@fluendo.com>
12041 * gst/gstmessage.c: (gst_message_new_error),
12042 (gst_message_new_warning), (gst_message_new_tag),
12043 (gst_message_new_state_changed), (gst_message_new_clock_provide),
12044 (gst_message_new_clock_lost), (gst_message_new_new_clock),
12045 (gst_message_new_segment_start), (gst_message_new_segment_done),
12046 (gst_message_parse_state_changed),
12047 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
12048 (gst_message_parse_new_clock):
12049 * gst/gstmessage.h:
12050 Also carry the clock in question.
12052 2005-10-08 Wim Taymans <wim@fluendo.com>
12054 * gst/gstmessage.c: (gst_message_new_custom),
12055 (gst_message_new_eos), (gst_message_new_error),
12056 (gst_message_new_warning), (gst_message_new_tag),
12057 (gst_message_new_state_changed), (gst_message_new_clock_provide),
12058 (gst_message_new_new_clock), (gst_message_new_segment_start),
12059 (gst_message_new_segment_done), (gst_message_parse_state_changed),
12060 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
12061 * gst/gstmessage.h:
12063 Added clock related messages.
12065 * gst/gstpipeline.c: (gst_pipeline_change_state):
12066 Post message when the clock changed.
12068 * tools/gst-launch.c: (event_loop):
12071 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
12073 * tools/gst-inspect.c: (print_element_properties_info):
12074 Can't pass NULL strings to g_print() on windows.
12076 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12078 * docs/Makefile.am:
12079 * docs/gst/Makefile.am:
12080 * docs/gst/gstreamer-docs.sgml:
12081 * docs/gst/running.xml:
12082 * docs/version.entities.in:
12083 add a chapter on running GStreamer.
12084 document GST_DEBUG and GST_PLUGIN* env vars
12086 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12091 remove PLUGINS_BUILDDIR stuff
12092 * gst/gst.c: (init_post):
12093 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
12095 remove, it was condescending and not needed
12097 2005-10-08 Wim Taymans <wim@fluendo.com>
12099 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
12100 (gst_base_sink_handle_object), (gst_base_sink_event),
12101 (gst_base_sink_wait), (gst_base_sink_handle_event),
12102 (gst_base_sink_change_state):
12103 * gst/base/gstbasesink.h:
12104 Repost EOS message while going to PLAYING if still EOS.
12105 Make sure that when receiving a FLUSH_START we don't attempt
12106 to sync on the clock anymore.
12108 2005-10-08 Wim Taymans <wim@fluendo.com>
12110 * tools/gst-launch.c: (event_loop):
12111 Better message printout.
12113 2005-10-08 Wim Taymans <wim@fluendo.com>
12115 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
12116 (gst_bin_child_proxy_get_children_count):
12117 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
12118 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
12119 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
12120 (gst_child_proxy_set_valist):
12121 * gst/parse/grammar.y:
12122 Make ChildProxy threadsafe and fix mem leaks.
12124 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12126 * gst/gst.c: (init_post):
12127 debug the GST_PLUGIN_ env vars
12129 2005-10-08 Wim Taymans <wim@fluendo.com>
12131 * check/gst/gstbin.c: (GST_START_TEST):
12132 * check/gst/gstmessage.c: (GST_START_TEST):
12133 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
12134 * gst/gstelement.c: (gst_element_commit_state),
12135 (gst_element_lost_state):
12136 * gst/gstmessage.c: (gst_message_new_state_changed),
12137 (gst_message_parse_state_changed):
12138 * gst/gstmessage.h:
12139 * tools/gst-launch.c: (event_loop):
12140 Added extra field to STATE_CHANGE message with the pending
12141 state, which will be different from the new state soon.
12143 2005-10-08 Wim Taymans <wim@fluendo.com>
12145 * gst/gstbus.c: (gst_bus_pop):
12147 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
12148 Small cleanups and doc updates.
12150 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12152 * gst/gst.c: (init_pre):
12153 * gst/gstbin.c: (gst_bin_add_func):
12154 log distributing clocks and base time
12155 * gst/gstregistry.c: (gst_registry_add_plugin),
12156 (gst_registry_scan_path_level), (gst_registry_scan_path):
12157 clean up the debugging output a little
12158 * gst/gstutils.c: (gst_element_state_get_name):
12159 warn about a memleak (I've actually seen this be used, though
12160 it was probably a bug)
12162 2005-10-07 Wim Taymans <wim@fluendo.com>
12164 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12165 (gst_base_src_init), (gst_base_src_default_newsegment),
12166 (gst_base_src_newsegment), (gst_base_src_do_seek),
12167 (gst_base_src_loop), (gst_base_src_start):
12168 * gst/base/gstbasesrc.h:
12169 Make the newsegment event customizable by subclasses.
12171 2005-10-07 Wim Taymans <wim@fluendo.com>
12173 * gst/gstevent.c: (gst_event_new_buffersize),
12174 (gst_event_parse_buffersize):
12176 New event for future idea.
12178 2005-10-07 Andy Wingo <wingo@pobox.com>
12180 * gst/gstelement.c (gst_element_post_message): Doc update.
12182 * docs/gst/gstreamer-sections.txt: Update.
12184 * gst/gstmessage.c (gst_message_new_application): Made into a
12185 function like honest API calls.
12186 (gst_message_new_element): New message type.
12188 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
12190 * check/elements/fakesrc.c (test_no_preroll): New check, checks
12191 that setting a live fakesrc to PAUSED returns NO_PREROLL both
12194 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
12195 NO_PREROLL from gst_element_change_state to fall through.
12197 2005-10-07 Wim Taymans <wim@fluendo.com>
12199 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
12200 (gst_ghost_pad_do_activate_push):
12201 Activating a ghostpad with no internal pad in push mode
12204 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
12207 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
12208 Fixes compilation on Windows.
12210 2005-10-07 Michael Smith <msmith@fluendo.com>
12212 * tools/gst-inspect.c:
12213 Print out feature and plugin count at the end when printing out
12216 2005-10-04 Michael Smith <msmith@fluendo.com>
12218 * gst/gsterror.c: (_gst_stream_errors_init):
12219 Add another error string used in a few existing plugins.
12222 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12223 * tools/gst-inspect.c: (print_element_info):
12224 When a feature disappears from a plugin (and the feature exists in
12225 the cached registry file), things went horribly wrong. This isn't a
12226 complete fix, we should actually be removing the 'missing' features
12227 from the features list when we load the actual plugin. That's not
12230 2005-10-04 Johan Dahlin <johan@gnome.org>
12232 * check/gst/gstiterator.c: (GST_START_TEST):
12233 * gst/gstbin.c: (gst_bin_iterate_elements),
12234 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
12235 * gst/gstelement.c: (gst_element_iterate_pads):
12236 * gst/gstformat.c: (gst_format_iterate_definitions):
12237 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12238 (gst_iterator_new_list), (gst_iterator_filter):
12239 * gst/gstiterator.h:
12240 * gst/gstquery.c: (gst_query_type_iterate_definitions):
12241 Add a GType to GstIterator, update callsites and tests.
12243 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12245 * gst/gstpad.c: (gst_pad_event_default_dispatch):
12246 give events a chance to be handled by event probes when the pad
12249 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12251 * gst/gstevent.c: (gst_event_type_get_name),
12252 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
12254 add string representations for event types
12256 2005-10-06 Wim Taymans <wim@fluendo.com>
12258 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
12259 Don't use NULL pointers.
12261 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12263 * gst/gst_private.h:
12265 * gst/gstelement.c:
12267 * gst/gstpluginfeature.c:
12268 widen the debug category in output to fit the biggest one we have
12269 add a bus category and use it
12270 play with the colors
12271 fix up some categories
12273 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12275 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
12276 add push activation of sink ghost pads.
12277 Andye, please verify
12279 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
12281 * gst/gstutils.c: (gst_element_link_pads):
12282 fix a bug in the case where neither element has a pad
12283 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
12284 add a test for that case
12286 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
12288 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
12289 emit have-data before checking for peers. This allows
12290 for probe handlers to connect elements. This helps autopluggers.
12291 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
12293 add six checks, linked/unlinked with no/true/false probe
12295 2005-10-04 Wim Taymans <wim@fluendo.com>
12297 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
12298 (gst_fake_sink_event), (gst_fake_sink_preroll),
12299 (gst_fake_sink_render), (gst_fake_sink_change_state):
12300 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
12301 (gst_fake_src_get_property), (gst_fake_src_create),
12302 (gst_fake_src_stop):
12303 * gst/elements/gstidentity.c: (gst_identity_stop):
12304 Protect last_message with lock.
12306 2005-10-04 Edward Hervey <edward@fluendo.com>
12309 Added precision in the comments for GST_FORMAT_DEFAULT
12311 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
12313 * tools/gst-launch.c: (main):
12314 Don't try to run erroneous pipelines.
12316 2005-10-04 Julien MOUTTE <julien@moutte.net>
12318 * gst/gstbus.c: We don't need this header.
12320 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
12323 back to development
12325 === release 0.9.3 ===
12327 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
12331 Releasing 0.9.3, "Unregistered"
12333 2005-10-03 Andy Wingo <wingo@pobox.com>
12335 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
12336 whereby calling a pad's activatepush() function can start a thread
12337 that starts to push or pull before the pad gets the FLUSHING flag
12338 unset. Hack around it by holding the stream lock until the flag is
12339 set. Need to replace this with a proper solution. Together with
12340 the ghost pad fixes, this fixes mp3 playing/tagreading.
12342 * docs/design/part-gstghostpad.txt: Add a note about activation of
12343 proxy pads outside of ghost pads.
12345 * gst/gstghostpad.c: Implement the ghost pad activation design.
12347 2005-10-02 Andy Wingo <wingo@pobox.com>
12349 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
12350 It is volatile, after all.
12352 * docs/design/part-gstghostpad.txt: Flesh out activation with
12355 * gst/base/gstbasesrc.c (gst_base_src_init): Use
12358 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
12361 Fix (unused) AM_CONDITIONAL tests.
12363 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
12365 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12367 * gst/gstutils.c: (gst_pad_query_convert):
12368 Add assertion that makes sure src_val is >=0, just like
12369 gst_query_new_convert() has. (#315895)
12371 2005-09-30 Edward Hervey <edward@fluendo.com>
12373 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
12374 Let's not iterate pads we're not interested in, it avoids getting
12375 sky-high refcounts on sinkpad.
12377 2005-09-30 Wim Taymans <wim@fluendo.com>
12379 * gst/gstelement.c: (gst_element_set_state),
12380 (gst_element_change_state):
12381 Small tweak, element in ASYNC remains ASYNC.
12383 2005-09-30 Wim Taymans <wim@fluendo.com>
12385 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12386 Only error is an error.
12388 * gst/gstbin.c: (gst_bin_change_state):
12391 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
12392 Also call pad_block in pad alloc.
12394 * gst/gstutils.c: (gst_flow_get_name):
12397 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12399 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12400 (gst_base_src_get_range):
12401 Fix documentation typos. Add some more debug info.
12403 2005-09-29 David Schleef <ds@schleef.org>
12405 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
12406 more end-user friendly.
12407 * tools/gst-inspect.c: (main): Check if command-line argument is
12408 a file and attempt to load that file as a plugin.
12410 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12412 * check/gst/gstbin.c:
12413 * check/states/sinks.c:
12414 fix tests for the new warning
12415 * check/gst/gstpipeline.c:
12416 add a test for pipeline and bus interaction
12417 * gst/gstelement.c:
12418 elements should be NULL if they get disposed; add a warning if not
12420 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12423 for 2.6 refcounting, make debug log more correct by printing
12424 the actual refcounts at the time of swap (Wim)
12426 2005-09-29 Andy Wingo <wingo@pobox.com>
12428 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
12429 removes signal watches previously added via
12430 gst_bus_add_signal_watch.
12431 (gst_bus_add_signal_watch): Don't return the source id, just store
12432 it on the bus if there wasn't an id already.
12434 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
12435 add_signal_watch and remove_signal_watch.
12437 2005-09-29 Edward Hervey <edward@fluendo.com>
12439 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
12440 Better if we actually iterate the list :)
12442 2005-09-29 Wim Taymans <wim@fluendo.com>
12444 * check/gst/gstbin.c: (GST_START_TEST):
12445 Change for new bus API.
12447 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12448 (send_messages), (GST_START_TEST), (gstbus_suite):
12449 Change for new bus signal API.
12451 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
12452 (gst_bus_source_prepare), (gst_bus_source_check),
12453 (gst_bus_create_watch), (gst_bus_add_watch_full),
12454 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
12455 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
12457 Remove support for multiple GSources operating on different
12458 message types as it is too complex and unneeded when using
12460 Added support for receiving signals from the bus.
12462 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12464 * docs/libs/tmpl/gstdataprotocol.sgml:
12465 * docs/manual/advanced-dataaccess.xml:
12466 * gst/elements/gstcapsfilter.c:
12468 rename filter-caps to caps property
12470 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12472 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12473 More robust fraction string parsing.
12475 * docs/pwg/appendix-porting.xml:
12476 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
12478 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12480 * gst/gstcaps.c: (gst_caps_do_simplify):
12481 Thou shalt not free a structure and then continue using it
12482 in the next loop iteration.
12484 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
12486 Add test case for caps simplification.
12488 2005-09-29 Wim Taymans <wim@fluendo.com>
12490 * check/gst/gstbin.c: (GST_START_TEST):
12493 2005-09-29 Wim Taymans <wim@fluendo.com>
12495 * check/gst/gstbin.c: (GST_START_TEST):
12498 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
12499 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12500 (find_element), (gst_bin_sort_iterator_next),
12501 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12502 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12503 (gst_bin_change_state), (gst_bin_dispose):
12504 A bin does not have a bus, it gets the bus from the parent.
12506 * gst/gstelement.c: (gst_element_requires_clock),
12507 (gst_element_provides_clock), (gst_element_is_indexable),
12508 (gst_element_is_locked_state), (gst_element_change_state),
12509 (gst_element_set_bus_func):
12512 * gst/gstpipeline.c: (gst_pipeline_class_init),
12513 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
12514 The pipeline provides a bus.
12516 2005-09-28 Johan Dahlin <johan@gnome.org>
12518 * gst/gstmessage.c (gst_message_parse_state_changed): Use
12519 gst_structure_get_enum instead of gst_structure_get_int
12521 * gst/gststructure.c (gst_structure_get_enum): Impl.
12523 * gst/gststructure.h (gst_structure_get_enum): Add
12525 * docs/gst/gstreamer-sections.txt: Ditto
12527 * gst/gstmessage.c (gst_message_new_state_changed): Use
12528 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
12529 which does introspection.
12530 Reviewed by Christian Schaller
12532 2005-09-28 Stefan Kost <ensonic@users.sf.net>
12534 * gst/gstinfo.c: (gst_debug_log_default):
12535 don't do dummy g_strdup()s
12536 * libs/gst/controller/gstcontroller.c:
12537 (on_object_controlled_property_changed),
12538 (gst_controlled_property_new), (gst_controller_new_valist),
12539 (gst_controller_new_list),
12540 (gst_controller_remove_properties_valist), (gst_controller_set),
12541 (gst_controller_get), (gst_controller_sync_values),
12542 (gst_controller_get_value_array), (_gst_controller_class_init),
12543 (gst_controller_get_type):
12544 * libs/gst/controller/gstcontroller.h:
12545 * libs/gst/controller/gstinterpolation.c:
12546 (gst_controlled_property_find_timed_value_node):
12547 convert // to /**/ comments
12549 2005-09-28 Wim Taymans <wim@fluendo.com>
12551 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
12552 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
12553 (gst_bus_sync_signal_handler):
12555 Added async-message and sync-message signals to the bus.
12556 Added helper BusFunc to emit signals for all posted messages.
12558 * gst/gstmessage.c: (gst_message_type_get_name),
12559 (gst_message_type_to_quark), (gst_message_get_type):
12560 * gst/gstmessage.h:
12561 Register quarks for message names.
12563 2005-09-28 Stefan Kost <ensonic@users.sf.net>
12565 * docs/libs/gstreamer-libs-sections.txt:
12566 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12567 (gst_controller_new_list):
12568 * libs/gst/controller/gstcontroller.h:
12569 added another constructor for language bindings
12571 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
12573 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12577 * gst/gstinfo.c: (_gst_debug_init):
12578 slightly more readable color for refcount debugging
12580 2005-09-28 Wim Taymans <wim@fluendo.com>
12582 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
12583 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12584 (find_element), (gst_bin_sort_iterator_next),
12585 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12586 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12587 (gst_bin_change_state), (gst_bin_dispose):
12588 Small doc fixes. get_clock -> provide_clock.
12590 * gst/gstelement.c: (gst_element_class_init),
12591 (gst_element_provides_clock), (gst_element_provide_clock),
12592 (gst_element_get_clock), (gst_element_commit_state),
12593 (gst_element_lost_state):
12594 * gst/gstelement.h:
12595 Make get/set_clock() symetric. Add provide_clock vmethod since
12596 that is actually what this function does.
12598 * gst/gstpipeline.c: (gst_pipeline_class_init),
12599 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
12600 (gst_pipeline_get_clock):
12601 get_clock -> provide_clock.
12603 2005-09-28 Andy Wingo <wingo@pobox.com>
12605 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
12606 lieu of real docs...
12608 * gst/elements/gstfdsrc.c: Cleaned up a bit.
12610 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
12612 * gst/elements/gstcapsfilter.c:
12613 * gst/elements/gstfakesink.c:
12614 * gst/elements/gstfakesrc.c:
12615 * gst/elements/gstfdsink.c:
12616 * gst/elements/gstfdsrc.c:
12617 * gst/elements/gstfilesink.c:
12618 * gst/elements/gstfilesrc.c:
12619 * gst/elements/gstidentity.c:
12620 * gst/elements/gsttee.c:
12621 * gst/elements/gsttypefindelement.c:
12622 Make element details static.
12624 2005-09-28 Wim Taymans <wim@fluendo.com>
12626 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12627 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12628 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12629 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12630 (gst_bin_change_state), (gst_bin_dispose):
12631 Some documentation updates.
12632 Clean up dispose handlers.
12634 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
12635 * gst/gstpad.c: (gst_pad_dispose):
12636 Clean up dispose handler.
12638 * gst/gstpipeline.c: (gst_pipeline_change_state):
12639 Removed spurious UNLOCK.
12641 2005-09-27 Stefan Kost <ensonic@users.sf.net>
12643 * docs/gst/gstreamer-sections.txt:
12644 * gst/base/gstbasesrc.h:
12645 * gst/gstelement.h:
12649 * gst/gstpipeline.c:
12650 * gst/gstpipeline.h:
12653 added two new functions to the docs
12654 documents all undocumented GstXXXFlags
12655 completed some incomplete docs
12657 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
12659 * gst/gstbin.c: (gst_bin_dispose):
12660 * gst/gstelement.c: (gst_element_dispose):
12661 remove now useless and leaky resurrection code in dispose
12662 * gst/base/gstbasesrc.c: (gst_base_src_init):
12663 * gst/gstelementfactory.c: (gst_element_factory_create):
12664 * gst/gstobject.c: (gst_object_set_parent):
12667 2005-09-27 Wim Taymans <wim@fluendo.com>
12669 * docs/design/part-TODO.txt:
12672 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12673 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12674 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12675 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12676 (gst_bin_change_state):
12677 * gst/gstelement.h:
12678 Remove element variable, we keep element info in the iterator now.
12680 2005-09-27 Andy Wingo <wingo@pobox.com>
12682 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
12685 2005-09-27 Wim Taymans <wim@fluendo.com>
12687 * check/gst/gstbin.c: (GST_START_TEST):
12688 Enable check that works now.
12690 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12691 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12692 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12693 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12694 (gst_bin_change_state):
12696 Redid the state change algorithm using a topological sort algo.
12697 Handles all cases correctly.
12698 Exposed iterator for state change order.
12700 * gst/gstelement.h:
12701 Temp storage for state changes. Need to get rid of this soon.
12703 2005-09-27 Wim Taymans <wim@fluendo.com>
12705 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
12706 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
12707 (link_fold_func), (gst_pad_proxy_setcaps):
12708 Leak fixes, the fold functions need to unref the passed object and
12709 _get_parent_*() returns ref to parent.
12711 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12713 * check/gst/gstbuffer.c: (test_make_writable):
12714 Plug leak in test case and fix 'make check-valgrind'
12716 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12718 * gst/gstbuffer.c: (gst_subbuffer_init):
12719 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
12720 works correctly in all circumstances (we could have just copied
12721 the parent buffer's readonly flag, but conceptually it seems
12722 cleaner to mark all subbuffers as read-only). (based on patch
12723 by Alessandro Decina, #314710).
12725 * check/gst/gstbuffer.c: (create_read_only_buffer),
12726 (test_make_writable), (test_subbuffer_make_writable),
12728 Add some tests for gst_buffer_make_writable().
12730 2005-09-27 Wim Taymans <wim@fluendo.com>
12732 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
12733 use gst_object_has_ancestor().
12735 * gst/gstobject.c: (gst_object_has_ancestor):
12737 gst_object_has_ancestor() copied from gstbin.c as it is a
12740 * tests/instantiate/create.c: (create_all_elements):
12741 * tests/lat.c: (handoff_src), (handoff_sink):
12742 * tests/sched/runxml.c: (main):
12743 * tests/seeking/seeking1.c: (main):
12744 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
12746 Fix compilation of some tests.
12748 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12751 Remove comment. GST_TYPE_G_ERROR is here to stay,
12752 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
12753 (#316961, #300610).
12755 2005-09-26 Wim Taymans <wim@fluendo.com>
12757 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12758 Added check that shows error in state change order.
12760 2005-09-26 Wim Taymans <wim@fluendo.com>
12762 * gst/gstbin.c: (gst_bin_change_state):
12763 Make state change function use 3 queues again, we were
12764 adding elements in the wrong order.
12766 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12769 * gst/gstpad.c: (gst_pad_dispose):
12770 Added some debug info first.
12772 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
12774 * docs/design/draft-push-pull.txt:
12775 * docs/design/part-events.txt:
12776 * docs/design/part-overview.txt:
12777 * docs/design/part-scheduling.txt:
12778 Replace all _pull_region() with _pull_range()
12780 2005-09-26 Andy Wingo <wingo@pobox.com>
12782 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
12784 * check/gst-libs/controller.c: Update for controller api change.
12787 * tests/Makefile.am:
12788 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12789 over by GLib bug 118439.
12791 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12792 routines to a function.
12794 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12796 * libs/gst/controller/gsthelper.c:
12797 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12798 (gst_object_sync_values): Renamed from sink_values. Ugh.
12800 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12802 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12803 Renamed from controller_key, as it is exported.
12805 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12807 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
12812 * gst/gstpadtemplate.h:
12815 * gst/gstqueryutils.c:
12816 * gst/gstqueryutils.h:
12817 remove queryutils headers after moving the two used functions
12818 to gstquery. also fixes build problem for gstsiddec
12820 2005-09-26 Michael Smith <msmith@fluendo.com>
12822 * tools/gst-launch.1.in:
12823 Correct documentation in manpage of debug syntax
12825 2005-09-26 Wim Taymans <wim@fluendo.com>
12827 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12828 (gst_base_src_is_seekable), (gst_base_src_change_state):
12829 Some more debugging info.
12831 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12833 * docs/gst/gstreamer-sections.txt:
12834 * gst/base/gstbasetransform.h:
12838 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12840 * docs/gst/.cvsignore:
12841 * docs/gst/tmpl/.cvsignore:
12842 * docs/gst/tmpl/gstpipeline.sgml:
12843 * docs/gst/tmpl/gstplugin.sgml:
12844 * gst/gstpipeline.c:
12847 inlined the last two docs files
12848 removed the tmpl directory from cvs (no more conflicts here!)
12850 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12852 * docs/gst/gstreamer-sections.txt:
12853 * docs/gst/tmpl/.cvsignore:
12854 * docs/gst/tmpl/gstpad.sgml:
12855 * docs/gst/tmpl/gstpadtemplate.sgml:
12857 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12858 (gst_pad_finalize), (gst_pad_set_pad_template):
12860 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12861 (gst_pad_template_class_init), (gst_pad_template_init),
12862 (gst_pad_template_dispose), (name_is_valid),
12863 (gst_static_pad_template_get), (gst_pad_template_new),
12864 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12865 (gst_pad_template_pad_created):
12866 * gst/gstpadtemplate.h:
12867 inlined two more docs
12868 factored gstpadtemplate out of gstpad
12870 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
12872 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12873 (test_children_state_change_order_semi_sink):
12874 Fix test case: we can't rely on a fixed state change order when
12875 going from READY => PAUSED because the sink might commit its
12876 new state first when the first buffer created by the source
12877 reaches the sink before the source has finished its change state.
12878 (Test case still fails at times, see #316856, comment 5 onwards)
12880 2005-09-24 Wim Taymans <wim@fluendo.com>
12882 * docs/design/part-events.txt:
12883 * docs/design/part-gstbus.txt:
12884 * docs/design/part-gstpipeline.txt:
12885 * docs/design/part-messages.txt:
12886 * docs/design/part-overview.txt:
12887 * docs/design/part-segments.txt:
12891 * gst/gstelement.c:
12894 * gst/gstiterator.c:
12895 Various documentation updates.
12897 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
12900 Well, that's embarassing. Luckily we weren't using
12901 GST_CLOCK_DIFF anywhere.
12903 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12905 * common/gtk-doc.mak:
12906 don't fail on building XML, FC4 slave shows a bunch of doc
12907 missing bits that I don't get
12909 * gst/gstpipeline.c:
12910 * gst/gststructure.c:
12913 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
12915 * docs/design/part-gstbin.txt:
12916 * docs/design/part-gstbus.txt:
12918 Add blurb about how the bus goes into flushing mode and
12919 drops all messages when its bin goes from READY into NULL
12922 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12924 * docs/gst/gstreamer-sections.txt:
12925 * gst/gststructure.c: (gst_structure_get_clock_time):
12926 * gst/gststructure.h:
12927 add a method to get a GstClockTime out of a structure
12929 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
12931 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12932 (test_children_state_change_order_semi_sink), (gst_bin_suite):
12933 Added test to check state change order in bins (can still be made
12934 to fail here under heavy disk load; bails out with 'Push on pad
12935 fakesink:sink0, but it was not activated in push mode').
12937 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
12938 Fix state change order when there is only a semi sink (#316856)
12940 * gst/gstbus.c: (gst_bus_class_init):
12941 Use _class_peek_parent(), not _class_ref(); fix docs to say
12942 'default main context' instead of 'mainloop' where that is
12945 * gst/gstelement.c: (gst_element_commit_state),
12946 (gst_element_set_state):
12947 Fix typos in debug messages
12949 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12952 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
12953 * gst/gstpluginfeature.c:
12955 various doc updates
12956 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12957 change an assert into an error until it gets fixed properly
12959 2005-09-23 Stefan Kost <ensonic@users.sf.net>
12961 * docs/gst/gstreamer-sections.txt:
12962 * docs/gst/tmpl/.cvsignore:
12963 * docs/gst/tmpl/gstelement.sgml:
12964 * docs/gst/tmpl/gstinfo.sgml:
12965 * docs/gst/tmpl/gstobject.sgml:
12966 * gst/gstelement.c:
12967 * gst/gstelement.h:
12970 * gst/gstobject.c: (gst_object_class_init):
12972 inlined 3 more biiiig doc files and added some missing docs on the fly
12974 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12976 * check/gst/.cvsignore:
12977 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
12978 * gst/gstregistryxml.c: (load_plugin),
12979 (gst_registry_xml_save_plugin):
12980 put back source in registry. add checks for find_plugin.
12981 * testsuite/states/bin.c: (assert_state), (empty_bin),
12982 (test_adding_one_element), (main):
12983 * testsuite/states/locked.c: (main):
12984 some compile/run fixes
12986 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
12988 * check/gst/gstvalue.c: (GST_START_TEST):
12989 fix leaks in the test itself
12991 2005-09-22 Wim Taymans <wim@fluendo.com>
12993 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12994 (gst_base_sink_send_event), (gst_base_sink_peer_query),
12995 (gst_base_sink_query):
12996 Prepare for more accurate position reporting and query
12999 * gst/gstelement.c: (gst_element_send_event),
13000 (gst_element_set_state):
13003 2005-09-22 Wim Taymans <wim@fluendo.com>
13005 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
13006 (gst_query_parse_segment):
13008 More documentation.
13009 Add segment query for future use.
13011 2005-09-22 Wim Taymans <wim@fluendo.com>
13013 * gst/gstbin.c: (gst_bin_add_func):
13014 Some more debug info.
13016 * gst/gstelement.c: (gst_element_send_event):
13017 Simplify send_event
13019 * gst/gstelement.h:
13020 Don't know how flags got broken.
13025 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
13027 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
13028 Add simplistic test suite for GST_TYPE_DATE serialisation and
13031 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
13033 * docs/gst/gstreamer-sections.txt:
13034 * gst/gststructure.c: (gst_structure_set_valist),
13035 (gst_structure_get_date):
13036 * gst/gststructure.h:
13037 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
13038 (gst_date_copy), (gst_value_compare_date),
13039 (gst_value_serialize_date), (gst_value_deserialize_date),
13040 (gst_value_transform_date_string),
13041 (gst_value_transform_string_date), (_gst_value_initialize):
13043 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
13044 bunch of utility functions along with a hack that checks that
13045 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
13046 is required. Part of the grand scheme in #170777.
13048 2005-09-22 Andy Wingo <wingo@pobox.com>
13050 * gst/gstconfig.h.in: Psych out gtk-doc.
13052 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
13054 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
13056 * tools/gst-inspect.c (print_element_list): Plug some
13057 inconsequential leaks.
13059 * gst/gstregistry.c (gst_registry_get_default): Doc.
13061 * check/gst/gstplugin.c:
13062 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
13063 * gst/gstelementfactory.c (gst_element_factory_create):
13064 * gst/gstindexfactory.c (gst_index_factory_create): Update for
13067 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
13068 (gst_plugin_feature_load): Doc, don't eat refs.
13070 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
13071 (gst_plugin_list_free): Doc.
13072 (gst_plugin_load_file): Doc updates.
13074 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
13075 accessors returning refcounted objects, return a ref.
13077 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
13078 accessor for caps. IDEMPOTENCE. Oh yes.
13080 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
13082 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13084 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
13085 (_gst_debug_register_funcptr):
13086 Add mutex to serialise access to the hash table with
13087 the function pointer => function name string mapping;
13088 make that hash table static scope (#316809).
13090 * gst/registries/.cvsignore:
13091 Remove left-over file.
13093 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
13095 * docs/pwg/appendix-porting.xml:
13096 And something about newsegment events and caps-on-buffers to
13097 the porting guide (feel free to improve).
13099 2005-09-21 Andy Wingo <wingo@pobox.com>
13101 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
13102 data and event probes on the same pad.
13103 (test_buffer_probe_once): Test that removing probes from within
13104 the probe functions works.
13106 2005-09-21 Andy Wingo <wingo@pobox.com>
13108 * check/gst/gstutils.c: New file.
13109 (test_buffer_probe_n_times): A simple buffer probe test. More to
13112 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
13113 have-data::buffer, not have-data.
13114 (gst_pad_add_event_probe): Likewise for have-data::event.
13115 (gst_pad_add_data_probe): More docs. The part about 'resolving the
13116 peer' isn't quite right yet though.
13117 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
13118 (gst_pad_remove_data_probe): Change to take the guint handler_id
13119 as their arg, not the function+data, which is more glib-like.
13121 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
13122 the signal emission to indicate if the data is a buffer or an
13124 (gst_pad_get_type): Initialize buffer and event quarks.
13125 (gst_pad_class_init): have-data is now a detailed signal, yes it
13128 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
13130 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
13131 * gst/gstutils.c: (gst_util_set_value_from_string),
13132 (gst_util_set_object_arg):
13133 Don't put functional code in g_return_if_fail() or
13134 g_return_val_if_fail() statements, otherwise things will
13135 break when G_DISABLE_CHECKS is defined during compilation.
13137 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13139 * docs/gst/tmpl/.cvsignore:
13140 * docs/gst/tmpl/gstvalue.sgml:
13143 inlied another one and added some obvious docs
13145 2005-09-21 Wim Taymans <wim@fluendo.com>
13147 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
13148 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
13149 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
13150 (gst_fdsrc_get_property), (gst_fdsrc_create):
13151 * gst/elements/gstfdsrc.h:
13152 Properly implement fdsrc. Removed signal and timeout,
13153 better implemented somewhere else.
13155 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13157 * docs/gst/tmpl/.cvsignore:
13158 * docs/gst/tmpl/gstimplementsinterface.sgml:
13159 * gst/gstinterface.c:
13162 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13164 * docs/gst/gstreamer-sections.txt:
13165 * docs/gst/tmpl/.cvsignore:
13166 * docs/gst/tmpl/gstenumtypes.sgml:
13167 remove obsolete doc file
13169 2005-09-21 David Schleef <ds@schleef.org>
13171 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
13172 little beer, fix a little leak.
13174 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13176 * docs/gst/gstreamer-docs.sgml:
13177 * docs/gst/gstreamer-sections.txt:
13178 * docs/gst/tmpl/.cvsignore:
13182 * gst/gstelement.h:
13183 * gst/gstindex.c: (gst_index_class_init):
13185 * gst/gstindexfactory.c: (gst_index_factory_get_type),
13186 (gst_index_factory_class_init), (gst_index_factory_init),
13187 (gst_index_factory_finalize), (gst_index_factory_new),
13188 (gst_index_factory_destroy), (gst_index_factory_find),
13189 (gst_index_factory_create), (gst_index_factory_make):
13190 * gst/gstindexfactory.h:
13191 * gst/gstpluginfeature.c:
13192 * gst/gstpluginfeature.h:
13193 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13194 more docs inlined, splitted gstindex.{c,h}
13196 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13198 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13201 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
13203 * gst/elements/gstfilesink.c: (gst_file_sink_init):
13204 Set sync to FALSE by default.
13206 2005-09-20 Wim Taymans <wim@fluendo.com>
13208 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13209 (gst_base_sink_init):
13210 Make sync property settable from subclass.
13212 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13213 (gst_fake_sink_change_state):
13214 Set sync to FALSE by default.
13216 2005-09-20 Wim Taymans <wim@fluendo.com>
13218 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
13219 * tools/gst-launch.c: (main):
13220 The timeout handler should have lower priority than the source
13221 so we don't timeout before popping a message with 0 timeout.
13222 Dump error messages after failed state change.
13224 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
13226 * tools/gst-inspect.c: (print_element_properties_info):
13229 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13231 * check/gst/gstevent.c:
13232 * gst/elements/gstfakesink.c:
13233 * gst/elements/gstfakesink.h:
13234 remove the sync property from fakesink.
13235 has the side effect of setting sync TRUE
13236 for fakesink, which is a change. Anyone who knows how
13237 to fix this nicely in a GObject-y way, feel free.
13239 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13241 * docs/gst/gstreamer-docs.sgml:
13242 remove probe refsection
13244 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13246 * check/Makefile.am:
13247 disable valgrinding the controller test again
13248 * docs/gst/gstreamer-sections.txt:
13249 update for api-changes
13251 2005-09-20 Wim Taymans <wim@fluendo.com>
13253 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13254 (gst_base_sink_set_property), (gst_base_sink_get_property),
13255 (gst_base_sink_do_sync):
13256 * gst/base/gstbasesink.h:
13257 Added sync property to basesink to disable clock sync.
13259 2005-09-20 Andy Wingo <wingo@pobox.com>
13261 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
13262 eating the caller's refcount.
13264 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
13265 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
13268 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
13269 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
13270 of GLib 2.8 public, so we can know which refcount to check in
13273 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
13274 (gst_object_init): Only set the gst refcount if we're going ahead
13275 with the refcount hack.
13277 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13279 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
13280 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13281 more leaks plumbed, added more debug-logging
13285 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13287 * gst/gstmessage.c:
13288 remove include of gstmemchunk.h
13290 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13292 * gst/gstclock.c: (_gst_clock_id_free):
13293 Commit from the Political Party For More Atomic CVS Commits,
13294 so that people don't waste too much of their day fishing
13295 out obvious leaks out of massive commits.
13296 Oh, and fix a pretty damn obvious leak in the memchunk
13299 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13301 * check/Makefile.am:
13302 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
13303 plug mem-leak, re-add to valgrindable tests
13305 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13308 unbreak the build for those who have chronic arthritis
13309 and typing "make check" is just too taxing on the hands
13311 2005-09-20 Andy Wingo <wingo@pobox.com>
13313 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
13314 really want it out, you should fix plugins at the same time.
13316 2005-09-19 Stefan Kost <ensonic@users.sf.net>
13319 * docs/gst/gstreamer-sections.txt:
13321 added missing symbols to api docs
13322 disable ref-count hack if we have glib >= 2.8
13324 2005-09-19 David Schleef <ds@schleef.org>
13326 * docs/gst/Makefile.am: Ignore a few more internal headers
13327 * docs/gst/gstreamer-docs.sgml: Remove old sections
13328 * docs/gst/gstreamer-sections.txt: Remove old sections
13329 * docs/gst/tmpl/gstobject.sgml: update
13330 * docs/gst/tmpl/gstplugin.sgml: update
13331 * docs/gst/tmpl/gstpluginfeature.sgml: update
13332 * docs/random/ds/0.9-suggested-changes: update.
13333 * gst/Makefile.am: remove memchunk and trashstack, since they're
13335 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
13336 * gst/gst.h: don't include some headers
13337 * gst/gstchildproxy.c: add gstmarshal.h
13338 * gst/gstclock.c: Don't use memchunks
13339 * gst/gstminiobject.c: Add some docs
13340 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
13341 * gst/gstobject.h: same
13342 * gst/gstplugin.c: include gstmacros.h
13343 * gst/gstplugin.h: don't include gstmacros.h, since it's private
13344 * gst/gstquery.c: don't use memchunks
13345 * gst/gstregistry.c: rename gst_registry_deinit()
13346 * gst/gstregistry.h: same
13348 2005-09-19 David Schleef <ds@schleef.org>
13350 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
13351 * docs/libs/gstreamer-libs-sections.txt:
13352 * docs/libs/tmpl/gstgetbits.sgml:
13353 * docs/libs/tmpl/gstputbits.sgml:
13355 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
13357 * win32/gstenumtypes.c:
13358 * win32/gstenumtypes.h:
13361 2005-09-19 Wim Taymans <wim@fluendo.com>
13363 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
13364 Automatically PAUSE and RESUME a pipeline when a flushing seek
13367 2005-09-19 Andy Wingo <wingo@pobox.com>
13369 * gst/gstregistry.h: Spacing fixen.
13371 2005-09-19 Wim Taymans <wim@fluendo.com>
13373 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
13374 Handle state change failure more correctly.
13376 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
13378 * check/Makefile.am:
13379 * check/pipelines/cleanup.c: (run_pipeline):
13380 * check/pipelines/simple_launch_lines.c: (run_pipeline),
13382 enable cleanup again after fixing the leak
13384 some more info on docs
13386 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
13388 * check/Makefile.am:
13389 re-enable tests now that leaks are plugged
13391 * check/gst/gstbin.c:
13392 * check/gst/gstpipeline.c:
13393 add some more tests while fixing leaks
13394 * common/check.mak:
13395 make sure binaries are uptodate when valgrinding/gdbing
13397 * gst/gstelementfactory.c:
13398 remove a ref too many, and add a FIXME for when we get
13399 round to disposing of classes
13401 fix the refcounting when loading a plugin from a file and
13402 the code pretends that the pointer is the same even though
13403 of course it can change
13404 * gst/gstpluginfeature.c:
13405 unref plugins marked cached (a bit confusing as a name)
13406 as the docs state should be done
13407 various doc additions to explain refcounting
13408 * gst/gstregistry.c:
13409 * gst/gstregistryxml.c:
13412 2005-09-19 Wim Taymans <wim@fluendo.com>
13414 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
13415 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
13416 (send_messages), (GST_START_TEST), (gstbus_suite):
13417 * check/gst/gstpipeline.c: (GST_START_TEST):
13418 * check/pipelines/cleanup.c: (run_pipeline):
13419 * check/pipelines/simple_launch_lines.c: (run_pipeline),
13421 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
13422 (gst_bus_source_check), (gst_bus_source_dispatch),
13423 (gst_bus_create_watch), (gst_bus_add_watch_full),
13424 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
13426 * tools/gst-launch.c: (event_loop):
13427 * tools/gst-md5sum.c: (event_loop):
13428 GstBusHandler -> GstBusFunc, return value has the same meaning as
13429 any other GSource (FALSE == remove source).
13430 _add_watch() and _add_watch_full() now take a MessageType mask to
13431 only handle specific types of messages.
13432 _poll() returns the GstMessage instead of the message type to avoid
13434 _have_pending() takes a MessageType mask now too.
13435 Added testsuite for multiple bus watches.
13436 Fix testsuites and applications for new bus API.
13438 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
13440 * check/Makefile.am:
13441 mark a bunch of the tests as to fix until we fix them
13443 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13445 * common/check.mak:
13446 use GST_PLUGIN settings for valgrind tests as well, so we're
13447 valgrinding the correct thing
13448 * gst/gst.c: (init_post):
13451 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13453 * gst/gst.c: (init_post), (gst_deinit):
13454 * gst/gstelementfactory.c: (gst_element_factory_class_init),
13455 (gst_element_factory_finalize), (gst_element_factory_cleanup):
13456 * gst/gstindex.c: (gst_index_factory_class_init),
13457 (gst_index_factory_finalize):
13458 * gst/gstobject.c: (gst_object_dispose):
13459 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13460 (gst_plugin_load_file), (gst_plugin_desc_free):
13461 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
13462 (gst_plugin_feature_finalize):
13463 * gst/gstregistry.c: (gst_registry_class_init),
13464 (gst_registry_init), (gst_registry_finalize),
13465 (gst_registry_get_default), (gst_registry_deinit):
13466 * gst/gstregistry.h:
13467 * gst/gstregistryxml.c: (load_feature), (load_plugin):
13468 various cleanups and memleak plugging. make valgrind is happy now.
13470 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13472 * common/check.mak:
13473 add a check-valgrind target
13475 2005-09-18 David Schleef <ds@schleef.org>
13477 * tools/gst-inspect.c: Revert the GOption code.
13479 2005-09-17 David Schleef <ds@schleef.org>
13481 * check/Makefile.am: Fix environment variables.
13482 * check/gst/gstplugin.c: Fix for API changes.
13483 * tools/gst-inspect.c: Fix for API changes.
13484 * tools/gst-xmlinspect.c: Fix for API changes.
13485 * gst/gstelementfactory.c:
13488 * gst/gstpluginfeature.c:
13489 * gst/gstpluginfeature.h:
13490 * gst/gstregistry.c:
13491 * gst/gstregistry.h:
13492 * gst/gstregistryxml.c:
13493 * gst/gsttypefind.c:
13494 * gst/gsttypefindfactory.c:
13495 * gst/indexers/gstfileindex.c:
13496 * gst/indexers/gstmemindex.c:
13497 * gst/schedulers/Makefile.am:
13498 Change registry to keep track of both plugins and features,
13499 removing the feature tracking from plugins themselves.
13501 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
13503 * check/Makefile.am:
13504 * tools/gst-register.1.in:
13505 remove gst-register
13507 2005-09-15 David Schleef <ds@schleef.org>
13509 * check/gst/gstplugin.c:
13510 * gst/gstelementfactory.c:
13512 * gst/gstpluginfeature.c:
13513 * gst/gstregistry.c:
13514 Getting tired of debugging. Disabled all the unreffing of
13515 plugins and features, which fixes the segfaults, but of
13516 course leaks like crazy. At least playbin works.
13518 2005-09-15 David Schleef <ds@schleef.org>
13520 * check/gst/gstplugin.c: (register_check_elements),
13521 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
13523 * gst/elements/gsttypefindelement.c: Fix refcounting.
13524 * gst/gsttypefind.c:
13525 * gst/gsttypefindfactory.c:
13526 * gst/gsttypefindfactory.h:
13528 2005-09-15 David Schleef <ds@schleef.org>
13530 * gst/gstindex.c: get refcounting correct.
13531 * gst/gstregistry.c: Handle the case where a feature/plugin is
13534 2005-09-15 David Schleef <ds@schleef.org>
13536 * check/Makefile.am:
13537 * check/gst/gstplugin.c: Add test
13538 * gst/gstplugin.c: Fix problems noticed by testsuite
13540 * gst/gstregistry.c:
13541 * gst/gstregistry.h:
13543 2005-09-15 David Schleef <ds@schleef.org>
13545 * gst/gstplugin.c: Implement semi-decent recounting and locking
13546 in plugins and plugin features.
13548 * gst/gstpluginfeature.c:
13549 * gst/gstpluginfeature.h:
13550 * gst/gstregistry.c:
13552 2005-09-15 Michael Smith <msmith@fluendo.com>
13554 * gst/gstregistry.c: (gst_registry_get_feature_list):
13555 Implement this. Makes oggdemux work; decodebin still broken.
13557 2005-09-14 David Schleef <ds@schleef.org>
13559 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
13561 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
13562 * gst/check/Makefile.am:
13563 * libs/gst/controller/Makefile.am:
13564 * libs/gst/dataprotocol/Makefile.am:
13566 2005-09-14 David Schleef <ds@schleef.org>
13568 * configure.ac: Remove getbits library. Nothing uses it, and
13569 it should be in something like liboil if someone did want
13571 * libs/gst/Makefile.am:
13572 * libs/gst/getbits/Makefile.am:
13573 * libs/gst/getbits/gbtest.c:
13574 * libs/gst/getbits/getbits.c:
13575 * libs/gst/getbits/getbits.h:
13576 * libs/gst/getbits/gstgetbits_generic.c:
13577 * libs/gst/getbits/gstgetbits_i386.s:
13578 * libs/gst/getbits/gstgetbits_inl.h:
13580 2005-09-14 David Schleef <ds@schleef.org>
13582 * gst/Makefile.am: Dist glib-compat.h
13584 2005-09-14 David Schleef <ds@schleef.org>
13586 * configure.ac: Remove gst/registries, since it's no longer used.
13587 * gst/registries/Makefile.am:
13588 * gst/registries/gstlibxmlregistry.c:
13589 * gst/registries/gstlibxmlregistry.h:
13590 * gst/registries/gstxmlregistry.c:
13591 * gst/registries/gstxmlregistry.h:
13592 * gst/registries/registrytest.c:
13594 2005-09-14 David Schleef <ds@schleef.org>
13596 * gst/glib-compat.h:
13597 * gst/gstregistryxml.c:
13598 Convergence is near. Seriously.
13600 2005-09-14 David Schleef <ds@schleef.org>
13602 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13603 * gst/glib-compat.h:
13604 Attempt #4 to appease the buildbots.
13606 2005-09-14 David Schleef <ds@schleef.org>
13608 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13611 2005-09-14 David Schleef <ds@schleef.org>
13613 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13616 2005-09-14 David Schleef <ds@schleef.org>
13618 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
13621 2005-09-14 David Schleef <ds@schleef.org>
13623 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13624 * gst/glib-compat.h: Add some functions that are in newer versions
13625 of glib than we care to require.
13626 * gst/gstregistryxml.c: Use them.
13628 2005-09-14 David Schleef <ds@schleef.org>
13630 * po/POTFILES.in: remove gst-register.c
13632 2005-09-14 David Schleef <ds@schleef.org>
13634 * docs/gst/gstreamer-docs.sgml:
13635 * docs/gst/gstreamer-sections.txt:
13636 * docs/gst/gstreamer.types:
13637 * docs/gst/tmpl/gstelement.sgml:
13638 * docs/gst/tmpl/gstplugin.sgml:
13639 * docs/gst/tmpl/gstpluginfeature.sgml:
13640 Documentation updates for registry changes.
13642 2005-09-14 David Schleef <ds@schleef.org>
13644 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
13645 because we don't require glib-2.8.
13647 2005-09-14 David Schleef <ds@schleef.org>
13649 * gst/gstregistryxml.c: Added. Essentially moved out of the
13650 registries directory.
13652 2005-09-14 David Schleef <ds@schleef.org>
13654 * check/Makefile.am:
13655 * check/generic/states.c:
13659 * gst/gst_private.h:
13660 * gst/gstelementfactory.c:
13665 * gst/gstpluginfeature.c:
13666 * gst/gstpluginfeature.h:
13667 * gst/gstregistry.c:
13668 * gst/gstregistry.h:
13669 * gst/gstregistrypool.c: remove
13670 * gst/gstregistrypool.h: remove
13671 * gst/gsttypefind.c:
13672 * gst/gsttypefindfactory.c:
13674 * tools/Makefile.am:
13675 * tools/gst-compprep.c:
13676 * tools/gst-inspect.c:
13677 * tools/gst-register.c: remove
13678 * tools/gst-xmlinspect.c:
13679 Registry rewrite. Changes registry from being a file created
13680 by a tool into a simple cache file created automatically by
13681 libgstreamer. Removed gst-register (because it's no longer
13682 needed). Remove registry pools, because we only have one
13683 registry implementation (XML). Fix up other subsystems as
13686 2005-09-13 Michael Smith <msmith@fluendo.com>
13688 * gst/gstconfig.h.in:
13689 Don't Use windows linking attributes for MinGW. Fixes #316157
13691 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
13693 * gst/gstutils.c: (set_state_async_thread_func),
13694 (gst_element_set_state_async):
13695 Apparently people think it's better if this function doesn't
13696 try to set the state to whatever state was asked for on the first
13697 call to this function for any object. Seriously.
13699 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13701 * check/gst/gstpipeline.c: (GST_START_TEST):
13702 * docs/gst/gstreamer-sections.txt:
13703 * gst/gstutils.c: (set_state_async_thread_func),
13704 (gst_element_set_state_async):
13706 add a "gst_element_set_state_async" method that
13707 sets the state and starts a thread to make sure the state
13708 change completes as best as it can
13710 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13712 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13713 codify design+behaviour in testsuite after discussion
13715 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13717 * docs/gst/tmpl/gstelement.sgml:
13718 * docs/manual/appendix-quotes.xml:
13720 * gst/gstelement.c: (gst_element_set_state):
13723 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
13725 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13726 (gst_base_transform_prepare_output_buf),
13727 (gst_base_transform_handle_buffer):
13728 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
13729 (gst_capsfilter_prepare_buf):
13730 Remove the requirement for sub-classes to call the parent
13731 implementation of prepare_output_buffer with a wrapper function.
13733 * gst/gsttaglist.h:
13734 * gst/gsttagsetter.h:
13735 Fix #define wrapper
13737 2005-09-11 Stefan Kost <ensonic@users.sf.net>
13739 * docs/gst/gstreamer-sections.txt:
13742 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13744 * docs/gst/gstreamer-sections.txt:
13745 * docs/gst/tmpl/gstelement.sgml:
13746 * docs/gst/tmpl/gstplugin.sgml:
13747 * gst/gstminiobject.c:
13749 docs now stop throwing warnings
13751 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13753 * docs/gst/gstreamer-sections.txt:
13754 * docs/gst/gstreamer.types:
13755 * docs/gst/tmpl/gstpad.sgml:
13756 * docs/gst/tmpl/gsttypes.sgml:
13757 * gst/base/gstadapter.h:
13758 * gst/base/gstbasesink.h:
13759 * gst/base/gstbasesrc.h:
13765 * gst/gstelement.h:
13767 * gst/gstmessage.h:
13769 * gst/gststructure.c:
13770 * gst/registries/gstlibxmlregistry.h:
13771 various documentation fixes
13773 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13775 * docs/gst/gstreamer-sections.txt:
13776 * docs/gst/tmpl/gstvalue.sgml:
13777 rearrange gstvalue section
13778 * gst/gstutils.c: (gst_element_state_get_name):
13780 * gst/gstvalue.c: (_gst_value_initialize):
13784 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
13786 * check/gst-libs/controller.c:
13787 Header include fix.
13788 * gst/base/gstbasetransform.c:
13789 (gst_base_transform_default_prepare_buf),
13790 (gst_base_transform_handle_buffer):
13791 * gst/base/gstbasetransform.h:
13792 Some more basetransform changes and fixes to enable sub-classes
13793 that modify buffer metadata only.
13794 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13795 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13796 (gst_capsfilter_prepare_buf):
13797 If the output pad has fixed allowed caps and input buffers
13798 don't have any, set the fixed caps on outgoing buffers.
13800 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
13801 * check/elements/identity.c: (GST_START_TEST):
13802 Make the error a little clearer when the test fails because
13803 identity made a copy of the buffer.
13804 * docs/gst/gstreamer-sections.txt:
13805 New symbols in gstbasetransform.h
13806 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13807 (gst_base_transform_init), (gst_base_transform_transform_size),
13808 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13809 (gst_base_transform_default_prepare_buf),
13810 (gst_base_transform_get_unit_size),
13811 (gst_base_transform_buffer_alloc),
13812 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13813 (gst_base_transform_change_state),
13814 (gst_base_transform_set_passthrough),
13815 (gst_base_transform_set_in_place),
13816 (gst_base_transform_is_in_place):
13817 * gst/base/gstbasetransform.h:
13818 Change BaseTransform to separate in_place operate from same_caps
13819 output. in_place implies that the element can perform the transform
13820 on incoming buffers in-place, even if the caps on the output are
13822 Sub-class elements can now implement special buffer allocation
13823 methods for outgoing buffers if they wish to.
13824 Big documentation addition.
13825 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13826 * gst/elements/gstelements.c:
13827 Changes for basetransform modifications.
13828 * gst/elements/Makefile.am:
13829 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13830 Compile fix. Extra debug output.
13832 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13834 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13836 add tests for valid pad naming
13837 * gst/check/gstcheck.c: (gst_check_log_message_func),
13838 (gst_check_log_critical_func):
13840 remove printing of code, it is fragile when the code contains
13841 % and the line number is enough info
13842 * gst/check/gstcheck.h:
13843 * gst/gstpad.c: (gst_pad_template_new):
13846 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13849 say what CHECK flags we use
13850 * docs/libs/gstreamer-libs.types:
13851 * libs/gst/controller/Makefile.am:
13852 * libs/gst/controller/gst-controller.c:
13853 * libs/gst/controller/gst-controller.h:
13854 * libs/gst/controller/gst-helper.c:
13855 * libs/gst/controller/gst-interpolation.c:
13856 * libs/gst/controller/gstcontroller.c:
13857 * libs/gst/controller/gsthelper.c:
13858 * libs/gst/controller/gstinterpolation.c:
13859 * tools/gst-inspect.c: (print_plugin_info):
13860 we don't use dashes in header names
13862 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13864 * check/Makefile.am:
13865 * check/gst/.cvsignore:
13866 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13867 (gst_pipeline_suite), (main):
13868 adding a test for pipelines and state changes
13869 * gst/gstutils.c: (get_state_func):
13871 * gstreamer.spec.in:
13874 2005-09-08 Michael Smith <msmith@fluendo.com>
13876 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13877 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13878 (gst_file_src_is_seekable), (gst_file_src_get_size),
13879 (gst_file_src_start):
13880 * gst/elements/gstfilesrc.h:
13881 Various fixes for unseekable, unmmapable, and non-normal files, so
13882 that fallback to read() rather than mmap() works.
13883 * gst/gstevent.c: (gst_event_new_newsegment):
13884 Allow newsegment events with segment_start == segment_end, as will
13885 correctly happen if you use filesrc on a zero-size file, for
13888 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
13890 * gst/gstplugin.c: (gst_plugin_load_file):
13891 Call g_module_close when we don't load the module
13893 * gst/registries/gstlibxmlregistry.c:
13894 (gst_xml_registry_get_property):
13895 Port leak fix from 0.8
13897 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13899 * docs/gst/gstreamer-docs.sgml:
13900 * docs/gst/tmpl/.cvsignore:
13901 * docs/gst/tmpl/gsttrace.sgml:
13902 * docs/gst/tmpl/gsttrashstack.sgml:
13905 * gst/gstelement.h:
13907 * gst/gstmessage.c:
13908 * gst/gstmessage.h:
13911 * gst/gsttaginterface.c:
13912 * gst/gsttaginterface.h:
13913 * gst/gsttaglist.c:
13914 * gst/gsttaglist.h:
13915 * gst/gsttagsetter.c:
13916 * gst/gsttagsetter.h:
13919 * gst/gsttrashstack.c:
13920 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
13921 inlined docs for gsttrace, gsttrashstack
13923 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13926 * gst/elements/gstbufferstore.h:
13927 * gst/elements/gsttypefindelement.c:
13928 * gst/elements/gsttypefindelement.h:
13930 * gst/gsttypefind.c:
13931 * gst/gsttypefind.h:
13932 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
13933 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
13934 (gst_type_find_factory_dispose),
13935 (gst_type_find_factory_unload_thyself),
13936 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
13937 (gst_type_find_factory_get_caps),
13938 (gst_type_find_factory_get_extensions),
13939 (gst_type_find_factory_call_function):
13940 * gst/gsttypefindfactory.h:
13941 * gst/registries/gstlibxmlregistry.c:
13942 * gst/registries/gstxmlregistry.c:
13943 splitted gsttypefind into gsttypefind, gsttypefindfactory
13945 2005-09-07 Andy Wingo <wingo@pobox.com>
13947 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
13948 condition whereby the pad's task function is entered before the
13949 pad_mode variable was set.
13951 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
13953 * gst/gstpad.c: (gst_pad_alloc_buffer):
13954 Catch misbehaving pad_alloc functions that don't
13955 set up caps and do it for them.
13957 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13959 * check/pipelines/simple_launch_lines.c: (run_pipeline):
13960 test for pipe!=NULL
13961 * docs/gst/tmpl/.cvsignore:
13962 * docs/gst/tmpl/gstmemchunk.sgml:
13963 * docs/gst/tmpl/gstparse.sgml:
13964 * docs/gst/tmpl/gsttaglist.sgml:
13965 * docs/gst/tmpl/gsttagsetter.sgml:
13966 * docs/gst/tmpl/gsttypefind.sgml:
13967 * docs/gst/tmpl/gsttypefindfactory.sgml:
13968 * gst/gstmemchunk.c:
13971 * gst/gsttaginterface.c:
13972 * gst/gsttypefind.c:
13973 * gst/gsttypefind.h:
13976 === release 0.9.2 ===
13978 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
13983 releasing 0.9.2, "South"
13985 2005-09-05 Andy Wingo <wingo@pobox.com>
13987 * gst/registries/gstxmlregistry.h:
13988 * gst/registries/gstxmlregistry.c: Um... resurrect...
13990 * gst/registries/gstxmlregistry.h:
13991 * gst/registries/gstxmlregistry.c: and update to newer API.
13992 Incidentally they should be a bit faster now that they don't have
13995 2005-09-05 Andy Wingo <wingo@pobox.com>
13997 * gst/registries/gstxmlregistry.h:
13998 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
13999 replaced by the libxml registry a while back
14001 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
14003 * docs/gst/tmpl/gstplugin.sgml:
14004 * gst/elements/gstelements.c:
14006 * gst/gstplugin.c: (gst_plugin_register_func),
14007 (gst_plugin_desc_copy), (gst_plugin_desc_free),
14008 (gst_plugin_get_source):
14010 * gst/registries/gstlibxmlregistry.c: (load_plugin),
14011 (gst_xml_registry_save_plugin):
14012 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
14013 (gst_xml_registry_save_plugin):
14014 * tools/gst-inspect.c: (print_plugin_info):
14015 add a "source" plugin description field, to represent the source
14016 module this plugin is a part of. By default GST_PLUGIN_DEFINE
14017 will set it to PACKAGE, which is automake's idea of the name of
14018 the source project.
14020 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
14025 * docs/Makefile.am:
14026 * docs/faq/Makefile.am:
14027 * docs/gst/tmpl/gstelement.sgml:
14028 * docs/gst/tmpl/gsttypes.sgml:
14029 * docs/htmlinstall.mak:
14030 * docs/manual/Makefile.am:
14031 * docs/pwg/Makefile.am:
14032 reorganize doc build a little
14033 split out docbook and gtk-doc stuff
14034 have two separate --enable's and enable them through autogen
14035 but disable by default in configure (to be similar to other
14037 * gstreamer.spec.in:
14038 clean up docs install
14056 translation updates
14058 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
14060 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
14063 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
14064 (gst_fake_sink_change_state):
14065 Make state change function thread-safe.
14067 * gst/gstpad.c: (gst_pad_alloc_buffer):
14068 Set offset on generic buffer allocated by fallback.
14070 2005-09-03 Stefan Kost <ensonic@users.sf.net>
14072 * docs/gst/gstreamer-sections.txt:
14073 * docs/gst/tmpl/gstelement.sgml:
14075 * libs/gst/controller/gst-controller.c:
14076 (gst_controlled_property_set_interpolation_mode),
14077 (gst_controlled_property_new),
14078 (gst_controller_find_controlled_property):
14079 run the wingo-magic script against the docs
14081 2005-09-02 Stefan Kost <ensonic@users.sf.net>
14083 * docs/gst/gstreamer-docs.sgml:
14084 * docs/gst/gstreamer-sections.txt:
14085 * docs/gst/tmpl/.cvsignore:
14086 * docs/gst/tmpl/gstelementdetails.sgml:
14087 * docs/gst/tmpl/gstelementfactory.sgml:
14090 * gst/gstelementfactory.c:
14091 * gst/gstelementfactory.h:
14092 merged elementdetails docs into elementfactory docs
14095 2005-09-02 Andy Wingo <wingo@pobox.com>
14097 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
14098 consider this enum an enum and not a flags.
14100 2005-09-02 Stefan Kost <ensonic@users.sf.net>
14102 * docs/gst/gstreamer-docs.sgml:
14103 * docs/gst/tmpl/.cvsignore:
14104 * docs/gst/tmpl/gstghostpad.sgml:
14105 * docs/gst/tmpl/gstiterator.sgml:
14106 * docs/gst/tmpl/gstmacros.sgml:
14107 * docs/gst/tmpl/gstrealpad.sgml:
14108 * docs/gst/tmpl/gstregistry.sgml:
14109 * docs/gst/tmpl/gstregistrypool.sgml:
14110 * docs/gst/tmpl/gststructure.sgml:
14111 * docs/gst/tmpl/gstsystemclock.sgml:
14112 * docs/gst/tmpl/gsttrace.sgml:
14113 * gst/gstghostpad.c:
14115 * gst/gstmemchunk.c:
14116 * gst/gstmemchunk.h:
14118 * gst/gstregistry.c:
14119 * gst/gstregistrypool.c:
14120 * gst/gststructure.c:
14121 * gst/gstsystemclock.c:
14124 2005-09-02 Andy Wingo <wingo@pobox.com>
14126 * gst/gstelement.h (GstState): Renamed from GstElementState,
14127 changed to be a normal enum instead of flags.
14128 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
14129 munged to be GST_STATE_CHANGE_*.
14130 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
14131 work with the new state representation.
14132 (GstStateChange): New enumeration of possible state transitions.
14133 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
14134 (GstElementClass::change_state): Pass the GstStateChange along as
14135 an argument. Helps language bindings, so they don't have to use
14136 tricky lock-needing macros like GST_STATE_CHANGE ().
14138 * scripts/update-states (file): New script. Run it on a file to
14139 update it for state naming and API changes. Updates files in
14142 * All files updated for the new API.
14144 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
14146 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
14147 * gst/gstutils.c: (gst_util_set_value_from_string),
14148 (gst_util_set_object_arg):
14149 fix a bunch of unchecked return values
14150 * tools/gst-complete.c: (main):
14151 * gstreamer.spec.in:
14154 2005-09-01 Wim Taymans <wim@fluendo.com>
14156 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14157 (gst_base_sink_event), (gst_base_sink_do_sync),
14158 (gst_base_sink_handle_event):
14159 * gst/base/gstbasesink.h:
14160 Handle newsegments more correctly.
14165 * gst/gstevent.c: (gst_event_new_newsegment):
14166 A newsegment cannot have a start_time of -1
14168 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
14170 * win32/gstenumtypes.c:
14171 * win32/gstenumtypes.h:
14174 2005-08-31 Stefan Kost <ensonic@users.sf.net>
14176 * libs/gst/controller/gst-controller.c:
14177 (gst_controlled_property_set_interpolation_mode),
14178 (gst_controlled_property_new):
14179 fixed boolean again
14181 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
14183 * docs/faq/gst-uninstalled:
14188 * gst/gstutils.c: (gst_element_link_filtered):
14190 add gst_element_link_filtered
14192 2005-08-31 Stefan Kost <ensonic@users.sf.net>
14194 * docs/gst/gstreamer-docs.sgml:
14195 * docs/gst/gstreamer-sections.txt:
14196 * docs/gst/tmpl/.cvsignore:
14197 * docs/gst/tmpl/gsterror.sgml:
14198 * docs/gst/tmpl/gstfilter.sgml:
14199 * docs/gst/tmpl/gsturihandler.sgml:
14200 * docs/gst/tmpl/gsturitype.sgml:
14201 * docs/gst/tmpl/gstutils.sgml:
14202 * docs/gst/tmpl/gstxml.sgml:
14207 * gst/gsturitype.c:
14210 inlined more docs, fixed double id-ref
14212 2005-08-31 Wim Taymans <wim@fluendo.com>
14214 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14215 (gst_base_transform_handle_buffer):
14216 Passthrough elements don't need the caps as they don't care.
14218 2005-08-31 Wim Taymans <wim@fluendo.com>
14220 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14221 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
14222 Don't leak refcounts on buffers.
14224 2005-08-31 Wim Taymans <wim@fluendo.com>
14226 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
14227 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
14228 (gst_base_transform_chain), (gst_base_transform_change_state):
14229 * gst/base/gstbasetransform.h:
14230 Handle the case where we are not negotiated more gracefully.
14232 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
14234 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
14235 (gst_file_src_map_region):
14236 Set READONLY flag on mmap'ed buffers, otherwise
14237 gst_buffer_make_writable() won't work properly (#314708).
14239 2005-08-31 Wim Taymans <wim@fluendo.com>
14241 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
14242 passthrough elements can even do inplace on non writable
14243 buffers (as they don't touch them).
14245 2005-08-31 Stefan Kost <ensonic@users.sf.net>
14247 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
14248 (gst_test_mono_source_set_property),
14249 (gst_test_mono_source_class_init), (GST_START_TEST),
14250 (gst_controller_suite):
14251 more tests (hehe I have the most)
14253 describe popping messages whenusing mulltiple sources
14254 * libs/gst/controller/gst-controller.c:
14255 (gst_controlled_property_set_interpolation_mode),
14256 (gst_controlled_property_new):
14257 * libs/gst/controller/gst-controller.h:
14258 * libs/gst/controller/gst-interpolation.c:
14259 implement boolean properties
14261 2005-08-31 Wim Taymans <wim@fluendo.com>
14263 * gst/gstminiobject.c: (gst_mini_object_ref):
14264 Cannot assert that the refcount has to be positive
14265 since a disposed object can be resurrected.
14267 2005-08-31 Wim Taymans <wim@fluendo.com>
14269 * gst/gstpad.c: (gst_pad_init):
14270 Revert change, need to first fix badly behaving
14273 2005-08-30 Wim Taymans <wim@fluendo.com>
14275 * check/elements/fakesrc.c: (setup_fakesrc):
14276 * check/elements/identity.c: (setup_identity):
14277 Activate pads before using them.
14279 2005-08-30 Wim Taymans <wim@fluendo.com>
14281 * gst/base/gstadapter.c: (gst_adapter_flush):
14282 Flushing out 0 bytes is ok for this function.
14284 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14285 no newsegment gives a warning and sets the start/stop to
14288 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
14289 (gst_base_transform_set_passthrough):
14292 * gst/gstminiobject.c: (gst_mini_object_ref):
14293 Check refcount here too.
14295 * gst/gstpad.c: (gst_pad_init):
14296 Pads are initially flushing and refusing data.
14298 * gst/gstutils.c: (gst_element_link_pads_filtered):
14299 When adding a capsfilter element make sure it has the
14300 same state as the parent bin.
14302 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14304 * docs/gst/tmpl/.cvsignore:
14305 * docs/gst/tmpl/gstformat.sgml:
14306 * docs/gst/tmpl/gstversion.sgml:
14310 * gst/gstversion.h.in:
14311 more docs and two more inlined
14313 2005-08-30 Wim Taymans <wim@fluendo.com>
14315 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
14316 Don't sync to clock.
14318 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14320 * docs/gst/gstreamer-sections.txt:
14321 ultral33t func10ns deserve to appear in the docs actually
14322 * docs/gst/tmpl/.cvsignore:
14323 * docs/gst/tmpl/gstcompat.sgml:
14324 * docs/gst/tmpl/gstconfig.sgml:
14325 * gst/check/gstcheck.c:
14327 * gst/gstconfig.h.in:
14330 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14332 * docs/gst/tmpl/.cvsignore:
14333 * docs/gst/tmpl/gstquery.sgml:
14334 * docs/gst/tmpl/gstutils.sgml:
14337 inlined and extended docs
14339 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14341 * check/gst-libs/controller.c: (GST_START_TEST),
14342 (gst_controller_suite):
14344 * docs/gst/tmpl/gstutils.sgml:
14345 * docs/libs/gstreamer-libs-sections.txt:
14346 * docs/libs/tmpl/gstdataprotocol.sgml:
14348 * examples/controller/audio-example.c: (main):
14349 controller example works now
14352 * tools/gst-inspect.c: (print_element_properties_info):
14353 show param spec flags
14355 2005-08-29 Andy Wingo <wingo@pobox.com>
14357 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
14359 2005-08-28 Andy Wingo <wingo@pobox.com>
14361 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
14362 as having two arguments instead of just one. Allows superclasses
14363 to access information on subclasses -- see the terrible for() loop
14364 in gtype.c:g_type_create_instance for the reason why. All callers
14367 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14369 * docs/design/part-messages.txt:
14371 * docs/gst/tmpl/.cvsignore:
14372 * docs/gst/tmpl/gstcaps.sgml:
14373 * docs/gst/tmpl/gstclock.sgml:
14379 * gst/gstmessage.c:
14380 added descriptions for bus and message
14381 inline caps and clock docs
14383 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14385 * gst/gstmessage.c:
14386 * gst/gstmessage.h:
14389 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14391 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
14394 2005-08-26 Andy Wingo <wingo@pobox.com>
14396 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
14397 element_set_state's return val.
14398 (test_2_elements): Add test that's been disabled for months.
14400 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
14401 can-activate-pull properties.
14403 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
14404 can-activate-pull properties. Implement is_seekable so fakesrc can
14405 operate in pull mode.
14407 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
14409 (gst_base_sink_activate, gst_base_sink_activate_pull)
14410 (gst_base_sink_activate_push): Make activation mode choosing work.
14412 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
14413 is right. Make pull mode work. Post an eos before pausing in pull
14415 (gst_base_sink_change_state): Pay attention to the core's
14416 change_state() return val.
14418 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
14419 has-getrange properties. Cleanups.
14421 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
14422 has_getrange and replace with can_activate_pull and
14425 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
14426 locking comments. Remove has_loop, has_chain and replace with
14427 can_activate_pull and can_activate_push.
14429 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
14432 * examples/Makefile.am:
14433 * examples/metadata/Makefile.am:
14434 * examples/metadata/read-metadata.c: (message_loop),
14435 (have_pad_handler), (make_pipeline), (print_tag), (main):
14436 Add metadata reading example that loops over a list of filenames,
14437 dumping any tags found.
14439 * gst/gstbus.c: (gst_bus_dispose):
14440 * gst/gstelement.c: (gst_element_dispose):
14441 Release a few potentially-held references in dispose.
14443 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14445 * docs/gst/tmpl/gstminiobject.sgml:
14446 do *not* add tmpl/*.sgml files to CVS!
14448 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14450 * libs/gst/bytestream/.cvsignore:
14451 * libs/gst/bytestream/Makefile.am:
14452 * libs/gst/bytestream/adapter.c:
14453 * libs/gst/bytestream/adapter.h:
14454 * libs/gst/bytestream/bytestream.c:
14455 * libs/gst/bytestream/bytestream.h:
14456 * libs/gst/bytestream/filepad.c:
14457 * libs/gst/bytestream/filepad.h:
14458 removing obsolete files
14460 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14462 * docs/gst/gstreamer-docs.sgml:
14463 * docs/libs/gstreamer-libs-docs.sgml:
14464 disabed additional index entries again, as this makes docs-gen just
14465 slow and they aren't useful yet
14466 * docs/libs/gstreamer-libs-sections.txt:
14467 little -section.txt cleanup for libs
14469 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
14471 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14472 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
14473 fix up some debugging
14474 (gst_base_transform_get_unit_size),
14475 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
14476 (gst_base_transform_handle_buffer):
14477 * gst/base/gstbasetransform.h:
14478 handle and store timed NEWSEGMENT events so that subclasses that
14479 calculate time by counting samples have a segment_start time they
14480 need to add to their timestamps - see audioresample
14482 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14485 removed ';' from the end of macro defs
14486 * docs/gst/gstreamer-docs.sgml:
14487 * docs/gst/gstreamer-sections.txt:
14488 * docs/gst/tmpl/.cvsignore:
14490 * gst/gstelement.c: (gst_element_class_init),
14491 (gst_element_set_state), (activate_pads),
14492 (gst_element_save_thyself):
14493 * gst/gstevent.c: (gst_event_new_newsegment):
14495 * gst/gstiterator.c:
14496 * gst/gstiterator.h:
14499 * gst/gstutils.c: (gst_pad_query_convert):
14501 fixed parameter name mismatches between source, header and docs
14502 added some more docs, resolved the last batch of unused elements in
14503 docs (now someone needs to doc them)
14505 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14507 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
14508 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
14509 don't walk through the plugins backwards. Where is all this
14510 reversed logic coming from ?
14512 2005-08-25 Wim Taymans <wim@fluendo.com>
14514 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14515 (gst_base_transform_transform_size),
14516 (gst_base_transform_configure_caps),
14517 (gst_base_transform_get_unit_size),
14518 (gst_base_transform_buffer_alloc),
14519 (gst_base_transform_change_state):
14520 * gst/base/gstbasetransform.h:
14521 Cache caps unit_size.
14522 Make sure we cannot negotiate up and downstream at the
14525 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14527 * gst/gst.c: (init_pre), (init_post):
14528 register the installed plugin path after the env var
14529 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
14530 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
14531 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
14532 directories, so the tests can prefer uninstalled over installed
14534 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14536 * gst/base/gstbasetransform.h:
14541 2005-08-25 Wim Taymans <wim@fluendo.com>
14543 * gst/gstbin.c: (bin_bus_handler):
14544 Be a bit more conservative about the posted message.
14546 * gst/gstbus.c: (gst_bus_post):
14547 Some cleanups, warn wrong return values.
14549 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
14551 * check/gst/gstbin.c: (GST_START_TEST):
14552 * gst/gstbin.c: (bin_bus_handler):
14553 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14554 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14555 (gst_message_new_warning), (gst_message_new_tag),
14556 (gst_message_new_state_changed), (gst_message_new_segment_start),
14557 (gst_message_new_segment_done), (gst_message_new_custom):
14558 * gst/gstmessage.h:
14559 * tools/gst-launch.c: (event_loop):
14560 * tools/gst-md5sum.c: (event_loop):
14561 Revert unpopular change for GST_MESSAGE_SRC to GObject.
14563 2005-08-25 Wim Taymans <wim@fluendo.com>
14565 * check/generic/states.c: (GST_START_TEST):
14566 Cleanup can be done at the end.
14568 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
14569 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14570 (gst_task_get_state), (gst_task_start), (gst_task_pause):
14571 Oh boy.. Thanks for finding this, Thomas.
14573 2005-08-25 Stefan Kost <ensonic@users.sf.net>
14575 * docs/gst/gstreamer.types:
14576 added missing types
14578 2005-08-25 Stefan Kost <ensonic@users.sf.net>
14580 * docs/gst/gstreamer-docs.sgml:
14581 * docs/gst/gstreamer-sections.txt:
14582 * docs/gst/tmpl/.cvsignore:
14584 * gst/gstiterator.c:
14586 * gst/registries/gstxmlregistry.h:
14587 added missing classes and symbols (123 more to go)
14588 removed removed symbols from section file
14589 fixed many doc-comments
14591 2005-08-24 Wim Taymans <wim@fluendo.com>
14593 * check/generic/states.c: (GST_START_TEST):
14594 Make sure all tasks are stopped.
14596 * check/gst/gstbin.c: (GST_START_TEST):
14597 Unref after usage for proper valgrinding.
14599 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
14600 Really wait for the task to stop before destroying the
14603 * gst/gstqueue.c: (gst_queue_sink_activate_push),
14604 (gst_queue_src_activate_push):
14605 Small cleanups. Don't stop the task when we did not start
14608 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
14609 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14610 (gst_task_get_state), (gst_task_start), (gst_task_pause),
14613 Protect the stream lock with the object lock.
14614 Disallow setting the stream lock when running.
14615 Add cleanup_all to wait for the threadpool to finish.
14616 Remove code to autoallocate a mutex if none was provided.
14617 Add _join() to wait for a task to stop.
14618 Protect the thread pool with a global lock.
14620 2005-08-24 Wim Taymans <wim@fluendo.com>
14622 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14623 (gst_base_sink_get_times), (gst_base_sink_do_sync),
14624 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
14625 * gst/base/gstbasesink.h:
14626 Handle newsegment events correctly.
14627 Drop buffers out of the segment range.
14629 2005-08-22 Andy Wingo <wingo@pobox.com>
14631 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
14632 macro, implements an interface and gstimplementsinterface for a
14635 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
14637 * check/Makefile.am:
14638 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
14639 add a test that does a bunch of state changes on elements
14640 needs some fixing for valgrind
14641 * check/states/sinks.c: (gst_object_suite):
14644 add prototype for gst_caps_is_equal_fixed
14646 * gst/gstregistrypool.c:
14649 2005-08-24 Andy Wingo <wingo@pobox.com>
14651 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
14652 convert a negative value. Doesn't make much sense. Mostly this is
14653 here to force callers to ensure -1 maps to -1.
14655 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
14657 * docs/pwg/advanced-types.xml:
14658 Well done to Michael for catching my deliberate introduction
14659 of this spelling mistake.
14660 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
14661 * gst/gstelement.h:
14662 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
14663 unlink pads before removing the element from the bin.
14665 2005-08-24 Andy Wingo <wingo@pobox.com>
14667 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
14668 the same thing as GST_DEBUG=*:4.
14669 (parse_debug_level, parse_debug_category): New helper parsers.
14671 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
14673 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14674 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
14675 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
14676 (gst_base_transform_buffer_alloc),
14677 (gst_base_transform_handle_buffer):
14678 use gboolean return values and pointers to size so we can use the
14679 full GST_BUFFER_SIZE range (guint) for buffer sizes
14680 use GstPadDirection for transform_caps
14681 * gst/base/gstbasetransform.h:
14682 rename get_size to get_unit_size since that's what it is
14683 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
14684 use GstPadDirection for transform_caps
14685 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14687 cleanup and debugging
14689 2005-08-24 Stefan Kost <ensonic@users.sf.net>
14691 * gst/gstelement.c: (gst_element_class_init),
14692 (gst_element_set_state), (activate_pads),
14693 (gst_element_save_thyself):
14694 * tools/gst-compprep.c: (main):
14695 * tools/gst-inspect.c: (print_element_properties_info):
14696 * tools/gst-xmlinspect.c: (print_element_properties):
14697 Fixed long standing mem-leak
14699 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
14701 * check/gst/gstbin.c: (GST_START_TEST):
14702 * gst/gstbin.c: (bin_bus_handler):
14703 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14704 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14705 (gst_message_new_warning), (gst_message_new_tag),
14706 (gst_message_new_state_changed), (gst_message_new_segment_start),
14707 (gst_message_new_segment_done), (gst_message_new_custom):
14708 * gst/gstmessage.h:
14709 * tools/gst-launch.c: (event_loop):
14710 * tools/gst-md5sum.c: (event_loop):
14711 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
14712 that applications can sensibly post custom messages with references
14713 to their own objects.
14715 2005-08-24 Andy Wingo <wingo@pobox.com>
14717 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
14720 2005-08-24 Wim Taymans <wim@fluendo.com>
14722 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14723 (gst_base_transform_transform_caps),
14724 (gst_base_transform_transform_size),
14725 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14726 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14727 (gst_base_transform_handle_buffer):
14728 * gst/base/gstbasetransform.h:
14729 Many fixes and new features added by Thomas. Can now also do
14730 transforms with variable sizes and a custom fixate_caps function.
14732 2005-08-24 Wim Taymans <wim@fluendo.com>
14734 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14738 Cast to ClockTime before formatting to time.
14743 2005-08-24 Stefan Kost <ensonic@users.sf.net>
14745 * check/gst-libs/controller.c: (GST_START_TEST),
14746 (gst_controller_suite):
14747 * docs/gst/tmpl/gstcaps.sgml:
14748 * docs/gst/tmpl/gstghostpad.sgml:
14749 * docs/gst/tmpl/gstquery.sgml:
14750 * docs/gst/tmpl/gstutils.sgml:
14751 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
14752 (gst_object_sink_values), (gst_object_get_value_arrays),
14753 (gst_object_get_value_array):
14754 gracefully handle helper method calls to objects that are not beeing
14755 controlled, added test case for that
14757 2005-08-23 Wim Taymans <wim@fluendo.com>
14759 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
14760 (gst_event_new_newsegment), (gst_event_parse_newsegment),
14761 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
14762 (gst_event_parse_qos), (gst_event_new_seek),
14763 (gst_event_parse_seek):
14765 Some more debugging output and doc cleanups.
14767 * gst/gstqueue.c: (gst_queue_handle_sink_event):
14768 Fix possible deadlock.
14770 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14772 * docs/gst/gstreamer-docs.sgml:
14773 * docs/gst/gstreamer-sections.txt:
14774 * docs/gst/gstreamer.types:
14775 * docs/gst/tmpl/.cvsignore:
14778 * gst/gstelement.c:
14780 added 100 symbols from gstreamer-unused.txt to the right sections
14781 fixed more broken comments
14782 added GstBus to docs
14784 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14786 * docs/gst/gstreamer-sections.txt:
14787 * docs/gst/tmpl/.cvsignore:
14788 * docs/gst/tmpl/gstbin.sgml:
14789 * docs/gst/tmpl/gstbuffer.sgml:
14790 * gst/base/gstbasesrc.c:
14791 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14794 * tools/gst-launch.1.in:
14795 inlined more doc comments, added missing comments and fixed comments
14798 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
14800 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14804 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14806 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14807 * gst/gststructure.h:
14808 add a fixate function for booleans; add a FIXME that these func
14809 names should probably be gst_structure_fixate_*
14811 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14813 * docs/gst/gstreamer-docs.sgml:
14814 * docs/gst/gstreamer-sections.txt:
14816 * gst/gstbin.c: (gst_bin_get_type),
14817 (gst_bin_child_proxy_get_child_by_index),
14818 (gst_bin_child_proxy_get_children_count),
14819 (gst_bin_child_proxy_init):
14820 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14821 (gst_child_proxy_get_child_by_index),
14822 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14823 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14824 (gst_child_proxy_get), (gst_child_proxy_set_property),
14825 (gst_child_proxy_set_valist), (gst_child_proxy_set),
14826 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14827 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14828 * gst/gstchildproxy.h:
14829 * gst/parse/grammar.y:
14830 * tools/gst-inspect.c: (print_interfaces),
14831 (print_element_properties_info), (print_element_info):
14832 ported gstchildproxy over from 0.8
14833 ported gst-inspect fixes and enhancements over from 0.8
14835 2005-08-22 Wim Taymans <wim@fluendo.com>
14837 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14838 (gst_base_transform_handle_buffer):
14839 Also call the transform function if we have ANY caps.
14841 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14844 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14846 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14847 Don't pretend to handle seek events if the source is not seekable
14849 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14851 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14852 Remove extra parameter to debug output
14854 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14855 (gst_base_src_do_seek), (gst_base_src_activate_push):
14856 Fix seek event handling.
14858 * gst/gstpipeline.c: (gst_pipeline_change_state):
14859 * gst/gstqueue.c: (gst_queue_handle_sink_event),
14860 (gst_queue_src_activate_push):
14861 Don't start the src pad task on FLUSH_STOP if the pad
14865 2005-08-22 Wim Taymans <wim@fluendo.com>
14867 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14868 Added check for gst_static_caps_get() refcounting.
14870 2005-08-22 Wim Taymans <wim@fluendo.com>
14872 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14873 Make _static_caps_get() refcounting sane.
14875 * gst/gstelement.c: (gst_element_set_state):
14876 Add g_return_val_if_fail() to protect against segfaults.
14878 2005-08-22 Stefan Kost <ensonic@users.sf.net>
14880 * docs/gst/tmpl/gstevent.sgml:
14883 inlined remaining docs, added missing doc comments
14885 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
14887 * check/gst/gstbin.c: (GST_START_TEST):
14888 since we don't know when preroll is done, use refcount range
14890 * gst/check/gstcheck.h:
14891 add macro for checking refcount range
14893 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
14895 * check/Makefile.am:
14896 clean up environment for when registry gets built versus
14897 when actual tests are run; valgrind seems to not report
14898 leaks if GST_PLUGIN_PATH is set to some specific values
14899 * check/gst/gstbin.c: (GST_START_TEST):
14900 add more refcounting checks; maybe this exposes a
14902 * common/check.mak:
14903 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14904 * gst/check/gstcheck.h:
14905 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
14906 (gst_bin_change_state):
14907 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
14908 add/fix debugging/whitespace
14910 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
14912 * check/gst/gstevent.c: (event_probe), (test_event),
14914 Er, don't call gst_bin_watch_for_state_change you idiot.
14916 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
14918 * check/Makefile.am:
14919 Use CHECK_CFLAGS and CHECK_LIBS
14920 * check/gst/gstevent.c: (event_probe), (test_event),
14923 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14924 (gst_base_src_start), (gst_base_src_stop),
14925 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14926 (gst_base_src_change_state):
14927 Sprinkle gst_base_src_stop liberally around error paths to fix
14928 problems reusing a source after failed state changes.
14929 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14930 (helper_find_suggest), (gst_type_find_helper):
14931 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
14933 * docs/gst/tmpl/gstevent.sgml:
14934 Migrate part of the docs from the SGML file. Wait for ensonic to
14935 tell me how I did it wrong ;)
14936 * tools/gst-typefind.c: (main):
14937 Extra robustness to state changes between files.
14939 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
14941 * check/Makefile.am:
14942 don't valgrind the controller test - it's leaking - Stefan, HELP
14943 * gst/check/gstcheck.c: (gst_check_message_error),
14944 (gst_check_chain_func), (gst_check_setup_element),
14945 (gst_check_teardown_element), (gst_check_setup_src_pad),
14946 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
14947 (gst_check_teardown_sink_pad):
14948 * gst/check/gstcheck.h:
14949 add a bunch of methods to set up elements, and src and sink pads
14950 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
14951 * check/elements/identity.c: (setup_identity), (cleanup_identity),
14954 * gst/gstmessage.c:
14956 whitespace/doc fixes
14958 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14960 * gst/gstelement.h:
14961 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
14962 be handled by the application and not always printed as well
14964 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14966 * check/Makefile.am:
14968 * gst/check/gstcheck.c: (gst_check_message_error):
14969 * gst/check/gstcheck.h:
14970 add a fail_unless_equals_int
14971 add fail_unless for error messages
14973 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14975 * check/Makefile.am:
14977 * common/Makefile.am:
14978 * common/check.mak:
14980 factor out some of the common stuff so we can use it
14982 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14984 * check/Makefile.am:
14985 * check/gst/gstiterator.c: (GST_START_TEST):
14986 * check/gst/gstsystemclock.c: (GST_START_TEST),
14987 (gst_systemclock_suite):
14988 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14990 valgrind more tests
14992 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14994 * check/elements/.cvsignore:
14995 * check/elements/gstfakesrc.c:
14996 rename to name of element
14997 * check/elements/identity.c: (chain_func), (event_func),
14998 (setup_identity), (cleanup_identity), (GST_START_TEST),
14999 (identity_suite), (main):
15000 add a test for identity
15001 * check/Makefile.am:
15002 * pkgconfig/Makefile.am:
15003 * pkgconfig/gstreamer-check.pc.in:
15004 * pkgconfig/gstreamer-check-uninstalled.pc.in:
15008 move the check stuff to a library that gets installed
15009 * check/gst-libs/controller.c: (GST_START_TEST):
15010 * check/gst-libs/gdp.c:
15011 * check/gst/gst.c: (GST_START_TEST):
15012 * check/gst/gstbin.c:
15013 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15014 * check/gst/gstbus.c:
15015 * check/gst/gstcaps.c: (GST_START_TEST):
15016 * check/gst/gstelement.c:
15017 * check/gst/gstghostpad.c:
15018 * check/gst/gstiterator.c:
15019 * check/gst/gstmessage.c:
15020 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
15021 * check/gst/gstobject.c:
15022 * check/gst/gstpad.c: (GST_START_TEST):
15023 * check/gst/gststructure.c: (GST_START_TEST):
15024 * check/gst/gstsystemclock.c: (GST_START_TEST),
15025 (gst_systemclock_suite):
15026 * check/gst/gsttag.c: (gst_tag_suite):
15027 * check/gst/gstvalue.c:
15028 * check/pipelines/cleanup.c:
15029 * check/pipelines/simple_launch_lines.c:
15030 * check/states/sinks.c:
15031 change include statement
15033 * docs/gst/gstreamer-sections.txt:
15034 * docs/gst/tmpl/gstpad.sgml:
15035 document more pad stuff
15036 * gst/gstminiobject.c: (gst_mini_object_ref),
15037 (gst_mini_object_unref):
15040 2005-08-19 Stefan Kost <ensonic@users.sf.net>
15042 * docs/gst/tmpl/gst.sgml:
15044 eliminate another tmpl file, fix spelling in the long-description
15046 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15048 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15049 (test_event), (timediff), (gstevents_suite):
15050 Should fix build on 64-bit arch's
15052 2005-08-18 Andy Wingo <wingo@pobox.com>
15054 Make sure that when a pipeline goes to PLAYING, that data has
15055 actually hit the sink.
15057 * check/states/sinks.c (test_sink): A sink that doesn't get any
15058 data shouldn't return SUCCESS for going to either PLAYING or
15059 PAUSED. Test also the return values on the way back down.
15061 * gst/gstelement.c (gst_element_set_state): When changing the
15062 state of an element currently changing state asynchronously, go to
15063 lost-state after commiting the pending state. Makes future calls
15064 to get_state continue to return ASYNC.
15066 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
15067 ASYNC when going to PLAYING if we still don't have preroll, as can
15068 happen with live sources.
15070 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15072 * docs/pwg/advanced-types.xml:
15073 Hack long paragraph into 2 chunks as a workaround for buggy
15074 jadetex version in sid and breezy that loops infinitely and
15077 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15079 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15080 (test_event), (timediff), (gstevents_suite):
15081 Provide more error margin in clock measurements to allow for
15082 g_get_current_time inaccuracies.
15084 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15086 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15087 (test_event), (timediff), (gstevents_suite):
15088 Fix error message output so I might be able to tell why the
15089 test works here but fails on the build farm.
15091 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15093 * check/Makefile.am:
15094 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15095 (test_event), (timediff), (gstevents_suite), (main):
15098 * docs/design/part-seeking.txt:
15099 Spelling correction
15101 * docs/gst/tmpl/gstevent.sgml:
15102 * docs/gst/tmpl/gstfakesrc.sgml:
15105 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15106 Treat a buffer-without-newsegment the same as a receiving
15107 a newsegment not in time format, and disable syncing to the clock
15110 * gst/gstbus.c: (gst_bus_set_sync_handler):
15111 Assert if anyone tries to replace the existing sync_handler for bus,
15112 as only the owner should be setting it.
15115 Have a fixed set of custom event enums with events identified by
15116 their structure name (as in 0.8), rather than a free-for-all
15117 allowing collisions between enum values from different plugins.
15119 * gst/gstpad.c: (gst_pad_class_init):
15122 * gst/gstqueue.c: (gst_queue_handle_sink_event):
15123 Handle out-of-band downstream events from the sending thread.
15125 2005-08-17 Andy Wingo <wingo@pobox.com>
15127 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
15128 play-timeout==0 to mean no timeout at all. In that case, don't
15129 bother with a get_state or a warning, just return directly, even
15132 * gst/base/gstbasetransform.c: Debug changes.
15135 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
15136 ensure bins post state change messages. A bit of a hack but I can't
15137 think of a way to avoid it.
15139 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
15141 2005-08-16 Andy Wingo <wingo@pobox.com>
15143 * gst/base/gstadapter.h:
15144 * gst/base/gstadapter.c (gst_adapter_take): New function, like
15145 peek() but you own the data. Not terribly efficient atm.
15147 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15149 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
15150 (gst_element_found_tags):
15152 Add two utility functions for tag handling.
15154 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15156 * docs/manual/advanced-dataaccess.xml:
15157 * docs/manual/basics-helloworld.xml:
15158 Fix docs to use _bin_add() before _link(), which fixes the examples
15159 with recent core versions (reported by Madhan Raj M
15160 <raj_madan@rediffmail.com>, #313199).
15162 2005-08-16 Wim Taymans <wim@fluendo.com>
15164 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15165 Added subtract checks.
15167 * docs/design/part-events.txt:
15168 Some more docs about newsegment
15170 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
15173 * gst/gstcaps.c: (gst_caps_to_string):
15174 Add comments, cleanups.
15176 * gst/gstelement.c: (gst_element_save_thyself):
15179 * gst/gstvalue.c: (gst_value_collect_int_range),
15180 (gst_string_unwrap), (gst_value_union_int_int_range),
15181 (gst_value_union_int_range_int_range),
15182 (gst_value_intersect_int_int_range),
15183 (gst_value_intersect_int_range_int_range),
15184 (gst_value_intersect_double_double_range),
15185 (gst_value_intersect_double_range_double_range),
15186 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
15187 (gst_value_subtract_int_range_int),
15188 (gst_value_subtract_double_range_double),
15189 (gst_value_subtract_double_range_double_range),
15190 (gst_value_subtract_from_list), (gst_value_subtract_list),
15191 (gst_value_can_compare), (gst_value_compare_fraction):
15192 Cleanups, add comments, remove unneeded asserts.
15194 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
15196 * tools/gst-launch.c: (event_loop):
15197 don't convert NULL structures to strings
15199 2005-08-15 Stefan Kost <ensonic@users.sf.net>
15201 * docs/gst/gstreamer-sections.txt:
15202 made some defines private
15203 * docs/gst/tmpl/gstconfig.sgml:
15204 * docs/gst/tmpl/gstqueue.sgml:
15205 * docs/gst/tmpl/gsttaglist.sgml:
15206 * docs/gst/tmpl/gsttypes.sgml:
15207 * docs/gst/tmpl/gstutils.sgml:
15208 * docs/pwg/appendix-porting.xml:
15209 * gst/base/gstbasesink.h:
15210 * gst/base/gstbasesrc.c:
15211 * gst/base/gstbasesrc.h:
15212 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
15213 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
15214 * gst/gstelement.c: (gst_element_class_init):
15215 * gst/gstpad.c: (gst_pad_class_init):
15216 * gst/gstqueue.c: (gst_queue_class_init):
15217 * gst/gstxml.c: (gst_xml_class_init):
15218 documented all undocumented signal inline
15219 * libs/gst/controller/gst-controller.h:
15222 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15224 * docs/pwg/appendix-porting.xml:
15225 Document _set_link_function -> _set_setcaps_function.
15227 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
15229 * check/Makefile.am:
15230 add a .check target for running the check
15231 * check/gst-libs/controller.c: (GST_START_TEST):
15233 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15234 complete checks for gstbuffer; would be nice if I could get the
15235 gcov stuff to work so I can see if I actually completed gstbuffer.c
15236 * check/gstcheck.h:
15237 add ASSERT_BUFFER_REFCOUNT
15239 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
15241 * docs/gst/gstreamer-sections.txt:
15242 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
15244 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
15245 spew out a warning if a tag that is already registered
15246 is re-registered, unless it is re-registered with a
15247 different type (#308438).
15249 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
15251 * docs/pwg/appendix-porting.xml:
15252 * docs/pwg/building-state.xml:
15253 Add some paragraphs about state changes in 0.9 to the PWG
15254 and the porting guide, in particular about the new meaning
15255 of GST_STATE_PAUSED and how to write state change functions
15256 with concurrent access by multiple threads in mind.
15258 2005-08-11 Stefan Kost <ensonic@users.sf.net>
15260 * docs/gst/gstreamer-docs.sgml:
15261 * docs/libs/gstreamer-libs-docs.sgml:
15262 added deprecation and since indexes
15263 * libs/gst/controller/gst-controller.c:
15264 * libs/gst/controller/gst-helper.c:
15268 2005-08-11 Wim Taymans <wim@fluendo.com>
15270 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
15271 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
15272 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
15273 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
15274 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
15275 (gst_ghost_pad_set_target):
15276 Actually implement (re)setting the target on a ghostpad
15277 as described in the docs.
15279 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
15281 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
15282 Check whether GST_DEBUG_NO_COLOR environment variable is
15283 set and disable coloured debug output if that is the case.
15285 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
15287 * gst/base/gsttypefindhelper.c: (helper_find_peek),
15288 (gst_type_find_helper):
15289 The memory returned by gst_type_find_peek() needs to
15290 stay valid until the end of a typefind function, and
15291 typefind functions may keep results from different
15292 offsets around, so we can't just unref the buffer from
15293 the previous _peek(), but have to save all buffers
15294 returned by _peek() until typefinding is done and only
15297 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
15299 * docs/gst/gstreamer-sections.txt:
15301 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
15303 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15305 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
15306 Fix a pretty good memleak.
15308 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
15310 * gst/gstiterator.h:
15311 Fix wrong include and 'make distcheck'.
15313 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15315 * gst/gstbin.c: (bin_bus_handler):
15316 Use gst_element_post_message() instead.
15318 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
15320 * gst/base/gstadapter.h:
15321 * gst/base/gstbasesink.h:
15322 * gst/base/gstbasesrc.h:
15323 * gst/base/gstbasetransform.h:
15324 * gst/base/gstcollectpads.h:
15325 * gst/base/gstpushsrc.h:
15326 * gst/gstiterator.h:
15327 Add padding to our base elements' class and instance structs and
15328 to GstIterator (you will need to rebuild all plugins and apps!)
15330 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15332 * gst/gstbin.c: (bin_bus_handler):
15333 Make default message forwarding from child->bus to bin->bus
15334 threadsafe and make it not emit warnings if the parent has no bus.
15336 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15338 * gst/gstelement.c: (activate_pads):
15339 On paused->ready, set pad->caps to NULL, as is the documented
15340 behaviour in this state change. Fixes playback of series of
15341 media files when visualization is enabled in Totem.
15343 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15345 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
15346 Allow NULL as filter-caps (which means "any").
15348 2005-08-05 Stefan Kost <ensonic@users.sf.net>
15350 * docs/libs/gstreamer-libs-sections.txt:
15351 * libs/gst/controller/gst-controller.c:
15352 * libs/gst/controller/gst-controller.h:
15353 * libs/gst/controller/gst-helper.c:
15354 adding more entries to the docs and fix small doc-bugs
15356 2005-08-05 Stefan Kost <ensonic@users.sf.net>
15358 * docs/gst/gstreamer-docs.sgml:
15359 * docs/gst/gstreamer-sections.txt:
15360 * docs/gst/gstreamer.types:
15361 * docs/gst/tmpl/gstbasesink.sgml:
15362 * docs/gst/tmpl/gstbasesrc.sgml:
15363 * docs/gst/tmpl/gstbasetransform.sgml:
15364 * docs/gst/tmpl/gstfakesrc.sgml:
15365 * gst/base/gstcollectpads.c:
15366 * gst/base/gstcollectpads.h:
15367 * libs/gst/controller/gst-controller.c:
15368 * libs/gst/controller/gst-controller.h:
15369 * libs/gst/controller/gst-helper.c:
15370 * libs/gst/controller/gst-interpolation.c:
15371 * libs/gst/controller/lib.c:
15372 added long/short desc for controller docs
15373 added collectpads base class docs
15374 added correct includes to base-class docs
15376 2005-08-05 Stefan Kost <ensonic@users.sf.net>
15378 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
15379 (gst_test_mono_source_set_property),
15380 (gst_test_mono_source_class_init), (GST_START_TEST),
15381 (gst_controller_suite):
15382 * docs/gst/gstreamer-docs.sgml:
15383 * docs/gst/gstreamer-sections.txt:
15384 * docs/gst/gstreamer.types:
15385 * docs/libs/gstreamer-libs-docs.sgml:
15386 * docs/libs/gstreamer-libs-sections.txt:
15387 * gst/base/gstadapter.c:
15388 * libs/gst/controller/gst-controller.c:
15389 (gst_controlled_property_new), (gst_controlled_property_free),
15390 (gst_controller_new_valist),
15391 (gst_controller_remove_properties_valist),
15392 (gst_controller_sink_values), (_gst_controller_finalize):
15393 * libs/gst/controller/gst-controller.h:
15394 * libs/gst/controller/gst-helper.c:
15395 (gst_object_control_properties), (gst_object_uncontrol_properties),
15396 (gst_object_get_controller), (gst_object_set_controller),
15397 (gst_object_sink_values), (gst_object_get_value_arrays),
15398 (gst_object_get_value_array):
15399 more tests (and fixes) for the controller
15400 more docs for the controller
15401 integrated companies docs for the adapter
15403 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
15405 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
15406 (GST_START_TEST), (fakesrc_suite):
15407 add tests for sizetype
15409 2005-08-04 Andy Wingo <wingo@pobox.com>
15411 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
15412 fixes buffer_alloc proxying among other things.
15414 * gst/base/gstbasetransform.c:
15415 * gst/base/gstbasetransform.h:
15416 Revert patch to gstbasetransform from 7-28 removing
15419 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
15420 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
15421 Semantics changed, should return not the size of the output buffer
15422 but the byte size of a buffer with a given caps.
15424 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
15426 (gst_base_transform_configure_caps): Don't set out_size here: (in,
15427 out) are not the pad caps until setcaps finishes.
15428 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
15429 not-in-place case as well. Deal with changing from in-place to
15430 not-in-place within calling pad_alloc_buffer. Still a bit
15431 concerned about the overhead here...
15433 2005-08-03 Andy Wingo <wingo@pobox.com>
15435 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
15436 fixating is an error.
15438 2005-08-04 Edward Hervey <edward@fluendo.com>
15440 * gst/base/gstadapter.h:
15441 Added gst_adapter_get_type() to the header
15443 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15445 * check/Makefile.am:
15446 * check/gst-libs/controller.c:
15447 * libs/gst/controller/gst-controller.c:
15448 (gst_controller_new_valist):
15449 added check test suite for the controller
15450 * gst/base/gstpushsrc.c:
15453 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15455 * docs/gst/Makefile.am:
15456 * docs/gst/gstreamer-docs.sgml:
15457 * docs/gst/gstreamer-sections.txt:
15458 * docs/gst/gstreamer.types:
15459 * docs/gst/tmpl/gstfakesrc.sgml:
15461 * gst/base/gstbasesink.c:
15462 * gst/base/gstbasesink.h:
15463 * gst/base/gstbasesrc.c:
15464 * gst/base/gstbasesrc.h:
15465 * gst/base/gstbasetransform.c:
15466 * gst/base/gstpushsrc.c:
15467 * gst/base/gstpushsrc.h:
15468 add short/long description docs to base classes
15469 add pushsrc to the docs
15470 remove consolidated doc fragments
15472 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15475 * docs/libs/Makefile.am:
15476 * docs/libs/gstreamer-libs-docs.sgml:
15477 * docs/libs/gstreamer-libs-sections.txt:
15478 * docs/libs/gstreamer-libs.types:
15479 * examples/Makefile.am:
15480 * examples/controller/.cvsignore:
15481 * examples/controller/Makefile.am:
15482 * examples/controller/audio-example.c: (main):
15483 * libs/gst/Makefile.am:
15484 * libs/gst/controller/.cvsignore:
15485 * libs/gst/controller/Makefile.am:
15486 * libs/gst/controller/gst-controller.c:
15487 (on_object_controlled_property_changed), (gst_timed_value_compare),
15488 (gst_timed_value_find),
15489 (gst_controlled_property_set_interpolation_mode),
15490 (gst_controlled_property_new), (gst_controlled_property_free),
15491 (gst_controller_find_controlled_property),
15492 (gst_controller_new_valist), (gst_controller_new),
15493 (gst_controller_remove_properties_valist),
15494 (gst_controller_remove_properties), (gst_controller_set),
15495 (gst_controller_set_from_list), (gst_controller_unset),
15496 (gst_controller_get), (gst_controller_get_all),
15497 (gst_controller_sink_values), (gst_controller_get_value_arrays),
15498 (gst_controller_get_value_array),
15499 (gst_controller_set_interpolation_mode),
15500 (_gst_controller_finalize), (_gst_controller_init),
15501 (_gst_controller_class_init), (gst_controller_get_type):
15502 * libs/gst/controller/gst-controller.h:
15503 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
15504 (g_object_uncontrol_properties), (g_object_get_controller),
15505 (g_object_set_controller), (g_object_sink_values),
15506 (g_object_get_value_arrays), (g_object_get_value_array):
15507 * libs/gst/controller/gst-interpolation.c:
15508 (gst_controlled_property_find_timed_value_node),
15509 (interpolate_none_get), (interpolate_trigger_get),
15510 (interpolate_trigger_get_value_array):
15511 * libs/gst/controller/lib.c: (gst_controller_init):
15512 * pkgconfig/Makefile.am:
15513 * pkgconfig/gstreamer-control-uninstalled.pc.in:
15514 * pkgconfig/gstreamer-control.pc.in:
15515 * testsuite/Makefile.am:
15516 * testsuite/controller/.cvsignore:
15517 * testsuite/controller/Makefile.am:
15518 * testsuite/controller/interpolator.c: (main):
15519 added controller code
15520 removed dparam pc files
15522 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
15523 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
15524 (gst_collectpads_stop):
15525 Broadcast the condition when shutting down, to make sure we wake all
15526 threads up. Shut down pads on finalize, for safety.
15528 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
15529 * gst/base/gstbasetransform.c: (gst_base_transform_init),
15530 (gst_base_transform_handle_buffer),
15531 (gst_base_transform_change_state):
15532 Handle PAUSED->READY->PAUSED transition after negotiation
15534 * gst/gstmessage.c: (gst_message_init):
15535 Extra piece of debug for new messages.
15537 2005-08-01 Stefan Kost <ensonic@users.sf.net>
15540 * docs/gst/tmpl/gstbasesrc.sgml:
15541 * docs/gst/tmpl/gstelement.sgml:
15542 * docs/gst/tmpl/gstevent.sgml:
15543 * docs/gst/tmpl/gstfakesrc.sgml:
15544 * docs/gst/tmpl/gstformat.sgml:
15545 * docs/gst/tmpl/gstghostpad.sgml:
15546 * docs/gst/tmpl/gstpad.sgml:
15547 * docs/gst/tmpl/gstquery.sgml:
15548 * docs/gst/tmpl/gststructure.sgml:
15549 * docs/gst/tmpl/gsttaglist.sgml:
15550 * docs/gst/tmpl/gstvalue.sgml:
15551 * docs/libs/gstreamer-libs-docs.sgml:
15552 * docs/libs/gstreamer-libs-sections.txt:
15553 * docs/libs/gstreamer-libs.types:
15554 * libs/gst/Makefile.am:
15555 * libs/gst/control/.cvsignore:
15556 * libs/gst/control/Makefile.am:
15557 * libs/gst/control/control.c:
15558 * libs/gst/control/control.h:
15559 * libs/gst/control/dparam.c:
15560 * libs/gst/control/dparam.h:
15561 * libs/gst/control/dparam_smooth.c:
15562 * libs/gst/control/dparam_smooth.h:
15563 * libs/gst/control/dparamcommon.h:
15564 * libs/gst/control/dparammanager.c:
15565 * libs/gst/control/dparammanager.h:
15566 * libs/gst/control/dplinearinterp.c:
15567 * libs/gst/control/dplinearinterp.h:
15568 * libs/gst/control/unitconvert.c:
15569 * libs/gst/control/unitconvert.h:
15570 * testsuite/Makefile.am:
15571 * testsuite/dynparams/.cvsignore:
15572 * testsuite/dynparams/Makefile.am:
15573 * testsuite/dynparams/dparamstest.c:
15574 * tools/Makefile.am:
15575 * tools/gst-inspect.c: (print_element_info), (main):
15576 * tools/gst-xmlinspect.c: (print_element_info), (main):
15577 deactivate and remove dparams (libgstcontrol)
15579 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15581 * gst/elements/gsttypefindelement.c:
15582 (gst_type_find_element_have_type), (gst_type_find_element_init),
15583 (stop_typefinding), (gst_type_find_element_handle_event),
15584 (gst_type_find_element_chain), (gst_type_find_element_getrange):
15585 * gst/elements/gsttypefindelement.h:
15586 Set caps on all outgoing buffers, not just the first one.
15588 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15590 * gst/elements/gsttypefindelement.c:
15591 (gst_type_find_element_have_type),
15592 (gst_type_find_element_check_set_buffer_caps),
15593 (gst_type_find_element_init), (stop_typefinding),
15594 (gst_type_find_element_handle_event),
15595 (gst_type_find_element_chain), (gst_type_find_element_getrange):
15596 * gst/elements/gsttypefindelement.h:
15597 Set caps on first outgoing buffer when we've found the type.
15599 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15601 * docs/gst/gstreamer-docs.sgml:
15602 * docs/gst/gstreamer-sections.txt:
15603 * docs/gst/tmpl/gstscheduler.sgml:
15604 * docs/gst/tmpl/gstschedulerfactory.sgml:
15605 Remove some old cruft from docs.
15607 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
15610 Fix inline docs for GstPadLinkReturn.
15612 * gst/gststructure.c: (gst_structure_has_name):
15613 * gst/gststructure.h:
15614 * docs/gst/gstreamer-sections.txt:
15615 New API: gst_structure_has_name().
15617 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
15620 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
15621 and _LARGEFILE_SOURCE in config.h as required. Do not
15622 export those flags in our .pc files any longer (#142209).
15624 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
15626 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
15627 (gst_file_sink_do_seek), (gst_file_sink_event),
15628 (gst_file_sink_get_current_offset), (gst_file_sink_render):
15629 Redo seek/tell calls with large file support in mind; add some
15630 debugging messages; add log message that tells us when large
15631 file support is unavailable or not enabled for some reason.
15633 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
15634 Add log message that tells us when large file support
15635 is unavailable or not enabled for some reason.
15637 2005-07-29 Wim Taymans <wim@fluendo.com>
15639 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15640 Added test for removing an element with ghostpad from a bin.
15641 Fixed test as current implementation does the right thing.
15643 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
15644 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
15645 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
15646 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
15647 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
15648 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
15649 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
15650 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15651 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
15652 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
15653 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
15654 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
15655 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
15656 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
15657 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
15658 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
15659 * gst/gstghostpad.h:
15660 Clean up ghostpads, remove properties for internal stuff.
15663 Prepare for switching targets, not all use cases work yet.
15665 2005-07-29 Wim Taymans <wim@fluendo.com>
15667 * docs/design/part-gstghostpad.txt:
15670 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15671 (gst_bin_remove_func):
15672 Unlinking pads while holding the bin LOCK is not a good
15675 * gst/gstpad.c: (gst_pad_class_init),
15676 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
15677 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
15678 No prob setting template after creating the pad.
15680 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
15682 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
15683 (gst_bus_peek), (gst_bus_source_dispatch),
15684 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
15685 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
15686 gst_bus_poll may be called from other threads. Handle
15687 this nicely by not making poll_data disappear off the
15688 stack once gst_bus_poll returns.
15689 gst_bus_peek now increments the refcount on the returned
15692 2005-07-29 Wim Taymans <wim@fluendo.com>
15694 * docs/design/part-gstghostpad.txt:
15695 Overview of current GhostPad datastructures and use
15696 cases for changing the target.
15698 2005-07-28 Wim Taymans <wim@fluendo.com>
15700 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15701 Added checks for hierarchy consistency whan adding linked
15704 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15705 Added check to test element scheduling without bin/pipeline.
15707 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15708 First add elements to bin, then link.
15710 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15711 (gst_bin_remove_func):
15712 Unlink pads from elements added/removed from bin to maintain
15713 hierarchy consistency.
15715 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15717 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
15718 (gst_base_transform_handle_buffer):
15719 * gst/base/gstbasetransform.h:
15720 Remove broken delay_configure (fixes renegotiation of software
15721 scaling pipelines); remove some leftover printf()s.
15723 2005-07-28 Wim Taymans <wim@fluendo.com>
15725 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15726 Added some more tests for wrong hierarchy
15728 * docs/design/part-overview.txt:
15731 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
15734 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
15735 (gst_element_dispose):
15736 Some more cleanups.
15738 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15739 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
15740 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15741 (gst_pad_set_caps), (gst_pad_send_event):
15742 Check for correct hierarchy when linking pads. Moving to
15743 strict requirement for ghostpads when linking elements in
15747 Clean ups. Added WRONG_HIERARCHY return value.
15749 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15751 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15752 Better debug if no transform is possible.
15754 2005-07-27 Wim Taymans <wim@fluendo.com>
15756 * docs/random/wtay/network-transp:
15757 Some old doc I had.
15759 2005-07-27 Wim Taymans <wim@fluendo.com>
15761 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15762 (gst_dp_event_from_packet):
15763 Fix serialization of seek events.
15765 2005-07-27 Wim Taymans <wim@fluendo.com>
15767 * check/gst-libs/gdp.c: (GST_START_TEST):
15768 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15769 Fix compilation and fix event serialization.
15771 2005-07-27 Wim Taymans <wim@fluendo.com>
15774 * docs/design/part-TODO.txt:
15775 * docs/design/part-events.txt:
15778 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15779 (gst_base_sink_event), (gst_base_sink_do_sync),
15780 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15781 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15782 (gst_base_src_do_seek), (gst_base_src_event_handler),
15783 (gst_base_src_loop):
15784 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15785 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15786 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15787 (gst_base_transform_event), (gst_base_transform_handle_buffer),
15788 (gst_base_transform_set_passthrough),
15789 (gst_base_transform_is_passthrough):
15790 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15791 * gst/elements/gstfilesink.c: (gst_file_sink_event):
15797 * gst/gstelement.c: (gst_element_seek):
15798 * gst/gstelement.h:
15799 Update gst_element_seek.
15801 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15802 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15803 (gst_event_new_flush_start), (gst_event_new_flush_stop),
15804 (gst_event_new_eos), (gst_event_new_newsegment),
15805 (gst_event_parse_newsegment), (gst_event_new_tag),
15806 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15807 (gst_event_parse_qos), (gst_event_new_seek),
15808 (gst_event_parse_seek), (gst_event_new_navigation):
15810 Make GstEvent use GstStructure. Add parsing code, make sure the
15811 API is sufficiently generic.
15812 Mark possible directions of events and serialization.
15814 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15815 (_gst_message_copy), (gst_message_new_segment_start),
15816 (gst_message_new_segment_done), (gst_message_new_custom),
15817 (gst_message_parse_segment_start),
15818 (gst_message_parse_segment_done):
15821 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15822 (gst_pad_set_caps), (gst_pad_send_event):
15823 Update for new events.
15824 Catch events sent in wrong directions.
15826 * gst/gstqueue.c: (gst_queue_link_src),
15827 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15828 (gst_queue_handle_src_query):
15833 Remove event code from this file.
15835 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15836 (gst_dp_event_from_packet):
15839 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15841 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15842 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15843 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15844 Make debugging actually useful.
15846 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15848 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15849 (gst_pad_fixate_caps):
15850 Implement default fixation once again, so that gst_pad_fixate()
15851 actually does anything at all. This probably needs to be some
15852 sort of a last resort, and use profile-based fixation first, but
15853 since that doesn't exist yet, this is the best we have. Fixes
15854 visualization in Totem.
15856 2005-07-22 Wim Taymans <wim@fluendo.com>
15858 * docs/design/part-events.txt:
15861 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15862 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15863 (gst_base_sink_activate_pull):
15864 Some more comments.
15866 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15867 (gst_fake_src_create):
15868 Fix handoff marshall.
15870 * gst/elements/gstidentity.c: (gst_identity_class_init),
15871 (gst_identity_transform_ip):
15872 We're a real inplace element.
15874 * gst/gstbus.c: (gst_bus_post):
15875 Added some comments.
15877 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15878 * tests/muxing/case1.c: (main):
15879 * tests/sched/dynamic-pipeline.c: (main):
15880 * tests/sched/interrupt1.c: (main):
15881 * tests/sched/interrupt2.c: (main):
15882 * tests/sched/interrupt3.c: (main):
15883 * tests/sched/runxml.c: (main):
15884 * tests/sched/sched-stress.c: (main):
15885 * tests/seeking/seeking1.c: (event_received), (main):
15886 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15888 * tests/threadstate/threadstate3.c: (main):
15889 * tests/threadstate/threadstate4.c: (main):
15890 * tests/threadstate/threadstate5.c: (main):
15893 2005-07-21 Wim Taymans <wim@fluendo.com>
15895 * docs/design/part-seeking.txt:
15896 Some small additions.
15898 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15899 (gst_base_sink_get_times), (gst_base_sink_do_sync),
15900 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15901 * gst/base/gstbasesink.h:
15902 discont values are gint64, handle the math correctly.
15904 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15905 Make the basesrc report error if the source pad is not linked.
15907 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15908 (gst_queue_loop), (gst_queue_handle_src_query),
15909 (gst_queue_src_activate_push):
15910 Make queue collect data even if the srcpad is not linked.
15911 Start pushing out data as soon as it is linked.
15913 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
15915 Added gst_flow_get_name() to ease error reporting.
15917 2005-07-20 Wim Taymans <wim@fluendo.com>
15919 * gst/gstmessage.c: (gst_message_new_segment_start),
15920 (gst_message_new_segment_done), (gst_message_parse_segment_start),
15921 (gst_message_parse_segment_done):
15922 * gst/gstmessage.h:
15923 Added a bunch of messages for advanced seeking.
15925 * gst/parse/grammar.y:
15926 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
15927 (gst_dpman_state_changed):
15928 Fix some new-pad -> pad-added signals
15930 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15932 * docs/manual/appendix-porting.xml:
15933 * docs/pwg/appendix-porting.xml:
15934 Document new-pad/state-change signal renames and the FixedList
15937 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15939 * docs/manual/advanced-autoplugging.xml:
15940 * docs/manual/basics-helloworld.xml:
15941 * docs/manual/basics-pads.xml:
15942 * docs/random/ds/0.9-suggested-changes:
15943 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
15944 * gst/gstelement.h:
15948 * gst/gststructure.c: (gst_structure_value_get_generic_type),
15949 (gst_structure_parse_array), (gst_structure_parse_value):
15950 * gst/gstvalue.c: (gst_type_is_fixed),
15951 (gst_value_list_prepend_value), (gst_value_list_append_value),
15952 (gst_value_list_get_size), (gst_value_list_get_value),
15953 (gst_value_transform_array_string), (gst_value_serialize_array),
15954 (gst_value_deserialize_array), (gst_value_intersect_array),
15955 (gst_value_is_fixed), (_gst_value_initialize):
15957 GstElement::new-pad -> pad-added, GstElement::state-change ->
15958 state-changed, GstValueFixedList -> GstValueArray, add format and
15959 flags as their own arguments in gst_element_seek() (should improve
15960 "bindeability"), remove function generators since they don't work
15961 under a whole bunch of compilers (they were deprecated already
15964 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15966 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15967 (_gst_debug_register_funcptr):
15969 Fix illegal cast on some platforms (#309253).
15971 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15973 * gst/gstmessage.c: (gst_message_new_custom):
15974 * gst/gstmessage.h:
15975 Add _new_custom, make _new_application a macro to _new_custom.
15977 2005-07-20 Wim Taymans <wim@fluendo.com>
15979 * gst/base/gstbasesrc.c: (gst_base_src_init),
15980 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15981 * gst/base/gstbasesrc.h:
15982 Add a gboolean to decide when to push out a discont.
15984 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15985 (gst_queue_loop), (gst_queue_handle_src_query),
15986 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
15987 (gst_queue_set_property), (gst_queue_get_property):
15990 * tests/threadstate/threadstate1.c: (main):
15991 Make a thread test compile and run... very silly..
15994 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15996 * docs/manual/appendix-porting.xml:
15997 Mention removal of libgstgconf-0.9.la and existence of gconf
16000 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16002 * docs/pwg/advanced-clock.xml:
16003 * docs/pwg/appendix-porting.xml:
16004 * docs/pwg/intro-preface.xml:
16005 * docs/pwg/other-base.xml:
16006 * docs/pwg/other-manager.xml:
16007 * docs/pwg/other-nton.xml:
16008 * docs/pwg/other-ntoone.xml:
16009 * docs/pwg/other-oneton.xml:
16010 * docs/pwg/pwg.xml:
16011 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
16012 demuxer), remove n-to-n (was never written), fix some code examples
16013 and links and update the porting section to include all this.
16015 2005-07-19 Wim Taymans <wim@fluendo.com>
16017 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
16018 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
16019 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
16020 (gst_queue_src_activate_push), (gst_queue_change_state),
16021 (gst_queue_get_property):
16023 Propagate GstFlowReturn more intelligently upstream and output
16024 an ERROR/EOS when streaming stopped due to fatal error.
16026 2005-07-19 Wim Taymans <wim@fluendo.com>
16028 * tools/gst-launch.c: (check_intr), (event_loop), (main):
16029 Don't block forever for the state change to complete, the
16030 pipeline already did with a sensible timeout.
16032 2005-07-19 Wim Taymans <wim@fluendo.com>
16034 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16035 Make sure we never call the create function is we
16038 2005-07-19 Andy Wingo <wingo@pobox.com>
16040 * gst/parse/parse.l: Attempt to solve bug #172815.
16042 2005-07-19 Wim Taymans <wim@fluendo.com>
16044 * docs/design/part-clocks.txt:
16045 * docs/design/part-events.txt:
16046 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
16047 Small docs updates.
16048 Only update the seeking values when we are not
16051 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
16053 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16054 Oops, ignore the result of gst_pad_push_event here.
16056 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
16058 * gst/base/gstbasesrc.c: (gst_base_src_loop),
16059 (gst_base_src_activate_push):
16060 Send discont event from the loop function, as pads
16061 aren't activated yet in the activate_push handler.
16063 * gst/gstbin.c: (bin_bus_handler):
16064 Don't leak element name.
16066 2005-07-18 Andy Wingo <wingo@pobox.com>
16068 * configure.ac: Use AS_LIBTOOL_TAGS.
16070 2005-07-18 Wim Taymans <wim@fluendo.com>
16072 * docs/gst/gstreamer.types:
16073 Remove deleted types.
16075 2005-07-18 Wim Taymans <wim@fluendo.com>
16077 * check/elements/gstfakesrc.c: (GST_START_TEST):
16080 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
16081 (init_popt_callback):
16083 * gst/gst_private.h:
16084 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
16085 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
16088 * gst/gstconfig.h.in:
16089 * gst/gstelement.c: (gst_element_class_init),
16090 (gst_element_set_base_time), (gst_element_get_base_time),
16091 (iterator_fold_with_resync), (gst_element_change_state),
16092 (gst_element_dispose), (gst_element_get_bus):
16093 * gst/gstelement.h:
16094 * gst/gstelementfactory.h:
16095 * gst/gsterror.c: (_gst_core_errors_init):
16098 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
16100 * gst/gstinfo.c: (_gst_debug_init):
16101 * gst/gstmessage.c: (_gst_message_copy):
16102 * gst/gstmessage.h:
16103 * gst/gstminiobject.h:
16106 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16107 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
16110 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16111 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
16112 (gst_pipeline_get_last_stream_time):
16113 * gst/gstpipeline.h:
16114 * gst/gstpluginfeature.h:
16116 * gst/gstscheduler.c:
16117 * gst/gstscheduler.h:
16118 * gst/gststructure.h:
16119 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
16120 (gst_task_finalize), (gst_task_func), (gst_task_create),
16121 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
16122 (gst_task_stop), (gst_task_pause):
16124 * gst/gsttypefind.h:
16126 * gst/registries/gstlibxmlregistry.c: (load_feature),
16127 (gst_xml_registry_load), (gst_xml_registry_save_feature):
16128 * gst/registries/gstxmlregistry.c:
16129 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
16130 * gst/schedulers/threadscheduler.c:
16131 * libs/gst/control/dparammanager.h:
16132 * tools/gst-inspect.c: (print_element_list),
16133 (print_plugin_features), (print_element_features):
16134 * tools/gst-xmlinspect.c: (print_element_list),
16135 (print_plugin_info), (main):
16136 Removed plugable schedulers.
16137 Removed Scheduler/Manager from elements.
16138 Removed gsttypes.h, rearranged includes.
16139 Removed dependency pad<->element, element<>pipeline, and
16140 various others, fix includes.
16141 implement gst_pad_get_parent() with gst_object_get_parent()
16142 Make GstTask sefcontained.
16143 Fix _get_state() on GstBin, it did not return ASYNC with a 0
16145 Fix endless loop in iterator_fold_with_resync.
16148 2005-07-18 Wim Taymans <wim@fluendo.com>
16154 2005-07-18 Wim Taymans <wim@fluendo.com>
16157 No more cothreads.h
16159 2005-07-18 Wim Taymans <wim@fluendo.com>
16163 Let's remove these.
16165 2005-07-18 Wim Taymans <wim@fluendo.com>
16167 * docs/design/part-dynamic.txt:
16168 * docs/design/part-events.txt:
16169 * docs/design/part-seeking.txt:
16170 Some more docs in the works.
16172 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
16173 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
16174 (gst_base_transform_setcaps), (gst_base_transform_get_size),
16175 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
16176 (gst_base_transform_handle_buffer),
16177 (gst_base_transform_sink_activate_push),
16178 (gst_base_transform_src_activate_pull),
16179 (gst_base_transform_set_passthrough),
16180 (gst_base_transform_is_passthrough):
16183 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
16186 * gst/gstevent.c: (gst_event_finalize):
16189 * gst/gstutils.c: (gst_element_unlink),
16190 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
16191 (gst_pad_proxy_setcaps):
16193 Add _get_parent_element() to get a pads parent as an element.
16195 2005-07-18 Wim Taymans <wim@fluendo.com>
16197 * check/gst/gstbin.c: (GST_START_TEST):
16200 2005-07-18 Wim Taymans <wim@fluendo.com>
16202 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16203 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16204 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16205 (gst_base_sink_event), (gst_base_sink_do_sync),
16206 (gst_base_sink_chain), (gst_base_sink_loop),
16207 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
16208 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
16210 Fix logic for returning ASYNC when not prerolled.
16212 2005-07-18 Wim Taymans <wim@fluendo.com>
16214 * gst/gstqueue.c: (gst_queue_handle_sink_event):
16215 Fix nasty refcount bug.
16217 2005-07-16 Philippe Khalaf <burger@speedy.org>
16219 * gst/elements/gstfdsrc.c:
16220 * gst/elements/gstfdsrc.h:
16221 * gst/elements/gstelements.c:
16222 * gst/elements/Makefile.am:
16223 Ported fdsrc to 0.9.
16225 2005-07-16 Wim Taymans <wim@fluendo.com>
16227 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16228 (gst_base_sink_do_sync):
16231 2005-07-16 Wim Taymans <wim@fluendo.com>
16233 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16234 (gst_base_sink_event), (gst_base_sink_get_times),
16235 (gst_base_sink_do_sync), (gst_base_sink_change_state):
16236 * gst/base/gstbasesink.h:
16237 Store and use discont values when syncing buffers as described
16240 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
16241 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
16242 (gst_base_src_activate_push):
16243 Push discont event when starting.
16245 * gst/elements/gstidentity.c: (gst_identity_transform):
16248 * gst/gstbin.c: (gst_bin_change_state):
16249 Small cleanups in base_time distribution.
16251 * gst/gstelement.c: (gst_element_set_base_time),
16252 (gst_element_get_base_time), (gst_element_change_state):
16253 * gst/gstelement.h:
16254 Added methods for the base_time of the element.
16257 * gst/gstpipeline.c: (gst_pipeline_send_event),
16258 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
16259 (gst_pipeline_get_last_stream_time):
16260 * gst/gstpipeline.h:
16262 Handle seeking as described in design doc, remove stream_time
16264 Cleanups clock and stream_time selection code. Added accessors
16265 for the stream_time.
16268 2005-07-16 Andy Wingo <wingo@pobox.com>
16270 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
16273 2005-07-16 Wim Taymans <wim@fluendo.com>
16275 * check/gst/gstbin.c: (GST_START_TEST):
16276 Make elements silent as the deep_notify refs the
16277 parent, which might make the test fail.
16279 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
16280 Don't hold the lock for too long.
16282 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
16284 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16285 Don't unref the caps we passed to gst_caps_make_writable() after
16286 passing them. gst_caps_make_writable() will do that for us.
16288 2005-07-15 Andy Wingo <wingo@pobox.com>
16290 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
16293 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
16294 own marshalling function for the handoff signal. Properly type the
16295 buffer as a buffer. Fixes some warnings. Should do a more general
16297 (gst_identity_class_init): Plug into the right marshaller.
16299 2005-07-15 Wim Taymans <wim@fluendo.com>
16301 * docs/design/part-TODO.txt:
16302 * docs/design/part-clocks.txt:
16303 * docs/design/part-element-sink.txt:
16304 * docs/design/part-events.txt:
16305 * docs/design/part-gstpipeline.txt:
16306 Updated docs, mostly DISCONT related.
16308 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
16310 * docs/pwg/building-pads.xml:
16311 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
16313 2005-07-15 Andy Wingo <wingo@pobox.com>
16315 * tools/gst-typefind.c: Update, add copyright block.
16317 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
16318 Normalize and truncate caps before fixation.
16321 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
16322 discards all but the first structure from its argument.
16324 2005-07-15 Wim Taymans <wim@fluendo.com>
16326 * gst/base/gstbasetransform.c: (gst_base_transform_init),
16327 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
16328 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16329 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
16330 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
16331 (gst_base_transform_chain), (gst_base_transform_change_state),
16332 (gst_base_transform_set_passthrough),
16333 (gst_base_transform_is_passthrough):
16334 * gst/base/gstbasetransform.h:
16335 Make passthrough work using the bufferpools.
16336 Changed API a bit, subclasses have to write into a buffer
16337 provided by the base class.
16338 More debug info in nego functions.
16340 * gst/elements/gstidentity.c: (gst_identity_init),
16341 (gst_identity_transform):
16342 Port to new base class.
16344 2005-07-15 Wim Taymans <wim@fluendo.com>
16346 * gst/gstmessage.c: (gst_message_new_state_changed):
16347 * tools/gst-launch.c: (event_loop), (main):
16348 Totally dump messages in -launch with the -m option.
16349 Fix message name for State messages,
16351 2005-07-14 Wim Taymans <wim@fluendo.com>
16353 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16354 Post error messages on errors.
16356 2005-07-14 Wim Taymans <wim@fluendo.com>
16358 * gst/gstcaps.c: (gst_caps_do_simplify):
16362 Define error for stream stopped.
16364 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16365 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
16366 Do proper return values.
16368 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16369 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
16370 (gst_pad_get_range):
16371 Better return values.
16374 Reorganise return values, add macro to check for fatal errors.
16376 * gst/gstqueue.c: (gst_queue_chain):
16377 Return proper GstFlowReturn values,
16379 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
16381 * docs/gst/gstreamer-sections.txt:
16382 * docs/gst/gstreamer.types:
16383 * docs/gst/tmpl/gst.sgml:
16384 * docs/gst/tmpl/gstbasesink.sgml:
16385 * docs/gst/tmpl/gstbasesrc.sgml:
16386 * docs/gst/tmpl/gstbasetransform.sgml:
16387 * docs/gst/tmpl/gstbin.sgml:
16388 * docs/gst/tmpl/gstbuffer.sgml:
16389 * docs/gst/tmpl/gstcaps.sgml:
16390 * docs/gst/tmpl/gstclock.sgml:
16391 * docs/gst/tmpl/gstcompat.sgml:
16392 * docs/gst/tmpl/gstconfig.sgml:
16393 * docs/gst/tmpl/gstelement.sgml:
16394 * docs/gst/tmpl/gstelementdetails.sgml:
16395 * docs/gst/tmpl/gstelementfactory.sgml:
16396 * docs/gst/tmpl/gstenumtypes.sgml:
16397 * docs/gst/tmpl/gsterror.sgml:
16398 * docs/gst/tmpl/gstevent.sgml:
16399 * docs/gst/tmpl/gstfakesink.sgml:
16400 * docs/gst/tmpl/gstfakesrc.sgml:
16401 * docs/gst/tmpl/gstfilesink.sgml:
16402 * docs/gst/tmpl/gstfilesrc.sgml:
16403 * docs/gst/tmpl/gstfilter.sgml:
16404 * docs/gst/tmpl/gstformat.sgml:
16405 * docs/gst/tmpl/gstghostpad.sgml:
16406 * docs/gst/tmpl/gstimplementsinterface.sgml:
16407 * docs/gst/tmpl/gstindex.sgml:
16408 * docs/gst/tmpl/gstindexfactory.sgml:
16409 * docs/gst/tmpl/gstinfo.sgml:
16410 * docs/gst/tmpl/gstiterator.sgml:
16411 * docs/gst/tmpl/gstmacros.sgml:
16412 * docs/gst/tmpl/gstmemchunk.sgml:
16413 * docs/gst/tmpl/gstminiobject.sgml:
16414 * docs/gst/tmpl/gstobject.sgml:
16415 * docs/gst/tmpl/gstpad.sgml:
16416 * docs/gst/tmpl/gstpadtemplate.sgml:
16417 * docs/gst/tmpl/gstparse.sgml:
16418 * docs/gst/tmpl/gstpipeline.sgml:
16419 * docs/gst/tmpl/gstplugin.sgml:
16420 * docs/gst/tmpl/gstpluginfeature.sgml:
16421 * docs/gst/tmpl/gstquery.sgml:
16422 * docs/gst/tmpl/gstqueue.sgml:
16423 * docs/gst/tmpl/gstregistry.sgml:
16424 * docs/gst/tmpl/gstregistrypool.sgml:
16425 * docs/gst/tmpl/gstscheduler.sgml:
16426 * docs/gst/tmpl/gstschedulerfactory.sgml:
16427 * docs/gst/tmpl/gststructure.sgml:
16428 * docs/gst/tmpl/gstsystemclock.sgml:
16429 * docs/gst/tmpl/gsttaglist.sgml:
16430 * docs/gst/tmpl/gsttagsetter.sgml:
16431 * docs/gst/tmpl/gsttrace.sgml:
16432 * docs/gst/tmpl/gsttrashstack.sgml:
16433 * docs/gst/tmpl/gsttypefind.sgml:
16434 * docs/gst/tmpl/gsttypefindfactory.sgml:
16435 * docs/gst/tmpl/gsttypes.sgml:
16436 * docs/gst/tmpl/gsturihandler.sgml:
16437 * docs/gst/tmpl/gsturitype.sgml:
16438 * docs/gst/tmpl/gstutils.sgml:
16439 * docs/gst/tmpl/gstvalue.sgml:
16440 * docs/gst/tmpl/gstversion.sgml:
16441 * docs/gst/tmpl/gstxml.sgml:
16442 * docs/libs/tmpl/gstcontrol.sgml:
16443 * docs/libs/tmpl/gstdataprotocol.sgml:
16444 * docs/libs/tmpl/gstdparam.sgml:
16445 * docs/libs/tmpl/gstdplinint.sgml:
16446 * docs/libs/tmpl/gstdpman.sgml:
16447 * docs/libs/tmpl/gstdpsmooth.sgml:
16448 * docs/libs/tmpl/gstgetbits.sgml:
16449 * docs/libs/tmpl/gstunitconvert.sgml:
16450 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
16451 (gst_push_src_base_init), (gst_push_src_class_init),
16452 (gst_push_src_init), (gst_push_src_create):
16453 * gst/base/gstpushsrc.h:
16454 * gst/elements/gstelements.c:
16455 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
16456 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
16457 (gst_fake_sink_init), (gst_fake_sink_set_property),
16458 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
16459 (gst_fake_sink_event), (gst_fake_sink_preroll),
16460 (gst_fake_sink_render), (gst_fake_sink_change_state):
16461 * gst/elements/gstfakesink.h:
16462 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16463 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16464 (gst_fake_src_base_init), (gst_fake_src_class_init),
16465 (gst_fake_src_init), (gst_fake_src_event_handler),
16466 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
16467 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
16468 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
16469 (gst_fake_src_create_buffer), (gst_fake_src_create),
16470 (gst_fake_src_start), (gst_fake_src_stop):
16471 * gst/elements/gstfakesrc.h:
16472 * gst/elements/gstfilesink.c: (_do_init),
16473 (gst_file_sink_base_init), (gst_file_sink_class_init),
16474 (gst_file_sink_init), (gst_file_sink_dispose),
16475 (gst_file_sink_set_location), (gst_file_sink_set_property),
16476 (gst_file_sink_get_property), (gst_file_sink_open_file),
16477 (gst_file_sink_close_file), (gst_file_sink_query),
16478 (gst_file_sink_event), (gst_file_sink_render),
16479 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
16480 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
16481 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
16482 * gst/elements/gstfilesink.h:
16483 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
16484 (gst_file_src_class_init), (gst_file_src_init),
16485 (gst_file_src_finalize), (gst_file_src_set_location),
16486 (gst_file_src_set_property), (gst_file_src_get_property),
16487 (gst_file_src_map_region), (gst_file_src_map_small_region),
16488 (gst_file_src_create_mmap), (gst_file_src_create_read),
16489 (gst_file_src_create), (gst_file_src_is_seekable),
16490 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
16491 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
16492 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
16493 (gst_file_src_uri_handler_init):
16494 * gst/elements/gstfilesrc.h:
16495 more autistic cleanliness in functions/names/defines
16497 2005-07-13 Andy Wingo <wingo@pobox.com>
16499 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
16500 source couldn't negotiate.
16502 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
16506 * gst/gstutils.c (gst_element_link_pads_filtered): New old
16507 function. I am channeling Hades. Put your boots on suckers!!!
16509 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
16511 * testsuite/caps/Makefile.am:
16512 * testsuite/caps/value_compare.c:
16513 * testsuite/caps/value_intersect.c:
16514 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16515 move two testsuite apps over to the check dir
16517 2005-07-12 Wim Taymans <wim@fluendo.com>
16519 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
16520 Added more debug info in the negotiate process.
16522 * gst/gstmessage.h:
16523 Prepare for segment playback.
16525 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
16531 * tools/gst-launch.c: (main):
16532 NULL pipeline on errors.
16534 2005-07-12 Andy Wingo <wingo@pobox.com>
16536 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
16537 not it comes from a malloc region. Make sure our copy gets freed.
16539 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16541 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16542 * check/gst/gstmessage.c: (GST_START_TEST):
16543 * check/gst/gststructure.c: (GST_START_TEST),
16544 (gst_structure_suite), (main):
16546 * gst/gstelement.c: (gst_element_message_full):
16547 clean up GError and debug string now that they get copied
16548 * gst/gstmessage.c: (gst_message_new_error),
16549 (gst_message_new_warning), (gst_message_parse_error),
16550 (gst_message_parse_warning):
16551 use GST_TYPE_G_ERROR for structure_new, and take copies of
16552 arguments, so that we don't mess up refcounting
16554 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16556 * check/Makefile.am:
16557 add per-test valgrind targets
16558 * check/gst-libs/gdp.c: (GST_START_TEST),
16559 (gst_data_protocol_suite), (main):
16562 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16564 * check/Makefile.am:
16565 instate more valgrindable tests
16566 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16567 (GST_START_TEST), (fakesrc_suite):
16568 * check/gst/gstpad.c: (GST_START_TEST):
16569 * check/gst/gststructure.c: (GST_START_TEST):
16571 * docs/gst/tmpl/gstminiobject.sgml:
16572 * gst/gstpad.c: (gst_pad_finalize):
16573 fix the static mutex leak
16575 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16577 * check/Makefile.am:
16578 add two more tests for valgrinding
16579 * check/gst/gstvalue.c: (GST_START_TEST):
16580 test refcount of deserialized buffer, found a leak
16581 * docs/gst/gstreamer-docs.sgml:
16582 * docs/gst/gstreamer-sections.txt:
16583 * docs/gst/gstreamer.types:
16584 * docs/gst/tmpl/gstminiobject.sgml:
16585 add miniobject to docs
16586 * gst/gstminiobject.c:
16588 * gst/gstvalue.c: (gst_value_deserialize_buffer),
16589 (gst_string_unwrap):
16590 fix a hard-to-find invalid write for one of the tests
16591 fix a leak for deserialized buffers
16593 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16595 * docs/pwg/advanced-events.xml:
16596 * docs/pwg/advanced-request.xml:
16597 * docs/pwg/advanced-scheduling.xml:
16598 * docs/pwg/appendix-porting.xml:
16599 * docs/pwg/building-boiler.xml:
16600 * docs/pwg/intro-preface.xml:
16601 * docs/pwg/other-ntoone.xml:
16602 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
16603 of example code and explanation for pad activation, loop() and
16604 getrange() functions and a bit more. Remove old comments pointing
16606 * examples/pwg/Makefile.am:
16607 Add loop/getrange examples.
16609 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16612 check for valgrind binary + some fixes
16614 valgrind suppressions for the tests
16615 * check/Makefile.am:
16616 add a valgrind: target that valgrinds the unit tests
16617 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
16618 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16619 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16620 * check/gst/gstghostpad.c:
16622 * check/gst/gstdata.c:
16624 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
16625 (thread_unref), (gst_mini_object_suite), (main):
16627 * gst/gst.c: (gst_deinit):
16629 add a method to clean up.
16630 * gst/gstsystemclock.c: (gst_system_clock_dispose),
16631 (gst_system_clock_obtain):
16632 allow for disposing the system clock.
16633 * tools/gst-launch.c: (main):
16636 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16638 * docs/gst/tmpl/gstbasesrc.sgml:
16639 * docs/gst/tmpl/gstfakesrc.sgml:
16640 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16641 (gst_base_src_init), (gst_base_src_set_property),
16642 (gst_base_src_get_property), (gst_base_src_get_range),
16643 (gst_base_src_start):
16644 * gst/base/gstbasesrc.h:
16645 add num-buffers property
16646 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16647 (gst_fakesrc_init), (gst_fakesrc_set_property),
16648 (gst_fakesrc_get_property), (gst_fakesrc_create),
16649 (gst_fakesrc_start):
16650 remove num-buffers property
16652 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16654 * docs/gst/gstreamer-sections.txt:
16655 * docs/gst/tmpl/gstbasesink.sgml:
16656 * docs/gst/tmpl/gstbasesrc.sgml:
16657 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16658 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16659 (gst_base_sink_finalize), (gst_base_sink_set_clock),
16660 (gst_base_sink_set_property), (gst_base_sink_get_property),
16661 (gst_base_sink_handle_object), (gst_base_sink_event),
16662 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16663 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
16664 (gst_base_sink_loop), (gst_base_sink_deactivate),
16665 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
16666 (gst_base_sink_change_state):
16667 * gst/base/gstbasesink.h:
16668 * gst/base/gstbasesrc.h:
16669 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
16670 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16671 (gst_filesink_init):
16672 more macro splitting
16674 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16676 * gst/gstelement.c: (gst_element_get_bus):
16678 * tools/gst-launch.c: (check_intr), (event_loop):
16681 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16683 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16686 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16688 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16689 (gst_base_src_finalize):
16690 add finalize method and clean up properly
16691 * gst/gstpipeline.c: (gst_pipeline_dispose):
16694 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16696 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
16698 add more things to check
16699 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
16700 * gst/gstelement.c:
16703 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16705 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16706 (GST_START_TEST), (fakesrc_suite):
16707 * check/gst-libs/gdp.c: (GST_START_TEST):
16708 * check/gst/gst.c: (GST_START_TEST):
16709 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16710 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16711 * check/gst/gstbus.c: (GST_START_TEST):
16712 * check/gst/gstcaps.c: (GST_START_TEST):
16713 * check/gst/gstdata.c: (GST_START_TEST):
16714 * check/gst/gstelement.c: (GST_START_TEST):
16715 * check/gst/gstghostpad.c: (GST_START_TEST):
16716 * check/gst/gstiterator.c: (GST_START_TEST):
16717 * check/gst/gstmessage.c: (GST_START_TEST):
16718 * check/gst/gstobject.c: (GST_START_TEST):
16719 * check/gst/gstpad.c: (GST_START_TEST):
16720 * check/gst/gststructure.c: (GST_START_TEST):
16721 * check/gst/gstsystemclock.c: (GST_START_TEST),
16722 (gst_systemclock_suite):
16723 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
16724 * check/gst/gstvalue.c: (GST_START_TEST):
16725 * check/pipelines/cleanup.c: (GST_START_TEST):
16726 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16727 * check/states/sinks.c: (GST_START_TEST):
16728 * check/gstcheck.c: (gst_check_init):
16729 * check/gstcheck.h:
16730 add debugging category
16731 use GST_START_TEST now, so we add a debug line
16733 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16735 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
16736 add test for state change message on a bin
16737 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
16739 * gst/gstbin.c: (gst_bin_init):
16740 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
16741 * gst/gstelement.c: (gst_element_post_message),
16742 (gst_element_set_state):
16743 * gst/gstelementfactory.c: (gst_element_factory_create):
16744 * gst/gstmessage.c: (gst_message_new):
16745 * gst/gstscheduler.c:
16746 various debugging additions and cleanups
16748 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16750 * check/Makefile.am:
16751 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
16753 adding tests for elements
16754 * gst/gstelement.c: (gst_element_dispose):
16756 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16758 * gst/registries/gstlibxmlregistry.c: (load_feature):
16759 plug more leaks. A simple gst_init() now is leakfree, yay.
16761 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16763 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
16764 (gst_xml_registry_load):
16765 plug another memleak
16767 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16770 use GST_SET_ERROR_CFLAGS
16771 * docs/faq/cvs.xml:
16772 change to ERROR_CFLAGS
16774 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16777 make GST_ERROR_CFLAGS overridable and re-enable Werror
16778 * docs/faq/cvs.xml:
16779 add a note about error CFLAGS
16780 * docs/gst/tmpl/gstfakesrc.sgml:
16781 * gst/elements/gstfakesrc.c:
16782 comment out some unused code
16783 * gst/gst.c: (split_and_iterate):
16784 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
16788 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16790 * common/Makefile.am:
16791 * common/gtk-doc.mak:
16792 * docs/gst/Makefile.am:
16793 factor out gtk-doc.mak
16795 2005-07-07 Wim Taymans <wim@fluendo.com>
16797 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16798 (gst_thread_scheduler_dispose):
16799 Unlock the STREAM_LOCK completely.
16801 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16803 * check/Makefile.am:
16804 * check/elements/.cvsignore:
16805 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16806 (START_TEST), (fakesrc_suite), (main):
16807 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16808 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16809 (gst_fakesrc_create), (gst_fakesrc_start):
16810 * gst/elements/gstfakesrc.h:
16811 adding a first element test
16813 2005-07-07 Andy Wingo <wingo@pobox.com>
16815 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16818 2005-07-07 Wim Taymans <wim@fluendo.com>
16824 2005-07-07 Wim Taymans <wim@fluendo.com>
16826 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16827 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16828 Allow subclasses to implement their own negotiation.
16830 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16832 * docs/design/part-gstbin.txt:
16833 * docs/design/part-gstpipeline.txt:
16834 Update design notes to reflect the movement of
16835 responsibility for bus handling from GstPipeline to
16838 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16841 Remove unnecessary queue2/3/4 examples.
16843 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16845 * examples/Makefile.am:
16846 * examples/helloworld/helloworld.c: (event_loop), (main):
16847 * examples/queue/queue.c: (event_loop), (main):
16848 * examples/queue2/queue2.c: (main):
16849 Update a couple of the examples to work again.
16851 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16852 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16853 Spelling corrections and extra debug.
16855 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16856 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16857 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16859 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16860 (gst_pipeline_change_state):
16861 * gst/gstpipeline.h:
16862 Move the bus handler for children to the GstBin, and create a
16863 separate bus for receiving messages from children to the one the
16864 bus sends 'upwards' on.
16866 2005-07-06 Wim Taymans <wim@fluendo.com>
16869 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16870 (gst_base_sink_handle_object), (gst_base_sink_loop),
16871 (gst_base_sink_change_state):
16872 * gst/base/gstbasesink.h:
16873 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16874 (gst_base_src_init), (gst_base_src_setcaps),
16875 (gst_base_src_getcaps), (gst_base_src_loop),
16876 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16877 (gst_base_src_start), (gst_base_src_change_state):
16878 * gst/base/gstbasesrc.h:
16879 Make basesrc negotiate.
16880 Handle the case where preroll fails in basesink.
16883 2005-07-06 Wim Taymans <wim@fluendo.com>
16885 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
16886 Implement the fixate function.
16887 Clean up acceptcaps.
16889 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16891 * docs/pwg/building-filterfactory.xml:
16892 * docs/pwg/pwg.xml:
16893 Remove never-written filter-factory chapter; I'll add the various
16894 base classes to part 4 ("other element types") later on.
16896 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16898 * docs/pwg/advanced-negotiation.xml:
16899 * docs/pwg/building-boiler.xml:
16900 * docs/pwg/building-pads.xml:
16901 * docs/pwg/pwg.xml:
16902 * examples/pwg/Makefile.am:
16903 Add a chapter on caps negotiation, simplify the original code
16904 samples a bit w.r.t. caps negotiation, add link to the advanced
16905 section. Add a bunch of examples showing different use cases of
16906 different types of caps negotiation. Upstream renegotiation isn't
16907 fully documented yet since nobody knows how that works.
16909 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
16911 * check/gst/gstpad.c:
16912 * check/gstcheck.c:
16913 * gst/gstpad.c: (gst_pad_get_internal_links_default):
16914 if pad has no parent, return NULL as list of internal links
16916 2005-07-05 Andy Wingo <wingo@pobox.com>
16918 * gst/elements/gstfilesrc.c:
16919 * gst/elements/gstfakesrc.c:
16920 * gst/base/gstpushsrc.c:
16921 * gst/base/gstbasesrc.h:
16922 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
16924 2005-07-05 Stefan Kost <ensonic@users.sf.net>
16927 better report generation target (lcov needs a patch)
16929 2005-07-05 Andy Wingo <wingo@pobox.com>
16931 * gst/elements, testsuite: Null if we got it...
16933 2005-07-05 Wim Taymans <wim@fluendo.com>
16936 * libs/gst/dataprotocol/Makefile.am:
16937 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
16938 * libs/gst/dataprotocol/dataprotocol.h:
16939 * pkgconfig/Makefile.am:
16940 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
16941 * pkgconfig/gstreamer-dataprotocol.pc.in:
16942 Ported dataprotol to 0.9.
16943 Added pkgconfig files.
16945 2005-07-05 Andy Wingo <wingo@pobox.com>
16947 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
16948 Default to returning TRUE for the case when tranform_caps returns
16949 a fixed caps, like for identity or volume.
16951 * check/gst/gstbus.c (pound_bus_with_messages):
16952 * check/gst/gstmessage.c (START_TEST):
16953 * check/pipelines/simple_launch_lines.c (got_handoff): Application
16954 message API change.
16956 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
16957 logic weaks here: always run transform_caps, trying passthrough
16958 operation only if the original caps intersects with the transform.
16960 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
16961 source and sink caps.
16963 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
16964 Intersect the peer caps with the pad template before going into
16966 (gst_base_transform_transform_caps): More debugging.
16968 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
16971 2005-07-04 Edward Hervey <edward@fluendo.com>
16975 (gst_pad_add_*_probe): now returns the signal id for better wrapping
16978 2005-07-04 Andy Wingo <wingo@pobox.com>
16980 * check/gst/gstpad.c: Only set explicit caps on pads.
16982 2005-07-01 Andy Wingo <wingo@pobox.com>
16984 * tests/network-clock.scm: Commentary update.
16986 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
16987 Didn't really make sense, not implementable with basetransform,
16989 (gst_identity_transform): Unref inbuf via make_writable. Feeble
16990 attempt at implementing the sync property, needs an unlock method.
16992 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
16993 New func, by default returns the same caps (the identity
16995 (gst_base_transform_getcaps): Uses transform_caps to return
16996 something sensible.
16997 (gst_base_transform_setcaps): Complicated logic to get caps on
16998 both pads, even if they are different, and to call set_caps once
16999 for every time both pads get their caps set.
17000 (gst_base_transform_handle_buffer): Give the ref to the transform
17001 function. Allows in-place modification of the buffer.
17003 * gst/base/gstbasetransform.h (transform_caps): New class method.
17004 Given caps on one side, what can I do on the other.
17005 (set_caps): Take two caps, one for each side of the element.
17008 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
17009 caps in place. This is safe because we can check the mutability of
17010 the caps, and a good idea because fixate functions are just called
17011 as a matter of last resort. (Not actually implemented.)
17012 (gst_pad_set_caps): If the caps we're setting is actually the same
17013 as the existing pad caps, just update the pointer without calling
17014 setcaps. Assert that caps is either NULL or fixed, as per the
17017 * gst/gstghostpad.c: Update for fixate changes.
17019 2005-07-02 Andy Wingo <wingo@pobox.com>
17022 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
17023 two refcounts makes it immutable, which is enough. Doc more.
17025 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
17027 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
17028 Put the mini_object into GValue as a mini_object,
17029 not a gpointer, since that's how we declared
17032 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17034 * examples/pwg/Makefile.am:
17035 Fix buildbot again.
17037 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17039 * docs/pwg/building-testapp.xml:
17041 * examples/pwg/Makefile.am:
17044 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17047 * examples/Makefile.am:
17048 * examples/pwg/Makefile.am:
17049 * examples/pwg/extract.pl:
17050 Enable building the PWG examples.
17051 * docs/pwg/advanced-interfaces.xml:
17052 Add URI interface stub.
17053 * docs/pwg/advanced-types.xml:
17054 * docs/pwg/other-autoplugger.xml:
17055 * docs/pwg/appendix-porting.xml:
17056 * docs/pwg/pwg.xml:
17057 Add porting guide (mostly stubs), remove autoplugging (see ADM).
17058 * docs/pwg/building-boiler.xml:
17059 * docs/pwg/building-chainfn.xml:
17060 * docs/pwg/building-pads.xml:
17061 * docs/pwg/building-props.xml:
17062 * docs/pwg/building-state.xml:
17063 * docs/pwg/building-testapp.xml:
17064 Update the building-*.xml parts for 0.9 changes. All examples
17065 code blocks compile in examples/pwg/*.
17067 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17069 * docs/manual/advanced-autoplugging.xml:
17070 * docs/manual/appendix-checklist.xml:
17071 * docs/manual/appendix-integration.xml:
17072 * docs/manual/highlevel-components.xml:
17073 Fix playbin/decodebin examples, update docs a bit, mention bus
17074 instead of signals in various places, mention kmplayer and
17075 kaffeine since they have a working GStreamer backend in the KDE
17078 2005-06-30 Wim Taymans <wim@fluendo.com>
17081 * docs/design/draft-ghostpads.txt:
17082 * docs/design/draft-push-pull.txt:
17083 * docs/design/draft-query.txt:
17084 * docs/design/part-TODO.txt:
17085 * docs/design/part-query.txt:
17086 Added CHANGES-0.9 doc, updated status of other docs.
17091 2005-06-30 Wim Taymans <wim@fluendo.com>
17093 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
17094 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
17095 (gst_base_sink_change_state):
17096 * gst/base/gstbasesink.h:
17097 Some tweaks, only EOS and a buffer complete a preroll.
17099 2005-06-30 Andy Wingo <wingo@pobox.com>
17101 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
17102 activate_push down to the internal pad as well.
17104 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
17106 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17108 * gst/gsttaginterface.c:
17109 Some documentation fixes (#307394 and #307397).
17111 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
17113 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17115 * gst/gstvalue.c: (gst_value_intersect_list):
17116 Fix memleak (#309125).
17118 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17120 * docs/manual/advanced-dataaccess.xml:
17121 Fix fakesrc example to compile; doesn't work, bug somewhere...?
17122 * docs/manual/basics-pads.xml:
17123 Add reference for filtered caps to above chapter.
17125 2005-06-30 Wim Taymans <wim@fluendo.com>
17127 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
17128 (gst_bin_change_state):
17130 Lame attempt at making the state change function a bit
17133 2005-06-30 Wim Taymans <wim@fluendo.com>
17135 * docs/design/part-clocks.txt:
17136 * docs/design/part-element-sink.txt:
17137 * docs/design/part-events.txt:
17138 * docs/design/part-preroll.txt:
17139 * docs/design/part-states.txt:
17140 Some more tweeks and additions to the docs.
17142 2005-06-30 Wim Taymans <wim@fluendo.com>
17144 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17145 (default_have_data), (gst_pad_class_init), (gst_pad_init),
17146 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
17147 (gst_pad_check_pull_range), (gst_pad_get_range),
17148 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
17150 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
17151 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17152 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17153 (gst_pad_remove_buffer_probe):
17154 Removed atomic operations, use existing LOCK.
17155 Move exception handling out of main code path.
17157 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17159 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17160 (silly_return_true_function), (gst_pad_class_init),
17161 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
17162 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
17163 (gst_pad_send_event):
17164 Fix accumulator, add default value by using _emitv() instead
17165 of _emit() for signal emission.
17167 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17169 * docs/manual/advanced-dataaccess.xml:
17170 * examples/manual/Makefile.am:
17172 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
17175 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
17177 * gst/elements/gstfilesink.c: (gst_filesink_render):
17178 Simplify code so that we don't have to handle short
17179 writes and return GST_FLOW_ERROR if an error occured.
17181 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17183 * docs/gst/gstreamer-docs.sgml:
17184 Remove probes more.
17186 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17188 * docs/gst/gstreamer-sections.txt:
17189 * docs/gst/tmpl/gstpad.sgml:
17190 * docs/gst/tmpl/gstprobe.sgml:
17192 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17193 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
17194 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17195 (gst_pad_push_event), (gst_pad_send_event):
17197 * gst/gstutils.c: (gst_pad_add_data_probe),
17198 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17199 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17200 (gst_pad_remove_buffer_probe):
17202 Remove old probes, add new g-signal-based probes and some utility
17205 2005-06-29 Edward Hervey <edward@fluendo.com>
17207 * gst/gstelementfactory.c:
17210 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
17211 the definition to the header file.
17213 2005-06-29 Andy Wingo <wingo@pobox.com>
17215 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
17216 plugins from the source directory.
17218 2005-06-29 Wim Taymans <wim@fluendo.com>
17220 * docs/gst/tmpl/gstbuffer.sgml:
17221 * docs/gst/tmpl/gstclock.sgml:
17222 Some fixings for blantently wrong text.
17224 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
17226 * check/Makefile.am:
17227 * gst/gst.c: (add_path_func), (init_pre):
17228 * gst/gstregistry.c: (gst_registry_add_path):
17229 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
17230 only scan the GST_PLUGIN_PATH locations, and not add
17233 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
17235 * docs/gst/gstreamer-sections.txt:
17236 * docs/gst/tmpl/gstbasesrc.sgml:
17237 * gst/gstelement.c:
17238 * gst/gstelement.h:
17243 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17245 * docs/manual/advanced-autoplugging.xml:
17246 Fix autoplugging example.
17248 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17250 * docs/manual/advanced-autoplugging.xml:
17251 * docs/manual/mime-world.fig:
17252 Try to get autoplugging working, fix type detection. Fix text
17253 in hello-world image.
17255 2005-06-29 Wim Taymans <wim@fluendo.com>
17257 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17258 (gst_base_sink_change_state):
17262 map SIGNAL and BROADCAST to the right function.
17265 Remove redundant braces.
17267 * gst/gstpad.c: (gst_pad_set_caps):
17268 Don't call setcaps function when reseting caps to NULL.
17270 * gst/gstsystemclock.c: (gst_system_clock_dispose),
17271 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
17272 (gst_system_clock_id_unschedule):
17273 Use BROADCAST as this is what we do.
17275 2005-06-29 Wim Taymans <wim@fluendo.com>
17277 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17278 We are actually prerolling before commiting the state
17281 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17283 * docs/manual/advanced-clocks.xml:
17284 * docs/manual/advanced-interfaces.xml:
17285 * docs/manual/advanced-metadata.xml:
17286 * docs/manual/advanced-position.xml:
17287 * docs/manual/advanced-schedulers.xml:
17288 * docs/manual/advanced-threads.xml:
17289 * docs/manual/appendix-porting.xml:
17290 * docs/manual/basics-bins.xml:
17291 * docs/manual/basics-bus.xml:
17292 * docs/manual/basics-elements.xml:
17293 * docs/manual/basics-helloworld.xml:
17294 * docs/manual/basics-pads.xml:
17295 * docs/manual/highlevel-components.xml:
17296 * docs/manual/manual.xml:
17297 * docs/manual/thread.fig:
17298 Update (until threads/scheduling) Application Development Manual;
17299 remove GstThread, add GstBus, add simple porting checklist, add
17300 documentation for tag writing, clocks, make all examples until this
17301 part compile and run.
17302 * examples/manual/Makefile.am:
17303 Update from changes to Application Development Manual; add bus
17304 example, remove thread example.
17306 2005-06-28 Wim Taymans <wim@fluendo.com>
17308 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
17309 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
17310 (gst_bus_source_dispatch):
17311 Add debugging messages.
17312 Make internal methods static.
17313 Handle the case where the bus is flushed in the handler.
17315 * gst/gstelement.c: (gst_element_get_bus):
17316 Fix refcount in _get_bus();
17318 * gst/gstpipeline.c: (gst_pipeline_change_state),
17319 (gst_pipeline_get_clock_func):
17320 Clock refcounting fixes.
17321 Handle the case where preroll timed out more gracefully.
17323 * gst/gstsystemclock.c: (gst_system_clock_dispose):
17324 Clean up the internal thread in dispose. This is needed
17325 for subclasses that actually get disposed.
17327 * gst/schedulers/threadscheduler.c:
17328 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
17329 (gst_thread_scheduler_dispose):
17330 Free thread pool in dispose.
17332 2005-06-28 Andy Wingo <wingo@pobox.com>
17334 * tests/network-clock-utils.scm (debug, print-event): New utils.
17336 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
17337 (*packet-loss*): Unified loss probability.
17338 (network-time): Report out-of-band events.
17340 * tests/plot-data: Add support for out-of-band events. Hack it
17341 into this script instead of passing it down the pipe; should fix
17344 2005-06-28 Wim Taymans <wim@fluendo.com>
17346 * docs/gst/gstreamer.types:
17347 * docs/gst/tmpl/gstbasesrc.sgml:
17348 * docs/gst/tmpl/gstpad.sgml:
17351 2005-06-28 Wim Taymans <wim@fluendo.com>
17353 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17354 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
17355 (gst_proxy_pad_do_fixatecaps):
17356 Correctly proxy the check_pull_range function.
17358 2005-06-28 Andy Wingo <wingo@pobox.com>
17360 * tests/network-clock.scm: Removed need for slib.
17362 2005-06-28 Wim Taymans <wim@fluendo.com>
17364 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
17365 (gst_basesink_preroll_queue_flush):
17366 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
17367 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
17368 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17369 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
17370 (gst_proxy_pad_set_property):
17373 * gst/gstqueue.c: (gst_queue_init):
17374 The deprecated pad loop function is removed now.
17376 2005-06-28 Andy Wingo <wingo@pobox.com>
17378 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
17379 New parameters, simulate network packet loss.
17381 * tests/network-clock-utils.scm: Initialize the RNG.
17383 2005-06-28 Wim Taymans <wim@fluendo.com>
17385 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
17386 (gst_basesink_event), (gst_basesink_deactivate):
17387 Flushing the preroll queue always needs to unlock the waiters.
17389 2005-06-28 Edward Hervey <edward@fluendo.com>
17391 * gst/gstpipeline.c: (gst_pipeline_send_event):
17392 Wheen a seek was successful on a pipeline, set the stream_time to the
17393 seek offset in order to have a synchronized stream_time.
17395 2005-06-28 Wim Taymans <wim@fluendo.com>
17397 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17398 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
17399 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
17400 (gst_proxy_pad_do_fixatecaps):
17401 Call wrapper function instead of just calling the function
17402 pointers. This takes care of any locking and whatmore.
17404 2005-06-28 Wim Taymans <wim@fluendo.com>
17406 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
17407 (gst_pad_pull_range):
17409 CONNECTED -> LINKED.
17411 2005-06-28 Andy Wingo <wingo@pobox.com>
17413 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
17414 source-munging commit!!!
17416 * gst/gstobject.c (gst_object_unref, gst_object_ref)
17417 (gst_object_sink): Take gpointer arguments, not GstObject --
17418 avoids casts. Like GLib.
17420 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
17423 2005-06-27 Andy Wingo <wingo@pobox.com>
17425 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
17428 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
17429 returns a sorted copy of the trace list.
17430 (gst_alloc_trace_print_live): New API, only prints traces with
17431 live objects. Sort the list.
17432 (gst_alloc_trace_print_all): Sort the list.
17433 (gst_alloc_trace_print): Align columns.
17435 * gst/elements/gstttypefindelement.c:
17436 * gst/elements/gsttee.c:
17437 * gst/base/gstbasesrc.c:
17438 * gst/base/gstbasesink.c:
17439 * gst/base/gstbasetransform.c:
17440 * gst/gstqueue.c: Adapt for pad activation changes.
17442 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
17444 (gst_pipeline_dispose): Drop ref on sched.
17446 * gst/gstpad.c (gst_pad_init): Set the default activate func.
17447 (gst_pad_activate_default): Push mode by default.
17448 (pre_activate_switch, post_activate_switch): New stubs, things to
17449 do before and after switching activation modes on pads.
17450 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
17451 the pad's activate function to choose which mode to activate.
17452 Shortcut on deactivation and call the right function directly.
17453 (gst_pad_activate_pull): New API, (de)activates a pad in pull
17455 (gst_pad_activate_push): New API, same for push mode.
17456 (gst_pad_set_activate_function)
17457 (gst_pad_set_activatepull_function)
17458 (gst_pad_set_activatepush_function): Setters for new API.
17460 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
17461 Trace all miniobjects.
17462 (gst_mini_object_make_writable): Unref the arg if we copy, like
17463 gst_caps_make_writable.
17465 * gst/gstmessage.c (_gst_message_initialize): No trace init.
17467 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
17468 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
17469 Adapt for new pad API.
17471 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
17473 * gst/gstelement.h:
17474 * gst/gstelement.c (gst_element_iterate_src_pads)
17475 (gst_element_iterate_sink_pads): New API functions.
17477 * gst/gstelement.c (iterator_fold_with_resync): New utility,
17478 should fold into gstiterator.c in some form.
17479 (gst_element_pads_activate): Simplified via use of fold and
17480 delegation of decisions to gstpad->activate.
17482 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
17485 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
17486 class once in init, like gstmessage. Didn't run into this issue
17487 but it seems correct. Don't initialize a trace, gstminiobject does
17490 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
17491 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
17493 (assert_live_count): New util function, uses alloc traces to check
17496 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
17497 To be modified when unlink drops the internal pad.
17499 2005-06-27 Wim Taymans <wim@fluendo.com>
17501 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
17502 (gst_bin_change_state):
17503 Cleanup the get_state() function a little, make sure it
17504 iterates the same set of elements.
17505 Added stub iterate_state_order().
17507 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
17509 * docs/gst/gstreamer-docs.sgml:
17510 * docs/gst/gstreamer-sections.txt:
17511 * docs/gst/gstreamer.types:
17512 * docs/gst/tmpl/gstbasesink.sgml:
17513 * docs/gst/tmpl/gstbasesrc.sgml:
17514 * docs/gst/tmpl/gstbasetransform.sgml:
17515 * docs/gst/tmpl/gstelement.sgml:
17516 * docs/gst/tmpl/gstiterator.sgml:
17517 * gst/base/gstbasesrc.c:
17518 * gst/base/gstbasesrc.h:
17519 * gst/base/gstbasetransform.h:
17520 * gst/gstelement.c:
17521 * gst/gstiterator.h:
17522 adding basetransform and iterator docs
17524 2005-06-27 Andy Wingo <wingo@pobox.com>
17526 * docs/design/part-activation.txt: Notes on how activation should
17527 work -- not quite implemented yet.
17529 2005-06-25 Wim Taymans <wim@fluendo.com>
17531 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
17532 At least get the chain function correct, needs more
17535 2005-06-25 Wim Taymans <wim@fluendo.com>
17537 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17538 (gst_basesink_handle_object), (gst_basesink_event),
17539 (gst_basesink_do_sync), (gst_basesink_handle_event),
17540 (gst_basesink_change_state):
17542 Right, two problems here: ghostpads don't take locks and
17543 glib _rec_mutex_lock_full() with depth==0 still locks.
17544 Catch illegal locking and g_warn them.
17546 2005-06-25 Wim Taymans <wim@fluendo.com>
17548 * check/states/sinks.c: (START_TEST), (gst_object_suite):
17549 Have to check for completion now...
17551 2005-06-25 Wim Taymans <wim@fluendo.com>
17553 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17554 (gst_basesink_handle_object), (gst_basesink_event),
17555 (gst_basesink_do_sync), (gst_basesink_handle_event),
17556 (gst_basesink_change_state):
17558 Unlock STREAM_LOCK whatever the recursion was.
17560 2005-06-25 Wim Taymans <wim@fluendo.com>
17562 * gst/base/gstbasesink.c: (gst_basesink_set_property),
17563 (gst_basesink_preroll_queue_empty),
17564 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
17565 (gst_basesink_event), (gst_basesink_do_sync),
17566 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
17567 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
17568 (gst_basesink_change_state):
17569 Reworked the base sink, handle event and buffer serialisation
17570 correctly and removed possible deadlock.
17571 Handle EOS correctly.
17573 2005-06-25 Wim Taymans <wim@fluendo.com>
17575 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
17576 (gst_pipeline_change_state):
17577 * tools/gst-launch.c: (check_intr), (event_loop), (main):
17578 Allow elements to post EOS in the state change function.
17579 Fix up -launch, make it exit the poll loop when the
17580 pipeline actually changed state.
17581 Fix up warning parsing in -launch.
17583 2005-06-25 Wim Taymans <wim@fluendo.com>
17585 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
17586 (gst_tee_sink_activate):
17587 Core takes STREAM_LOCK for us now.
17589 2005-06-25 Wim Taymans <wim@fluendo.com>
17591 * gst/gstelement.c: (gst_element_get_state_func),
17592 (gst_element_set_state):
17593 * gst/gstelement.h:
17594 * gst/gstmessage.c: (gst_message_parse_error),
17595 (gst_message_parse_warning):
17596 Keep track of current target state while performing a state
17597 change so that subclasses can do something interesting.
17598 Fix parsing of warning/error messages when GError is NULL.
17600 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
17602 * docs/gst/Makefile.am:
17603 * docs/gst/gstreamer-docs.sgml:
17604 * docs/gst/gstreamer-sections.txt:
17605 * docs/gst/gstreamer.types:
17606 * docs/gst/tmpl/gstbasesink.sgml:
17607 * docs/gst/tmpl/gstbasesrc.sgml:
17608 * docs/gst/tmpl/gstbin.sgml:
17609 * docs/gst/tmpl/gstcompat.sgml:
17610 * docs/gst/tmpl/gstfakesink.sgml:
17611 * docs/gst/tmpl/gstfakesrc.sgml:
17612 * docs/gst/tmpl/gstfilesink.sgml:
17613 * docs/gst/tmpl/gstfilesrc.sgml:
17614 * docs/gst/tmpl/gstindex.sgml:
17615 * docs/manual/appendix-quotes.xml:
17616 * gst/base/gstbasesrc.h:
17617 * gst/elements/gstfakesrc.h:
17618 * gst/gstmessage.h:
17619 start pulling in base classes and elements in our docs
17621 2005-06-24 Stefan Kost <ensonic@users.sf.net>
17623 * docs/gst/Makefile.am:
17624 * docs/libs/Makefile.am:
17625 fixed make distcheck with gtk-doc 1.3
17627 2005-06-23 Wim Taymans <wim@fluendo.com>
17629 * gst/gstelement.c: (gst_element_get_state_func),
17630 (gst_element_set_state), (gst_element_change_state):
17631 When the state did not change, also report NO_PREROLL
17634 2005-06-23 Wim Taymans <wim@fluendo.com>
17636 * gst/gstpad.c: (gst_pad_event_default):
17637 * gst/gstqueue.c: (gst_queue_loop):
17638 No unsafe task pausing please.
17640 2005-06-23 Wim Taymans <wim@fluendo.com>
17642 * gst/schedulers/threadscheduler.c:
17643 (gst_thread_scheduler_task_start),
17644 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
17645 Ref the task before pushing it on the threadpool. This
17646 makes sure that we have a ref when the threadfunction is
17649 2005-06-23 Andy Wingo <wingo@pobox.com>
17651 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
17652 offset is greater than the file's size.
17654 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
17655 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
17656 * gst/gstobject.c (gst_object_class_init): Make the class lock
17657 recursive. Wim won't let me drop deep_notify. Decodebin works
17658 again, whoopdy doo.
17660 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
17661 internal pad, and hacks accordingly. Doesn't do it on the target
17662 pad because we change its caps. Probably catches all cases of
17664 (gst_ghost_pad_set_property): Connect to notify::caps as
17667 * tests/network-clock.scm (plot-simulation): Pipe data to the
17668 elite python skript.
17670 * tests/network-clock-utils.scm (define-parameter): New macro,
17671 defines a parameter that can be set via the command line.
17672 (set-parameter!, parse-parameter-arguments): Command line args
17675 * tests/plot-data: Simple matplotlib-based plotter, takes input on
17678 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
17680 * gst/elements/gsttypefindelement.c:
17681 (gst_type_find_element_handle_event):
17682 Don't restart typefinding on a discont.
17683 * gst/gstelement.c: (gst_element_set_state):
17684 Debug spelling fix.
17685 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
17686 Allow changing mode of an active pad.
17687 Debug output fixes.
17688 * gst/registries/gstlibxmlregistry.c: (load_feature):
17689 Don't cast a static pad template to a normal pad template.
17691 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
17693 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17694 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17695 remove gst_strtoll completely, since it didn't actually do
17696 anything more than what g_ascii_strtoull already does.
17697 check for range errors when deserializing
17698 do a cast for the unsigned cases; but further fixing needs
17699 a decision on what the interpretation of "(int)" and
17700 deserialization should be for values that fall outside the
17701 type's boundaries (ie, refuse, or interpret as casting)
17703 2005-06-23 Wim Taymans <wim@fluendo.com>
17705 * check/Makefile.am:
17706 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
17707 * docs/design/part-live-source.txt:
17708 * docs/design/part-states.txt:
17709 * gst/base/gstbasesrc.c: (gst_basesrc_init),
17710 (gst_basesrc_set_live), (gst_basesrc_is_live),
17711 (gst_basesrc_get_range), (gst_basesrc_activate),
17712 (gst_basesrc_change_state):
17713 * gst/base/gstbasesrc.h:
17714 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17715 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17716 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
17717 * gst/gstelement.c: (gst_element_get_state_func),
17718 (gst_element_set_state):
17719 * gst/gstelement.h:
17721 * tools/gst-launch.c: (event_loop), (main):
17722 Added support for live sources and other elements that
17724 Updated design docs, added live-source design doc.
17725 Implemented live source functionality in basesrc
17726 Fix error condition in _bin_get_state()
17727 Implement live source handling in -launch.
17728 Added check for live sources.
17729 Fixed case in GstBin where elements were changed state
17733 2005-06-23 Andy Wingo <wingo@pobox.com>
17735 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
17736 borken refcounting.
17738 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
17739 gst_caps_replace takes care of this for us.
17741 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
17742 gst_pad_set_caps on the target, not just its setcaps() function.
17744 * tests/network-clock.scm:
17745 * tests/network-clock-utils.scm: A network clock simulator.
17746 Something of an algorithmic testbed before doing something in C.
17748 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17750 * check/Makefile.am:
17751 * check/gst/capslist.h:
17752 copy over from 0.8, and add two with bitmasks specified with
17754 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17755 add test to parse everything from capslist.h
17756 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
17758 add test for structure deserialization
17759 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17760 add tests for deserialization of strings to int types
17761 * gst/gststructure.c: (gst_structure_nth_field_name):
17762 * gst/gststructure.h:
17763 add a way to get the name of a field referenced by index
17764 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17765 instead of checking if the resulting long long lies between
17766 min and max, we check if the long long would fit into
17767 a number of bytes for the final type.
17768 This fixes cases where a string represents 2^32 - 1, which
17769 when cast to int would be the (valid) -1, but is bigger than
17772 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17774 * gst/parse/grammar.y:
17775 add a log line for type deserialization
17777 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17779 * check/gst/gstvalue.c: (START_TEST):
17780 * gst/gstvalue.c: (gst_value_deserialize):
17781 return long long, not int, so gint64 deserialization actually
17782 works. Is there any flag that makes the compiler check this ?
17785 2005-06-22 Wim Taymans <wim@fluendo.com>
17788 Added convenience macros for setting buffers in GValue.
17790 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17792 * check/gst/.cvsignore:
17793 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17794 add a test deserializing int64, and comment part out because
17797 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17799 * check/Makefile.am:
17800 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17801 * testsuite/Makefile.am:
17802 * testsuite/caps/Makefile.am:
17803 * testsuite/caps/value_serialize.c:
17804 * testsuite/test_gst_init.c:
17805 move a value_serialize test over
17807 2005-06-20 Wim Taymans <wim@fluendo.com>
17812 * gst/gstvalue.c: (gst_value_compare_buffer),
17813 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17814 (gst_value_compare_flags), (gst_value_serialize_flags),
17815 (gst_value_deserialize_flags), (_gst_value_initialize):
17816 Fix serialisation of buffers, they are not boxed types anymore
17818 2005-06-20 Wim Taymans <wim@fluendo.com>
17820 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17821 Testcase to show error in buffer-on-caps serialisation.
17823 2005-06-20 Andy Wingo <wingo@pobox.com>
17825 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17826 will be adding to later.
17828 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17829 if its socks fill with rocks.
17830 (gst_system_clock_obtain): Set the name on object construction.
17831 Avoid double-checked locking.
17833 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
17835 * gst/gsturi.c: (gst_element_make_from_uri):
17836 Fix potential endless loop.
17838 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17840 * check/Makefile.am:
17842 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17844 move over from testsuite dir and clean up
17847 * testsuite/Makefile.am:
17848 * testsuite/tags/.cvsignore:
17849 * testsuite/tags/Makefile.am:
17850 * testsuite/tags/merge.c:
17851 remove testsuite/tags
17853 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17855 * docs/gst/gstreamer-sections.txt:
17856 * docs/gst/tmpl/gstenumtypes.sgml:
17857 * win32/gstenumtypes.c:
17858 clean up documentation build a little
17860 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17862 * check/gstcheck.h:
17863 add macros for checking refcounts on objects and caps
17864 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17865 add some more unit tests
17866 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17867 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17868 fix leaked refcounts (I hope :)) so unittest works
17872 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17874 * configure.ac: back to HEAD
17876 === release 0.9.1 ===
17878 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
17884 2005-06-17 Andy Wingo <wingo@pobox.com>
17886 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
17887 assert; it's always possible that the pad gets deactivated in
17888 between the checks in gstpad.c and the implementation. Rely on
17889 finish_preroll() to return a FLUSHING or similar instead of on the
17892 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
17893 clock and post an EOS message if we come out of finish_preroll in
17896 2005-06-16 David Schleef <ds@schleef.org>
17898 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17899 (gst_capsfilter_set_property): Allow NULL as possible value
17900 for filter_caps property, indicating GST_CAPS_ANY.
17902 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17904 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
17906 * gst/schedulers/Makefile.am:
17908 * gstreamer.spec.in:
17911 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17913 * gstreamer.spec.in:
17916 2005-06-08 Andy Wingo <wingo@pobox.com>
17918 * gst/gstutils.c: RPAD fixes all around.
17919 (gst_element_link_pads): Refcounting fixes.
17921 * tools/gst-inspect.c:
17922 * tools/gst-xmlinspect.c:
17924 * gst/base/gsttypefindhelper.c:
17925 * gst/base/gstbasesink.c:
17926 * gst/gstqueue.c: RPAD fixes.
17928 * gst/gstghostpad.h:
17929 * gst/gstghostpad.c: New ghost pad implementation as full proxy
17930 pads. The tricky thing is they provide both source and sink
17931 interfaces, since they proxy the internal pad for the external
17932 pad, and vice versa. Implement with lower-level ProxyPad objects,
17933 with the interior proxy pad as a child of the exterior ghost pad.
17934 Should write a doc on this.
17936 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
17937 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
17940 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
17941 pads are real pads. No ghost pads in this file. Not documenting
17942 the myriad s/RPAD/PAD/ and REALIZE fixes.
17943 (gst_pad_class_init): Add properties for "direction" and
17944 "template". Both are construct-only, so they can't change during
17945 the life of the pad. Fixes properly deriving from GstPad.
17946 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
17947 derived objects, just set properties when creating the objects via
17949 (gst_pad_get_parent): Implement as a function, return NULL if the
17950 parent is not an element.
17951 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
17952 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
17954 * gst/gstobject.c (gst_object_class_init): Make name a construct
17955 property. Don't set it in the object init.
17957 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
17958 with UNKNOWN direction.
17959 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
17960 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
17961 (gst_element_remove_pad): Remove ghost-pad special cases.
17962 (gst_element_pads_activate): Remove rpad cruft.
17964 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
17965 catch the pad's-parent-not-an-element case.
17967 * gst/gst.h: Include gstghostpad.h.
17969 * gst/gst.c (init_post): No more real, ghost pads.
17971 * gst/Makefile.am: Add gstghostpad.[ch].
17973 * check/Makefile.am:
17974 * check/gst/gstbin.c:
17975 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
17976 into a bin creates ghost pads, and that the refcounts are right.
17977 Partly moved from gstbin.c.
17979 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17981 * check/gst-libs/.cvsignore:
17982 * check/gst/.cvsignore:
17983 * check/pipelines/.cvsignore:
17985 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
17986 (START_TEST), (cleanup_suite), (main):
17987 add some tests related to cleanup after running pipelines
17989 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17991 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
17992 add a testsuite for GstBuffer
17994 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17996 * gst/gstminiobject.h:
17997 add defines for accessing the refcount
17999 2005-06-03 Stefan Kost <ensonic@users.sf.net>
18001 * Makefile.am: added support for html unit test coverage reports
18003 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
18005 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
18006 Free existing caps if the capsfilter changes. Add a FIXME about
18007 setting those caps on the pads.
18009 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
18010 Before adding a ghost pad to a parent bin, check that there isn't
18011 already one for the element on the bin. Prevents infinite recursion
18012 when using decodebin in parse pipelines. Andy says he'll rewrite the
18013 way this works anyway, so ignore the hack.
18015 2005-06-02 Andy Wingo <wingo@pobox.com>
18017 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
18018 file size, pass it on to the type find helper.
18020 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
18021 segment_start and segment_end properly according to the seek
18022 method. Segment_end is still a bit flaky because offset can be
18023 negative for CUR and END cases, but it takes -1 as an "unset"
18026 2005-06-02 Wim Taymans <wim@fluendo.com>
18028 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
18029 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
18030 (gst_basesink_activate):
18031 * gst/base/gstbasesink.h:
18032 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18033 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
18034 (gst_pad_query), (gst_pad_start_task):
18036 * gst/gstqueue.c: (gst_queue_bufferalloc),
18037 (gst_queue_handle_sink_event), (gst_queue_chain):
18038 Bufferalloc: return GstFlowReturn to more accuratly report
18039 why allocation failed.
18041 2005-06-02 Wim Taymans <wim@fluendo.com>
18043 * gst/gstpipeline.c: (gst_pipeline_send_event):
18044 Take snapshot of state without blocking.
18046 2005-06-02 Wim Taymans <wim@fluendo.com>
18048 * docs/design/part-TODO.txt:
18049 * docs/design/part-caps.txt:
18050 * docs/design/part-clocks.txt:
18051 * docs/design/part-negotiation.txt:
18052 * docs/design/part-preroll.txt:
18055 2005-05-30 Wim Taymans <wim@fluendo.com>
18057 * gst/elements/gstidentity.c: (gst_identity_event),
18058 (gst_identity_transform), (gst_identity_get_property):
18059 Protect last_message property as it is accessed from
18062 2005-05-30 Wim Taymans <wim@fluendo.com>
18064 * gst/gstelement.c: (gst_element_init),
18065 (gst_element_pads_activate), (gst_element_change_state):
18066 Slicker pad activation code.
18068 2005-05-30 Wim Taymans <wim@fluendo.com>
18071 * gst/gstelement.h:
18072 * gst/gstelementfactory.h:
18074 Move elementfactory methods to separate .h file.
18076 2005-05-30 Wim Taymans <wim@fluendo.com>
18078 * docs/design/part-overview.txt:
18079 * gst/gstsystemclock.h:
18080 Small typo fixes, doc updates.
18082 2005-05-30 Wim Taymans <wim@fluendo.com>
18084 * gst/gst.c: (gst_init_get_popt_table), (init_post),
18085 (init_popt_callback):
18086 Remove cpu-opt flag.
18088 2005-05-30 Wim Taymans <wim@fluendo.com>
18090 * gst/gstbuffer.c: (gst_subbuffer_finalize),
18091 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
18093 Avoid typechecking in places where not needed.
18094 Added accessor for malloc_data.
18096 2005-05-30 Wim Taymans <wim@fluendo.com>
18098 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
18099 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
18100 (gst_pad_configure_sink), (gst_pad_configure_src),
18101 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
18102 (gst_pad_start_task):
18103 Propagate errors from _set_caps() in configure_src/sink
18104 functions instead of returning TRUE.
18105 FLUSH events can travel up and downstream
18108 2005-05-30 Wim Taymans <wim@fluendo.com>
18110 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
18111 (gst_basesink_activate):
18112 Handle EOS in preroll.
18114 2005-05-30 Wim Taymans <wim@fluendo.com>
18116 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18117 (gst_queue_loop), (gst_queue_handle_src_event):
18118 Remove old pieces of code
18119 Flushing the queue in an upstream event is a very bad idea.
18121 2005-05-26 Andy Wingo <wingo@pobox.com>
18123 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
18124 gst_value_set_mini_object so as to add a ref on the object (which
18125 will be removed when the value is unset).
18127 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
18128 arg type in ::handoff.
18130 * gst/gstelement.c (gst_element_change_state): Also deactivate
18131 pads in READY->NULL, just in case the element didn't make it to
18132 PAUSED. Wingo tested, Wim approved.
18134 2005-05-26 Wim Taymans <wim@fluendo.com>
18136 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18137 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
18138 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
18139 A flushing pad cannot be used to alloc_buffer from.
18141 2005-05-26 Wim Taymans <wim@fluendo.com>
18143 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
18144 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
18145 (gst_bus_source_dispatch), (gst_bus_source_finalize),
18146 (gst_bus_create_watch), (gst_bus_add_watch_full):
18148 Implement a real GSource and use g_main_context_wakeup() to
18149 signal new messages instead of the socketpair.
18151 2005-05-25 Wim Taymans <wim@fluendo.com>
18153 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
18154 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
18155 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18156 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
18157 (gst_pad_send_event), (gst_pad_start_task):
18158 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
18159 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18160 (gst_queue_sink_activate), (gst_queue_src_activate),
18161 (gst_queue_change_state):
18163 Fix state changes for non sinks. We now change sinks, then elements
18164 with unconnected srcpads, then the rest.
18165 More efficient queue unlocking in flush and state changes.
18166 Set the pad activate mode even if it does not have an activate
18169 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18171 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
18172 Don't go in pull mode for non-seekable sources.
18173 * gst/elements/gsttypefindelement.h:
18174 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18175 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
18176 (free_entry), (stop_typefinding),
18177 (gst_type_find_element_handle_event), (find_peek),
18178 (gst_type_find_element_chain), (do_pull_typefind),
18179 (gst_type_find_element_change_state):
18180 Allow typefinding (w/o seeking) in push-mode, simplified version
18181 of what was in 0.8.
18182 * gst/gstutils.c: (gst_buffer_join):
18184 gst_buffer_join() from 0.8.
18186 2005-05-25 Wim Taymans <wim@fluendo.com>
18188 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18189 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
18190 (gst_pad_send_event), (gst_pad_start_task):
18191 Disable attempt at mode switching until it is figured out.
18193 2005-05-25 Wim Taymans <wim@fluendo.com>
18195 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
18196 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
18197 (gst_basesink_finish_preroll), (gst_basesink_chain),
18198 (gst_basesink_loop), (gst_basesink_activate),
18199 (gst_basesink_change_state):
18200 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
18201 (gst_basesrc_get_range), (gst_basesrc_loop),
18202 (gst_basesrc_activate):
18203 * gst/elements/gsttee.c: (gst_tee_sink_activate):
18204 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
18205 (gst_real_pad_init), (gst_real_pad_set_property),
18206 (gst_real_pad_get_property), (gst_pad_set_active),
18207 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
18208 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
18209 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
18210 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
18211 (gst_pad_event_default_dispatch), (gst_pad_event_default),
18212 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
18213 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
18214 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
18215 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
18216 (gst_pad_stop_task):
18218 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18219 (gst_queue_loop), (gst_queue_src_activate):
18220 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
18221 (gst_task_get_state):
18223 * gst/schedulers/threadscheduler.c:
18224 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
18225 Implement gst_pad_pause/start/stop_task(), take STREAM lock
18227 Remove ACTIVE pad flag, use FLUSHING everywhere
18228 Added _pad_chain(), _pad_get_range() to call chain/getrange
18230 Add locks around IS_FLUSHING when reading.
18231 Take STREAM lock in chain(), get_range() functions so plugins
18232 don't need to take it anymore.
18236 2005-05-25 Wim Taymans <wim@fluendo.com>
18238 * tools/gst-launch.c: (event_loop):
18239 Unref message after using its contents instead of
18242 2005-05-24 Wim Taymans <wim@fluendo.com>
18244 * docs/design/draft-ghostpads.txt:
18245 * docs/design/draft-push-pull.txt:
18246 * docs/design/draft-query.txt:
18247 * docs/design/part-overview.txt:
18248 Docs updates, added general overview doc.
18250 2005-05-21 David Schleef <ds@schleef.org>
18252 * docs/gst/tmpl/old/GstBin.sgml:
18253 * docs/gst/tmpl/old/GstBuffer.sgml:
18254 * docs/gst/tmpl/old/GstCaps.sgml:
18255 * docs/gst/tmpl/old/GstClock.sgml:
18256 * docs/gst/tmpl/old/GstCompat.sgml:
18257 * docs/gst/tmpl/old/GstData.sgml:
18258 * docs/gst/tmpl/old/GstElement.sgml:
18259 * docs/gst/tmpl/old/GstEvent.sgml:
18260 * docs/gst/tmpl/old/GstIndex.sgml:
18261 * docs/gst/tmpl/old/GstStructure.sgml:
18262 * docs/gst/tmpl/old/GstTag.sgml:
18263 * docs/gst/tmpl/old/cothreads.sgml:
18264 * docs/gst/tmpl/old/cothreads_compat.sgml:
18265 * docs/gst/tmpl/old/gettext.sgml:
18266 * docs/gst/tmpl/old/gobject2gtk.sgml:
18267 * docs/gst/tmpl/old/grammar.tab.sgml:
18268 * docs/gst/tmpl/old/gst-i18n-app.sgml:
18269 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
18270 * docs/gst/tmpl/old/gst_private.sgml:
18271 * docs/gst/tmpl/old/gstaggregator.sgml:
18272 * docs/gst/tmpl/old/gstarch.sgml:
18273 * docs/gst/tmpl/old/gstatomic_impl.sgml:
18274 * docs/gst/tmpl/old/gstbufferstore.sgml:
18275 * docs/gst/tmpl/old/gstdata_private.sgml:
18276 * docs/gst/tmpl/old/gstdisksink.sgml:
18277 * docs/gst/tmpl/old/gstdisksrc.sgml:
18278 * docs/gst/tmpl/old/gstelementfactory.sgml:
18279 * docs/gst/tmpl/old/gstextratypes.sgml:
18280 * docs/gst/tmpl/old/gstfakesink.sgml:
18281 * docs/gst/tmpl/old/gstfakesrc.sgml:
18282 * docs/gst/tmpl/old/gstfdsink.sgml:
18283 * docs/gst/tmpl/old/gstfdsrc.sgml:
18284 * docs/gst/tmpl/old/gstfilesink.sgml:
18285 * docs/gst/tmpl/old/gstfilesrc.sgml:
18286 * docs/gst/tmpl/old/gsthttpsrc.sgml:
18287 * docs/gst/tmpl/old/gstidentity.sgml:
18288 * docs/gst/tmpl/old/gstindexfactory.sgml:
18289 * docs/gst/tmpl/old/gstmarshal.sgml:
18290 * docs/gst/tmpl/old/gstmd5sink.sgml:
18291 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
18292 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
18293 * docs/gst/tmpl/old/gstpadtemplate.sgml:
18294 * docs/gst/tmpl/old/gstpipefilter.sgml:
18295 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
18296 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
18297 * docs/gst/tmpl/old/gstshaper.sgml:
18298 * docs/gst/tmpl/old/gstspider.sgml:
18299 * docs/gst/tmpl/old/gstspideridentity.sgml:
18300 * docs/gst/tmpl/old/gststatistics.sgml:
18301 * docs/gst/tmpl/old/gsttee.sgml:
18302 * docs/gst/tmpl/old/gsttimecache.sgml:
18303 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
18304 * docs/gst/tmpl/old/gstxmlregistry.sgml:
18305 * docs/gst/tmpl/old/gthread-cothreads.sgml:
18306 * docs/gst/tmpl/old/types.sgml:
18307 I didn't intend to add these or check them in.
18309 2005-05-19 David Schleef <ds@schleef.org>
18311 * configure.ac: Use -no-common everywhere. In a sane world, it
18312 would be the default in libtool, because without it, you can't
18313 build DLLs on Windows.
18314 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
18315 * docs/gst/gstreamer-sections.txt:
18316 * docs/gst/tmpl/gstcpu.sgml:
18317 * docs/gst/tmpl/gstdata.sgml:
18318 * docs/gst/tmpl/gstthread.sgml:
18320 2005-05-19 David Schleef <ds@schleef.org>
18322 * gst/gstminiobject.c: (gst_value_set_mini_object),
18323 (gst_value_take_mini_object), (gst_value_get_mini_object):
18324 * gst/gstminiobject.h: Add GValue set/get functions.
18326 2005-05-19 Wim Taymans <wim@fluendo.com>
18328 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
18329 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
18330 (gst_subbuffer_init), (gst_buffer_is_span_fast):
18332 * gst/gstbus.c: (gst_bus_post):
18333 * gst/gstelement.c: (gst_element_get_random_pad):
18334 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
18335 Make subbufer unref the parent in finalize.
18336 some more debugging info.
18339 2005-05-19 Wim Taymans <wim@fluendo.com>
18341 * gst/base/gstbasesink.c: (gst_basesink_class_init),
18342 (gst_basesink_init), (gst_basesink_finalize),
18343 (gst_basesink_activate), (gst_basesink_change_state):
18344 Don't free preroll queue too early.
18346 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18350 Hi, I'm outdated. Please shoot me.
18352 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18354 * gst/gstpipeline.c: (gst_pipeline_send_event):
18355 Do not access variables after they have been deleted.
18357 2005-05-19 Wim Taymans <wim@fluendo.com>
18359 * tools/gst-inspect.c: (print_plugin_features):
18360 A plugin feature does unfortunatly not use the
18363 2005-05-18 Wim Taymans <wim@fluendo.com>
18365 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
18366 Port _span() functions to new subbuffers.
18368 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18370 * gst/gstbin.c: (gst_bin_add_func):
18371 Fix clock settery in bins when adding kids after the clock has
18374 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18376 * gst/elements/gstidentity.c: (gst_identity_class_init):
18377 Workaround until signals support GstMiniObject.
18379 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
18382 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
18384 2005-05-18 Wim Taymans <wim@fluendo.com>
18386 * gst/base/Makefile.am:
18387 * gst/base/gstadapter.c: (gst_adapter_base_init),
18388 (gst_adapter_class_init), (gst_adapter_init),
18389 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
18390 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
18391 (gst_adapter_flush), (gst_adapter_available),
18392 (gst_adapter_available_fast):
18393 * gst/base/gstadapter.h:
18394 Ported and added adapter to the base classes.
18396 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18399 * gst/gstmessage.c:
18400 Make sure the class is reffed/unreffed once before threads can be
18401 used. Fixes #304551.
18403 2005-05-17 Wim Taymans <wim@fluendo.com>
18405 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
18406 (gst_basesink_chain_unlocked), (gst_basesink_activate):
18407 * gst/gstminiobject.c: (gst_mini_object_get_type),
18408 (gst_mini_object_free):
18409 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
18410 (gst_pad_push), (gst_pad_push_event):
18411 * gst/gstqueue.c: (gst_queue_change_state):
18412 Don't queue buffers in basesink when we are flushing.
18413 Unref buffer when flushing in basesink.
18414 Flush queue when going to READY
18415 Unref buffer when _push() returns an error.
18416 Don't free MiniObject instance when refcount is incremented
18417 in _finalize() so that we can recover objects.
18419 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
18421 * docs/manual/advanced-schedulers.xml:
18422 * docs/manual/appendix-checklist.xml:
18423 * docs/pwg/advanced-clock.xml:
18424 * docs/pwg/advanced-interfaces.xml:
18425 * docs/pwg/advanced-request.xml:
18426 * docs/pwg/advanced-types.xml:
18427 * docs/pwg/intro-preface.xml:
18428 * examples/plugins/example.c: (gst_example_get_type),
18429 (gst_example_class_init), (gst_example_chain),
18430 (gst_example_set_property), (gst_example_get_property),
18431 (gst_example_change_state), (plugin_init):
18432 * examples/plugins/example.h:
18435 2005-05-17 Wim Taymans <wim@fluendo.com>
18437 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
18438 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
18439 * gst/gstqueue.c: (gst_queue_change_state):
18440 Clear queue when going to READY.
18441 Remove IN_SETCAPS flag too.
18443 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
18445 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
18446 Remove implicit cast from gboolean to GstElementStateReturn;
18447 make sure we still return failure in paused => ready case if
18448 the parent class fails to change state and our own stop
18451 2005-05-17 Wim Taymans <wim@fluendo.com>
18453 * tools/gst-launch.c: (event_loop):
18454 Message was unreffed too soon.
18456 2005-05-16 Andy Wingo <wingo@pobox.com>
18458 * gst/gstbin.c (sink_iterator_filter): Err... um...
18460 * check/gst/gstbin.c (test_ghost_pads): New test for the
18461 ghosting-if-elements-not-in-same-bin behavior.
18463 2005-05-16 David Schleef <ds@schleef.org>
18465 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
18466 accessing refcount directly.
18468 2005-05-15 David Schleef <ds@schleef.org>
18470 * check/Makefile.am: remove GstData checks
18471 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
18472 * gst/Makefile.am: add miniobject, remove data
18473 * gst/gst.h: add miniobject, remove data
18474 * gst/gstdata.c: remove
18475 * gst/gstdata.h: remove
18476 * gst/gstdata_private.h: remove
18477 * gst/gsttypes.h: remove GstEvent and GstMessage
18478 * gst/gstelement.c: (gst_element_post_message): fix for API changes
18479 * gst/gstmarshal.list: change BOXED -> OBJECT
18481 Implement GstMiniObject.
18482 * gst/gstminiobject.c:
18483 * gst/gstminiobject.h:
18485 Modify to be subclasses of GstMiniObject.
18486 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
18487 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
18488 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
18489 (gst_subbuffer_get_type), (gst_subbuffer_init),
18490 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
18493 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
18494 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
18495 (_gst_event_copy), (gst_event_new):
18497 * gst/gstmessage.c: (_gst_message_initialize),
18498 (gst_message_get_type), (gst_message_class_init),
18499 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
18500 (gst_message_new), (gst_message_new_error),
18501 (gst_message_new_warning), (gst_message_new_tag),
18502 (gst_message_new_state_changed), (gst_message_new_application):
18503 * gst/gstmessage.h:
18504 * gst/gstprobe.c: (gst_probe_perform),
18505 (gst_probe_dispatcher_dispatch):
18507 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
18508 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
18509 (_gst_query_copy), (gst_query_new):
18511 Update elements for GstData -> GstMiniObject changes
18513 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
18514 (gst_queue_chain), (gst_queue_loop):
18515 * gst/elements/gstbufferstore.c:
18516 (gst_buffer_store_add_buffer_func),
18517 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
18518 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18519 (gst_fakesink_render):
18520 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
18521 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
18522 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
18523 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
18524 (gst_filesrc_create_read):
18525 * gst/elements/gstidentity.c: (gst_identity_class_init):
18526 * gst/elements/gsttypefindelement.c:
18527 (gst_type_find_element_src_event), (free_entry_buffers),
18528 (gst_type_find_element_handle_event):
18529 * libs/gst/dataprotocol/dataprotocol.c:
18530 (gst_dp_header_from_buffer):
18531 * libs/gst/dataprotocol/dataprotocol.h:
18532 * libs/gst/dataprotocol/dp-private.h:
18534 2005-05-15 David Schleef <ds@schleef.org>
18536 * gst/elements/gstelements.c: Don't include headers that were
18539 2005-05-15 David Schleef <ds@schleef.org>
18541 * gst/elements/Makefile.am: Remove some elements that don't
18542 need to be in the core (or even exist at all).
18543 * gst/elements/gstaggregator.c:
18544 * gst/elements/gstaggregator.h:
18545 * gst/elements/gstmd5sink.c:
18546 * gst/elements/gstmd5sink.h:
18547 * gst/elements/gstmultifilesrc.c:
18548 * gst/elements/gstmultifilesrc.h:
18549 * gst/elements/gstpipefilter.c:
18550 * gst/elements/gstpipefilter.h:
18551 * gst/elements/gstshaper.c:
18552 * gst/elements/gstshaper.h:
18553 * gst/elements/gststatistics.c:
18554 * gst/elements/gststatistics.h:
18555 * po/POTFILES.in: Remove above files.
18557 2005-05-14 Andy Wingo <wingo@pobox.com>
18559 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
18560 so as to get the refs right.
18561 (sink_iterator_filter): New function, wraps bin_element_is_sink,
18562 unreffing objects that don't pass the filter.
18564 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
18565 gst_element_set_bus.
18566 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
18567 normal cases, this will destroy the bus.
18569 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
18572 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
18575 2005-05-13 Andy Wingo <wingo@pobox.com>
18577 * gst/gstutils.c (gst_element_link_pads): Instead of calling
18578 gst_pad_link, call pad_link_maybe_ghosting,
18579 (pad_link_maybe_ghosting): Links pads, making sure that the
18580 elements being linked are in the same bin.
18581 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
18582 Helpers for pad_link_maybe_ghosting.
18584 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
18587 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
18589 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
18591 * docs/design/part-element-source.txt:
18594 2005-05-12 Wim Taymans <wim@fluendo.com>
18596 * gst/base/gstbasesink.c: (gst_basesink_init),
18597 (gst_basesink_activate):
18598 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
18599 (gst_basesrc_is_seekable):
18600 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18601 (bin_element_is_sink), (gst_bin_change_state):
18602 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18603 * gst/gstelement.h:
18604 Identify sinks by their flag to avoid overly complicated
18606 Do state changes even for elements not reachable from the
18608 BaseSink is a sink now :)
18609 Some more debugging info in the basesrc.
18612 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18614 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
18615 Implement _query on a bin, similar to _send_event.
18617 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
18619 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
18620 Discont event offset format should be GST_FORMAT_BYTES,
18621 not GST_FORMAT_TIME.
18623 2005-05-12 Wim Taymans <wim@fluendo.com>
18625 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
18626 Same fix as Ronald's but without the signal.
18628 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18630 * gst/gstutils.c: (gst_element_query_position):
18631 No, an element is not a pad.
18633 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18635 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
18636 (gst_bin_get_state):
18637 If a child is removed from a bin while we remove the child from
18638 the bin and while we're retrieving its state, signal this to the
18639 get_state function so we abort the wait (instead of waiting for
18640 a timeout) and can immediately re-iterate over all other elements.
18642 2005-05-12 Wim Taymans <wim@fluendo.com>
18644 * gst/base/Makefile.am:
18645 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
18646 (gst_basesrc_start):
18647 * gst/base/gstbasesrc.h:
18648 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
18649 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
18650 (gst_pushsrc_init), (gst_pushsrc_create):
18651 * gst/base/gstpushsrc.h:
18652 Added is_seekable to BaseSrc
18653 Added simple PushSrc.
18655 2005-05-11 Wim Taymans <wim@fluendo.com>
18657 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18658 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18659 (gst_element_link_pads), (gst_element_query_position),
18660 (gst_element_query_convert), (intersect_caps_func),
18661 (gst_pad_query_position), (gst_pad_query_convert):
18662 Fix refcounting in utils function.
18663 No point in trying to activate a pad when it's added, it could
18664 be added from the state change function and then we deadlock, the
18665 element has to decide what to do.
18667 2005-05-10 Andy Wingo <wingo@pobox.com>
18669 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
18670 *all* the arguments.
18672 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
18673 stream lock if it's a FLUSH_DONE; normal flushes don't get the
18674 lock (according to the docs -- if this is wrong change the docs).
18676 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
18677 flush messages in the NULL state.
18679 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
18680 message immediately and return.
18681 (gst_bus_set_flushing): New function. If a bus is flushing, it
18682 flushes out any queued messages and immediately unrefs new
18683 messages. This is so when an element goes to NULL, all of the
18684 unhandled messages coming from it can be freed, and their
18685 references to the element dropped. In other words: message source
18686 ref considered harmful :P
18688 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
18689 we're finished with it.
18691 * gst/gstmessage.c (gst_message_new_state_changed):
18693 2005-05-10 Wim Taymans <wim@fluendo.com>
18695 * gst/gstvalue.c: (gst_value_compare_flags),
18696 (gst_value_serialize_flags), (gst_value_deserialize_flags),
18697 (_gst_value_initialize):
18698 Added flags serialize/deserialize/compare code.
18700 2005-05-09 Andy Wingo <wingo@pobox.com>
18702 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
18703 Intersect the peer's caps with our caps.
18705 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18707 * gst/base/gsttypefindhelper.c: (helper_find_peek):
18708 * gst/elements/gsttypefindelement.c: (find_peek):
18709 Handle negative offsets better. Fixes decodebin.
18711 2005-05-09 Wim Taymans <wim@fluendo.com>
18713 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
18714 (gst_base_transform_event):
18715 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
18716 Implement accept_caps.
18717 Fix silly lock/unlock mismatch in base class.
18719 2005-05-09 Wim Taymans <wim@fluendo.com>
18721 * docs/design/draft-push-pull.txt:
18722 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
18723 * gst/elements/gstfilesink.c: (gst_filesink_init),
18724 (gst_filesink_query):
18725 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18726 (gst_type_find_handle_src_query), (find_element_get_length):
18727 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
18728 * gst/gstelement.h:
18729 * gst/gstmessage.c:
18730 * gst/gstmessage.h:
18731 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
18732 (gst_real_pad_get_caps_unlocked),
18733 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
18734 (gst_pad_event_default_dispatch), (gst_pad_event_default),
18735 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
18736 (gst_real_pad_dispose), (gst_real_pad_finalize),
18737 (gst_pad_load_and_link), (gst_pad_save_thyself),
18738 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
18739 (gst_pad_check_pull_range), (gst_pad_pull_range),
18740 (gst_pad_template_get_type), (gst_pad_template_class_init),
18741 (gst_pad_template_init), (gst_pad_template_dispose),
18742 (name_is_valid), (gst_static_pad_template_get),
18743 (gst_pad_template_new), (gst_static_pad_template_get_caps),
18744 (gst_pad_template_get_caps), (gst_pad_set_element_private),
18745 (gst_pad_get_element_private), (gst_pad_start_task),
18746 (gst_pad_pause_task), (gst_pad_stop_task),
18747 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
18748 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
18749 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
18750 (gst_ghost_pad_new):
18752 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
18753 (gst_query_new_position), (gst_query_set_position),
18754 (gst_query_parse_position), (gst_query_new_convert),
18755 (gst_query_set_convert), (gst_query_parse_convert):
18757 * gst/gstqueryutils.c:
18758 * gst/gstqueryutils.h:
18759 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18760 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18761 (gst_queue_handle_src_query):
18762 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18763 (gst_element_query_position), (gst_element_query_convert),
18764 (intersect_caps_func), (gst_pad_query_position),
18765 (gst_pad_query_convert):
18767 * tools/gst-inspect.c: (print_pad_info):
18768 * tools/gst-xmlinspect.c: (print_element_info):
18769 Remove old query functions. Ported old code.
18770 Added position/convert helper functions to gstutils.
18771 Reordered gstpad.c code, grouping relevant things.
18772 Remove gst_message_new(), always need to speficy a specific
18776 2005-05-09 Andy Wingo <wingo@pobox.com>
18778 * gst/gstiterator.h: Add some includes.
18780 * gst/gstqueryutils.h: Include more headers.
18783 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
18784 some uses of gst_pad_query.
18786 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18787 NULL out parameters.
18788 (gst_query_new_position): New proc, allocates a new position
18791 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18792 gstqueryutils.c to the build.
18794 * gst/gststructure.c (gst_structure_set_valist): Implement with
18795 the generic G_VALUE_COLLECT.
18797 2005-05-08 Edward Hervey <bilboed@bilboed.com>
18799 * gst/Makefile.am: (gst_headers):
18800 Added gstqueryutils.h to the list of headers to install, that was
18801 a 'nachty' move wingo :)
18803 2005-05-06 Andy Wingo <wingo@pobox.com>
18806 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18807 GstData, init a memchunk.
18808 (standard_definitions): Add a few query types, deprecate a few.
18809 (gst_query_get_type): New proc.
18810 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18812 (gst_query_new_application, gst_query_get_structure): New public
18815 * docs/design/draft-query.txt: Removed LINKS from the query types,
18816 because all the rest can be dispatched to other pads -- seemed
18817 ugly to have a query that couldn't be dispatched. internal_links
18818 is fine as a pad method.
18820 * gst/gstpad.h: Add query2 as a pad method, add the new functions
18821 in gstpad.c, but maintain binary compatibility for the moment.
18822 Will fix before 0.9 is out.
18824 * gst/gstqueryutils.c:
18825 * gst/gstqueryutils.h: New files, implement 3 methods for each
18826 query type: parse_query, parse_response, and set. Probably need an
18829 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18831 * gst/elements/gstfilesink.c (gst_filesink_query2):
18832 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18833 query_types, and formats methods.
18835 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18836 (gst_pad_set_query2_function): New functions.
18837 (gst_real_pad_init): Set query2_default as the default query2
18838 function. Basically just dispatches to internally linked pads.
18842 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18843 without using the atomic operations. Only one thread can possibly
18844 be accessing the data at this point. Changed so as to avoid
18845 gst_atomic operations.
18847 2005-05-06 Wim Taymans <wim@fluendo.com>
18849 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18850 Also set caps if we use the fallback buffer alloc.
18852 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
18854 * docs/gst/Makefile.am:
18855 * docs/gst/gstreamer-docs.sgml:
18856 * docs/gst/gstreamer-sections.txt:
18857 * docs/gst/tmpl/gstatomic.sgml:
18858 * docs/gst/tmpl/gstmemchunk.sgml:
18859 * testsuite/elements/struct_i386.h:
18860 * win32/GStreamer.vcproj:
18862 Purge GstAtomic stuff from docs and win32 makefiles as well
18864 2005-05-06 Wim Taymans <wim@fluendo.com>
18866 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18867 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18868 * gst/gstpad.c: (gst_pad_peer_get_caps):
18869 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18870 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18871 (gst_queue_src_activate), (gst_queue_change_state):
18873 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18874 (intersect_caps_func):
18875 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18876 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18877 Some fixes for the peer_get_caps() change.
18879 2005-05-06 Wim Taymans <wim@fluendo.com>
18881 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18882 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
18883 (gst_basesink_activate):
18884 Actually do something with error codes returned from the push
18887 2005-05-06 Wim Taymans <wim@fluendo.com>
18889 * docs/design/part-element-sink.txt:
18890 * docs/design/part-element-source.txt:
18891 * gst/base/gstbasesink.c: (gst_basesink_class_init),
18892 (gst_basesink_event), (gst_basesink_activate):
18893 * gst/base/gstbasesink.h:
18894 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
18895 (gst_basesrc_activate):
18896 * gst/base/gstbasesrc.h:
18897 * gst/gstelement.c: (gst_element_pads_activate):
18898 Some more documentation.
18899 Fixed scheduling decision in _pads_activate().
18901 2005-05-05 Andy Wingo <wingo@pobox.com>
18903 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
18906 2005-05-05 Wim Taymans <wim@fluendo.com>
18908 * gst/base/Makefile.am:
18909 * gst/base/gstbasesink.h:
18910 * gst/base/gstbasesrc.c: (gst_basesrc_init),
18911 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
18912 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
18913 (gst_collectpads_class_init), (gst_collectpads_init),
18914 (gst_collectpads_finalize), (gst_collectpads_new),
18915 (gst_collectpads_set_function), (gst_collectpads_add_pad),
18916 (find_pad), (gst_collectpads_remove_pad),
18917 (gst_collectpads_is_active), (gst_collectpads_collect),
18918 (gst_collectpads_collect_range), (gst_collectpads_start),
18919 (gst_collectpads_stop), (gst_collectpads_peek),
18920 (gst_collectpads_pop), (gst_collectpads_available),
18921 (gst_collectpads_read), (gst_collectpads_flush),
18922 (gst_collectpads_chain):
18923 * gst/base/gstcollectpads.h:
18924 * gst/elements/Makefile.am:
18925 * gst/elements/gstelements.c:
18926 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18927 (gst_fakesink_get_times), (gst_fakesink_event),
18928 (gst_fakesink_preroll), (gst_fakesink_render):
18929 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18930 (gst_filesink_init), (gst_filesink_set_location),
18931 (gst_filesink_open_file), (gst_filesink_close_file),
18932 (gst_filesink_pad_query), (gst_filesink_event),
18933 (gst_filesink_render), (gst_filesink_change_state):
18934 * gst/elements/gstfilesink.h:
18935 Added object to help in making collect pad based elements.
18937 Make event function in sink baseclass return gboolean.
18939 2005-05-05 Wim Taymans <wim@fluendo.com>
18941 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
18942 (gst_bin_get_by_name):
18944 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
18945 (gst_clock_finalize):
18946 * gst/gstdata.c: (gst_data_replace):
18948 * gst/gstelement.c: (gst_element_request_pad),
18949 (gst_element_pads_activate):
18950 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
18951 (gst_object_unref):
18952 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18953 (gst_pad_set_checkgetrange_function),
18954 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
18955 (gst_pad_check_pull_range), (gst_pad_pull_range),
18956 (gst_static_pad_template_get_caps), (gst_pad_start_task),
18957 (gst_pad_pause_task), (gst_pad_stop_task):
18958 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18959 (gst_element_request_pad), (gst_pad_proxy_getcaps):
18960 Fix name lookup in GstBin.
18961 Added _data_replace() function and _buffer_replace()
18962 Use finalize method to clean up clock.
18963 Fix refcounting on request pads.
18964 Fix pad schedule mode error.
18965 Some more object refcounting debug info,
18968 2005-05-04 Andy Wingo <wingo@pobox.com>
18970 * check/Makefile.am:
18971 * docs/gst/tmpl/gstatomic.sgml:
18972 * docs/gst/tmpl/gstplugin.sgml:
18973 * gst/base/gstbasesink.c: (gst_basesink_activate):
18974 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
18975 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
18976 (gst_basesrc_query), (gst_basesrc_set_property),
18977 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
18978 (gst_basesrc_activate):
18979 * gst/base/gstbasesrc.h:
18980 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
18981 (gst_base_transform_src_activate):
18982 * gst/elements/gstelements.c:
18983 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18984 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18985 * gst/elements/gsttee.c: (gst_tee_sink_activate):
18986 * gst/elements/gsttypefindelement.c: (find_element_get_length),
18987 (gst_type_find_element_checkgetrange),
18988 (gst_type_find_element_activate):
18989 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
18990 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
18991 (gst_caps_load_thyself):
18992 * gst/gstelement.c: (gst_element_pads_activate),
18993 (gst_element_save_thyself), (gst_element_restore_thyself):
18994 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
18995 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
18997 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
18998 (gst_xml_parse_file), (gst_xml_parse_memory),
18999 (gst_xml_get_element), (gst_xml_make_element):
19000 * gst/indexers/gstfileindex.c: (gst_file_index_load),
19001 (_file_index_id_save_xml), (gst_file_index_commit):
19002 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
19003 (read_enum), (load_pad_template), (load_feature), (load_plugin),
19005 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
19006 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
19007 * tools/gst-complete.c: (main):
19008 * tools/gst-compprep.c: (main):
19009 * tools/gst-inspect.c: (print_element_properties_info):
19010 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
19011 * tools/gst-xmlinspect.c: (print_element_properties):
19014 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
19016 * gst/gstplugin.c: (gst_plugin_check_module),
19017 (gst_plugin_check_file), (gst_plugin_load_file):
19018 apply patch from #172526 to make register work on MacOSX
19020 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
19022 * docs/gst/tmpl/gstconfig.sgml:
19023 * gst/gstconfig.h.in:
19024 move documentation for some symbols. Add doc for GST_PTR_FORMAT
19025 * testsuite/debug/printf_extension.c: (main):
19026 Do not use GST_PTR_FORMAT on pointers to types with
19027 sizeof < sizeof(gpointer). Fixes test on 64-bit
19028 * testsuite/elements/property.h:
19029 use correct printf format
19031 2005-05-02 Wim Taymans <wim@fluendo.com>
19033 * docs/design/draft-push-pull.txt:
19034 * docs/design/draft-query.txt:
19035 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
19036 (gst_basesrc_start):
19037 Added draft for new query API.
19038 Added draft for better selecting scheduling methods.
19039 Make basesrc ignore length if the subclass does not support
19042 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
19045 possible fixes for automake-1.5 - _LIBADD is reserved
19047 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
19049 * docs/faq/Makefile.am:
19050 * docs/manual/Makefile.am:
19051 * docs/manuals.mak:
19052 * docs/pwg/Makefile.am:
19054 possible fixes for automake-1.5
19056 2005-04-28 Wim Taymans <wim@fluendo.com>
19058 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19059 (gst_basesink_pad_getcaps), (gst_basesink_init),
19060 (gst_basesink_do_sync):
19061 * gst/gstclock.c: (gst_clock_entry_new):
19062 * gst/gstevent.c: (gst_event_discont_get_value):
19063 * gst/gstpipeline.c: (pipeline_bus_handler),
19064 (gst_pipeline_change_state):
19065 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
19066 Better debugging of clocking info.
19067 Allow NULL values when getting discont values.
19069 2005-04-27 Wim Taymans <wim@fluendo.com>
19071 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19072 * check/gst/gstpad.c: (gst_pad_suite):
19073 Increase timeout for checks.
19075 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19077 * check/Makefile.am:
19078 fix the broken rule for cleanup. Apparently this rule is
19079 only needed on FC2, so maybe this warrants further autotool
19082 2005-04-26 Wim Taymans <wim@fluendo.com>
19084 * gst/gsttrashstack.h:
19085 Ooohh. a nasty one! After having a failed pop() from the stack,
19086 it's possible that the stack is empty. In that case, don't
19087 follow the NULL pointer.
19089 2005-04-25 Wim Taymans <wim@fluendo.com>
19091 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19092 (gst_pad_set_checkgetrange_function),
19093 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
19094 (gst_pad_check_pull_range), (gst_pad_pull_range),
19095 (gst_static_pad_template_get_caps), (gst_pad_start_task),
19096 (gst_pad_pause_task), (gst_pad_stop_task):
19097 * gst/gstplugin.c: (gst_plugin_load):
19099 Remove gst_library_load as it does more harm than good with
19100 the new g_module flags.
19101 Revert bogus caps template check in pad linking, pad caps
19102 are important when linking not the template, which is more
19103 general than the current caps.
19105 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19107 * gst/autoplug/.cvsignore:
19108 * gst/autoplug/Makefile.am:
19109 * gst/autoplug/gstsearchfuncs.c:
19110 * gst/autoplug/gstsearchfuncs.h:
19111 * gst/autoplug/gstspider.c:
19112 * gst/autoplug/gstspider.h:
19113 * gst/autoplug/gstspideridentity.c:
19114 * gst/autoplug/gstspideridentity.h:
19115 * gst/autoplug/spidertest.c:
19118 2005-04-25 Wim Taymans <wim@fluendo.com>
19120 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19121 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19122 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
19123 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
19125 Added stubs for unimplemented functions.
19127 2005-04-24 David Schleef <ds@schleef.org>
19129 * gst/gstpad.h: Disable some unimplemented functions. Wim,
19132 2005-04-24 David Schleef <ds@schleef.org>
19134 Convert everything from GstAtomicInt to g_atomic_int_*, and
19139 * gst/gstatomic_impl.h:
19147 * gst/gstdata_private.h:
19151 * gst/gstmessage.c:
19154 * gst/gststructure.c:
19155 * gst/gststructure.h:
19156 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
19159 2005-04-24 David Schleef <ds@schleef.org>
19161 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
19162 make the regressions tests work. Remove some code that is no
19164 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
19165 Disable warning for pads without templates.
19167 2005-04-24 David Schleef <ds@schleef.org>
19169 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
19170 functions that handle filtered links.
19171 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
19173 * gst/gstutils.c: Fix/remove utility functions that handle
19176 * gst/gstvalue.c: Add serialization/deserialization of caps
19177 * gst/parse/grammar.y: Ignore filtered caps when linking. This
19178 requires fixing so that the filter caps notation creates
19179 a capsfilter element and sets the filter_caps property. I
19180 think everyone probably wants to keep the shorthand notation.
19181 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
19182 * docs/gst/tmpl/gstpad.sgml:
19184 * gst/elements/gstelements.c: Register capsfilter element.
19185 * gst/Makefile.am: fix spacing
19186 * docs/random/ds/0.9-suggested-changes: random
19188 2005-04-23 David Schleef <ds@schleef.org>
19190 * gst/elements/Makefile.am:
19191 * gst/elements/gstcapsfilter.c: New element that acts like an
19192 identity, but filters caps. Will eventually replace filtered
19193 caps in pad linking.
19194 * gst/gstutils.c: (gst_element_create_all_pads): New function
19195 to create all the ALWAYS pads that are registered with an
19196 element class. This functionality should eventually be
19197 merged in with GstElement initialization.
19199 * testsuite/trigger/README: part of trigger test code that should
19200 have been checked in a long time ago.
19202 2005-04-23 David Schleef <ds@schleef.org>
19204 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
19205 needed with new versions of libtool (nobody will confirm this),
19206 and hard to carry around.
19207 * gst/autoplug/Makefile.am:
19208 * gst/base/Makefile.am:
19209 * gst/elements/Makefile.am:
19210 * gst/indexers/Makefile.am:
19211 * gst/schedulers/Makefile.am:
19212 * libs/gst/bytestream/Makefile.am:
19213 * libs/gst/control/Makefile.am:
19214 * libs/gst/dataprotocol/Makefile.am:
19215 * libs/gst/getbits/Makefile.am:
19217 2005-04-21 Wim Taymans <wim@fluendo.com>
19219 * docs/design/draft-push-pull.txt:
19220 * docs/design/part-MT-refcounting.txt:
19221 * docs/design/part-TODO.txt:
19222 * docs/design/part-caps.txt:
19223 * docs/design/part-events.txt:
19224 * docs/design/part-gstbus.txt:
19225 * docs/design/part-gstpipeline.txt:
19226 * docs/design/part-messages.txt:
19227 * docs/design/part-push-pull.txt:
19228 * docs/design/part-query.txt:
19231 2005-04-21 Wim Taymans <wim@fluendo.com>
19233 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
19234 (gst_message_new), (gst_message_new_error),
19235 (gst_message_new_warning), (gst_message_new_tag),
19236 (gst_message_new_state_changed), (gst_message_new_application),
19237 (gst_message_get_structure):
19238 * gst/gstmessage.h:
19239 * gst/gststructure.c: (gst_structure_set_parent_refcount),
19240 (gst_structure_copy_conditional):
19241 Use parent refcount in GstMessage to ensure GstStructure
19243 Cleaned up headers a bit.
19246 2005-04-20 Wim Taymans <wim@fluendo.com>
19248 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19249 (gst_basesink_pad_getcaps), (gst_basesink_init),
19250 (gst_basesink_chain_unlocked):
19251 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
19252 (gst_type_find_helper):
19253 * gst/elements/gsttypefindelement.c:
19254 (gst_type_find_element_have_type), (gst_type_find_element_init),
19255 (stop_typefinding), (gst_type_find_element_handle_event),
19256 (find_suggest), (gst_type_find_element_chain),
19257 (gst_type_find_element_checkgetrange),
19258 (gst_type_find_element_getrange), (do_typefind),
19259 (gst_type_find_element_activate):
19260 * gst/gstbuffer.c: (_gst_buffer_sub_free),
19261 (gst_buffer_default_free), (gst_buffer_default_copy),
19262 (gst_buffer_set_caps):
19263 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
19264 (gst_caps_replace):
19265 * gst/gstmessage.c: (gst_message_new),
19266 (gst_message_new_state_changed):
19267 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19268 (gst_pad_set_checkgetrange_function),
19269 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
19270 (gst_pad_set_caps), (gst_pad_check_pull_range),
19271 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
19273 * gst/gsttypefind.c: (gst_type_find_register):
19274 Make gst_caps_replace() work like other _replace() functions.
19275 Use _caps_replace() where possible.
19276 Make sure _message_new() initialises its field.
19277 Add gst_static_pad_template_get_caps()
19280 2005-04-18 Andy Wingo <wingo@pobox.com>
19282 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
19283 on the peer, not the pad. I think that was a typo. Pass an extra
19284 arg to see if random access is possible. Activate the pads as
19285 PULL_RANGE if possible.
19287 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
19289 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
19290 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
19293 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19295 * docs/faq/using.xml:
19296 Add note on gstreamer-properties (#154996).
19298 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19300 * docs/random/bbb/optional-properties:
19301 Some analysis on optional properties.
19303 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19305 * docs/gst/tmpl/gstelementfactory.sgml:
19306 * gst/gstelement.h:
19307 * gst/gstelementfactory.c: (gst_element_factory_init),
19308 (gst_element_factory_cleanup), (gst_element_register),
19309 (__gst_element_factory_add_static_pad_template),
19310 (gst_element_factory_get_static_pad_templates),
19311 (gst_element_factory_can_src_caps),
19312 (gst_element_factory_can_sink_caps):
19313 * gst/registries/Makefile.am:
19314 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
19315 (gst_xml_registry_class_init), (gst_xml_registry_init),
19316 (gst_xml_registry_new), (gst_xml_registry_set_property),
19317 (gst_xml_registry_get_property), (get_time), (make_dir),
19318 (gst_xml_registry_get_perms_func),
19319 (plugin_times_older_than_recurse), (plugin_times_older_than),
19320 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
19321 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
19322 (add_to_char_array), (read_string), (read_uint), (read_enum),
19323 (load_pad_template), (load_feature), (load_plugin), (load_paths),
19324 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
19325 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
19326 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
19327 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
19328 (gst_xml_registry_rebuild):
19329 * gst/registries/gstlibxmlregistry.h:
19330 * tools/gst-compprep.c: (main):
19331 * tools/gst-inspect.c: (print_pad_templates_info):
19332 * tools/gst-xmlinspect.c: (print_element_info):
19333 Use libxml2 for registry parsing, use staticpadtemplates in
19334 elementfactories. Makes gst_init() +/- 10x faster.
19336 2005-04-12 Wim Taymans <wim@fluendo.com>
19338 * gst/base/Makefile.am:
19339 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19340 (gst_basesink_pad_getcaps), (gst_basesink_init),
19341 (gst_basesink_event), (gst_basesink_change_state):
19342 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19343 (gst_basesrc_init), (gst_basesrc_query),
19344 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19345 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19346 (gst_basesrc_check_get_range), (gst_basesrc_loop),
19347 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19348 (gst_basesrc_stop), (gst_basesrc_activate),
19349 (gst_basesrc_change_state):
19350 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19351 (helper_find_suggest), (gst_type_find_helper):
19352 * gst/base/gsttypefindhelper.h:
19353 * gst/elements/Makefile.am:
19354 * gst/elements/gstelements.c:
19355 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
19356 (gst_fakesink_get_times), (gst_fakesink_event),
19357 (gst_fakesink_preroll), (gst_fakesink_render):
19358 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19359 (gst_fakesrc_init), (gst_fakesrc_event_handler),
19360 (gst_fakesrc_get_property), (gst_fakesrc_create),
19361 (gst_fakesrc_start), (gst_fakesrc_stop):
19362 * gst/elements/gstfakesrc.h:
19363 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
19364 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19365 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19366 (gst_filesrc_create_read), (gst_filesrc_create),
19367 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
19368 (gst_filesrc_start):
19369 * gst/elements/gsttypefindelement.c:
19370 (gst_type_find_element_have_type), (gst_type_find_element_init),
19371 (start_typefinding), (stop_typefinding), (push_buffer_store),
19372 (gst_type_find_element_handle_event),
19373 (gst_type_find_element_chain),
19374 (gst_type_find_element_checkgetrange),
19375 (gst_type_find_element_getrange), (do_typefind),
19376 (gst_type_find_element_activate),
19377 (gst_type_find_element_change_state):
19378 * gst/elements/gsttypefindelement.h:
19379 * gst/gstpipeline.c: (pipeline_bus_handler):
19380 Added typefind helper.
19381 Small preroll fix in the base sink.
19382 Disable typefind code in basesrc.
19383 Crude port of typefindelement.
19387 2005-04-11 Wim Taymans <wim@fluendo.com>
19389 * check/gst/gstbus.c: (gstbus_suite):
19390 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
19391 * check/gstcheck.h:
19392 Fix up the timeout so that the test does not fail.
19394 2005-04-06 Wim Taymans <wim@fluendo.com>
19397 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19398 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
19399 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19400 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19401 (gst_basesrc_check_get_range), (gst_basesrc_loop),
19402 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19403 (gst_basesrc_stop), (gst_basesrc_activate),
19404 (gst_basesrc_change_state), (basesrc_find_peek),
19405 (basesrc_find_suggest), (gst_basesrc_type_find):
19406 * gst/base/gstbasesrc.h:
19407 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
19408 (gst_filesrc_class_init), (gst_filesrc_init),
19409 (gst_filesrc_finalize), (gst_filesrc_set_location),
19410 (gst_filesrc_set_property), (gst_filesrc_get_property),
19411 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19412 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19413 (gst_filesrc_create_read), (gst_filesrc_create),
19414 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
19415 * gst/elements/gstfilesrc.h:
19416 * gst/gstelement.c: (gst_element_get_state_func),
19417 (gst_element_lost_state), (gst_element_pads_activate):
19418 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19419 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19420 (gst_pad_pull_range):
19422 More work on the generic source base class, implement seeking,
19424 Make filesrc extend the base source class.
19425 Added gst_pad_set_checkgetrange_function to GstPad.
19427 2005-04-06 Andy Wingo <wingo@pobox.com>
19429 * pkgconfig/gstreamer-base.pc.in:
19430 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
19432 * pkgconfig/Makefile.am:
19433 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
19435 2005-04-04 Wim Taymans <wim@fluendo.com>
19437 * gst/base/Makefile.am:
19439 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19440 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19441 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19442 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
19443 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19444 (gst_basesrc_base_init), (gst_basesrc_class_init),
19445 (gst_basesrc_init), (gst_basesrc_get_formats),
19446 (gst_basesrc_get_query_types), (gst_basesrc_query),
19447 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
19448 (gst_basesrc_set_property), (gst_basesrc_get_property),
19449 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
19450 (gst_basesrc_loop), (gst_basesrc_activate),
19451 (gst_basesrc_change_state):
19452 * gst/base/gstbasesrc.h:
19453 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
19454 (gst_fakesrc_class_init), (gst_fakesrc_init),
19455 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
19456 (gst_fakesrc_get_property), (gst_fakesrc_create):
19457 * gst/elements/gstfakesrc.h:
19458 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
19459 (gst_filesrc_open_file), (gst_filesrc_loop),
19460 (gst_filesrc_activate), (filesrc_find_peek),
19461 (gst_filesrc_type_find):
19462 Made base source class, make fakesrc extend it.
19463 Add comments to basesink class.
19464 Some filesrc cleanup.
19466 2005-03-31 David Schleef <ds@schleef.org>
19468 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
19469 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
19470 expected to link against libgstreamer.
19471 * gst/base/Makefile.am: link against libgstreamer
19472 * gst/elements/Makefile.am: same
19474 2005-03-31 Andy Wingo <wingo@pobox.com>
19476 * tests/instantiate/Makefile.am:
19477 * tests/instantiate/caps.c: Add test to test speed of caps copy
19480 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
19481 GMemChunk to be fair.
19483 * gst/gsttrashstack.h: Remove warning about using the fallback
19484 trash stack implementation, it's still faster than malloc.
19486 2005-03-30 Andy Wingo <wingo@pobox.com>
19488 * tests/complexity.c: Add a copyright.
19490 2005-03-31 Wim Taymans <wim@fluendo.com>
19492 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
19493 (gst_base_transform_class_init), (gst_base_transform_init),
19494 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19495 (gst_base_transform_get_property),
19496 (gst_base_transform_sink_activate),
19497 (gst_base_transform_src_activate),
19498 (gst_base_transform_change_state):
19499 * gst/base/gstbasetransform.h:
19500 * gst/elements/gstidentity.c: (gst_identity_class_init),
19501 (gst_identity_event), (gst_identity_check_perfect),
19502 (gst_identity_transform), (gst_identity_start),
19503 (gst_identity_stop):
19504 Added start/stop methods to transform base class so subclasses
19505 don't need to deal with state changes even.
19507 2005-03-31 Wim Taymans <wim@fluendo.com>
19509 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
19510 (gst_event_new_discontinuous), (gst_event_discont_get_value):
19512 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19513 (gst_pad_pull_range):
19514 Added rate to the discont event to prepare for variable speed
19515 and reverse playback.
19517 2005-03-29 David Schleef <ds@schleef.org>
19520 * testsuite/trigger/Makefile.am:
19521 * testsuite/trigger/trigger.c: A little example program to show
19522 how trigger-based elements can work.
19524 2005-03-29 Wim Taymans <wim@fluendo.com>
19526 * gst/base/Makefile.am:
19528 * gst/base/gstbasesink.c: (gst_basesink_get_type),
19529 (gst_basesink_base_init), (gst_basesink_class_init),
19530 (gst_basesink_pad_getcaps), (gst_basesink_init),
19531 (gst_basesink_activate), (gst_basesink_change_state):
19532 * gst/base/gstbasesink.h:
19533 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
19534 (gst_base_transform_base_init), (gst_base_transform_finalize),
19535 (gst_base_transform_class_init), (gst_base_transform_init),
19536 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
19537 (gst_base_transform_event), (gst_base_transform_getrange),
19538 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
19539 (gst_base_transform_set_property),
19540 (gst_base_transform_get_property),
19541 (gst_base_transform_sink_activate),
19542 (gst_base_transform_src_activate),
19543 (gst_base_transform_change_state):
19544 * gst/base/gstbasetransform.h:
19545 * gst/elements/gstidentity.c: (gst_identity_finalize),
19546 (gst_identity_class_init), (gst_identity_init),
19547 (gst_identity_event), (gst_identity_check_perfect),
19548 (gst_identity_transform), (gst_identity_set_property),
19549 (gst_identity_get_property), (gst_identity_change_state):
19550 * gst/elements/gstidentity.h:
19551 * gst/gstelement.c: (gst_element_get_state_func),
19552 (gst_element_lost_state), (gst_element_pads_activate):
19553 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19554 (gst_pad_check_pull_range), (gst_pad_pull_range):
19556 Simplify pad activation.
19557 Added function to check if pull_range can be performed.
19558 Error out when pulling inactive or flushing pads.
19559 Removed const from refcounted types as it does not make sense.
19560 Simplify pad templates in basesink
19561 Added base class for simple 1-to-1 transforms.
19562 Make identity subclass the base transform.
19564 2005-03-29 Andy Wingo <wingo@pobox.com>
19566 * docs/libs/gstreamer-libs-overrides.txt:
19567 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
19568 really don't understand what's going on, but like whatever. I want
19571 * docs/gst/Makefile.am:
19572 * docs/libs/Makefile.am: Dist the overrides files.
19574 * check/Makefile.am (clean-local): Remove .libs directories.
19576 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
19577 elements to EXTRA_DIST, so po/ files are happy.
19579 * po/POTFILES.in: Er, remove it here.
19581 * po/POTFILES: Remove gstspider.c.
19583 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
19585 * docs/libs/gstreamer-libs-docs.sgml:
19586 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
19589 * tests/complexity.c (main): Set the length of the preroll queue
19590 on the sinks to prevent a lockup.
19592 * libs/gst/dataprotocol/Makefile.am:
19593 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
19594 the same as the one in check/gst-libs/gdp.c.
19596 * po/, docs/gst/: Commit automatic changes to docs and po files.
19598 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
19599 the versioned libgstbase.
19601 * check/Makefile.am: Depend on an unversioned gst-register, seems
19602 to make autoconf happier.
19604 * gst/base/Makefile.am: Make libgstbase a versioned lib.
19606 2005-03-28 Wim Taymans <wim@fluendo.com>
19609 * docs/design/part-gstelement.txt:
19610 * docs/design/part-negotiation.txt:
19611 * docs/design/part-preroll.txt:
19612 * docs/design/part-scheduling.txt:
19613 * docs/design/part-states.txt:
19615 * gst/base/Makefile.am:
19617 * gst/base/gstbasesink.c: (gst_basesink_get_template),
19618 (gst_basesink_base_init), (gst_basesink_class_init),
19619 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19620 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19621 (gst_basesink_set_pad_functions),
19622 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
19623 (gst_basesink_set_property), (gst_basesink_get_property),
19624 (gst_base_sink_get_template), (gst_base_sink_get_caps),
19625 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
19626 (gst_basesink_preroll_queue_push),
19627 (gst_basesink_preroll_queue_empty),
19628 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
19629 (gst_basesink_event), (gst_basesink_get_times),
19630 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
19631 (gst_basesink_chain_unlocked), (gst_basesink_chain),
19632 (gst_basesink_loop), (gst_basesink_activate),
19633 (gst_basesink_change_state):
19634 * gst/base/gstbasesink.h:
19635 * gst/elements/Makefile.am:
19636 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
19637 (gst_fakesink_class_init), (gst_fakesink_init),
19638 (gst_fakesink_set_property), (gst_fakesink_get_property),
19639 (gst_fakesink_get_times), (gst_fakesink_event),
19640 (gst_fakesink_preroll), (gst_fakesink_render),
19641 (gst_fakesink_change_state):
19642 * gst/elements/gstfakesink.h:
19643 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19644 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
19645 * gst/gstelement.c: (gst_element_add_pad),
19646 (gst_element_get_state_func), (gst_element_abort_state),
19647 (gst_element_commit_state), (gst_element_lost_state),
19648 (gst_element_set_state), (gst_element_pads_activate):
19649 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
19650 * gst/gstpipeline.c: (gst_pipeline_send_event),
19651 (gst_pipeline_change_state):
19652 Added state change code.
19653 Added/updated docs.
19654 Added sink base class, make fakesink extend the base class.
19655 Small cleanups in GstPipeline.
19657 2005-03-26 David Schleef <ds@schleef.org>
19659 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
19660 is broken and should be implemented in a different library.
19661 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
19662 * gst/gst.h: remove gstcpu.h
19663 * gst/gstcpu.c: remove
19664 * gst/gstcpu.h: remove
19665 * gst/Makefile.am.future: Remove this file. It's ancient.
19667 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19669 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19670 (gst_bin_send_event):
19671 Add default event/set_manager handlers. The set_manager handler
19672 takes care that the manager is distributed over kids that were
19673 already in the bin before the manager was set. The event handler
19674 is a utility virtual function that sends the event over all sinks,
19675 so that gst_element_send_event (bin, event); has the expected
19677 * gst/gstpad.c: (gst_pad_event_default):
19678 Re-install default event handling for discontinuities, so that
19679 seeking works without requiring hacks in applications or extra
19681 * gst/gstpipeline.c: (gst_pipeline_class_init),
19682 (gst_pipeline_send_event):
19683 Half hack, half utility: set a pipeline to PAUSED for seek events,
19684 since that is the only way we can guarantee a/v sync. Means that
19685 you can do gst_element_seek (pipeline, method, pos); on a pipeline
19686 and it "just works".
19688 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19690 * gst/gstpipeline.c: (gst_pipeline_use_clock):
19691 Lock/unlock mismatch.
19693 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
19695 * docs/faq/gst-uninstalled:
19696 add gst-plugins-base
19697 * docs/gst/Makefile.am:
19698 don't error out until docs are fixed
19699 * docs/gst/gstreamer.types:
19702 2005-03-22 Wim Taymans <wim@fluendo.com>
19704 * check/Makefile.am:
19705 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
19706 * gst/gststructure.c: (gst_structure_set_valist),
19707 (gst_structure_copy_conditional):
19708 Activated more tests.
19709 Added message test.
19710 Added G_TYPE_POINTER to GstStructure.
19713 2005-03-22 Wim Taymans <wim@fluendo.com>
19715 * docs/design/part-TODO.txt:
19716 * docs/design/part-events.txt:
19717 * docs/design/part-gstbin.txt:
19718 * docs/design/part-gstbus.txt:
19719 * docs/design/part-gstpipeline.txt:
19720 * docs/design/part-messages.txt:
19722 * gst/gstmessage.c:
19725 2005-03-21 Wim Taymans <wim@fluendo.com>
19727 * gst/gstbus.c: (gst_bus_post):
19728 Fix copy-and-paste error.
19730 2005-03-21 Wim Taymans <wim@fluendo.com>
19732 * check/Makefile.am:
19734 * gst/elements/Makefile.am:
19735 * gst/elements/gstelements.c:
19736 * gst/elements/gstfakesink.c: (gst_fakesink_init),
19737 (gst_fakesink_event), (gst_fakesink_chain):
19738 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19739 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
19740 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
19741 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
19742 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19743 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
19744 (gst_fakesrc_loop), (gst_fakesrc_activate),
19745 (gst_fakesrc_change_state):
19746 * gst/elements/gstfakesrc.h:
19747 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
19748 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
19749 (gst_filesrc_open_file), (gst_filesrc_loop),
19750 (gst_filesrc_activate), (gst_filesrc_change_state),
19751 (filesrc_find_peek), (filesrc_find_suggest),
19752 (gst_filesrc_type_find):
19753 * gst/elements/gstidentity.c: (gst_identity_finalize),
19754 (gst_identity_class_init), (gst_identity_init),
19755 (gst_identity_proxy_getcaps), (identity_queue_push),
19756 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
19757 (gst_identity_getrange), (gst_identity_chain),
19758 (gst_identity_sink_loop), (gst_identity_src_loop),
19759 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
19760 (gst_identity_set_property), (gst_identity_get_property),
19761 (gst_identity_change_state):
19762 * gst/elements/gstidentity.h:
19763 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
19764 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
19765 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
19766 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
19767 (gst_tee_sink_activate):
19768 * gst/elements/gsttee.h:
19769 * gst/gst.c: (gst_register_core_elements), (init_post):
19771 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
19772 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
19773 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
19774 (gst_bin_change_state):
19776 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
19777 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
19778 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
19779 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
19780 (gst_bus_set_sync_handler), (gst_bus_create_watch),
19781 (bus_watch_callback), (bus_watch_destroy),
19782 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
19783 (poll_timeout), (gst_bus_poll):
19787 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19788 (gst_element_post_message), (gst_element_message_full),
19789 (gst_element_get_state_func), (gst_element_get_state),
19790 (gst_element_abort_state), (gst_element_commit_state),
19791 (gst_element_lost_state), (gst_element_set_state),
19792 (gst_element_pads_activate), (gst_element_change_state),
19793 (gst_element_dispose), (gst_element_set_manager_func),
19794 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19795 (gst_element_set_manager), (gst_element_get_manager),
19796 (gst_element_set_bus), (gst_element_get_bus),
19797 (gst_element_set_scheduler), (gst_element_get_scheduler):
19798 * gst/gstelement.h:
19799 * gst/gstevent.c: (gst_event_new_segment_seek),
19800 (gst_event_new_flush):
19802 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19803 (_gst_message_free), (gst_message_get_type), (gst_message_new),
19804 (gst_message_new_eos), (gst_message_new_error),
19805 (gst_message_new_warning), (gst_message_new_tag),
19806 (gst_message_new_state_changed), (gst_message_new_application),
19807 (gst_message_get_structure), (gst_message_parse_tag),
19808 (gst_message_parse_state_changed), (gst_message_parse_error),
19809 (gst_message_parse_warning):
19810 * gst/gstmessage.h:
19811 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19812 (gst_real_pad_set_property), (gst_pad_set_active),
19813 (gst_pad_is_active), (gst_pad_set_blocked_async),
19814 (gst_pad_set_blocked), (gst_pad_is_blocked),
19815 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19816 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19817 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19818 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19819 (gst_pad_link_filtered), (gst_pad_relink_filtered),
19820 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19821 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19822 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19823 (gst_pad_set_caps), (gst_pad_configure_sink),
19824 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19825 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19826 (gst_real_pad_dispose), (gst_real_pad_finalize),
19827 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19828 (gst_pad_event_default_dispatch), (gst_pad_event_default),
19829 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19831 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19832 (pipeline_bus_handler), (gst_pipeline_change_state),
19833 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19834 * gst/gstpipeline.h:
19836 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19837 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19838 (gst_queue_link_src), (gst_queue_bufferalloc),
19839 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19840 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19841 (gst_queue_loop), (gst_queue_handle_src_event),
19842 (gst_queue_handle_src_query), (gst_queue_src_activate),
19843 (gst_queue_change_state):
19845 * gst/gstscheduler.c: (gst_scheduler_init),
19846 (gst_scheduler_dispose), (gst_scheduler_create_task),
19847 (gst_scheduler_factory_create):
19848 * gst/gstscheduler.h:
19849 * gst/gststructure.c: (gst_structure_get_type),
19850 (gst_structure_copy_conditional):
19851 * gst/gststructure.h:
19852 * gst/gsttaginterface.h:
19853 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19854 (gst_task_init), (gst_task_dispose), (gst_task_create),
19855 (gst_task_get_state), (gst_task_start), (gst_task_stop),
19861 * gst/schedulers/Makefile.am:
19862 * gst/schedulers/cothreads_compat.h:
19863 * gst/schedulers/entryscheduler.c:
19864 * gst/schedulers/faircothreads.c:
19865 * gst/schedulers/faircothreads.h:
19866 * gst/schedulers/fairscheduler.c:
19867 * gst/schedulers/gstbasicscheduler.c:
19868 * gst/schedulers/gstoptimalscheduler.c:
19869 * gst/schedulers/gthread-cothreads.h:
19870 * gst/schedulers/threadscheduler.c:
19871 (gst_thread_scheduler_task_get_type),
19872 (gst_thread_scheduler_task_class_init),
19873 (gst_thread_scheduler_task_init),
19874 (gst_thread_scheduler_task_start),
19875 (gst_thread_scheduler_task_stop),
19876 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19877 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19878 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19879 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19881 * libs/gst/Makefile.am:
19882 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
19883 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
19884 (gst_file_pad_parent_set):
19885 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19886 (gst_dp_event_from_packet):
19887 * tests/complexity.c: (main):
19888 * tests/mass_elements.c: (main):
19889 * testsuite/states/locked.c: (message_received), (main):
19890 * testsuite/states/parent.c: (main):
19891 * tools/gst-inspect.c: (print_element_flag_info),
19892 (print_implementation_info), (print_pad_info):
19893 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
19895 * tools/gst-md5sum.c: (event_loop), (main):
19896 * tools/gst-typefind.c: (main):
19897 * tools/gst-xmlinspect.c: (print_element_info):
19899 Added GstBus for mainloop integration.
19900 Added GstMessage for sending notifications on the bus.
19901 Added GstTask as an abstraction for pipeline entry points.
19903 Removed Schedulers.
19904 Simplified GstQueue for multithreaded core.
19905 Made _link threadsafe, removed old capsnego.
19906 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
19907 Added pad blocking functions.
19908 Reworked scheduling functions in GstPad to prepare for
19909 scheduling updates soon.
19910 Moved events out of data stream.
19911 Simplified GstEvent types.
19912 Added return values to push/pull.
19913 Removed clocking from GstElement.
19914 Added prototypes for state change function for next merge.
19915 Removed iterate from bins and state change management.
19916 Fixed some elements, disabled others for now.
19917 Fixed -inspect and -launch.
19918 Added check for GstBus.
19920 2005-03-10 Wim Taymans <wim@fluendo.com>
19922 * docs/design/part-MT-refcounting.txt:
19923 * docs/design/part-clocks.txt:
19924 * docs/design/part-gstelement.txt:
19925 * docs/design/part-gstobject.txt:
19926 * docs/design/part-standards.txt:
19927 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19928 (gst_bin_remove_func), (gst_bin_remove):
19932 * testsuite/clock/clock1.c: (main):
19933 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
19935 * testsuite/dlopen/loadgst.c: (do_test):
19936 * testsuite/refcounting/bin.c: (add_remove_test1),
19937 (add_remove_test2), (main):
19938 * testsuite/refcounting/element.c: (main):
19939 * testsuite/refcounting/element_pad.c: (main):
19940 * testsuite/refcounting/pad.c: (main):
19941 * tools/gst-launch.c: (sigint_handler_sighandler):
19942 * tools/gst-typefind.c: (main):
19944 Added doc about clock.
19945 removed gst_bin_iterate_recurse_up(), marked methods
19947 Fix more testsuites.
19949 2005-03-09 Wim Taymans <wim@fluendo.com>
19951 * gst/gstpad.c: (gst_pad_get_direction),
19952 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
19953 (gst_pad_collect_valist):
19954 * testsuite/bins/interface.c: (main):
19955 * testsuite/caps/audioscale.c: (test_caps):
19956 * testsuite/caps/caps.c: (test1), (test2), (test3):
19957 * testsuite/caps/deserialize.c: (main):
19958 * testsuite/caps/enumcaps.c: (main):
19959 * testsuite/caps/filtercaps.c: (main):
19960 * testsuite/caps/intersect2.c: (main):
19961 * testsuite/caps/random.c: (main):
19962 * testsuite/caps/renegotiate.c: (my_fixate), (main):
19963 * testsuite/caps/sets.c: (check_caps):
19964 * testsuite/caps/simplify.c: (check_caps), (main):
19965 * testsuite/caps/subtract.c: (check_caps):
19966 Fix _pad_get_direction wrt ghostpads.
19967 Fix caps testsuite.
19969 2005-03-09 Wim Taymans <wim@fluendo.com>
19971 * check/Makefile.am:
19972 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
19973 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
19974 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
19975 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
19976 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
19977 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
19978 (gst_bin_remove), (gst_bin_iterate_recurse_up),
19979 (bin_element_is_sink), (gst_bin_iterate_sinks),
19980 (gst_bin_iterate_all_by_interface):
19982 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
19983 (gst_element_change_state), (gst_element_dispose),
19984 (gst_element_finalize), (gst_element_set_loop_function):
19985 * gst/gstelement.h:
19986 * gst/gstiterator.c: (find_custom_fold_func):
19987 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19988 (gst_pad_collectv), (gst_pad_collect_valist),
19989 (gst_pad_template_new):
19990 * gst/gstpipeline.c: (gst_pipeline_class_init),
19991 (gst_pipeline_dispose), (gst_pipeline_set_property),
19992 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
19993 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
19994 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
19996 * gst/schedulers/entryscheduler.c:
19997 * gst/schedulers/gstbasicscheduler.c:
19998 (gst_basic_scheduler_cothreaded_chain),
19999 (gst_basic_scheduler_chain_add_element):
20000 * testsuite/bins/interface.c: (main):
20002 Added GstSystemClock test.
20003 Implemented clock distribution code in GstBin.
20004 Implemented iterate sinks method for future use.
20005 Rearranged gstelement.h
20006 Fix GstIterator comparison bug.
20007 Moved some code to GstPipeline, mostly clocking related.
20009 2005-03-09 Wim Taymans <wim@fluendo.com>
20012 * gst/gst_private.h:
20013 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
20014 (gst_bin_remove_func), (gst_bin_remove),
20015 (gst_bin_get_by_name_recurse_up):
20016 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
20017 (gst_clock_id_compare_func), (gst_clock_id_wait),
20018 (gst_clock_id_wait_async), (gst_clock_init),
20019 (gst_clock_adjust_unlocked), (gst_clock_get_time):
20020 * gst/gstelement.h:
20021 * gst/gstinfo.c: (_gst_debug_init):
20023 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
20024 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
20026 Bump version number, we're now 0.9.0
20027 Add future debugging category.
20028 Fix NULL _unref() in _get_by_name_recurse_up
20029 Rearrange gstpad.h.
20032 2005-03-08 Wim Taymans <wim@fluendo.com>
20034 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
20035 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
20036 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
20037 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
20038 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
20039 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
20040 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
20041 * gst/elements/gstidentity.c: (gst_identity_class_init):
20042 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
20043 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
20044 * gst/elements/gstshaper.c: (gst_shaper_class_init):
20045 * gst/elements/gststatistics.c: (gst_statistics_class_init):
20046 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
20048 * gst/gstelement.c: (gst_element_class_init),
20049 (gst_element_base_class_init), (gst_element_init),
20050 (gst_element_get_random_pad), (gst_element_wait_state_change),
20051 (gst_element_change_state), (gst_element_dispose),
20052 (gst_element_finalize), (gst_element_set_loop_function):
20053 * gst/gstelement.h:
20054 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
20055 * gst/gstthread.c: (gst_thread_class_init),
20056 (gst_thread_release_children_locks), (gst_thread_change_state):
20057 * gst/schedulers/gstbasicscheduler.c:
20058 (gst_basic_scheduler_loopfunc_wrapper),
20059 (gst_basic_scheduler_chain_wrapper),
20060 (gst_basic_scheduler_src_wrapper),
20061 (gst_basic_scheduler_remove_element):
20062 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
20063 Remove threadsafe properties. Fix elements because GObject
20064 complains when installing a property before declaring a
20065 set/get_property handler.
20066 Rearrange gstelement.h file, use STATE macros for state locks.
20067 Free mutexes in the finalize method instead of dispose.
20069 2005-03-08 Wim Taymans <wim@fluendo.com>
20071 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
20072 * gst/gstthread.c: (gst_thread_release_children_locks):
20073 Added parentage check.
20074 Fix build og GstThread again.
20076 2005-03-08 Wim Taymans <wim@fluendo.com>
20078 * docs/design/part-MT-refcounting.txt:
20079 * docs/design/part-conventions.txt:
20080 * docs/design/part-gstobject.txt:
20081 * docs/design/part-relations.txt:
20082 * docs/design/part-standards.txt:
20083 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
20084 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
20085 (gst_bin_get_by_name), (gst_bin_get_by_interface),
20086 (gst_bin_iterate_all_by_interface):
20089 * gst/gstelement.c: (gst_element_class_init),
20090 (gst_element_change_state), (gst_element_set_loop_function):
20091 * gst/gstelement.h:
20092 * gst/gstiterator.c:
20093 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
20094 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
20095 (gst_object_dispatch_properties_changed), (gst_object_set_name),
20096 (gst_object_set_parent), (gst_object_unparent),
20097 (gst_object_check_uniqueness):
20099 Docs updates, clean up some headers.
20101 2005-03-07 Wim Taymans <wim@fluendo.com>
20103 * check/.cvsignore:
20104 * check/Makefile.am:
20105 * check/gst-libs/.cvsignore:
20106 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
20107 * check/gst/.cvsignore:
20108 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
20109 (START_TEST), (gstbus_suite), (main):
20110 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
20111 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
20112 (gst_data_suite), (main):
20113 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
20114 (add_fold_func), (gstiterator_suite), (main):
20115 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
20116 (thread_name_object), (thread_name_object_default),
20117 (gst_object_name_compare), (gst_object_suite), (main):
20118 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
20119 (gst_pad_suite), (main):
20120 * check/gstcheck.c: (gst_check_log_message_func),
20121 (gst_check_log_critical_func), (gst_check_init):
20122 * check/gstcheck.h:
20123 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20124 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
20127 2005-03-07 Wim Taymans <wim@fluendo.com>
20129 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
20130 (gst_list_iterator_next), (gst_list_iterator_resync),
20131 (gst_list_iterator_free), (gst_iterator_new_list),
20132 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
20133 (gst_iterator_free), (gst_iterator_push), (filter_next),
20134 (filter_resync), (filter_uninit), (filter_free),
20135 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
20136 (gst_iterator_foreach), (find_custom_fold_func),
20137 (gst_iterator_find_custom):
20138 * gst/gstiterator.h:
20139 Added missing files.
20141 2005-03-07 Wim Taymans <wim@fluendo.com>
20145 * docs/design/part-MT-refcounting.txt:
20146 * docs/design/part-conventions.txt:
20147 * docs/design/part-gstobject.txt:
20148 * docs/design/part-relations.txt:
20149 * examples/mixer/mixer.c: (main):
20150 * examples/thread/thread.c: (eos), (main):
20152 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
20153 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
20154 (gst_spider_plug_from_srcpad):
20155 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
20156 (gst_spider_identity_change_state),
20157 (gst_spider_identity_sink_loop_type_finding):
20158 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
20159 * gst/elements/gstidentity.c: (gst_identity_init):
20160 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
20161 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
20162 * gst/elements/gsttypefindelement.c: (free_entry):
20165 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
20166 (gst_bin_set_clock_func), (gst_bin_auto_clock),
20167 (gst_bin_set_index), (gst_bin_set_element_sched),
20168 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
20169 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
20170 (gst_bin_iterate_elements), (iterate_child_recurse),
20171 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
20172 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
20173 (compare_interface), (gst_bin_get_by_interface),
20174 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
20176 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
20177 (gst_buffer_default_free), (gst_buffer_default_copy),
20178 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
20179 (gst_buffer_create_sub):
20181 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
20182 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
20183 (gst_caps_unref), (gst_static_caps_get),
20184 (gst_caps_remove_and_get_structure), (gst_caps_append),
20185 (gst_caps_append_structure), (gst_caps_remove_structure),
20186 (gst_caps_copy_nth), (gst_caps_set_simple),
20187 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
20188 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
20189 (gst_caps_structure_intersect_field), (gst_caps_intersect),
20190 (gst_caps_structure_subtract_field), (gst_caps_subtract),
20191 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
20192 (gst_caps_structure_figure_out_union),
20193 (gst_caps_switch_structures), (gst_caps_do_simplify),
20194 (gst_caps_replace), (gst_caps_from_string),
20195 (gst_caps_copy_conditional):
20197 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
20198 (_gst_clock_id_free), (gst_clock_id_unref),
20199 (gst_clock_id_compare_func), (gst_clock_id_wait),
20200 (gst_clock_id_wait_async), (gst_clock_class_init),
20201 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
20202 (gst_clock_get_time), (gst_clock_set_time_adjust),
20203 (gst_clock_set_property), (gst_clock_get_property):
20206 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
20207 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
20209 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
20210 (gst_element_requires_clock), (gst_element_provides_clock),
20211 (gst_element_set_clock), (gst_element_clock_wait),
20212 (gst_element_wait), (gst_element_set_time_delay),
20213 (gst_element_is_indexable), (gst_element_add_pad),
20214 (gst_element_add_ghost_pad), (gst_element_remove_pad),
20215 (pad_compare_name), (gst_element_get_static_pad),
20216 (gst_element_request_pad), (gst_element_get_request_pad),
20217 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
20218 (gst_element_class_get_pad_template_list),
20219 (gst_element_class_get_pad_template), (gst_element_error_func),
20220 (gst_element_get_random_pad), (gst_element_get_event_masks),
20221 (gst_element_send_event), (gst_element_seek),
20222 (gst_element_get_query_types), (gst_element_query),
20223 (gst_element_get_formats), (gst_element_convert),
20224 (gst_element_is_locked_state), (gst_element_set_locked_state),
20225 (gst_element_sync_state_with_parent), (gst_element_change_state),
20226 (gst_element_finalize), (gst_element_yield),
20227 (gst_element_interrupt), (gst_element_set_scheduler),
20228 (gst_element_get_scheduler), (gst_element_set_loop_function):
20229 * gst/gstelement.h:
20231 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
20232 (gst_format_get_by_nick), (gst_format_get_details),
20233 (gst_format_iterate_definitions):
20235 * gst/gstindex.c: (gst_index_gtype_resolver):
20238 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
20239 (gst_mem_chunk_free):
20240 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
20241 (gst_object_ref), (gst_object_unref), (gst_object_sink),
20242 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
20243 (gst_object_dispatch_properties_changed),
20244 (gst_object_set_name_default), (gst_object_set_name),
20245 (gst_object_get_name), (gst_object_set_name_prefix),
20246 (gst_object_get_name_prefix), (gst_object_set_parent),
20247 (gst_object_get_parent), (gst_object_unparent),
20248 (gst_object_check_uniqueness), (gst_object_save_thyself),
20249 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
20250 (gst_object_set_property), (gst_object_get_property),
20251 (gst_object_get_path_string):
20253 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20254 (gst_real_pad_init), (gst_real_pad_get_property),
20255 (gst_pad_custom_new), (gst_pad_get_direction),
20256 (gst_pad_set_active), (gst_pad_is_active),
20257 (gst_pad_set_event_function), (gst_pad_is_linked),
20258 (gst_pad_link_free), (gst_pad_link_intersect),
20259 (gst_pad_link_fixate), (gst_pad_set_caps),
20260 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
20261 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
20262 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
20263 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
20264 (gst_pad_get_caps), (gst_pad_peer_get_caps),
20265 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
20266 (gst_pad_realize), (gst_pad_get_allowed_caps),
20267 (gst_real_pad_dispose), (gst_real_pad_finalize),
20268 (gst_pad_collectv), (gst_pad_collect_valist),
20269 (gst_pad_template_dispose), (gst_pad_template_new),
20270 (gst_pad_get_internal_links):
20272 * gst/gstpipeline.c: (gst_pipeline_dispose),
20273 (gst_pipeline_change_state):
20274 * gst/gstpipeline.h:
20276 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
20277 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
20278 * gst/gstpluginfeature.h:
20279 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
20280 * gst/gstquery.c: (_gst_query_type_initialize),
20281 (gst_query_type_register), (gst_query_type_get_by_nick),
20282 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
20284 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
20285 * gst/gstscheduler.c: (gst_scheduler_add_element),
20286 (gst_scheduler_factory_create):
20287 * gst/gststructure.c: (gst_structure_set_parent_refcount),
20288 (gst_structure_free), (gst_structure_set_name),
20289 (gst_structure_id_set_value), (gst_structure_set_value),
20290 (gst_structure_set_valist), (gst_structure_remove_field),
20291 (gst_structure_remove_fields),
20292 (gst_structure_remove_fields_valist),
20293 (gst_structure_remove_all_fields), (gst_structure_foreach),
20294 (gst_structure_map_in_place),
20295 (gst_caps_structure_fixate_field_nearest_int),
20296 (gst_caps_structure_fixate_field_nearest_double):
20297 * gst/gststructure.h:
20298 * gst/gstsystemclock.c: (gst_system_clock_class_init),
20299 (gst_system_clock_init), (gst_system_clock_dispose),
20300 (gst_system_clock_async_thread),
20301 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
20302 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
20303 * gst/gstsystemclock.h:
20304 * gst/gsttag.c: (gst_tag_list_add_value_internal),
20305 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
20306 * gst/gsttaginterface.c:
20307 * gst/gstthread.c: (gst_thread_dispose),
20308 (gst_thread_release_children_locks), (gst_thread_change_state),
20309 (gst_thread_main_loop):
20310 * gst/gsttrashstack.h:
20311 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
20313 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
20314 (gst_element_request_pad), (gst_element_get_pad_from_template),
20315 (gst_element_request_compatible_pad),
20316 (gst_element_get_compatible_pad_filtered),
20317 (gst_element_get_compatible_pad), (gst_element_state_get_name),
20318 (gst_element_link_pads_filtered), (gst_element_link_filtered),
20319 (gst_element_link_many), (gst_element_link),
20320 (gst_element_link_pads), (gst_element_unlink_pads),
20321 (gst_element_unlink_many), (gst_element_unlink),
20322 (gst_pad_can_link_filtered), (gst_pad_can_link),
20323 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
20324 (gst_object_default_error), (gst_bin_add_many),
20325 (gst_bin_remove_many), (gst_element_populate_std_props),
20326 (gst_element_class_install_std_props), (gst_buffer_merge),
20327 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
20328 (link_fold_func), (gst_pad_proxy_setcaps):
20330 * gst/gstvalue.c: (gst_value_deserialize_string):
20331 * gst/parse/grammar.y:
20332 * gst/schedulers/gstbasicscheduler.c:
20333 (gst_basic_scheduler_cothreaded_chain),
20334 (gst_basic_scheduler_chain_recursive_add),
20335 (gst_basic_scheduler_pad_link):
20336 * gst/schedulers/gstoptimalscheduler.c:
20337 (get_group_schedule_function),
20338 (gst_opt_scheduler_state_transition),
20339 (gst_opt_scheduler_add_element), (element_get_reachables_func):
20340 * libs/gst/bytestream/bytestream.c:
20341 * libs/gst/dataprotocol/dataprotocol.c:
20342 (gst_dp_header_from_buffer):
20345 * tests/threadstate/threadstate2.c: (eos):
20346 * tools/gst-compprep.c: (main):
20347 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
20348 (print_pad_info), (print_children_info):
20349 * tools/gst-launch.c: (idle_func), (main):
20350 * tools/gst-md5sum.c: (idle_func), (main):
20351 * tools/gst-xmlinspect.c: (print_element_info):
20352 First THREADED backport attempt, focusing on adding locks and
20353 making sure the API is threadsafe. Needs more work. More docs
20356 2005-02-24 Andy Wingo <wingo@pobox.com>
20358 * tests/bench-complexity.scm:
20359 * tests/complexity.gnuplot: New files, good for running complexity
20362 * tests/Makefile.am:
20363 * tests/complexity.c: New test, sets up N elements, at each level
20364 teeing into M streams per element. Eeeenteresting.
20366 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
20367 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
20368 running bench-mass_elements.scm.
20370 * tests/bench-mass_elements.scm: New script, runs mass_elements
20371 for various numbers of identities, outputting the results to a
20372 file. Requires guile 1.6. Just for testing.
20374 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
20376 * gst/schedulers/fairscheduler.c:
20377 compile with debug disabled
20379 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
20382 hunting season on 0.9 is now OPEN