1 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
3 Patch by: Marcus Granado <mrc dot gran at gmail com>
5 * win32/vs8/grammar.vcproj:
6 Error out with a warning if glib-genmarshal.exe is not in path,
7 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9 2006-10-13 Wim Taymans <wim@fluendo.com>
11 * gst/gstsegment.c: (gst_segment_set_seek):
12 When seeking to stop -1, set last_stop (current position) to the
13 duration of the segment.
15 2006-10-13 Wim Taymans <wim@fluendo.com>
18 Clarify _NO_PREROLL a bit more.
23 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
24 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
25 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
26 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
27 due to wrong locking order. Fixes #361769.
28 Remove some redundant/misplaced checks in pad_block.
30 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
31 For negative rates, count backwards from the duration.
33 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
35 * gst/gsterror.c: (_gst_library_errors_init):
36 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
37 up with something better).
39 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
41 * win32/vs6/libgstreamer.dsp:
42 * win32/vs7/libgstreamer.vcproj:
43 * win32/vs8/libgstreamer.vcproj:
44 Don't reference glib-compat.c which is currently not used and not
45 disted; add gstquark.c which was recently added. Fixes #361730.
47 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
49 * win32/common/libgstbase.def:
50 * win32/common/libgstcontroller.def:
51 * win32/common/libgstreamer.def:
52 Add gst_caps_merge() and a bunch of other recently-added functions.
55 2006-10-11 Wim Taymans <wim@fluendo.com>
57 * docs/plugins/gstreamer-plugins.args:
58 * docs/plugins/inspect/plugin-coreelements.xml:
59 * docs/plugins/inspect/plugin-coreindexers.xml:
62 * gst/gstsystemclock.c:
65 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
66 (gst_tee_request_new_pad), (gst_tee_release_pad),
67 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
68 (gst_tee_sink_activate_pull):
69 * plugins/elements/gsttee.h:
71 Add default property defines.
72 Implement release pad function.
73 Give properties better blubs etc.
74 Activate pads before adding them to a running tee.
75 Do simple buffer_alloc on the first requested pad.
76 Post error when activation fails.
78 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
80 * gst/gst.c: (ensure_current_registry_forking):
81 Check return value of write() to make compiler happy.
83 2006-10-11 Wim Taymans <wim@fluendo.com>
85 Patch by: Sjoerd Simons <sjoerd at luon dot net>
87 * plugins/elements/gstqueue.c: (gst_queue_chain):
88 Recheck queue filledness after signalling the overrun when we're about
89 to leak downstream because we released the lock when emitting the signal
90 and the queue could be empty again. Fixes #352345.
92 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
94 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
95 Fix refcounting here too, just like we did for _new_valist() a few
96 days ago (#357180) (thanks to René Stadler). Also remove all those
97 'Since: 0.9' from the gtk-doc blobs.
99 * tests/check/libs/controller.c: (controller_refcount_new_list),
100 (gst_controller_suite):
101 Unit test for the above.
103 2006-10-10 Wim Taymans <wim@fluendo.com>
105 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
107 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
108 (gst_pad_save_thyself):
110 Write pad direction in XML output. Fixes #345496.
112 2006-10-10 Wim Taymans <wim@fluendo.com>
114 Patch by: René Stadler <mail at renestadler dot de>
116 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
117 (gst_controller_new_list), (_gst_controller_dispose),
118 (_gst_controller_finalize), (_gst_controller_class_init):
119 Take ref to controlled object so that it cannot disappear.
122 2006-10-10 Wim Taymans <wim@fluendo.com>
124 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
125 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
126 (gst_check_teardown_sink_pad):
127 Activate/deactivate pads in setup/teardown respectively.
129 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
131 Patch by: Josep Torre Valles <josep@fluendo.com>
134 Cast values when making gstenumtypes.h. This pacifies Forte
135 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
138 2006-10-09 Wim Taymans <wim@fluendo.com>
140 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
141 Rename some more @cur to @start to fix docs.
143 * gst/gstsegment.c: (gst_segment_set_seek):
145 time and start must always stay in sync as defined in design doc.
147 * gst/gsttaglist.c: (gst_tag_list_is_empty):
148 Rename param to fix docs.
150 * tests/check/gst/gstsegment.c: (GST_START_TEST):
151 Check that start and time are in sync.
153 * tests/check/pipelines/parse-launch.c:
154 (gst_parse_test_element_change_state):
155 Activate pad before adding to the element.
157 2006-10-09 Wim Taymans <wim@fluendo.com>
159 * docs/design/part-qos.txt:
164 Update seek event docs regarding negative rates.
165 Rename @cur to @start.
167 * gst/gstsegment.c: (gst_segment_set_seek):
169 Update set_seek docs regarding negative rates.
170 Correctly update last_stop to @stop when dealing with negative
172 Rename @cur to @start.
174 * tests/check/gst/gstpad.c: (GST_START_TEST):
175 Activate pads before trying to use them.
177 * tests/check/gst/gstsegment.c: (GST_START_TEST),
179 Add simple check for segments and negative rates.
181 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
183 * gst/gsttaglist.c: (gst_tag_list_is_empty):
185 * docs/gst/gstreamer-sections.txt:
186 API: add gst_tag_list_is_empty() (#360467).
188 * tests/check/gst/gsttag.c: (GST_START_TEST):
191 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
194 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
195 a value that doesn't fit on enumeration.
197 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
199 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
200 Remove local debugging system and use Gstreamer's instead.
202 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
204 Patch by: Josep Torre Valles <josep@fluendo.com>
206 * common/m4/gst-error.m4:
207 Disable warning of statement not reached on Forte.
209 Fix warning on Forte (value doesn't fit on enumeration).
210 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
211 Fix warning on Forte (value doesn't fit on enumeration).
212 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
213 DEBUG macro says it takes minimum of 2 args and so Forte
214 complains about the use with just 1 arg.
215 * plugins/elements/gstfdsink.c:
216 * plugins/elements/gstfdsrc.c:
217 * plugins/elements/gstfilesink.c:
218 * plugins/elements/gstfilesrc.c:
219 Use correct return type for the uri handler implementations.
221 All these fix warnings in Forte. Fixes bug #360860.
223 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
226 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
227 format string, so don't use G_GNUC_PRINTF for those versions.
229 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
231 * gst/gsttaglist.c: (gst_is_tag_list):
233 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
235 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
236 Small test for the above.
238 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
241 Less tabs, more spaces.
243 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
246 Those two function declarations do actually belong there, revert
247 commit from yesterday that turned them intro macros.
249 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
251 Patch by: Josep Torre Valles <josep@fluendo.com>
253 * gst/gst.c: (gst_init_get_option_group):
254 Fix empty declaration and type mismatch.
255 * gst/gstbin.c: (gst_bin_change_state_func):
257 * gst/gstelement.c: (gst_element_continue_state),
258 (gst_element_set_state_func), (gst_element_change_state),
259 (gst_element_change_state_func):
261 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
262 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
264 * gst/gstobject.c: (gst_class_signal_connect):
265 Cast as appropriate. The function pointer parameter really
266 has the wrong type but would break API if we change it.
268 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
269 order of including string.h.
270 * gst/gstutils.c: (gst_element_state_get_name):
271 Remove unreachable line.
272 * gst/gstxml.c: (gst_xml_parse_doc):
274 All these caught by Forte.
276 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
278 Patch by: Josep Torre Valles <josep@fluendo.com>
280 * common/m4/gst-error.m4:
282 We need to disable warnings on Forte for empty declarations
283 due to gst-indent adding ;s to lines that just use macros
284 where the macro actually doesn't need a ; at end to end
287 2006-10-06 Wim Taymans <wim@fluendo.com>
289 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
290 (gst_file_sink_close_file), (gst_file_sink_event),
291 (gst_file_sink_render):
292 Add some FIXME for the NEWSEGMENT handling.
294 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
296 * gst/parse/grammar.y:
297 Remove static function gst_parse_element_lock as all it does
298 is return. Looks like cruft from 0.8.
300 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
302 Patch by: Josep Torre Valles <josep@fluendo.com>
304 * common/m4/gst-error.m4:
306 * libs/gst/net/Makefile.am:
307 Fix a compilation issue with Forte on Solaris. inet_aton is in
310 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
312 * gst/gstpad.c: (pre_activate):
313 * gst/gstregistry.c: (gst_registry_scan_path_level):
314 * gst/gstregistryxml.c: (load_plugin):
315 * libs/gst/controller/gstcontroller.c:
316 (gst_controlled_property_set_interpolation_mode):
317 * libs/gst/dataprotocol/dataprotocol.c:
318 (gst_dp_packet_from_event_1_0):
319 * libs/gst/net/gstnetclientclock.c:
320 (gst_net_client_clock_observe_times):
321 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
324 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
327 * docs/gst/gstreamer-sections.txt:
328 * gst/gstconfig.h.in:
331 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
332 whether we can use G_GNUC_PRINTF in other header files and at
333 least check the printf format/arguments of debug messages and
334 GST_ELEMENT_ERROR messages when the printf extension is not
336 Replace more tabs with spaces in gstinfo.h and remove two spurious
337 function declarations in GST_DISABLE_DEBUG part with macros.
339 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
341 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
342 More docs for the sync-message signal (mention that it is not
343 emitted by default); log message structures of messages posted on
346 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
348 * gst/gst.c: (ensure_current_registry_forking):
349 Use a pipe pair to receive status results from the forked child, and
350 ignore the result from waitpid. Fixes #355499
352 2006-10-02 Wim Taymans <wim@fluendo.com>
354 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
355 (gst_ghost_pad_suite):
358 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
361 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
363 2006-10-02 Edward Hervey <edward@fluendo.com>
365 * docs/design/part-block.txt:
366 Further explain the use of flushing on blocked pads.
367 * docs/gst/gstreamer-sections.txt:
368 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
369 (gst_pad_push_event):
371 Added new GstPadFlag : GST_PAD_BLOCKING.
372 Adds the notion of pads really blocking, which enables to properly
373 handle FLUSH_START/FLUSH_STOP events on blocked pads.
375 API: gst_pad_is_blocking()
376 API: GST_PAD_IS_BLOCKING() macro
377 API: GST_PAD_BLOCKING GstPadFlag
379 2006-10-02 Wim Taymans <wim@fluendo.com>
381 Patch by: mrcgran <mrc.gran at gmail dot com>
383 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
384 Filter the proxied caps against the padtemplate if we have one.
386 * gst/gstquery.c: (gst_query_new_segment):
387 Add include for gstinfo.h so that compilation with
388 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
390 2006-10-02 Wim Taymans <wim@fluendo.com>
392 Patch by: Alessandro Decina <alessandro at nnva org>
394 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
395 (gst_file_sink_set_location), (gst_file_sink_open_file),
396 (gst_file_sink_close_file), (gst_file_sink_event),
397 (gst_file_sink_render):
398 Set file to NULL when closing filesink so that we can set a new filename
399 in READY. Fixes #358613.
401 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
403 Patch by: Alessandro Decina <alessandro at nnva org>
405 * gst/gstevent.c: (_gst_event_copy):
406 Fix gst_mini_object_make_writable() and gst_event_copy() for events
407 with event structures by setting the parent refcount address of the
408 copied structure to the address of the refcount member of the newly
409 copied event rather than the address of the refcount member of the
410 original event. Fixes #358737.
412 * tests/check/gst/gstevent.c: (GST_START_TEST):
413 Unit test for the above.
415 2006-09-29 Stefan Kost <ensonic@users.sf.net>
417 * docs/design/Makefile.am:
418 Dist some more files.
420 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
422 * tests/check/libs/controller.c: (GST_START_TEST),
423 (gst_controller_suite):
424 Add test for the previous fix; add some more tests
425 for correct refcounting behaviour; fix a few leaks
426 in test cases; call gst_controller_init() at start
429 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
431 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
432 (gst_controller_set_from_list):
433 Don't g_return_val_if_fail() on timed values with invalid timestamps
434 inside a critical section without unlocking the mutex. Spotted by
435 René Stadler. (#357617)
436 Also, fix up refcounting properly: when returning an existing
437 controller, we should increase the reference only once and not
438 once per property and when trying to control a property again
439 we should also increase the refcount.
441 2006-09-29 Wim Taymans <wim@fluendo.com>
443 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
444 * libs/gst/net/gstnettimeprovider.c:
445 (gst_net_time_provider_thread):
446 Stop reading commands when EOF as well.
448 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
449 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
450 * plugins/elements/gstidentity.c: (gst_identity_class_init):
451 Unify description of the dump property.
453 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
455 * tests/examples/manual/.cvsignore:
456 OK, so it's actually cvsignore that needs changing. Stop laughing.
458 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
460 * tests/examples/manual/Makefile.am:
461 Gah, declare vars *before* using them
463 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
465 * gst/gst.c: (init_pre), (scan_and_update_registry),
466 (ensure_current_registry_nonforking),
467 (ensure_current_registry_forking), (ensure_current_registry),
468 (init_post), (gst_debug_help), (gst_deinit):
470 * gst/gstregistry.c: (gst_registry_finalize),
471 (gst_registry_remove_features_for_plugin_unlocked),
472 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
473 (gst_registry_scan_path),
474 (_priv_gst_registry_remove_cache_plugins),
475 (_priv_gst_registry_cleanup):
477 Re-commit the registry changes, along with an extra fix:
478 When a cached plugin is encountered at a different file path,
479 update the stored path in the registry cache so that the parent
480 process knows where it actually is now when it re-reads the registry
481 cache. Fixes the thing that broke distcheck with the previous commit.
483 * tests/check/Makefile.am:
484 Clean up files named 'core' too when running make clean.
486 * tests/examples/manual/Makefile.am:
487 Set up a registry path for running these tests, and clean it properly
490 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
493 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
494 want gmodule-no-export-2.0.pc instead so that we don't drag in
495 --export-dynamic on every project that links to GStreamer.
497 Also, make our export regex only match the start of symbols, rather
498 than any symbol that contains '_gst' somewhere.
500 * libs/gst/check/Makefile.am:
501 The libgstcheck we build does however need export-dynamic, as it
502 produces some symbols that don't match our _gst... style regex.
505 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
507 * gst/gst.c: (init_pre), (scan_and_update_registry),
508 (ensure_current_registry_nonforking),
509 (ensure_current_registry_forking), (ensure_current_registry),
510 (init_post), (gst_debug_help), (gst_deinit):
512 * gst/gstregistry.c: (gst_registry_finalize),
513 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
514 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
515 (_gst_registry_cleanup):
517 Revert previous change until I figure out why it breaks distcheck.
519 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
521 * gst/gst.c: (init_pre), (scan_and_update_registry),
522 (ensure_current_registry_nonforking),
523 (ensure_current_registry_forking), (ensure_current_registry),
524 (init_post), (gst_debug_help), (gst_deinit):
526 Make init_pre and init_post take the full complement of GOptionFunc
527 args so they can return useful GErrors. Make the registry updating
530 Call _priv_gst_registry_remove_cache_plugins after scanning files to
531 ensure that the registry we're about to write out doesn't contain
532 stale information about old-deleted plugin files.
534 Make _priv_gst_registry_remove_cache_plugins return a boolean so
535 that deletion of plugin files is considered a registry change.
538 * gst/gstregistry.c: (gst_registry_finalize),
539 (gst_registry_remove_features_for_plugin_unlocked),
540 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
541 (gst_registry_scan_path),
542 (_priv_gst_registry_remove_cache_plugins),
543 (_priv_gst_registry_cleanup):
545 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
546 by adding _priv prefix, so that they won't appear in the global
547 symbol table. They still do atm though because of #318031. Move the
548 prototypes to gst_private.h
550 When removing a plugin, remove all features for that plugin too.
553 2006-09-27 Wim Taymans <wim@fluendo.com>
555 * docs/random/moving-plugins:
556 Make it clear that the "compiled-in descriptions" really mean
559 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
560 (gst_base_sink_wait_preroll):
563 * docs/libs/gstreamer-libs-sections.txt:
564 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
565 (gst_base_src_get_range), (gst_base_src_activate_push):
566 * libs/gst/base/gstbasesrc.h:
567 Added function to block while waiting for PLAYING, this function
568 is used by live sources that block on the clock.
569 API: gst_base_src_wait_playing()
571 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
573 Patch by: Peter Kjellerstedt <pkj at axis com>
576 gst-element-check.m4 is generated and should therefore be
577 copied from the build dir rather than the source dir (#357593).
578 'make distcheck' hasn't noticed this because we were disting
579 the file as well, so stop doing that.
581 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
583 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
584 Add some tests for gst_caps_intersect().
586 * tools/gst-launch.c: (event_loop):
587 Print all buffering percentages we get, even the 100% one.
589 2006-09-26 Wim Taymans <wim@fluendo.com>
591 * tools/gst-inspect.c: (print_element_properties_info),
593 Fix printing of flags to match the look of enums.
595 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
597 * gst/gstelementfactory.c:
598 Fix typo in docs blurb.
600 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
602 * gst/gsturi.c: (search_by_entry):
603 Don't assert/crash here if a uri handler doesn't return any
604 supported protocols. The list of protocols could be generated
605 dynamically at runtime or at plugin registration, and an error
606 in the underlying library shouldn't be fatal (#353301).
608 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
611 Fix warning if HAVE_PRINTF_EXTENSION is undefined
612 (spotted by Peter Kjellerstedt).
614 2006-09-23 Wim Taymans <wim@fluendo.com>
616 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
618 * libs/gst/base/gstbasesrc.c:
619 (gst_base_src_default_check_get_range), (gst_base_src_start),
620 (gst_base_src_activate_push), (gst_base_src_activate_pull),
621 (gst_base_src_change_state):
622 Match _start/_stop calls in the activate functions. Remove redundant
623 _stop call from the state change function. Fixes #356910.
624 Turn failure DEBUG into ERROR.
626 2006-09-22 Wim Taymans <wim@fluendo.com>
628 * docs/design/part-buffering.txt:
629 * gst/gstmessage.c: (gst_message_new_buffering),
630 (gst_message_parse_buffering):
631 Update docs about buffering.
633 * docs/design/part-trickmodes.txt:
636 2006-09-22 Stefan Kost <ensonic@users.sf.net>
638 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
639 (gst_controller_new_list):
640 Ref instances when returning them again (fixes #357180)
642 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
644 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
645 Don't forget to release proxy lock when there's an error.
647 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
650 Add extra initialisers for Caps things, to fix some plugin warnings
653 2006-09-18 Wim Taymans <wim@fluendo.com>
655 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
656 Also set template on the internal pad so that a getcaps from the
657 target pad returns the template caps.
659 2006-09-18 Wim Taymans <wim@fluendo.com>
661 * gst/gstelement.c: (gst_element_post_message),
662 (gst_element_dispose):
663 Use _DEBUG_OBJECT some more.
665 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
668 * tools/gst-launch.c: (main):
669 If the toplevel element is not a GstPipeline, it must be put in a
670 pipeline so that a bus and clock is selected.
672 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
674 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
675 JITTER, RATE, and LATENCY query should be handled by the
676 default case and not by the CONVERT query code.
678 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
680 * gst/gstformat.c: (gst_format_register):
681 Fix locking order (must take lock before using n_values).
683 * gst/gstvalue.c: (gst_value_serialize_enum),
684 (gst_value_deserialize_enum_iter_cmp),
685 (gst_value_deserialize_enum):
686 Fix serialisation/deserialisation of custom registered GstFormats.
688 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
689 Unit test for custom format serialisation/deserialisation.
691 2006-09-17 Stefan Kost <ensonic@users.sf.net>
693 * docs/pwg/building-boiler.xml:
694 * plugins/elements/gstcapsfilter.c:
695 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
698 2006-09-16 Edward Hervey <edward@fluendo.com>
700 * libs/gst/base/gstbasetransform.c:
701 (gst_base_transform_buffer_alloc):
702 Check if requested caps are the same as the sinks caps IF
703 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
705 This fixes the renegotiation issues stated in #352827.
707 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
710 * docs/manual/advanced-autoplugging.xml:
711 * tests/examples/Makefile.am:
712 * tests/examples/manual/.cvsignore:
713 * tests/examples/manual/Makefile.am:
714 * tests/examples/manual/extract.pl:
715 Extract the manual examples again like we used to do.
718 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
720 * win32/common/config.h:
723 2006-09-16 Stefan Kost <ensonic@users.sf.net>
726 Documents how to receive errors.
728 2006-09-15 Wim Taymans <wim@fluendo.com>
730 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
731 (event_loop), (main):
732 Added some comments here and there.
733 Post an application message when an interrupt is caught instead of doing
734 an uncontrolled state change.
735 Clean up the event loop.
736 Handle buffering messages, pause/resume the pipeline.
737 Make shutdown because of an interrupt more reliable.
739 2006-09-15 Wim Taymans <wim@fluendo.com>
741 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
742 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
743 (gst_base_sink_preroll_object):
744 Make sure that our internal state is correct when we commit our state
745 asynchronously. This solves a race where a state change to PLAYING
746 could cause the sink to remain blocked in preroll in some situations.
748 2006-09-15 Wim Taymans <wim@fluendo.com>
750 * tools/gst-inspect.c: (print_element_properties_info),
752 List flags as hex so it's easier to deal with.
754 2006-09-15 Wim Taymans <wim@fluendo.com>
756 * docs/libs/gstreamer-libs-sections.txt:
757 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
758 (gst_base_sink_do_sync):
759 * libs/gst/base/gstbasesink.h:
760 Expose logic to wait for preroll so that subclasses such as audiosink
761 can also use this method.
762 API: gst_base_sink_wait_preroll()
764 2006-09-15 Wim Taymans <wim@fluendo.com>
766 * gst/gstobject.c: (gst_object_set_parent):
767 * gst/gstpipeline.c: (do_pipeline_seek):
768 Small cleanups in docs and code.
770 * gst/gstsegment.c: (gst_segment_clip):
771 * tests/check/gst/gstsegment.c: (GST_START_TEST):
772 if stop == start and start is in the segment, no clipping should be
773 done. Also add a test for this.
775 2006-09-15 Wim Taymans <wim@fluendo.com>
777 * docs/design/part-buffering.txt:
778 * docs/gst/gstreamer-sections.txt:
779 * gst/gstmessage.c: (gst_message_new_buffering),
780 (gst_message_parse_buffering):
782 Added methods to create and parse BUFFERING messages.
783 Added preliminary docs about buffering.
784 API: gst_message_new_buffering
785 API: gst_message_parse_buffering
787 2006-09-06 Wim Taymans <wim@fluendo.com>
790 Update documentation.
792 * gst/gstelement.c: (gst_element_class_init),
793 (gst_element_release_request_pad), (gst_element_set_clock),
794 (gst_element_get_index), (gst_element_add_pad),
795 (gst_element_remove_pad), (gst_element_get_random_pad),
796 (gst_element_send_event), (gst_element_get_query_types),
797 (gst_element_query), (gst_element_post_message),
798 (gst_element_message_full), (gst_element_continue_state),
799 (gst_element_lost_state), (gst_element_save_thyself),
800 (gst_element_restore_thyself):
801 Documentation updates.
802 Rename last bit of the new-pad -> pad-added signal rename.
803 Fix the case where an element query would only work if the source
805 Avoid some useless type checking in message handling.
810 Documentation updates.
812 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
814 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
815 add an INFO line for when we actually update the fd
817 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
822 === release 0.10.10 ===
824 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
827 releasing 0.10.10, "Pais"
829 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
831 * docs/manual/advanced-position.xml:
832 Fix typo in sample code.
834 2006-09-05 Wim Taymans <wim@fluendo.com>
836 * libs/gst/net/gstnetclientclock.c: (inet_aton),
837 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
838 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
839 * libs/gst/net/gstnetclientclock.h:
840 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
841 * libs/gst/net/gstnettimepacket.h:
842 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
843 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
844 (gst_net_time_provider_thread), (gst_net_time_provider_new):
845 * libs/gst/net/gstnettimeprovider.h:
846 Make stuff compile on windows. Fixes #345295.
848 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
850 * gst/gst.c: (ensure_current_registry_forking):
851 Print better details when child was terminated by signal.
853 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
855 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
856 Print a warning rather than g_assert() if a plugin feature
857 is a URI handler but returns no protocols (#353976).
859 2006-09-02 Stefan Kost <ensonic@users.sf.net>
861 * docs/random/moving-plugins:
864 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
866 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
867 Fix locking order, handle NULL function values properly.
872 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
873 Initialise variable before using it and fix debug statement to
874 print the address of the function rather than the address of the
875 variable on the stack holding the address of the function.
877 2006-09-01 Wim Taymans <wim@fluendo.com>
879 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
880 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
881 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
882 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
883 (gst_ghost_pad_parent_unset),
884 (gst_ghost_pad_internal_do_activate_push),
885 (gst_ghost_pad_internal_do_activate_pull),
886 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
887 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
888 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
889 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
890 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
891 (gst_ghost_pad_new_no_target_from_template),
892 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
894 Avoid needless typechecking in macros.
895 Since the internal pad is always present and never changes, there is
896 no need to locking or ref when retrieving it.
897 Improve debugging a bit.
898 Handle link errors when setting the target. Fixes #341029.
900 2006-09-01 Wim Taymans <wim@fluendo.com>
902 * docs/libs/gstreamer-libs-sections.txt:
903 * docs/plugins/gstreamer-plugins-sections.txt:
906 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
907 (gst_collect_pads_event):
908 * libs/gst/base/gstcollectpads.h:
909 Documentation updates.
910 Free queued buffer when removing a pad.
912 2006-08-31 Michael Smith <msmith@fluendo.com>
914 * gst/gstutils.c: (gst_element_link_pads),
915 (gst_element_link_pads_filtered):
916 Ensure that we set a capsfilter to NULL if we failed to link it
917 when doing filtered linking, to avoid criticals.
919 No need to check for unreffing srcpad, which is explicly NULLed
920 above (a trivial code cleanup).
922 2006-08-31 Wim Taymans <wim@fluendo.com>
924 * docs/design/part-gstghostpad.txt:
925 Update ascii art in documentation.
927 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
928 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
929 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
930 (gst_ghost_pad_internal_do_activate_push),
931 (gst_ghost_pad_internal_do_activate_pull),
932 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
933 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
934 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
935 (gst_ghost_pad_set_target):
936 Small cleanups and leak fixes.
937 Remove some checks now that the internal pad is never NULL.
938 Fix the case where linking pads without a target would create nasty
939 criticals. Fixes #341029.
940 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
941 value of _set_target().
943 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
944 (gst_ghost_pad_suite):
945 Some more tests for creating and linking untargeted ghostpads.
947 2006-08-31 Edward Hervey <edward@fluendo.com>
949 * docs/gst/gstreamer-sections.txt:
950 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
951 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
952 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
953 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
954 (gst_ghost_pad_new_from_template),
955 (gst_ghost_pad_new_no_target_from_template):
957 Refactored *_new() functions.
958 Templates are now used as a g_object_new() parameter.
959 Use template in _do_getcaps() if we don't have a target.
960 Small documentation cleanups.
961 Added two new constructors:
962 gst_ghost_pad_new_from_template()
963 gst_ghost_pad_new_no_target_from_template()
964 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
965 (gst_ghost_pad_suite):
966 Added tests for new ghostpad instanciation functions.
968 API additions: gst_ghost_pad_new_from_template,
969 gst_ghost_pad_new_no_target_from_template
971 2006-08-30 Stefan Kost <ensonic@users.sf.net>
973 * docs/random/ensonic/profiling.txt:
974 Ideas about qos profiling.
976 2006-08-29 Wim Taymans <wim@fluendo.com>
978 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
982 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
985 Improve and detypofy docs.
987 * tests/check/Makefile.am:
988 * tests/check/gst/.cvsignore:
989 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
990 Add a basic test suite for GstXML.
992 2006-08-29 Wim Taymans <wim@fluendo.com>
994 * gst/gstelement.c: (activate_pads), (clear_caps),
995 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
996 Clear the pad caps when the element shut down all of the pads and
997 is not streaming data that could modify the caps.
1000 2006-08-28 Michael Smith <msmith@fluendo.com>
1002 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1003 Revert previous change; I misunderstood single-segment mode.
1005 2006-08-28 Michael Smith <msmith@fluendo.com>
1007 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
1008 Unset DISCONT on buffers when using single-segment mode.
1010 2006-08-28 Wim Taymans <wim@fluendo.com>
1012 * gst/gstcaps.c: (gst_caps_merge_structure):
1014 Fix docs and indentation again.
1016 * tests/check/gst/gstquery.c: (GST_START_TEST):
1017 Fix leak in tests and add some more tests.
1019 2006-08-28 Edward Hervey <edward@fluendo.com>
1021 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1022 Inform GstSegment of the last stop position in order for the current
1023 segment to have a proper duration if it doesn't have a specific stop
1024 position from which a duration could be calculated.
1025 This bug was noticeable when a non-flushing, non-update new segment was
1026 followed by another segment (all buffers from the new segment were being
1029 2006-08-28 Wim Taymans <wim@fluendo.com>
1031 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1032 Small comment update.
1034 * plugins/elements/gstidentity.c: (gst_identity_class_init),
1035 (gst_identity_transform_ip):
1036 Drop-probability is broken, mention this in the code with a
1037 FIXME and also in the property description.
1038 Make silent also be silent about the drop messages.
1040 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
1042 * docs/manual/appendix-win32.xml:
1043 Remove mention of popt, we don't depend on that any
1044 longer (#353136). Add some comments pointing out that
1045 this section is slightly outdated.
1047 2006-08-28 Wim Taymans <wim@fluendo.com>
1049 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
1051 * gst/gstquery.c: (gst_query_new_segment):
1052 * tests/check/gst/gstquery.c: (GST_START_TEST):
1053 Initialize variables when creating a new segment query.
1056 2006-08-28 Wim Taymans <wim@fluendo.com>
1058 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
1060 * gst/gstelement.c: (gst_element_get_bus):
1061 * tests/check/gst/gstelement.c: (GST_START_TEST):
1062 Check for NULL before _reffing the bus. Fixes #353122.
1064 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
1066 * docs/manual/basics-bus.xml:
1067 Docs update: fix wrong callback return value explanation; add
1068 some lines about the implicit relationship between main loop
1069 and main context; remove duplicate main loop variable declaration.
1071 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
1073 * tests/check/gst/gstcaps.c: (GST_START_TEST):
1074 Don't leak caps in unit test; add a few more simple
1077 2006-08-24 Stefan Kost <ensonic@users.sf.net>
1079 * docs/gst/gstreamer-sections.txt:
1080 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
1081 (gst_caps_structure_is_subset), (gst_caps_merge),
1082 (gst_caps_merge_structure):
1084 * libs/gst/base/gstbasetransform.c:
1085 (gst_base_transform_transform_caps):
1086 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1087 implement caps merging (fixes #352580)
1089 2006-08-23 Stefan Kost <ensonic@users.sf.net>
1091 * tools/Makefile.am:
1092 * tools/gst-plot-timeline.py:
1093 add debug-log plotting developer tool (#340674)
1095 2006-08-23 Wim Taymans <wim@fluendo.com>
1097 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
1098 (gst_pad_stop_task):
1099 Improve debugging for task functions.
1101 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
1102 (gst_task_start), (gst_task_pause), (gst_task_join):
1103 Make sure that the task function started and finished after a
1105 Don't try to push the task function on the threadpool multiple
1107 Improve the g_warning message with some useful suggestions
1108 about how to fix the problem.
1110 2006-08-23 Wim Taymans <wim@fluendo.com>
1112 * gst/gstutils.c: (gst_pad_proxy_getcaps):
1113 Handle RESYNC correctly in _proxy_getcaps.
1115 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
1117 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
1118 (gst_xml_parse_memory), (gst_xml_get_element):
1119 Chain up to parent class in dispose function and also
1120 unref the elements in the toplevel_elements GList.
1121 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
1122 Always return a reference in gst_xml_get_element() rather
1123 than only sometimes.
1125 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
1126 Don't leak GstXml object.
1128 2006-08-21 Stefan Kost <ensonic@users.sf.net>
1130 * docs/gst/gstreamer-sections.txt:
1131 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
1134 * libs/gst/base/gstbasetransform.c:
1135 (gst_base_transform_transform_caps):
1136 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
1139 2006-08-21 Edward Hervey <edward@fluendo.com>
1141 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
1142 Implement GObject::dispose virtual method in GstXML so we can free the
1145 2006-08-21 Wim Taymans <wim@fluendo.com>
1147 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
1148 (gst_buffer_create_sub):
1149 Copy duration/offset_end/caps when creating a subbuffer of the
1151 Make the subbuffer read-only when we make the metadata writable for
1154 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1155 Added check for metadata copy when creating subbuffers.
1157 2006-08-21 Edward Hervey <edward@fluendo.com>
1159 * libs/gst/base/gstbasetransform.c:
1160 (gst_base_transform_buffer_alloc):
1161 Only call downstream buffer_alloc if transform element is passthrough
1162 or always_in_place. Closes #350449.
1164 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1167 ChangeLog surgery to add comments to previous changes
1169 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1174 * gst/gstpad.c: (gst_pad_set_active):
1175 Be more verbose in the log
1177 * libs/gst/base/gstbasetransform.c:
1178 (gst_base_transform_transform_caps):
1179 Simplify caps to get rid of duplicates, fixes #345444
1181 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1185 Use these optimizations only internally.
1187 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1189 * gst/gstvalue.c: (gst_value_compare_list),
1190 (gst_value_compare_fraction_range),
1191 (gst_value_intersect_fraction_fraction_range),
1192 (gst_value_intersect_fraction_range_fraction_range),
1193 (gst_value_subtract_fraction_fraction_range),
1194 (gst_value_subtract_fraction_range_fraction_range),
1195 (gst_value_get_compare_func), (gst_value_compare),
1196 (gst_value_compare_with_func):
1198 Saves the expensive lookup of the compare function in many cases
1201 2006-08-18 Edward Hervey <edward@fluendo.com>
1203 * tests/check/gst/gstinfo.c: (gst_info_suite):
1204 Disable test that require gstdebug if it wasn't built in core.
1206 2006-08-18 Stefan Kost <ensonic@users.sf.net>
1208 * docs/random/ensonic/logging.txt:
1211 * gst/gstinfo.c: (gst_debug_log_default):
1212 reorder fields, save some columns, add optional color codes for log
1215 2006-08-18 Stefan Kost <ensonic@users.sf.net>
1217 * docs/random/ensonic/logging.txt:
1218 add ideas about making the logs a bit more useful
1220 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
1222 * docs/pwg/advanced-events.xml:
1223 * docs/pwg/titlepage.xml:
1224 Update for 0.10 API (#340627). Add myself
1227 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
1229 * docs/libs/gstreamer-libs-docs.sgml:
1230 * docs/libs/gstreamer-libs-sections.txt:
1231 * libs/gst/check/gstbufferstraw.c:
1232 Make gstcheck stuff show up in docs (still needs to
1233 be documented properly though).
1235 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
1237 * docs/gst/gstreamer-sections.txt:
1239 * gst/gst.c: (init_post):
1240 * gst/gst_private.h:
1241 * gst/gstquark.c: (_priv_gst_quarks_initialize):
1243 * gst/gstquery.c: (gst_query_new_position),
1244 (gst_query_set_position), (gst_query_parse_position),
1245 (gst_query_new_duration), (gst_query_set_duration),
1246 (gst_query_parse_duration), (gst_query_new_convert),
1247 (gst_query_set_convert), (gst_query_parse_convert),
1248 (gst_query_new_segment), (gst_query_set_segment),
1249 (gst_query_parse_segment), (gst_query_new_seeking),
1250 (gst_query_set_seeking), (gst_query_parse_seeking):
1251 Add internal helpers for pre-registering quarks from static strings
1252 and using the quark values directly instead of looking them up when
1253 creating and parsing queries. Can be used for event construction too.
1256 2006-08-16 Wim Taymans <wim@fluendo.com>
1261 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1263 * gst/gstutils.c: (gst_util_set_value_from_string):
1264 Fix memleak (#351502).
1266 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1267 Add unit test for most of gst_util_set_value_from_string()
1268 (not that one would want to encourage use of this function).
1270 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1272 * libs/gst/check/gstcheck.h:
1273 Use const gchar * variables in fail_unless_equals_string
1274 macro to avoid compiler warnings (and don't use tabs for
1277 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1279 * tools/gst-launch.c: (print_tag):
1280 More space on the left for the tag names, to cater
1281 for the 'extended comment' tag (not touching the
1282 string for the first line since it's translated).
1284 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1286 * libs/gst/check/gstcheck.h:
1287 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
1288 print something when they fail.
1290 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
1292 * docs/gst/gstreamer-sections.txt:
1293 * gst/gsttaglist.c: (_gst_tag_initialize):
1295 API: add GST_TAG_EXTENDED_COMMENT (#350935).
1296 Also change merge function for GST_TAG_COMMENT to
1299 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
1301 * gst/gstinfo.c: (gst_debug_print_object):
1302 Make GST_PTR_FORMAT print messages as well.
1304 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
1305 (GST_START_TEST), (gst_info_suite):
1308 2006-08-14 Edward Hervey <edward@fluendo.com>
1310 * gst/gstelementfactory.c: (gst_element_register):
1311 If the GstElementClass doesn't have a GstElementDetails with all fields
1312 filled up correctly (longname, description AND author), then error out
1313 nicely instead of crashing.
1315 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
1317 * gst/gststructure.c:
1318 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
1321 Expand on the difference between arrays and lists as we use them.
1323 2006-08-14 Wim Taymans <wim@fluendo.com>
1325 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1326 If the parent state change function failed, don't assume we can safely
1327 stop the source, this will be done when the pads are deactivated.
1329 2006-08-14 Wim Taymans <wim@fluendo.com>
1332 * gst/gsttask.c: (gst_task_join):
1335 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
1336 (gst_pad_stop_task):
1337 When pad (de)activation failed for some reason, restore the old
1338 activation mode and set the pad to flushing instead of assuming the
1340 If the _task_join() failed, reinstall the task on the pad so that it can
1341 be stopped later and return an error.
1343 2006-08-11 Andy Wingo <wingo@pobox.com>
1346 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1347 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
1348 is only for users of API that don't want to see deprecated
1349 functions in the headers; people that want to compile out
1350 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
1351 CFLAGS. Fixes the build of multifdsink, or will soon..
1353 2006-08-11 Wim Taymans <wim@fluendo.com>
1355 * docs/gst/gstreamer-sections.txt:
1356 Add GstClockClass vmethod docs.
1359 Mark #endif with comment for associated #if
1361 * gst/gstclock.c: (gst_clock_id_wait):
1363 Add vmethod wait_jitter to avoid an unneeded _get_time() for
1364 most clock implementations.
1366 Flesh out docs about resolution methods.
1367 API: GstClockClass::wait_jitter
1369 * gst/gstsystemclock.c: (gst_system_clock_class_init),
1370 (gst_system_clock_async_thread),
1371 (gst_system_clock_id_wait_jitter_unlocked),
1372 (gst_system_clock_id_wait_jitter):
1373 Use base class wait_jitter variant for improved performance
1374 due to less clock polling.
1376 2006-08-11 Edward Hervey <edward@fluendo.com>
1378 * gst/gst.c: (gst_init_check), (init_post):
1379 Set gst as being initialized before scanning/updating the registry,
1380 since there might be my python plugin loader that calls gst_init() and
1381 we don't want to loop back in.
1384 2006-08-11 Wim Taymans <wim@fluendo.com>
1386 * docs/design/part-qos.txt:
1387 Bring docs in line with the code. Mostly the sign of the jitter was
1388 wrong in the docs. Fixes #349943.
1391 Fix the docs for the jitter.
1393 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
1394 (gst_event_parse_tag), (gst_event_new_buffer_size),
1395 (gst_event_parse_buffer_size), (gst_event_parse_qos),
1396 (gst_event_new_seek), (gst_event_parse_seek),
1397 (gst_event_new_navigation):
1398 Make sure the GstStructure has no parent when creating custom
1400 Add some more argument checking so that we avoid 0.0 rates.
1401 Flesh out the docs for the QoS event some more.
1403 2006-08-11 Wim Taymans <wim@fluendo.com>
1405 * docs/gst/gstreamer-sections.txt:
1406 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1407 (ensure_current_registry_forking), (ensure_current_registry),
1408 (parse_one_option), (parse_goption_arg), (gst_deinit),
1409 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
1412 Added API and command line option to disable registry forking in
1413 addition to the environment variable.
1414 Constify some static arrays.
1415 Added some more debug.
1417 API: gst_registry_fork_is_enabled()
1418 API: gst_registry_fork_set_enabled()
1419 API: --gst-disable-registry-fork command line option
1422 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
1424 * gst/gst.c: (gst_init):
1425 Fix typo in error message.
1427 2006-08-10 Stefan Kost <ensonic@users.sf.net>
1429 * libs/gst/controller/gstcontroller.h:
1430 fix ABI size-correction
1432 * tests/check/libs/gdp.c: (gst_dp_suite):
1433 make tests that use deprecated API conditional
1435 2006-08-10 Stefan Kost <ensonic@users.sf.net>
1437 * docs/libs/gstreamer-libs-sections.txt:
1438 * libs/gst/controller/gstcontroller.c:
1439 (_gst_controller_get_property), (_gst_controller_set_property),
1440 (_gst_controller_init), (_gst_controller_class_init):
1441 * libs/gst/controller/gstcontroller.h:
1442 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
1443 (gst_object_set_control_rate):
1444 API: add gst_object_{s,g}et_control_rate(), add private data section,
1447 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1448 * libs/gst/dataprotocol/dataprotocol.h:
1449 add deprecation guards to make gtk-doc happy and allow disabling cruft
1451 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
1453 * tests/check/Makefile.am:
1454 * tests/check/gst/.cvsignore:
1455 Let's enable the new unit test as well.
1457 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
1460 * docs/gst/gstreamer-sections.txt:
1461 * gst/gstconfig.h.in:
1462 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
1463 (_gst_info_printf_extension_ptr),
1464 (_gst_info_printf_extension_segment):
1465 API: add GST_SEGMENT_FORMAT, which is a printf extension we
1466 register that lets us easily dump GstSegments into debug
1469 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
1470 (info_segment_format_printf_extension), (gst_info_suite):
1471 Add simple unit test that logs a bunch of different segments (not
1472 valgrinded at the moment because of leaks in
1473 gst_debug_add_log_function).
1475 2006-08-09 Edward Hervey <edward@fluendo.com>
1477 * libs/gst/base/gstbasetransform.c:
1478 (gst_base_transform_buffer_alloc):
1479 Even if we can't figure out the proper format to request downstream,
1480 call buffer_alloc() downstream with the input parameters without setting
1481 the caps on the srcpad. This will force negotiation in the chain
1485 2006-08-08 Edward Hervey <edward@fluendo.com>
1487 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
1488 Unlinking from a pad without a target is now a perfectly valid case
1489 which should NOT raise an assertion.
1490 This case would happen if a linked ghostpad its target set to NULL after
1491 it was previously linked.
1493 2006-08-08 Edward Hervey <edward@fluendo.com>
1495 * tests/check/libs/gdp.c:
1496 Also comment out the test (see below).
1498 2006-08-08 Edward Hervey <edward@fluendo.com>
1500 * tests/check/libs/gdp.c: (gst_dp_suite):
1501 Use the architecture information from config.h and not gcc macros
1502 in order to properly disable a test that fails on PPC64.
1504 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
1506 * gst/gstelement.c: (gst_element_remove_pad):
1507 Don't crash printing the warning if the pad has no parent.
1509 2006-08-02 Wim Taymans <wim@fluendo.com>
1511 * libs/gst/dataprotocol/dataprotocol.c:
1512 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
1513 (gst_dp_crc), (gst_dp_header_payload_length),
1514 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
1515 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
1516 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
1517 (gst_dp_event_from_packet), (gst_dp_validate_header),
1518 (gst_dp_validate_payload):
1519 Make debug category static
1520 Constify the crc table.
1521 Do some more arg checking in public functions.
1522 Fix some docs and do some small cleanups.
1524 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
1525 Add some more checks to see if GDP deals with bogus input.
1527 2006-07-31 Wim Taymans <wim@fluendo.com>
1529 * gst/gstvalue.c: (gst_value_compare_list):
1530 Fix GstValueList comparison code. Fixes #347293.
1532 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1533 Check to test GstValueList comparison.
1535 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1537 * gst/gstelementfactory.c: (gst_element_factory_create):
1538 Remove unnecessary ref/unref pair
1540 * gst/parse/grammar.y:
1541 Make sure to free the parse buffer on all code paths.
1542 Move a g_free up to the error handler where it's easier to see.
1544 * tests/check/gst/gstevent.c: (test_event):
1545 Extending timeout for downstream travelling events to 10 seconds to
1546 hopefully avoid intermittent failure on the buildbots.
1548 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
1549 Don't manually set the state of the src element - it will happen as a
1550 natural consequence of the pipeline changing state, and that way it
1551 will do it in the right order too.
1553 2006-07-31 Wim Taymans <wim@fluendo.com>
1555 * libs/gst/base/gstbasetransform.c:
1556 (gst_base_transform_buffer_alloc):
1557 Use OBJECT_LOCK and refcounting to get the pad caps in the
1558 buffer_alloc function because the caps could change while we are
1559 busy with them. Fixes #349105
1561 2006-07-31 Wim Taymans <wim@fluendo.com>
1563 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
1564 Protect _PAD_CAPS with OBJECT_LOCK.
1566 2006-07-31 Wim Taymans <wim@fluendo.com>
1568 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
1569 (gst_pad_get_property), (gst_pad_activate_pull),
1570 (gst_pad_activate_push), (gst_pad_set_blocked_async),
1571 (gst_pad_set_activate_function),
1572 (gst_pad_set_activatepull_function),
1573 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
1574 (gst_pad_set_getrange_function),
1575 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
1576 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
1577 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
1578 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
1579 (gst_pad_set_acceptcaps_function),
1580 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
1581 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
1582 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
1583 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
1584 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
1585 (gst_pad_configure_sink), (gst_pad_configure_src),
1586 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
1587 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
1588 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
1589 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
1590 (gst_pad_send_event):
1591 Use _DEBUG_OBJECT when it makes sense.
1592 Protect GST_PAD_CAPS with the OBJECT_LOCK.
1593 Small cleanups and code reflows.
1594 Avoid caps refcounting in _accept_caps.
1595 Refactor alloc_buffer so that the code performed on the peer is in a
1596 separate function. Also if the pad does not implement a buffer alloc
1597 function, we should still check if the pad is flushing before falling
1598 back to the default allocator.
1600 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1602 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1603 Make all uses of identity and fakesink have silent=true to avoid
1604 serialising every passing data structure, which is breaking tests
1605 on FC4 for some unknown reason.
1607 2006-07-30 Stefan Kost <ensonic@users.sf.net>
1609 * gst/parse/Makefile.am:
1610 * gst/parse/grammar.y:
1611 * gst/parse/parse.l:
1612 Reverted previous patch as it required to bump the flex dependency to
1613 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
1615 2006-07-30 Stefan Kost <ensonic@users.sf.net>
1617 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
1619 * gst/parse/Makefile.am:
1620 * gst/parse/grammar.y:
1621 * gst/parse/parse.l:
1622 push & pop the state of the lexer for reentrant use case
1625 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
1627 * libs/gst/base/gstbasesrc.h:
1628 Note in the docs that the ::newsegment vfunc is not actually used by
1631 2006-07-28 Wim Taymans <wim@fluendo.com>
1633 * libs/gst/base/gstcollectpads.c:
1634 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
1635 (gst_collect_pads_clear), (gst_collect_pads_flush),
1636 (gst_collect_pads_event), (gst_collect_pads_chain):
1637 When flushing a pad, also clear the queued buffer so that we don't
1638 accidentally use it when we shouldn't.
1639 Fix leaks by inreffing incomming buffer.
1640 Flush out queued buffers in case of errors.
1643 2006-07-28 Wim Taymans <wim@fluendo.com>
1645 * docs/random/phonon-gst:
1646 Random notes about a Phonon backend.
1648 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1650 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
1652 * tests/check/libs/gdp.c: (gst_dp_suite):
1653 Take a whack at fixing the ppc compile using a different define to
1654 disable the broken test.
1656 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1657 Remove excess g_print()
1659 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1661 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1662 Oops, meant to uncomment this line too to dampen the noise a bit.
1664 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1666 * gst/parse/grammar.y:
1667 * gst/parse/parse.l:
1668 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1669 (GST_START_TEST), (parse_suite):
1670 Fix some of the leaks exposed by extending the parse-launch testsuite,
1671 and move the 3 I can't figure out into a separate test that won't run
1672 the pipelines unless the appropriate line is uncommented.
1674 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
1676 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1677 Requesting 0 bytes before the end of the file should result in
1678 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
1681 2006-07-27 Wim Taymans <wim@fluendo.com>
1683 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
1684 Fix useless assert, a uint is always positive.
1686 * gst/gststructure.c: (gst_structure_nth_field_name),
1687 (gst_structure_foreach), (gst_structure_map_in_place):
1688 Check input arguments for public functions to avoid obvious crashes.
1690 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
1691 * plugins/elements/gstfakesink.h:
1692 Do less useless typechecking.
1694 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
1696 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1697 Do not use mmap() by default since there are a number of error
1698 conditions that we would like to handle in a non-fatal way that
1699 will result in a SIGBUS if we use mmap(). Examples: external
1700 devices (USB harddrive, portable music player) being unplugged
1701 while in use; file on mounted CD/DVD that can't be read because
1702 the medium is partly damaged. Fixes #348455 and #348475.
1704 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1707 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
1710 2006-07-26 Stefan Kost <ensonic@users.sf.net>
1712 * gst/gstregistry.c:
1713 Move big documentation comment into class section header, so that it
1714 appears in the API docs.
1716 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1718 * docs/gst/gstreamer-sections.txt:
1719 Oops. Commit the docs additions too for new API.
1720 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
1722 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1724 * gst/gststructure.c: (gst_structure_id_set),
1725 (gst_structure_id_set_valist):
1726 * gst/gststructure.h:
1727 Add API for setting values into structures without performing
1728 a quark lookup, if the appropriate quark is already known.
1730 API: gst_structure_id_set
1731 API: gst_structure_id_set_valist
1733 * gst/parse/grammar.y:
1734 * gst/parse/parse.l:
1735 Remove some dead code shown by the coverage information.
1736 Don't throw a critical g_warning when encountering a syntax error,
1737 just warn and let the normal error path handle it.
1739 * plugins/elements/gstelements.c:
1740 Bump the rank of filesink up to PRIMARY so that it is preferred over
1741 gnomevfssink for file:// sink uri's
1743 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1744 (GST_START_TEST), (run_delayed_test),
1745 (gst_parse_test_element_base_init),
1746 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
1747 (gst_parse_test_element_change_state),
1748 (gst_register_parse_element), (parse_suite):
1749 Beef up the tests for parse syntax to check that more error cases
1750 fail as they are supposed to. Increases the test coverage a bit.
1752 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
1754 * docs/manual/basics-elements.xml:
1755 Fix gst_element_link() example.
1758 Mention in API docs that one should usually gst_bin_add()
1759 elements to a bin or pipeline before doing the linking.
1761 2006-07-26 Wim Taymans <wim@fluendo.com>
1763 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1764 (gst_subbuffer_get_type), (gst_buffer_create_sub):
1765 Avoid function call for known types by keeping the buffer and
1766 subbuffer GType global.
1768 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1769 Random silly optimisations in read() path.
1771 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1773 * tools/gst-launch.c: (main):
1774 If the top-level of the parse is a normal bin, it doesn't do the
1775 right logic to run as a top-level element, so place it inside a
1778 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
1780 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1781 Remove superfluous g_object_notify() calls, GObject does
1782 that for us automatically.
1784 2006-07-25 Stefan Kost <ensonic@users.sf.net>
1787 on Win32, use dllspec to export the debug category symbols
1789 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
1791 * gst/gsttaglist.c: (_gst_tag_initialize):
1792 Allow more than one GST_TAG_IMAGE per taglist.
1794 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
1796 * gst/gstminiobject.c:
1798 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1799 (gst_fd_src_create):
1800 log recurring events at LOG level
1801 add more debug for when the fd gets set
1803 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1805 * gst/gstparse.c: (gst_parse_launch):
1806 Also remove reentrance checks if flex is MT safe (#348179)
1807 Fix my empty ChangeLog entry below
1809 2006-07-21 Andy Wingo <wingo@pobox.com>
1811 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1813 * libs/gst/check/Makefile.am
1814 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1815 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
1816 * libs/gst/check/gstbufferstraw.h:
1817 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1818 functions, thus proving I am still a GStreamer haxor. OK I wrote
1819 them a long time ago, but anyways.
1821 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1824 * gst/gstparse.c: (gst_parse_launch):
1825 Check for flex version and omit mutex if we have a MT save flex
1828 2006-07-21 Wim Taymans <wim@fluendo.com>
1830 * gst/gstparse.c: (gst_parse_launch):
1831 Protect recursive calls to _parse with a recursive mutex
1834 2006-07-21 Wim Taymans <wim@fluendo.com>
1836 * tests/check/gst/gstpad.c: (GST_START_TEST):
1839 2006-07-20 Stefan Kost <ensonic@users.sf.net>
1841 * gst/gstparse.c: (gst_parse_launch):
1842 Do not hang on recursive usage of gst_parse_launch()
1844 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1847 Add some more docs, comments and FIXME 0.11s here and there
1848 and also fix some typos.
1850 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1853 Convert tabs to spaces for better readability.
1855 2006-07-20 Edward Hervey <edward@fluendo.com>
1857 * tests/check/libs/gdp.c: (gst_dp_suite):
1858 the test_buffer test fails at line 140 on ppc64 at the following
1860 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
1861 GST_BUFFER_FLAG_IN_CAPS),
1862 "GST_BUFFER_IN_CAPS flag should have been copied !");
1863 See bug #348114 for more details.
1865 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
1867 * docs/pwg/advanced-scheduling.xml:
1869 Fix typos (#348000).
1871 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
1873 * docs/pwg/intro-basics.xml:
1874 Fix wrong links (#347927).
1876 2006-07-18 Stefan Kost <ensonic@users.sf.net>
1878 * gst/gstregistry.h:
1879 * gst/gstregistryxml.c: (load_feature),
1880 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1881 * win32/common/config.h:
1882 make --disable-index work (#342564)
1884 2006-07-18 Wim Taymans <wim@fluendo.com>
1886 Patch by: Peter Kjellerstedt <pkj at axis dot com>
1890 The attached patch adds two missing defines to gsttrace.h when tracing
1891 is disabled. It also corrects one existing define.
1894 2006-07-17 Wim Taymans <wim@fluendo.com>
1896 * docs/gst/gstreamer-sections.txt:
1897 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
1899 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
1900 Add two functions to check and change the SIGSEGV behaviour
1901 when loading plugins.
1902 Don't mess with the SIGSEGV handler when we were told not to.
1904 API: gst_segtrap_is_enabled
1905 API: gst_segtrap_set_enabled
1907 2006-07-14 Wim Taymans <wim@fluendo.com>
1909 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1910 * tests/check/elements/filesrc.c: (GST_START_TEST):
1911 Revert fix for regression in #347408 after release.
1913 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
1915 Patch by: Antoine Tremblay <hexa00 at gmail com>
1917 * gst/gstutils.c: (gst_element_unlink):
1918 Free iterator when done (#347311).
1920 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1921 And add a test case for this.
1923 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
1926 Bump nano back to CVS
1928 === release 0.10.9 ===
1930 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1933 releasing 0.10.9, "On the road again"
1935 2006-07-13 Wim Taymans <wim@fluendo.com>
1937 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1938 * tests/check/elements/filesrc.c: (GST_START_TEST):
1939 Revert pull-0 fix for release. Disable check. Fixes #347408.
1941 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
1943 * libs/gst/dataprotocol/dataprotocol.c:
1944 (gst_dp_event_from_packet_1_0):
1945 Fixes #347337: failure to deserialize event packets with
1946 empty payload (only event type)
1948 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
1951 do not install a .c file in the header directory
1953 2006-07-13 Edward Hervey <edward@fluendo.com>
1955 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
1956 GhostPad no longer implicitely use the padtemplates of the targets.
1959 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
1961 * gst/gstvalue.c: (gst_value_compare_list),
1962 (gst_value_compare_array), (_gst_value_initialize):
1963 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1964 Make GstValueArray comparison be order dependent as designed.
1965 Add checks for value lists and value array comparisons.
1968 2006-07-11 Edward Hervey <edward@fluendo.com>
1970 * gst/gstbin.c: (activate_pads),
1971 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
1972 (gst_bin_change_state_func):
1973 (de)activate src pads before calling state_change on the childs.
1974 This is to avoid the case where a src ghostpad is blocked (holding the
1975 stream lock), which would block the deactivation of the ghostpad's
1977 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
1978 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
1979 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
1980 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
1981 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
1982 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
1983 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1984 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
1985 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
1986 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1987 (gst_ghost_pad_class_init),
1988 (gst_ghost_pad_internal_do_activate_push),
1989 (gst_ghost_pad_internal_do_activate_pull),
1990 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1991 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1992 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
1993 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
1994 GhostPads now create their internal GstProxyPad at creation (and not
1995 when they're linked, as it was being done previously).
1996 The internal and target pads are linked straight away.
1997 The data will also travel through the other pad in order to make
1998 pad blocking and probes non-hackish (the probe/block now really happens
1999 on the GhostPad and not on the target).
2000 * gst/gstpad.c: (gst_pad_set_blocked_async),
2001 (gst_pad_link_prepare), (gst_pad_push_event):
2002 Remove previous ghostpad cruft.
2003 * gst/gstutils.c: (gst_pad_add_data_probe),
2004 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
2005 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
2006 (gst_pad_remove_buffer_probe):
2007 Remove previous ghost pad cruft.
2008 Added more detailed debug statements.
2009 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
2010 Fix the testsuite for refcounting changes.
2011 The comments about who has references were correct, but the refcount
2012 being checked wasn't the same (!?!).
2016 2006-07-10 Stefan Kost <ensonic@users.sf.net>
2018 * docs/gst/gstreamer-sections.txt:
2019 * gst/gstconfig.h.in:
2020 More docs for configuration options, add docs to gtk-doc.
2022 2006-07-10 Stefan Kost <ensonic@users.sf.net>
2025 * gst/gstconfig.h.in:
2026 * win32/common/config.h:
2027 Fix build when disabling tracing (fixes #344016). Also start to document
2028 the defines that disable the sub-systems.
2030 2006-07-10 Edward Hervey <edward@fluendo.com>
2032 * gst/gst.c: (ensure_current_registry_forking):
2033 let's make valgrind happy...
2035 2006-07-09 Wim Taymans <wim@fluendo.com>
2037 * gst/gstelement.c: (activate_pads),
2038 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
2039 Better pad activation code: Reset the collect value too on resync.
2042 2006-07-09 Wim Taymans <wim@fluendo.com>
2044 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
2045 (gst_pad_activate_push):
2046 Use some more macros where it makes sense.
2047 Allow pad mode switching instead of asserting. When a pad
2048 is activated in one mode and we activate it in another,
2049 deactivate it first before activating it in a different mode.
2052 2006-07-08 Andy Wingo <wingo@pobox.com>
2054 * tools/gst-launch.c (main): Handle err == NULL.
2056 * gst/gst.c (init_post, ensure_current_registry)
2057 (ensure_current_registry_forking)
2058 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
2059 factoring out the registry scanning into separate functions. Don't
2060 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
2061 Better environment var name/interface suggestions accepted.
2063 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2065 * gst/gstobject.c: (gst_object_set_name_default),
2066 (gst_object_set_name):
2067 Random micro-optimisation: don't use a hash table
2068 with strings as keys and the usual strdup/strcmp
2069 involved, but rather just use the GQuark of the
2070 type name as key, since it needs to be looked up
2071 anyway to get the type name string.
2073 * tests/check/gst/gstobject.c: (GST_START_TEST):
2076 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2078 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
2079 (gst_bin_iterate_all_by_interface):
2080 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
2081 GTypes are gulongs and thus the top 4 bytes might be cut
2082 off on some platforms when doing GPOINTER_TO_INT, leading
2083 to invalid GTypes and bad things happening (see RH bug #179654).
2084 Also add a check to make sure the type passed in is really
2087 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2092 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2096 * gst-element-check.m4:
2097 * gst-element-check.m4.in:
2098 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
2099 instead of the unversioned gst-inspect (#324176, #168659).
2101 2006-07-06 Wim Taymans <wim@fluendo.com>
2104 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
2107 2006-07-06 Wim Taymans <wim@fluendo.com>
2109 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2110 (gst_base_src_wait), (gst_base_src_update_length),
2111 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
2112 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
2113 (gst_base_src_loop), (gst_base_src_start),
2114 (gst_base_src_activate_pull):
2116 blocksize == 0 now means the default blocksize when working in push
2118 Remove some pointless asserts in _wait function.
2119 Fix offset/length calculations and EOS handling. We can now pull 0
2120 bytes as well, which is allowed.
2121 use _check_get_range() to decide if we can operate in _pull based
2123 Fix refcounting leak when check_get_range function was not
2125 API GstBaseSrc::blocksize range can be 0 too now (default)
2127 * tests/check/elements/filesrc.c: (GST_START_TEST),
2129 Added check to test _get_range() behaviour.
2131 2006-07-06 Wim Taymans <wim@fluendo.com>
2133 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2134 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
2135 (gst_pad_pull_range):
2137 Lots of comments and docs added to the pad functions.
2138 Flesh out the expected behaviour of the get_range() functions.
2140 2006-07-06 Wim Taymans <wim@fluendo.com>
2145 * gst/gstiterator.h:
2149 Remove comma at end of enumerator list.
2151 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
2153 * win32/common/libgstbase.def:
2154 * win32/common/libgstdataprotocol.def:
2155 * win32/common/libsgtreamer.def:
2156 Add new exported functions.
2158 2006-07-05 Wim Taymans <wim@fluendo.com>
2160 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
2161 Add some more docs here and there.
2163 2006-07-05 Wim Taymans <wim@fluendo.com>
2165 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
2166 (gst_base_sink_loop), (gst_base_sink_get_position):
2167 When operating in pull mode update the offset so that we
2170 2006-07-05 Wim Taymans <wim@fluendo.com>
2172 * gst/gstregistryxml.c: (read_string):
2173 Avoid strdup. (will happen in libxml, but hey!)
2178 2006-07-05 Wim Taymans <wim@fluendo.com>
2180 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
2181 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
2183 No point in checking if the size of the subbuffer > 0, the
2184 code handles it correclty as demonstrated by unit test.
2185 Also add a unit test for the zero sized _new_and_alloc and
2186 _copy. Fixes #346663.
2188 2006-07-05 Wim Taymans <wim@fluendo.com>
2190 * libs/gst/base/gstbasetransform.c:
2191 (gst_base_transform_prepare_output_buffer),
2192 (gst_base_transform_buffer_alloc),
2193 (gst_base_transform_handle_buffer):
2194 Make sure the buffer we pass to transform_ip has a refcount of
2195 1 and thus is writable. Fixes #343196
2197 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
2199 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2200 (gst_file_src_init), (gst_file_src_set_property),
2201 (gst_file_src_get_property), (gst_file_src_map_region):
2202 * plugins/elements/gstfilesrc.h:
2203 Add "sequential" property, off by default, to use madvise and hint
2204 to the kernel that sequential access is desired.
2205 Touch all retrieved pages by default to ensure they are pulled
2206 into memory. (Closes #345720)
2208 2006-07-03 Wim Taymans <wim@fluendo.com>
2210 * docs/design/part-block.txt:
2211 * docs/design/part-dynamic.txt:
2214 2006-07-03 Wim Taymans <wim@fluendo.com>
2216 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
2217 (gst_caps_unref), (gst_static_caps_get),
2218 (gst_caps_append_structure):
2219 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
2220 Use GSlice when the glib we build against is >= 2.10
2222 2006-07-03 Wim Taymans <wim@fluendo.com>
2224 * gst/gstelement.c: (gst_element_pads_activate):
2225 Small cleanup in pad activation code.
2227 2006-07-03 Wim Taymans <wim@fluendo.com>
2229 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2231 * gst/gst-i18n-app.h:
2232 * gst/gst-i18n-lib.h:
2233 * tools/gst-inspect.c: (print_signal_info):
2234 The attached patch will make the inclusion of gettext.h unconditional in
2235 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
2236 libintl.h in tools/gst-inspect.c.
2237 This allows use of --disable-nls again and fixes #344642.
2239 2006-07-03 Edward Hervey <edward@fluendo.com>
2241 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
2242 Implement pad blocking on events according to part-block.txt.
2243 More comments on behaviour.
2244 * tests/check/gst/gstevent.c: (test_event):
2245 Send event to peer pad of blocked pad (else it will block).
2247 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
2249 * libs/gst/check/gstcheck.c: (gst_check_message_error),
2250 (gst_check_run_suite):
2251 if we get the wrong message, give us the types as string
2252 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2254 * tests/check/elements/filesrc.c: (GST_START_TEST):
2255 add a test for trying to open a non-existing file
2257 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
2259 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2260 add a test for adding self
2262 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
2264 * libs/gst/check/gstcheck.h:
2265 add some assert_ as alias for fail_unless_*
2266 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
2267 increase test coverage
2269 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2272 include lcov.mak for lcov coverage generation
2273 * tools/Makefile.am:
2276 2006-07-02 Edward Hervey <edward@fluendo.com>
2278 * tests/check/elements/.cvsignore:
2281 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2284 don't set CFLAGS and friends for gcov, done from GST_GCOV now
2285 * tests/check/Makefile.am:
2288 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2290 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
2291 remove gst_caps_simplify; it was not declared and not used
2292 and deprecated in 0.8
2294 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2296 * docs/faq/gst-uninstalled:
2297 don't put empty paths on PYTHONPATH
2298 * docs/gst/gstreamer-sections.txt:
2299 remove some symbols that are not there
2301 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2303 * gst/gstcaps.c: (gst_caps_compare_structures):
2305 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2306 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2309 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2311 * libs/gst/dataprotocol/Makefile.am:
2312 build dataprotocol test by linking to the lib, instead of
2313 compiling the source, so we get coverage
2314 * tests/check/Makefile.am:
2315 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
2316 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
2317 add a test for filesrc
2319 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2321 * tests/check/gst/gststructure.c: (GST_START_TEST),
2322 (gst_structure_suite):
2323 Push coverage from 59.04% to 70.00%
2325 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2327 * tests/check/Makefile.am:
2328 gst-inspect every element; this makes sure that we also get
2329 coverage on element's get/set functions
2331 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2334 set CFLAGS and friends to -O0 if gcov is being used
2337 * libs/gst/base/Makefile.am:
2338 * libs/gst/check/Makefile.am:
2339 * libs/gst/controller/Makefile.am:
2340 * libs/gst/dataprotocol/Makefile.am:
2341 * libs/gst/net/Makefile.am:
2342 * plugins/elements/Makefile.am:
2343 * plugins/indexers/Makefile.am:
2344 add makefile rules to generate gcov data and clean up
2345 * tests/check/Makefile.am:
2346 add a coverage target that generates an html overview
2349 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2351 * tests/check/elements/fakesink.c:
2352 * tests/check/elements/fakesrc.c:
2353 * tests/check/elements/fdsrc.c:
2354 * tests/check/elements/identity.c:
2355 * tests/check/generic/sinks.c: (gst_sinks_suite):
2356 * tests/check/generic/states.c:
2357 * tests/check/gst/gst.c:
2358 * tests/check/gst/gstabi.c:
2359 * tests/check/gst/gstbin.c:
2360 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
2361 * tests/check/gst/gstbus.c: (gst_bus_suite):
2362 * tests/check/gst/gstcaps.c: (GST_START_TEST):
2363 * tests/check/gst/gstelement.c:
2364 * tests/check/gst/gstevent.c: (gst_event_suite):
2365 * tests/check/gst/gstghostpad.c:
2366 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
2367 * tests/check/gst/gstmessage.c: (gst_message_suite):
2368 * tests/check/gst/gstminiobject.c:
2369 * tests/check/gst/gstobject.c:
2370 * tests/check/gst/gstpad.c:
2371 * tests/check/gst/gstpipeline.c:
2372 * tests/check/gst/gstplugin.c:
2373 * tests/check/gst/gstquery.c: (gst_query_suite):
2374 * tests/check/gst/gstsegment.c: (gst_segment_suite):
2375 * tests/check/gst/gststructure.c:
2376 * tests/check/gst/gstsystemclock.c:
2377 * tests/check/gst/gsttag.c:
2378 * tests/check/gst/gsttask.c: (gst_task_suite):
2379 * tests/check/gst/gstutils.c:
2380 * tests/check/gst/gstvalue.c:
2381 * tests/check/libs/adapter.c:
2382 * tests/check/libs/basesrc.c:
2383 * tests/check/libs/collectpads.c:
2384 * tests/check/libs/controller.c:
2385 * tests/check/libs/gdp.c: (gst_dp_suite):
2386 * tests/check/libs/gstnetclientclock.c:
2387 * tests/check/libs/gstnettimeprovider.c:
2388 * tests/check/libs/libsabi.c: (libsabi_suite):
2389 * tests/check/libs/typefindhelper.c:
2390 * tests/check/pipelines/cleanup.c:
2391 * tests/check/pipelines/parse-launch.c:
2392 * tests/check/pipelines/simple-launch-lines.c:
2393 * tests/check/pipelines/stress.c: (stress_suite):
2396 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2398 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
2399 * libs/gst/check/gstcheck.h:
2400 create a macro and function so that the simple unit test
2401 case can be just one macro to create main()
2403 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
2405 * gst/gstbin.c: (gst_bin_restore_thyself):
2406 * gst/gstxml.c: (gst_xml_make_element):
2407 Fix deserialisation from XML. Set parent manually
2408 instead of using gst_bin_add(), since gst_bin_add()
2409 will unlink all pads of the element being added.
2412 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
2414 Patch by: Peter Kjellerstedt <pkj at axis com>
2416 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
2417 Fix missing g_strdup() and double free when using the
2418 --gst-plugin-load command line option (#346097).
2420 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
2423 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
2425 * libs/gst/net/gstnetclientclock.c:
2426 * libs/gst/net/gstnettimeprovider.c:
2427 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
2429 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
2431 * docs/manual/advanced-dataaccess.xml:
2432 Fix buffer probe example compilation in
2435 2006-06-22 Edward Hervey <edward@fluendo.com>
2437 * gst/gstelement.c: (gst_element_pads_activate):
2438 We need to deactivate src pads first and then sink pads.
2439 The reason is the src pads might be blocking while holding the streaming
2440 lock, so we need to deactivate them first so that deactivating the sink
2441 pads doesn't block (since it will require the streaming lock).
2443 2006-06-22 Wim Taymans <wim@fluendo.com>
2445 * libs/gst/base/gstbasetransform.c:
2446 (gst_base_transform_buffer_alloc):
2447 Forgot to remove two unneeded unrefs.
2448 Simplify a check _is_equal allready checks the obvious case.
2450 2006-06-22 Wim Taymans <wim@fluendo.com>
2452 * docs/design/part-block.txt:
2453 Some docs about what pad_block should do.
2455 2006-06-22 Wim Taymans <wim@fluendo.com>
2457 * gst/gstcaps.c: (gst_caps_replace):
2458 Fix crasher when passed NULL. Doc clarification.
2459 Optimize for the trivial case.
2461 * gst/gstpipeline.c: (gst_pipeline_change_state):
2464 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2465 Small documentation cleanup.
2467 * libs/gst/base/gstbasetransform.c:
2468 (gst_base_transform_buffer_alloc):
2469 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
2470 is what we need and it avoids a whole lot of redundant
2471 refcount operations.
2473 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
2475 Patch by: Philip Jägenstedt <philip at lysator liu se>
2477 * docs/manual/advanced-dataaccess.xml:
2478 Fix 'Embedding static elements' section to use
2479 GST_PLUGIN_DEFINE_STATIC (#345607).
2481 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2483 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
2484 Attempt to 'fix' spuriously failing test case: it seems like the
2485 timeout of half a second is simply too small when the system is under
2486 load otherwise, and the timeout doesn't really seem to serve any
2487 particular purpose here. Give the pipeline a few seconds to preroll
2488 first, and then give it another half a second to go from PAUSED to
2489 PLAYING and marshal the message into the main thread.
2491 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2493 * tools/gst-feedback-m.m:
2494 Don't only use unversioned tools, try versioned tools as well
2497 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2499 * gst/gstbus.c: (gst_bus_class_init):
2500 Fix some typos, make docs more explicit.
2502 2006-06-20 Wim Taymans <wim@fluendo.com>
2504 * tests/check/gst/gstghostpad.c: (block_callback),
2505 (GST_START_TEST), (gst_ghost_pad_suite):
2506 Added some more ghostpad tests, mainly blocking
2509 2006-06-16 Wim Taymans <wim@fluendo.com>
2511 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2512 (gst_file_sink_close_file), (gst_file_sink_do_seek),
2513 (gst_file_sink_event), (gst_file_sink_render):
2514 * plugins/elements/gstfilesink.h:
2515 Check if we can seek in the file instead of assuming
2516 we always can. Post an error when we are asked to seek in a
2517 non-seekable file (like a fifo). Fixes #343312.
2520 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
2522 * tools/gst-launch.1.in:
2523 Un-garble (fourcc) bit in filtered caps section.
2525 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
2527 * docs/manual/advanced-autoplugging.xml:
2528 * docs/manual/basics-helloworld.xml:
2529 * docs/manual/highlevel-components.xml:
2530 Don't leak bus reference in sample code.
2532 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
2535 Add default for new --enable-plugin-docs switch.
2538 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
2542 Use new ENABLE_PLUGIN_DOCS conditional.
2544 2006-06-14 Wim Taymans <wim@fluendo.com>
2546 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
2547 Make it clear with a FIXME and a real define what the #if 0
2548 previously disabled.
2550 2006-06-14 Wim Taymans <wim@fluendo.com>
2552 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2553 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2554 * libs/gst/base/gstbasetransform.c:
2555 (gst_base_transform_sink_eventfunc):
2556 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
2557 Don't randomly and silently reset a segment when the format
2558 changes as this is a bug somewhere upstream. Fixes #330379.
2560 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
2562 Patch by: Wouter Paesen <wouter at kangaroot net>
2564 * libs/gst/controller/gstcontroller.c:
2565 (gst_controlled_property_new):
2566 Fix controlling of float properties (#344849).
2568 * tests/check/libs/controller.c:
2569 (gst_test_mono_source_get_property),
2570 (gst_test_mono_source_set_property),
2571 (gst_test_mono_source_class_init), (GST_START_TEST):
2572 While we're at it, add some float stuff to unit test.
2574 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
2577 * docs/images/gdp-header.svg:
2579 * docs/libs/Makefile.am:
2580 * docs/libs/gdp-header.png:
2581 * libs/gst/dataprotocol/dataprotocol.c:
2582 add it to the API docs
2583 * docs/manual/intro-motivation.xml:
2586 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
2588 * gst/gst.c: (scan_and_update_registry), (init_post):
2589 If the fork()'ed child process can't write the updated registry cache
2590 file to disk for some reason, make it exit with a failure exit code,
2591 so that the parent can then re-scan the plugins itself and update the
2592 registry structures in memory and work with that (rather than failing
2593 when creating elements because seemingly no plugins are available).
2594 Refactor registry scanning code into separate function for this and
2595 also separate fork() and non-fork() code paths. Fixes #344748.
2597 2006-06-13 Wim Taymans <wim@fluendo.com>
2599 * docs/manual/advanced-dataaccess.xml:
2600 Fix wrong PluginDesc. Fixes #344755.
2602 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
2604 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2605 Fix silly bug that prevented us from creating
2606 ~/.gstreamer-0.10 and writing the registry in one
2607 go (the first call to g_mkstemp() would overwrite the
2608 placeholder in the template string, so the second call
2609 to g_mkstemp() after creating the missing directory
2610 would then error out with 'invalid argument').
2612 2006-06-13 Edward Hervey <edward@fluendo.com>
2614 * gst/gst.c: (init_post):
2617 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
2619 * gst/glib-compat-private.h:
2620 * gst/glib-compat.c:
2621 * gst/glib-compat.h:
2622 * gst/gstvalue.c: (gst_value_serialize_flags):
2623 remove GLib 2.6 compatibility code
2625 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
2627 * gst/parse/Makefile.am:
2628 Fix build with 'make -j N' even more (#340016).
2630 2006-06-12 Wim Taymans <wim@fluendo.com>
2632 * docs/gst/gstreamer-sections.txt:
2635 2006-06-12 Wim Taymans <wim@fluendo.com>
2637 * gst/gstsegment.c: (gst_segment_set_duration),
2638 (gst_segment_set_last_stop), (gst_segment_set_seek),
2639 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2640 (gst_segment_to_running_time), (gst_segment_clip):
2641 Use G_UNLIKELY to help the compiler a bit.
2643 2006-06-12 Wim Taymans <wim@fluendo.com>
2645 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
2647 * gst/gstevent.c: (gst_event_get_type):
2649 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2651 constify quark registration strings. Fixes #344115
2652 Avoid unneeded type checking is _pad_push() by internally
2653 calling gst_pad_chain_unchecked().
2655 2006-06-12 Wim Taymans <wim@fluendo.com>
2657 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
2658 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
2659 (gst_subbuffer_finalize), (gst_buffer_create_sub),
2660 (gst_buffer_is_span_fast), (gst_buffer_span):
2661 Init _type for consistency.
2662 Use _FLAGS macro to avoid type check.
2663 Avoid unneeded type checks in subbufer code.
2665 2006-06-12 Wim Taymans <wim@fluendo.com>
2667 * gst/gst.c: (gst_debug_help):
2668 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
2669 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2670 (gst_plugin_feature_list_free):
2671 * gst/gstregistry.c: (gst_registry_add_plugin),
2672 (gst_registry_add_feature), (gst_registry_plugin_filter),
2673 (gst_registry_feature_filter), (gst_registry_find_plugin),
2674 (gst_registry_find_feature), (gst_registry_get_plugin_list),
2675 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
2676 * gst/gstregistryxml.c: (load_feature),
2677 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
2678 * gst/gstminiobject.c: (gst_mini_object_unref),
2679 (gst_mini_object_replace), (gst_value_mini_object_free),
2680 (gst_value_mini_object_copy):
2681 Use _CAST macros to avoid unneeded type checking.
2682 Added some more G_UNLIKELY.
2684 2006-06-12 Wim Taymans <wim@fluendo.com>
2687 Avoid unneeded type checking.
2688 API: GST_BUFFER_IS_DISCONT
2690 * gst/gstminiobject.h:
2691 Avoid type check in flag accessor.
2693 * gst/gstelementfactory.h:
2695 * gst/gstpluginfeature.h:
2697 API: GST_ELEMENT_FACTORY_CAST
2698 API: GST_PLUGIN_CAST
2699 API: GST_PLUGIN_FEATURE_CAST
2701 2006-06-12 Wim Taymans <wim@fluendo.com>
2703 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
2705 Add G_UNLIKELY in type registration.
2706 Avoid type check in _ref/_unref since that is also
2709 2006-06-12 Wim Taymans <wim@fluendo.com>
2711 * gst/gsterror.c: (gst_g_error_get_type):
2712 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2713 (gst_static_pad_template_get_type):
2714 * gst/gsttaglist.c: (gst_tag_list_get_type):
2715 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
2716 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
2717 * gst/gsturi.c: (gst_uri_handler_get_type):
2718 * gst/gstvalue.c: (gst_date_get_type):
2719 * gst/gstxml.c: (gst_xml_get_type):
2720 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2721 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2722 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
2723 Add G_UNLIKELY in type registration.
2725 2006-06-12 Wim Taymans <wim@fluendo.com>
2727 * tools/gst-inspect.c: (print_signal_info):
2728 Properly print enum values.
2730 2006-06-12 Wim Taymans <wim@fluendo.com>
2732 * gst/gstinfo.c: (gst_debug_set_active),
2733 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
2735 Add some G_[UN]LIKELY.
2736 Maintain __gst_debug_min to avoid formatting the arguments of
2737 debug messages that will be dropped anyway to avoid a lot of
2738 overhead from the debugging system.
2740 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2744 add missing files containing translatable strings, tell intltool about
2747 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2749 * tests/check/libs/.cvsignore:
2750 add test-binary to ignore list
2752 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2754 * docs/libs/gstreamer-libs-docs.sgml:
2755 reorder (put dp into a chapter) and indent
2757 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2762 === release 0.10.8 ===
2764 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2767 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2769 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2771 * gst/gst.c: (init_post):
2772 move pid declaration to declaration block
2774 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2776 * gst/gst.c: (init_post):
2777 use _exit() instead of exit() in our forked child; this ensures
2778 that none of the registered exit handlers from whatever is using
2779 GStreamer get executed. This fixes gnome-mixer-applet failing
2780 to load, because ORBit would shut down.
2781 Spotted by: Edward Hervey <edward@fluendo.com>
2782 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
2785 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2790 === release 0.10.7 ===
2792 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2795 releasing 0.10.7, "Soepeke, ik zie ou"
2797 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
2820 * win32/common/config.h:
2823 2006-06-07 Wim Taymans <wim@fluendo.com>
2825 * gst/gstindex.c: (gst_index_gtype_resolver):
2826 * tools/gst-xmlinspect.c: (print_plugin_info):
2827 Fix leak spotted by coverity checker. Fixes #343827
2828 Fix another other leak found by paolo borelli.
2830 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2832 * libs/gst/dataprotocol/dataprotocol.c:
2833 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2834 (gst_dp_version_get_type), (gst_dp_init),
2835 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2836 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2837 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2838 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2839 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2840 (gst_dp_packetizer_free):
2841 * libs/gst/dataprotocol/dataprotocol.h:
2842 API: add a GstDPPacketizer object, and create/free functions
2843 API: add GstDPVersion enum
2844 Add 1.0 event function that uses the string serialization
2845 Serialize more useful buffer flags
2848 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2850 * tests/check/Makefile.am:
2851 * tests/check/gst/gstabi.c:
2852 * tests/check/gst/struct_ppc64.h:
2853 * tests/check/libs/libsabi.c:
2854 * tests/check/libs/struct_ppc64.h:
2855 add ppc64 structure sizes
2857 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2859 * tests/check/Makefile.am:
2860 * tests/check/gst/gstabi.c:
2861 * tests/check/gst/struct_x86_64.h:
2862 * tests/check/libs/libsabi.c:
2863 * tests/check/libs/struct_x86_64.h:
2864 generate and add structure size lists for x86_64
2866 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2868 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2869 * libs/gst/check/gstcheck.h:
2870 factor out the method from tests that checks size of structures,
2871 and add code to generate the header containing these sizes
2872 * tests/check/gst/gstabi.c: (GST_START_TEST):
2873 * tests/check/gst/struct_i386.h:
2874 * tests/check/libs/libsabi.c: (GST_START_TEST):
2875 * tests/check/libs/struct_i386.h:
2878 2006-06-06 Michael Smith <msmith@fluendo.com>
2881 Don't use c++-style comments, fixes #343929
2883 2006-06-05 Edward Hervey <edward@fluendo.com>
2886 plugin_paths is not used if we build without registry support.
2888 * gst/gstsegment.c: (gst_segment_copy):
2889 _copy() was always returning NULL...
2891 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2893 * libs/gst/dataprotocol/dataprotocol.c:
2894 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2895 (gst_dp_packet_from_event):
2898 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2900 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
2901 make sure we unset caps
2903 2006-06-02 Michael Smith <msmith@fluendo.com>
2905 * libs/gst/check/gstcheck.c: (gst_check_init),
2906 (gst_check_chain_func):
2907 * libs/gst/check/gstcheck.h:
2908 Add a cond/mutex to the check support lib, signal this whenever we
2909 add to the buffers list. This will allow tests to not busy-wait on
2912 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2914 * libs/gst/dataprotocol/dataprotocol.c:
2915 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2916 (gst_dp_packet_from_event):
2917 factor out some common header init code
2919 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2921 * docs/libs/gstreamer-libs-sections.txt:
2922 * docs/libs/tmpl/gstdataprotocol.sgml:
2923 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
2924 * libs/gst/dataprotocol/dataprotocol.h:
2925 API: make gst_dp_crc() public
2927 2006-06-01 Stefan Kost <ensonic@users.sf.net>
2929 * plugins/indexers/gstindexers.c: (plugin_init):
2930 conditionally register fileindexer (fixes #343598)
2932 2006-06-01 Stefan Kost <ensonic@users.sf.net>
2934 * gst/gsttagsetter.h:
2935 Can't cast ifaces to a class
2937 * libs/gst/net/gstnetclientclock.h:
2938 * libs/gst/net/gstnettimeprovider.h:
2939 * plugins/elements/gstfakesink.h:
2940 * plugins/elements/gstfakesrc.h:
2941 * plugins/elements/gstfdsink.h:
2942 * plugins/elements/gstfdsrc.h:
2943 * plugins/elements/gstfilesink.h:
2944 * plugins/elements/gstfilesrc.h:
2945 * plugins/elements/gstidentity.h:
2946 * plugins/elements/gstqueue.h:
2947 * plugins/elements/gsttee.h:
2948 * plugins/indexers/gstfileindex.c:
2949 * plugins/indexers/gstmemindex.c:
2950 * tests/old/examples/plugins/example.h:
2951 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2953 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
2955 * libs/gst/dataprotocol/dataprotocol.c:
2956 (gst_dp_header_from_buffer):
2957 make sure we zero the whole ABI-compatible area
2959 2006-06-01 Wim Taymans <wim@fluendo.com>
2961 Patch by: Alessandro Decina <alessandro at nnva dot org>
2963 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
2964 Make sure the EOS flag is cleared from pads after a flush
2965 or stop. Fixes #343538.
2967 * tests/check/libs/collectpads.c: (GST_START_TEST),
2968 (gst_collect_pads_suite):
2969 Added test for collectpads reusage after EOS.
2971 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
2974 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
2975 * win32/common/libgstbase.def:
2976 export gst_collect_pads_set_flushing
2977 * win32/common/libgstreamer.def:
2978 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
2979 gst_value_fraction_multiply
2980 * win32/vs6/gst_inspect.dsp:
2981 add a link to intl.lib
2983 2006-05-30 Wim Taymans <wim@fluendo.com>
2985 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2986 (gst_collect_pads_chain):
2987 Handle the case where a pad is removed from the collection
2988 that could cause the other pads to become collectable.
2990 2006-05-30 Wim Taymans <wim@fluendo.com>
2993 Clarify the use of _release_request_pad() and
2994 _get_request_pad() a bit better.
2996 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
2997 (gst_adapter_take_buffer):
2998 Fix some doc and comment typos.
3000 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
3002 * docs/gst/gstreamer-sections.txt:
3003 * docs/libs/gstreamer-libs-sections.txt:
3004 add declared symbols
3006 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
3008 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
3009 Add debug that can be enabled using a #define at the top of the file,
3010 for dumping stats about how late/early we were when waking up from
3011 waiting on the clock.
3013 2006-05-30 Wim Taymans <wim@fluendo.com>
3015 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
3016 When rebuilding the pad list, don't leak the previous list.
3018 2006-05-30 Wim Taymans <wim@fluendo.com>
3020 Patch by: Lutz Mueller <lutz at topfrose dot de>
3022 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3023 (gst_base_src_get_query_types), (gst_base_src_update_length):
3024 Publish supported query types.
3025 Update last_stop field in get_range mode so the position
3026 query works. Fixes #342321.
3028 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
3030 * docs/gst/gstreamer-sections.txt:
3031 * gst/gsttaglist.c: (_gst_tag_initialize):
3033 API: add GST_TAG_PREVIEW_IMAGE (#343341).
3035 2006-05-30 Wim Taymans <wim@fluendo.com>
3037 Patch by: Alessandro Decina <alessandro at nnva dot org>
3039 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
3040 Unlock mutex when removing an unknown pad.
3043 * tests/check/Makefile.am:
3044 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
3045 (push_event), (setup), (teardown), (GST_START_TEST),
3046 (gst_collect_pads_suite), (main):
3047 Added collecpads check, disabled for now as check crashes for
3050 2006-05-29 Wim Taymans <wim@fluendo.com>
3052 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
3053 Don't leak pads lists.
3055 2006-05-29 Wim Taymans <wim@fluendo.com>
3057 * docs/libs/gstreamer-libs-sections.txt:
3058 * libs/gst/base/gstcollectpads.c:
3059 (gst_collect_pads_set_flushing_unlocked),
3060 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3061 (gst_collect_pads_stop):
3062 * libs/gst/base/gstcollectpads.h:
3063 API: gst_collect_pads_set_flushing()
3064 Added api to set the pads to flushing, useful for seeking
3065 code in elements using collectpads.
3066 Clear segment when receiving a flush.
3068 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
3070 * gst/gst.c: (add_path_func), (init_post):
3071 Don't scan registry paths passed via --gst-plugin-path immediately
3072 (will crash, because absolutely nothing is set up and no types are
3073 registered etc.); do this later in init_post(). Fixes #343057.
3075 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
3077 * gst/gst.c: (init_post):
3078 if we have fork, fork while reading/rebuilding the registry
3079 so the parent doesn't take the hit of having all plugins loaded
3080 in memory. Fixes #342777.
3082 Check if we have fork()
3083 * win32/common/config.h.in:
3086 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
3088 * plugins/elements/gstelements.c:
3089 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
3090 (gst_file_src_init), (gst_file_src_set_property),
3091 (gst_file_src_get_property), (gst_file_src_start):
3092 * plugins/elements/gstfilesrc.h:
3093 API: GstFileSrc::use-mmap
3095 Add a use-mmap property to enable easier testing of all code paths.
3096 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
3097 in the absence of gnomevfssrc. (Closes #340501)
3099 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3101 * tools/gst-inspect.c:
3102 Add missing include, removes warning of ngettext not being defined on
3105 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
3107 * gst/gstvalue.c: (gst_value_deserialize_fraction):
3108 Handle NULL input and output pointers silently as a failed conversion,
3109 rather than g_warnings.
3111 2006-05-25 Wim Taymans <wim@fluendo.com>
3113 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
3114 Initialize variable before using. Fixes #342820.
3116 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
3118 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
3119 Fix off-by-one bug that would only allow peeks of N-1 bytes
3120 from the start even if the buffer to typefind on contains
3121 in fact N bytes of data (makes vorbis typefinding from a
3122 vorbis identification header buffer work).
3124 * tests/check/Makefile.am:
3125 * tests/check/libs/.cvsignore:
3126 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
3127 (gst_typefindhelper_suite), (main), (foobar_typefind),
3129 Add very basic unit test for gst_type_find_helper_for_buffer()
3130 that checks for the problem fixed above.
3132 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
3134 * tools/gst-inspect.c: (print_interfaces),
3135 (print_element_properties_info), (print_element_list), (main):
3136 add more translatable strings
3138 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
3140 Patch by: Julien Moutte <julien at moutte net>
3142 * docs/gst/gstreamer-sections.txt:
3143 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
3145 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3146 (gst_fake_sink_preroll):
3147 * plugins/elements/gstfakesink.h:
3148 API: Add new GstFakeSink::preroll-handoff signal (#337100).
3150 2006-05-23 Wim Taymans <wim@fluendo.com>
3152 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
3154 Added _CUSTOM error and success GstFlowReturn that can be
3155 used be elements internally.
3156 Added macro to check for SUCCESS flowreturns.
3157 API: GST_FLOW_CUSTOM_SUCCESS
3158 API: GST_FLOW_CUSTOM_ERROR
3159 API: GST_FLOW_IS_SUCCESS
3161 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3162 Added check for GstFlowReturn sanity.
3164 2006-05-23 Wim Taymans <wim@fluendo.com>
3166 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3168 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3169 (gst_collect_pads_event):
3170 clear/reset segment info in FLUSH_STOP.
3173 2006-05-22 Stefan Kost <ensonic@users.sf.net>
3175 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
3176 (gst_collect_pads_check_collected):
3177 Flush queued buffer on _stop(), fixes playing again (#342454)
3179 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
3181 * tests/check/gst/gststructure.c: (GST_START_TEST),
3182 (gst_structure_suite):
3183 add a test for a complete structure
3185 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
3187 * docs/faq/developing.xml:
3189 * docs/faq/troubleshooting.xml:
3190 * docs/faq/using.xml:
3191 Some minor FAQ updates that won't change the fact that
3192 our FAQ is badly structured, full of information hardly
3193 anyone new to GStreamer needs to know and lacking lots
3194 of information people constantly ask for.
3196 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
3198 * gst/gstpad.c: (gst_pad_set_caps):
3199 Short-circuit gst_pad_set_caps if setting the existing
3200 caps pointer again, and avoid printing debug and
3201 reffing/unreffing the caps.
3203 * plugins/elements/gstqueue.c: (gst_queue_push_one):
3204 There's actually no need to set the caps before pushing -
3205 the acceptcaps method will handle it anyway.
3207 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
3209 * docs/gst/gstreamer-sections.txt:
3210 * win32/common/libgstreamer.def:
3211 * gst/gstutils.c: (gst_element_seek_simple):
3213 API: add gst_element_seek_simple() (#342238).
3215 2006-05-18 Edward Hervey <edward@fluendo.com>
3217 * gst/gsttypefind.c: (gst_type_find_get_type):
3218 * gst/gsttypefind.h:
3219 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
3220 registered for GstTypeFind pointers. This allows wrapping the structure
3221 in bindings (i.e. gst-python).
3223 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
3225 * gst/gsttagsetter.c:
3226 Docs additions and fixes (see #339918).
3228 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
3230 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3231 The caps intersection algorithm can produce multiple copies of the
3232 caps. Until that is fixed, we need to simplify the result to be
3233 sure whether the allowed caps are fixed or not.
3235 * plugins/elements/gstqueue.c: (gst_queue_init),
3236 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
3237 (gst_queue_push_one):
3238 Proxied buffer alloc should not set the caps on the source pad.
3239 When pushing buffers, we always accept the caps change that triggers.
3240 This prevents negotiation errors caused by caps changing mid-stream
3241 and then being refused on our source pad (because upstream is now
3242 refusing those caps).
3244 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
3246 * tests/examples/helloworld/helloworld.c: (main):
3247 Must plug audioconvert and audioresample between decoder
3250 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
3252 * gst/gstregistryxml.c: (read_string), (load_pad_template),
3253 (load_feature), (load_plugin):
3254 Allow empty strings for some of the plugin fields so we don't
3255 drop valid plugin entries that were written out correctly
3258 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
3260 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
3261 Use g_remove and g_rename instead of remove and rename that don't
3262 handle utf8 characters. rename was failing for users who had specific
3263 characters in their name then the registry was built at each
3265 * win32/vs6/gst_inspect.dsp:
3266 * win32/vs6/gst_launch.dsp:
3267 * win32/vs6/libgstbase.dsp:
3268 * win32/vs6/libgstcoreelements.dsp:
3269 * win32/vs6/libgstreamer.dsp:
3270 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
3271 build of libgstreamer and clean unused libraries in projects link
3274 2006-05-17 Edward Hervey <edward@fluendo.com>
3276 * plugins/elements/gstqueue.c: (gst_queue_push_one):
3277 The queue is not responsible for pushing an EOS when receiving a fatal
3278 flow error. It's up to the real element driving the pipeline to do that.
3280 2006-05-16 Edward Hervey <edward@fluendo.com>
3282 * plugins/elements/gstqueue.c: (gst_queue_push_one):
3283 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
3284 buffer returned a fatal error. It should just send an EOS and stop
3286 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
3287 when pushing buffers on the queue and will be able to handle the event.
3289 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
3291 * docs/manual/basics-bins.xml:
3292 * docs/manual/basics-init.xml:
3293 Fix typos and minor errors in sample code (#341856).
3295 2006-05-16 Wim Taymans <wim@fluendo.com>
3297 * docs/design/part-qos.txt:
3298 Fix indexes in formulas to make more sense.
3300 2006-05-15 Wim Taymans <wim@fluendo.com>
3302 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3303 Don't report POSITION based on clock time if sync is
3306 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
3309 Add cast to make compiler happy - refcount variable was a gint
3310 in GstObject but is a guint in GObject and g_atomic_int_get()
3313 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
3315 * gst/parse/Makefile.am:
3316 chain commands using &&, which also makes parallel make work
3318 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
3320 * docs/gst/gstreamer-sections.txt:
3326 === release 0.10.6 ===
3328 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
3331 releasing 0.10.6, "Take the cannoli"
3333 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
3335 * tools/gst-launch.c: (print_tag):
3336 Fix use of uninitialized variable in the hypothetical
3337 case that some broken plugin creates a GST_TAG_IMAGE
3338 tag containing a NULL buffer (#341667).
3340 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
3342 * tools/gst-launch.c: (print_tag):
3343 Print something more intelligible for image tags when
3344 using the -t switch (#341556).
3346 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
3351 define GST_MAJORMINOR so we have it available in win32/common/config.h
3352 Possibly remove it from our Makefile.am files later
3353 * win32/common/config.h:
3354 * win32/common/config.h.in:
3355 added GST_MAJORMINOR
3356 * win32/common/gstenumtypes.c: (register_gst_resource_error):
3357 * win32/common/gstversion.h:
3360 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
3363 Update win32 files listing.
3364 * win32/common/gstversion.h:
3365 Add GST_MAJORMINOR definition.
3366 * win32/common/libgstreamer.def:
3367 Add new exported functions.
3369 2006-05-12 Michael Smith <msmith@fluendo.com>
3371 * gst/gstplugin.c: (gst_plugin_load_file):
3372 If an so file has no plugin entry point, unload the module.
3374 2006-05-11 Wim Taymans <wim@fluendo.com>
3376 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
3377 (gst_queue_set_property):
3378 Don't forget to signal the _chain or _loop function
3379 when the queue size or thresholds change since that might
3380 cause them to make progres again.
3382 2006-05-11 Stefan Kost <ensonic@users.sf.net>
3384 * gst/gstclock.c: (gst_clock_class_init):
3385 * gst/gstindex.c: (gst_index_class_init):
3386 * gst/gstobject.c: (gst_object_class_init):
3387 * gst/gstpad.c: (gst_pad_class_init):
3388 * gst/gstpipeline.c: (gst_pipeline_class_init):
3389 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3390 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3391 * libs/gst/base/gstbasetransform.c:
3392 (gst_base_transform_class_init):
3393 * libs/gst/net/gstnetclientclock.c:
3394 (gst_net_client_clock_class_init):
3395 * libs/gst/net/gstnettimeprovider.c:
3396 (gst_net_time_provider_class_init):
3397 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3398 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3399 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3400 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3401 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3402 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3403 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3404 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3405 * plugins/elements/gsttee.c: (gst_tee_class_init):
3406 * tests/old/examples/plugins/example.c: (gst_example_class_init):
3407 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3408 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
3410 2006-05-11 Wim Taymans <wim@fluendo.com>
3412 * gst/gstbuffer.c: (_gst_buffer_initialize):
3413 Register subbufer along with the buffer type so that
3414 it does not accidentally gets registered from N
3415 different streaming threads in a non threadsafe way.
3417 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
3422 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
3423 gst_event_ref() and gst_message_ref() functions again
3424 (ugly hack, please do fix if there's a better way besides
3425 overrides.txt, which doesn't seem to work).
3427 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3429 * libs/gst/check/gstcheck.h:
3430 add an assert for setting state to avoid lots of repetitive code
3433 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3435 * gst/gstvalue.c: (gst_value_serialize_flags):
3436 fix a leak if no flags are set
3437 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3440 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
3442 * docs/manual/basics-pads.xml:
3443 Expand a bit on caps and filtered links and update
3444 examples that were still using the no longer existing
3445 gst_pad_link_filtered() (#338206).
3447 2006-05-10 Wim Taymans <wim@fluendo.com>
3449 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3450 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3451 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3452 (gst_collect_pads_stop):
3453 * libs/gst/base/gstcollectpads.h:
3454 No need to call _stop in _finalize.
3455 Iterate the main pad list in _finalize.
3456 Added some more debug.
3457 Free lists and data in the right order.
3458 Also free data whem doing _remove_pad when stopped for
3459 backward compatibility protect ::started with PAD_LOCK as
3462 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3464 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
3465 (gst_structure_parse_value):
3467 rename a method so that it actually says what it does better
3469 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3471 * gst/gstevent.c: (_gst_event_initialize):
3472 * gst/gstformat.c: (_gst_format_initialize):
3473 make sure some essential types used by events are registered
3474 as part of gst_init()
3475 * gst/gstvalue.c: (gst_value_serialize_flags):
3476 if no flags are set, serialize them to a value that represents NONE
3477 so that deserializing them works
3478 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3479 add tests for serialization and deserialization of flags
3481 2006-05-10 Wim Taymans <wim@fluendo.com>
3483 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
3484 (gst_collect_pads_collect_range), (gst_collect_pads_available),
3485 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
3486 (gst_collect_pads_event), (gst_collect_pads_chain):
3489 Catch and return errors from the collect function
3490 Refuse data on eos pads.
3492 2006-05-10 Edward Hervey <edward@fluendo.com>
3494 * gst/gstinterface.h:
3495 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
3496 GInterface type checking.
3497 They were previously using non-defined macros.
3499 2006-05-09 Wim Taymans <wim@fluendo.com>
3501 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
3502 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
3503 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
3504 (gst_collect_pads_start), (gst_collect_pads_stop),
3505 (gst_collect_pads_peek), (gst_collect_pads_pop),
3506 (gst_collect_pads_available), (gst_collect_pads_read),
3507 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
3508 (gst_collect_pads_is_collected), (gst_collect_pads_event),
3509 (gst_collect_pads_chain):
3510 * libs/gst/base/gstcollectpads.h:
3511 Clean up the mess that is collectpads, add comments and
3512 FIXMEs where needed.
3513 Maintain a separate pad list so we can add pads while
3514 collecting the other ones. For this we need a new separate
3516 Fix memory leak in finalize.
3517 Refactor some weird code to set/unset pad flushing flags, mark
3519 Don't crash in _available, _read, _flush when we're EOS.
3521 * tests/check/libs/.cvsignore:
3522 Ignore adapter check binary.
3524 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3526 * gst/gstindex.c: (gst_index_resolver_get_type):
3527 * plugins/elements/gstfakesink.c:
3528 (gst_fake_sink_state_error_get_type):
3529 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
3530 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
3531 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3532 Const-ify GEnumValue arrays.
3534 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3536 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3537 Add test case for flags + gst_buffer_make_metadata_writable().
3539 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3541 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
3542 gst_buffer_make_metadata_writable() should maintain the
3543 buffer flags (those that make sense at least) (see #340859).
3545 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3547 * tools/gst-inspect.c:
3548 * tools/gst-launch.c:
3549 * tools/gst-typefind.c:
3550 * tools/gst-xmlinspect.c:
3552 Fix up includes: need to include stdlib.h in tools.h for exit().
3554 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3556 * gst/gsttaglist.c: (_gst_tag_initialize):
3558 API: add GST_TAG_IMAGE tag (#340721).
3560 2006-05-08 Wim Taymans <wim@fluendo.com>
3563 Added some docs for the segment query.
3565 2006-05-08 Wim Taymans <wim@fluendo.com>
3567 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3568 (gst_base_src_loop), (gst_base_src_change_state):
3569 Always push non-flushing serialized events in the streaming
3572 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
3574 * gst/gsterror.c: (_gst_stream_errors_init):
3575 Add a missing error string.
3577 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
3579 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
3580 Add applied_rate to the debug
3582 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3583 Copy applied_rate into the outgoing NEWSEGMENT event
3585 2006-05-08 Wim Taymans <wim@fluendo.com>
3587 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
3589 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3590 (gst_base_sink_change_state):
3591 call ::unlock before taking the PREROLL_LOCK so we can safely
3592 handle elements that lock in ::render.
3595 2006-05-08 Edward Hervey <edward@fluendo.com>
3597 * autogen.sh: (CONFIGURE_DEF_OPT):
3598 Darwin's libtoolize is in fact called glibtoolize.
3599 Adding glibtoolize to the list of accepted names for libtoolize.
3601 2006-05-08 Wim Taymans <wim@fluendo.com>
3603 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3604 Unify error handling, don't post an error message
3605 when a push() returns EOS but perform our normal EOS
3606 handling code. Fixes #340772.
3608 2006-05-08 Wim Taymans <wim@fluendo.com>
3610 * docs/design/part-overview.txt:
3611 Make upsteam/downstream concepts more clear.
3612 Give an example of serialized/non-serialized events.
3614 * docs/design/part-events.txt:
3615 * docs/design/part-streams.txt:
3616 Mention applied_rate.
3618 * docs/design/part-trickmodes.txt:
3619 Mention applied rate, flesh out some more use cases.
3621 * gst/gstevent.c: (gst_event_new_new_segment),
3622 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
3623 (gst_event_parse_new_segment_full), (gst_event_new_tag),
3624 (gst_event_parse_tag), (gst_event_new_buffer_size),
3625 (gst_event_parse_buffer_size), (gst_event_new_qos),
3626 (gst_event_parse_qos), (gst_event_parse_seek),
3627 (gst_event_new_navigation):
3629 Add applied_rate field to NEWSEGMENT event.
3630 API: gst_event_new_new_segment_full()
3631 API: gst_event_parse_new_segment_full()
3633 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
3634 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
3635 (gst_segment_to_stream_time), (gst_segment_to_running_time):
3637 Add applied_rate to GstSegment structure.
3638 Make calculation of stream_time and running_time more correct
3639 wrt rate/applied_rate.
3641 API: GstSegment::applied_rate field
3642 API: gst_segment_set_newsegment_full();
3644 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3645 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
3646 * libs/gst/base/gstbasetransform.c:
3647 (gst_base_transform_sink_eventfunc),
3648 (gst_base_transform_handle_buffer):
3649 Parse and use applied_rate in the GstSegment field.
3651 * tests/check/gst/gstevent.c: (GST_START_TEST):
3652 Add check for applied_rate field.
3654 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3655 (gstsegments_suite):
3656 Add more checks for various GstSegment operations.
3658 2006-05-08 Wim Taymans <wim@fluendo.com>
3660 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3661 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
3662 (gst_base_sink_get_position), (gst_base_sink_change_state):
3663 Store the sync time of the buffer end position separatly in a
3664 new variable eos_rtime so we can properly sync the EOS event.
3666 Fix the docs for gst_base_sink_set_qos_enabled().
3667 Don't set segment start to invalid value when we receive a
3668 non TIME newsegment.
3669 get closer to handling position reporting for negative rates
3672 2006-05-07 Stefan Kost <ensonic@users.sf.net>
3675 Docs about how to print caps for debug purposes.
3677 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
3678 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
3680 2006-05-07 Stefan Kost <ensonic@users.sf.net>
3683 use full enum names and preprend a '%' in docs strings to make recent
3684 gtk-doc turn that into a link
3686 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3688 * docs/manual/basics-bins.xml:
3689 * docs/manual/basics-bus.xml:
3690 * docs/manual/basics-pads.xml:
3691 Some typo fixes, some additions, some clarifications.
3693 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3695 * tools/gst-inspect.c: (main):
3696 * tools/gst-launch.c: (main):
3697 * tools/gst-run.c: (main):
3698 * tools/gst-typefind.c: (main):
3699 * tools/gst-xmlinspect.c: (main):
3700 Use the string passed to g_option_context_new() for
3701 what it's intended for - the program name is already
3704 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3706 * tools/Makefile.am:
3707 * tools/gst-inspect.c: (main):
3708 * tools/gst-launch.c: (main):
3709 * tools/gst-xmlinspect.c: (main):
3711 Add back --version command line option (#340460).
3713 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
3714 Add --version option and use GOption for argument parsing; refactor a
3715 bit; accept directories as arguments and recurse into them; lastly,
3716 print a decent error message when things go wrong.
3718 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3720 * docs/manual/basics-bins.xml:
3721 Don't mention GstThread (#340611)
3722 * docs/manual/basics-elements.xml:
3723 Update link to GObject tutorial (#340607)
3725 2006-05-05 Wim Taymans <wim@fluendo.com>
3728 * gst/gstminiobject.c:
3729 Add note about refcounting and miniobject/buffer writeability
3730 to docs. Fixes #340604
3732 * gst/gstelementfactory.h:
3733 Added some explanation about @klass.
3735 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3737 * docs/manual/intro-motivation.xml:
3738 * docs/manual/manual.xml:
3739 Avoid CORBA & Bonobo references (#340598)
3741 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3743 * docs/manual/basics-bus.xml:
3744 * docs/manual/basics-pads.xml:
3745 Fix up some inaccuracies and omissions (#340609)
3747 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3749 * gst/gstghostpad.c:
3750 Small typo in docs (#340625)
3752 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3754 * gst/parse/Makefile.am:
3755 Make 'make -j' proof (see #340698).
3757 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3760 Require GLib-2.8 here as well.
3762 2006-05-05 Wim Taymans <wim@fluendo.com>
3764 * gst/glib-compat.c:
3765 * gst/gst.c: (init_pre):
3766 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3767 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3768 (gst_object_dispatch_properties_changed):
3770 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3771 * gst/gststructure.c: (gst_structure_set_valist):
3772 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3773 Remove pre glib2.8 compatibility, fixes #340508
3775 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3778 Mention type of tags in doc blurbs.
3780 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
3782 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3783 (gst_pad_configure_src), (gst_pad_push):
3784 Restore acceptcaps checking behaviour now that good plugins have
3787 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3789 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3800 * gst/parse/Makefile.am:
3801 * libs/gst/base/gstadapter.c:
3802 * libs/gst/base/gstbasesrc.c:
3803 * libs/gst/base/gstpushsrc.c:
3804 * libs/gst/base/gsttypefindhelper.c:
3805 * plugins/elements/gstfakesrc.c:
3806 * plugins/elements/gstidentity.c:
3807 Make sure gstprivate.h and/or config.h are
3808 always included first, otherwise some of our
3809 defines (like _FILE_OFFSET_BITS) might be
3810 redefined in the system headers. Fixes build
3811 on opensolaris (#340016).
3813 2006-05-04 Wim Taymans <wim@fluendo.com>
3815 * docs/libs/gstreamer-libs-sections.txt:
3816 API: addition: gst_adapter_take_buffer()
3818 * libs/gst/base/gstadapter.c: (gst_adapter_push),
3819 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3820 (gst_adapter_available_fast):
3821 * libs/gst/base/gstadapter.h:
3822 Prepare for optimizing the hell out of this hugely inefficient
3824 Added gst_adapter_take_buffer() so we can at least start thinking
3825 about subbuffering and merging.
3826 Added some comments.
3828 * tests/check/Makefile.am:
3829 * tests/check/libs/adapter.c: (GST_START_TEST),
3830 (gst_adapter_suite), (main):
3831 Added GstAdapter check.
3833 2006-05-04 Wim Taymans <wim@fluendo.com>
3835 * docs/design/part-overview.txt:
3836 Fix some typos, add blurb about buffer flags.
3838 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
3840 * docs/libs/gstreamer-libs-sections.txt:
3841 make sure GstBaseTransformClass shows up in the docs
3842 * libs/gst/base/gstbasetransform.c:
3843 * libs/gst/base/gstbasetransform.h:
3844 move docs so gtk-doc picks it up now
3846 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3848 * docs/libs/gstreamer-libs-sections.txt:
3849 add missing symbols to docs
3851 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3853 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3854 back out the newsegment handling change, see #340060 for ongoing
3857 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
3859 * tools/gst-run.c: (get_candidates), (main):
3860 Fix wrong g_file_test() usage (see glib docs for why it doesn't
3861 work); fix typo in error message. Fixes #340079.
3863 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
3865 * common/Makefile.am:
3867 * docs/faq/Makefile.am:
3868 * docs/gst/Makefile.am:
3869 * docs/libs/Makefile.am:
3870 * docs/manual/Makefile.am:
3871 * docs/plugins/Makefile.am:
3872 * docs/pwg/Makefile.am:
3873 * docs/slides/Makefile.am:
3875 * common/upload.mak:
3876 move upload.mak to common
3878 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
3880 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3881 add more asserts on refcounts
3882 do more cleanup at end of tests
3883 fix test leaks showing in FC5
3885 2006-04-29 Stefan Kost <ensonic@users.sf.net>
3887 * plugins/elements/gsttypefindelement.c:
3888 (gst_type_find_element_handle_event):
3889 reverted wrong change and reflowed code to avoid others falling into
3892 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3894 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3895 fix changelog entry about last collectpads change,
3896 add notes about proper fix
3898 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3901 * gst/gstregistry.c: (gst_registry_scan_path_level),
3902 (gst_registry_scan_path):
3903 * gst/gstregistry.h:
3904 only write out registry if it has changed, fixes #338339
3906 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3909 * gst/gstpipeline.c:
3910 * plugins/elements/gstcapsfilter.c:
3911 * plugins/elements/gstfakesink.c:
3912 * plugins/elements/gstfakesrc.c:
3913 * plugins/elements/gstfdsink.c:
3914 * plugins/elements/gstfdsrc.c:
3915 * plugins/elements/gstfilesink.c:
3916 * plugins/elements/gstfilesrc.c:
3917 * plugins/elements/gstidentity.c:
3918 * plugins/elements/gstqueue.c:
3919 * plugins/elements/gsttee.c:
3920 * plugins/elements/gsttypefindelement.c:
3921 (gst_type_find_element_handle_event):
3922 make GstElementDetails const
3924 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3926 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3927 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3928 (gst_collect_pads_is_collected), (gst_collect_pads_event):
3929 more detailed debug and formatting cleanup,
3930 forward newsegments to src-pad (so that e.g. adder not eats them)
3932 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3934 * gst/gstutils.c: (gst_element_link_pads):
3937 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3939 * libs/gst/controller/gstcontroller.c:
3940 (gst_controller_sync_values):
3942 * tests/check/libs/controller.c: (GST_START_TEST),
3943 (gst_controller_suite):
3944 a new test for live value handling
3946 2006-04-28 Wim Taymans <wim@fluendo.com>
3948 * gst/gstutils.c: (push_and_ref):
3949 Added some more docs.
3950 Fix refcount issue whith gst_element_found_tags() helper
3951 function. Fixes #338335
3953 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3954 Added testsuite for gst_element_found_tags().
3956 2006-04-28 Michael Smith <msmith@fluendo.com>
3958 * gst/gstvalue.c: (gst_value_serialize_flags):
3959 Avoid NULL dereference when trying to serialize flags containing
3962 2006-04-28 Michael Smith <msmith@fluendo.com>
3964 * plugins/elements/gsttypefindelement.c:
3965 (gst_type_find_element_handle_event):
3966 If we get EOS before any data is accumulated, don't use
3967 uninitialised local variables.
3969 2006-04-28 Michael Smith <msmith@fluendo.com>
3971 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3972 (gst_dp_event_from_packet):
3973 Fixes in reading/writing events over GDP (not currently used?) -
3974 dereferencing NULL events for unknown/invalid event types, memory
3975 leak, and change g_warning to GST_WARNING.
3977 2006-04-28 Wim Taymans <wim@fluendo.com>
3979 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
3980 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3981 (gst_base_sink_get_position), (gst_base_sink_change_state):
3982 When frame dropping is enabled, we should not ignore frames
3984 Update some documentation.
3986 2006-04-28 Wim Taymans <wim@fluendo.com>
3988 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3989 (gst_base_src_send_event), (gst_base_src_change_state):
3990 Documentation updates.
3992 2006-04-28 Wim Taymans <wim@fluendo.com>
3994 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3995 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
3996 handle EAGAIN, EINTR and short writes correctly. Also clean
3997 up some error cases, avoid a deadlock on bad file descriptors and
3998 use GST_DEBUG_OBJECT.
4001 2006-04-28 Wim Taymans <wim@fluendo.com>
4003 * gst/gstvalue.c: (gst_value_serialize_buffer),
4004 (gst_value_deserialize_buffer):
4005 Don't try to serialize a GValue with a NULL buffer.
4008 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
4009 Added check for serialisation of NULL buffers.
4011 2006-04-28 Wim Taymans <wim@fluendo.com>
4013 * gst/gstminiobject.c: (gst_value_take_mini_object):
4014 Taking a NULL miniobject is valid, fix the case where
4015 we try to unref the NULL miniobject.
4017 2006-04-28 Wim Taymans <wim@fluendo.com>
4019 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
4021 * gst/gstbin.c: (gst_bin_handle_message_func):
4023 Don't leak bin refcount when a state recalc is
4024 in progress and we delay another one #339808.
4026 2006-04-28 Wim Taymans <wim@fluendo.com>
4028 * docs/design/part-TODO.txt:
4029 Mention QoS as an ongoing work item.
4031 * docs/design/part-buffering.txt:
4032 New doc about buffering that needs to be fleshed out
4035 * docs/design/part-qos.txt:
4036 More QoS policy for decoders/demuxers/transforms
4038 * docs/design/part-trickmodes.txt:
4041 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
4046 === release 0.10.5 ===
4048 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
4051 releasing 0.10.5, "Fogo"
4053 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
4055 patch by: Wim Taymans
4057 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
4058 (gst_pad_configure_src), (gst_pad_push):
4059 * gst/gstpipeline.c: (gst_pipeline_init):
4060 Fix internal data flow errors. Fixes #338711.
4062 2006-04-12 Wim Taymans <wim@fluendo.com>
4064 * tests/check/gst/gstelement.c: (GST_START_TEST):
4065 Don't leak the factory.
4067 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
4070 * win32/common/config.h:
4073 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
4075 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4076 (gst_controller_unset_all):
4077 Free allocated GstTimedValues when freeing list nodes.
4078 Should fix leaks 'make check-valgrind' complains about.
4080 * win32/common/libgstcontroller.def:
4081 Add gst_controller_unset_all.
4083 2006-04-11 Stefan Kost <ensonic@users.sf.net>
4085 * docs/libs/gstreamer-libs-sections.txt:
4086 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4087 (gst_controller_unset_all):
4088 * libs/gst/controller/gstcontroller.h:
4089 API: Added new method gst_controller_unset_all()
4090 fixed gst_controller_unset()
4091 * tests/check/libs/controller.c: (GST_START_TEST),
4092 (gst_controller_suite):
4093 Added two testcases for new and fixed method
4095 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
4097 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4098 MSG_DONTWAIT is not defined on Cygwin, so work
4099 around that (fixes #317048).
4101 2006-04-11 Wim Taymans <wim@fluendo.com>
4103 * gst/gstelementfactory.c: (gst_element_register),
4104 (gst_element_factory_create), (gst_element_factory_make):
4107 Updated docs (Fixes #131079)
4109 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4112 * tests/check/gst/gstelement.c: (GST_START_TEST),
4113 (gst_element_suite):
4114 Added testcase for elementfactory class field.
4116 2006-04-10 Wim Taymans <wim@fluendo.com>
4119 Added some more docs.
4121 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
4122 (gst_base_sink_reset_qos):
4123 Calculate more accurate rate values.
4125 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
4127 * gst/gst_private.h:
4128 add a new #ifdef to use __declspec(dllimport) only for
4129 other modules and not for gstreamer core
4130 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
4131 use gst_guint64_to_gdouble for conversion
4132 * win32/common/libgstreamer.def:
4133 add new exported functions
4134 * win32/vs6/gst_inspect.dsp:
4135 * win32/vs6/gst_launch.dsp:
4136 * win32/vs6/libgstbase.dsp:
4137 * win32/vs6/libgstcontroller.dsp:
4138 * win32/vs6/libgstcoreelements.dsp:
4139 * win32/vs6/libgstdataprotocol.dsp:
4140 * win32/vs6/libgstnet.dsp:
4141 update project files
4143 2006-04-08 Stefan Kost <ensonic@users.sf.net>
4145 * gst/gstbuffer.c: (gst_subbuffer_class_init):
4146 * gst/gstclock.c: (gst_clock_class_init):
4147 * gst/gstelement.c: (gst_element_class_init):
4148 * gst/gstindex.c: (gst_index_class_init):
4149 * gst/gstindexfactory.c: (gst_index_factory_class_init):
4150 * gst/gstobject.c: (gst_object_class_init),
4151 (gst_signal_object_class_init):
4152 * gst/gstpad.c: (gst_pad_class_init):
4153 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
4154 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
4155 * gst/gstregistry.c: (gst_registry_class_init):
4156 * gst/gstsystemclock.c: (gst_system_clock_class_init):
4157 * gst/gsttask.c: (gst_task_class_init):
4158 * gst/gstxml.c: (gst_xml_class_init):
4159 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4160 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4161 (gst_base_src_loop):
4162 * libs/gst/controller/gstcontroller.c:/
4163 (_gst_controller_class_init):
4164 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4165 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4166 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
4167 * tests/old/examples/plugins/example.c: (gst_example_class_init):
4168 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
4169 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
4171 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
4173 * gst/gstpad.c: (gst_pad_link):
4174 Must set peer pads before calling the link function, otherwise
4175 a task started from a link function might get a flow-not-linked
4176 result when trying to push because the other thread where the
4177 linking happens hasn't had a chance to set the peers yet. This
4178 might happen for example when a queue gets linked to a downstream
4179 element, as queue starts a streaming task when its source pad
4180 gets linked. Happens in real life when playing back flac/musepack
4181 files in playbin (#332390).
4183 2006-04-08 Stefan Kost <ensonic@users.sf.net>
4187 * libs/gst/base/gstadapter.h:
4188 * libs/gst/base/gstbasesink.h:
4189 * libs/gst/base/gstbasesrc.h:
4190 * libs/gst/base/gstbasetransform.h:
4191 * libs/gst/base/gstcollectpads.h:
4192 * libs/gst/base/gstpushsrc.h:
4193 Fix broken GObject macros
4195 2006-04-07 Wim Taymans <wim@fluendo.com>
4197 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4198 Initialize start and stop times, thanks valgrind.
4200 2006-04-07 Wim Taymans <wim@fluendo.com>
4202 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4203 Be a bit nicer to badly behaving upstream elements that expect
4204 us to deal with non TIME segments and timestamps (such as fakesrc
4207 2006-04-07 Wim Taymans <wim@fluendo.com>
4210 Small documentation clarification about the signal watch.
4212 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4213 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4214 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4215 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
4216 (gst_base_sink_get_position_last),
4217 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
4218 Convert and store timestamps in stream time and running time, the
4219 raw timestamps are not usefull, also document this better.
4220 Use different window sizes for good and bad QoS observations so
4221 we react to badness a little quicker.
4222 Keep track of the amount of rendered and dropped buffers.
4223 Send QoS timestamps in running time.
4225 * libs/gst/base/gstbasetransform.c:
4226 (gst_base_transform_sink_eventfunc),
4227 (gst_base_transform_handle_buffer):
4228 Compare QoS timestamps against running time.
4230 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
4235 2006-04-06 Michael Smith <msmith@fluendo.com>
4237 * gst/gstpad.c: (gst_pad_set_property):
4238 Use g_value_get_object() instead of g_value_dup_gst_object(),
4239 to avoid double-reffing the pad template (which we then sink,
4240 so this worked previously if (and only if) the pad template
4243 * gst/gstpadtemplate.c: (gst_pad_template_init),
4244 (gst_pad_template_pad_created):
4245 Never return floating references to pad templates, create
4246 them as initially-sunken.
4248 Document an extra function (and make this stop sinking our
4249 pad template, since that is now guaranteed to do nothing,
4250 since we created it sunken).
4252 * gst/gstghostpad.c:
4255 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
4257 * gst/gstinfo.c: (__gst_in_valgrind):
4260 * plugins/elements/gsttypefindelement.c:
4261 (gst_type_find_element_chain):
4262 Don't leak buffer caps.
4264 2006-04-06 Michael Smith <msmith@fluendo.com>
4266 * gst/parse/grammar.y:
4267 Fix a leak in parse-launch for any source-or-sink named element
4270 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4271 Unref the pipeline if it exists after we've failed parsing.
4273 2006-04-05 Michael Smith <msmith@fluendo.com>
4275 * gst/gstpipeline.c: (gst_pipeline_init):
4276 When we create a pipeline bus, initially create it in flushing mode.
4277 Fixes leaks in at least one test, and makes a new pipeline work the
4278 same as one that has gone to READY and then back to NULL.
4283 2006-04-05 Michael Smith <msmith@fluendo.com>
4285 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4286 Unref a pad we reffed.
4287 * tests/check/gst/gstutils.c: (GST_START_TEST):
4290 2006-04-05 Michael Smith <msmith@fluendo.com>
4292 * gst/gstquery.c: (gst_query_set_formats),
4293 (gst_query_set_formatsv):
4294 Fix leaking GValues in queries, as shown by valgrind/testsuite.
4296 2006-04-05 Michael Smith <msmith@fluendo.com>
4298 * tests/check/generic/sinks.c: (GST_START_TEST):
4299 Fix a variety of memleaks in sinks check, which are only sometimes
4300 shown by running the tests under valgrind (weird?).
4302 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
4304 * docs/version.entities.in:
4305 Fix the substituted entity name after thomas' changes on the
4308 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4310 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
4313 2006-04-05 Andy Wingo <wingo@pobox.com>
4315 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
4317 * libs/gst/base/gstbasetransform.c
4318 (gst_base_transform_sink_eventfunc): When resetting our segment on
4319 FLUSH_STOP, also update the flag saying we haven't seen a
4322 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
4324 Patch by: Paolo Borelli <pborelli at katamail dot com>
4326 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
4327 (gst_plugin_check_license):
4328 minor clean-ups: G_DEFINE_TYPE already takes care of the
4329 parent_class stuff, no need to do it twice. Mark array of
4330 license strings as constant. (#337103)
4332 2006-04-04 Michael Smith <msmith@fluendo.com>
4334 * tools/gst-inspect.c: (print_element_list):
4335 Free the right plugin list; fixes a memory leak.
4337 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
4339 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4341 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4342 Don't error out on empty buffers (#336945).
4344 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
4346 * docs/libs/gstreamer-libs-sections.txt:
4348 * libs/gst/base/gstbasesink.c:
4349 * libs/gst/base/gstbasesink.h:
4350 * libs/gst/base/gstbasesrc.c:
4351 * libs/gst/base/gstbasesrc.h:
4352 Documentation updates. Make BaseSink and BaseSrc docs contain the
4353 class structure so that people can actually see the prototypes for
4354 virtual functions they're supposed to be overriding.
4356 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
4358 * plugins/elements/gsttypefindelement.c:
4359 (gst_type_find_element_chain):
4360 More debug info; when skipping typefinding, send cached
4361 events in all cases.
4363 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
4366 use new AS_VERSION and AS_NANO macros
4367 * gst/gst-i18n-lib.h:
4370 * gst/gstversion.h.in:
4371 * win32/common/config.h:
4372 * win32/common/config.h.in:
4375 2006-03-31 Michael Smith <msmith@fluendo.com>
4377 * plugins/elements/gsttypefindelement.c:
4378 (gst_type_find_element_chain):
4379 Do not typefind content if the buffers already have caps.
4380 Neccesary for icydemux (#333657), and the right thing to do anyway.
4382 2006-03-30 Wim Taymans <wim@fluendo.com>
4384 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4385 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
4386 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
4387 (gst_base_sink_record_qos_observation),
4388 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4389 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4390 (gst_base_sink_change_state):
4391 More QoS measurements as described in the design doc.
4392 Get rid of ringbuffer with observations, running average is
4393 more simple and equally good.
4394 Calculates valid proportion now.
4395 Added beginning of flood measurement.
4397 2006-03-29 Wim Taymans <wim@fluendo.com>
4399 * docs/design/part-qos.txt:
4401 Small documentation updates and additions.
4403 2006-03-29 Wim Taymans <wim@fluendo.com>
4405 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4406 (gst_base_src_send_event), (gst_base_src_loop),
4407 (gst_base_src_change_state):
4408 Perform the EOS logic when we reach the segment stop position.
4409 Fix compilation on gcc4.1
4411 2006-03-29 Wim Taymans <wim@fluendo.com>
4413 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
4415 * plugins/elements/gstqueue.c: (gst_queue_init),
4416 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
4417 (gst_queue_set_property):
4418 * plugins/elements/gstqueue.h:
4419 In queue, when EOS is received, if minimum threshold > max_size -
4420 current_level, there is chance that queue blocks forever in conditional
4421 item del wait. This is because the queue is not emptied completely due
4422 to minimum threshold. Here is another approach. Instead of setting
4423 cur_levels to max in EOS, just zero all minimum threshold levels. This
4424 should make sure that queue gives out all data. When going to READY
4425 (stop) state, just reset the original minimum threshold levels.
4428 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
4430 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
4431 (gst_type_find_element_handle_event),
4432 (gst_type_find_element_send_cached_events),
4433 (gst_type_find_element_change_state):
4434 * plugins/elements/gsttypefindelement.h:
4435 When typefinding is done in push mode, we should cache
4436 events we receive during typefinding instead of just
4437 dropping them (e.g. newsegment, custom events from
4438 dvdreadsrc etc.) and then send them out once we've
4439 determined the type of the stream (and decodebin
4440 has had a chance to plug in a decoder/demuxer).
4442 2006-03-27 Wim Taymans <wim@fluendo.com>
4444 * docs/design/part-qos.txt:
4447 2006-03-27 Wim Taymans <wim@fluendo.com>
4449 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
4451 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4452 (gst_base_src_send_event), (gst_base_src_change_state):
4453 Handle element seek correctly when we are streaming.
4456 2006-03-24 Michael Smith <msmith@fluendo.com>
4458 * docs/faq/gst-uninstalled:
4459 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
4460 allow you to correctly run intalled applications built against old
4461 core, using plugins that require updated core (e.g. running
4462 installed totem against a full uninstalled gstreamer stack)
4464 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4466 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
4469 2006-03-24 Wim Taymans <wim@fluendo.com>
4471 * docs/gst/gstreamer-sections.txt:
4472 Rearrange the order of the methods so that related methods
4473 are grouped together in sections.
4475 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4478 Little clarification in the docs
4480 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4484 * plugins/elements/gstidentity.c:
4485 * plugins/elements/gstqueue.c:
4486 * plugins/elements/gsttee.c:
4487 * plugins/elements/gsttypefindelement.c:
4488 GST_ELEMENT_DETAILS formatting
4490 2006-03-24 Wim Taymans <wim@fluendo.com>
4492 * libs/gst/base/gstbasesink.h:
4493 Only add fields, not insert or we break ABI.
4495 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4497 * win32/common/libgstbase.def:
4498 * win32/common/libgstreamer.def:
4499 Update, add recently added functions.
4501 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4503 * docs/gst/gstreamer-sections.txt:
4504 * gst/gstutils.c: (gst_pad_query_peer_position),
4505 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
4507 API: add some new utility functions:
4508 - gst_pad_query_peer_position()
4509 - gst_pad_query_peer_duration()
4510 - gst_pad_query_peer_convert()
4512 2006-03-23 Wim Taymans <wim@fluendo.com>
4514 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4515 (gst_base_sink_init), (gst_base_sink_finalize),
4516 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
4517 (gst_base_sink_set_property), (gst_base_sink_get_property),
4518 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
4519 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4520 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
4521 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4522 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4523 (gst_base_sink_preroll_object), (gst_base_sink_event),
4524 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
4525 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4526 (gst_base_sink_query), (gst_base_sink_change_state):
4527 Decouple max-lateness and the fact that QoS messages are generated
4528 with a new property (qos).
4529 added API: GstBaseSink::async_play()
4530 Add vmethod so subclasses can be notified of ASYNC playing
4532 Collect timestamp start and stop to report better current
4533 position in EOS/PLAYING/PAUSED/READY/NULL.
4534 Refactor QoS/frame dropping and other measurements.
4535 API: GstBaseSrc::qos
4538 * libs/gst/base/gstbasesink.h:
4539 Added Private struct.
4540 API: gst_base_sink_set_qos_enabled()
4541 API: gst_base_sink_is_qos_enabled()
4543 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4545 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
4546 If compiling against GLib-2.8 or newer, try to read the
4547 registry file using GMappedFile first before falling back
4548 to fopen() + fread() (#332151).
4550 2006-03-22 Wim Taymans <wim@fluendo.com>
4552 * gst/gstinfo.c: (gst_debug_set_active),
4553 (gst_debug_category_set_threshold):
4554 Disable debugging unless explicitly activated.
4557 2006-03-22 Wim Taymans <wim@fluendo.com>
4559 * gst/gstelement.c: (gst_element_set_locked_state),
4560 (gst_element_dispose):
4561 Cleanup the error case.
4563 * gst/gstobject.c: (gst_object_dispose):
4564 print a critical when some object was disposed with
4565 a parent, also revive the object since it might
4568 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
4570 * tools/gst-launch.1.in:
4573 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
4576 * tests/check/Makefile.am:
4577 disable some tests when we don't have a registry
4578 * tests/check/gst/gstutils.c: (gst_utils_suite):
4579 don't build the part that needs parsing
4581 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
4584 * tests/examples/Makefile.am:
4585 fix --disable-parse build
4587 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4589 * tools/gst-feedback.1.in:
4590 Fix typo: s/feeback/feedback/ (#133494).
4592 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4594 * tools/Makefile.am:
4595 * tools/gst-launch.1.in:
4596 Add FILES section and correct entry about GST_REGISTRY_PATH
4597 environment variable (#133495; #133494).
4599 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4601 * tools/Makefile.am:
4602 * tools/gst-md5sum.1.in:
4603 * tools/gst-md5sum.c:
4604 Remove gst-md5sum and man page (the md5sink element
4605 required was removed ages ago)
4607 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4609 * gst/gststructure.c: (gst_structure_id_set_value):
4610 Make sure that string fields in structures/taglists
4611 contain valid UTF-8 - we don't want to pass rubbish to
4612 applications because of a buggy plugin (cp. #334167).
4614 2006-03-21 Edward Hervey <edward@fluendo.com>
4616 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
4617 (gst_bin_handle_message_func):
4618 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
4619 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
4620 (gst_element_set_bus_func):
4621 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
4622 * gst/gstminiobject.c: (gst_value_set_mini_object),
4623 (gst_value_take_mini_object):
4624 * gst/gstpad.c: (gst_pad_set_pad_template):
4625 * gst/gstpipeline.c: (gst_pipeline_dispose),
4626 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4627 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
4628 (gst_collect_pads_chain):
4629 * libs/gst/net/gstnettimeprovider.c:
4630 (gst_net_time_provider_set_property):
4631 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
4632 It's in fact all issues with gst_*object_replace().
4634 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4636 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
4638 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4639 * pkgconfig/gstreamer-check.pc.in:
4640 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
4642 2006-03-21 Edward Hervey <edward@fluendo.com>
4647 gst_[buffer|event|message]_ref() macros are replaced by a static
4648 inline functions because gcc-4.1 will about if the return value
4650 * tests/check/gst/gstevent.c: (event_probe):
4651 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
4653 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
4656 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
4657 the type' case. (Closes: #335195 for now). In the future, when we
4658 depend on GLib 2.10, we could also intern the type name using
4659 g_intern_static_string()
4661 2006-03-20 Wim Taymans <wim@fluendo.com>
4663 * gst/gstbin.c: (gst_bin_handle_message_func),
4664 (bin_query_max_init), (bin_query_position_fold),
4665 (bin_query_position_done), (gst_bin_query):
4666 Position query should also take max of all streams.
4668 2006-03-20 Wim Taymans <wim@fluendo.com>
4670 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4671 (gst_fake_src_finalize):
4672 Fix leaks in fakesrc.
4674 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4675 Fix leaks in the testcase.
4677 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
4679 * gst/gst_private.h:
4680 add win32 specific import decoration(__declspec(dllimport))
4681 for all extern GstDebugCategory * variables
4682 * win32/common/libgstbase.def:
4683 * win32/common/libgstcontroller.def:
4684 * win32/common/libgstreamer.def:
4685 Add some exports, remove empty lines
4686 * win32/common/libgstdataprotocol.def:
4687 * win32/common/libgstdataprotocol.dsp:
4688 * win32/common/libgstnet.def:
4689 * win32/common/libgstnet.dsp:
4690 new project files and exportation files added
4692 2006-03-19 Wim Taymans <wim@fluendo.com>
4694 * tests/check/libs/basesrc.c: (eos_event_counter):
4695 Use proper return value for probe.
4697 2006-03-17 Wim Taymans <wim@fluendo.com>
4699 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4701 Don't leak buffers, caps and pads on negotiation errors.
4703 2006-03-16 Stefan Kost <ensonic@users.sf.net>
4706 * docs/faq/dependencies.xml:
4707 * docs/faq/developing.xml:
4709 * docs/faq/general.xml:
4710 * docs/faq/getting.xml:
4711 * docs/faq/legal.xml:
4712 * docs/faq/troubleshooting.xml:
4713 * docs/faq/using.xml:
4714 Faq review and update.
4716 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
4718 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4720 Don't pound the cpu to pieces by checking get_caps when accept_caps
4721 is called with the same caps as the pad already has.
4722 Use GST_DEBUG_OBJECT when outputting caps change information.
4724 2006-03-15 Wim Taymans <wim@fluendo.com>
4726 * gst/gstclock.c: (gst_clock_class_init):
4729 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
4734 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
4735 (gst_pad_accept_caps), (gst_pad_configure_sink),
4736 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
4737 Make the default acceptcaps behaviour be to check the requested
4738 caps against the gst_pad_get_caps output.
4740 Ensure that gst_pad_accept_caps is used to check caps when a pad
4741 doesn't have a setcaps function, so that pads automatically refuse
4742 caps that they don't allow in their pad template. (Fixes #332986)
4744 When a buffer with attached caps is pushed, ensure that the source
4745 pad receives those caps even if the element didn't call
4746 gst_pad_set_caps first.
4748 2006-03-15 Wim Taymans <wim@fluendo.com>
4750 * libs/gst/base/gstadapter.c:
4753 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
4755 * win32/common/libgstbase.def:
4756 * win32/common/libgstcontroller.def:
4757 * win32/common/libgstreamer.def:
4758 Add a whole bunch of missing functions (#334434).
4760 2006-03-14 Wim Taymans <wim@fluendo.com>
4762 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4763 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4764 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4765 Better debug info when we receive a segment event.
4766 Reorganize a bit so we can pass the get_times() results around.
4767 Use the segment format when calculating the running time.
4768 Don't do QoS is sync is disabled or we have no clock or the
4769 element does not want us to sync to the clock.
4770 Don't drop buffers if QoS is disabled for now.
4772 2006-03-14 Wim Taymans <wim@fluendo.com>
4774 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4775 Marked the stats property as unimplemented so people don't get
4777 Add debug message when regression goes wrong.
4778 Added some more docs.
4780 2006-03-14 Wim Taymans <wim@fluendo.com>
4782 * gst/gstsegment.c: (gst_segment_to_stream_time):
4783 Return correct return type in case of errors.
4785 2006-03-14 Wim Taymans <wim@fluendo.com>
4787 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4788 Don't segfault on invalid formats.
4790 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4792 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4793 Can't use gst_segment_to_running_time() when the segment
4794 is not in GST_TIME_FORMAT (like with filesink, for example).
4795 Stops flac encoding pipelines from spewing critical warnings
4798 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4800 * gst/gstpipeline.c: (gst_pipeline_class_init):
4801 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4803 * plugins/elements/gsttypefindelement.c:
4804 (gst_type_find_element_handle_event):
4805 Don't try to typefind empty streams.
4807 2006-03-14 Wim Taymans <wim@fluendo.com>
4809 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4810 (gst_base_sink_do_qos):
4811 Separate QoS calculation.
4812 Only drop buffers when lateness is bigger than the
4813 duration of the buffer.
4815 2006-03-13 Wim Taymans <wim@fluendo.com>
4817 * gst/gstpipeline.c: (gst_pipeline_set_property),
4818 (gst_pipeline_get_property), (do_pipeline_seek),
4819 (gst_pipeline_change_state), (gst_pipeline_set_delay),
4820 (gst_pipeline_get_delay):
4821 Don't deadlock when reading properties.
4823 2006-03-13 Wim Taymans <wim@fluendo.com>
4825 * libs/gst/base/gstbasetransform.c:
4826 (gst_base_transform_class_init), (gst_base_transform_init),
4827 (gst_base_transform_sink_event),
4828 (gst_base_transform_sink_eventfunc),
4829 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4830 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4831 (gst_base_transform_set_property),
4832 (gst_base_transform_get_property),
4833 (gst_base_transform_change_state), (gst_base_transform_update_qos),
4834 (gst_base_transform_set_qos_enabled),
4835 (gst_base_transform_is_qos_enabled):
4836 * libs/gst/base/gstbasetransform.h:
4837 Make basetransform virtual method for src events too.
4838 Handle QOS in basetransform.
4839 API: gst_base_transform_update_qos()
4840 API: gst_base_transform_set_qos_enabled()
4841 API: gst_base_transform_is_qos_enabled()
4843 2006-03-13 Wim Taymans <wim@fluendo.com>
4845 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4846 (gst_base_sink_do_sync):
4848 Use QOS debug category.
4850 2006-03-13 Wim Taymans <wim@fluendo.com>
4852 * plugins/elements/gstqueue.c:
4853 Very small doc update.
4855 2006-03-13 Wim Taymans <wim@fluendo.com>
4857 * gst/gst_private.h:
4858 * gst/gstinfo.c: (_gst_debug_init):
4859 Added QOS debug category
4861 2006-03-13 Wim Taymans <wim@fluendo.com>
4863 * docs/gst/gstreamer-sections.txt:
4864 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
4866 * gst/gstbus.c: (gst_bus_class_init):
4869 * gst/gstelement.c: (gst_element_set_locked_state):
4871 Documentation updates.
4873 * gst/gstpipeline.c: (gst_pipeline_get_type),
4874 (gst_pipeline_class_init), (gst_pipeline_init),
4875 (gst_pipeline_dispose), (gst_pipeline_set_property),
4876 (gst_pipeline_get_property), (do_pipeline_seek),
4877 (gst_pipeline_send_event), (gst_pipeline_change_state),
4878 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
4879 (gst_pipeline_get_delay):
4880 * gst/gstpipeline.h:
4881 Added methods for setting the delay.
4882 API: gst_pipeline_set_delay()
4883 API: gst_pipeline_get_delay()
4884 Add pipeline debug category
4887 Don't reset stream time when seek failed.
4889 2006-03-13 Wim Taymans <wim@fluendo.com>
4891 * docs/design/draft-klass.txt:
4892 * docs/design/part-clocks.txt:
4893 * docs/design/part-events.txt:
4894 * docs/design/part-gstbin.txt:
4895 * docs/design/part-gstpipeline.txt:
4896 * docs/design/part-messages.txt:
4897 * docs/design/part-negotiation.txt:
4898 * docs/design/part-overview.txt:
4899 * docs/design/part-preroll.txt:
4900 * docs/design/part-seeking.txt:
4901 * docs/design/part-states.txt:
4902 * docs/design/part-streams.txt:
4903 Documentation updates.
4905 2006-03-12 Julien MOUTTE <julien@moutte.net>
4907 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
4908 us to leak strings...
4910 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
4912 * libs/gst/net/gstnettimeprovider.c:
4914 * win32/common/config.h:
4917 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
4919 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
4922 Don't check for libgnomeui (leftover from old examples
4923 that aren't built or disted any longer) (#334303).
4925 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
4927 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4928 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4929 Emit RESOURCE_NO_SPACE_LEFT error here as well when
4930 there's no space left on the device.
4932 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
4935 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
4936 to cast the input to GstClockTime before comparing with
4937 another GstClockTime value.
4939 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
4944 === release 0.10.4 ===
4946 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
4949 releasing 0.10.4, "Light"
4951 2006-03-10 Michael Smith <msmith@fluendo.com>
4953 * libs/gst/dataprotocol/dataprotocol.c:
4954 Fix docs for dataprocotol to not get the return types completely
4955 wrong for a few functions.
4957 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4959 * docs/gst/gstreamer-sections.txt:
4960 * gst/gstpipeline.c: (gst_pipeline_class_init),
4961 (gst_pipeline_init), (gst_pipeline_set_property),
4962 (gst_pipeline_get_property), (gst_pipeline_change_state),
4963 (gst_pipeline_set_auto_flush_bus),
4964 (gst_pipeline_get_auto_flush_bus):
4965 * gst/gstpipeline.h:
4966 Add new API: gst_pipeline_set_auto_flush_bus() and
4967 gst_pipeline_get_auto_flush_bus() to disable automatic
4968 flushing of the pipeline's GstBus when going from READY
4969 to NULL state (#332045).
4971 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4973 * docs/gst/gstreamer-sections.txt:
4974 * gst/gsturi.c: (gst_uri_has_protocol):
4976 Add new API: gst_uri_has_protocol() (#333779).
4978 2006-03-09 Wim Taymans <wim@fluendo.com>
4980 * gst/gstclock.c: (gst_clock_entry_new),
4981 (gst_clock_id_compare_func), (gst_clock_id_wait),
4982 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
4983 (gst_clock_init), (gst_clock_get_internal_time),
4984 (gst_clock_set_master), (do_linear_regression),
4985 (gst_clock_add_observation), (gst_clock_set_property):
4989 Fix a possible segfault when the window-size is made smaller.
4990 Calculate jitter before performing the clock wait. Ideally
4991 the clock implementation should calculate jitter but we need
4992 API breakage for that.
4994 * gst/gstsystemclock.c: (gst_system_clock_init):
4997 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4998 Remove leftover else
5000 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
5001 (gst_systemclock_suite):
5002 Added check to test GST_CLOCK_DIFF.
5004 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
5006 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
5007 (gst_type_find_helper_get_range):
5008 If we are provided with the size, we should implement
5009 GstTypeFind::get_length, so that typefind functions who
5010 want to can actually peek at the middle of a file.
5012 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
5014 * docs/manual/advanced-dataaccess.xml:
5015 Add some very very basic error checking.
5017 * docs/pwg/appendix-checklist.xml:
5018 Some updates to the list of things to check when writing an element.
5020 2006-03-08 Wim Taymans <wim@fluendo.com>
5022 * docs/design/part-element-transform.txt:
5023 Added some docs about the design of tranform elements.
5025 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
5026 (gst_base_src_loop), (gst_base_src_change_state):
5027 Mark buffers with the DISCONT flag.
5029 2006-03-08 Michael Smith <msmith@fluendo.com>
5031 * gst/gstregistry.h:
5032 * gst/gstregistryxml.c: (gst_registry_save),
5033 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
5034 (gst_registry_xml_save_pad_template),
5035 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
5036 (gst_registry_xml_write_cache):
5037 Rewrite registry-saving to avoid race conditions and check for
5040 2006-03-08 Wim Taymans <wim@fluendo.com>
5042 * libs/gst/base/gstbasetransform.c:
5043 (gst_base_transform_transform_caps),
5044 (gst_base_transform_transform_size),
5045 (gst_base_transform_prepare_output_buffer),
5046 (gst_base_transform_get_unit_size),
5047 (gst_base_transform_buffer_alloc),
5048 (gst_base_transform_handle_buffer),
5049 (gst_base_transform_change_state):
5050 Cleanups, separate normal flow from errors, add sensible
5052 Don't try to renegotiate when allocating an output buffer.
5053 Also copy DISCONT buffer flag when copying a buffer.
5054 Reset the transform after we finish streaming, not during.
5056 2006-03-08 Wim Taymans <wim@fluendo.com>
5058 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
5059 Use last buffer timestamp in qos message.
5061 2006-03-07 Wim Taymans <wim@fluendo.com>
5063 Patch by: Christophe Fergeau
5065 * docs/pwg/advanced-tagging.xml:
5066 * docs/pwg/building-pads.xml:
5069 2006-03-07 Wim Taymans <wim@fluendo.com>
5071 * docs/libs/gstreamer-libs-sections.txt:
5072 Added basesink new methods.
5076 Docs updates. Flesh out the QoS docs.
5078 * libs/gst/base/gstadapter.c:
5079 Small doc clarification about ownership and flushing.
5081 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
5082 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5083 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
5084 (gst_base_sink_get_property), (gst_base_sink_do_sync):
5085 * libs/gst/base/gstbasesink.h:
5087 Added new methods to allow subclass to control max-lateness
5089 Generate very basic QoS events based on last sync observation.
5090 Updated docs, fix typo, added some QoS blurb.
5092 * libs/gst/base/gstbasesrc.c:
5093 Remove obsolete _get_state() calls from docs.
5095 2006-03-07 Wim Taymans <wim@fluendo.com>
5097 * docs/libs/gstreamer-libs-sections.txt:
5098 * libs/gst/base/gstbasetransform.h:
5099 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
5100 Fix docs for GstBaseSrc.
5102 2006-03-07 Wim Taymans <wim@fluendo.com>
5104 * docs/gst/gstreamer-sections.txt:
5107 * libs/gst/base/gstbasetransform.h:
5108 Small documentation fixes.
5110 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
5113 Document thread-unsafety of gst_value_register_foo_func()
5114 when used at the same time as gst_value_foo() (#322628).
5116 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
5118 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
5119 (gst_push_src_check_get_range):
5120 Push sources don't support pull mode by default.
5122 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
5124 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5125 (gst_base_src_init), (gst_base_src_pad_check_get_range),
5126 (gst_base_src_default_check_get_range):
5127 * libs/gst/base/gstbasesrc.h:
5128 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
5129 provide default implementation, and rename
5130 gst_base_src_check_get_range() to
5131 gst_base_src_pad_check_get_range() for clarity.
5133 2006-03-06 Wim Taymans <wim@fluendo.com>
5135 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
5136 Make property overridable.
5138 2006-03-06 Wim Taymans <wim@fluendo.com>
5140 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5141 (gst_base_sink_init), (gst_base_sink_set_property),
5142 (gst_base_sink_get_property), (gst_base_sink_do_sync):
5143 * libs/gst/base/gstbasesink.h:
5144 API addition: Make max-lateness a property.
5146 2006-03-06 Wim Taymans <wim@fluendo.com>
5148 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
5149 (gst_base_sink_do_sync), (gst_base_sink_render_object):
5150 Don't ever draw a frame that is >10ms late.
5152 2006-03-06 Michael Smith <msmith@fluendo.com>
5154 * gst/gstmessage.c: (_gst_message_copy):
5155 When copying a message, set the parent_refcount of the enclosed
5156 structure to point at the copy, not the original message.
5158 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
5160 Patch by: Christophe Fergeau
5163 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
5164 usable in c++ code (#333417)
5166 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
5169 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
5171 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
5173 * libs/gst/base/gstbasetransform.c:
5174 (gst_base_transform_transform_caps):
5175 Make sure caps are writable before passing them to
5178 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
5181 Fix some minor docs errors.
5183 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
5185 Patch by: Ross Burton <ross at burtonini dot com>
5187 * gst/gsterror.c: (_gst_resource_errors_init):
5189 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
5191 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
5194 Add a check and output a g_warning when GStreamer is built
5195 against GLib 2.6 but running against 2.8 or higher, and vice
5196 versa. (Closes: #323542)
5198 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
5200 * gst/parse/parse.l:
5201 Commit patch for parse_launch syntax from #331255. Removes
5202 support for quoted strings and mimetypes when writing filtered
5203 caps. See the bug report for more details - I'm pretty sure this
5204 obscure feature is not in use by _anyone_ anywhere.
5206 With this simple change, the size of the gstreamer.so here
5207 drops from 2193KB to 1565KB.
5209 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
5211 * plugins/elements/gsttypefindelement.h:
5212 * plugins/elements/gsttypefindelement.c:
5213 (gst_type_find_element_src_event), (start_typefinding),
5214 (stop_typefinding), (gst_type_find_element_handle_event),
5215 (gst_type_find_element_chain),
5216 (gst_type_find_element_chain_do_typefinding):
5217 Use gst_type_find_helper_for_buffer() for chain-based
5220 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
5222 * plugins/elements/gsttypefindelement.c:
5223 (gst_type_find_element_class_init),
5224 (gst_type_find_element_set_property),
5225 (gst_type_find_element_get_property):
5226 Deprecate "maximum" property (not only was it only taken into
5227 account for typefinding in push-mode anyway, it also was never
5228 actually possible to set it in the first place because the
5229 property was registered with the numeric property ID for the
5230 "minimum" property). Register "maximum" property correctly,
5231 for the sake of future copy'n'pasters. Remove some cruft
5232 from property get/set functions.
5234 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
5236 * plugins/elements/gsttypefindelement.c:
5237 (gst_type_find_element_activate):
5238 Use gst_type_find_helper_get_range() here, so we
5239 can honour the "minimum" property and also emit
5240 the signal with the correct probability of the found caps.
5242 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
5244 * docs/libs/gstreamer-libs-sections.txt:
5245 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5246 (helper_find_suggest), (gst_type_find_helper_get_range),
5247 (gst_type_find_helper):
5248 * libs/gst/base/gsttypefindhelper.h:
5249 New API: gst_type_find_helper_get_range() (#333042).
5251 2006-03-02 Michael Smith <msmith@fluendo.com>
5253 * gst/gstregistryxml.c: (load_feature):
5254 Asserting on a failure to read part of the registry is Not Cool.
5255 Just log a warning and return NULL (which is already handled)
5257 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
5259 * win32/common/libgstbase.def:
5260 added export of gst_type_find_helper_for_buffer
5261 * win32/common/libgstbase.def:
5262 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
5263 gst_ghost_pad_get_target
5265 2006-02-28 Wim Taymans <wim@fluendo.com>
5267 * docs/design/draft-klass.txt:
5269 Added Connector to mark elements that are only used to
5270 allow pipeline connections.
5271 Moved Debug to extra feature since most of them are
5272 functionally something else.
5274 2006-02-28 Wim Taymans <wim@fluendo.com>
5276 * docs/design/draft-klass.txt:
5277 Some updates and clarifications.
5279 2006-02-28 Wim Taymans <wim@fluendo.com>
5281 * docs/design/draft-klass.txt:
5282 Proposal for klass field values.
5284 * docs/design/part-streams.txt:
5285 Start of a doc describing stream anatomy.
5287 2006-02-28 Wim Taymans <wim@fluendo.com>
5289 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
5290 Help the compiler a bit with type registration.
5291 Use existing forward cod path instead of duplicating it when
5294 * gst/gstbus.c: (gst_bus_get_type):
5295 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
5296 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
5297 * gst/gstclock.c: (gst_clock_get_type):
5298 * gst/gstelement.c: (gst_element_get_type),
5299 * gst/gstelementfactory.c: (gst_element_factory_get_type):
5300 * gst/gstindexfactory.c: (gst_index_factory_get_type):
5301 * gst/gstminiobject.c: (gst_mini_object_get_type):
5302 * gst/gstpad.c: (gst_pad_get_type):
5303 * gst/gstsegment.c: (gst_segment_get_type):
5304 * gst/gststructure.c: (gst_structure_get_type):
5305 * gst/gstsystemclock.c: (gst_system_clock_get_type):
5306 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
5308 Help compiler with type registration.
5310 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5313 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5315 * plugins/elements/gsttypefindelement.c:
5316 (gst_type_find_element_handle_event):
5317 When we get an EOS event and have not found a type yet
5318 (most likely because we had not yet accumulated
5319 TYPE_FIND_MIN_SIZE of data yet), try to determine the
5320 type given the data we have so far. Fixes typefinding
5321 for very short streams again, most notably quicktime
5322 redirections as used on Apple's trailer site (#331701).
5324 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5326 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
5327 (gst_type_find_helper):
5328 Try typefinding factories with the highest rank first.
5330 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5332 * docs/libs/gstreamer-libs-docs.sgml:
5333 * docs/libs/gstreamer-libs-sections.txt:
5334 * libs/gst/base/gsttypefindhelper.c:
5335 Add section for typefind helper and add documentation
5336 for the old and the new function.
5338 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5340 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
5341 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
5342 (gst_type_find_helper_for_buffer):
5343 * libs/gst/base/gsttypefindhelper.h:
5344 New API: gst_type_find_helper_for_buffer() (#332723).
5346 2006-02-27 Michael Smith <msmith@fluendo.com>
5348 Patch by: Loïc Minier
5352 * docs/slides/Makefile.am:
5353 prevent CVS directories getting disted.
5355 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5357 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
5358 Use the REFCOUNTING category for caps refcounting.
5360 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
5362 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
5363 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
5365 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
5367 * plugins/elements/gsttypefindelement.c:
5368 (gst_type_find_element_activate):
5369 Use gst_pad_check_pull_range() before _activate_pull()
5370 to avoid unnecessary open/close (see #331690).
5372 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
5375 Docs enhancement: make it crystal clear what the
5376 gst_pad_add_*_probe() callbacks should look like.
5378 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
5380 * libs/gst/base/gstbasesrc.c:
5381 Document how applications can stop recording from
5382 live sources (see #330996).
5384 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5386 * tests/check/Makefile.am:
5387 * tests/check/libs/basesrc.c: (eos_event_counter),
5388 (basesrc_eos_events_pull), (basesrc_eos_events_push),
5389 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
5390 (gst_basesrc_suite), (main):
5391 ... and add some tests for the base source EOS stuff.
5393 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5395 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
5396 Test case originally showed the problem fixed below,
5397 but was then amended. Add checks back at the place
5398 where they used to be.
5400 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5402 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5403 (gst_base_src_init), (gst_base_src_loop),
5404 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5405 (gst_base_src_change_state):
5406 * libs/gst/base/gstbasesrc.h:
5407 Don't unconditionally send EOS when going from PAUSED to
5408 READY state, esp. make sure we don't send two EOS events
5409 in some cases (e.g. one when reaching EOS and one when
5410 going from PAUSED to READY). Also, we don't want to send
5411 EOS events when operating in pull mode. However, we do
5412 want to send an EOS event when shutting down a live
5413 source explicitly, for example (fixes #330996).
5415 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5417 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5418 Update src->read_position after a seek when not using mmap.
5419 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
5421 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
5427 Make things work with --disable-parse as they do with
5428 --disable-load-save - the symbols involved disappear, but the
5429 header is still installed and GST_DISABLE_PARSE is included via
5432 2006-02-20 Julien MOUTTE <julien@moutte.net>
5434 * libs/gst/base/gstbasetransform.c:
5435 (gst_base_transform_change_state): Fix a stupid bug. I was
5436 sure I compiled that.
5438 2006-02-20 Julien MOUTTE <julien@moutte.net>
5440 * gst/gstpad.c: (gst_pad_set_blocked_async):
5441 * gst/gstutils.c: (gst_pad_add_data_probe),
5442 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5443 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5444 (gst_pad_remove_buffer_probe): Make those function act on the
5445 ghostpad target when it's a ghostpad. (Closes #331727)
5447 2006-02-20 Julien MOUTTE <julien@moutte.net>
5449 * libs/gst/base/gstbasetransform.c:
5450 (gst_base_transform_change_state): Make basetransform reusable.
5453 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
5455 * docs/random/release:
5456 Move the current documentation of how to do a release to the top
5459 * gst/gstbin.c: (gst_bin_class_init),
5460 (gst_bin_handle_message_func):
5461 Allow multiple state-recalculation threads. (Closes #328873)
5463 2006-02-19 Julien MOUTTE <julien@moutte.net>
5465 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
5466 * gst/gstpad.c: (gst_pad_set_event_function),
5467 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5468 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
5469 2 strings. You can't use the STR_NULL macro on that.
5471 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
5473 * gst/gstpad.c: (gst_pad_set_event_function),
5474 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5475 (gst_pad_set_getcaps_function)
5476 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
5477 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
5478 So now, we can use --gst-debug-level=5 on Windows
5479 * win32/common/libgstcontroller.def:
5480 Added export of gst_controller_init
5481 * win32/vs6/libgstcontroller.dsp:
5482 Fixed Release post build configuration
5484 2006-02-17 Wim Taymans <wim@fluendo.com>
5486 * tests/check/gst/gstquery.c: (GST_START_TEST):
5487 Added another check.
5489 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
5491 * plugins/elements/gsttypefindelement.c: (find_peek):
5492 We can do peeks at non-zero offsets, as long as they
5493 fall within the buffer we have.
5495 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
5497 * tests/check/Makefile.am:
5498 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
5499 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
5500 (parse_suite), (main):
5501 Add testsuite for parse launch syntax
5503 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
5505 * plugins/elements/gsttypefindelement.c:
5506 (gst_type_find_element_chain):
5507 When typefinding is unsuccessful in the chain function, don't
5508 error out immediately. Only error out with NO_CAPS_FOUND if
5509 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
5510 otherwise simply wait for more data so we can try typefinding
5511 again with more data later. Also, don't attempt to typefind
5512 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
5513 this should improve typefinding from network sources where the
5514 size of the first buffer can be somewhat random.
5516 2006-02-14 Wim Taymans <wim@fluendo.com>
5518 * docs/gst/gstreamer-sections.txt:
5519 * gst/gstpadtemplate.c:
5520 * gst/gstpadtemplate.h:
5521 Fix padtemplate docs, fixes #328805.
5523 2006-02-14 Wim Taymans <wim@fluendo.com>
5525 * tools/gst-launch.c: (main):
5526 NO_PREROLL is not an ERROR so don't send confusing messages
5529 2006-02-14 Wim Taymans <wim@fluendo.com>
5531 Patch by: Torsten Schoenfeld
5533 * gst/gstregistry.c: (gst_registry_get_default),
5534 (_gst_registry_cleanup):
5535 Protect default registry with lock and ref/sink it.
5538 2006-02-14 Wim Taymans <wim@fluendo.com>
5541 * gst/gstquery.c: (gst_query_list_add_format),
5542 (gst_query_set_formatsv), (gst_query_parse_formats_length),
5543 (gst_query_parse_formats_nth):
5544 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5547 2006-02-14 Wim Taymans <wim@fluendo.com>
5549 * docs/gst/gstreamer-sections.txt:
5550 Reworked query docs.
5552 * gst/gstquery.c: (gst_query_new_formats),
5553 (gst_query_list_add_format), (gst_query_set_formats),
5554 (gst_query_set_formatsv), (gst_query_parse_formats_length),
5555 (gst_query_parse_formats_nth):
5557 Flesh out formats query, added some new methods.
5558 Fix part of #324398.
5560 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
5561 Added query creation tests.
5563 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
5565 * gst/gstpad.c: (fixate_value):
5566 Add a default fixation for fraction lists.
5568 2006-02-13 Wim Taymans <wim@fluendo.com>
5570 * gst/gsttask.c: (gst_task_init), (gst_task_func),
5571 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
5574 Detect and warn for obvious deadlocks. fixes #320340
5575 Fix error case where lock was not released.
5577 * tests/check/Makefile.am:
5578 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
5579 (task_func), (gst_element_suite), (main):
5582 2006-02-13 Wim Taymans <wim@fluendo.com>
5584 * docs/gst/gstreamer-sections.txt:
5586 Add new functions to docs.
5588 2006-02-13 Wim Taymans <wim@fluendo.com>
5590 * docs/design/part-TODO.txt:
5591 Updated TODO list, basesrc supports seeking to non-bytes
5594 * docs/design/part-element-sink.txt:
5597 * gst/gstbin.c: (bin_replace_message),
5598 (gst_bin_handle_message_func):
5599 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
5600 * gst/gstevent.c: (gst_event_finalize):
5601 * gst/gstpad.c: (gst_pad_event_default_dispatch),
5602 (gst_pad_send_event):
5603 Use shiny new _TYPE_NAME macros.
5605 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5606 Move debug statement up.
5608 * gst/gstelement.c: (gst_element_set_locked_state):
5611 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
5613 * docs/gst/gstreamer-sections.txt:
5616 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
5617 macros (#330906). Also, document the already existing
5618 GST_QUERY_TYPE macro.
5620 2006-02-13 Wim Taymans <wim@fluendo.com>
5622 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
5623 (event_probe), (GST_START_TEST):
5624 Only events up to the pipeline EOS are counted, there are
5625 some more when going to NULL currently which we don't care
5628 2006-02-13 Wim Taymans <wim@fluendo.com>
5630 * gst/gstpad.c: (gst_pad_send_event):
5631 Correctly check flushing and emit probes. fixes #330125
5633 2006-02-10 Andy Wingo <wingo@pobox.com>
5635 * gst/gstbus.c (gst_bus_class_init): Declare our private data
5637 (gst_bus_init): Cache the location of the private data in the
5639 (gst_bus_enable_sync_message_emission)
5640 (gst_bus_disable_sync_message_emission): Implement new public
5642 (gst_bus_post): Emit the sync-message signal if the user asked for
5645 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
5646 location of the bus-private structure.
5647 (gst_bus_enable_sync_message_emission)
5648 (gst_bus_disable_sync_message_emission): API addition
5650 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
5652 Patch by: Vincent Torri
5654 * docs/pwg/building-boiler.xml:
5655 PWG patch from #326800
5657 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
5661 * docs/design/Makefile.am:
5664 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5669 === release 0.10.3 ===
5671 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5674 releasing 0.10.3, "Like a virgin"
5676 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5679 2nd prerelease of 0.10.3
5680 Bump libtool versioning.
5682 2006-02-07 Andy Wingo <wingo@pobox.com>
5684 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
5685 update last_stop if we're in TIME format and the timestamp is
5688 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
5689 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
5690 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
5691 If we get a new newsegment with a different format, adapt
5694 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
5695 of 0. Not a problem, really.
5697 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
5700 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
5705 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
5708 project files updated to the default vs7 configuration
5709 * win32/common/libgstbase.def:
5710 * win32/common/libgstreamer.def:
5712 removed empty lines,
5713 sorted all exported symbols alphabetically
5714 * win32/common/dirent.c:
5715 * win32/common/dirent.h:
5716 * win32/common/gchar.h:
5717 use windows line end.
5719 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
5721 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5722 Send EOS event when stopping.
5724 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
5727 Tell folks what to do if the plugin-foobar.xml file
5728 hasn't been generated for a newly-added plugin.
5730 2006-02-05 Julien MOUTTE <julien@moutte.net>
5732 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5733 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5734 (gst_collect_pads_start), (gst_collect_pads_stop),
5735 (gst_collect_pads_event): Collectpads now holds a reference
5736 to the GstPad that was added. Indeed we don't want to look
5737 at pads that might just go away with no warning...
5739 2006-02-05 Julien MOUTTE <julien@moutte.net>
5741 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5742 (gst_collect_pads_start), (gst_collect_pads_stop),
5743 (gst_collect_pads_event), (gst_collect_pads_chain):
5744 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
5745 Mark Nauwelaerts's patch on bug #328491.
5747 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5749 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
5751 Add some simple tests for gst_parse_bin_from_description() and
5752 gst_bin_find_unconnected_pad() (#329069).
5754 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5756 * tools/gst-launch.c: (event_loop), (main):
5757 Catch errors during preroll (#320084).
5759 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
5761 * plugins/elements/gsttypefindelement.c:
5762 (gst_type_find_element_activate):
5763 Post TYPE_NOT_FOUND error message when typefinding
5764 is unsuccessful in the activate function as well.
5766 2006-02-02 Wim Taymans <wim@fluendo.com>
5768 * docs/design/part-element-sink.txt:
5771 2006-02-02 Wim Taymans <wim@fluendo.com>
5773 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5774 (gst_base_sink_render_object),
5775 (gst_base_sink_queue_object_unlocked):
5776 Only keep track of prerollable items when we are
5778 Before rendering after preroll, always check if we
5780 Added some more debugging.
5782 2006-02-02 Wim Taymans <wim@fluendo.com>
5784 * gst/gstelement.c: (gst_element_continue_state),
5785 (gst_element_set_state_func), (gst_element_change_state):
5786 Fixed #326576, been running this for quite some time with
5787 no regressions at all.
5789 2006-02-02 Wim Taymans <wim@fluendo.com>
5792 Added more suppressions
5794 2006-02-02 Wim Taymans <wim@fluendo.com>
5796 * docs/design/part-element-sink.txt:
5799 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5800 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5801 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5802 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5803 (gst_base_sink_do_sync), (gst_base_sink_render_object),
5804 (gst_base_sink_preroll_object),
5805 (gst_base_sink_queue_object_unlocked),
5806 (gst_base_sink_queue_object), (gst_base_sink_event),
5807 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5808 (gst_base_sink_loop), (gst_base_sink_activate_pull),
5809 (gst_base_sink_get_position), (gst_base_sink_change_state):
5810 * libs/gst/base/gstbasesink.h:
5811 Totally refactored matching the design doc.
5812 Use two segments, one to clip incomming buffers and another to
5814 Handle queueing correctly, bypass the queue when playing.
5815 Make EOS cancelable.
5816 Handle errors correctly when operating in pull based mode.
5818 * tests/check/elements/fakesink.c: (GST_START_TEST),
5820 Added new check for sinks.
5822 2006-02-02 Wim Taymans <wim@fluendo.com>
5824 * gst/gstsegment.c: (gst_segment_clip):
5825 No reason to refuse to clip when start == -1
5827 2006-02-02 Stefan Kost <ensonic@users.sf.net>
5830 * docs/manual/intro-basics.xml:
5831 * docs/manual/intro-preface.xml:
5832 * docs/manual/manual.xml:
5833 * docs/pwg/advanced-dparams.xml:
5834 * docs/pwg/intro-basics.xml:
5835 * docs/pwg/intro-preface.xml:
5837 describe dparams (controller) for plugins
5838 unify docs a little more
5840 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
5842 * docs/gst/gstreamer-sections.txt:
5843 * gst/gstutils.c: (element_find_unconnected_pad),
5844 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5846 Add new API: gst_parse_bin_from_description() and
5847 gst_bin_find_unconnected_pad() (#329069).
5849 2006-02-01 Stefan Kost <ensonic@users.sf.net>
5851 * docs/manual/README:
5852 uncover a nasty detail of the docs build
5854 2006-01-31 Wim Taymans <wim@fluendo.com>
5856 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5857 Don't cache duration messages if we're not going to use or
5860 2006-01-31 Stefan Kost <ensonic@users.sf.net>
5862 * docs/manual/advanced-dparams.xml:
5863 * docs/pwg/advanced-dparams.xml:
5867 * libs/gst/controller/lib.c: (gst_controller_init):
5870 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
5872 * gst/gstelement.c: (gst_element_message_full):
5873 also show file/line/func if no additional debug was given
5875 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
5877 * win32/vs7/grammar.vcproj:
5878 activate copy of autogenerated files for Release mode
5880 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
5882 * win32/common/libgstreamer.def:
5883 export gst_value_compare
5885 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
5887 * plugins/elements/Makefile.am:
5888 * plugins/elements/gstelements.c:
5889 * plugins/elements/gstfdsink.c: (_do_init),
5890 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
5891 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
5892 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
5893 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
5894 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
5895 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
5896 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
5897 * plugins/elements/gstfdsink.h:
5898 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
5900 2006-01-30 Stefan Kost <ensonic@users.sf.net>
5902 * docs/manual/advanced-dparams.xml:
5904 * docs/manual/advanced-position.xml:
5905 * docs/manual/basics-init.xml:
5906 * docs/manual/manual.xml:
5907 * docs/manual/titlepage.xml:
5909 * docs/pwg/titlepage.xml:
5910 cleanup xml (more to come)
5911 * libs/gst/controller/gstcontroller.c:
5914 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
5916 * win32/vs6/grammar.dsp:
5917 add autogen of gstmarshal.c,h for Release mode
5919 2006-01-30 Wim Taymans <wim@fluendo.com>
5921 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5922 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
5923 (gst_base_sink_handle_object), (gst_base_sink_event),
5924 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
5925 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5926 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
5927 (gst_base_sink_deactivate), (gst_base_sink_activate),
5928 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5929 (gst_base_sink_query), (gst_base_sink_change_state):
5930 Basesink cleanups, remove some old code.
5931 Handle the case where a subclass can preroll in the render
5932 method (mostly audiosinks).
5934 Remove some locks around variables that are now protected
5935 with the PREROLL_LOCK (clock_id, flushing, ..).
5936 Optimize position query some more, do correct locking.
5937 Remove old code to push queue in state change, this is not
5938 needed anymore since preroll blocks on all prerollable items
5940 Almost implemented as described in design doc.
5942 2006-01-30 Wim Taymans <wim@fluendo.com>
5944 * tests/check/gst/gstbin.c: (GST_START_TEST):
5945 Wait for refcount to settle down before checking.
5947 2006-01-30 Wim Taymans <wim@fluendo.com>
5949 * docs/design/part-element-sink.txt:
5950 Pseudo code overview of desired sink behaviour regarding
5953 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5954 * win32/vs6/grammar.dsp:
5955 fix some bugs in Release mode for autogenerated files
5957 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5958 * win32/common/libgstbase.def:
5959 * win32/common/libgstreamer.def:
5960 export some new symbols: gst_base_src_set_format,
5961 gst_iterator_next, gst_structure_set_valist
5963 2006-01-29 Julien MOUTTE <julien@moutte.net>
5965 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5966 Set pad functions unconditionally. Fixes #329105.
5968 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5970 add vs8 project files created by Sergey Scobich
5972 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
5974 * gst/gstutils.c: (gst_element_unlink_pads):
5975 Don't leak pad references.
5977 * tests/check/elements/fakesink.c: (GST_START_TEST):
5978 * tests/check/generic/sinks.c: (GST_START_TEST):
5979 * tests/check/generic/states.c: (GST_START_TEST):
5980 * tests/check/gst/gstbin.c: (GST_START_TEST):
5981 * tests/check/gst/gstcaps.c: (GST_START_TEST):
5982 * tests/check/gst/gstelement.c: (GST_START_TEST):
5983 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5984 * tests/check/gst/gstiterator.c: (GST_START_TEST):
5985 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5986 Fix a bunch of leaks. Make generic/sinks.c
5987 use a bit less cpu by slowing the buffer rate
5988 between fakesrc and fakesink.
5990 2006-01-27 Stefan Kost <ensonic@users.sf.net>
5992 * gst/gstelement.c: (gst_element_send_event):
5995 * gst/gstiterator.c:
5996 * gst/gstiterator.h:
5997 * gst/gstpad.c: (gst_pad_send_event):
5998 * gst/gststructure.c:
6002 * libs/gst/base/gstadapter.c:
6003 doc fixes, to link to function, just write gst_cool_function(), don't
6006 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
6008 * plugins/elements/gsttee.c: (gst_tee_do_push),
6009 (gst_tee_handle_buffer):
6010 Always prefer an actual return value from a src
6011 pad in place of NOT_LINKED. This means we return
6012 WRONG_STATE when all src pads are WRONG_STATE
6013 instead of NOT_LINKED.
6015 Lock when replacing the last message to prevent
6016 racing with the get_property method.
6020 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
6022 * tests/check/Makefile.am:
6023 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
6025 Add a very simple check that should have caught the memleak I fixed
6026 last night (if not for the slice allocator hiding it)
6028 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
6030 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
6031 (gst_bin_remove_func), (gst_bin_handle_message_func),
6032 (bin_query_duration_fold), (bin_query_generic_fold):
6033 Clean up references to the clock provider when disposed or when
6034 handling a clock-lost message from it.
6036 Unref sinks when performing a query via gst_iterator_fold, as the
6037 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
6039 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
6040 (gst_clock_set_master):
6041 Drop our reference to the master clock, if any, when we are disposed.
6043 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
6044 Chain up in dispose.
6046 2006-01-26 Wim Taymans <wim@fluendo.com>
6048 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
6051 2006-01-26 Julien MOUTTE <julien@moutte.net>
6053 * plugins/elements/gsttee.c: (gst_tee_do_push),
6054 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
6055 handles pad being NOT_LINKED or in WRONG_STATE.
6057 2006-01-26 Stefan Kost <ensonic@users.sf.net>
6062 2006-01-26 Stefan Kost <ensonic@users.sf.net>
6065 remove obsolete entry
6067 2006-01-26 Stefan Kost <ensonic@users.sf.net>
6069 * docs/gst/gstreamer-sections.txt:
6070 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
6071 (gst_bin_iterate_sources), (gst_bin_send_event):
6073 * gst/gstelement.c: (gst_element_send_event):
6075 * gst/gstpad.c: (gst_pad_send_event):
6076 added code for downstream events, reviewed docs in gstevent.c
6078 2006-01-25 Julien MOUTTE <julien@moutte.net>
6080 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6081 We only query position using the clock in the playing state.
6082 Query peer in the other cases.
6083 * win32/common/config.h: Updates.
6085 2006-01-24 Wim Taymans <wim@fluendo.com>
6087 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6088 A clock entry that is scheduled for the exact time of the
6089 clock is still in time.
6091 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6092 (gst_base_sink_do_sync):
6093 Add some more debug info.
6095 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
6098 Add new vs7 project files and solution.
6100 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
6103 all files removed as they were out-dated.
6105 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
6107 * docs/random/release:
6109 * gst/gstbin.c: (gst_bin_init):
6110 * gst/gstbus.c: (gst_bus_new):
6112 * gst/gstpipeline.c: (gst_pipeline_init):
6113 use gst_bus_new(), improve logging, fix docs
6114 * win32/common/config.h:
6115 update for cvs build
6117 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
6120 up required version of automake to 1.7
6122 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
6124 * win32/common/libgstreamer.def:
6125 export gst_buffer_is_metadata_writable
6127 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
6129 * docs/gst/gstreamer-sections.txt:
6131 Add gst_event_replace() (#327001)
6133 2006-01-20 Wim Taymans <wim@fluendo.com>
6135 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6136 Make it actually compile too..
6138 2006-01-20 Wim Taymans <wim@fluendo.com>
6141 Clarify behaviour of _is_equal() when passing NULL parameters.
6143 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6145 Cleanups. Don't unref NULL caps.
6146 When setting the same caps, protect caps of the pad with
6148 Use full functionality of _is_equal() when comparing caps.
6150 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
6152 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
6153 Don't loop infinitely if there are no buffers to present. Partially
6154 fixes #327197, but collectpads is just broken for reusing elements
6155 to do multiple encodes atm.
6157 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
6159 * tools/gst-inspect.c: (print_element_features):
6160 * tools/gst-xmlinspect.c: (main):
6161 URL_HANDLER is not a plugin feature we can search for in
6164 2006-01-19 Edward Hervey <edward@fluendo.com>
6166 * gst/gstelement.c: (gst_element_pads_activate):
6167 When activating, do src pads first, then sink pads.
6168 When de-activating, do sink pads first, then src pads.
6170 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6172 * docs/gst/gstreamer-sections.txt:
6173 Add gst_index_add_associationv to the docs
6175 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6180 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
6181 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
6182 Do some refactoring. Doesn't actually change functionality,
6183 but makes landing the DRAIN event easier later.
6185 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
6187 * docs/pwg/advanced-scheduling.xml:
6188 Update from 0.9.x to 0.10 API and make example a bit
6191 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6193 * docs/gst/gstreamer-sections.txt:
6194 Add gst_buffer_(is|make)_metadata_writable methods.
6196 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6198 * docs/design/part-sparsestreams.txt:
6199 Update sparse streams doc, hopefully for greater clarity
6201 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
6203 * docs/design/part-events.txt:
6204 Remove mention of FILLER events.
6207 * docs/design/part-sparsestreams.txt:
6208 Write some things about using NEWSEGMENT to keep sparse streams
6211 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
6213 * gst/gstbin.c: (gst_bin_dispose):
6214 Guard gst_object_unref call against a NULL object (dispose
6215 can theoretically be called multiple times).
6217 2006-01-18 Wim Taymans <wim@fluendo.com>
6219 * gst/gstbin.c: (gst_bin_element_set_state):
6220 * gst/gstclock.c: (gst_clock_id_wait):
6221 Added some more debug info.
6223 * libs/gst/base/gstadapter.c:
6226 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6227 (gst_base_sink_do_sync), (gst_base_sink_chain):
6228 Added some comments.
6230 2006-01-18 Wim Taymans <wim@fluendo.com>
6232 * tests/check/Makefile.am:
6233 * tests/check/elements/fakesink.c: (chain_async_buffer),
6234 (chain_async), (chain_async_return), (GST_START_TEST),
6235 (fakesink_suite), (main):
6236 Added fakesink test that checks prerolling and clipping
6239 * tests/check/gst/gstutils.c: (GST_START_TEST):
6240 Make check run faster so that buildbots don't timeout.
6242 2006-01-18 Wim Taymans <wim@fluendo.com>
6244 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6245 (gst_base_sink_do_sync):
6247 When the sink finishes blocking on the preroll buffer, it can
6248 immediatly render it instead of rendering when the next buffer
6251 2006-01-18 Wim Taymans <wim@fluendo.com>
6253 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
6254 (gst_base_sink_get_property), (gst_base_sink_do_sync),
6255 (gst_base_sink_chain):
6257 GST_ELEMENT_CLOCK and sync are protected with LOCK.
6258 Don't store _last_stop if the buffer is dropped.
6260 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
6262 * plugins/elements/gsttypefindelement.c:
6263 (gst_type_find_element_class_init):
6264 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
6265 object method handler that sets the caps on the pad and we want
6266 that to happen before we emit the signal (fixes e.g. feeding a
6267 plain text file to decodebin).
6269 2006-01-18 Christian Schaller <Christian@fluendo.com>
6271 * gst/gstplugin.c: Add MPL and Proprietary as license options
6273 2006-01-18 Andy Wingo <wingo@pobox.com>
6275 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
6276 symbol was exported before, it appears this was just an oversight.
6278 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
6280 * gst/gstindex.c (gst_index_add_associationv): Changed int in
6281 prototype to gint. OK since this prototype was not in the header.
6283 2006-01-17 Andy Wingo <wingo@pobox.com>
6285 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
6286 registry while we remove plugins.
6288 * tools/gst-inspect.c (print_element_info): Don't unref the
6289 factory arg, that should be the responsibility of whatever code
6290 received the ref. Fixes a double-free when called from
6291 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
6292 (main): Unref the factory if we have one.
6293 (print_element_list): No change -- relies on the
6294 plugin_feature_list_free to free the list of features.
6296 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
6298 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6299 (gst_buffer_make_metadata_writable):
6301 * libs/gst/base/gstbasetransform.c:
6302 (gst_base_transform_prepare_output_buf):
6303 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6304 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6305 Replace gst_buffer_(make|is)_metadata_writable patch now
6306 that the release is out.
6308 2006-01-17 Andy Wingo <wingo@pobox.com>
6310 * gst/gstregistry.c: Reflow design comment. Update so as to speak
6311 in the present tense without reference to versions.
6313 * gst/gstregistry.c (gst_registry_add_plugin)
6314 (gst_registry_remove_plugin, gst_registry_remove_feature)
6315 (gst_registry_find_feature, gst_registry_get_feature_list)
6316 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
6317 (gst_registry_lookup, gst_registry_scan_path)
6318 (_gst_registry_remove_cache_plugins)
6319 (gst_registry_get_feature_list_by_plugin): Add argument
6322 === release 0.10.2 ===
6324 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
6327 releasing 0.10.2, "If man is five"
6329 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
6333 * libs/gst/base/gstbasetransform.c:
6334 (gst_base_transform_prepare_output_buf):
6335 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6336 * tests/check/gst/gstbuffer.c: (gst_test_suite):
6337 Back out patch until after the release.
6339 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
6341 * gst/gstminiobject.c:
6342 Spelling fix in docs.
6343 * ChangeLog - remove conflict indicator
6345 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
6347 Reviewed By: Andy Wingo
6349 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6350 (gst_buffer_make_metadata_writable):
6352 Add gst_buffer_(is|make)_metadata_writable as analogues of
6353 gst_buffer_(is|make)_writable.
6355 * libs/gst/base/gstbasetransform.c:
6356 (gst_base_transform_prepare_output_buf):
6357 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6358 Use name gst_buffer_(is|make)_metadata_writable functions.
6360 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6361 Test gst_buffer_(is|make)_metadata_writable
6365 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
6367 * docs/manual/Makefile.am:
6368 don't do parallel make
6371 * win32/common/config.h.in:
6372 add generations for HOST_CPU and GST_MAJORMINOR
6373 * win32/common/config.h:
6374 commit generated result
6376 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
6378 * docs/manual/appendix-integration.xml:
6379 Update GNOME integration section to use gst_init_get_option_group()
6380 instead of the old popt stuff (#322911). Also, GNOME applications
6381 should now use gconf*sink and gconf*src instead of the old gconf
6384 2006-01-13 Stefan Kost <ensonic@users.sf.net>
6387 * docs/gst/gstreamer-docs.sgml:
6388 * docs/gst/gstreamer-sections.txt:
6389 * docs/libs/gstreamer-libs-sections.txt:
6390 add new API entries to the docs
6391 * libs/gst/controller/Makefile.am:
6392 * libs/gst/controller/gstcontroller.c:
6393 * libs/gst/controller/gstcontroller.h:
6394 * libs/gst/controller/gstcontrollerprivate.h:
6395 * libs/gst/controller/gsthelper.c:
6396 * libs/gst/controller/gstinterpolation.c:
6397 move private structs to private header
6399 gstreamer-0.7 -> gstreamer-0.10
6400 * tests/check/libs/struct_i386.h:
6401 remove private structs
6403 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
6405 * plugins/indexers/Makefile.am:
6406 Fixes as part of #317048
6408 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
6410 * plugins/indexers/Makefile.am:
6411 fix #316086 - compilation when mmap is missing
6413 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
6415 * libs/gst/base/gstbasesink.c:
6416 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
6417 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
6418 * win32/common/config.h:
6419 added some defines GST_MAJORMINOR and HOST_CPU
6420 * win32/common/libgstbase.def:
6421 * win32/common/libgstreamer.def:
6422 added some exported functions.
6424 2006-01-12 Stefan Kost <ensonic@users.sf.net>
6426 * libs/gst/controller/gstcontroller.c:
6427 (gst_controlled_property_set_interpolation_mode),
6428 (gst_controlled_property_new):
6429 * libs/gst/controller/gstcontroller.h:
6430 * libs/gst/controller/gstinterpolation.c:
6431 (interpolate_none_get_string_value_array):
6432 make G_TYPE_STRING controlable
6434 2006-01-12 Stefan Kost <ensonic@users.sf.net>
6437 * tools/gst-feedback.1.in:
6438 * tools/gst-inspect.1.in:
6439 * tools/gst-launch.1.in:
6440 * tools/gst-md5sum.1.in:
6441 * tools/gst-typefind.1.in:
6442 * tools/gst-xmlinspect.1.in:
6443 * tools/gst-xmllaunch.1.in:
6444 cleanup man-pages, remove reference to gst-register, document env-vars
6446 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
6448 * gst/gstbuffer.c: (gst_buffer_span):
6449 gst_buffer_span should copy the timestamp of the first buffer
6450 if they were both originally overlapping subbuffers of the
6451 same parent, using the same logic as the 'slow copy' case.
6453 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
6455 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
6456 Need to awaken ALL the pads when we pop a buffer, otherwise
6457 collectpads only works when there is 2 input streams.
6459 2006-01-11 Stefan Kost <ensonic@users.sf.net>
6461 * docs/random/ensonic/media-device-daemon.txt:
6464 fix doc example, add clarification
6465 * tools/gst-launch.1.in:
6466 add initial info about GST_PLUGIN_PATH, needs more work
6468 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
6470 * docs/manual/basics-bins.xml:
6471 * docs/manual/basics-elements.xml:
6472 * docs/manual/intro-basics.xml:
6473 Some more minor docs additions and updates.
6475 2006-01-11 Wim Taymans <wim@fluendo.com>
6477 * docs/manual/basics-bins.xml:
6478 * docs/manual/basics-elements.xml:
6479 Some small fixes as pointed out by Ser-ver on IRC.
6481 2006-01-10 Edward Hervey <edward@fluendo.com>
6483 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6484 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
6485 the single-segment mode.
6487 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
6489 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6491 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
6492 (gst_base_src_perform_seek), (gst_base_src_send_event),
6493 (gst_base_src_set_property), (gst_base_src_get_property),
6494 (gst_base_src_loop), (gst_base_src_start),
6495 (gst_base_src_activate_push):
6496 * libs/gst/base/gstbasesrc.h:
6497 Name (private) union; makes Sun's Forte compiler happy (#324900).
6499 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
6502 gst-register is gone.
6504 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
6506 * gst/gstvalue.c: (_gst_value_initialize):
6507 make the G_TYPE_DATE instantiation work if debug is disabled
6509 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
6511 * gst/gstmessage.c: (gst_message_parse_tag),
6512 (gst_message_parse_error), (gst_message_parse_warning):
6513 Don't crash when return location for error/warning debug
6514 string is NULL; add fact that return locations can be
6515 NULL to docs where appropriate.
6517 2006-01-05 Wim Taymans <wim@fluendo.com>
6519 * gst/gstplugin.c: (gst_plugin_load_file):
6520 Replace strdup by g_strdup.
6522 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
6524 * docs/pwg/advanced-types.xml:
6527 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
6529 submitted by: Abel Cheung
6533 Added Chinese (traditional) translation
6535 2006-01-04 Wim Taymans <wim@fluendo.com>
6537 * docs/manual/basics-pads.xml:
6538 * docs/plugins/Makefile.am:
6539 * docs/plugins/gstreamer-plugins-docs.sgml:
6540 * docs/plugins/gstreamer-plugins-sections.txt:
6541 * docs/pwg/advanced-clock.xml:
6542 * docs/pwg/advanced-scheduling.xml:
6543 * docs/pwg/advanced-types.xml:
6544 * plugins/elements/gstfdsink.c:
6545 * plugins/elements/gstfdsrc.c:
6546 * plugins/elements/gstfdsrc.h:
6547 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6548 * plugins/elements/gstidentity.h:
6549 * plugins/elements/gstqueue.h:
6550 * plugins/elements/gsttee.c:
6551 * plugins/elements/gsttee.h:
6552 * plugins/elements/gsttypefindelement.c:
6553 (gst_type_find_element_class_init):
6554 * plugins/elements/gsttypefindelement.h:
6555 Small updates to various docs.
6556 Added core plugins to docs.
6558 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6561 add a suppression for liboil's uninitialized variable
6563 2006-01-02 James Livingston <jrl at ids dot org dot au>
6565 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6568 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
6569 macro, so that gcc doesn't complain if the -Wmissing-prototypes
6570 compiler switch is being used (#325429).
6572 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
6574 * gst/gstbin.c: (gst_bin_query):
6575 Disable duration query caching in bins until it gets
6576 fixed (see #324807).
6578 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
6580 * tools/gst-inspect.c: (print_element_properties_info):
6581 Handle properties of POINTER and BOXED type.
6583 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
6585 * gst/gst.c: (init_post):
6586 Init tags stuff and some other things before loading
6587 any static plugins (there may be other static plugins
6588 than just the GStreamer ones, and they may want to
6589 register their own tags or formats or whatever, and
6590 preferably without segfaulting).
6592 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6593 Print at least a warning in the debug logs if we drop a
6594 query just because we don't know how to adjust the value
6595 in the particular format.
6597 2005-12-24 David Schleef <ds@schleef.org>
6599 * tools/gstreamer-completion:
6600 Replacement for gst-complete written in sh and sed. Only
6601 completes names of features, but that's 90% of what I want
6602 it for. Properties are not available in registry.xml. (Maybe
6605 === release 0.10.1 ===
6607 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
6610 releasing 0.10.1, "Nollaig chridheil"
6612 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
6615 Add missing quote, should be make ERROR_CFLAGS="".
6617 2005-12-20 Wim Taymans <wim@fluendo.com>
6619 * docs/design/part-trickmodes.txt:
6620 More documentation on trickmodes.
6622 2005-12-20 Edward Hervey <edward@fluendo.com>
6624 * gst/gstcaps.c: (gst_static_caps_get_type):
6626 API addition: GST_TYPE_STATIC_CAPS
6627 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
6628 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
6629 * gst/gstpadtemplate.h:
6630 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
6631 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
6634 2005-12-18 Wim Taymans <wim@fluendo.com>
6636 * libs/gst/base/gstadapter.c:
6637 * libs/gst/base/gstadapter.h:
6638 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6639 (gst_base_sink_get_position):
6640 * libs/gst/base/gstbasesink.h:
6641 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6642 (gst_base_src_default_query), (gst_base_src_default_do_seek),
6643 (gst_base_src_do_seek), (gst_base_src_perform_seek),
6644 (gst_base_src_send_event), (gst_base_src_update_length),
6645 (gst_base_src_get_range), (gst_base_src_loop),
6646 (gst_base_src_start):
6647 * libs/gst/base/gstbasesrc.h:
6648 * libs/gst/base/gstbasetransform.h:
6649 * libs/gst/base/gstcollectpads.h:
6650 * libs/gst/base/gstpushsrc.c:
6651 * libs/gst/base/gstpushsrc.h:
6652 * libs/gst/dataprotocol/dataprotocol.c:
6653 * libs/gst/dataprotocol/dataprotocol.h:
6654 * libs/gst/net/gstnetclientclock.h:
6655 * libs/gst/net/gstnettimeprovider.h:
6656 Documentation updates.
6658 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
6660 * docs/manual/basics-helloworld.xml:
6661 Remove superfluous closing bracket in helloworld example.
6663 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
6665 * tools/gst-launch.1.in:
6666 Update gst-launch man page; add a section with useful
6667 environment variables. Fixes #323882.
6669 2005-12-16 Stefan Kost <ensonic@users.sf.net>
6672 * gst/gst_private.h:
6673 change some char* into char[]
6675 2005-12-16 Wim Taymans <wim@fluendo.com>
6677 * gst/gstregistryxml.c: (load_feature):
6679 Don't use g_object_unref on GstObjects so that we avoid
6680 leaks on unsafe glibs.
6682 2005-12-16 Wim Taymans <wim@fluendo.com>
6684 * gst/gstbin.c: (gst_bin_recalc_state):
6687 2005-12-16 Wim Taymans <wim@fluendo.com>
6690 Added make forever target for check.
6692 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
6694 * gst/gst.c: (init_post):
6695 make the registry cache file HOST_CPU-dependent
6697 2005-12-16 Andy Wingo <wingo@pobox.com>
6699 * plugins/elements/gstbufferstore.c
6700 (gst_buffer_store_cleared_func): Pay attention to g_list_append
6703 * tests/check/gst/gstobject.c
6704 (test_fake_object_name_threaded_unique): Pay attention to
6705 g_list_sort return value.
6707 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
6709 * tools/gst-feedback-m.m:
6710 Update for 0.9/0.10 (fixes #323870).
6712 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
6714 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
6715 Fix lcopy for mini objects, the mini object needs to be ref'ed.
6717 * tests/check/gst/gstminiobject.c: (my_foo_init),
6718 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
6719 (test_value_collection), (gst_mini_object_suite):
6720 Add test to ensure refcounts end up as expected when passing
6721 GstMiniObjects through g_object_get() and g_object_set().
6723 2005-12-14 Julien MOUTTE <julien@moutte.net>
6725 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6726 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
6727 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
6728 of collectpads. This version removes a lot of races without
6729 touching API/ABI. Yay !
6731 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
6733 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
6734 Don't allow activation of a srcpad in pull_range if it has no
6736 Change some debug statements to be a little clearer
6738 * plugins/elements/gsttypefindelement.c:
6739 (gst_type_find_handle_src_query):
6740 Check that we have a peer before executing queries thereupon.
6742 * tests/examples/metadata/read-metadata.c: (message_loop):
6743 Use gst_bus_pop instead of gst_bus_poll when we just want it to
6744 immediately return us any available message with 0 timeout.
6746 2005-12-12 Michael Smith <msmith@fluendo.com>
6748 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6749 Don't unref factories after calling them.
6750 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
6751 * plugins/elements/gsttypefindelement.c:
6752 (gst_type_find_element_chain):
6753 Free lists of factories after using them. Fixing typefinding memory
6756 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6758 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6759 (gst_plugin_feature_load):
6760 more meaningful debug output
6762 * tests/Makefile.am:
6763 * tests/old/examples/Makefile.am:
6764 make make distcheck happy again
6766 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6768 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6769 Catch the special case where we are operating chain-based,
6770 but the downstream peer pad has no chain function. Emit a
6771 custom error message in this case instead of letting the
6772 core generate one implying that this is some sort of core
6773 bug. It's not, it just means that whatever got plugged
6774 into the pipeline downstream when we announced the type
6775 can only operate pull-based, while our source can only
6776 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6777 Error string has not been marked for translation yet, as
6778 it probably needs some more work first.
6780 (gst_type_find_element_get_best_possibility):
6781 Add helper function to find the best of all available
6782 found possibilities that qualify given the min. threshold.
6784 (gst_type_find_element_handle_event):
6785 Fix the case where we get an EOS while still in TYPEFIND
6786 mode (we want to chose the best of all possible types,
6787 not just the first type that happens to be in our unsorted
6788 list of possible types).
6790 (gst_type_find_element_chain):
6791 Make sure we return GST_FLOW_ERROR when we errored out
6792 in stop_typefinding(); also, don't just find the best of
6793 all found type entries and then use the last examined
6794 type entry, but actually use the best entry.
6796 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6798 * tests/examples/typefind/typefind.c: (type_found):
6799 * tests/examples/xml/runxml.c: (xml_loaded):
6800 More gcc4 fixes and a mem leak fix.
6802 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6804 * tests/examples/xml/createxml.c: (object_saved):
6807 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6809 * tests/Makefile.am:
6810 enable the examples even more
6812 2005-12-12 Andy Wingo <wingo@pobox.com>
6814 * libs/gst/net/gstnettimeprovider.c
6815 (gst_net_time_provider_class_init, gst_net_time_provider_init)
6816 (gst_net_time_provider_set_property)
6817 (gst_net_time_provider_get_property):
6818 API addition: Export "active" as a GObject property.
6819 (gst_net_time_provider_thread): Only respond to time queries if
6820 the time provider is active.
6822 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6823 NetTimeProvider, preserving binary compat.
6825 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6827 * tests/examples/controller/audio-example.c: (main):
6828 * tests/examples/launch/Makefile.am:
6829 convert comments again
6831 2005-12-12 Wim Taymans <wim@fluendo.com>
6833 * libs/gst/base/gstpushsrc.c:
6836 2005-12-12 Wim Taymans <wim@fluendo.com>
6838 * docs/libs/gstreamer-libs-sections.txt:
6839 Added new symbol to docs.
6841 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6842 (gst_base_src_init), (gst_base_src_set_format),
6843 (gst_base_src_default_query), (gst_base_src_query),
6844 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6845 (gst_base_src_perform_seek), (gst_base_src_send_event),
6846 (gst_base_src_default_event), (gst_base_src_event_handler),
6847 (gst_base_src_set_property), (gst_base_src_get_property),
6848 (gst_base_src_wait), (gst_base_src_do_sync),
6849 (gst_base_src_update_length), (gst_base_src_get_range),
6850 (gst_base_src_check_get_range), (gst_base_src_loop),
6851 (gst_base_src_default_negotiate), (gst_base_src_start),
6852 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6853 (gst_base_src_change_state):
6854 * libs/gst/base/gstbasesrc.h:
6855 Implement seeking to other formats than _BYTES.
6856 Implement more seeking methods correctly.
6858 Added query vmethod.
6859 Added do_seek vmethod to make life easier for subclasses
6861 API addition: gst_base_src_set_format()
6863 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6865 * tests/examples/Makefile.am:
6868 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6871 * docs/random/ensonic/media-device-daemon.txt:
6872 * tests/examples/controller/.cvsignore:
6873 * tests/examples/controller/Makefile.am:
6874 * tests/examples/controller/audio-example.c: (main):
6875 * tests/examples/helloworld/.cvsignore:
6876 * tests/examples/helloworld/Makefile.am:
6877 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
6878 * tests/examples/launch/.cvsignore:
6879 * tests/examples/launch/Makefile.am:
6880 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
6881 * tests/examples/metadata/.cvsignore:
6882 * tests/examples/metadata/Makefile.am:
6883 * tests/examples/metadata/read-metadata.c: (message_loop),
6884 (make_pipeline), (print_tag), (main):
6885 * tests/examples/queue/.cvsignore:
6886 * tests/examples/queue/Makefile.am:
6887 * tests/examples/queue/queue.c: (event_loop), (main):
6888 * tests/examples/typefind/.cvsignore:
6889 * tests/examples/typefind/Makefile.am:
6890 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
6892 * tests/examples/xml/.cvsignore:
6893 * tests/examples/xml/Makefile.am:
6894 * tests/examples/xml/createxml.c: (object_saved), (main):
6895 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
6896 * tests/old/examples/Makefile.am:
6897 * tests/old/examples/TODO:
6898 * tests/old/examples/controller/.cvsignore:
6899 * tests/old/examples/controller/Makefile.am:
6900 * tests/old/examples/controller/audio-example.c:
6901 * tests/old/examples/helloworld/.cvsignore:
6902 * tests/old/examples/helloworld/Makefile.am:
6903 * tests/old/examples/helloworld/helloworld.c:
6904 * tests/old/examples/launch/.cvsignore:
6905 * tests/old/examples/launch/Makefile.am:
6906 * tests/old/examples/launch/mp3parselaunch.c:
6907 * tests/old/examples/launch/mp3play:
6908 * tests/old/examples/manual/Makefile.am:
6909 * tests/old/examples/metadata/Makefile.am:
6910 * tests/old/examples/metadata/read-metadata.c:
6911 * tests/old/examples/queue/.cvsignore:
6912 * tests/old/examples/queue/Makefile.am:
6913 * tests/old/examples/queue/queue.c:
6914 * tests/old/examples/typefind/.cvsignore:
6915 * tests/old/examples/typefind/Makefile.am:
6916 * tests/old/examples/typefind/typefind.c:
6917 * tests/old/examples/xml/.cvsignore:
6918 * tests/old/examples/xml/Makefile.am:
6919 * tests/old/examples/xml/createxml.c:
6920 * tests/old/examples/xml/runxml.c:
6921 applied some simple fixing to some examples
6922 re-enabled the working examples
6924 2005-12-12 Wim Taymans <wim@fluendo.com>
6926 * gst/gstsegment.c: (gst_segment_init),
6927 (gst_segment_set_last_stop), (gst_segment_set_seek),
6928 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6929 (gst_segment_to_running_time):
6930 Added more documentation.
6931 Make sure the last_pos value is updated properly.
6932 Make sure to_stream_time and to_running_time don't
6933 operate on wrong values.
6935 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6938 2005-12-12 Michael Smith <msmith@fluendo.com>
6940 * plugins/elements/gsttypefindelement.c: (free_entry),
6941 (gst_type_find_element_chain):
6942 Now that we're not leaking factories, make sure we keep references
6943 to them while we need them.
6945 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
6947 * tests/check/gst/struct_i386.h:
6948 ifdef out the XML structs
6950 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
6952 * gst/gstvalue.c: (gst_value_transform_double_fraction):
6953 floor is not needed, F is always positive; this obviates the
6954 need for adding -lm when building without libxml
6956 2005-12-12 Wim Taymans <wim@fluendo.com>
6958 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6959 Take current playback rate into account when reporting
6962 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6964 * docs/manual/mime-world.fig:
6965 Let's try this again, this time with a file that is
6966 actually in XFig format.
6968 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6970 * docs/manual/mime-world.fig:
6971 Add audioconvert element to diagram so that it
6972 matches the text and the code (fixes #319526).
6974 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6976 * docs/pwg/building-chainfn.xml:
6977 * docs/pwg/building-pads.xml:
6978 * docs/pwg/building-state.xml:
6979 * docs/pwg/other-source.xml:
6980 Update state change stuff for 0.10 (fixes #322969).
6982 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6984 * docs/manual/advanced-dataaccess.xml:
6985 * docs/manual/appendix-checklist.xml:
6986 * docs/manual/appendix-programs.xml:
6987 * docs/manual/basics-pads.xml:
6988 * docs/manual/highlevel-components.xml:
6989 * docs/manual/manual.xml:
6990 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
6991 add converters in front of pipelines; remove curly
6992 brackets for threads stuff, they no longer exist; use
6993 GST_TYPE_FRACTION for framerates; update some pieces of
6994 code to 0.10, but there's plenty more to do.
6996 * docs/manual/appendix-porting.xml:
6997 Expand on asynchroneous state changes; s/0.9/0.10/;
6998 mention disappearance of gst_init_get_popt_table()
7001 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
7003 * docs/faq/using.xml:
7004 Spider no longer exists, and neither does gst-launch-ext.
7005 Update examples to use decodebin and playbin and put
7006 converters in front of sinks (fixes #323726).
7008 2005-12-09 Michael Smith <msmith@fluendo.com>
7010 * plugins/elements/gsttypefindelement.c: (find_peek),
7011 (gst_type_find_element_chain):
7012 Fix leaking element factories in typefinding.
7013 Fix problem where we forgot about a probable type on non-seekable
7014 files, and thus later mis-typefound it.
7016 2005-12-09 Michael Smith <msmith@fluendo.com>
7018 * common/m4/gst-makecontext.m4:
7019 * common/m4/gst-mcsc.m4:
7021 * win32/common/config.h:
7022 * win32/common/config.h.in:
7023 Remove makecontext stuff; not used in 0.10 and causes problems on
7024 HPUX according to bug #322441
7026 2005-12-07 Wim Taymans <wim@fluendo.com>
7028 * tests/check/Makefile.am:
7029 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
7031 * tests/check/libs/struct_i386.h:
7032 Added ABI check for libs
7034 2005-12-07 Wim Taymans <wim@fluendo.com>
7036 * tests/check/Makefile.am:
7037 And add the struct_i386.h to dist.
7039 2005-12-07 Wim Taymans <wim@fluendo.com>
7041 * tests/check/Makefile.am:
7042 * tests/check/gst/.cvsignore:
7043 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
7045 * tests/check/gst/struct_i386.h:
7046 Added check for ABI compatibility.
7048 2005-12-07 Wim Taymans <wim@fluendo.com>
7050 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7051 (gst_fake_src_get_times), (gst_fake_src_create):
7052 Fix broken sync option, fixes #323259
7054 2005-12-07 Wim Taymans <wim@fluendo.com>
7059 * gst/gstcaps.c: (gst_caps_is_equal):
7060 Don't assert on NULL <--> X. Fixes #323260
7062 * gst/gstminiobject.c: (gst_mini_object_replace):
7063 If we're doing atomic operations, we might just as well use
7064 the proper way to get an atomic pointer.
7066 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
7069 2005-12-07 Michael Smith <msmith@fluendo.com>
7071 * gst/parse/grammar.y:
7072 Remove handling of { } for threads.
7074 2005-12-06 David Schleef <ds@schleef.org>
7076 * libs/gst/base/gstbasetransform.c: speling fix.
7078 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
7080 * docs/libs/tmpl/gstdataprotocol.sgml:
7081 * docs/random/omega/testing/gstobject.c:
7085 * gst/gstelementfactory.c:
7088 * gst/gstghostpad.c:
7090 * gst/gstpadtemplate.c:
7091 * gst/gstregistryxml.c:
7093 * gst/gsttagsetter.c:
7094 * gst/gsttypefind.c:
7096 * libs/gst/base/gstbasesrc.c:
7097 * libs/gst/net/gstnetclientclock.c:
7098 * libs/gst/net/gstnettimeprovider.c:
7099 * plugins/elements/gstfakesrc.c:
7100 * plugins/elements/gstfdsrc.c:
7101 * plugins/elements/gstfilesrc.c:
7102 * plugins/elements/gstidentity.c:
7103 * plugins/elements/gstqueue.c:
7104 * plugins/elements/gsttypefindelement.c:
7105 * plugins/indexers/gstfileindex.c:
7106 * plugins/indexers/gstmemindex.c:
7107 * tests/check/gst/gsttag.c:
7108 * tests/old/examples/cutter/cutter.c:
7109 * tests/old/examples/mixer/mixer.c:
7110 * tests/old/examples/xml/runxml.c: (main):
7111 * tests/old/testsuite/caps/normalisation.c:
7112 * tests/old/testsuite/debug/global.c:
7113 * tests/old/testsuite/parse/parse1.c:
7114 * tools/gst-xmlinspect.c:
7115 * win32/common/dirent.c:
7118 === release 0.10.0 ===
7120 2005-12-05 <thomas (at) apestaart (dot) org>
7123 releasing 0.10.0, "Maroilles"
7125 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
7127 submitted by: Funda Wang <fundawang@linux.net.cn>
7131 added Chinese (Traditional) translation
7133 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
7135 * docs/gst/gstreamer-sections.txt:
7136 * docs/libs/tmpl/gstdataprotocol.sgml:
7137 * docs/random/thomasvs/TODO:
7142 2005-12-05 Andy Wingo <wingo@pobox.com>
7144 patch by: Wim Taymans <wim@fluendo.com>
7146 * libs/gst/base/gstbasetransform.c
7147 (gst_base_transform_prepare_output_buf)
7148 (gst_base_transform_buffer_alloc):
7149 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
7150 alloc_buffer_and_set_caps.
7152 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
7153 set_caps on the source pad.
7154 (gst_pad_alloc_buffer_and_set_caps): New function, does what
7155 alloc_buffer used to do. Fixes #322874.
7157 * docs/gst/gstreamer-sections.txt:
7158 * docs/design/part-negotiation.txt:
7159 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
7162 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
7164 patch by: Sebastien Moutte
7167 * win32/common/config.h.in:
7168 * win32/vs6/libgstcontroller.dsp:
7171 2005-12-05 Wim Taymans <wim@fluendo.com>
7173 * gst/gstcaps.c: (gst_caps_is_equal):
7174 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7175 (gst_fake_src_create):
7176 Back out previous code changes, leave doc updates, file bugs
7179 2005-12-05 Wim Taymans <wim@fluendo.com>
7181 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7182 (gst_fake_src_get_times), (gst_fake_src_create):
7183 * plugins/elements/gstfakesrc.h:
7184 Fix broken sync code.
7186 2005-12-05 Wim Taymans <wim@fluendo.com>
7188 * gst/gstcaps.c: (gst_caps_is_equal):
7189 Comparing NULL against !NULL yields different caps, not a
7192 2005-12-05 Wim Taymans <wim@fluendo.com>
7194 * gst/gstpipeline.c:
7195 Fix small typo in docs.
7197 2005-12-05 Andy Wingo <wingo@pobox.com>
7199 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
7201 * gst/gst.c (init_post): remove hard-coded 0.9 location for
7202 registries/plugins with a MAJORMINOR one.
7203 (plugin_desc): Rename library from gstcoreleements to
7204 staticelements. Fixes #323222.
7206 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
7208 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
7209 Change debug category to 'collectpads' from 'collect_pads'
7212 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
7214 patch by: Sebastien Moutte
7216 * libs/gst/controller/gstinterpolation.c:
7217 use convert function for uint64/double
7218 * win32/vs6/libgstcontroller.dsp:
7221 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
7223 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
7224 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
7226 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7227 add tests that seem to show that the guint64/gdouble conversions
7230 2005-12-02 Wim Taymans <wim@fluendo.com>
7232 * gst/gstregistry.c: (gst_registry_add_path):
7233 * gst/gstregistry.h:
7234 * gst/gstregistryxml.c:
7237 2005-12-02 Wim Taymans <wim@fluendo.com>
7239 * gst/gstutils.c: (gst_util_uint64_scale_int64),
7240 (gst_util_uint64_scale_int):
7243 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7246 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
7249 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
7252 * win32/common/config.h:
7253 * win32/vs6/gstreamer.dsw:
7254 * win32/vs6/libgstcoreelements.dsp:
7255 * win32/vs6/libgstelements.dsp:
7256 renamed core elements plugin
7258 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
7260 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
7262 do piece-wise major/minor comparison so 0.9 < 0.10
7263 also allow .exe extensions for tools
7265 2005-12-02 Michael Smith <msmith@fluendo.com>
7268 Escape a % to make gtkdoc happier; bug 322958.
7270 === release 0.9.7 ===
7272 2005-12-01 <thomas (at) apestaart (dot) org>
7275 releasing 0.9.7, "My Dog Has No Nose"
7277 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7279 * common/gst-xmlinspect.py:
7281 * docs/libs/tmpl/gstdataprotocol.sgml:
7282 * docs/random/release:
7301 * win32/common/config.h:
7302 * win32/common/config.h.in:
7303 * win32/vs6/gst_inspect.dsp:
7304 * win32/vs6/gst_launch.dsp:
7305 * win32/vs6/libgstbase.dsp:
7306 * win32/vs6/libgstelements.dsp:
7307 * win32/vs6/libgstreamer.dsp:
7308 * win32/vs7/GStreamer.vcproj:
7309 * win32/vs7/gst-inspect.vcproj:
7310 * win32/vs7/gst-launch.vcproj:
7311 * win32/vs7/libgstbase.vcproj:
7312 bump GST_MAJORMINOR to 0.10
7313 reset libtool version
7315 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7319 Added Bulgarian translation by (Alexander Shopov)
7321 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7323 * tests/check/gst/gstplugin.c:
7326 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7328 * common/gst-xmlinspect.py:
7329 * common/gtk-doc-plugins.mak:
7332 * docs/gst/Makefile.am:
7333 * docs/gst/gstreamer-docs.sgml:
7334 * docs/gst/gstreamer-sections.txt:
7335 * docs/gst/gstreamer.types:
7336 * docs/gst/gstreamer.types.in:
7337 * docs/plugins/Makefile.am:
7338 * docs/plugins/gstreamer-plugins-docs.sgml:
7339 * docs/plugins/gstreamer-plugins-sections.txt:
7340 * docs/plugins/gstreamer-plugins.types:
7341 * docs/plugins/inspect.stamp:
7342 * docs/plugins/inspect/plugin-coreelements.xml:
7343 * docs/plugins/inspect/plugin-coreindexers.xml:
7344 * docs/plugins/scanobj-build.stamp:
7345 * gstreamer.spec.in:
7346 * plugins/elements/Makefile.am:
7347 * plugins/elements/gstelements.c:
7348 * plugins/elements/gstfakesink.c:
7349 * plugins/elements/gstfakesrc.c:
7350 * plugins/elements/gstfilesink.c:
7351 * plugins/elements/gstfilesrc.c:
7352 * plugins/elements/gstqueue.c:
7353 * plugins/indexers/Makefile.am:
7354 * plugins/indexers/gstindexers.c:
7355 document core plugins in a separate document just like all the
7357 rename these plugins to something starting with core
7359 2005-12-01 Andy Wingo <wingo@pobox.com>
7361 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
7362 padding here before, but it missed the commit.
7364 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7366 * libs/gst/controller/gstinterpolation.c:
7367 whitespace prices have crashed, we should feel free to use some now
7368 use gst_guint64_to_gdouble
7370 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7372 * libs/gst/controller/gstcontroller.c:
7373 * libs/gst/controller/gsthelper.c:
7374 * libs/gst/controller/gstinterpolation.c:
7375 * libs/gst/controller/lib.c:
7376 wrap config.h include
7378 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7380 * docs/gst/gstreamer-sections.txt:
7383 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7385 * plugins/elements/gstelements.c:
7386 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
7387 (gst_fd_sink__class_init), (gst_fd_sink__init),
7388 (gst_fd_sink__chain), (gst_fd_sink__set_property),
7389 (gst_fd_sink__get_property):
7390 * plugins/elements/gstfdsink.h:
7391 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
7392 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
7393 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
7394 (gst_fd_src_unlock), (gst_fd_src_set_property),
7395 (gst_fd_src_get_property), (gst_fd_src_create),
7396 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
7397 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
7398 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
7399 (gst_fd_src_uri_handler_init):
7400 * plugins/elements/gstfdsrc.h:
7401 * plugins/elements/gstqueue.c: (gst_queue_get_type):
7404 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7406 * docs/gst/Makefile.am:
7407 * docs/gst/gstreamer.types.in:
7411 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7417 * gst/gstregistry.h:
7418 * tests/benchmarks/complexity.c:
7419 * tests/benchmarks/mass-elements.c:
7420 * tests/check/Makefile.am:
7421 * tools/Makefile.am:
7422 * tools/gst-inspect.c:
7423 * tools/gst-xmlinspect.c:
7424 various fixes to make
7425 --disable-nls --disable-registry --disable-loadsave
7426 --disable-parse --disable-gst-debug
7427 work and get the core .so down to 360444 bytes after stripping
7429 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7434 * docs/random/thomasvs/TODO:
7435 * tests/Makefile.am:
7439 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7441 * win32/GStreamer.vcproj:
7444 * win32/Makefile.inspect:
7445 * win32/Makefile.launch:
7446 * win32/Makefile.register:
7448 * win32/gst-inspect.vcproj:
7449 * win32/gst-launch.vcproj:
7450 * win32/gst-register.vcproj:
7451 * win32/gstelements.vcproj:
7452 * win32/gstgetbits.def:
7453 * win32/gstgetbits.vcproj:
7454 * win32/gstreamer-dbg.def:
7455 * win32/gstreamer.def:
7456 * win32/libgstbase.def:
7457 * win32/libgstbase.vcproj:
7458 * win32/link_oldruntime.c:
7463 move even more stuff, win32/ is nice and clean now
7465 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7467 * libs/gst/control/.cvsignore:
7472 * win32/gstbytestream.def:
7473 * win32/gstbytestream.vcproj:
7474 * win32/gstconfig.h:
7475 * win32/gstenumtypes.c:
7476 * win32/gstenumtypes.h:
7477 * win32/gstoptimalscheduler.vcproj:
7478 * win32/gstversion.h:
7480 * win32/testsuite/bins.vcproj:
7481 * win32/testsuite/bytestream.vcproj:
7482 * win32/testsuite/caps.vcproj:
7483 * win32/testsuite/cleanup.vcproj:
7484 * win32/testsuite/clock.vcproj:
7485 * win32/testsuite/debug.vcproj:
7486 * win32/testsuite/dlopen.vcproj:
7487 * win32/testsuite/dynparams.vcproj:
7488 * win32/testsuite/elements.vcproj:
7489 * win32/testsuite/ghostpads.vcproj:
7490 * win32/testsuite/indexers.vcproj:
7491 * win32/testsuite/negotiation.vcproj:
7492 * win32/testsuite/parse.vcproj:
7493 * win32/testsuite/plugin.vcproj:
7494 * win32/testsuite/refcounting.vcproj:
7495 * win32/testsuite/schedulers.vcproj:
7496 * win32/testsuite/states.vcproj:
7497 * win32/testsuite/tags.vcproj:
7498 * win32/testsuite/threads.vcproj:
7499 remove old win32 stuff that isn't maintained and should be
7502 2005-11-30 Andy Wingo <wingo@pobox.com>
7504 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
7505 loading the gst.interfaces python module bork.
7507 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
7508 available since GLib 2.2. Fixes #318031.
7510 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7514 * check/Makefile.am:
7515 * check/elements/.cvsignore:
7516 * check/elements/fakesrc.c:
7517 * check/elements/fdsrc.c:
7518 * check/elements/identity.c:
7519 * check/generic/.cvsignore:
7520 * check/generic/states.c:
7521 * check/gst-libs/.cvsignore:
7522 * check/gst-libs/controller.c:
7523 * check/gst-libs/gdp.c:
7524 * check/gst/.cvsignore:
7525 * check/gst/capslist.h:
7527 * check/gst/gstbin.c:
7528 * check/gst/gstbuffer.c:
7529 * check/gst/gstbus.c:
7530 * check/gst/gstcaps.c:
7531 * check/gst/gstelement.c:
7532 * check/gst/gstevent.c:
7533 * check/gst/gstghostpad.c:
7534 * check/gst/gstiterator.c:
7535 * check/gst/gstmessage.c:
7536 * check/gst/gstminiobject.c:
7537 * check/gst/gstobject.c:
7538 * check/gst/gstpad.c:
7539 * check/gst/gstpipeline.c:
7540 * check/gst/gstplugin.c:
7541 * check/gst/gstsegment.c:
7542 * check/gst/gststructure.c:
7543 * check/gst/gstsystemclock.c:
7544 * check/gst/gsttag.c:
7545 * check/gst/gstutils.c:
7546 * check/gst/gstvalue.c:
7547 * check/net/.cvsignore:
7548 * check/net/gstnetclientclock.c:
7549 * check/net/gstnettimeprovider.c:
7550 * check/pipelines/.cvsignore:
7551 * check/pipelines/cleanup.c:
7552 * check/pipelines/simple_launch_lines.c:
7553 * check/pipelines/stress.c:
7554 * check/states/.cvsignore:
7555 * check/states/sinks.c:
7557 * examples/Makefile.am:
7558 * examples/appreader/.cvsignore:
7559 * examples/appreader/Makefile.am:
7560 * examples/appreader/appreader.c:
7561 * examples/controller/.cvsignore:
7562 * examples/controller/Makefile.am:
7563 * examples/controller/audio-example.c:
7564 * examples/cutter/.cvsignore:
7565 * examples/cutter/Makefile.am:
7566 * examples/cutter/cutter.c:
7567 * examples/cutter/cutter.h:
7568 * examples/events/Makefile.am:
7569 * examples/events/seek.c:
7570 * examples/helloworld/.cvsignore:
7571 * examples/helloworld/Makefile.am:
7572 * examples/helloworld/helloworld.c:
7573 * examples/helloworld2/.cvsignore:
7574 * examples/helloworld2/Makefile.am:
7575 * examples/helloworld2/helloworld2.c:
7576 * examples/launch/.cvsignore:
7577 * examples/launch/Makefile.am:
7578 * examples/launch/mp3parselaunch.c:
7579 * examples/launch/mp3play:
7580 * examples/manual/.cvsignore:
7581 * examples/manual/Makefile.am:
7582 * examples/manual/extract.pl:
7583 * examples/metadata/Makefile.am:
7584 * examples/metadata/read-metadata.c:
7585 * examples/mixer/.cvsignore:
7586 * examples/mixer/Makefile.am:
7587 * examples/mixer/mixer.c:
7588 * examples/mixer/mixer.h:
7589 * examples/pingpong/.cvsignore:
7590 * examples/pingpong/Makefile.am:
7591 * examples/pingpong/pingpong.c:
7592 * examples/plugins/.cvsignore:
7593 * examples/plugins/Makefile.am:
7594 * examples/plugins/example.c:
7595 * examples/plugins/example.h:
7596 * examples/pwg/.cvsignore:
7597 * examples/pwg/Makefile.am:
7598 * examples/pwg/extract.pl:
7599 * examples/queue/.cvsignore:
7600 * examples/queue/Makefile.am:
7601 * examples/queue/queue.c:
7602 * examples/queue2/.cvsignore:
7603 * examples/queue2/Makefile.am:
7604 * examples/queue2/queue2.c:
7605 * examples/queue3/.cvsignore:
7606 * examples/queue3/Makefile.am:
7607 * examples/queue3/queue3.c:
7608 * examples/queue4/.cvsignore:
7609 * examples/queue4/Makefile.am:
7610 * examples/queue4/queue4.c:
7611 * examples/retag/.cvsignore:
7612 * examples/retag/Makefile.am:
7613 * examples/retag/retag.c:
7614 * examples/retag/transcode.c:
7615 * examples/thread/.cvsignore:
7616 * examples/thread/Makefile.am:
7617 * examples/thread/thread.c:
7618 * examples/typefind/.cvsignore:
7619 * examples/typefind/Makefile.am:
7620 * examples/typefind/typefind.c:
7621 * examples/xml/.cvsignore:
7622 * examples/xml/Makefile.am:
7623 * examples/xml/createxml.c:
7624 * examples/xml/runxml.c:
7625 * tests/Makefile.am:
7626 * tests/check/Makefile.am:
7627 * testsuite/.cvsignore:
7628 * testsuite/Makefile.am:
7630 * testsuite/caps/.cvsignore:
7631 * testsuite/caps/Makefile.am:
7632 * testsuite/caps/app_fixate.c:
7633 * testsuite/caps/audioscale.c:
7634 * testsuite/caps/caps.c:
7635 * testsuite/caps/caps.h:
7636 * testsuite/caps/caps_strings:
7637 * testsuite/caps/compatibility.c:
7638 * testsuite/caps/deserialize.c:
7639 * testsuite/caps/enumcaps.c:
7640 * testsuite/caps/eratosthenes.c:
7641 * testsuite/caps/filtercaps.c:
7642 * testsuite/caps/fixed.c:
7643 * testsuite/caps/fraction-convert.c:
7644 * testsuite/caps/fraction-multiply-and-zero.c:
7645 * testsuite/caps/intersect2.c:
7646 * testsuite/caps/intersection.c:
7647 * testsuite/caps/normalisation.c:
7648 * testsuite/caps/random.c:
7649 * testsuite/caps/renegotiate.c:
7650 * testsuite/caps/sets.c:
7651 * testsuite/caps/simplify.c:
7652 * testsuite/caps/string-conversions.c:
7653 * testsuite/caps/structure.c:
7654 * testsuite/caps/subtract.c:
7655 * testsuite/caps/union.c:
7656 * testsuite/debug/.cvsignore:
7657 * testsuite/debug/Makefile.am:
7658 * testsuite/debug/category.c:
7659 * testsuite/debug/commandline.c:
7660 * testsuite/debug/global.c:
7661 * testsuite/debug/output.c:
7662 * testsuite/debug/printf_extension.c:
7663 * testsuite/dlopen/.cvsignore:
7664 * testsuite/dlopen/Makefile.am:
7665 * testsuite/dlopen/dlopen_gst.c:
7666 * testsuite/dlopen/loadgst.c:
7667 * testsuite/elements/.cvsignore:
7668 * testsuite/elements/Makefile.am:
7669 * testsuite/elements/gst-inspect-check.in:
7670 * testsuite/elements/struct_i386.h:
7671 * testsuite/elements/struct_size.c:
7672 * testsuite/indexers/.cvsignore:
7673 * testsuite/indexers/Makefile.am:
7674 * testsuite/indexers/cache1.c:
7675 * testsuite/indexers/indexdump.c:
7676 * testsuite/parse/.cvsignore:
7677 * testsuite/parse/Makefile.am:
7678 * testsuite/parse/parse1.c:
7679 * testsuite/parse/parse2.c:
7680 * testsuite/plugin/.cvsignore:
7681 * testsuite/plugin/Makefile.am:
7682 * testsuite/plugin/README:
7683 * testsuite/plugin/dynamic.c:
7684 * testsuite/plugin/linked.c:
7685 * testsuite/plugin/loading.c:
7686 * testsuite/plugin/registry.c:
7687 * testsuite/plugin/static.c:
7688 * testsuite/plugin/static2.c:
7689 * testsuite/plugin/testplugin.c:
7690 * testsuite/plugin/testplugin2.c:
7691 * testsuite/plugin/testplugin2_s.c:
7692 * testsuite/plugin/testplugin_s.c:
7693 * testsuite/refcounting/.cvsignore:
7694 * testsuite/refcounting/Makefile.am:
7695 * testsuite/refcounting/bin.c:
7696 * testsuite/refcounting/element.c:
7697 * testsuite/refcounting/element_pad.c:
7698 * testsuite/refcounting/mainloop.c:
7699 * testsuite/refcounting/mem.c:
7700 * testsuite/refcounting/mem.h:
7701 * testsuite/refcounting/object.c:
7702 * testsuite/refcounting/pad.c:
7703 * testsuite/refcounting/sched.c:
7704 * testsuite/refcounting/thread.c:
7705 * testsuite/states/.cvsignore:
7706 * testsuite/states/Makefile.am:
7707 * testsuite/states/bin.c:
7708 * testsuite/states/locked.c:
7709 * testsuite/states/parent.c:
7710 * testsuite/threads/.cvsignore:
7711 * testsuite/threads/159566.c:
7712 * testsuite/threads/159852.c:
7713 * testsuite/threads/Makefile.am:
7714 * testsuite/threads/queue.c:
7715 * testsuite/threads/signals.c:
7716 * testsuite/threads/staticrec.c:
7717 * testsuite/threads/thread.c:
7718 * testsuite/threads/threadb.c:
7719 * testsuite/threads/threadc.c:
7720 * testsuite/threads/threadd.c:
7721 * testsuite/threads/threade.c:
7722 * testsuite/threads/threadf.c:
7723 * testsuite/threads/threadg.c:
7724 * testsuite/threads/threadh.c:
7725 * testsuite/threads/threadi.c:
7726 move all of these under tests
7728 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7731 * tests/Makefile.am:
7734 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7736 * docs/gst/gstreamer-sections.txt:
7737 * tests/sched/.cvsignore:
7738 * tests/sched/Makefile.am:
7739 * tests/sched/cases/(fs-fs).xml:
7740 * tests/sched/cases/(fs-i-fs).xml:
7741 * tests/sched/cases/(fs-i-i-fs).xml:
7742 * tests/sched/cases/(fs-i-q[i-fs]).xml:
7743 * tests/sched/dynamic-pipeline.c:
7744 * tests/sched/interrupt1.c:
7745 * tests/sched/interrupt2.c:
7746 * tests/sched/interrupt3.c:
7747 * tests/sched/runtestcases:
7748 * tests/sched/runxml.c:
7749 * tests/sched/sched-stress.c:
7750 * tests/sched/sort.c:
7751 * tests/sched/testcases:
7752 * tests/sched/testcases1.tc:
7753 * tests/seeking/.cvsignore:
7754 * tests/seeking/Makefile.am:
7755 * tests/seeking/seeking1.c:
7756 * tests/threadstate/.cvsignore:
7757 * tests/threadstate/Makefile.am:
7758 * tests/threadstate/test1.c:
7759 * tests/threadstate/test2.c:
7760 * tests/threadstate/threadstate1.c:
7761 * tests/threadstate/threadstate2.c:
7762 * tests/threadstate/threadstate3.c:
7763 * tests/threadstate/threadstate4.c:
7764 * tests/threadstate/threadstate5.c:
7765 remove obsolete tests
7767 * tests/bench-complexity.scm:
7768 * tests/bench-mass_elements.scm:
7769 * tests/complexity.c:
7770 * tests/complexity.gnuplot:
7771 * tests/instantiate/.cvsignore:
7772 * tests/instantiate/Makefile.am:
7773 * tests/instantiate/caps.c:
7774 * tests/mass_elements.c:
7775 * tests/network-clock-utils.scm:
7776 * tests/network-clock.scm:
7778 First pass at cleaning up tests/ dir before moving the rest
7779 Combined with CVS surgery
7781 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7784 queue has moved, update
7786 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7788 * docs/gst/gstreamer-sections.txt:
7789 remove double entries from the docs
7790 * gst/gst_private.h:
7791 * gst/gstinfo.c: (_gst_debug_init):
7792 remove the THREAD debug category
7796 * docs/gst/gstreamer.types:
7797 * plugins/elements/gstqueue.c: (gst_queue_get_type),
7798 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7799 completely move queue and fix up debugging categories
7801 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7803 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7804 make initialization portable, using LL is not
7806 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7808 * win32/common/gstconfig.h:
7811 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7813 * win32/common/libgstreamer.def:
7814 rename symbols; sort base section
7816 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7818 * gst/gstclock.c: (do_linear_regression):
7819 remove crack non-portable handrolled DEBUG macro
7821 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7823 * docs/random/release:
7825 * win32/common/gstenumtypes.c: (register_gst_object_flags),
7826 (gst_object_flags_get_type), (register_gst_bin_flags),
7827 (gst_bin_flags_get_type), (register_gst_buffer_flag),
7828 (gst_buffer_flag_get_type), (register_gst_bus_flags),
7829 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7830 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7831 (gst_caps_flags_get_type), (register_gst_clock_return),
7832 (gst_clock_return_get_type), (register_gst_clock_entry_type),
7833 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7834 (gst_clock_flags_get_type), (register_gst_state),
7835 (gst_state_get_type), (register_gst_state_change_return),
7836 (gst_state_change_return_get_type), (register_gst_state_change),
7837 (gst_state_change_get_type), (register_gst_element_flags),
7838 (gst_element_flags_get_type), (register_gst_core_error),
7839 (gst_core_error_get_type), (register_gst_library_error),
7840 (gst_library_error_get_type), (register_gst_resource_error),
7841 (gst_resource_error_get_type), (register_gst_stream_error),
7842 (gst_stream_error_get_type), (register_gst_event_type_flags),
7843 (gst_event_type_flags_get_type), (register_gst_event_type),
7844 (gst_event_type_get_type), (register_gst_seek_type),
7845 (gst_seek_type_get_type), (register_gst_seek_flags),
7846 (gst_seek_flags_get_type), (register_gst_format),
7847 (gst_format_get_type), (register_gst_index_certainty),
7848 (gst_index_certainty_get_type), (register_gst_index_entry_type),
7849 (gst_index_entry_type_get_type),
7850 (register_gst_index_lookup_method),
7851 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7852 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7853 (gst_index_resolver_method_get_type), (register_gst_index_flags),
7854 (gst_index_flags_get_type), (register_gst_debug_level),
7855 (gst_debug_level_get_type), (register_gst_debug_color_flags),
7856 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7857 (gst_iterator_result_get_type), (register_gst_iterator_item),
7858 (gst_iterator_item_get_type), (register_gst_message_type),
7859 (gst_message_type_get_type), (register_gst_mini_object_flags),
7860 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7861 (gst_pad_link_return_get_type), (register_gst_flow_return),
7862 (gst_flow_return_get_type), (register_gst_activate_mode),
7863 (gst_activate_mode_get_type), (register_gst_pad_direction),
7864 (gst_pad_direction_get_type), (register_gst_pad_flags),
7865 (gst_pad_flags_get_type), (register_gst_pad_presence),
7866 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7867 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7868 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7869 (gst_plugin_error_get_type), (register_gst_plugin_flags),
7870 (gst_plugin_flags_get_type), (register_gst_rank),
7871 (gst_rank_get_type), (register_gst_query_type),
7872 (gst_query_type_get_type), (register_gst_tag_merge_mode),
7873 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7874 (gst_tag_flag_get_type), (register_gst_task_state),
7875 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7876 (gst_alloc_trace_flags_get_type),
7877 (register_gst_type_find_probability),
7878 (gst_type_find_probability_get_type), (register_gst_uri_type),
7879 (gst_uri_type_get_type), (register_gst_parse_error),
7880 (gst_parse_error_get_type):
7881 * win32/common/gstenumtypes.h:
7882 * win32/common/gstversion.h:
7883 update visual studio generated files
7885 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7887 * win32/vs6/libgstbase.dsp:
7888 * win32/vs6/libgstelements.dsp:
7889 update project files for new locations
7891 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7896 reinstate and update
7901 * docs/random/LICENSE:
7904 2005-11-30 Edward Hervey <edward@fluendo.com>
7906 * gst/gsttypefind.c: (gst_type_find_register):
7907 * gst/gsttypefind.h:
7908 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
7909 (gst_type_find_factory_dispose):
7910 * gst/gsttypefindfactory.h:
7911 Fix memory leak in GstTypeFindFactory.
7913 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7916 * plugins/elements/Makefile.am:
7917 * plugins/elements/gstelements.c:
7918 * plugins/elements/gstqueue.c:
7919 move queue from core to the elements plugin
7921 2005-11-29 Andy Wingo <wingo@pobox.com>
7923 * libs/gst/base/gstbasetransform.h:
7924 * libs/gst/base/gstbasesrc.h:
7925 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
7927 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
7928 of pointers by which to pad very extensible base classes (like the
7929 ones in libs/gst/base).
7931 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7933 * docs/gst/gstreamer-docs.sgml:
7934 * docs/gst/gstreamer-sections.txt:
7935 * docs/libs/gstreamer-libs-docs.sgml:
7936 * docs/libs/gstreamer-libs-sections.txt:
7937 moving documentation from core to lib
7939 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7941 * check/Makefile.am:
7943 * docs/gst/Makefile.am:
7945 * gst/base/.cvsignore:
7946 * gst/base/Makefile.am:
7948 * gst/base/gstadapter.c:
7949 * gst/base/gstadapter.h:
7950 * gst/base/gstbasesink.c:
7951 * gst/base/gstbasesink.h:
7952 * gst/base/gstbasesrc.c:
7953 * gst/base/gstbasesrc.h:
7954 * gst/base/gstbasetransform.c:
7955 * gst/base/gstbasetransform.h:
7956 * gst/base/gstcollectpads.c:
7957 * gst/base/gstcollectpads.h:
7958 * gst/base/gstpushsrc.c:
7959 * gst/base/gstpushsrc.h:
7960 * gst/base/gsttypefindhelper.c:
7961 * gst/base/gsttypefindhelper.h:
7962 * gst/check/Makefile.am:
7963 * gst/check/gstcheck.c:
7964 * gst/check/gstcheck.h:
7965 * gst/net/Makefile.am:
7967 * gst/net/gstnetclientclock.c:
7968 * gst/net/gstnetclientclock.h:
7969 * gst/net/gstnettimepacket.c:
7970 * gst/net/gstnettimepacket.h:
7971 * gst/net/gstnettimeprovider.c:
7972 * gst/net/gstnettimeprovider.h:
7973 * libs/gst/Makefile.am:
7974 * libs/gst/base/Makefile.am:
7975 * libs/gst/base/gstbasetransform.c:
7976 * libs/gst/check/Makefile.am:
7977 * plugins/elements/Makefile.am:
7979 CVS surgery + support to move base, check, and net out of gst
7982 2005-11-29 Andy Wingo <wingo@pobox.com>
7984 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
7986 * gst/gststructure.h (struct _GstStructure): Only one pointer of
7989 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
7991 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
7993 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
7995 * gst/gstobject.h: (struct _GstObject): Only one pointer of
7996 padding; reduces object size by about 30%. We don't expect
7997 anything else to go into gstobject.
7999 * gst/gstminiobject.h (struct _GstMiniObject)
8000 (struct _GstMiniObjectClass): Only one pointer of padding; the
8001 payload is only a pointer and two ints anyway. For the class there
8002 are only two methods as well.
8004 * gst/gstelement.h (struct _GstElementClass): Removed
8005 the state_changed signal callback, it is not used.
8007 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
8009 * docs/gst/gstreamer.types:
8010 fix includes, though they are a little dinky
8012 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8014 * check/Makefile.am:
8015 look in the right place for elements, a lot more chance of
8018 remove indexers and elements subdirs
8019 * plugins/Makefile.am:
8020 make indexers conditional
8022 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
8026 * plugins/elements/Makefile.am:
8027 * plugins/elements/gstcapsfilter.c:
8028 * plugins/elements/gstfilesink.c:
8029 * plugins/elements/gstfilesrc.c:
8030 * plugins/elements/gstidentity.c:
8031 * plugins/indexers/Makefile.am:
8032 do CVS surgery and related build fixery to move elements
8033 and indexers in a new gstreamer/plugins directory, out of the
8036 2005-11-29 Andy Wingo <wingo@pobox.com>
8038 * check/Makefile.am:
8039 * pkgconfig/gstreamer-net-uninstalled.pc.in:
8040 * pkgconfig/gstreamer-net.pc.in:
8041 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
8044 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
8046 * tools/Makefile.am:
8047 * tools/gst-complete.1.in:
8048 * tools/gst-complete.c:
8049 * tools/gst-compprep.1.in:
8050 * tools/gst-compprep.c:
8051 removing -compprep and -complete
8053 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
8055 * gst/gstevent.c: (gst_event_new_new_segment),
8056 (gst_event_parse_new_segment):
8058 fix #320529 - clean up new_segment API and structure.
8059 Let's hope everyone was using the methods, and not the structure.
8061 2005-11-29 Edward Hervey <edward@fluendo.com>
8063 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8064 (gst_base_sink_event), (gst_base_sink_do_sync),
8065 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
8066 Properly handle non GST_FORMAT_TIME segment
8067 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8068 Properly handle non GST_FORMAT_TIME segment
8070 This function is valid if the accumulator is 0 and the format
8071 is different from the requested format.
8073 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
8075 * docs/gst/gstreamer-sections.txt:
8076 Add gst_query_new_seeking and gst_query_parse_seeking to the
8079 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
8081 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8082 Treat a pad alloc with new caps the same as if we were not
8083 negotiated, in order to allow a changing upstream output
8084 to produce a new format of data.
8086 2005-11-29 Edward Hervey <edward@fluendo.com>
8088 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
8089 (gst_base_transform_event), (gst_base_transform_eventfunc):
8090 The event virtual method is now properly implemented, with a default
8092 Sub classes should call the parent_class event method. They should
8093 return FALSE if they had a problem handling the given event, or don't
8094 want GstBaseTransform to send that even downstream
8095 * gst/elements/gstidentity.c: (gst_identity_class_init),
8096 (gst_identity_init), (gst_identity_event),
8097 (gst_identity_transform_ip), (gst_identity_set_property),
8098 (gst_identity_get_property):
8099 * gst/elements/gstidentity.h:
8100 Added the single-segment boolean property.
8101 If set to TRUE, it will output a single segment of data, starting from
8102 0, will eat up all incoming newsegment, and modify the timestamp of the
8105 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
8107 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
8108 Don't ref NULL target pad (#322751). Improve docs.
8110 2005-11-29 Michael Smith <msmith@fluendo.com>
8112 * gst/gstregistryxml.c: (load_plugin):
8113 Don't crash if we failed to load a feature from a plugin.
8115 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8117 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
8119 use more check API and less GLib API
8121 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8124 don't run checks if we don't have check
8126 remove the registry when running make torture
8127 * docs/gst/gstreamer-sections.txt:
8128 remove second multiply
8129 * gst/gstqueue.c: (gst_queue_loop):
8130 fix a compile warning when disabling debug
8132 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
8135 Hey! Let's print the pad name if the pointer != NULL instead
8136 of when it == NULL :-)
8138 2005-11-28 Wim Taymans <wim@fluendo.com>
8140 * check/gst/gstutils.c: (GST_START_TEST):
8141 Updated check, add some scaling accuracy checking code.
8143 * gst/gstutils.c: (gst_util_div128_64),
8144 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
8145 (gst_util_uint64_scale_int):
8146 Fix 6 times faster division code. Optimize for common
8147 1/1 and less common X/1 cases.
8149 2005-11-28 Wim Taymans <wim@fluendo.com>
8151 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8154 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
8155 (do_linear_regression), (gst_clock_add_observation):
8157 Release lock when the clock cannot be slaved.
8158 Catch the case where the regression returned an invalid denominator.
8160 * gst/gstutils.c: (gst_util_div128_64_iterate),
8161 (gst_util_div128_64), (gst_util_uint64_scale_int64),
8162 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
8163 Add protentially more performant non-iterative 128/64 divide function
8164 that unfortunatly does not work yet.
8165 Shortcut the trivial 0/X = 0 case.
8166 Remove the warnings on overflow.
8168 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8170 * gst/gstplugin.c: (gst_plugin_register_func):
8171 everything causing a plugin not to load should be at least a WARNING
8173 2005-11-28 Stefan Kost <ensonic@users.sf.net>
8175 * docs/random/ensonic/dparams.txt:
8176 some TODOs for the next dev cycle
8177 * libs/gst/controller/gstcontroller.c:
8178 (gst_controlled_property_set_interpolation_mode),
8179 (gst_controlled_property_new):
8180 * libs/gst/controller/gstcontroller.h:
8181 use base type to assign acccessor functions
8183 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
8185 * check/Makefile.am:
8186 Oops, that should have been top_srcdir
8188 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
8190 * check/Makefile.am:
8191 * check/elements/fdsrc.c: (GST_START_TEST):
8192 Use a cmdline define to specify the location of a file to use for
8193 testing, to avoid breaking distcheck.
8195 2005-11-28 Andy Wingo <wingo@pobox.com>
8197 * gst/gstpad.c (fixate_value): Use array functions for arrays.
8199 2005-11-28 Edward Hervey <edward@fluendo.com>
8201 * tools/gst-launch.c: (main):
8202 Clarify the output strings, makes it easier to translate.
8205 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8208 don't try and build net if we don't even have <sys/socket.h>
8210 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
8212 * check/Makefile.am:
8213 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
8214 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
8215 Add tests for fdsrc seekability
8217 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
8218 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
8219 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
8220 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
8221 * gst/elements/gstfdsrc.h:
8222 fdsrc should not be a 'live' source.
8223 Implement seeking on seekable fd's.
8225 * gst/gstquery.c: (gst_query_new_seeking),
8226 (gst_query_parse_seeking):
8228 Implement SEEKING query functions:
8229 *_new_seeking and *_parse_seeking
8231 2005-11-27 Stefan Kost <ensonic@users.sf.net>
8233 * gst/gstelement.c: (gst_element_dispose):
8236 * gst/gstiterator.c:
8237 * gst/gststructure.c:
8240 * libs/gst/controller/gstcontroller.c:
8241 (gst_controlled_property_set_interpolation_mode):
8242 * libs/gst/controller/gstcontroller.h:
8243 * libs/gst/controller/gstinterpolation.c:
8244 (interpolate_none_get_enum_value_array):
8245 support controlling enums
8247 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
8250 Improve documentation for gst_value_union().
8253 Change return value for union, intersect and subtract functions
8254 from gint to gboolean.
8256 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
8258 * gst/gstvalue.c: (gst_value_serialize_any_list),
8259 (gst_value_transform_any_list_string),
8260 (gst_value_deserialize_list), (gst_value_deserialize_array),
8261 (gst_value_set_int_range), (gst_value_deserialize_int_range),
8262 (gst_value_set_double_range), (gst_value_deserialize_double_range),
8263 (gst_value_set_fraction_range_full),
8264 (gst_value_deserialize_fraction_range),
8265 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
8266 (gst_value_deserialize_boolean),
8267 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
8268 (gst_value_serialize_float), (gst_value_deserialize_float),
8269 (gst_string_wrap), (gst_value_deserialize_string),
8270 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
8271 (gst_value_union_int_range_int_range),
8272 (gst_value_intersect_int_range_int_range),
8273 (gst_value_intersect_double_range_double_range),
8274 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
8275 (gst_value_subtract_int_range_int_range),
8276 (gst_value_subtract_double_double_range),
8277 (gst_value_subtract_double_range_double_range),
8278 (gst_value_deserialize_fraction):
8280 Use gint, gdouble and gchar in our API instead of int, double and
8281 char (and make usage in gstvalue.c more consistent).
8283 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
8285 * check/Makefile.am:
8286 * libs/gst/controller/Makefile.am:
8287 * libs/gst/dataprotocol/Makefile.am:
8288 fix up Makefile.am and remove GST_ENABLE_NEW
8290 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
8294 * gst/base/Makefile.am:
8295 * gst/check/Makefile.am:
8296 * gst/elements/Makefile.am:
8297 * gst/net/Makefile.am:
8298 update LDFLAGS use some more
8300 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
8302 * common/m4/gst-doc.m4:
8305 2005-11-26 Edward Hervey <edward@fluendo.com>
8307 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8308 This shouldn't issue a g_warning since it returns NULL if it
8309 couldn't find the plugin, and all functions using this behave
8310 properly on a NULL return. Switching to a GST_WARNING.
8312 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
8314 * gst/gstbin.c: (gst_bin_handle_message_func):
8315 Don't leak clock messages.
8317 2005-11-25 Wim Taymans <wim@fluendo.com>
8319 * gst/gstutils.c: (gst_util_uint64_scale_int64),
8320 (gst_util_uint64_scale_int):
8321 Optimisations, remove unneeded vars.
8323 2005-11-25 Wim Taymans <wim@fluendo.com>
8325 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8326 Added more checks for the high precision uint64 cases.
8328 * gst/gstutils.c: (gst_util_uint64_scale_int64),
8329 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
8330 Implement high precision (guint64 * guint64) / guint64.
8332 2005-11-24 Wim Taymans <wim@fluendo.com>
8334 * gst/base/gstbasesrc.c: (gst_base_src_query):
8335 Fix wrong percentage query.
8337 * gst/gstutils.c: (gst_util_uint64_scale),
8338 (gst_util_uint64_scale_int):
8339 Add some more common cases that can be handled
8340 efficiently to _scale.
8342 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
8344 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
8345 (gst_mini_object_suite):
8346 don't use check calls from threads; check probably isn't
8347 threadsafe and using a lock to make it threadsafe would
8348 defeat the purpose of this check
8349 * gst/check/gstcheck.c:
8350 * gst/check/gstcheck.h:
8351 use GST_DEBUG some more
8353 2005-11-24 Wim Taymans <wim@fluendo.com>
8355 * gst/gstutils.c: (gst_util_uint64_scale),
8356 (gst_util_uint64_scale_int):
8357 Chain trivial case to _scale_int.
8359 2005-11-24 Wim Taymans <wim@fluendo.com>
8361 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8362 Added test for scaling.
8367 * gst/gstutils.c: (gst_util_uint64_scale_int):
8368 Implemented high precision scaling code.
8370 2005-11-24 Stefan Kost <ensonic@users.sf.net>
8373 do not crash on pad==NULL
8375 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
8377 Patch by: Stefan Kost
8379 * common/gtk-doc.mak:
8380 * docs/gst/Makefile.am:
8381 * docs/libs/Makefile.am:
8382 Fix distcheck issues for the libraries docs build
8385 2005-11-24 Michael Smith <msmith@fluendo.com>
8387 * docs/manual/basics-helloworld.xml:
8388 Fix bug #315027: memory leak in example code in docs.
8390 2005-11-24 Michael Smith <msmith@fluendo.com>
8392 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8393 Unlock the PREROLL_LOCK in a failure case.
8395 2005-11-24 Wim Taymans <wim@fluendo.com>
8397 * docs/gst/gstreamer-sections.txt:
8398 * gst/base/gstadapter.h:
8399 * gst/base/gstbasesink.h:
8400 * gst/base/gstbasesrc.h:
8401 * gst/base/gstbasetransform.h:
8402 * gst/base/gstpushsrc.h:
8403 * gst/elements/gstfakesink.h:
8404 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
8405 * gst/elements/gstfakesrc.h:
8406 * gst/elements/gstfilesink.h:
8407 * gst/elements/gstfilesrc.h:
8410 * gst/gstbuffer.c: (_gst_buffer_copy):
8413 * gst/gstchildproxy.c:
8416 * gst/gstelementfactory.c:
8417 * gst/gstelementfactory.h:
8419 * gst/gstghostpad.h:
8421 * gst/gstinterface.h:
8422 * gst/gstminiobject.c:
8423 * gst/gstminiobject.h:
8426 * gst/gstpadtemplate.h:
8427 * gst/gstpipeline.h:
8428 * gst/gstpluginfeature.h:
8433 * gst/gsttagsetter.c:
8434 * gst/gsttagsetter.h:
8437 * gst/gsttypefind.h:
8440 * gst/net/gstnetclientclock.c:
8441 * gst/net/gstnetclientclock.h:
8442 * gst/net/gstnettimepacket.c:
8443 * gst/net/gstnettimeprovider.c:
8444 * gst/net/gstnettimeprovider.h:
8447 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8449 * configure.ac: back to HEAD
8451 === release 0.9.6 ===
8453 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8456 releasing 0.9.6, "Always On Time"
8458 2005-11-23 Wim Taymans <wim@fluendo.com>
8460 * docs/gst/gstreamer-sections.txt:
8461 * gst/glib-compat.c:
8462 * gst/gsttagsetter.c:
8464 * gst/net/gstnetclientclock.c:
8465 * gst/net/gstnettimepacket.h:
8468 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8470 * docs/faq/using.xml:
8471 * docs/libs/tmpl/gstcontrol.sgml:
8472 * docs/manual/advanced-dparams.xml:
8473 * docs/manual/appendix-checklist.xml:
8474 * docs/manual/basics-elements.xml:
8475 * docs/pwg/other-source.xml:
8476 * docs/random/moving-plugins:
8478 * tools/gst-launch.1.in:
8479 remove mentions of sinesrc
8481 2005-11-23 Michael Smith <msmith@fluendo.com>
8483 * docs/gst/gstreamer-sections.txt:
8484 Update for new API and API changes.
8486 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
8488 Documentation typo fix.
8489 * gst/net/gstnettimepacket.c:
8490 Documentation fixes for arguments.
8492 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
8494 * gst/gststructure.c: (gst_structure_get_fraction),
8495 (gst_structure_parse_value),
8496 (gst_structure_fixate_field_nearest_fraction):
8497 * gst/gststructure.h:
8498 * gst/gstutils.c: (gst_util_uint64_scale_int):
8500 * scripts/update-funcnames:
8502 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
8503 Make gst_structure_fixate_field_nearest_fraction take a numerator
8504 and denominator argument instead of a GValue
8505 add gst_structure_get_fraction helper function.
8507 2005-11-23 Wim Taymans <wim@fluendo.com>
8509 * docs/design/part-TODO.txt:
8512 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8513 * gst/net/gstnetclientclock.h:
8514 Use parent fields for timeout and window_size.
8516 2005-11-23 Andy Wingo <wingo@pobox.com>
8518 * check/net/gstnetclientclock.c (test_functioning): Adjust to
8519 rate_num/rate_denom change.
8521 * gst/net/gstnetclientclock.c
8522 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
8523 OBJECT_LOCK. Don't call add_observation with the lock.
8525 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
8527 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
8529 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
8530 deal with rate as a fraction whose numerator and denominator are
8531 GstClockTime values.
8532 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
8533 master; the other fields are protected by the SLAVE_LOCK.
8534 (do_linear_regression): Note that this must be called with the
8536 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
8537 OBJECT_LOCK. Call set_calibration instead of touching the
8539 (gst_clock_set_property, gst_clock_get_property): Protect
8540 master/slave parameters with the SLAVE_LOCK.
8542 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
8543 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
8544 note that all of the instance variables that add_observation and
8545 the set_master functions use are protected by that lock and not
8547 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
8549 * gst/gstclock.c (gst_clock_add_observation): No longer requires
8550 the caller to take the object lock.
8552 2005-11-23 Wim Taymans <wim@fluendo.com>
8554 * gst/gsterror.c: (_gst_core_errors_init):
8556 Add error for clock stuff.
8558 * gst/gstpipeline.c: (gst_pipeline_change_state),
8559 (gst_pipeline_set_clock):
8560 Post clock error when clock cannot be used in a pipeline.
8562 2005-11-23 Stefan Kost <ensonic@users.sf.net>
8564 * docs/gst/gstreamer-sections.txt:
8565 make two symbols from gstinfo private for the docs
8566 * gst/base/gstcollectpads.h:
8568 fix doc typos, update docs
8570 2005-11-22 Wim Taymans <wim@fluendo.com>
8572 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
8573 (gst_base_sink_wait), (gst_base_sink_do_sync),
8574 (gst_base_sink_handle_event):
8575 * gst/base/gstbasesink.h:
8576 No need to store the clock, the parent element class already
8579 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
8580 Updates for clock_set returning a gboolean
8582 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
8583 (gst_clock_id_wait_async), (gst_clock_class_init),
8584 (gst_clock_init), (gst_clock_finalize),
8585 (gst_clock_get_internal_time), (gst_clock_get_time),
8586 (gst_clock_slave_callback), (gst_clock_set_master),
8587 (gst_clock_get_master), (do_linear_regression),
8588 (gst_clock_add_observation), (gst_clock_set_property),
8589 (gst_clock_get_property):
8591 Implement master/slave. When setting a clock as a slave, a
8592 periodic timeout is scheduled to sample master and slave times.
8593 Then the slave clock is recalibrated to match offset and rate
8594 of the master clock.
8595 Update logging a bit.
8596 Add flag so that a clock can state that is cannot be slaved to
8599 * gst/gstelement.c: (gst_element_set_clock):
8601 The set clock returns a gboolean for when an element cannot
8602 deal with the selected clock in the pipeline.
8604 * gst/gstpipeline.c: (gst_pipeline_change_state),
8605 (gst_pipeline_set_clock):
8606 * gst/gstpipeline.h:
8607 Handle the case where the selected clock cannot be set on
8610 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
8611 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8612 (gst_net_client_clock_set_property),
8613 (gst_net_client_clock_get_property),
8614 (gst_net_client_clock_observe_times):
8615 * gst/net/gstnetclientclock.h:
8616 Use regression code in GstClock parent, remove duplicated
8619 2005-11-22 Michael Smith <msmith@fluendo.com>
8621 * gst/gstutils.c: (gst_util_clock_time_scale):
8623 * docs/gst/gstreamer-sections.txt:
8624 Rename method to have extra underscore.
8626 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
8628 * gst/elements/Makefile.am:
8629 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
8630 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8631 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8632 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
8633 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
8634 * gst/elements/gstfakesrc.h:
8635 * gst/gstqueue.c: (queue_leaky_get_type):
8636 correctly fix GEnumValues so that nick is the short lowercase
8638 * tools/gst-inspect.c: (print_element_properties_info):
8639 also show the nick, since it's useful to use from parse_launch
8643 2005-11-22 Michael Smith <msmith@fluendo.com>
8645 * gst/gstutils.c: (gst_util_clocktime_scale):
8647 * docs/gst/gstreamer-sections.txt:
8648 Add util method for scaling a clocktime by a fraction. Useful
8649 implementation is left as an exercise for the reader.
8651 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8653 * gst/gstvalue.c: (gst_value_collect_fraction_range):
8654 If needed, allocate storage in the destination value during
8657 2005-11-22 Edward Hervey <edward@fluendo.com>
8659 * docs/gst/gstreamer-sections.txt:
8664 * gst/gstutils.c: (gst_util_set_object_arg):
8665 * tools/gst-compprep.c: (main):
8666 * tools/gst-inspect.c: (print_element_properties_info):
8667 Removed GstURI, closes bug #321061
8669 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8671 * check/gst/gststructure.c: (GST_START_TEST):
8672 * gst/gststructure.c: (gst_structure_parse_value):
8673 Oops, broke automatic string type parsing.
8674 Add a test to catch it in future.
8676 2005-11-22 Andy Wingo <wingo@pobox.com>
8678 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
8679 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
8680 Actually rename the function implementations. Grr.
8682 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8684 * check/gst/capslist.h:
8686 * check/gst/gststructure.c: (GST_START_TEST),
8687 (gst_structure_suite):
8688 Test automatic value type detection in gst_structure_from_string.
8689 * gst/gststructure.c: (gst_structure_parse_value):
8690 Add fraction as a type we try and guess automatically in
8691 caps/structure strings.
8693 2005-11-22 Andy Wingo <wingo@pobox.com>
8695 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
8697 * gst/gsttagsetter.h:
8698 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
8699 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
8700 (gst_tag_setter_add_tag_valist)
8701 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
8702 _add_values, _add_valist, and _add_valist_values. Since this is an
8703 interface the function suffixes should be more explicit so
8704 language binding don't end up with element.add_valist ->
8705 gst_tag_setter_add_valist, for example. Fixes #322069.
8707 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8709 * check/gst/gstcaps.c: (GST_START_TEST):
8710 Extend caps string tests to check that a caps to string
8711 conversion is reversible and produces the same caps.
8713 * gst/gststructure.c: (gst_structure_value_get_generic_type):
8714 Output "fraction" as the generic type fraction range, so caps
8715 serialisation and deserialisation works.
8716 * check/gst/capslist.h:
8717 * gst/gstvalue.c: (gst_value_deserialize_fraction):
8718 Support 'MIN' and 'MAX' for deserialising fractions.
8720 2005-11-22 Andy Wingo <wingo@pobox.com>
8722 * gst/gstevent.h (gst_event_new_new_segment)
8723 (gst_event_parse_new_segment, gst_event_new_buffer_size)
8724 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
8725 Renamed from *_newsegment, *_buffersize, *_notarget.
8727 * scripts/update-funcnames: New script, performs the changes
8730 2005-11-22 Wim Taymans <wim@fluendo.com>
8732 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8733 Make sure the GstFlowReturn is returned.
8735 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
8736 (gst_bus_add_signal_watch):
8738 add gst_bus_add_signal_watch_full.
8740 * gst/gstplugin.c: (gst_plugin_load_file):
8741 Small style cleanup.
8743 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8745 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
8746 Block the fakesrc srcpad when we send an event, to avoid
8747 contention on the stream_lock causing random test failures.
8749 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8751 * check/gst/gstvalue.c: (GST_START_TEST):
8752 * gst/gstvalue.c: (gst_value_fraction_subtract):
8755 2005-11-22 Stefan Kost <ensonic@users.sf.net>
8758 include "gstchildproxy.h"
8759 * gst/gstchildproxy.h:
8760 * libs/gst/controller/gstcontroller.h:
8761 use G_GNUC_NULL_TERMINATED
8763 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8765 * check/gst/capslist.h:
8766 * check/gst/gstcaps.c: (GST_START_TEST):
8767 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8768 * gst/gststructure.c: (gst_structure_parse_range),
8769 (gst_structure_fixate_field_nearest_fraction):
8770 * gst/gststructure.h:
8771 * gst/gstvalue.c: (gst_value_init_fraction_range),
8772 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8773 (gst_value_collect_fraction_range),
8774 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8775 (gst_value_set_fraction_range_full),
8776 (gst_value_get_fraction_range_min),
8777 (gst_value_get_fraction_range_max),
8778 (gst_value_serialize_fraction_range),
8779 (gst_value_transform_fraction_range_string),
8780 (gst_value_compare_fraction_range),
8781 (gst_value_deserialize_fraction_range),
8782 (gst_value_intersect_fraction_fraction_range),
8783 (gst_value_intersect_fraction_range_fraction_range),
8784 (gst_value_subtract_fraction_fraction_range),
8785 (gst_value_subtract_fraction_range_fraction),
8786 (gst_value_subtract_fraction_range_fraction_range),
8787 (gst_value_collect_fraction), (gst_value_fraction_multiply),
8788 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8789 (gst_value_transform_string_fraction), (_gst_value_initialize):
8791 Implement fraction ranges and extend GstFraction to support
8792 arithmetic subtraction, as well as deserialization from integer
8793 strings such as "100"
8794 Add a testsuite as for int and double range set operations
8796 2005-11-21 Andy Wingo <wingo@pobox.com>
8800 * gst/gststructure.h: Add glib-compat.h.
8802 2005-11-21 Wim Taymans <wim@fluendo.com>
8804 * gst/gstbin.c: (gst_bin_change_state_func):
8807 2005-11-21 Wim Taymans <wim@fluendo.com>
8810 And add a nice define too.
8812 2005-11-21 Wim Taymans <wim@fluendo.com>
8814 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8815 (gst_segment_new), (gst_segment_free), (gst_segment_init),
8816 (gst_segment_set_duration), (gst_segment_set_last_stop),
8817 (gst_segment_set_seek), (gst_segment_set_newsegment),
8818 (gst_segment_to_stream_time), (gst_segment_to_running_time),
8821 Make binding friendly.
8823 2005-11-21 Andy Wingo <wingo@pobox.com>
8825 * gst/gsttagsetter.h:
8827 * gst/gststructure.h:
8829 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8832 * gst/gsterror.c (_gst_core_errors_init):
8833 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8836 * gst/Makefile.am (gst_headers): Add glib-compat.h.
8837 (noinst_HEADERS): noinst the -private.
8839 2005-11-21 Michael Smith <msmith@fluendo.com>
8842 * gst/gstregistry.h:
8843 Remove unimplemented declarations for which we can see no sensible
8846 2005-11-21 Andy Wingo <wingo@pobox.com>
8848 * gst/gst.h: Include glib-compat.h.
8850 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8852 * gst/glib-compat.c: Include the public and the private header.
8854 * gst/glib-compat-private.h: Copied here from glib-compat.h.
8858 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
8860 * check/gst/gstevent.c (create_custom_events): Check that
8861 FLUSH_STOP is serialized.
8863 * check/elements/identity.c (event_func):
8864 * check/elements/fakesrc.c (event_func): No stream lock, the core
8867 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
8868 stream lock taking, yay.
8870 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
8871 ensure that core takes the stream lock.
8873 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
8876 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
8877 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
8878 it already. For the flush start we do take it though so we get the
8879 right preroll state change messages.
8881 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
8882 the stream lock here, the core does it for us.
8884 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
8885 GST_STREAM_GET_LOCK.
8886 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
8887 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
8888 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
8889 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
8890 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
8891 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
8893 * gst/gstpad.c: Update for stream lock name change.
8895 * gst/base/gstbasesink.c: Update for preroll lock name change.
8897 2005-11-21 Wim Taymans <wim@fluendo.com>
8899 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
8900 (gst_clock_get_master):
8902 * gst/gstsystemclock.c: (gst_system_clock_init):
8903 Convert Clock flags to object flags.
8904 Added methods to manage master/slave clocks.
8906 2005-11-21 Wim Taymans <wim@fluendo.com>
8908 * check/gst/gstsegment.c: (GST_START_TEST):
8909 * docs/design/part-TODO.txt:
8910 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8911 (gst_base_sink_event), (gst_base_sink_do_sync),
8912 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8913 (gst_base_sink_query), (gst_base_sink_change_state):
8914 * gst/base/gstbasesink.h:
8915 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8916 (gst_base_src_default_newsegment),
8917 (gst_base_src_configure_segment), (gst_base_src_do_seek),
8918 (gst_base_src_get_range), (gst_base_src_loop),
8919 (gst_base_src_change_state):
8920 * gst/base/gstbasesrc.h:
8921 * gst/base/gstbasetransform.c:
8922 (gst_base_transform_prepare_output_buf),
8923 (gst_base_transform_event), (gst_base_transform_change_state):
8924 * gst/base/gstbasetransform.h:
8925 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8926 (gst_collect_pads_event):
8927 * gst/base/gstcollectpads.h:
8928 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
8929 (gst_fake_src_create):
8930 * gst/elements/gstfakesrc.h:
8931 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8932 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8933 (gst_segment_set_last_stop), (gst_segment_set_seek),
8934 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8935 (gst_segment_to_running_time), (gst_segment_clip):
8937 More segment updates, replace code in plugins with segment
8940 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8942 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
8943 Don't ignore sscanf results
8945 2005-11-21 Andy Wingo <wingo@pobox.com>
8947 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
8950 * *.c: Ran scripts/update-macros. Oh yes.
8952 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
8953 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
8956 * scripts/update-macros: New script. Run it on your files to
8957 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
8960 2005-11-21 Stefan Kost <ensonic@users.sf.net>
8962 * docs/gst/Makefile.am:
8963 * docs/gst/gstreamer-docs.sgml:
8964 * docs/gst/gstreamer-sections.txt:
8965 * docs/gst/gstreamer.types:
8967 more docs fixes, add new api to the docs
8969 2005-11-21 Andy Wingo <wingo@pobox.com>
8971 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
8972 state_broadcast call.
8974 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
8976 2005-11-21 Julien MOUTTE <julien@moutte.net>
8978 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
8979 function calls for arrays.
8981 2005-11-21 Stefan Kost <ensonic@users.sf.net>
8983 * docs/random/ensonic/media-device-daemon.txt:
8984 wild idea, can this be done?
8985 * docs/gst/gstreamer-sections.txt:
8990 * gst/gstpluginfeature.c:
8994 doc fixes and additions
8996 2005-11-21 Andy Wingo <wingo@pobox.com>
8998 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
8999 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
9000 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
9001 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
9002 private to the basesrc implementation.
9004 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
9005 behalf of event function if necessary. It should no longer be
9006 necessary to take the stream lock in pad's event functions. Fixes
9009 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
9010 * docs/gst/gstreamer-sections.txt:
9011 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
9012 (gst_structure_fixate_field_nearest_double),
9013 (gst_structure_fixate_field_boolean):
9014 * gst/gststructure.h:
9015 * win32/common/libgstreamer.def:
9016 * win32/gstreamer.def:
9018 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
9021 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
9023 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
9024 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
9025 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
9026 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
9027 (gst_fdsrc_uri_handler_init):
9028 * gst/elements/gstfdsrc.h:
9029 Port fd:// URI handler from 0.8 to fdsrc
9031 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9033 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
9034 (gst_value_serialize_fourcc):
9036 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
9037 consistent with our other format defines (#320324).
9039 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9041 * gst/gstvalue.c: (gst_value_is_fixed):
9042 Revert previous commit. Value lists are by definition
9043 not fixed, as they are a list of possible values.
9045 2005-11-21 Andy Wingo <wingo@pobox.com>
9047 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
9048 during the stable series if we need it. Fixes #319178.
9050 * gst/gstevent.c (gst_event_new_filler): Removed.
9052 * check/gst/gstevent.c: Update comment about filler events.
9054 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9056 * gst/gstvalue.c: (gst_value_is_fixed):
9057 Should handle both value arrays and value lists.
9059 2005-11-21 Andy Wingo <wingo@pobox.com>
9061 patch by: Alessandro Dessina <alessandro nnva org>
9063 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
9064 functions to access arrays. Fixes #321962.
9066 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9068 * docs/gst/gstreamer.types:
9069 gst_collectpads_get_type => gst_collect_pads_get_type.
9071 * gst/base/gstbasetransform.c:
9072 Remove unused SIGNAL_HANDOFF enum.
9074 2005-11-21 Andy Wingo <wingo@pobox.com>
9076 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
9077 the event type (upstream, downstream, serialized). Renamed
9078 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
9079 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
9080 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
9082 * gst/gstevent.c: Update for new CUSTOM event names.
9084 * check/gst/gstevent.c: Update check for new CUSTOM event names.
9087 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
9090 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9092 * docs/gst/gstreamer-sections.txt:
9093 * win32/common/libgstbase.def:
9094 * win32/libgstbase.def:
9095 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9096 (gst_collect_pads_class_init), (gst_collect_pads_init),
9097 (gst_collect_pads_finalize), (gst_collect_pads_new),
9098 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
9099 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
9100 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
9101 (gst_collect_pads_start), (gst_collect_pads_stop),
9102 (gst_collect_pads_peek), (gst_collect_pads_pop),
9103 (gst_collect_pads_available), (gst_collect_pads_read),
9104 (gst_collect_pads_flush), (gst_collect_pads_event),
9105 (gst_collect_pads_chain):
9106 * gst/base/gstcollectpads.h:
9107 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
9108 unimplemented functions as unimplemented. Add padding to
9109 GstCollectData. (#320766, #320423)
9111 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9114 Improve docs for DURATION message (usage of duration parameter)
9117 2005-11-20 Wim Taymans <wim@fluendo.com>
9119 * check/Makefile.am:
9120 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
9124 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
9125 (gst_segment_set_seek), (gst_segment_set_newsegment),
9126 (gst_segment_to_stream_time), (gst_segment_to_running_time),
9129 Added segment helper structure and methods. Not fully implemented
9131 Added segment check.
9133 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
9135 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9136 Add a deserialisation test for fractions
9137 * examples/metadata/read-metadata.c: (message_loop),
9138 (make_pipeline), (main):
9139 Fix up metadata reading sample.
9140 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9142 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9143 Don't try and fixate empty caps
9144 * gst/gst_private.h:
9145 Wrap in G_BEGIN_DECLS/G_END_DECLS
9146 * gst/gstvalue.c: (gst_value_collect_fraction),
9147 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
9148 (gst_value_transform_string_fraction),
9149 (gst_value_compare_fraction):
9150 Add some extra guards to ensure that we don't end up
9151 with an invalid denominator of 0 in a gstfraction and
9152 that fractions always get reduced.
9154 2005-11-20 Wim Taymans <wim@fluendo.com>
9156 * docs/gst/gstreamer-sections.txt:
9167 2005-11-20 Wim Taymans <wim@fluendo.com>
9169 * docs/design/part-TODO.txt:
9171 Make a proper enum of the flag.
9173 2005-11-19 Wim Taymans <wim@fluendo.com>
9175 * docs/design/part-TODO.txt:
9176 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
9177 (gst_format_to_quark), (gst_format_register):
9179 * gst/gstquery.c: (_gst_query_initialize),
9180 (gst_query_type_get_name), (gst_query_type_to_quark),
9181 (gst_query_type_register):
9183 Add type to quark and type to string conversions.
9185 2005-11-19 Andy Wingo <wingo@pobox.com>
9187 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
9190 2005-11-19 Wim Taymans <wim@fluendo.com>
9192 * docs/design/part-TODO.txt:
9193 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
9194 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
9195 (gst_bin_handle_message_func):
9197 Make message handling overridable.
9199 2005-11-19 Andy Wingo <wingo@pobox.com>
9201 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
9204 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
9206 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
9207 is a GstClockTime. Fixes #321710.
9209 * gst/gstclock.h (GstClock): Remove offset property. Add
9210 internal_calibration and external_calibration. Fix padding. Pad
9211 also by GstClockTime so we don't run into problems.
9213 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
9214 (gst_clock_get_rate_offset): Remove.
9215 (gst_clock_set_time_adjust): Remove. Fixes #321712.
9218 * gst/gstutils.c (g_static_rec_cond_wait)
9219 (g_static_rec_cond_timed_wait): Removed, no longer needed.
9221 * gst/gstbin.c: Remove terrible continue_state prototype.
9223 * gst/gstelement.h (gst_element_continue_state): Make public.
9226 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
9227 by continue_state. Fixes #319389.
9229 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
9230 Really fixes #168438. However I don't see anywhere where the
9231 filter function is called... stupid GStreamer...
9233 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
9234 don't have a dispose function, so it won't get called when the
9235 object is unreffed, but oh well!
9237 * gst/gstindex.c (gst_index_set_filter_full): New API function,
9238 allows a destroy function to be set so user_data can be freed.
9240 (gst_index_set_filter): Call gst_index_set_filter_full.
9242 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
9244 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
9245 string should produce an error, given the lack of a way to
9246 represent NULL strings. Fixes #165650.
9249 * gst/gstvalue.c (gst_value_array_append_value)
9250 (gst_value_array_prepend_value, gst_value_array_get_size)
9251 (gst_value_array_get_value): New API, copied from
9252 gst_value_list_*, only operates on arrays.
9253 (gst_value_list_append_value, gst_value_list_prepend_value)
9254 (gst_value_list_concat, gst_value_list_get_size)
9255 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
9257 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
9258 init_list, because it works on both.
9259 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
9260 (gst_value_copy_list_or_array): Renamed from copy_list.
9261 (gst_value_free_list_or_array): Renamed from free_list.
9262 (gst_value_collect_list_or_array): Renamed from collect_list.
9263 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
9264 (gst_value_list_or_array_peek_pointer): Renamed from
9266 (_gst_value_array_value_table, _gst_value_list_value_table):
9267 Update value table functions.
9268 (gst_value_compare_list_or_array): Renamed from compare_list.
9270 * gsttaglist.h: Whoops, foreach function returns void. Also fix
9274 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
9275 GstTagList*. Fixes #143472.
9277 * gst/gststructure.h: Clarify what the foreach/map functions can
9278 or can't do to their arguments.
9280 2005-11-18 Wim Taymans <wim@fluendo.com>
9282 * gst/gstclock.c: (gst_clock_set_calibration),
9283 (gst_clock_get_calibration):
9285 Calibration can be set with internal time equal to current
9288 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
9294 2005-11-18 Andy Wingo <wingo@pobox.com>
9297 * pkgconfig/gstreamer-net.pc.in:
9298 * pkgconfig/gstreamer-net-uninstalled.pc.in:
9299 * pkgconfig/Makefile.am: Add net pkgconfig files.
9301 2005-11-18 Stefan Kost <ensonic@users.sf.net>
9304 * gst/gstghostpad.c:
9310 2005-11-18 Andy Wingo <wingo@pobox.com>
9312 * gst/net/gstnetclientclock.c: Turn off debugging.
9314 * check/net/gstnetclientclock.c (test_functioning): Assert that the
9315 times connverge somewhat. Can't make a real test.
9317 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
9318 integer arithmetic. Return the minimum of the domain, which can be
9319 set as "internal" for gst_clock_set_calibration.
9320 (gst_net_client_clock_observe_times): Call _set_calibration.
9321 (gst_net_client_clock_new): Call _set_calibration instead of
9324 * check/net/gstnetclientclock.c (test_functioning): Use the right
9328 * gst/gstclock.c (gst_clock_get_calibration)
9329 (gst_clock_set_calibration): New functions, obsolete the ones I
9330 added yesterday. Doh. Precision issues mean we have to extrapolate
9331 from a point in the more recent past than 1970.
9332 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
9334 (gst_clock_adjust_unlocked): Use the right calibration data.
9336 2005-11-18 Edward Hervey <edward@fluendo.com>
9338 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9339 Also reset the ->current_* values in READY->PAUSED
9341 2005-11-18 Andy Wingo <wingo@pobox.com>
9343 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
9344 Whoops, check the right fd. Also add some debugging.
9345 (gst_net_client_clock_observe_times): Adjust for int64 offset.
9346 (do_linear_regression): Add a crapload of debugging. Subtract off
9347 the minimum values from the input series to discard unneeded bits.
9348 Use only int arithmetic. There is still double arithmetic when
9349 calculating the intercept that needs fixing. Return boolean to
9350 indicate success; FALSE would mean the domain or range is too
9351 great. Still needs fixes.
9353 2005-11-18 Wim Taymans <wim@fluendo.com>
9355 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
9356 For the current position in stream time, we need to subtract
9359 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
9360 Release lock before calling the callback function of async
9363 2005-11-18 Andy Wingo <wingo@pobox.com>
9365 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
9366 Port goes all the way to MAXUINT16.
9368 * gst/net/gstnettimeprovider.c: Make the port range the same as
9369 for the kernel: 0 assigns, otherwise ports are less than
9372 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
9375 * check/net/gstnetclientclock.c (test_functioning): Add the start
9378 2005-11-18 Wim Taymans <wim@fluendo.com>
9380 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9381 (gst_bin_remove_func), (bin_bus_handler):
9383 Removing a clock provider from a bin, triggers a clock lost message
9384 so that a new clock will be selected.
9385 Adding a clock to a bin triggers a clock provider message.
9386 Make sure we reselect a clock when we received a clock lost message.
9387 Keep a reference to the element that provided the clock.
9389 2005-11-18 Andy Wingo <wingo@pobox.com>
9391 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
9392 the clock initially so it produces values around the base time.
9393 (gst_net_client_clock_class_init): Typo fix.
9394 (gst_net_client_clock_thread): Add note on when the socket gets
9397 2005-11-17 Wim Taymans <wim@fluendo.com>
9399 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
9400 Free remote and local time arrays.
9402 2005-11-17 Wim Taymans <wim@fluendo.com>
9404 * gst/net/gstnetclientclock.c: (do_linear_regression),
9405 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
9406 Fix compilation, uninitialized vars and a forgotten continue.
9408 2005-11-17 Andy Wingo <wingo@pobox.com>
9410 * check/Makefile.am (check_PROGRAMS):
9411 * check/net/gstnetclientclock.c: Add a most minimal test for the
9412 net client clock. More to come later.
9415 * gst/net/Makefile.am: Add netclientclock.
9417 * gst/net/gstnetclientclock.h:
9418 * gst/net/gstnetclientclock.c: New files, implement an untested
9419 GstClock that takes its time from a network time provider.
9420 Implements the algorithm in network-clock.scm.
9422 * tests/network-clock.scm (*window-size*): Rename from
9424 * tests/network-clock.scm (network-time):
9425 * tests/network-clock-utils.scm (q-push): Update callers.
9427 2005-11-17 Wim Taymans <wim@fluendo.com>
9429 * gst/gstbin.c: (gst_bin_provide_clock_func),
9430 (gst_bin_sort_iterator_new):
9431 And unref the child too..
9433 2005-11-17 Wim Taymans <wim@fluendo.com>
9435 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9436 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
9437 Refactor the sort iterator so it can be used while holding the
9439 Make clock selection select a clock closest to the source.
9441 2005-11-17 Michael Smith <msmith@fluendo.com>
9443 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
9444 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
9446 Anonymous structs are a gcc (and some other compilers) extension, so
9447 don't use them. Since this is only for ABI-compatibility, and our
9448 API/ABI freeze is over in a few days, this whole thing will only
9449 last a few days, so don't bother trying to think up a meaningful
9450 name for the struct.
9452 2005-11-17 Andy Wingo <wingo@pobox.com>
9454 * gst/gstclock.h (GstClock): Add rate and offset properties,
9455 preserving ABI stability. Add rate/offset accessors. Will file bug
9456 for the freeze break.
9458 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
9459 and offset, trying to keep precision and avoiding
9461 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
9462 functions. Make gst_clock_set_time_adjust obsolete.
9463 (gst_clock_set_time_adjust): Note that this function is obsolete.
9466 * gst/base/gstbasetransform.h: Make the ABI-stability hack
9467 greppable by using GST_PADDING-1+1.
9469 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
9471 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9473 * gst/gstmessage.c: (gst_message_parse_clock_lost):
9474 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
9476 * gst/gstpadtemplate.h:
9477 * gst/gstpluginfeature.h:
9478 Don't use c++ style comments in headers (#321638).
9480 2005-11-16 Andy Wingo <wingo@pobox.com>
9482 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
9485 * check/net/gstnettimeprovider.c: Check to see that the time
9486 provider actually provides times. Works, yo!
9488 2005-11-16 Wim Taymans <wim@fluendo.com>
9490 * check/Makefile.am:
9493 * check/elements/fakesrc.c: (GST_START_TEST):
9494 Set element to NULL before disposing it.
9496 2005-11-16 Andy Wingo <wingo@pobox.com>
9498 * gst/net/Makefile.am:
9500 * gst/net/gstnettimeprovider.c:
9501 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
9502 provider, include it from gstnet.h, and add it to the build.
9504 * gst/net/gstnettimepacket.h:
9505 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
9506 sending and receiving.
9508 2005-11-16 Wim Taymans <wim@fluendo.com>
9510 * check/Makefile.am:
9511 Enable valgrind check.
9513 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
9514 (gst_fake_src_alloc_buffer):
9517 2005-11-16 Wim Taymans <wim@fluendo.com>
9519 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
9520 Call parent finalize too.
9522 2005-11-16 Wim Taymans <wim@fluendo.com>
9524 * check/Makefile.am:
9525 Enable valgrind check that should work fine now.
9527 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9528 * gst/gstqueue.c: (gst_queue_init):
9529 Fix memleaks in pad allocation.
9531 2005-11-16 Andy Wingo <wingo@pobox.com>
9533 * gst/net/Makefile.am:
9534 * gst/net/gstnet.h: New part of core to hold network elements and
9535 objects. Put in core because it exposes API that applications want
9536 to use. The library is named libgstnet-tempname right now because
9537 of the existing libgstnet in gst-plugins-base. Solution is
9538 probably to rename the one in plugins-base; will file a bug for
9541 * gst/net/gstnettimeprovider.c:
9542 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
9543 get_time call over the network.
9546 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
9548 * check/Makefile.am:
9549 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
9550 get additions shortly.
9552 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9554 * gst/gstpad.c: (gst_pad_new_from_static_template):
9556 add gst_pad_new_from_static_template functions
9557 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
9558 (gst_check_setup_sink_pad):
9559 * gst/elements/gsttee.c: (gst_tee_init):
9562 2005-11-16 Wim Taymans <wim@fluendo.com>
9564 * gst/gstpad.c: (gst_pad_pause_task):
9565 Removed warning, it's not really an error either.
9567 2005-11-16 Wim Taymans <wim@fluendo.com>
9569 * gst/base/gstbasetransform.c:
9570 (gst_base_transform_prepare_output_buf),
9571 (gst_base_transform_event):
9572 Check if the caps are NULL, this can happen if the element
9573 is shutting down and the pad caps are set to NULL.
9575 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9577 * gst/elements/gsttee.c: (gst_tee_init):
9578 fix pad template leak in tee
9580 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9582 * gst/glib-compat.c: (g_value_dup_gst_object):
9583 * gst/glib-compat.h:
9584 * gst/gstpad.c: (gst_pad_set_property):
9585 use gst_object_ref when setting the pad template; this will
9586 trigger the pad template leaks on GLib 2.6 and the slaves
9588 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9590 * gst/glib-compat.c: (gst_flags_get_first_value):
9591 * gst/glib-compat.h:
9592 * gst/gstregistryxml.c:
9593 remove functions copied from GLib 2.6
9595 2005-11-16 Michael Smith <msmith@fluendo.com>
9598 Don't link against VALGRIND_LIBS. That was always the wrong thing to
9599 do, but only breaks with newer valgrind versions. We're not a
9600 valgrind tool, we have no link-time dependencies on libcoregrind.
9602 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9604 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9609 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9611 * gst/base/gstbasesrc.c: (gst_base_src_init):
9612 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9613 * gst/gstqueue.c: (gst_queue_init):
9614 * gst/gstregistryxml.c: (load_feature):
9615 Revert all these unrefs, they don't even pass make check !
9617 2005-11-15 Johan Dahlin <johan@gnome.org>
9619 * gst/base/gstbasesrc.c: (gst_base_src_init):
9620 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9621 * gst/gstqueue.c: (gst_queue_init):
9622 Free pad templates, fixes a couple of leaks.
9624 2005-11-15 Daniel Fischer <dan at f3c dot com>
9626 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9628 * gst/gstpad.c: (gst_pad_get_property):
9629 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
9630 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
9633 2005-11-15 Wim Taymans <wim@fluendo.com>
9638 2005-11-15 Andy Wingo <wingo@pobox.com>
9640 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
9642 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
9643 using GST_CLOCK_TIME_NONE to disable base time management.
9644 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
9645 time if it was NONE before.
9646 (gst_pipeline_change_state): Only munge the base time if
9647 stream_time != GST_CLOCK_TIME_NONE.
9649 * check/gst/gstpipeline.c (test_base_time): Punt around the
9650 problem of the probe not being called, because that's not the
9651 issue I'm looking at. Add a check that setting stream_time to NONE
9652 disables base time management.
9654 2005-11-15 Wim Taymans <wim@fluendo.com>
9656 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9657 segment_stop == -1 at startup.
9659 * gst/base/gstbasetransform.c: (gst_base_transform_event),
9660 (gst_base_transform_change_state):
9661 Init segment values at start.
9663 2005-11-15 Wim Taymans <wim@fluendo.com>
9665 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9666 0 segment values are 0 in any format.
9668 * gst/base/gstbasetransform.c: (gst_base_transform_event):
9669 * gst/base/gstbasetransform.h:
9670 Parse newsegment correctly in basetransform
9672 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
9673 Sync to clock using updated segment values.
9675 2005-11-15 Andy Wingo <wingo@pobox.com>
9677 * check/gst/gstpipeline.c (test_base_time): Add check that the
9678 base time and stream time are reset correctly.
9680 2005-11-15 Wim Taymans <wim@fluendo.com>
9682 * docs/design/part-TODO.txt:
9683 Some more TODO items.
9685 2005-11-15 Andy Wingo <wingo@pobox.com>
9687 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
9688 error if the user selected "no clock" as the clocking method.
9690 * check/gst/gstpipeline.c (test_base_time): New test for buffer
9691 timestamps with live capture.
9693 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
9694 is 0 but we are a live source, timestamp the buffers using the
9697 2005-11-14 Stefan Kost <ensonic@users.sf.net>
9699 * docs/gst/gstreamer-sections.txt:
9701 * gst/gstghostpad.c:
9706 2005-11-14 Wim Taymans <wim@fluendo.com>
9709 add suppressions from Wim's Debian machine
9711 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
9714 add suppressions from Andy's AMD64 Ubuntu machine
9716 2005-11-14 Andy Wingo <wingo@pobox.com>
9718 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
9719 STATE_LOCK not necessary. Fixes #311489.
9721 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
9724 * gst/gstindex.c (gst_index_add_object): Note in the docs that
9725 this function is not implemented.
9727 2005-11-14 Julien MOUTTE <julien@moutte.net>
9729 * gst/base/gstbasetransform.c:
9730 (gst_base_transform_prepare_output_buf):
9731 Ref the source pad caps while we need them.
9734 2005-11-11 Wim Taymans <wim@fluendo.com>
9736 * docs/gst/gstreamer-sections.txt:
9737 Added some docs for GstCollectData.
9739 * gst/base/gstadapter.c:
9740 Some small code example fix.
9742 * gst/base/gstcollectpads.c:
9743 * gst/base/gstcollectpads.h:
9746 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9748 * configure.ac: back to HEAD
9750 === release 0.9.5 ===
9752 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9755 releasing 0.9.5, "Bike Lunch Day"
9757 2005-11-11 Wim Taymans <wim@fluendo.com>
9759 * gst/gstbuffer.c: (_gst_buffer_copy):
9762 * gst/gstcaps.c: (gst_caps_is_equal):
9764 Make _is_equal fast in the trivial cases.
9766 * gst/gstminiobject.c:
9767 * gst/gstminiobject.h:
9768 More docs. Spifify .h file.
9773 2005-11-11 Wim Taymans <wim@fluendo.com>
9775 * gst/base/gstbasetransform.c:
9776 (gst_base_transform_prepare_output_buf),
9777 (gst_base_transform_handle_buffer):
9779 If we're processing a buffer and need to allocate an output
9780 buffer, we cannot accept a format change. If we did get a
9781 format change, we have to alloc a buffer ourselves of the
9784 2005-11-11 Wim Taymans <wim@fluendo.com>
9786 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9787 While checking the flag for reentrancy in the gstcaps function
9788 is nice to detect recursive invocations, it also makes it
9789 impossible to call getcaps from multiple threads, which must be
9790 possible. So, checking for recursive calls has to go.
9792 2005-11-11 Michael Smith <msmith@fluendo.com>
9794 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9795 Don't sync on buffers that fall partially outside our current
9796 segment. Prevents an assertion failure/abort playing some files.
9798 2005-11-10 Andy Wingo <wingo@pobox.com>
9800 * check/gst/gstbin.c (test_message_state_changed_children): Style
9803 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9804 gst_bus_poll with the signal watch. Ensures that poll and a signal
9805 watch see the same messages.
9807 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9808 a poll and a watch at the same time get the same messages.
9810 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9812 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9813 * gst/gstcaps.c: (gst_caps_intersect):
9814 Don't call gst_caps_do_simplify - it doesn't respect order of caps
9815 and it's not needed.
9817 2005-11-10 Wim Taymans <wim@fluendo.com>
9819 * docs/design/part-TODO.txt:
9822 2005-11-10 Wim Taymans <wim@fluendo.com>
9824 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9825 * gst/base/gstbasesrc.c: (gst_base_src_wait),
9826 (gst_base_src_do_sync), (gst_base_src_get_range):
9827 Implement clock sync in base class.
9829 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9831 patch by: Tim-Philipp Müller <tim at centricular dot net>
9833 * gst/gststructure.c: (gst_structure_parse_field),
9834 (gst_structure_from_string):
9835 Forward-port a 0.8 patch to handle escaped spaces in structure string,
9836 so that gst_parse_launch() can deal with spaces in filtered link
9837 caps (fixes #164479)
9838 * check/gst/capslist.h:
9839 * check/gst/gststructure.c: (GST_START_TEST):
9840 add unit tests for this change
9842 2005-11-10 Wim Taymans <wim@fluendo.com>
9844 * docs/gst/gstreamer-sections.txt:
9847 Fix docs, move some STATE macros to private.
9849 2005-11-10 Wim Taymans <wim@fluendo.com>
9851 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9852 Added check for bug #317341
9856 Some more spiffifying.
9858 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
9859 Call peer linkfunction if we are a source pad. Totally fixes
9863 Update docs, source pads should call the peer linkfunction
9864 so they can atomically perform the pad link.
9866 2005-11-09 Wim Taymans <wim@fluendo.com>
9870 Uber-spiffy-spiffify some more.
9872 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
9874 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
9875 * gst/elements/gstfilesink.c: (gst_file_sink_init):
9876 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9877 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
9878 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
9879 * gst/gstpad.c: (gst_pad_init):
9880 Use GST_DEBUG_FUNCPTR() more extensively.
9882 2005-11-09 Wim Taymans <wim@fluendo.com>
9884 * gst/gstobject.c: (gst_object_class_init):
9886 Documentation fixes.
9888 2005-11-09 Edward Hervey <edward@fluendo.com>
9890 * gst/gsttypefindfactory.c:
9893 2005-11-09 Edward Hervey <edward@fluendo.com>
9895 * gst/base/gsttypefindhelper.c:
9896 * gst/gsttypefind.c:
9897 * gst/gsttypefind.h:
9900 2005-11-09 Wim Taymans <wim@fluendo.com>
9902 * gst/gstiterator.c:
9909 2005-11-09 Wim Taymans <wim@fluendo.com>
9915 2005-11-09 Wim Taymans <wim@fluendo.com>
9917 * docs/gst/gstreamer-sections.txt:
9918 Moved the message async delivery private lock and cond
9919 to the private section.
9925 2005-11-09 Edward Hervey <edward@fluendo.com>
9927 * docs/gst/gstreamer-sections.txt:
9930 Document GstURIHandler
9932 2005-11-09 Wim Taymans <wim@fluendo.com>
9934 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
9935 (gst_iterator_find_custom):
9936 * gst/gstiterator.h:
9939 2005-11-09 Wim Taymans <wim@fluendo.com>
9942 Document another field.
9944 * gst/gststructure.c:
9945 * gst/gststructure.h:
9948 2005-11-09 Wim Taymans <wim@fluendo.com>
9953 2005-11-09 Wim Taymans <wim@fluendo.com>
9955 * docs/gst/gstreamer-sections.txt:
9956 Added some new macros.
9963 2005-11-09 Wim Taymans <wim@fluendo.com>
9965 * docs/design/part-TODO.txt:
9966 Some more items for the TODO
9972 2005-11-09 Andy Wingo <wingo@pobox.com>
9974 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
9975 to work on something else now tho...
9977 * gst/base/gstadapter.c: More adapter docs.
9979 * gst/elements/gstfilesink.c (gst_file_sink_start)
9980 (gst_file_sink_stop): New functions, replace the state change
9982 (gst_file_sink_class_init): Hook up the start and stop functions.
9983 (gst_file_sink_base_init): Don't set the state change handler any
9984 more. It was a bit ugly too, being set from here...
9985 (gst_file_sink_get_property, gst_file_sink_set_property):
9987 (gst_file_sink_set_location): More robust check that doesn't call
9990 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
9992 * gst/base/gstbasetransform.c: (gst_base_transform_event):
9993 Hold STREAM_LOCK while pushing newsegment or tag events as well.
9995 2005-11-08 Wim Taymans <wim@fluendo.com>
9997 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9998 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9999 (gst_base_sink_chain), (gst_base_sink_change_state):
10000 * gst/base/gstbasesink.h:
10001 * gst/base/gstbasesrc.h:
10002 * gst/gstelement.h:
10004 Avoid excessive typechecking in macros.
10006 * gst/gstminiobject.c: (gst_mini_object_get_type),
10007 (gst_mini_object_init), (gst_mini_object_new),
10008 (gst_mini_object_free):
10009 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
10010 (gst_object_finalize):
10011 Remove cruft code, optimize alloc_trace.
10013 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
10015 * docs/faq/gst-uninstalled:
10016 fix up PS1 for systems that try to reset it
10018 2005-11-07 Wim Taymans <wim@fluendo.com>
10020 * gst/base/gstbasesrc.c: (gst_base_src_init),
10021 (gst_base_src_get_range):
10022 Set the segment_end to -1 initially. Fixed typefind.
10024 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
10026 * gst/base/gstadapter.c:
10027 Debug category should be 'adapter', not 'GstAdapter'.
10029 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
10030 (gst_collectpads_class_init), (gst_collectpads_init),
10031 (gst_collectpads_peek), (gst_collectpads_pop),
10032 (gst_collectpads_event), (gst_collectpads_chain):
10033 Add debug category and some debugging output. Use boilerplate
10034 macros. Remove some extraneous words from docs.
10036 2005-11-05 Andy Wingo <wingo@pobox.com>
10038 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
10041 2005-11-04 Stefan Kost <ensonic@users.sf.net>
10043 * docs/gst/gstreamer-sections.txt:
10046 * gst/gstminiobject.h:
10051 2005-11-04 Wim Taymans <wim@fluendo.com>
10053 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10054 Small update to stop at the configured segment_end
10057 2005-11-04 Stefan Kost <ensonic@users.sf.net>
10059 * gst/gstregistry.c:
10060 * gst/gstregistry.h:
10063 2005-11-04 Edward Hervey <edward@fluendo.com>
10065 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
10066 Check if we are doing a segment seek and have arrived at the
10067 end of that segment.
10069 2005-11-04 Wim Taymans <wim@fluendo.com>
10071 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
10072 Don't leak a mutex unlock in case of an error.
10077 2005-11-04 Wim Taymans <wim@fluendo.com>
10079 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
10081 Get the context to wake up only once.
10083 2005-11-03 Wim Taymans <wim@fluendo.com>
10085 * check/states/sinks.c: (GST_START_TEST):
10086 Uncomment fixed check.
10088 * docs/design/part-TODO.txt:
10091 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10092 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
10093 (gst_base_sink_get_position):
10094 If we are going to PLAYING, post the right pending state
10095 when we post the intermediate paused message.
10097 * gst/gstelement.c: (gst_element_continue_state),
10098 (gst_element_set_state_func), (gst_element_change_state):
10099 Don't post state changes that were between the same state
10100 and were not ASYNC.
10102 2005-11-03 Stefan Kost <ensonic@users.sf.net>
10104 * docs/gst/gstreamer-sections.txt:
10107 * gst/gstminiobject.h:
10110 more docs and doc style fixes
10112 2005-11-03 Stefan Kost <ensonic@users.sf.net>
10114 * docs/gst/gstreamer-sections.txt:
10115 * gst/gstelement.c:
10116 * gst/gstminiobject.c:
10119 2005-11-03 Andy Wingo <wingo@pobox.com>
10121 * check/states/sinks.c (test_livesrc_sink): Add checks that the
10122 state-changed messages actually have the right order and the right
10125 2005-11-03 Wim Taymans <wim@fluendo.com>
10127 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
10128 Added some more checks. Specifically the case where NO_PREROLL
10129 elements are in the pipeline.
10131 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10132 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
10133 (gst_base_sink_get_position):
10134 Post READY->PAUSED state change messages too.
10135 Fix bug where VOID was posted as pending state...
10137 * gst/gstbin.c: (gst_bin_recalc_state):
10138 use _element_continue_state() to continue the state change.
10140 * gst/gstelement.c: (gst_element_continue_state),
10141 (gst_element_commit_state), (gst_element_set_state_func),
10142 (gst_element_change_state), (gst_element_change_state_func):
10143 Lots of state change cleanups, assign the STATE_RETURN in
10144 a new continue_state() function that also propagates the
10145 last return value from a state change to the app.
10146 Update some debug statements with proper category.
10148 2005-11-03 Wim Taymans <wim@fluendo.com>
10150 * docs/design/part-events.txt:
10151 * docs/design/part-gstpipeline.txt:
10152 * docs/design/part-messages.txt:
10153 * docs/design/part-overview.txt:
10154 * docs/design/part-seeking.txt:
10155 * docs/design/part-states.txt:
10156 * docs/design/part-trickmodes.txt:
10157 * docs/manual/advanced-position.xml:
10158 Small docs updates.
10161 People think !! is ugly, this looks better.
10163 * gst/gstpad.c: (gst_pad_set_blocked_async):
10164 Remove !! since it's fixed elsewhere now.
10166 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
10168 * gst/gstminiobject.h:
10170 Add !! to _FLAG_IS_SET macros to make the result boolean.
10172 2005-11-03 Edward Hervey <edward@fluendo.com>
10174 * gst/gstpad.c: (gst_pad_set_blocked_async):
10175 comparing a flag and a gboolean rarely returns coherent results...
10176 Added two characters (!!) to make that work correctly.
10178 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
10180 * gst/gstbus.c: (gst_bus_class_init):
10183 * gst/gstqueue.c: (gst_queue_loop):
10184 Don't assume a miniobject that isn't a buffer is an
10185 event (it could be that there is a refcounting
10186 problem somewhere and the pointer is stale and
10187 refers to an already destroyed miniobject).
10189 2005-11-03 Julien MOUTTE <julien@moutte.net>
10191 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
10193 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
10195 * docs/manual/advanced-position.xml:
10196 Update seek example and explanations to current 0.9 API.
10198 * gst/elements/gsttypefindelement.c:
10199 (gst_type_find_element_activate):
10200 Remove FIXME comment now that the found caps
10203 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
10205 * gst/gstregistryxml.c: (load_feature):
10206 Add another GST_STR_NULL instance
10208 2005-11-02 Edward Hervey <edward@fluendo.com>
10210 * gst/gstpad.c: (handle_pad_block):
10211 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
10213 2005-11-02 Wim Taymans <wim@fluendo.com>
10218 * gst/gstelement.c: (gst_element_commit_state):
10219 Remove unused value.
10221 * gst/gstiterator.c:
10222 Mention that the returned element is reffed in the docs.
10224 2005-11-02 Wim Taymans <wim@fluendo.com>
10226 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
10227 (gst_pad_push), (gst_pad_push_event):
10228 Unlock blocked pads when they are flushed.
10230 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
10233 * docs/gst/gstreamer-sections.txt:
10236 * gst/gstregistry.c: (gst_registry_scan_path_level):
10237 fix for a nasty little missed situation where an installed plug-in
10238 which was in the cache did not get overridden by an uninstalled one
10239 which was earlier in the plugin path because the newly created plugin
10240 for the uninstalled one (not in the registry) didn't get its
10241 ->registered set to TRUE
10243 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
10245 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
10246 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
10247 (gst_collectpads_is_active), (gst_collectpads_collect),
10248 (gst_collectpads_collect_range), (gst_collectpads_start),
10249 (gst_collectpads_stop), (gst_collectpads_peek),
10250 (gst_collectpads_pop), (gst_collectpads_available),
10251 (gst_collectpads_read), (gst_collectpads_flush):
10252 Guard public API with assertions.
10255 Fix docs for gst_pad_set_link_function().
10257 2005-11-02 Johan Dahlin <johan@gnome.org>
10259 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
10260 Unref found_caps after we used it.
10262 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
10264 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
10265 Don't try to ref NULL.
10267 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
10269 * win32/common/config.h.in:
10270 provide a GST_FUNCTION that just gives a string for now
10272 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
10274 * win32/common/gstenumtypes.c: (register_gst_object_flags),
10275 (gst_object_flags_get_type), (register_gst_bin_flags),
10276 (gst_bin_flags_get_type), (register_gst_buffer_flag),
10277 (gst_buffer_flag_get_type), (register_gst_bus_flags),
10278 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10279 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
10280 (gst_clock_return_get_type), (register_gst_clock_entry_type),
10281 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10282 (gst_clock_flags_get_type), (register_gst_state),
10283 (gst_state_get_type), (register_gst_state_change_return),
10284 (gst_state_change_return_get_type), (register_gst_state_change),
10285 (gst_state_change_get_type), (register_gst_element_flags),
10286 (gst_element_flags_get_type), (register_gst_core_error),
10287 (gst_core_error_get_type), (register_gst_library_error),
10288 (gst_library_error_get_type), (register_gst_resource_error),
10289 (gst_resource_error_get_type), (register_gst_stream_error),
10290 (gst_stream_error_get_type), (register_gst_event_type),
10291 (gst_event_type_get_type), (register_gst_seek_type),
10292 (gst_seek_type_get_type), (register_gst_seek_flags),
10293 (gst_seek_flags_get_type), (register_gst_format),
10294 (gst_format_get_type), (register_gst_index_certainty),
10295 (gst_index_certainty_get_type), (register_gst_index_entry_type),
10296 (gst_index_entry_type_get_type),
10297 (register_gst_index_lookup_method),
10298 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10299 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10300 (gst_index_resolver_method_get_type), (register_gst_index_flags),
10301 (gst_index_flags_get_type), (register_gst_debug_level),
10302 (gst_debug_level_get_type), (register_gst_debug_color_flags),
10303 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10304 (gst_iterator_result_get_type), (register_gst_iterator_item),
10305 (gst_iterator_item_get_type), (register_gst_message_type),
10306 (gst_message_type_get_type), (register_gst_mini_object_flags),
10307 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10308 (gst_pad_link_return_get_type), (register_gst_flow_return),
10309 (gst_flow_return_get_type), (register_gst_activate_mode),
10310 (gst_activate_mode_get_type), (register_gst_pad_direction),
10311 (gst_pad_direction_get_type), (register_gst_pad_flags),
10312 (gst_pad_flags_get_type), (register_gst_pad_presence),
10313 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10314 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10315 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10316 (gst_plugin_error_get_type), (register_gst_plugin_flags),
10317 (gst_plugin_flags_get_type), (register_gst_rank),
10318 (gst_rank_get_type), (register_gst_query_type),
10319 (gst_query_type_get_type), (register_gst_tag_merge_mode),
10320 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10321 (gst_tag_flag_get_type), (register_gst_task_state),
10322 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10323 (gst_alloc_trace_flags_get_type),
10324 (register_gst_type_find_probability),
10325 (gst_type_find_probability_get_type), (register_gst_uri_type),
10326 (gst_uri_type_get_type), (register_gst_parse_error),
10327 (gst_parse_error_get_type):
10328 * win32/common/gstversion.h:
10329 update win32 copies
10331 2005-11-01 Luca Ognibene <luogni@tin.it>
10334 fix docs. popt is dead, long live GOption.
10336 2005-10-31 Wim Taymans <wim@fluendo.com>
10341 2005-10-31 Andy Wingo <wingo@pobox.com>
10345 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
10347 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
10348 need to serialize property notifications on GLib 2.8. GLib 2.6 has
10349 the possibility of deadlocks here if code calling notify() or
10350 set() has a lock that can be taken in another notify handler (ABBA
10351 with class lock and e.g. python GIL state lock).
10353 2005-10-28 Julien MOUTTE <julien@moutte.net>
10355 * gst/gstbus.c: Doc updates.
10357 2005-10-28 Wim Taymans <wim@fluendo.com>
10359 * docs/design/part-TODO.txt:
10360 * gst/gstiterator.c:
10361 * gst/gstsystemclock.c:
10362 * gst/gstsystemclock.h:
10365 2005-10-28 Edward Hervey <edward@fluendo.com>
10367 * docs/gst/gstreamer-docs.sgml:
10368 * docs/gst/gstreamer-sections.txt:
10369 the GstURIType documentation page is private, it only defines GstURIType
10370 which should be defined in the GstURIHandler page
10372 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
10374 * gst/gstbin.c: (gst_bin_class_init):
10377 Documentation updates.
10379 2005-10-28 Wim Taymans <wim@fluendo.com>
10381 * docs/gst/gstreamer-sections.txt:
10384 Documented the clocks.
10386 2005-10-28 Stefan Kost <ensonic@users.sf.net>
10388 * docs/gst/gstreamer-sections.txt:
10389 move some macros to private sections
10390 * gst/gstminiobject.c:
10391 * gst/gstminiobject.h:
10392 add descriptions provided by ds and some more
10394 mark macro as to be removed
10396 2005-10-28 Wim Taymans <wim@fluendo.com>
10398 * docs/design/part-TODO.txt:
10399 Add an item to TODO.
10401 * gst/gstiterator.c: (gst_iterator_fold),
10402 (gst_iterator_find_custom):
10403 * gst/gstiterator.h:
10406 2005-10-28 Wim Taymans <wim@fluendo.com>
10408 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10409 (gst_base_transform_init):
10412 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
10413 An EOS event marks the queue as completely filled.
10415 2005-10-27 Wim Taymans <wim@fluendo.com>
10417 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10418 (gst_base_sink_do_sync), (gst_base_sink_get_position):
10419 Some more debugging.
10421 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
10422 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
10423 (gst_base_transform_event), (gst_base_transform_getrange),
10424 (gst_base_transform_chain):
10425 * gst/base/gstbasetransform.h:
10427 Protect transform and concurrent buffer alloc with a new lock.
10428 Try not to break ABI/API.
10430 2005-10-27 Wim Taymans <wim@fluendo.com>
10432 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10433 (gst_base_src_init), (gst_base_src_query),
10434 (gst_base_src_default_newsegment),
10435 (gst_base_src_configure_segment), (gst_base_src_do_seek),
10436 (gst_base_src_send_event), (gst_base_src_event_handler),
10437 (gst_base_src_pad_get_range), (gst_base_src_loop),
10438 (gst_base_src_unlock), (gst_base_src_default_negotiate),
10439 (gst_base_src_start), (gst_base_src_deactivate),
10440 (gst_base_src_activate_push), (gst_base_src_change_state):
10441 Move some stuff around and cleanup things.
10443 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
10445 * gst/base/gstbasesrc.c: (gst_base_src_query):
10446 Add missing break statements.
10448 2005-10-27 Wim Taymans <wim@fluendo.com>
10450 * check/gst/gstbin.c: (GST_START_TEST):
10451 An extra refcount is taken in basesrc.
10453 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
10454 (gst_base_src_get_range), (gst_base_src_pad_get_range),
10455 (gst_base_src_loop):
10456 Small cleanups, check for flushing after being unlocked from the
10457 LIVE_LOCK. take refcounts correctly (not yet everywhere).
10458 Don't send out EOS when going to READY.
10460 2005-10-27 Wim Taymans <wim@fluendo.com>
10462 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10463 (gst_base_sink_get_position):
10466 * gst/gstbin.c: (message_check), (bin_replace_message),
10467 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10468 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10469 (bin_query_duration_init), (bin_query_duration_fold),
10470 (bin_query_duration_done), (bin_query_generic_fold),
10472 * tools/gst-launch.c: (main):
10475 2005-10-26 Stefan Kost <ensonic@users.sf.net>
10477 * examples/controller/audio-example.c: (main):
10478 * examples/queue/queue.c: (event_loop):
10479 * gst/base/gstbasetransform.h:
10480 * gst/gstelement.c: (gst_element_send_event):
10482 * gst/gstpad.c: (gst_pad_send_event):
10485 changing log priority in error situations
10487 2005-10-25 Wim Taymans <wim@fluendo.com>
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 Some doc and debug updates.
10496 Cache previously requested query DURATION for speed. invalidate
10497 cached duration if element posts a DURATION message.
10499 2005-10-25 Wim Taymans <wim@fluendo.com>
10501 * docs/design/part-TODO.txt:
10504 * gst/gstbin.c: (message_check), (bin_replace_message),
10505 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10506 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10507 (bin_query_duration_init), (bin_query_duration_fold),
10508 (bin_query_duration_done), (bin_query_generic_fold),
10510 Handle SEGMENT_START/DONE messages correctly.
10511 More evolved query algorithm that handles duration queries
10514 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
10515 (gst_element_get_state_func), (gst_element_abort_state),
10516 (gst_element_commit_state), (gst_element_lost_state):
10517 Some more debugging.
10519 * gst/gstmessage.h:
10522 2005-10-25 Wim Taymans <wim@fluendo.com>
10524 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
10525 Don't use invalid stream_time.
10527 * gst/gstevent.c: (gst_event_new_newsegment):
10528 stream_time in newsegment cannot be undefined.
10530 2005-10-24 Wim Taymans <wim@fluendo.com>
10535 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10537 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
10539 2005-10-24 Stefan Kost <ensonic@users.sf.net>
10541 * docs/libs/tmpl/gstdparam.sgml:
10542 * docs/libs/tmpl/gstdplinint.sgml:
10543 * docs/libs/tmpl/gstdpman.sgml:
10544 * docs/libs/tmpl/gstdpsmooth.sgml:
10545 * docs/libs/tmpl/gstunitconvert.sgml:
10548 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
10553 === release 0.9.4 ===
10555 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
10558 releasing 0.9.4, "Tyrannosaurus Rex"
10560 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
10562 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10563 (gst_file_sink_get_current_offset):
10564 Use fseeko() and ftello() if available. When falling back on
10565 lseek() to get the current offset, fflush() first to make sure
10566 everything is up-to-date and we get the right offset.
10568 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
10570 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10571 * gst/base/gstbasesrc.c: (gst_base_src_loop):
10572 * gst/gsterror.c: (_gst_stream_errors_init):
10574 * gst/gstqueue.c: (gst_queue_loop):
10576 remove prematurely added error category and clean up the instances
10578 2005-10-21 Wim Taymans <wim@fluendo.com>
10580 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10581 (gst_base_sink_get_position), (gst_base_sink_query),
10582 (gst_base_sink_change_state):
10583 Simply set the right flag when going to playing, that's all
10584 we need to do instead of calling a function inside the object
10585 lock (that could take the lock as well and deadlock)
10587 2005-10-21 Wim Taymans <wim@fluendo.com>
10589 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
10590 (gst_base_src_loop):
10591 Don't warn, the peer element knows what to do best when
10592 the seek failed, it might try something else.
10594 2005-10-21 Wim Taymans <wim@fluendo.com>
10596 * gst/base/gstbasesrc.c: (gst_base_src_init),
10597 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
10600 2005-10-21 Wim Taymans <wim@fluendo.com>
10602 * docs/design/part-segments.txt:
10605 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10606 Correctly set caps, even on the subbufer.
10608 2005-10-21 Wim Taymans <wim@fluendo.com>
10610 * docs/gst/gstreamer-docs.sgml:
10611 * docs/gst/gstreamer-sections.txt:
10612 * gst/gstelement.h:
10615 * gst/gstmessage.h:
10618 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
10622 And 2% more doc coverage.
10624 2005-10-21 Andy Wingo <wingo@pobox.com>
10626 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
10627 position reporting.
10629 2005-10-20 Wim Taymans <wim@fluendo.com>
10631 * gst/gsterror.c: (gst_error_get_message):
10634 * gst/gststructure.c:
10639 2005-10-20 Wim Taymans <wim@fluendo.com>
10644 Another 1% more coverage.
10646 2005-10-20 Wim Taymans <wim@fluendo.com>
10648 * docs/gst/gstreamer-sections.txt:
10649 * gst/gstelement.c: (gst_element_get_state_func),
10650 (gst_element_abort_state), (gst_element_commit_state),
10651 (gst_element_lost_state):
10653 * gst/gstquery.c: (gst_query_set_position),
10654 (gst_query_parse_position), (gst_query_set_duration),
10655 (gst_query_parse_duration), (gst_query_new_convert):
10657 Yay! 1% more docs coverage.
10659 2005-10-20 Wim Taymans <wim@fluendo.com>
10662 * gst/gstquery.c: (gst_query_set_position),
10663 (gst_query_parse_position), (gst_query_set_duration),
10664 (gst_query_parse_duration), (gst_query_new_convert):
10666 * gst/gstutils.c: (gst_element_query_convert):
10668 Docs and consistency fixes.
10670 2005-10-20 Wim Taymans <wim@fluendo.com>
10676 2005-10-20 Wim Taymans <wim@fluendo.com>
10678 * gst/gstbin.c: (message_check), (bin_replace_message),
10679 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10680 (update_degree), (gst_bin_sort_iterator_next),
10681 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
10682 Reworked the message handling a bit, cache the messages instead of
10683 only the senders. alows us to do more in the future.
10685 2005-10-20 Wim Taymans <wim@fluendo.com>
10687 * docs/design/part-TODO.txt:
10690 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10691 (gst_base_sink_query):
10692 Don't use clock time to report position when in EOS.
10694 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
10696 * tools/gst-inspect.c: (print_interfaces),
10697 (print_element_properties_info), (print_element_info):
10698 Fix interface output with gst-inspect -a; don't print
10699 newlines after double/float properties.
10701 2005-10-20 Wim Taymans <wim@fluendo.com>
10703 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10704 (gst_base_sink_query):
10705 Speed up current position calculation.
10707 * gst/base/gstbasesrc.c: (gst_base_src_query),
10708 (gst_base_src_default_newsegment):
10709 Correctly set stream position in newsegment.
10711 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
10712 (update_degree), (gst_bin_sort_iterator_next),
10713 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
10714 * gst/gstmessage.c: (gst_message_new_custom):
10715 Clean up debugging info
10717 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
10718 (gst_queue_loop), (gst_queue_handle_src_query):
10721 2005-10-19 Wim Taymans <wim@fluendo.com>
10723 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10724 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10725 Fix query handling again.
10727 2005-10-19 Wim Taymans <wim@fluendo.com>
10729 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10730 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10731 * gst/base/gstbasesrc.c: (gst_base_src_query):
10732 * gst/elements/gstfilesink.c: (gst_file_sink_query):
10733 * gst/elements/gsttypefindelement.c:
10734 (gst_type_find_handle_src_query), (find_element_get_length),
10735 (gst_type_find_element_activate):
10738 * gst/gstquery.c: (gst_query_new_position),
10739 (gst_query_set_position), (gst_query_parse_position),
10740 (gst_query_new_duration), (gst_query_set_duration),
10741 (gst_query_parse_duration), (gst_query_set_segment),
10742 (gst_query_parse_segment):
10744 Bundling query position/duration is not a good idea since duration
10745 does not change much and we don't want to recalculate it for every
10746 position query, so they are separated again..
10747 Base value in segment query is not needed.
10749 * gst/gstqueue.c: (gst_queue_handle_src_query):
10750 * gst/gstutils.c: (gst_element_query_position),
10751 (gst_element_query_duration), (gst_pad_query_position),
10752 (gst_pad_query_duration):
10754 Updates for query API change.
10755 Added some docs here and there.
10757 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
10759 * check/gst/gstbin.c: (GST_START_TEST):
10760 * check/gst/gstghostpad.c: (GST_START_TEST):
10761 * check/pipelines/cleanup.c: (GST_START_TEST):
10762 wait on thread to die so we can check refcount correctly
10764 2005-10-18 Wim Taymans <wim@fluendo.com>
10766 * check/pipelines/stress.c: (GST_START_TEST):
10767 Make check a little more time consuming.
10769 2005-10-18 Wim Taymans <wim@fluendo.com>
10771 * check/Makefile.am:
10772 * check/pipelines/stress.c: (GST_START_TEST),
10773 (simple_launch_lines_suite), (main):
10774 Small state change torture test.
10776 * docs/design/part-states.txt:
10777 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10778 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10779 (gst_base_sink_change_state):
10780 Never take state lock from streaming thread, clean up ugly
10781 hacks. Unfortunatly core does not yet support nice ways to
10782 async commit state.
10784 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10786 Start state recalc if a STATE_DIRTY message is posted, but only
10787 on the toplevel bin.
10789 * gst/gstelement.c: (gst_element_sync_state_with_parent),
10790 (gst_element_get_state_func), (gst_element_abort_state),
10791 (gst_element_commit_state), (gst_element_lost_state),
10792 (gst_element_set_state_func), (gst_element_change_state):
10793 * gst/gstelement.h:
10794 State variables are now protected with the LOCK, the state
10795 lock is only used to serialize _set_state().
10797 2005-10-18 Wim Taymans <wim@fluendo.com>
10799 * check/gst/gstbin.c: (GST_START_TEST):
10800 * check/gst/gstmessage.c: (GST_START_TEST):
10801 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10802 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10804 * gst/gstelement.c: (gst_element_abort_state),
10805 (gst_element_commit_state), (gst_element_lost_state):
10806 * gst/gstmessage.c: (gst_message_new_state_changed),
10807 (gst_message_new_state_dirty), (gst_message_new_segment_start),
10808 (gst_message_new_segment_done), (gst_message_new_duration),
10809 (gst_message_parse_state_changed),
10810 (gst_message_parse_segment_start),
10811 (gst_message_parse_segment_done), (gst_message_parse_duration):
10812 * gst/gstmessage.h:
10813 * tools/gst-launch.c: (event_loop):
10814 Seriously, this is better than a previous commit as we only need
10815 to notify the fact that an element changed state in a streaming
10816 thread, marking the state of the parents dirty, hence the
10817 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10820 2005-10-18 Wim Taymans <wim@fluendo.com>
10822 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10823 (gst_bin_recalc_func):
10824 * gst/gstelement.c: (gst_element_set_clock),
10825 (gst_element_abort_state), (gst_element_lost_state):
10826 Cleanups, prepare for state change fixes.
10828 2005-10-18 Wim Taymans <wim@fluendo.com>
10831 * gst/gstelement.c: (gst_element_class_init),
10832 (gst_element_set_state), (gst_element_set_state_func):
10833 * gst/gstelement.h:
10834 Pending ABI changes.
10835 GThreadPool in GstBinClass to monitor async state changes.
10836 state_cookie in GstElement to detect concurrent gst/set state.
10837 set_state is now virtual too in case a very complicated element
10838 has to be constructed.
10840 2005-10-18 Wim Taymans <wim@fluendo.com>
10842 * check/gst/gstbin.c: (GST_START_TEST):
10843 * check/gst/gstmessage.c: (GST_START_TEST):
10844 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10845 * gst/gstbin.c: (bin_bus_handler):
10846 * gst/gstelement.c: (gst_element_commit_state),
10847 (gst_element_lost_state):
10848 * gst/gstmessage.c: (gst_message_new_state_changed),
10849 (gst_message_new_segment_start), (gst_message_new_segment_done),
10850 (gst_message_new_duration), (gst_message_parse_state_changed),
10851 (gst_message_parse_segment_start),
10852 (gst_message_parse_segment_done), (gst_message_parse_duration):
10853 * gst/gstmessage.h:
10854 * tools/gst-launch.c: (event_loop):
10855 Make messages future proof.
10856 state-change gets a flag if it was a message comming from the
10858 segment-start/stop can also be specified in other formats.
10859 A message to notify an app that a pipeline changed playback
10861 Also fix a GstMessage leak in -launch
10863 2005-10-18 Andy Wingo <wingo@pobox.com>
10865 * gst/gstelement.c (gst_element_dispose): More helpful message.
10867 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
10869 reviewed by: <delete if not using a buddy>
10871 * common/gtk-doc.mak:
10873 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
10875 * gst/gstregistry.c: (gst_registry_scan_path_level):
10876 unref a plug-in we get that was already initialized
10878 2005-10-18 Stefan Kost <ensonic@users.sf.net>
10880 * docs/gst/gstreamer-sections.txt:
10881 * docs/libs/gstreamer-libs-sections.txt:
10882 * gst/gstelement.h:
10883 add new api entries
10884 hide internal macro
10886 2005-10-17 Andy Wingo <wingo@pobox.com>
10888 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
10891 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
10893 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
10895 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
10896 (gst_element_get_state_func): Better debug message.
10897 (gst_element_commit_state): s/INFO/DEBUG/.
10898 (gst_element_lost_state, gst_element_change_state):
10900 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
10901 (gst_message_new_custom): s/INFO/LOG/.
10903 2005-10-17 Michael Smith <msmith@fluendo.com>
10905 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10906 Check if end time is valid using end time, not start time.
10908 2005-10-17 Stefan Kost <ensonic@users.sf.net>
10910 * check/gst-libs/controller.c: (GST_START_TEST),
10911 (gst_controller_suite):
10912 * libs/gst/controller/gstcontroller.c:
10913 (gst_controlled_property_set_interpolation_mode):
10914 * libs/gst/controller/gstcontroller.h:
10915 * libs/gst/controller/gstinterpolation.c:
10916 * testsuite/controller/.cvsignore:
10917 * testsuite/controller/Makefile.am:
10918 * testsuite/controller/interpolator.c:
10919 merge controller testsuites
10921 remove mem-chunk from docs
10923 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
10925 * gst/gstmemchunk.c:
10926 * gst/gstmemchunk.h:
10927 * gst/gsttrashstack.c:
10928 * gst/gsttrashstack.h:
10929 out. get out. you're fired. to the Attic !
10931 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
10933 * gst/gstcaps.c: (gst_caps_intersect):
10934 fix signedness issues in a (hopefully) correct way
10935 * gst/gstelement.c: (gst_element_pads_activate):
10937 * gst/gstobject.c: (gst_object_set_parent):
10940 2005-10-17 Julien MOUTTE <julien@moutte.net>
10942 * gst/gstvalue.h: Fix prototypes.
10944 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10946 * docs/gst/gstreamer-sections.txt:
10947 * gst/gst.c: (gst_version_string):
10949 * gst/gstversion.h.in:
10950 * win32/common/libgstreamer.def:
10951 add gst_version_string ()
10953 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10957 * gst/gst.c: (init_post):
10958 * win32/common/config.h.in:
10960 * gst/gstcaps.c: (gst_caps_intersect):
10961 use gint64, the range could be bigger than a guint
10963 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10966 document potential problem in 2038
10968 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10970 * gst/gstcaps.c: (gst_caps_intersect):
10971 Fix guint j diving under 0
10973 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10976 * win32/common/config.h:
10977 * win32/common/config.h.in:
10978 check for process.h, declares getpid() on Windows
10980 include process.h if we have it
10981 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
10982 * gst/gstmemchunk.h:
10983 fix signedness issues
10984 * win32/common/libgstreamer.def:
10987 2005-10-16 Julien MOUTTE <julien@moutte.net>
10989 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
10990 fix. Because of unsigned ints, caps intersection was going nuts and
10991 trying to access structures with G_MAXUINT index. That fixes
10992 videotestsrc ! ffmpegcolorspace ! fakesink
10993 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
10996 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10999 use the gettext macro
11000 * gst/elements/gstelements.c:
11002 * gst/indexers/gstindexers.c:
11003 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
11004 * win32/common/config.h:
11006 * win32/common/config.h.in:
11007 add the template to generate config.h
11008 * win32/common/gstenumtypes.c:
11009 * win32/common/gstversion.h:
11012 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
11014 * gst/gst.c: (gst_version):
11015 * gst/gstversion.h.in:
11018 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
11021 Oops, add missing closing bracket.
11023 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11026 use common m4's for argument checking
11028 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
11030 * docs/gst/gstreamer-sections.txt:
11032 Add GST_EVENT_TYPE_NAME() macro.
11034 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11037 * gst/gstpluginfeature.c:
11039 privatize more symbols
11041 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11044 add srcdir, builddir includes to GST_ALL_CFLAGS, since
11045 everything that uses GStreamer API should have the includes
11047 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11049 * docs/gst/gstreamer-sections.txt:
11050 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
11052 give each value a _get_type, removes the DATA exports
11054 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11058 remove _gst_registry_auto_load, not used anymore
11059 * gst/gstbin.c: (gst_bin_get_type):
11061 * gst/gstelement.c: (gst_element_get_type):
11062 * gst/gstelement.h:
11063 * gst/gstobject.c: (gst_object_get_type):
11065 * gst/gstpad.c: (gst_pad_get_type):
11067 make _get_type functions similar, fixes data export from library
11069 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11072 correctly make conditionals
11073 * gst/elements/Makefile.am:
11074 * gst/elements/gstelements.c:
11075 fix typo causing fdsrc not to build
11077 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11079 * testsuite/Makefile.am:
11080 * testsuite/bytestream/.cvsignore:
11081 * testsuite/bytestream/Makefile.am:
11082 * testsuite/bytestream/filepadsink.c:
11083 * testsuite/bytestream/gstbstest.c:
11084 * testsuite/bytestream/test1.c:
11085 * testsuite/bytestream/testfile1:
11086 * testsuite/caps/normalisation.c:
11087 * testsuite/caps/random.c: (main):
11088 * testsuite/cleanup/.cvsignore:
11089 * testsuite/cleanup/Makefile.am:
11090 * testsuite/cleanup/cleanup1.c:
11091 * testsuite/cleanup/cleanup2.c:
11092 * testsuite/cleanup/cleanup3.c:
11093 * testsuite/cleanup/cleanup4.c:
11094 * testsuite/cleanup/cleanup5.c:
11095 * testsuite/controller/interpolator.c:
11096 * testsuite/debug/printf_extension.c: (main):
11097 * testsuite/elements/tee.c:
11098 * testsuite/negotiation/.cvsignore:
11099 * testsuite/negotiation/Makefile.am:
11100 * testsuite/negotiation/pad_link.c:
11101 * testsuite/pad/Makefile.am:
11102 * testsuite/pad/chainnopull.c:
11103 * testsuite/pad/getnopush.c:
11104 * testsuite/pad/link.c:
11105 * testsuite/refcounting/sched.c: (create_pipeline):
11106 * testsuite/registry/Makefile.am:
11107 * testsuite/registry/gst-print-formats.c:
11108 * testsuite/schedulers/.cvsignore:
11109 * testsuite/schedulers/142183-2.c:
11110 * testsuite/schedulers/142183.c:
11111 * testsuite/schedulers/143777-2.c:
11112 * testsuite/schedulers/143777.c:
11113 * testsuite/schedulers/147713.c:
11114 * testsuite/schedulers/147819.c:
11115 * testsuite/schedulers/147894-2.c:
11116 * testsuite/schedulers/147894.c:
11117 * testsuite/schedulers/Makefile.am:
11118 * testsuite/schedulers/group_link.c:
11119 * testsuite/schedulers/queue_link.c:
11120 * testsuite/schedulers/relink.c:
11121 * testsuite/schedulers/unlink.c:
11122 * testsuite/schedulers/unref.c:
11123 * testsuite/schedulers/useless_iteration.c:
11124 * testsuite/states/bin.c:
11125 clean out/remove some stuff from the testsuite directories
11127 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11130 check for some headers
11131 * gst/elements/Makefile.am:
11132 * gst/elements/gstelements.c:
11133 don't compile fdsrc without sys/socket.h
11134 * gst/indexers/Makefile.am:
11135 * gst/indexers/gstindexers.c: (plugin_init):
11136 don't compile fileindex without mmap
11138 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11145 * check/Makefile.am:
11146 * docs/gst/Makefile.am:
11147 * examples/helloworld/Makefile.am:
11149 * gst/base/Makefile.am:
11150 * gst/check/Makefile.am:
11151 * gst/elements/Makefile.am:
11152 * gst/indexers/Makefile.am:
11153 * gst/parse/Makefile.am:
11154 * libs/gst/controller/Makefile.am:
11155 * libs/gst/dataprotocol/Makefile.am:
11156 * examples/helloworld/helloworld.c: (event_loop):
11157 compile fixes, though it's not being compiled currently
11159 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
11161 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
11162 Add some simple tests for the new taglist date API.
11164 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
11166 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
11167 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
11168 Beautify 'last-message' output: print 'none' for buffer timestamps
11169 and durations if none is set; improve alignment with next messages.
11171 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
11173 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
11174 * gst/gstpluginfeature.h:
11175 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
11176 * gst/gstregistry.h:
11177 * docs/gst/gstreamer-sections.txt:
11178 Add new API to check plugin feature version requirements.
11180 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
11181 Some basic tests for the above.
11183 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11185 * gst/gststructure.c: (gst_structure_to_string):
11186 guard against NULL printf - happens when for example
11187 a message structure with GstClock gets serialized
11189 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
11191 * gst/base/gstcollectpads.c: (gst_collectpads_event):
11192 Fix presumable copy'n'pasto.
11194 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11196 * gst/elements/gstfakesrc.h:
11197 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
11198 * gst/elements/gsttypefindelement.c:
11199 fix some signedness
11200 * gst/elements/gstfilesink.c: (gst_file_sink_render):
11201 I wonder if this could actually write +2GB files before
11203 2005-10-13 Andy Wingo <wingo@pobox.com>
11205 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
11206 Fix Timmeke Waymans bug.
11207 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
11208 string of the proper length to gst_caps_from_string. There's a
11209 potential for, before this fix, that this could cause someone
11210 connecting over the network to cause a segfault if the payload is
11211 not NUL-terminated.
11213 2005-10-13 Stefan Kost <ensonic@users.sf.net>
11215 * docs/design/draft-push-pull.txt:
11216 * docs/design/part-overview.txt:
11217 * docs/random/TODO-pre-0.9:
11218 * docs/random/old/ChangeLog.gstreamer:
11219 * gst/base/gstpushsrc.c:
11223 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11225 * gst/glib-compat.c: (gst_flags_get_first_value):
11226 * gst/glib-compat.h:
11227 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
11228 (gst_value_compare_double), (gst_value_serialize_flags):
11229 GLib 2.6 g_flags_get_first_value has a bug that triggers an
11232 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11234 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11235 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
11237 * tools/gst-launch.c: (event_loop):
11238 print out clock nicely
11240 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
11242 * docs/gst/gstreamer-sections.txt:
11243 * gst/gsttaglist.h:
11244 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
11245 (gst_tag_list_get_date_index):
11246 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
11247 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
11249 2005-10-13 Julien MOUTTE <julien@moutte.net>
11251 * gst/base/gstcollectpads.c: (gst_collectpads_event),
11252 (gst_collectpads_chain):
11253 * gst/base/gstcollectpads.h: Handle newsegment and store informations
11256 2005-10-13 Stefan Kost <ensonic@users.sf.net>
11258 * docs/gst/gstreamer-sections.txt:
11261 * tools/gst-inspect.c: (main):
11262 * tools/gst-launch.c: (main):
11263 * tools/gst-run.c: (main):
11264 * tools/gst-xmlinspect.c: (main):
11265 fix GOption context leaks
11268 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11272 * win32/common/config.h:
11274 * win32/vs6/grammar.dsp:
11275 * win32/vs6/libgstelements.dsp:
11276 * win32/vs6/libgstreamer.dsp:
11279 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
11281 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11282 * gst/base/gstbasesrc.c: (gst_base_src_query):
11283 fix more guint64<->gdouble conversions
11285 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
11288 add win32-update target
11289 * win32/common/gstconfig.h:
11290 * win32/common/gstenumtypes.c:
11291 * win32/common/gstenumtypes.h:
11292 * win32/common/gstversion.h:
11293 add files that visual studio can't generate
11295 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
11298 add a win32-update target
11301 2005-10-12 Wim Taymans <wim@fluendo.com>
11303 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11304 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
11305 * gst/gstelement.c: (gst_element_commit_state),
11306 (gst_element_set_state):
11307 Protect flags with proper lock.
11308 unref provided cached clock in dispose.
11310 2005-10-12 Stefan Kost <ensonic@users.sf.net>
11313 * gst/gstminiobject.h:
11315 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
11316 removed unused flags from miniobject
11319 2005-10-12 Wim Taymans <wim@fluendo.com>
11321 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
11322 (gst_file_sink_event), (gst_file_sink_render):
11323 Flush before seeking.
11325 2005-10-12 Andy Wingo <wingo@pobox.com>
11327 * gst/gst.c (gst_init_check): Ignore unknown options, as has
11328 always been the case.
11330 2005-10-12 Stefan Kost <ensonic@users.sf.net>
11332 * check/gst/gstbin.c: (GST_START_TEST):
11333 * docs/gst/gstreamer-sections.txt:
11334 * gst/base/gstbasesink.c: (gst_base_sink_init):
11335 * gst/base/gstbasesrc.c: (gst_base_src_init),
11336 (gst_base_src_get_range), (gst_base_src_check_get_range),
11337 (gst_base_src_start), (gst_base_src_stop):
11338 * gst/base/gstbasesrc.h:
11339 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
11340 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11341 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
11345 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
11347 * gst/gstelement.c: (gst_element_is_locked_state),
11348 (gst_element_set_locked_state), (gst_element_commit_state),
11349 (gst_element_set_state):
11350 * gst/gstelement.h:
11351 * gst/gstindex.c: (gst_index_init):
11353 * gst/gstminiobject.h:
11354 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
11355 (gst_object_set_parent):
11357 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
11358 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
11360 * gst/gstpadtemplate.h:
11361 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
11362 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
11363 * gst/gstpipeline.h:
11364 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11365 (gst_file_index_commit):
11366 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
11367 * testsuite/pad/link.c: (gst_test_src_init),
11368 (gst_test_filter_init), (gst_test_sink_init):
11369 * testsuite/states/locked.c: (main):
11370 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
11371 moved bitshift from macro to enum definition
11373 2005-10-12 Wim Taymans <wim@fluendo.com>
11375 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
11376 * gst/elements/gstfilesink.c: (gst_file_sink_event),
11377 (gst_file_sink_render):
11378 Some more debugging info.
11380 2005-10-12 Wim Taymans <wim@fluendo.com>
11382 * docs/design/part-states.txt:
11383 * tools/gst-launch.c: (main):
11385 Revert non-intentional change.
11387 2005-10-12 Wim Taymans <wim@fluendo.com>
11389 * check/gst/gstbin.c: (GST_START_TEST):
11390 * check/gst/gstelement.c: (GST_START_TEST):
11391 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
11392 * check/gst/gstghostpad.c: (GST_START_TEST):
11393 * check/gst/gstpipeline.c: (GST_START_TEST):
11394 * check/pipelines/simple_launch_lines.c: (run_pipeline):
11395 * check/states/sinks.c: (GST_START_TEST):
11396 * gst/elements/gsttypefindelement.c: (stop_typefinding):
11397 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11398 (gst_bin_remove_func), (gst_bin_get_state_func),
11399 (gst_bin_recalc_state), (gst_bin_change_state_func),
11401 * gst/gstelement.c: (gst_element_get_state_func),
11402 (gst_element_get_state), (gst_element_abort_state),
11403 (gst_element_commit_state), (gst_element_set_state),
11404 (gst_element_change_state), (gst_element_change_state_func):
11405 * gst/gstelement.h:
11406 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
11407 (gst_pipeline_provide_clock_func):
11408 * gst/gstutils.c: (gst_element_link_pads_filtered):
11409 * tools/gst-launch.c: (main):
11410 * tools/gst-typefind.c: (main):
11411 Use GstClockTime in _get_state() instead of GTimeVal.
11412 Remove old code in gstutils.c
11414 2005-10-12 Andy Wingo <wingo@pobox.com>
11416 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
11419 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
11420 there is no task. Shouldn't affect any code, as nothing in our
11421 plugins checks this return value.
11422 (gst_pad_stop_task): Also take the stream lock if the pad has no
11423 task. Docs updated.
11425 2005-10-12 Wim Taymans <wim@fluendo.com>
11427 * gst/gstpad.c: (pre_activate), (post_activate),
11428 (gst_pad_activate_pull), (gst_pad_activate_push):
11429 Cleanup activation code. Reset old state if
11432 2005-10-12 Wim Taymans <wim@fluendo.com>
11434 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11435 (gst_base_sink_change_state):
11436 No need to prerol after receiving EOS.
11438 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
11439 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
11440 * gst/elements/gstidentity.c: (gst_identity_event):
11441 Print events more verbosely.
11443 2005-10-12 Wim Taymans <wim@fluendo.com>
11445 * check/Makefile.am:
11446 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
11447 * check/states/sinks2.c:
11448 Moved sinks2 testcode in sinks check.
11450 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11451 (gst_bin_remove_func), (gst_bin_recalc_state),
11452 (gst_bin_change_state_func), (bin_bus_handler):
11453 Fix potential race condition when _get_state() iterated over an
11454 ASYNC element right before it posted a state completion.
11457 Do proper cast here.
11459 * gst/gstevent.c: (gst_event_new_newsegment),
11460 (gst_event_parse_newsegment):
11461 A playback rate of 0.0 is not allowed.
11463 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11465 * win32/common/config.h:
11466 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
11467 (_trewinddir), (_ttelldir), (_tseekdir):
11468 * win32/common/dirent.h:
11469 * win32/common/gtchar.h:
11470 * win32/common/libgstbase.def:
11471 * win32/common/libgstreamer.def:
11472 * win32/vs6/grammar.dsp:
11473 * win32/vs6/gst_inspect.dsp:
11474 * win32/vs6/gst_launch.dsp:
11475 * win32/vs6/gstreamer.dsw:
11476 * win32/vs6/libgstbase.dsp:
11477 * win32/vs6/libgstelements.dsp:
11478 * win32/vs6/libgstreamer.dsp:
11479 Visual Studio 6 project files, and a new common directory.
11482 2005-10-11 Wim Taymans <wim@fluendo.com>
11484 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11485 (gst_base_sink_do_sync), (gst_base_sink_query),
11486 (gst_base_sink_change_state):
11487 * gst/base/gstbasesink.h:
11488 Correctly parse newsegment info.
11490 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11492 * gst/gst.c: (init_post):
11493 split plugin paths correctly
11495 2005-10-11 Wim Taymans <wim@fluendo.com>
11497 * check/gst/gstevent.c: (GST_START_TEST):
11498 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11499 (gst_base_sink_change_state):
11500 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
11501 * gst/base/gstbasetransform.c: (gst_base_transform_event):
11502 * gst/elements/gstfilesink.c: (gst_file_sink_event):
11503 * gst/gstevent.c: (gst_event_new_newsegment),
11504 (gst_event_parse_newsegment):
11506 Added extra flag to newsegment for future API freeze.
11507 Updated check and base elements.
11509 2005-10-11 Julien MOUTTE <julien@moutte.net>
11511 * gst/base/gstcollectpads.c: (gst_collectpads_init),
11512 (gst_collectpads_add_pad), (gst_collectpads_pop),
11513 (gst_collectpads_event), (gst_collectpads_chain):
11514 * gst/base/gstcollectpads.h: Handle EOS correctly.
11516 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11518 * tools/gst-launch.c: (main):
11519 more null protecting
11521 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11523 * gst/gst-i18n-lib.h:
11524 check for ENABLE_NLS, not GETTEXT_PACKAGE
11525 * gst/gstregistry.c: (gst_registry_add_plugin),
11526 (gst_registry_scan_path_level),
11527 (_gst_registry_remove_cache_plugins):
11528 protect possibly NULL strings
11529 * gst/parse/types.h:
11530 config.h already included before
11531 * tools/gst-inspect.c: (main):
11532 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
11533 check for ENABLE_NLS, not GETTEXT_PACKAGE
11534 * tools/gst-launch.c: (main):
11535 check for ENABLE_NLS, not GETTEXT_PACKAGE
11537 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11540 if we don't have glib, fail before testing 2.8
11541 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
11542 fix a leak, should fix plugins-base testsuite
11544 2005-10-11 Andy Wingo <wingo@pobox.com>
11546 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
11547 take the mode we're going to as an arg. Go head and set the mode
11548 and flushing flags now, so that if the activate function starts a
11549 thread all the flags will be in the right state.
11550 (post_activate): Renamed also. Just handle making sure streaming
11551 finishes for the deactivation case, and setting the deactivated
11553 (gst_pad_set_active): Complain loudly if deactivation fails.
11554 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
11555 (gst_pad_activate_push): Adapt to pre/post_activate changes,
11556 remove the terrible hack.
11558 2005-10-11 Wim Taymans <wim@fluendo.com>
11560 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11561 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
11562 (gst_bin_recalc_state), (gst_bin_change_state_func),
11563 (gst_bin_dispose), (bin_bus_handler):
11565 Prepare to make current EOS message queue more generic.
11568 * gst/gstevent.c: (gst_event_new_newsegment),
11569 (gst_event_parse_newsegment):
11571 Rename base to stream_time.
11573 * gst/gstmessage.h:
11576 2005-10-11 Wim Taymans <wim@fluendo.com>
11578 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11579 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
11580 (gst_bin_change_state_func), (bin_bus_handler):
11582 Work on proper clock selection.
11584 2005-10-11 Edward Hervey <edward@fluendo.com>
11586 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
11587 * libs/gst/controller/gstcontroller.h:
11588 Added GList* version of _remove_properties() in order to be able to wrap
11591 2005-10-11 Wim Taymans <wim@fluendo.com>
11593 * docs/design/part-states.txt:
11596 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
11597 (gst_bin_change_state_func), (bin_bus_handler):
11598 Doc updates. Don't distribute the same clock over and over again.
11604 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
11605 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
11606 (gst_pad_send_event):
11608 Make probe emission threadsafe again.
11609 Register quarks and move _get_name() from utils.
11612 * gst/gstpipeline.c: (gst_pipeline_class_init),
11613 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11614 Only redistribute the clock of it changed.
11616 * gst/gstsystemclock.h:
11621 Moved the _flow_get_name() to GstPad.
11623 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11625 * check/gst-libs/gdp.c: (GST_START_TEST):
11626 * check/gst/gstcaps.c: (GST_START_TEST):
11627 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
11628 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
11629 (gst_dp_packet_from_caps):
11630 fix more valgrind warnings before turning up the heat
11632 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11634 * gst/parse/grammar.y:
11635 some cleanup before the hacking
11637 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11639 * gst/base/gstbasesrc.c: (gst_base_src_query):
11641 * gst/gstutils.c: (gst_guint64_to_gdouble),
11642 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
11644 externalize, basesrc uses it
11645 obviously the implementation needs testing
11647 2005-10-10 Wim Taymans <wim@fluendo.com>
11649 * tests/sched/Makefile.am:
11650 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
11651 (make_pipeline3), (make_pipeline4), (print_elem), (main):
11653 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11655 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
11656 apparently converting from guint64 to double is not implemented
11659 2005-10-10 Wim Taymans <wim@fluendo.com>
11661 * check/Makefile.am:
11662 * check/generic/states.c: (GST_START_TEST):
11663 * check/gst/gstbin.c: (GST_START_TEST):
11664 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11665 * check/states/sinks.c: (GST_START_TEST):
11666 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
11668 Check fixes, use API as stated in design docs, remove hacks.
11670 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11671 (gst_base_sink_change_state):
11672 Catch stopping our task while we're shutting down.
11674 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
11675 (gst_bin_remove_func), (gst_bin_get_state_func),
11676 (gst_bin_recalc_state), (gst_bin_change_state_func),
11679 * gst/gstelement.c: (gst_element_init),
11680 (gst_element_get_state_func), (gst_element_abort_state),
11681 (gst_element_commit_state), (gst_element_lost_state),
11682 (gst_element_set_state), (gst_element_change_state),
11683 (gst_element_change_state_func):
11684 * gst/gstelement.h:
11685 New state change algorithm (see #318116)
11687 * gst/gstpipeline.c: (gst_pipeline_class_init),
11688 (gst_pipeline_init), (gst_pipeline_set_property),
11689 (gst_pipeline_get_property), (do_pipeline_seek),
11690 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11691 * gst/gstpipeline.h:
11692 Remove crude state change hacks.
11695 Remove crude hacks.
11697 * tools/gst-launch.c: (main):
11698 Fixes for state change. Needs some more work to fully use the
11701 2005-10-10 Andy Wingo <wingo@pobox.com>
11703 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
11705 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
11706 this flag, but it's not even in GLib 2.6. Odd. Hack around the
11709 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11711 * gst/gstiterator.c: (gst_iterator_new):
11712 Fix my previous commit: GTypes passed to gst_iterator_new()
11713 can be fundamental types.
11715 2005-10-10 Wim Taymans <wim@fluendo.com>
11717 * gst/gstelement.c: (gst_element_iterate_pad_list),
11718 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
11719 (gst_element_iterate_sink_pads):
11720 Use src/sink pads lists for the respective iterators instead
11723 2005-10-10 Andy Wingo <wingo@pobox.com>
11725 Merged in popt removal + GOption addition patch from Ronald, bug
11728 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
11729 GstElement macros around, remove popt-related symbols, add goption
11732 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
11734 * docs/gst/Makefile.am:
11735 * docs/libs/Makefile.am: No POPT_CFLAGS.
11737 * examples/manual/Makefile.am:
11738 * docs/manual/basics-init.xml: Doc updates with an example.
11740 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11741 (gst_init), (parse_one_option), (parse_goption_arg):
11742 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
11743 bit of hand merging and debugging to get the GOption stuff working
11746 * tests/Makefile.am:
11747 * tools/Makefile.am:
11748 * tools/gst-inspect.c: (main):
11749 * tools/gst-launch.c: (main):
11750 * tools/gst-run.c: (main):
11751 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
11753 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11755 * gst/gstiterator.c: (gst_iterator_new):
11756 Add assertions to make sure passed GType is likely to really
11757 be a GType (as the compiler won't catch it if the size and
11758 GType arguments get mixed up, see #318447).
11760 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
11762 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11764 * gst/gstbin.c: (gst_bin_iterate_sorted):
11765 Pass GType and size arguments to gst_iterator_new() in the right
11766 order (maybe we should make _new() take the GType as first argument
11767 just like _new_list()?) (#318447).
11770 2005-10-10 Wim Taymans <wim@fluendo.com>
11772 * gst/gstelement.c: (gst_element_finalize):
11773 And free the GStaticRecMutex too
11775 2005-10-10 Andy Wingo <wingo@pobox.com>
11777 * gst/gstelement.c (gst_element_init, gst_element_finalize):
11778 Allocate and free the mutex properly.
11780 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11782 (GstElement): The state_lock is now recursive. Rebuild your
11783 plugins, suckers. Old macros adapted.
11785 * docs/gst/gstreamer-sections.txt: Doc updates.
11788 * gst/gstutils.c (g_static_rec_cond_timed_wait)
11789 (g_static_rec_cond_wait): Ported from state changes patch, while
11790 we wait on bug #317802 to be solved in a well-distributed GLib.
11792 * gst/gstelement.c (gst_element_change_state_func): Renamed from
11793 gst_element_change_state, variable name changes.
11794 (gst_element_change_state): Split out of gst_element_set_state in
11795 preparation for the state change merge. Doesn't pay attention to
11796 the 'transition' argument.
11797 (gst_element_set_state): Updates, hopefully purely cosmetic.
11798 (gst_element_sync_state_with_parent): MT-safety. Ported from the
11799 state change patch.
11800 (gst_element_get_state_func): Renamed from get_state, cosmetic
11803 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11805 * gst/elements/gstelements.c:
11806 * win32/GStreamer.vcproj:
11808 * win32/dirent.c: (_tseekdir):
11809 * win32/gst-inspect.vcproj:
11810 * win32/gst-launch.vcproj:
11811 * win32/gstconfig.h:
11812 * win32/gstelements.vcproj:
11813 * win32/gstenumtypes.c: (gst_object_flags_get_type):
11814 * win32/gstreamer.def:
11815 * win32/msvc71.sln:
11816 updates for the win32 build (patch from Sebastien Moutte)
11818 2005-10-10 Andy Wingo <wingo@pobox.com>
11820 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11821 gst_bin_get_state, cleaned up (but no logic changes).
11822 (bin_element_is_sink): Comment updates.
11823 (sink_iterator_filter): Remove needless cast.
11824 (gst_bin_iterate_sinks): Doc update.
11825 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11826 cleaned up (but no logic changes).
11828 * check/states/sinks.c (test_src_sink): Cleanups from the state
11830 (test_livesrc_sink): Sync on the state.
11832 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11833 the state change patch.
11835 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11838 * check/gst/gstbin.c: Merge in some style fixes and additional
11839 checks from Wim's state change patch.
11841 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11843 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11844 (gst_type_find_helper):
11845 Check whether we have the requested data already in our list of
11846 cached buffers before pulling a new buffer; also make the buffer
11847 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11849 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11854 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11855 don't use long long, it's not portable. Replacing with
11856 gint64 seems to work; let's hope no skeletons fall out of the closet.
11858 2005-10-10 Andy Wingo <wingo@pobox.com>
11860 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
11862 2005-10-09 Stefan Kost <ensonic@users.sf.net>
11864 * docs/gst/gstreamer-sections.txt:
11869 * gst/gstmessage.c: (gst_message_parse_state_changed):
11872 more docs, fix compilation
11874 2005-10-09 Philippe Khalaf <burger@speedy.org>
11875 * gst/gstmessage.c:
11876 Fixed a few forgotten variables on previous commit
11878 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
11880 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11881 Fix evil typefind crasher: getrange() might return a short
11882 buffer at the end of a file, but gst_type_find_peek() must
11883 either return the full data as requested or NULL, but
11884 never a short buffer.
11886 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
11888 * gst/gstmessage.c: (gst_message_new_state_changed),
11889 (gst_message_parse_state_changed):
11890 * gst/gstmessage.h:
11891 don't use "new", it's a C++ keyword
11893 2005-10-08 Wim Taymans <wim@fluendo.com>
11895 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
11896 * gst/gstelement.c: (gst_element_post_message):
11897 * gst/gstpipeline.c: (gst_pipeline_change_state):
11898 Small docs and debug updates.
11900 2005-10-08 Stefan Kost <ensonic@users.sf.net>
11902 * docs/gst/gstreamer-sections.txt:
11903 * gst/gstelementfactory.c:
11905 * gst/gsttaglist.c:
11908 2005-10-08 Wim Taymans <wim@fluendo.com>
11910 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
11911 (gst_bin_dispose), (bin_bus_handler):
11912 Fix typos, add comments.
11913 Clear EOS list when going to PAUSED from any direction and do it
11914 in a threadsafe way.
11915 Get base time in a threadsafe way too.
11916 Fix confusing debug in the change_state function.
11917 Various other small cleanups.
11919 * gst/gstelement.c: (gst_element_post_message):
11920 Fix very verbose bus posting code.
11922 * gst/gstpipeline.c: (gst_pipeline_class_init),
11923 (gst_pipeline_set_property), (gst_pipeline_get_property),
11924 (gst_pipeline_change_state):
11925 Small ARG_ -> PROP_ cleanup
11927 2005-10-08 Wim Taymans <wim@fluendo.com>
11929 * gst/gstbin.c: (is_eos), (bin_bus_handler):
11930 Do a less CPU demanding EOS check because we can.
11932 2005-10-08 Wim Taymans <wim@fluendo.com>
11934 * libs/gst/dataprotocol/dataprotocol.c:
11935 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11936 (gst_dp_packet_from_event):
11937 * libs/gst/dataprotocol/dataprotocol.h:
11938 * libs/gst/dataprotocol/dp-private.h:
11939 It's about time we bump the version number.
11940 Since event types don't fit in the guint8 anymore describing
11941 the payload type, make payload type 16 bits wide.
11943 2005-10-08 Wim Taymans <wim@fluendo.com>
11945 * docs/design/part-TODO.txt:
11946 * docs/design/part-clocks.txt:
11947 * docs/design/part-events.txt:
11948 * docs/design/part-gstbin.txt:
11949 * docs/design/part-gstelement.txt:
11950 * docs/design/part-gstpipeline.txt:
11951 * docs/design/part-live-source.txt:
11952 * docs/design/part-messages.txt:
11953 * docs/design/part-overview.txt:
11954 * docs/design/part-states.txt:
11957 2005-10-08 Wim Taymans <wim@fluendo.com>
11961 Fix event quark registration.
11962 Add some space between events so we can insert them in the
11965 2005-10-08 Wim Taymans <wim@fluendo.com>
11967 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11968 (gst_base_sink_handle_buffer):
11969 Better log message.
11972 * gst/gstelement.h:
11975 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11976 (gst_queue_set_property), (gst_queue_get_property):
11978 Remove old unused properties.
11980 2005-10-08 Stefan Kost <ensonic@users.sf.net>
11981 * docs/gst/gstreamer-sections.txt:
11982 * gst/gstmessage.c:
11983 * gst/gstmessage.h:
11984 * gst/gstminiobject.c:
11985 * gst/gstminiobject.h:
11989 lots of new docs and doc fixes
11991 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11993 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
11995 * gst/gstregistry.c: (gst_registry_lookup_locked),
11996 (gst_registry_scan_path_level):
11997 * gst/gstregistryxml.c: (load_plugin):
11998 Only ever load one plugin for a given plugin basename.
11999 This ensures correct overriding of GST_PLUGIN_PATH over
12000 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
12001 system installed plugins.
12003 2005-10-08 Wim Taymans <wim@fluendo.com>
12005 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12006 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
12007 Prepare for doing QOS.
12009 2005-10-08 Wim Taymans <wim@fluendo.com>
12011 * check/gst/gstbin.c: (GST_START_TEST):
12012 * check/pipelines/cleanup.c: (GST_START_TEST):
12013 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
12014 Allow new clock message too.
12016 2005-10-08 Wim Taymans <wim@fluendo.com>
12018 * gst/gstmessage.c: (gst_message_new_error),
12019 (gst_message_new_warning), (gst_message_new_tag),
12020 (gst_message_new_state_changed), (gst_message_new_clock_provide),
12021 (gst_message_new_clock_lost), (gst_message_new_new_clock),
12022 (gst_message_new_segment_start), (gst_message_new_segment_done),
12023 (gst_message_parse_state_changed),
12024 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
12025 (gst_message_parse_new_clock):
12026 * gst/gstmessage.h:
12027 Also carry the clock in question.
12029 2005-10-08 Wim Taymans <wim@fluendo.com>
12031 * gst/gstmessage.c: (gst_message_new_custom),
12032 (gst_message_new_eos), (gst_message_new_error),
12033 (gst_message_new_warning), (gst_message_new_tag),
12034 (gst_message_new_state_changed), (gst_message_new_clock_provide),
12035 (gst_message_new_new_clock), (gst_message_new_segment_start),
12036 (gst_message_new_segment_done), (gst_message_parse_state_changed),
12037 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
12038 * gst/gstmessage.h:
12040 Added clock related messages.
12042 * gst/gstpipeline.c: (gst_pipeline_change_state):
12043 Post message when the clock changed.
12045 * tools/gst-launch.c: (event_loop):
12048 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
12050 * tools/gst-inspect.c: (print_element_properties_info):
12051 Can't pass NULL strings to g_print() on windows.
12053 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12055 * docs/Makefile.am:
12056 * docs/gst/Makefile.am:
12057 * docs/gst/gstreamer-docs.sgml:
12058 * docs/gst/running.xml:
12059 * docs/version.entities.in:
12060 add a chapter on running GStreamer.
12061 document GST_DEBUG and GST_PLUGIN* env vars
12063 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12068 remove PLUGINS_BUILDDIR stuff
12069 * gst/gst.c: (init_post):
12070 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
12072 remove, it was condescending and not needed
12074 2005-10-08 Wim Taymans <wim@fluendo.com>
12076 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
12077 (gst_base_sink_handle_object), (gst_base_sink_event),
12078 (gst_base_sink_wait), (gst_base_sink_handle_event),
12079 (gst_base_sink_change_state):
12080 * gst/base/gstbasesink.h:
12081 Repost EOS message while going to PLAYING if still EOS.
12082 Make sure that when receiving a FLUSH_START we don't attempt
12083 to sync on the clock anymore.
12085 2005-10-08 Wim Taymans <wim@fluendo.com>
12087 * tools/gst-launch.c: (event_loop):
12088 Better message printout.
12090 2005-10-08 Wim Taymans <wim@fluendo.com>
12092 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
12093 (gst_bin_child_proxy_get_children_count):
12094 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
12095 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
12096 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
12097 (gst_child_proxy_set_valist):
12098 * gst/parse/grammar.y:
12099 Make ChildProxy threadsafe and fix mem leaks.
12101 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12103 * gst/gst.c: (init_post):
12104 debug the GST_PLUGIN_ env vars
12106 2005-10-08 Wim Taymans <wim@fluendo.com>
12108 * check/gst/gstbin.c: (GST_START_TEST):
12109 * check/gst/gstmessage.c: (GST_START_TEST):
12110 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
12111 * gst/gstelement.c: (gst_element_commit_state),
12112 (gst_element_lost_state):
12113 * gst/gstmessage.c: (gst_message_new_state_changed),
12114 (gst_message_parse_state_changed):
12115 * gst/gstmessage.h:
12116 * tools/gst-launch.c: (event_loop):
12117 Added extra field to STATE_CHANGE message with the pending
12118 state, which will be different from the new state soon.
12120 2005-10-08 Wim Taymans <wim@fluendo.com>
12122 * gst/gstbus.c: (gst_bus_pop):
12124 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
12125 Small cleanups and doc updates.
12127 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12129 * gst/gst.c: (init_pre):
12130 * gst/gstbin.c: (gst_bin_add_func):
12131 log distributing clocks and base time
12132 * gst/gstregistry.c: (gst_registry_add_plugin),
12133 (gst_registry_scan_path_level), (gst_registry_scan_path):
12134 clean up the debugging output a little
12135 * gst/gstutils.c: (gst_element_state_get_name):
12136 warn about a memleak (I've actually seen this be used, though
12137 it was probably a bug)
12139 2005-10-07 Wim Taymans <wim@fluendo.com>
12141 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12142 (gst_base_src_init), (gst_base_src_default_newsegment),
12143 (gst_base_src_newsegment), (gst_base_src_do_seek),
12144 (gst_base_src_loop), (gst_base_src_start):
12145 * gst/base/gstbasesrc.h:
12146 Make the newsegment event customizable by subclasses.
12148 2005-10-07 Wim Taymans <wim@fluendo.com>
12150 * gst/gstevent.c: (gst_event_new_buffersize),
12151 (gst_event_parse_buffersize):
12153 New event for future idea.
12155 2005-10-07 Andy Wingo <wingo@pobox.com>
12157 * gst/gstelement.c (gst_element_post_message): Doc update.
12159 * docs/gst/gstreamer-sections.txt: Update.
12161 * gst/gstmessage.c (gst_message_new_application): Made into a
12162 function like honest API calls.
12163 (gst_message_new_element): New message type.
12165 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
12167 * check/elements/fakesrc.c (test_no_preroll): New check, checks
12168 that setting a live fakesrc to PAUSED returns NO_PREROLL both
12171 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
12172 NO_PREROLL from gst_element_change_state to fall through.
12174 2005-10-07 Wim Taymans <wim@fluendo.com>
12176 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
12177 (gst_ghost_pad_do_activate_push):
12178 Activating a ghostpad with no internal pad in push mode
12181 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
12184 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
12185 Fixes compilation on Windows.
12187 2005-10-07 Michael Smith <msmith@fluendo.com>
12189 * tools/gst-inspect.c:
12190 Print out feature and plugin count at the end when printing out
12193 2005-10-04 Michael Smith <msmith@fluendo.com>
12195 * gst/gsterror.c: (_gst_stream_errors_init):
12196 Add another error string used in a few existing plugins.
12199 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12200 * tools/gst-inspect.c: (print_element_info):
12201 When a feature disappears from a plugin (and the feature exists in
12202 the cached registry file), things went horribly wrong. This isn't a
12203 complete fix, we should actually be removing the 'missing' features
12204 from the features list when we load the actual plugin. That's not
12207 2005-10-04 Johan Dahlin <johan@gnome.org>
12209 * check/gst/gstiterator.c: (GST_START_TEST):
12210 * gst/gstbin.c: (gst_bin_iterate_elements),
12211 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
12212 * gst/gstelement.c: (gst_element_iterate_pads):
12213 * gst/gstformat.c: (gst_format_iterate_definitions):
12214 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12215 (gst_iterator_new_list), (gst_iterator_filter):
12216 * gst/gstiterator.h:
12217 * gst/gstquery.c: (gst_query_type_iterate_definitions):
12218 Add a GType to GstIterator, update callsites and tests.
12220 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12222 * gst/gstpad.c: (gst_pad_event_default_dispatch):
12223 give events a chance to be handled by event probes when the pad
12226 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12228 * gst/gstevent.c: (gst_event_type_get_name),
12229 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
12231 add string representations for event types
12233 2005-10-06 Wim Taymans <wim@fluendo.com>
12235 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
12236 Don't use NULL pointers.
12238 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12240 * gst/gst_private.h:
12242 * gst/gstelement.c:
12244 * gst/gstpluginfeature.c:
12245 widen the debug category in output to fit the biggest one we have
12246 add a bus category and use it
12247 play with the colors
12248 fix up some categories
12250 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12252 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
12253 add push activation of sink ghost pads.
12254 Andye, please verify
12256 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
12258 * gst/gstutils.c: (gst_element_link_pads):
12259 fix a bug in the case where neither element has a pad
12260 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
12261 add a test for that case
12263 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
12265 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
12266 emit have-data before checking for peers. This allows
12267 for probe handlers to connect elements. This helps autopluggers.
12268 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
12270 add six checks, linked/unlinked with no/true/false probe
12272 2005-10-04 Wim Taymans <wim@fluendo.com>
12274 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
12275 (gst_fake_sink_event), (gst_fake_sink_preroll),
12276 (gst_fake_sink_render), (gst_fake_sink_change_state):
12277 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
12278 (gst_fake_src_get_property), (gst_fake_src_create),
12279 (gst_fake_src_stop):
12280 * gst/elements/gstidentity.c: (gst_identity_stop):
12281 Protect last_message with lock.
12283 2005-10-04 Edward Hervey <edward@fluendo.com>
12286 Added precision in the comments for GST_FORMAT_DEFAULT
12288 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
12290 * tools/gst-launch.c: (main):
12291 Don't try to run erroneous pipelines.
12293 2005-10-04 Julien MOUTTE <julien@moutte.net>
12295 * gst/gstbus.c: We don't need this header.
12297 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
12300 back to development
12302 === release 0.9.3 ===
12304 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
12308 Releasing 0.9.3, "Unregistered"
12310 2005-10-03 Andy Wingo <wingo@pobox.com>
12312 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
12313 whereby calling a pad's activatepush() function can start a thread
12314 that starts to push or pull before the pad gets the FLUSHING flag
12315 unset. Hack around it by holding the stream lock until the flag is
12316 set. Need to replace this with a proper solution. Together with
12317 the ghost pad fixes, this fixes mp3 playing/tagreading.
12319 * docs/design/part-gstghostpad.txt: Add a note about activation of
12320 proxy pads outside of ghost pads.
12322 * gst/gstghostpad.c: Implement the ghost pad activation design.
12324 2005-10-02 Andy Wingo <wingo@pobox.com>
12326 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
12327 It is volatile, after all.
12329 * docs/design/part-gstghostpad.txt: Flesh out activation with
12332 * gst/base/gstbasesrc.c (gst_base_src_init): Use
12335 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
12338 Fix (unused) AM_CONDITIONAL tests.
12340 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
12342 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12344 * gst/gstutils.c: (gst_pad_query_convert):
12345 Add assertion that makes sure src_val is >=0, just like
12346 gst_query_new_convert() has. (#315895)
12348 2005-09-30 Edward Hervey <edward@fluendo.com>
12350 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
12351 Let's not iterate pads we're not interested in, it avoids getting
12352 sky-high refcounts on sinkpad.
12354 2005-09-30 Wim Taymans <wim@fluendo.com>
12356 * gst/gstelement.c: (gst_element_set_state),
12357 (gst_element_change_state):
12358 Small tweak, element in ASYNC remains ASYNC.
12360 2005-09-30 Wim Taymans <wim@fluendo.com>
12362 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12363 Only error is an error.
12365 * gst/gstbin.c: (gst_bin_change_state):
12368 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
12369 Also call pad_block in pad alloc.
12371 * gst/gstutils.c: (gst_flow_get_name):
12374 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12376 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12377 (gst_base_src_get_range):
12378 Fix documentation typos. Add some more debug info.
12380 2005-09-29 David Schleef <ds@schleef.org>
12382 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
12383 more end-user friendly.
12384 * tools/gst-inspect.c: (main): Check if command-line argument is
12385 a file and attempt to load that file as a plugin.
12387 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12389 * check/gst/gstbin.c:
12390 * check/states/sinks.c:
12391 fix tests for the new warning
12392 * check/gst/gstpipeline.c:
12393 add a test for pipeline and bus interaction
12394 * gst/gstelement.c:
12395 elements should be NULL if they get disposed; add a warning if not
12397 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12400 for 2.6 refcounting, make debug log more correct by printing
12401 the actual refcounts at the time of swap (Wim)
12403 2005-09-29 Andy Wingo <wingo@pobox.com>
12405 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
12406 removes signal watches previously added via
12407 gst_bus_add_signal_watch.
12408 (gst_bus_add_signal_watch): Don't return the source id, just store
12409 it on the bus if there wasn't an id already.
12411 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
12412 add_signal_watch and remove_signal_watch.
12414 2005-09-29 Edward Hervey <edward@fluendo.com>
12416 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
12417 Better if we actually iterate the list :)
12419 2005-09-29 Wim Taymans <wim@fluendo.com>
12421 * check/gst/gstbin.c: (GST_START_TEST):
12422 Change for new bus API.
12424 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12425 (send_messages), (GST_START_TEST), (gstbus_suite):
12426 Change for new bus signal API.
12428 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
12429 (gst_bus_source_prepare), (gst_bus_source_check),
12430 (gst_bus_create_watch), (gst_bus_add_watch_full),
12431 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
12432 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
12434 Remove support for multiple GSources operating on different
12435 message types as it is too complex and unneeded when using
12437 Added support for receiving signals from the bus.
12439 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12441 * docs/libs/tmpl/gstdataprotocol.sgml:
12442 * docs/manual/advanced-dataaccess.xml:
12443 * gst/elements/gstcapsfilter.c:
12445 rename filter-caps to caps property
12447 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12449 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12450 More robust fraction string parsing.
12452 * docs/pwg/appendix-porting.xml:
12453 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
12455 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12457 * gst/gstcaps.c: (gst_caps_do_simplify):
12458 Thou shalt not free a structure and then continue using it
12459 in the next loop iteration.
12461 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
12463 Add test case for caps simplification.
12465 2005-09-29 Wim Taymans <wim@fluendo.com>
12467 * check/gst/gstbin.c: (GST_START_TEST):
12470 2005-09-29 Wim Taymans <wim@fluendo.com>
12472 * check/gst/gstbin.c: (GST_START_TEST):
12475 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
12476 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12477 (find_element), (gst_bin_sort_iterator_next),
12478 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12479 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12480 (gst_bin_change_state), (gst_bin_dispose):
12481 A bin does not have a bus, it gets the bus from the parent.
12483 * gst/gstelement.c: (gst_element_requires_clock),
12484 (gst_element_provides_clock), (gst_element_is_indexable),
12485 (gst_element_is_locked_state), (gst_element_change_state),
12486 (gst_element_set_bus_func):
12489 * gst/gstpipeline.c: (gst_pipeline_class_init),
12490 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
12491 The pipeline provides a bus.
12493 2005-09-28 Johan Dahlin <johan@gnome.org>
12495 * gst/gstmessage.c (gst_message_parse_state_changed): Use
12496 gst_structure_get_enum instead of gst_structure_get_int
12498 * gst/gststructure.c (gst_structure_get_enum): Impl.
12500 * gst/gststructure.h (gst_structure_get_enum): Add
12502 * docs/gst/gstreamer-sections.txt: Ditto
12504 * gst/gstmessage.c (gst_message_new_state_changed): Use
12505 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
12506 which does introspection.
12507 Reviewed by Christian Schaller
12509 2005-09-28 Stefan Kost <ensonic@users.sf.net>
12511 * gst/gstinfo.c: (gst_debug_log_default):
12512 don't do dummy g_strdup()s
12513 * libs/gst/controller/gstcontroller.c:
12514 (on_object_controlled_property_changed),
12515 (gst_controlled_property_new), (gst_controller_new_valist),
12516 (gst_controller_new_list),
12517 (gst_controller_remove_properties_valist), (gst_controller_set),
12518 (gst_controller_get), (gst_controller_sync_values),
12519 (gst_controller_get_value_array), (_gst_controller_class_init),
12520 (gst_controller_get_type):
12521 * libs/gst/controller/gstcontroller.h:
12522 * libs/gst/controller/gstinterpolation.c:
12523 (gst_controlled_property_find_timed_value_node):
12524 convert // to /**/ comments
12526 2005-09-28 Wim Taymans <wim@fluendo.com>
12528 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
12529 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
12530 (gst_bus_sync_signal_handler):
12532 Added async-message and sync-message signals to the bus.
12533 Added helper BusFunc to emit signals for all posted messages.
12535 * gst/gstmessage.c: (gst_message_type_get_name),
12536 (gst_message_type_to_quark), (gst_message_get_type):
12537 * gst/gstmessage.h:
12538 Register quarks for message names.
12540 2005-09-28 Stefan Kost <ensonic@users.sf.net>
12542 * docs/libs/gstreamer-libs-sections.txt:
12543 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12544 (gst_controller_new_list):
12545 * libs/gst/controller/gstcontroller.h:
12546 added another constructor for language bindings
12548 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
12550 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12554 * gst/gstinfo.c: (_gst_debug_init):
12555 slightly more readable color for refcount debugging
12557 2005-09-28 Wim Taymans <wim@fluendo.com>
12559 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
12560 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12561 (find_element), (gst_bin_sort_iterator_next),
12562 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12563 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12564 (gst_bin_change_state), (gst_bin_dispose):
12565 Small doc fixes. get_clock -> provide_clock.
12567 * gst/gstelement.c: (gst_element_class_init),
12568 (gst_element_provides_clock), (gst_element_provide_clock),
12569 (gst_element_get_clock), (gst_element_commit_state),
12570 (gst_element_lost_state):
12571 * gst/gstelement.h:
12572 Make get/set_clock() symetric. Add provide_clock vmethod since
12573 that is actually what this function does.
12575 * gst/gstpipeline.c: (gst_pipeline_class_init),
12576 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
12577 (gst_pipeline_get_clock):
12578 get_clock -> provide_clock.
12580 2005-09-28 Andy Wingo <wingo@pobox.com>
12582 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
12583 lieu of real docs...
12585 * gst/elements/gstfdsrc.c: Cleaned up a bit.
12587 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
12589 * gst/elements/gstcapsfilter.c:
12590 * gst/elements/gstfakesink.c:
12591 * gst/elements/gstfakesrc.c:
12592 * gst/elements/gstfdsink.c:
12593 * gst/elements/gstfdsrc.c:
12594 * gst/elements/gstfilesink.c:
12595 * gst/elements/gstfilesrc.c:
12596 * gst/elements/gstidentity.c:
12597 * gst/elements/gsttee.c:
12598 * gst/elements/gsttypefindelement.c:
12599 Make element details static.
12601 2005-09-28 Wim Taymans <wim@fluendo.com>
12603 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12604 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12605 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12606 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12607 (gst_bin_change_state), (gst_bin_dispose):
12608 Some documentation updates.
12609 Clean up dispose handlers.
12611 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
12612 * gst/gstpad.c: (gst_pad_dispose):
12613 Clean up dispose handler.
12615 * gst/gstpipeline.c: (gst_pipeline_change_state):
12616 Removed spurious UNLOCK.
12618 2005-09-27 Stefan Kost <ensonic@users.sf.net>
12620 * docs/gst/gstreamer-sections.txt:
12621 * gst/base/gstbasesrc.h:
12622 * gst/gstelement.h:
12626 * gst/gstpipeline.c:
12627 * gst/gstpipeline.h:
12630 added two new functions to the docs
12631 documents all undocumented GstXXXFlags
12632 completed some incomplete docs
12634 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
12636 * gst/gstbin.c: (gst_bin_dispose):
12637 * gst/gstelement.c: (gst_element_dispose):
12638 remove now useless and leaky resurrection code in dispose
12639 * gst/base/gstbasesrc.c: (gst_base_src_init):
12640 * gst/gstelementfactory.c: (gst_element_factory_create):
12641 * gst/gstobject.c: (gst_object_set_parent):
12644 2005-09-27 Wim Taymans <wim@fluendo.com>
12646 * docs/design/part-TODO.txt:
12649 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12650 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12651 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12652 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12653 (gst_bin_change_state):
12654 * gst/gstelement.h:
12655 Remove element variable, we keep element info in the iterator now.
12657 2005-09-27 Andy Wingo <wingo@pobox.com>
12659 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
12662 2005-09-27 Wim Taymans <wim@fluendo.com>
12664 * check/gst/gstbin.c: (GST_START_TEST):
12665 Enable check that works now.
12667 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12668 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12669 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12670 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12671 (gst_bin_change_state):
12673 Redid the state change algorithm using a topological sort algo.
12674 Handles all cases correctly.
12675 Exposed iterator for state change order.
12677 * gst/gstelement.h:
12678 Temp storage for state changes. Need to get rid of this soon.
12680 2005-09-27 Wim Taymans <wim@fluendo.com>
12682 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
12683 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
12684 (link_fold_func), (gst_pad_proxy_setcaps):
12685 Leak fixes, the fold functions need to unref the passed object and
12686 _get_parent_*() returns ref to parent.
12688 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12690 * check/gst/gstbuffer.c: (test_make_writable):
12691 Plug leak in test case and fix 'make check-valgrind'
12693 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12695 * gst/gstbuffer.c: (gst_subbuffer_init):
12696 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
12697 works correctly in all circumstances (we could have just copied
12698 the parent buffer's readonly flag, but conceptually it seems
12699 cleaner to mark all subbuffers as read-only). (based on patch
12700 by Alessandro Decina, #314710).
12702 * check/gst/gstbuffer.c: (create_read_only_buffer),
12703 (test_make_writable), (test_subbuffer_make_writable),
12705 Add some tests for gst_buffer_make_writable().
12707 2005-09-27 Wim Taymans <wim@fluendo.com>
12709 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
12710 use gst_object_has_ancestor().
12712 * gst/gstobject.c: (gst_object_has_ancestor):
12714 gst_object_has_ancestor() copied from gstbin.c as it is a
12717 * tests/instantiate/create.c: (create_all_elements):
12718 * tests/lat.c: (handoff_src), (handoff_sink):
12719 * tests/sched/runxml.c: (main):
12720 * tests/seeking/seeking1.c: (main):
12721 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
12723 Fix compilation of some tests.
12725 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12728 Remove comment. GST_TYPE_G_ERROR is here to stay,
12729 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
12730 (#316961, #300610).
12732 2005-09-26 Wim Taymans <wim@fluendo.com>
12734 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12735 Added check that shows error in state change order.
12737 2005-09-26 Wim Taymans <wim@fluendo.com>
12739 * gst/gstbin.c: (gst_bin_change_state):
12740 Make state change function use 3 queues again, we were
12741 adding elements in the wrong order.
12743 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12746 * gst/gstpad.c: (gst_pad_dispose):
12747 Added some debug info first.
12749 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
12751 * docs/design/draft-push-pull.txt:
12752 * docs/design/part-events.txt:
12753 * docs/design/part-overview.txt:
12754 * docs/design/part-scheduling.txt:
12755 Replace all _pull_region() with _pull_range()
12757 2005-09-26 Andy Wingo <wingo@pobox.com>
12759 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
12761 * check/gst-libs/controller.c: Update for controller api change.
12764 * tests/Makefile.am:
12765 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12766 over by GLib bug 118439.
12768 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12769 routines to a function.
12771 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12773 * libs/gst/controller/gsthelper.c:
12774 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12775 (gst_object_sync_values): Renamed from sink_values. Ugh.
12777 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12779 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12780 Renamed from controller_key, as it is exported.
12782 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12784 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
12789 * gst/gstpadtemplate.h:
12792 * gst/gstqueryutils.c:
12793 * gst/gstqueryutils.h:
12794 remove queryutils headers after moving the two used functions
12795 to gstquery. also fixes build problem for gstsiddec
12797 2005-09-26 Michael Smith <msmith@fluendo.com>
12799 * tools/gst-launch.1.in:
12800 Correct documentation in manpage of debug syntax
12802 2005-09-26 Wim Taymans <wim@fluendo.com>
12804 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12805 (gst_base_src_is_seekable), (gst_base_src_change_state):
12806 Some more debugging info.
12808 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12810 * docs/gst/gstreamer-sections.txt:
12811 * gst/base/gstbasetransform.h:
12815 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12817 * docs/gst/.cvsignore:
12818 * docs/gst/tmpl/.cvsignore:
12819 * docs/gst/tmpl/gstpipeline.sgml:
12820 * docs/gst/tmpl/gstplugin.sgml:
12821 * gst/gstpipeline.c:
12824 inlined the last two docs files
12825 removed the tmpl directory from cvs (no more conflicts here!)
12827 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12829 * docs/gst/gstreamer-sections.txt:
12830 * docs/gst/tmpl/.cvsignore:
12831 * docs/gst/tmpl/gstpad.sgml:
12832 * docs/gst/tmpl/gstpadtemplate.sgml:
12834 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12835 (gst_pad_finalize), (gst_pad_set_pad_template):
12837 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12838 (gst_pad_template_class_init), (gst_pad_template_init),
12839 (gst_pad_template_dispose), (name_is_valid),
12840 (gst_static_pad_template_get), (gst_pad_template_new),
12841 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12842 (gst_pad_template_pad_created):
12843 * gst/gstpadtemplate.h:
12844 inlined two more docs
12845 factored gstpadtemplate out of gstpad
12847 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
12849 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12850 (test_children_state_change_order_semi_sink):
12851 Fix test case: we can't rely on a fixed state change order when
12852 going from READY => PAUSED because the sink might commit its
12853 new state first when the first buffer created by the source
12854 reaches the sink before the source has finished its change state.
12855 (Test case still fails at times, see #316856, comment 5 onwards)
12857 2005-09-24 Wim Taymans <wim@fluendo.com>
12859 * docs/design/part-events.txt:
12860 * docs/design/part-gstbus.txt:
12861 * docs/design/part-gstpipeline.txt:
12862 * docs/design/part-messages.txt:
12863 * docs/design/part-overview.txt:
12864 * docs/design/part-segments.txt:
12868 * gst/gstelement.c:
12871 * gst/gstiterator.c:
12872 Various documentation updates.
12874 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
12877 Well, that's embarassing. Luckily we weren't using
12878 GST_CLOCK_DIFF anywhere.
12880 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12882 * common/gtk-doc.mak:
12883 don't fail on building XML, FC4 slave shows a bunch of doc
12884 missing bits that I don't get
12886 * gst/gstpipeline.c:
12887 * gst/gststructure.c:
12890 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
12892 * docs/design/part-gstbin.txt:
12893 * docs/design/part-gstbus.txt:
12895 Add blurb about how the bus goes into flushing mode and
12896 drops all messages when its bin goes from READY into NULL
12899 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12901 * docs/gst/gstreamer-sections.txt:
12902 * gst/gststructure.c: (gst_structure_get_clock_time):
12903 * gst/gststructure.h:
12904 add a method to get a GstClockTime out of a structure
12906 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
12908 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12909 (test_children_state_change_order_semi_sink), (gst_bin_suite):
12910 Added test to check state change order in bins (can still be made
12911 to fail here under heavy disk load; bails out with 'Push on pad
12912 fakesink:sink0, but it was not activated in push mode').
12914 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
12915 Fix state change order when there is only a semi sink (#316856)
12917 * gst/gstbus.c: (gst_bus_class_init):
12918 Use _class_peek_parent(), not _class_ref(); fix docs to say
12919 'default main context' instead of 'mainloop' where that is
12922 * gst/gstelement.c: (gst_element_commit_state),
12923 (gst_element_set_state):
12924 Fix typos in debug messages
12926 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12929 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
12930 * gst/gstpluginfeature.c:
12932 various doc updates
12933 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12934 change an assert into an error until it gets fixed properly
12936 2005-09-23 Stefan Kost <ensonic@users.sf.net>
12938 * docs/gst/gstreamer-sections.txt:
12939 * docs/gst/tmpl/.cvsignore:
12940 * docs/gst/tmpl/gstelement.sgml:
12941 * docs/gst/tmpl/gstinfo.sgml:
12942 * docs/gst/tmpl/gstobject.sgml:
12943 * gst/gstelement.c:
12944 * gst/gstelement.h:
12947 * gst/gstobject.c: (gst_object_class_init):
12949 inlined 3 more biiiig doc files and added some missing docs on the fly
12951 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12953 * check/gst/.cvsignore:
12954 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
12955 * gst/gstregistryxml.c: (load_plugin),
12956 (gst_registry_xml_save_plugin):
12957 put back source in registry. add checks for find_plugin.
12958 * testsuite/states/bin.c: (assert_state), (empty_bin),
12959 (test_adding_one_element), (main):
12960 * testsuite/states/locked.c: (main):
12961 some compile/run fixes
12963 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
12965 * check/gst/gstvalue.c: (GST_START_TEST):
12966 fix leaks in the test itself
12968 2005-09-22 Wim Taymans <wim@fluendo.com>
12970 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12971 (gst_base_sink_send_event), (gst_base_sink_peer_query),
12972 (gst_base_sink_query):
12973 Prepare for more accurate position reporting and query
12976 * gst/gstelement.c: (gst_element_send_event),
12977 (gst_element_set_state):
12980 2005-09-22 Wim Taymans <wim@fluendo.com>
12982 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
12983 (gst_query_parse_segment):
12985 More documentation.
12986 Add segment query for future use.
12988 2005-09-22 Wim Taymans <wim@fluendo.com>
12990 * gst/gstbin.c: (gst_bin_add_func):
12991 Some more debug info.
12993 * gst/gstelement.c: (gst_element_send_event):
12994 Simplify send_event
12996 * gst/gstelement.h:
12997 Don't know how flags got broken.
13002 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
13004 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
13005 Add simplistic test suite for GST_TYPE_DATE serialisation and
13008 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
13010 * docs/gst/gstreamer-sections.txt:
13011 * gst/gststructure.c: (gst_structure_set_valist),
13012 (gst_structure_get_date):
13013 * gst/gststructure.h:
13014 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
13015 (gst_date_copy), (gst_value_compare_date),
13016 (gst_value_serialize_date), (gst_value_deserialize_date),
13017 (gst_value_transform_date_string),
13018 (gst_value_transform_string_date), (_gst_value_initialize):
13020 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
13021 bunch of utility functions along with a hack that checks that
13022 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
13023 is required. Part of the grand scheme in #170777.
13025 2005-09-22 Andy Wingo <wingo@pobox.com>
13027 * gst/gstconfig.h.in: Psych out gtk-doc.
13029 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
13031 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
13033 * tools/gst-inspect.c (print_element_list): Plug some
13034 inconsequential leaks.
13036 * gst/gstregistry.c (gst_registry_get_default): Doc.
13038 * check/gst/gstplugin.c:
13039 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
13040 * gst/gstelementfactory.c (gst_element_factory_create):
13041 * gst/gstindexfactory.c (gst_index_factory_create): Update for
13044 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
13045 (gst_plugin_feature_load): Doc, don't eat refs.
13047 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
13048 (gst_plugin_list_free): Doc.
13049 (gst_plugin_load_file): Doc updates.
13051 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
13052 accessors returning refcounted objects, return a ref.
13054 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
13055 accessor for caps. IDEMPOTENCE. Oh yes.
13057 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
13059 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
13061 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
13062 (_gst_debug_register_funcptr):
13063 Add mutex to serialise access to the hash table with
13064 the function pointer => function name string mapping;
13065 make that hash table static scope (#316809).
13067 * gst/registries/.cvsignore:
13068 Remove left-over file.
13070 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
13072 * docs/pwg/appendix-porting.xml:
13073 And something about newsegment events and caps-on-buffers to
13074 the porting guide (feel free to improve).
13076 2005-09-21 Andy Wingo <wingo@pobox.com>
13078 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
13079 data and event probes on the same pad.
13080 (test_buffer_probe_once): Test that removing probes from within
13081 the probe functions works.
13083 2005-09-21 Andy Wingo <wingo@pobox.com>
13085 * check/gst/gstutils.c: New file.
13086 (test_buffer_probe_n_times): A simple buffer probe test. More to
13089 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
13090 have-data::buffer, not have-data.
13091 (gst_pad_add_event_probe): Likewise for have-data::event.
13092 (gst_pad_add_data_probe): More docs. The part about 'resolving the
13093 peer' isn't quite right yet though.
13094 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
13095 (gst_pad_remove_data_probe): Change to take the guint handler_id
13096 as their arg, not the function+data, which is more glib-like.
13098 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
13099 the signal emission to indicate if the data is a buffer or an
13101 (gst_pad_get_type): Initialize buffer and event quarks.
13102 (gst_pad_class_init): have-data is now a detailed signal, yes it
13105 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
13107 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
13108 * gst/gstutils.c: (gst_util_set_value_from_string),
13109 (gst_util_set_object_arg):
13110 Don't put functional code in g_return_if_fail() or
13111 g_return_val_if_fail() statements, otherwise things will
13112 break when G_DISABLE_CHECKS is defined during compilation.
13114 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13116 * docs/gst/tmpl/.cvsignore:
13117 * docs/gst/tmpl/gstvalue.sgml:
13120 inlied another one and added some obvious docs
13122 2005-09-21 Wim Taymans <wim@fluendo.com>
13124 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
13125 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
13126 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
13127 (gst_fdsrc_get_property), (gst_fdsrc_create):
13128 * gst/elements/gstfdsrc.h:
13129 Properly implement fdsrc. Removed signal and timeout,
13130 better implemented somewhere else.
13132 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13134 * docs/gst/tmpl/.cvsignore:
13135 * docs/gst/tmpl/gstimplementsinterface.sgml:
13136 * gst/gstinterface.c:
13139 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13141 * docs/gst/gstreamer-sections.txt:
13142 * docs/gst/tmpl/.cvsignore:
13143 * docs/gst/tmpl/gstenumtypes.sgml:
13144 remove obsolete doc file
13146 2005-09-21 David Schleef <ds@schleef.org>
13148 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
13149 little beer, fix a little leak.
13151 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13153 * docs/gst/gstreamer-docs.sgml:
13154 * docs/gst/gstreamer-sections.txt:
13155 * docs/gst/tmpl/.cvsignore:
13159 * gst/gstelement.h:
13160 * gst/gstindex.c: (gst_index_class_init):
13162 * gst/gstindexfactory.c: (gst_index_factory_get_type),
13163 (gst_index_factory_class_init), (gst_index_factory_init),
13164 (gst_index_factory_finalize), (gst_index_factory_new),
13165 (gst_index_factory_destroy), (gst_index_factory_find),
13166 (gst_index_factory_create), (gst_index_factory_make):
13167 * gst/gstindexfactory.h:
13168 * gst/gstpluginfeature.c:
13169 * gst/gstpluginfeature.h:
13170 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13171 more docs inlined, splitted gstindex.{c,h}
13173 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13175 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13178 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
13180 * gst/elements/gstfilesink.c: (gst_file_sink_init):
13181 Set sync to FALSE by default.
13183 2005-09-20 Wim Taymans <wim@fluendo.com>
13185 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13186 (gst_base_sink_init):
13187 Make sync property settable from subclass.
13189 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13190 (gst_fake_sink_change_state):
13191 Set sync to FALSE by default.
13193 2005-09-20 Wim Taymans <wim@fluendo.com>
13195 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
13196 * tools/gst-launch.c: (main):
13197 The timeout handler should have lower priority than the source
13198 so we don't timeout before popping a message with 0 timeout.
13199 Dump error messages after failed state change.
13201 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
13203 * tools/gst-inspect.c: (print_element_properties_info):
13206 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13208 * check/gst/gstevent.c:
13209 * gst/elements/gstfakesink.c:
13210 * gst/elements/gstfakesink.h:
13211 remove the sync property from fakesink.
13212 has the side effect of setting sync TRUE
13213 for fakesink, which is a change. Anyone who knows how
13214 to fix this nicely in a GObject-y way, feel free.
13216 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13218 * docs/gst/gstreamer-docs.sgml:
13219 remove probe refsection
13221 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13223 * check/Makefile.am:
13224 disable valgrinding the controller test again
13225 * docs/gst/gstreamer-sections.txt:
13226 update for api-changes
13228 2005-09-20 Wim Taymans <wim@fluendo.com>
13230 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13231 (gst_base_sink_set_property), (gst_base_sink_get_property),
13232 (gst_base_sink_do_sync):
13233 * gst/base/gstbasesink.h:
13234 Added sync property to basesink to disable clock sync.
13236 2005-09-20 Andy Wingo <wingo@pobox.com>
13238 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
13239 eating the caller's refcount.
13241 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
13242 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
13245 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
13246 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
13247 of GLib 2.8 public, so we can know which refcount to check in
13250 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
13251 (gst_object_init): Only set the gst refcount if we're going ahead
13252 with the refcount hack.
13254 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13256 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
13257 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13258 more leaks plumbed, added more debug-logging
13262 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13264 * gst/gstmessage.c:
13265 remove include of gstmemchunk.h
13267 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13269 * gst/gstclock.c: (_gst_clock_id_free):
13270 Commit from the Political Party For More Atomic CVS Commits,
13271 so that people don't waste too much of their day fishing
13272 out obvious leaks out of massive commits.
13273 Oh, and fix a pretty damn obvious leak in the memchunk
13276 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13278 * check/Makefile.am:
13279 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
13280 plug mem-leak, re-add to valgrindable tests
13282 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13285 unbreak the build for those who have chronic arthritis
13286 and typing "make check" is just too taxing on the hands
13288 2005-09-20 Andy Wingo <wingo@pobox.com>
13290 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
13291 really want it out, you should fix plugins at the same time.
13293 2005-09-19 Stefan Kost <ensonic@users.sf.net>
13296 * docs/gst/gstreamer-sections.txt:
13298 added missing symbols to api docs
13299 disable ref-count hack if we have glib >= 2.8
13301 2005-09-19 David Schleef <ds@schleef.org>
13303 * docs/gst/Makefile.am: Ignore a few more internal headers
13304 * docs/gst/gstreamer-docs.sgml: Remove old sections
13305 * docs/gst/gstreamer-sections.txt: Remove old sections
13306 * docs/gst/tmpl/gstobject.sgml: update
13307 * docs/gst/tmpl/gstplugin.sgml: update
13308 * docs/gst/tmpl/gstpluginfeature.sgml: update
13309 * docs/random/ds/0.9-suggested-changes: update.
13310 * gst/Makefile.am: remove memchunk and trashstack, since they're
13312 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
13313 * gst/gst.h: don't include some headers
13314 * gst/gstchildproxy.c: add gstmarshal.h
13315 * gst/gstclock.c: Don't use memchunks
13316 * gst/gstminiobject.c: Add some docs
13317 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
13318 * gst/gstobject.h: same
13319 * gst/gstplugin.c: include gstmacros.h
13320 * gst/gstplugin.h: don't include gstmacros.h, since it's private
13321 * gst/gstquery.c: don't use memchunks
13322 * gst/gstregistry.c: rename gst_registry_deinit()
13323 * gst/gstregistry.h: same
13325 2005-09-19 David Schleef <ds@schleef.org>
13327 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
13328 * docs/libs/gstreamer-libs-sections.txt:
13329 * docs/libs/tmpl/gstgetbits.sgml:
13330 * docs/libs/tmpl/gstputbits.sgml:
13332 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
13334 * win32/gstenumtypes.c:
13335 * win32/gstenumtypes.h:
13338 2005-09-19 Wim Taymans <wim@fluendo.com>
13340 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
13341 Automatically PAUSE and RESUME a pipeline when a flushing seek
13344 2005-09-19 Andy Wingo <wingo@pobox.com>
13346 * gst/gstregistry.h: Spacing fixen.
13348 2005-09-19 Wim Taymans <wim@fluendo.com>
13350 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
13351 Handle state change failure more correctly.
13353 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
13355 * check/Makefile.am:
13356 * check/pipelines/cleanup.c: (run_pipeline):
13357 * check/pipelines/simple_launch_lines.c: (run_pipeline),
13359 enable cleanup again after fixing the leak
13361 some more info on docs
13363 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
13365 * check/Makefile.am:
13366 re-enable tests now that leaks are plugged
13368 * check/gst/gstbin.c:
13369 * check/gst/gstpipeline.c:
13370 add some more tests while fixing leaks
13371 * common/check.mak:
13372 make sure binaries are uptodate when valgrinding/gdbing
13374 * gst/gstelementfactory.c:
13375 remove a ref too many, and add a FIXME for when we get
13376 round to disposing of classes
13378 fix the refcounting when loading a plugin from a file and
13379 the code pretends that the pointer is the same even though
13380 of course it can change
13381 * gst/gstpluginfeature.c:
13382 unref plugins marked cached (a bit confusing as a name)
13383 as the docs state should be done
13384 various doc additions to explain refcounting
13385 * gst/gstregistry.c:
13386 * gst/gstregistryxml.c:
13389 2005-09-19 Wim Taymans <wim@fluendo.com>
13391 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
13392 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
13393 (send_messages), (GST_START_TEST), (gstbus_suite):
13394 * check/gst/gstpipeline.c: (GST_START_TEST):
13395 * check/pipelines/cleanup.c: (run_pipeline):
13396 * check/pipelines/simple_launch_lines.c: (run_pipeline),
13398 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
13399 (gst_bus_source_check), (gst_bus_source_dispatch),
13400 (gst_bus_create_watch), (gst_bus_add_watch_full),
13401 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
13403 * tools/gst-launch.c: (event_loop):
13404 * tools/gst-md5sum.c: (event_loop):
13405 GstBusHandler -> GstBusFunc, return value has the same meaning as
13406 any other GSource (FALSE == remove source).
13407 _add_watch() and _add_watch_full() now take a MessageType mask to
13408 only handle specific types of messages.
13409 _poll() returns the GstMessage instead of the message type to avoid
13411 _have_pending() takes a MessageType mask now too.
13412 Added testsuite for multiple bus watches.
13413 Fix testsuites and applications for new bus API.
13415 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
13417 * check/Makefile.am:
13418 mark a bunch of the tests as to fix until we fix them
13420 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13422 * common/check.mak:
13423 use GST_PLUGIN settings for valgrind tests as well, so we're
13424 valgrinding the correct thing
13425 * gst/gst.c: (init_post):
13428 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13430 * gst/gst.c: (init_post), (gst_deinit):
13431 * gst/gstelementfactory.c: (gst_element_factory_class_init),
13432 (gst_element_factory_finalize), (gst_element_factory_cleanup):
13433 * gst/gstindex.c: (gst_index_factory_class_init),
13434 (gst_index_factory_finalize):
13435 * gst/gstobject.c: (gst_object_dispose):
13436 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13437 (gst_plugin_load_file), (gst_plugin_desc_free):
13438 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
13439 (gst_plugin_feature_finalize):
13440 * gst/gstregistry.c: (gst_registry_class_init),
13441 (gst_registry_init), (gst_registry_finalize),
13442 (gst_registry_get_default), (gst_registry_deinit):
13443 * gst/gstregistry.h:
13444 * gst/gstregistryxml.c: (load_feature), (load_plugin):
13445 various cleanups and memleak plugging. make valgrind is happy now.
13447 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13449 * common/check.mak:
13450 add a check-valgrind target
13452 2005-09-18 David Schleef <ds@schleef.org>
13454 * tools/gst-inspect.c: Revert the GOption code.
13456 2005-09-17 David Schleef <ds@schleef.org>
13458 * check/Makefile.am: Fix environment variables.
13459 * check/gst/gstplugin.c: Fix for API changes.
13460 * tools/gst-inspect.c: Fix for API changes.
13461 * tools/gst-xmlinspect.c: Fix for API changes.
13462 * gst/gstelementfactory.c:
13465 * gst/gstpluginfeature.c:
13466 * gst/gstpluginfeature.h:
13467 * gst/gstregistry.c:
13468 * gst/gstregistry.h:
13469 * gst/gstregistryxml.c:
13470 * gst/gsttypefind.c:
13471 * gst/gsttypefindfactory.c:
13472 * gst/indexers/gstfileindex.c:
13473 * gst/indexers/gstmemindex.c:
13474 * gst/schedulers/Makefile.am:
13475 Change registry to keep track of both plugins and features,
13476 removing the feature tracking from plugins themselves.
13478 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
13480 * check/Makefile.am:
13481 * tools/gst-register.1.in:
13482 remove gst-register
13484 2005-09-15 David Schleef <ds@schleef.org>
13486 * check/gst/gstplugin.c:
13487 * gst/gstelementfactory.c:
13489 * gst/gstpluginfeature.c:
13490 * gst/gstregistry.c:
13491 Getting tired of debugging. Disabled all the unreffing of
13492 plugins and features, which fixes the segfaults, but of
13493 course leaks like crazy. At least playbin works.
13495 2005-09-15 David Schleef <ds@schleef.org>
13497 * check/gst/gstplugin.c: (register_check_elements),
13498 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
13500 * gst/elements/gsttypefindelement.c: Fix refcounting.
13501 * gst/gsttypefind.c:
13502 * gst/gsttypefindfactory.c:
13503 * gst/gsttypefindfactory.h:
13505 2005-09-15 David Schleef <ds@schleef.org>
13507 * gst/gstindex.c: get refcounting correct.
13508 * gst/gstregistry.c: Handle the case where a feature/plugin is
13511 2005-09-15 David Schleef <ds@schleef.org>
13513 * check/Makefile.am:
13514 * check/gst/gstplugin.c: Add test
13515 * gst/gstplugin.c: Fix problems noticed by testsuite
13517 * gst/gstregistry.c:
13518 * gst/gstregistry.h:
13520 2005-09-15 David Schleef <ds@schleef.org>
13522 * gst/gstplugin.c: Implement semi-decent recounting and locking
13523 in plugins and plugin features.
13525 * gst/gstpluginfeature.c:
13526 * gst/gstpluginfeature.h:
13527 * gst/gstregistry.c:
13529 2005-09-15 Michael Smith <msmith@fluendo.com>
13531 * gst/gstregistry.c: (gst_registry_get_feature_list):
13532 Implement this. Makes oggdemux work; decodebin still broken.
13534 2005-09-14 David Schleef <ds@schleef.org>
13536 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
13538 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
13539 * gst/check/Makefile.am:
13540 * libs/gst/controller/Makefile.am:
13541 * libs/gst/dataprotocol/Makefile.am:
13543 2005-09-14 David Schleef <ds@schleef.org>
13545 * configure.ac: Remove getbits library. Nothing uses it, and
13546 it should be in something like liboil if someone did want
13548 * libs/gst/Makefile.am:
13549 * libs/gst/getbits/Makefile.am:
13550 * libs/gst/getbits/gbtest.c:
13551 * libs/gst/getbits/getbits.c:
13552 * libs/gst/getbits/getbits.h:
13553 * libs/gst/getbits/gstgetbits_generic.c:
13554 * libs/gst/getbits/gstgetbits_i386.s:
13555 * libs/gst/getbits/gstgetbits_inl.h:
13557 2005-09-14 David Schleef <ds@schleef.org>
13559 * gst/Makefile.am: Dist glib-compat.h
13561 2005-09-14 David Schleef <ds@schleef.org>
13563 * configure.ac: Remove gst/registries, since it's no longer used.
13564 * gst/registries/Makefile.am:
13565 * gst/registries/gstlibxmlregistry.c:
13566 * gst/registries/gstlibxmlregistry.h:
13567 * gst/registries/gstxmlregistry.c:
13568 * gst/registries/gstxmlregistry.h:
13569 * gst/registries/registrytest.c:
13571 2005-09-14 David Schleef <ds@schleef.org>
13573 * gst/glib-compat.h:
13574 * gst/gstregistryxml.c:
13575 Convergence is near. Seriously.
13577 2005-09-14 David Schleef <ds@schleef.org>
13579 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13580 * gst/glib-compat.h:
13581 Attempt #4 to appease the buildbots.
13583 2005-09-14 David Schleef <ds@schleef.org>
13585 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13588 2005-09-14 David Schleef <ds@schleef.org>
13590 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13593 2005-09-14 David Schleef <ds@schleef.org>
13595 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
13598 2005-09-14 David Schleef <ds@schleef.org>
13600 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13601 * gst/glib-compat.h: Add some functions that are in newer versions
13602 of glib than we care to require.
13603 * gst/gstregistryxml.c: Use them.
13605 2005-09-14 David Schleef <ds@schleef.org>
13607 * po/POTFILES.in: remove gst-register.c
13609 2005-09-14 David Schleef <ds@schleef.org>
13611 * docs/gst/gstreamer-docs.sgml:
13612 * docs/gst/gstreamer-sections.txt:
13613 * docs/gst/gstreamer.types:
13614 * docs/gst/tmpl/gstelement.sgml:
13615 * docs/gst/tmpl/gstplugin.sgml:
13616 * docs/gst/tmpl/gstpluginfeature.sgml:
13617 Documentation updates for registry changes.
13619 2005-09-14 David Schleef <ds@schleef.org>
13621 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
13622 because we don't require glib-2.8.
13624 2005-09-14 David Schleef <ds@schleef.org>
13626 * gst/gstregistryxml.c: Added. Essentially moved out of the
13627 registries directory.
13629 2005-09-14 David Schleef <ds@schleef.org>
13631 * check/Makefile.am:
13632 * check/generic/states.c:
13636 * gst/gst_private.h:
13637 * gst/gstelementfactory.c:
13642 * gst/gstpluginfeature.c:
13643 * gst/gstpluginfeature.h:
13644 * gst/gstregistry.c:
13645 * gst/gstregistry.h:
13646 * gst/gstregistrypool.c: remove
13647 * gst/gstregistrypool.h: remove
13648 * gst/gsttypefind.c:
13649 * gst/gsttypefindfactory.c:
13651 * tools/Makefile.am:
13652 * tools/gst-compprep.c:
13653 * tools/gst-inspect.c:
13654 * tools/gst-register.c: remove
13655 * tools/gst-xmlinspect.c:
13656 Registry rewrite. Changes registry from being a file created
13657 by a tool into a simple cache file created automatically by
13658 libgstreamer. Removed gst-register (because it's no longer
13659 needed). Remove registry pools, because we only have one
13660 registry implementation (XML). Fix up other subsystems as
13663 2005-09-13 Michael Smith <msmith@fluendo.com>
13665 * gst/gstconfig.h.in:
13666 Don't Use windows linking attributes for MinGW. Fixes #316157
13668 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
13670 * gst/gstutils.c: (set_state_async_thread_func),
13671 (gst_element_set_state_async):
13672 Apparently people think it's better if this function doesn't
13673 try to set the state to whatever state was asked for on the first
13674 call to this function for any object. Seriously.
13676 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13678 * check/gst/gstpipeline.c: (GST_START_TEST):
13679 * docs/gst/gstreamer-sections.txt:
13680 * gst/gstutils.c: (set_state_async_thread_func),
13681 (gst_element_set_state_async):
13683 add a "gst_element_set_state_async" method that
13684 sets the state and starts a thread to make sure the state
13685 change completes as best as it can
13687 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13689 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13690 codify design+behaviour in testsuite after discussion
13692 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13694 * docs/gst/tmpl/gstelement.sgml:
13695 * docs/manual/appendix-quotes.xml:
13697 * gst/gstelement.c: (gst_element_set_state):
13700 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
13702 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13703 (gst_base_transform_prepare_output_buf),
13704 (gst_base_transform_handle_buffer):
13705 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
13706 (gst_capsfilter_prepare_buf):
13707 Remove the requirement for sub-classes to call the parent
13708 implementation of prepare_output_buffer with a wrapper function.
13710 * gst/gsttaglist.h:
13711 * gst/gsttagsetter.h:
13712 Fix #define wrapper
13714 2005-09-11 Stefan Kost <ensonic@users.sf.net>
13716 * docs/gst/gstreamer-sections.txt:
13719 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13721 * docs/gst/gstreamer-sections.txt:
13722 * docs/gst/tmpl/gstelement.sgml:
13723 * docs/gst/tmpl/gstplugin.sgml:
13724 * gst/gstminiobject.c:
13726 docs now stop throwing warnings
13728 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13730 * docs/gst/gstreamer-sections.txt:
13731 * docs/gst/gstreamer.types:
13732 * docs/gst/tmpl/gstpad.sgml:
13733 * docs/gst/tmpl/gsttypes.sgml:
13734 * gst/base/gstadapter.h:
13735 * gst/base/gstbasesink.h:
13736 * gst/base/gstbasesrc.h:
13742 * gst/gstelement.h:
13744 * gst/gstmessage.h:
13746 * gst/gststructure.c:
13747 * gst/registries/gstlibxmlregistry.h:
13748 various documentation fixes
13750 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13752 * docs/gst/gstreamer-sections.txt:
13753 * docs/gst/tmpl/gstvalue.sgml:
13754 rearrange gstvalue section
13755 * gst/gstutils.c: (gst_element_state_get_name):
13757 * gst/gstvalue.c: (_gst_value_initialize):
13761 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
13763 * check/gst-libs/controller.c:
13764 Header include fix.
13765 * gst/base/gstbasetransform.c:
13766 (gst_base_transform_default_prepare_buf),
13767 (gst_base_transform_handle_buffer):
13768 * gst/base/gstbasetransform.h:
13769 Some more basetransform changes and fixes to enable sub-classes
13770 that modify buffer metadata only.
13771 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13772 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13773 (gst_capsfilter_prepare_buf):
13774 If the output pad has fixed allowed caps and input buffers
13775 don't have any, set the fixed caps on outgoing buffers.
13777 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
13778 * check/elements/identity.c: (GST_START_TEST):
13779 Make the error a little clearer when the test fails because
13780 identity made a copy of the buffer.
13781 * docs/gst/gstreamer-sections.txt:
13782 New symbols in gstbasetransform.h
13783 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13784 (gst_base_transform_init), (gst_base_transform_transform_size),
13785 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13786 (gst_base_transform_default_prepare_buf),
13787 (gst_base_transform_get_unit_size),
13788 (gst_base_transform_buffer_alloc),
13789 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13790 (gst_base_transform_change_state),
13791 (gst_base_transform_set_passthrough),
13792 (gst_base_transform_set_in_place),
13793 (gst_base_transform_is_in_place):
13794 * gst/base/gstbasetransform.h:
13795 Change BaseTransform to separate in_place operate from same_caps
13796 output. in_place implies that the element can perform the transform
13797 on incoming buffers in-place, even if the caps on the output are
13799 Sub-class elements can now implement special buffer allocation
13800 methods for outgoing buffers if they wish to.
13801 Big documentation addition.
13802 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13803 * gst/elements/gstelements.c:
13804 Changes for basetransform modifications.
13805 * gst/elements/Makefile.am:
13806 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13807 Compile fix. Extra debug output.
13809 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13811 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13813 add tests for valid pad naming
13814 * gst/check/gstcheck.c: (gst_check_log_message_func),
13815 (gst_check_log_critical_func):
13817 remove printing of code, it is fragile when the code contains
13818 % and the line number is enough info
13819 * gst/check/gstcheck.h:
13820 * gst/gstpad.c: (gst_pad_template_new):
13823 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13826 say what CHECK flags we use
13827 * docs/libs/gstreamer-libs.types:
13828 * libs/gst/controller/Makefile.am:
13829 * libs/gst/controller/gst-controller.c:
13830 * libs/gst/controller/gst-controller.h:
13831 * libs/gst/controller/gst-helper.c:
13832 * libs/gst/controller/gst-interpolation.c:
13833 * libs/gst/controller/gstcontroller.c:
13834 * libs/gst/controller/gsthelper.c:
13835 * libs/gst/controller/gstinterpolation.c:
13836 * tools/gst-inspect.c: (print_plugin_info):
13837 we don't use dashes in header names
13839 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13841 * check/Makefile.am:
13842 * check/gst/.cvsignore:
13843 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13844 (gst_pipeline_suite), (main):
13845 adding a test for pipelines and state changes
13846 * gst/gstutils.c: (get_state_func):
13848 * gstreamer.spec.in:
13851 2005-09-08 Michael Smith <msmith@fluendo.com>
13853 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13854 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13855 (gst_file_src_is_seekable), (gst_file_src_get_size),
13856 (gst_file_src_start):
13857 * gst/elements/gstfilesrc.h:
13858 Various fixes for unseekable, unmmapable, and non-normal files, so
13859 that fallback to read() rather than mmap() works.
13860 * gst/gstevent.c: (gst_event_new_newsegment):
13861 Allow newsegment events with segment_start == segment_end, as will
13862 correctly happen if you use filesrc on a zero-size file, for
13865 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
13867 * gst/gstplugin.c: (gst_plugin_load_file):
13868 Call g_module_close when we don't load the module
13870 * gst/registries/gstlibxmlregistry.c:
13871 (gst_xml_registry_get_property):
13872 Port leak fix from 0.8
13874 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13876 * docs/gst/gstreamer-docs.sgml:
13877 * docs/gst/tmpl/.cvsignore:
13878 * docs/gst/tmpl/gsttrace.sgml:
13879 * docs/gst/tmpl/gsttrashstack.sgml:
13882 * gst/gstelement.h:
13884 * gst/gstmessage.c:
13885 * gst/gstmessage.h:
13888 * gst/gsttaginterface.c:
13889 * gst/gsttaginterface.h:
13890 * gst/gsttaglist.c:
13891 * gst/gsttaglist.h:
13892 * gst/gsttagsetter.c:
13893 * gst/gsttagsetter.h:
13896 * gst/gsttrashstack.c:
13897 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
13898 inlined docs for gsttrace, gsttrashstack
13900 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13903 * gst/elements/gstbufferstore.h:
13904 * gst/elements/gsttypefindelement.c:
13905 * gst/elements/gsttypefindelement.h:
13907 * gst/gsttypefind.c:
13908 * gst/gsttypefind.h:
13909 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
13910 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
13911 (gst_type_find_factory_dispose),
13912 (gst_type_find_factory_unload_thyself),
13913 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
13914 (gst_type_find_factory_get_caps),
13915 (gst_type_find_factory_get_extensions),
13916 (gst_type_find_factory_call_function):
13917 * gst/gsttypefindfactory.h:
13918 * gst/registries/gstlibxmlregistry.c:
13919 * gst/registries/gstxmlregistry.c:
13920 splitted gsttypefind into gsttypefind, gsttypefindfactory
13922 2005-09-07 Andy Wingo <wingo@pobox.com>
13924 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
13925 condition whereby the pad's task function is entered before the
13926 pad_mode variable was set.
13928 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
13930 * gst/gstpad.c: (gst_pad_alloc_buffer):
13931 Catch misbehaving pad_alloc functions that don't
13932 set up caps and do it for them.
13934 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13936 * check/pipelines/simple_launch_lines.c: (run_pipeline):
13937 test for pipe!=NULL
13938 * docs/gst/tmpl/.cvsignore:
13939 * docs/gst/tmpl/gstmemchunk.sgml:
13940 * docs/gst/tmpl/gstparse.sgml:
13941 * docs/gst/tmpl/gsttaglist.sgml:
13942 * docs/gst/tmpl/gsttagsetter.sgml:
13943 * docs/gst/tmpl/gsttypefind.sgml:
13944 * docs/gst/tmpl/gsttypefindfactory.sgml:
13945 * gst/gstmemchunk.c:
13948 * gst/gsttaginterface.c:
13949 * gst/gsttypefind.c:
13950 * gst/gsttypefind.h:
13953 === release 0.9.2 ===
13955 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
13960 releasing 0.9.2, "South"
13962 2005-09-05 Andy Wingo <wingo@pobox.com>
13964 * gst/registries/gstxmlregistry.h:
13965 * gst/registries/gstxmlregistry.c: Um... resurrect...
13967 * gst/registries/gstxmlregistry.h:
13968 * gst/registries/gstxmlregistry.c: and update to newer API.
13969 Incidentally they should be a bit faster now that they don't have
13972 2005-09-05 Andy Wingo <wingo@pobox.com>
13974 * gst/registries/gstxmlregistry.h:
13975 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
13976 replaced by the libxml registry a while back
13978 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
13980 * docs/gst/tmpl/gstplugin.sgml:
13981 * gst/elements/gstelements.c:
13983 * gst/gstplugin.c: (gst_plugin_register_func),
13984 (gst_plugin_desc_copy), (gst_plugin_desc_free),
13985 (gst_plugin_get_source):
13987 * gst/registries/gstlibxmlregistry.c: (load_plugin),
13988 (gst_xml_registry_save_plugin):
13989 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
13990 (gst_xml_registry_save_plugin):
13991 * tools/gst-inspect.c: (print_plugin_info):
13992 add a "source" plugin description field, to represent the source
13993 module this plugin is a part of. By default GST_PLUGIN_DEFINE
13994 will set it to PACKAGE, which is automake's idea of the name of
13995 the source project.
13997 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
14002 * docs/Makefile.am:
14003 * docs/faq/Makefile.am:
14004 * docs/gst/tmpl/gstelement.sgml:
14005 * docs/gst/tmpl/gsttypes.sgml:
14006 * docs/htmlinstall.mak:
14007 * docs/manual/Makefile.am:
14008 * docs/pwg/Makefile.am:
14009 reorganize doc build a little
14010 split out docbook and gtk-doc stuff
14011 have two separate --enable's and enable them through autogen
14012 but disable by default in configure (to be similar to other
14014 * gstreamer.spec.in:
14015 clean up docs install
14033 translation updates
14035 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
14037 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
14040 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
14041 (gst_fake_sink_change_state):
14042 Make state change function thread-safe.
14044 * gst/gstpad.c: (gst_pad_alloc_buffer):
14045 Set offset on generic buffer allocated by fallback.
14047 2005-09-03 Stefan Kost <ensonic@users.sf.net>
14049 * docs/gst/gstreamer-sections.txt:
14050 * docs/gst/tmpl/gstelement.sgml:
14052 * libs/gst/controller/gst-controller.c:
14053 (gst_controlled_property_set_interpolation_mode),
14054 (gst_controlled_property_new),
14055 (gst_controller_find_controlled_property):
14056 run the wingo-magic script against the docs
14058 2005-09-02 Stefan Kost <ensonic@users.sf.net>
14060 * docs/gst/gstreamer-docs.sgml:
14061 * docs/gst/gstreamer-sections.txt:
14062 * docs/gst/tmpl/.cvsignore:
14063 * docs/gst/tmpl/gstelementdetails.sgml:
14064 * docs/gst/tmpl/gstelementfactory.sgml:
14067 * gst/gstelementfactory.c:
14068 * gst/gstelementfactory.h:
14069 merged elementdetails docs into elementfactory docs
14072 2005-09-02 Andy Wingo <wingo@pobox.com>
14074 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
14075 consider this enum an enum and not a flags.
14077 2005-09-02 Stefan Kost <ensonic@users.sf.net>
14079 * docs/gst/gstreamer-docs.sgml:
14080 * docs/gst/tmpl/.cvsignore:
14081 * docs/gst/tmpl/gstghostpad.sgml:
14082 * docs/gst/tmpl/gstiterator.sgml:
14083 * docs/gst/tmpl/gstmacros.sgml:
14084 * docs/gst/tmpl/gstrealpad.sgml:
14085 * docs/gst/tmpl/gstregistry.sgml:
14086 * docs/gst/tmpl/gstregistrypool.sgml:
14087 * docs/gst/tmpl/gststructure.sgml:
14088 * docs/gst/tmpl/gstsystemclock.sgml:
14089 * docs/gst/tmpl/gsttrace.sgml:
14090 * gst/gstghostpad.c:
14092 * gst/gstmemchunk.c:
14093 * gst/gstmemchunk.h:
14095 * gst/gstregistry.c:
14096 * gst/gstregistrypool.c:
14097 * gst/gststructure.c:
14098 * gst/gstsystemclock.c:
14101 2005-09-02 Andy Wingo <wingo@pobox.com>
14103 * gst/gstelement.h (GstState): Renamed from GstElementState,
14104 changed to be a normal enum instead of flags.
14105 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
14106 munged to be GST_STATE_CHANGE_*.
14107 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
14108 work with the new state representation.
14109 (GstStateChange): New enumeration of possible state transitions.
14110 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
14111 (GstElementClass::change_state): Pass the GstStateChange along as
14112 an argument. Helps language bindings, so they don't have to use
14113 tricky lock-needing macros like GST_STATE_CHANGE ().
14115 * scripts/update-states (file): New script. Run it on a file to
14116 update it for state naming and API changes. Updates files in
14119 * All files updated for the new API.
14121 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
14123 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
14124 * gst/gstutils.c: (gst_util_set_value_from_string),
14125 (gst_util_set_object_arg):
14126 fix a bunch of unchecked return values
14127 * tools/gst-complete.c: (main):
14128 * gstreamer.spec.in:
14131 2005-09-01 Wim Taymans <wim@fluendo.com>
14133 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14134 (gst_base_sink_event), (gst_base_sink_do_sync),
14135 (gst_base_sink_handle_event):
14136 * gst/base/gstbasesink.h:
14137 Handle newsegments more correctly.
14142 * gst/gstevent.c: (gst_event_new_newsegment):
14143 A newsegment cannot have a start_time of -1
14145 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
14147 * win32/gstenumtypes.c:
14148 * win32/gstenumtypes.h:
14151 2005-08-31 Stefan Kost <ensonic@users.sf.net>
14153 * libs/gst/controller/gst-controller.c:
14154 (gst_controlled_property_set_interpolation_mode),
14155 (gst_controlled_property_new):
14156 fixed boolean again
14158 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
14160 * docs/faq/gst-uninstalled:
14165 * gst/gstutils.c: (gst_element_link_filtered):
14167 add gst_element_link_filtered
14169 2005-08-31 Stefan Kost <ensonic@users.sf.net>
14171 * docs/gst/gstreamer-docs.sgml:
14172 * docs/gst/gstreamer-sections.txt:
14173 * docs/gst/tmpl/.cvsignore:
14174 * docs/gst/tmpl/gsterror.sgml:
14175 * docs/gst/tmpl/gstfilter.sgml:
14176 * docs/gst/tmpl/gsturihandler.sgml:
14177 * docs/gst/tmpl/gsturitype.sgml:
14178 * docs/gst/tmpl/gstutils.sgml:
14179 * docs/gst/tmpl/gstxml.sgml:
14184 * gst/gsturitype.c:
14187 inlined more docs, fixed double id-ref
14189 2005-08-31 Wim Taymans <wim@fluendo.com>
14191 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14192 (gst_base_transform_handle_buffer):
14193 Passthrough elements don't need the caps as they don't care.
14195 2005-08-31 Wim Taymans <wim@fluendo.com>
14197 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14198 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
14199 Don't leak refcounts on buffers.
14201 2005-08-31 Wim Taymans <wim@fluendo.com>
14203 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
14204 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
14205 (gst_base_transform_chain), (gst_base_transform_change_state):
14206 * gst/base/gstbasetransform.h:
14207 Handle the case where we are not negotiated more gracefully.
14209 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
14211 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
14212 (gst_file_src_map_region):
14213 Set READONLY flag on mmap'ed buffers, otherwise
14214 gst_buffer_make_writable() won't work properly (#314708).
14216 2005-08-31 Wim Taymans <wim@fluendo.com>
14218 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
14219 passthrough elements can even do inplace on non writable
14220 buffers (as they don't touch them).
14222 2005-08-31 Stefan Kost <ensonic@users.sf.net>
14224 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
14225 (gst_test_mono_source_set_property),
14226 (gst_test_mono_source_class_init), (GST_START_TEST),
14227 (gst_controller_suite):
14228 more tests (hehe I have the most)
14230 describe popping messages whenusing mulltiple sources
14231 * libs/gst/controller/gst-controller.c:
14232 (gst_controlled_property_set_interpolation_mode),
14233 (gst_controlled_property_new):
14234 * libs/gst/controller/gst-controller.h:
14235 * libs/gst/controller/gst-interpolation.c:
14236 implement boolean properties
14238 2005-08-31 Wim Taymans <wim@fluendo.com>
14240 * gst/gstminiobject.c: (gst_mini_object_ref):
14241 Cannot assert that the refcount has to be positive
14242 since a disposed object can be resurrected.
14244 2005-08-31 Wim Taymans <wim@fluendo.com>
14246 * gst/gstpad.c: (gst_pad_init):
14247 Revert change, need to first fix badly behaving
14250 2005-08-30 Wim Taymans <wim@fluendo.com>
14252 * check/elements/fakesrc.c: (setup_fakesrc):
14253 * check/elements/identity.c: (setup_identity):
14254 Activate pads before using them.
14256 2005-08-30 Wim Taymans <wim@fluendo.com>
14258 * gst/base/gstadapter.c: (gst_adapter_flush):
14259 Flushing out 0 bytes is ok for this function.
14261 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14262 no newsegment gives a warning and sets the start/stop to
14265 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
14266 (gst_base_transform_set_passthrough):
14269 * gst/gstminiobject.c: (gst_mini_object_ref):
14270 Check refcount here too.
14272 * gst/gstpad.c: (gst_pad_init):
14273 Pads are initially flushing and refusing data.
14275 * gst/gstutils.c: (gst_element_link_pads_filtered):
14276 When adding a capsfilter element make sure it has the
14277 same state as the parent bin.
14279 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14281 * docs/gst/tmpl/.cvsignore:
14282 * docs/gst/tmpl/gstformat.sgml:
14283 * docs/gst/tmpl/gstversion.sgml:
14287 * gst/gstversion.h.in:
14288 more docs and two more inlined
14290 2005-08-30 Wim Taymans <wim@fluendo.com>
14292 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
14293 Don't sync to clock.
14295 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14297 * docs/gst/gstreamer-sections.txt:
14298 ultral33t func10ns deserve to appear in the docs actually
14299 * docs/gst/tmpl/.cvsignore:
14300 * docs/gst/tmpl/gstcompat.sgml:
14301 * docs/gst/tmpl/gstconfig.sgml:
14302 * gst/check/gstcheck.c:
14304 * gst/gstconfig.h.in:
14307 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14309 * docs/gst/tmpl/.cvsignore:
14310 * docs/gst/tmpl/gstquery.sgml:
14311 * docs/gst/tmpl/gstutils.sgml:
14314 inlined and extended docs
14316 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14318 * check/gst-libs/controller.c: (GST_START_TEST),
14319 (gst_controller_suite):
14321 * docs/gst/tmpl/gstutils.sgml:
14322 * docs/libs/gstreamer-libs-sections.txt:
14323 * docs/libs/tmpl/gstdataprotocol.sgml:
14325 * examples/controller/audio-example.c: (main):
14326 controller example works now
14329 * tools/gst-inspect.c: (print_element_properties_info):
14330 show param spec flags
14332 2005-08-29 Andy Wingo <wingo@pobox.com>
14334 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
14336 2005-08-28 Andy Wingo <wingo@pobox.com>
14338 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
14339 as having two arguments instead of just one. Allows superclasses
14340 to access information on subclasses -- see the terrible for() loop
14341 in gtype.c:g_type_create_instance for the reason why. All callers
14344 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14346 * docs/design/part-messages.txt:
14348 * docs/gst/tmpl/.cvsignore:
14349 * docs/gst/tmpl/gstcaps.sgml:
14350 * docs/gst/tmpl/gstclock.sgml:
14356 * gst/gstmessage.c:
14357 added descriptions for bus and message
14358 inline caps and clock docs
14360 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14362 * gst/gstmessage.c:
14363 * gst/gstmessage.h:
14366 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14368 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
14371 2005-08-26 Andy Wingo <wingo@pobox.com>
14373 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
14374 element_set_state's return val.
14375 (test_2_elements): Add test that's been disabled for months.
14377 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
14378 can-activate-pull properties.
14380 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
14381 can-activate-pull properties. Implement is_seekable so fakesrc can
14382 operate in pull mode.
14384 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
14386 (gst_base_sink_activate, gst_base_sink_activate_pull)
14387 (gst_base_sink_activate_push): Make activation mode choosing work.
14389 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
14390 is right. Make pull mode work. Post an eos before pausing in pull
14392 (gst_base_sink_change_state): Pay attention to the core's
14393 change_state() return val.
14395 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
14396 has-getrange properties. Cleanups.
14398 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
14399 has_getrange and replace with can_activate_pull and
14402 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
14403 locking comments. Remove has_loop, has_chain and replace with
14404 can_activate_pull and can_activate_push.
14406 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
14409 * examples/Makefile.am:
14410 * examples/metadata/Makefile.am:
14411 * examples/metadata/read-metadata.c: (message_loop),
14412 (have_pad_handler), (make_pipeline), (print_tag), (main):
14413 Add metadata reading example that loops over a list of filenames,
14414 dumping any tags found.
14416 * gst/gstbus.c: (gst_bus_dispose):
14417 * gst/gstelement.c: (gst_element_dispose):
14418 Release a few potentially-held references in dispose.
14420 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14422 * docs/gst/tmpl/gstminiobject.sgml:
14423 do *not* add tmpl/*.sgml files to CVS!
14425 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14427 * libs/gst/bytestream/.cvsignore:
14428 * libs/gst/bytestream/Makefile.am:
14429 * libs/gst/bytestream/adapter.c:
14430 * libs/gst/bytestream/adapter.h:
14431 * libs/gst/bytestream/bytestream.c:
14432 * libs/gst/bytestream/bytestream.h:
14433 * libs/gst/bytestream/filepad.c:
14434 * libs/gst/bytestream/filepad.h:
14435 removing obsolete files
14437 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14439 * docs/gst/gstreamer-docs.sgml:
14440 * docs/libs/gstreamer-libs-docs.sgml:
14441 disabed additional index entries again, as this makes docs-gen just
14442 slow and they aren't useful yet
14443 * docs/libs/gstreamer-libs-sections.txt:
14444 little -section.txt cleanup for libs
14446 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
14448 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14449 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
14450 fix up some debugging
14451 (gst_base_transform_get_unit_size),
14452 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
14453 (gst_base_transform_handle_buffer):
14454 * gst/base/gstbasetransform.h:
14455 handle and store timed NEWSEGMENT events so that subclasses that
14456 calculate time by counting samples have a segment_start time they
14457 need to add to their timestamps - see audioresample
14459 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14462 removed ';' from the end of macro defs
14463 * docs/gst/gstreamer-docs.sgml:
14464 * docs/gst/gstreamer-sections.txt:
14465 * docs/gst/tmpl/.cvsignore:
14467 * gst/gstelement.c: (gst_element_class_init),
14468 (gst_element_set_state), (activate_pads),
14469 (gst_element_save_thyself):
14470 * gst/gstevent.c: (gst_event_new_newsegment):
14472 * gst/gstiterator.c:
14473 * gst/gstiterator.h:
14476 * gst/gstutils.c: (gst_pad_query_convert):
14478 fixed parameter name mismatches between source, header and docs
14479 added some more docs, resolved the last batch of unused elements in
14480 docs (now someone needs to doc them)
14482 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14484 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
14485 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
14486 don't walk through the plugins backwards. Where is all this
14487 reversed logic coming from ?
14489 2005-08-25 Wim Taymans <wim@fluendo.com>
14491 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14492 (gst_base_transform_transform_size),
14493 (gst_base_transform_configure_caps),
14494 (gst_base_transform_get_unit_size),
14495 (gst_base_transform_buffer_alloc),
14496 (gst_base_transform_change_state):
14497 * gst/base/gstbasetransform.h:
14498 Cache caps unit_size.
14499 Make sure we cannot negotiate up and downstream at the
14502 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14504 * gst/gst.c: (init_pre), (init_post):
14505 register the installed plugin path after the env var
14506 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
14507 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
14508 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
14509 directories, so the tests can prefer uninstalled over installed
14511 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14513 * gst/base/gstbasetransform.h:
14518 2005-08-25 Wim Taymans <wim@fluendo.com>
14520 * gst/gstbin.c: (bin_bus_handler):
14521 Be a bit more conservative about the posted message.
14523 * gst/gstbus.c: (gst_bus_post):
14524 Some cleanups, warn wrong return values.
14526 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
14528 * check/gst/gstbin.c: (GST_START_TEST):
14529 * gst/gstbin.c: (bin_bus_handler):
14530 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14531 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14532 (gst_message_new_warning), (gst_message_new_tag),
14533 (gst_message_new_state_changed), (gst_message_new_segment_start),
14534 (gst_message_new_segment_done), (gst_message_new_custom):
14535 * gst/gstmessage.h:
14536 * tools/gst-launch.c: (event_loop):
14537 * tools/gst-md5sum.c: (event_loop):
14538 Revert unpopular change for GST_MESSAGE_SRC to GObject.
14540 2005-08-25 Wim Taymans <wim@fluendo.com>
14542 * check/generic/states.c: (GST_START_TEST):
14543 Cleanup can be done at the end.
14545 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
14546 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14547 (gst_task_get_state), (gst_task_start), (gst_task_pause):
14548 Oh boy.. Thanks for finding this, Thomas.
14550 2005-08-25 Stefan Kost <ensonic@users.sf.net>
14552 * docs/gst/gstreamer.types:
14553 added missing types
14555 2005-08-25 Stefan Kost <ensonic@users.sf.net>
14557 * docs/gst/gstreamer-docs.sgml:
14558 * docs/gst/gstreamer-sections.txt:
14559 * docs/gst/tmpl/.cvsignore:
14561 * gst/gstiterator.c:
14563 * gst/registries/gstxmlregistry.h:
14564 added missing classes and symbols (123 more to go)
14565 removed removed symbols from section file
14566 fixed many doc-comments
14568 2005-08-24 Wim Taymans <wim@fluendo.com>
14570 * check/generic/states.c: (GST_START_TEST):
14571 Make sure all tasks are stopped.
14573 * check/gst/gstbin.c: (GST_START_TEST):
14574 Unref after usage for proper valgrinding.
14576 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
14577 Really wait for the task to stop before destroying the
14580 * gst/gstqueue.c: (gst_queue_sink_activate_push),
14581 (gst_queue_src_activate_push):
14582 Small cleanups. Don't stop the task when we did not start
14585 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
14586 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14587 (gst_task_get_state), (gst_task_start), (gst_task_pause),
14590 Protect the stream lock with the object lock.
14591 Disallow setting the stream lock when running.
14592 Add cleanup_all to wait for the threadpool to finish.
14593 Remove code to autoallocate a mutex if none was provided.
14594 Add _join() to wait for a task to stop.
14595 Protect the thread pool with a global lock.
14597 2005-08-24 Wim Taymans <wim@fluendo.com>
14599 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14600 (gst_base_sink_get_times), (gst_base_sink_do_sync),
14601 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
14602 * gst/base/gstbasesink.h:
14603 Handle newsegment events correctly.
14604 Drop buffers out of the segment range.
14606 2005-08-22 Andy Wingo <wingo@pobox.com>
14608 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
14609 macro, implements an interface and gstimplementsinterface for a
14612 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
14614 * check/Makefile.am:
14615 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
14616 add a test that does a bunch of state changes on elements
14617 needs some fixing for valgrind
14618 * check/states/sinks.c: (gst_object_suite):
14621 add prototype for gst_caps_is_equal_fixed
14623 * gst/gstregistrypool.c:
14626 2005-08-24 Andy Wingo <wingo@pobox.com>
14628 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
14629 convert a negative value. Doesn't make much sense. Mostly this is
14630 here to force callers to ensure -1 maps to -1.
14632 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
14634 * docs/pwg/advanced-types.xml:
14635 Well done to Michael for catching my deliberate introduction
14636 of this spelling mistake.
14637 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
14638 * gst/gstelement.h:
14639 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
14640 unlink pads before removing the element from the bin.
14642 2005-08-24 Andy Wingo <wingo@pobox.com>
14644 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
14645 the same thing as GST_DEBUG=*:4.
14646 (parse_debug_level, parse_debug_category): New helper parsers.
14648 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
14650 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14651 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
14652 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
14653 (gst_base_transform_buffer_alloc),
14654 (gst_base_transform_handle_buffer):
14655 use gboolean return values and pointers to size so we can use the
14656 full GST_BUFFER_SIZE range (guint) for buffer sizes
14657 use GstPadDirection for transform_caps
14658 * gst/base/gstbasetransform.h:
14659 rename get_size to get_unit_size since that's what it is
14660 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
14661 use GstPadDirection for transform_caps
14662 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14664 cleanup and debugging
14666 2005-08-24 Stefan Kost <ensonic@users.sf.net>
14668 * gst/gstelement.c: (gst_element_class_init),
14669 (gst_element_set_state), (activate_pads),
14670 (gst_element_save_thyself):
14671 * tools/gst-compprep.c: (main):
14672 * tools/gst-inspect.c: (print_element_properties_info):
14673 * tools/gst-xmlinspect.c: (print_element_properties):
14674 Fixed long standing mem-leak
14676 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
14678 * check/gst/gstbin.c: (GST_START_TEST):
14679 * gst/gstbin.c: (bin_bus_handler):
14680 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14681 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14682 (gst_message_new_warning), (gst_message_new_tag),
14683 (gst_message_new_state_changed), (gst_message_new_segment_start),
14684 (gst_message_new_segment_done), (gst_message_new_custom):
14685 * gst/gstmessage.h:
14686 * tools/gst-launch.c: (event_loop):
14687 * tools/gst-md5sum.c: (event_loop):
14688 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
14689 that applications can sensibly post custom messages with references
14690 to their own objects.
14692 2005-08-24 Andy Wingo <wingo@pobox.com>
14694 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
14697 2005-08-24 Wim Taymans <wim@fluendo.com>
14699 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14700 (gst_base_transform_transform_caps),
14701 (gst_base_transform_transform_size),
14702 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14703 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14704 (gst_base_transform_handle_buffer):
14705 * gst/base/gstbasetransform.h:
14706 Many fixes and new features added by Thomas. Can now also do
14707 transforms with variable sizes and a custom fixate_caps function.
14709 2005-08-24 Wim Taymans <wim@fluendo.com>
14711 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14715 Cast to ClockTime before formatting to time.
14720 2005-08-24 Stefan Kost <ensonic@users.sf.net>
14722 * check/gst-libs/controller.c: (GST_START_TEST),
14723 (gst_controller_suite):
14724 * docs/gst/tmpl/gstcaps.sgml:
14725 * docs/gst/tmpl/gstghostpad.sgml:
14726 * docs/gst/tmpl/gstquery.sgml:
14727 * docs/gst/tmpl/gstutils.sgml:
14728 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
14729 (gst_object_sink_values), (gst_object_get_value_arrays),
14730 (gst_object_get_value_array):
14731 gracefully handle helper method calls to objects that are not beeing
14732 controlled, added test case for that
14734 2005-08-23 Wim Taymans <wim@fluendo.com>
14736 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
14737 (gst_event_new_newsegment), (gst_event_parse_newsegment),
14738 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
14739 (gst_event_parse_qos), (gst_event_new_seek),
14740 (gst_event_parse_seek):
14742 Some more debugging output and doc cleanups.
14744 * gst/gstqueue.c: (gst_queue_handle_sink_event):
14745 Fix possible deadlock.
14747 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14749 * docs/gst/gstreamer-docs.sgml:
14750 * docs/gst/gstreamer-sections.txt:
14751 * docs/gst/gstreamer.types:
14752 * docs/gst/tmpl/.cvsignore:
14755 * gst/gstelement.c:
14757 added 100 symbols from gstreamer-unused.txt to the right sections
14758 fixed more broken comments
14759 added GstBus to docs
14761 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14763 * docs/gst/gstreamer-sections.txt:
14764 * docs/gst/tmpl/.cvsignore:
14765 * docs/gst/tmpl/gstbin.sgml:
14766 * docs/gst/tmpl/gstbuffer.sgml:
14767 * gst/base/gstbasesrc.c:
14768 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14771 * tools/gst-launch.1.in:
14772 inlined more doc comments, added missing comments and fixed comments
14775 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
14777 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14781 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14783 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14784 * gst/gststructure.h:
14785 add a fixate function for booleans; add a FIXME that these func
14786 names should probably be gst_structure_fixate_*
14788 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14790 * docs/gst/gstreamer-docs.sgml:
14791 * docs/gst/gstreamer-sections.txt:
14793 * gst/gstbin.c: (gst_bin_get_type),
14794 (gst_bin_child_proxy_get_child_by_index),
14795 (gst_bin_child_proxy_get_children_count),
14796 (gst_bin_child_proxy_init):
14797 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14798 (gst_child_proxy_get_child_by_index),
14799 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14800 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14801 (gst_child_proxy_get), (gst_child_proxy_set_property),
14802 (gst_child_proxy_set_valist), (gst_child_proxy_set),
14803 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14804 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14805 * gst/gstchildproxy.h:
14806 * gst/parse/grammar.y:
14807 * tools/gst-inspect.c: (print_interfaces),
14808 (print_element_properties_info), (print_element_info):
14809 ported gstchildproxy over from 0.8
14810 ported gst-inspect fixes and enhancements over from 0.8
14812 2005-08-22 Wim Taymans <wim@fluendo.com>
14814 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14815 (gst_base_transform_handle_buffer):
14816 Also call the transform function if we have ANY caps.
14818 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14821 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14823 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14824 Don't pretend to handle seek events if the source is not seekable
14826 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14828 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14829 Remove extra parameter to debug output
14831 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14832 (gst_base_src_do_seek), (gst_base_src_activate_push):
14833 Fix seek event handling.
14835 * gst/gstpipeline.c: (gst_pipeline_change_state):
14836 * gst/gstqueue.c: (gst_queue_handle_sink_event),
14837 (gst_queue_src_activate_push):
14838 Don't start the src pad task on FLUSH_STOP if the pad
14842 2005-08-22 Wim Taymans <wim@fluendo.com>
14844 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14845 Added check for gst_static_caps_get() refcounting.
14847 2005-08-22 Wim Taymans <wim@fluendo.com>
14849 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14850 Make _static_caps_get() refcounting sane.
14852 * gst/gstelement.c: (gst_element_set_state):
14853 Add g_return_val_if_fail() to protect against segfaults.
14855 2005-08-22 Stefan Kost <ensonic@users.sf.net>
14857 * docs/gst/tmpl/gstevent.sgml:
14860 inlined remaining docs, added missing doc comments
14862 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
14864 * check/gst/gstbin.c: (GST_START_TEST):
14865 since we don't know when preroll is done, use refcount range
14867 * gst/check/gstcheck.h:
14868 add macro for checking refcount range
14870 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
14872 * check/Makefile.am:
14873 clean up environment for when registry gets built versus
14874 when actual tests are run; valgrind seems to not report
14875 leaks if GST_PLUGIN_PATH is set to some specific values
14876 * check/gst/gstbin.c: (GST_START_TEST):
14877 add more refcounting checks; maybe this exposes a
14879 * common/check.mak:
14880 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14881 * gst/check/gstcheck.h:
14882 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
14883 (gst_bin_change_state):
14884 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
14885 add/fix debugging/whitespace
14887 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
14889 * check/gst/gstevent.c: (event_probe), (test_event),
14891 Er, don't call gst_bin_watch_for_state_change you idiot.
14893 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
14895 * check/Makefile.am:
14896 Use CHECK_CFLAGS and CHECK_LIBS
14897 * check/gst/gstevent.c: (event_probe), (test_event),
14900 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14901 (gst_base_src_start), (gst_base_src_stop),
14902 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14903 (gst_base_src_change_state):
14904 Sprinkle gst_base_src_stop liberally around error paths to fix
14905 problems reusing a source after failed state changes.
14906 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14907 (helper_find_suggest), (gst_type_find_helper):
14908 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
14910 * docs/gst/tmpl/gstevent.sgml:
14911 Migrate part of the docs from the SGML file. Wait for ensonic to
14912 tell me how I did it wrong ;)
14913 * tools/gst-typefind.c: (main):
14914 Extra robustness to state changes between files.
14916 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
14918 * check/Makefile.am:
14919 don't valgrind the controller test - it's leaking - Stefan, HELP
14920 * gst/check/gstcheck.c: (gst_check_message_error),
14921 (gst_check_chain_func), (gst_check_setup_element),
14922 (gst_check_teardown_element), (gst_check_setup_src_pad),
14923 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
14924 (gst_check_teardown_sink_pad):
14925 * gst/check/gstcheck.h:
14926 add a bunch of methods to set up elements, and src and sink pads
14927 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
14928 * check/elements/identity.c: (setup_identity), (cleanup_identity),
14931 * gst/gstmessage.c:
14933 whitespace/doc fixes
14935 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14937 * gst/gstelement.h:
14938 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
14939 be handled by the application and not always printed as well
14941 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14943 * check/Makefile.am:
14945 * gst/check/gstcheck.c: (gst_check_message_error):
14946 * gst/check/gstcheck.h:
14947 add a fail_unless_equals_int
14948 add fail_unless for error messages
14950 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14952 * check/Makefile.am:
14954 * common/Makefile.am:
14955 * common/check.mak:
14957 factor out some of the common stuff so we can use it
14959 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14961 * check/Makefile.am:
14962 * check/gst/gstiterator.c: (GST_START_TEST):
14963 * check/gst/gstsystemclock.c: (GST_START_TEST),
14964 (gst_systemclock_suite):
14965 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14967 valgrind more tests
14969 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14971 * check/elements/.cvsignore:
14972 * check/elements/gstfakesrc.c:
14973 rename to name of element
14974 * check/elements/identity.c: (chain_func), (event_func),
14975 (setup_identity), (cleanup_identity), (GST_START_TEST),
14976 (identity_suite), (main):
14977 add a test for identity
14978 * check/Makefile.am:
14979 * pkgconfig/Makefile.am:
14980 * pkgconfig/gstreamer-check.pc.in:
14981 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14985 move the check stuff to a library that gets installed
14986 * check/gst-libs/controller.c: (GST_START_TEST):
14987 * check/gst-libs/gdp.c:
14988 * check/gst/gst.c: (GST_START_TEST):
14989 * check/gst/gstbin.c:
14990 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14991 * check/gst/gstbus.c:
14992 * check/gst/gstcaps.c: (GST_START_TEST):
14993 * check/gst/gstelement.c:
14994 * check/gst/gstghostpad.c:
14995 * check/gst/gstiterator.c:
14996 * check/gst/gstmessage.c:
14997 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
14998 * check/gst/gstobject.c:
14999 * check/gst/gstpad.c: (GST_START_TEST):
15000 * check/gst/gststructure.c: (GST_START_TEST):
15001 * check/gst/gstsystemclock.c: (GST_START_TEST),
15002 (gst_systemclock_suite):
15003 * check/gst/gsttag.c: (gst_tag_suite):
15004 * check/gst/gstvalue.c:
15005 * check/pipelines/cleanup.c:
15006 * check/pipelines/simple_launch_lines.c:
15007 * check/states/sinks.c:
15008 change include statement
15010 * docs/gst/gstreamer-sections.txt:
15011 * docs/gst/tmpl/gstpad.sgml:
15012 document more pad stuff
15013 * gst/gstminiobject.c: (gst_mini_object_ref),
15014 (gst_mini_object_unref):
15017 2005-08-19 Stefan Kost <ensonic@users.sf.net>
15019 * docs/gst/tmpl/gst.sgml:
15021 eliminate another tmpl file, fix spelling in the long-description
15023 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15025 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15026 (test_event), (timediff), (gstevents_suite):
15027 Should fix build on 64-bit arch's
15029 2005-08-18 Andy Wingo <wingo@pobox.com>
15031 Make sure that when a pipeline goes to PLAYING, that data has
15032 actually hit the sink.
15034 * check/states/sinks.c (test_sink): A sink that doesn't get any
15035 data shouldn't return SUCCESS for going to either PLAYING or
15036 PAUSED. Test also the return values on the way back down.
15038 * gst/gstelement.c (gst_element_set_state): When changing the
15039 state of an element currently changing state asynchronously, go to
15040 lost-state after commiting the pending state. Makes future calls
15041 to get_state continue to return ASYNC.
15043 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
15044 ASYNC when going to PLAYING if we still don't have preroll, as can
15045 happen with live sources.
15047 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15049 * docs/pwg/advanced-types.xml:
15050 Hack long paragraph into 2 chunks as a workaround for buggy
15051 jadetex version in sid and breezy that loops infinitely and
15054 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15056 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15057 (test_event), (timediff), (gstevents_suite):
15058 Provide more error margin in clock measurements to allow for
15059 g_get_current_time inaccuracies.
15061 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15063 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15064 (test_event), (timediff), (gstevents_suite):
15065 Fix error message output so I might be able to tell why the
15066 test works here but fails on the build farm.
15068 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
15070 * check/Makefile.am:
15071 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
15072 (test_event), (timediff), (gstevents_suite), (main):
15075 * docs/design/part-seeking.txt:
15076 Spelling correction
15078 * docs/gst/tmpl/gstevent.sgml:
15079 * docs/gst/tmpl/gstfakesrc.sgml:
15082 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15083 Treat a buffer-without-newsegment the same as a receiving
15084 a newsegment not in time format, and disable syncing to the clock
15087 * gst/gstbus.c: (gst_bus_set_sync_handler):
15088 Assert if anyone tries to replace the existing sync_handler for bus,
15089 as only the owner should be setting it.
15092 Have a fixed set of custom event enums with events identified by
15093 their structure name (as in 0.8), rather than a free-for-all
15094 allowing collisions between enum values from different plugins.
15096 * gst/gstpad.c: (gst_pad_class_init):
15099 * gst/gstqueue.c: (gst_queue_handle_sink_event):
15100 Handle out-of-band downstream events from the sending thread.
15102 2005-08-17 Andy Wingo <wingo@pobox.com>
15104 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
15105 play-timeout==0 to mean no timeout at all. In that case, don't
15106 bother with a get_state or a warning, just return directly, even
15109 * gst/base/gstbasetransform.c: Debug changes.
15112 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
15113 ensure bins post state change messages. A bit of a hack but I can't
15114 think of a way to avoid it.
15116 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
15118 2005-08-16 Andy Wingo <wingo@pobox.com>
15120 * gst/base/gstadapter.h:
15121 * gst/base/gstadapter.c (gst_adapter_take): New function, like
15122 peek() but you own the data. Not terribly efficient atm.
15124 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15126 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
15127 (gst_element_found_tags):
15129 Add two utility functions for tag handling.
15131 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15133 * docs/manual/advanced-dataaccess.xml:
15134 * docs/manual/basics-helloworld.xml:
15135 Fix docs to use _bin_add() before _link(), which fixes the examples
15136 with recent core versions (reported by Madhan Raj M
15137 <raj_madan@rediffmail.com>, #313199).
15139 2005-08-16 Wim Taymans <wim@fluendo.com>
15141 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15142 Added subtract checks.
15144 * docs/design/part-events.txt:
15145 Some more docs about newsegment
15147 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
15150 * gst/gstcaps.c: (gst_caps_to_string):
15151 Add comments, cleanups.
15153 * gst/gstelement.c: (gst_element_save_thyself):
15156 * gst/gstvalue.c: (gst_value_collect_int_range),
15157 (gst_string_unwrap), (gst_value_union_int_int_range),
15158 (gst_value_union_int_range_int_range),
15159 (gst_value_intersect_int_int_range),
15160 (gst_value_intersect_int_range_int_range),
15161 (gst_value_intersect_double_double_range),
15162 (gst_value_intersect_double_range_double_range),
15163 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
15164 (gst_value_subtract_int_range_int),
15165 (gst_value_subtract_double_range_double),
15166 (gst_value_subtract_double_range_double_range),
15167 (gst_value_subtract_from_list), (gst_value_subtract_list),
15168 (gst_value_can_compare), (gst_value_compare_fraction):
15169 Cleanups, add comments, remove unneeded asserts.
15171 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
15173 * tools/gst-launch.c: (event_loop):
15174 don't convert NULL structures to strings
15176 2005-08-15 Stefan Kost <ensonic@users.sf.net>
15178 * docs/gst/gstreamer-sections.txt:
15179 made some defines private
15180 * docs/gst/tmpl/gstconfig.sgml:
15181 * docs/gst/tmpl/gstqueue.sgml:
15182 * docs/gst/tmpl/gsttaglist.sgml:
15183 * docs/gst/tmpl/gsttypes.sgml:
15184 * docs/gst/tmpl/gstutils.sgml:
15185 * docs/pwg/appendix-porting.xml:
15186 * gst/base/gstbasesink.h:
15187 * gst/base/gstbasesrc.c:
15188 * gst/base/gstbasesrc.h:
15189 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
15190 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
15191 * gst/gstelement.c: (gst_element_class_init):
15192 * gst/gstpad.c: (gst_pad_class_init):
15193 * gst/gstqueue.c: (gst_queue_class_init):
15194 * gst/gstxml.c: (gst_xml_class_init):
15195 documented all undocumented signal inline
15196 * libs/gst/controller/gst-controller.h:
15199 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15201 * docs/pwg/appendix-porting.xml:
15202 Document _set_link_function -> _set_setcaps_function.
15204 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
15206 * check/Makefile.am:
15207 add a .check target for running the check
15208 * check/gst-libs/controller.c: (GST_START_TEST):
15210 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15211 complete checks for gstbuffer; would be nice if I could get the
15212 gcov stuff to work so I can see if I actually completed gstbuffer.c
15213 * check/gstcheck.h:
15214 add ASSERT_BUFFER_REFCOUNT
15216 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
15218 * docs/gst/gstreamer-sections.txt:
15219 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
15221 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
15222 spew out a warning if a tag that is already registered
15223 is re-registered, unless it is re-registered with a
15224 different type (#308438).
15226 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
15228 * docs/pwg/appendix-porting.xml:
15229 * docs/pwg/building-state.xml:
15230 Add some paragraphs about state changes in 0.9 to the PWG
15231 and the porting guide, in particular about the new meaning
15232 of GST_STATE_PAUSED and how to write state change functions
15233 with concurrent access by multiple threads in mind.
15235 2005-08-11 Stefan Kost <ensonic@users.sf.net>
15237 * docs/gst/gstreamer-docs.sgml:
15238 * docs/libs/gstreamer-libs-docs.sgml:
15239 added deprecation and since indexes
15240 * libs/gst/controller/gst-controller.c:
15241 * libs/gst/controller/gst-helper.c:
15245 2005-08-11 Wim Taymans <wim@fluendo.com>
15247 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
15248 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
15249 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
15250 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
15251 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
15252 (gst_ghost_pad_set_target):
15253 Actually implement (re)setting the target on a ghostpad
15254 as described in the docs.
15256 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
15258 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
15259 Check whether GST_DEBUG_NO_COLOR environment variable is
15260 set and disable coloured debug output if that is the case.
15262 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
15264 * gst/base/gsttypefindhelper.c: (helper_find_peek),
15265 (gst_type_find_helper):
15266 The memory returned by gst_type_find_peek() needs to
15267 stay valid until the end of a typefind function, and
15268 typefind functions may keep results from different
15269 offsets around, so we can't just unref the buffer from
15270 the previous _peek(), but have to save all buffers
15271 returned by _peek() until typefinding is done and only
15274 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
15276 * docs/gst/gstreamer-sections.txt:
15278 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
15280 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15282 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
15283 Fix a pretty good memleak.
15285 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
15287 * gst/gstiterator.h:
15288 Fix wrong include and 'make distcheck'.
15290 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15292 * gst/gstbin.c: (bin_bus_handler):
15293 Use gst_element_post_message() instead.
15295 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
15297 * gst/base/gstadapter.h:
15298 * gst/base/gstbasesink.h:
15299 * gst/base/gstbasesrc.h:
15300 * gst/base/gstbasetransform.h:
15301 * gst/base/gstcollectpads.h:
15302 * gst/base/gstpushsrc.h:
15303 * gst/gstiterator.h:
15304 Add padding to our base elements' class and instance structs and
15305 to GstIterator (you will need to rebuild all plugins and apps!)
15307 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15309 * gst/gstbin.c: (bin_bus_handler):
15310 Make default message forwarding from child->bus to bin->bus
15311 threadsafe and make it not emit warnings if the parent has no bus.
15313 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15315 * gst/gstelement.c: (activate_pads):
15316 On paused->ready, set pad->caps to NULL, as is the documented
15317 behaviour in this state change. Fixes playback of series of
15318 media files when visualization is enabled in Totem.
15320 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15322 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
15323 Allow NULL as filter-caps (which means "any").
15325 2005-08-05 Stefan Kost <ensonic@users.sf.net>
15327 * docs/libs/gstreamer-libs-sections.txt:
15328 * libs/gst/controller/gst-controller.c:
15329 * libs/gst/controller/gst-controller.h:
15330 * libs/gst/controller/gst-helper.c:
15331 adding more entries to the docs and fix small doc-bugs
15333 2005-08-05 Stefan Kost <ensonic@users.sf.net>
15335 * docs/gst/gstreamer-docs.sgml:
15336 * docs/gst/gstreamer-sections.txt:
15337 * docs/gst/gstreamer.types:
15338 * docs/gst/tmpl/gstbasesink.sgml:
15339 * docs/gst/tmpl/gstbasesrc.sgml:
15340 * docs/gst/tmpl/gstbasetransform.sgml:
15341 * docs/gst/tmpl/gstfakesrc.sgml:
15342 * gst/base/gstcollectpads.c:
15343 * gst/base/gstcollectpads.h:
15344 * libs/gst/controller/gst-controller.c:
15345 * libs/gst/controller/gst-controller.h:
15346 * libs/gst/controller/gst-helper.c:
15347 * libs/gst/controller/gst-interpolation.c:
15348 * libs/gst/controller/lib.c:
15349 added long/short desc for controller docs
15350 added collectpads base class docs
15351 added correct includes to base-class docs
15353 2005-08-05 Stefan Kost <ensonic@users.sf.net>
15355 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
15356 (gst_test_mono_source_set_property),
15357 (gst_test_mono_source_class_init), (GST_START_TEST),
15358 (gst_controller_suite):
15359 * docs/gst/gstreamer-docs.sgml:
15360 * docs/gst/gstreamer-sections.txt:
15361 * docs/gst/gstreamer.types:
15362 * docs/libs/gstreamer-libs-docs.sgml:
15363 * docs/libs/gstreamer-libs-sections.txt:
15364 * gst/base/gstadapter.c:
15365 * libs/gst/controller/gst-controller.c:
15366 (gst_controlled_property_new), (gst_controlled_property_free),
15367 (gst_controller_new_valist),
15368 (gst_controller_remove_properties_valist),
15369 (gst_controller_sink_values), (_gst_controller_finalize):
15370 * libs/gst/controller/gst-controller.h:
15371 * libs/gst/controller/gst-helper.c:
15372 (gst_object_control_properties), (gst_object_uncontrol_properties),
15373 (gst_object_get_controller), (gst_object_set_controller),
15374 (gst_object_sink_values), (gst_object_get_value_arrays),
15375 (gst_object_get_value_array):
15376 more tests (and fixes) for the controller
15377 more docs for the controller
15378 integrated companies docs for the adapter
15380 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
15382 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
15383 (GST_START_TEST), (fakesrc_suite):
15384 add tests for sizetype
15386 2005-08-04 Andy Wingo <wingo@pobox.com>
15388 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
15389 fixes buffer_alloc proxying among other things.
15391 * gst/base/gstbasetransform.c:
15392 * gst/base/gstbasetransform.h:
15393 Revert patch to gstbasetransform from 7-28 removing
15396 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
15397 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
15398 Semantics changed, should return not the size of the output buffer
15399 but the byte size of a buffer with a given caps.
15401 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
15403 (gst_base_transform_configure_caps): Don't set out_size here: (in,
15404 out) are not the pad caps until setcaps finishes.
15405 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
15406 not-in-place case as well. Deal with changing from in-place to
15407 not-in-place within calling pad_alloc_buffer. Still a bit
15408 concerned about the overhead here...
15410 2005-08-03 Andy Wingo <wingo@pobox.com>
15412 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
15413 fixating is an error.
15415 2005-08-04 Edward Hervey <edward@fluendo.com>
15417 * gst/base/gstadapter.h:
15418 Added gst_adapter_get_type() to the header
15420 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15422 * check/Makefile.am:
15423 * check/gst-libs/controller.c:
15424 * libs/gst/controller/gst-controller.c:
15425 (gst_controller_new_valist):
15426 added check test suite for the controller
15427 * gst/base/gstpushsrc.c:
15430 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15432 * docs/gst/Makefile.am:
15433 * docs/gst/gstreamer-docs.sgml:
15434 * docs/gst/gstreamer-sections.txt:
15435 * docs/gst/gstreamer.types:
15436 * docs/gst/tmpl/gstfakesrc.sgml:
15438 * gst/base/gstbasesink.c:
15439 * gst/base/gstbasesink.h:
15440 * gst/base/gstbasesrc.c:
15441 * gst/base/gstbasesrc.h:
15442 * gst/base/gstbasetransform.c:
15443 * gst/base/gstpushsrc.c:
15444 * gst/base/gstpushsrc.h:
15445 add short/long description docs to base classes
15446 add pushsrc to the docs
15447 remove consolidated doc fragments
15449 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15452 * docs/libs/Makefile.am:
15453 * docs/libs/gstreamer-libs-docs.sgml:
15454 * docs/libs/gstreamer-libs-sections.txt:
15455 * docs/libs/gstreamer-libs.types:
15456 * examples/Makefile.am:
15457 * examples/controller/.cvsignore:
15458 * examples/controller/Makefile.am:
15459 * examples/controller/audio-example.c: (main):
15460 * libs/gst/Makefile.am:
15461 * libs/gst/controller/.cvsignore:
15462 * libs/gst/controller/Makefile.am:
15463 * libs/gst/controller/gst-controller.c:
15464 (on_object_controlled_property_changed), (gst_timed_value_compare),
15465 (gst_timed_value_find),
15466 (gst_controlled_property_set_interpolation_mode),
15467 (gst_controlled_property_new), (gst_controlled_property_free),
15468 (gst_controller_find_controlled_property),
15469 (gst_controller_new_valist), (gst_controller_new),
15470 (gst_controller_remove_properties_valist),
15471 (gst_controller_remove_properties), (gst_controller_set),
15472 (gst_controller_set_from_list), (gst_controller_unset),
15473 (gst_controller_get), (gst_controller_get_all),
15474 (gst_controller_sink_values), (gst_controller_get_value_arrays),
15475 (gst_controller_get_value_array),
15476 (gst_controller_set_interpolation_mode),
15477 (_gst_controller_finalize), (_gst_controller_init),
15478 (_gst_controller_class_init), (gst_controller_get_type):
15479 * libs/gst/controller/gst-controller.h:
15480 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
15481 (g_object_uncontrol_properties), (g_object_get_controller),
15482 (g_object_set_controller), (g_object_sink_values),
15483 (g_object_get_value_arrays), (g_object_get_value_array):
15484 * libs/gst/controller/gst-interpolation.c:
15485 (gst_controlled_property_find_timed_value_node),
15486 (interpolate_none_get), (interpolate_trigger_get),
15487 (interpolate_trigger_get_value_array):
15488 * libs/gst/controller/lib.c: (gst_controller_init):
15489 * pkgconfig/Makefile.am:
15490 * pkgconfig/gstreamer-control-uninstalled.pc.in:
15491 * pkgconfig/gstreamer-control.pc.in:
15492 * testsuite/Makefile.am:
15493 * testsuite/controller/.cvsignore:
15494 * testsuite/controller/Makefile.am:
15495 * testsuite/controller/interpolator.c: (main):
15496 added controller code
15497 removed dparam pc files
15499 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
15500 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
15501 (gst_collectpads_stop):
15502 Broadcast the condition when shutting down, to make sure we wake all
15503 threads up. Shut down pads on finalize, for safety.
15505 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
15506 * gst/base/gstbasetransform.c: (gst_base_transform_init),
15507 (gst_base_transform_handle_buffer),
15508 (gst_base_transform_change_state):
15509 Handle PAUSED->READY->PAUSED transition after negotiation
15511 * gst/gstmessage.c: (gst_message_init):
15512 Extra piece of debug for new messages.
15514 2005-08-01 Stefan Kost <ensonic@users.sf.net>
15517 * docs/gst/tmpl/gstbasesrc.sgml:
15518 * docs/gst/tmpl/gstelement.sgml:
15519 * docs/gst/tmpl/gstevent.sgml:
15520 * docs/gst/tmpl/gstfakesrc.sgml:
15521 * docs/gst/tmpl/gstformat.sgml:
15522 * docs/gst/tmpl/gstghostpad.sgml:
15523 * docs/gst/tmpl/gstpad.sgml:
15524 * docs/gst/tmpl/gstquery.sgml:
15525 * docs/gst/tmpl/gststructure.sgml:
15526 * docs/gst/tmpl/gsttaglist.sgml:
15527 * docs/gst/tmpl/gstvalue.sgml:
15528 * docs/libs/gstreamer-libs-docs.sgml:
15529 * docs/libs/gstreamer-libs-sections.txt:
15530 * docs/libs/gstreamer-libs.types:
15531 * libs/gst/Makefile.am:
15532 * libs/gst/control/.cvsignore:
15533 * libs/gst/control/Makefile.am:
15534 * libs/gst/control/control.c:
15535 * libs/gst/control/control.h:
15536 * libs/gst/control/dparam.c:
15537 * libs/gst/control/dparam.h:
15538 * libs/gst/control/dparam_smooth.c:
15539 * libs/gst/control/dparam_smooth.h:
15540 * libs/gst/control/dparamcommon.h:
15541 * libs/gst/control/dparammanager.c:
15542 * libs/gst/control/dparammanager.h:
15543 * libs/gst/control/dplinearinterp.c:
15544 * libs/gst/control/dplinearinterp.h:
15545 * libs/gst/control/unitconvert.c:
15546 * libs/gst/control/unitconvert.h:
15547 * testsuite/Makefile.am:
15548 * testsuite/dynparams/.cvsignore:
15549 * testsuite/dynparams/Makefile.am:
15550 * testsuite/dynparams/dparamstest.c:
15551 * tools/Makefile.am:
15552 * tools/gst-inspect.c: (print_element_info), (main):
15553 * tools/gst-xmlinspect.c: (print_element_info), (main):
15554 deactivate and remove dparams (libgstcontrol)
15556 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15558 * gst/elements/gsttypefindelement.c:
15559 (gst_type_find_element_have_type), (gst_type_find_element_init),
15560 (stop_typefinding), (gst_type_find_element_handle_event),
15561 (gst_type_find_element_chain), (gst_type_find_element_getrange):
15562 * gst/elements/gsttypefindelement.h:
15563 Set caps on all outgoing buffers, not just the first one.
15565 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15567 * gst/elements/gsttypefindelement.c:
15568 (gst_type_find_element_have_type),
15569 (gst_type_find_element_check_set_buffer_caps),
15570 (gst_type_find_element_init), (stop_typefinding),
15571 (gst_type_find_element_handle_event),
15572 (gst_type_find_element_chain), (gst_type_find_element_getrange):
15573 * gst/elements/gsttypefindelement.h:
15574 Set caps on first outgoing buffer when we've found the type.
15576 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15578 * docs/gst/gstreamer-docs.sgml:
15579 * docs/gst/gstreamer-sections.txt:
15580 * docs/gst/tmpl/gstscheduler.sgml:
15581 * docs/gst/tmpl/gstschedulerfactory.sgml:
15582 Remove some old cruft from docs.
15584 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
15587 Fix inline docs for GstPadLinkReturn.
15589 * gst/gststructure.c: (gst_structure_has_name):
15590 * gst/gststructure.h:
15591 * docs/gst/gstreamer-sections.txt:
15592 New API: gst_structure_has_name().
15594 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
15597 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
15598 and _LARGEFILE_SOURCE in config.h as required. Do not
15599 export those flags in our .pc files any longer (#142209).
15601 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
15603 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
15604 (gst_file_sink_do_seek), (gst_file_sink_event),
15605 (gst_file_sink_get_current_offset), (gst_file_sink_render):
15606 Redo seek/tell calls with large file support in mind; add some
15607 debugging messages; add log message that tells us when large
15608 file support is unavailable or not enabled for some reason.
15610 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
15611 Add log message that tells us when large file support
15612 is unavailable or not enabled for some reason.
15614 2005-07-29 Wim Taymans <wim@fluendo.com>
15616 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15617 Added test for removing an element with ghostpad from a bin.
15618 Fixed test as current implementation does the right thing.
15620 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
15621 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
15622 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
15623 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
15624 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
15625 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
15626 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
15627 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15628 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
15629 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
15630 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
15631 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
15632 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
15633 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
15634 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
15635 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
15636 * gst/gstghostpad.h:
15637 Clean up ghostpads, remove properties for internal stuff.
15640 Prepare for switching targets, not all use cases work yet.
15642 2005-07-29 Wim Taymans <wim@fluendo.com>
15644 * docs/design/part-gstghostpad.txt:
15647 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15648 (gst_bin_remove_func):
15649 Unlinking pads while holding the bin LOCK is not a good
15652 * gst/gstpad.c: (gst_pad_class_init),
15653 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
15654 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
15655 No prob setting template after creating the pad.
15657 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
15659 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
15660 (gst_bus_peek), (gst_bus_source_dispatch),
15661 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
15662 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
15663 gst_bus_poll may be called from other threads. Handle
15664 this nicely by not making poll_data disappear off the
15665 stack once gst_bus_poll returns.
15666 gst_bus_peek now increments the refcount on the returned
15669 2005-07-29 Wim Taymans <wim@fluendo.com>
15671 * docs/design/part-gstghostpad.txt:
15672 Overview of current GhostPad datastructures and use
15673 cases for changing the target.
15675 2005-07-28 Wim Taymans <wim@fluendo.com>
15677 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15678 Added checks for hierarchy consistency whan adding linked
15681 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15682 Added check to test element scheduling without bin/pipeline.
15684 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15685 First add elements to bin, then link.
15687 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15688 (gst_bin_remove_func):
15689 Unlink pads from elements added/removed from bin to maintain
15690 hierarchy consistency.
15692 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15694 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
15695 (gst_base_transform_handle_buffer):
15696 * gst/base/gstbasetransform.h:
15697 Remove broken delay_configure (fixes renegotiation of software
15698 scaling pipelines); remove some leftover printf()s.
15700 2005-07-28 Wim Taymans <wim@fluendo.com>
15702 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15703 Added some more tests for wrong hierarchy
15705 * docs/design/part-overview.txt:
15708 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
15711 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
15712 (gst_element_dispose):
15713 Some more cleanups.
15715 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15716 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
15717 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15718 (gst_pad_set_caps), (gst_pad_send_event):
15719 Check for correct hierarchy when linking pads. Moving to
15720 strict requirement for ghostpads when linking elements in
15724 Clean ups. Added WRONG_HIERARCHY return value.
15726 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15728 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15729 Better debug if no transform is possible.
15731 2005-07-27 Wim Taymans <wim@fluendo.com>
15733 * docs/random/wtay/network-transp:
15734 Some old doc I had.
15736 2005-07-27 Wim Taymans <wim@fluendo.com>
15738 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15739 (gst_dp_event_from_packet):
15740 Fix serialization of seek events.
15742 2005-07-27 Wim Taymans <wim@fluendo.com>
15744 * check/gst-libs/gdp.c: (GST_START_TEST):
15745 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15746 Fix compilation and fix event serialization.
15748 2005-07-27 Wim Taymans <wim@fluendo.com>
15751 * docs/design/part-TODO.txt:
15752 * docs/design/part-events.txt:
15755 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15756 (gst_base_sink_event), (gst_base_sink_do_sync),
15757 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15758 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15759 (gst_base_src_do_seek), (gst_base_src_event_handler),
15760 (gst_base_src_loop):
15761 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15762 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15763 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15764 (gst_base_transform_event), (gst_base_transform_handle_buffer),
15765 (gst_base_transform_set_passthrough),
15766 (gst_base_transform_is_passthrough):
15767 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15768 * gst/elements/gstfilesink.c: (gst_file_sink_event):
15774 * gst/gstelement.c: (gst_element_seek):
15775 * gst/gstelement.h:
15776 Update gst_element_seek.
15778 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15779 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15780 (gst_event_new_flush_start), (gst_event_new_flush_stop),
15781 (gst_event_new_eos), (gst_event_new_newsegment),
15782 (gst_event_parse_newsegment), (gst_event_new_tag),
15783 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15784 (gst_event_parse_qos), (gst_event_new_seek),
15785 (gst_event_parse_seek), (gst_event_new_navigation):
15787 Make GstEvent use GstStructure. Add parsing code, make sure the
15788 API is sufficiently generic.
15789 Mark possible directions of events and serialization.
15791 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15792 (_gst_message_copy), (gst_message_new_segment_start),
15793 (gst_message_new_segment_done), (gst_message_new_custom),
15794 (gst_message_parse_segment_start),
15795 (gst_message_parse_segment_done):
15798 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15799 (gst_pad_set_caps), (gst_pad_send_event):
15800 Update for new events.
15801 Catch events sent in wrong directions.
15803 * gst/gstqueue.c: (gst_queue_link_src),
15804 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15805 (gst_queue_handle_src_query):
15810 Remove event code from this file.
15812 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15813 (gst_dp_event_from_packet):
15816 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15818 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15819 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15820 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15821 Make debugging actually useful.
15823 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15825 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15826 (gst_pad_fixate_caps):
15827 Implement default fixation once again, so that gst_pad_fixate()
15828 actually does anything at all. This probably needs to be some
15829 sort of a last resort, and use profile-based fixation first, but
15830 since that doesn't exist yet, this is the best we have. Fixes
15831 visualization in Totem.
15833 2005-07-22 Wim Taymans <wim@fluendo.com>
15835 * docs/design/part-events.txt:
15838 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15839 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15840 (gst_base_sink_activate_pull):
15841 Some more comments.
15843 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15844 (gst_fake_src_create):
15845 Fix handoff marshall.
15847 * gst/elements/gstidentity.c: (gst_identity_class_init),
15848 (gst_identity_transform_ip):
15849 We're a real inplace element.
15851 * gst/gstbus.c: (gst_bus_post):
15852 Added some comments.
15854 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15855 * tests/muxing/case1.c: (main):
15856 * tests/sched/dynamic-pipeline.c: (main):
15857 * tests/sched/interrupt1.c: (main):
15858 * tests/sched/interrupt2.c: (main):
15859 * tests/sched/interrupt3.c: (main):
15860 * tests/sched/runxml.c: (main):
15861 * tests/sched/sched-stress.c: (main):
15862 * tests/seeking/seeking1.c: (event_received), (main):
15863 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15865 * tests/threadstate/threadstate3.c: (main):
15866 * tests/threadstate/threadstate4.c: (main):
15867 * tests/threadstate/threadstate5.c: (main):
15870 2005-07-21 Wim Taymans <wim@fluendo.com>
15872 * docs/design/part-seeking.txt:
15873 Some small additions.
15875 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15876 (gst_base_sink_get_times), (gst_base_sink_do_sync),
15877 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15878 * gst/base/gstbasesink.h:
15879 discont values are gint64, handle the math correctly.
15881 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15882 Make the basesrc report error if the source pad is not linked.
15884 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15885 (gst_queue_loop), (gst_queue_handle_src_query),
15886 (gst_queue_src_activate_push):
15887 Make queue collect data even if the srcpad is not linked.
15888 Start pushing out data as soon as it is linked.
15890 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
15892 Added gst_flow_get_name() to ease error reporting.
15894 2005-07-20 Wim Taymans <wim@fluendo.com>
15896 * gst/gstmessage.c: (gst_message_new_segment_start),
15897 (gst_message_new_segment_done), (gst_message_parse_segment_start),
15898 (gst_message_parse_segment_done):
15899 * gst/gstmessage.h:
15900 Added a bunch of messages for advanced seeking.
15902 * gst/parse/grammar.y:
15903 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
15904 (gst_dpman_state_changed):
15905 Fix some new-pad -> pad-added signals
15907 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15909 * docs/manual/appendix-porting.xml:
15910 * docs/pwg/appendix-porting.xml:
15911 Document new-pad/state-change signal renames and the FixedList
15914 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15916 * docs/manual/advanced-autoplugging.xml:
15917 * docs/manual/basics-helloworld.xml:
15918 * docs/manual/basics-pads.xml:
15919 * docs/random/ds/0.9-suggested-changes:
15920 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
15921 * gst/gstelement.h:
15925 * gst/gststructure.c: (gst_structure_value_get_generic_type),
15926 (gst_structure_parse_array), (gst_structure_parse_value):
15927 * gst/gstvalue.c: (gst_type_is_fixed),
15928 (gst_value_list_prepend_value), (gst_value_list_append_value),
15929 (gst_value_list_get_size), (gst_value_list_get_value),
15930 (gst_value_transform_array_string), (gst_value_serialize_array),
15931 (gst_value_deserialize_array), (gst_value_intersect_array),
15932 (gst_value_is_fixed), (_gst_value_initialize):
15934 GstElement::new-pad -> pad-added, GstElement::state-change ->
15935 state-changed, GstValueFixedList -> GstValueArray, add format and
15936 flags as their own arguments in gst_element_seek() (should improve
15937 "bindeability"), remove function generators since they don't work
15938 under a whole bunch of compilers (they were deprecated already
15941 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15943 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15944 (_gst_debug_register_funcptr):
15946 Fix illegal cast on some platforms (#309253).
15948 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15950 * gst/gstmessage.c: (gst_message_new_custom):
15951 * gst/gstmessage.h:
15952 Add _new_custom, make _new_application a macro to _new_custom.
15954 2005-07-20 Wim Taymans <wim@fluendo.com>
15956 * gst/base/gstbasesrc.c: (gst_base_src_init),
15957 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15958 * gst/base/gstbasesrc.h:
15959 Add a gboolean to decide when to push out a discont.
15961 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15962 (gst_queue_loop), (gst_queue_handle_src_query),
15963 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
15964 (gst_queue_set_property), (gst_queue_get_property):
15967 * tests/threadstate/threadstate1.c: (main):
15968 Make a thread test compile and run... very silly..
15971 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15973 * docs/manual/appendix-porting.xml:
15974 Mention removal of libgstgconf-0.9.la and existence of gconf
15977 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15979 * docs/pwg/advanced-clock.xml:
15980 * docs/pwg/appendix-porting.xml:
15981 * docs/pwg/intro-preface.xml:
15982 * docs/pwg/other-base.xml:
15983 * docs/pwg/other-manager.xml:
15984 * docs/pwg/other-nton.xml:
15985 * docs/pwg/other-ntoone.xml:
15986 * docs/pwg/other-oneton.xml:
15987 * docs/pwg/pwg.xml:
15988 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
15989 demuxer), remove n-to-n (was never written), fix some code examples
15990 and links and update the porting section to include all this.
15992 2005-07-19 Wim Taymans <wim@fluendo.com>
15994 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
15995 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
15996 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
15997 (gst_queue_src_activate_push), (gst_queue_change_state),
15998 (gst_queue_get_property):
16000 Propagate GstFlowReturn more intelligently upstream and output
16001 an ERROR/EOS when streaming stopped due to fatal error.
16003 2005-07-19 Wim Taymans <wim@fluendo.com>
16005 * tools/gst-launch.c: (check_intr), (event_loop), (main):
16006 Don't block forever for the state change to complete, the
16007 pipeline already did with a sensible timeout.
16009 2005-07-19 Wim Taymans <wim@fluendo.com>
16011 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16012 Make sure we never call the create function is we
16015 2005-07-19 Andy Wingo <wingo@pobox.com>
16017 * gst/parse/parse.l: Attempt to solve bug #172815.
16019 2005-07-19 Wim Taymans <wim@fluendo.com>
16021 * docs/design/part-clocks.txt:
16022 * docs/design/part-events.txt:
16023 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
16024 Small docs updates.
16025 Only update the seeking values when we are not
16028 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
16030 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16031 Oops, ignore the result of gst_pad_push_event here.
16033 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
16035 * gst/base/gstbasesrc.c: (gst_base_src_loop),
16036 (gst_base_src_activate_push):
16037 Send discont event from the loop function, as pads
16038 aren't activated yet in the activate_push handler.
16040 * gst/gstbin.c: (bin_bus_handler):
16041 Don't leak element name.
16043 2005-07-18 Andy Wingo <wingo@pobox.com>
16045 * configure.ac: Use AS_LIBTOOL_TAGS.
16047 2005-07-18 Wim Taymans <wim@fluendo.com>
16049 * docs/gst/gstreamer.types:
16050 Remove deleted types.
16052 2005-07-18 Wim Taymans <wim@fluendo.com>
16054 * check/elements/gstfakesrc.c: (GST_START_TEST):
16057 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
16058 (init_popt_callback):
16060 * gst/gst_private.h:
16061 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
16062 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
16065 * gst/gstconfig.h.in:
16066 * gst/gstelement.c: (gst_element_class_init),
16067 (gst_element_set_base_time), (gst_element_get_base_time),
16068 (iterator_fold_with_resync), (gst_element_change_state),
16069 (gst_element_dispose), (gst_element_get_bus):
16070 * gst/gstelement.h:
16071 * gst/gstelementfactory.h:
16072 * gst/gsterror.c: (_gst_core_errors_init):
16075 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
16077 * gst/gstinfo.c: (_gst_debug_init):
16078 * gst/gstmessage.c: (_gst_message_copy):
16079 * gst/gstmessage.h:
16080 * gst/gstminiobject.h:
16083 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16084 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
16087 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16088 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
16089 (gst_pipeline_get_last_stream_time):
16090 * gst/gstpipeline.h:
16091 * gst/gstpluginfeature.h:
16093 * gst/gstscheduler.c:
16094 * gst/gstscheduler.h:
16095 * gst/gststructure.h:
16096 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
16097 (gst_task_finalize), (gst_task_func), (gst_task_create),
16098 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
16099 (gst_task_stop), (gst_task_pause):
16101 * gst/gsttypefind.h:
16103 * gst/registries/gstlibxmlregistry.c: (load_feature),
16104 (gst_xml_registry_load), (gst_xml_registry_save_feature):
16105 * gst/registries/gstxmlregistry.c:
16106 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
16107 * gst/schedulers/threadscheduler.c:
16108 * libs/gst/control/dparammanager.h:
16109 * tools/gst-inspect.c: (print_element_list),
16110 (print_plugin_features), (print_element_features):
16111 * tools/gst-xmlinspect.c: (print_element_list),
16112 (print_plugin_info), (main):
16113 Removed plugable schedulers.
16114 Removed Scheduler/Manager from elements.
16115 Removed gsttypes.h, rearranged includes.
16116 Removed dependency pad<->element, element<>pipeline, and
16117 various others, fix includes.
16118 implement gst_pad_get_parent() with gst_object_get_parent()
16119 Make GstTask sefcontained.
16120 Fix _get_state() on GstBin, it did not return ASYNC with a 0
16122 Fix endless loop in iterator_fold_with_resync.
16125 2005-07-18 Wim Taymans <wim@fluendo.com>
16131 2005-07-18 Wim Taymans <wim@fluendo.com>
16134 No more cothreads.h
16136 2005-07-18 Wim Taymans <wim@fluendo.com>
16140 Let's remove these.
16142 2005-07-18 Wim Taymans <wim@fluendo.com>
16144 * docs/design/part-dynamic.txt:
16145 * docs/design/part-events.txt:
16146 * docs/design/part-seeking.txt:
16147 Some more docs in the works.
16149 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
16150 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
16151 (gst_base_transform_setcaps), (gst_base_transform_get_size),
16152 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
16153 (gst_base_transform_handle_buffer),
16154 (gst_base_transform_sink_activate_push),
16155 (gst_base_transform_src_activate_pull),
16156 (gst_base_transform_set_passthrough),
16157 (gst_base_transform_is_passthrough):
16160 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
16163 * gst/gstevent.c: (gst_event_finalize):
16166 * gst/gstutils.c: (gst_element_unlink),
16167 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
16168 (gst_pad_proxy_setcaps):
16170 Add _get_parent_element() to get a pads parent as an element.
16172 2005-07-18 Wim Taymans <wim@fluendo.com>
16174 * check/gst/gstbin.c: (GST_START_TEST):
16177 2005-07-18 Wim Taymans <wim@fluendo.com>
16179 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16180 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16181 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16182 (gst_base_sink_event), (gst_base_sink_do_sync),
16183 (gst_base_sink_chain), (gst_base_sink_loop),
16184 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
16185 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
16187 Fix logic for returning ASYNC when not prerolled.
16189 2005-07-18 Wim Taymans <wim@fluendo.com>
16191 * gst/gstqueue.c: (gst_queue_handle_sink_event):
16192 Fix nasty refcount bug.
16194 2005-07-16 Philippe Khalaf <burger@speedy.org>
16196 * gst/elements/gstfdsrc.c:
16197 * gst/elements/gstfdsrc.h:
16198 * gst/elements/gstelements.c:
16199 * gst/elements/Makefile.am:
16200 Ported fdsrc to 0.9.
16202 2005-07-16 Wim Taymans <wim@fluendo.com>
16204 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16205 (gst_base_sink_do_sync):
16208 2005-07-16 Wim Taymans <wim@fluendo.com>
16210 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16211 (gst_base_sink_event), (gst_base_sink_get_times),
16212 (gst_base_sink_do_sync), (gst_base_sink_change_state):
16213 * gst/base/gstbasesink.h:
16214 Store and use discont values when syncing buffers as described
16217 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
16218 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
16219 (gst_base_src_activate_push):
16220 Push discont event when starting.
16222 * gst/elements/gstidentity.c: (gst_identity_transform):
16225 * gst/gstbin.c: (gst_bin_change_state):
16226 Small cleanups in base_time distribution.
16228 * gst/gstelement.c: (gst_element_set_base_time),
16229 (gst_element_get_base_time), (gst_element_change_state):
16230 * gst/gstelement.h:
16231 Added methods for the base_time of the element.
16234 * gst/gstpipeline.c: (gst_pipeline_send_event),
16235 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
16236 (gst_pipeline_get_last_stream_time):
16237 * gst/gstpipeline.h:
16239 Handle seeking as described in design doc, remove stream_time
16241 Cleanups clock and stream_time selection code. Added accessors
16242 for the stream_time.
16245 2005-07-16 Andy Wingo <wingo@pobox.com>
16247 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
16250 2005-07-16 Wim Taymans <wim@fluendo.com>
16252 * check/gst/gstbin.c: (GST_START_TEST):
16253 Make elements silent as the deep_notify refs the
16254 parent, which might make the test fail.
16256 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
16257 Don't hold the lock for too long.
16259 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
16261 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16262 Don't unref the caps we passed to gst_caps_make_writable() after
16263 passing them. gst_caps_make_writable() will do that for us.
16265 2005-07-15 Andy Wingo <wingo@pobox.com>
16267 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
16270 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
16271 own marshalling function for the handoff signal. Properly type the
16272 buffer as a buffer. Fixes some warnings. Should do a more general
16274 (gst_identity_class_init): Plug into the right marshaller.
16276 2005-07-15 Wim Taymans <wim@fluendo.com>
16278 * docs/design/part-TODO.txt:
16279 * docs/design/part-clocks.txt:
16280 * docs/design/part-element-sink.txt:
16281 * docs/design/part-events.txt:
16282 * docs/design/part-gstpipeline.txt:
16283 Updated docs, mostly DISCONT related.
16285 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
16287 * docs/pwg/building-pads.xml:
16288 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
16290 2005-07-15 Andy Wingo <wingo@pobox.com>
16292 * tools/gst-typefind.c: Update, add copyright block.
16294 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
16295 Normalize and truncate caps before fixation.
16298 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
16299 discards all but the first structure from its argument.
16301 2005-07-15 Wim Taymans <wim@fluendo.com>
16303 * gst/base/gstbasetransform.c: (gst_base_transform_init),
16304 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
16305 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16306 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
16307 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
16308 (gst_base_transform_chain), (gst_base_transform_change_state),
16309 (gst_base_transform_set_passthrough),
16310 (gst_base_transform_is_passthrough):
16311 * gst/base/gstbasetransform.h:
16312 Make passthrough work using the bufferpools.
16313 Changed API a bit, subclasses have to write into a buffer
16314 provided by the base class.
16315 More debug info in nego functions.
16317 * gst/elements/gstidentity.c: (gst_identity_init),
16318 (gst_identity_transform):
16319 Port to new base class.
16321 2005-07-15 Wim Taymans <wim@fluendo.com>
16323 * gst/gstmessage.c: (gst_message_new_state_changed):
16324 * tools/gst-launch.c: (event_loop), (main):
16325 Totally dump messages in -launch with the -m option.
16326 Fix message name for State messages,
16328 2005-07-14 Wim Taymans <wim@fluendo.com>
16330 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16331 Post error messages on errors.
16333 2005-07-14 Wim Taymans <wim@fluendo.com>
16335 * gst/gstcaps.c: (gst_caps_do_simplify):
16339 Define error for stream stopped.
16341 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16342 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
16343 Do proper return values.
16345 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16346 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
16347 (gst_pad_get_range):
16348 Better return values.
16351 Reorganise return values, add macro to check for fatal errors.
16353 * gst/gstqueue.c: (gst_queue_chain):
16354 Return proper GstFlowReturn values,
16356 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
16358 * docs/gst/gstreamer-sections.txt:
16359 * docs/gst/gstreamer.types:
16360 * docs/gst/tmpl/gst.sgml:
16361 * docs/gst/tmpl/gstbasesink.sgml:
16362 * docs/gst/tmpl/gstbasesrc.sgml:
16363 * docs/gst/tmpl/gstbasetransform.sgml:
16364 * docs/gst/tmpl/gstbin.sgml:
16365 * docs/gst/tmpl/gstbuffer.sgml:
16366 * docs/gst/tmpl/gstcaps.sgml:
16367 * docs/gst/tmpl/gstclock.sgml:
16368 * docs/gst/tmpl/gstcompat.sgml:
16369 * docs/gst/tmpl/gstconfig.sgml:
16370 * docs/gst/tmpl/gstelement.sgml:
16371 * docs/gst/tmpl/gstelementdetails.sgml:
16372 * docs/gst/tmpl/gstelementfactory.sgml:
16373 * docs/gst/tmpl/gstenumtypes.sgml:
16374 * docs/gst/tmpl/gsterror.sgml:
16375 * docs/gst/tmpl/gstevent.sgml:
16376 * docs/gst/tmpl/gstfakesink.sgml:
16377 * docs/gst/tmpl/gstfakesrc.sgml:
16378 * docs/gst/tmpl/gstfilesink.sgml:
16379 * docs/gst/tmpl/gstfilesrc.sgml:
16380 * docs/gst/tmpl/gstfilter.sgml:
16381 * docs/gst/tmpl/gstformat.sgml:
16382 * docs/gst/tmpl/gstghostpad.sgml:
16383 * docs/gst/tmpl/gstimplementsinterface.sgml:
16384 * docs/gst/tmpl/gstindex.sgml:
16385 * docs/gst/tmpl/gstindexfactory.sgml:
16386 * docs/gst/tmpl/gstinfo.sgml:
16387 * docs/gst/tmpl/gstiterator.sgml:
16388 * docs/gst/tmpl/gstmacros.sgml:
16389 * docs/gst/tmpl/gstmemchunk.sgml:
16390 * docs/gst/tmpl/gstminiobject.sgml:
16391 * docs/gst/tmpl/gstobject.sgml:
16392 * docs/gst/tmpl/gstpad.sgml:
16393 * docs/gst/tmpl/gstpadtemplate.sgml:
16394 * docs/gst/tmpl/gstparse.sgml:
16395 * docs/gst/tmpl/gstpipeline.sgml:
16396 * docs/gst/tmpl/gstplugin.sgml:
16397 * docs/gst/tmpl/gstpluginfeature.sgml:
16398 * docs/gst/tmpl/gstquery.sgml:
16399 * docs/gst/tmpl/gstqueue.sgml:
16400 * docs/gst/tmpl/gstregistry.sgml:
16401 * docs/gst/tmpl/gstregistrypool.sgml:
16402 * docs/gst/tmpl/gstscheduler.sgml:
16403 * docs/gst/tmpl/gstschedulerfactory.sgml:
16404 * docs/gst/tmpl/gststructure.sgml:
16405 * docs/gst/tmpl/gstsystemclock.sgml:
16406 * docs/gst/tmpl/gsttaglist.sgml:
16407 * docs/gst/tmpl/gsttagsetter.sgml:
16408 * docs/gst/tmpl/gsttrace.sgml:
16409 * docs/gst/tmpl/gsttrashstack.sgml:
16410 * docs/gst/tmpl/gsttypefind.sgml:
16411 * docs/gst/tmpl/gsttypefindfactory.sgml:
16412 * docs/gst/tmpl/gsttypes.sgml:
16413 * docs/gst/tmpl/gsturihandler.sgml:
16414 * docs/gst/tmpl/gsturitype.sgml:
16415 * docs/gst/tmpl/gstutils.sgml:
16416 * docs/gst/tmpl/gstvalue.sgml:
16417 * docs/gst/tmpl/gstversion.sgml:
16418 * docs/gst/tmpl/gstxml.sgml:
16419 * docs/libs/tmpl/gstcontrol.sgml:
16420 * docs/libs/tmpl/gstdataprotocol.sgml:
16421 * docs/libs/tmpl/gstdparam.sgml:
16422 * docs/libs/tmpl/gstdplinint.sgml:
16423 * docs/libs/tmpl/gstdpman.sgml:
16424 * docs/libs/tmpl/gstdpsmooth.sgml:
16425 * docs/libs/tmpl/gstgetbits.sgml:
16426 * docs/libs/tmpl/gstunitconvert.sgml:
16427 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
16428 (gst_push_src_base_init), (gst_push_src_class_init),
16429 (gst_push_src_init), (gst_push_src_create):
16430 * gst/base/gstpushsrc.h:
16431 * gst/elements/gstelements.c:
16432 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
16433 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
16434 (gst_fake_sink_init), (gst_fake_sink_set_property),
16435 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
16436 (gst_fake_sink_event), (gst_fake_sink_preroll),
16437 (gst_fake_sink_render), (gst_fake_sink_change_state):
16438 * gst/elements/gstfakesink.h:
16439 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16440 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16441 (gst_fake_src_base_init), (gst_fake_src_class_init),
16442 (gst_fake_src_init), (gst_fake_src_event_handler),
16443 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
16444 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
16445 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
16446 (gst_fake_src_create_buffer), (gst_fake_src_create),
16447 (gst_fake_src_start), (gst_fake_src_stop):
16448 * gst/elements/gstfakesrc.h:
16449 * gst/elements/gstfilesink.c: (_do_init),
16450 (gst_file_sink_base_init), (gst_file_sink_class_init),
16451 (gst_file_sink_init), (gst_file_sink_dispose),
16452 (gst_file_sink_set_location), (gst_file_sink_set_property),
16453 (gst_file_sink_get_property), (gst_file_sink_open_file),
16454 (gst_file_sink_close_file), (gst_file_sink_query),
16455 (gst_file_sink_event), (gst_file_sink_render),
16456 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
16457 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
16458 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
16459 * gst/elements/gstfilesink.h:
16460 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
16461 (gst_file_src_class_init), (gst_file_src_init),
16462 (gst_file_src_finalize), (gst_file_src_set_location),
16463 (gst_file_src_set_property), (gst_file_src_get_property),
16464 (gst_file_src_map_region), (gst_file_src_map_small_region),
16465 (gst_file_src_create_mmap), (gst_file_src_create_read),
16466 (gst_file_src_create), (gst_file_src_is_seekable),
16467 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
16468 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
16469 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
16470 (gst_file_src_uri_handler_init):
16471 * gst/elements/gstfilesrc.h:
16472 more autistic cleanliness in functions/names/defines
16474 2005-07-13 Andy Wingo <wingo@pobox.com>
16476 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
16477 source couldn't negotiate.
16479 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
16483 * gst/gstutils.c (gst_element_link_pads_filtered): New old
16484 function. I am channeling Hades. Put your boots on suckers!!!
16486 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
16488 * testsuite/caps/Makefile.am:
16489 * testsuite/caps/value_compare.c:
16490 * testsuite/caps/value_intersect.c:
16491 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16492 move two testsuite apps over to the check dir
16494 2005-07-12 Wim Taymans <wim@fluendo.com>
16496 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
16497 Added more debug info in the negotiate process.
16499 * gst/gstmessage.h:
16500 Prepare for segment playback.
16502 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
16508 * tools/gst-launch.c: (main):
16509 NULL pipeline on errors.
16511 2005-07-12 Andy Wingo <wingo@pobox.com>
16513 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
16514 not it comes from a malloc region. Make sure our copy gets freed.
16516 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16518 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16519 * check/gst/gstmessage.c: (GST_START_TEST):
16520 * check/gst/gststructure.c: (GST_START_TEST),
16521 (gst_structure_suite), (main):
16523 * gst/gstelement.c: (gst_element_message_full):
16524 clean up GError and debug string now that they get copied
16525 * gst/gstmessage.c: (gst_message_new_error),
16526 (gst_message_new_warning), (gst_message_parse_error),
16527 (gst_message_parse_warning):
16528 use GST_TYPE_G_ERROR for structure_new, and take copies of
16529 arguments, so that we don't mess up refcounting
16531 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16533 * check/Makefile.am:
16534 add per-test valgrind targets
16535 * check/gst-libs/gdp.c: (GST_START_TEST),
16536 (gst_data_protocol_suite), (main):
16539 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16541 * check/Makefile.am:
16542 instate more valgrindable tests
16543 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16544 (GST_START_TEST), (fakesrc_suite):
16545 * check/gst/gstpad.c: (GST_START_TEST):
16546 * check/gst/gststructure.c: (GST_START_TEST):
16548 * docs/gst/tmpl/gstminiobject.sgml:
16549 * gst/gstpad.c: (gst_pad_finalize):
16550 fix the static mutex leak
16552 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16554 * check/Makefile.am:
16555 add two more tests for valgrinding
16556 * check/gst/gstvalue.c: (GST_START_TEST):
16557 test refcount of deserialized buffer, found a leak
16558 * docs/gst/gstreamer-docs.sgml:
16559 * docs/gst/gstreamer-sections.txt:
16560 * docs/gst/gstreamer.types:
16561 * docs/gst/tmpl/gstminiobject.sgml:
16562 add miniobject to docs
16563 * gst/gstminiobject.c:
16565 * gst/gstvalue.c: (gst_value_deserialize_buffer),
16566 (gst_string_unwrap):
16567 fix a hard-to-find invalid write for one of the tests
16568 fix a leak for deserialized buffers
16570 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16572 * docs/pwg/advanced-events.xml:
16573 * docs/pwg/advanced-request.xml:
16574 * docs/pwg/advanced-scheduling.xml:
16575 * docs/pwg/appendix-porting.xml:
16576 * docs/pwg/building-boiler.xml:
16577 * docs/pwg/intro-preface.xml:
16578 * docs/pwg/other-ntoone.xml:
16579 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
16580 of example code and explanation for pad activation, loop() and
16581 getrange() functions and a bit more. Remove old comments pointing
16583 * examples/pwg/Makefile.am:
16584 Add loop/getrange examples.
16586 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16589 check for valgrind binary + some fixes
16591 valgrind suppressions for the tests
16592 * check/Makefile.am:
16593 add a valgrind: target that valgrinds the unit tests
16594 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
16595 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16596 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16597 * check/gst/gstghostpad.c:
16599 * check/gst/gstdata.c:
16601 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
16602 (thread_unref), (gst_mini_object_suite), (main):
16604 * gst/gst.c: (gst_deinit):
16606 add a method to clean up.
16607 * gst/gstsystemclock.c: (gst_system_clock_dispose),
16608 (gst_system_clock_obtain):
16609 allow for disposing the system clock.
16610 * tools/gst-launch.c: (main):
16613 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16615 * docs/gst/tmpl/gstbasesrc.sgml:
16616 * docs/gst/tmpl/gstfakesrc.sgml:
16617 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16618 (gst_base_src_init), (gst_base_src_set_property),
16619 (gst_base_src_get_property), (gst_base_src_get_range),
16620 (gst_base_src_start):
16621 * gst/base/gstbasesrc.h:
16622 add num-buffers property
16623 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16624 (gst_fakesrc_init), (gst_fakesrc_set_property),
16625 (gst_fakesrc_get_property), (gst_fakesrc_create),
16626 (gst_fakesrc_start):
16627 remove num-buffers property
16629 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16631 * docs/gst/gstreamer-sections.txt:
16632 * docs/gst/tmpl/gstbasesink.sgml:
16633 * docs/gst/tmpl/gstbasesrc.sgml:
16634 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16635 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16636 (gst_base_sink_finalize), (gst_base_sink_set_clock),
16637 (gst_base_sink_set_property), (gst_base_sink_get_property),
16638 (gst_base_sink_handle_object), (gst_base_sink_event),
16639 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16640 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
16641 (gst_base_sink_loop), (gst_base_sink_deactivate),
16642 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
16643 (gst_base_sink_change_state):
16644 * gst/base/gstbasesink.h:
16645 * gst/base/gstbasesrc.h:
16646 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
16647 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16648 (gst_filesink_init):
16649 more macro splitting
16651 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16653 * gst/gstelement.c: (gst_element_get_bus):
16655 * tools/gst-launch.c: (check_intr), (event_loop):
16658 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16660 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16663 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16665 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16666 (gst_base_src_finalize):
16667 add finalize method and clean up properly
16668 * gst/gstpipeline.c: (gst_pipeline_dispose):
16671 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16673 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
16675 add more things to check
16676 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
16677 * gst/gstelement.c:
16680 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16682 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16683 (GST_START_TEST), (fakesrc_suite):
16684 * check/gst-libs/gdp.c: (GST_START_TEST):
16685 * check/gst/gst.c: (GST_START_TEST):
16686 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16687 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16688 * check/gst/gstbus.c: (GST_START_TEST):
16689 * check/gst/gstcaps.c: (GST_START_TEST):
16690 * check/gst/gstdata.c: (GST_START_TEST):
16691 * check/gst/gstelement.c: (GST_START_TEST):
16692 * check/gst/gstghostpad.c: (GST_START_TEST):
16693 * check/gst/gstiterator.c: (GST_START_TEST):
16694 * check/gst/gstmessage.c: (GST_START_TEST):
16695 * check/gst/gstobject.c: (GST_START_TEST):
16696 * check/gst/gstpad.c: (GST_START_TEST):
16697 * check/gst/gststructure.c: (GST_START_TEST):
16698 * check/gst/gstsystemclock.c: (GST_START_TEST),
16699 (gst_systemclock_suite):
16700 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
16701 * check/gst/gstvalue.c: (GST_START_TEST):
16702 * check/pipelines/cleanup.c: (GST_START_TEST):
16703 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16704 * check/states/sinks.c: (GST_START_TEST):
16705 * check/gstcheck.c: (gst_check_init):
16706 * check/gstcheck.h:
16707 add debugging category
16708 use GST_START_TEST now, so we add a debug line
16710 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16712 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
16713 add test for state change message on a bin
16714 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
16716 * gst/gstbin.c: (gst_bin_init):
16717 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
16718 * gst/gstelement.c: (gst_element_post_message),
16719 (gst_element_set_state):
16720 * gst/gstelementfactory.c: (gst_element_factory_create):
16721 * gst/gstmessage.c: (gst_message_new):
16722 * gst/gstscheduler.c:
16723 various debugging additions and cleanups
16725 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16727 * check/Makefile.am:
16728 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
16730 adding tests for elements
16731 * gst/gstelement.c: (gst_element_dispose):
16733 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16735 * gst/registries/gstlibxmlregistry.c: (load_feature):
16736 plug more leaks. A simple gst_init() now is leakfree, yay.
16738 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16740 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
16741 (gst_xml_registry_load):
16742 plug another memleak
16744 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16747 use GST_SET_ERROR_CFLAGS
16748 * docs/faq/cvs.xml:
16749 change to ERROR_CFLAGS
16751 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16754 make GST_ERROR_CFLAGS overridable and re-enable Werror
16755 * docs/faq/cvs.xml:
16756 add a note about error CFLAGS
16757 * docs/gst/tmpl/gstfakesrc.sgml:
16758 * gst/elements/gstfakesrc.c:
16759 comment out some unused code
16760 * gst/gst.c: (split_and_iterate):
16761 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
16765 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16767 * common/Makefile.am:
16768 * common/gtk-doc.mak:
16769 * docs/gst/Makefile.am:
16770 factor out gtk-doc.mak
16772 2005-07-07 Wim Taymans <wim@fluendo.com>
16774 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16775 (gst_thread_scheduler_dispose):
16776 Unlock the STREAM_LOCK completely.
16778 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16780 * check/Makefile.am:
16781 * check/elements/.cvsignore:
16782 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16783 (START_TEST), (fakesrc_suite), (main):
16784 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16785 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16786 (gst_fakesrc_create), (gst_fakesrc_start):
16787 * gst/elements/gstfakesrc.h:
16788 adding a first element test
16790 2005-07-07 Andy Wingo <wingo@pobox.com>
16792 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16795 2005-07-07 Wim Taymans <wim@fluendo.com>
16801 2005-07-07 Wim Taymans <wim@fluendo.com>
16803 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16804 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16805 Allow subclasses to implement their own negotiation.
16807 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16809 * docs/design/part-gstbin.txt:
16810 * docs/design/part-gstpipeline.txt:
16811 Update design notes to reflect the movement of
16812 responsibility for bus handling from GstPipeline to
16815 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16818 Remove unnecessary queue2/3/4 examples.
16820 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16822 * examples/Makefile.am:
16823 * examples/helloworld/helloworld.c: (event_loop), (main):
16824 * examples/queue/queue.c: (event_loop), (main):
16825 * examples/queue2/queue2.c: (main):
16826 Update a couple of the examples to work again.
16828 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16829 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16830 Spelling corrections and extra debug.
16832 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16833 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16834 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16836 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16837 (gst_pipeline_change_state):
16838 * gst/gstpipeline.h:
16839 Move the bus handler for children to the GstBin, and create a
16840 separate bus for receiving messages from children to the one the
16841 bus sends 'upwards' on.
16843 2005-07-06 Wim Taymans <wim@fluendo.com>
16846 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16847 (gst_base_sink_handle_object), (gst_base_sink_loop),
16848 (gst_base_sink_change_state):
16849 * gst/base/gstbasesink.h:
16850 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16851 (gst_base_src_init), (gst_base_src_setcaps),
16852 (gst_base_src_getcaps), (gst_base_src_loop),
16853 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16854 (gst_base_src_start), (gst_base_src_change_state):
16855 * gst/base/gstbasesrc.h:
16856 Make basesrc negotiate.
16857 Handle the case where preroll fails in basesink.
16860 2005-07-06 Wim Taymans <wim@fluendo.com>
16862 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
16863 Implement the fixate function.
16864 Clean up acceptcaps.
16866 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16868 * docs/pwg/building-filterfactory.xml:
16869 * docs/pwg/pwg.xml:
16870 Remove never-written filter-factory chapter; I'll add the various
16871 base classes to part 4 ("other element types") later on.
16873 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16875 * docs/pwg/advanced-negotiation.xml:
16876 * docs/pwg/building-boiler.xml:
16877 * docs/pwg/building-pads.xml:
16878 * docs/pwg/pwg.xml:
16879 * examples/pwg/Makefile.am:
16880 Add a chapter on caps negotiation, simplify the original code
16881 samples a bit w.r.t. caps negotiation, add link to the advanced
16882 section. Add a bunch of examples showing different use cases of
16883 different types of caps negotiation. Upstream renegotiation isn't
16884 fully documented yet since nobody knows how that works.
16886 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
16888 * check/gst/gstpad.c:
16889 * check/gstcheck.c:
16890 * gst/gstpad.c: (gst_pad_get_internal_links_default):
16891 if pad has no parent, return NULL as list of internal links
16893 2005-07-05 Andy Wingo <wingo@pobox.com>
16895 * gst/elements/gstfilesrc.c:
16896 * gst/elements/gstfakesrc.c:
16897 * gst/base/gstpushsrc.c:
16898 * gst/base/gstbasesrc.h:
16899 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
16901 2005-07-05 Stefan Kost <ensonic@users.sf.net>
16904 better report generation target (lcov needs a patch)
16906 2005-07-05 Andy Wingo <wingo@pobox.com>
16908 * gst/elements, testsuite: Null if we got it...
16910 2005-07-05 Wim Taymans <wim@fluendo.com>
16913 * libs/gst/dataprotocol/Makefile.am:
16914 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
16915 * libs/gst/dataprotocol/dataprotocol.h:
16916 * pkgconfig/Makefile.am:
16917 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
16918 * pkgconfig/gstreamer-dataprotocol.pc.in:
16919 Ported dataprotol to 0.9.
16920 Added pkgconfig files.
16922 2005-07-05 Andy Wingo <wingo@pobox.com>
16924 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
16925 Default to returning TRUE for the case when tranform_caps returns
16926 a fixed caps, like for identity or volume.
16928 * check/gst/gstbus.c (pound_bus_with_messages):
16929 * check/gst/gstmessage.c (START_TEST):
16930 * check/pipelines/simple_launch_lines.c (got_handoff): Application
16931 message API change.
16933 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
16934 logic weaks here: always run transform_caps, trying passthrough
16935 operation only if the original caps intersects with the transform.
16937 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
16938 source and sink caps.
16940 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
16941 Intersect the peer caps with the pad template before going into
16943 (gst_base_transform_transform_caps): More debugging.
16945 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
16948 2005-07-04 Edward Hervey <edward@fluendo.com>
16952 (gst_pad_add_*_probe): now returns the signal id for better wrapping
16955 2005-07-04 Andy Wingo <wingo@pobox.com>
16957 * check/gst/gstpad.c: Only set explicit caps on pads.
16959 2005-07-01 Andy Wingo <wingo@pobox.com>
16961 * tests/network-clock.scm: Commentary update.
16963 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
16964 Didn't really make sense, not implementable with basetransform,
16966 (gst_identity_transform): Unref inbuf via make_writable. Feeble
16967 attempt at implementing the sync property, needs an unlock method.
16969 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
16970 New func, by default returns the same caps (the identity
16972 (gst_base_transform_getcaps): Uses transform_caps to return
16973 something sensible.
16974 (gst_base_transform_setcaps): Complicated logic to get caps on
16975 both pads, even if they are different, and to call set_caps once
16976 for every time both pads get their caps set.
16977 (gst_base_transform_handle_buffer): Give the ref to the transform
16978 function. Allows in-place modification of the buffer.
16980 * gst/base/gstbasetransform.h (transform_caps): New class method.
16981 Given caps on one side, what can I do on the other.
16982 (set_caps): Take two caps, one for each side of the element.
16985 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
16986 caps in place. This is safe because we can check the mutability of
16987 the caps, and a good idea because fixate functions are just called
16988 as a matter of last resort. (Not actually implemented.)
16989 (gst_pad_set_caps): If the caps we're setting is actually the same
16990 as the existing pad caps, just update the pointer without calling
16991 setcaps. Assert that caps is either NULL or fixed, as per the
16994 * gst/gstghostpad.c: Update for fixate changes.
16996 2005-07-02 Andy Wingo <wingo@pobox.com>
16999 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
17000 two refcounts makes it immutable, which is enough. Doc more.
17002 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
17004 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
17005 Put the mini_object into GValue as a mini_object,
17006 not a gpointer, since that's how we declared
17009 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17011 * examples/pwg/Makefile.am:
17012 Fix buildbot again.
17014 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17016 * docs/pwg/building-testapp.xml:
17018 * examples/pwg/Makefile.am:
17021 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17024 * examples/Makefile.am:
17025 * examples/pwg/Makefile.am:
17026 * examples/pwg/extract.pl:
17027 Enable building the PWG examples.
17028 * docs/pwg/advanced-interfaces.xml:
17029 Add URI interface stub.
17030 * docs/pwg/advanced-types.xml:
17031 * docs/pwg/other-autoplugger.xml:
17032 * docs/pwg/appendix-porting.xml:
17033 * docs/pwg/pwg.xml:
17034 Add porting guide (mostly stubs), remove autoplugging (see ADM).
17035 * docs/pwg/building-boiler.xml:
17036 * docs/pwg/building-chainfn.xml:
17037 * docs/pwg/building-pads.xml:
17038 * docs/pwg/building-props.xml:
17039 * docs/pwg/building-state.xml:
17040 * docs/pwg/building-testapp.xml:
17041 Update the building-*.xml parts for 0.9 changes. All examples
17042 code blocks compile in examples/pwg/*.
17044 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17046 * docs/manual/advanced-autoplugging.xml:
17047 * docs/manual/appendix-checklist.xml:
17048 * docs/manual/appendix-integration.xml:
17049 * docs/manual/highlevel-components.xml:
17050 Fix playbin/decodebin examples, update docs a bit, mention bus
17051 instead of signals in various places, mention kmplayer and
17052 kaffeine since they have a working GStreamer backend in the KDE
17055 2005-06-30 Wim Taymans <wim@fluendo.com>
17058 * docs/design/draft-ghostpads.txt:
17059 * docs/design/draft-push-pull.txt:
17060 * docs/design/draft-query.txt:
17061 * docs/design/part-TODO.txt:
17062 * docs/design/part-query.txt:
17063 Added CHANGES-0.9 doc, updated status of other docs.
17068 2005-06-30 Wim Taymans <wim@fluendo.com>
17070 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
17071 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
17072 (gst_base_sink_change_state):
17073 * gst/base/gstbasesink.h:
17074 Some tweaks, only EOS and a buffer complete a preroll.
17076 2005-06-30 Andy Wingo <wingo@pobox.com>
17078 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
17079 activate_push down to the internal pad as well.
17081 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
17083 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17085 * gst/gsttaginterface.c:
17086 Some documentation fixes (#307394 and #307397).
17088 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
17090 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17092 * gst/gstvalue.c: (gst_value_intersect_list):
17093 Fix memleak (#309125).
17095 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17097 * docs/manual/advanced-dataaccess.xml:
17098 Fix fakesrc example to compile; doesn't work, bug somewhere...?
17099 * docs/manual/basics-pads.xml:
17100 Add reference for filtered caps to above chapter.
17102 2005-06-30 Wim Taymans <wim@fluendo.com>
17104 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
17105 (gst_bin_change_state):
17107 Lame attempt at making the state change function a bit
17110 2005-06-30 Wim Taymans <wim@fluendo.com>
17112 * docs/design/part-clocks.txt:
17113 * docs/design/part-element-sink.txt:
17114 * docs/design/part-events.txt:
17115 * docs/design/part-preroll.txt:
17116 * docs/design/part-states.txt:
17117 Some more tweeks and additions to the docs.
17119 2005-06-30 Wim Taymans <wim@fluendo.com>
17121 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17122 (default_have_data), (gst_pad_class_init), (gst_pad_init),
17123 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
17124 (gst_pad_check_pull_range), (gst_pad_get_range),
17125 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
17127 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
17128 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17129 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17130 (gst_pad_remove_buffer_probe):
17131 Removed atomic operations, use existing LOCK.
17132 Move exception handling out of main code path.
17134 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17136 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17137 (silly_return_true_function), (gst_pad_class_init),
17138 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
17139 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
17140 (gst_pad_send_event):
17141 Fix accumulator, add default value by using _emitv() instead
17142 of _emit() for signal emission.
17144 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17146 * docs/manual/advanced-dataaccess.xml:
17147 * examples/manual/Makefile.am:
17149 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
17152 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
17154 * gst/elements/gstfilesink.c: (gst_filesink_render):
17155 Simplify code so that we don't have to handle short
17156 writes and return GST_FLOW_ERROR if an error occured.
17158 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17160 * docs/gst/gstreamer-docs.sgml:
17161 Remove probes more.
17163 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17165 * docs/gst/gstreamer-sections.txt:
17166 * docs/gst/tmpl/gstpad.sgml:
17167 * docs/gst/tmpl/gstprobe.sgml:
17169 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17170 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
17171 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17172 (gst_pad_push_event), (gst_pad_send_event):
17174 * gst/gstutils.c: (gst_pad_add_data_probe),
17175 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17176 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17177 (gst_pad_remove_buffer_probe):
17179 Remove old probes, add new g-signal-based probes and some utility
17182 2005-06-29 Edward Hervey <edward@fluendo.com>
17184 * gst/gstelementfactory.c:
17187 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
17188 the definition to the header file.
17190 2005-06-29 Andy Wingo <wingo@pobox.com>
17192 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
17193 plugins from the source directory.
17195 2005-06-29 Wim Taymans <wim@fluendo.com>
17197 * docs/gst/tmpl/gstbuffer.sgml:
17198 * docs/gst/tmpl/gstclock.sgml:
17199 Some fixings for blantently wrong text.
17201 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
17203 * check/Makefile.am:
17204 * gst/gst.c: (add_path_func), (init_pre):
17205 * gst/gstregistry.c: (gst_registry_add_path):
17206 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
17207 only scan the GST_PLUGIN_PATH locations, and not add
17210 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
17212 * docs/gst/gstreamer-sections.txt:
17213 * docs/gst/tmpl/gstbasesrc.sgml:
17214 * gst/gstelement.c:
17215 * gst/gstelement.h:
17220 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17222 * docs/manual/advanced-autoplugging.xml:
17223 Fix autoplugging example.
17225 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17227 * docs/manual/advanced-autoplugging.xml:
17228 * docs/manual/mime-world.fig:
17229 Try to get autoplugging working, fix type detection. Fix text
17230 in hello-world image.
17232 2005-06-29 Wim Taymans <wim@fluendo.com>
17234 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17235 (gst_base_sink_change_state):
17239 map SIGNAL and BROADCAST to the right function.
17242 Remove redundant braces.
17244 * gst/gstpad.c: (gst_pad_set_caps):
17245 Don't call setcaps function when reseting caps to NULL.
17247 * gst/gstsystemclock.c: (gst_system_clock_dispose),
17248 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
17249 (gst_system_clock_id_unschedule):
17250 Use BROADCAST as this is what we do.
17252 2005-06-29 Wim Taymans <wim@fluendo.com>
17254 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17255 We are actually prerolling before commiting the state
17258 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17260 * docs/manual/advanced-clocks.xml:
17261 * docs/manual/advanced-interfaces.xml:
17262 * docs/manual/advanced-metadata.xml:
17263 * docs/manual/advanced-position.xml:
17264 * docs/manual/advanced-schedulers.xml:
17265 * docs/manual/advanced-threads.xml:
17266 * docs/manual/appendix-porting.xml:
17267 * docs/manual/basics-bins.xml:
17268 * docs/manual/basics-bus.xml:
17269 * docs/manual/basics-elements.xml:
17270 * docs/manual/basics-helloworld.xml:
17271 * docs/manual/basics-pads.xml:
17272 * docs/manual/highlevel-components.xml:
17273 * docs/manual/manual.xml:
17274 * docs/manual/thread.fig:
17275 Update (until threads/scheduling) Application Development Manual;
17276 remove GstThread, add GstBus, add simple porting checklist, add
17277 documentation for tag writing, clocks, make all examples until this
17278 part compile and run.
17279 * examples/manual/Makefile.am:
17280 Update from changes to Application Development Manual; add bus
17281 example, remove thread example.
17283 2005-06-28 Wim Taymans <wim@fluendo.com>
17285 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
17286 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
17287 (gst_bus_source_dispatch):
17288 Add debugging messages.
17289 Make internal methods static.
17290 Handle the case where the bus is flushed in the handler.
17292 * gst/gstelement.c: (gst_element_get_bus):
17293 Fix refcount in _get_bus();
17295 * gst/gstpipeline.c: (gst_pipeline_change_state),
17296 (gst_pipeline_get_clock_func):
17297 Clock refcounting fixes.
17298 Handle the case where preroll timed out more gracefully.
17300 * gst/gstsystemclock.c: (gst_system_clock_dispose):
17301 Clean up the internal thread in dispose. This is needed
17302 for subclasses that actually get disposed.
17304 * gst/schedulers/threadscheduler.c:
17305 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
17306 (gst_thread_scheduler_dispose):
17307 Free thread pool in dispose.
17309 2005-06-28 Andy Wingo <wingo@pobox.com>
17311 * tests/network-clock-utils.scm (debug, print-event): New utils.
17313 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
17314 (*packet-loss*): Unified loss probability.
17315 (network-time): Report out-of-band events.
17317 * tests/plot-data: Add support for out-of-band events. Hack it
17318 into this script instead of passing it down the pipe; should fix
17321 2005-06-28 Wim Taymans <wim@fluendo.com>
17323 * docs/gst/gstreamer.types:
17324 * docs/gst/tmpl/gstbasesrc.sgml:
17325 * docs/gst/tmpl/gstpad.sgml:
17328 2005-06-28 Wim Taymans <wim@fluendo.com>
17330 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17331 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
17332 (gst_proxy_pad_do_fixatecaps):
17333 Correctly proxy the check_pull_range function.
17335 2005-06-28 Andy Wingo <wingo@pobox.com>
17337 * tests/network-clock.scm: Removed need for slib.
17339 2005-06-28 Wim Taymans <wim@fluendo.com>
17341 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
17342 (gst_basesink_preroll_queue_flush):
17343 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
17344 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
17345 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17346 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
17347 (gst_proxy_pad_set_property):
17350 * gst/gstqueue.c: (gst_queue_init):
17351 The deprecated pad loop function is removed now.
17353 2005-06-28 Andy Wingo <wingo@pobox.com>
17355 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
17356 New parameters, simulate network packet loss.
17358 * tests/network-clock-utils.scm: Initialize the RNG.
17360 2005-06-28 Wim Taymans <wim@fluendo.com>
17362 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
17363 (gst_basesink_event), (gst_basesink_deactivate):
17364 Flushing the preroll queue always needs to unlock the waiters.
17366 2005-06-28 Edward Hervey <edward@fluendo.com>
17368 * gst/gstpipeline.c: (gst_pipeline_send_event):
17369 Wheen a seek was successful on a pipeline, set the stream_time to the
17370 seek offset in order to have a synchronized stream_time.
17372 2005-06-28 Wim Taymans <wim@fluendo.com>
17374 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17375 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
17376 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
17377 (gst_proxy_pad_do_fixatecaps):
17378 Call wrapper function instead of just calling the function
17379 pointers. This takes care of any locking and whatmore.
17381 2005-06-28 Wim Taymans <wim@fluendo.com>
17383 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
17384 (gst_pad_pull_range):
17386 CONNECTED -> LINKED.
17388 2005-06-28 Andy Wingo <wingo@pobox.com>
17390 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
17391 source-munging commit!!!
17393 * gst/gstobject.c (gst_object_unref, gst_object_ref)
17394 (gst_object_sink): Take gpointer arguments, not GstObject --
17395 avoids casts. Like GLib.
17397 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
17400 2005-06-27 Andy Wingo <wingo@pobox.com>
17402 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
17405 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
17406 returns a sorted copy of the trace list.
17407 (gst_alloc_trace_print_live): New API, only prints traces with
17408 live objects. Sort the list.
17409 (gst_alloc_trace_print_all): Sort the list.
17410 (gst_alloc_trace_print): Align columns.
17412 * gst/elements/gstttypefindelement.c:
17413 * gst/elements/gsttee.c:
17414 * gst/base/gstbasesrc.c:
17415 * gst/base/gstbasesink.c:
17416 * gst/base/gstbasetransform.c:
17417 * gst/gstqueue.c: Adapt for pad activation changes.
17419 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
17421 (gst_pipeline_dispose): Drop ref on sched.
17423 * gst/gstpad.c (gst_pad_init): Set the default activate func.
17424 (gst_pad_activate_default): Push mode by default.
17425 (pre_activate_switch, post_activate_switch): New stubs, things to
17426 do before and after switching activation modes on pads.
17427 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
17428 the pad's activate function to choose which mode to activate.
17429 Shortcut on deactivation and call the right function directly.
17430 (gst_pad_activate_pull): New API, (de)activates a pad in pull
17432 (gst_pad_activate_push): New API, same for push mode.
17433 (gst_pad_set_activate_function)
17434 (gst_pad_set_activatepull_function)
17435 (gst_pad_set_activatepush_function): Setters for new API.
17437 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
17438 Trace all miniobjects.
17439 (gst_mini_object_make_writable): Unref the arg if we copy, like
17440 gst_caps_make_writable.
17442 * gst/gstmessage.c (_gst_message_initialize): No trace init.
17444 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
17445 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
17446 Adapt for new pad API.
17448 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
17450 * gst/gstelement.h:
17451 * gst/gstelement.c (gst_element_iterate_src_pads)
17452 (gst_element_iterate_sink_pads): New API functions.
17454 * gst/gstelement.c (iterator_fold_with_resync): New utility,
17455 should fold into gstiterator.c in some form.
17456 (gst_element_pads_activate): Simplified via use of fold and
17457 delegation of decisions to gstpad->activate.
17459 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
17462 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
17463 class once in init, like gstmessage. Didn't run into this issue
17464 but it seems correct. Don't initialize a trace, gstminiobject does
17467 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
17468 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
17470 (assert_live_count): New util function, uses alloc traces to check
17473 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
17474 To be modified when unlink drops the internal pad.
17476 2005-06-27 Wim Taymans <wim@fluendo.com>
17478 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
17479 (gst_bin_change_state):
17480 Cleanup the get_state() function a little, make sure it
17481 iterates the same set of elements.
17482 Added stub iterate_state_order().
17484 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
17486 * docs/gst/gstreamer-docs.sgml:
17487 * docs/gst/gstreamer-sections.txt:
17488 * docs/gst/gstreamer.types:
17489 * docs/gst/tmpl/gstbasesink.sgml:
17490 * docs/gst/tmpl/gstbasesrc.sgml:
17491 * docs/gst/tmpl/gstbasetransform.sgml:
17492 * docs/gst/tmpl/gstelement.sgml:
17493 * docs/gst/tmpl/gstiterator.sgml:
17494 * gst/base/gstbasesrc.c:
17495 * gst/base/gstbasesrc.h:
17496 * gst/base/gstbasetransform.h:
17497 * gst/gstelement.c:
17498 * gst/gstiterator.h:
17499 adding basetransform and iterator docs
17501 2005-06-27 Andy Wingo <wingo@pobox.com>
17503 * docs/design/part-activation.txt: Notes on how activation should
17504 work -- not quite implemented yet.
17506 2005-06-25 Wim Taymans <wim@fluendo.com>
17508 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
17509 At least get the chain function correct, needs more
17512 2005-06-25 Wim Taymans <wim@fluendo.com>
17514 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17515 (gst_basesink_handle_object), (gst_basesink_event),
17516 (gst_basesink_do_sync), (gst_basesink_handle_event),
17517 (gst_basesink_change_state):
17519 Right, two problems here: ghostpads don't take locks and
17520 glib _rec_mutex_lock_full() with depth==0 still locks.
17521 Catch illegal locking and g_warn them.
17523 2005-06-25 Wim Taymans <wim@fluendo.com>
17525 * check/states/sinks.c: (START_TEST), (gst_object_suite):
17526 Have to check for completion now...
17528 2005-06-25 Wim Taymans <wim@fluendo.com>
17530 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17531 (gst_basesink_handle_object), (gst_basesink_event),
17532 (gst_basesink_do_sync), (gst_basesink_handle_event),
17533 (gst_basesink_change_state):
17535 Unlock STREAM_LOCK whatever the recursion was.
17537 2005-06-25 Wim Taymans <wim@fluendo.com>
17539 * gst/base/gstbasesink.c: (gst_basesink_set_property),
17540 (gst_basesink_preroll_queue_empty),
17541 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
17542 (gst_basesink_event), (gst_basesink_do_sync),
17543 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
17544 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
17545 (gst_basesink_change_state):
17546 Reworked the base sink, handle event and buffer serialisation
17547 correctly and removed possible deadlock.
17548 Handle EOS correctly.
17550 2005-06-25 Wim Taymans <wim@fluendo.com>
17552 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
17553 (gst_pipeline_change_state):
17554 * tools/gst-launch.c: (check_intr), (event_loop), (main):
17555 Allow elements to post EOS in the state change function.
17556 Fix up -launch, make it exit the poll loop when the
17557 pipeline actually changed state.
17558 Fix up warning parsing in -launch.
17560 2005-06-25 Wim Taymans <wim@fluendo.com>
17562 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
17563 (gst_tee_sink_activate):
17564 Core takes STREAM_LOCK for us now.
17566 2005-06-25 Wim Taymans <wim@fluendo.com>
17568 * gst/gstelement.c: (gst_element_get_state_func),
17569 (gst_element_set_state):
17570 * gst/gstelement.h:
17571 * gst/gstmessage.c: (gst_message_parse_error),
17572 (gst_message_parse_warning):
17573 Keep track of current target state while performing a state
17574 change so that subclasses can do something interesting.
17575 Fix parsing of warning/error messages when GError is NULL.
17577 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
17579 * docs/gst/Makefile.am:
17580 * docs/gst/gstreamer-docs.sgml:
17581 * docs/gst/gstreamer-sections.txt:
17582 * docs/gst/gstreamer.types:
17583 * docs/gst/tmpl/gstbasesink.sgml:
17584 * docs/gst/tmpl/gstbasesrc.sgml:
17585 * docs/gst/tmpl/gstbin.sgml:
17586 * docs/gst/tmpl/gstcompat.sgml:
17587 * docs/gst/tmpl/gstfakesink.sgml:
17588 * docs/gst/tmpl/gstfakesrc.sgml:
17589 * docs/gst/tmpl/gstfilesink.sgml:
17590 * docs/gst/tmpl/gstfilesrc.sgml:
17591 * docs/gst/tmpl/gstindex.sgml:
17592 * docs/manual/appendix-quotes.xml:
17593 * gst/base/gstbasesrc.h:
17594 * gst/elements/gstfakesrc.h:
17595 * gst/gstmessage.h:
17596 start pulling in base classes and elements in our docs
17598 2005-06-24 Stefan Kost <ensonic@users.sf.net>
17600 * docs/gst/Makefile.am:
17601 * docs/libs/Makefile.am:
17602 fixed make distcheck with gtk-doc 1.3
17604 2005-06-23 Wim Taymans <wim@fluendo.com>
17606 * gst/gstelement.c: (gst_element_get_state_func),
17607 (gst_element_set_state), (gst_element_change_state):
17608 When the state did not change, also report NO_PREROLL
17611 2005-06-23 Wim Taymans <wim@fluendo.com>
17613 * gst/gstpad.c: (gst_pad_event_default):
17614 * gst/gstqueue.c: (gst_queue_loop):
17615 No unsafe task pausing please.
17617 2005-06-23 Wim Taymans <wim@fluendo.com>
17619 * gst/schedulers/threadscheduler.c:
17620 (gst_thread_scheduler_task_start),
17621 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
17622 Ref the task before pushing it on the threadpool. This
17623 makes sure that we have a ref when the threadfunction is
17626 2005-06-23 Andy Wingo <wingo@pobox.com>
17628 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
17629 offset is greater than the file's size.
17631 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
17632 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
17633 * gst/gstobject.c (gst_object_class_init): Make the class lock
17634 recursive. Wim won't let me drop deep_notify. Decodebin works
17635 again, whoopdy doo.
17637 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
17638 internal pad, and hacks accordingly. Doesn't do it on the target
17639 pad because we change its caps. Probably catches all cases of
17641 (gst_ghost_pad_set_property): Connect to notify::caps as
17644 * tests/network-clock.scm (plot-simulation): Pipe data to the
17645 elite python skript.
17647 * tests/network-clock-utils.scm (define-parameter): New macro,
17648 defines a parameter that can be set via the command line.
17649 (set-parameter!, parse-parameter-arguments): Command line args
17652 * tests/plot-data: Simple matplotlib-based plotter, takes input on
17655 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
17657 * gst/elements/gsttypefindelement.c:
17658 (gst_type_find_element_handle_event):
17659 Don't restart typefinding on a discont.
17660 * gst/gstelement.c: (gst_element_set_state):
17661 Debug spelling fix.
17662 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
17663 Allow changing mode of an active pad.
17664 Debug output fixes.
17665 * gst/registries/gstlibxmlregistry.c: (load_feature):
17666 Don't cast a static pad template to a normal pad template.
17668 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
17670 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17671 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17672 remove gst_strtoll completely, since it didn't actually do
17673 anything more than what g_ascii_strtoull already does.
17674 check for range errors when deserializing
17675 do a cast for the unsigned cases; but further fixing needs
17676 a decision on what the interpretation of "(int)" and
17677 deserialization should be for values that fall outside the
17678 type's boundaries (ie, refuse, or interpret as casting)
17680 2005-06-23 Wim Taymans <wim@fluendo.com>
17682 * check/Makefile.am:
17683 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
17684 * docs/design/part-live-source.txt:
17685 * docs/design/part-states.txt:
17686 * gst/base/gstbasesrc.c: (gst_basesrc_init),
17687 (gst_basesrc_set_live), (gst_basesrc_is_live),
17688 (gst_basesrc_get_range), (gst_basesrc_activate),
17689 (gst_basesrc_change_state):
17690 * gst/base/gstbasesrc.h:
17691 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17692 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17693 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
17694 * gst/gstelement.c: (gst_element_get_state_func),
17695 (gst_element_set_state):
17696 * gst/gstelement.h:
17698 * tools/gst-launch.c: (event_loop), (main):
17699 Added support for live sources and other elements that
17701 Updated design docs, added live-source design doc.
17702 Implemented live source functionality in basesrc
17703 Fix error condition in _bin_get_state()
17704 Implement live source handling in -launch.
17705 Added check for live sources.
17706 Fixed case in GstBin where elements were changed state
17710 2005-06-23 Andy Wingo <wingo@pobox.com>
17712 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
17713 borken refcounting.
17715 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
17716 gst_caps_replace takes care of this for us.
17718 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
17719 gst_pad_set_caps on the target, not just its setcaps() function.
17721 * tests/network-clock.scm:
17722 * tests/network-clock-utils.scm: A network clock simulator.
17723 Something of an algorithmic testbed before doing something in C.
17725 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17727 * check/Makefile.am:
17728 * check/gst/capslist.h:
17729 copy over from 0.8, and add two with bitmasks specified with
17731 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17732 add test to parse everything from capslist.h
17733 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
17735 add test for structure deserialization
17736 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17737 add tests for deserialization of strings to int types
17738 * gst/gststructure.c: (gst_structure_nth_field_name):
17739 * gst/gststructure.h:
17740 add a way to get the name of a field referenced by index
17741 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17742 instead of checking if the resulting long long lies between
17743 min and max, we check if the long long would fit into
17744 a number of bytes for the final type.
17745 This fixes cases where a string represents 2^32 - 1, which
17746 when cast to int would be the (valid) -1, but is bigger than
17749 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17751 * gst/parse/grammar.y:
17752 add a log line for type deserialization
17754 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17756 * check/gst/gstvalue.c: (START_TEST):
17757 * gst/gstvalue.c: (gst_value_deserialize):
17758 return long long, not int, so gint64 deserialization actually
17759 works. Is there any flag that makes the compiler check this ?
17762 2005-06-22 Wim Taymans <wim@fluendo.com>
17765 Added convenience macros for setting buffers in GValue.
17767 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17769 * check/gst/.cvsignore:
17770 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17771 add a test deserializing int64, and comment part out because
17774 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17776 * check/Makefile.am:
17777 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17778 * testsuite/Makefile.am:
17779 * testsuite/caps/Makefile.am:
17780 * testsuite/caps/value_serialize.c:
17781 * testsuite/test_gst_init.c:
17782 move a value_serialize test over
17784 2005-06-20 Wim Taymans <wim@fluendo.com>
17789 * gst/gstvalue.c: (gst_value_compare_buffer),
17790 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17791 (gst_value_compare_flags), (gst_value_serialize_flags),
17792 (gst_value_deserialize_flags), (_gst_value_initialize):
17793 Fix serialisation of buffers, they are not boxed types anymore
17795 2005-06-20 Wim Taymans <wim@fluendo.com>
17797 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17798 Testcase to show error in buffer-on-caps serialisation.
17800 2005-06-20 Andy Wingo <wingo@pobox.com>
17802 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17803 will be adding to later.
17805 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17806 if its socks fill with rocks.
17807 (gst_system_clock_obtain): Set the name on object construction.
17808 Avoid double-checked locking.
17810 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
17812 * gst/gsturi.c: (gst_element_make_from_uri):
17813 Fix potential endless loop.
17815 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17817 * check/Makefile.am:
17819 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17821 move over from testsuite dir and clean up
17824 * testsuite/Makefile.am:
17825 * testsuite/tags/.cvsignore:
17826 * testsuite/tags/Makefile.am:
17827 * testsuite/tags/merge.c:
17828 remove testsuite/tags
17830 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17832 * docs/gst/gstreamer-sections.txt:
17833 * docs/gst/tmpl/gstenumtypes.sgml:
17834 * win32/gstenumtypes.c:
17835 clean up documentation build a little
17837 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17839 * check/gstcheck.h:
17840 add macros for checking refcounts on objects and caps
17841 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17842 add some more unit tests
17843 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17844 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17845 fix leaked refcounts (I hope :)) so unittest works
17849 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17851 * configure.ac: back to HEAD
17853 === release 0.9.1 ===
17855 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
17861 2005-06-17 Andy Wingo <wingo@pobox.com>
17863 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
17864 assert; it's always possible that the pad gets deactivated in
17865 between the checks in gstpad.c and the implementation. Rely on
17866 finish_preroll() to return a FLUSHING or similar instead of on the
17869 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
17870 clock and post an EOS message if we come out of finish_preroll in
17873 2005-06-16 David Schleef <ds@schleef.org>
17875 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17876 (gst_capsfilter_set_property): Allow NULL as possible value
17877 for filter_caps property, indicating GST_CAPS_ANY.
17879 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17881 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
17883 * gst/schedulers/Makefile.am:
17885 * gstreamer.spec.in:
17888 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17890 * gstreamer.spec.in:
17893 2005-06-08 Andy Wingo <wingo@pobox.com>
17895 * gst/gstutils.c: RPAD fixes all around.
17896 (gst_element_link_pads): Refcounting fixes.
17898 * tools/gst-inspect.c:
17899 * tools/gst-xmlinspect.c:
17901 * gst/base/gsttypefindhelper.c:
17902 * gst/base/gstbasesink.c:
17903 * gst/gstqueue.c: RPAD fixes.
17905 * gst/gstghostpad.h:
17906 * gst/gstghostpad.c: New ghost pad implementation as full proxy
17907 pads. The tricky thing is they provide both source and sink
17908 interfaces, since they proxy the internal pad for the external
17909 pad, and vice versa. Implement with lower-level ProxyPad objects,
17910 with the interior proxy pad as a child of the exterior ghost pad.
17911 Should write a doc on this.
17913 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
17914 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
17917 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
17918 pads are real pads. No ghost pads in this file. Not documenting
17919 the myriad s/RPAD/PAD/ and REALIZE fixes.
17920 (gst_pad_class_init): Add properties for "direction" and
17921 "template". Both are construct-only, so they can't change during
17922 the life of the pad. Fixes properly deriving from GstPad.
17923 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
17924 derived objects, just set properties when creating the objects via
17926 (gst_pad_get_parent): Implement as a function, return NULL if the
17927 parent is not an element.
17928 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
17929 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
17931 * gst/gstobject.c (gst_object_class_init): Make name a construct
17932 property. Don't set it in the object init.
17934 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
17935 with UNKNOWN direction.
17936 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
17937 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
17938 (gst_element_remove_pad): Remove ghost-pad special cases.
17939 (gst_element_pads_activate): Remove rpad cruft.
17941 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
17942 catch the pad's-parent-not-an-element case.
17944 * gst/gst.h: Include gstghostpad.h.
17946 * gst/gst.c (init_post): No more real, ghost pads.
17948 * gst/Makefile.am: Add gstghostpad.[ch].
17950 * check/Makefile.am:
17951 * check/gst/gstbin.c:
17952 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
17953 into a bin creates ghost pads, and that the refcounts are right.
17954 Partly moved from gstbin.c.
17956 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17958 * check/gst-libs/.cvsignore:
17959 * check/gst/.cvsignore:
17960 * check/pipelines/.cvsignore:
17962 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
17963 (START_TEST), (cleanup_suite), (main):
17964 add some tests related to cleanup after running pipelines
17966 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17968 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
17969 add a testsuite for GstBuffer
17971 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17973 * gst/gstminiobject.h:
17974 add defines for accessing the refcount
17976 2005-06-03 Stefan Kost <ensonic@users.sf.net>
17978 * Makefile.am: added support for html unit test coverage reports
17980 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
17982 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17983 Free existing caps if the capsfilter changes. Add a FIXME about
17984 setting those caps on the pads.
17986 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
17987 Before adding a ghost pad to a parent bin, check that there isn't
17988 already one for the element on the bin. Prevents infinite recursion
17989 when using decodebin in parse pipelines. Andy says he'll rewrite the
17990 way this works anyway, so ignore the hack.
17992 2005-06-02 Andy Wingo <wingo@pobox.com>
17994 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
17995 file size, pass it on to the type find helper.
17997 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
17998 segment_start and segment_end properly according to the seek
17999 method. Segment_end is still a bit flaky because offset can be
18000 negative for CUR and END cases, but it takes -1 as an "unset"
18003 2005-06-02 Wim Taymans <wim@fluendo.com>
18005 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
18006 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
18007 (gst_basesink_activate):
18008 * gst/base/gstbasesink.h:
18009 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18010 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
18011 (gst_pad_query), (gst_pad_start_task):
18013 * gst/gstqueue.c: (gst_queue_bufferalloc),
18014 (gst_queue_handle_sink_event), (gst_queue_chain):
18015 Bufferalloc: return GstFlowReturn to more accuratly report
18016 why allocation failed.
18018 2005-06-02 Wim Taymans <wim@fluendo.com>
18020 * gst/gstpipeline.c: (gst_pipeline_send_event):
18021 Take snapshot of state without blocking.
18023 2005-06-02 Wim Taymans <wim@fluendo.com>
18025 * docs/design/part-TODO.txt:
18026 * docs/design/part-caps.txt:
18027 * docs/design/part-clocks.txt:
18028 * docs/design/part-negotiation.txt:
18029 * docs/design/part-preroll.txt:
18032 2005-05-30 Wim Taymans <wim@fluendo.com>
18034 * gst/elements/gstidentity.c: (gst_identity_event),
18035 (gst_identity_transform), (gst_identity_get_property):
18036 Protect last_message property as it is accessed from
18039 2005-05-30 Wim Taymans <wim@fluendo.com>
18041 * gst/gstelement.c: (gst_element_init),
18042 (gst_element_pads_activate), (gst_element_change_state):
18043 Slicker pad activation code.
18045 2005-05-30 Wim Taymans <wim@fluendo.com>
18048 * gst/gstelement.h:
18049 * gst/gstelementfactory.h:
18051 Move elementfactory methods to separate .h file.
18053 2005-05-30 Wim Taymans <wim@fluendo.com>
18055 * docs/design/part-overview.txt:
18056 * gst/gstsystemclock.h:
18057 Small typo fixes, doc updates.
18059 2005-05-30 Wim Taymans <wim@fluendo.com>
18061 * gst/gst.c: (gst_init_get_popt_table), (init_post),
18062 (init_popt_callback):
18063 Remove cpu-opt flag.
18065 2005-05-30 Wim Taymans <wim@fluendo.com>
18067 * gst/gstbuffer.c: (gst_subbuffer_finalize),
18068 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
18070 Avoid typechecking in places where not needed.
18071 Added accessor for malloc_data.
18073 2005-05-30 Wim Taymans <wim@fluendo.com>
18075 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
18076 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
18077 (gst_pad_configure_sink), (gst_pad_configure_src),
18078 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
18079 (gst_pad_start_task):
18080 Propagate errors from _set_caps() in configure_src/sink
18081 functions instead of returning TRUE.
18082 FLUSH events can travel up and downstream
18085 2005-05-30 Wim Taymans <wim@fluendo.com>
18087 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
18088 (gst_basesink_activate):
18089 Handle EOS in preroll.
18091 2005-05-30 Wim Taymans <wim@fluendo.com>
18093 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18094 (gst_queue_loop), (gst_queue_handle_src_event):
18095 Remove old pieces of code
18096 Flushing the queue in an upstream event is a very bad idea.
18098 2005-05-26 Andy Wingo <wingo@pobox.com>
18100 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
18101 gst_value_set_mini_object so as to add a ref on the object (which
18102 will be removed when the value is unset).
18104 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
18105 arg type in ::handoff.
18107 * gst/gstelement.c (gst_element_change_state): Also deactivate
18108 pads in READY->NULL, just in case the element didn't make it to
18109 PAUSED. Wingo tested, Wim approved.
18111 2005-05-26 Wim Taymans <wim@fluendo.com>
18113 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18114 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
18115 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
18116 A flushing pad cannot be used to alloc_buffer from.
18118 2005-05-26 Wim Taymans <wim@fluendo.com>
18120 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
18121 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
18122 (gst_bus_source_dispatch), (gst_bus_source_finalize),
18123 (gst_bus_create_watch), (gst_bus_add_watch_full):
18125 Implement a real GSource and use g_main_context_wakeup() to
18126 signal new messages instead of the socketpair.
18128 2005-05-25 Wim Taymans <wim@fluendo.com>
18130 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
18131 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
18132 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18133 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
18134 (gst_pad_send_event), (gst_pad_start_task):
18135 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
18136 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18137 (gst_queue_sink_activate), (gst_queue_src_activate),
18138 (gst_queue_change_state):
18140 Fix state changes for non sinks. We now change sinks, then elements
18141 with unconnected srcpads, then the rest.
18142 More efficient queue unlocking in flush and state changes.
18143 Set the pad activate mode even if it does not have an activate
18146 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18148 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
18149 Don't go in pull mode for non-seekable sources.
18150 * gst/elements/gsttypefindelement.h:
18151 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18152 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
18153 (free_entry), (stop_typefinding),
18154 (gst_type_find_element_handle_event), (find_peek),
18155 (gst_type_find_element_chain), (do_pull_typefind),
18156 (gst_type_find_element_change_state):
18157 Allow typefinding (w/o seeking) in push-mode, simplified version
18158 of what was in 0.8.
18159 * gst/gstutils.c: (gst_buffer_join):
18161 gst_buffer_join() from 0.8.
18163 2005-05-25 Wim Taymans <wim@fluendo.com>
18165 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18166 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
18167 (gst_pad_send_event), (gst_pad_start_task):
18168 Disable attempt at mode switching until it is figured out.
18170 2005-05-25 Wim Taymans <wim@fluendo.com>
18172 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
18173 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
18174 (gst_basesink_finish_preroll), (gst_basesink_chain),
18175 (gst_basesink_loop), (gst_basesink_activate),
18176 (gst_basesink_change_state):
18177 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
18178 (gst_basesrc_get_range), (gst_basesrc_loop),
18179 (gst_basesrc_activate):
18180 * gst/elements/gsttee.c: (gst_tee_sink_activate):
18181 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
18182 (gst_real_pad_init), (gst_real_pad_set_property),
18183 (gst_real_pad_get_property), (gst_pad_set_active),
18184 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
18185 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
18186 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
18187 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
18188 (gst_pad_event_default_dispatch), (gst_pad_event_default),
18189 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
18190 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
18191 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
18192 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
18193 (gst_pad_stop_task):
18195 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18196 (gst_queue_loop), (gst_queue_src_activate):
18197 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
18198 (gst_task_get_state):
18200 * gst/schedulers/threadscheduler.c:
18201 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
18202 Implement gst_pad_pause/start/stop_task(), take STREAM lock
18204 Remove ACTIVE pad flag, use FLUSHING everywhere
18205 Added _pad_chain(), _pad_get_range() to call chain/getrange
18207 Add locks around IS_FLUSHING when reading.
18208 Take STREAM lock in chain(), get_range() functions so plugins
18209 don't need to take it anymore.
18213 2005-05-25 Wim Taymans <wim@fluendo.com>
18215 * tools/gst-launch.c: (event_loop):
18216 Unref message after using its contents instead of
18219 2005-05-24 Wim Taymans <wim@fluendo.com>
18221 * docs/design/draft-ghostpads.txt:
18222 * docs/design/draft-push-pull.txt:
18223 * docs/design/draft-query.txt:
18224 * docs/design/part-overview.txt:
18225 Docs updates, added general overview doc.
18227 2005-05-21 David Schleef <ds@schleef.org>
18229 * docs/gst/tmpl/old/GstBin.sgml:
18230 * docs/gst/tmpl/old/GstBuffer.sgml:
18231 * docs/gst/tmpl/old/GstCaps.sgml:
18232 * docs/gst/tmpl/old/GstClock.sgml:
18233 * docs/gst/tmpl/old/GstCompat.sgml:
18234 * docs/gst/tmpl/old/GstData.sgml:
18235 * docs/gst/tmpl/old/GstElement.sgml:
18236 * docs/gst/tmpl/old/GstEvent.sgml:
18237 * docs/gst/tmpl/old/GstIndex.sgml:
18238 * docs/gst/tmpl/old/GstStructure.sgml:
18239 * docs/gst/tmpl/old/GstTag.sgml:
18240 * docs/gst/tmpl/old/cothreads.sgml:
18241 * docs/gst/tmpl/old/cothreads_compat.sgml:
18242 * docs/gst/tmpl/old/gettext.sgml:
18243 * docs/gst/tmpl/old/gobject2gtk.sgml:
18244 * docs/gst/tmpl/old/grammar.tab.sgml:
18245 * docs/gst/tmpl/old/gst-i18n-app.sgml:
18246 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
18247 * docs/gst/tmpl/old/gst_private.sgml:
18248 * docs/gst/tmpl/old/gstaggregator.sgml:
18249 * docs/gst/tmpl/old/gstarch.sgml:
18250 * docs/gst/tmpl/old/gstatomic_impl.sgml:
18251 * docs/gst/tmpl/old/gstbufferstore.sgml:
18252 * docs/gst/tmpl/old/gstdata_private.sgml:
18253 * docs/gst/tmpl/old/gstdisksink.sgml:
18254 * docs/gst/tmpl/old/gstdisksrc.sgml:
18255 * docs/gst/tmpl/old/gstelementfactory.sgml:
18256 * docs/gst/tmpl/old/gstextratypes.sgml:
18257 * docs/gst/tmpl/old/gstfakesink.sgml:
18258 * docs/gst/tmpl/old/gstfakesrc.sgml:
18259 * docs/gst/tmpl/old/gstfdsink.sgml:
18260 * docs/gst/tmpl/old/gstfdsrc.sgml:
18261 * docs/gst/tmpl/old/gstfilesink.sgml:
18262 * docs/gst/tmpl/old/gstfilesrc.sgml:
18263 * docs/gst/tmpl/old/gsthttpsrc.sgml:
18264 * docs/gst/tmpl/old/gstidentity.sgml:
18265 * docs/gst/tmpl/old/gstindexfactory.sgml:
18266 * docs/gst/tmpl/old/gstmarshal.sgml:
18267 * docs/gst/tmpl/old/gstmd5sink.sgml:
18268 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
18269 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
18270 * docs/gst/tmpl/old/gstpadtemplate.sgml:
18271 * docs/gst/tmpl/old/gstpipefilter.sgml:
18272 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
18273 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
18274 * docs/gst/tmpl/old/gstshaper.sgml:
18275 * docs/gst/tmpl/old/gstspider.sgml:
18276 * docs/gst/tmpl/old/gstspideridentity.sgml:
18277 * docs/gst/tmpl/old/gststatistics.sgml:
18278 * docs/gst/tmpl/old/gsttee.sgml:
18279 * docs/gst/tmpl/old/gsttimecache.sgml:
18280 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
18281 * docs/gst/tmpl/old/gstxmlregistry.sgml:
18282 * docs/gst/tmpl/old/gthread-cothreads.sgml:
18283 * docs/gst/tmpl/old/types.sgml:
18284 I didn't intend to add these or check them in.
18286 2005-05-19 David Schleef <ds@schleef.org>
18288 * configure.ac: Use -no-common everywhere. In a sane world, it
18289 would be the default in libtool, because without it, you can't
18290 build DLLs on Windows.
18291 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
18292 * docs/gst/gstreamer-sections.txt:
18293 * docs/gst/tmpl/gstcpu.sgml:
18294 * docs/gst/tmpl/gstdata.sgml:
18295 * docs/gst/tmpl/gstthread.sgml:
18297 2005-05-19 David Schleef <ds@schleef.org>
18299 * gst/gstminiobject.c: (gst_value_set_mini_object),
18300 (gst_value_take_mini_object), (gst_value_get_mini_object):
18301 * gst/gstminiobject.h: Add GValue set/get functions.
18303 2005-05-19 Wim Taymans <wim@fluendo.com>
18305 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
18306 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
18307 (gst_subbuffer_init), (gst_buffer_is_span_fast):
18309 * gst/gstbus.c: (gst_bus_post):
18310 * gst/gstelement.c: (gst_element_get_random_pad):
18311 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
18312 Make subbufer unref the parent in finalize.
18313 some more debugging info.
18316 2005-05-19 Wim Taymans <wim@fluendo.com>
18318 * gst/base/gstbasesink.c: (gst_basesink_class_init),
18319 (gst_basesink_init), (gst_basesink_finalize),
18320 (gst_basesink_activate), (gst_basesink_change_state):
18321 Don't free preroll queue too early.
18323 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18327 Hi, I'm outdated. Please shoot me.
18329 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18331 * gst/gstpipeline.c: (gst_pipeline_send_event):
18332 Do not access variables after they have been deleted.
18334 2005-05-19 Wim Taymans <wim@fluendo.com>
18336 * tools/gst-inspect.c: (print_plugin_features):
18337 A plugin feature does unfortunatly not use the
18340 2005-05-18 Wim Taymans <wim@fluendo.com>
18342 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
18343 Port _span() functions to new subbuffers.
18345 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18347 * gst/gstbin.c: (gst_bin_add_func):
18348 Fix clock settery in bins when adding kids after the clock has
18351 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18353 * gst/elements/gstidentity.c: (gst_identity_class_init):
18354 Workaround until signals support GstMiniObject.
18356 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
18359 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
18361 2005-05-18 Wim Taymans <wim@fluendo.com>
18363 * gst/base/Makefile.am:
18364 * gst/base/gstadapter.c: (gst_adapter_base_init),
18365 (gst_adapter_class_init), (gst_adapter_init),
18366 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
18367 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
18368 (gst_adapter_flush), (gst_adapter_available),
18369 (gst_adapter_available_fast):
18370 * gst/base/gstadapter.h:
18371 Ported and added adapter to the base classes.
18373 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18376 * gst/gstmessage.c:
18377 Make sure the class is reffed/unreffed once before threads can be
18378 used. Fixes #304551.
18380 2005-05-17 Wim Taymans <wim@fluendo.com>
18382 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
18383 (gst_basesink_chain_unlocked), (gst_basesink_activate):
18384 * gst/gstminiobject.c: (gst_mini_object_get_type),
18385 (gst_mini_object_free):
18386 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
18387 (gst_pad_push), (gst_pad_push_event):
18388 * gst/gstqueue.c: (gst_queue_change_state):
18389 Don't queue buffers in basesink when we are flushing.
18390 Unref buffer when flushing in basesink.
18391 Flush queue when going to READY
18392 Unref buffer when _push() returns an error.
18393 Don't free MiniObject instance when refcount is incremented
18394 in _finalize() so that we can recover objects.
18396 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
18398 * docs/manual/advanced-schedulers.xml:
18399 * docs/manual/appendix-checklist.xml:
18400 * docs/pwg/advanced-clock.xml:
18401 * docs/pwg/advanced-interfaces.xml:
18402 * docs/pwg/advanced-request.xml:
18403 * docs/pwg/advanced-types.xml:
18404 * docs/pwg/intro-preface.xml:
18405 * examples/plugins/example.c: (gst_example_get_type),
18406 (gst_example_class_init), (gst_example_chain),
18407 (gst_example_set_property), (gst_example_get_property),
18408 (gst_example_change_state), (plugin_init):
18409 * examples/plugins/example.h:
18412 2005-05-17 Wim Taymans <wim@fluendo.com>
18414 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
18415 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
18416 * gst/gstqueue.c: (gst_queue_change_state):
18417 Clear queue when going to READY.
18418 Remove IN_SETCAPS flag too.
18420 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
18422 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
18423 Remove implicit cast from gboolean to GstElementStateReturn;
18424 make sure we still return failure in paused => ready case if
18425 the parent class fails to change state and our own stop
18428 2005-05-17 Wim Taymans <wim@fluendo.com>
18430 * tools/gst-launch.c: (event_loop):
18431 Message was unreffed too soon.
18433 2005-05-16 Andy Wingo <wingo@pobox.com>
18435 * gst/gstbin.c (sink_iterator_filter): Err... um...
18437 * check/gst/gstbin.c (test_ghost_pads): New test for the
18438 ghosting-if-elements-not-in-same-bin behavior.
18440 2005-05-16 David Schleef <ds@schleef.org>
18442 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
18443 accessing refcount directly.
18445 2005-05-15 David Schleef <ds@schleef.org>
18447 * check/Makefile.am: remove GstData checks
18448 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
18449 * gst/Makefile.am: add miniobject, remove data
18450 * gst/gst.h: add miniobject, remove data
18451 * gst/gstdata.c: remove
18452 * gst/gstdata.h: remove
18453 * gst/gstdata_private.h: remove
18454 * gst/gsttypes.h: remove GstEvent and GstMessage
18455 * gst/gstelement.c: (gst_element_post_message): fix for API changes
18456 * gst/gstmarshal.list: change BOXED -> OBJECT
18458 Implement GstMiniObject.
18459 * gst/gstminiobject.c:
18460 * gst/gstminiobject.h:
18462 Modify to be subclasses of GstMiniObject.
18463 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
18464 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
18465 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
18466 (gst_subbuffer_get_type), (gst_subbuffer_init),
18467 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
18470 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
18471 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
18472 (_gst_event_copy), (gst_event_new):
18474 * gst/gstmessage.c: (_gst_message_initialize),
18475 (gst_message_get_type), (gst_message_class_init),
18476 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
18477 (gst_message_new), (gst_message_new_error),
18478 (gst_message_new_warning), (gst_message_new_tag),
18479 (gst_message_new_state_changed), (gst_message_new_application):
18480 * gst/gstmessage.h:
18481 * gst/gstprobe.c: (gst_probe_perform),
18482 (gst_probe_dispatcher_dispatch):
18484 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
18485 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
18486 (_gst_query_copy), (gst_query_new):
18488 Update elements for GstData -> GstMiniObject changes
18490 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
18491 (gst_queue_chain), (gst_queue_loop):
18492 * gst/elements/gstbufferstore.c:
18493 (gst_buffer_store_add_buffer_func),
18494 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
18495 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18496 (gst_fakesink_render):
18497 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
18498 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
18499 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
18500 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
18501 (gst_filesrc_create_read):
18502 * gst/elements/gstidentity.c: (gst_identity_class_init):
18503 * gst/elements/gsttypefindelement.c:
18504 (gst_type_find_element_src_event), (free_entry_buffers),
18505 (gst_type_find_element_handle_event):
18506 * libs/gst/dataprotocol/dataprotocol.c:
18507 (gst_dp_header_from_buffer):
18508 * libs/gst/dataprotocol/dataprotocol.h:
18509 * libs/gst/dataprotocol/dp-private.h:
18511 2005-05-15 David Schleef <ds@schleef.org>
18513 * gst/elements/gstelements.c: Don't include headers that were
18516 2005-05-15 David Schleef <ds@schleef.org>
18518 * gst/elements/Makefile.am: Remove some elements that don't
18519 need to be in the core (or even exist at all).
18520 * gst/elements/gstaggregator.c:
18521 * gst/elements/gstaggregator.h:
18522 * gst/elements/gstmd5sink.c:
18523 * gst/elements/gstmd5sink.h:
18524 * gst/elements/gstmultifilesrc.c:
18525 * gst/elements/gstmultifilesrc.h:
18526 * gst/elements/gstpipefilter.c:
18527 * gst/elements/gstpipefilter.h:
18528 * gst/elements/gstshaper.c:
18529 * gst/elements/gstshaper.h:
18530 * gst/elements/gststatistics.c:
18531 * gst/elements/gststatistics.h:
18532 * po/POTFILES.in: Remove above files.
18534 2005-05-14 Andy Wingo <wingo@pobox.com>
18536 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
18537 so as to get the refs right.
18538 (sink_iterator_filter): New function, wraps bin_element_is_sink,
18539 unreffing objects that don't pass the filter.
18541 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
18542 gst_element_set_bus.
18543 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
18544 normal cases, this will destroy the bus.
18546 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
18549 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
18552 2005-05-13 Andy Wingo <wingo@pobox.com>
18554 * gst/gstutils.c (gst_element_link_pads): Instead of calling
18555 gst_pad_link, call pad_link_maybe_ghosting,
18556 (pad_link_maybe_ghosting): Links pads, making sure that the
18557 elements being linked are in the same bin.
18558 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
18559 Helpers for pad_link_maybe_ghosting.
18561 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
18564 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
18566 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
18568 * docs/design/part-element-source.txt:
18571 2005-05-12 Wim Taymans <wim@fluendo.com>
18573 * gst/base/gstbasesink.c: (gst_basesink_init),
18574 (gst_basesink_activate):
18575 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
18576 (gst_basesrc_is_seekable):
18577 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18578 (bin_element_is_sink), (gst_bin_change_state):
18579 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18580 * gst/gstelement.h:
18581 Identify sinks by their flag to avoid overly complicated
18583 Do state changes even for elements not reachable from the
18585 BaseSink is a sink now :)
18586 Some more debugging info in the basesrc.
18589 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18591 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
18592 Implement _query on a bin, similar to _send_event.
18594 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
18596 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
18597 Discont event offset format should be GST_FORMAT_BYTES,
18598 not GST_FORMAT_TIME.
18600 2005-05-12 Wim Taymans <wim@fluendo.com>
18602 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
18603 Same fix as Ronald's but without the signal.
18605 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18607 * gst/gstutils.c: (gst_element_query_position):
18608 No, an element is not a pad.
18610 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18612 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
18613 (gst_bin_get_state):
18614 If a child is removed from a bin while we remove the child from
18615 the bin and while we're retrieving its state, signal this to the
18616 get_state function so we abort the wait (instead of waiting for
18617 a timeout) and can immediately re-iterate over all other elements.
18619 2005-05-12 Wim Taymans <wim@fluendo.com>
18621 * gst/base/Makefile.am:
18622 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
18623 (gst_basesrc_start):
18624 * gst/base/gstbasesrc.h:
18625 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
18626 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
18627 (gst_pushsrc_init), (gst_pushsrc_create):
18628 * gst/base/gstpushsrc.h:
18629 Added is_seekable to BaseSrc
18630 Added simple PushSrc.
18632 2005-05-11 Wim Taymans <wim@fluendo.com>
18634 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18635 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18636 (gst_element_link_pads), (gst_element_query_position),
18637 (gst_element_query_convert), (intersect_caps_func),
18638 (gst_pad_query_position), (gst_pad_query_convert):
18639 Fix refcounting in utils function.
18640 No point in trying to activate a pad when it's added, it could
18641 be added from the state change function and then we deadlock, the
18642 element has to decide what to do.
18644 2005-05-10 Andy Wingo <wingo@pobox.com>
18646 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
18647 *all* the arguments.
18649 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
18650 stream lock if it's a FLUSH_DONE; normal flushes don't get the
18651 lock (according to the docs -- if this is wrong change the docs).
18653 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
18654 flush messages in the NULL state.
18656 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
18657 message immediately and return.
18658 (gst_bus_set_flushing): New function. If a bus is flushing, it
18659 flushes out any queued messages and immediately unrefs new
18660 messages. This is so when an element goes to NULL, all of the
18661 unhandled messages coming from it can be freed, and their
18662 references to the element dropped. In other words: message source
18663 ref considered harmful :P
18665 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
18666 we're finished with it.
18668 * gst/gstmessage.c (gst_message_new_state_changed):
18670 2005-05-10 Wim Taymans <wim@fluendo.com>
18672 * gst/gstvalue.c: (gst_value_compare_flags),
18673 (gst_value_serialize_flags), (gst_value_deserialize_flags),
18674 (_gst_value_initialize):
18675 Added flags serialize/deserialize/compare code.
18677 2005-05-09 Andy Wingo <wingo@pobox.com>
18679 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
18680 Intersect the peer's caps with our caps.
18682 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18684 * gst/base/gsttypefindhelper.c: (helper_find_peek):
18685 * gst/elements/gsttypefindelement.c: (find_peek):
18686 Handle negative offsets better. Fixes decodebin.
18688 2005-05-09 Wim Taymans <wim@fluendo.com>
18690 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
18691 (gst_base_transform_event):
18692 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
18693 Implement accept_caps.
18694 Fix silly lock/unlock mismatch in base class.
18696 2005-05-09 Wim Taymans <wim@fluendo.com>
18698 * docs/design/draft-push-pull.txt:
18699 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
18700 * gst/elements/gstfilesink.c: (gst_filesink_init),
18701 (gst_filesink_query):
18702 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18703 (gst_type_find_handle_src_query), (find_element_get_length):
18704 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
18705 * gst/gstelement.h:
18706 * gst/gstmessage.c:
18707 * gst/gstmessage.h:
18708 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
18709 (gst_real_pad_get_caps_unlocked),
18710 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
18711 (gst_pad_event_default_dispatch), (gst_pad_event_default),
18712 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
18713 (gst_real_pad_dispose), (gst_real_pad_finalize),
18714 (gst_pad_load_and_link), (gst_pad_save_thyself),
18715 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
18716 (gst_pad_check_pull_range), (gst_pad_pull_range),
18717 (gst_pad_template_get_type), (gst_pad_template_class_init),
18718 (gst_pad_template_init), (gst_pad_template_dispose),
18719 (name_is_valid), (gst_static_pad_template_get),
18720 (gst_pad_template_new), (gst_static_pad_template_get_caps),
18721 (gst_pad_template_get_caps), (gst_pad_set_element_private),
18722 (gst_pad_get_element_private), (gst_pad_start_task),
18723 (gst_pad_pause_task), (gst_pad_stop_task),
18724 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
18725 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
18726 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
18727 (gst_ghost_pad_new):
18729 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
18730 (gst_query_new_position), (gst_query_set_position),
18731 (gst_query_parse_position), (gst_query_new_convert),
18732 (gst_query_set_convert), (gst_query_parse_convert):
18734 * gst/gstqueryutils.c:
18735 * gst/gstqueryutils.h:
18736 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18737 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18738 (gst_queue_handle_src_query):
18739 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18740 (gst_element_query_position), (gst_element_query_convert),
18741 (intersect_caps_func), (gst_pad_query_position),
18742 (gst_pad_query_convert):
18744 * tools/gst-inspect.c: (print_pad_info):
18745 * tools/gst-xmlinspect.c: (print_element_info):
18746 Remove old query functions. Ported old code.
18747 Added position/convert helper functions to gstutils.
18748 Reordered gstpad.c code, grouping relevant things.
18749 Remove gst_message_new(), always need to speficy a specific
18753 2005-05-09 Andy Wingo <wingo@pobox.com>
18755 * gst/gstiterator.h: Add some includes.
18757 * gst/gstqueryutils.h: Include more headers.
18760 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
18761 some uses of gst_pad_query.
18763 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18764 NULL out parameters.
18765 (gst_query_new_position): New proc, allocates a new position
18768 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18769 gstqueryutils.c to the build.
18771 * gst/gststructure.c (gst_structure_set_valist): Implement with
18772 the generic G_VALUE_COLLECT.
18774 2005-05-08 Edward Hervey <bilboed@bilboed.com>
18776 * gst/Makefile.am: (gst_headers):
18777 Added gstqueryutils.h to the list of headers to install, that was
18778 a 'nachty' move wingo :)
18780 2005-05-06 Andy Wingo <wingo@pobox.com>
18783 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18784 GstData, init a memchunk.
18785 (standard_definitions): Add a few query types, deprecate a few.
18786 (gst_query_get_type): New proc.
18787 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18789 (gst_query_new_application, gst_query_get_structure): New public
18792 * docs/design/draft-query.txt: Removed LINKS from the query types,
18793 because all the rest can be dispatched to other pads -- seemed
18794 ugly to have a query that couldn't be dispatched. internal_links
18795 is fine as a pad method.
18797 * gst/gstpad.h: Add query2 as a pad method, add the new functions
18798 in gstpad.c, but maintain binary compatibility for the moment.
18799 Will fix before 0.9 is out.
18801 * gst/gstqueryutils.c:
18802 * gst/gstqueryutils.h: New files, implement 3 methods for each
18803 query type: parse_query, parse_response, and set. Probably need an
18806 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18808 * gst/elements/gstfilesink.c (gst_filesink_query2):
18809 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18810 query_types, and formats methods.
18812 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18813 (gst_pad_set_query2_function): New functions.
18814 (gst_real_pad_init): Set query2_default as the default query2
18815 function. Basically just dispatches to internally linked pads.
18819 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18820 without using the atomic operations. Only one thread can possibly
18821 be accessing the data at this point. Changed so as to avoid
18822 gst_atomic operations.
18824 2005-05-06 Wim Taymans <wim@fluendo.com>
18826 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18827 Also set caps if we use the fallback buffer alloc.
18829 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
18831 * docs/gst/Makefile.am:
18832 * docs/gst/gstreamer-docs.sgml:
18833 * docs/gst/gstreamer-sections.txt:
18834 * docs/gst/tmpl/gstatomic.sgml:
18835 * docs/gst/tmpl/gstmemchunk.sgml:
18836 * testsuite/elements/struct_i386.h:
18837 * win32/GStreamer.vcproj:
18839 Purge GstAtomic stuff from docs and win32 makefiles as well
18841 2005-05-06 Wim Taymans <wim@fluendo.com>
18843 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18844 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18845 * gst/gstpad.c: (gst_pad_peer_get_caps):
18846 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18847 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18848 (gst_queue_src_activate), (gst_queue_change_state):
18850 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18851 (intersect_caps_func):
18852 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18853 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18854 Some fixes for the peer_get_caps() change.
18856 2005-05-06 Wim Taymans <wim@fluendo.com>
18858 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18859 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
18860 (gst_basesink_activate):
18861 Actually do something with error codes returned from the push
18864 2005-05-06 Wim Taymans <wim@fluendo.com>
18866 * docs/design/part-element-sink.txt:
18867 * docs/design/part-element-source.txt:
18868 * gst/base/gstbasesink.c: (gst_basesink_class_init),
18869 (gst_basesink_event), (gst_basesink_activate):
18870 * gst/base/gstbasesink.h:
18871 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
18872 (gst_basesrc_activate):
18873 * gst/base/gstbasesrc.h:
18874 * gst/gstelement.c: (gst_element_pads_activate):
18875 Some more documentation.
18876 Fixed scheduling decision in _pads_activate().
18878 2005-05-05 Andy Wingo <wingo@pobox.com>
18880 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
18883 2005-05-05 Wim Taymans <wim@fluendo.com>
18885 * gst/base/Makefile.am:
18886 * gst/base/gstbasesink.h:
18887 * gst/base/gstbasesrc.c: (gst_basesrc_init),
18888 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
18889 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
18890 (gst_collectpads_class_init), (gst_collectpads_init),
18891 (gst_collectpads_finalize), (gst_collectpads_new),
18892 (gst_collectpads_set_function), (gst_collectpads_add_pad),
18893 (find_pad), (gst_collectpads_remove_pad),
18894 (gst_collectpads_is_active), (gst_collectpads_collect),
18895 (gst_collectpads_collect_range), (gst_collectpads_start),
18896 (gst_collectpads_stop), (gst_collectpads_peek),
18897 (gst_collectpads_pop), (gst_collectpads_available),
18898 (gst_collectpads_read), (gst_collectpads_flush),
18899 (gst_collectpads_chain):
18900 * gst/base/gstcollectpads.h:
18901 * gst/elements/Makefile.am:
18902 * gst/elements/gstelements.c:
18903 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18904 (gst_fakesink_get_times), (gst_fakesink_event),
18905 (gst_fakesink_preroll), (gst_fakesink_render):
18906 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18907 (gst_filesink_init), (gst_filesink_set_location),
18908 (gst_filesink_open_file), (gst_filesink_close_file),
18909 (gst_filesink_pad_query), (gst_filesink_event),
18910 (gst_filesink_render), (gst_filesink_change_state):
18911 * gst/elements/gstfilesink.h:
18912 Added object to help in making collect pad based elements.
18914 Make event function in sink baseclass return gboolean.
18916 2005-05-05 Wim Taymans <wim@fluendo.com>
18918 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
18919 (gst_bin_get_by_name):
18921 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
18922 (gst_clock_finalize):
18923 * gst/gstdata.c: (gst_data_replace):
18925 * gst/gstelement.c: (gst_element_request_pad),
18926 (gst_element_pads_activate):
18927 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
18928 (gst_object_unref):
18929 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18930 (gst_pad_set_checkgetrange_function),
18931 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
18932 (gst_pad_check_pull_range), (gst_pad_pull_range),
18933 (gst_static_pad_template_get_caps), (gst_pad_start_task),
18934 (gst_pad_pause_task), (gst_pad_stop_task):
18935 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18936 (gst_element_request_pad), (gst_pad_proxy_getcaps):
18937 Fix name lookup in GstBin.
18938 Added _data_replace() function and _buffer_replace()
18939 Use finalize method to clean up clock.
18940 Fix refcounting on request pads.
18941 Fix pad schedule mode error.
18942 Some more object refcounting debug info,
18945 2005-05-04 Andy Wingo <wingo@pobox.com>
18947 * check/Makefile.am:
18948 * docs/gst/tmpl/gstatomic.sgml:
18949 * docs/gst/tmpl/gstplugin.sgml:
18950 * gst/base/gstbasesink.c: (gst_basesink_activate):
18951 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
18952 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
18953 (gst_basesrc_query), (gst_basesrc_set_property),
18954 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
18955 (gst_basesrc_activate):
18956 * gst/base/gstbasesrc.h:
18957 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
18958 (gst_base_transform_src_activate):
18959 * gst/elements/gstelements.c:
18960 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18961 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18962 * gst/elements/gsttee.c: (gst_tee_sink_activate):
18963 * gst/elements/gsttypefindelement.c: (find_element_get_length),
18964 (gst_type_find_element_checkgetrange),
18965 (gst_type_find_element_activate):
18966 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
18967 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
18968 (gst_caps_load_thyself):
18969 * gst/gstelement.c: (gst_element_pads_activate),
18970 (gst_element_save_thyself), (gst_element_restore_thyself):
18971 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
18972 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
18974 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
18975 (gst_xml_parse_file), (gst_xml_parse_memory),
18976 (gst_xml_get_element), (gst_xml_make_element):
18977 * gst/indexers/gstfileindex.c: (gst_file_index_load),
18978 (_file_index_id_save_xml), (gst_file_index_commit):
18979 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
18980 (read_enum), (load_pad_template), (load_feature), (load_plugin),
18982 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
18983 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
18984 * tools/gst-complete.c: (main):
18985 * tools/gst-compprep.c: (main):
18986 * tools/gst-inspect.c: (print_element_properties_info):
18987 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
18988 * tools/gst-xmlinspect.c: (print_element_properties):
18991 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
18993 * gst/gstplugin.c: (gst_plugin_check_module),
18994 (gst_plugin_check_file), (gst_plugin_load_file):
18995 apply patch from #172526 to make register work on MacOSX
18997 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18999 * docs/gst/tmpl/gstconfig.sgml:
19000 * gst/gstconfig.h.in:
19001 move documentation for some symbols. Add doc for GST_PTR_FORMAT
19002 * testsuite/debug/printf_extension.c: (main):
19003 Do not use GST_PTR_FORMAT on pointers to types with
19004 sizeof < sizeof(gpointer). Fixes test on 64-bit
19005 * testsuite/elements/property.h:
19006 use correct printf format
19008 2005-05-02 Wim Taymans <wim@fluendo.com>
19010 * docs/design/draft-push-pull.txt:
19011 * docs/design/draft-query.txt:
19012 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
19013 (gst_basesrc_start):
19014 Added draft for new query API.
19015 Added draft for better selecting scheduling methods.
19016 Make basesrc ignore length if the subclass does not support
19019 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
19022 possible fixes for automake-1.5 - _LIBADD is reserved
19024 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
19026 * docs/faq/Makefile.am:
19027 * docs/manual/Makefile.am:
19028 * docs/manuals.mak:
19029 * docs/pwg/Makefile.am:
19031 possible fixes for automake-1.5
19033 2005-04-28 Wim Taymans <wim@fluendo.com>
19035 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19036 (gst_basesink_pad_getcaps), (gst_basesink_init),
19037 (gst_basesink_do_sync):
19038 * gst/gstclock.c: (gst_clock_entry_new):
19039 * gst/gstevent.c: (gst_event_discont_get_value):
19040 * gst/gstpipeline.c: (pipeline_bus_handler),
19041 (gst_pipeline_change_state):
19042 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
19043 Better debugging of clocking info.
19044 Allow NULL values when getting discont values.
19046 2005-04-27 Wim Taymans <wim@fluendo.com>
19048 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19049 * check/gst/gstpad.c: (gst_pad_suite):
19050 Increase timeout for checks.
19052 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
19054 * check/Makefile.am:
19055 fix the broken rule for cleanup. Apparently this rule is
19056 only needed on FC2, so maybe this warrants further autotool
19059 2005-04-26 Wim Taymans <wim@fluendo.com>
19061 * gst/gsttrashstack.h:
19062 Ooohh. a nasty one! After having a failed pop() from the stack,
19063 it's possible that the stack is empty. In that case, don't
19064 follow the NULL pointer.
19066 2005-04-25 Wim Taymans <wim@fluendo.com>
19068 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19069 (gst_pad_set_checkgetrange_function),
19070 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
19071 (gst_pad_check_pull_range), (gst_pad_pull_range),
19072 (gst_static_pad_template_get_caps), (gst_pad_start_task),
19073 (gst_pad_pause_task), (gst_pad_stop_task):
19074 * gst/gstplugin.c: (gst_plugin_load):
19076 Remove gst_library_load as it does more harm than good with
19077 the new g_module flags.
19078 Revert bogus caps template check in pad linking, pad caps
19079 are important when linking not the template, which is more
19080 general than the current caps.
19082 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19084 * gst/autoplug/.cvsignore:
19085 * gst/autoplug/Makefile.am:
19086 * gst/autoplug/gstsearchfuncs.c:
19087 * gst/autoplug/gstsearchfuncs.h:
19088 * gst/autoplug/gstspider.c:
19089 * gst/autoplug/gstspider.h:
19090 * gst/autoplug/gstspideridentity.c:
19091 * gst/autoplug/gstspideridentity.h:
19092 * gst/autoplug/spidertest.c:
19095 2005-04-25 Wim Taymans <wim@fluendo.com>
19097 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19098 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19099 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
19100 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
19102 Added stubs for unimplemented functions.
19104 2005-04-24 David Schleef <ds@schleef.org>
19106 * gst/gstpad.h: Disable some unimplemented functions. Wim,
19109 2005-04-24 David Schleef <ds@schleef.org>
19111 Convert everything from GstAtomicInt to g_atomic_int_*, and
19116 * gst/gstatomic_impl.h:
19124 * gst/gstdata_private.h:
19128 * gst/gstmessage.c:
19131 * gst/gststructure.c:
19132 * gst/gststructure.h:
19133 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
19136 2005-04-24 David Schleef <ds@schleef.org>
19138 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
19139 make the regressions tests work. Remove some code that is no
19141 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
19142 Disable warning for pads without templates.
19144 2005-04-24 David Schleef <ds@schleef.org>
19146 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
19147 functions that handle filtered links.
19148 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
19150 * gst/gstutils.c: Fix/remove utility functions that handle
19153 * gst/gstvalue.c: Add serialization/deserialization of caps
19154 * gst/parse/grammar.y: Ignore filtered caps when linking. This
19155 requires fixing so that the filter caps notation creates
19156 a capsfilter element and sets the filter_caps property. I
19157 think everyone probably wants to keep the shorthand notation.
19158 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
19159 * docs/gst/tmpl/gstpad.sgml:
19161 * gst/elements/gstelements.c: Register capsfilter element.
19162 * gst/Makefile.am: fix spacing
19163 * docs/random/ds/0.9-suggested-changes: random
19165 2005-04-23 David Schleef <ds@schleef.org>
19167 * gst/elements/Makefile.am:
19168 * gst/elements/gstcapsfilter.c: New element that acts like an
19169 identity, but filters caps. Will eventually replace filtered
19170 caps in pad linking.
19171 * gst/gstutils.c: (gst_element_create_all_pads): New function
19172 to create all the ALWAYS pads that are registered with an
19173 element class. This functionality should eventually be
19174 merged in with GstElement initialization.
19176 * testsuite/trigger/README: part of trigger test code that should
19177 have been checked in a long time ago.
19179 2005-04-23 David Schleef <ds@schleef.org>
19181 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
19182 needed with new versions of libtool (nobody will confirm this),
19183 and hard to carry around.
19184 * gst/autoplug/Makefile.am:
19185 * gst/base/Makefile.am:
19186 * gst/elements/Makefile.am:
19187 * gst/indexers/Makefile.am:
19188 * gst/schedulers/Makefile.am:
19189 * libs/gst/bytestream/Makefile.am:
19190 * libs/gst/control/Makefile.am:
19191 * libs/gst/dataprotocol/Makefile.am:
19192 * libs/gst/getbits/Makefile.am:
19194 2005-04-21 Wim Taymans <wim@fluendo.com>
19196 * docs/design/draft-push-pull.txt:
19197 * docs/design/part-MT-refcounting.txt:
19198 * docs/design/part-TODO.txt:
19199 * docs/design/part-caps.txt:
19200 * docs/design/part-events.txt:
19201 * docs/design/part-gstbus.txt:
19202 * docs/design/part-gstpipeline.txt:
19203 * docs/design/part-messages.txt:
19204 * docs/design/part-push-pull.txt:
19205 * docs/design/part-query.txt:
19208 2005-04-21 Wim Taymans <wim@fluendo.com>
19210 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
19211 (gst_message_new), (gst_message_new_error),
19212 (gst_message_new_warning), (gst_message_new_tag),
19213 (gst_message_new_state_changed), (gst_message_new_application),
19214 (gst_message_get_structure):
19215 * gst/gstmessage.h:
19216 * gst/gststructure.c: (gst_structure_set_parent_refcount),
19217 (gst_structure_copy_conditional):
19218 Use parent refcount in GstMessage to ensure GstStructure
19220 Cleaned up headers a bit.
19223 2005-04-20 Wim Taymans <wim@fluendo.com>
19225 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19226 (gst_basesink_pad_getcaps), (gst_basesink_init),
19227 (gst_basesink_chain_unlocked):
19228 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
19229 (gst_type_find_helper):
19230 * gst/elements/gsttypefindelement.c:
19231 (gst_type_find_element_have_type), (gst_type_find_element_init),
19232 (stop_typefinding), (gst_type_find_element_handle_event),
19233 (find_suggest), (gst_type_find_element_chain),
19234 (gst_type_find_element_checkgetrange),
19235 (gst_type_find_element_getrange), (do_typefind),
19236 (gst_type_find_element_activate):
19237 * gst/gstbuffer.c: (_gst_buffer_sub_free),
19238 (gst_buffer_default_free), (gst_buffer_default_copy),
19239 (gst_buffer_set_caps):
19240 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
19241 (gst_caps_replace):
19242 * gst/gstmessage.c: (gst_message_new),
19243 (gst_message_new_state_changed):
19244 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19245 (gst_pad_set_checkgetrange_function),
19246 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
19247 (gst_pad_set_caps), (gst_pad_check_pull_range),
19248 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
19250 * gst/gsttypefind.c: (gst_type_find_register):
19251 Make gst_caps_replace() work like other _replace() functions.
19252 Use _caps_replace() where possible.
19253 Make sure _message_new() initialises its field.
19254 Add gst_static_pad_template_get_caps()
19257 2005-04-18 Andy Wingo <wingo@pobox.com>
19259 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
19260 on the peer, not the pad. I think that was a typo. Pass an extra
19261 arg to see if random access is possible. Activate the pads as
19262 PULL_RANGE if possible.
19264 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
19266 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
19267 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
19270 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19272 * docs/faq/using.xml:
19273 Add note on gstreamer-properties (#154996).
19275 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19277 * docs/random/bbb/optional-properties:
19278 Some analysis on optional properties.
19280 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19282 * docs/gst/tmpl/gstelementfactory.sgml:
19283 * gst/gstelement.h:
19284 * gst/gstelementfactory.c: (gst_element_factory_init),
19285 (gst_element_factory_cleanup), (gst_element_register),
19286 (__gst_element_factory_add_static_pad_template),
19287 (gst_element_factory_get_static_pad_templates),
19288 (gst_element_factory_can_src_caps),
19289 (gst_element_factory_can_sink_caps):
19290 * gst/registries/Makefile.am:
19291 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
19292 (gst_xml_registry_class_init), (gst_xml_registry_init),
19293 (gst_xml_registry_new), (gst_xml_registry_set_property),
19294 (gst_xml_registry_get_property), (get_time), (make_dir),
19295 (gst_xml_registry_get_perms_func),
19296 (plugin_times_older_than_recurse), (plugin_times_older_than),
19297 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
19298 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
19299 (add_to_char_array), (read_string), (read_uint), (read_enum),
19300 (load_pad_template), (load_feature), (load_plugin), (load_paths),
19301 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
19302 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
19303 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
19304 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
19305 (gst_xml_registry_rebuild):
19306 * gst/registries/gstlibxmlregistry.h:
19307 * tools/gst-compprep.c: (main):
19308 * tools/gst-inspect.c: (print_pad_templates_info):
19309 * tools/gst-xmlinspect.c: (print_element_info):
19310 Use libxml2 for registry parsing, use staticpadtemplates in
19311 elementfactories. Makes gst_init() +/- 10x faster.
19313 2005-04-12 Wim Taymans <wim@fluendo.com>
19315 * gst/base/Makefile.am:
19316 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19317 (gst_basesink_pad_getcaps), (gst_basesink_init),
19318 (gst_basesink_event), (gst_basesink_change_state):
19319 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19320 (gst_basesrc_init), (gst_basesrc_query),
19321 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19322 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19323 (gst_basesrc_check_get_range), (gst_basesrc_loop),
19324 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19325 (gst_basesrc_stop), (gst_basesrc_activate),
19326 (gst_basesrc_change_state):
19327 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19328 (helper_find_suggest), (gst_type_find_helper):
19329 * gst/base/gsttypefindhelper.h:
19330 * gst/elements/Makefile.am:
19331 * gst/elements/gstelements.c:
19332 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
19333 (gst_fakesink_get_times), (gst_fakesink_event),
19334 (gst_fakesink_preroll), (gst_fakesink_render):
19335 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19336 (gst_fakesrc_init), (gst_fakesrc_event_handler),
19337 (gst_fakesrc_get_property), (gst_fakesrc_create),
19338 (gst_fakesrc_start), (gst_fakesrc_stop):
19339 * gst/elements/gstfakesrc.h:
19340 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
19341 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19342 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19343 (gst_filesrc_create_read), (gst_filesrc_create),
19344 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
19345 (gst_filesrc_start):
19346 * gst/elements/gsttypefindelement.c:
19347 (gst_type_find_element_have_type), (gst_type_find_element_init),
19348 (start_typefinding), (stop_typefinding), (push_buffer_store),
19349 (gst_type_find_element_handle_event),
19350 (gst_type_find_element_chain),
19351 (gst_type_find_element_checkgetrange),
19352 (gst_type_find_element_getrange), (do_typefind),
19353 (gst_type_find_element_activate),
19354 (gst_type_find_element_change_state):
19355 * gst/elements/gsttypefindelement.h:
19356 * gst/gstpipeline.c: (pipeline_bus_handler):
19357 Added typefind helper.
19358 Small preroll fix in the base sink.
19359 Disable typefind code in basesrc.
19360 Crude port of typefindelement.
19364 2005-04-11 Wim Taymans <wim@fluendo.com>
19366 * check/gst/gstbus.c: (gstbus_suite):
19367 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
19368 * check/gstcheck.h:
19369 Fix up the timeout so that the test does not fail.
19371 2005-04-06 Wim Taymans <wim@fluendo.com>
19374 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19375 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
19376 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19377 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19378 (gst_basesrc_check_get_range), (gst_basesrc_loop),
19379 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19380 (gst_basesrc_stop), (gst_basesrc_activate),
19381 (gst_basesrc_change_state), (basesrc_find_peek),
19382 (basesrc_find_suggest), (gst_basesrc_type_find):
19383 * gst/base/gstbasesrc.h:
19384 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
19385 (gst_filesrc_class_init), (gst_filesrc_init),
19386 (gst_filesrc_finalize), (gst_filesrc_set_location),
19387 (gst_filesrc_set_property), (gst_filesrc_get_property),
19388 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19389 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19390 (gst_filesrc_create_read), (gst_filesrc_create),
19391 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
19392 * gst/elements/gstfilesrc.h:
19393 * gst/gstelement.c: (gst_element_get_state_func),
19394 (gst_element_lost_state), (gst_element_pads_activate):
19395 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19396 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19397 (gst_pad_pull_range):
19399 More work on the generic source base class, implement seeking,
19401 Make filesrc extend the base source class.
19402 Added gst_pad_set_checkgetrange_function to GstPad.
19404 2005-04-06 Andy Wingo <wingo@pobox.com>
19406 * pkgconfig/gstreamer-base.pc.in:
19407 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
19409 * pkgconfig/Makefile.am:
19410 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
19412 2005-04-04 Wim Taymans <wim@fluendo.com>
19414 * gst/base/Makefile.am:
19416 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19417 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19418 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19419 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
19420 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19421 (gst_basesrc_base_init), (gst_basesrc_class_init),
19422 (gst_basesrc_init), (gst_basesrc_get_formats),
19423 (gst_basesrc_get_query_types), (gst_basesrc_query),
19424 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
19425 (gst_basesrc_set_property), (gst_basesrc_get_property),
19426 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
19427 (gst_basesrc_loop), (gst_basesrc_activate),
19428 (gst_basesrc_change_state):
19429 * gst/base/gstbasesrc.h:
19430 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
19431 (gst_fakesrc_class_init), (gst_fakesrc_init),
19432 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
19433 (gst_fakesrc_get_property), (gst_fakesrc_create):
19434 * gst/elements/gstfakesrc.h:
19435 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
19436 (gst_filesrc_open_file), (gst_filesrc_loop),
19437 (gst_filesrc_activate), (filesrc_find_peek),
19438 (gst_filesrc_type_find):
19439 Made base source class, make fakesrc extend it.
19440 Add comments to basesink class.
19441 Some filesrc cleanup.
19443 2005-03-31 David Schleef <ds@schleef.org>
19445 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
19446 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
19447 expected to link against libgstreamer.
19448 * gst/base/Makefile.am: link against libgstreamer
19449 * gst/elements/Makefile.am: same
19451 2005-03-31 Andy Wingo <wingo@pobox.com>
19453 * tests/instantiate/Makefile.am:
19454 * tests/instantiate/caps.c: Add test to test speed of caps copy
19457 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
19458 GMemChunk to be fair.
19460 * gst/gsttrashstack.h: Remove warning about using the fallback
19461 trash stack implementation, it's still faster than malloc.
19463 2005-03-30 Andy Wingo <wingo@pobox.com>
19465 * tests/complexity.c: Add a copyright.
19467 2005-03-31 Wim Taymans <wim@fluendo.com>
19469 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
19470 (gst_base_transform_class_init), (gst_base_transform_init),
19471 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19472 (gst_base_transform_get_property),
19473 (gst_base_transform_sink_activate),
19474 (gst_base_transform_src_activate),
19475 (gst_base_transform_change_state):
19476 * gst/base/gstbasetransform.h:
19477 * gst/elements/gstidentity.c: (gst_identity_class_init),
19478 (gst_identity_event), (gst_identity_check_perfect),
19479 (gst_identity_transform), (gst_identity_start),
19480 (gst_identity_stop):
19481 Added start/stop methods to transform base class so subclasses
19482 don't need to deal with state changes even.
19484 2005-03-31 Wim Taymans <wim@fluendo.com>
19486 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
19487 (gst_event_new_discontinuous), (gst_event_discont_get_value):
19489 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19490 (gst_pad_pull_range):
19491 Added rate to the discont event to prepare for variable speed
19492 and reverse playback.
19494 2005-03-29 David Schleef <ds@schleef.org>
19497 * testsuite/trigger/Makefile.am:
19498 * testsuite/trigger/trigger.c: A little example program to show
19499 how trigger-based elements can work.
19501 2005-03-29 Wim Taymans <wim@fluendo.com>
19503 * gst/base/Makefile.am:
19505 * gst/base/gstbasesink.c: (gst_basesink_get_type),
19506 (gst_basesink_base_init), (gst_basesink_class_init),
19507 (gst_basesink_pad_getcaps), (gst_basesink_init),
19508 (gst_basesink_activate), (gst_basesink_change_state):
19509 * gst/base/gstbasesink.h:
19510 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
19511 (gst_base_transform_base_init), (gst_base_transform_finalize),
19512 (gst_base_transform_class_init), (gst_base_transform_init),
19513 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
19514 (gst_base_transform_event), (gst_base_transform_getrange),
19515 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
19516 (gst_base_transform_set_property),
19517 (gst_base_transform_get_property),
19518 (gst_base_transform_sink_activate),
19519 (gst_base_transform_src_activate),
19520 (gst_base_transform_change_state):
19521 * gst/base/gstbasetransform.h:
19522 * gst/elements/gstidentity.c: (gst_identity_finalize),
19523 (gst_identity_class_init), (gst_identity_init),
19524 (gst_identity_event), (gst_identity_check_perfect),
19525 (gst_identity_transform), (gst_identity_set_property),
19526 (gst_identity_get_property), (gst_identity_change_state):
19527 * gst/elements/gstidentity.h:
19528 * gst/gstelement.c: (gst_element_get_state_func),
19529 (gst_element_lost_state), (gst_element_pads_activate):
19530 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19531 (gst_pad_check_pull_range), (gst_pad_pull_range):
19533 Simplify pad activation.
19534 Added function to check if pull_range can be performed.
19535 Error out when pulling inactive or flushing pads.
19536 Removed const from refcounted types as it does not make sense.
19537 Simplify pad templates in basesink
19538 Added base class for simple 1-to-1 transforms.
19539 Make identity subclass the base transform.
19541 2005-03-29 Andy Wingo <wingo@pobox.com>
19543 * docs/libs/gstreamer-libs-overrides.txt:
19544 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
19545 really don't understand what's going on, but like whatever. I want
19548 * docs/gst/Makefile.am:
19549 * docs/libs/Makefile.am: Dist the overrides files.
19551 * check/Makefile.am (clean-local): Remove .libs directories.
19553 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
19554 elements to EXTRA_DIST, so po/ files are happy.
19556 * po/POTFILES.in: Er, remove it here.
19558 * po/POTFILES: Remove gstspider.c.
19560 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
19562 * docs/libs/gstreamer-libs-docs.sgml:
19563 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
19566 * tests/complexity.c (main): Set the length of the preroll queue
19567 on the sinks to prevent a lockup.
19569 * libs/gst/dataprotocol/Makefile.am:
19570 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
19571 the same as the one in check/gst-libs/gdp.c.
19573 * po/, docs/gst/: Commit automatic changes to docs and po files.
19575 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
19576 the versioned libgstbase.
19578 * check/Makefile.am: Depend on an unversioned gst-register, seems
19579 to make autoconf happier.
19581 * gst/base/Makefile.am: Make libgstbase a versioned lib.
19583 2005-03-28 Wim Taymans <wim@fluendo.com>
19586 * docs/design/part-gstelement.txt:
19587 * docs/design/part-negotiation.txt:
19588 * docs/design/part-preroll.txt:
19589 * docs/design/part-scheduling.txt:
19590 * docs/design/part-states.txt:
19592 * gst/base/Makefile.am:
19594 * gst/base/gstbasesink.c: (gst_basesink_get_template),
19595 (gst_basesink_base_init), (gst_basesink_class_init),
19596 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19597 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19598 (gst_basesink_set_pad_functions),
19599 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
19600 (gst_basesink_set_property), (gst_basesink_get_property),
19601 (gst_base_sink_get_template), (gst_base_sink_get_caps),
19602 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
19603 (gst_basesink_preroll_queue_push),
19604 (gst_basesink_preroll_queue_empty),
19605 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
19606 (gst_basesink_event), (gst_basesink_get_times),
19607 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
19608 (gst_basesink_chain_unlocked), (gst_basesink_chain),
19609 (gst_basesink_loop), (gst_basesink_activate),
19610 (gst_basesink_change_state):
19611 * gst/base/gstbasesink.h:
19612 * gst/elements/Makefile.am:
19613 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
19614 (gst_fakesink_class_init), (gst_fakesink_init),
19615 (gst_fakesink_set_property), (gst_fakesink_get_property),
19616 (gst_fakesink_get_times), (gst_fakesink_event),
19617 (gst_fakesink_preroll), (gst_fakesink_render),
19618 (gst_fakesink_change_state):
19619 * gst/elements/gstfakesink.h:
19620 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19621 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
19622 * gst/gstelement.c: (gst_element_add_pad),
19623 (gst_element_get_state_func), (gst_element_abort_state),
19624 (gst_element_commit_state), (gst_element_lost_state),
19625 (gst_element_set_state), (gst_element_pads_activate):
19626 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
19627 * gst/gstpipeline.c: (gst_pipeline_send_event),
19628 (gst_pipeline_change_state):
19629 Added state change code.
19630 Added/updated docs.
19631 Added sink base class, make fakesink extend the base class.
19632 Small cleanups in GstPipeline.
19634 2005-03-26 David Schleef <ds@schleef.org>
19636 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
19637 is broken and should be implemented in a different library.
19638 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
19639 * gst/gst.h: remove gstcpu.h
19640 * gst/gstcpu.c: remove
19641 * gst/gstcpu.h: remove
19642 * gst/Makefile.am.future: Remove this file. It's ancient.
19644 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19646 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19647 (gst_bin_send_event):
19648 Add default event/set_manager handlers. The set_manager handler
19649 takes care that the manager is distributed over kids that were
19650 already in the bin before the manager was set. The event handler
19651 is a utility virtual function that sends the event over all sinks,
19652 so that gst_element_send_event (bin, event); has the expected
19654 * gst/gstpad.c: (gst_pad_event_default):
19655 Re-install default event handling for discontinuities, so that
19656 seeking works without requiring hacks in applications or extra
19658 * gst/gstpipeline.c: (gst_pipeline_class_init),
19659 (gst_pipeline_send_event):
19660 Half hack, half utility: set a pipeline to PAUSED for seek events,
19661 since that is the only way we can guarantee a/v sync. Means that
19662 you can do gst_element_seek (pipeline, method, pos); on a pipeline
19663 and it "just works".
19665 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19667 * gst/gstpipeline.c: (gst_pipeline_use_clock):
19668 Lock/unlock mismatch.
19670 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
19672 * docs/faq/gst-uninstalled:
19673 add gst-plugins-base
19674 * docs/gst/Makefile.am:
19675 don't error out until docs are fixed
19676 * docs/gst/gstreamer.types:
19679 2005-03-22 Wim Taymans <wim@fluendo.com>
19681 * check/Makefile.am:
19682 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
19683 * gst/gststructure.c: (gst_structure_set_valist),
19684 (gst_structure_copy_conditional):
19685 Activated more tests.
19686 Added message test.
19687 Added G_TYPE_POINTER to GstStructure.
19690 2005-03-22 Wim Taymans <wim@fluendo.com>
19692 * docs/design/part-TODO.txt:
19693 * docs/design/part-events.txt:
19694 * docs/design/part-gstbin.txt:
19695 * docs/design/part-gstbus.txt:
19696 * docs/design/part-gstpipeline.txt:
19697 * docs/design/part-messages.txt:
19699 * gst/gstmessage.c:
19702 2005-03-21 Wim Taymans <wim@fluendo.com>
19704 * gst/gstbus.c: (gst_bus_post):
19705 Fix copy-and-paste error.
19707 2005-03-21 Wim Taymans <wim@fluendo.com>
19709 * check/Makefile.am:
19711 * gst/elements/Makefile.am:
19712 * gst/elements/gstelements.c:
19713 * gst/elements/gstfakesink.c: (gst_fakesink_init),
19714 (gst_fakesink_event), (gst_fakesink_chain):
19715 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19716 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
19717 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
19718 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
19719 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19720 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
19721 (gst_fakesrc_loop), (gst_fakesrc_activate),
19722 (gst_fakesrc_change_state):
19723 * gst/elements/gstfakesrc.h:
19724 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
19725 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
19726 (gst_filesrc_open_file), (gst_filesrc_loop),
19727 (gst_filesrc_activate), (gst_filesrc_change_state),
19728 (filesrc_find_peek), (filesrc_find_suggest),
19729 (gst_filesrc_type_find):
19730 * gst/elements/gstidentity.c: (gst_identity_finalize),
19731 (gst_identity_class_init), (gst_identity_init),
19732 (gst_identity_proxy_getcaps), (identity_queue_push),
19733 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
19734 (gst_identity_getrange), (gst_identity_chain),
19735 (gst_identity_sink_loop), (gst_identity_src_loop),
19736 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
19737 (gst_identity_set_property), (gst_identity_get_property),
19738 (gst_identity_change_state):
19739 * gst/elements/gstidentity.h:
19740 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
19741 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
19742 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
19743 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
19744 (gst_tee_sink_activate):
19745 * gst/elements/gsttee.h:
19746 * gst/gst.c: (gst_register_core_elements), (init_post):
19748 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
19749 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
19750 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
19751 (gst_bin_change_state):
19753 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
19754 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
19755 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
19756 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
19757 (gst_bus_set_sync_handler), (gst_bus_create_watch),
19758 (bus_watch_callback), (bus_watch_destroy),
19759 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
19760 (poll_timeout), (gst_bus_poll):
19764 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19765 (gst_element_post_message), (gst_element_message_full),
19766 (gst_element_get_state_func), (gst_element_get_state),
19767 (gst_element_abort_state), (gst_element_commit_state),
19768 (gst_element_lost_state), (gst_element_set_state),
19769 (gst_element_pads_activate), (gst_element_change_state),
19770 (gst_element_dispose), (gst_element_set_manager_func),
19771 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19772 (gst_element_set_manager), (gst_element_get_manager),
19773 (gst_element_set_bus), (gst_element_get_bus),
19774 (gst_element_set_scheduler), (gst_element_get_scheduler):
19775 * gst/gstelement.h:
19776 * gst/gstevent.c: (gst_event_new_segment_seek),
19777 (gst_event_new_flush):
19779 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19780 (_gst_message_free), (gst_message_get_type), (gst_message_new),
19781 (gst_message_new_eos), (gst_message_new_error),
19782 (gst_message_new_warning), (gst_message_new_tag),
19783 (gst_message_new_state_changed), (gst_message_new_application),
19784 (gst_message_get_structure), (gst_message_parse_tag),
19785 (gst_message_parse_state_changed), (gst_message_parse_error),
19786 (gst_message_parse_warning):
19787 * gst/gstmessage.h:
19788 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19789 (gst_real_pad_set_property), (gst_pad_set_active),
19790 (gst_pad_is_active), (gst_pad_set_blocked_async),
19791 (gst_pad_set_blocked), (gst_pad_is_blocked),
19792 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19793 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19794 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19795 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19796 (gst_pad_link_filtered), (gst_pad_relink_filtered),
19797 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19798 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19799 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19800 (gst_pad_set_caps), (gst_pad_configure_sink),
19801 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19802 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19803 (gst_real_pad_dispose), (gst_real_pad_finalize),
19804 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19805 (gst_pad_event_default_dispatch), (gst_pad_event_default),
19806 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19808 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19809 (pipeline_bus_handler), (gst_pipeline_change_state),
19810 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19811 * gst/gstpipeline.h:
19813 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19814 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19815 (gst_queue_link_src), (gst_queue_bufferalloc),
19816 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19817 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19818 (gst_queue_loop), (gst_queue_handle_src_event),
19819 (gst_queue_handle_src_query), (gst_queue_src_activate),
19820 (gst_queue_change_state):
19822 * gst/gstscheduler.c: (gst_scheduler_init),
19823 (gst_scheduler_dispose), (gst_scheduler_create_task),
19824 (gst_scheduler_factory_create):
19825 * gst/gstscheduler.h:
19826 * gst/gststructure.c: (gst_structure_get_type),
19827 (gst_structure_copy_conditional):
19828 * gst/gststructure.h:
19829 * gst/gsttaginterface.h:
19830 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19831 (gst_task_init), (gst_task_dispose), (gst_task_create),
19832 (gst_task_get_state), (gst_task_start), (gst_task_stop),
19838 * gst/schedulers/Makefile.am:
19839 * gst/schedulers/cothreads_compat.h:
19840 * gst/schedulers/entryscheduler.c:
19841 * gst/schedulers/faircothreads.c:
19842 * gst/schedulers/faircothreads.h:
19843 * gst/schedulers/fairscheduler.c:
19844 * gst/schedulers/gstbasicscheduler.c:
19845 * gst/schedulers/gstoptimalscheduler.c:
19846 * gst/schedulers/gthread-cothreads.h:
19847 * gst/schedulers/threadscheduler.c:
19848 (gst_thread_scheduler_task_get_type),
19849 (gst_thread_scheduler_task_class_init),
19850 (gst_thread_scheduler_task_init),
19851 (gst_thread_scheduler_task_start),
19852 (gst_thread_scheduler_task_stop),
19853 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19854 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19855 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19856 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19858 * libs/gst/Makefile.am:
19859 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
19860 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
19861 (gst_file_pad_parent_set):
19862 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19863 (gst_dp_event_from_packet):
19864 * tests/complexity.c: (main):
19865 * tests/mass_elements.c: (main):
19866 * testsuite/states/locked.c: (message_received), (main):
19867 * testsuite/states/parent.c: (main):
19868 * tools/gst-inspect.c: (print_element_flag_info),
19869 (print_implementation_info), (print_pad_info):
19870 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
19872 * tools/gst-md5sum.c: (event_loop), (main):
19873 * tools/gst-typefind.c: (main):
19874 * tools/gst-xmlinspect.c: (print_element_info):
19876 Added GstBus for mainloop integration.
19877 Added GstMessage for sending notifications on the bus.
19878 Added GstTask as an abstraction for pipeline entry points.
19880 Removed Schedulers.
19881 Simplified GstQueue for multithreaded core.
19882 Made _link threadsafe, removed old capsnego.
19883 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
19884 Added pad blocking functions.
19885 Reworked scheduling functions in GstPad to prepare for
19886 scheduling updates soon.
19887 Moved events out of data stream.
19888 Simplified GstEvent types.
19889 Added return values to push/pull.
19890 Removed clocking from GstElement.
19891 Added prototypes for state change function for next merge.
19892 Removed iterate from bins and state change management.
19893 Fixed some elements, disabled others for now.
19894 Fixed -inspect and -launch.
19895 Added check for GstBus.
19897 2005-03-10 Wim Taymans <wim@fluendo.com>
19899 * docs/design/part-MT-refcounting.txt:
19900 * docs/design/part-clocks.txt:
19901 * docs/design/part-gstelement.txt:
19902 * docs/design/part-gstobject.txt:
19903 * docs/design/part-standards.txt:
19904 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19905 (gst_bin_remove_func), (gst_bin_remove):
19909 * testsuite/clock/clock1.c: (main):
19910 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
19912 * testsuite/dlopen/loadgst.c: (do_test):
19913 * testsuite/refcounting/bin.c: (add_remove_test1),
19914 (add_remove_test2), (main):
19915 * testsuite/refcounting/element.c: (main):
19916 * testsuite/refcounting/element_pad.c: (main):
19917 * testsuite/refcounting/pad.c: (main):
19918 * tools/gst-launch.c: (sigint_handler_sighandler):
19919 * tools/gst-typefind.c: (main):
19921 Added doc about clock.
19922 removed gst_bin_iterate_recurse_up(), marked methods
19924 Fix more testsuites.
19926 2005-03-09 Wim Taymans <wim@fluendo.com>
19928 * gst/gstpad.c: (gst_pad_get_direction),
19929 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
19930 (gst_pad_collect_valist):
19931 * testsuite/bins/interface.c: (main):
19932 * testsuite/caps/audioscale.c: (test_caps):
19933 * testsuite/caps/caps.c: (test1), (test2), (test3):
19934 * testsuite/caps/deserialize.c: (main):
19935 * testsuite/caps/enumcaps.c: (main):
19936 * testsuite/caps/filtercaps.c: (main):
19937 * testsuite/caps/intersect2.c: (main):
19938 * testsuite/caps/random.c: (main):
19939 * testsuite/caps/renegotiate.c: (my_fixate), (main):
19940 * testsuite/caps/sets.c: (check_caps):
19941 * testsuite/caps/simplify.c: (check_caps), (main):
19942 * testsuite/caps/subtract.c: (check_caps):
19943 Fix _pad_get_direction wrt ghostpads.
19944 Fix caps testsuite.
19946 2005-03-09 Wim Taymans <wim@fluendo.com>
19948 * check/Makefile.am:
19949 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
19950 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
19951 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
19952 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
19953 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
19954 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
19955 (gst_bin_remove), (gst_bin_iterate_recurse_up),
19956 (bin_element_is_sink), (gst_bin_iterate_sinks),
19957 (gst_bin_iterate_all_by_interface):
19959 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
19960 (gst_element_change_state), (gst_element_dispose),
19961 (gst_element_finalize), (gst_element_set_loop_function):
19962 * gst/gstelement.h:
19963 * gst/gstiterator.c: (find_custom_fold_func):
19964 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19965 (gst_pad_collectv), (gst_pad_collect_valist),
19966 (gst_pad_template_new):
19967 * gst/gstpipeline.c: (gst_pipeline_class_init),
19968 (gst_pipeline_dispose), (gst_pipeline_set_property),
19969 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
19970 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
19971 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
19973 * gst/schedulers/entryscheduler.c:
19974 * gst/schedulers/gstbasicscheduler.c:
19975 (gst_basic_scheduler_cothreaded_chain),
19976 (gst_basic_scheduler_chain_add_element):
19977 * testsuite/bins/interface.c: (main):
19979 Added GstSystemClock test.
19980 Implemented clock distribution code in GstBin.
19981 Implemented iterate sinks method for future use.
19982 Rearranged gstelement.h
19983 Fix GstIterator comparison bug.
19984 Moved some code to GstPipeline, mostly clocking related.
19986 2005-03-09 Wim Taymans <wim@fluendo.com>
19989 * gst/gst_private.h:
19990 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19991 (gst_bin_remove_func), (gst_bin_remove),
19992 (gst_bin_get_by_name_recurse_up):
19993 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
19994 (gst_clock_id_compare_func), (gst_clock_id_wait),
19995 (gst_clock_id_wait_async), (gst_clock_init),
19996 (gst_clock_adjust_unlocked), (gst_clock_get_time):
19997 * gst/gstelement.h:
19998 * gst/gstinfo.c: (_gst_debug_init):
20000 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
20001 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
20003 Bump version number, we're now 0.9.0
20004 Add future debugging category.
20005 Fix NULL _unref() in _get_by_name_recurse_up
20006 Rearrange gstpad.h.
20009 2005-03-08 Wim Taymans <wim@fluendo.com>
20011 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
20012 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
20013 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
20014 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
20015 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
20016 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
20017 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
20018 * gst/elements/gstidentity.c: (gst_identity_class_init):
20019 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
20020 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
20021 * gst/elements/gstshaper.c: (gst_shaper_class_init):
20022 * gst/elements/gststatistics.c: (gst_statistics_class_init):
20023 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
20025 * gst/gstelement.c: (gst_element_class_init),
20026 (gst_element_base_class_init), (gst_element_init),
20027 (gst_element_get_random_pad), (gst_element_wait_state_change),
20028 (gst_element_change_state), (gst_element_dispose),
20029 (gst_element_finalize), (gst_element_set_loop_function):
20030 * gst/gstelement.h:
20031 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
20032 * gst/gstthread.c: (gst_thread_class_init),
20033 (gst_thread_release_children_locks), (gst_thread_change_state):
20034 * gst/schedulers/gstbasicscheduler.c:
20035 (gst_basic_scheduler_loopfunc_wrapper),
20036 (gst_basic_scheduler_chain_wrapper),
20037 (gst_basic_scheduler_src_wrapper),
20038 (gst_basic_scheduler_remove_element):
20039 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
20040 Remove threadsafe properties. Fix elements because GObject
20041 complains when installing a property before declaring a
20042 set/get_property handler.
20043 Rearrange gstelement.h file, use STATE macros for state locks.
20044 Free mutexes in the finalize method instead of dispose.
20046 2005-03-08 Wim Taymans <wim@fluendo.com>
20048 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
20049 * gst/gstthread.c: (gst_thread_release_children_locks):
20050 Added parentage check.
20051 Fix build og GstThread again.
20053 2005-03-08 Wim Taymans <wim@fluendo.com>
20055 * docs/design/part-MT-refcounting.txt:
20056 * docs/design/part-conventions.txt:
20057 * docs/design/part-gstobject.txt:
20058 * docs/design/part-relations.txt:
20059 * docs/design/part-standards.txt:
20060 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
20061 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
20062 (gst_bin_get_by_name), (gst_bin_get_by_interface),
20063 (gst_bin_iterate_all_by_interface):
20066 * gst/gstelement.c: (gst_element_class_init),
20067 (gst_element_change_state), (gst_element_set_loop_function):
20068 * gst/gstelement.h:
20069 * gst/gstiterator.c:
20070 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
20071 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
20072 (gst_object_dispatch_properties_changed), (gst_object_set_name),
20073 (gst_object_set_parent), (gst_object_unparent),
20074 (gst_object_check_uniqueness):
20076 Docs updates, clean up some headers.
20078 2005-03-07 Wim Taymans <wim@fluendo.com>
20080 * check/.cvsignore:
20081 * check/Makefile.am:
20082 * check/gst-libs/.cvsignore:
20083 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
20084 * check/gst/.cvsignore:
20085 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
20086 (START_TEST), (gstbus_suite), (main):
20087 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
20088 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
20089 (gst_data_suite), (main):
20090 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
20091 (add_fold_func), (gstiterator_suite), (main):
20092 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
20093 (thread_name_object), (thread_name_object_default),
20094 (gst_object_name_compare), (gst_object_suite), (main):
20095 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
20096 (gst_pad_suite), (main):
20097 * check/gstcheck.c: (gst_check_log_message_func),
20098 (gst_check_log_critical_func), (gst_check_init):
20099 * check/gstcheck.h:
20100 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20101 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
20104 2005-03-07 Wim Taymans <wim@fluendo.com>
20106 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
20107 (gst_list_iterator_next), (gst_list_iterator_resync),
20108 (gst_list_iterator_free), (gst_iterator_new_list),
20109 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
20110 (gst_iterator_free), (gst_iterator_push), (filter_next),
20111 (filter_resync), (filter_uninit), (filter_free),
20112 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
20113 (gst_iterator_foreach), (find_custom_fold_func),
20114 (gst_iterator_find_custom):
20115 * gst/gstiterator.h:
20116 Added missing files.
20118 2005-03-07 Wim Taymans <wim@fluendo.com>
20122 * docs/design/part-MT-refcounting.txt:
20123 * docs/design/part-conventions.txt:
20124 * docs/design/part-gstobject.txt:
20125 * docs/design/part-relations.txt:
20126 * examples/mixer/mixer.c: (main):
20127 * examples/thread/thread.c: (eos), (main):
20129 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
20130 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
20131 (gst_spider_plug_from_srcpad):
20132 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
20133 (gst_spider_identity_change_state),
20134 (gst_spider_identity_sink_loop_type_finding):
20135 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
20136 * gst/elements/gstidentity.c: (gst_identity_init):
20137 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
20138 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
20139 * gst/elements/gsttypefindelement.c: (free_entry):
20142 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
20143 (gst_bin_set_clock_func), (gst_bin_auto_clock),
20144 (gst_bin_set_index), (gst_bin_set_element_sched),
20145 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
20146 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
20147 (gst_bin_iterate_elements), (iterate_child_recurse),
20148 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
20149 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
20150 (compare_interface), (gst_bin_get_by_interface),
20151 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
20153 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
20154 (gst_buffer_default_free), (gst_buffer_default_copy),
20155 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
20156 (gst_buffer_create_sub):
20158 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
20159 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
20160 (gst_caps_unref), (gst_static_caps_get),
20161 (gst_caps_remove_and_get_structure), (gst_caps_append),
20162 (gst_caps_append_structure), (gst_caps_remove_structure),
20163 (gst_caps_copy_nth), (gst_caps_set_simple),
20164 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
20165 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
20166 (gst_caps_structure_intersect_field), (gst_caps_intersect),
20167 (gst_caps_structure_subtract_field), (gst_caps_subtract),
20168 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
20169 (gst_caps_structure_figure_out_union),
20170 (gst_caps_switch_structures), (gst_caps_do_simplify),
20171 (gst_caps_replace), (gst_caps_from_string),
20172 (gst_caps_copy_conditional):
20174 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
20175 (_gst_clock_id_free), (gst_clock_id_unref),
20176 (gst_clock_id_compare_func), (gst_clock_id_wait),
20177 (gst_clock_id_wait_async), (gst_clock_class_init),
20178 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
20179 (gst_clock_get_time), (gst_clock_set_time_adjust),
20180 (gst_clock_set_property), (gst_clock_get_property):
20183 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
20184 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
20186 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
20187 (gst_element_requires_clock), (gst_element_provides_clock),
20188 (gst_element_set_clock), (gst_element_clock_wait),
20189 (gst_element_wait), (gst_element_set_time_delay),
20190 (gst_element_is_indexable), (gst_element_add_pad),
20191 (gst_element_add_ghost_pad), (gst_element_remove_pad),
20192 (pad_compare_name), (gst_element_get_static_pad),
20193 (gst_element_request_pad), (gst_element_get_request_pad),
20194 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
20195 (gst_element_class_get_pad_template_list),
20196 (gst_element_class_get_pad_template), (gst_element_error_func),
20197 (gst_element_get_random_pad), (gst_element_get_event_masks),
20198 (gst_element_send_event), (gst_element_seek),
20199 (gst_element_get_query_types), (gst_element_query),
20200 (gst_element_get_formats), (gst_element_convert),
20201 (gst_element_is_locked_state), (gst_element_set_locked_state),
20202 (gst_element_sync_state_with_parent), (gst_element_change_state),
20203 (gst_element_finalize), (gst_element_yield),
20204 (gst_element_interrupt), (gst_element_set_scheduler),
20205 (gst_element_get_scheduler), (gst_element_set_loop_function):
20206 * gst/gstelement.h:
20208 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
20209 (gst_format_get_by_nick), (gst_format_get_details),
20210 (gst_format_iterate_definitions):
20212 * gst/gstindex.c: (gst_index_gtype_resolver):
20215 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
20216 (gst_mem_chunk_free):
20217 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
20218 (gst_object_ref), (gst_object_unref), (gst_object_sink),
20219 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
20220 (gst_object_dispatch_properties_changed),
20221 (gst_object_set_name_default), (gst_object_set_name),
20222 (gst_object_get_name), (gst_object_set_name_prefix),
20223 (gst_object_get_name_prefix), (gst_object_set_parent),
20224 (gst_object_get_parent), (gst_object_unparent),
20225 (gst_object_check_uniqueness), (gst_object_save_thyself),
20226 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
20227 (gst_object_set_property), (gst_object_get_property),
20228 (gst_object_get_path_string):
20230 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20231 (gst_real_pad_init), (gst_real_pad_get_property),
20232 (gst_pad_custom_new), (gst_pad_get_direction),
20233 (gst_pad_set_active), (gst_pad_is_active),
20234 (gst_pad_set_event_function), (gst_pad_is_linked),
20235 (gst_pad_link_free), (gst_pad_link_intersect),
20236 (gst_pad_link_fixate), (gst_pad_set_caps),
20237 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
20238 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
20239 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
20240 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
20241 (gst_pad_get_caps), (gst_pad_peer_get_caps),
20242 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
20243 (gst_pad_realize), (gst_pad_get_allowed_caps),
20244 (gst_real_pad_dispose), (gst_real_pad_finalize),
20245 (gst_pad_collectv), (gst_pad_collect_valist),
20246 (gst_pad_template_dispose), (gst_pad_template_new),
20247 (gst_pad_get_internal_links):
20249 * gst/gstpipeline.c: (gst_pipeline_dispose),
20250 (gst_pipeline_change_state):
20251 * gst/gstpipeline.h:
20253 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
20254 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
20255 * gst/gstpluginfeature.h:
20256 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
20257 * gst/gstquery.c: (_gst_query_type_initialize),
20258 (gst_query_type_register), (gst_query_type_get_by_nick),
20259 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
20261 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
20262 * gst/gstscheduler.c: (gst_scheduler_add_element),
20263 (gst_scheduler_factory_create):
20264 * gst/gststructure.c: (gst_structure_set_parent_refcount),
20265 (gst_structure_free), (gst_structure_set_name),
20266 (gst_structure_id_set_value), (gst_structure_set_value),
20267 (gst_structure_set_valist), (gst_structure_remove_field),
20268 (gst_structure_remove_fields),
20269 (gst_structure_remove_fields_valist),
20270 (gst_structure_remove_all_fields), (gst_structure_foreach),
20271 (gst_structure_map_in_place),
20272 (gst_caps_structure_fixate_field_nearest_int),
20273 (gst_caps_structure_fixate_field_nearest_double):
20274 * gst/gststructure.h:
20275 * gst/gstsystemclock.c: (gst_system_clock_class_init),
20276 (gst_system_clock_init), (gst_system_clock_dispose),
20277 (gst_system_clock_async_thread),
20278 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
20279 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
20280 * gst/gstsystemclock.h:
20281 * gst/gsttag.c: (gst_tag_list_add_value_internal),
20282 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
20283 * gst/gsttaginterface.c:
20284 * gst/gstthread.c: (gst_thread_dispose),
20285 (gst_thread_release_children_locks), (gst_thread_change_state),
20286 (gst_thread_main_loop):
20287 * gst/gsttrashstack.h:
20288 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
20290 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
20291 (gst_element_request_pad), (gst_element_get_pad_from_template),
20292 (gst_element_request_compatible_pad),
20293 (gst_element_get_compatible_pad_filtered),
20294 (gst_element_get_compatible_pad), (gst_element_state_get_name),
20295 (gst_element_link_pads_filtered), (gst_element_link_filtered),
20296 (gst_element_link_many), (gst_element_link),
20297 (gst_element_link_pads), (gst_element_unlink_pads),
20298 (gst_element_unlink_many), (gst_element_unlink),
20299 (gst_pad_can_link_filtered), (gst_pad_can_link),
20300 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
20301 (gst_object_default_error), (gst_bin_add_many),
20302 (gst_bin_remove_many), (gst_element_populate_std_props),
20303 (gst_element_class_install_std_props), (gst_buffer_merge),
20304 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
20305 (link_fold_func), (gst_pad_proxy_setcaps):
20307 * gst/gstvalue.c: (gst_value_deserialize_string):
20308 * gst/parse/grammar.y:
20309 * gst/schedulers/gstbasicscheduler.c:
20310 (gst_basic_scheduler_cothreaded_chain),
20311 (gst_basic_scheduler_chain_recursive_add),
20312 (gst_basic_scheduler_pad_link):
20313 * gst/schedulers/gstoptimalscheduler.c:
20314 (get_group_schedule_function),
20315 (gst_opt_scheduler_state_transition),
20316 (gst_opt_scheduler_add_element), (element_get_reachables_func):
20317 * libs/gst/bytestream/bytestream.c:
20318 * libs/gst/dataprotocol/dataprotocol.c:
20319 (gst_dp_header_from_buffer):
20322 * tests/threadstate/threadstate2.c: (eos):
20323 * tools/gst-compprep.c: (main):
20324 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
20325 (print_pad_info), (print_children_info):
20326 * tools/gst-launch.c: (idle_func), (main):
20327 * tools/gst-md5sum.c: (idle_func), (main):
20328 * tools/gst-xmlinspect.c: (print_element_info):
20329 First THREADED backport attempt, focusing on adding locks and
20330 making sure the API is threadsafe. Needs more work. More docs
20333 2005-02-24 Andy Wingo <wingo@pobox.com>
20335 * tests/bench-complexity.scm:
20336 * tests/complexity.gnuplot: New files, good for running complexity
20339 * tests/Makefile.am:
20340 * tests/complexity.c: New test, sets up N elements, at each level
20341 teeing into M streams per element. Eeeenteresting.
20343 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
20344 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
20345 running bench-mass_elements.scm.
20347 * tests/bench-mass_elements.scm: New script, runs mass_elements
20348 for various numbers of identities, outputting the results to a
20349 file. Requires guile 1.6. Just for testing.
20351 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
20353 * gst/schedulers/fairscheduler.c:
20354 compile with debug disabled
20356 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
20359 hunting season on 0.9 is now OPEN