1 2006-10-11 Wim Taymans <wim@fluendo.com>
3 Patch by: Sjoerd Simons <sjoerd at luon dot net>
5 * plugins/elements/gstqueue.c: (gst_queue_chain):
6 Recheck queue filledness after signalling the overrun when we're about
7 to leak downstream because we released the lock when emitting the signal
8 and the queue could be empty again. Fixes #352345.
10 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
12 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
13 Fix refcounting here too, just like we did for _new_valist() a few
14 days ago (#357180) (thanks to René Stadler). Also remove all those
15 'Since: 0.9' from the gtk-doc blobs.
17 * tests/check/libs/controller.c: (controller_refcount_new_list),
18 (gst_controller_suite):
19 Unit test for the above.
21 2006-10-10 Wim Taymans <wim@fluendo.com>
23 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
25 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
26 (gst_pad_save_thyself):
28 Write pad direction in XML output. Fixes #345496.
30 2006-10-10 Wim Taymans <wim@fluendo.com>
32 Patch by: René Stadler <mail at renestadler dot de>
34 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
35 (gst_controller_new_list), (_gst_controller_dispose),
36 (_gst_controller_finalize), (_gst_controller_class_init):
37 Take ref to controlled object so that it cannot disappear.
40 2006-10-10 Wim Taymans <wim@fluendo.com>
42 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
43 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
44 (gst_check_teardown_sink_pad):
45 Activate/deactivate pads in setup/teardown respectively.
47 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
49 Patch by: Josep Torre Valles <josep@fluendo.com>
52 Cast values when making gstenumtypes.h. This pacifies Forte
53 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
56 2006-10-09 Wim Taymans <wim@fluendo.com>
58 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
59 Rename some more @cur to @start to fix docs.
61 * gst/gstsegment.c: (gst_segment_set_seek):
63 time and start must always stay in sync as defined in design doc.
65 * gst/gsttaglist.c: (gst_tag_list_is_empty):
66 Rename param to fix docs.
68 * tests/check/gst/gstsegment.c: (GST_START_TEST):
69 Check that start and time are in sync.
71 * tests/check/pipelines/parse-launch.c:
72 (gst_parse_test_element_change_state):
73 Activate pad before adding to the element.
75 2006-10-09 Wim Taymans <wim@fluendo.com>
77 * docs/design/part-qos.txt:
82 Update seek event docs regarding negative rates.
83 Rename @cur to @start.
85 * gst/gstsegment.c: (gst_segment_set_seek):
87 Update set_seek docs regarding negative rates.
88 Correctly update last_stop to @stop when dealing with negative
90 Rename @cur to @start.
92 * tests/check/gst/gstpad.c: (GST_START_TEST):
93 Activate pads before trying to use them.
95 * tests/check/gst/gstsegment.c: (GST_START_TEST),
97 Add simple check for segments and negative rates.
99 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
101 * gst/gsttaglist.c: (gst_tag_list_is_empty):
103 * docs/gst/gstreamer-sections.txt:
104 API: add gst_tag_list_is_empty() (#360467).
106 * tests/check/gst/gsttag.c: (GST_START_TEST):
109 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
112 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
113 a value that doesn't fit on enumeration.
115 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
117 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
118 Remove local debugging system and use Gstreamer's instead.
120 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
122 Patch by: Josep Torre Valles <josep@fluendo.com>
124 * common/m4/gst-error.m4:
125 Disable warning of statement not reached on Forte.
127 Fix warning on Forte (value doesn't fit on enumeration).
128 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
129 Fix warning on Forte (value doesn't fit on enumeration).
130 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
131 DEBUG macro says it takes minimum of 2 args and so Forte
132 complains about the use with just 1 arg.
133 * plugins/elements/gstfdsink.c:
134 * plugins/elements/gstfdsrc.c:
135 * plugins/elements/gstfilesink.c:
136 * plugins/elements/gstfilesrc.c:
137 Use correct return type for the uri handler implementations.
139 All these fix warnings in Forte. Fixes bug #360860.
141 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
144 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
145 format string, so don't use G_GNUC_PRINTF for those versions.
147 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
149 * gst/gsttaglist.c: (gst_is_tag_list):
151 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
153 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
154 Small test for the above.
156 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
159 Less tabs, more spaces.
161 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
164 Those two function declarations do actually belong there, revert
165 commit from yesterday that turned them intro macros.
167 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
169 Patch by: Josep Torre Valles <josep@fluendo.com>
171 * gst/gst.c: (gst_init_get_option_group):
172 Fix empty declaration and type mismatch.
173 * gst/gstbin.c: (gst_bin_change_state_func):
175 * gst/gstelement.c: (gst_element_continue_state),
176 (gst_element_set_state_func), (gst_element_change_state),
177 (gst_element_change_state_func):
179 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
180 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
182 * gst/gstobject.c: (gst_class_signal_connect):
183 Cast as appropriate. The function pointer parameter really
184 has the wrong type but would break API if we change it.
186 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
187 order of including string.h.
188 * gst/gstutils.c: (gst_element_state_get_name):
189 Remove unreachable line.
190 * gst/gstxml.c: (gst_xml_parse_doc):
192 All these caught by Forte.
194 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
196 Patch by: Josep Torre Valles <josep@fluendo.com>
198 * common/m4/gst-error.m4:
200 We need to disable warnings on Forte for empty declarations
201 due to gst-indent adding ;s to lines that just use macros
202 where the macro actually doesn't need a ; at end to end
205 2006-10-06 Wim Taymans <wim@fluendo.com>
207 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
208 (gst_file_sink_close_file), (gst_file_sink_event),
209 (gst_file_sink_render):
210 Add some FIXME for the NEWSEGMENT handling.
212 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
214 * gst/parse/grammar.y:
215 Remove static function gst_parse_element_lock as all it does
216 is return. Looks like cruft from 0.8.
218 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
220 Patch by: Josep Torre Valles <josep@fluendo.com>
222 * common/m4/gst-error.m4:
224 * libs/gst/net/Makefile.am:
225 Fix a compilation issue with Forte on Solaris. inet_aton is in
228 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
230 * gst/gstpad.c: (pre_activate):
231 * gst/gstregistry.c: (gst_registry_scan_path_level):
232 * gst/gstregistryxml.c: (load_plugin):
233 * libs/gst/controller/gstcontroller.c:
234 (gst_controlled_property_set_interpolation_mode):
235 * libs/gst/dataprotocol/dataprotocol.c:
236 (gst_dp_packet_from_event_1_0):
237 * libs/gst/net/gstnetclientclock.c:
238 (gst_net_client_clock_observe_times):
239 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
242 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
245 * docs/gst/gstreamer-sections.txt:
246 * gst/gstconfig.h.in:
249 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
250 whether we can use G_GNUC_PRINTF in other header files and at
251 least check the printf format/arguments of debug messages and
252 GST_ELEMENT_ERROR messages when the printf extension is not
254 Replace more tabs with spaces in gstinfo.h and remove two spurious
255 function declarations in GST_DISABLE_DEBUG part with macros.
257 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
259 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
260 More docs for the sync-message signal (mention that it is not
261 emitted by default); log message structures of messages posted on
264 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
266 * gst/gst.c: (ensure_current_registry_forking):
267 Use a pipe pair to receive status results from the forked child, and
268 ignore the result from waitpid. Fixes #355499
270 2006-10-02 Wim Taymans <wim@fluendo.com>
272 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
273 (gst_ghost_pad_suite):
276 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
279 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
281 2006-10-02 Edward Hervey <edward@fluendo.com>
283 * docs/design/part-block.txt:
284 Further explain the use of flushing on blocked pads.
285 * docs/gst/gstreamer-sections.txt:
286 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
287 (gst_pad_push_event):
289 Added new GstPadFlag : GST_PAD_BLOCKING.
290 Adds the notion of pads really blocking, which enables to properly
291 handle FLUSH_START/FLUSH_STOP events on blocked pads.
293 API: gst_pad_is_blocking()
294 API: GST_PAD_IS_BLOCKING() macro
295 API: GST_PAD_BLOCKING GstPadFlag
297 2006-10-02 Wim Taymans <wim@fluendo.com>
299 Patch by: mrcgran <mrc.gran at gmail dot com>
301 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
302 Filter the proxied caps against the padtemplate if we have one.
304 * gst/gstquery.c: (gst_query_new_segment):
305 Add include for gstinfo.h so that compilation with
306 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
308 2006-10-02 Wim Taymans <wim@fluendo.com>
310 Patch by: Alessandro Decina <alessandro at nnva org>
312 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
313 (gst_file_sink_set_location), (gst_file_sink_open_file),
314 (gst_file_sink_close_file), (gst_file_sink_event),
315 (gst_file_sink_render):
316 Set file to NULL when closing filesink so that we can set a new filename
317 in READY. Fixes #358613.
319 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
321 Patch by: Alessandro Decina <alessandro at nnva org>
323 * gst/gstevent.c: (_gst_event_copy):
324 Fix gst_mini_object_make_writable() and gst_event_copy() for events
325 with event structures by setting the parent refcount address of the
326 copied structure to the address of the refcount member of the newly
327 copied event rather than the address of the refcount member of the
328 original event. Fixes #358737.
330 * tests/check/gst/gstevent.c: (GST_START_TEST):
331 Unit test for the above.
333 2006-09-29 Stefan Kost <ensonic@users.sf.net>
335 * docs/design/Makefile.am:
336 Dist some more files.
338 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
340 * tests/check/libs/controller.c: (GST_START_TEST),
341 (gst_controller_suite):
342 Add test for the previous fix; add some more tests
343 for correct refcounting behaviour; fix a few leaks
344 in test cases; call gst_controller_init() at start
347 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
349 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
350 (gst_controller_set_from_list):
351 Don't g_return_val_if_fail() on timed values with invalid timestamps
352 inside a critical section without unlocking the mutex. Spotted by
353 René Stadler. (#357617)
354 Also, fix up refcounting properly: when returning an existing
355 controller, we should increase the reference only once and not
356 once per property and when trying to control a property again
357 we should also increase the refcount.
359 2006-09-29 Wim Taymans <wim@fluendo.com>
361 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
362 * libs/gst/net/gstnettimeprovider.c:
363 (gst_net_time_provider_thread):
364 Stop reading commands when EOF as well.
366 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
367 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
368 * plugins/elements/gstidentity.c: (gst_identity_class_init):
369 Unify description of the dump property.
371 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
373 * tests/examples/manual/.cvsignore:
374 OK, so it's actually cvsignore that needs changing. Stop laughing.
376 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
378 * tests/examples/manual/Makefile.am:
379 Gah, declare vars *before* using them
381 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
383 * gst/gst.c: (init_pre), (scan_and_update_registry),
384 (ensure_current_registry_nonforking),
385 (ensure_current_registry_forking), (ensure_current_registry),
386 (init_post), (gst_debug_help), (gst_deinit):
388 * gst/gstregistry.c: (gst_registry_finalize),
389 (gst_registry_remove_features_for_plugin_unlocked),
390 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
391 (gst_registry_scan_path),
392 (_priv_gst_registry_remove_cache_plugins),
393 (_priv_gst_registry_cleanup):
395 Re-commit the registry changes, along with an extra fix:
396 When a cached plugin is encountered at a different file path,
397 update the stored path in the registry cache so that the parent
398 process knows where it actually is now when it re-reads the registry
399 cache. Fixes the thing that broke distcheck with the previous commit.
401 * tests/check/Makefile.am:
402 Clean up files named 'core' too when running make clean.
404 * tests/examples/manual/Makefile.am:
405 Set up a registry path for running these tests, and clean it properly
408 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
411 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
412 want gmodule-no-export-2.0.pc instead so that we don't drag in
413 --export-dynamic on every project that links to GStreamer.
415 Also, make our export regex only match the start of symbols, rather
416 than any symbol that contains '_gst' somewhere.
418 * libs/gst/check/Makefile.am:
419 The libgstcheck we build does however need export-dynamic, as it
420 produces some symbols that don't match our _gst... style regex.
423 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
425 * gst/gst.c: (init_pre), (scan_and_update_registry),
426 (ensure_current_registry_nonforking),
427 (ensure_current_registry_forking), (ensure_current_registry),
428 (init_post), (gst_debug_help), (gst_deinit):
430 * gst/gstregistry.c: (gst_registry_finalize),
431 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
432 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
433 (_gst_registry_cleanup):
435 Revert previous change until I figure out why it breaks distcheck.
437 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
439 * gst/gst.c: (init_pre), (scan_and_update_registry),
440 (ensure_current_registry_nonforking),
441 (ensure_current_registry_forking), (ensure_current_registry),
442 (init_post), (gst_debug_help), (gst_deinit):
444 Make init_pre and init_post take the full complement of GOptionFunc
445 args so they can return useful GErrors. Make the registry updating
448 Call _priv_gst_registry_remove_cache_plugins after scanning files to
449 ensure that the registry we're about to write out doesn't contain
450 stale information about old-deleted plugin files.
452 Make _priv_gst_registry_remove_cache_plugins return a boolean so
453 that deletion of plugin files is considered a registry change.
456 * gst/gstregistry.c: (gst_registry_finalize),
457 (gst_registry_remove_features_for_plugin_unlocked),
458 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
459 (gst_registry_scan_path),
460 (_priv_gst_registry_remove_cache_plugins),
461 (_priv_gst_registry_cleanup):
463 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
464 by adding _priv prefix, so that they won't appear in the global
465 symbol table. They still do atm though because of #318031. Move the
466 prototypes to gst_private.h
468 When removing a plugin, remove all features for that plugin too.
471 2006-09-27 Wim Taymans <wim@fluendo.com>
473 * docs/random/moving-plugins:
474 Make it clear that the "compiled-in descriptions" really mean
477 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
478 (gst_base_sink_wait_preroll):
481 * docs/libs/gstreamer-libs-sections.txt:
482 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
483 (gst_base_src_get_range), (gst_base_src_activate_push):
484 * libs/gst/base/gstbasesrc.h:
485 Added function to block while waiting for PLAYING, this function
486 is used by live sources that block on the clock.
487 API: gst_base_src_wait_playing()
489 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
491 Patch by: Peter Kjellerstedt <pkj at axis com>
494 gst-element-check.m4 is generated and should therefore be
495 copied from the build dir rather than the source dir (#357593).
496 'make distcheck' hasn't noticed this because we were disting
497 the file as well, so stop doing that.
499 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
501 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
502 Add some tests for gst_caps_intersect().
504 * tools/gst-launch.c: (event_loop):
505 Print all buffering percentages we get, even the 100% one.
507 2006-09-26 Wim Taymans <wim@fluendo.com>
509 * tools/gst-inspect.c: (print_element_properties_info),
511 Fix printing of flags to match the look of enums.
513 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
515 * gst/gstelementfactory.c:
516 Fix typo in docs blurb.
518 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
520 * gst/gsturi.c: (search_by_entry):
521 Don't assert/crash here if a uri handler doesn't return any
522 supported protocols. The list of protocols could be generated
523 dynamically at runtime or at plugin registration, and an error
524 in the underlying library shouldn't be fatal (#353301).
526 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
529 Fix warning if HAVE_PRINTF_EXTENSION is undefined
530 (spotted by Peter Kjellerstedt).
532 2006-09-23 Wim Taymans <wim@fluendo.com>
534 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
536 * libs/gst/base/gstbasesrc.c:
537 (gst_base_src_default_check_get_range), (gst_base_src_start),
538 (gst_base_src_activate_push), (gst_base_src_activate_pull),
539 (gst_base_src_change_state):
540 Match _start/_stop calls in the activate functions. Remove redundant
541 _stop call from the state change function. Fixes #356910.
542 Turn failure DEBUG into ERROR.
544 2006-09-22 Wim Taymans <wim@fluendo.com>
546 * docs/design/part-buffering.txt:
547 * gst/gstmessage.c: (gst_message_new_buffering),
548 (gst_message_parse_buffering):
549 Update docs about buffering.
551 * docs/design/part-trickmodes.txt:
554 2006-09-22 Stefan Kost <ensonic@users.sf.net>
556 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
557 (gst_controller_new_list):
558 Ref instances when returning them again (fixes #357180)
560 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
562 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
563 Don't forget to release proxy lock when there's an error.
565 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
568 Add extra initialisers for Caps things, to fix some plugin warnings
571 2006-09-18 Wim Taymans <wim@fluendo.com>
573 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
574 Also set template on the internal pad so that a getcaps from the
575 target pad returns the template caps.
577 2006-09-18 Wim Taymans <wim@fluendo.com>
579 * gst/gstelement.c: (gst_element_post_message),
580 (gst_element_dispose):
581 Use _DEBUG_OBJECT some more.
583 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
586 * tools/gst-launch.c: (main):
587 If the toplevel element is not a GstPipeline, it must be put in a
588 pipeline so that a bus and clock is selected.
590 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
592 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
593 JITTER, RATE, and LATENCY query should be handled by the
594 default case and not by the CONVERT query code.
596 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
598 * gst/gstformat.c: (gst_format_register):
599 Fix locking order (must take lock before using n_values).
601 * gst/gstvalue.c: (gst_value_serialize_enum),
602 (gst_value_deserialize_enum_iter_cmp),
603 (gst_value_deserialize_enum):
604 Fix serialisation/deserialisation of custom registered GstFormats.
606 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
607 Unit test for custom format serialisation/deserialisation.
609 2006-09-17 Stefan Kost <ensonic@users.sf.net>
611 * docs/pwg/building-boiler.xml:
612 * plugins/elements/gstcapsfilter.c:
613 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
616 2006-09-16 Edward Hervey <edward@fluendo.com>
618 * libs/gst/base/gstbasetransform.c:
619 (gst_base_transform_buffer_alloc):
620 Check if requested caps are the same as the sinks caps IF
621 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
623 This fixes the renegotiation issues stated in #352827.
625 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
628 * docs/manual/advanced-autoplugging.xml:
629 * tests/examples/Makefile.am:
630 * tests/examples/manual/.cvsignore:
631 * tests/examples/manual/Makefile.am:
632 * tests/examples/manual/extract.pl:
633 Extract the manual examples again like we used to do.
636 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
638 * win32/common/config.h:
641 2006-09-16 Stefan Kost <ensonic@users.sf.net>
644 Documents how to receive errors.
646 2006-09-15 Wim Taymans <wim@fluendo.com>
648 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
649 (event_loop), (main):
650 Added some comments here and there.
651 Post an application message when an interrupt is caught instead of doing
652 an uncontrolled state change.
653 Clean up the event loop.
654 Handle buffering messages, pause/resume the pipeline.
655 Make shutdown because of an interrupt more reliable.
657 2006-09-15 Wim Taymans <wim@fluendo.com>
659 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
660 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
661 (gst_base_sink_preroll_object):
662 Make sure that our internal state is correct when we commit our state
663 asynchronously. This solves a race where a state change to PLAYING
664 could cause the sink to remain blocked in preroll in some situations.
666 2006-09-15 Wim Taymans <wim@fluendo.com>
668 * tools/gst-inspect.c: (print_element_properties_info),
670 List flags as hex so it's easier to deal with.
672 2006-09-15 Wim Taymans <wim@fluendo.com>
674 * docs/libs/gstreamer-libs-sections.txt:
675 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
676 (gst_base_sink_do_sync):
677 * libs/gst/base/gstbasesink.h:
678 Expose logic to wait for preroll so that subclasses such as audiosink
679 can also use this method.
680 API: gst_base_sink_wait_preroll()
682 2006-09-15 Wim Taymans <wim@fluendo.com>
684 * gst/gstobject.c: (gst_object_set_parent):
685 * gst/gstpipeline.c: (do_pipeline_seek):
686 Small cleanups in docs and code.
688 * gst/gstsegment.c: (gst_segment_clip):
689 * tests/check/gst/gstsegment.c: (GST_START_TEST):
690 if stop == start and start is in the segment, no clipping should be
691 done. Also add a test for this.
693 2006-09-15 Wim Taymans <wim@fluendo.com>
695 * docs/design/part-buffering.txt:
696 * docs/gst/gstreamer-sections.txt:
697 * gst/gstmessage.c: (gst_message_new_buffering),
698 (gst_message_parse_buffering):
700 Added methods to create and parse BUFFERING messages.
701 Added preliminary docs about buffering.
702 API: gst_message_new_buffering
703 API: gst_message_parse_buffering
705 2006-09-06 Wim Taymans <wim@fluendo.com>
708 Update documentation.
710 * gst/gstelement.c: (gst_element_class_init),
711 (gst_element_release_request_pad), (gst_element_set_clock),
712 (gst_element_get_index), (gst_element_add_pad),
713 (gst_element_remove_pad), (gst_element_get_random_pad),
714 (gst_element_send_event), (gst_element_get_query_types),
715 (gst_element_query), (gst_element_post_message),
716 (gst_element_message_full), (gst_element_continue_state),
717 (gst_element_lost_state), (gst_element_save_thyself),
718 (gst_element_restore_thyself):
719 Documentation updates.
720 Rename last bit of the new-pad -> pad-added signal rename.
721 Fix the case where an element query would only work if the source
723 Avoid some useless type checking in message handling.
728 Documentation updates.
730 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
732 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
733 add an INFO line for when we actually update the fd
735 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
740 === release 0.10.10 ===
742 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
745 releasing 0.10.10, "Pais"
747 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
749 * docs/manual/advanced-position.xml:
750 Fix typo in sample code.
752 2006-09-05 Wim Taymans <wim@fluendo.com>
754 * libs/gst/net/gstnetclientclock.c: (inet_aton),
755 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
756 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
757 * libs/gst/net/gstnetclientclock.h:
758 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
759 * libs/gst/net/gstnettimepacket.h:
760 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
761 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
762 (gst_net_time_provider_thread), (gst_net_time_provider_new):
763 * libs/gst/net/gstnettimeprovider.h:
764 Make stuff compile on windows. Fixes #345295.
766 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
768 * gst/gst.c: (ensure_current_registry_forking):
769 Print better details when child was terminated by signal.
771 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
773 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
774 Print a warning rather than g_assert() if a plugin feature
775 is a URI handler but returns no protocols (#353976).
777 2006-09-02 Stefan Kost <ensonic@users.sf.net>
779 * docs/random/moving-plugins:
782 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
784 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
785 Fix locking order, handle NULL function values properly.
790 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
791 Initialise variable before using it and fix debug statement to
792 print the address of the function rather than the address of the
793 variable on the stack holding the address of the function.
795 2006-09-01 Wim Taymans <wim@fluendo.com>
797 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
798 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
799 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
800 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
801 (gst_ghost_pad_parent_unset),
802 (gst_ghost_pad_internal_do_activate_push),
803 (gst_ghost_pad_internal_do_activate_pull),
804 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
805 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
806 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
807 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
808 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
809 (gst_ghost_pad_new_no_target_from_template),
810 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
812 Avoid needless typechecking in macros.
813 Since the internal pad is always present and never changes, there is
814 no need to locking or ref when retrieving it.
815 Improve debugging a bit.
816 Handle link errors when setting the target. Fixes #341029.
818 2006-09-01 Wim Taymans <wim@fluendo.com>
820 * docs/libs/gstreamer-libs-sections.txt:
821 * docs/plugins/gstreamer-plugins-sections.txt:
824 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
825 (gst_collect_pads_event):
826 * libs/gst/base/gstcollectpads.h:
827 Documentation updates.
828 Free queued buffer when removing a pad.
830 2006-08-31 Michael Smith <msmith@fluendo.com>
832 * gst/gstutils.c: (gst_element_link_pads),
833 (gst_element_link_pads_filtered):
834 Ensure that we set a capsfilter to NULL if we failed to link it
835 when doing filtered linking, to avoid criticals.
837 No need to check for unreffing srcpad, which is explicly NULLed
838 above (a trivial code cleanup).
840 2006-08-31 Wim Taymans <wim@fluendo.com>
842 * docs/design/part-gstghostpad.txt:
843 Update ascii art in documentation.
845 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
846 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
847 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
848 (gst_ghost_pad_internal_do_activate_push),
849 (gst_ghost_pad_internal_do_activate_pull),
850 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
851 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
852 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
853 (gst_ghost_pad_set_target):
854 Small cleanups and leak fixes.
855 Remove some checks now that the internal pad is never NULL.
856 Fix the case where linking pads without a target would create nasty
857 criticals. Fixes #341029.
858 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
859 value of _set_target().
861 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
862 (gst_ghost_pad_suite):
863 Some more tests for creating and linking untargeted ghostpads.
865 2006-08-31 Edward Hervey <edward@fluendo.com>
867 * docs/gst/gstreamer-sections.txt:
868 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
869 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
870 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
871 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
872 (gst_ghost_pad_new_from_template),
873 (gst_ghost_pad_new_no_target_from_template):
875 Refactored *_new() functions.
876 Templates are now used as a g_object_new() parameter.
877 Use template in _do_getcaps() if we don't have a target.
878 Small documentation cleanups.
879 Added two new constructors:
880 gst_ghost_pad_new_from_template()
881 gst_ghost_pad_new_no_target_from_template()
882 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
883 (gst_ghost_pad_suite):
884 Added tests for new ghostpad instanciation functions.
886 API additions: gst_ghost_pad_new_from_template,
887 gst_ghost_pad_new_no_target_from_template
889 2006-08-30 Stefan Kost <ensonic@users.sf.net>
891 * docs/random/ensonic/profiling.txt:
892 Ideas about qos profiling.
894 2006-08-29 Wim Taymans <wim@fluendo.com>
896 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
900 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
903 Improve and detypofy docs.
905 * tests/check/Makefile.am:
906 * tests/check/gst/.cvsignore:
907 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
908 Add a basic test suite for GstXML.
910 2006-08-29 Wim Taymans <wim@fluendo.com>
912 * gst/gstelement.c: (activate_pads), (clear_caps),
913 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
914 Clear the pad caps when the element shut down all of the pads and
915 is not streaming data that could modify the caps.
918 2006-08-28 Michael Smith <msmith@fluendo.com>
920 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
921 Revert previous change; I misunderstood single-segment mode.
923 2006-08-28 Michael Smith <msmith@fluendo.com>
925 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
926 Unset DISCONT on buffers when using single-segment mode.
928 2006-08-28 Wim Taymans <wim@fluendo.com>
930 * gst/gstcaps.c: (gst_caps_merge_structure):
932 Fix docs and indentation again.
934 * tests/check/gst/gstquery.c: (GST_START_TEST):
935 Fix leak in tests and add some more tests.
937 2006-08-28 Edward Hervey <edward@fluendo.com>
939 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
940 Inform GstSegment of the last stop position in order for the current
941 segment to have a proper duration if it doesn't have a specific stop
942 position from which a duration could be calculated.
943 This bug was noticeable when a non-flushing, non-update new segment was
944 followed by another segment (all buffers from the new segment were being
947 2006-08-28 Wim Taymans <wim@fluendo.com>
949 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
950 Small comment update.
952 * plugins/elements/gstidentity.c: (gst_identity_class_init),
953 (gst_identity_transform_ip):
954 Drop-probability is broken, mention this in the code with a
955 FIXME and also in the property description.
956 Make silent also be silent about the drop messages.
958 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
960 * docs/manual/appendix-win32.xml:
961 Remove mention of popt, we don't depend on that any
962 longer (#353136). Add some comments pointing out that
963 this section is slightly outdated.
965 2006-08-28 Wim Taymans <wim@fluendo.com>
967 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
969 * gst/gstquery.c: (gst_query_new_segment):
970 * tests/check/gst/gstquery.c: (GST_START_TEST):
971 Initialize variables when creating a new segment query.
974 2006-08-28 Wim Taymans <wim@fluendo.com>
976 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
978 * gst/gstelement.c: (gst_element_get_bus):
979 * tests/check/gst/gstelement.c: (GST_START_TEST):
980 Check for NULL before _reffing the bus. Fixes #353122.
982 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
984 * docs/manual/basics-bus.xml:
985 Docs update: fix wrong callback return value explanation; add
986 some lines about the implicit relationship between main loop
987 and main context; remove duplicate main loop variable declaration.
989 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
991 * tests/check/gst/gstcaps.c: (GST_START_TEST):
992 Don't leak caps in unit test; add a few more simple
995 2006-08-24 Stefan Kost <ensonic@users.sf.net>
997 * docs/gst/gstreamer-sections.txt:
998 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
999 (gst_caps_structure_is_subset), (gst_caps_merge),
1000 (gst_caps_merge_structure):
1002 * libs/gst/base/gstbasetransform.c:
1003 (gst_base_transform_transform_caps):
1004 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
1005 implement caps merging (fixes #352580)
1007 2006-08-23 Stefan Kost <ensonic@users.sf.net>
1009 * tools/Makefile.am:
1010 * tools/gst-plot-timeline.py:
1011 add debug-log plotting developer tool (#340674)
1013 2006-08-23 Wim Taymans <wim@fluendo.com>
1015 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
1016 (gst_pad_stop_task):
1017 Improve debugging for task functions.
1019 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
1020 (gst_task_start), (gst_task_pause), (gst_task_join):
1021 Make sure that the task function started and finished after a
1023 Don't try to push the task function on the threadpool multiple
1025 Improve the g_warning message with some useful suggestions
1026 about how to fix the problem.
1028 2006-08-23 Wim Taymans <wim@fluendo.com>
1030 * gst/gstutils.c: (gst_pad_proxy_getcaps):
1031 Handle RESYNC correctly in _proxy_getcaps.
1033 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
1035 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
1036 (gst_xml_parse_memory), (gst_xml_get_element):
1037 Chain up to parent class in dispose function and also
1038 unref the elements in the toplevel_elements GList.
1039 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
1040 Always return a reference in gst_xml_get_element() rather
1041 than only sometimes.
1043 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
1044 Don't leak GstXml object.
1046 2006-08-21 Stefan Kost <ensonic@users.sf.net>
1048 * docs/gst/gstreamer-sections.txt:
1049 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
1052 * libs/gst/base/gstbasetransform.c:
1053 (gst_base_transform_transform_caps):
1054 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
1057 2006-08-21 Edward Hervey <edward@fluendo.com>
1059 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
1060 Implement GObject::dispose virtual method in GstXML so we can free the
1063 2006-08-21 Wim Taymans <wim@fluendo.com>
1065 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
1066 (gst_buffer_create_sub):
1067 Copy duration/offset_end/caps when creating a subbuffer of the
1069 Make the subbuffer read-only when we make the metadata writable for
1072 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1073 Added check for metadata copy when creating subbuffers.
1075 2006-08-21 Edward Hervey <edward@fluendo.com>
1077 * libs/gst/base/gstbasetransform.c:
1078 (gst_base_transform_buffer_alloc):
1079 Only call downstream buffer_alloc if transform element is passthrough
1080 or always_in_place. Closes #350449.
1082 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1085 ChangeLog surgery to add comments to previous changes
1087 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1092 * gst/gstpad.c: (gst_pad_set_active):
1093 Be more verbose in the log
1095 * libs/gst/base/gstbasetransform.c:
1096 (gst_base_transform_transform_caps):
1097 Simplify caps to get rid of duplicates, fixes #345444
1099 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1103 Use these optimizations only internally.
1105 2006-08-20 Stefan Kost <ensonic@users.sf.net>
1107 * gst/gstvalue.c: (gst_value_compare_list),
1108 (gst_value_compare_fraction_range),
1109 (gst_value_intersect_fraction_fraction_range),
1110 (gst_value_intersect_fraction_range_fraction_range),
1111 (gst_value_subtract_fraction_fraction_range),
1112 (gst_value_subtract_fraction_range_fraction_range),
1113 (gst_value_get_compare_func), (gst_value_compare),
1114 (gst_value_compare_with_func):
1116 Saves the expensive lookup of the compare function in many cases
1119 2006-08-18 Edward Hervey <edward@fluendo.com>
1121 * tests/check/gst/gstinfo.c: (gst_info_suite):
1122 Disable test that require gstdebug if it wasn't built in core.
1124 2006-08-18 Stefan Kost <ensonic@users.sf.net>
1126 * docs/random/ensonic/logging.txt:
1129 * gst/gstinfo.c: (gst_debug_log_default):
1130 reorder fields, save some columns, add optional color codes for log
1133 2006-08-18 Stefan Kost <ensonic@users.sf.net>
1135 * docs/random/ensonic/logging.txt:
1136 add ideas about making the logs a bit more useful
1138 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
1140 * docs/pwg/advanced-events.xml:
1141 * docs/pwg/titlepage.xml:
1142 Update for 0.10 API (#340627). Add myself
1145 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
1147 * docs/libs/gstreamer-libs-docs.sgml:
1148 * docs/libs/gstreamer-libs-sections.txt:
1149 * libs/gst/check/gstbufferstraw.c:
1150 Make gstcheck stuff show up in docs (still needs to
1151 be documented properly though).
1153 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
1155 * docs/gst/gstreamer-sections.txt:
1157 * gst/gst.c: (init_post):
1158 * gst/gst_private.h:
1159 * gst/gstquark.c: (_priv_gst_quarks_initialize):
1161 * gst/gstquery.c: (gst_query_new_position),
1162 (gst_query_set_position), (gst_query_parse_position),
1163 (gst_query_new_duration), (gst_query_set_duration),
1164 (gst_query_parse_duration), (gst_query_new_convert),
1165 (gst_query_set_convert), (gst_query_parse_convert),
1166 (gst_query_new_segment), (gst_query_set_segment),
1167 (gst_query_parse_segment), (gst_query_new_seeking),
1168 (gst_query_set_seeking), (gst_query_parse_seeking):
1169 Add internal helpers for pre-registering quarks from static strings
1170 and using the quark values directly instead of looking them up when
1171 creating and parsing queries. Can be used for event construction too.
1174 2006-08-16 Wim Taymans <wim@fluendo.com>
1179 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1181 * gst/gstutils.c: (gst_util_set_value_from_string):
1182 Fix memleak (#351502).
1184 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1185 Add unit test for most of gst_util_set_value_from_string()
1186 (not that one would want to encourage use of this function).
1188 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1190 * libs/gst/check/gstcheck.h:
1191 Use const gchar * variables in fail_unless_equals_string
1192 macro to avoid compiler warnings (and don't use tabs for
1195 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1197 * tools/gst-launch.c: (print_tag):
1198 More space on the left for the tag names, to cater
1199 for the 'extended comment' tag (not touching the
1200 string for the first line since it's translated).
1202 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
1204 * libs/gst/check/gstcheck.h:
1205 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
1206 print something when they fail.
1208 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
1210 * docs/gst/gstreamer-sections.txt:
1211 * gst/gsttaglist.c: (_gst_tag_initialize):
1213 API: add GST_TAG_EXTENDED_COMMENT (#350935).
1214 Also change merge function for GST_TAG_COMMENT to
1217 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
1219 * gst/gstinfo.c: (gst_debug_print_object):
1220 Make GST_PTR_FORMAT print messages as well.
1222 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
1223 (GST_START_TEST), (gst_info_suite):
1226 2006-08-14 Edward Hervey <edward@fluendo.com>
1228 * gst/gstelementfactory.c: (gst_element_register):
1229 If the GstElementClass doesn't have a GstElementDetails with all fields
1230 filled up correctly (longname, description AND author), then error out
1231 nicely instead of crashing.
1233 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
1235 * gst/gststructure.c:
1236 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
1239 Expand on the difference between arrays and lists as we use them.
1241 2006-08-14 Wim Taymans <wim@fluendo.com>
1243 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1244 If the parent state change function failed, don't assume we can safely
1245 stop the source, this will be done when the pads are deactivated.
1247 2006-08-14 Wim Taymans <wim@fluendo.com>
1250 * gst/gsttask.c: (gst_task_join):
1253 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
1254 (gst_pad_stop_task):
1255 When pad (de)activation failed for some reason, restore the old
1256 activation mode and set the pad to flushing instead of assuming the
1258 If the _task_join() failed, reinstall the task on the pad so that it can
1259 be stopped later and return an error.
1261 2006-08-11 Andy Wingo <wingo@pobox.com>
1264 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1265 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
1266 is only for users of API that don't want to see deprecated
1267 functions in the headers; people that want to compile out
1268 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
1269 CFLAGS. Fixes the build of multifdsink, or will soon..
1271 2006-08-11 Wim Taymans <wim@fluendo.com>
1273 * docs/gst/gstreamer-sections.txt:
1274 Add GstClockClass vmethod docs.
1277 Mark #endif with comment for associated #if
1279 * gst/gstclock.c: (gst_clock_id_wait):
1281 Add vmethod wait_jitter to avoid an unneeded _get_time() for
1282 most clock implementations.
1284 Flesh out docs about resolution methods.
1285 API: GstClockClass::wait_jitter
1287 * gst/gstsystemclock.c: (gst_system_clock_class_init),
1288 (gst_system_clock_async_thread),
1289 (gst_system_clock_id_wait_jitter_unlocked),
1290 (gst_system_clock_id_wait_jitter):
1291 Use base class wait_jitter variant for improved performance
1292 due to less clock polling.
1294 2006-08-11 Edward Hervey <edward@fluendo.com>
1296 * gst/gst.c: (gst_init_check), (init_post):
1297 Set gst as being initialized before scanning/updating the registry,
1298 since there might be my python plugin loader that calls gst_init() and
1299 we don't want to loop back in.
1302 2006-08-11 Wim Taymans <wim@fluendo.com>
1304 * docs/design/part-qos.txt:
1305 Bring docs in line with the code. Mostly the sign of the jitter was
1306 wrong in the docs. Fixes #349943.
1309 Fix the docs for the jitter.
1311 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
1312 (gst_event_parse_tag), (gst_event_new_buffer_size),
1313 (gst_event_parse_buffer_size), (gst_event_parse_qos),
1314 (gst_event_new_seek), (gst_event_parse_seek),
1315 (gst_event_new_navigation):
1316 Make sure the GstStructure has no parent when creating custom
1318 Add some more argument checking so that we avoid 0.0 rates.
1319 Flesh out the docs for the QoS event some more.
1321 2006-08-11 Wim Taymans <wim@fluendo.com>
1323 * docs/gst/gstreamer-sections.txt:
1324 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
1325 (ensure_current_registry_forking), (ensure_current_registry),
1326 (parse_one_option), (parse_goption_arg), (gst_deinit),
1327 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
1330 Added API and command line option to disable registry forking in
1331 addition to the environment variable.
1332 Constify some static arrays.
1333 Added some more debug.
1335 API: gst_registry_fork_is_enabled()
1336 API: gst_registry_fork_set_enabled()
1337 API: --gst-disable-registry-fork command line option
1340 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
1342 * gst/gst.c: (gst_init):
1343 Fix typo in error message.
1345 2006-08-10 Stefan Kost <ensonic@users.sf.net>
1347 * libs/gst/controller/gstcontroller.h:
1348 fix ABI size-correction
1350 * tests/check/libs/gdp.c: (gst_dp_suite):
1351 make tests that use deprecated API conditional
1353 2006-08-10 Stefan Kost <ensonic@users.sf.net>
1355 * docs/libs/gstreamer-libs-sections.txt:
1356 * libs/gst/controller/gstcontroller.c:
1357 (_gst_controller_get_property), (_gst_controller_set_property),
1358 (_gst_controller_init), (_gst_controller_class_init):
1359 * libs/gst/controller/gstcontroller.h:
1360 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
1361 (gst_object_set_control_rate):
1362 API: add gst_object_{s,g}et_control_rate(), add private data section,
1365 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
1366 * libs/gst/dataprotocol/dataprotocol.h:
1367 add deprecation guards to make gtk-doc happy and allow disabling cruft
1369 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
1371 * tests/check/Makefile.am:
1372 * tests/check/gst/.cvsignore:
1373 Let's enable the new unit test as well.
1375 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
1378 * docs/gst/gstreamer-sections.txt:
1379 * gst/gstconfig.h.in:
1380 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
1381 (_gst_info_printf_extension_ptr),
1382 (_gst_info_printf_extension_segment):
1383 API: add GST_SEGMENT_FORMAT, which is a printf extension we
1384 register that lets us easily dump GstSegments into debug
1387 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
1388 (info_segment_format_printf_extension), (gst_info_suite):
1389 Add simple unit test that logs a bunch of different segments (not
1390 valgrinded at the moment because of leaks in
1391 gst_debug_add_log_function).
1393 2006-08-09 Edward Hervey <edward@fluendo.com>
1395 * libs/gst/base/gstbasetransform.c:
1396 (gst_base_transform_buffer_alloc):
1397 Even if we can't figure out the proper format to request downstream,
1398 call buffer_alloc() downstream with the input parameters without setting
1399 the caps on the srcpad. This will force negotiation in the chain
1403 2006-08-08 Edward Hervey <edward@fluendo.com>
1405 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
1406 Unlinking from a pad without a target is now a perfectly valid case
1407 which should NOT raise an assertion.
1408 This case would happen if a linked ghostpad its target set to NULL after
1409 it was previously linked.
1411 2006-08-08 Edward Hervey <edward@fluendo.com>
1413 * tests/check/libs/gdp.c:
1414 Also comment out the test (see below).
1416 2006-08-08 Edward Hervey <edward@fluendo.com>
1418 * tests/check/libs/gdp.c: (gst_dp_suite):
1419 Use the architecture information from config.h and not gcc macros
1420 in order to properly disable a test that fails on PPC64.
1422 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
1424 * gst/gstelement.c: (gst_element_remove_pad):
1425 Don't crash printing the warning if the pad has no parent.
1427 2006-08-02 Wim Taymans <wim@fluendo.com>
1429 * libs/gst/dataprotocol/dataprotocol.c:
1430 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
1431 (gst_dp_crc), (gst_dp_header_payload_length),
1432 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
1433 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
1434 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
1435 (gst_dp_event_from_packet), (gst_dp_validate_header),
1436 (gst_dp_validate_payload):
1437 Make debug category static
1438 Constify the crc table.
1439 Do some more arg checking in public functions.
1440 Fix some docs and do some small cleanups.
1442 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
1443 Add some more checks to see if GDP deals with bogus input.
1445 2006-07-31 Wim Taymans <wim@fluendo.com>
1447 * gst/gstvalue.c: (gst_value_compare_list):
1448 Fix GstValueList comparison code. Fixes #347293.
1450 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1451 Check to test GstValueList comparison.
1453 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1455 * gst/gstelementfactory.c: (gst_element_factory_create):
1456 Remove unnecessary ref/unref pair
1458 * gst/parse/grammar.y:
1459 Make sure to free the parse buffer on all code paths.
1460 Move a g_free up to the error handler where it's easier to see.
1462 * tests/check/gst/gstevent.c: (test_event):
1463 Extending timeout for downstream travelling events to 10 seconds to
1464 hopefully avoid intermittent failure on the buildbots.
1466 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
1467 Don't manually set the state of the src element - it will happen as a
1468 natural consequence of the pipeline changing state, and that way it
1469 will do it in the right order too.
1471 2006-07-31 Wim Taymans <wim@fluendo.com>
1473 * libs/gst/base/gstbasetransform.c:
1474 (gst_base_transform_buffer_alloc):
1475 Use OBJECT_LOCK and refcounting to get the pad caps in the
1476 buffer_alloc function because the caps could change while we are
1477 busy with them. Fixes #349105
1479 2006-07-31 Wim Taymans <wim@fluendo.com>
1481 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
1482 Protect _PAD_CAPS with OBJECT_LOCK.
1484 2006-07-31 Wim Taymans <wim@fluendo.com>
1486 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
1487 (gst_pad_get_property), (gst_pad_activate_pull),
1488 (gst_pad_activate_push), (gst_pad_set_blocked_async),
1489 (gst_pad_set_activate_function),
1490 (gst_pad_set_activatepull_function),
1491 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
1492 (gst_pad_set_getrange_function),
1493 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
1494 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
1495 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
1496 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
1497 (gst_pad_set_acceptcaps_function),
1498 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
1499 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
1500 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
1501 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
1502 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
1503 (gst_pad_configure_sink), (gst_pad_configure_src),
1504 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
1505 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
1506 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
1507 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
1508 (gst_pad_send_event):
1509 Use _DEBUG_OBJECT when it makes sense.
1510 Protect GST_PAD_CAPS with the OBJECT_LOCK.
1511 Small cleanups and code reflows.
1512 Avoid caps refcounting in _accept_caps.
1513 Refactor alloc_buffer so that the code performed on the peer is in a
1514 separate function. Also if the pad does not implement a buffer alloc
1515 function, we should still check if the pad is flushing before falling
1516 back to the default allocator.
1518 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1520 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1521 Make all uses of identity and fakesink have silent=true to avoid
1522 serialising every passing data structure, which is breaking tests
1523 on FC4 for some unknown reason.
1525 2006-07-30 Stefan Kost <ensonic@users.sf.net>
1527 * gst/parse/Makefile.am:
1528 * gst/parse/grammar.y:
1529 * gst/parse/parse.l:
1530 Reverted previous patch as it required to bump the flex dependency to
1531 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
1533 2006-07-30 Stefan Kost <ensonic@users.sf.net>
1535 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
1537 * gst/parse/Makefile.am:
1538 * gst/parse/grammar.y:
1539 * gst/parse/parse.l:
1540 push & pop the state of the lexer for reentrant use case
1543 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
1545 * libs/gst/base/gstbasesrc.h:
1546 Note in the docs that the ::newsegment vfunc is not actually used by
1549 2006-07-28 Wim Taymans <wim@fluendo.com>
1551 * libs/gst/base/gstcollectpads.c:
1552 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
1553 (gst_collect_pads_clear), (gst_collect_pads_flush),
1554 (gst_collect_pads_event), (gst_collect_pads_chain):
1555 When flushing a pad, also clear the queued buffer so that we don't
1556 accidentally use it when we shouldn't.
1557 Fix leaks by inreffing incomming buffer.
1558 Flush out queued buffers in case of errors.
1561 2006-07-28 Wim Taymans <wim@fluendo.com>
1563 * docs/random/phonon-gst:
1564 Random notes about a Phonon backend.
1566 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1568 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
1570 * tests/check/libs/gdp.c: (gst_dp_suite):
1571 Take a whack at fixing the ppc compile using a different define to
1572 disable the broken test.
1574 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
1575 Remove excess g_print()
1577 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1579 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1580 Oops, meant to uncomment this line too to dampen the noise a bit.
1582 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1584 * gst/parse/grammar.y:
1585 * gst/parse/parse.l:
1586 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1587 (GST_START_TEST), (parse_suite):
1588 Fix some of the leaks exposed by extending the parse-launch testsuite,
1589 and move the 3 I can't figure out into a separate test that won't run
1590 the pipelines unless the appropriate line is uncommented.
1592 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
1594 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1595 Requesting 0 bytes before the end of the file should result in
1596 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
1599 2006-07-27 Wim Taymans <wim@fluendo.com>
1601 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
1602 Fix useless assert, a uint is always positive.
1604 * gst/gststructure.c: (gst_structure_nth_field_name),
1605 (gst_structure_foreach), (gst_structure_map_in_place):
1606 Check input arguments for public functions to avoid obvious crashes.
1608 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
1609 * plugins/elements/gstfakesink.h:
1610 Do less useless typechecking.
1612 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
1614 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1615 Do not use mmap() by default since there are a number of error
1616 conditions that we would like to handle in a non-fatal way that
1617 will result in a SIGBUS if we use mmap(). Examples: external
1618 devices (USB harddrive, portable music player) being unplugged
1619 while in use; file on mounted CD/DVD that can't be read because
1620 the medium is partly damaged. Fixes #348455 and #348475.
1622 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
1625 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
1628 2006-07-26 Stefan Kost <ensonic@users.sf.net>
1630 * gst/gstregistry.c:
1631 Move big documentation comment into class section header, so that it
1632 appears in the API docs.
1634 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1636 * docs/gst/gstreamer-sections.txt:
1637 Oops. Commit the docs additions too for new API.
1638 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
1640 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1642 * gst/gststructure.c: (gst_structure_id_set),
1643 (gst_structure_id_set_valist):
1644 * gst/gststructure.h:
1645 Add API for setting values into structures without performing
1646 a quark lookup, if the appropriate quark is already known.
1648 API: gst_structure_id_set
1649 API: gst_structure_id_set_valist
1651 * gst/parse/grammar.y:
1652 * gst/parse/parse.l:
1653 Remove some dead code shown by the coverage information.
1654 Don't throw a critical g_warning when encountering a syntax error,
1655 just warn and let the normal error path handle it.
1657 * plugins/elements/gstelements.c:
1658 Bump the rank of filesink up to PRIMARY so that it is preferred over
1659 gnomevfssink for file:// sink uri's
1661 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
1662 (GST_START_TEST), (run_delayed_test),
1663 (gst_parse_test_element_base_init),
1664 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
1665 (gst_parse_test_element_change_state),
1666 (gst_register_parse_element), (parse_suite):
1667 Beef up the tests for parse syntax to check that more error cases
1668 fail as they are supposed to. Increases the test coverage a bit.
1670 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
1672 * docs/manual/basics-elements.xml:
1673 Fix gst_element_link() example.
1676 Mention in API docs that one should usually gst_bin_add()
1677 elements to a bin or pipeline before doing the linking.
1679 2006-07-26 Wim Taymans <wim@fluendo.com>
1681 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
1682 (gst_subbuffer_get_type), (gst_buffer_create_sub):
1683 Avoid function call for known types by keeping the buffer and
1684 subbuffer GType global.
1686 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
1687 Random silly optimisations in read() path.
1689 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1691 * tools/gst-launch.c: (main):
1692 If the top-level of the parse is a normal bin, it doesn't do the
1693 right logic to run as a top-level element, so place it inside a
1696 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
1698 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
1699 Remove superfluous g_object_notify() calls, GObject does
1700 that for us automatically.
1702 2006-07-25 Stefan Kost <ensonic@users.sf.net>
1705 on Win32, use dllspec to export the debug category symbols
1707 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
1709 * gst/gsttaglist.c: (_gst_tag_initialize):
1710 Allow more than one GST_TAG_IMAGE per taglist.
1712 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
1714 * gst/gstminiobject.c:
1716 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
1717 (gst_fd_src_create):
1718 log recurring events at LOG level
1719 add more debug for when the fd gets set
1721 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1723 * gst/gstparse.c: (gst_parse_launch):
1724 Also remove reentrance checks if flex is MT safe (#348179)
1725 Fix my empty ChangeLog entry below
1727 2006-07-21 Andy Wingo <wingo@pobox.com>
1729 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
1731 * libs/gst/check/Makefile.am
1732 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
1733 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
1734 * libs/gst/check/gstbufferstraw.h:
1735 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
1736 functions, thus proving I am still a GStreamer haxor. OK I wrote
1737 them a long time ago, but anyways.
1739 2006-07-21 Stefan Kost <ensonic@users.sf.net>
1742 * gst/gstparse.c: (gst_parse_launch):
1743 Check for flex version and omit mutex if we have a MT save flex
1746 2006-07-21 Wim Taymans <wim@fluendo.com>
1748 * gst/gstparse.c: (gst_parse_launch):
1749 Protect recursive calls to _parse with a recursive mutex
1752 2006-07-21 Wim Taymans <wim@fluendo.com>
1754 * tests/check/gst/gstpad.c: (GST_START_TEST):
1757 2006-07-20 Stefan Kost <ensonic@users.sf.net>
1759 * gst/gstparse.c: (gst_parse_launch):
1760 Do not hang on recursive usage of gst_parse_launch()
1762 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1765 Add some more docs, comments and FIXME 0.11s here and there
1766 and also fix some typos.
1768 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
1771 Convert tabs to spaces for better readability.
1773 2006-07-20 Edward Hervey <edward@fluendo.com>
1775 * tests/check/libs/gdp.c: (gst_dp_suite):
1776 the test_buffer test fails at line 140 on ppc64 at the following
1778 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
1779 GST_BUFFER_FLAG_IN_CAPS),
1780 "GST_BUFFER_IN_CAPS flag should have been copied !");
1781 See bug #348114 for more details.
1783 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
1785 * docs/pwg/advanced-scheduling.xml:
1787 Fix typos (#348000).
1789 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
1791 * docs/pwg/intro-basics.xml:
1792 Fix wrong links (#347927).
1794 2006-07-18 Stefan Kost <ensonic@users.sf.net>
1796 * gst/gstregistry.h:
1797 * gst/gstregistryxml.c: (load_feature),
1798 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
1799 * win32/common/config.h:
1800 make --disable-index work (#342564)
1802 2006-07-18 Wim Taymans <wim@fluendo.com>
1804 Patch by: Peter Kjellerstedt <pkj at axis dot com>
1808 The attached patch adds two missing defines to gsttrace.h when tracing
1809 is disabled. It also corrects one existing define.
1812 2006-07-17 Wim Taymans <wim@fluendo.com>
1814 * docs/gst/gstreamer-sections.txt:
1815 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
1817 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
1818 Add two functions to check and change the SIGSEGV behaviour
1819 when loading plugins.
1820 Don't mess with the SIGSEGV handler when we were told not to.
1822 API: gst_segtrap_is_enabled
1823 API: gst_segtrap_set_enabled
1825 2006-07-14 Wim Taymans <wim@fluendo.com>
1827 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1828 * tests/check/elements/filesrc.c: (GST_START_TEST):
1829 Revert fix for regression in #347408 after release.
1831 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
1833 Patch by: Antoine Tremblay <hexa00 at gmail com>
1835 * gst/gstutils.c: (gst_element_unlink):
1836 Free iterator when done (#347311).
1838 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1839 And add a test case for this.
1841 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
1844 Bump nano back to CVS
1846 === release 0.10.9 ===
1848 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
1851 releasing 0.10.9, "On the road again"
1853 2006-07-13 Wim Taymans <wim@fluendo.com>
1855 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
1856 * tests/check/elements/filesrc.c: (GST_START_TEST):
1857 Revert pull-0 fix for release. Disable check. Fixes #347408.
1859 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
1861 * libs/gst/dataprotocol/dataprotocol.c:
1862 (gst_dp_event_from_packet_1_0):
1863 Fixes #347337: failure to deserialize event packets with
1864 empty payload (only event type)
1866 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
1869 do not install a .c file in the header directory
1871 2006-07-13 Edward Hervey <edward@fluendo.com>
1873 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
1874 GhostPad no longer implicitely use the padtemplates of the targets.
1877 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
1879 * gst/gstvalue.c: (gst_value_compare_list),
1880 (gst_value_compare_array), (_gst_value_initialize):
1881 * tests/check/gst/gstvalue.c: (GST_START_TEST):
1882 Make GstValueArray comparison be order dependent as designed.
1883 Add checks for value lists and value array comparisons.
1886 2006-07-11 Edward Hervey <edward@fluendo.com>
1888 * gst/gstbin.c: (activate_pads),
1889 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
1890 (gst_bin_change_state_func):
1891 (de)activate src pads before calling state_change on the childs.
1892 This is to avoid the case where a src ghostpad is blocked (holding the
1893 stream lock), which would block the deactivation of the ghostpad's
1895 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
1896 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
1897 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
1898 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
1899 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
1900 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
1901 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
1902 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
1903 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
1904 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
1905 (gst_ghost_pad_class_init),
1906 (gst_ghost_pad_internal_do_activate_push),
1907 (gst_ghost_pad_internal_do_activate_pull),
1908 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
1909 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
1910 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
1911 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
1912 GhostPads now create their internal GstProxyPad at creation (and not
1913 when they're linked, as it was being done previously).
1914 The internal and target pads are linked straight away.
1915 The data will also travel through the other pad in order to make
1916 pad blocking and probes non-hackish (the probe/block now really happens
1917 on the GhostPad and not on the target).
1918 * gst/gstpad.c: (gst_pad_set_blocked_async),
1919 (gst_pad_link_prepare), (gst_pad_push_event):
1920 Remove previous ghostpad cruft.
1921 * gst/gstutils.c: (gst_pad_add_data_probe),
1922 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
1923 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
1924 (gst_pad_remove_buffer_probe):
1925 Remove previous ghost pad cruft.
1926 Added more detailed debug statements.
1927 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1928 Fix the testsuite for refcounting changes.
1929 The comments about who has references were correct, but the refcount
1930 being checked wasn't the same (!?!).
1934 2006-07-10 Stefan Kost <ensonic@users.sf.net>
1936 * docs/gst/gstreamer-sections.txt:
1937 * gst/gstconfig.h.in:
1938 More docs for configuration options, add docs to gtk-doc.
1940 2006-07-10 Stefan Kost <ensonic@users.sf.net>
1943 * gst/gstconfig.h.in:
1944 * win32/common/config.h:
1945 Fix build when disabling tracing (fixes #344016). Also start to document
1946 the defines that disable the sub-systems.
1948 2006-07-10 Edward Hervey <edward@fluendo.com>
1950 * gst/gst.c: (ensure_current_registry_forking):
1951 let's make valgrind happy...
1953 2006-07-09 Wim Taymans <wim@fluendo.com>
1955 * gst/gstelement.c: (activate_pads),
1956 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
1957 Better pad activation code: Reset the collect value too on resync.
1960 2006-07-09 Wim Taymans <wim@fluendo.com>
1962 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
1963 (gst_pad_activate_push):
1964 Use some more macros where it makes sense.
1965 Allow pad mode switching instead of asserting. When a pad
1966 is activated in one mode and we activate it in another,
1967 deactivate it first before activating it in a different mode.
1970 2006-07-08 Andy Wingo <wingo@pobox.com>
1972 * tools/gst-launch.c (main): Handle err == NULL.
1974 * gst/gst.c (init_post, ensure_current_registry)
1975 (ensure_current_registry_forking)
1976 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
1977 factoring out the registry scanning into separate functions. Don't
1978 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
1979 Better environment var name/interface suggestions accepted.
1981 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1983 * gst/gstobject.c: (gst_object_set_name_default),
1984 (gst_object_set_name):
1985 Random micro-optimisation: don't use a hash table
1986 with strings as keys and the usual strdup/strcmp
1987 involved, but rather just use the GQuark of the
1988 type name as key, since it needs to be looked up
1989 anyway to get the type name string.
1991 * tests/check/gst/gstobject.c: (GST_START_TEST):
1994 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
1996 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
1997 (gst_bin_iterate_all_by_interface):
1998 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
1999 GTypes are gulongs and thus the top 4 bytes might be cut
2000 off on some platforms when doing GPOINTER_TO_INT, leading
2001 to invalid GTypes and bad things happening (see RH bug #179654).
2002 Also add a check to make sure the type passed in is really
2005 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2010 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
2014 * gst-element-check.m4:
2015 * gst-element-check.m4.in:
2016 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
2017 instead of the unversioned gst-inspect (#324176, #168659).
2019 2006-07-06 Wim Taymans <wim@fluendo.com>
2022 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
2025 2006-07-06 Wim Taymans <wim@fluendo.com>
2027 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2028 (gst_base_src_wait), (gst_base_src_update_length),
2029 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
2030 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
2031 (gst_base_src_loop), (gst_base_src_start),
2032 (gst_base_src_activate_pull):
2034 blocksize == 0 now means the default blocksize when working in push
2036 Remove some pointless asserts in _wait function.
2037 Fix offset/length calculations and EOS handling. We can now pull 0
2038 bytes as well, which is allowed.
2039 use _check_get_range() to decide if we can operate in _pull based
2041 Fix refcounting leak when check_get_range function was not
2043 API GstBaseSrc::blocksize range can be 0 too now (default)
2045 * tests/check/elements/filesrc.c: (GST_START_TEST),
2047 Added check to test _get_range() behaviour.
2049 2006-07-06 Wim Taymans <wim@fluendo.com>
2051 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2052 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
2053 (gst_pad_pull_range):
2055 Lots of comments and docs added to the pad functions.
2056 Flesh out the expected behaviour of the get_range() functions.
2058 2006-07-06 Wim Taymans <wim@fluendo.com>
2063 * gst/gstiterator.h:
2067 Remove comma at end of enumerator list.
2069 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
2071 * win32/common/libgstbase.def:
2072 * win32/common/libgstdataprotocol.def:
2073 * win32/common/libsgtreamer.def:
2074 Add new exported functions.
2076 2006-07-05 Wim Taymans <wim@fluendo.com>
2078 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
2079 Add some more docs here and there.
2081 2006-07-05 Wim Taymans <wim@fluendo.com>
2083 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
2084 (gst_base_sink_loop), (gst_base_sink_get_position):
2085 When operating in pull mode update the offset so that we
2088 2006-07-05 Wim Taymans <wim@fluendo.com>
2090 * gst/gstregistryxml.c: (read_string):
2091 Avoid strdup. (will happen in libxml, but hey!)
2096 2006-07-05 Wim Taymans <wim@fluendo.com>
2098 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
2099 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
2101 No point in checking if the size of the subbuffer > 0, the
2102 code handles it correclty as demonstrated by unit test.
2103 Also add a unit test for the zero sized _new_and_alloc and
2104 _copy. Fixes #346663.
2106 2006-07-05 Wim Taymans <wim@fluendo.com>
2108 * libs/gst/base/gstbasetransform.c:
2109 (gst_base_transform_prepare_output_buffer),
2110 (gst_base_transform_buffer_alloc),
2111 (gst_base_transform_handle_buffer):
2112 Make sure the buffer we pass to transform_ip has a refcount of
2113 1 and thus is writable. Fixes #343196
2115 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
2117 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
2118 (gst_file_src_init), (gst_file_src_set_property),
2119 (gst_file_src_get_property), (gst_file_src_map_region):
2120 * plugins/elements/gstfilesrc.h:
2121 Add "sequential" property, off by default, to use madvise and hint
2122 to the kernel that sequential access is desired.
2123 Touch all retrieved pages by default to ensure they are pulled
2124 into memory. (Closes #345720)
2126 2006-07-03 Wim Taymans <wim@fluendo.com>
2128 * docs/design/part-block.txt:
2129 * docs/design/part-dynamic.txt:
2132 2006-07-03 Wim Taymans <wim@fluendo.com>
2134 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
2135 (gst_caps_unref), (gst_static_caps_get),
2136 (gst_caps_append_structure):
2137 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
2138 Use GSlice when the glib we build against is >= 2.10
2140 2006-07-03 Wim Taymans <wim@fluendo.com>
2142 * gst/gstelement.c: (gst_element_pads_activate):
2143 Small cleanup in pad activation code.
2145 2006-07-03 Wim Taymans <wim@fluendo.com>
2147 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2149 * gst/gst-i18n-app.h:
2150 * gst/gst-i18n-lib.h:
2151 * tools/gst-inspect.c: (print_signal_info):
2152 The attached patch will make the inclusion of gettext.h unconditional in
2153 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
2154 libintl.h in tools/gst-inspect.c.
2155 This allows use of --disable-nls again and fixes #344642.
2157 2006-07-03 Edward Hervey <edward@fluendo.com>
2159 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
2160 Implement pad blocking on events according to part-block.txt.
2161 More comments on behaviour.
2162 * tests/check/gst/gstevent.c: (test_event):
2163 Send event to peer pad of blocked pad (else it will block).
2165 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
2167 * libs/gst/check/gstcheck.c: (gst_check_message_error),
2168 (gst_check_run_suite):
2169 if we get the wrong message, give us the types as string
2170 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
2172 * tests/check/elements/filesrc.c: (GST_START_TEST):
2173 add a test for trying to open a non-existing file
2175 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
2177 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
2178 add a test for adding self
2180 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
2182 * libs/gst/check/gstcheck.h:
2183 add some assert_ as alias for fail_unless_*
2184 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
2185 increase test coverage
2187 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2190 include lcov.mak for lcov coverage generation
2191 * tools/Makefile.am:
2194 2006-07-02 Edward Hervey <edward@fluendo.com>
2196 * tests/check/elements/.cvsignore:
2199 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2202 don't set CFLAGS and friends for gcov, done from GST_GCOV now
2203 * tests/check/Makefile.am:
2206 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2208 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
2209 remove gst_caps_simplify; it was not declared and not used
2210 and deprecated in 0.8
2212 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2214 * docs/faq/gst-uninstalled:
2215 don't put empty paths on PYTHONPATH
2216 * docs/gst/gstreamer-sections.txt:
2217 remove some symbols that are not there
2219 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2221 * gst/gstcaps.c: (gst_caps_compare_structures):
2223 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
2224 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
2227 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2229 * libs/gst/dataprotocol/Makefile.am:
2230 build dataprotocol test by linking to the lib, instead of
2231 compiling the source, so we get coverage
2232 * tests/check/Makefile.am:
2233 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
2234 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
2235 add a test for filesrc
2237 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2239 * tests/check/gst/gststructure.c: (GST_START_TEST),
2240 (gst_structure_suite):
2241 Push coverage from 59.04% to 70.00%
2243 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2245 * tests/check/Makefile.am:
2246 gst-inspect every element; this makes sure that we also get
2247 coverage on element's get/set functions
2249 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
2252 set CFLAGS and friends to -O0 if gcov is being used
2255 * libs/gst/base/Makefile.am:
2256 * libs/gst/check/Makefile.am:
2257 * libs/gst/controller/Makefile.am:
2258 * libs/gst/dataprotocol/Makefile.am:
2259 * libs/gst/net/Makefile.am:
2260 * plugins/elements/Makefile.am:
2261 * plugins/indexers/Makefile.am:
2262 add makefile rules to generate gcov data and clean up
2263 * tests/check/Makefile.am:
2264 add a coverage target that generates an html overview
2267 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2269 * tests/check/elements/fakesink.c:
2270 * tests/check/elements/fakesrc.c:
2271 * tests/check/elements/fdsrc.c:
2272 * tests/check/elements/identity.c:
2273 * tests/check/generic/sinks.c: (gst_sinks_suite):
2274 * tests/check/generic/states.c:
2275 * tests/check/gst/gst.c:
2276 * tests/check/gst/gstabi.c:
2277 * tests/check/gst/gstbin.c:
2278 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
2279 * tests/check/gst/gstbus.c: (gst_bus_suite):
2280 * tests/check/gst/gstcaps.c: (GST_START_TEST):
2281 * tests/check/gst/gstelement.c:
2282 * tests/check/gst/gstevent.c: (gst_event_suite):
2283 * tests/check/gst/gstghostpad.c:
2284 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
2285 * tests/check/gst/gstmessage.c: (gst_message_suite):
2286 * tests/check/gst/gstminiobject.c:
2287 * tests/check/gst/gstobject.c:
2288 * tests/check/gst/gstpad.c:
2289 * tests/check/gst/gstpipeline.c:
2290 * tests/check/gst/gstplugin.c:
2291 * tests/check/gst/gstquery.c: (gst_query_suite):
2292 * tests/check/gst/gstsegment.c: (gst_segment_suite):
2293 * tests/check/gst/gststructure.c:
2294 * tests/check/gst/gstsystemclock.c:
2295 * tests/check/gst/gsttag.c:
2296 * tests/check/gst/gsttask.c: (gst_task_suite):
2297 * tests/check/gst/gstutils.c:
2298 * tests/check/gst/gstvalue.c:
2299 * tests/check/libs/adapter.c:
2300 * tests/check/libs/basesrc.c:
2301 * tests/check/libs/collectpads.c:
2302 * tests/check/libs/controller.c:
2303 * tests/check/libs/gdp.c: (gst_dp_suite):
2304 * tests/check/libs/gstnetclientclock.c:
2305 * tests/check/libs/gstnettimeprovider.c:
2306 * tests/check/libs/libsabi.c: (libsabi_suite):
2307 * tests/check/libs/typefindhelper.c:
2308 * tests/check/pipelines/cleanup.c:
2309 * tests/check/pipelines/parse-launch.c:
2310 * tests/check/pipelines/simple-launch-lines.c:
2311 * tests/check/pipelines/stress.c: (stress_suite):
2314 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2316 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
2317 * libs/gst/check/gstcheck.h:
2318 create a macro and function so that the simple unit test
2319 case can be just one macro to create main()
2321 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
2323 * gst/gstbin.c: (gst_bin_restore_thyself):
2324 * gst/gstxml.c: (gst_xml_make_element):
2325 Fix deserialisation from XML. Set parent manually
2326 instead of using gst_bin_add(), since gst_bin_add()
2327 will unlink all pads of the element being added.
2330 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
2332 Patch by: Peter Kjellerstedt <pkj at axis com>
2334 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
2335 Fix missing g_strdup() and double free when using the
2336 --gst-plugin-load command line option (#346097).
2338 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
2341 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
2343 * libs/gst/net/gstnetclientclock.c:
2344 * libs/gst/net/gstnettimeprovider.c:
2345 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
2347 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
2349 * docs/manual/advanced-dataaccess.xml:
2350 Fix buffer probe example compilation in
2353 2006-06-22 Edward Hervey <edward@fluendo.com>
2355 * gst/gstelement.c: (gst_element_pads_activate):
2356 We need to deactivate src pads first and then sink pads.
2357 The reason is the src pads might be blocking while holding the streaming
2358 lock, so we need to deactivate them first so that deactivating the sink
2359 pads doesn't block (since it will require the streaming lock).
2361 2006-06-22 Wim Taymans <wim@fluendo.com>
2363 * libs/gst/base/gstbasetransform.c:
2364 (gst_base_transform_buffer_alloc):
2365 Forgot to remove two unneeded unrefs.
2366 Simplify a check _is_equal allready checks the obvious case.
2368 2006-06-22 Wim Taymans <wim@fluendo.com>
2370 * docs/design/part-block.txt:
2371 Some docs about what pad_block should do.
2373 2006-06-22 Wim Taymans <wim@fluendo.com>
2375 * gst/gstcaps.c: (gst_caps_replace):
2376 Fix crasher when passed NULL. Doc clarification.
2377 Optimize for the trivial case.
2379 * gst/gstpipeline.c: (gst_pipeline_change_state):
2382 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
2383 Small documentation cleanup.
2385 * libs/gst/base/gstbasetransform.c:
2386 (gst_base_transform_buffer_alloc):
2387 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
2388 is what we need and it avoids a whole lot of redundant
2389 refcount operations.
2391 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
2393 Patch by: Philip Jägenstedt <philip at lysator liu se>
2395 * docs/manual/advanced-dataaccess.xml:
2396 Fix 'Embedding static elements' section to use
2397 GST_PLUGIN_DEFINE_STATIC (#345607).
2399 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2401 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
2402 Attempt to 'fix' spuriously failing test case: it seems like the
2403 timeout of half a second is simply too small when the system is under
2404 load otherwise, and the timeout doesn't really seem to serve any
2405 particular purpose here. Give the pipeline a few seconds to preroll
2406 first, and then give it another half a second to go from PAUSED to
2407 PLAYING and marshal the message into the main thread.
2409 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2411 * tools/gst-feedback-m.m:
2412 Don't only use unversioned tools, try versioned tools as well
2415 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
2417 * gst/gstbus.c: (gst_bus_class_init):
2418 Fix some typos, make docs more explicit.
2420 2006-06-20 Wim Taymans <wim@fluendo.com>
2422 * tests/check/gst/gstghostpad.c: (block_callback),
2423 (GST_START_TEST), (gst_ghost_pad_suite):
2424 Added some more ghostpad tests, mainly blocking
2427 2006-06-16 Wim Taymans <wim@fluendo.com>
2429 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
2430 (gst_file_sink_close_file), (gst_file_sink_do_seek),
2431 (gst_file_sink_event), (gst_file_sink_render):
2432 * plugins/elements/gstfilesink.h:
2433 Check if we can seek in the file instead of assuming
2434 we always can. Post an error when we are asked to seek in a
2435 non-seekable file (like a fifo). Fixes #343312.
2438 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
2440 * tools/gst-launch.1.in:
2441 Un-garble (fourcc) bit in filtered caps section.
2443 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
2445 * docs/manual/advanced-autoplugging.xml:
2446 * docs/manual/basics-helloworld.xml:
2447 * docs/manual/highlevel-components.xml:
2448 Don't leak bus reference in sample code.
2450 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
2453 Add default for new --enable-plugin-docs switch.
2456 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
2460 Use new ENABLE_PLUGIN_DOCS conditional.
2462 2006-06-14 Wim Taymans <wim@fluendo.com>
2464 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
2465 Make it clear with a FIXME and a real define what the #if 0
2466 previously disabled.
2468 2006-06-14 Wim Taymans <wim@fluendo.com>
2470 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2471 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2472 * libs/gst/base/gstbasetransform.c:
2473 (gst_base_transform_sink_eventfunc):
2474 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
2475 Don't randomly and silently reset a segment when the format
2476 changes as this is a bug somewhere upstream. Fixes #330379.
2478 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
2480 Patch by: Wouter Paesen <wouter at kangaroot net>
2482 * libs/gst/controller/gstcontroller.c:
2483 (gst_controlled_property_new):
2484 Fix controlling of float properties (#344849).
2486 * tests/check/libs/controller.c:
2487 (gst_test_mono_source_get_property),
2488 (gst_test_mono_source_set_property),
2489 (gst_test_mono_source_class_init), (GST_START_TEST):
2490 While we're at it, add some float stuff to unit test.
2492 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
2495 * docs/images/gdp-header.svg:
2497 * docs/libs/Makefile.am:
2498 * docs/libs/gdp-header.png:
2499 * libs/gst/dataprotocol/dataprotocol.c:
2500 add it to the API docs
2501 * docs/manual/intro-motivation.xml:
2504 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
2506 * gst/gst.c: (scan_and_update_registry), (init_post):
2507 If the fork()'ed child process can't write the updated registry cache
2508 file to disk for some reason, make it exit with a failure exit code,
2509 so that the parent can then re-scan the plugins itself and update the
2510 registry structures in memory and work with that (rather than failing
2511 when creating elements because seemingly no plugins are available).
2512 Refactor registry scanning code into separate function for this and
2513 also separate fork() and non-fork() code paths. Fixes #344748.
2515 2006-06-13 Wim Taymans <wim@fluendo.com>
2517 * docs/manual/advanced-dataaccess.xml:
2518 Fix wrong PluginDesc. Fixes #344755.
2520 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
2522 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
2523 Fix silly bug that prevented us from creating
2524 ~/.gstreamer-0.10 and writing the registry in one
2525 go (the first call to g_mkstemp() would overwrite the
2526 placeholder in the template string, so the second call
2527 to g_mkstemp() after creating the missing directory
2528 would then error out with 'invalid argument').
2530 2006-06-13 Edward Hervey <edward@fluendo.com>
2532 * gst/gst.c: (init_post):
2535 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
2537 * gst/glib-compat-private.h:
2538 * gst/glib-compat.c:
2539 * gst/glib-compat.h:
2540 * gst/gstvalue.c: (gst_value_serialize_flags):
2541 remove GLib 2.6 compatibility code
2543 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
2545 * gst/parse/Makefile.am:
2546 Fix build with 'make -j N' even more (#340016).
2548 2006-06-12 Wim Taymans <wim@fluendo.com>
2550 * docs/gst/gstreamer-sections.txt:
2553 2006-06-12 Wim Taymans <wim@fluendo.com>
2555 * gst/gstsegment.c: (gst_segment_set_duration),
2556 (gst_segment_set_last_stop), (gst_segment_set_seek),
2557 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
2558 (gst_segment_to_running_time), (gst_segment_clip):
2559 Use G_UNLIKELY to help the compiler a bit.
2561 2006-06-12 Wim Taymans <wim@fluendo.com>
2563 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
2565 * gst/gstevent.c: (gst_event_get_type):
2567 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
2569 constify quark registration strings. Fixes #344115
2570 Avoid unneeded type checking is _pad_push() by internally
2571 calling gst_pad_chain_unchecked().
2573 2006-06-12 Wim Taymans <wim@fluendo.com>
2575 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
2576 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
2577 (gst_subbuffer_finalize), (gst_buffer_create_sub),
2578 (gst_buffer_is_span_fast), (gst_buffer_span):
2579 Init _type for consistency.
2580 Use _FLAGS macro to avoid type check.
2581 Avoid unneeded type checks in subbufer code.
2583 2006-06-12 Wim Taymans <wim@fluendo.com>
2585 * gst/gst.c: (gst_debug_help):
2586 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
2587 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2588 (gst_plugin_feature_list_free):
2589 * gst/gstregistry.c: (gst_registry_add_plugin),
2590 (gst_registry_add_feature), (gst_registry_plugin_filter),
2591 (gst_registry_feature_filter), (gst_registry_find_plugin),
2592 (gst_registry_find_feature), (gst_registry_get_plugin_list),
2593 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
2594 * gst/gstregistryxml.c: (load_feature),
2595 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
2596 * gst/gstminiobject.c: (gst_mini_object_unref),
2597 (gst_mini_object_replace), (gst_value_mini_object_free),
2598 (gst_value_mini_object_copy):
2599 Use _CAST macros to avoid unneeded type checking.
2600 Added some more G_UNLIKELY.
2602 2006-06-12 Wim Taymans <wim@fluendo.com>
2605 Avoid unneeded type checking.
2606 API: GST_BUFFER_IS_DISCONT
2608 * gst/gstminiobject.h:
2609 Avoid type check in flag accessor.
2611 * gst/gstelementfactory.h:
2613 * gst/gstpluginfeature.h:
2615 API: GST_ELEMENT_FACTORY_CAST
2616 API: GST_PLUGIN_CAST
2617 API: GST_PLUGIN_FEATURE_CAST
2619 2006-06-12 Wim Taymans <wim@fluendo.com>
2621 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
2623 Add G_UNLIKELY in type registration.
2624 Avoid type check in _ref/_unref since that is also
2627 2006-06-12 Wim Taymans <wim@fluendo.com>
2629 * gst/gsterror.c: (gst_g_error_get_type):
2630 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
2631 (gst_static_pad_template_get_type):
2632 * gst/gsttaglist.c: (gst_tag_list_get_type):
2633 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
2634 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
2635 * gst/gsturi.c: (gst_uri_handler_get_type):
2636 * gst/gstvalue.c: (gst_date_get_type):
2637 * gst/gstxml.c: (gst_xml_get_type):
2638 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2639 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
2640 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
2641 Add G_UNLIKELY in type registration.
2643 2006-06-12 Wim Taymans <wim@fluendo.com>
2645 * tools/gst-inspect.c: (print_signal_info):
2646 Properly print enum values.
2648 2006-06-12 Wim Taymans <wim@fluendo.com>
2650 * gst/gstinfo.c: (gst_debug_set_active),
2651 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
2653 Add some G_[UN]LIKELY.
2654 Maintain __gst_debug_min to avoid formatting the arguments of
2655 debug messages that will be dropped anyway to avoid a lot of
2656 overhead from the debugging system.
2658 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2662 add missing files containing translatable strings, tell intltool about
2665 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2667 * tests/check/libs/.cvsignore:
2668 add test-binary to ignore list
2670 2006-06-11 Stefan Kost <ensonic@users.sf.net>
2672 * docs/libs/gstreamer-libs-docs.sgml:
2673 reorder (put dp into a chapter) and indent
2675 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2680 === release 0.10.8 ===
2682 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2685 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
2687 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2689 * gst/gst.c: (init_post):
2690 move pid declaration to declaration block
2692 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
2694 * gst/gst.c: (init_post):
2695 use _exit() instead of exit() in our forked child; this ensures
2696 that none of the registered exit handlers from whatever is using
2697 GStreamer get executed. This fixes gnome-mixer-applet failing
2698 to load, because ORBit would shut down.
2699 Spotted by: Edward Hervey <edward@fluendo.com>
2700 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
2703 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2708 === release 0.10.7 ===
2710 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
2713 releasing 0.10.7, "Soepeke, ik zie ou"
2715 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
2738 * win32/common/config.h:
2741 2006-06-07 Wim Taymans <wim@fluendo.com>
2743 * gst/gstindex.c: (gst_index_gtype_resolver):
2744 * tools/gst-xmlinspect.c: (print_plugin_info):
2745 Fix leak spotted by coverity checker. Fixes #343827
2746 Fix another other leak found by paolo borelli.
2748 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2750 * libs/gst/dataprotocol/dataprotocol.c:
2751 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
2752 (gst_dp_version_get_type), (gst_dp_init),
2753 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
2754 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
2755 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
2756 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
2757 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
2758 (gst_dp_packetizer_free):
2759 * libs/gst/dataprotocol/dataprotocol.h:
2760 API: add a GstDPPacketizer object, and create/free functions
2761 API: add GstDPVersion enum
2762 Add 1.0 event function that uses the string serialization
2763 Serialize more useful buffer flags
2766 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2768 * tests/check/Makefile.am:
2769 * tests/check/gst/gstabi.c:
2770 * tests/check/gst/struct_ppc64.h:
2771 * tests/check/libs/libsabi.c:
2772 * tests/check/libs/struct_ppc64.h:
2773 add ppc64 structure sizes
2775 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2777 * tests/check/Makefile.am:
2778 * tests/check/gst/gstabi.c:
2779 * tests/check/gst/struct_x86_64.h:
2780 * tests/check/libs/libsabi.c:
2781 * tests/check/libs/struct_x86_64.h:
2782 generate and add structure size lists for x86_64
2784 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
2786 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
2787 * libs/gst/check/gstcheck.h:
2788 factor out the method from tests that checks size of structures,
2789 and add code to generate the header containing these sizes
2790 * tests/check/gst/gstabi.c: (GST_START_TEST):
2791 * tests/check/gst/struct_i386.h:
2792 * tests/check/libs/libsabi.c: (GST_START_TEST):
2793 * tests/check/libs/struct_i386.h:
2796 2006-06-06 Michael Smith <msmith@fluendo.com>
2799 Don't use c++-style comments, fixes #343929
2801 2006-06-05 Edward Hervey <edward@fluendo.com>
2804 plugin_paths is not used if we build without registry support.
2806 * gst/gstsegment.c: (gst_segment_copy):
2807 _copy() was always returning NULL...
2809 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2811 * libs/gst/dataprotocol/dataprotocol.c:
2812 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2813 (gst_dp_packet_from_event):
2816 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2818 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
2819 make sure we unset caps
2821 2006-06-02 Michael Smith <msmith@fluendo.com>
2823 * libs/gst/check/gstcheck.c: (gst_check_init),
2824 (gst_check_chain_func):
2825 * libs/gst/check/gstcheck.h:
2826 Add a cond/mutex to the check support lib, signal this whenever we
2827 add to the buffers list. This will allow tests to not busy-wait on
2830 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2832 * libs/gst/dataprotocol/dataprotocol.c:
2833 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
2834 (gst_dp_packet_from_event):
2835 factor out some common header init code
2837 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
2839 * docs/libs/gstreamer-libs-sections.txt:
2840 * docs/libs/tmpl/gstdataprotocol.sgml:
2841 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
2842 * libs/gst/dataprotocol/dataprotocol.h:
2843 API: make gst_dp_crc() public
2845 2006-06-01 Stefan Kost <ensonic@users.sf.net>
2847 * plugins/indexers/gstindexers.c: (plugin_init):
2848 conditionally register fileindexer (fixes #343598)
2850 2006-06-01 Stefan Kost <ensonic@users.sf.net>
2852 * gst/gsttagsetter.h:
2853 Can't cast ifaces to a class
2855 * libs/gst/net/gstnetclientclock.h:
2856 * libs/gst/net/gstnettimeprovider.h:
2857 * plugins/elements/gstfakesink.h:
2858 * plugins/elements/gstfakesrc.h:
2859 * plugins/elements/gstfdsink.h:
2860 * plugins/elements/gstfdsrc.h:
2861 * plugins/elements/gstfilesink.h:
2862 * plugins/elements/gstfilesrc.h:
2863 * plugins/elements/gstidentity.h:
2864 * plugins/elements/gstqueue.h:
2865 * plugins/elements/gsttee.h:
2866 * plugins/indexers/gstfileindex.c:
2867 * plugins/indexers/gstmemindex.c:
2868 * tests/old/examples/plugins/example.h:
2869 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2871 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
2873 * libs/gst/dataprotocol/dataprotocol.c:
2874 (gst_dp_header_from_buffer):
2875 make sure we zero the whole ABI-compatible area
2877 2006-06-01 Wim Taymans <wim@fluendo.com>
2879 Patch by: Alessandro Decina <alessandro at nnva dot org>
2881 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
2882 Make sure the EOS flag is cleared from pads after a flush
2883 or stop. Fixes #343538.
2885 * tests/check/libs/collectpads.c: (GST_START_TEST),
2886 (gst_collect_pads_suite):
2887 Added test for collectpads reusage after EOS.
2889 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
2892 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
2893 * win32/common/libgstbase.def:
2894 export gst_collect_pads_set_flushing
2895 * win32/common/libgstreamer.def:
2896 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
2897 gst_value_fraction_multiply
2898 * win32/vs6/gst_inspect.dsp:
2899 add a link to intl.lib
2901 2006-05-30 Wim Taymans <wim@fluendo.com>
2903 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
2904 (gst_collect_pads_chain):
2905 Handle the case where a pad is removed from the collection
2906 that could cause the other pads to become collectable.
2908 2006-05-30 Wim Taymans <wim@fluendo.com>
2911 Clarify the use of _release_request_pad() and
2912 _get_request_pad() a bit better.
2914 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
2915 (gst_adapter_take_buffer):
2916 Fix some doc and comment typos.
2918 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
2920 * docs/gst/gstreamer-sections.txt:
2921 * docs/libs/gstreamer-libs-sections.txt:
2922 add declared symbols
2924 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
2926 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
2927 Add debug that can be enabled using a #define at the top of the file,
2928 for dumping stats about how late/early we were when waking up from
2929 waiting on the clock.
2931 2006-05-30 Wim Taymans <wim@fluendo.com>
2933 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
2934 When rebuilding the pad list, don't leak the previous list.
2936 2006-05-30 Wim Taymans <wim@fluendo.com>
2938 Patch by: Lutz Mueller <lutz at topfrose dot de>
2940 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2941 (gst_base_src_get_query_types), (gst_base_src_update_length):
2942 Publish supported query types.
2943 Update last_stop field in get_range mode so the position
2944 query works. Fixes #342321.
2946 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
2948 * docs/gst/gstreamer-sections.txt:
2949 * gst/gsttaglist.c: (_gst_tag_initialize):
2951 API: add GST_TAG_PREVIEW_IMAGE (#343341).
2953 2006-05-30 Wim Taymans <wim@fluendo.com>
2955 Patch by: Alessandro Decina <alessandro at nnva dot org>
2957 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
2958 Unlock mutex when removing an unknown pad.
2961 * tests/check/Makefile.am:
2962 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
2963 (push_event), (setup), (teardown), (GST_START_TEST),
2964 (gst_collect_pads_suite), (main):
2965 Added collecpads check, disabled for now as check crashes for
2968 2006-05-29 Wim Taymans <wim@fluendo.com>
2970 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
2971 Don't leak pads lists.
2973 2006-05-29 Wim Taymans <wim@fluendo.com>
2975 * docs/libs/gstreamer-libs-sections.txt:
2976 * libs/gst/base/gstcollectpads.c:
2977 (gst_collect_pads_set_flushing_unlocked),
2978 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
2979 (gst_collect_pads_stop):
2980 * libs/gst/base/gstcollectpads.h:
2981 API: gst_collect_pads_set_flushing()
2982 Added api to set the pads to flushing, useful for seeking
2983 code in elements using collectpads.
2984 Clear segment when receiving a flush.
2986 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
2988 * gst/gst.c: (add_path_func), (init_post):
2989 Don't scan registry paths passed via --gst-plugin-path immediately
2990 (will crash, because absolutely nothing is set up and no types are
2991 registered etc.); do this later in init_post(). Fixes #343057.
2993 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
2995 * gst/gst.c: (init_post):
2996 if we have fork, fork while reading/rebuilding the registry
2997 so the parent doesn't take the hit of having all plugins loaded
2998 in memory. Fixes #342777.
3000 Check if we have fork()
3001 * win32/common/config.h.in:
3004 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
3006 * plugins/elements/gstelements.c:
3007 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
3008 (gst_file_src_init), (gst_file_src_set_property),
3009 (gst_file_src_get_property), (gst_file_src_start):
3010 * plugins/elements/gstfilesrc.h:
3011 API: GstFileSrc::use-mmap
3013 Add a use-mmap property to enable easier testing of all code paths.
3014 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
3015 in the absence of gnomevfssrc. (Closes #340501)
3017 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
3019 * tools/gst-inspect.c:
3020 Add missing include, removes warning of ngettext not being defined on
3023 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
3025 * gst/gstvalue.c: (gst_value_deserialize_fraction):
3026 Handle NULL input and output pointers silently as a failed conversion,
3027 rather than g_warnings.
3029 2006-05-25 Wim Taymans <wim@fluendo.com>
3031 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
3032 Initialize variable before using. Fixes #342820.
3034 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
3036 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
3037 Fix off-by-one bug that would only allow peeks of N-1 bytes
3038 from the start even if the buffer to typefind on contains
3039 in fact N bytes of data (makes vorbis typefinding from a
3040 vorbis identification header buffer work).
3042 * tests/check/Makefile.am:
3043 * tests/check/libs/.cvsignore:
3044 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
3045 (gst_typefindhelper_suite), (main), (foobar_typefind),
3047 Add very basic unit test for gst_type_find_helper_for_buffer()
3048 that checks for the problem fixed above.
3050 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
3052 * tools/gst-inspect.c: (print_interfaces),
3053 (print_element_properties_info), (print_element_list), (main):
3054 add more translatable strings
3056 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
3058 Patch by: Julien Moutte <julien at moutte net>
3060 * docs/gst/gstreamer-sections.txt:
3061 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
3063 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3064 (gst_fake_sink_preroll):
3065 * plugins/elements/gstfakesink.h:
3066 API: Add new GstFakeSink::preroll-handoff signal (#337100).
3068 2006-05-23 Wim Taymans <wim@fluendo.com>
3070 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
3072 Added _CUSTOM error and success GstFlowReturn that can be
3073 used be elements internally.
3074 Added macro to check for SUCCESS flowreturns.
3075 API: GST_FLOW_CUSTOM_SUCCESS
3076 API: GST_FLOW_CUSTOM_ERROR
3077 API: GST_FLOW_IS_SUCCESS
3079 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3080 Added check for GstFlowReturn sanity.
3082 2006-05-23 Wim Taymans <wim@fluendo.com>
3084 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
3086 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
3087 (gst_collect_pads_event):
3088 clear/reset segment info in FLUSH_STOP.
3091 2006-05-22 Stefan Kost <ensonic@users.sf.net>
3093 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
3094 (gst_collect_pads_check_collected):
3095 Flush queued buffer on _stop(), fixes playing again (#342454)
3097 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
3099 * tests/check/gst/gststructure.c: (GST_START_TEST),
3100 (gst_structure_suite):
3101 add a test for a complete structure
3103 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
3105 * docs/faq/developing.xml:
3107 * docs/faq/troubleshooting.xml:
3108 * docs/faq/using.xml:
3109 Some minor FAQ updates that won't change the fact that
3110 our FAQ is badly structured, full of information hardly
3111 anyone new to GStreamer needs to know and lacking lots
3112 of information people constantly ask for.
3114 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
3116 * gst/gstpad.c: (gst_pad_set_caps):
3117 Short-circuit gst_pad_set_caps if setting the existing
3118 caps pointer again, and avoid printing debug and
3119 reffing/unreffing the caps.
3121 * plugins/elements/gstqueue.c: (gst_queue_push_one):
3122 There's actually no need to set the caps before pushing -
3123 the acceptcaps method will handle it anyway.
3125 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
3127 * docs/gst/gstreamer-sections.txt:
3128 * win32/common/libgstreamer.def:
3129 * gst/gstutils.c: (gst_element_seek_simple):
3131 API: add gst_element_seek_simple() (#342238).
3133 2006-05-18 Edward Hervey <edward@fluendo.com>
3135 * gst/gsttypefind.c: (gst_type_find_get_type):
3136 * gst/gsttypefind.h:
3137 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
3138 registered for GstTypeFind pointers. This allows wrapping the structure
3139 in bindings (i.e. gst-python).
3141 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
3143 * gst/gsttagsetter.c:
3144 Docs additions and fixes (see #339918).
3146 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
3148 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3149 The caps intersection algorithm can produce multiple copies of the
3150 caps. Until that is fixed, we need to simplify the result to be
3151 sure whether the allowed caps are fixed or not.
3153 * plugins/elements/gstqueue.c: (gst_queue_init),
3154 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
3155 (gst_queue_push_one):
3156 Proxied buffer alloc should not set the caps on the source pad.
3157 When pushing buffers, we always accept the caps change that triggers.
3158 This prevents negotiation errors caused by caps changing mid-stream
3159 and then being refused on our source pad (because upstream is now
3160 refusing those caps).
3162 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
3164 * tests/examples/helloworld/helloworld.c: (main):
3165 Must plug audioconvert and audioresample between decoder
3168 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
3170 * gst/gstregistryxml.c: (read_string), (load_pad_template),
3171 (load_feature), (load_plugin):
3172 Allow empty strings for some of the plugin fields so we don't
3173 drop valid plugin entries that were written out correctly
3176 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
3178 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
3179 Use g_remove and g_rename instead of remove and rename that don't
3180 handle utf8 characters. rename was failing for users who had specific
3181 characters in their name then the registry was built at each
3183 * win32/vs6/gst_inspect.dsp:
3184 * win32/vs6/gst_launch.dsp:
3185 * win32/vs6/libgstbase.dsp:
3186 * win32/vs6/libgstcoreelements.dsp:
3187 * win32/vs6/libgstreamer.dsp:
3188 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
3189 build of libgstreamer and clean unused libraries in projects link
3192 2006-05-17 Edward Hervey <edward@fluendo.com>
3194 * plugins/elements/gstqueue.c: (gst_queue_push_one):
3195 The queue is not responsible for pushing an EOS when receiving a fatal
3196 flow error. It's up to the real element driving the pipeline to do that.
3198 2006-05-16 Edward Hervey <edward@fluendo.com>
3200 * plugins/elements/gstqueue.c: (gst_queue_push_one):
3201 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
3202 buffer returned a fatal error. It should just send an EOS and stop
3204 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
3205 when pushing buffers on the queue and will be able to handle the event.
3207 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
3209 * docs/manual/basics-bins.xml:
3210 * docs/manual/basics-init.xml:
3211 Fix typos and minor errors in sample code (#341856).
3213 2006-05-16 Wim Taymans <wim@fluendo.com>
3215 * docs/design/part-qos.txt:
3216 Fix indexes in formulas to make more sense.
3218 2006-05-15 Wim Taymans <wim@fluendo.com>
3220 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3221 Don't report POSITION based on clock time if sync is
3224 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
3227 Add cast to make compiler happy - refcount variable was a gint
3228 in GstObject but is a guint in GObject and g_atomic_int_get()
3231 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
3233 * gst/parse/Makefile.am:
3234 chain commands using &&, which also makes parallel make work
3236 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
3238 * docs/gst/gstreamer-sections.txt:
3244 === release 0.10.6 ===
3246 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
3249 releasing 0.10.6, "Take the cannoli"
3251 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
3253 * tools/gst-launch.c: (print_tag):
3254 Fix use of uninitialized variable in the hypothetical
3255 case that some broken plugin creates a GST_TAG_IMAGE
3256 tag containing a NULL buffer (#341667).
3258 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
3260 * tools/gst-launch.c: (print_tag):
3261 Print something more intelligible for image tags when
3262 using the -t switch (#341556).
3264 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
3269 define GST_MAJORMINOR so we have it available in win32/common/config.h
3270 Possibly remove it from our Makefile.am files later
3271 * win32/common/config.h:
3272 * win32/common/config.h.in:
3273 added GST_MAJORMINOR
3274 * win32/common/gstenumtypes.c: (register_gst_resource_error):
3275 * win32/common/gstversion.h:
3278 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
3281 Update win32 files listing.
3282 * win32/common/gstversion.h:
3283 Add GST_MAJORMINOR definition.
3284 * win32/common/libgstreamer.def:
3285 Add new exported functions.
3287 2006-05-12 Michael Smith <msmith@fluendo.com>
3289 * gst/gstplugin.c: (gst_plugin_load_file):
3290 If an so file has no plugin entry point, unload the module.
3292 2006-05-11 Wim Taymans <wim@fluendo.com>
3294 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
3295 (gst_queue_set_property):
3296 Don't forget to signal the _chain or _loop function
3297 when the queue size or thresholds change since that might
3298 cause them to make progres again.
3300 2006-05-11 Stefan Kost <ensonic@users.sf.net>
3302 * gst/gstclock.c: (gst_clock_class_init):
3303 * gst/gstindex.c: (gst_index_class_init):
3304 * gst/gstobject.c: (gst_object_class_init):
3305 * gst/gstpad.c: (gst_pad_class_init):
3306 * gst/gstpipeline.c: (gst_pipeline_class_init):
3307 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
3308 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
3309 * libs/gst/base/gstbasetransform.c:
3310 (gst_base_transform_class_init):
3311 * libs/gst/net/gstnetclientclock.c:
3312 (gst_net_client_clock_class_init):
3313 * libs/gst/net/gstnettimeprovider.c:
3314 (gst_net_time_provider_class_init):
3315 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
3316 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
3317 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
3318 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
3319 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
3320 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
3321 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
3322 * plugins/elements/gstidentity.c: (gst_identity_class_init):
3323 * plugins/elements/gsttee.c: (gst_tee_class_init):
3324 * tests/old/examples/plugins/example.c: (gst_example_class_init):
3325 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
3326 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
3328 2006-05-11 Wim Taymans <wim@fluendo.com>
3330 * gst/gstbuffer.c: (_gst_buffer_initialize):
3331 Register subbufer along with the buffer type so that
3332 it does not accidentally gets registered from N
3333 different streaming threads in a non threadsafe way.
3335 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
3340 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
3341 gst_event_ref() and gst_message_ref() functions again
3342 (ugly hack, please do fix if there's a better way besides
3343 overrides.txt, which doesn't seem to work).
3345 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3347 * libs/gst/check/gstcheck.h:
3348 add an assert for setting state to avoid lots of repetitive code
3351 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3353 * gst/gstvalue.c: (gst_value_serialize_flags):
3354 fix a leak if no flags are set
3355 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3358 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
3360 * docs/manual/basics-pads.xml:
3361 Expand a bit on caps and filtered links and update
3362 examples that were still using the no longer existing
3363 gst_pad_link_filtered() (#338206).
3365 2006-05-10 Wim Taymans <wim@fluendo.com>
3367 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3368 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3369 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
3370 (gst_collect_pads_stop):
3371 * libs/gst/base/gstcollectpads.h:
3372 No need to call _stop in _finalize.
3373 Iterate the main pad list in _finalize.
3374 Added some more debug.
3375 Free lists and data in the right order.
3376 Also free data whem doing _remove_pad when stopped for
3377 backward compatibility protect ::started with PAD_LOCK as
3380 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3382 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
3383 (gst_structure_parse_value):
3385 rename a method so that it actually says what it does better
3387 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
3389 * gst/gstevent.c: (_gst_event_initialize):
3390 * gst/gstformat.c: (_gst_format_initialize):
3391 make sure some essential types used by events are registered
3392 as part of gst_init()
3393 * gst/gstvalue.c: (gst_value_serialize_flags):
3394 if no flags are set, serialize them to a value that represents NONE
3395 so that deserializing them works
3396 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3397 add tests for serialization and deserialization of flags
3399 2006-05-10 Wim Taymans <wim@fluendo.com>
3401 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
3402 (gst_collect_pads_collect_range), (gst_collect_pads_available),
3403 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
3404 (gst_collect_pads_event), (gst_collect_pads_chain):
3407 Catch and return errors from the collect function
3408 Refuse data on eos pads.
3410 2006-05-10 Edward Hervey <edward@fluendo.com>
3412 * gst/gstinterface.h:
3413 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
3414 GInterface type checking.
3415 They were previously using non-defined macros.
3417 2006-05-09 Wim Taymans <wim@fluendo.com>
3419 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
3420 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
3421 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
3422 (gst_collect_pads_start), (gst_collect_pads_stop),
3423 (gst_collect_pads_peek), (gst_collect_pads_pop),
3424 (gst_collect_pads_available), (gst_collect_pads_read),
3425 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
3426 (gst_collect_pads_is_collected), (gst_collect_pads_event),
3427 (gst_collect_pads_chain):
3428 * libs/gst/base/gstcollectpads.h:
3429 Clean up the mess that is collectpads, add comments and
3430 FIXMEs where needed.
3431 Maintain a separate pad list so we can add pads while
3432 collecting the other ones. For this we need a new separate
3434 Fix memory leak in finalize.
3435 Refactor some weird code to set/unset pad flushing flags, mark
3437 Don't crash in _available, _read, _flush when we're EOS.
3439 * tests/check/libs/.cvsignore:
3440 Ignore adapter check binary.
3442 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3444 * gst/gstindex.c: (gst_index_resolver_get_type):
3445 * plugins/elements/gstfakesink.c:
3446 (gst_fake_sink_state_error_get_type):
3447 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
3448 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
3449 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
3450 Const-ify GEnumValue arrays.
3452 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3454 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3455 Add test case for flags + gst_buffer_make_metadata_writable().
3457 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3459 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
3460 gst_buffer_make_metadata_writable() should maintain the
3461 buffer flags (those that make sense at least) (see #340859).
3463 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3465 * tools/gst-inspect.c:
3466 * tools/gst-launch.c:
3467 * tools/gst-typefind.c:
3468 * tools/gst-xmlinspect.c:
3470 Fix up includes: need to include stdlib.h in tools.h for exit().
3472 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
3474 * gst/gsttaglist.c: (_gst_tag_initialize):
3476 API: add GST_TAG_IMAGE tag (#340721).
3478 2006-05-08 Wim Taymans <wim@fluendo.com>
3481 Added some docs for the segment query.
3483 2006-05-08 Wim Taymans <wim@fluendo.com>
3485 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3486 (gst_base_src_loop), (gst_base_src_change_state):
3487 Always push non-flushing serialized events in the streaming
3490 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
3492 * gst/gsterror.c: (_gst_stream_errors_init):
3493 Add a missing error string.
3495 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
3497 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
3498 Add applied_rate to the debug
3500 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
3501 Copy applied_rate into the outgoing NEWSEGMENT event
3503 2006-05-08 Wim Taymans <wim@fluendo.com>
3505 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
3507 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
3508 (gst_base_sink_change_state):
3509 call ::unlock before taking the PREROLL_LOCK so we can safely
3510 handle elements that lock in ::render.
3513 2006-05-08 Edward Hervey <edward@fluendo.com>
3515 * autogen.sh: (CONFIGURE_DEF_OPT):
3516 Darwin's libtoolize is in fact called glibtoolize.
3517 Adding glibtoolize to the list of accepted names for libtoolize.
3519 2006-05-08 Wim Taymans <wim@fluendo.com>
3521 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
3522 Unify error handling, don't post an error message
3523 when a push() returns EOS but perform our normal EOS
3524 handling code. Fixes #340772.
3526 2006-05-08 Wim Taymans <wim@fluendo.com>
3528 * docs/design/part-overview.txt:
3529 Make upsteam/downstream concepts more clear.
3530 Give an example of serialized/non-serialized events.
3532 * docs/design/part-events.txt:
3533 * docs/design/part-streams.txt:
3534 Mention applied_rate.
3536 * docs/design/part-trickmodes.txt:
3537 Mention applied rate, flesh out some more use cases.
3539 * gst/gstevent.c: (gst_event_new_new_segment),
3540 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
3541 (gst_event_parse_new_segment_full), (gst_event_new_tag),
3542 (gst_event_parse_tag), (gst_event_new_buffer_size),
3543 (gst_event_parse_buffer_size), (gst_event_new_qos),
3544 (gst_event_parse_qos), (gst_event_parse_seek),
3545 (gst_event_new_navigation):
3547 Add applied_rate field to NEWSEGMENT event.
3548 API: gst_event_new_new_segment_full()
3549 API: gst_event_parse_new_segment_full()
3551 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
3552 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
3553 (gst_segment_to_stream_time), (gst_segment_to_running_time):
3555 Add applied_rate to GstSegment structure.
3556 Make calculation of stream_time and running_time more correct
3557 wrt rate/applied_rate.
3559 API: GstSegment::applied_rate field
3560 API: gst_segment_set_newsegment_full();
3562 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
3563 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
3564 * libs/gst/base/gstbasetransform.c:
3565 (gst_base_transform_sink_eventfunc),
3566 (gst_base_transform_handle_buffer):
3567 Parse and use applied_rate in the GstSegment field.
3569 * tests/check/gst/gstevent.c: (GST_START_TEST):
3570 Add check for applied_rate field.
3572 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3573 (gstsegments_suite):
3574 Add more checks for various GstSegment operations.
3576 2006-05-08 Wim Taymans <wim@fluendo.com>
3578 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3579 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
3580 (gst_base_sink_get_position), (gst_base_sink_change_state):
3581 Store the sync time of the buffer end position separatly in a
3582 new variable eos_rtime so we can properly sync the EOS event.
3584 Fix the docs for gst_base_sink_set_qos_enabled().
3585 Don't set segment start to invalid value when we receive a
3586 non TIME newsegment.
3587 get closer to handling position reporting for negative rates
3590 2006-05-07 Stefan Kost <ensonic@users.sf.net>
3593 Docs about how to print caps for debug purposes.
3595 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
3596 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
3598 2006-05-07 Stefan Kost <ensonic@users.sf.net>
3601 use full enum names and preprend a '%' in docs strings to make recent
3602 gtk-doc turn that into a link
3604 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3606 * docs/manual/basics-bins.xml:
3607 * docs/manual/basics-bus.xml:
3608 * docs/manual/basics-pads.xml:
3609 Some typo fixes, some additions, some clarifications.
3611 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3613 * tools/gst-inspect.c: (main):
3614 * tools/gst-launch.c: (main):
3615 * tools/gst-run.c: (main):
3616 * tools/gst-typefind.c: (main):
3617 * tools/gst-xmlinspect.c: (main):
3618 Use the string passed to g_option_context_new() for
3619 what it's intended for - the program name is already
3622 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3624 * tools/Makefile.am:
3625 * tools/gst-inspect.c: (main):
3626 * tools/gst-launch.c: (main):
3627 * tools/gst-xmlinspect.c: (main):
3629 Add back --version command line option (#340460).
3631 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
3632 Add --version option and use GOption for argument parsing; refactor a
3633 bit; accept directories as arguments and recurse into them; lastly,
3634 print a decent error message when things go wrong.
3636 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3638 * docs/manual/basics-bins.xml:
3639 Don't mention GstThread (#340611)
3640 * docs/manual/basics-elements.xml:
3641 Update link to GObject tutorial (#340607)
3643 2006-05-05 Wim Taymans <wim@fluendo.com>
3646 * gst/gstminiobject.c:
3647 Add note about refcounting and miniobject/buffer writeability
3648 to docs. Fixes #340604
3650 * gst/gstelementfactory.h:
3651 Added some explanation about @klass.
3653 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3655 * docs/manual/intro-motivation.xml:
3656 * docs/manual/manual.xml:
3657 Avoid CORBA & Bonobo references (#340598)
3659 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3661 * docs/manual/basics-bus.xml:
3662 * docs/manual/basics-pads.xml:
3663 Fix up some inaccuracies and omissions (#340609)
3665 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
3667 * gst/gstghostpad.c:
3668 Small typo in docs (#340625)
3670 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3672 * gst/parse/Makefile.am:
3673 Make 'make -j' proof (see #340698).
3675 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
3678 Require GLib-2.8 here as well.
3680 2006-05-05 Wim Taymans <wim@fluendo.com>
3682 * gst/glib-compat.c:
3683 * gst/gst.c: (init_pre):
3684 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
3685 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
3686 (gst_object_dispatch_properties_changed):
3688 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
3689 * gst/gststructure.c: (gst_structure_set_valist):
3690 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
3691 Remove pre glib2.8 compatibility, fixes #340508
3693 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3696 Mention type of tags in doc blurbs.
3698 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
3700 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3701 (gst_pad_configure_src), (gst_pad_push):
3702 Restore acceptcaps checking behaviour now that good plugins have
3705 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
3707 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
3718 * gst/parse/Makefile.am:
3719 * libs/gst/base/gstadapter.c:
3720 * libs/gst/base/gstbasesrc.c:
3721 * libs/gst/base/gstpushsrc.c:
3722 * libs/gst/base/gsttypefindhelper.c:
3723 * plugins/elements/gstfakesrc.c:
3724 * plugins/elements/gstidentity.c:
3725 Make sure gstprivate.h and/or config.h are
3726 always included first, otherwise some of our
3727 defines (like _FILE_OFFSET_BITS) might be
3728 redefined in the system headers. Fixes build
3729 on opensolaris (#340016).
3731 2006-05-04 Wim Taymans <wim@fluendo.com>
3733 * docs/libs/gstreamer-libs-sections.txt:
3734 API: addition: gst_adapter_take_buffer()
3736 * libs/gst/base/gstadapter.c: (gst_adapter_push),
3737 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
3738 (gst_adapter_available_fast):
3739 * libs/gst/base/gstadapter.h:
3740 Prepare for optimizing the hell out of this hugely inefficient
3742 Added gst_adapter_take_buffer() so we can at least start thinking
3743 about subbuffering and merging.
3744 Added some comments.
3746 * tests/check/Makefile.am:
3747 * tests/check/libs/adapter.c: (GST_START_TEST),
3748 (gst_adapter_suite), (main):
3749 Added GstAdapter check.
3751 2006-05-04 Wim Taymans <wim@fluendo.com>
3753 * docs/design/part-overview.txt:
3754 Fix some typos, add blurb about buffer flags.
3756 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
3758 * docs/libs/gstreamer-libs-sections.txt:
3759 make sure GstBaseTransformClass shows up in the docs
3760 * libs/gst/base/gstbasetransform.c:
3761 * libs/gst/base/gstbasetransform.h:
3762 move docs so gtk-doc picks it up now
3764 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3766 * docs/libs/gstreamer-libs-sections.txt:
3767 add missing symbols to docs
3769 2006-05-02 Stefan Kost <ensonic@users.sf.net>
3771 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3772 back out the newsegment handling change, see #340060 for ongoing
3775 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
3777 * tools/gst-run.c: (get_candidates), (main):
3778 Fix wrong g_file_test() usage (see glib docs for why it doesn't
3779 work); fix typo in error message. Fixes #340079.
3781 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
3783 * common/Makefile.am:
3785 * docs/faq/Makefile.am:
3786 * docs/gst/Makefile.am:
3787 * docs/libs/Makefile.am:
3788 * docs/manual/Makefile.am:
3789 * docs/plugins/Makefile.am:
3790 * docs/pwg/Makefile.am:
3791 * docs/slides/Makefile.am:
3793 * common/upload.mak:
3794 move upload.mak to common
3796 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
3798 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3799 add more asserts on refcounts
3800 do more cleanup at end of tests
3801 fix test leaks showing in FC5
3803 2006-04-29 Stefan Kost <ensonic@users.sf.net>
3805 * plugins/elements/gsttypefindelement.c:
3806 (gst_type_find_element_handle_event):
3807 reverted wrong change and reflowed code to avoid others falling into
3810 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3812 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
3813 fix changelog entry about last collectpads change,
3814 add notes about proper fix
3816 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3819 * gst/gstregistry.c: (gst_registry_scan_path_level),
3820 (gst_registry_scan_path):
3821 * gst/gstregistry.h:
3822 only write out registry if it has changed, fixes #338339
3824 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3827 * gst/gstpipeline.c:
3828 * plugins/elements/gstcapsfilter.c:
3829 * plugins/elements/gstfakesink.c:
3830 * plugins/elements/gstfakesrc.c:
3831 * plugins/elements/gstfdsink.c:
3832 * plugins/elements/gstfdsrc.c:
3833 * plugins/elements/gstfilesink.c:
3834 * plugins/elements/gstfilesrc.c:
3835 * plugins/elements/gstidentity.c:
3836 * plugins/elements/gstqueue.c:
3837 * plugins/elements/gsttee.c:
3838 * plugins/elements/gsttypefindelement.c:
3839 (gst_type_find_element_handle_event):
3840 make GstElementDetails const
3842 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3844 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3845 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
3846 (gst_collect_pads_is_collected), (gst_collect_pads_event):
3847 more detailed debug and formatting cleanup,
3848 forward newsegments to src-pad (so that e.g. adder not eats them)
3850 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3852 * gst/gstutils.c: (gst_element_link_pads):
3855 2006-04-28 Stefan Kost <ensonic@users.sf.net>
3857 * libs/gst/controller/gstcontroller.c:
3858 (gst_controller_sync_values):
3860 * tests/check/libs/controller.c: (GST_START_TEST),
3861 (gst_controller_suite):
3862 a new test for live value handling
3864 2006-04-28 Wim Taymans <wim@fluendo.com>
3866 * gst/gstutils.c: (push_and_ref):
3867 Added some more docs.
3868 Fix refcount issue whith gst_element_found_tags() helper
3869 function. Fixes #338335
3871 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
3872 Added testsuite for gst_element_found_tags().
3874 2006-04-28 Michael Smith <msmith@fluendo.com>
3876 * gst/gstvalue.c: (gst_value_serialize_flags):
3877 Avoid NULL dereference when trying to serialize flags containing
3880 2006-04-28 Michael Smith <msmith@fluendo.com>
3882 * plugins/elements/gsttypefindelement.c:
3883 (gst_type_find_element_handle_event):
3884 If we get EOS before any data is accumulated, don't use
3885 uninitialised local variables.
3887 2006-04-28 Michael Smith <msmith@fluendo.com>
3889 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
3890 (gst_dp_event_from_packet):
3891 Fixes in reading/writing events over GDP (not currently used?) -
3892 dereferencing NULL events for unknown/invalid event types, memory
3893 leak, and change g_warning to GST_WARNING.
3895 2006-04-28 Wim Taymans <wim@fluendo.com>
3897 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
3898 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
3899 (gst_base_sink_get_position), (gst_base_sink_change_state):
3900 When frame dropping is enabled, we should not ignore frames
3902 Update some documentation.
3904 2006-04-28 Wim Taymans <wim@fluendo.com>
3906 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3907 (gst_base_src_send_event), (gst_base_src_change_state):
3908 Documentation updates.
3910 2006-04-28 Wim Taymans <wim@fluendo.com>
3912 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
3913 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
3914 handle EAGAIN, EINTR and short writes correctly. Also clean
3915 up some error cases, avoid a deadlock on bad file descriptors and
3916 use GST_DEBUG_OBJECT.
3919 2006-04-28 Wim Taymans <wim@fluendo.com>
3921 * gst/gstvalue.c: (gst_value_serialize_buffer),
3922 (gst_value_deserialize_buffer):
3923 Don't try to serialize a GValue with a NULL buffer.
3926 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
3927 Added check for serialisation of NULL buffers.
3929 2006-04-28 Wim Taymans <wim@fluendo.com>
3931 * gst/gstminiobject.c: (gst_value_take_mini_object):
3932 Taking a NULL miniobject is valid, fix the case where
3933 we try to unref the NULL miniobject.
3935 2006-04-28 Wim Taymans <wim@fluendo.com>
3937 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
3939 * gst/gstbin.c: (gst_bin_handle_message_func):
3941 Don't leak bin refcount when a state recalc is
3942 in progress and we delay another one #339808.
3944 2006-04-28 Wim Taymans <wim@fluendo.com>
3946 * docs/design/part-TODO.txt:
3947 Mention QoS as an ongoing work item.
3949 * docs/design/part-buffering.txt:
3950 New doc about buffering that needs to be fleshed out
3953 * docs/design/part-qos.txt:
3954 More QoS policy for decoders/demuxers/transforms
3956 * docs/design/part-trickmodes.txt:
3959 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
3964 === release 0.10.5 ===
3966 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
3969 releasing 0.10.5, "Fogo"
3971 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
3973 patch by: Wim Taymans
3975 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
3976 (gst_pad_configure_src), (gst_pad_push):
3977 * gst/gstpipeline.c: (gst_pipeline_init):
3978 Fix internal data flow errors. Fixes #338711.
3980 2006-04-12 Wim Taymans <wim@fluendo.com>
3982 * tests/check/gst/gstelement.c: (GST_START_TEST):
3983 Don't leak the factory.
3985 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
3988 * win32/common/config.h:
3991 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
3993 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3994 (gst_controller_unset_all):
3995 Free allocated GstTimedValues when freeing list nodes.
3996 Should fix leaks 'make check-valgrind' complains about.
3998 * win32/common/libgstcontroller.def:
3999 Add gst_controller_unset_all.
4001 2006-04-11 Stefan Kost <ensonic@users.sf.net>
4003 * docs/libs/gstreamer-libs-sections.txt:
4004 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
4005 (gst_controller_unset_all):
4006 * libs/gst/controller/gstcontroller.h:
4007 API: Added new method gst_controller_unset_all()
4008 fixed gst_controller_unset()
4009 * tests/check/libs/controller.c: (GST_START_TEST),
4010 (gst_controller_suite):
4011 Added two testcases for new and fixed method
4013 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
4015 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
4016 MSG_DONTWAIT is not defined on Cygwin, so work
4017 around that (fixes #317048).
4019 2006-04-11 Wim Taymans <wim@fluendo.com>
4021 * gst/gstelementfactory.c: (gst_element_register),
4022 (gst_element_factory_create), (gst_element_factory_make):
4025 Updated docs (Fixes #131079)
4027 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
4030 * tests/check/gst/gstelement.c: (GST_START_TEST),
4031 (gst_element_suite):
4032 Added testcase for elementfactory class field.
4034 2006-04-10 Wim Taymans <wim@fluendo.com>
4037 Added some more docs.
4039 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
4040 (gst_base_sink_reset_qos):
4041 Calculate more accurate rate values.
4043 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
4045 * gst/gst_private.h:
4046 add a new #ifdef to use __declspec(dllimport) only for
4047 other modules and not for gstreamer core
4048 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
4049 use gst_guint64_to_gdouble for conversion
4050 * win32/common/libgstreamer.def:
4051 add new exported functions
4052 * win32/vs6/gst_inspect.dsp:
4053 * win32/vs6/gst_launch.dsp:
4054 * win32/vs6/libgstbase.dsp:
4055 * win32/vs6/libgstcontroller.dsp:
4056 * win32/vs6/libgstcoreelements.dsp:
4057 * win32/vs6/libgstdataprotocol.dsp:
4058 * win32/vs6/libgstnet.dsp:
4059 update project files
4061 2006-04-08 Stefan Kost <ensonic@users.sf.net>
4063 * gst/gstbuffer.c: (gst_subbuffer_class_init):
4064 * gst/gstclock.c: (gst_clock_class_init):
4065 * gst/gstelement.c: (gst_element_class_init):
4066 * gst/gstindex.c: (gst_index_class_init):
4067 * gst/gstindexfactory.c: (gst_index_factory_class_init):
4068 * gst/gstobject.c: (gst_object_class_init),
4069 (gst_signal_object_class_init):
4070 * gst/gstpad.c: (gst_pad_class_init):
4071 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
4072 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
4073 * gst/gstregistry.c: (gst_registry_class_init):
4074 * gst/gstsystemclock.c: (gst_system_clock_class_init):
4075 * gst/gsttask.c: (gst_task_class_init):
4076 * gst/gstxml.c: (gst_xml_class_init):
4077 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
4078 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4079 (gst_base_src_loop):
4080 * libs/gst/controller/gstcontroller.c:/
4081 (_gst_controller_class_init):
4082 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4083 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
4084 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
4085 * tests/old/examples/plugins/example.c: (gst_example_class_init):
4086 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
4087 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
4089 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
4091 * gst/gstpad.c: (gst_pad_link):
4092 Must set peer pads before calling the link function, otherwise
4093 a task started from a link function might get a flow-not-linked
4094 result when trying to push because the other thread where the
4095 linking happens hasn't had a chance to set the peers yet. This
4096 might happen for example when a queue gets linked to a downstream
4097 element, as queue starts a streaming task when its source pad
4098 gets linked. Happens in real life when playing back flac/musepack
4099 files in playbin (#332390).
4101 2006-04-08 Stefan Kost <ensonic@users.sf.net>
4105 * libs/gst/base/gstadapter.h:
4106 * libs/gst/base/gstbasesink.h:
4107 * libs/gst/base/gstbasesrc.h:
4108 * libs/gst/base/gstbasetransform.h:
4109 * libs/gst/base/gstcollectpads.h:
4110 * libs/gst/base/gstpushsrc.h:
4111 Fix broken GObject macros
4113 2006-04-07 Wim Taymans <wim@fluendo.com>
4115 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4116 Initialize start and stop times, thanks valgrind.
4118 2006-04-07 Wim Taymans <wim@fluendo.com>
4120 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4121 Be a bit nicer to badly behaving upstream elements that expect
4122 us to deal with non TIME segments and timestamps (such as fakesrc
4125 2006-04-07 Wim Taymans <wim@fluendo.com>
4128 Small documentation clarification about the signal watch.
4130 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4131 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4132 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4133 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
4134 (gst_base_sink_get_position_last),
4135 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
4136 Convert and store timestamps in stream time and running time, the
4137 raw timestamps are not usefull, also document this better.
4138 Use different window sizes for good and bad QoS observations so
4139 we react to badness a little quicker.
4140 Keep track of the amount of rendered and dropped buffers.
4141 Send QoS timestamps in running time.
4143 * libs/gst/base/gstbasetransform.c:
4144 (gst_base_transform_sink_eventfunc),
4145 (gst_base_transform_handle_buffer):
4146 Compare QoS timestamps against running time.
4148 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
4153 2006-04-06 Michael Smith <msmith@fluendo.com>
4155 * gst/gstpad.c: (gst_pad_set_property):
4156 Use g_value_get_object() instead of g_value_dup_gst_object(),
4157 to avoid double-reffing the pad template (which we then sink,
4158 so this worked previously if (and only if) the pad template
4161 * gst/gstpadtemplate.c: (gst_pad_template_init),
4162 (gst_pad_template_pad_created):
4163 Never return floating references to pad templates, create
4164 them as initially-sunken.
4166 Document an extra function (and make this stop sinking our
4167 pad template, since that is now guaranteed to do nothing,
4168 since we created it sunken).
4170 * gst/gstghostpad.c:
4173 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
4175 * gst/gstinfo.c: (__gst_in_valgrind):
4178 * plugins/elements/gsttypefindelement.c:
4179 (gst_type_find_element_chain):
4180 Don't leak buffer caps.
4182 2006-04-06 Michael Smith <msmith@fluendo.com>
4184 * gst/parse/grammar.y:
4185 Fix a leak in parse-launch for any source-or-sink named element
4188 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
4189 Unref the pipeline if it exists after we've failed parsing.
4191 2006-04-05 Michael Smith <msmith@fluendo.com>
4193 * gst/gstpipeline.c: (gst_pipeline_init):
4194 When we create a pipeline bus, initially create it in flushing mode.
4195 Fixes leaks in at least one test, and makes a new pipeline work the
4196 same as one that has gone to READY and then back to NULL.
4201 2006-04-05 Michael Smith <msmith@fluendo.com>
4203 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4204 Unref a pad we reffed.
4205 * tests/check/gst/gstutils.c: (GST_START_TEST):
4208 2006-04-05 Michael Smith <msmith@fluendo.com>
4210 * gst/gstquery.c: (gst_query_set_formats),
4211 (gst_query_set_formatsv):
4212 Fix leaking GValues in queries, as shown by valgrind/testsuite.
4214 2006-04-05 Michael Smith <msmith@fluendo.com>
4216 * tests/check/generic/sinks.c: (GST_START_TEST):
4217 Fix a variety of memleaks in sinks check, which are only sometimes
4218 shown by running the tests under valgrind (weird?).
4220 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
4222 * docs/version.entities.in:
4223 Fix the substituted entity name after thomas' changes on the
4226 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4228 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
4231 2006-04-05 Andy Wingo <wingo@pobox.com>
4233 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
4235 * libs/gst/base/gstbasetransform.c
4236 (gst_base_transform_sink_eventfunc): When resetting our segment on
4237 FLUSH_STOP, also update the flag saying we haven't seen a
4240 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
4242 Patch by: Paolo Borelli <pborelli at katamail dot com>
4244 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
4245 (gst_plugin_check_license):
4246 minor clean-ups: G_DEFINE_TYPE already takes care of the
4247 parent_class stuff, no need to do it twice. Mark array of
4248 license strings as constant. (#337103)
4250 2006-04-04 Michael Smith <msmith@fluendo.com>
4252 * tools/gst-inspect.c: (print_element_list):
4253 Free the right plugin list; fixes a memory leak.
4255 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
4257 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
4259 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4260 Don't error out on empty buffers (#336945).
4262 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
4264 * docs/libs/gstreamer-libs-sections.txt:
4266 * libs/gst/base/gstbasesink.c:
4267 * libs/gst/base/gstbasesink.h:
4268 * libs/gst/base/gstbasesrc.c:
4269 * libs/gst/base/gstbasesrc.h:
4270 Documentation updates. Make BaseSink and BaseSrc docs contain the
4271 class structure so that people can actually see the prototypes for
4272 virtual functions they're supposed to be overriding.
4274 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
4276 * plugins/elements/gsttypefindelement.c:
4277 (gst_type_find_element_chain):
4278 More debug info; when skipping typefinding, send cached
4279 events in all cases.
4281 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
4284 use new AS_VERSION and AS_NANO macros
4285 * gst/gst-i18n-lib.h:
4288 * gst/gstversion.h.in:
4289 * win32/common/config.h:
4290 * win32/common/config.h.in:
4293 2006-03-31 Michael Smith <msmith@fluendo.com>
4295 * plugins/elements/gsttypefindelement.c:
4296 (gst_type_find_element_chain):
4297 Do not typefind content if the buffers already have caps.
4298 Neccesary for icydemux (#333657), and the right thing to do anyway.
4300 2006-03-30 Wim Taymans <wim@fluendo.com>
4302 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4303 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
4304 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
4305 (gst_base_sink_record_qos_observation),
4306 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4307 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4308 (gst_base_sink_change_state):
4309 More QoS measurements as described in the design doc.
4310 Get rid of ringbuffer with observations, running average is
4311 more simple and equally good.
4312 Calculates valid proportion now.
4313 Added beginning of flood measurement.
4315 2006-03-29 Wim Taymans <wim@fluendo.com>
4317 * docs/design/part-qos.txt:
4319 Small documentation updates and additions.
4321 2006-03-29 Wim Taymans <wim@fluendo.com>
4323 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4324 (gst_base_src_send_event), (gst_base_src_loop),
4325 (gst_base_src_change_state):
4326 Perform the EOS logic when we reach the segment stop position.
4327 Fix compilation on gcc4.1
4329 2006-03-29 Wim Taymans <wim@fluendo.com>
4331 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
4333 * plugins/elements/gstqueue.c: (gst_queue_init),
4334 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
4335 (gst_queue_set_property):
4336 * plugins/elements/gstqueue.h:
4337 In queue, when EOS is received, if minimum threshold > max_size -
4338 current_level, there is chance that queue blocks forever in conditional
4339 item del wait. This is because the queue is not emptied completely due
4340 to minimum threshold. Here is another approach. Instead of setting
4341 cur_levels to max in EOS, just zero all minimum threshold levels. This
4342 should make sure that queue gives out all data. When going to READY
4343 (stop) state, just reset the original minimum threshold levels.
4346 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
4348 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
4349 (gst_type_find_element_handle_event),
4350 (gst_type_find_element_send_cached_events),
4351 (gst_type_find_element_change_state):
4352 * plugins/elements/gsttypefindelement.h:
4353 When typefinding is done in push mode, we should cache
4354 events we receive during typefinding instead of just
4355 dropping them (e.g. newsegment, custom events from
4356 dvdreadsrc etc.) and then send them out once we've
4357 determined the type of the stream (and decodebin
4358 has had a chance to plug in a decoder/demuxer).
4360 2006-03-27 Wim Taymans <wim@fluendo.com>
4362 * docs/design/part-qos.txt:
4365 2006-03-27 Wim Taymans <wim@fluendo.com>
4367 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
4369 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
4370 (gst_base_src_send_event), (gst_base_src_change_state):
4371 Handle element seek correctly when we are streaming.
4374 2006-03-24 Michael Smith <msmith@fluendo.com>
4376 * docs/faq/gst-uninstalled:
4377 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
4378 allow you to correctly run intalled applications built against old
4379 core, using plugins that require updated core (e.g. running
4380 installed totem against a full uninstalled gstreamer stack)
4382 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4384 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
4387 2006-03-24 Wim Taymans <wim@fluendo.com>
4389 * docs/gst/gstreamer-sections.txt:
4390 Rearrange the order of the methods so that related methods
4391 are grouped together in sections.
4393 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4396 Little clarification in the docs
4398 2006-03-24 Stefan Kost <ensonic@users.sf.net>
4402 * plugins/elements/gstidentity.c:
4403 * plugins/elements/gstqueue.c:
4404 * plugins/elements/gsttee.c:
4405 * plugins/elements/gsttypefindelement.c:
4406 GST_ELEMENT_DETAILS formatting
4408 2006-03-24 Wim Taymans <wim@fluendo.com>
4410 * libs/gst/base/gstbasesink.h:
4411 Only add fields, not insert or we break ABI.
4413 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4415 * win32/common/libgstbase.def:
4416 * win32/common/libgstreamer.def:
4417 Update, add recently added functions.
4419 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4421 * docs/gst/gstreamer-sections.txt:
4422 * gst/gstutils.c: (gst_pad_query_peer_position),
4423 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
4425 API: add some new utility functions:
4426 - gst_pad_query_peer_position()
4427 - gst_pad_query_peer_duration()
4428 - gst_pad_query_peer_convert()
4430 2006-03-23 Wim Taymans <wim@fluendo.com>
4432 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4433 (gst_base_sink_init), (gst_base_sink_finalize),
4434 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
4435 (gst_base_sink_set_property), (gst_base_sink_get_property),
4436 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
4437 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
4438 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
4439 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
4440 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
4441 (gst_base_sink_preroll_object), (gst_base_sink_event),
4442 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
4443 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
4444 (gst_base_sink_query), (gst_base_sink_change_state):
4445 Decouple max-lateness and the fact that QoS messages are generated
4446 with a new property (qos).
4447 added API: GstBaseSink::async_play()
4448 Add vmethod so subclasses can be notified of ASYNC playing
4450 Collect timestamp start and stop to report better current
4451 position in EOS/PLAYING/PAUSED/READY/NULL.
4452 Refactor QoS/frame dropping and other measurements.
4453 API: GstBaseSrc::qos
4456 * libs/gst/base/gstbasesink.h:
4457 Added Private struct.
4458 API: gst_base_sink_set_qos_enabled()
4459 API: gst_base_sink_is_qos_enabled()
4461 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
4463 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
4464 If compiling against GLib-2.8 or newer, try to read the
4465 registry file using GMappedFile first before falling back
4466 to fopen() + fread() (#332151).
4468 2006-03-22 Wim Taymans <wim@fluendo.com>
4470 * gst/gstinfo.c: (gst_debug_set_active),
4471 (gst_debug_category_set_threshold):
4472 Disable debugging unless explicitly activated.
4475 2006-03-22 Wim Taymans <wim@fluendo.com>
4477 * gst/gstelement.c: (gst_element_set_locked_state),
4478 (gst_element_dispose):
4479 Cleanup the error case.
4481 * gst/gstobject.c: (gst_object_dispose):
4482 print a critical when some object was disposed with
4483 a parent, also revive the object since it might
4486 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
4488 * tools/gst-launch.1.in:
4491 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
4494 * tests/check/Makefile.am:
4495 disable some tests when we don't have a registry
4496 * tests/check/gst/gstutils.c: (gst_utils_suite):
4497 don't build the part that needs parsing
4499 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
4502 * tests/examples/Makefile.am:
4503 fix --disable-parse build
4505 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4507 * tools/gst-feedback.1.in:
4508 Fix typo: s/feeback/feedback/ (#133494).
4510 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4512 * tools/Makefile.am:
4513 * tools/gst-launch.1.in:
4514 Add FILES section and correct entry about GST_REGISTRY_PATH
4515 environment variable (#133495; #133494).
4517 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4519 * tools/Makefile.am:
4520 * tools/gst-md5sum.1.in:
4521 * tools/gst-md5sum.c:
4522 Remove gst-md5sum and man page (the md5sink element
4523 required was removed ages ago)
4525 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4527 * gst/gststructure.c: (gst_structure_id_set_value):
4528 Make sure that string fields in structures/taglists
4529 contain valid UTF-8 - we don't want to pass rubbish to
4530 applications because of a buggy plugin (cp. #334167).
4532 2006-03-21 Edward Hervey <edward@fluendo.com>
4534 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
4535 (gst_bin_handle_message_func):
4536 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
4537 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
4538 (gst_element_set_bus_func):
4539 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
4540 * gst/gstminiobject.c: (gst_value_set_mini_object),
4541 (gst_value_take_mini_object):
4542 * gst/gstpad.c: (gst_pad_set_pad_template):
4543 * gst/gstpipeline.c: (gst_pipeline_dispose),
4544 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
4545 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
4546 (gst_collect_pads_chain):
4547 * libs/gst/net/gstnettimeprovider.c:
4548 (gst_net_time_provider_set_property):
4549 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
4550 It's in fact all issues with gst_*object_replace().
4552 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
4554 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
4556 * pkgconfig/gstreamer-check-uninstalled.pc.in:
4557 * pkgconfig/gstreamer-check.pc.in:
4558 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
4560 2006-03-21 Edward Hervey <edward@fluendo.com>
4565 gst_[buffer|event|message]_ref() macros are replaced by a static
4566 inline functions because gcc-4.1 will about if the return value
4568 * tests/check/gst/gstevent.c: (event_probe):
4569 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
4571 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
4574 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
4575 the type' case. (Closes: #335195 for now). In the future, when we
4576 depend on GLib 2.10, we could also intern the type name using
4577 g_intern_static_string()
4579 2006-03-20 Wim Taymans <wim@fluendo.com>
4581 * gst/gstbin.c: (gst_bin_handle_message_func),
4582 (bin_query_max_init), (bin_query_position_fold),
4583 (bin_query_position_done), (gst_bin_query):
4584 Position query should also take max of all streams.
4586 2006-03-20 Wim Taymans <wim@fluendo.com>
4588 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4589 (gst_fake_src_finalize):
4590 Fix leaks in fakesrc.
4592 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
4593 Fix leaks in the testcase.
4595 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
4597 * gst/gst_private.h:
4598 add win32 specific import decoration(__declspec(dllimport))
4599 for all extern GstDebugCategory * variables
4600 * win32/common/libgstbase.def:
4601 * win32/common/libgstcontroller.def:
4602 * win32/common/libgstreamer.def:
4603 Add some exports, remove empty lines
4604 * win32/common/libgstdataprotocol.def:
4605 * win32/common/libgstdataprotocol.dsp:
4606 * win32/common/libgstnet.def:
4607 * win32/common/libgstnet.dsp:
4608 new project files and exportation files added
4610 2006-03-19 Wim Taymans <wim@fluendo.com>
4612 * tests/check/libs/basesrc.c: (eos_event_counter):
4613 Use proper return value for probe.
4615 2006-03-17 Wim Taymans <wim@fluendo.com>
4617 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4619 Don't leak buffers, caps and pads on negotiation errors.
4621 2006-03-16 Stefan Kost <ensonic@users.sf.net>
4624 * docs/faq/dependencies.xml:
4625 * docs/faq/developing.xml:
4627 * docs/faq/general.xml:
4628 * docs/faq/getting.xml:
4629 * docs/faq/legal.xml:
4630 * docs/faq/troubleshooting.xml:
4631 * docs/faq/using.xml:
4632 Faq review and update.
4634 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
4636 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
4638 Don't pound the cpu to pieces by checking get_caps when accept_caps
4639 is called with the same caps as the pad already has.
4640 Use GST_DEBUG_OBJECT when outputting caps change information.
4642 2006-03-15 Wim Taymans <wim@fluendo.com>
4644 * gst/gstclock.c: (gst_clock_class_init):
4647 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
4652 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
4653 (gst_pad_accept_caps), (gst_pad_configure_sink),
4654 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
4655 Make the default acceptcaps behaviour be to check the requested
4656 caps against the gst_pad_get_caps output.
4658 Ensure that gst_pad_accept_caps is used to check caps when a pad
4659 doesn't have a setcaps function, so that pads automatically refuse
4660 caps that they don't allow in their pad template. (Fixes #332986)
4662 When a buffer with attached caps is pushed, ensure that the source
4663 pad receives those caps even if the element didn't call
4664 gst_pad_set_caps first.
4666 2006-03-15 Wim Taymans <wim@fluendo.com>
4668 * libs/gst/base/gstadapter.c:
4671 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
4673 * win32/common/libgstbase.def:
4674 * win32/common/libgstcontroller.def:
4675 * win32/common/libgstreamer.def:
4676 Add a whole bunch of missing functions (#334434).
4678 2006-03-14 Wim Taymans <wim@fluendo.com>
4680 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
4681 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
4682 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
4683 Better debug info when we receive a segment event.
4684 Reorganize a bit so we can pass the get_times() results around.
4685 Use the segment format when calculating the running time.
4686 Don't do QoS is sync is disabled or we have no clock or the
4687 element does not want us to sync to the clock.
4688 Don't drop buffers if QoS is disabled for now.
4690 2006-03-14 Wim Taymans <wim@fluendo.com>
4692 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
4693 Marked the stats property as unimplemented so people don't get
4695 Add debug message when regression goes wrong.
4696 Added some more docs.
4698 2006-03-14 Wim Taymans <wim@fluendo.com>
4700 * gst/gstsegment.c: (gst_segment_to_stream_time):
4701 Return correct return type in case of errors.
4703 2006-03-14 Wim Taymans <wim@fluendo.com>
4705 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
4706 Don't segfault on invalid formats.
4708 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4710 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
4711 Can't use gst_segment_to_running_time() when the segment
4712 is not in GST_TIME_FORMAT (like with filesink, for example).
4713 Stops flac encoding pipelines from spewing critical warnings
4716 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
4718 * gst/gstpipeline.c: (gst_pipeline_class_init):
4719 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
4721 * plugins/elements/gsttypefindelement.c:
4722 (gst_type_find_element_handle_event):
4723 Don't try to typefind empty streams.
4725 2006-03-14 Wim Taymans <wim@fluendo.com>
4727 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
4728 (gst_base_sink_do_qos):
4729 Separate QoS calculation.
4730 Only drop buffers when lateness is bigger than the
4731 duration of the buffer.
4733 2006-03-13 Wim Taymans <wim@fluendo.com>
4735 * gst/gstpipeline.c: (gst_pipeline_set_property),
4736 (gst_pipeline_get_property), (do_pipeline_seek),
4737 (gst_pipeline_change_state), (gst_pipeline_set_delay),
4738 (gst_pipeline_get_delay):
4739 Don't deadlock when reading properties.
4741 2006-03-13 Wim Taymans <wim@fluendo.com>
4743 * libs/gst/base/gstbasetransform.c:
4744 (gst_base_transform_class_init), (gst_base_transform_init),
4745 (gst_base_transform_sink_event),
4746 (gst_base_transform_sink_eventfunc),
4747 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
4748 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4749 (gst_base_transform_set_property),
4750 (gst_base_transform_get_property),
4751 (gst_base_transform_change_state), (gst_base_transform_update_qos),
4752 (gst_base_transform_set_qos_enabled),
4753 (gst_base_transform_is_qos_enabled):
4754 * libs/gst/base/gstbasetransform.h:
4755 Make basetransform virtual method for src events too.
4756 Handle QOS in basetransform.
4757 API: gst_base_transform_update_qos()
4758 API: gst_base_transform_set_qos_enabled()
4759 API: gst_base_transform_is_qos_enabled()
4761 2006-03-13 Wim Taymans <wim@fluendo.com>
4763 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4764 (gst_base_sink_do_sync):
4766 Use QOS debug category.
4768 2006-03-13 Wim Taymans <wim@fluendo.com>
4770 * plugins/elements/gstqueue.c:
4771 Very small doc update.
4773 2006-03-13 Wim Taymans <wim@fluendo.com>
4775 * gst/gst_private.h:
4776 * gst/gstinfo.c: (_gst_debug_init):
4777 Added QOS debug category
4779 2006-03-13 Wim Taymans <wim@fluendo.com>
4781 * docs/gst/gstreamer-sections.txt:
4782 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
4784 * gst/gstbus.c: (gst_bus_class_init):
4787 * gst/gstelement.c: (gst_element_set_locked_state):
4789 Documentation updates.
4791 * gst/gstpipeline.c: (gst_pipeline_get_type),
4792 (gst_pipeline_class_init), (gst_pipeline_init),
4793 (gst_pipeline_dispose), (gst_pipeline_set_property),
4794 (gst_pipeline_get_property), (do_pipeline_seek),
4795 (gst_pipeline_send_event), (gst_pipeline_change_state),
4796 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
4797 (gst_pipeline_get_delay):
4798 * gst/gstpipeline.h:
4799 Added methods for setting the delay.
4800 API: gst_pipeline_set_delay()
4801 API: gst_pipeline_get_delay()
4802 Add pipeline debug category
4805 Don't reset stream time when seek failed.
4807 2006-03-13 Wim Taymans <wim@fluendo.com>
4809 * docs/design/draft-klass.txt:
4810 * docs/design/part-clocks.txt:
4811 * docs/design/part-events.txt:
4812 * docs/design/part-gstbin.txt:
4813 * docs/design/part-gstpipeline.txt:
4814 * docs/design/part-messages.txt:
4815 * docs/design/part-negotiation.txt:
4816 * docs/design/part-overview.txt:
4817 * docs/design/part-preroll.txt:
4818 * docs/design/part-seeking.txt:
4819 * docs/design/part-states.txt:
4820 * docs/design/part-streams.txt:
4821 Documentation updates.
4823 2006-03-12 Julien MOUTTE <julien@moutte.net>
4825 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
4826 us to leak strings...
4828 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
4830 * libs/gst/net/gstnettimeprovider.c:
4832 * win32/common/config.h:
4835 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
4837 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
4840 Don't check for libgnomeui (leftover from old examples
4841 that aren't built or disted any longer) (#334303).
4843 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
4845 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
4846 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
4847 Emit RESOURCE_NO_SPACE_LEFT error here as well when
4848 there's no space left on the device.
4850 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
4853 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
4854 to cast the input to GstClockTime before comparing with
4855 another GstClockTime value.
4857 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
4862 === release 0.10.4 ===
4864 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
4867 releasing 0.10.4, "Light"
4869 2006-03-10 Michael Smith <msmith@fluendo.com>
4871 * libs/gst/dataprotocol/dataprotocol.c:
4872 Fix docs for dataprocotol to not get the return types completely
4873 wrong for a few functions.
4875 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4877 * docs/gst/gstreamer-sections.txt:
4878 * gst/gstpipeline.c: (gst_pipeline_class_init),
4879 (gst_pipeline_init), (gst_pipeline_set_property),
4880 (gst_pipeline_get_property), (gst_pipeline_change_state),
4881 (gst_pipeline_set_auto_flush_bus),
4882 (gst_pipeline_get_auto_flush_bus):
4883 * gst/gstpipeline.h:
4884 Add new API: gst_pipeline_set_auto_flush_bus() and
4885 gst_pipeline_get_auto_flush_bus() to disable automatic
4886 flushing of the pipeline's GstBus when going from READY
4887 to NULL state (#332045).
4889 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4891 * docs/gst/gstreamer-sections.txt:
4892 * gst/gsturi.c: (gst_uri_has_protocol):
4894 Add new API: gst_uri_has_protocol() (#333779).
4896 2006-03-09 Wim Taymans <wim@fluendo.com>
4898 * gst/gstclock.c: (gst_clock_entry_new),
4899 (gst_clock_id_compare_func), (gst_clock_id_wait),
4900 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
4901 (gst_clock_init), (gst_clock_get_internal_time),
4902 (gst_clock_set_master), (do_linear_regression),
4903 (gst_clock_add_observation), (gst_clock_set_property):
4907 Fix a possible segfault when the window-size is made smaller.
4908 Calculate jitter before performing the clock wait. Ideally
4909 the clock implementation should calculate jitter but we need
4910 API breakage for that.
4912 * gst/gstsystemclock.c: (gst_system_clock_init):
4915 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4916 Remove leftover else
4918 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4919 (gst_systemclock_suite):
4920 Added check to test GST_CLOCK_DIFF.
4922 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
4924 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
4925 (gst_type_find_helper_get_range):
4926 If we are provided with the size, we should implement
4927 GstTypeFind::get_length, so that typefind functions who
4928 want to can actually peek at the middle of a file.
4930 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
4932 * docs/manual/advanced-dataaccess.xml:
4933 Add some very very basic error checking.
4935 * docs/pwg/appendix-checklist.xml:
4936 Some updates to the list of things to check when writing an element.
4938 2006-03-08 Wim Taymans <wim@fluendo.com>
4940 * docs/design/part-element-transform.txt:
4941 Added some docs about the design of tranform elements.
4943 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4944 (gst_base_src_loop), (gst_base_src_change_state):
4945 Mark buffers with the DISCONT flag.
4947 2006-03-08 Michael Smith <msmith@fluendo.com>
4949 * gst/gstregistry.h:
4950 * gst/gstregistryxml.c: (gst_registry_save),
4951 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
4952 (gst_registry_xml_save_pad_template),
4953 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
4954 (gst_registry_xml_write_cache):
4955 Rewrite registry-saving to avoid race conditions and check for
4958 2006-03-08 Wim Taymans <wim@fluendo.com>
4960 * libs/gst/base/gstbasetransform.c:
4961 (gst_base_transform_transform_caps),
4962 (gst_base_transform_transform_size),
4963 (gst_base_transform_prepare_output_buffer),
4964 (gst_base_transform_get_unit_size),
4965 (gst_base_transform_buffer_alloc),
4966 (gst_base_transform_handle_buffer),
4967 (gst_base_transform_change_state):
4968 Cleanups, separate normal flow from errors, add sensible
4970 Don't try to renegotiate when allocating an output buffer.
4971 Also copy DISCONT buffer flag when copying a buffer.
4972 Reset the transform after we finish streaming, not during.
4974 2006-03-08 Wim Taymans <wim@fluendo.com>
4976 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
4977 Use last buffer timestamp in qos message.
4979 2006-03-07 Wim Taymans <wim@fluendo.com>
4981 Patch by: Christophe Fergeau
4983 * docs/pwg/advanced-tagging.xml:
4984 * docs/pwg/building-pads.xml:
4987 2006-03-07 Wim Taymans <wim@fluendo.com>
4989 * docs/libs/gstreamer-libs-sections.txt:
4990 Added basesink new methods.
4994 Docs updates. Flesh out the QoS docs.
4996 * libs/gst/base/gstadapter.c:
4997 Small doc clarification about ownership and flushing.
4999 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
5000 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
5001 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
5002 (gst_base_sink_get_property), (gst_base_sink_do_sync):
5003 * libs/gst/base/gstbasesink.h:
5005 Added new methods to allow subclass to control max-lateness
5007 Generate very basic QoS events based on last sync observation.
5008 Updated docs, fix typo, added some QoS blurb.
5010 * libs/gst/base/gstbasesrc.c:
5011 Remove obsolete _get_state() calls from docs.
5013 2006-03-07 Wim Taymans <wim@fluendo.com>
5015 * docs/libs/gstreamer-libs-sections.txt:
5016 * libs/gst/base/gstbasetransform.h:
5017 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
5018 Fix docs for GstBaseSrc.
5020 2006-03-07 Wim Taymans <wim@fluendo.com>
5022 * docs/gst/gstreamer-sections.txt:
5025 * libs/gst/base/gstbasetransform.h:
5026 Small documentation fixes.
5028 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
5031 Document thread-unsafety of gst_value_register_foo_func()
5032 when used at the same time as gst_value_foo() (#322628).
5034 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
5036 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
5037 (gst_push_src_check_get_range):
5038 Push sources don't support pull mode by default.
5040 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
5042 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5043 (gst_base_src_init), (gst_base_src_pad_check_get_range),
5044 (gst_base_src_default_check_get_range):
5045 * libs/gst/base/gstbasesrc.h:
5046 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
5047 provide default implementation, and rename
5048 gst_base_src_check_get_range() to
5049 gst_base_src_pad_check_get_range() for clarity.
5051 2006-03-06 Wim Taymans <wim@fluendo.com>
5053 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
5054 Make property overridable.
5056 2006-03-06 Wim Taymans <wim@fluendo.com>
5058 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
5059 (gst_base_sink_init), (gst_base_sink_set_property),
5060 (gst_base_sink_get_property), (gst_base_sink_do_sync):
5061 * libs/gst/base/gstbasesink.h:
5062 API addition: Make max-lateness a property.
5064 2006-03-06 Wim Taymans <wim@fluendo.com>
5066 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
5067 (gst_base_sink_do_sync), (gst_base_sink_render_object):
5068 Don't ever draw a frame that is >10ms late.
5070 2006-03-06 Michael Smith <msmith@fluendo.com>
5072 * gst/gstmessage.c: (_gst_message_copy):
5073 When copying a message, set the parent_refcount of the enclosed
5074 structure to point at the copy, not the original message.
5076 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
5078 Patch by: Christophe Fergeau
5081 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
5082 usable in c++ code (#333417)
5084 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
5087 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
5089 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
5091 * libs/gst/base/gstbasetransform.c:
5092 (gst_base_transform_transform_caps):
5093 Make sure caps are writable before passing them to
5096 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
5099 Fix some minor docs errors.
5101 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
5103 Patch by: Ross Burton <ross at burtonini dot com>
5105 * gst/gsterror.c: (_gst_resource_errors_init):
5107 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
5109 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
5112 Add a check and output a g_warning when GStreamer is built
5113 against GLib 2.6 but running against 2.8 or higher, and vice
5114 versa. (Closes: #323542)
5116 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
5118 * gst/parse/parse.l:
5119 Commit patch for parse_launch syntax from #331255. Removes
5120 support for quoted strings and mimetypes when writing filtered
5121 caps. See the bug report for more details - I'm pretty sure this
5122 obscure feature is not in use by _anyone_ anywhere.
5124 With this simple change, the size of the gstreamer.so here
5125 drops from 2193KB to 1565KB.
5127 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
5129 * plugins/elements/gsttypefindelement.h:
5130 * plugins/elements/gsttypefindelement.c:
5131 (gst_type_find_element_src_event), (start_typefinding),
5132 (stop_typefinding), (gst_type_find_element_handle_event),
5133 (gst_type_find_element_chain),
5134 (gst_type_find_element_chain_do_typefinding):
5135 Use gst_type_find_helper_for_buffer() for chain-based
5138 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
5140 * plugins/elements/gsttypefindelement.c:
5141 (gst_type_find_element_class_init),
5142 (gst_type_find_element_set_property),
5143 (gst_type_find_element_get_property):
5144 Deprecate "maximum" property (not only was it only taken into
5145 account for typefinding in push-mode anyway, it also was never
5146 actually possible to set it in the first place because the
5147 property was registered with the numeric property ID for the
5148 "minimum" property). Register "maximum" property correctly,
5149 for the sake of future copy'n'pasters. Remove some cruft
5150 from property get/set functions.
5152 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
5154 * plugins/elements/gsttypefindelement.c:
5155 (gst_type_find_element_activate):
5156 Use gst_type_find_helper_get_range() here, so we
5157 can honour the "minimum" property and also emit
5158 the signal with the correct probability of the found caps.
5160 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
5162 * docs/libs/gstreamer-libs-sections.txt:
5163 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5164 (helper_find_suggest), (gst_type_find_helper_get_range),
5165 (gst_type_find_helper):
5166 * libs/gst/base/gsttypefindhelper.h:
5167 New API: gst_type_find_helper_get_range() (#333042).
5169 2006-03-02 Michael Smith <msmith@fluendo.com>
5171 * gst/gstregistryxml.c: (load_feature):
5172 Asserting on a failure to read part of the registry is Not Cool.
5173 Just log a warning and return NULL (which is already handled)
5175 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
5177 * win32/common/libgstbase.def:
5178 added export of gst_type_find_helper_for_buffer
5179 * win32/common/libgstbase.def:
5180 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
5181 gst_ghost_pad_get_target
5183 2006-02-28 Wim Taymans <wim@fluendo.com>
5185 * docs/design/draft-klass.txt:
5187 Added Connector to mark elements that are only used to
5188 allow pipeline connections.
5189 Moved Debug to extra feature since most of them are
5190 functionally something else.
5192 2006-02-28 Wim Taymans <wim@fluendo.com>
5194 * docs/design/draft-klass.txt:
5195 Some updates and clarifications.
5197 2006-02-28 Wim Taymans <wim@fluendo.com>
5199 * docs/design/draft-klass.txt:
5200 Proposal for klass field values.
5202 * docs/design/part-streams.txt:
5203 Start of a doc describing stream anatomy.
5205 2006-02-28 Wim Taymans <wim@fluendo.com>
5207 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
5208 Help the compiler a bit with type registration.
5209 Use existing forward cod path instead of duplicating it when
5212 * gst/gstbus.c: (gst_bus_get_type):
5213 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
5214 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
5215 * gst/gstclock.c: (gst_clock_get_type):
5216 * gst/gstelement.c: (gst_element_get_type),
5217 * gst/gstelementfactory.c: (gst_element_factory_get_type):
5218 * gst/gstindexfactory.c: (gst_index_factory_get_type):
5219 * gst/gstminiobject.c: (gst_mini_object_get_type):
5220 * gst/gstpad.c: (gst_pad_get_type):
5221 * gst/gstsegment.c: (gst_segment_get_type):
5222 * gst/gststructure.c: (gst_structure_get_type):
5223 * gst/gstsystemclock.c: (gst_system_clock_get_type):
5224 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
5226 Help compiler with type registration.
5228 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
5231 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5233 * plugins/elements/gsttypefindelement.c:
5234 (gst_type_find_element_handle_event):
5235 When we get an EOS event and have not found a type yet
5236 (most likely because we had not yet accumulated
5237 TYPE_FIND_MIN_SIZE of data yet), try to determine the
5238 type given the data we have so far. Fixes typefinding
5239 for very short streams again, most notably quicktime
5240 redirections as used on Apple's trailer site (#331701).
5242 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5244 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
5245 (gst_type_find_helper):
5246 Try typefinding factories with the highest rank first.
5248 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5250 * docs/libs/gstreamer-libs-docs.sgml:
5251 * docs/libs/gstreamer-libs-sections.txt:
5252 * libs/gst/base/gsttypefindhelper.c:
5253 Add section for typefind helper and add documentation
5254 for the old and the new function.
5256 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5258 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
5259 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
5260 (gst_type_find_helper_for_buffer):
5261 * libs/gst/base/gsttypefindhelper.h:
5262 New API: gst_type_find_helper_for_buffer() (#332723).
5264 2006-02-27 Michael Smith <msmith@fluendo.com>
5266 Patch by: Loïc Minier
5270 * docs/slides/Makefile.am:
5271 prevent CVS directories getting disted.
5273 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
5275 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
5276 Use the REFCOUNTING category for caps refcounting.
5278 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
5280 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
5281 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
5283 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
5285 * plugins/elements/gsttypefindelement.c:
5286 (gst_type_find_element_activate):
5287 Use gst_pad_check_pull_range() before _activate_pull()
5288 to avoid unnecessary open/close (see #331690).
5290 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
5293 Docs enhancement: make it crystal clear what the
5294 gst_pad_add_*_probe() callbacks should look like.
5296 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
5298 * libs/gst/base/gstbasesrc.c:
5299 Document how applications can stop recording from
5300 live sources (see #330996).
5302 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5304 * tests/check/Makefile.am:
5305 * tests/check/libs/basesrc.c: (eos_event_counter),
5306 (basesrc_eos_events_pull), (basesrc_eos_events_push),
5307 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
5308 (gst_basesrc_suite), (main):
5309 ... and add some tests for the base source EOS stuff.
5311 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5313 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
5314 Test case originally showed the problem fixed below,
5315 but was then amended. Add checks back at the place
5316 where they used to be.
5318 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5320 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
5321 (gst_base_src_init), (gst_base_src_loop),
5322 (gst_base_src_activate_push), (gst_base_src_activate_pull),
5323 (gst_base_src_change_state):
5324 * libs/gst/base/gstbasesrc.h:
5325 Don't unconditionally send EOS when going from PAUSED to
5326 READY state, esp. make sure we don't send two EOS events
5327 in some cases (e.g. one when reaching EOS and one when
5328 going from PAUSED to READY). Also, we don't want to send
5329 EOS events when operating in pull mode. However, we do
5330 want to send an EOS event when shutting down a live
5331 source explicitly, for example (fixes #330996).
5333 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
5335 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5336 Update src->read_position after a seek when not using mmap.
5337 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
5339 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
5345 Make things work with --disable-parse as they do with
5346 --disable-load-save - the symbols involved disappear, but the
5347 header is still installed and GST_DISABLE_PARSE is included via
5350 2006-02-20 Julien MOUTTE <julien@moutte.net>
5352 * libs/gst/base/gstbasetransform.c:
5353 (gst_base_transform_change_state): Fix a stupid bug. I was
5354 sure I compiled that.
5356 2006-02-20 Julien MOUTTE <julien@moutte.net>
5358 * gst/gstpad.c: (gst_pad_set_blocked_async):
5359 * gst/gstutils.c: (gst_pad_add_data_probe),
5360 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
5361 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
5362 (gst_pad_remove_buffer_probe): Make those function act on the
5363 ghostpad target when it's a ghostpad. (Closes #331727)
5365 2006-02-20 Julien MOUTTE <julien@moutte.net>
5367 * libs/gst/base/gstbasetransform.c:
5368 (gst_base_transform_change_state): Make basetransform reusable.
5371 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
5373 * docs/random/release:
5374 Move the current documentation of how to do a release to the top
5377 * gst/gstbin.c: (gst_bin_class_init),
5378 (gst_bin_handle_message_func):
5379 Allow multiple state-recalculation threads. (Closes #328873)
5381 2006-02-19 Julien MOUTTE <julien@moutte.net>
5383 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
5384 * gst/gstpad.c: (gst_pad_set_event_function),
5385 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5386 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
5387 2 strings. You can't use the STR_NULL macro on that.
5389 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
5391 * gst/gstpad.c: (gst_pad_set_event_function),
5392 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
5393 (gst_pad_set_getcaps_function)
5394 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
5395 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
5396 So now, we can use --gst-debug-level=5 on Windows
5397 * win32/common/libgstcontroller.def:
5398 Added export of gst_controller_init
5399 * win32/vs6/libgstcontroller.dsp:
5400 Fixed Release post build configuration
5402 2006-02-17 Wim Taymans <wim@fluendo.com>
5404 * tests/check/gst/gstquery.c: (GST_START_TEST):
5405 Added another check.
5407 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
5409 * plugins/elements/gsttypefindelement.c: (find_peek):
5410 We can do peeks at non-zero offsets, as long as they
5411 fall within the buffer we have.
5413 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
5415 * tests/check/Makefile.am:
5416 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
5417 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
5418 (parse_suite), (main):
5419 Add testsuite for parse launch syntax
5421 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
5423 * plugins/elements/gsttypefindelement.c:
5424 (gst_type_find_element_chain):
5425 When typefinding is unsuccessful in the chain function, don't
5426 error out immediately. Only error out with NO_CAPS_FOUND if
5427 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
5428 otherwise simply wait for more data so we can try typefinding
5429 again with more data later. Also, don't attempt to typefind
5430 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
5431 this should improve typefinding from network sources where the
5432 size of the first buffer can be somewhat random.
5434 2006-02-14 Wim Taymans <wim@fluendo.com>
5436 * docs/gst/gstreamer-sections.txt:
5437 * gst/gstpadtemplate.c:
5438 * gst/gstpadtemplate.h:
5439 Fix padtemplate docs, fixes #328805.
5441 2006-02-14 Wim Taymans <wim@fluendo.com>
5443 * tools/gst-launch.c: (main):
5444 NO_PREROLL is not an ERROR so don't send confusing messages
5447 2006-02-14 Wim Taymans <wim@fluendo.com>
5449 Patch by: Torsten Schoenfeld
5451 * gst/gstregistry.c: (gst_registry_get_default),
5452 (_gst_registry_cleanup):
5453 Protect default registry with lock and ref/sink it.
5456 2006-02-14 Wim Taymans <wim@fluendo.com>
5459 * gst/gstquery.c: (gst_query_list_add_format),
5460 (gst_query_set_formatsv), (gst_query_parse_formats_length),
5461 (gst_query_parse_formats_nth):
5462 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
5465 2006-02-14 Wim Taymans <wim@fluendo.com>
5467 * docs/gst/gstreamer-sections.txt:
5468 Reworked query docs.
5470 * gst/gstquery.c: (gst_query_new_formats),
5471 (gst_query_list_add_format), (gst_query_set_formats),
5472 (gst_query_set_formatsv), (gst_query_parse_formats_length),
5473 (gst_query_parse_formats_nth):
5475 Flesh out formats query, added some new methods.
5476 Fix part of #324398.
5478 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
5479 Added query creation tests.
5481 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
5483 * gst/gstpad.c: (fixate_value):
5484 Add a default fixation for fraction lists.
5486 2006-02-13 Wim Taymans <wim@fluendo.com>
5488 * gst/gsttask.c: (gst_task_init), (gst_task_func),
5489 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
5492 Detect and warn for obvious deadlocks. fixes #320340
5493 Fix error case where lock was not released.
5495 * tests/check/Makefile.am:
5496 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
5497 (task_func), (gst_element_suite), (main):
5500 2006-02-13 Wim Taymans <wim@fluendo.com>
5502 * docs/gst/gstreamer-sections.txt:
5504 Add new functions to docs.
5506 2006-02-13 Wim Taymans <wim@fluendo.com>
5508 * docs/design/part-TODO.txt:
5509 Updated TODO list, basesrc supports seeking to non-bytes
5512 * docs/design/part-element-sink.txt:
5515 * gst/gstbin.c: (bin_replace_message),
5516 (gst_bin_handle_message_func):
5517 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
5518 * gst/gstevent.c: (gst_event_finalize):
5519 * gst/gstpad.c: (gst_pad_event_default_dispatch),
5520 (gst_pad_send_event):
5521 Use shiny new _TYPE_NAME macros.
5523 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5524 Move debug statement up.
5526 * gst/gstelement.c: (gst_element_set_locked_state):
5529 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
5531 * docs/gst/gstreamer-sections.txt:
5534 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
5535 macros (#330906). Also, document the already existing
5536 GST_QUERY_TYPE macro.
5538 2006-02-13 Wim Taymans <wim@fluendo.com>
5540 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
5541 (event_probe), (GST_START_TEST):
5542 Only events up to the pipeline EOS are counted, there are
5543 some more when going to NULL currently which we don't care
5546 2006-02-13 Wim Taymans <wim@fluendo.com>
5548 * gst/gstpad.c: (gst_pad_send_event):
5549 Correctly check flushing and emit probes. fixes #330125
5551 2006-02-10 Andy Wingo <wingo@pobox.com>
5553 * gst/gstbus.c (gst_bus_class_init): Declare our private data
5555 (gst_bus_init): Cache the location of the private data in the
5557 (gst_bus_enable_sync_message_emission)
5558 (gst_bus_disable_sync_message_emission): Implement new public
5560 (gst_bus_post): Emit the sync-message signal if the user asked for
5563 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
5564 location of the bus-private structure.
5565 (gst_bus_enable_sync_message_emission)
5566 (gst_bus_disable_sync_message_emission): API addition
5568 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
5570 Patch by: Vincent Torri
5572 * docs/pwg/building-boiler.xml:
5573 PWG patch from #326800
5575 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
5579 * docs/design/Makefile.am:
5582 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5587 === release 0.10.3 ===
5589 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5592 releasing 0.10.3, "Like a virgin"
5594 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
5597 2nd prerelease of 0.10.3
5598 Bump libtool versioning.
5600 2006-02-07 Andy Wingo <wingo@pobox.com>
5602 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
5603 update last_stop if we're in TIME format and the timestamp is
5606 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
5607 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
5608 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
5609 If we get a new newsegment with a different format, adapt
5612 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
5613 of 0. Not a problem, really.
5615 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
5618 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
5623 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
5626 project files updated to the default vs7 configuration
5627 * win32/common/libgstbase.def:
5628 * win32/common/libgstreamer.def:
5630 removed empty lines,
5631 sorted all exported symbols alphabetically
5632 * win32/common/dirent.c:
5633 * win32/common/dirent.h:
5634 * win32/common/gchar.h:
5635 use windows line end.
5637 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
5639 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
5640 Send EOS event when stopping.
5642 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
5645 Tell folks what to do if the plugin-foobar.xml file
5646 hasn't been generated for a newly-added plugin.
5648 2006-02-05 Julien MOUTTE <julien@moutte.net>
5650 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5651 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5652 (gst_collect_pads_start), (gst_collect_pads_stop),
5653 (gst_collect_pads_event): Collectpads now holds a reference
5654 to the GstPad that was added. Indeed we don't want to look
5655 at pads that might just go away with no warning...
5657 2006-02-05 Julien MOUTTE <julien@moutte.net>
5659 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5660 (gst_collect_pads_start), (gst_collect_pads_stop),
5661 (gst_collect_pads_event), (gst_collect_pads_chain):
5662 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
5663 Mark Nauwelaerts's patch on bug #328491.
5665 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5667 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
5669 Add some simple tests for gst_parse_bin_from_description() and
5670 gst_bin_find_unconnected_pad() (#329069).
5672 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
5674 * tools/gst-launch.c: (event_loop), (main):
5675 Catch errors during preroll (#320084).
5677 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
5679 * plugins/elements/gsttypefindelement.c:
5680 (gst_type_find_element_activate):
5681 Post TYPE_NOT_FOUND error message when typefinding
5682 is unsuccessful in the activate function as well.
5684 2006-02-02 Wim Taymans <wim@fluendo.com>
5686 * docs/design/part-element-sink.txt:
5689 2006-02-02 Wim Taymans <wim@fluendo.com>
5691 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
5692 (gst_base_sink_render_object),
5693 (gst_base_sink_queue_object_unlocked):
5694 Only keep track of prerollable items when we are
5696 Before rendering after preroll, always check if we
5698 Added some more debugging.
5700 2006-02-02 Wim Taymans <wim@fluendo.com>
5702 * gst/gstelement.c: (gst_element_continue_state),
5703 (gst_element_set_state_func), (gst_element_change_state):
5704 Fixed #326576, been running this for quite some time with
5705 no regressions at all.
5707 2006-02-02 Wim Taymans <wim@fluendo.com>
5710 Added more suppressions
5712 2006-02-02 Wim Taymans <wim@fluendo.com>
5714 * docs/design/part-element-sink.txt:
5717 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5718 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
5719 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
5720 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
5721 (gst_base_sink_do_sync), (gst_base_sink_render_object),
5722 (gst_base_sink_preroll_object),
5723 (gst_base_sink_queue_object_unlocked),
5724 (gst_base_sink_queue_object), (gst_base_sink_event),
5725 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
5726 (gst_base_sink_loop), (gst_base_sink_activate_pull),
5727 (gst_base_sink_get_position), (gst_base_sink_change_state):
5728 * libs/gst/base/gstbasesink.h:
5729 Totally refactored matching the design doc.
5730 Use two segments, one to clip incomming buffers and another to
5732 Handle queueing correctly, bypass the queue when playing.
5733 Make EOS cancelable.
5734 Handle errors correctly when operating in pull based mode.
5736 * tests/check/elements/fakesink.c: (GST_START_TEST),
5738 Added new check for sinks.
5740 2006-02-02 Wim Taymans <wim@fluendo.com>
5742 * gst/gstsegment.c: (gst_segment_clip):
5743 No reason to refuse to clip when start == -1
5745 2006-02-02 Stefan Kost <ensonic@users.sf.net>
5748 * docs/manual/intro-basics.xml:
5749 * docs/manual/intro-preface.xml:
5750 * docs/manual/manual.xml:
5751 * docs/pwg/advanced-dparams.xml:
5752 * docs/pwg/intro-basics.xml:
5753 * docs/pwg/intro-preface.xml:
5755 describe dparams (controller) for plugins
5756 unify docs a little more
5758 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
5760 * docs/gst/gstreamer-sections.txt:
5761 * gst/gstutils.c: (element_find_unconnected_pad),
5762 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
5764 Add new API: gst_parse_bin_from_description() and
5765 gst_bin_find_unconnected_pad() (#329069).
5767 2006-02-01 Stefan Kost <ensonic@users.sf.net>
5769 * docs/manual/README:
5770 uncover a nasty detail of the docs build
5772 2006-01-31 Wim Taymans <wim@fluendo.com>
5774 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
5775 Don't cache duration messages if we're not going to use or
5778 2006-01-31 Stefan Kost <ensonic@users.sf.net>
5780 * docs/manual/advanced-dparams.xml:
5781 * docs/pwg/advanced-dparams.xml:
5785 * libs/gst/controller/lib.c: (gst_controller_init):
5788 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
5790 * gst/gstelement.c: (gst_element_message_full):
5791 also show file/line/func if no additional debug was given
5793 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
5795 * win32/vs7/grammar.vcproj:
5796 activate copy of autogenerated files for Release mode
5798 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
5800 * win32/common/libgstreamer.def:
5801 export gst_value_compare
5803 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
5805 * plugins/elements/Makefile.am:
5806 * plugins/elements/gstelements.c:
5807 * plugins/elements/gstfdsink.c: (_do_init),
5808 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
5809 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
5810 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
5811 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
5812 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
5813 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
5814 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
5815 * plugins/elements/gstfdsink.h:
5816 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
5818 2006-01-30 Stefan Kost <ensonic@users.sf.net>
5820 * docs/manual/advanced-dparams.xml:
5822 * docs/manual/advanced-position.xml:
5823 * docs/manual/basics-init.xml:
5824 * docs/manual/manual.xml:
5825 * docs/manual/titlepage.xml:
5827 * docs/pwg/titlepage.xml:
5828 cleanup xml (more to come)
5829 * libs/gst/controller/gstcontroller.c:
5832 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
5834 * win32/vs6/grammar.dsp:
5835 add autogen of gstmarshal.c,h for Release mode
5837 2006-01-30 Wim Taymans <wim@fluendo.com>
5839 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
5840 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
5841 (gst_base_sink_handle_object), (gst_base_sink_event),
5842 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
5843 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
5844 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
5845 (gst_base_sink_deactivate), (gst_base_sink_activate),
5846 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
5847 (gst_base_sink_query), (gst_base_sink_change_state):
5848 Basesink cleanups, remove some old code.
5849 Handle the case where a subclass can preroll in the render
5850 method (mostly audiosinks).
5852 Remove some locks around variables that are now protected
5853 with the PREROLL_LOCK (clock_id, flushing, ..).
5854 Optimize position query some more, do correct locking.
5855 Remove old code to push queue in state change, this is not
5856 needed anymore since preroll blocks on all prerollable items
5858 Almost implemented as described in design doc.
5860 2006-01-30 Wim Taymans <wim@fluendo.com>
5862 * tests/check/gst/gstbin.c: (GST_START_TEST):
5863 Wait for refcount to settle down before checking.
5865 2006-01-30 Wim Taymans <wim@fluendo.com>
5867 * docs/design/part-element-sink.txt:
5868 Pseudo code overview of desired sink behaviour regarding
5871 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5872 * win32/vs6/grammar.dsp:
5873 fix some bugs in Release mode for autogenerated files
5875 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5876 * win32/common/libgstbase.def:
5877 * win32/common/libgstreamer.def:
5878 export some new symbols: gst_base_src_set_format,
5879 gst_iterator_next, gst_structure_set_valist
5881 2006-01-29 Julien MOUTTE <julien@moutte.net>
5883 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
5884 Set pad functions unconditionally. Fixes #329105.
5886 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
5888 add vs8 project files created by Sergey Scobich
5890 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
5892 * gst/gstutils.c: (gst_element_unlink_pads):
5893 Don't leak pad references.
5895 * tests/check/elements/fakesink.c: (GST_START_TEST):
5896 * tests/check/generic/sinks.c: (GST_START_TEST):
5897 * tests/check/generic/states.c: (GST_START_TEST):
5898 * tests/check/gst/gstbin.c: (GST_START_TEST):
5899 * tests/check/gst/gstcaps.c: (GST_START_TEST):
5900 * tests/check/gst/gstelement.c: (GST_START_TEST):
5901 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5902 * tests/check/gst/gstiterator.c: (GST_START_TEST):
5903 * tests/check/gst/gstvalue.c: (GST_START_TEST):
5904 Fix a bunch of leaks. Make generic/sinks.c
5905 use a bit less cpu by slowing the buffer rate
5906 between fakesrc and fakesink.
5908 2006-01-27 Stefan Kost <ensonic@users.sf.net>
5910 * gst/gstelement.c: (gst_element_send_event):
5913 * gst/gstiterator.c:
5914 * gst/gstiterator.h:
5915 * gst/gstpad.c: (gst_pad_send_event):
5916 * gst/gststructure.c:
5920 * libs/gst/base/gstadapter.c:
5921 doc fixes, to link to function, just write gst_cool_function(), don't
5924 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5926 * plugins/elements/gsttee.c: (gst_tee_do_push),
5927 (gst_tee_handle_buffer):
5928 Always prefer an actual return value from a src
5929 pad in place of NOT_LINKED. This means we return
5930 WRONG_STATE when all src pads are WRONG_STATE
5931 instead of NOT_LINKED.
5933 Lock when replacing the last message to prevent
5934 racing with the get_property method.
5938 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5940 * tests/check/Makefile.am:
5941 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
5943 Add a very simple check that should have caught the memleak I fixed
5944 last night (if not for the slice allocator hiding it)
5946 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
5948 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
5949 (gst_bin_remove_func), (gst_bin_handle_message_func),
5950 (bin_query_duration_fold), (bin_query_generic_fold):
5951 Clean up references to the clock provider when disposed or when
5952 handling a clock-lost message from it.
5954 Unref sinks when performing a query via gst_iterator_fold, as the
5955 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
5957 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
5958 (gst_clock_set_master):
5959 Drop our reference to the master clock, if any, when we are disposed.
5961 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
5962 Chain up in dispose.
5964 2006-01-26 Wim Taymans <wim@fluendo.com>
5966 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
5969 2006-01-26 Julien MOUTTE <julien@moutte.net>
5971 * plugins/elements/gsttee.c: (gst_tee_do_push),
5972 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
5973 handles pad being NOT_LINKED or in WRONG_STATE.
5975 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5980 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5983 remove obsolete entry
5985 2006-01-26 Stefan Kost <ensonic@users.sf.net>
5987 * docs/gst/gstreamer-sections.txt:
5988 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
5989 (gst_bin_iterate_sources), (gst_bin_send_event):
5991 * gst/gstelement.c: (gst_element_send_event):
5993 * gst/gstpad.c: (gst_pad_send_event):
5994 added code for downstream events, reviewed docs in gstevent.c
5996 2006-01-25 Julien MOUTTE <julien@moutte.net>
5998 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
5999 We only query position using the clock in the playing state.
6000 Query peer in the other cases.
6001 * win32/common/config.h: Updates.
6003 2006-01-24 Wim Taymans <wim@fluendo.com>
6005 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
6006 A clock entry that is scheduled for the exact time of the
6007 clock is still in time.
6009 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6010 (gst_base_sink_do_sync):
6011 Add some more debug info.
6013 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
6016 Add new vs7 project files and solution.
6018 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
6021 all files removed as they were out-dated.
6023 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
6025 * docs/random/release:
6027 * gst/gstbin.c: (gst_bin_init):
6028 * gst/gstbus.c: (gst_bus_new):
6030 * gst/gstpipeline.c: (gst_pipeline_init):
6031 use gst_bus_new(), improve logging, fix docs
6032 * win32/common/config.h:
6033 update for cvs build
6035 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
6038 up required version of automake to 1.7
6040 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
6042 * win32/common/libgstreamer.def:
6043 export gst_buffer_is_metadata_writable
6045 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
6047 * docs/gst/gstreamer-sections.txt:
6049 Add gst_event_replace() (#327001)
6051 2006-01-20 Wim Taymans <wim@fluendo.com>
6053 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
6054 Make it actually compile too..
6056 2006-01-20 Wim Taymans <wim@fluendo.com>
6059 Clarify behaviour of _is_equal() when passing NULL parameters.
6061 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
6063 Cleanups. Don't unref NULL caps.
6064 When setting the same caps, protect caps of the pad with
6066 Use full functionality of _is_equal() when comparing caps.
6068 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
6070 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
6071 Don't loop infinitely if there are no buffers to present. Partially
6072 fixes #327197, but collectpads is just broken for reusing elements
6073 to do multiple encodes atm.
6075 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
6077 * tools/gst-inspect.c: (print_element_features):
6078 * tools/gst-xmlinspect.c: (main):
6079 URL_HANDLER is not a plugin feature we can search for in
6082 2006-01-19 Edward Hervey <edward@fluendo.com>
6084 * gst/gstelement.c: (gst_element_pads_activate):
6085 When activating, do src pads first, then sink pads.
6086 When de-activating, do sink pads first, then src pads.
6088 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6090 * docs/gst/gstreamer-sections.txt:
6091 Add gst_index_add_associationv to the docs
6093 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6098 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
6099 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
6100 Do some refactoring. Doesn't actually change functionality,
6101 but makes landing the DRAIN event easier later.
6103 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
6105 * docs/pwg/advanced-scheduling.xml:
6106 Update from 0.9.x to 0.10 API and make example a bit
6109 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6111 * docs/gst/gstreamer-sections.txt:
6112 Add gst_buffer_(is|make)_metadata_writable methods.
6114 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
6116 * docs/design/part-sparsestreams.txt:
6117 Update sparse streams doc, hopefully for greater clarity
6119 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
6121 * docs/design/part-events.txt:
6122 Remove mention of FILLER events.
6125 * docs/design/part-sparsestreams.txt:
6126 Write some things about using NEWSEGMENT to keep sparse streams
6129 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
6131 * gst/gstbin.c: (gst_bin_dispose):
6132 Guard gst_object_unref call against a NULL object (dispose
6133 can theoretically be called multiple times).
6135 2006-01-18 Wim Taymans <wim@fluendo.com>
6137 * gst/gstbin.c: (gst_bin_element_set_state):
6138 * gst/gstclock.c: (gst_clock_id_wait):
6139 Added some more debug info.
6141 * libs/gst/base/gstadapter.c:
6144 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6145 (gst_base_sink_do_sync), (gst_base_sink_chain):
6146 Added some comments.
6148 2006-01-18 Wim Taymans <wim@fluendo.com>
6150 * tests/check/Makefile.am:
6151 * tests/check/elements/fakesink.c: (chain_async_buffer),
6152 (chain_async), (chain_async_return), (GST_START_TEST),
6153 (fakesink_suite), (main):
6154 Added fakesink test that checks prerolling and clipping
6157 * tests/check/gst/gstutils.c: (GST_START_TEST):
6158 Make check run faster so that buildbots don't timeout.
6160 2006-01-18 Wim Taymans <wim@fluendo.com>
6162 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6163 (gst_base_sink_do_sync):
6165 When the sink finishes blocking on the preroll buffer, it can
6166 immediatly render it instead of rendering when the next buffer
6169 2006-01-18 Wim Taymans <wim@fluendo.com>
6171 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
6172 (gst_base_sink_get_property), (gst_base_sink_do_sync),
6173 (gst_base_sink_chain):
6175 GST_ELEMENT_CLOCK and sync are protected with LOCK.
6176 Don't store _last_stop if the buffer is dropped.
6178 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
6180 * plugins/elements/gsttypefindelement.c:
6181 (gst_type_find_element_class_init):
6182 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
6183 object method handler that sets the caps on the pad and we want
6184 that to happen before we emit the signal (fixes e.g. feeding a
6185 plain text file to decodebin).
6187 2006-01-18 Christian Schaller <Christian@fluendo.com>
6189 * gst/gstplugin.c: Add MPL and Proprietary as license options
6191 2006-01-18 Andy Wingo <wingo@pobox.com>
6193 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
6194 symbol was exported before, it appears this was just an oversight.
6196 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
6198 * gst/gstindex.c (gst_index_add_associationv): Changed int in
6199 prototype to gint. OK since this prototype was not in the header.
6201 2006-01-17 Andy Wingo <wingo@pobox.com>
6203 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
6204 registry while we remove plugins.
6206 * tools/gst-inspect.c (print_element_info): Don't unref the
6207 factory arg, that should be the responsibility of whatever code
6208 received the ref. Fixes a double-free when called from
6209 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
6210 (main): Unref the factory if we have one.
6211 (print_element_list): No change -- relies on the
6212 plugin_feature_list_free to free the list of features.
6214 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
6216 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6217 (gst_buffer_make_metadata_writable):
6219 * libs/gst/base/gstbasetransform.c:
6220 (gst_base_transform_prepare_output_buf):
6221 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6222 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6223 Replace gst_buffer_(make|is)_metadata_writable patch now
6224 that the release is out.
6226 2006-01-17 Andy Wingo <wingo@pobox.com>
6228 * gst/gstregistry.c: Reflow design comment. Update so as to speak
6229 in the present tense without reference to versions.
6231 * gst/gstregistry.c (gst_registry_add_plugin)
6232 (gst_registry_remove_plugin, gst_registry_remove_feature)
6233 (gst_registry_find_feature, gst_registry_get_feature_list)
6234 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
6235 (gst_registry_lookup, gst_registry_scan_path)
6236 (_gst_registry_remove_cache_plugins)
6237 (gst_registry_get_feature_list_by_plugin): Add argument
6240 === release 0.10.2 ===
6242 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
6245 releasing 0.10.2, "If man is five"
6247 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
6251 * libs/gst/base/gstbasetransform.c:
6252 (gst_base_transform_prepare_output_buf):
6253 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6254 * tests/check/gst/gstbuffer.c: (gst_test_suite):
6255 Back out patch until after the release.
6257 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
6259 * gst/gstminiobject.c:
6260 Spelling fix in docs.
6261 * ChangeLog - remove conflict indicator
6263 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
6265 Reviewed By: Andy Wingo
6267 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
6268 (gst_buffer_make_metadata_writable):
6270 Add gst_buffer_(is|make)_metadata_writable as analogues of
6271 gst_buffer_(is|make)_writable.
6273 * libs/gst/base/gstbasetransform.c:
6274 (gst_base_transform_prepare_output_buf):
6275 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
6276 Use name gst_buffer_(is|make)_metadata_writable functions.
6278 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
6279 Test gst_buffer_(is|make)_metadata_writable
6283 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
6285 * docs/manual/Makefile.am:
6286 don't do parallel make
6289 * win32/common/config.h.in:
6290 add generations for HOST_CPU and GST_MAJORMINOR
6291 * win32/common/config.h:
6292 commit generated result
6294 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
6296 * docs/manual/appendix-integration.xml:
6297 Update GNOME integration section to use gst_init_get_option_group()
6298 instead of the old popt stuff (#322911). Also, GNOME applications
6299 should now use gconf*sink and gconf*src instead of the old gconf
6302 2006-01-13 Stefan Kost <ensonic@users.sf.net>
6305 * docs/gst/gstreamer-docs.sgml:
6306 * docs/gst/gstreamer-sections.txt:
6307 * docs/libs/gstreamer-libs-sections.txt:
6308 add new API entries to the docs
6309 * libs/gst/controller/Makefile.am:
6310 * libs/gst/controller/gstcontroller.c:
6311 * libs/gst/controller/gstcontroller.h:
6312 * libs/gst/controller/gstcontrollerprivate.h:
6313 * libs/gst/controller/gsthelper.c:
6314 * libs/gst/controller/gstinterpolation.c:
6315 move private structs to private header
6317 gstreamer-0.7 -> gstreamer-0.10
6318 * tests/check/libs/struct_i386.h:
6319 remove private structs
6321 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
6323 * plugins/indexers/Makefile.am:
6324 Fixes as part of #317048
6326 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
6328 * plugins/indexers/Makefile.am:
6329 fix #316086 - compilation when mmap is missing
6331 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
6333 * libs/gst/base/gstbasesink.c:
6334 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
6335 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
6336 * win32/common/config.h:
6337 added some defines GST_MAJORMINOR and HOST_CPU
6338 * win32/common/libgstbase.def:
6339 * win32/common/libgstreamer.def:
6340 added some exported functions.
6342 2006-01-12 Stefan Kost <ensonic@users.sf.net>
6344 * libs/gst/controller/gstcontroller.c:
6345 (gst_controlled_property_set_interpolation_mode),
6346 (gst_controlled_property_new):
6347 * libs/gst/controller/gstcontroller.h:
6348 * libs/gst/controller/gstinterpolation.c:
6349 (interpolate_none_get_string_value_array):
6350 make G_TYPE_STRING controlable
6352 2006-01-12 Stefan Kost <ensonic@users.sf.net>
6355 * tools/gst-feedback.1.in:
6356 * tools/gst-inspect.1.in:
6357 * tools/gst-launch.1.in:
6358 * tools/gst-md5sum.1.in:
6359 * tools/gst-typefind.1.in:
6360 * tools/gst-xmlinspect.1.in:
6361 * tools/gst-xmllaunch.1.in:
6362 cleanup man-pages, remove reference to gst-register, document env-vars
6364 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
6366 * gst/gstbuffer.c: (gst_buffer_span):
6367 gst_buffer_span should copy the timestamp of the first buffer
6368 if they were both originally overlapping subbuffers of the
6369 same parent, using the same logic as the 'slow copy' case.
6371 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
6373 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
6374 Need to awaken ALL the pads when we pop a buffer, otherwise
6375 collectpads only works when there is 2 input streams.
6377 2006-01-11 Stefan Kost <ensonic@users.sf.net>
6379 * docs/random/ensonic/media-device-daemon.txt:
6382 fix doc example, add clarification
6383 * tools/gst-launch.1.in:
6384 add initial info about GST_PLUGIN_PATH, needs more work
6386 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
6388 * docs/manual/basics-bins.xml:
6389 * docs/manual/basics-elements.xml:
6390 * docs/manual/intro-basics.xml:
6391 Some more minor docs additions and updates.
6393 2006-01-11 Wim Taymans <wim@fluendo.com>
6395 * docs/manual/basics-bins.xml:
6396 * docs/manual/basics-elements.xml:
6397 Some small fixes as pointed out by Ser-ver on IRC.
6399 2006-01-10 Edward Hervey <edward@fluendo.com>
6401 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6402 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
6403 the single-segment mode.
6405 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
6407 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6409 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
6410 (gst_base_src_perform_seek), (gst_base_src_send_event),
6411 (gst_base_src_set_property), (gst_base_src_get_property),
6412 (gst_base_src_loop), (gst_base_src_start),
6413 (gst_base_src_activate_push):
6414 * libs/gst/base/gstbasesrc.h:
6415 Name (private) union; makes Sun's Forte compiler happy (#324900).
6417 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
6420 gst-register is gone.
6422 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
6424 * gst/gstvalue.c: (_gst_value_initialize):
6425 make the G_TYPE_DATE instantiation work if debug is disabled
6427 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
6429 * gst/gstmessage.c: (gst_message_parse_tag),
6430 (gst_message_parse_error), (gst_message_parse_warning):
6431 Don't crash when return location for error/warning debug
6432 string is NULL; add fact that return locations can be
6433 NULL to docs where appropriate.
6435 2006-01-05 Wim Taymans <wim@fluendo.com>
6437 * gst/gstplugin.c: (gst_plugin_load_file):
6438 Replace strdup by g_strdup.
6440 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
6442 * docs/pwg/advanced-types.xml:
6445 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
6447 submitted by: Abel Cheung
6451 Added Chinese (traditional) translation
6453 2006-01-04 Wim Taymans <wim@fluendo.com>
6455 * docs/manual/basics-pads.xml:
6456 * docs/plugins/Makefile.am:
6457 * docs/plugins/gstreamer-plugins-docs.sgml:
6458 * docs/plugins/gstreamer-plugins-sections.txt:
6459 * docs/pwg/advanced-clock.xml:
6460 * docs/pwg/advanced-scheduling.xml:
6461 * docs/pwg/advanced-types.xml:
6462 * plugins/elements/gstfdsink.c:
6463 * plugins/elements/gstfdsrc.c:
6464 * plugins/elements/gstfdsrc.h:
6465 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6466 * plugins/elements/gstidentity.h:
6467 * plugins/elements/gstqueue.h:
6468 * plugins/elements/gsttee.c:
6469 * plugins/elements/gsttee.h:
6470 * plugins/elements/gsttypefindelement.c:
6471 (gst_type_find_element_class_init):
6472 * plugins/elements/gsttypefindelement.h:
6473 Small updates to various docs.
6474 Added core plugins to docs.
6476 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
6479 add a suppression for liboil's uninitialized variable
6481 2006-01-02 James Livingston <jrl at ids dot org dot au>
6483 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
6486 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
6487 macro, so that gcc doesn't complain if the -Wmissing-prototypes
6488 compiler switch is being used (#325429).
6490 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
6492 * gst/gstbin.c: (gst_bin_query):
6493 Disable duration query caching in bins until it gets
6494 fixed (see #324807).
6496 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
6498 * tools/gst-inspect.c: (print_element_properties_info):
6499 Handle properties of POINTER and BOXED type.
6501 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
6503 * gst/gst.c: (init_post):
6504 Init tags stuff and some other things before loading
6505 any static plugins (there may be other static plugins
6506 than just the GStreamer ones, and they may want to
6507 register their own tags or formats or whatever, and
6508 preferably without segfaulting).
6510 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
6511 Print at least a warning in the debug logs if we drop a
6512 query just because we don't know how to adjust the value
6513 in the particular format.
6515 2005-12-24 David Schleef <ds@schleef.org>
6517 * tools/gstreamer-completion:
6518 Replacement for gst-complete written in sh and sed. Only
6519 completes names of features, but that's 90% of what I want
6520 it for. Properties are not available in registry.xml. (Maybe
6523 === release 0.10.1 ===
6525 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
6528 releasing 0.10.1, "Nollaig chridheil"
6530 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
6533 Add missing quote, should be make ERROR_CFLAGS="".
6535 2005-12-20 Wim Taymans <wim@fluendo.com>
6537 * docs/design/part-trickmodes.txt:
6538 More documentation on trickmodes.
6540 2005-12-20 Edward Hervey <edward@fluendo.com>
6542 * gst/gstcaps.c: (gst_static_caps_get_type):
6544 API addition: GST_TYPE_STATIC_CAPS
6545 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
6546 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
6547 * gst/gstpadtemplate.h:
6548 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
6549 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
6552 2005-12-18 Wim Taymans <wim@fluendo.com>
6554 * libs/gst/base/gstadapter.c:
6555 * libs/gst/base/gstadapter.h:
6556 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
6557 (gst_base_sink_get_position):
6558 * libs/gst/base/gstbasesink.h:
6559 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6560 (gst_base_src_default_query), (gst_base_src_default_do_seek),
6561 (gst_base_src_do_seek), (gst_base_src_perform_seek),
6562 (gst_base_src_send_event), (gst_base_src_update_length),
6563 (gst_base_src_get_range), (gst_base_src_loop),
6564 (gst_base_src_start):
6565 * libs/gst/base/gstbasesrc.h:
6566 * libs/gst/base/gstbasetransform.h:
6567 * libs/gst/base/gstcollectpads.h:
6568 * libs/gst/base/gstpushsrc.c:
6569 * libs/gst/base/gstpushsrc.h:
6570 * libs/gst/dataprotocol/dataprotocol.c:
6571 * libs/gst/dataprotocol/dataprotocol.h:
6572 * libs/gst/net/gstnetclientclock.h:
6573 * libs/gst/net/gstnettimeprovider.h:
6574 Documentation updates.
6576 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
6578 * docs/manual/basics-helloworld.xml:
6579 Remove superfluous closing bracket in helloworld example.
6581 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
6583 * tools/gst-launch.1.in:
6584 Update gst-launch man page; add a section with useful
6585 environment variables. Fixes #323882.
6587 2005-12-16 Stefan Kost <ensonic@users.sf.net>
6590 * gst/gst_private.h:
6591 change some char* into char[]
6593 2005-12-16 Wim Taymans <wim@fluendo.com>
6595 * gst/gstregistryxml.c: (load_feature):
6597 Don't use g_object_unref on GstObjects so that we avoid
6598 leaks on unsafe glibs.
6600 2005-12-16 Wim Taymans <wim@fluendo.com>
6602 * gst/gstbin.c: (gst_bin_recalc_state):
6605 2005-12-16 Wim Taymans <wim@fluendo.com>
6608 Added make forever target for check.
6610 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
6612 * gst/gst.c: (init_post):
6613 make the registry cache file HOST_CPU-dependent
6615 2005-12-16 Andy Wingo <wingo@pobox.com>
6617 * plugins/elements/gstbufferstore.c
6618 (gst_buffer_store_cleared_func): Pay attention to g_list_append
6621 * tests/check/gst/gstobject.c
6622 (test_fake_object_name_threaded_unique): Pay attention to
6623 g_list_sort return value.
6625 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
6627 * tools/gst-feedback-m.m:
6628 Update for 0.9/0.10 (fixes #323870).
6630 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
6632 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
6633 Fix lcopy for mini objects, the mini object needs to be ref'ed.
6635 * tests/check/gst/gstminiobject.c: (my_foo_init),
6636 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
6637 (test_value_collection), (gst_mini_object_suite):
6638 Add test to ensure refcounts end up as expected when passing
6639 GstMiniObjects through g_object_get() and g_object_set().
6641 2005-12-14 Julien MOUTTE <julien@moutte.net>
6643 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6644 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
6645 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
6646 of collectpads. This version removes a lot of races without
6647 touching API/ABI. Yay !
6649 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
6651 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
6652 Don't allow activation of a srcpad in pull_range if it has no
6654 Change some debug statements to be a little clearer
6656 * plugins/elements/gsttypefindelement.c:
6657 (gst_type_find_handle_src_query):
6658 Check that we have a peer before executing queries thereupon.
6660 * tests/examples/metadata/read-metadata.c: (message_loop):
6661 Use gst_bus_pop instead of gst_bus_poll when we just want it to
6662 immediately return us any available message with 0 timeout.
6664 2005-12-12 Michael Smith <msmith@fluendo.com>
6666 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
6667 Don't unref factories after calling them.
6668 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
6669 * plugins/elements/gsttypefindelement.c:
6670 (gst_type_find_element_chain):
6671 Free lists of factories after using them. Fixing typefinding memory
6674 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6676 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
6677 (gst_plugin_feature_load):
6678 more meaningful debug output
6680 * tests/Makefile.am:
6681 * tests/old/examples/Makefile.am:
6682 make make distcheck happy again
6684 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6686 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
6687 Catch the special case where we are operating chain-based,
6688 but the downstream peer pad has no chain function. Emit a
6689 custom error message in this case instead of letting the
6690 core generate one implying that this is some sort of core
6691 bug. It's not, it just means that whatever got plugged
6692 into the pipeline downstream when we announced the type
6693 can only operate pull-based, while our source can only
6694 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
6695 Error string has not been marked for translation yet, as
6696 it probably needs some more work first.
6698 (gst_type_find_element_get_best_possibility):
6699 Add helper function to find the best of all available
6700 found possibilities that qualify given the min. threshold.
6702 (gst_type_find_element_handle_event):
6703 Fix the case where we get an EOS while still in TYPEFIND
6704 mode (we want to chose the best of all possible types,
6705 not just the first type that happens to be in our unsorted
6706 list of possible types).
6708 (gst_type_find_element_chain):
6709 Make sure we return GST_FLOW_ERROR when we errored out
6710 in stop_typefinding(); also, don't just find the best of
6711 all found type entries and then use the last examined
6712 type entry, but actually use the best entry.
6714 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
6716 * tests/examples/typefind/typefind.c: (type_found):
6717 * tests/examples/xml/runxml.c: (xml_loaded):
6718 More gcc4 fixes and a mem leak fix.
6720 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6722 * tests/examples/xml/createxml.c: (object_saved):
6725 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6727 * tests/Makefile.am:
6728 enable the examples even more
6730 2005-12-12 Andy Wingo <wingo@pobox.com>
6732 * libs/gst/net/gstnettimeprovider.c
6733 (gst_net_time_provider_class_init, gst_net_time_provider_init)
6734 (gst_net_time_provider_set_property)
6735 (gst_net_time_provider_get_property):
6736 API addition: Export "active" as a GObject property.
6737 (gst_net_time_provider_thread): Only respond to time queries if
6738 the time provider is active.
6740 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
6741 NetTimeProvider, preserving binary compat.
6743 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6745 * tests/examples/controller/audio-example.c: (main):
6746 * tests/examples/launch/Makefile.am:
6747 convert comments again
6749 2005-12-12 Wim Taymans <wim@fluendo.com>
6751 * libs/gst/base/gstpushsrc.c:
6754 2005-12-12 Wim Taymans <wim@fluendo.com>
6756 * docs/libs/gstreamer-libs-sections.txt:
6757 Added new symbol to docs.
6759 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6760 (gst_base_src_init), (gst_base_src_set_format),
6761 (gst_base_src_default_query), (gst_base_src_query),
6762 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
6763 (gst_base_src_perform_seek), (gst_base_src_send_event),
6764 (gst_base_src_default_event), (gst_base_src_event_handler),
6765 (gst_base_src_set_property), (gst_base_src_get_property),
6766 (gst_base_src_wait), (gst_base_src_do_sync),
6767 (gst_base_src_update_length), (gst_base_src_get_range),
6768 (gst_base_src_check_get_range), (gst_base_src_loop),
6769 (gst_base_src_default_negotiate), (gst_base_src_start),
6770 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6771 (gst_base_src_change_state):
6772 * libs/gst/base/gstbasesrc.h:
6773 Implement seeking to other formats than _BYTES.
6774 Implement more seeking methods correctly.
6776 Added query vmethod.
6777 Added do_seek vmethod to make life easier for subclasses
6779 API addition: gst_base_src_set_format()
6781 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6783 * tests/examples/Makefile.am:
6786 2005-12-12 Stefan Kost <ensonic@users.sf.net>
6789 * docs/random/ensonic/media-device-daemon.txt:
6790 * tests/examples/controller/.cvsignore:
6791 * tests/examples/controller/Makefile.am:
6792 * tests/examples/controller/audio-example.c: (main):
6793 * tests/examples/helloworld/.cvsignore:
6794 * tests/examples/helloworld/Makefile.am:
6795 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
6796 * tests/examples/launch/.cvsignore:
6797 * tests/examples/launch/Makefile.am:
6798 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
6799 * tests/examples/metadata/.cvsignore:
6800 * tests/examples/metadata/Makefile.am:
6801 * tests/examples/metadata/read-metadata.c: (message_loop),
6802 (make_pipeline), (print_tag), (main):
6803 * tests/examples/queue/.cvsignore:
6804 * tests/examples/queue/Makefile.am:
6805 * tests/examples/queue/queue.c: (event_loop), (main):
6806 * tests/examples/typefind/.cvsignore:
6807 * tests/examples/typefind/Makefile.am:
6808 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
6810 * tests/examples/xml/.cvsignore:
6811 * tests/examples/xml/Makefile.am:
6812 * tests/examples/xml/createxml.c: (object_saved), (main):
6813 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
6814 * tests/old/examples/Makefile.am:
6815 * tests/old/examples/TODO:
6816 * tests/old/examples/controller/.cvsignore:
6817 * tests/old/examples/controller/Makefile.am:
6818 * tests/old/examples/controller/audio-example.c:
6819 * tests/old/examples/helloworld/.cvsignore:
6820 * tests/old/examples/helloworld/Makefile.am:
6821 * tests/old/examples/helloworld/helloworld.c:
6822 * tests/old/examples/launch/.cvsignore:
6823 * tests/old/examples/launch/Makefile.am:
6824 * tests/old/examples/launch/mp3parselaunch.c:
6825 * tests/old/examples/launch/mp3play:
6826 * tests/old/examples/manual/Makefile.am:
6827 * tests/old/examples/metadata/Makefile.am:
6828 * tests/old/examples/metadata/read-metadata.c:
6829 * tests/old/examples/queue/.cvsignore:
6830 * tests/old/examples/queue/Makefile.am:
6831 * tests/old/examples/queue/queue.c:
6832 * tests/old/examples/typefind/.cvsignore:
6833 * tests/old/examples/typefind/Makefile.am:
6834 * tests/old/examples/typefind/typefind.c:
6835 * tests/old/examples/xml/.cvsignore:
6836 * tests/old/examples/xml/Makefile.am:
6837 * tests/old/examples/xml/createxml.c:
6838 * tests/old/examples/xml/runxml.c:
6839 applied some simple fixing to some examples
6840 re-enabled the working examples
6842 2005-12-12 Wim Taymans <wim@fluendo.com>
6844 * gst/gstsegment.c: (gst_segment_init),
6845 (gst_segment_set_last_stop), (gst_segment_set_seek),
6846 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6847 (gst_segment_to_running_time):
6848 Added more documentation.
6849 Make sure the last_pos value is updated properly.
6850 Make sure to_stream_time and to_running_time don't
6851 operate on wrong values.
6853 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6856 2005-12-12 Michael Smith <msmith@fluendo.com>
6858 * plugins/elements/gsttypefindelement.c: (free_entry),
6859 (gst_type_find_element_chain):
6860 Now that we're not leaking factories, make sure we keep references
6861 to them while we need them.
6863 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
6865 * tests/check/gst/struct_i386.h:
6866 ifdef out the XML structs
6868 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
6870 * gst/gstvalue.c: (gst_value_transform_double_fraction):
6871 floor is not needed, F is always positive; this obviates the
6872 need for adding -lm when building without libxml
6874 2005-12-12 Wim Taymans <wim@fluendo.com>
6876 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6877 Take current playback rate into account when reporting
6880 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6882 * docs/manual/mime-world.fig:
6883 Let's try this again, this time with a file that is
6884 actually in XFig format.
6886 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6888 * docs/manual/mime-world.fig:
6889 Add audioconvert element to diagram so that it
6890 matches the text and the code (fixes #319526).
6892 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6894 * docs/pwg/building-chainfn.xml:
6895 * docs/pwg/building-pads.xml:
6896 * docs/pwg/building-state.xml:
6897 * docs/pwg/other-source.xml:
6898 Update state change stuff for 0.10 (fixes #322969).
6900 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6902 * docs/manual/advanced-dataaccess.xml:
6903 * docs/manual/appendix-checklist.xml:
6904 * docs/manual/appendix-programs.xml:
6905 * docs/manual/basics-pads.xml:
6906 * docs/manual/highlevel-components.xml:
6907 * docs/manual/manual.xml:
6908 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
6909 add converters in front of pipelines; remove curly
6910 brackets for threads stuff, they no longer exist; use
6911 GST_TYPE_FRACTION for framerates; update some pieces of
6912 code to 0.10, but there's plenty more to do.
6914 * docs/manual/appendix-porting.xml:
6915 Expand on asynchroneous state changes; s/0.9/0.10/;
6916 mention disappearance of gst_init_get_popt_table()
6919 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
6921 * docs/faq/using.xml:
6922 Spider no longer exists, and neither does gst-launch-ext.
6923 Update examples to use decodebin and playbin and put
6924 converters in front of sinks (fixes #323726).
6926 2005-12-09 Michael Smith <msmith@fluendo.com>
6928 * plugins/elements/gsttypefindelement.c: (find_peek),
6929 (gst_type_find_element_chain):
6930 Fix leaking element factories in typefinding.
6931 Fix problem where we forgot about a probable type on non-seekable
6932 files, and thus later mis-typefound it.
6934 2005-12-09 Michael Smith <msmith@fluendo.com>
6936 * common/m4/gst-makecontext.m4:
6937 * common/m4/gst-mcsc.m4:
6939 * win32/common/config.h:
6940 * win32/common/config.h.in:
6941 Remove makecontext stuff; not used in 0.10 and causes problems on
6942 HPUX according to bug #322441
6944 2005-12-07 Wim Taymans <wim@fluendo.com>
6946 * tests/check/Makefile.am:
6947 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
6949 * tests/check/libs/struct_i386.h:
6950 Added ABI check for libs
6952 2005-12-07 Wim Taymans <wim@fluendo.com>
6954 * tests/check/Makefile.am:
6955 And add the struct_i386.h to dist.
6957 2005-12-07 Wim Taymans <wim@fluendo.com>
6959 * tests/check/Makefile.am:
6960 * tests/check/gst/.cvsignore:
6961 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
6963 * tests/check/gst/struct_i386.h:
6964 Added check for ABI compatibility.
6966 2005-12-07 Wim Taymans <wim@fluendo.com>
6968 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
6969 (gst_fake_src_get_times), (gst_fake_src_create):
6970 Fix broken sync option, fixes #323259
6972 2005-12-07 Wim Taymans <wim@fluendo.com>
6977 * gst/gstcaps.c: (gst_caps_is_equal):
6978 Don't assert on NULL <--> X. Fixes #323260
6980 * gst/gstminiobject.c: (gst_mini_object_replace):
6981 If we're doing atomic operations, we might just as well use
6982 the proper way to get an atomic pointer.
6984 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6987 2005-12-07 Michael Smith <msmith@fluendo.com>
6989 * gst/parse/grammar.y:
6990 Remove handling of { } for threads.
6992 2005-12-06 David Schleef <ds@schleef.org>
6994 * libs/gst/base/gstbasetransform.c: speling fix.
6996 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
6998 * docs/libs/tmpl/gstdataprotocol.sgml:
6999 * docs/random/omega/testing/gstobject.c:
7003 * gst/gstelementfactory.c:
7006 * gst/gstghostpad.c:
7008 * gst/gstpadtemplate.c:
7009 * gst/gstregistryxml.c:
7011 * gst/gsttagsetter.c:
7012 * gst/gsttypefind.c:
7014 * libs/gst/base/gstbasesrc.c:
7015 * libs/gst/net/gstnetclientclock.c:
7016 * libs/gst/net/gstnettimeprovider.c:
7017 * plugins/elements/gstfakesrc.c:
7018 * plugins/elements/gstfdsrc.c:
7019 * plugins/elements/gstfilesrc.c:
7020 * plugins/elements/gstidentity.c:
7021 * plugins/elements/gstqueue.c:
7022 * plugins/elements/gsttypefindelement.c:
7023 * plugins/indexers/gstfileindex.c:
7024 * plugins/indexers/gstmemindex.c:
7025 * tests/check/gst/gsttag.c:
7026 * tests/old/examples/cutter/cutter.c:
7027 * tests/old/examples/mixer/mixer.c:
7028 * tests/old/examples/xml/runxml.c: (main):
7029 * tests/old/testsuite/caps/normalisation.c:
7030 * tests/old/testsuite/debug/global.c:
7031 * tests/old/testsuite/parse/parse1.c:
7032 * tools/gst-xmlinspect.c:
7033 * win32/common/dirent.c:
7036 === release 0.10.0 ===
7038 2005-12-05 <thomas (at) apestaart (dot) org>
7041 releasing 0.10.0, "Maroilles"
7043 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
7045 submitted by: Funda Wang <fundawang@linux.net.cn>
7049 added Chinese (Traditional) translation
7051 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
7053 * docs/gst/gstreamer-sections.txt:
7054 * docs/libs/tmpl/gstdataprotocol.sgml:
7055 * docs/random/thomasvs/TODO:
7060 2005-12-05 Andy Wingo <wingo@pobox.com>
7062 patch by: Wim Taymans <wim@fluendo.com>
7064 * libs/gst/base/gstbasetransform.c
7065 (gst_base_transform_prepare_output_buf)
7066 (gst_base_transform_buffer_alloc):
7067 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
7068 alloc_buffer_and_set_caps.
7070 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
7071 set_caps on the source pad.
7072 (gst_pad_alloc_buffer_and_set_caps): New function, does what
7073 alloc_buffer used to do. Fixes #322874.
7075 * docs/gst/gstreamer-sections.txt:
7076 * docs/design/part-negotiation.txt:
7077 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
7080 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
7082 patch by: Sebastien Moutte
7085 * win32/common/config.h.in:
7086 * win32/vs6/libgstcontroller.dsp:
7089 2005-12-05 Wim Taymans <wim@fluendo.com>
7091 * gst/gstcaps.c: (gst_caps_is_equal):
7092 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7093 (gst_fake_src_create):
7094 Back out previous code changes, leave doc updates, file bugs
7097 2005-12-05 Wim Taymans <wim@fluendo.com>
7099 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
7100 (gst_fake_src_get_times), (gst_fake_src_create):
7101 * plugins/elements/gstfakesrc.h:
7102 Fix broken sync code.
7104 2005-12-05 Wim Taymans <wim@fluendo.com>
7106 * gst/gstcaps.c: (gst_caps_is_equal):
7107 Comparing NULL against !NULL yields different caps, not a
7110 2005-12-05 Wim Taymans <wim@fluendo.com>
7112 * gst/gstpipeline.c:
7113 Fix small typo in docs.
7115 2005-12-05 Andy Wingo <wingo@pobox.com>
7117 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
7119 * gst/gst.c (init_post): remove hard-coded 0.9 location for
7120 registries/plugins with a MAJORMINOR one.
7121 (plugin_desc): Rename library from gstcoreleements to
7122 staticelements. Fixes #323222.
7124 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
7126 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
7127 Change debug category to 'collectpads' from 'collect_pads'
7130 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
7132 patch by: Sebastien Moutte
7134 * libs/gst/controller/gstinterpolation.c:
7135 use convert function for uint64/double
7136 * win32/vs6/libgstcontroller.dsp:
7139 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
7141 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
7142 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
7144 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7145 add tests that seem to show that the guint64/gdouble conversions
7148 2005-12-02 Wim Taymans <wim@fluendo.com>
7150 * gst/gstregistry.c: (gst_registry_add_path):
7151 * gst/gstregistry.h:
7152 * gst/gstregistryxml.c:
7155 2005-12-02 Wim Taymans <wim@fluendo.com>
7157 * gst/gstutils.c: (gst_util_uint64_scale_int64),
7158 (gst_util_uint64_scale_int):
7161 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7164 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
7167 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
7170 * win32/common/config.h:
7171 * win32/vs6/gstreamer.dsw:
7172 * win32/vs6/libgstcoreelements.dsp:
7173 * win32/vs6/libgstelements.dsp:
7174 renamed core elements plugin
7176 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
7178 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
7180 do piece-wise major/minor comparison so 0.9 < 0.10
7181 also allow .exe extensions for tools
7183 2005-12-02 Michael Smith <msmith@fluendo.com>
7186 Escape a % to make gtkdoc happier; bug 322958.
7188 === release 0.9.7 ===
7190 2005-12-01 <thomas (at) apestaart (dot) org>
7193 releasing 0.9.7, "My Dog Has No Nose"
7195 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7197 * common/gst-xmlinspect.py:
7199 * docs/libs/tmpl/gstdataprotocol.sgml:
7200 * docs/random/release:
7219 * win32/common/config.h:
7220 * win32/common/config.h.in:
7221 * win32/vs6/gst_inspect.dsp:
7222 * win32/vs6/gst_launch.dsp:
7223 * win32/vs6/libgstbase.dsp:
7224 * win32/vs6/libgstelements.dsp:
7225 * win32/vs6/libgstreamer.dsp:
7226 * win32/vs7/GStreamer.vcproj:
7227 * win32/vs7/gst-inspect.vcproj:
7228 * win32/vs7/gst-launch.vcproj:
7229 * win32/vs7/libgstbase.vcproj:
7230 bump GST_MAJORMINOR to 0.10
7231 reset libtool version
7233 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7237 Added Bulgarian translation by (Alexander Shopov)
7239 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7241 * tests/check/gst/gstplugin.c:
7244 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7246 * common/gst-xmlinspect.py:
7247 * common/gtk-doc-plugins.mak:
7250 * docs/gst/Makefile.am:
7251 * docs/gst/gstreamer-docs.sgml:
7252 * docs/gst/gstreamer-sections.txt:
7253 * docs/gst/gstreamer.types:
7254 * docs/gst/gstreamer.types.in:
7255 * docs/plugins/Makefile.am:
7256 * docs/plugins/gstreamer-plugins-docs.sgml:
7257 * docs/plugins/gstreamer-plugins-sections.txt:
7258 * docs/plugins/gstreamer-plugins.types:
7259 * docs/plugins/inspect.stamp:
7260 * docs/plugins/inspect/plugin-coreelements.xml:
7261 * docs/plugins/inspect/plugin-coreindexers.xml:
7262 * docs/plugins/scanobj-build.stamp:
7263 * gstreamer.spec.in:
7264 * plugins/elements/Makefile.am:
7265 * plugins/elements/gstelements.c:
7266 * plugins/elements/gstfakesink.c:
7267 * plugins/elements/gstfakesrc.c:
7268 * plugins/elements/gstfilesink.c:
7269 * plugins/elements/gstfilesrc.c:
7270 * plugins/elements/gstqueue.c:
7271 * plugins/indexers/Makefile.am:
7272 * plugins/indexers/gstindexers.c:
7273 document core plugins in a separate document just like all the
7275 rename these plugins to something starting with core
7277 2005-12-01 Andy Wingo <wingo@pobox.com>
7279 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
7280 padding here before, but it missed the commit.
7282 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7284 * libs/gst/controller/gstinterpolation.c:
7285 whitespace prices have crashed, we should feel free to use some now
7286 use gst_guint64_to_gdouble
7288 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7290 * libs/gst/controller/gstcontroller.c:
7291 * libs/gst/controller/gsthelper.c:
7292 * libs/gst/controller/gstinterpolation.c:
7293 * libs/gst/controller/lib.c:
7294 wrap config.h include
7296 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7298 * docs/gst/gstreamer-sections.txt:
7301 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
7303 * plugins/elements/gstelements.c:
7304 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
7305 (gst_fd_sink__class_init), (gst_fd_sink__init),
7306 (gst_fd_sink__chain), (gst_fd_sink__set_property),
7307 (gst_fd_sink__get_property):
7308 * plugins/elements/gstfdsink.h:
7309 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
7310 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
7311 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
7312 (gst_fd_src_unlock), (gst_fd_src_set_property),
7313 (gst_fd_src_get_property), (gst_fd_src_create),
7314 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
7315 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
7316 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
7317 (gst_fd_src_uri_handler_init):
7318 * plugins/elements/gstfdsrc.h:
7319 * plugins/elements/gstqueue.c: (gst_queue_get_type):
7322 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7324 * docs/gst/Makefile.am:
7325 * docs/gst/gstreamer.types.in:
7329 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7335 * gst/gstregistry.h:
7336 * tests/benchmarks/complexity.c:
7337 * tests/benchmarks/mass-elements.c:
7338 * tests/check/Makefile.am:
7339 * tools/Makefile.am:
7340 * tools/gst-inspect.c:
7341 * tools/gst-xmlinspect.c:
7342 various fixes to make
7343 --disable-nls --disable-registry --disable-loadsave
7344 --disable-parse --disable-gst-debug
7345 work and get the core .so down to 360444 bytes after stripping
7347 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7352 * docs/random/thomasvs/TODO:
7353 * tests/Makefile.am:
7357 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7359 * win32/GStreamer.vcproj:
7362 * win32/Makefile.inspect:
7363 * win32/Makefile.launch:
7364 * win32/Makefile.register:
7366 * win32/gst-inspect.vcproj:
7367 * win32/gst-launch.vcproj:
7368 * win32/gst-register.vcproj:
7369 * win32/gstelements.vcproj:
7370 * win32/gstgetbits.def:
7371 * win32/gstgetbits.vcproj:
7372 * win32/gstreamer-dbg.def:
7373 * win32/gstreamer.def:
7374 * win32/libgstbase.def:
7375 * win32/libgstbase.vcproj:
7376 * win32/link_oldruntime.c:
7381 move even more stuff, win32/ is nice and clean now
7383 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7385 * libs/gst/control/.cvsignore:
7390 * win32/gstbytestream.def:
7391 * win32/gstbytestream.vcproj:
7392 * win32/gstconfig.h:
7393 * win32/gstenumtypes.c:
7394 * win32/gstenumtypes.h:
7395 * win32/gstoptimalscheduler.vcproj:
7396 * win32/gstversion.h:
7398 * win32/testsuite/bins.vcproj:
7399 * win32/testsuite/bytestream.vcproj:
7400 * win32/testsuite/caps.vcproj:
7401 * win32/testsuite/cleanup.vcproj:
7402 * win32/testsuite/clock.vcproj:
7403 * win32/testsuite/debug.vcproj:
7404 * win32/testsuite/dlopen.vcproj:
7405 * win32/testsuite/dynparams.vcproj:
7406 * win32/testsuite/elements.vcproj:
7407 * win32/testsuite/ghostpads.vcproj:
7408 * win32/testsuite/indexers.vcproj:
7409 * win32/testsuite/negotiation.vcproj:
7410 * win32/testsuite/parse.vcproj:
7411 * win32/testsuite/plugin.vcproj:
7412 * win32/testsuite/refcounting.vcproj:
7413 * win32/testsuite/schedulers.vcproj:
7414 * win32/testsuite/states.vcproj:
7415 * win32/testsuite/tags.vcproj:
7416 * win32/testsuite/threads.vcproj:
7417 remove old win32 stuff that isn't maintained and should be
7420 2005-11-30 Andy Wingo <wingo@pobox.com>
7422 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
7423 loading the gst.interfaces python module bork.
7425 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
7426 available since GLib 2.2. Fixes #318031.
7428 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7432 * check/Makefile.am:
7433 * check/elements/.cvsignore:
7434 * check/elements/fakesrc.c:
7435 * check/elements/fdsrc.c:
7436 * check/elements/identity.c:
7437 * check/generic/.cvsignore:
7438 * check/generic/states.c:
7439 * check/gst-libs/.cvsignore:
7440 * check/gst-libs/controller.c:
7441 * check/gst-libs/gdp.c:
7442 * check/gst/.cvsignore:
7443 * check/gst/capslist.h:
7445 * check/gst/gstbin.c:
7446 * check/gst/gstbuffer.c:
7447 * check/gst/gstbus.c:
7448 * check/gst/gstcaps.c:
7449 * check/gst/gstelement.c:
7450 * check/gst/gstevent.c:
7451 * check/gst/gstghostpad.c:
7452 * check/gst/gstiterator.c:
7453 * check/gst/gstmessage.c:
7454 * check/gst/gstminiobject.c:
7455 * check/gst/gstobject.c:
7456 * check/gst/gstpad.c:
7457 * check/gst/gstpipeline.c:
7458 * check/gst/gstplugin.c:
7459 * check/gst/gstsegment.c:
7460 * check/gst/gststructure.c:
7461 * check/gst/gstsystemclock.c:
7462 * check/gst/gsttag.c:
7463 * check/gst/gstutils.c:
7464 * check/gst/gstvalue.c:
7465 * check/net/.cvsignore:
7466 * check/net/gstnetclientclock.c:
7467 * check/net/gstnettimeprovider.c:
7468 * check/pipelines/.cvsignore:
7469 * check/pipelines/cleanup.c:
7470 * check/pipelines/simple_launch_lines.c:
7471 * check/pipelines/stress.c:
7472 * check/states/.cvsignore:
7473 * check/states/sinks.c:
7475 * examples/Makefile.am:
7476 * examples/appreader/.cvsignore:
7477 * examples/appreader/Makefile.am:
7478 * examples/appreader/appreader.c:
7479 * examples/controller/.cvsignore:
7480 * examples/controller/Makefile.am:
7481 * examples/controller/audio-example.c:
7482 * examples/cutter/.cvsignore:
7483 * examples/cutter/Makefile.am:
7484 * examples/cutter/cutter.c:
7485 * examples/cutter/cutter.h:
7486 * examples/events/Makefile.am:
7487 * examples/events/seek.c:
7488 * examples/helloworld/.cvsignore:
7489 * examples/helloworld/Makefile.am:
7490 * examples/helloworld/helloworld.c:
7491 * examples/helloworld2/.cvsignore:
7492 * examples/helloworld2/Makefile.am:
7493 * examples/helloworld2/helloworld2.c:
7494 * examples/launch/.cvsignore:
7495 * examples/launch/Makefile.am:
7496 * examples/launch/mp3parselaunch.c:
7497 * examples/launch/mp3play:
7498 * examples/manual/.cvsignore:
7499 * examples/manual/Makefile.am:
7500 * examples/manual/extract.pl:
7501 * examples/metadata/Makefile.am:
7502 * examples/metadata/read-metadata.c:
7503 * examples/mixer/.cvsignore:
7504 * examples/mixer/Makefile.am:
7505 * examples/mixer/mixer.c:
7506 * examples/mixer/mixer.h:
7507 * examples/pingpong/.cvsignore:
7508 * examples/pingpong/Makefile.am:
7509 * examples/pingpong/pingpong.c:
7510 * examples/plugins/.cvsignore:
7511 * examples/plugins/Makefile.am:
7512 * examples/plugins/example.c:
7513 * examples/plugins/example.h:
7514 * examples/pwg/.cvsignore:
7515 * examples/pwg/Makefile.am:
7516 * examples/pwg/extract.pl:
7517 * examples/queue/.cvsignore:
7518 * examples/queue/Makefile.am:
7519 * examples/queue/queue.c:
7520 * examples/queue2/.cvsignore:
7521 * examples/queue2/Makefile.am:
7522 * examples/queue2/queue2.c:
7523 * examples/queue3/.cvsignore:
7524 * examples/queue3/Makefile.am:
7525 * examples/queue3/queue3.c:
7526 * examples/queue4/.cvsignore:
7527 * examples/queue4/Makefile.am:
7528 * examples/queue4/queue4.c:
7529 * examples/retag/.cvsignore:
7530 * examples/retag/Makefile.am:
7531 * examples/retag/retag.c:
7532 * examples/retag/transcode.c:
7533 * examples/thread/.cvsignore:
7534 * examples/thread/Makefile.am:
7535 * examples/thread/thread.c:
7536 * examples/typefind/.cvsignore:
7537 * examples/typefind/Makefile.am:
7538 * examples/typefind/typefind.c:
7539 * examples/xml/.cvsignore:
7540 * examples/xml/Makefile.am:
7541 * examples/xml/createxml.c:
7542 * examples/xml/runxml.c:
7543 * tests/Makefile.am:
7544 * tests/check/Makefile.am:
7545 * testsuite/.cvsignore:
7546 * testsuite/Makefile.am:
7548 * testsuite/caps/.cvsignore:
7549 * testsuite/caps/Makefile.am:
7550 * testsuite/caps/app_fixate.c:
7551 * testsuite/caps/audioscale.c:
7552 * testsuite/caps/caps.c:
7553 * testsuite/caps/caps.h:
7554 * testsuite/caps/caps_strings:
7555 * testsuite/caps/compatibility.c:
7556 * testsuite/caps/deserialize.c:
7557 * testsuite/caps/enumcaps.c:
7558 * testsuite/caps/eratosthenes.c:
7559 * testsuite/caps/filtercaps.c:
7560 * testsuite/caps/fixed.c:
7561 * testsuite/caps/fraction-convert.c:
7562 * testsuite/caps/fraction-multiply-and-zero.c:
7563 * testsuite/caps/intersect2.c:
7564 * testsuite/caps/intersection.c:
7565 * testsuite/caps/normalisation.c:
7566 * testsuite/caps/random.c:
7567 * testsuite/caps/renegotiate.c:
7568 * testsuite/caps/sets.c:
7569 * testsuite/caps/simplify.c:
7570 * testsuite/caps/string-conversions.c:
7571 * testsuite/caps/structure.c:
7572 * testsuite/caps/subtract.c:
7573 * testsuite/caps/union.c:
7574 * testsuite/debug/.cvsignore:
7575 * testsuite/debug/Makefile.am:
7576 * testsuite/debug/category.c:
7577 * testsuite/debug/commandline.c:
7578 * testsuite/debug/global.c:
7579 * testsuite/debug/output.c:
7580 * testsuite/debug/printf_extension.c:
7581 * testsuite/dlopen/.cvsignore:
7582 * testsuite/dlopen/Makefile.am:
7583 * testsuite/dlopen/dlopen_gst.c:
7584 * testsuite/dlopen/loadgst.c:
7585 * testsuite/elements/.cvsignore:
7586 * testsuite/elements/Makefile.am:
7587 * testsuite/elements/gst-inspect-check.in:
7588 * testsuite/elements/struct_i386.h:
7589 * testsuite/elements/struct_size.c:
7590 * testsuite/indexers/.cvsignore:
7591 * testsuite/indexers/Makefile.am:
7592 * testsuite/indexers/cache1.c:
7593 * testsuite/indexers/indexdump.c:
7594 * testsuite/parse/.cvsignore:
7595 * testsuite/parse/Makefile.am:
7596 * testsuite/parse/parse1.c:
7597 * testsuite/parse/parse2.c:
7598 * testsuite/plugin/.cvsignore:
7599 * testsuite/plugin/Makefile.am:
7600 * testsuite/plugin/README:
7601 * testsuite/plugin/dynamic.c:
7602 * testsuite/plugin/linked.c:
7603 * testsuite/plugin/loading.c:
7604 * testsuite/plugin/registry.c:
7605 * testsuite/plugin/static.c:
7606 * testsuite/plugin/static2.c:
7607 * testsuite/plugin/testplugin.c:
7608 * testsuite/plugin/testplugin2.c:
7609 * testsuite/plugin/testplugin2_s.c:
7610 * testsuite/plugin/testplugin_s.c:
7611 * testsuite/refcounting/.cvsignore:
7612 * testsuite/refcounting/Makefile.am:
7613 * testsuite/refcounting/bin.c:
7614 * testsuite/refcounting/element.c:
7615 * testsuite/refcounting/element_pad.c:
7616 * testsuite/refcounting/mainloop.c:
7617 * testsuite/refcounting/mem.c:
7618 * testsuite/refcounting/mem.h:
7619 * testsuite/refcounting/object.c:
7620 * testsuite/refcounting/pad.c:
7621 * testsuite/refcounting/sched.c:
7622 * testsuite/refcounting/thread.c:
7623 * testsuite/states/.cvsignore:
7624 * testsuite/states/Makefile.am:
7625 * testsuite/states/bin.c:
7626 * testsuite/states/locked.c:
7627 * testsuite/states/parent.c:
7628 * testsuite/threads/.cvsignore:
7629 * testsuite/threads/159566.c:
7630 * testsuite/threads/159852.c:
7631 * testsuite/threads/Makefile.am:
7632 * testsuite/threads/queue.c:
7633 * testsuite/threads/signals.c:
7634 * testsuite/threads/staticrec.c:
7635 * testsuite/threads/thread.c:
7636 * testsuite/threads/threadb.c:
7637 * testsuite/threads/threadc.c:
7638 * testsuite/threads/threadd.c:
7639 * testsuite/threads/threade.c:
7640 * testsuite/threads/threadf.c:
7641 * testsuite/threads/threadg.c:
7642 * testsuite/threads/threadh.c:
7643 * testsuite/threads/threadi.c:
7644 move all of these under tests
7646 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7649 * tests/Makefile.am:
7652 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7654 * docs/gst/gstreamer-sections.txt:
7655 * tests/sched/.cvsignore:
7656 * tests/sched/Makefile.am:
7657 * tests/sched/cases/(fs-fs).xml:
7658 * tests/sched/cases/(fs-i-fs).xml:
7659 * tests/sched/cases/(fs-i-i-fs).xml:
7660 * tests/sched/cases/(fs-i-q[i-fs]).xml:
7661 * tests/sched/dynamic-pipeline.c:
7662 * tests/sched/interrupt1.c:
7663 * tests/sched/interrupt2.c:
7664 * tests/sched/interrupt3.c:
7665 * tests/sched/runtestcases:
7666 * tests/sched/runxml.c:
7667 * tests/sched/sched-stress.c:
7668 * tests/sched/sort.c:
7669 * tests/sched/testcases:
7670 * tests/sched/testcases1.tc:
7671 * tests/seeking/.cvsignore:
7672 * tests/seeking/Makefile.am:
7673 * tests/seeking/seeking1.c:
7674 * tests/threadstate/.cvsignore:
7675 * tests/threadstate/Makefile.am:
7676 * tests/threadstate/test1.c:
7677 * tests/threadstate/test2.c:
7678 * tests/threadstate/threadstate1.c:
7679 * tests/threadstate/threadstate2.c:
7680 * tests/threadstate/threadstate3.c:
7681 * tests/threadstate/threadstate4.c:
7682 * tests/threadstate/threadstate5.c:
7683 remove obsolete tests
7685 * tests/bench-complexity.scm:
7686 * tests/bench-mass_elements.scm:
7687 * tests/complexity.c:
7688 * tests/complexity.gnuplot:
7689 * tests/instantiate/.cvsignore:
7690 * tests/instantiate/Makefile.am:
7691 * tests/instantiate/caps.c:
7692 * tests/mass_elements.c:
7693 * tests/network-clock-utils.scm:
7694 * tests/network-clock.scm:
7696 First pass at cleaning up tests/ dir before moving the rest
7697 Combined with CVS surgery
7699 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7702 queue has moved, update
7704 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7706 * docs/gst/gstreamer-sections.txt:
7707 remove double entries from the docs
7708 * gst/gst_private.h:
7709 * gst/gstinfo.c: (_gst_debug_init):
7710 remove the THREAD debug category
7714 * docs/gst/gstreamer.types:
7715 * plugins/elements/gstqueue.c: (gst_queue_get_type),
7716 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
7717 completely move queue and fix up debugging categories
7719 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7721 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7722 make initialization portable, using LL is not
7724 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7726 * win32/common/gstconfig.h:
7729 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7731 * win32/common/libgstreamer.def:
7732 rename symbols; sort base section
7734 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7736 * gst/gstclock.c: (do_linear_regression):
7737 remove crack non-portable handrolled DEBUG macro
7739 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7741 * docs/random/release:
7743 * win32/common/gstenumtypes.c: (register_gst_object_flags),
7744 (gst_object_flags_get_type), (register_gst_bin_flags),
7745 (gst_bin_flags_get_type), (register_gst_buffer_flag),
7746 (gst_buffer_flag_get_type), (register_gst_bus_flags),
7747 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7748 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
7749 (gst_caps_flags_get_type), (register_gst_clock_return),
7750 (gst_clock_return_get_type), (register_gst_clock_entry_type),
7751 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7752 (gst_clock_flags_get_type), (register_gst_state),
7753 (gst_state_get_type), (register_gst_state_change_return),
7754 (gst_state_change_return_get_type), (register_gst_state_change),
7755 (gst_state_change_get_type), (register_gst_element_flags),
7756 (gst_element_flags_get_type), (register_gst_core_error),
7757 (gst_core_error_get_type), (register_gst_library_error),
7758 (gst_library_error_get_type), (register_gst_resource_error),
7759 (gst_resource_error_get_type), (register_gst_stream_error),
7760 (gst_stream_error_get_type), (register_gst_event_type_flags),
7761 (gst_event_type_flags_get_type), (register_gst_event_type),
7762 (gst_event_type_get_type), (register_gst_seek_type),
7763 (gst_seek_type_get_type), (register_gst_seek_flags),
7764 (gst_seek_flags_get_type), (register_gst_format),
7765 (gst_format_get_type), (register_gst_index_certainty),
7766 (gst_index_certainty_get_type), (register_gst_index_entry_type),
7767 (gst_index_entry_type_get_type),
7768 (register_gst_index_lookup_method),
7769 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7770 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7771 (gst_index_resolver_method_get_type), (register_gst_index_flags),
7772 (gst_index_flags_get_type), (register_gst_debug_level),
7773 (gst_debug_level_get_type), (register_gst_debug_color_flags),
7774 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7775 (gst_iterator_result_get_type), (register_gst_iterator_item),
7776 (gst_iterator_item_get_type), (register_gst_message_type),
7777 (gst_message_type_get_type), (register_gst_mini_object_flags),
7778 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7779 (gst_pad_link_return_get_type), (register_gst_flow_return),
7780 (gst_flow_return_get_type), (register_gst_activate_mode),
7781 (gst_activate_mode_get_type), (register_gst_pad_direction),
7782 (gst_pad_direction_get_type), (register_gst_pad_flags),
7783 (gst_pad_flags_get_type), (register_gst_pad_presence),
7784 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7785 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7786 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7787 (gst_plugin_error_get_type), (register_gst_plugin_flags),
7788 (gst_plugin_flags_get_type), (register_gst_rank),
7789 (gst_rank_get_type), (register_gst_query_type),
7790 (gst_query_type_get_type), (register_gst_tag_merge_mode),
7791 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7792 (gst_tag_flag_get_type), (register_gst_task_state),
7793 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7794 (gst_alloc_trace_flags_get_type),
7795 (register_gst_type_find_probability),
7796 (gst_type_find_probability_get_type), (register_gst_uri_type),
7797 (gst_uri_type_get_type), (register_gst_parse_error),
7798 (gst_parse_error_get_type):
7799 * win32/common/gstenumtypes.h:
7800 * win32/common/gstversion.h:
7801 update visual studio generated files
7803 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7805 * win32/vs6/libgstbase.dsp:
7806 * win32/vs6/libgstelements.dsp:
7807 update project files for new locations
7809 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
7814 reinstate and update
7819 * docs/random/LICENSE:
7822 2005-11-30 Edward Hervey <edward@fluendo.com>
7824 * gst/gsttypefind.c: (gst_type_find_register):
7825 * gst/gsttypefind.h:
7826 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
7827 (gst_type_find_factory_dispose):
7828 * gst/gsttypefindfactory.h:
7829 Fix memory leak in GstTypeFindFactory.
7831 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7834 * plugins/elements/Makefile.am:
7835 * plugins/elements/gstelements.c:
7836 * plugins/elements/gstqueue.c:
7837 move queue from core to the elements plugin
7839 2005-11-29 Andy Wingo <wingo@pobox.com>
7841 * libs/gst/base/gstbasetransform.h:
7842 * libs/gst/base/gstbasesrc.h:
7843 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
7845 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
7846 of pointers by which to pad very extensible base classes (like the
7847 ones in libs/gst/base).
7849 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7851 * docs/gst/gstreamer-docs.sgml:
7852 * docs/gst/gstreamer-sections.txt:
7853 * docs/libs/gstreamer-libs-docs.sgml:
7854 * docs/libs/gstreamer-libs-sections.txt:
7855 moving documentation from core to lib
7857 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7859 * check/Makefile.am:
7861 * docs/gst/Makefile.am:
7863 * gst/base/.cvsignore:
7864 * gst/base/Makefile.am:
7866 * gst/base/gstadapter.c:
7867 * gst/base/gstadapter.h:
7868 * gst/base/gstbasesink.c:
7869 * gst/base/gstbasesink.h:
7870 * gst/base/gstbasesrc.c:
7871 * gst/base/gstbasesrc.h:
7872 * gst/base/gstbasetransform.c:
7873 * gst/base/gstbasetransform.h:
7874 * gst/base/gstcollectpads.c:
7875 * gst/base/gstcollectpads.h:
7876 * gst/base/gstpushsrc.c:
7877 * gst/base/gstpushsrc.h:
7878 * gst/base/gsttypefindhelper.c:
7879 * gst/base/gsttypefindhelper.h:
7880 * gst/check/Makefile.am:
7881 * gst/check/gstcheck.c:
7882 * gst/check/gstcheck.h:
7883 * gst/net/Makefile.am:
7885 * gst/net/gstnetclientclock.c:
7886 * gst/net/gstnetclientclock.h:
7887 * gst/net/gstnettimepacket.c:
7888 * gst/net/gstnettimepacket.h:
7889 * gst/net/gstnettimeprovider.c:
7890 * gst/net/gstnettimeprovider.h:
7891 * libs/gst/Makefile.am:
7892 * libs/gst/base/Makefile.am:
7893 * libs/gst/base/gstbasetransform.c:
7894 * libs/gst/check/Makefile.am:
7895 * plugins/elements/Makefile.am:
7897 CVS surgery + support to move base, check, and net out of gst
7900 2005-11-29 Andy Wingo <wingo@pobox.com>
7902 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
7904 * gst/gststructure.h (struct _GstStructure): Only one pointer of
7907 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
7909 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
7911 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
7913 * gst/gstobject.h: (struct _GstObject): Only one pointer of
7914 padding; reduces object size by about 30%. We don't expect
7915 anything else to go into gstobject.
7917 * gst/gstminiobject.h (struct _GstMiniObject)
7918 (struct _GstMiniObjectClass): Only one pointer of padding; the
7919 payload is only a pointer and two ints anyway. For the class there
7920 are only two methods as well.
7922 * gst/gstelement.h (struct _GstElementClass): Removed
7923 the state_changed signal callback, it is not used.
7925 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7927 * docs/gst/gstreamer.types:
7928 fix includes, though they are a little dinky
7930 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7932 * check/Makefile.am:
7933 look in the right place for elements, a lot more chance of
7936 remove indexers and elements subdirs
7937 * plugins/Makefile.am:
7938 make indexers conditional
7940 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
7944 * plugins/elements/Makefile.am:
7945 * plugins/elements/gstcapsfilter.c:
7946 * plugins/elements/gstfilesink.c:
7947 * plugins/elements/gstfilesrc.c:
7948 * plugins/elements/gstidentity.c:
7949 * plugins/indexers/Makefile.am:
7950 do CVS surgery and related build fixery to move elements
7951 and indexers in a new gstreamer/plugins directory, out of the
7954 2005-11-29 Andy Wingo <wingo@pobox.com>
7956 * check/Makefile.am:
7957 * pkgconfig/gstreamer-net-uninstalled.pc.in:
7958 * pkgconfig/gstreamer-net.pc.in:
7959 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
7962 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7964 * tools/Makefile.am:
7965 * tools/gst-complete.1.in:
7966 * tools/gst-complete.c:
7967 * tools/gst-compprep.1.in:
7968 * tools/gst-compprep.c:
7969 removing -compprep and -complete
7971 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
7973 * gst/gstevent.c: (gst_event_new_new_segment),
7974 (gst_event_parse_new_segment):
7976 fix #320529 - clean up new_segment API and structure.
7977 Let's hope everyone was using the methods, and not the structure.
7979 2005-11-29 Edward Hervey <edward@fluendo.com>
7981 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7982 (gst_base_sink_event), (gst_base_sink_do_sync),
7983 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
7984 Properly handle non GST_FORMAT_TIME segment
7985 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7986 Properly handle non GST_FORMAT_TIME segment
7988 This function is valid if the accumulator is 0 and the format
7989 is different from the requested format.
7991 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
7993 * docs/gst/gstreamer-sections.txt:
7994 Add gst_query_new_seeking and gst_query_parse_seeking to the
7997 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
7999 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
8000 Treat a pad alloc with new caps the same as if we were not
8001 negotiated, in order to allow a changing upstream output
8002 to produce a new format of data.
8004 2005-11-29 Edward Hervey <edward@fluendo.com>
8006 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
8007 (gst_base_transform_event), (gst_base_transform_eventfunc):
8008 The event virtual method is now properly implemented, with a default
8010 Sub classes should call the parent_class event method. They should
8011 return FALSE if they had a problem handling the given event, or don't
8012 want GstBaseTransform to send that even downstream
8013 * gst/elements/gstidentity.c: (gst_identity_class_init),
8014 (gst_identity_init), (gst_identity_event),
8015 (gst_identity_transform_ip), (gst_identity_set_property),
8016 (gst_identity_get_property):
8017 * gst/elements/gstidentity.h:
8018 Added the single-segment boolean property.
8019 If set to TRUE, it will output a single segment of data, starting from
8020 0, will eat up all incoming newsegment, and modify the timestamp of the
8023 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
8025 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
8026 Don't ref NULL target pad (#322751). Improve docs.
8028 2005-11-29 Michael Smith <msmith@fluendo.com>
8030 * gst/gstregistryxml.c: (load_plugin):
8031 Don't crash if we failed to load a feature from a plugin.
8033 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8035 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
8037 use more check API and less GLib API
8039 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8042 don't run checks if we don't have check
8044 remove the registry when running make torture
8045 * docs/gst/gstreamer-sections.txt:
8046 remove second multiply
8047 * gst/gstqueue.c: (gst_queue_loop):
8048 fix a compile warning when disabling debug
8050 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
8053 Hey! Let's print the pad name if the pointer != NULL instead
8054 of when it == NULL :-)
8056 2005-11-28 Wim Taymans <wim@fluendo.com>
8058 * check/gst/gstutils.c: (GST_START_TEST):
8059 Updated check, add some scaling accuracy checking code.
8061 * gst/gstutils.c: (gst_util_div128_64),
8062 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
8063 (gst_util_uint64_scale_int):
8064 Fix 6 times faster division code. Optimize for common
8065 1/1 and less common X/1 cases.
8067 2005-11-28 Wim Taymans <wim@fluendo.com>
8069 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8072 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
8073 (do_linear_regression), (gst_clock_add_observation):
8075 Release lock when the clock cannot be slaved.
8076 Catch the case where the regression returned an invalid denominator.
8078 * gst/gstutils.c: (gst_util_div128_64_iterate),
8079 (gst_util_div128_64), (gst_util_uint64_scale_int64),
8080 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
8081 Add protentially more performant non-iterative 128/64 divide function
8082 that unfortunatly does not work yet.
8083 Shortcut the trivial 0/X = 0 case.
8084 Remove the warnings on overflow.
8086 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8088 * gst/gstplugin.c: (gst_plugin_register_func):
8089 everything causing a plugin not to load should be at least a WARNING
8091 2005-11-28 Stefan Kost <ensonic@users.sf.net>
8093 * docs/random/ensonic/dparams.txt:
8094 some TODOs for the next dev cycle
8095 * libs/gst/controller/gstcontroller.c:
8096 (gst_controlled_property_set_interpolation_mode),
8097 (gst_controlled_property_new):
8098 * libs/gst/controller/gstcontroller.h:
8099 use base type to assign acccessor functions
8101 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
8103 * check/Makefile.am:
8104 Oops, that should have been top_srcdir
8106 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
8108 * check/Makefile.am:
8109 * check/elements/fdsrc.c: (GST_START_TEST):
8110 Use a cmdline define to specify the location of a file to use for
8111 testing, to avoid breaking distcheck.
8113 2005-11-28 Andy Wingo <wingo@pobox.com>
8115 * gst/gstpad.c (fixate_value): Use array functions for arrays.
8117 2005-11-28 Edward Hervey <edward@fluendo.com>
8119 * tools/gst-launch.c: (main):
8120 Clarify the output strings, makes it easier to translate.
8123 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
8126 don't try and build net if we don't even have <sys/socket.h>
8128 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
8130 * check/Makefile.am:
8131 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
8132 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
8133 Add tests for fdsrc seekability
8135 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
8136 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
8137 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
8138 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
8139 * gst/elements/gstfdsrc.h:
8140 fdsrc should not be a 'live' source.
8141 Implement seeking on seekable fd's.
8143 * gst/gstquery.c: (gst_query_new_seeking),
8144 (gst_query_parse_seeking):
8146 Implement SEEKING query functions:
8147 *_new_seeking and *_parse_seeking
8149 2005-11-27 Stefan Kost <ensonic@users.sf.net>
8151 * gst/gstelement.c: (gst_element_dispose):
8154 * gst/gstiterator.c:
8155 * gst/gststructure.c:
8158 * libs/gst/controller/gstcontroller.c:
8159 (gst_controlled_property_set_interpolation_mode):
8160 * libs/gst/controller/gstcontroller.h:
8161 * libs/gst/controller/gstinterpolation.c:
8162 (interpolate_none_get_enum_value_array):
8163 support controlling enums
8165 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
8168 Improve documentation for gst_value_union().
8171 Change return value for union, intersect and subtract functions
8172 from gint to gboolean.
8174 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
8176 * gst/gstvalue.c: (gst_value_serialize_any_list),
8177 (gst_value_transform_any_list_string),
8178 (gst_value_deserialize_list), (gst_value_deserialize_array),
8179 (gst_value_set_int_range), (gst_value_deserialize_int_range),
8180 (gst_value_set_double_range), (gst_value_deserialize_double_range),
8181 (gst_value_set_fraction_range_full),
8182 (gst_value_deserialize_fraction_range),
8183 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
8184 (gst_value_deserialize_boolean),
8185 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
8186 (gst_value_serialize_float), (gst_value_deserialize_float),
8187 (gst_string_wrap), (gst_value_deserialize_string),
8188 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
8189 (gst_value_union_int_range_int_range),
8190 (gst_value_intersect_int_range_int_range),
8191 (gst_value_intersect_double_range_double_range),
8192 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
8193 (gst_value_subtract_int_range_int_range),
8194 (gst_value_subtract_double_double_range),
8195 (gst_value_subtract_double_range_double_range),
8196 (gst_value_deserialize_fraction):
8198 Use gint, gdouble and gchar in our API instead of int, double and
8199 char (and make usage in gstvalue.c more consistent).
8201 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
8203 * check/Makefile.am:
8204 * libs/gst/controller/Makefile.am:
8205 * libs/gst/dataprotocol/Makefile.am:
8206 fix up Makefile.am and remove GST_ENABLE_NEW
8208 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
8212 * gst/base/Makefile.am:
8213 * gst/check/Makefile.am:
8214 * gst/elements/Makefile.am:
8215 * gst/net/Makefile.am:
8216 update LDFLAGS use some more
8218 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
8220 * common/m4/gst-doc.m4:
8223 2005-11-26 Edward Hervey <edward@fluendo.com>
8225 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8226 This shouldn't issue a g_warning since it returns NULL if it
8227 couldn't find the plugin, and all functions using this behave
8228 properly on a NULL return. Switching to a GST_WARNING.
8230 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
8232 * gst/gstbin.c: (gst_bin_handle_message_func):
8233 Don't leak clock messages.
8235 2005-11-25 Wim Taymans <wim@fluendo.com>
8237 * gst/gstutils.c: (gst_util_uint64_scale_int64),
8238 (gst_util_uint64_scale_int):
8239 Optimisations, remove unneeded vars.
8241 2005-11-25 Wim Taymans <wim@fluendo.com>
8243 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8244 Added more checks for the high precision uint64 cases.
8246 * gst/gstutils.c: (gst_util_uint64_scale_int64),
8247 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
8248 Implement high precision (guint64 * guint64) / guint64.
8250 2005-11-24 Wim Taymans <wim@fluendo.com>
8252 * gst/base/gstbasesrc.c: (gst_base_src_query):
8253 Fix wrong percentage query.
8255 * gst/gstutils.c: (gst_util_uint64_scale),
8256 (gst_util_uint64_scale_int):
8257 Add some more common cases that can be handled
8258 efficiently to _scale.
8260 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
8262 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
8263 (gst_mini_object_suite):
8264 don't use check calls from threads; check probably isn't
8265 threadsafe and using a lock to make it threadsafe would
8266 defeat the purpose of this check
8267 * gst/check/gstcheck.c:
8268 * gst/check/gstcheck.h:
8269 use GST_DEBUG some more
8271 2005-11-24 Wim Taymans <wim@fluendo.com>
8273 * gst/gstutils.c: (gst_util_uint64_scale),
8274 (gst_util_uint64_scale_int):
8275 Chain trivial case to _scale_int.
8277 2005-11-24 Wim Taymans <wim@fluendo.com>
8279 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8280 Added test for scaling.
8285 * gst/gstutils.c: (gst_util_uint64_scale_int):
8286 Implemented high precision scaling code.
8288 2005-11-24 Stefan Kost <ensonic@users.sf.net>
8291 do not crash on pad==NULL
8293 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
8295 Patch by: Stefan Kost
8297 * common/gtk-doc.mak:
8298 * docs/gst/Makefile.am:
8299 * docs/libs/Makefile.am:
8300 Fix distcheck issues for the libraries docs build
8303 2005-11-24 Michael Smith <msmith@fluendo.com>
8305 * docs/manual/basics-helloworld.xml:
8306 Fix bug #315027: memory leak in example code in docs.
8308 2005-11-24 Michael Smith <msmith@fluendo.com>
8310 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8311 Unlock the PREROLL_LOCK in a failure case.
8313 2005-11-24 Wim Taymans <wim@fluendo.com>
8315 * docs/gst/gstreamer-sections.txt:
8316 * gst/base/gstadapter.h:
8317 * gst/base/gstbasesink.h:
8318 * gst/base/gstbasesrc.h:
8319 * gst/base/gstbasetransform.h:
8320 * gst/base/gstpushsrc.h:
8321 * gst/elements/gstfakesink.h:
8322 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
8323 * gst/elements/gstfakesrc.h:
8324 * gst/elements/gstfilesink.h:
8325 * gst/elements/gstfilesrc.h:
8328 * gst/gstbuffer.c: (_gst_buffer_copy):
8331 * gst/gstchildproxy.c:
8334 * gst/gstelementfactory.c:
8335 * gst/gstelementfactory.h:
8337 * gst/gstghostpad.h:
8339 * gst/gstinterface.h:
8340 * gst/gstminiobject.c:
8341 * gst/gstminiobject.h:
8344 * gst/gstpadtemplate.h:
8345 * gst/gstpipeline.h:
8346 * gst/gstpluginfeature.h:
8351 * gst/gsttagsetter.c:
8352 * gst/gsttagsetter.h:
8355 * gst/gsttypefind.h:
8358 * gst/net/gstnetclientclock.c:
8359 * gst/net/gstnetclientclock.h:
8360 * gst/net/gstnettimepacket.c:
8361 * gst/net/gstnettimeprovider.c:
8362 * gst/net/gstnettimeprovider.h:
8365 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8367 * configure.ac: back to HEAD
8369 === release 0.9.6 ===
8371 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8374 releasing 0.9.6, "Always On Time"
8376 2005-11-23 Wim Taymans <wim@fluendo.com>
8378 * docs/gst/gstreamer-sections.txt:
8379 * gst/glib-compat.c:
8380 * gst/gsttagsetter.c:
8382 * gst/net/gstnetclientclock.c:
8383 * gst/net/gstnettimepacket.h:
8386 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
8388 * docs/faq/using.xml:
8389 * docs/libs/tmpl/gstcontrol.sgml:
8390 * docs/manual/advanced-dparams.xml:
8391 * docs/manual/appendix-checklist.xml:
8392 * docs/manual/basics-elements.xml:
8393 * docs/pwg/other-source.xml:
8394 * docs/random/moving-plugins:
8396 * tools/gst-launch.1.in:
8397 remove mentions of sinesrc
8399 2005-11-23 Michael Smith <msmith@fluendo.com>
8401 * docs/gst/gstreamer-sections.txt:
8402 Update for new API and API changes.
8404 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
8406 Documentation typo fix.
8407 * gst/net/gstnettimepacket.c:
8408 Documentation fixes for arguments.
8410 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
8412 * gst/gststructure.c: (gst_structure_get_fraction),
8413 (gst_structure_parse_value),
8414 (gst_structure_fixate_field_nearest_fraction):
8415 * gst/gststructure.h:
8416 * gst/gstutils.c: (gst_util_uint64_scale_int):
8418 * scripts/update-funcnames:
8420 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
8421 Make gst_structure_fixate_field_nearest_fraction take a numerator
8422 and denominator argument instead of a GValue
8423 add gst_structure_get_fraction helper function.
8425 2005-11-23 Wim Taymans <wim@fluendo.com>
8427 * docs/design/part-TODO.txt:
8430 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
8431 * gst/net/gstnetclientclock.h:
8432 Use parent fields for timeout and window_size.
8434 2005-11-23 Andy Wingo <wingo@pobox.com>
8436 * check/net/gstnetclientclock.c (test_functioning): Adjust to
8437 rate_num/rate_denom change.
8439 * gst/net/gstnetclientclock.c
8440 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
8441 OBJECT_LOCK. Don't call add_observation with the lock.
8443 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
8445 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
8447 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
8448 deal with rate as a fraction whose numerator and denominator are
8449 GstClockTime values.
8450 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
8451 master; the other fields are protected by the SLAVE_LOCK.
8452 (do_linear_regression): Note that this must be called with the
8454 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
8455 OBJECT_LOCK. Call set_calibration instead of touching the
8457 (gst_clock_set_property, gst_clock_get_property): Protect
8458 master/slave parameters with the SLAVE_LOCK.
8460 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
8461 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
8462 note that all of the instance variables that add_observation and
8463 the set_master functions use are protected by that lock and not
8465 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
8467 * gst/gstclock.c (gst_clock_add_observation): No longer requires
8468 the caller to take the object lock.
8470 2005-11-23 Wim Taymans <wim@fluendo.com>
8472 * gst/gsterror.c: (_gst_core_errors_init):
8474 Add error for clock stuff.
8476 * gst/gstpipeline.c: (gst_pipeline_change_state),
8477 (gst_pipeline_set_clock):
8478 Post clock error when clock cannot be used in a pipeline.
8480 2005-11-23 Stefan Kost <ensonic@users.sf.net>
8482 * docs/gst/gstreamer-sections.txt:
8483 make two symbols from gstinfo private for the docs
8484 * gst/base/gstcollectpads.h:
8486 fix doc typos, update docs
8488 2005-11-22 Wim Taymans <wim@fluendo.com>
8490 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
8491 (gst_base_sink_wait), (gst_base_sink_do_sync),
8492 (gst_base_sink_handle_event):
8493 * gst/base/gstbasesink.h:
8494 No need to store the clock, the parent element class already
8497 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
8498 Updates for clock_set returning a gboolean
8500 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
8501 (gst_clock_id_wait_async), (gst_clock_class_init),
8502 (gst_clock_init), (gst_clock_finalize),
8503 (gst_clock_get_internal_time), (gst_clock_get_time),
8504 (gst_clock_slave_callback), (gst_clock_set_master),
8505 (gst_clock_get_master), (do_linear_regression),
8506 (gst_clock_add_observation), (gst_clock_set_property),
8507 (gst_clock_get_property):
8509 Implement master/slave. When setting a clock as a slave, a
8510 periodic timeout is scheduled to sample master and slave times.
8511 Then the slave clock is recalibrated to match offset and rate
8512 of the master clock.
8513 Update logging a bit.
8514 Add flag so that a clock can state that is cannot be slaved to
8517 * gst/gstelement.c: (gst_element_set_clock):
8519 The set clock returns a gboolean for when an element cannot
8520 deal with the selected clock in the pipeline.
8522 * gst/gstpipeline.c: (gst_pipeline_change_state),
8523 (gst_pipeline_set_clock):
8524 * gst/gstpipeline.h:
8525 Handle the case where the selected clock cannot be set on
8528 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
8529 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
8530 (gst_net_client_clock_set_property),
8531 (gst_net_client_clock_get_property),
8532 (gst_net_client_clock_observe_times):
8533 * gst/net/gstnetclientclock.h:
8534 Use regression code in GstClock parent, remove duplicated
8537 2005-11-22 Michael Smith <msmith@fluendo.com>
8539 * gst/gstutils.c: (gst_util_clock_time_scale):
8541 * docs/gst/gstreamer-sections.txt:
8542 Rename method to have extra underscore.
8544 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
8546 * gst/elements/Makefile.am:
8547 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
8548 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
8549 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
8550 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
8551 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
8552 * gst/elements/gstfakesrc.h:
8553 * gst/gstqueue.c: (queue_leaky_get_type):
8554 correctly fix GEnumValues so that nick is the short lowercase
8556 * tools/gst-inspect.c: (print_element_properties_info):
8557 also show the nick, since it's useful to use from parse_launch
8561 2005-11-22 Michael Smith <msmith@fluendo.com>
8563 * gst/gstutils.c: (gst_util_clocktime_scale):
8565 * docs/gst/gstreamer-sections.txt:
8566 Add util method for scaling a clocktime by a fraction. Useful
8567 implementation is left as an exercise for the reader.
8569 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8571 * gst/gstvalue.c: (gst_value_collect_fraction_range):
8572 If needed, allocate storage in the destination value during
8575 2005-11-22 Edward Hervey <edward@fluendo.com>
8577 * docs/gst/gstreamer-sections.txt:
8582 * gst/gstutils.c: (gst_util_set_object_arg):
8583 * tools/gst-compprep.c: (main):
8584 * tools/gst-inspect.c: (print_element_properties_info):
8585 Removed GstURI, closes bug #321061
8587 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8589 * check/gst/gststructure.c: (GST_START_TEST):
8590 * gst/gststructure.c: (gst_structure_parse_value):
8591 Oops, broke automatic string type parsing.
8592 Add a test to catch it in future.
8594 2005-11-22 Andy Wingo <wingo@pobox.com>
8596 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
8597 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
8598 Actually rename the function implementations. Grr.
8600 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8602 * check/gst/capslist.h:
8604 * check/gst/gststructure.c: (GST_START_TEST),
8605 (gst_structure_suite):
8606 Test automatic value type detection in gst_structure_from_string.
8607 * gst/gststructure.c: (gst_structure_parse_value):
8608 Add fraction as a type we try and guess automatically in
8609 caps/structure strings.
8611 2005-11-22 Andy Wingo <wingo@pobox.com>
8613 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
8615 * gst/gsttagsetter.h:
8616 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
8617 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
8618 (gst_tag_setter_add_tag_valist)
8619 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
8620 _add_values, _add_valist, and _add_valist_values. Since this is an
8621 interface the function suffixes should be more explicit so
8622 language binding don't end up with element.add_valist ->
8623 gst_tag_setter_add_valist, for example. Fixes #322069.
8625 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8627 * check/gst/gstcaps.c: (GST_START_TEST):
8628 Extend caps string tests to check that a caps to string
8629 conversion is reversible and produces the same caps.
8631 * gst/gststructure.c: (gst_structure_value_get_generic_type):
8632 Output "fraction" as the generic type fraction range, so caps
8633 serialisation and deserialisation works.
8634 * check/gst/capslist.h:
8635 * gst/gstvalue.c: (gst_value_deserialize_fraction):
8636 Support 'MIN' and 'MAX' for deserialising fractions.
8638 2005-11-22 Andy Wingo <wingo@pobox.com>
8640 * gst/gstevent.h (gst_event_new_new_segment)
8641 (gst_event_parse_new_segment, gst_event_new_buffer_size)
8642 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
8643 Renamed from *_newsegment, *_buffersize, *_notarget.
8645 * scripts/update-funcnames: New script, performs the changes
8648 2005-11-22 Wim Taymans <wim@fluendo.com>
8650 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8651 Make sure the GstFlowReturn is returned.
8653 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
8654 (gst_bus_add_signal_watch):
8656 add gst_bus_add_signal_watch_full.
8658 * gst/gstplugin.c: (gst_plugin_load_file):
8659 Small style cleanup.
8661 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8663 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
8664 Block the fakesrc srcpad when we send an event, to avoid
8665 contention on the stream_lock causing random test failures.
8667 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8669 * check/gst/gstvalue.c: (GST_START_TEST):
8670 * gst/gstvalue.c: (gst_value_fraction_subtract):
8673 2005-11-22 Stefan Kost <ensonic@users.sf.net>
8676 include "gstchildproxy.h"
8677 * gst/gstchildproxy.h:
8678 * libs/gst/controller/gstcontroller.h:
8679 use G_GNUC_NULL_TERMINATED
8681 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
8683 * check/gst/capslist.h:
8684 * check/gst/gstcaps.c: (GST_START_TEST):
8685 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
8686 * gst/gststructure.c: (gst_structure_parse_range),
8687 (gst_structure_fixate_field_nearest_fraction):
8688 * gst/gststructure.h:
8689 * gst/gstvalue.c: (gst_value_init_fraction_range),
8690 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
8691 (gst_value_collect_fraction_range),
8692 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
8693 (gst_value_set_fraction_range_full),
8694 (gst_value_get_fraction_range_min),
8695 (gst_value_get_fraction_range_max),
8696 (gst_value_serialize_fraction_range),
8697 (gst_value_transform_fraction_range_string),
8698 (gst_value_compare_fraction_range),
8699 (gst_value_deserialize_fraction_range),
8700 (gst_value_intersect_fraction_fraction_range),
8701 (gst_value_intersect_fraction_range_fraction_range),
8702 (gst_value_subtract_fraction_fraction_range),
8703 (gst_value_subtract_fraction_range_fraction),
8704 (gst_value_subtract_fraction_range_fraction_range),
8705 (gst_value_collect_fraction), (gst_value_fraction_multiply),
8706 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
8707 (gst_value_transform_string_fraction), (_gst_value_initialize):
8709 Implement fraction ranges and extend GstFraction to support
8710 arithmetic subtraction, as well as deserialization from integer
8711 strings such as "100"
8712 Add a testsuite as for int and double range set operations
8714 2005-11-21 Andy Wingo <wingo@pobox.com>
8718 * gst/gststructure.h: Add glib-compat.h.
8720 2005-11-21 Wim Taymans <wim@fluendo.com>
8722 * gst/gstbin.c: (gst_bin_change_state_func):
8725 2005-11-21 Wim Taymans <wim@fluendo.com>
8728 And add a nice define too.
8730 2005-11-21 Wim Taymans <wim@fluendo.com>
8732 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
8733 (gst_segment_new), (gst_segment_free), (gst_segment_init),
8734 (gst_segment_set_duration), (gst_segment_set_last_stop),
8735 (gst_segment_set_seek), (gst_segment_set_newsegment),
8736 (gst_segment_to_stream_time), (gst_segment_to_running_time),
8739 Make binding friendly.
8741 2005-11-21 Andy Wingo <wingo@pobox.com>
8743 * gst/gsttagsetter.h:
8745 * gst/gststructure.h:
8747 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
8750 * gst/gsterror.c (_gst_core_errors_init):
8751 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
8754 * gst/Makefile.am (gst_headers): Add glib-compat.h.
8755 (noinst_HEADERS): noinst the -private.
8757 2005-11-21 Michael Smith <msmith@fluendo.com>
8760 * gst/gstregistry.h:
8761 Remove unimplemented declarations for which we can see no sensible
8764 2005-11-21 Andy Wingo <wingo@pobox.com>
8766 * gst/gst.h: Include glib-compat.h.
8768 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
8770 * gst/glib-compat.c: Include the public and the private header.
8772 * gst/glib-compat-private.h: Copied here from glib-compat.h.
8776 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
8778 * check/gst/gstevent.c (create_custom_events): Check that
8779 FLUSH_STOP is serialized.
8781 * check/elements/identity.c (event_func):
8782 * check/elements/fakesrc.c (event_func): No stream lock, the core
8785 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
8786 stream lock taking, yay.
8788 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
8789 ensure that core takes the stream lock.
8791 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
8794 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
8795 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
8796 it already. For the flush start we do take it though so we get the
8797 right preroll state change messages.
8799 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
8800 the stream lock here, the core does it for us.
8802 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
8803 GST_STREAM_GET_LOCK.
8804 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
8805 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
8806 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
8807 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
8808 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
8809 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
8811 * gst/gstpad.c: Update for stream lock name change.
8813 * gst/base/gstbasesink.c: Update for preroll lock name change.
8815 2005-11-21 Wim Taymans <wim@fluendo.com>
8817 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
8818 (gst_clock_get_master):
8820 * gst/gstsystemclock.c: (gst_system_clock_init):
8821 Convert Clock flags to object flags.
8822 Added methods to manage master/slave clocks.
8824 2005-11-21 Wim Taymans <wim@fluendo.com>
8826 * check/gst/gstsegment.c: (GST_START_TEST):
8827 * docs/design/part-TODO.txt:
8828 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8829 (gst_base_sink_event), (gst_base_sink_do_sync),
8830 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
8831 (gst_base_sink_query), (gst_base_sink_change_state):
8832 * gst/base/gstbasesink.h:
8833 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
8834 (gst_base_src_default_newsegment),
8835 (gst_base_src_configure_segment), (gst_base_src_do_seek),
8836 (gst_base_src_get_range), (gst_base_src_loop),
8837 (gst_base_src_change_state):
8838 * gst/base/gstbasesrc.h:
8839 * gst/base/gstbasetransform.c:
8840 (gst_base_transform_prepare_output_buf),
8841 (gst_base_transform_event), (gst_base_transform_change_state):
8842 * gst/base/gstbasetransform.h:
8843 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8844 (gst_collect_pads_event):
8845 * gst/base/gstcollectpads.h:
8846 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
8847 (gst_fake_src_create):
8848 * gst/elements/gstfakesrc.h:
8849 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
8850 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
8851 (gst_segment_set_last_stop), (gst_segment_set_seek),
8852 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
8853 (gst_segment_to_running_time), (gst_segment_clip):
8855 More segment updates, replace code in plugins with segment
8858 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8860 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
8861 Don't ignore sscanf results
8863 2005-11-21 Andy Wingo <wingo@pobox.com>
8865 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
8868 * *.c: Ran scripts/update-macros. Oh yes.
8870 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
8871 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
8874 * scripts/update-macros: New script. Run it on your files to
8875 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
8878 2005-11-21 Stefan Kost <ensonic@users.sf.net>
8880 * docs/gst/Makefile.am:
8881 * docs/gst/gstreamer-docs.sgml:
8882 * docs/gst/gstreamer-sections.txt:
8883 * docs/gst/gstreamer.types:
8885 more docs fixes, add new api to the docs
8887 2005-11-21 Andy Wingo <wingo@pobox.com>
8889 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
8890 state_broadcast call.
8892 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
8894 2005-11-21 Julien MOUTTE <julien@moutte.net>
8896 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
8897 function calls for arrays.
8899 2005-11-21 Stefan Kost <ensonic@users.sf.net>
8901 * docs/random/ensonic/media-device-daemon.txt:
8902 wild idea, can this be done?
8903 * docs/gst/gstreamer-sections.txt:
8908 * gst/gstpluginfeature.c:
8912 doc fixes and additions
8914 2005-11-21 Andy Wingo <wingo@pobox.com>
8916 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
8917 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
8918 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
8919 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
8920 private to the basesrc implementation.
8922 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
8923 behalf of event function if necessary. It should no longer be
8924 necessary to take the stream lock in pad's event functions. Fixes
8927 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8928 * docs/gst/gstreamer-sections.txt:
8929 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
8930 (gst_structure_fixate_field_nearest_double),
8931 (gst_structure_fixate_field_boolean):
8932 * gst/gststructure.h:
8933 * win32/common/libgstreamer.def:
8934 * win32/gstreamer.def:
8936 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
8939 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
8941 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
8942 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
8943 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
8944 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
8945 (gst_fdsrc_uri_handler_init):
8946 * gst/elements/gstfdsrc.h:
8947 Port fd:// URI handler from 0.8 to fdsrc
8949 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8951 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
8952 (gst_value_serialize_fourcc):
8954 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
8955 consistent with our other format defines (#320324).
8957 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8959 * gst/gstvalue.c: (gst_value_is_fixed):
8960 Revert previous commit. Value lists are by definition
8961 not fixed, as they are a list of possible values.
8963 2005-11-21 Andy Wingo <wingo@pobox.com>
8965 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
8966 during the stable series if we need it. Fixes #319178.
8968 * gst/gstevent.c (gst_event_new_filler): Removed.
8970 * check/gst/gstevent.c: Update comment about filler events.
8972 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8974 * gst/gstvalue.c: (gst_value_is_fixed):
8975 Should handle both value arrays and value lists.
8977 2005-11-21 Andy Wingo <wingo@pobox.com>
8979 patch by: Alessandro Dessina <alessandro nnva org>
8981 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
8982 functions to access arrays. Fixes #321962.
8984 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
8986 * docs/gst/gstreamer.types:
8987 gst_collectpads_get_type => gst_collect_pads_get_type.
8989 * gst/base/gstbasetransform.c:
8990 Remove unused SIGNAL_HANDOFF enum.
8992 2005-11-21 Andy Wingo <wingo@pobox.com>
8994 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
8995 the event type (upstream, downstream, serialized). Renamed
8996 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
8997 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
8998 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
9000 * gst/gstevent.c: Update for new CUSTOM event names.
9002 * check/gst/gstevent.c: Update check for new CUSTOM event names.
9005 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
9008 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9010 * docs/gst/gstreamer-sections.txt:
9011 * win32/common/libgstbase.def:
9012 * win32/libgstbase.def:
9013 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
9014 (gst_collect_pads_class_init), (gst_collect_pads_init),
9015 (gst_collect_pads_finalize), (gst_collect_pads_new),
9016 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
9017 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
9018 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
9019 (gst_collect_pads_start), (gst_collect_pads_stop),
9020 (gst_collect_pads_peek), (gst_collect_pads_pop),
9021 (gst_collect_pads_available), (gst_collect_pads_read),
9022 (gst_collect_pads_flush), (gst_collect_pads_event),
9023 (gst_collect_pads_chain):
9024 * gst/base/gstcollectpads.h:
9025 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
9026 unimplemented functions as unimplemented. Add padding to
9027 GstCollectData. (#320766, #320423)
9029 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
9032 Improve docs for DURATION message (usage of duration parameter)
9035 2005-11-20 Wim Taymans <wim@fluendo.com>
9037 * check/Makefile.am:
9038 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
9042 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
9043 (gst_segment_set_seek), (gst_segment_set_newsegment),
9044 (gst_segment_to_stream_time), (gst_segment_to_running_time),
9047 Added segment helper structure and methods. Not fully implemented
9049 Added segment check.
9051 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
9053 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9054 Add a deserialisation test for fractions
9055 * examples/metadata/read-metadata.c: (message_loop),
9056 (make_pipeline), (main):
9057 Fix up metadata reading sample.
9058 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9060 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9061 Don't try and fixate empty caps
9062 * gst/gst_private.h:
9063 Wrap in G_BEGIN_DECLS/G_END_DECLS
9064 * gst/gstvalue.c: (gst_value_collect_fraction),
9065 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
9066 (gst_value_transform_string_fraction),
9067 (gst_value_compare_fraction):
9068 Add some extra guards to ensure that we don't end up
9069 with an invalid denominator of 0 in a gstfraction and
9070 that fractions always get reduced.
9072 2005-11-20 Wim Taymans <wim@fluendo.com>
9074 * docs/gst/gstreamer-sections.txt:
9085 2005-11-20 Wim Taymans <wim@fluendo.com>
9087 * docs/design/part-TODO.txt:
9089 Make a proper enum of the flag.
9091 2005-11-19 Wim Taymans <wim@fluendo.com>
9093 * docs/design/part-TODO.txt:
9094 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
9095 (gst_format_to_quark), (gst_format_register):
9097 * gst/gstquery.c: (_gst_query_initialize),
9098 (gst_query_type_get_name), (gst_query_type_to_quark),
9099 (gst_query_type_register):
9101 Add type to quark and type to string conversions.
9103 2005-11-19 Andy Wingo <wingo@pobox.com>
9105 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
9108 2005-11-19 Wim Taymans <wim@fluendo.com>
9110 * docs/design/part-TODO.txt:
9111 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
9112 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
9113 (gst_bin_handle_message_func):
9115 Make message handling overridable.
9117 2005-11-19 Andy Wingo <wingo@pobox.com>
9119 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
9122 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
9124 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
9125 is a GstClockTime. Fixes #321710.
9127 * gst/gstclock.h (GstClock): Remove offset property. Add
9128 internal_calibration and external_calibration. Fix padding. Pad
9129 also by GstClockTime so we don't run into problems.
9131 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
9132 (gst_clock_get_rate_offset): Remove.
9133 (gst_clock_set_time_adjust): Remove. Fixes #321712.
9136 * gst/gstutils.c (g_static_rec_cond_wait)
9137 (g_static_rec_cond_timed_wait): Removed, no longer needed.
9139 * gst/gstbin.c: Remove terrible continue_state prototype.
9141 * gst/gstelement.h (gst_element_continue_state): Make public.
9144 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
9145 by continue_state. Fixes #319389.
9147 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
9148 Really fixes #168438. However I don't see anywhere where the
9149 filter function is called... stupid GStreamer...
9151 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
9152 don't have a dispose function, so it won't get called when the
9153 object is unreffed, but oh well!
9155 * gst/gstindex.c (gst_index_set_filter_full): New API function,
9156 allows a destroy function to be set so user_data can be freed.
9158 (gst_index_set_filter): Call gst_index_set_filter_full.
9160 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
9162 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
9163 string should produce an error, given the lack of a way to
9164 represent NULL strings. Fixes #165650.
9167 * gst/gstvalue.c (gst_value_array_append_value)
9168 (gst_value_array_prepend_value, gst_value_array_get_size)
9169 (gst_value_array_get_value): New API, copied from
9170 gst_value_list_*, only operates on arrays.
9171 (gst_value_list_append_value, gst_value_list_prepend_value)
9172 (gst_value_list_concat, gst_value_list_get_size)
9173 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
9175 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
9176 init_list, because it works on both.
9177 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
9178 (gst_value_copy_list_or_array): Renamed from copy_list.
9179 (gst_value_free_list_or_array): Renamed from free_list.
9180 (gst_value_collect_list_or_array): Renamed from collect_list.
9181 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
9182 (gst_value_list_or_array_peek_pointer): Renamed from
9184 (_gst_value_array_value_table, _gst_value_list_value_table):
9185 Update value table functions.
9186 (gst_value_compare_list_or_array): Renamed from compare_list.
9188 * gsttaglist.h: Whoops, foreach function returns void. Also fix
9192 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
9193 GstTagList*. Fixes #143472.
9195 * gst/gststructure.h: Clarify what the foreach/map functions can
9196 or can't do to their arguments.
9198 2005-11-18 Wim Taymans <wim@fluendo.com>
9200 * gst/gstclock.c: (gst_clock_set_calibration),
9201 (gst_clock_get_calibration):
9203 Calibration can be set with internal time equal to current
9206 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
9212 2005-11-18 Andy Wingo <wingo@pobox.com>
9215 * pkgconfig/gstreamer-net.pc.in:
9216 * pkgconfig/gstreamer-net-uninstalled.pc.in:
9217 * pkgconfig/Makefile.am: Add net pkgconfig files.
9219 2005-11-18 Stefan Kost <ensonic@users.sf.net>
9222 * gst/gstghostpad.c:
9228 2005-11-18 Andy Wingo <wingo@pobox.com>
9230 * gst/net/gstnetclientclock.c: Turn off debugging.
9232 * check/net/gstnetclientclock.c (test_functioning): Assert that the
9233 times connverge somewhat. Can't make a real test.
9235 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
9236 integer arithmetic. Return the minimum of the domain, which can be
9237 set as "internal" for gst_clock_set_calibration.
9238 (gst_net_client_clock_observe_times): Call _set_calibration.
9239 (gst_net_client_clock_new): Call _set_calibration instead of
9242 * check/net/gstnetclientclock.c (test_functioning): Use the right
9246 * gst/gstclock.c (gst_clock_get_calibration)
9247 (gst_clock_set_calibration): New functions, obsolete the ones I
9248 added yesterday. Doh. Precision issues mean we have to extrapolate
9249 from a point in the more recent past than 1970.
9250 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
9252 (gst_clock_adjust_unlocked): Use the right calibration data.
9254 2005-11-18 Edward Hervey <edward@fluendo.com>
9256 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9257 Also reset the ->current_* values in READY->PAUSED
9259 2005-11-18 Andy Wingo <wingo@pobox.com>
9261 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
9262 Whoops, check the right fd. Also add some debugging.
9263 (gst_net_client_clock_observe_times): Adjust for int64 offset.
9264 (do_linear_regression): Add a crapload of debugging. Subtract off
9265 the minimum values from the input series to discard unneeded bits.
9266 Use only int arithmetic. There is still double arithmetic when
9267 calculating the intercept that needs fixing. Return boolean to
9268 indicate success; FALSE would mean the domain or range is too
9269 great. Still needs fixes.
9271 2005-11-18 Wim Taymans <wim@fluendo.com>
9273 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
9274 For the current position in stream time, we need to subtract
9277 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
9278 Release lock before calling the callback function of async
9281 2005-11-18 Andy Wingo <wingo@pobox.com>
9283 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
9284 Port goes all the way to MAXUINT16.
9286 * gst/net/gstnettimeprovider.c: Make the port range the same as
9287 for the kernel: 0 assigns, otherwise ports are less than
9290 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
9293 * check/net/gstnetclientclock.c (test_functioning): Add the start
9296 2005-11-18 Wim Taymans <wim@fluendo.com>
9298 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
9299 (gst_bin_remove_func), (bin_bus_handler):
9301 Removing a clock provider from a bin, triggers a clock lost message
9302 so that a new clock will be selected.
9303 Adding a clock to a bin triggers a clock provider message.
9304 Make sure we reselect a clock when we received a clock lost message.
9305 Keep a reference to the element that provided the clock.
9307 2005-11-18 Andy Wingo <wingo@pobox.com>
9309 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
9310 the clock initially so it produces values around the base time.
9311 (gst_net_client_clock_class_init): Typo fix.
9312 (gst_net_client_clock_thread): Add note on when the socket gets
9315 2005-11-17 Wim Taymans <wim@fluendo.com>
9317 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
9318 Free remote and local time arrays.
9320 2005-11-17 Wim Taymans <wim@fluendo.com>
9322 * gst/net/gstnetclientclock.c: (do_linear_regression),
9323 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
9324 Fix compilation, uninitialized vars and a forgotten continue.
9326 2005-11-17 Andy Wingo <wingo@pobox.com>
9328 * check/Makefile.am (check_PROGRAMS):
9329 * check/net/gstnetclientclock.c: Add a most minimal test for the
9330 net client clock. More to come later.
9333 * gst/net/Makefile.am: Add netclientclock.
9335 * gst/net/gstnetclientclock.h:
9336 * gst/net/gstnetclientclock.c: New files, implement an untested
9337 GstClock that takes its time from a network time provider.
9338 Implements the algorithm in network-clock.scm.
9340 * tests/network-clock.scm (*window-size*): Rename from
9342 * tests/network-clock.scm (network-time):
9343 * tests/network-clock-utils.scm (q-push): Update callers.
9345 2005-11-17 Wim Taymans <wim@fluendo.com>
9347 * gst/gstbin.c: (gst_bin_provide_clock_func),
9348 (gst_bin_sort_iterator_new):
9349 And unref the child too..
9351 2005-11-17 Wim Taymans <wim@fluendo.com>
9353 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
9354 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
9355 Refactor the sort iterator so it can be used while holding the
9357 Make clock selection select a clock closest to the source.
9359 2005-11-17 Michael Smith <msmith@fluendo.com>
9361 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
9362 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
9364 Anonymous structs are a gcc (and some other compilers) extension, so
9365 don't use them. Since this is only for ABI-compatibility, and our
9366 API/ABI freeze is over in a few days, this whole thing will only
9367 last a few days, so don't bother trying to think up a meaningful
9368 name for the struct.
9370 2005-11-17 Andy Wingo <wingo@pobox.com>
9372 * gst/gstclock.h (GstClock): Add rate and offset properties,
9373 preserving ABI stability. Add rate/offset accessors. Will file bug
9374 for the freeze break.
9376 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
9377 and offset, trying to keep precision and avoiding
9379 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
9380 functions. Make gst_clock_set_time_adjust obsolete.
9381 (gst_clock_set_time_adjust): Note that this function is obsolete.
9384 * gst/base/gstbasetransform.h: Make the ABI-stability hack
9385 greppable by using GST_PADDING-1+1.
9387 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
9389 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9391 * gst/gstmessage.c: (gst_message_parse_clock_lost):
9392 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
9394 * gst/gstpadtemplate.h:
9395 * gst/gstpluginfeature.h:
9396 Don't use c++ style comments in headers (#321638).
9398 2005-11-16 Andy Wingo <wingo@pobox.com>
9400 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
9403 * check/net/gstnettimeprovider.c: Check to see that the time
9404 provider actually provides times. Works, yo!
9406 2005-11-16 Wim Taymans <wim@fluendo.com>
9408 * check/Makefile.am:
9411 * check/elements/fakesrc.c: (GST_START_TEST):
9412 Set element to NULL before disposing it.
9414 2005-11-16 Andy Wingo <wingo@pobox.com>
9416 * gst/net/Makefile.am:
9418 * gst/net/gstnettimeprovider.c:
9419 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
9420 provider, include it from gstnet.h, and add it to the build.
9422 * gst/net/gstnettimepacket.h:
9423 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
9424 sending and receiving.
9426 2005-11-16 Wim Taymans <wim@fluendo.com>
9428 * check/Makefile.am:
9429 Enable valgrind check.
9431 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
9432 (gst_fake_src_alloc_buffer):
9435 2005-11-16 Wim Taymans <wim@fluendo.com>
9437 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
9438 Call parent finalize too.
9440 2005-11-16 Wim Taymans <wim@fluendo.com>
9442 * check/Makefile.am:
9443 Enable valgrind check that should work fine now.
9445 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9446 * gst/gstqueue.c: (gst_queue_init):
9447 Fix memleaks in pad allocation.
9449 2005-11-16 Andy Wingo <wingo@pobox.com>
9451 * gst/net/Makefile.am:
9452 * gst/net/gstnet.h: New part of core to hold network elements and
9453 objects. Put in core because it exposes API that applications want
9454 to use. The library is named libgstnet-tempname right now because
9455 of the existing libgstnet in gst-plugins-base. Solution is
9456 probably to rename the one in plugins-base; will file a bug for
9459 * gst/net/gstnettimeprovider.c:
9460 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
9461 get_time call over the network.
9464 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
9466 * check/Makefile.am:
9467 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
9468 get additions shortly.
9470 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9472 * gst/gstpad.c: (gst_pad_new_from_static_template):
9474 add gst_pad_new_from_static_template functions
9475 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
9476 (gst_check_setup_sink_pad):
9477 * gst/elements/gsttee.c: (gst_tee_init):
9480 2005-11-16 Wim Taymans <wim@fluendo.com>
9482 * gst/gstpad.c: (gst_pad_pause_task):
9483 Removed warning, it's not really an error either.
9485 2005-11-16 Wim Taymans <wim@fluendo.com>
9487 * gst/base/gstbasetransform.c:
9488 (gst_base_transform_prepare_output_buf),
9489 (gst_base_transform_event):
9490 Check if the caps are NULL, this can happen if the element
9491 is shutting down and the pad caps are set to NULL.
9493 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9495 * gst/elements/gsttee.c: (gst_tee_init):
9496 fix pad template leak in tee
9498 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9500 * gst/glib-compat.c: (g_value_dup_gst_object):
9501 * gst/glib-compat.h:
9502 * gst/gstpad.c: (gst_pad_set_property):
9503 use gst_object_ref when setting the pad template; this will
9504 trigger the pad template leaks on GLib 2.6 and the slaves
9506 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9508 * gst/glib-compat.c: (gst_flags_get_first_value):
9509 * gst/glib-compat.h:
9510 * gst/gstregistryxml.c:
9511 remove functions copied from GLib 2.6
9513 2005-11-16 Michael Smith <msmith@fluendo.com>
9516 Don't link against VALGRIND_LIBS. That was always the wrong thing to
9517 do, but only breaks with newer valgrind versions. We're not a
9518 valgrind tool, we have no link-time dependencies on libcoregrind.
9520 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9522 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
9527 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
9529 * gst/base/gstbasesrc.c: (gst_base_src_init):
9530 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9531 * gst/gstqueue.c: (gst_queue_init):
9532 * gst/gstregistryxml.c: (load_feature):
9533 Revert all these unrefs, they don't even pass make check !
9535 2005-11-15 Johan Dahlin <johan@gnome.org>
9537 * gst/base/gstbasesrc.c: (gst_base_src_init):
9538 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9539 * gst/gstqueue.c: (gst_queue_init):
9540 Free pad templates, fixes a couple of leaks.
9542 2005-11-15 Daniel Fischer <dan at f3c dot com>
9544 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
9546 * gst/gstpad.c: (gst_pad_get_property):
9547 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
9548 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
9551 2005-11-15 Wim Taymans <wim@fluendo.com>
9556 2005-11-15 Andy Wingo <wingo@pobox.com>
9558 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
9560 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
9561 using GST_CLOCK_TIME_NONE to disable base time management.
9562 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
9563 time if it was NONE before.
9564 (gst_pipeline_change_state): Only munge the base time if
9565 stream_time != GST_CLOCK_TIME_NONE.
9567 * check/gst/gstpipeline.c (test_base_time): Punt around the
9568 problem of the probe not being called, because that's not the
9569 issue I'm looking at. Add a check that setting stream_time to NONE
9570 disables base time management.
9572 2005-11-15 Wim Taymans <wim@fluendo.com>
9574 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9575 segment_stop == -1 at startup.
9577 * gst/base/gstbasetransform.c: (gst_base_transform_event),
9578 (gst_base_transform_change_state):
9579 Init segment values at start.
9581 2005-11-15 Wim Taymans <wim@fluendo.com>
9583 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
9584 0 segment values are 0 in any format.
9586 * gst/base/gstbasetransform.c: (gst_base_transform_event):
9587 * gst/base/gstbasetransform.h:
9588 Parse newsegment correctly in basetransform
9590 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
9591 Sync to clock using updated segment values.
9593 2005-11-15 Andy Wingo <wingo@pobox.com>
9595 * check/gst/gstpipeline.c (test_base_time): Add check that the
9596 base time and stream time are reset correctly.
9598 2005-11-15 Wim Taymans <wim@fluendo.com>
9600 * docs/design/part-TODO.txt:
9601 Some more TODO items.
9603 2005-11-15 Andy Wingo <wingo@pobox.com>
9605 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
9606 error if the user selected "no clock" as the clocking method.
9608 * check/gst/gstpipeline.c (test_base_time): New test for buffer
9609 timestamps with live capture.
9611 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
9612 is 0 but we are a live source, timestamp the buffers using the
9615 2005-11-14 Stefan Kost <ensonic@users.sf.net>
9617 * docs/gst/gstreamer-sections.txt:
9619 * gst/gstghostpad.c:
9624 2005-11-14 Wim Taymans <wim@fluendo.com>
9627 add suppressions from Wim's Debian machine
9629 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
9632 add suppressions from Andy's AMD64 Ubuntu machine
9634 2005-11-14 Andy Wingo <wingo@pobox.com>
9636 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
9637 STATE_LOCK not necessary. Fixes #311489.
9639 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
9642 * gst/gstindex.c (gst_index_add_object): Note in the docs that
9643 this function is not implemented.
9645 2005-11-14 Julien MOUTTE <julien@moutte.net>
9647 * gst/base/gstbasetransform.c:
9648 (gst_base_transform_prepare_output_buf):
9649 Ref the source pad caps while we need them.
9652 2005-11-11 Wim Taymans <wim@fluendo.com>
9654 * docs/gst/gstreamer-sections.txt:
9655 Added some docs for GstCollectData.
9657 * gst/base/gstadapter.c:
9658 Some small code example fix.
9660 * gst/base/gstcollectpads.c:
9661 * gst/base/gstcollectpads.h:
9664 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9666 * configure.ac: back to HEAD
9668 === release 0.9.5 ===
9670 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
9673 releasing 0.9.5, "Bike Lunch Day"
9675 2005-11-11 Wim Taymans <wim@fluendo.com>
9677 * gst/gstbuffer.c: (_gst_buffer_copy):
9680 * gst/gstcaps.c: (gst_caps_is_equal):
9682 Make _is_equal fast in the trivial cases.
9684 * gst/gstminiobject.c:
9685 * gst/gstminiobject.h:
9686 More docs. Spifify .h file.
9691 2005-11-11 Wim Taymans <wim@fluendo.com>
9693 * gst/base/gstbasetransform.c:
9694 (gst_base_transform_prepare_output_buf),
9695 (gst_base_transform_handle_buffer):
9697 If we're processing a buffer and need to allocate an output
9698 buffer, we cannot accept a format change. If we did get a
9699 format change, we have to alloc a buffer ourselves of the
9702 2005-11-11 Wim Taymans <wim@fluendo.com>
9704 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
9705 While checking the flag for reentrancy in the gstcaps function
9706 is nice to detect recursive invocations, it also makes it
9707 impossible to call getcaps from multiple threads, which must be
9708 possible. So, checking for recursive calls has to go.
9710 2005-11-11 Michael Smith <msmith@fluendo.com>
9712 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9713 Don't sync on buffers that fall partially outside our current
9714 segment. Prevents an assertion failure/abort playing some files.
9716 2005-11-10 Andy Wingo <wingo@pobox.com>
9718 * check/gst/gstbin.c (test_message_state_changed_children): Style
9721 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
9722 gst_bus_poll with the signal watch. Ensures that poll and a signal
9723 watch see the same messages.
9725 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
9726 a poll and a watch at the same time get the same messages.
9728 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9730 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
9731 * gst/gstcaps.c: (gst_caps_intersect):
9732 Don't call gst_caps_do_simplify - it doesn't respect order of caps
9733 and it's not needed.
9735 2005-11-10 Wim Taymans <wim@fluendo.com>
9737 * docs/design/part-TODO.txt:
9740 2005-11-10 Wim Taymans <wim@fluendo.com>
9742 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
9743 * gst/base/gstbasesrc.c: (gst_base_src_wait),
9744 (gst_base_src_do_sync), (gst_base_src_get_range):
9745 Implement clock sync in base class.
9747 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
9749 patch by: Tim-Philipp Müller <tim at centricular dot net>
9751 * gst/gststructure.c: (gst_structure_parse_field),
9752 (gst_structure_from_string):
9753 Forward-port a 0.8 patch to handle escaped spaces in structure string,
9754 so that gst_parse_launch() can deal with spaces in filtered link
9755 caps (fixes #164479)
9756 * check/gst/capslist.h:
9757 * check/gst/gststructure.c: (GST_START_TEST):
9758 add unit tests for this change
9760 2005-11-10 Wim Taymans <wim@fluendo.com>
9762 * docs/gst/gstreamer-sections.txt:
9765 Fix docs, move some STATE macros to private.
9767 2005-11-10 Wim Taymans <wim@fluendo.com>
9769 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
9770 Added check for bug #317341
9774 Some more spiffifying.
9776 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
9777 Call peer linkfunction if we are a source pad. Totally fixes
9781 Update docs, source pads should call the peer linkfunction
9782 so they can atomically perform the pad link.
9784 2005-11-09 Wim Taymans <wim@fluendo.com>
9788 Uber-spiffy-spiffify some more.
9790 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
9792 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
9793 * gst/elements/gstfilesink.c: (gst_file_sink_init):
9794 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
9795 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
9796 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
9797 * gst/gstpad.c: (gst_pad_init):
9798 Use GST_DEBUG_FUNCPTR() more extensively.
9800 2005-11-09 Wim Taymans <wim@fluendo.com>
9802 * gst/gstobject.c: (gst_object_class_init):
9804 Documentation fixes.
9806 2005-11-09 Edward Hervey <edward@fluendo.com>
9808 * gst/gsttypefindfactory.c:
9811 2005-11-09 Edward Hervey <edward@fluendo.com>
9813 * gst/base/gsttypefindhelper.c:
9814 * gst/gsttypefind.c:
9815 * gst/gsttypefind.h:
9818 2005-11-09 Wim Taymans <wim@fluendo.com>
9820 * gst/gstiterator.c:
9827 2005-11-09 Wim Taymans <wim@fluendo.com>
9833 2005-11-09 Wim Taymans <wim@fluendo.com>
9835 * docs/gst/gstreamer-sections.txt:
9836 Moved the message async delivery private lock and cond
9837 to the private section.
9843 2005-11-09 Edward Hervey <edward@fluendo.com>
9845 * docs/gst/gstreamer-sections.txt:
9848 Document GstURIHandler
9850 2005-11-09 Wim Taymans <wim@fluendo.com>
9852 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
9853 (gst_iterator_find_custom):
9854 * gst/gstiterator.h:
9857 2005-11-09 Wim Taymans <wim@fluendo.com>
9860 Document another field.
9862 * gst/gststructure.c:
9863 * gst/gststructure.h:
9866 2005-11-09 Wim Taymans <wim@fluendo.com>
9871 2005-11-09 Wim Taymans <wim@fluendo.com>
9873 * docs/gst/gstreamer-sections.txt:
9874 Added some new macros.
9881 2005-11-09 Wim Taymans <wim@fluendo.com>
9883 * docs/design/part-TODO.txt:
9884 Some more items for the TODO
9890 2005-11-09 Andy Wingo <wingo@pobox.com>
9892 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
9893 to work on something else now tho...
9895 * gst/base/gstadapter.c: More adapter docs.
9897 * gst/elements/gstfilesink.c (gst_file_sink_start)
9898 (gst_file_sink_stop): New functions, replace the state change
9900 (gst_file_sink_class_init): Hook up the start and stop functions.
9901 (gst_file_sink_base_init): Don't set the state change handler any
9902 more. It was a bit ugly too, being set from here...
9903 (gst_file_sink_get_property, gst_file_sink_set_property):
9905 (gst_file_sink_set_location): More robust check that doesn't call
9908 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
9910 * gst/base/gstbasetransform.c: (gst_base_transform_event):
9911 Hold STREAM_LOCK while pushing newsegment or tag events as well.
9913 2005-11-08 Wim Taymans <wim@fluendo.com>
9915 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
9916 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
9917 (gst_base_sink_chain), (gst_base_sink_change_state):
9918 * gst/base/gstbasesink.h:
9919 * gst/base/gstbasesrc.h:
9922 Avoid excessive typechecking in macros.
9924 * gst/gstminiobject.c: (gst_mini_object_get_type),
9925 (gst_mini_object_init), (gst_mini_object_new),
9926 (gst_mini_object_free):
9927 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
9928 (gst_object_finalize):
9929 Remove cruft code, optimize alloc_trace.
9931 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
9933 * docs/faq/gst-uninstalled:
9934 fix up PS1 for systems that try to reset it
9936 2005-11-07 Wim Taymans <wim@fluendo.com>
9938 * gst/base/gstbasesrc.c: (gst_base_src_init),
9939 (gst_base_src_get_range):
9940 Set the segment_end to -1 initially. Fixed typefind.
9942 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
9944 * gst/base/gstadapter.c:
9945 Debug category should be 'adapter', not 'GstAdapter'.
9947 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
9948 (gst_collectpads_class_init), (gst_collectpads_init),
9949 (gst_collectpads_peek), (gst_collectpads_pop),
9950 (gst_collectpads_event), (gst_collectpads_chain):
9951 Add debug category and some debugging output. Use boilerplate
9952 macros. Remove some extraneous words from docs.
9954 2005-11-05 Andy Wingo <wingo@pobox.com>
9956 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
9959 2005-11-04 Stefan Kost <ensonic@users.sf.net>
9961 * docs/gst/gstreamer-sections.txt:
9964 * gst/gstminiobject.h:
9969 2005-11-04 Wim Taymans <wim@fluendo.com>
9971 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9972 Small update to stop at the configured segment_end
9975 2005-11-04 Stefan Kost <ensonic@users.sf.net>
9977 * gst/gstregistry.c:
9978 * gst/gstregistry.h:
9981 2005-11-04 Edward Hervey <edward@fluendo.com>
9983 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
9984 Check if we are doing a segment seek and have arrived at the
9985 end of that segment.
9987 2005-11-04 Wim Taymans <wim@fluendo.com>
9989 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
9990 Don't leak a mutex unlock in case of an error.
9995 2005-11-04 Wim Taymans <wim@fluendo.com>
9997 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
9999 Get the context to wake up only once.
10001 2005-11-03 Wim Taymans <wim@fluendo.com>
10003 * check/states/sinks.c: (GST_START_TEST):
10004 Uncomment fixed check.
10006 * docs/design/part-TODO.txt:
10009 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10010 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
10011 (gst_base_sink_get_position):
10012 If we are going to PLAYING, post the right pending state
10013 when we post the intermediate paused message.
10015 * gst/gstelement.c: (gst_element_continue_state),
10016 (gst_element_set_state_func), (gst_element_change_state):
10017 Don't post state changes that were between the same state
10018 and were not ASYNC.
10020 2005-11-03 Stefan Kost <ensonic@users.sf.net>
10022 * docs/gst/gstreamer-sections.txt:
10025 * gst/gstminiobject.h:
10028 more docs and doc style fixes
10030 2005-11-03 Stefan Kost <ensonic@users.sf.net>
10032 * docs/gst/gstreamer-sections.txt:
10033 * gst/gstelement.c:
10034 * gst/gstminiobject.c:
10037 2005-11-03 Andy Wingo <wingo@pobox.com>
10039 * check/states/sinks.c (test_livesrc_sink): Add checks that the
10040 state-changed messages actually have the right order and the right
10043 2005-11-03 Wim Taymans <wim@fluendo.com>
10045 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
10046 Added some more checks. Specifically the case where NO_PREROLL
10047 elements are in the pipeline.
10049 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10050 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
10051 (gst_base_sink_get_position):
10052 Post READY->PAUSED state change messages too.
10053 Fix bug where VOID was posted as pending state...
10055 * gst/gstbin.c: (gst_bin_recalc_state):
10056 use _element_continue_state() to continue the state change.
10058 * gst/gstelement.c: (gst_element_continue_state),
10059 (gst_element_commit_state), (gst_element_set_state_func),
10060 (gst_element_change_state), (gst_element_change_state_func):
10061 Lots of state change cleanups, assign the STATE_RETURN in
10062 a new continue_state() function that also propagates the
10063 last return value from a state change to the app.
10064 Update some debug statements with proper category.
10066 2005-11-03 Wim Taymans <wim@fluendo.com>
10068 * docs/design/part-events.txt:
10069 * docs/design/part-gstpipeline.txt:
10070 * docs/design/part-messages.txt:
10071 * docs/design/part-overview.txt:
10072 * docs/design/part-seeking.txt:
10073 * docs/design/part-states.txt:
10074 * docs/design/part-trickmodes.txt:
10075 * docs/manual/advanced-position.xml:
10076 Small docs updates.
10079 People think !! is ugly, this looks better.
10081 * gst/gstpad.c: (gst_pad_set_blocked_async):
10082 Remove !! since it's fixed elsewhere now.
10084 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
10086 * gst/gstminiobject.h:
10088 Add !! to _FLAG_IS_SET macros to make the result boolean.
10090 2005-11-03 Edward Hervey <edward@fluendo.com>
10092 * gst/gstpad.c: (gst_pad_set_blocked_async):
10093 comparing a flag and a gboolean rarely returns coherent results...
10094 Added two characters (!!) to make that work correctly.
10096 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
10098 * gst/gstbus.c: (gst_bus_class_init):
10101 * gst/gstqueue.c: (gst_queue_loop):
10102 Don't assume a miniobject that isn't a buffer is an
10103 event (it could be that there is a refcounting
10104 problem somewhere and the pointer is stale and
10105 refers to an already destroyed miniobject).
10107 2005-11-03 Julien MOUTTE <julien@moutte.net>
10109 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
10111 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
10113 * docs/manual/advanced-position.xml:
10114 Update seek example and explanations to current 0.9 API.
10116 * gst/elements/gsttypefindelement.c:
10117 (gst_type_find_element_activate):
10118 Remove FIXME comment now that the found caps
10121 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
10123 * gst/gstregistryxml.c: (load_feature):
10124 Add another GST_STR_NULL instance
10126 2005-11-02 Edward Hervey <edward@fluendo.com>
10128 * gst/gstpad.c: (handle_pad_block):
10129 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
10131 2005-11-02 Wim Taymans <wim@fluendo.com>
10136 * gst/gstelement.c: (gst_element_commit_state):
10137 Remove unused value.
10139 * gst/gstiterator.c:
10140 Mention that the returned element is reffed in the docs.
10142 2005-11-02 Wim Taymans <wim@fluendo.com>
10144 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
10145 (gst_pad_push), (gst_pad_push_event):
10146 Unlock blocked pads when they are flushed.
10148 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
10151 * docs/gst/gstreamer-sections.txt:
10154 * gst/gstregistry.c: (gst_registry_scan_path_level):
10155 fix for a nasty little missed situation where an installed plug-in
10156 which was in the cache did not get overridden by an uninstalled one
10157 which was earlier in the plugin path because the newly created plugin
10158 for the uninstalled one (not in the registry) didn't get its
10159 ->registered set to TRUE
10161 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
10163 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
10164 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
10165 (gst_collectpads_is_active), (gst_collectpads_collect),
10166 (gst_collectpads_collect_range), (gst_collectpads_start),
10167 (gst_collectpads_stop), (gst_collectpads_peek),
10168 (gst_collectpads_pop), (gst_collectpads_available),
10169 (gst_collectpads_read), (gst_collectpads_flush):
10170 Guard public API with assertions.
10173 Fix docs for gst_pad_set_link_function().
10175 2005-11-02 Johan Dahlin <johan@gnome.org>
10177 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
10178 Unref found_caps after we used it.
10180 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
10182 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
10183 Don't try to ref NULL.
10185 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
10187 * win32/common/config.h.in:
10188 provide a GST_FUNCTION that just gives a string for now
10190 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
10192 * win32/common/gstenumtypes.c: (register_gst_object_flags),
10193 (gst_object_flags_get_type), (register_gst_bin_flags),
10194 (gst_bin_flags_get_type), (register_gst_buffer_flag),
10195 (gst_buffer_flag_get_type), (register_gst_bus_flags),
10196 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
10197 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
10198 (gst_clock_return_get_type), (register_gst_clock_entry_type),
10199 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
10200 (gst_clock_flags_get_type), (register_gst_state),
10201 (gst_state_get_type), (register_gst_state_change_return),
10202 (gst_state_change_return_get_type), (register_gst_state_change),
10203 (gst_state_change_get_type), (register_gst_element_flags),
10204 (gst_element_flags_get_type), (register_gst_core_error),
10205 (gst_core_error_get_type), (register_gst_library_error),
10206 (gst_library_error_get_type), (register_gst_resource_error),
10207 (gst_resource_error_get_type), (register_gst_stream_error),
10208 (gst_stream_error_get_type), (register_gst_event_type),
10209 (gst_event_type_get_type), (register_gst_seek_type),
10210 (gst_seek_type_get_type), (register_gst_seek_flags),
10211 (gst_seek_flags_get_type), (register_gst_format),
10212 (gst_format_get_type), (register_gst_index_certainty),
10213 (gst_index_certainty_get_type), (register_gst_index_entry_type),
10214 (gst_index_entry_type_get_type),
10215 (register_gst_index_lookup_method),
10216 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
10217 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
10218 (gst_index_resolver_method_get_type), (register_gst_index_flags),
10219 (gst_index_flags_get_type), (register_gst_debug_level),
10220 (gst_debug_level_get_type), (register_gst_debug_color_flags),
10221 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
10222 (gst_iterator_result_get_type), (register_gst_iterator_item),
10223 (gst_iterator_item_get_type), (register_gst_message_type),
10224 (gst_message_type_get_type), (register_gst_mini_object_flags),
10225 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
10226 (gst_pad_link_return_get_type), (register_gst_flow_return),
10227 (gst_flow_return_get_type), (register_gst_activate_mode),
10228 (gst_activate_mode_get_type), (register_gst_pad_direction),
10229 (gst_pad_direction_get_type), (register_gst_pad_flags),
10230 (gst_pad_flags_get_type), (register_gst_pad_presence),
10231 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
10232 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
10233 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
10234 (gst_plugin_error_get_type), (register_gst_plugin_flags),
10235 (gst_plugin_flags_get_type), (register_gst_rank),
10236 (gst_rank_get_type), (register_gst_query_type),
10237 (gst_query_type_get_type), (register_gst_tag_merge_mode),
10238 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
10239 (gst_tag_flag_get_type), (register_gst_task_state),
10240 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
10241 (gst_alloc_trace_flags_get_type),
10242 (register_gst_type_find_probability),
10243 (gst_type_find_probability_get_type), (register_gst_uri_type),
10244 (gst_uri_type_get_type), (register_gst_parse_error),
10245 (gst_parse_error_get_type):
10246 * win32/common/gstversion.h:
10247 update win32 copies
10249 2005-11-01 Luca Ognibene <luogni@tin.it>
10252 fix docs. popt is dead, long live GOption.
10254 2005-10-31 Wim Taymans <wim@fluendo.com>
10259 2005-10-31 Andy Wingo <wingo@pobox.com>
10263 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
10265 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
10266 need to serialize property notifications on GLib 2.8. GLib 2.6 has
10267 the possibility of deadlocks here if code calling notify() or
10268 set() has a lock that can be taken in another notify handler (ABBA
10269 with class lock and e.g. python GIL state lock).
10271 2005-10-28 Julien MOUTTE <julien@moutte.net>
10273 * gst/gstbus.c: Doc updates.
10275 2005-10-28 Wim Taymans <wim@fluendo.com>
10277 * docs/design/part-TODO.txt:
10278 * gst/gstiterator.c:
10279 * gst/gstsystemclock.c:
10280 * gst/gstsystemclock.h:
10283 2005-10-28 Edward Hervey <edward@fluendo.com>
10285 * docs/gst/gstreamer-docs.sgml:
10286 * docs/gst/gstreamer-sections.txt:
10287 the GstURIType documentation page is private, it only defines GstURIType
10288 which should be defined in the GstURIHandler page
10290 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
10292 * gst/gstbin.c: (gst_bin_class_init):
10295 Documentation updates.
10297 2005-10-28 Wim Taymans <wim@fluendo.com>
10299 * docs/gst/gstreamer-sections.txt:
10302 Documented the clocks.
10304 2005-10-28 Stefan Kost <ensonic@users.sf.net>
10306 * docs/gst/gstreamer-sections.txt:
10307 move some macros to private sections
10308 * gst/gstminiobject.c:
10309 * gst/gstminiobject.h:
10310 add descriptions provided by ds and some more
10312 mark macro as to be removed
10314 2005-10-28 Wim Taymans <wim@fluendo.com>
10316 * docs/design/part-TODO.txt:
10317 Add an item to TODO.
10319 * gst/gstiterator.c: (gst_iterator_fold),
10320 (gst_iterator_find_custom):
10321 * gst/gstiterator.h:
10324 2005-10-28 Wim Taymans <wim@fluendo.com>
10326 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
10327 (gst_base_transform_init):
10330 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
10331 An EOS event marks the queue as completely filled.
10333 2005-10-27 Wim Taymans <wim@fluendo.com>
10335 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10336 (gst_base_sink_do_sync), (gst_base_sink_get_position):
10337 Some more debugging.
10339 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
10340 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
10341 (gst_base_transform_event), (gst_base_transform_getrange),
10342 (gst_base_transform_chain):
10343 * gst/base/gstbasetransform.h:
10345 Protect transform and concurrent buffer alloc with a new lock.
10346 Try not to break ABI/API.
10348 2005-10-27 Wim Taymans <wim@fluendo.com>
10350 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
10351 (gst_base_src_init), (gst_base_src_query),
10352 (gst_base_src_default_newsegment),
10353 (gst_base_src_configure_segment), (gst_base_src_do_seek),
10354 (gst_base_src_send_event), (gst_base_src_event_handler),
10355 (gst_base_src_pad_get_range), (gst_base_src_loop),
10356 (gst_base_src_unlock), (gst_base_src_default_negotiate),
10357 (gst_base_src_start), (gst_base_src_deactivate),
10358 (gst_base_src_activate_push), (gst_base_src_change_state):
10359 Move some stuff around and cleanup things.
10361 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
10363 * gst/base/gstbasesrc.c: (gst_base_src_query):
10364 Add missing break statements.
10366 2005-10-27 Wim Taymans <wim@fluendo.com>
10368 * check/gst/gstbin.c: (GST_START_TEST):
10369 An extra refcount is taken in basesrc.
10371 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
10372 (gst_base_src_get_range), (gst_base_src_pad_get_range),
10373 (gst_base_src_loop):
10374 Small cleanups, check for flushing after being unlocked from the
10375 LIVE_LOCK. take refcounts correctly (not yet everywhere).
10376 Don't send out EOS when going to READY.
10378 2005-10-27 Wim Taymans <wim@fluendo.com>
10380 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
10381 (gst_base_sink_get_position):
10384 * gst/gstbin.c: (message_check), (bin_replace_message),
10385 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10386 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10387 (bin_query_duration_init), (bin_query_duration_fold),
10388 (bin_query_duration_done), (bin_query_generic_fold),
10390 * tools/gst-launch.c: (main):
10393 2005-10-26 Stefan Kost <ensonic@users.sf.net>
10395 * examples/controller/audio-example.c: (main):
10396 * examples/queue/queue.c: (event_loop):
10397 * gst/base/gstbasetransform.h:
10398 * gst/gstelement.c: (gst_element_send_event):
10400 * gst/gstpad.c: (gst_pad_send_event):
10403 changing log priority in error situations
10405 2005-10-25 Wim Taymans <wim@fluendo.com>
10407 * gst/gstbin.c: (message_check), (bin_replace_message),
10408 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10409 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10410 (bin_query_duration_init), (bin_query_duration_fold),
10411 (bin_query_duration_done), (bin_query_generic_fold),
10413 Some doc and debug updates.
10414 Cache previously requested query DURATION for speed. invalidate
10415 cached duration if element posts a DURATION message.
10417 2005-10-25 Wim Taymans <wim@fluendo.com>
10419 * docs/design/part-TODO.txt:
10422 * gst/gstbin.c: (message_check), (bin_replace_message),
10423 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10424 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
10425 (bin_query_duration_init), (bin_query_duration_fold),
10426 (bin_query_duration_done), (bin_query_generic_fold),
10428 Handle SEGMENT_START/DONE messages correctly.
10429 More evolved query algorithm that handles duration queries
10432 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
10433 (gst_element_get_state_func), (gst_element_abort_state),
10434 (gst_element_commit_state), (gst_element_lost_state):
10435 Some more debugging.
10437 * gst/gstmessage.h:
10440 2005-10-25 Wim Taymans <wim@fluendo.com>
10442 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
10443 Don't use invalid stream_time.
10445 * gst/gstevent.c: (gst_event_new_newsegment):
10446 stream_time in newsegment cannot be undefined.
10448 2005-10-24 Wim Taymans <wim@fluendo.com>
10453 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
10455 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
10457 2005-10-24 Stefan Kost <ensonic@users.sf.net>
10459 * docs/libs/tmpl/gstdparam.sgml:
10460 * docs/libs/tmpl/gstdplinint.sgml:
10461 * docs/libs/tmpl/gstdpman.sgml:
10462 * docs/libs/tmpl/gstdpsmooth.sgml:
10463 * docs/libs/tmpl/gstunitconvert.sgml:
10466 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
10471 === release 0.9.4 ===
10473 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
10476 releasing 0.9.4, "Tyrannosaurus Rex"
10478 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
10480 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
10481 (gst_file_sink_get_current_offset):
10482 Use fseeko() and ftello() if available. When falling back on
10483 lseek() to get the current offset, fflush() first to make sure
10484 everything is up-to-date and we get the right offset.
10486 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
10488 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10489 * gst/base/gstbasesrc.c: (gst_base_src_loop):
10490 * gst/gsterror.c: (_gst_stream_errors_init):
10492 * gst/gstqueue.c: (gst_queue_loop):
10494 remove prematurely added error category and clean up the instances
10496 2005-10-21 Wim Taymans <wim@fluendo.com>
10498 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10499 (gst_base_sink_get_position), (gst_base_sink_query),
10500 (gst_base_sink_change_state):
10501 Simply set the right flag when going to playing, that's all
10502 we need to do instead of calling a function inside the object
10503 lock (that could take the lock as well and deadlock)
10505 2005-10-21 Wim Taymans <wim@fluendo.com>
10507 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
10508 (gst_base_src_loop):
10509 Don't warn, the peer element knows what to do best when
10510 the seek failed, it might try something else.
10512 2005-10-21 Wim Taymans <wim@fluendo.com>
10514 * gst/base/gstbasesrc.c: (gst_base_src_init),
10515 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
10518 2005-10-21 Wim Taymans <wim@fluendo.com>
10520 * docs/design/part-segments.txt:
10523 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
10524 Correctly set caps, even on the subbufer.
10526 2005-10-21 Wim Taymans <wim@fluendo.com>
10528 * docs/gst/gstreamer-docs.sgml:
10529 * docs/gst/gstreamer-sections.txt:
10530 * gst/gstelement.h:
10533 * gst/gstmessage.h:
10536 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
10540 And 2% more doc coverage.
10542 2005-10-21 Andy Wingo <wingo@pobox.com>
10544 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
10545 position reporting.
10547 2005-10-20 Wim Taymans <wim@fluendo.com>
10549 * gst/gsterror.c: (gst_error_get_message):
10552 * gst/gststructure.c:
10557 2005-10-20 Wim Taymans <wim@fluendo.com>
10562 Another 1% more coverage.
10564 2005-10-20 Wim Taymans <wim@fluendo.com>
10566 * docs/gst/gstreamer-sections.txt:
10567 * gst/gstelement.c: (gst_element_get_state_func),
10568 (gst_element_abort_state), (gst_element_commit_state),
10569 (gst_element_lost_state):
10571 * gst/gstquery.c: (gst_query_set_position),
10572 (gst_query_parse_position), (gst_query_set_duration),
10573 (gst_query_parse_duration), (gst_query_new_convert):
10575 Yay! 1% more docs coverage.
10577 2005-10-20 Wim Taymans <wim@fluendo.com>
10580 * gst/gstquery.c: (gst_query_set_position),
10581 (gst_query_parse_position), (gst_query_set_duration),
10582 (gst_query_parse_duration), (gst_query_new_convert):
10584 * gst/gstutils.c: (gst_element_query_convert):
10586 Docs and consistency fixes.
10588 2005-10-20 Wim Taymans <wim@fluendo.com>
10594 2005-10-20 Wim Taymans <wim@fluendo.com>
10596 * gst/gstbin.c: (message_check), (bin_replace_message),
10597 (bin_remove_messages), (is_eos), (gst_bin_add_func),
10598 (update_degree), (gst_bin_sort_iterator_next),
10599 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
10600 Reworked the message handling a bit, cache the messages instead of
10601 only the senders. alows us to do more in the future.
10603 2005-10-20 Wim Taymans <wim@fluendo.com>
10605 * docs/design/part-TODO.txt:
10608 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10609 (gst_base_sink_query):
10610 Don't use clock time to report position when in EOS.
10612 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
10614 * tools/gst-inspect.c: (print_interfaces),
10615 (print_element_properties_info), (print_element_info):
10616 Fix interface output with gst-inspect -a; don't print
10617 newlines after double/float properties.
10619 2005-10-20 Wim Taymans <wim@fluendo.com>
10621 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
10622 (gst_base_sink_query):
10623 Speed up current position calculation.
10625 * gst/base/gstbasesrc.c: (gst_base_src_query),
10626 (gst_base_src_default_newsegment):
10627 Correctly set stream position in newsegment.
10629 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
10630 (update_degree), (gst_bin_sort_iterator_next),
10631 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
10632 * gst/gstmessage.c: (gst_message_new_custom):
10633 Clean up debugging info
10635 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
10636 (gst_queue_loop), (gst_queue_handle_src_query):
10639 2005-10-19 Wim Taymans <wim@fluendo.com>
10641 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10642 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10643 Fix query handling again.
10645 2005-10-19 Wim Taymans <wim@fluendo.com>
10647 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10648 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
10649 * gst/base/gstbasesrc.c: (gst_base_src_query):
10650 * gst/elements/gstfilesink.c: (gst_file_sink_query):
10651 * gst/elements/gsttypefindelement.c:
10652 (gst_type_find_handle_src_query), (find_element_get_length),
10653 (gst_type_find_element_activate):
10656 * gst/gstquery.c: (gst_query_new_position),
10657 (gst_query_set_position), (gst_query_parse_position),
10658 (gst_query_new_duration), (gst_query_set_duration),
10659 (gst_query_parse_duration), (gst_query_set_segment),
10660 (gst_query_parse_segment):
10662 Bundling query position/duration is not a good idea since duration
10663 does not change much and we don't want to recalculate it for every
10664 position query, so they are separated again..
10665 Base value in segment query is not needed.
10667 * gst/gstqueue.c: (gst_queue_handle_src_query):
10668 * gst/gstutils.c: (gst_element_query_position),
10669 (gst_element_query_duration), (gst_pad_query_position),
10670 (gst_pad_query_duration):
10672 Updates for query API change.
10673 Added some docs here and there.
10675 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
10677 * check/gst/gstbin.c: (GST_START_TEST):
10678 * check/gst/gstghostpad.c: (GST_START_TEST):
10679 * check/pipelines/cleanup.c: (GST_START_TEST):
10680 wait on thread to die so we can check refcount correctly
10682 2005-10-18 Wim Taymans <wim@fluendo.com>
10684 * check/pipelines/stress.c: (GST_START_TEST):
10685 Make check a little more time consuming.
10687 2005-10-18 Wim Taymans <wim@fluendo.com>
10689 * check/Makefile.am:
10690 * check/pipelines/stress.c: (GST_START_TEST),
10691 (simple_launch_lines_suite), (main):
10692 Small state change torture test.
10694 * docs/design/part-states.txt:
10695 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10696 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
10697 (gst_base_sink_change_state):
10698 Never take state lock from streaming thread, clean up ugly
10699 hacks. Unfortunatly core does not yet support nice ways to
10700 async commit state.
10702 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
10704 Start state recalc if a STATE_DIRTY message is posted, but only
10705 on the toplevel bin.
10707 * gst/gstelement.c: (gst_element_sync_state_with_parent),
10708 (gst_element_get_state_func), (gst_element_abort_state),
10709 (gst_element_commit_state), (gst_element_lost_state),
10710 (gst_element_set_state_func), (gst_element_change_state):
10711 * gst/gstelement.h:
10712 State variables are now protected with the LOCK, the state
10713 lock is only used to serialize _set_state().
10715 2005-10-18 Wim Taymans <wim@fluendo.com>
10717 * check/gst/gstbin.c: (GST_START_TEST):
10718 * check/gst/gstmessage.c: (GST_START_TEST):
10719 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10720 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
10722 * gst/gstelement.c: (gst_element_abort_state),
10723 (gst_element_commit_state), (gst_element_lost_state):
10724 * gst/gstmessage.c: (gst_message_new_state_changed),
10725 (gst_message_new_state_dirty), (gst_message_new_segment_start),
10726 (gst_message_new_segment_done), (gst_message_new_duration),
10727 (gst_message_parse_state_changed),
10728 (gst_message_parse_segment_start),
10729 (gst_message_parse_segment_done), (gst_message_parse_duration):
10730 * gst/gstmessage.h:
10731 * tools/gst-launch.c: (event_loop):
10732 Seriously, this is better than a previous commit as we only need
10733 to notify the fact that an element changed state in a streaming
10734 thread, marking the state of the parents dirty, hence the
10735 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
10738 2005-10-18 Wim Taymans <wim@fluendo.com>
10740 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
10741 (gst_bin_recalc_func):
10742 * gst/gstelement.c: (gst_element_set_clock),
10743 (gst_element_abort_state), (gst_element_lost_state):
10744 Cleanups, prepare for state change fixes.
10746 2005-10-18 Wim Taymans <wim@fluendo.com>
10749 * gst/gstelement.c: (gst_element_class_init),
10750 (gst_element_set_state), (gst_element_set_state_func):
10751 * gst/gstelement.h:
10752 Pending ABI changes.
10753 GThreadPool in GstBinClass to monitor async state changes.
10754 state_cookie in GstElement to detect concurrent gst/set state.
10755 set_state is now virtual too in case a very complicated element
10756 has to be constructed.
10758 2005-10-18 Wim Taymans <wim@fluendo.com>
10760 * check/gst/gstbin.c: (GST_START_TEST):
10761 * check/gst/gstmessage.c: (GST_START_TEST):
10762 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
10763 * gst/gstbin.c: (bin_bus_handler):
10764 * gst/gstelement.c: (gst_element_commit_state),
10765 (gst_element_lost_state):
10766 * gst/gstmessage.c: (gst_message_new_state_changed),
10767 (gst_message_new_segment_start), (gst_message_new_segment_done),
10768 (gst_message_new_duration), (gst_message_parse_state_changed),
10769 (gst_message_parse_segment_start),
10770 (gst_message_parse_segment_done), (gst_message_parse_duration):
10771 * gst/gstmessage.h:
10772 * tools/gst-launch.c: (event_loop):
10773 Make messages future proof.
10774 state-change gets a flag if it was a message comming from the
10776 segment-start/stop can also be specified in other formats.
10777 A message to notify an app that a pipeline changed playback
10779 Also fix a GstMessage leak in -launch
10781 2005-10-18 Andy Wingo <wingo@pobox.com>
10783 * gst/gstelement.c (gst_element_dispose): More helpful message.
10785 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
10787 reviewed by: <delete if not using a buddy>
10789 * common/gtk-doc.mak:
10791 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
10793 * gst/gstregistry.c: (gst_registry_scan_path_level):
10794 unref a plug-in we get that was already initialized
10796 2005-10-18 Stefan Kost <ensonic@users.sf.net>
10798 * docs/gst/gstreamer-sections.txt:
10799 * docs/libs/gstreamer-libs-sections.txt:
10800 * gst/gstelement.h:
10801 add new api entries
10802 hide internal macro
10804 2005-10-17 Andy Wingo <wingo@pobox.com>
10806 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
10809 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
10811 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
10813 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
10814 (gst_element_get_state_func): Better debug message.
10815 (gst_element_commit_state): s/INFO/DEBUG/.
10816 (gst_element_lost_state, gst_element_change_state):
10818 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
10819 (gst_message_new_custom): s/INFO/LOG/.
10821 2005-10-17 Michael Smith <msmith@fluendo.com>
10823 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
10824 Check if end time is valid using end time, not start time.
10826 2005-10-17 Stefan Kost <ensonic@users.sf.net>
10828 * check/gst-libs/controller.c: (GST_START_TEST),
10829 (gst_controller_suite):
10830 * libs/gst/controller/gstcontroller.c:
10831 (gst_controlled_property_set_interpolation_mode):
10832 * libs/gst/controller/gstcontroller.h:
10833 * libs/gst/controller/gstinterpolation.c:
10834 * testsuite/controller/.cvsignore:
10835 * testsuite/controller/Makefile.am:
10836 * testsuite/controller/interpolator.c:
10837 merge controller testsuites
10839 remove mem-chunk from docs
10841 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
10843 * gst/gstmemchunk.c:
10844 * gst/gstmemchunk.h:
10845 * gst/gsttrashstack.c:
10846 * gst/gsttrashstack.h:
10847 out. get out. you're fired. to the Attic !
10849 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
10851 * gst/gstcaps.c: (gst_caps_intersect):
10852 fix signedness issues in a (hopefully) correct way
10853 * gst/gstelement.c: (gst_element_pads_activate):
10855 * gst/gstobject.c: (gst_object_set_parent):
10858 2005-10-17 Julien MOUTTE <julien@moutte.net>
10860 * gst/gstvalue.h: Fix prototypes.
10862 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10864 * docs/gst/gstreamer-sections.txt:
10865 * gst/gst.c: (gst_version_string):
10867 * gst/gstversion.h.in:
10868 * win32/common/libgstreamer.def:
10869 add gst_version_string ()
10871 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10875 * gst/gst.c: (init_post):
10876 * win32/common/config.h.in:
10878 * gst/gstcaps.c: (gst_caps_intersect):
10879 use gint64, the range could be bigger than a guint
10881 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10884 document potential problem in 2038
10886 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10888 * gst/gstcaps.c: (gst_caps_intersect):
10889 Fix guint j diving under 0
10891 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10894 * win32/common/config.h:
10895 * win32/common/config.h.in:
10896 check for process.h, declares getpid() on Windows
10898 include process.h if we have it
10899 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
10900 * gst/gstmemchunk.h:
10901 fix signedness issues
10902 * win32/common/libgstreamer.def:
10905 2005-10-16 Julien MOUTTE <julien@moutte.net>
10907 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
10908 fix. Because of unsigned ints, caps intersection was going nuts and
10909 trying to access structures with G_MAXUINT index. That fixes
10910 videotestsrc ! ffmpegcolorspace ! fakesink
10911 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
10914 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10917 use the gettext macro
10918 * gst/elements/gstelements.c:
10920 * gst/indexers/gstindexers.c:
10921 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
10922 * win32/common/config.h:
10924 * win32/common/config.h.in:
10925 add the template to generate config.h
10926 * win32/common/gstenumtypes.c:
10927 * win32/common/gstversion.h:
10930 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
10932 * gst/gst.c: (gst_version):
10933 * gst/gstversion.h.in:
10936 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
10939 Oops, add missing closing bracket.
10941 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10944 use common m4's for argument checking
10946 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
10948 * docs/gst/gstreamer-sections.txt:
10950 Add GST_EVENT_TYPE_NAME() macro.
10952 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10955 * gst/gstpluginfeature.c:
10957 privatize more symbols
10959 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10962 add srcdir, builddir includes to GST_ALL_CFLAGS, since
10963 everything that uses GStreamer API should have the includes
10965 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10967 * docs/gst/gstreamer-sections.txt:
10968 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10970 give each value a _get_type, removes the DATA exports
10972 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10976 remove _gst_registry_auto_load, not used anymore
10977 * gst/gstbin.c: (gst_bin_get_type):
10979 * gst/gstelement.c: (gst_element_get_type):
10980 * gst/gstelement.h:
10981 * gst/gstobject.c: (gst_object_get_type):
10983 * gst/gstpad.c: (gst_pad_get_type):
10985 make _get_type functions similar, fixes data export from library
10987 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10990 correctly make conditionals
10991 * gst/elements/Makefile.am:
10992 * gst/elements/gstelements.c:
10993 fix typo causing fdsrc not to build
10995 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
10997 * testsuite/Makefile.am:
10998 * testsuite/bytestream/.cvsignore:
10999 * testsuite/bytestream/Makefile.am:
11000 * testsuite/bytestream/filepadsink.c:
11001 * testsuite/bytestream/gstbstest.c:
11002 * testsuite/bytestream/test1.c:
11003 * testsuite/bytestream/testfile1:
11004 * testsuite/caps/normalisation.c:
11005 * testsuite/caps/random.c: (main):
11006 * testsuite/cleanup/.cvsignore:
11007 * testsuite/cleanup/Makefile.am:
11008 * testsuite/cleanup/cleanup1.c:
11009 * testsuite/cleanup/cleanup2.c:
11010 * testsuite/cleanup/cleanup3.c:
11011 * testsuite/cleanup/cleanup4.c:
11012 * testsuite/cleanup/cleanup5.c:
11013 * testsuite/controller/interpolator.c:
11014 * testsuite/debug/printf_extension.c: (main):
11015 * testsuite/elements/tee.c:
11016 * testsuite/negotiation/.cvsignore:
11017 * testsuite/negotiation/Makefile.am:
11018 * testsuite/negotiation/pad_link.c:
11019 * testsuite/pad/Makefile.am:
11020 * testsuite/pad/chainnopull.c:
11021 * testsuite/pad/getnopush.c:
11022 * testsuite/pad/link.c:
11023 * testsuite/refcounting/sched.c: (create_pipeline):
11024 * testsuite/registry/Makefile.am:
11025 * testsuite/registry/gst-print-formats.c:
11026 * testsuite/schedulers/.cvsignore:
11027 * testsuite/schedulers/142183-2.c:
11028 * testsuite/schedulers/142183.c:
11029 * testsuite/schedulers/143777-2.c:
11030 * testsuite/schedulers/143777.c:
11031 * testsuite/schedulers/147713.c:
11032 * testsuite/schedulers/147819.c:
11033 * testsuite/schedulers/147894-2.c:
11034 * testsuite/schedulers/147894.c:
11035 * testsuite/schedulers/Makefile.am:
11036 * testsuite/schedulers/group_link.c:
11037 * testsuite/schedulers/queue_link.c:
11038 * testsuite/schedulers/relink.c:
11039 * testsuite/schedulers/unlink.c:
11040 * testsuite/schedulers/unref.c:
11041 * testsuite/schedulers/useless_iteration.c:
11042 * testsuite/states/bin.c:
11043 clean out/remove some stuff from the testsuite directories
11045 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11048 check for some headers
11049 * gst/elements/Makefile.am:
11050 * gst/elements/gstelements.c:
11051 don't compile fdsrc without sys/socket.h
11052 * gst/indexers/Makefile.am:
11053 * gst/indexers/gstindexers.c: (plugin_init):
11054 don't compile fileindex without mmap
11056 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
11063 * check/Makefile.am:
11064 * docs/gst/Makefile.am:
11065 * examples/helloworld/Makefile.am:
11067 * gst/base/Makefile.am:
11068 * gst/check/Makefile.am:
11069 * gst/elements/Makefile.am:
11070 * gst/indexers/Makefile.am:
11071 * gst/parse/Makefile.am:
11072 * libs/gst/controller/Makefile.am:
11073 * libs/gst/dataprotocol/Makefile.am:
11074 * examples/helloworld/helloworld.c: (event_loop):
11075 compile fixes, though it's not being compiled currently
11077 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
11079 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
11080 Add some simple tests for the new taglist date API.
11082 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
11084 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
11085 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
11086 Beautify 'last-message' output: print 'none' for buffer timestamps
11087 and durations if none is set; improve alignment with next messages.
11089 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
11091 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
11092 * gst/gstpluginfeature.h:
11093 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
11094 * gst/gstregistry.h:
11095 * docs/gst/gstreamer-sections.txt:
11096 Add new API to check plugin feature version requirements.
11098 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
11099 Some basic tests for the above.
11101 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11103 * gst/gststructure.c: (gst_structure_to_string):
11104 guard against NULL printf - happens when for example
11105 a message structure with GstClock gets serialized
11107 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
11109 * gst/base/gstcollectpads.c: (gst_collectpads_event):
11110 Fix presumable copy'n'pasto.
11112 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11114 * gst/elements/gstfakesrc.h:
11115 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
11116 * gst/elements/gsttypefindelement.c:
11117 fix some signedness
11118 * gst/elements/gstfilesink.c: (gst_file_sink_render):
11119 I wonder if this could actually write +2GB files before
11121 2005-10-13 Andy Wingo <wingo@pobox.com>
11123 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
11124 Fix Timmeke Waymans bug.
11125 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
11126 string of the proper length to gst_caps_from_string. There's a
11127 potential for, before this fix, that this could cause someone
11128 connecting over the network to cause a segfault if the payload is
11129 not NUL-terminated.
11131 2005-10-13 Stefan Kost <ensonic@users.sf.net>
11133 * docs/design/draft-push-pull.txt:
11134 * docs/design/part-overview.txt:
11135 * docs/random/TODO-pre-0.9:
11136 * docs/random/old/ChangeLog.gstreamer:
11137 * gst/base/gstpushsrc.c:
11141 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11143 * gst/glib-compat.c: (gst_flags_get_first_value):
11144 * gst/glib-compat.h:
11145 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
11146 (gst_value_compare_double), (gst_value_serialize_flags):
11147 GLib 2.6 g_flags_get_first_value has a bug that triggers an
11150 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11152 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11153 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
11155 * tools/gst-launch.c: (event_loop):
11156 print out clock nicely
11158 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
11160 * docs/gst/gstreamer-sections.txt:
11161 * gst/gsttaglist.h:
11162 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
11163 (gst_tag_list_get_date_index):
11164 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
11165 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
11167 2005-10-13 Julien MOUTTE <julien@moutte.net>
11169 * gst/base/gstcollectpads.c: (gst_collectpads_event),
11170 (gst_collectpads_chain):
11171 * gst/base/gstcollectpads.h: Handle newsegment and store informations
11174 2005-10-13 Stefan Kost <ensonic@users.sf.net>
11176 * docs/gst/gstreamer-sections.txt:
11179 * tools/gst-inspect.c: (main):
11180 * tools/gst-launch.c: (main):
11181 * tools/gst-run.c: (main):
11182 * tools/gst-xmlinspect.c: (main):
11183 fix GOption context leaks
11186 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
11190 * win32/common/config.h:
11192 * win32/vs6/grammar.dsp:
11193 * win32/vs6/libgstelements.dsp:
11194 * win32/vs6/libgstreamer.dsp:
11197 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
11199 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11200 * gst/base/gstbasesrc.c: (gst_base_src_query):
11201 fix more guint64<->gdouble conversions
11203 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
11206 add win32-update target
11207 * win32/common/gstconfig.h:
11208 * win32/common/gstenumtypes.c:
11209 * win32/common/gstenumtypes.h:
11210 * win32/common/gstversion.h:
11211 add files that visual studio can't generate
11213 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
11216 add a win32-update target
11219 2005-10-12 Wim Taymans <wim@fluendo.com>
11221 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11222 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
11223 * gst/gstelement.c: (gst_element_commit_state),
11224 (gst_element_set_state):
11225 Protect flags with proper lock.
11226 unref provided cached clock in dispose.
11228 2005-10-12 Stefan Kost <ensonic@users.sf.net>
11231 * gst/gstminiobject.h:
11233 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
11234 removed unused flags from miniobject
11237 2005-10-12 Wim Taymans <wim@fluendo.com>
11239 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
11240 (gst_file_sink_event), (gst_file_sink_render):
11241 Flush before seeking.
11243 2005-10-12 Andy Wingo <wingo@pobox.com>
11245 * gst/gst.c (gst_init_check): Ignore unknown options, as has
11246 always been the case.
11248 2005-10-12 Stefan Kost <ensonic@users.sf.net>
11250 * check/gst/gstbin.c: (GST_START_TEST):
11251 * docs/gst/gstreamer-sections.txt:
11252 * gst/base/gstbasesink.c: (gst_base_sink_init):
11253 * gst/base/gstbasesrc.c: (gst_base_src_init),
11254 (gst_base_src_get_range), (gst_base_src_check_get_range),
11255 (gst_base_src_start), (gst_base_src_stop):
11256 * gst/base/gstbasesrc.h:
11257 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
11258 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
11259 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
11263 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
11265 * gst/gstelement.c: (gst_element_is_locked_state),
11266 (gst_element_set_locked_state), (gst_element_commit_state),
11267 (gst_element_set_state):
11268 * gst/gstelement.h:
11269 * gst/gstindex.c: (gst_index_init):
11271 * gst/gstminiobject.h:
11272 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
11273 (gst_object_set_parent):
11275 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
11276 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
11278 * gst/gstpadtemplate.h:
11279 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
11280 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
11281 * gst/gstpipeline.h:
11282 * gst/indexers/gstfileindex.c: (gst_file_index_load),
11283 (gst_file_index_commit):
11284 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
11285 * testsuite/pad/link.c: (gst_test_src_init),
11286 (gst_test_filter_init), (gst_test_sink_init):
11287 * testsuite/states/locked.c: (main):
11288 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
11289 moved bitshift from macro to enum definition
11291 2005-10-12 Wim Taymans <wim@fluendo.com>
11293 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
11294 * gst/elements/gstfilesink.c: (gst_file_sink_event),
11295 (gst_file_sink_render):
11296 Some more debugging info.
11298 2005-10-12 Wim Taymans <wim@fluendo.com>
11300 * docs/design/part-states.txt:
11301 * tools/gst-launch.c: (main):
11303 Revert non-intentional change.
11305 2005-10-12 Wim Taymans <wim@fluendo.com>
11307 * check/gst/gstbin.c: (GST_START_TEST):
11308 * check/gst/gstelement.c: (GST_START_TEST):
11309 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
11310 * check/gst/gstghostpad.c: (GST_START_TEST):
11311 * check/gst/gstpipeline.c: (GST_START_TEST):
11312 * check/pipelines/simple_launch_lines.c: (run_pipeline):
11313 * check/states/sinks.c: (GST_START_TEST):
11314 * gst/elements/gsttypefindelement.c: (stop_typefinding):
11315 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11316 (gst_bin_remove_func), (gst_bin_get_state_func),
11317 (gst_bin_recalc_state), (gst_bin_change_state_func),
11319 * gst/gstelement.c: (gst_element_get_state_func),
11320 (gst_element_get_state), (gst_element_abort_state),
11321 (gst_element_commit_state), (gst_element_set_state),
11322 (gst_element_change_state), (gst_element_change_state_func):
11323 * gst/gstelement.h:
11324 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
11325 (gst_pipeline_provide_clock_func):
11326 * gst/gstutils.c: (gst_element_link_pads_filtered):
11327 * tools/gst-launch.c: (main):
11328 * tools/gst-typefind.c: (main):
11329 Use GstClockTime in _get_state() instead of GTimeVal.
11330 Remove old code in gstutils.c
11332 2005-10-12 Andy Wingo <wingo@pobox.com>
11334 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
11337 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
11338 there is no task. Shouldn't affect any code, as nothing in our
11339 plugins checks this return value.
11340 (gst_pad_stop_task): Also take the stream lock if the pad has no
11341 task. Docs updated.
11343 2005-10-12 Wim Taymans <wim@fluendo.com>
11345 * gst/gstpad.c: (pre_activate), (post_activate),
11346 (gst_pad_activate_pull), (gst_pad_activate_push):
11347 Cleanup activation code. Reset old state if
11350 2005-10-12 Wim Taymans <wim@fluendo.com>
11352 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11353 (gst_base_sink_change_state):
11354 No need to prerol after receiving EOS.
11356 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
11357 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
11358 * gst/elements/gstidentity.c: (gst_identity_event):
11359 Print events more verbosely.
11361 2005-10-12 Wim Taymans <wim@fluendo.com>
11363 * check/Makefile.am:
11364 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
11365 * check/states/sinks2.c:
11366 Moved sinks2 testcode in sinks check.
11368 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
11369 (gst_bin_remove_func), (gst_bin_recalc_state),
11370 (gst_bin_change_state_func), (bin_bus_handler):
11371 Fix potential race condition when _get_state() iterated over an
11372 ASYNC element right before it posted a state completion.
11375 Do proper cast here.
11377 * gst/gstevent.c: (gst_event_new_newsegment),
11378 (gst_event_parse_newsegment):
11379 A playback rate of 0.0 is not allowed.
11381 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11383 * win32/common/config.h:
11384 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
11385 (_trewinddir), (_ttelldir), (_tseekdir):
11386 * win32/common/dirent.h:
11387 * win32/common/gtchar.h:
11388 * win32/common/libgstbase.def:
11389 * win32/common/libgstreamer.def:
11390 * win32/vs6/grammar.dsp:
11391 * win32/vs6/gst_inspect.dsp:
11392 * win32/vs6/gst_launch.dsp:
11393 * win32/vs6/gstreamer.dsw:
11394 * win32/vs6/libgstbase.dsp:
11395 * win32/vs6/libgstelements.dsp:
11396 * win32/vs6/libgstreamer.dsp:
11397 Visual Studio 6 project files, and a new common directory.
11400 2005-10-11 Wim Taymans <wim@fluendo.com>
11402 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11403 (gst_base_sink_do_sync), (gst_base_sink_query),
11404 (gst_base_sink_change_state):
11405 * gst/base/gstbasesink.h:
11406 Correctly parse newsegment info.
11408 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11410 * gst/gst.c: (init_post):
11411 split plugin paths correctly
11413 2005-10-11 Wim Taymans <wim@fluendo.com>
11415 * check/gst/gstevent.c: (GST_START_TEST):
11416 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11417 (gst_base_sink_change_state):
11418 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
11419 * gst/base/gstbasetransform.c: (gst_base_transform_event):
11420 * gst/elements/gstfilesink.c: (gst_file_sink_event):
11421 * gst/gstevent.c: (gst_event_new_newsegment),
11422 (gst_event_parse_newsegment):
11424 Added extra flag to newsegment for future API freeze.
11425 Updated check and base elements.
11427 2005-10-11 Julien MOUTTE <julien@moutte.net>
11429 * gst/base/gstcollectpads.c: (gst_collectpads_init),
11430 (gst_collectpads_add_pad), (gst_collectpads_pop),
11431 (gst_collectpads_event), (gst_collectpads_chain):
11432 * gst/base/gstcollectpads.h: Handle EOS correctly.
11434 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11436 * tools/gst-launch.c: (main):
11437 more null protecting
11439 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11441 * gst/gst-i18n-lib.h:
11442 check for ENABLE_NLS, not GETTEXT_PACKAGE
11443 * gst/gstregistry.c: (gst_registry_add_plugin),
11444 (gst_registry_scan_path_level),
11445 (_gst_registry_remove_cache_plugins):
11446 protect possibly NULL strings
11447 * gst/parse/types.h:
11448 config.h already included before
11449 * tools/gst-inspect.c: (main):
11450 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
11451 check for ENABLE_NLS, not GETTEXT_PACKAGE
11452 * tools/gst-launch.c: (main):
11453 check for ENABLE_NLS, not GETTEXT_PACKAGE
11455 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11458 if we don't have glib, fail before testing 2.8
11459 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
11460 fix a leak, should fix plugins-base testsuite
11462 2005-10-11 Andy Wingo <wingo@pobox.com>
11464 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
11465 take the mode we're going to as an arg. Go head and set the mode
11466 and flushing flags now, so that if the activate function starts a
11467 thread all the flags will be in the right state.
11468 (post_activate): Renamed also. Just handle making sure streaming
11469 finishes for the deactivation case, and setting the deactivated
11471 (gst_pad_set_active): Complain loudly if deactivation fails.
11472 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
11473 (gst_pad_activate_push): Adapt to pre/post_activate changes,
11474 remove the terrible hack.
11476 2005-10-11 Wim Taymans <wim@fluendo.com>
11478 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11479 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
11480 (gst_bin_recalc_state), (gst_bin_change_state_func),
11481 (gst_bin_dispose), (bin_bus_handler):
11483 Prepare to make current EOS message queue more generic.
11486 * gst/gstevent.c: (gst_event_new_newsegment),
11487 (gst_event_parse_newsegment):
11489 Rename base to stream_time.
11491 * gst/gstmessage.h:
11494 2005-10-11 Wim Taymans <wim@fluendo.com>
11496 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
11497 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
11498 (gst_bin_change_state_func), (bin_bus_handler):
11500 Work on proper clock selection.
11502 2005-10-11 Edward Hervey <edward@fluendo.com>
11504 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
11505 * libs/gst/controller/gstcontroller.h:
11506 Added GList* version of _remove_properties() in order to be able to wrap
11509 2005-10-11 Wim Taymans <wim@fluendo.com>
11511 * docs/design/part-states.txt:
11514 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
11515 (gst_bin_change_state_func), (bin_bus_handler):
11516 Doc updates. Don't distribute the same clock over and over again.
11522 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
11523 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
11524 (gst_pad_send_event):
11526 Make probe emission threadsafe again.
11527 Register quarks and move _get_name() from utils.
11530 * gst/gstpipeline.c: (gst_pipeline_class_init),
11531 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11532 Only redistribute the clock of it changed.
11534 * gst/gstsystemclock.h:
11539 Moved the _flow_get_name() to GstPad.
11541 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11543 * check/gst-libs/gdp.c: (GST_START_TEST):
11544 * check/gst/gstcaps.c: (GST_START_TEST):
11545 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
11546 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
11547 (gst_dp_packet_from_caps):
11548 fix more valgrind warnings before turning up the heat
11550 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
11552 * gst/parse/grammar.y:
11553 some cleanup before the hacking
11555 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11557 * gst/base/gstbasesrc.c: (gst_base_src_query):
11559 * gst/gstutils.c: (gst_guint64_to_gdouble),
11560 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
11562 externalize, basesrc uses it
11563 obviously the implementation needs testing
11565 2005-10-10 Wim Taymans <wim@fluendo.com>
11567 * tests/sched/Makefile.am:
11568 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
11569 (make_pipeline3), (make_pipeline4), (print_elem), (main):
11571 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11573 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
11574 apparently converting from guint64 to double is not implemented
11577 2005-10-10 Wim Taymans <wim@fluendo.com>
11579 * check/Makefile.am:
11580 * check/generic/states.c: (GST_START_TEST):
11581 * check/gst/gstbin.c: (GST_START_TEST):
11582 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11583 * check/states/sinks.c: (GST_START_TEST):
11584 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
11586 Check fixes, use API as stated in design docs, remove hacks.
11588 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11589 (gst_base_sink_change_state):
11590 Catch stopping our task while we're shutting down.
11592 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
11593 (gst_bin_remove_func), (gst_bin_get_state_func),
11594 (gst_bin_recalc_state), (gst_bin_change_state_func),
11597 * gst/gstelement.c: (gst_element_init),
11598 (gst_element_get_state_func), (gst_element_abort_state),
11599 (gst_element_commit_state), (gst_element_lost_state),
11600 (gst_element_set_state), (gst_element_change_state),
11601 (gst_element_change_state_func):
11602 * gst/gstelement.h:
11603 New state change algorithm (see #318116)
11605 * gst/gstpipeline.c: (gst_pipeline_class_init),
11606 (gst_pipeline_init), (gst_pipeline_set_property),
11607 (gst_pipeline_get_property), (do_pipeline_seek),
11608 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
11609 * gst/gstpipeline.h:
11610 Remove crude state change hacks.
11613 Remove crude hacks.
11615 * tools/gst-launch.c: (main):
11616 Fixes for state change. Needs some more work to fully use the
11619 2005-10-10 Andy Wingo <wingo@pobox.com>
11621 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
11623 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
11624 this flag, but it's not even in GLib 2.6. Odd. Hack around the
11627 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11629 * gst/gstiterator.c: (gst_iterator_new):
11630 Fix my previous commit: GTypes passed to gst_iterator_new()
11631 can be fundamental types.
11633 2005-10-10 Wim Taymans <wim@fluendo.com>
11635 * gst/gstelement.c: (gst_element_iterate_pad_list),
11636 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
11637 (gst_element_iterate_sink_pads):
11638 Use src/sink pads lists for the respective iterators instead
11641 2005-10-10 Andy Wingo <wingo@pobox.com>
11643 Merged in popt removal + GOption addition patch from Ronald, bug
11646 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
11647 GstElement macros around, remove popt-related symbols, add goption
11650 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
11652 * docs/gst/Makefile.am:
11653 * docs/libs/Makefile.am: No POPT_CFLAGS.
11655 * examples/manual/Makefile.am:
11656 * docs/manual/basics-init.xml: Doc updates with an example.
11658 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11659 (gst_init), (parse_one_option), (parse_goption_arg):
11660 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
11661 bit of hand merging and debugging to get the GOption stuff working
11664 * tests/Makefile.am:
11665 * tools/Makefile.am:
11666 * tools/gst-inspect.c: (main):
11667 * tools/gst-launch.c: (main):
11668 * tools/gst-run.c: (main):
11669 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
11671 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11673 * gst/gstiterator.c: (gst_iterator_new):
11674 Add assertions to make sure passed GType is likely to really
11675 be a GType (as the compiler won't catch it if the size and
11676 GType arguments get mixed up, see #318447).
11678 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
11680 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
11682 * gst/gstbin.c: (gst_bin_iterate_sorted):
11683 Pass GType and size arguments to gst_iterator_new() in the right
11684 order (maybe we should make _new() take the GType as first argument
11685 just like _new_list()?) (#318447).
11688 2005-10-10 Wim Taymans <wim@fluendo.com>
11690 * gst/gstelement.c: (gst_element_finalize):
11691 And free the GStaticRecMutex too
11693 2005-10-10 Andy Wingo <wingo@pobox.com>
11695 * gst/gstelement.c (gst_element_init, gst_element_finalize):
11696 Allocate and free the mutex properly.
11698 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
11700 (GstElement): The state_lock is now recursive. Rebuild your
11701 plugins, suckers. Old macros adapted.
11703 * docs/gst/gstreamer-sections.txt: Doc updates.
11706 * gst/gstutils.c (g_static_rec_cond_timed_wait)
11707 (g_static_rec_cond_wait): Ported from state changes patch, while
11708 we wait on bug #317802 to be solved in a well-distributed GLib.
11710 * gst/gstelement.c (gst_element_change_state_func): Renamed from
11711 gst_element_change_state, variable name changes.
11712 (gst_element_change_state): Split out of gst_element_set_state in
11713 preparation for the state change merge. Doesn't pay attention to
11714 the 'transition' argument.
11715 (gst_element_set_state): Updates, hopefully purely cosmetic.
11716 (gst_element_sync_state_with_parent): MT-safety. Ported from the
11717 state change patch.
11718 (gst_element_get_state_func): Renamed from get_state, cosmetic
11721 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11723 * gst/elements/gstelements.c:
11724 * win32/GStreamer.vcproj:
11726 * win32/dirent.c: (_tseekdir):
11727 * win32/gst-inspect.vcproj:
11728 * win32/gst-launch.vcproj:
11729 * win32/gstconfig.h:
11730 * win32/gstelements.vcproj:
11731 * win32/gstenumtypes.c: (gst_object_flags_get_type):
11732 * win32/gstreamer.def:
11733 * win32/msvc71.sln:
11734 updates for the win32 build (patch from Sebastien Moutte)
11736 2005-10-10 Andy Wingo <wingo@pobox.com>
11738 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
11739 gst_bin_get_state, cleaned up (but no logic changes).
11740 (bin_element_is_sink): Comment updates.
11741 (sink_iterator_filter): Remove needless cast.
11742 (gst_bin_iterate_sinks): Doc update.
11743 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
11744 cleaned up (but no logic changes).
11746 * check/states/sinks.c (test_src_sink): Cleanups from the state
11748 (test_livesrc_sink): Sync on the state.
11750 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
11751 the state change patch.
11753 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
11756 * check/gst/gstbin.c: Merge in some style fixes and additional
11757 checks from Wim's state change patch.
11759 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
11761 * gst/base/gsttypefindhelper.c: (helper_find_peek),
11762 (gst_type_find_helper):
11763 Check whether we have the requested data already in our list of
11764 cached buffers before pulling a new buffer; also make the buffer
11765 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
11767 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
11772 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
11773 don't use long long, it's not portable. Replacing with
11774 gint64 seems to work; let's hope no skeletons fall out of the closet.
11776 2005-10-10 Andy Wingo <wingo@pobox.com>
11778 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
11780 2005-10-09 Stefan Kost <ensonic@users.sf.net>
11782 * docs/gst/gstreamer-sections.txt:
11787 * gst/gstmessage.c: (gst_message_parse_state_changed):
11790 more docs, fix compilation
11792 2005-10-09 Philippe Khalaf <burger@speedy.org>
11793 * gst/gstmessage.c:
11794 Fixed a few forgotten variables on previous commit
11796 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
11798 * gst/base/gsttypefindhelper.c: (helper_find_peek):
11799 Fix evil typefind crasher: getrange() might return a short
11800 buffer at the end of a file, but gst_type_find_peek() must
11801 either return the full data as requested or NULL, but
11802 never a short buffer.
11804 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
11806 * gst/gstmessage.c: (gst_message_new_state_changed),
11807 (gst_message_parse_state_changed):
11808 * gst/gstmessage.h:
11809 don't use "new", it's a C++ keyword
11811 2005-10-08 Wim Taymans <wim@fluendo.com>
11813 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
11814 * gst/gstelement.c: (gst_element_post_message):
11815 * gst/gstpipeline.c: (gst_pipeline_change_state):
11816 Small docs and debug updates.
11818 2005-10-08 Stefan Kost <ensonic@users.sf.net>
11820 * docs/gst/gstreamer-sections.txt:
11821 * gst/gstelementfactory.c:
11823 * gst/gsttaglist.c:
11826 2005-10-08 Wim Taymans <wim@fluendo.com>
11828 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
11829 (gst_bin_dispose), (bin_bus_handler):
11830 Fix typos, add comments.
11831 Clear EOS list when going to PAUSED from any direction and do it
11832 in a threadsafe way.
11833 Get base time in a threadsafe way too.
11834 Fix confusing debug in the change_state function.
11835 Various other small cleanups.
11837 * gst/gstelement.c: (gst_element_post_message):
11838 Fix very verbose bus posting code.
11840 * gst/gstpipeline.c: (gst_pipeline_class_init),
11841 (gst_pipeline_set_property), (gst_pipeline_get_property),
11842 (gst_pipeline_change_state):
11843 Small ARG_ -> PROP_ cleanup
11845 2005-10-08 Wim Taymans <wim@fluendo.com>
11847 * gst/gstbin.c: (is_eos), (bin_bus_handler):
11848 Do a less CPU demanding EOS check because we can.
11850 2005-10-08 Wim Taymans <wim@fluendo.com>
11852 * libs/gst/dataprotocol/dataprotocol.c:
11853 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
11854 (gst_dp_packet_from_event):
11855 * libs/gst/dataprotocol/dataprotocol.h:
11856 * libs/gst/dataprotocol/dp-private.h:
11857 It's about time we bump the version number.
11858 Since event types don't fit in the guint8 anymore describing
11859 the payload type, make payload type 16 bits wide.
11861 2005-10-08 Wim Taymans <wim@fluendo.com>
11863 * docs/design/part-TODO.txt:
11864 * docs/design/part-clocks.txt:
11865 * docs/design/part-events.txt:
11866 * docs/design/part-gstbin.txt:
11867 * docs/design/part-gstelement.txt:
11868 * docs/design/part-gstpipeline.txt:
11869 * docs/design/part-live-source.txt:
11870 * docs/design/part-messages.txt:
11871 * docs/design/part-overview.txt:
11872 * docs/design/part-states.txt:
11875 2005-10-08 Wim Taymans <wim@fluendo.com>
11879 Fix event quark registration.
11880 Add some space between events so we can insert them in the
11883 2005-10-08 Wim Taymans <wim@fluendo.com>
11885 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11886 (gst_base_sink_handle_buffer):
11887 Better log message.
11890 * gst/gstelement.h:
11893 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
11894 (gst_queue_set_property), (gst_queue_get_property):
11896 Remove old unused properties.
11898 2005-10-08 Stefan Kost <ensonic@users.sf.net>
11899 * docs/gst/gstreamer-sections.txt:
11900 * gst/gstmessage.c:
11901 * gst/gstmessage.h:
11902 * gst/gstminiobject.c:
11903 * gst/gstminiobject.h:
11907 lots of new docs and doc fixes
11909 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11911 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
11913 * gst/gstregistry.c: (gst_registry_lookup_locked),
11914 (gst_registry_scan_path_level):
11915 * gst/gstregistryxml.c: (load_plugin):
11916 Only ever load one plugin for a given plugin basename.
11917 This ensures correct overriding of GST_PLUGIN_PATH over
11918 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
11919 system installed plugins.
11921 2005-10-08 Wim Taymans <wim@fluendo.com>
11923 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11924 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
11925 Prepare for doing QOS.
11927 2005-10-08 Wim Taymans <wim@fluendo.com>
11929 * check/gst/gstbin.c: (GST_START_TEST):
11930 * check/pipelines/cleanup.c: (GST_START_TEST):
11931 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
11932 Allow new clock message too.
11934 2005-10-08 Wim Taymans <wim@fluendo.com>
11936 * gst/gstmessage.c: (gst_message_new_error),
11937 (gst_message_new_warning), (gst_message_new_tag),
11938 (gst_message_new_state_changed), (gst_message_new_clock_provide),
11939 (gst_message_new_clock_lost), (gst_message_new_new_clock),
11940 (gst_message_new_segment_start), (gst_message_new_segment_done),
11941 (gst_message_parse_state_changed),
11942 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
11943 (gst_message_parse_new_clock):
11944 * gst/gstmessage.h:
11945 Also carry the clock in question.
11947 2005-10-08 Wim Taymans <wim@fluendo.com>
11949 * gst/gstmessage.c: (gst_message_new_custom),
11950 (gst_message_new_eos), (gst_message_new_error),
11951 (gst_message_new_warning), (gst_message_new_tag),
11952 (gst_message_new_state_changed), (gst_message_new_clock_provide),
11953 (gst_message_new_new_clock), (gst_message_new_segment_start),
11954 (gst_message_new_segment_done), (gst_message_parse_state_changed),
11955 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
11956 * gst/gstmessage.h:
11958 Added clock related messages.
11960 * gst/gstpipeline.c: (gst_pipeline_change_state):
11961 Post message when the clock changed.
11963 * tools/gst-launch.c: (event_loop):
11966 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
11968 * tools/gst-inspect.c: (print_element_properties_info):
11969 Can't pass NULL strings to g_print() on windows.
11971 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11973 * docs/Makefile.am:
11974 * docs/gst/Makefile.am:
11975 * docs/gst/gstreamer-docs.sgml:
11976 * docs/gst/running.xml:
11977 * docs/version.entities.in:
11978 add a chapter on running GStreamer.
11979 document GST_DEBUG and GST_PLUGIN* env vars
11981 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
11986 remove PLUGINS_BUILDDIR stuff
11987 * gst/gst.c: (init_post):
11988 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
11990 remove, it was condescending and not needed
11992 2005-10-08 Wim Taymans <wim@fluendo.com>
11994 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
11995 (gst_base_sink_handle_object), (gst_base_sink_event),
11996 (gst_base_sink_wait), (gst_base_sink_handle_event),
11997 (gst_base_sink_change_state):
11998 * gst/base/gstbasesink.h:
11999 Repost EOS message while going to PLAYING if still EOS.
12000 Make sure that when receiving a FLUSH_START we don't attempt
12001 to sync on the clock anymore.
12003 2005-10-08 Wim Taymans <wim@fluendo.com>
12005 * tools/gst-launch.c: (event_loop):
12006 Better message printout.
12008 2005-10-08 Wim Taymans <wim@fluendo.com>
12010 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
12011 (gst_bin_child_proxy_get_children_count):
12012 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
12013 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
12014 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
12015 (gst_child_proxy_set_valist):
12016 * gst/parse/grammar.y:
12017 Make ChildProxy threadsafe and fix mem leaks.
12019 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12021 * gst/gst.c: (init_post):
12022 debug the GST_PLUGIN_ env vars
12024 2005-10-08 Wim Taymans <wim@fluendo.com>
12026 * check/gst/gstbin.c: (GST_START_TEST):
12027 * check/gst/gstmessage.c: (GST_START_TEST):
12028 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
12029 * gst/gstelement.c: (gst_element_commit_state),
12030 (gst_element_lost_state):
12031 * gst/gstmessage.c: (gst_message_new_state_changed),
12032 (gst_message_parse_state_changed):
12033 * gst/gstmessage.h:
12034 * tools/gst-launch.c: (event_loop):
12035 Added extra field to STATE_CHANGE message with the pending
12036 state, which will be different from the new state soon.
12038 2005-10-08 Wim Taymans <wim@fluendo.com>
12040 * gst/gstbus.c: (gst_bus_pop):
12042 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
12043 Small cleanups and doc updates.
12045 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
12047 * gst/gst.c: (init_pre):
12048 * gst/gstbin.c: (gst_bin_add_func):
12049 log distributing clocks and base time
12050 * gst/gstregistry.c: (gst_registry_add_plugin),
12051 (gst_registry_scan_path_level), (gst_registry_scan_path):
12052 clean up the debugging output a little
12053 * gst/gstutils.c: (gst_element_state_get_name):
12054 warn about a memleak (I've actually seen this be used, though
12055 it was probably a bug)
12057 2005-10-07 Wim Taymans <wim@fluendo.com>
12059 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12060 (gst_base_src_init), (gst_base_src_default_newsegment),
12061 (gst_base_src_newsegment), (gst_base_src_do_seek),
12062 (gst_base_src_loop), (gst_base_src_start):
12063 * gst/base/gstbasesrc.h:
12064 Make the newsegment event customizable by subclasses.
12066 2005-10-07 Wim Taymans <wim@fluendo.com>
12068 * gst/gstevent.c: (gst_event_new_buffersize),
12069 (gst_event_parse_buffersize):
12071 New event for future idea.
12073 2005-10-07 Andy Wingo <wingo@pobox.com>
12075 * gst/gstelement.c (gst_element_post_message): Doc update.
12077 * docs/gst/gstreamer-sections.txt: Update.
12079 * gst/gstmessage.c (gst_message_new_application): Made into a
12080 function like honest API calls.
12081 (gst_message_new_element): New message type.
12083 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
12085 * check/elements/fakesrc.c (test_no_preroll): New check, checks
12086 that setting a live fakesrc to PAUSED returns NO_PREROLL both
12089 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
12090 NO_PREROLL from gst_element_change_state to fall through.
12092 2005-10-07 Wim Taymans <wim@fluendo.com>
12094 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
12095 (gst_ghost_pad_do_activate_push):
12096 Activating a ghostpad with no internal pad in push mode
12099 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
12102 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
12103 Fixes compilation on Windows.
12105 2005-10-07 Michael Smith <msmith@fluendo.com>
12107 * tools/gst-inspect.c:
12108 Print out feature and plugin count at the end when printing out
12111 2005-10-04 Michael Smith <msmith@fluendo.com>
12113 * gst/gsterror.c: (_gst_stream_errors_init):
12114 Add another error string used in a few existing plugins.
12117 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
12118 * tools/gst-inspect.c: (print_element_info):
12119 When a feature disappears from a plugin (and the feature exists in
12120 the cached registry file), things went horribly wrong. This isn't a
12121 complete fix, we should actually be removing the 'missing' features
12122 from the features list when we load the actual plugin. That's not
12125 2005-10-04 Johan Dahlin <johan@gnome.org>
12127 * check/gst/gstiterator.c: (GST_START_TEST):
12128 * gst/gstbin.c: (gst_bin_iterate_elements),
12129 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
12130 * gst/gstelement.c: (gst_element_iterate_pads):
12131 * gst/gstformat.c: (gst_format_iterate_definitions):
12132 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
12133 (gst_iterator_new_list), (gst_iterator_filter):
12134 * gst/gstiterator.h:
12135 * gst/gstquery.c: (gst_query_type_iterate_definitions):
12136 Add a GType to GstIterator, update callsites and tests.
12138 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12140 * gst/gstpad.c: (gst_pad_event_default_dispatch):
12141 give events a chance to be handled by event probes when the pad
12144 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12146 * gst/gstevent.c: (gst_event_type_get_name),
12147 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
12149 add string representations for event types
12151 2005-10-06 Wim Taymans <wim@fluendo.com>
12153 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
12154 Don't use NULL pointers.
12156 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12158 * gst/gst_private.h:
12160 * gst/gstelement.c:
12162 * gst/gstpluginfeature.c:
12163 widen the debug category in output to fit the biggest one we have
12164 add a bus category and use it
12165 play with the colors
12166 fix up some categories
12168 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
12170 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
12171 add push activation of sink ghost pads.
12172 Andye, please verify
12174 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
12176 * gst/gstutils.c: (gst_element_link_pads):
12177 fix a bug in the case where neither element has a pad
12178 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
12179 add a test for that case
12181 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
12183 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
12184 emit have-data before checking for peers. This allows
12185 for probe handlers to connect elements. This helps autopluggers.
12186 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
12188 add six checks, linked/unlinked with no/true/false probe
12190 2005-10-04 Wim Taymans <wim@fluendo.com>
12192 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
12193 (gst_fake_sink_event), (gst_fake_sink_preroll),
12194 (gst_fake_sink_render), (gst_fake_sink_change_state):
12195 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
12196 (gst_fake_src_get_property), (gst_fake_src_create),
12197 (gst_fake_src_stop):
12198 * gst/elements/gstidentity.c: (gst_identity_stop):
12199 Protect last_message with lock.
12201 2005-10-04 Edward Hervey <edward@fluendo.com>
12204 Added precision in the comments for GST_FORMAT_DEFAULT
12206 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
12208 * tools/gst-launch.c: (main):
12209 Don't try to run erroneous pipelines.
12211 2005-10-04 Julien MOUTTE <julien@moutte.net>
12213 * gst/gstbus.c: We don't need this header.
12215 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
12218 back to development
12220 === release 0.9.3 ===
12222 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
12226 Releasing 0.9.3, "Unregistered"
12228 2005-10-03 Andy Wingo <wingo@pobox.com>
12230 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
12231 whereby calling a pad's activatepush() function can start a thread
12232 that starts to push or pull before the pad gets the FLUSHING flag
12233 unset. Hack around it by holding the stream lock until the flag is
12234 set. Need to replace this with a proper solution. Together with
12235 the ghost pad fixes, this fixes mp3 playing/tagreading.
12237 * docs/design/part-gstghostpad.txt: Add a note about activation of
12238 proxy pads outside of ghost pads.
12240 * gst/gstghostpad.c: Implement the ghost pad activation design.
12242 2005-10-02 Andy Wingo <wingo@pobox.com>
12244 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
12245 It is volatile, after all.
12247 * docs/design/part-gstghostpad.txt: Flesh out activation with
12250 * gst/base/gstbasesrc.c (gst_base_src_init): Use
12253 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
12256 Fix (unused) AM_CONDITIONAL tests.
12258 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
12260 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12262 * gst/gstutils.c: (gst_pad_query_convert):
12263 Add assertion that makes sure src_val is >=0, just like
12264 gst_query_new_convert() has. (#315895)
12266 2005-09-30 Edward Hervey <edward@fluendo.com>
12268 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
12269 Let's not iterate pads we're not interested in, it avoids getting
12270 sky-high refcounts on sinkpad.
12272 2005-09-30 Wim Taymans <wim@fluendo.com>
12274 * gst/gstelement.c: (gst_element_set_state),
12275 (gst_element_change_state):
12276 Small tweak, element in ASYNC remains ASYNC.
12278 2005-09-30 Wim Taymans <wim@fluendo.com>
12280 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
12281 Only error is an error.
12283 * gst/gstbin.c: (gst_bin_change_state):
12286 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
12287 Also call pad_block in pad alloc.
12289 * gst/gstutils.c: (gst_flow_get_name):
12292 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12294 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
12295 (gst_base_src_get_range):
12296 Fix documentation typos. Add some more debug info.
12298 2005-09-29 David Schleef <ds@schleef.org>
12300 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
12301 more end-user friendly.
12302 * tools/gst-inspect.c: (main): Check if command-line argument is
12303 a file and attempt to load that file as a plugin.
12305 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12307 * check/gst/gstbin.c:
12308 * check/states/sinks.c:
12309 fix tests for the new warning
12310 * check/gst/gstpipeline.c:
12311 add a test for pipeline and bus interaction
12312 * gst/gstelement.c:
12313 elements should be NULL if they get disposed; add a warning if not
12315 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12318 for 2.6 refcounting, make debug log more correct by printing
12319 the actual refcounts at the time of swap (Wim)
12321 2005-09-29 Andy Wingo <wingo@pobox.com>
12323 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
12324 removes signal watches previously added via
12325 gst_bus_add_signal_watch.
12326 (gst_bus_add_signal_watch): Don't return the source id, just store
12327 it on the bus if there wasn't an id already.
12329 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
12330 add_signal_watch and remove_signal_watch.
12332 2005-09-29 Edward Hervey <edward@fluendo.com>
12334 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
12335 Better if we actually iterate the list :)
12337 2005-09-29 Wim Taymans <wim@fluendo.com>
12339 * check/gst/gstbin.c: (GST_START_TEST):
12340 Change for new bus API.
12342 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
12343 (send_messages), (GST_START_TEST), (gstbus_suite):
12344 Change for new bus signal API.
12346 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
12347 (gst_bus_source_prepare), (gst_bus_source_check),
12348 (gst_bus_create_watch), (gst_bus_add_watch_full),
12349 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
12350 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
12352 Remove support for multiple GSources operating on different
12353 message types as it is too complex and unneeded when using
12355 Added support for receiving signals from the bus.
12357 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
12359 * docs/libs/tmpl/gstdataprotocol.sgml:
12360 * docs/manual/advanced-dataaccess.xml:
12361 * gst/elements/gstcapsfilter.c:
12363 rename filter-caps to caps property
12365 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12367 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12368 More robust fraction string parsing.
12370 * docs/pwg/appendix-porting.xml:
12371 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
12373 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
12375 * gst/gstcaps.c: (gst_caps_do_simplify):
12376 Thou shalt not free a structure and then continue using it
12377 in the next loop iteration.
12379 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
12381 Add test case for caps simplification.
12383 2005-09-29 Wim Taymans <wim@fluendo.com>
12385 * check/gst/gstbin.c: (GST_START_TEST):
12388 2005-09-29 Wim Taymans <wim@fluendo.com>
12390 * check/gst/gstbin.c: (GST_START_TEST):
12393 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
12394 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12395 (find_element), (gst_bin_sort_iterator_next),
12396 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12397 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12398 (gst_bin_change_state), (gst_bin_dispose):
12399 A bin does not have a bus, it gets the bus from the parent.
12401 * gst/gstelement.c: (gst_element_requires_clock),
12402 (gst_element_provides_clock), (gst_element_is_indexable),
12403 (gst_element_is_locked_state), (gst_element_change_state),
12404 (gst_element_set_bus_func):
12407 * gst/gstpipeline.c: (gst_pipeline_class_init),
12408 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
12409 The pipeline provides a bus.
12411 2005-09-28 Johan Dahlin <johan@gnome.org>
12413 * gst/gstmessage.c (gst_message_parse_state_changed): Use
12414 gst_structure_get_enum instead of gst_structure_get_int
12416 * gst/gststructure.c (gst_structure_get_enum): Impl.
12418 * gst/gststructure.h (gst_structure_get_enum): Add
12420 * docs/gst/gstreamer-sections.txt: Ditto
12422 * gst/gstmessage.c (gst_message_new_state_changed): Use
12423 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
12424 which does introspection.
12425 Reviewed by Christian Schaller
12427 2005-09-28 Stefan Kost <ensonic@users.sf.net>
12429 * gst/gstinfo.c: (gst_debug_log_default):
12430 don't do dummy g_strdup()s
12431 * libs/gst/controller/gstcontroller.c:
12432 (on_object_controlled_property_changed),
12433 (gst_controlled_property_new), (gst_controller_new_valist),
12434 (gst_controller_new_list),
12435 (gst_controller_remove_properties_valist), (gst_controller_set),
12436 (gst_controller_get), (gst_controller_sync_values),
12437 (gst_controller_get_value_array), (_gst_controller_class_init),
12438 (gst_controller_get_type):
12439 * libs/gst/controller/gstcontroller.h:
12440 * libs/gst/controller/gstinterpolation.c:
12441 (gst_controlled_property_find_timed_value_node):
12442 convert // to /**/ comments
12444 2005-09-28 Wim Taymans <wim@fluendo.com>
12446 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
12447 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
12448 (gst_bus_sync_signal_handler):
12450 Added async-message and sync-message signals to the bus.
12451 Added helper BusFunc to emit signals for all posted messages.
12453 * gst/gstmessage.c: (gst_message_type_get_name),
12454 (gst_message_type_to_quark), (gst_message_get_type):
12455 * gst/gstmessage.h:
12456 Register quarks for message names.
12458 2005-09-28 Stefan Kost <ensonic@users.sf.net>
12460 * docs/libs/gstreamer-libs-sections.txt:
12461 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
12462 (gst_controller_new_list):
12463 * libs/gst/controller/gstcontroller.h:
12464 added another constructor for language bindings
12466 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
12468 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
12472 * gst/gstinfo.c: (_gst_debug_init):
12473 slightly more readable color for refcount debugging
12475 2005-09-28 Wim Taymans <wim@fluendo.com>
12477 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
12478 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
12479 (find_element), (gst_bin_sort_iterator_next),
12480 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12481 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12482 (gst_bin_change_state), (gst_bin_dispose):
12483 Small doc fixes. get_clock -> provide_clock.
12485 * gst/gstelement.c: (gst_element_class_init),
12486 (gst_element_provides_clock), (gst_element_provide_clock),
12487 (gst_element_get_clock), (gst_element_commit_state),
12488 (gst_element_lost_state):
12489 * gst/gstelement.h:
12490 Make get/set_clock() symetric. Add provide_clock vmethod since
12491 that is actually what this function does.
12493 * gst/gstpipeline.c: (gst_pipeline_class_init),
12494 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
12495 (gst_pipeline_get_clock):
12496 get_clock -> provide_clock.
12498 2005-09-28 Andy Wingo <wingo@pobox.com>
12500 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
12501 lieu of real docs...
12503 * gst/elements/gstfdsrc.c: Cleaned up a bit.
12505 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
12507 * gst/elements/gstcapsfilter.c:
12508 * gst/elements/gstfakesink.c:
12509 * gst/elements/gstfakesrc.c:
12510 * gst/elements/gstfdsink.c:
12511 * gst/elements/gstfdsrc.c:
12512 * gst/elements/gstfilesink.c:
12513 * gst/elements/gstfilesrc.c:
12514 * gst/elements/gstidentity.c:
12515 * gst/elements/gsttee.c:
12516 * gst/elements/gsttypefindelement.c:
12517 Make element details static.
12519 2005-09-28 Wim Taymans <wim@fluendo.com>
12521 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12522 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12523 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12524 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12525 (gst_bin_change_state), (gst_bin_dispose):
12526 Some documentation updates.
12527 Clean up dispose handlers.
12529 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
12530 * gst/gstpad.c: (gst_pad_dispose):
12531 Clean up dispose handler.
12533 * gst/gstpipeline.c: (gst_pipeline_change_state):
12534 Removed spurious UNLOCK.
12536 2005-09-27 Stefan Kost <ensonic@users.sf.net>
12538 * docs/gst/gstreamer-sections.txt:
12539 * gst/base/gstbasesrc.h:
12540 * gst/gstelement.h:
12544 * gst/gstpipeline.c:
12545 * gst/gstpipeline.h:
12548 added two new functions to the docs
12549 documents all undocumented GstXXXFlags
12550 completed some incomplete docs
12552 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
12554 * gst/gstbin.c: (gst_bin_dispose):
12555 * gst/gstelement.c: (gst_element_dispose):
12556 remove now useless and leaky resurrection code in dispose
12557 * gst/base/gstbasesrc.c: (gst_base_src_init):
12558 * gst/gstelementfactory.c: (gst_element_factory_create):
12559 * gst/gstobject.c: (gst_object_set_parent):
12562 2005-09-27 Wim Taymans <wim@fluendo.com>
12564 * docs/design/part-TODO.txt:
12567 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12568 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12569 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12570 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12571 (gst_bin_change_state):
12572 * gst/gstelement.h:
12573 Remove element variable, we keep element info in the iterator now.
12575 2005-09-27 Andy Wingo <wingo@pobox.com>
12577 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
12580 2005-09-27 Wim Taymans <wim@fluendo.com>
12582 * check/gst/gstbin.c: (GST_START_TEST):
12583 Enable check that works now.
12585 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
12586 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
12587 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
12588 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
12589 (gst_bin_change_state):
12591 Redid the state change algorithm using a topological sort algo.
12592 Handles all cases correctly.
12593 Exposed iterator for state change order.
12595 * gst/gstelement.h:
12596 Temp storage for state changes. Need to get rid of this soon.
12598 2005-09-27 Wim Taymans <wim@fluendo.com>
12600 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
12601 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
12602 (link_fold_func), (gst_pad_proxy_setcaps):
12603 Leak fixes, the fold functions need to unref the passed object and
12604 _get_parent_*() returns ref to parent.
12606 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12608 * check/gst/gstbuffer.c: (test_make_writable):
12609 Plug leak in test case and fix 'make check-valgrind'
12611 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12613 * gst/gstbuffer.c: (gst_subbuffer_init):
12614 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
12615 works correctly in all circumstances (we could have just copied
12616 the parent buffer's readonly flag, but conceptually it seems
12617 cleaner to mark all subbuffers as read-only). (based on patch
12618 by Alessandro Decina, #314710).
12620 * check/gst/gstbuffer.c: (create_read_only_buffer),
12621 (test_make_writable), (test_subbuffer_make_writable),
12623 Add some tests for gst_buffer_make_writable().
12625 2005-09-27 Wim Taymans <wim@fluendo.com>
12627 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
12628 use gst_object_has_ancestor().
12630 * gst/gstobject.c: (gst_object_has_ancestor):
12632 gst_object_has_ancestor() copied from gstbin.c as it is a
12635 * tests/instantiate/create.c: (create_all_elements):
12636 * tests/lat.c: (handoff_src), (handoff_sink):
12637 * tests/sched/runxml.c: (main):
12638 * tests/seeking/seeking1.c: (main):
12639 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
12641 Fix compilation of some tests.
12643 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
12646 Remove comment. GST_TYPE_G_ERROR is here to stay,
12647 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
12648 (#316961, #300610).
12650 2005-09-26 Wim Taymans <wim@fluendo.com>
12652 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
12653 Added check that shows error in state change order.
12655 2005-09-26 Wim Taymans <wim@fluendo.com>
12657 * gst/gstbin.c: (gst_bin_change_state):
12658 Make state change function use 3 queues again, we were
12659 adding elements in the wrong order.
12661 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
12664 * gst/gstpad.c: (gst_pad_dispose):
12665 Added some debug info first.
12667 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
12669 * docs/design/draft-push-pull.txt:
12670 * docs/design/part-events.txt:
12671 * docs/design/part-overview.txt:
12672 * docs/design/part-scheduling.txt:
12673 Replace all _pull_region() with _pull_range()
12675 2005-09-26 Andy Wingo <wingo@pobox.com>
12677 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
12679 * check/gst-libs/controller.c: Update for controller api change.
12682 * tests/Makefile.am:
12683 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
12684 over by GLib bug 118439.
12686 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
12687 routines to a function.
12689 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
12691 * libs/gst/controller/gsthelper.c:
12692 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
12693 (gst_object_sync_values): Renamed from sink_values. Ugh.
12695 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
12697 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
12698 Renamed from controller_key, as it is exported.
12700 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
12702 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
12707 * gst/gstpadtemplate.h:
12710 * gst/gstqueryutils.c:
12711 * gst/gstqueryutils.h:
12712 remove queryutils headers after moving the two used functions
12713 to gstquery. also fixes build problem for gstsiddec
12715 2005-09-26 Michael Smith <msmith@fluendo.com>
12717 * tools/gst-launch.1.in:
12718 Correct documentation in manpage of debug syntax
12720 2005-09-26 Wim Taymans <wim@fluendo.com>
12722 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
12723 (gst_base_src_is_seekable), (gst_base_src_change_state):
12724 Some more debugging info.
12726 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12728 * docs/gst/gstreamer-sections.txt:
12729 * gst/base/gstbasetransform.h:
12733 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12735 * docs/gst/.cvsignore:
12736 * docs/gst/tmpl/.cvsignore:
12737 * docs/gst/tmpl/gstpipeline.sgml:
12738 * docs/gst/tmpl/gstplugin.sgml:
12739 * gst/gstpipeline.c:
12742 inlined the last two docs files
12743 removed the tmpl directory from cvs (no more conflicts here!)
12745 2005-09-25 Stefan Kost <ensonic@users.sf.net>
12747 * docs/gst/gstreamer-sections.txt:
12748 * docs/gst/tmpl/.cvsignore:
12749 * docs/gst/tmpl/gstpad.sgml:
12750 * docs/gst/tmpl/gstpadtemplate.sgml:
12752 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
12753 (gst_pad_finalize), (gst_pad_set_pad_template):
12755 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12756 (gst_pad_template_class_init), (gst_pad_template_init),
12757 (gst_pad_template_dispose), (name_is_valid),
12758 (gst_static_pad_template_get), (gst_pad_template_new),
12759 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
12760 (gst_pad_template_pad_created):
12761 * gst/gstpadtemplate.h:
12762 inlined two more docs
12763 factored gstpadtemplate out of gstpad
12765 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
12767 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12768 (test_children_state_change_order_semi_sink):
12769 Fix test case: we can't rely on a fixed state change order when
12770 going from READY => PAUSED because the sink might commit its
12771 new state first when the first buffer created by the source
12772 reaches the sink before the source has finished its change state.
12773 (Test case still fails at times, see #316856, comment 5 onwards)
12775 2005-09-24 Wim Taymans <wim@fluendo.com>
12777 * docs/design/part-events.txt:
12778 * docs/design/part-gstbus.txt:
12779 * docs/design/part-gstpipeline.txt:
12780 * docs/design/part-messages.txt:
12781 * docs/design/part-overview.txt:
12782 * docs/design/part-segments.txt:
12786 * gst/gstelement.c:
12789 * gst/gstiterator.c:
12790 Various documentation updates.
12792 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
12795 Well, that's embarassing. Luckily we weren't using
12796 GST_CLOCK_DIFF anywhere.
12798 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12800 * common/gtk-doc.mak:
12801 don't fail on building XML, FC4 slave shows a bunch of doc
12802 missing bits that I don't get
12804 * gst/gstpipeline.c:
12805 * gst/gststructure.c:
12808 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
12810 * docs/design/part-gstbin.txt:
12811 * docs/design/part-gstbus.txt:
12813 Add blurb about how the bus goes into flushing mode and
12814 drops all messages when its bin goes from READY into NULL
12817 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12819 * docs/gst/gstreamer-sections.txt:
12820 * gst/gststructure.c: (gst_structure_get_clock_time):
12821 * gst/gststructure.h:
12822 add a method to get a GstClockTime out of a structure
12824 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
12826 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
12827 (test_children_state_change_order_semi_sink), (gst_bin_suite):
12828 Added test to check state change order in bins (can still be made
12829 to fail here under heavy disk load; bails out with 'Push on pad
12830 fakesink:sink0, but it was not activated in push mode').
12832 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
12833 Fix state change order when there is only a semi sink (#316856)
12835 * gst/gstbus.c: (gst_bus_class_init):
12836 Use _class_peek_parent(), not _class_ref(); fix docs to say
12837 'default main context' instead of 'mainloop' where that is
12840 * gst/gstelement.c: (gst_element_commit_state),
12841 (gst_element_set_state):
12842 Fix typos in debug messages
12844 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12847 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
12848 * gst/gstpluginfeature.c:
12850 various doc updates
12851 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12852 change an assert into an error until it gets fixed properly
12854 2005-09-23 Stefan Kost <ensonic@users.sf.net>
12856 * docs/gst/gstreamer-sections.txt:
12857 * docs/gst/tmpl/.cvsignore:
12858 * docs/gst/tmpl/gstelement.sgml:
12859 * docs/gst/tmpl/gstinfo.sgml:
12860 * docs/gst/tmpl/gstobject.sgml:
12861 * gst/gstelement.c:
12862 * gst/gstelement.h:
12865 * gst/gstobject.c: (gst_object_class_init):
12867 inlined 3 more biiiig doc files and added some missing docs on the fly
12869 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
12871 * check/gst/.cvsignore:
12872 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
12873 * gst/gstregistryxml.c: (load_plugin),
12874 (gst_registry_xml_save_plugin):
12875 put back source in registry. add checks for find_plugin.
12876 * testsuite/states/bin.c: (assert_state), (empty_bin),
12877 (test_adding_one_element), (main):
12878 * testsuite/states/locked.c: (main):
12879 some compile/run fixes
12881 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
12883 * check/gst/gstvalue.c: (GST_START_TEST):
12884 fix leaks in the test itself
12886 2005-09-22 Wim Taymans <wim@fluendo.com>
12888 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
12889 (gst_base_sink_send_event), (gst_base_sink_peer_query),
12890 (gst_base_sink_query):
12891 Prepare for more accurate position reporting and query
12894 * gst/gstelement.c: (gst_element_send_event),
12895 (gst_element_set_state):
12898 2005-09-22 Wim Taymans <wim@fluendo.com>
12900 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
12901 (gst_query_parse_segment):
12903 More documentation.
12904 Add segment query for future use.
12906 2005-09-22 Wim Taymans <wim@fluendo.com>
12908 * gst/gstbin.c: (gst_bin_add_func):
12909 Some more debug info.
12911 * gst/gstelement.c: (gst_element_send_event):
12912 Simplify send_event
12914 * gst/gstelement.h:
12915 Don't know how flags got broken.
12920 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
12922 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
12923 Add simplistic test suite for GST_TYPE_DATE serialisation and
12926 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
12928 * docs/gst/gstreamer-sections.txt:
12929 * gst/gststructure.c: (gst_structure_set_valist),
12930 (gst_structure_get_date):
12931 * gst/gststructure.h:
12932 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
12933 (gst_date_copy), (gst_value_compare_date),
12934 (gst_value_serialize_date), (gst_value_deserialize_date),
12935 (gst_value_transform_date_string),
12936 (gst_value_transform_string_date), (_gst_value_initialize):
12938 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
12939 bunch of utility functions along with a hack that checks that
12940 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
12941 is required. Part of the grand scheme in #170777.
12943 2005-09-22 Andy Wingo <wingo@pobox.com>
12945 * gst/gstconfig.h.in: Psych out gtk-doc.
12947 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
12949 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
12951 * tools/gst-inspect.c (print_element_list): Plug some
12952 inconsequential leaks.
12954 * gst/gstregistry.c (gst_registry_get_default): Doc.
12956 * check/gst/gstplugin.c:
12957 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
12958 * gst/gstelementfactory.c (gst_element_factory_create):
12959 * gst/gstindexfactory.c (gst_index_factory_create): Update for
12962 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
12963 (gst_plugin_feature_load): Doc, don't eat refs.
12965 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
12966 (gst_plugin_list_free): Doc.
12967 (gst_plugin_load_file): Doc updates.
12969 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
12970 accessors returning refcounted objects, return a ref.
12972 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
12973 accessor for caps. IDEMPOTENCE. Oh yes.
12975 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
12977 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12979 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
12980 (_gst_debug_register_funcptr):
12981 Add mutex to serialise access to the hash table with
12982 the function pointer => function name string mapping;
12983 make that hash table static scope (#316809).
12985 * gst/registries/.cvsignore:
12986 Remove left-over file.
12988 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
12990 * docs/pwg/appendix-porting.xml:
12991 And something about newsegment events and caps-on-buffers to
12992 the porting guide (feel free to improve).
12994 2005-09-21 Andy Wingo <wingo@pobox.com>
12996 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
12997 data and event probes on the same pad.
12998 (test_buffer_probe_once): Test that removing probes from within
12999 the probe functions works.
13001 2005-09-21 Andy Wingo <wingo@pobox.com>
13003 * check/gst/gstutils.c: New file.
13004 (test_buffer_probe_n_times): A simple buffer probe test. More to
13007 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
13008 have-data::buffer, not have-data.
13009 (gst_pad_add_event_probe): Likewise for have-data::event.
13010 (gst_pad_add_data_probe): More docs. The part about 'resolving the
13011 peer' isn't quite right yet though.
13012 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
13013 (gst_pad_remove_data_probe): Change to take the guint handler_id
13014 as their arg, not the function+data, which is more glib-like.
13016 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
13017 the signal emission to indicate if the data is a buffer or an
13019 (gst_pad_get_type): Initialize buffer and event quarks.
13020 (gst_pad_class_init): have-data is now a detailed signal, yes it
13023 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
13025 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
13026 * gst/gstutils.c: (gst_util_set_value_from_string),
13027 (gst_util_set_object_arg):
13028 Don't put functional code in g_return_if_fail() or
13029 g_return_val_if_fail() statements, otherwise things will
13030 break when G_DISABLE_CHECKS is defined during compilation.
13032 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13034 * docs/gst/tmpl/.cvsignore:
13035 * docs/gst/tmpl/gstvalue.sgml:
13038 inlied another one and added some obvious docs
13040 2005-09-21 Wim Taymans <wim@fluendo.com>
13042 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
13043 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
13044 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
13045 (gst_fdsrc_get_property), (gst_fdsrc_create):
13046 * gst/elements/gstfdsrc.h:
13047 Properly implement fdsrc. Removed signal and timeout,
13048 better implemented somewhere else.
13050 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13052 * docs/gst/tmpl/.cvsignore:
13053 * docs/gst/tmpl/gstimplementsinterface.sgml:
13054 * gst/gstinterface.c:
13057 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13059 * docs/gst/gstreamer-sections.txt:
13060 * docs/gst/tmpl/.cvsignore:
13061 * docs/gst/tmpl/gstenumtypes.sgml:
13062 remove obsolete doc file
13064 2005-09-21 David Schleef <ds@schleef.org>
13066 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
13067 little beer, fix a little leak.
13069 2005-09-21 Stefan Kost <ensonic@users.sf.net>
13071 * docs/gst/gstreamer-docs.sgml:
13072 * docs/gst/gstreamer-sections.txt:
13073 * docs/gst/tmpl/.cvsignore:
13077 * gst/gstelement.h:
13078 * gst/gstindex.c: (gst_index_class_init):
13080 * gst/gstindexfactory.c: (gst_index_factory_get_type),
13081 (gst_index_factory_class_init), (gst_index_factory_init),
13082 (gst_index_factory_finalize), (gst_index_factory_new),
13083 (gst_index_factory_destroy), (gst_index_factory_find),
13084 (gst_index_factory_create), (gst_index_factory_make):
13085 * gst/gstindexfactory.h:
13086 * gst/gstpluginfeature.c:
13087 * gst/gstpluginfeature.h:
13088 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13089 more docs inlined, splitted gstindex.{c,h}
13091 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13093 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13096 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
13098 * gst/elements/gstfilesink.c: (gst_file_sink_init):
13099 Set sync to FALSE by default.
13101 2005-09-20 Wim Taymans <wim@fluendo.com>
13103 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13104 (gst_base_sink_init):
13105 Make sync property settable from subclass.
13107 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13108 (gst_fake_sink_change_state):
13109 Set sync to FALSE by default.
13111 2005-09-20 Wim Taymans <wim@fluendo.com>
13113 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
13114 * tools/gst-launch.c: (main):
13115 The timeout handler should have lower priority than the source
13116 so we don't timeout before popping a message with 0 timeout.
13117 Dump error messages after failed state change.
13119 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
13121 * tools/gst-inspect.c: (print_element_properties_info):
13124 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13126 * check/gst/gstevent.c:
13127 * gst/elements/gstfakesink.c:
13128 * gst/elements/gstfakesink.h:
13129 remove the sync property from fakesink.
13130 has the side effect of setting sync TRUE
13131 for fakesink, which is a change. Anyone who knows how
13132 to fix this nicely in a GObject-y way, feel free.
13134 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13136 * docs/gst/gstreamer-docs.sgml:
13137 remove probe refsection
13139 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13141 * check/Makefile.am:
13142 disable valgrinding the controller test again
13143 * docs/gst/gstreamer-sections.txt:
13144 update for api-changes
13146 2005-09-20 Wim Taymans <wim@fluendo.com>
13148 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
13149 (gst_base_sink_set_property), (gst_base_sink_get_property),
13150 (gst_base_sink_do_sync):
13151 * gst/base/gstbasesink.h:
13152 Added sync property to basesink to disable clock sync.
13154 2005-09-20 Andy Wingo <wingo@pobox.com>
13156 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
13157 eating the caller's refcount.
13159 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
13160 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
13163 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
13164 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
13165 of GLib 2.8 public, so we can know which refcount to check in
13168 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
13169 (gst_object_init): Only set the gst refcount if we're going ahead
13170 with the refcount hack.
13172 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13174 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
13175 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
13176 more leaks plumbed, added more debug-logging
13180 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13182 * gst/gstmessage.c:
13183 remove include of gstmemchunk.h
13185 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13187 * gst/gstclock.c: (_gst_clock_id_free):
13188 Commit from the Political Party For More Atomic CVS Commits,
13189 so that people don't waste too much of their day fishing
13190 out obvious leaks out of massive commits.
13191 Oh, and fix a pretty damn obvious leak in the memchunk
13194 2005-09-20 Stefan Kost <ensonic@users.sf.net>
13196 * check/Makefile.am:
13197 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
13198 plug mem-leak, re-add to valgrindable tests
13200 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
13203 unbreak the build for those who have chronic arthritis
13204 and typing "make check" is just too taxing on the hands
13206 2005-09-20 Andy Wingo <wingo@pobox.com>
13208 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
13209 really want it out, you should fix plugins at the same time.
13211 2005-09-19 Stefan Kost <ensonic@users.sf.net>
13214 * docs/gst/gstreamer-sections.txt:
13216 added missing symbols to api docs
13217 disable ref-count hack if we have glib >= 2.8
13219 2005-09-19 David Schleef <ds@schleef.org>
13221 * docs/gst/Makefile.am: Ignore a few more internal headers
13222 * docs/gst/gstreamer-docs.sgml: Remove old sections
13223 * docs/gst/gstreamer-sections.txt: Remove old sections
13224 * docs/gst/tmpl/gstobject.sgml: update
13225 * docs/gst/tmpl/gstplugin.sgml: update
13226 * docs/gst/tmpl/gstpluginfeature.sgml: update
13227 * docs/random/ds/0.9-suggested-changes: update.
13228 * gst/Makefile.am: remove memchunk and trashstack, since they're
13230 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
13231 * gst/gst.h: don't include some headers
13232 * gst/gstchildproxy.c: add gstmarshal.h
13233 * gst/gstclock.c: Don't use memchunks
13234 * gst/gstminiobject.c: Add some docs
13235 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
13236 * gst/gstobject.h: same
13237 * gst/gstplugin.c: include gstmacros.h
13238 * gst/gstplugin.h: don't include gstmacros.h, since it's private
13239 * gst/gstquery.c: don't use memchunks
13240 * gst/gstregistry.c: rename gst_registry_deinit()
13241 * gst/gstregistry.h: same
13243 2005-09-19 David Schleef <ds@schleef.org>
13245 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
13246 * docs/libs/gstreamer-libs-sections.txt:
13247 * docs/libs/tmpl/gstgetbits.sgml:
13248 * docs/libs/tmpl/gstputbits.sgml:
13250 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
13252 * win32/gstenumtypes.c:
13253 * win32/gstenumtypes.h:
13256 2005-09-19 Wim Taymans <wim@fluendo.com>
13258 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
13259 Automatically PAUSE and RESUME a pipeline when a flushing seek
13262 2005-09-19 Andy Wingo <wingo@pobox.com>
13264 * gst/gstregistry.h: Spacing fixen.
13266 2005-09-19 Wim Taymans <wim@fluendo.com>
13268 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
13269 Handle state change failure more correctly.
13271 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
13273 * check/Makefile.am:
13274 * check/pipelines/cleanup.c: (run_pipeline):
13275 * check/pipelines/simple_launch_lines.c: (run_pipeline),
13277 enable cleanup again after fixing the leak
13279 some more info on docs
13281 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
13283 * check/Makefile.am:
13284 re-enable tests now that leaks are plugged
13286 * check/gst/gstbin.c:
13287 * check/gst/gstpipeline.c:
13288 add some more tests while fixing leaks
13289 * common/check.mak:
13290 make sure binaries are uptodate when valgrinding/gdbing
13292 * gst/gstelementfactory.c:
13293 remove a ref too many, and add a FIXME for when we get
13294 round to disposing of classes
13296 fix the refcounting when loading a plugin from a file and
13297 the code pretends that the pointer is the same even though
13298 of course it can change
13299 * gst/gstpluginfeature.c:
13300 unref plugins marked cached (a bit confusing as a name)
13301 as the docs state should be done
13302 various doc additions to explain refcounting
13303 * gst/gstregistry.c:
13304 * gst/gstregistryxml.c:
13307 2005-09-19 Wim Taymans <wim@fluendo.com>
13309 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
13310 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
13311 (send_messages), (GST_START_TEST), (gstbus_suite):
13312 * check/gst/gstpipeline.c: (GST_START_TEST):
13313 * check/pipelines/cleanup.c: (run_pipeline):
13314 * check/pipelines/simple_launch_lines.c: (run_pipeline),
13316 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
13317 (gst_bus_source_check), (gst_bus_source_dispatch),
13318 (gst_bus_create_watch), (gst_bus_add_watch_full),
13319 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
13321 * tools/gst-launch.c: (event_loop):
13322 * tools/gst-md5sum.c: (event_loop):
13323 GstBusHandler -> GstBusFunc, return value has the same meaning as
13324 any other GSource (FALSE == remove source).
13325 _add_watch() and _add_watch_full() now take a MessageType mask to
13326 only handle specific types of messages.
13327 _poll() returns the GstMessage instead of the message type to avoid
13329 _have_pending() takes a MessageType mask now too.
13330 Added testsuite for multiple bus watches.
13331 Fix testsuites and applications for new bus API.
13333 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
13335 * check/Makefile.am:
13336 mark a bunch of the tests as to fix until we fix them
13338 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13340 * common/check.mak:
13341 use GST_PLUGIN settings for valgrind tests as well, so we're
13342 valgrinding the correct thing
13343 * gst/gst.c: (init_post):
13346 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13348 * gst/gst.c: (init_post), (gst_deinit):
13349 * gst/gstelementfactory.c: (gst_element_factory_class_init),
13350 (gst_element_factory_finalize), (gst_element_factory_cleanup):
13351 * gst/gstindex.c: (gst_index_factory_class_init),
13352 (gst_index_factory_finalize):
13353 * gst/gstobject.c: (gst_object_dispose):
13354 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13355 (gst_plugin_load_file), (gst_plugin_desc_free):
13356 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
13357 (gst_plugin_feature_finalize):
13358 * gst/gstregistry.c: (gst_registry_class_init),
13359 (gst_registry_init), (gst_registry_finalize),
13360 (gst_registry_get_default), (gst_registry_deinit):
13361 * gst/gstregistry.h:
13362 * gst/gstregistryxml.c: (load_feature), (load_plugin):
13363 various cleanups and memleak plugging. make valgrind is happy now.
13365 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
13367 * common/check.mak:
13368 add a check-valgrind target
13370 2005-09-18 David Schleef <ds@schleef.org>
13372 * tools/gst-inspect.c: Revert the GOption code.
13374 2005-09-17 David Schleef <ds@schleef.org>
13376 * check/Makefile.am: Fix environment variables.
13377 * check/gst/gstplugin.c: Fix for API changes.
13378 * tools/gst-inspect.c: Fix for API changes.
13379 * tools/gst-xmlinspect.c: Fix for API changes.
13380 * gst/gstelementfactory.c:
13383 * gst/gstpluginfeature.c:
13384 * gst/gstpluginfeature.h:
13385 * gst/gstregistry.c:
13386 * gst/gstregistry.h:
13387 * gst/gstregistryxml.c:
13388 * gst/gsttypefind.c:
13389 * gst/gsttypefindfactory.c:
13390 * gst/indexers/gstfileindex.c:
13391 * gst/indexers/gstmemindex.c:
13392 * gst/schedulers/Makefile.am:
13393 Change registry to keep track of both plugins and features,
13394 removing the feature tracking from plugins themselves.
13396 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
13398 * check/Makefile.am:
13399 * tools/gst-register.1.in:
13400 remove gst-register
13402 2005-09-15 David Schleef <ds@schleef.org>
13404 * check/gst/gstplugin.c:
13405 * gst/gstelementfactory.c:
13407 * gst/gstpluginfeature.c:
13408 * gst/gstregistry.c:
13409 Getting tired of debugging. Disabled all the unreffing of
13410 plugins and features, which fixes the segfaults, but of
13411 course leaks like crazy. At least playbin works.
13413 2005-09-15 David Schleef <ds@schleef.org>
13415 * check/gst/gstplugin.c: (register_check_elements),
13416 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
13418 * gst/elements/gsttypefindelement.c: Fix refcounting.
13419 * gst/gsttypefind.c:
13420 * gst/gsttypefindfactory.c:
13421 * gst/gsttypefindfactory.h:
13423 2005-09-15 David Schleef <ds@schleef.org>
13425 * gst/gstindex.c: get refcounting correct.
13426 * gst/gstregistry.c: Handle the case where a feature/plugin is
13429 2005-09-15 David Schleef <ds@schleef.org>
13431 * check/Makefile.am:
13432 * check/gst/gstplugin.c: Add test
13433 * gst/gstplugin.c: Fix problems noticed by testsuite
13435 * gst/gstregistry.c:
13436 * gst/gstregistry.h:
13438 2005-09-15 David Schleef <ds@schleef.org>
13440 * gst/gstplugin.c: Implement semi-decent recounting and locking
13441 in plugins and plugin features.
13443 * gst/gstpluginfeature.c:
13444 * gst/gstpluginfeature.h:
13445 * gst/gstregistry.c:
13447 2005-09-15 Michael Smith <msmith@fluendo.com>
13449 * gst/gstregistry.c: (gst_registry_get_feature_list):
13450 Implement this. Makes oggdemux work; decodebin still broken.
13452 2005-09-14 David Schleef <ds@schleef.org>
13454 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
13456 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
13457 * gst/check/Makefile.am:
13458 * libs/gst/controller/Makefile.am:
13459 * libs/gst/dataprotocol/Makefile.am:
13461 2005-09-14 David Schleef <ds@schleef.org>
13463 * configure.ac: Remove getbits library. Nothing uses it, and
13464 it should be in something like liboil if someone did want
13466 * libs/gst/Makefile.am:
13467 * libs/gst/getbits/Makefile.am:
13468 * libs/gst/getbits/gbtest.c:
13469 * libs/gst/getbits/getbits.c:
13470 * libs/gst/getbits/getbits.h:
13471 * libs/gst/getbits/gstgetbits_generic.c:
13472 * libs/gst/getbits/gstgetbits_i386.s:
13473 * libs/gst/getbits/gstgetbits_inl.h:
13475 2005-09-14 David Schleef <ds@schleef.org>
13477 * gst/Makefile.am: Dist glib-compat.h
13479 2005-09-14 David Schleef <ds@schleef.org>
13481 * configure.ac: Remove gst/registries, since it's no longer used.
13482 * gst/registries/Makefile.am:
13483 * gst/registries/gstlibxmlregistry.c:
13484 * gst/registries/gstlibxmlregistry.h:
13485 * gst/registries/gstxmlregistry.c:
13486 * gst/registries/gstxmlregistry.h:
13487 * gst/registries/registrytest.c:
13489 2005-09-14 David Schleef <ds@schleef.org>
13491 * gst/glib-compat.h:
13492 * gst/gstregistryxml.c:
13493 Convergence is near. Seriously.
13495 2005-09-14 David Schleef <ds@schleef.org>
13497 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13498 * gst/glib-compat.h:
13499 Attempt #4 to appease the buildbots.
13501 2005-09-14 David Schleef <ds@schleef.org>
13503 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13506 2005-09-14 David Schleef <ds@schleef.org>
13508 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13511 2005-09-14 David Schleef <ds@schleef.org>
13513 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
13516 2005-09-14 David Schleef <ds@schleef.org>
13518 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
13519 * gst/glib-compat.h: Add some functions that are in newer versions
13520 of glib than we care to require.
13521 * gst/gstregistryxml.c: Use them.
13523 2005-09-14 David Schleef <ds@schleef.org>
13525 * po/POTFILES.in: remove gst-register.c
13527 2005-09-14 David Schleef <ds@schleef.org>
13529 * docs/gst/gstreamer-docs.sgml:
13530 * docs/gst/gstreamer-sections.txt:
13531 * docs/gst/gstreamer.types:
13532 * docs/gst/tmpl/gstelement.sgml:
13533 * docs/gst/tmpl/gstplugin.sgml:
13534 * docs/gst/tmpl/gstpluginfeature.sgml:
13535 Documentation updates for registry changes.
13537 2005-09-14 David Schleef <ds@schleef.org>
13539 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
13540 because we don't require glib-2.8.
13542 2005-09-14 David Schleef <ds@schleef.org>
13544 * gst/gstregistryxml.c: Added. Essentially moved out of the
13545 registries directory.
13547 2005-09-14 David Schleef <ds@schleef.org>
13549 * check/Makefile.am:
13550 * check/generic/states.c:
13554 * gst/gst_private.h:
13555 * gst/gstelementfactory.c:
13560 * gst/gstpluginfeature.c:
13561 * gst/gstpluginfeature.h:
13562 * gst/gstregistry.c:
13563 * gst/gstregistry.h:
13564 * gst/gstregistrypool.c: remove
13565 * gst/gstregistrypool.h: remove
13566 * gst/gsttypefind.c:
13567 * gst/gsttypefindfactory.c:
13569 * tools/Makefile.am:
13570 * tools/gst-compprep.c:
13571 * tools/gst-inspect.c:
13572 * tools/gst-register.c: remove
13573 * tools/gst-xmlinspect.c:
13574 Registry rewrite. Changes registry from being a file created
13575 by a tool into a simple cache file created automatically by
13576 libgstreamer. Removed gst-register (because it's no longer
13577 needed). Remove registry pools, because we only have one
13578 registry implementation (XML). Fix up other subsystems as
13581 2005-09-13 Michael Smith <msmith@fluendo.com>
13583 * gst/gstconfig.h.in:
13584 Don't Use windows linking attributes for MinGW. Fixes #316157
13586 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
13588 * gst/gstutils.c: (set_state_async_thread_func),
13589 (gst_element_set_state_async):
13590 Apparently people think it's better if this function doesn't
13591 try to set the state to whatever state was asked for on the first
13592 call to this function for any object. Seriously.
13594 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13596 * check/gst/gstpipeline.c: (GST_START_TEST):
13597 * docs/gst/gstreamer-sections.txt:
13598 * gst/gstutils.c: (set_state_async_thread_func),
13599 (gst_element_set_state_async):
13601 add a "gst_element_set_state_async" method that
13602 sets the state and starts a thread to make sure the state
13603 change completes as best as it can
13605 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13607 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
13608 codify design+behaviour in testsuite after discussion
13610 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
13612 * docs/gst/tmpl/gstelement.sgml:
13613 * docs/manual/appendix-quotes.xml:
13615 * gst/gstelement.c: (gst_element_set_state):
13618 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
13620 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13621 (gst_base_transform_prepare_output_buf),
13622 (gst_base_transform_handle_buffer):
13623 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
13624 (gst_capsfilter_prepare_buf):
13625 Remove the requirement for sub-classes to call the parent
13626 implementation of prepare_output_buffer with a wrapper function.
13628 * gst/gsttaglist.h:
13629 * gst/gsttagsetter.h:
13630 Fix #define wrapper
13632 2005-09-11 Stefan Kost <ensonic@users.sf.net>
13634 * docs/gst/gstreamer-sections.txt:
13637 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13639 * docs/gst/gstreamer-sections.txt:
13640 * docs/gst/tmpl/gstelement.sgml:
13641 * docs/gst/tmpl/gstplugin.sgml:
13642 * gst/gstminiobject.c:
13644 docs now stop throwing warnings
13646 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13648 * docs/gst/gstreamer-sections.txt:
13649 * docs/gst/gstreamer.types:
13650 * docs/gst/tmpl/gstpad.sgml:
13651 * docs/gst/tmpl/gsttypes.sgml:
13652 * gst/base/gstadapter.h:
13653 * gst/base/gstbasesink.h:
13654 * gst/base/gstbasesrc.h:
13660 * gst/gstelement.h:
13662 * gst/gstmessage.h:
13664 * gst/gststructure.c:
13665 * gst/registries/gstlibxmlregistry.h:
13666 various documentation fixes
13668 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
13670 * docs/gst/gstreamer-sections.txt:
13671 * docs/gst/tmpl/gstvalue.sgml:
13672 rearrange gstvalue section
13673 * gst/gstutils.c: (gst_element_state_get_name):
13675 * gst/gstvalue.c: (_gst_value_initialize):
13679 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
13681 * check/gst-libs/controller.c:
13682 Header include fix.
13683 * gst/base/gstbasetransform.c:
13684 (gst_base_transform_default_prepare_buf),
13685 (gst_base_transform_handle_buffer):
13686 * gst/base/gstbasetransform.h:
13687 Some more basetransform changes and fixes to enable sub-classes
13688 that modify buffer metadata only.
13689 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
13690 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
13691 (gst_capsfilter_prepare_buf):
13692 If the output pad has fixed allowed caps and input buffers
13693 don't have any, set the fixed caps on outgoing buffers.
13695 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
13696 * check/elements/identity.c: (GST_START_TEST):
13697 Make the error a little clearer when the test fails because
13698 identity made a copy of the buffer.
13699 * docs/gst/gstreamer-sections.txt:
13700 New symbols in gstbasetransform.h
13701 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
13702 (gst_base_transform_init), (gst_base_transform_transform_size),
13703 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13704 (gst_base_transform_default_prepare_buf),
13705 (gst_base_transform_get_unit_size),
13706 (gst_base_transform_buffer_alloc),
13707 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
13708 (gst_base_transform_change_state),
13709 (gst_base_transform_set_passthrough),
13710 (gst_base_transform_set_in_place),
13711 (gst_base_transform_is_in_place):
13712 * gst/base/gstbasetransform.h:
13713 Change BaseTransform to separate in_place operate from same_caps
13714 output. in_place implies that the element can perform the transform
13715 on incoming buffers in-place, even if the caps on the output are
13717 Sub-class elements can now implement special buffer allocation
13718 methods for outgoing buffers if they wish to.
13719 Big documentation addition.
13720 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
13721 * gst/elements/gstelements.c:
13722 Changes for basetransform modifications.
13723 * gst/elements/Makefile.am:
13724 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
13725 Compile fix. Extra debug output.
13727 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13729 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
13731 add tests for valid pad naming
13732 * gst/check/gstcheck.c: (gst_check_log_message_func),
13733 (gst_check_log_critical_func):
13735 remove printing of code, it is fragile when the code contains
13736 % and the line number is enough info
13737 * gst/check/gstcheck.h:
13738 * gst/gstpad.c: (gst_pad_template_new):
13741 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13744 say what CHECK flags we use
13745 * docs/libs/gstreamer-libs.types:
13746 * libs/gst/controller/Makefile.am:
13747 * libs/gst/controller/gst-controller.c:
13748 * libs/gst/controller/gst-controller.h:
13749 * libs/gst/controller/gst-helper.c:
13750 * libs/gst/controller/gst-interpolation.c:
13751 * libs/gst/controller/gstcontroller.c:
13752 * libs/gst/controller/gsthelper.c:
13753 * libs/gst/controller/gstinterpolation.c:
13754 * tools/gst-inspect.c: (print_plugin_info):
13755 we don't use dashes in header names
13757 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
13759 * check/Makefile.am:
13760 * check/gst/.cvsignore:
13761 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
13762 (gst_pipeline_suite), (main):
13763 adding a test for pipelines and state changes
13764 * gst/gstutils.c: (get_state_func):
13766 * gstreamer.spec.in:
13769 2005-09-08 Michael Smith <msmith@fluendo.com>
13771 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
13772 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
13773 (gst_file_src_is_seekable), (gst_file_src_get_size),
13774 (gst_file_src_start):
13775 * gst/elements/gstfilesrc.h:
13776 Various fixes for unseekable, unmmapable, and non-normal files, so
13777 that fallback to read() rather than mmap() works.
13778 * gst/gstevent.c: (gst_event_new_newsegment):
13779 Allow newsegment events with segment_start == segment_end, as will
13780 correctly happen if you use filesrc on a zero-size file, for
13783 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
13785 * gst/gstplugin.c: (gst_plugin_load_file):
13786 Call g_module_close when we don't load the module
13788 * gst/registries/gstlibxmlregistry.c:
13789 (gst_xml_registry_get_property):
13790 Port leak fix from 0.8
13792 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13794 * docs/gst/gstreamer-docs.sgml:
13795 * docs/gst/tmpl/.cvsignore:
13796 * docs/gst/tmpl/gsttrace.sgml:
13797 * docs/gst/tmpl/gsttrashstack.sgml:
13800 * gst/gstelement.h:
13802 * gst/gstmessage.c:
13803 * gst/gstmessage.h:
13806 * gst/gsttaginterface.c:
13807 * gst/gsttaginterface.h:
13808 * gst/gsttaglist.c:
13809 * gst/gsttaglist.h:
13810 * gst/gsttagsetter.c:
13811 * gst/gsttagsetter.h:
13814 * gst/gsttrashstack.c:
13815 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
13816 inlined docs for gsttrace, gsttrashstack
13818 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13821 * gst/elements/gstbufferstore.h:
13822 * gst/elements/gsttypefindelement.c:
13823 * gst/elements/gsttypefindelement.h:
13825 * gst/gsttypefind.c:
13826 * gst/gsttypefind.h:
13827 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
13828 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
13829 (gst_type_find_factory_dispose),
13830 (gst_type_find_factory_unload_thyself),
13831 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
13832 (gst_type_find_factory_get_caps),
13833 (gst_type_find_factory_get_extensions),
13834 (gst_type_find_factory_call_function):
13835 * gst/gsttypefindfactory.h:
13836 * gst/registries/gstlibxmlregistry.c:
13837 * gst/registries/gstxmlregistry.c:
13838 splitted gsttypefind into gsttypefind, gsttypefindfactory
13840 2005-09-07 Andy Wingo <wingo@pobox.com>
13842 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
13843 condition whereby the pad's task function is entered before the
13844 pad_mode variable was set.
13846 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
13848 * gst/gstpad.c: (gst_pad_alloc_buffer):
13849 Catch misbehaving pad_alloc functions that don't
13850 set up caps and do it for them.
13852 2005-09-07 Stefan Kost <ensonic@users.sf.net>
13854 * check/pipelines/simple_launch_lines.c: (run_pipeline):
13855 test for pipe!=NULL
13856 * docs/gst/tmpl/.cvsignore:
13857 * docs/gst/tmpl/gstmemchunk.sgml:
13858 * docs/gst/tmpl/gstparse.sgml:
13859 * docs/gst/tmpl/gsttaglist.sgml:
13860 * docs/gst/tmpl/gsttagsetter.sgml:
13861 * docs/gst/tmpl/gsttypefind.sgml:
13862 * docs/gst/tmpl/gsttypefindfactory.sgml:
13863 * gst/gstmemchunk.c:
13866 * gst/gsttaginterface.c:
13867 * gst/gsttypefind.c:
13868 * gst/gsttypefind.h:
13871 === release 0.9.2 ===
13873 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
13878 releasing 0.9.2, "South"
13880 2005-09-05 Andy Wingo <wingo@pobox.com>
13882 * gst/registries/gstxmlregistry.h:
13883 * gst/registries/gstxmlregistry.c: Um... resurrect...
13885 * gst/registries/gstxmlregistry.h:
13886 * gst/registries/gstxmlregistry.c: and update to newer API.
13887 Incidentally they should be a bit faster now that they don't have
13890 2005-09-05 Andy Wingo <wingo@pobox.com>
13892 * gst/registries/gstxmlregistry.h:
13893 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
13894 replaced by the libxml registry a while back
13896 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
13898 * docs/gst/tmpl/gstplugin.sgml:
13899 * gst/elements/gstelements.c:
13901 * gst/gstplugin.c: (gst_plugin_register_func),
13902 (gst_plugin_desc_copy), (gst_plugin_desc_free),
13903 (gst_plugin_get_source):
13905 * gst/registries/gstlibxmlregistry.c: (load_plugin),
13906 (gst_xml_registry_save_plugin):
13907 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
13908 (gst_xml_registry_save_plugin):
13909 * tools/gst-inspect.c: (print_plugin_info):
13910 add a "source" plugin description field, to represent the source
13911 module this plugin is a part of. By default GST_PLUGIN_DEFINE
13912 will set it to PACKAGE, which is automake's idea of the name of
13913 the source project.
13915 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
13920 * docs/Makefile.am:
13921 * docs/faq/Makefile.am:
13922 * docs/gst/tmpl/gstelement.sgml:
13923 * docs/gst/tmpl/gsttypes.sgml:
13924 * docs/htmlinstall.mak:
13925 * docs/manual/Makefile.am:
13926 * docs/pwg/Makefile.am:
13927 reorganize doc build a little
13928 split out docbook and gtk-doc stuff
13929 have two separate --enable's and enable them through autogen
13930 but disable by default in configure (to be similar to other
13932 * gstreamer.spec.in:
13933 clean up docs install
13951 translation updates
13953 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
13955 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
13958 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
13959 (gst_fake_sink_change_state):
13960 Make state change function thread-safe.
13962 * gst/gstpad.c: (gst_pad_alloc_buffer):
13963 Set offset on generic buffer allocated by fallback.
13965 2005-09-03 Stefan Kost <ensonic@users.sf.net>
13967 * docs/gst/gstreamer-sections.txt:
13968 * docs/gst/tmpl/gstelement.sgml:
13970 * libs/gst/controller/gst-controller.c:
13971 (gst_controlled_property_set_interpolation_mode),
13972 (gst_controlled_property_new),
13973 (gst_controller_find_controlled_property):
13974 run the wingo-magic script against the docs
13976 2005-09-02 Stefan Kost <ensonic@users.sf.net>
13978 * docs/gst/gstreamer-docs.sgml:
13979 * docs/gst/gstreamer-sections.txt:
13980 * docs/gst/tmpl/.cvsignore:
13981 * docs/gst/tmpl/gstelementdetails.sgml:
13982 * docs/gst/tmpl/gstelementfactory.sgml:
13985 * gst/gstelementfactory.c:
13986 * gst/gstelementfactory.h:
13987 merged elementdetails docs into elementfactory docs
13990 2005-09-02 Andy Wingo <wingo@pobox.com>
13992 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
13993 consider this enum an enum and not a flags.
13995 2005-09-02 Stefan Kost <ensonic@users.sf.net>
13997 * docs/gst/gstreamer-docs.sgml:
13998 * docs/gst/tmpl/.cvsignore:
13999 * docs/gst/tmpl/gstghostpad.sgml:
14000 * docs/gst/tmpl/gstiterator.sgml:
14001 * docs/gst/tmpl/gstmacros.sgml:
14002 * docs/gst/tmpl/gstrealpad.sgml:
14003 * docs/gst/tmpl/gstregistry.sgml:
14004 * docs/gst/tmpl/gstregistrypool.sgml:
14005 * docs/gst/tmpl/gststructure.sgml:
14006 * docs/gst/tmpl/gstsystemclock.sgml:
14007 * docs/gst/tmpl/gsttrace.sgml:
14008 * gst/gstghostpad.c:
14010 * gst/gstmemchunk.c:
14011 * gst/gstmemchunk.h:
14013 * gst/gstregistry.c:
14014 * gst/gstregistrypool.c:
14015 * gst/gststructure.c:
14016 * gst/gstsystemclock.c:
14019 2005-09-02 Andy Wingo <wingo@pobox.com>
14021 * gst/gstelement.h (GstState): Renamed from GstElementState,
14022 changed to be a normal enum instead of flags.
14023 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
14024 munged to be GST_STATE_CHANGE_*.
14025 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
14026 work with the new state representation.
14027 (GstStateChange): New enumeration of possible state transitions.
14028 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
14029 (GstElementClass::change_state): Pass the GstStateChange along as
14030 an argument. Helps language bindings, so they don't have to use
14031 tricky lock-needing macros like GST_STATE_CHANGE ().
14033 * scripts/update-states (file): New script. Run it on a file to
14034 update it for state naming and API changes. Updates files in
14037 * All files updated for the new API.
14039 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
14041 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
14042 * gst/gstutils.c: (gst_util_set_value_from_string),
14043 (gst_util_set_object_arg):
14044 fix a bunch of unchecked return values
14045 * tools/gst-complete.c: (main):
14046 * gstreamer.spec.in:
14049 2005-09-01 Wim Taymans <wim@fluendo.com>
14051 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14052 (gst_base_sink_event), (gst_base_sink_do_sync),
14053 (gst_base_sink_handle_event):
14054 * gst/base/gstbasesink.h:
14055 Handle newsegments more correctly.
14060 * gst/gstevent.c: (gst_event_new_newsegment):
14061 A newsegment cannot have a start_time of -1
14063 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
14065 * win32/gstenumtypes.c:
14066 * win32/gstenumtypes.h:
14069 2005-08-31 Stefan Kost <ensonic@users.sf.net>
14071 * libs/gst/controller/gst-controller.c:
14072 (gst_controlled_property_set_interpolation_mode),
14073 (gst_controlled_property_new):
14074 fixed boolean again
14076 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
14078 * docs/faq/gst-uninstalled:
14083 * gst/gstutils.c: (gst_element_link_filtered):
14085 add gst_element_link_filtered
14087 2005-08-31 Stefan Kost <ensonic@users.sf.net>
14089 * docs/gst/gstreamer-docs.sgml:
14090 * docs/gst/gstreamer-sections.txt:
14091 * docs/gst/tmpl/.cvsignore:
14092 * docs/gst/tmpl/gsterror.sgml:
14093 * docs/gst/tmpl/gstfilter.sgml:
14094 * docs/gst/tmpl/gsturihandler.sgml:
14095 * docs/gst/tmpl/gsturitype.sgml:
14096 * docs/gst/tmpl/gstutils.sgml:
14097 * docs/gst/tmpl/gstxml.sgml:
14102 * gst/gsturitype.c:
14105 inlined more docs, fixed double id-ref
14107 2005-08-31 Wim Taymans <wim@fluendo.com>
14109 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14110 (gst_base_transform_handle_buffer):
14111 Passthrough elements don't need the caps as they don't care.
14113 2005-08-31 Wim Taymans <wim@fluendo.com>
14115 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
14116 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
14117 Don't leak refcounts on buffers.
14119 2005-08-31 Wim Taymans <wim@fluendo.com>
14121 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
14122 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
14123 (gst_base_transform_chain), (gst_base_transform_change_state):
14124 * gst/base/gstbasetransform.h:
14125 Handle the case where we are not negotiated more gracefully.
14127 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
14129 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
14130 (gst_file_src_map_region):
14131 Set READONLY flag on mmap'ed buffers, otherwise
14132 gst_buffer_make_writable() won't work properly (#314708).
14134 2005-08-31 Wim Taymans <wim@fluendo.com>
14136 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
14137 passthrough elements can even do inplace on non writable
14138 buffers (as they don't touch them).
14140 2005-08-31 Stefan Kost <ensonic@users.sf.net>
14142 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
14143 (gst_test_mono_source_set_property),
14144 (gst_test_mono_source_class_init), (GST_START_TEST),
14145 (gst_controller_suite):
14146 more tests (hehe I have the most)
14148 describe popping messages whenusing mulltiple sources
14149 * libs/gst/controller/gst-controller.c:
14150 (gst_controlled_property_set_interpolation_mode),
14151 (gst_controlled_property_new):
14152 * libs/gst/controller/gst-controller.h:
14153 * libs/gst/controller/gst-interpolation.c:
14154 implement boolean properties
14156 2005-08-31 Wim Taymans <wim@fluendo.com>
14158 * gst/gstminiobject.c: (gst_mini_object_ref):
14159 Cannot assert that the refcount has to be positive
14160 since a disposed object can be resurrected.
14162 2005-08-31 Wim Taymans <wim@fluendo.com>
14164 * gst/gstpad.c: (gst_pad_init):
14165 Revert change, need to first fix badly behaving
14168 2005-08-30 Wim Taymans <wim@fluendo.com>
14170 * check/elements/fakesrc.c: (setup_fakesrc):
14171 * check/elements/identity.c: (setup_identity):
14172 Activate pads before using them.
14174 2005-08-30 Wim Taymans <wim@fluendo.com>
14176 * gst/base/gstadapter.c: (gst_adapter_flush):
14177 Flushing out 0 bytes is ok for this function.
14179 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14180 no newsegment gives a warning and sets the start/stop to
14183 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
14184 (gst_base_transform_set_passthrough):
14187 * gst/gstminiobject.c: (gst_mini_object_ref):
14188 Check refcount here too.
14190 * gst/gstpad.c: (gst_pad_init):
14191 Pads are initially flushing and refusing data.
14193 * gst/gstutils.c: (gst_element_link_pads_filtered):
14194 When adding a capsfilter element make sure it has the
14195 same state as the parent bin.
14197 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14199 * docs/gst/tmpl/.cvsignore:
14200 * docs/gst/tmpl/gstformat.sgml:
14201 * docs/gst/tmpl/gstversion.sgml:
14205 * gst/gstversion.h.in:
14206 more docs and two more inlined
14208 2005-08-30 Wim Taymans <wim@fluendo.com>
14210 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
14211 Don't sync to clock.
14213 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14215 * docs/gst/gstreamer-sections.txt:
14216 ultral33t func10ns deserve to appear in the docs actually
14217 * docs/gst/tmpl/.cvsignore:
14218 * docs/gst/tmpl/gstcompat.sgml:
14219 * docs/gst/tmpl/gstconfig.sgml:
14220 * gst/check/gstcheck.c:
14222 * gst/gstconfig.h.in:
14225 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14227 * docs/gst/tmpl/.cvsignore:
14228 * docs/gst/tmpl/gstquery.sgml:
14229 * docs/gst/tmpl/gstutils.sgml:
14232 inlined and extended docs
14234 2005-08-30 Stefan Kost <ensonic@users.sf.net>
14236 * check/gst-libs/controller.c: (GST_START_TEST),
14237 (gst_controller_suite):
14239 * docs/gst/tmpl/gstutils.sgml:
14240 * docs/libs/gstreamer-libs-sections.txt:
14241 * docs/libs/tmpl/gstdataprotocol.sgml:
14243 * examples/controller/audio-example.c: (main):
14244 controller example works now
14247 * tools/gst-inspect.c: (print_element_properties_info):
14248 show param spec flags
14250 2005-08-29 Andy Wingo <wingo@pobox.com>
14252 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
14254 2005-08-28 Andy Wingo <wingo@pobox.com>
14256 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
14257 as having two arguments instead of just one. Allows superclasses
14258 to access information on subclasses -- see the terrible for() loop
14259 in gtype.c:g_type_create_instance for the reason why. All callers
14262 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14264 * docs/design/part-messages.txt:
14266 * docs/gst/tmpl/.cvsignore:
14267 * docs/gst/tmpl/gstcaps.sgml:
14268 * docs/gst/tmpl/gstclock.sgml:
14274 * gst/gstmessage.c:
14275 added descriptions for bus and message
14276 inline caps and clock docs
14278 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14280 * gst/gstmessage.c:
14281 * gst/gstmessage.h:
14284 2005-08-27 Stefan Kost <ensonic@users.sf.net>
14286 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
14289 2005-08-26 Andy Wingo <wingo@pobox.com>
14291 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
14292 element_set_state's return val.
14293 (test_2_elements): Add test that's been disabled for months.
14295 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
14296 can-activate-pull properties.
14298 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
14299 can-activate-pull properties. Implement is_seekable so fakesrc can
14300 operate in pull mode.
14302 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
14304 (gst_base_sink_activate, gst_base_sink_activate_pull)
14305 (gst_base_sink_activate_push): Make activation mode choosing work.
14307 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
14308 is right. Make pull mode work. Post an eos before pausing in pull
14310 (gst_base_sink_change_state): Pay attention to the core's
14311 change_state() return val.
14313 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
14314 has-getrange properties. Cleanups.
14316 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
14317 has_getrange and replace with can_activate_pull and
14320 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
14321 locking comments. Remove has_loop, has_chain and replace with
14322 can_activate_pull and can_activate_push.
14324 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
14327 * examples/Makefile.am:
14328 * examples/metadata/Makefile.am:
14329 * examples/metadata/read-metadata.c: (message_loop),
14330 (have_pad_handler), (make_pipeline), (print_tag), (main):
14331 Add metadata reading example that loops over a list of filenames,
14332 dumping any tags found.
14334 * gst/gstbus.c: (gst_bus_dispose):
14335 * gst/gstelement.c: (gst_element_dispose):
14336 Release a few potentially-held references in dispose.
14338 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14340 * docs/gst/tmpl/gstminiobject.sgml:
14341 do *not* add tmpl/*.sgml files to CVS!
14343 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14345 * libs/gst/bytestream/.cvsignore:
14346 * libs/gst/bytestream/Makefile.am:
14347 * libs/gst/bytestream/adapter.c:
14348 * libs/gst/bytestream/adapter.h:
14349 * libs/gst/bytestream/bytestream.c:
14350 * libs/gst/bytestream/bytestream.h:
14351 * libs/gst/bytestream/filepad.c:
14352 * libs/gst/bytestream/filepad.h:
14353 removing obsolete files
14355 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14357 * docs/gst/gstreamer-docs.sgml:
14358 * docs/libs/gstreamer-libs-docs.sgml:
14359 disabed additional index entries again, as this makes docs-gen just
14360 slow and they aren't useful yet
14361 * docs/libs/gstreamer-libs-sections.txt:
14362 little -section.txt cleanup for libs
14364 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
14366 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14367 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
14368 fix up some debugging
14369 (gst_base_transform_get_unit_size),
14370 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
14371 (gst_base_transform_handle_buffer):
14372 * gst/base/gstbasetransform.h:
14373 handle and store timed NEWSEGMENT events so that subclasses that
14374 calculate time by counting samples have a segment_start time they
14375 need to add to their timestamps - see audioresample
14377 2005-08-26 Stefan Kost <ensonic@users.sf.net>
14380 removed ';' from the end of macro defs
14381 * docs/gst/gstreamer-docs.sgml:
14382 * docs/gst/gstreamer-sections.txt:
14383 * docs/gst/tmpl/.cvsignore:
14385 * gst/gstelement.c: (gst_element_class_init),
14386 (gst_element_set_state), (activate_pads),
14387 (gst_element_save_thyself):
14388 * gst/gstevent.c: (gst_event_new_newsegment):
14390 * gst/gstiterator.c:
14391 * gst/gstiterator.h:
14394 * gst/gstutils.c: (gst_pad_query_convert):
14396 fixed parameter name mismatches between source, header and docs
14397 added some more docs, resolved the last batch of unused elements in
14398 docs (now someone needs to doc them)
14400 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14402 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
14403 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
14404 don't walk through the plugins backwards. Where is all this
14405 reversed logic coming from ?
14407 2005-08-25 Wim Taymans <wim@fluendo.com>
14409 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14410 (gst_base_transform_transform_size),
14411 (gst_base_transform_configure_caps),
14412 (gst_base_transform_get_unit_size),
14413 (gst_base_transform_buffer_alloc),
14414 (gst_base_transform_change_state):
14415 * gst/base/gstbasetransform.h:
14416 Cache caps unit_size.
14417 Make sure we cannot negotiate up and downstream at the
14420 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14422 * gst/gst.c: (init_pre), (init_post):
14423 register the installed plugin path after the env var
14424 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
14425 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
14426 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
14427 directories, so the tests can prefer uninstalled over installed
14429 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
14431 * gst/base/gstbasetransform.h:
14436 2005-08-25 Wim Taymans <wim@fluendo.com>
14438 * gst/gstbin.c: (bin_bus_handler):
14439 Be a bit more conservative about the posted message.
14441 * gst/gstbus.c: (gst_bus_post):
14442 Some cleanups, warn wrong return values.
14444 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
14446 * check/gst/gstbin.c: (GST_START_TEST):
14447 * gst/gstbin.c: (bin_bus_handler):
14448 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14449 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14450 (gst_message_new_warning), (gst_message_new_tag),
14451 (gst_message_new_state_changed), (gst_message_new_segment_start),
14452 (gst_message_new_segment_done), (gst_message_new_custom):
14453 * gst/gstmessage.h:
14454 * tools/gst-launch.c: (event_loop):
14455 * tools/gst-md5sum.c: (event_loop):
14456 Revert unpopular change for GST_MESSAGE_SRC to GObject.
14458 2005-08-25 Wim Taymans <wim@fluendo.com>
14460 * check/generic/states.c: (GST_START_TEST):
14461 Cleanup can be done at the end.
14463 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
14464 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14465 (gst_task_get_state), (gst_task_start), (gst_task_pause):
14466 Oh boy.. Thanks for finding this, Thomas.
14468 2005-08-25 Stefan Kost <ensonic@users.sf.net>
14470 * docs/gst/gstreamer.types:
14471 added missing types
14473 2005-08-25 Stefan Kost <ensonic@users.sf.net>
14475 * docs/gst/gstreamer-docs.sgml:
14476 * docs/gst/gstreamer-sections.txt:
14477 * docs/gst/tmpl/.cvsignore:
14479 * gst/gstiterator.c:
14481 * gst/registries/gstxmlregistry.h:
14482 added missing classes and symbols (123 more to go)
14483 removed removed symbols from section file
14484 fixed many doc-comments
14486 2005-08-24 Wim Taymans <wim@fluendo.com>
14488 * check/generic/states.c: (GST_START_TEST):
14489 Make sure all tasks are stopped.
14491 * check/gst/gstbin.c: (GST_START_TEST):
14492 Unref after usage for proper valgrinding.
14494 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
14495 Really wait for the task to stop before destroying the
14498 * gst/gstqueue.c: (gst_queue_sink_activate_push),
14499 (gst_queue_src_activate_push):
14500 Small cleanups. Don't stop the task when we did not start
14503 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
14504 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
14505 (gst_task_get_state), (gst_task_start), (gst_task_pause),
14508 Protect the stream lock with the object lock.
14509 Disallow setting the stream lock when running.
14510 Add cleanup_all to wait for the threadpool to finish.
14511 Remove code to autoallocate a mutex if none was provided.
14512 Add _join() to wait for a task to stop.
14513 Protect the thread pool with a global lock.
14515 2005-08-24 Wim Taymans <wim@fluendo.com>
14517 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14518 (gst_base_sink_get_times), (gst_base_sink_do_sync),
14519 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
14520 * gst/base/gstbasesink.h:
14521 Handle newsegment events correctly.
14522 Drop buffers out of the segment range.
14524 2005-08-22 Andy Wingo <wingo@pobox.com>
14526 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
14527 macro, implements an interface and gstimplementsinterface for a
14530 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
14532 * check/Makefile.am:
14533 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
14534 add a test that does a bunch of state changes on elements
14535 needs some fixing for valgrind
14536 * check/states/sinks.c: (gst_object_suite):
14539 add prototype for gst_caps_is_equal_fixed
14541 * gst/gstregistrypool.c:
14544 2005-08-24 Andy Wingo <wingo@pobox.com>
14546 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
14547 convert a negative value. Doesn't make much sense. Mostly this is
14548 here to force callers to ensure -1 maps to -1.
14550 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
14552 * docs/pwg/advanced-types.xml:
14553 Well done to Michael for catching my deliberate introduction
14554 of this spelling mistake.
14555 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
14556 * gst/gstelement.h:
14557 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
14558 unlink pads before removing the element from the bin.
14560 2005-08-24 Andy Wingo <wingo@pobox.com>
14562 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
14563 the same thing as GST_DEBUG=*:4.
14564 (parse_debug_level, parse_debug_category): New helper parsers.
14566 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
14568 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14569 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
14570 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
14571 (gst_base_transform_buffer_alloc),
14572 (gst_base_transform_handle_buffer):
14573 use gboolean return values and pointers to size so we can use the
14574 full GST_BUFFER_SIZE range (guint) for buffer sizes
14575 use GstPadDirection for transform_caps
14576 * gst/base/gstbasetransform.h:
14577 rename get_size to get_unit_size since that's what it is
14578 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
14579 use GstPadDirection for transform_caps
14580 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14582 cleanup and debugging
14584 2005-08-24 Stefan Kost <ensonic@users.sf.net>
14586 * gst/gstelement.c: (gst_element_class_init),
14587 (gst_element_set_state), (activate_pads),
14588 (gst_element_save_thyself):
14589 * tools/gst-compprep.c: (main):
14590 * tools/gst-inspect.c: (print_element_properties_info):
14591 * tools/gst-xmlinspect.c: (print_element_properties):
14592 Fixed long standing mem-leak
14594 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
14596 * check/gst/gstbin.c: (GST_START_TEST):
14597 * gst/gstbin.c: (bin_bus_handler):
14598 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
14599 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
14600 (gst_message_new_warning), (gst_message_new_tag),
14601 (gst_message_new_state_changed), (gst_message_new_segment_start),
14602 (gst_message_new_segment_done), (gst_message_new_custom):
14603 * gst/gstmessage.h:
14604 * tools/gst-launch.c: (event_loop):
14605 * tools/gst-md5sum.c: (event_loop):
14606 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
14607 that applications can sensibly post custom messages with references
14608 to their own objects.
14610 2005-08-24 Andy Wingo <wingo@pobox.com>
14612 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
14615 2005-08-24 Wim Taymans <wim@fluendo.com>
14617 * gst/base/gstbasetransform.c: (gst_base_transform_init),
14618 (gst_base_transform_transform_caps),
14619 (gst_base_transform_transform_size),
14620 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
14621 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
14622 (gst_base_transform_handle_buffer):
14623 * gst/base/gstbasetransform.h:
14624 Many fixes and new features added by Thomas. Can now also do
14625 transforms with variable sizes and a custom fixate_caps function.
14627 2005-08-24 Wim Taymans <wim@fluendo.com>
14629 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14633 Cast to ClockTime before formatting to time.
14638 2005-08-24 Stefan Kost <ensonic@users.sf.net>
14640 * check/gst-libs/controller.c: (GST_START_TEST),
14641 (gst_controller_suite):
14642 * docs/gst/tmpl/gstcaps.sgml:
14643 * docs/gst/tmpl/gstghostpad.sgml:
14644 * docs/gst/tmpl/gstquery.sgml:
14645 * docs/gst/tmpl/gstutils.sgml:
14646 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
14647 (gst_object_sink_values), (gst_object_get_value_arrays),
14648 (gst_object_get_value_array):
14649 gracefully handle helper method calls to objects that are not beeing
14650 controlled, added test case for that
14652 2005-08-23 Wim Taymans <wim@fluendo.com>
14654 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
14655 (gst_event_new_newsegment), (gst_event_parse_newsegment),
14656 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
14657 (gst_event_parse_qos), (gst_event_new_seek),
14658 (gst_event_parse_seek):
14660 Some more debugging output and doc cleanups.
14662 * gst/gstqueue.c: (gst_queue_handle_sink_event):
14663 Fix possible deadlock.
14665 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14667 * docs/gst/gstreamer-docs.sgml:
14668 * docs/gst/gstreamer-sections.txt:
14669 * docs/gst/gstreamer.types:
14670 * docs/gst/tmpl/.cvsignore:
14673 * gst/gstelement.c:
14675 added 100 symbols from gstreamer-unused.txt to the right sections
14676 fixed more broken comments
14677 added GstBus to docs
14679 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14681 * docs/gst/gstreamer-sections.txt:
14682 * docs/gst/tmpl/.cvsignore:
14683 * docs/gst/tmpl/gstbin.sgml:
14684 * docs/gst/tmpl/gstbuffer.sgml:
14685 * gst/base/gstbasesrc.c:
14686 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
14689 * tools/gst-launch.1.in:
14690 inlined more doc comments, added missing comments and fixed comments
14693 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
14695 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
14699 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
14701 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
14702 * gst/gststructure.h:
14703 add a fixate function for booleans; add a FIXME that these func
14704 names should probably be gst_structure_fixate_*
14706 2005-08-23 Stefan Kost <ensonic@users.sf.net>
14708 * docs/gst/gstreamer-docs.sgml:
14709 * docs/gst/gstreamer-sections.txt:
14711 * gst/gstbin.c: (gst_bin_get_type),
14712 (gst_bin_child_proxy_get_child_by_index),
14713 (gst_bin_child_proxy_get_children_count),
14714 (gst_bin_child_proxy_init):
14715 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
14716 (gst_child_proxy_get_child_by_index),
14717 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
14718 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
14719 (gst_child_proxy_get), (gst_child_proxy_set_property),
14720 (gst_child_proxy_set_valist), (gst_child_proxy_set),
14721 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
14722 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
14723 * gst/gstchildproxy.h:
14724 * gst/parse/grammar.y:
14725 * tools/gst-inspect.c: (print_interfaces),
14726 (print_element_properties_info), (print_element_info):
14727 ported gstchildproxy over from 0.8
14728 ported gst-inspect fixes and enhancements over from 0.8
14730 2005-08-22 Wim Taymans <wim@fluendo.com>
14732 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
14733 (gst_base_transform_handle_buffer):
14734 Also call the transform function if we have ANY caps.
14736 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
14739 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14741 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
14742 Don't pretend to handle seek events if the source is not seekable
14744 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
14746 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14747 Remove extra parameter to debug output
14749 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14750 (gst_base_src_do_seek), (gst_base_src_activate_push):
14751 Fix seek event handling.
14753 * gst/gstpipeline.c: (gst_pipeline_change_state):
14754 * gst/gstqueue.c: (gst_queue_handle_sink_event),
14755 (gst_queue_src_activate_push):
14756 Don't start the src pad task on FLUSH_STOP if the pad
14760 2005-08-22 Wim Taymans <wim@fluendo.com>
14762 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
14763 Added check for gst_static_caps_get() refcounting.
14765 2005-08-22 Wim Taymans <wim@fluendo.com>
14767 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
14768 Make _static_caps_get() refcounting sane.
14770 * gst/gstelement.c: (gst_element_set_state):
14771 Add g_return_val_if_fail() to protect against segfaults.
14773 2005-08-22 Stefan Kost <ensonic@users.sf.net>
14775 * docs/gst/tmpl/gstevent.sgml:
14778 inlined remaining docs, added missing doc comments
14780 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
14782 * check/gst/gstbin.c: (GST_START_TEST):
14783 since we don't know when preroll is done, use refcount range
14785 * gst/check/gstcheck.h:
14786 add macro for checking refcount range
14788 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
14790 * check/Makefile.am:
14791 clean up environment for when registry gets built versus
14792 when actual tests are run; valgrind seems to not report
14793 leaks if GST_PLUGIN_PATH is set to some specific values
14794 * check/gst/gstbin.c: (GST_START_TEST):
14795 add more refcounting checks; maybe this exposes a
14797 * common/check.mak:
14798 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14799 * gst/check/gstcheck.h:
14800 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
14801 (gst_bin_change_state):
14802 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
14803 add/fix debugging/whitespace
14805 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
14807 * check/gst/gstevent.c: (event_probe), (test_event),
14809 Er, don't call gst_bin_watch_for_state_change you idiot.
14811 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
14813 * check/Makefile.am:
14814 Use CHECK_CFLAGS and CHECK_LIBS
14815 * check/gst/gstevent.c: (event_probe), (test_event),
14818 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
14819 (gst_base_src_start), (gst_base_src_stop),
14820 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14821 (gst_base_src_change_state):
14822 Sprinkle gst_base_src_stop liberally around error paths to fix
14823 problems reusing a source after failed state changes.
14824 * gst/base/gsttypefindhelper.c: (helper_find_peek),
14825 (helper_find_suggest), (gst_type_find_helper):
14826 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
14828 * docs/gst/tmpl/gstevent.sgml:
14829 Migrate part of the docs from the SGML file. Wait for ensonic to
14830 tell me how I did it wrong ;)
14831 * tools/gst-typefind.c: (main):
14832 Extra robustness to state changes between files.
14834 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
14836 * check/Makefile.am:
14837 don't valgrind the controller test - it's leaking - Stefan, HELP
14838 * gst/check/gstcheck.c: (gst_check_message_error),
14839 (gst_check_chain_func), (gst_check_setup_element),
14840 (gst_check_teardown_element), (gst_check_setup_src_pad),
14841 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
14842 (gst_check_teardown_sink_pad):
14843 * gst/check/gstcheck.h:
14844 add a bunch of methods to set up elements, and src and sink pads
14845 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
14846 * check/elements/identity.c: (setup_identity), (cleanup_identity),
14849 * gst/gstmessage.c:
14851 whitespace/doc fixes
14853 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14855 * gst/gstelement.h:
14856 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
14857 be handled by the application and not always printed as well
14859 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14861 * check/Makefile.am:
14863 * gst/check/gstcheck.c: (gst_check_message_error):
14864 * gst/check/gstcheck.h:
14865 add a fail_unless_equals_int
14866 add fail_unless for error messages
14868 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14870 * check/Makefile.am:
14872 * common/Makefile.am:
14873 * common/check.mak:
14875 factor out some of the common stuff so we can use it
14877 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14879 * check/Makefile.am:
14880 * check/gst/gstiterator.c: (GST_START_TEST):
14881 * check/gst/gstsystemclock.c: (GST_START_TEST),
14882 (gst_systemclock_suite):
14883 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14885 valgrind more tests
14887 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
14889 * check/elements/.cvsignore:
14890 * check/elements/gstfakesrc.c:
14891 rename to name of element
14892 * check/elements/identity.c: (chain_func), (event_func),
14893 (setup_identity), (cleanup_identity), (GST_START_TEST),
14894 (identity_suite), (main):
14895 add a test for identity
14896 * check/Makefile.am:
14897 * pkgconfig/Makefile.am:
14898 * pkgconfig/gstreamer-check.pc.in:
14899 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14903 move the check stuff to a library that gets installed
14904 * check/gst-libs/controller.c: (GST_START_TEST):
14905 * check/gst-libs/gdp.c:
14906 * check/gst/gst.c: (GST_START_TEST):
14907 * check/gst/gstbin.c:
14908 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14909 * check/gst/gstbus.c:
14910 * check/gst/gstcaps.c: (GST_START_TEST):
14911 * check/gst/gstelement.c:
14912 * check/gst/gstghostpad.c:
14913 * check/gst/gstiterator.c:
14914 * check/gst/gstmessage.c:
14915 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
14916 * check/gst/gstobject.c:
14917 * check/gst/gstpad.c: (GST_START_TEST):
14918 * check/gst/gststructure.c: (GST_START_TEST):
14919 * check/gst/gstsystemclock.c: (GST_START_TEST),
14920 (gst_systemclock_suite):
14921 * check/gst/gsttag.c: (gst_tag_suite):
14922 * check/gst/gstvalue.c:
14923 * check/pipelines/cleanup.c:
14924 * check/pipelines/simple_launch_lines.c:
14925 * check/states/sinks.c:
14926 change include statement
14928 * docs/gst/gstreamer-sections.txt:
14929 * docs/gst/tmpl/gstpad.sgml:
14930 document more pad stuff
14931 * gst/gstminiobject.c: (gst_mini_object_ref),
14932 (gst_mini_object_unref):
14935 2005-08-19 Stefan Kost <ensonic@users.sf.net>
14937 * docs/gst/tmpl/gst.sgml:
14939 eliminate another tmpl file, fix spelling in the long-description
14941 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14943 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14944 (test_event), (timediff), (gstevents_suite):
14945 Should fix build on 64-bit arch's
14947 2005-08-18 Andy Wingo <wingo@pobox.com>
14949 Make sure that when a pipeline goes to PLAYING, that data has
14950 actually hit the sink.
14952 * check/states/sinks.c (test_sink): A sink that doesn't get any
14953 data shouldn't return SUCCESS for going to either PLAYING or
14954 PAUSED. Test also the return values on the way back down.
14956 * gst/gstelement.c (gst_element_set_state): When changing the
14957 state of an element currently changing state asynchronously, go to
14958 lost-state after commiting the pending state. Makes future calls
14959 to get_state continue to return ASYNC.
14961 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
14962 ASYNC when going to PLAYING if we still don't have preroll, as can
14963 happen with live sources.
14965 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14967 * docs/pwg/advanced-types.xml:
14968 Hack long paragraph into 2 chunks as a workaround for buggy
14969 jadetex version in sid and breezy that loops infinitely and
14972 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14974 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14975 (test_event), (timediff), (gstevents_suite):
14976 Provide more error margin in clock measurements to allow for
14977 g_get_current_time inaccuracies.
14979 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14981 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14982 (test_event), (timediff), (gstevents_suite):
14983 Fix error message output so I might be able to tell why the
14984 test works here but fails on the build farm.
14986 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
14988 * check/Makefile.am:
14989 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
14990 (test_event), (timediff), (gstevents_suite), (main):
14993 * docs/design/part-seeking.txt:
14994 Spelling correction
14996 * docs/gst/tmpl/gstevent.sgml:
14997 * docs/gst/tmpl/gstfakesrc.sgml:
15000 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15001 Treat a buffer-without-newsegment the same as a receiving
15002 a newsegment not in time format, and disable syncing to the clock
15005 * gst/gstbus.c: (gst_bus_set_sync_handler):
15006 Assert if anyone tries to replace the existing sync_handler for bus,
15007 as only the owner should be setting it.
15010 Have a fixed set of custom event enums with events identified by
15011 their structure name (as in 0.8), rather than a free-for-all
15012 allowing collisions between enum values from different plugins.
15014 * gst/gstpad.c: (gst_pad_class_init):
15017 * gst/gstqueue.c: (gst_queue_handle_sink_event):
15018 Handle out-of-band downstream events from the sending thread.
15020 2005-08-17 Andy Wingo <wingo@pobox.com>
15022 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
15023 play-timeout==0 to mean no timeout at all. In that case, don't
15024 bother with a get_state or a warning, just return directly, even
15027 * gst/base/gstbasetransform.c: Debug changes.
15030 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
15031 ensure bins post state change messages. A bit of a hack but I can't
15032 think of a way to avoid it.
15034 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
15036 2005-08-16 Andy Wingo <wingo@pobox.com>
15038 * gst/base/gstadapter.h:
15039 * gst/base/gstadapter.c (gst_adapter_take): New function, like
15040 peek() but you own the data. Not terribly efficient atm.
15042 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15044 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
15045 (gst_element_found_tags):
15047 Add two utility functions for tag handling.
15049 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15051 * docs/manual/advanced-dataaccess.xml:
15052 * docs/manual/basics-helloworld.xml:
15053 Fix docs to use _bin_add() before _link(), which fixes the examples
15054 with recent core versions (reported by Madhan Raj M
15055 <raj_madan@rediffmail.com>, #313199).
15057 2005-08-16 Wim Taymans <wim@fluendo.com>
15059 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15060 Added subtract checks.
15062 * docs/design/part-events.txt:
15063 Some more docs about newsegment
15065 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
15068 * gst/gstcaps.c: (gst_caps_to_string):
15069 Add comments, cleanups.
15071 * gst/gstelement.c: (gst_element_save_thyself):
15074 * gst/gstvalue.c: (gst_value_collect_int_range),
15075 (gst_string_unwrap), (gst_value_union_int_int_range),
15076 (gst_value_union_int_range_int_range),
15077 (gst_value_intersect_int_int_range),
15078 (gst_value_intersect_int_range_int_range),
15079 (gst_value_intersect_double_double_range),
15080 (gst_value_intersect_double_range_double_range),
15081 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
15082 (gst_value_subtract_int_range_int),
15083 (gst_value_subtract_double_range_double),
15084 (gst_value_subtract_double_range_double_range),
15085 (gst_value_subtract_from_list), (gst_value_subtract_list),
15086 (gst_value_can_compare), (gst_value_compare_fraction):
15087 Cleanups, add comments, remove unneeded asserts.
15089 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
15091 * tools/gst-launch.c: (event_loop):
15092 don't convert NULL structures to strings
15094 2005-08-15 Stefan Kost <ensonic@users.sf.net>
15096 * docs/gst/gstreamer-sections.txt:
15097 made some defines private
15098 * docs/gst/tmpl/gstconfig.sgml:
15099 * docs/gst/tmpl/gstqueue.sgml:
15100 * docs/gst/tmpl/gsttaglist.sgml:
15101 * docs/gst/tmpl/gsttypes.sgml:
15102 * docs/gst/tmpl/gstutils.sgml:
15103 * docs/pwg/appendix-porting.xml:
15104 * gst/base/gstbasesink.h:
15105 * gst/base/gstbasesrc.c:
15106 * gst/base/gstbasesrc.h:
15107 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
15108 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
15109 * gst/gstelement.c: (gst_element_class_init):
15110 * gst/gstpad.c: (gst_pad_class_init):
15111 * gst/gstqueue.c: (gst_queue_class_init):
15112 * gst/gstxml.c: (gst_xml_class_init):
15113 documented all undocumented signal inline
15114 * libs/gst/controller/gst-controller.h:
15117 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15119 * docs/pwg/appendix-porting.xml:
15120 Document _set_link_function -> _set_setcaps_function.
15122 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
15124 * check/Makefile.am:
15125 add a .check target for running the check
15126 * check/gst-libs/controller.c: (GST_START_TEST):
15128 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15129 complete checks for gstbuffer; would be nice if I could get the
15130 gcov stuff to work so I can see if I actually completed gstbuffer.c
15131 * check/gstcheck.h:
15132 add ASSERT_BUFFER_REFCOUNT
15134 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
15136 * docs/gst/gstreamer-sections.txt:
15137 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
15139 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
15140 spew out a warning if a tag that is already registered
15141 is re-registered, unless it is re-registered with a
15142 different type (#308438).
15144 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
15146 * docs/pwg/appendix-porting.xml:
15147 * docs/pwg/building-state.xml:
15148 Add some paragraphs about state changes in 0.9 to the PWG
15149 and the porting guide, in particular about the new meaning
15150 of GST_STATE_PAUSED and how to write state change functions
15151 with concurrent access by multiple threads in mind.
15153 2005-08-11 Stefan Kost <ensonic@users.sf.net>
15155 * docs/gst/gstreamer-docs.sgml:
15156 * docs/libs/gstreamer-libs-docs.sgml:
15157 added deprecation and since indexes
15158 * libs/gst/controller/gst-controller.c:
15159 * libs/gst/controller/gst-helper.c:
15163 2005-08-11 Wim Taymans <wim@fluendo.com>
15165 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
15166 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
15167 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
15168 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
15169 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
15170 (gst_ghost_pad_set_target):
15171 Actually implement (re)setting the target on a ghostpad
15172 as described in the docs.
15174 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
15176 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
15177 Check whether GST_DEBUG_NO_COLOR environment variable is
15178 set and disable coloured debug output if that is the case.
15180 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
15182 * gst/base/gsttypefindhelper.c: (helper_find_peek),
15183 (gst_type_find_helper):
15184 The memory returned by gst_type_find_peek() needs to
15185 stay valid until the end of a typefind function, and
15186 typefind functions may keep results from different
15187 offsets around, so we can't just unref the buffer from
15188 the previous _peek(), but have to save all buffers
15189 returned by _peek() until typefinding is done and only
15192 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
15194 * docs/gst/gstreamer-sections.txt:
15196 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
15198 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15200 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
15201 Fix a pretty good memleak.
15203 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
15205 * gst/gstiterator.h:
15206 Fix wrong include and 'make distcheck'.
15208 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15210 * gst/gstbin.c: (bin_bus_handler):
15211 Use gst_element_post_message() instead.
15213 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
15215 * gst/base/gstadapter.h:
15216 * gst/base/gstbasesink.h:
15217 * gst/base/gstbasesrc.h:
15218 * gst/base/gstbasetransform.h:
15219 * gst/base/gstcollectpads.h:
15220 * gst/base/gstpushsrc.h:
15221 * gst/gstiterator.h:
15222 Add padding to our base elements' class and instance structs and
15223 to GstIterator (you will need to rebuild all plugins and apps!)
15225 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15227 * gst/gstbin.c: (bin_bus_handler):
15228 Make default message forwarding from child->bus to bin->bus
15229 threadsafe and make it not emit warnings if the parent has no bus.
15231 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15233 * gst/gstelement.c: (activate_pads):
15234 On paused->ready, set pad->caps to NULL, as is the documented
15235 behaviour in this state change. Fixes playback of series of
15236 media files when visualization is enabled in Totem.
15238 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15240 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
15241 Allow NULL as filter-caps (which means "any").
15243 2005-08-05 Stefan Kost <ensonic@users.sf.net>
15245 * docs/libs/gstreamer-libs-sections.txt:
15246 * libs/gst/controller/gst-controller.c:
15247 * libs/gst/controller/gst-controller.h:
15248 * libs/gst/controller/gst-helper.c:
15249 adding more entries to the docs and fix small doc-bugs
15251 2005-08-05 Stefan Kost <ensonic@users.sf.net>
15253 * docs/gst/gstreamer-docs.sgml:
15254 * docs/gst/gstreamer-sections.txt:
15255 * docs/gst/gstreamer.types:
15256 * docs/gst/tmpl/gstbasesink.sgml:
15257 * docs/gst/tmpl/gstbasesrc.sgml:
15258 * docs/gst/tmpl/gstbasetransform.sgml:
15259 * docs/gst/tmpl/gstfakesrc.sgml:
15260 * gst/base/gstcollectpads.c:
15261 * gst/base/gstcollectpads.h:
15262 * libs/gst/controller/gst-controller.c:
15263 * libs/gst/controller/gst-controller.h:
15264 * libs/gst/controller/gst-helper.c:
15265 * libs/gst/controller/gst-interpolation.c:
15266 * libs/gst/controller/lib.c:
15267 added long/short desc for controller docs
15268 added collectpads base class docs
15269 added correct includes to base-class docs
15271 2005-08-05 Stefan Kost <ensonic@users.sf.net>
15273 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
15274 (gst_test_mono_source_set_property),
15275 (gst_test_mono_source_class_init), (GST_START_TEST),
15276 (gst_controller_suite):
15277 * docs/gst/gstreamer-docs.sgml:
15278 * docs/gst/gstreamer-sections.txt:
15279 * docs/gst/gstreamer.types:
15280 * docs/libs/gstreamer-libs-docs.sgml:
15281 * docs/libs/gstreamer-libs-sections.txt:
15282 * gst/base/gstadapter.c:
15283 * libs/gst/controller/gst-controller.c:
15284 (gst_controlled_property_new), (gst_controlled_property_free),
15285 (gst_controller_new_valist),
15286 (gst_controller_remove_properties_valist),
15287 (gst_controller_sink_values), (_gst_controller_finalize):
15288 * libs/gst/controller/gst-controller.h:
15289 * libs/gst/controller/gst-helper.c:
15290 (gst_object_control_properties), (gst_object_uncontrol_properties),
15291 (gst_object_get_controller), (gst_object_set_controller),
15292 (gst_object_sink_values), (gst_object_get_value_arrays),
15293 (gst_object_get_value_array):
15294 more tests (and fixes) for the controller
15295 more docs for the controller
15296 integrated companies docs for the adapter
15298 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
15300 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
15301 (GST_START_TEST), (fakesrc_suite):
15302 add tests for sizetype
15304 2005-08-04 Andy Wingo <wingo@pobox.com>
15306 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
15307 fixes buffer_alloc proxying among other things.
15309 * gst/base/gstbasetransform.c:
15310 * gst/base/gstbasetransform.h:
15311 Revert patch to gstbasetransform from 7-28 removing
15314 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
15315 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
15316 Semantics changed, should return not the size of the output buffer
15317 but the byte size of a buffer with a given caps.
15319 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
15321 (gst_base_transform_configure_caps): Don't set out_size here: (in,
15322 out) are not the pad caps until setcaps finishes.
15323 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
15324 not-in-place case as well. Deal with changing from in-place to
15325 not-in-place within calling pad_alloc_buffer. Still a bit
15326 concerned about the overhead here...
15328 2005-08-03 Andy Wingo <wingo@pobox.com>
15330 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
15331 fixating is an error.
15333 2005-08-04 Edward Hervey <edward@fluendo.com>
15335 * gst/base/gstadapter.h:
15336 Added gst_adapter_get_type() to the header
15338 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15340 * check/Makefile.am:
15341 * check/gst-libs/controller.c:
15342 * libs/gst/controller/gst-controller.c:
15343 (gst_controller_new_valist):
15344 added check test suite for the controller
15345 * gst/base/gstpushsrc.c:
15348 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15350 * docs/gst/Makefile.am:
15351 * docs/gst/gstreamer-docs.sgml:
15352 * docs/gst/gstreamer-sections.txt:
15353 * docs/gst/gstreamer.types:
15354 * docs/gst/tmpl/gstfakesrc.sgml:
15356 * gst/base/gstbasesink.c:
15357 * gst/base/gstbasesink.h:
15358 * gst/base/gstbasesrc.c:
15359 * gst/base/gstbasesrc.h:
15360 * gst/base/gstbasetransform.c:
15361 * gst/base/gstpushsrc.c:
15362 * gst/base/gstpushsrc.h:
15363 add short/long description docs to base classes
15364 add pushsrc to the docs
15365 remove consolidated doc fragments
15367 2005-08-03 Stefan Kost <ensonic@users.sf.net>
15370 * docs/libs/Makefile.am:
15371 * docs/libs/gstreamer-libs-docs.sgml:
15372 * docs/libs/gstreamer-libs-sections.txt:
15373 * docs/libs/gstreamer-libs.types:
15374 * examples/Makefile.am:
15375 * examples/controller/.cvsignore:
15376 * examples/controller/Makefile.am:
15377 * examples/controller/audio-example.c: (main):
15378 * libs/gst/Makefile.am:
15379 * libs/gst/controller/.cvsignore:
15380 * libs/gst/controller/Makefile.am:
15381 * libs/gst/controller/gst-controller.c:
15382 (on_object_controlled_property_changed), (gst_timed_value_compare),
15383 (gst_timed_value_find),
15384 (gst_controlled_property_set_interpolation_mode),
15385 (gst_controlled_property_new), (gst_controlled_property_free),
15386 (gst_controller_find_controlled_property),
15387 (gst_controller_new_valist), (gst_controller_new),
15388 (gst_controller_remove_properties_valist),
15389 (gst_controller_remove_properties), (gst_controller_set),
15390 (gst_controller_set_from_list), (gst_controller_unset),
15391 (gst_controller_get), (gst_controller_get_all),
15392 (gst_controller_sink_values), (gst_controller_get_value_arrays),
15393 (gst_controller_get_value_array),
15394 (gst_controller_set_interpolation_mode),
15395 (_gst_controller_finalize), (_gst_controller_init),
15396 (_gst_controller_class_init), (gst_controller_get_type):
15397 * libs/gst/controller/gst-controller.h:
15398 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
15399 (g_object_uncontrol_properties), (g_object_get_controller),
15400 (g_object_set_controller), (g_object_sink_values),
15401 (g_object_get_value_arrays), (g_object_get_value_array):
15402 * libs/gst/controller/gst-interpolation.c:
15403 (gst_controlled_property_find_timed_value_node),
15404 (interpolate_none_get), (interpolate_trigger_get),
15405 (interpolate_trigger_get_value_array):
15406 * libs/gst/controller/lib.c: (gst_controller_init):
15407 * pkgconfig/Makefile.am:
15408 * pkgconfig/gstreamer-control-uninstalled.pc.in:
15409 * pkgconfig/gstreamer-control.pc.in:
15410 * testsuite/Makefile.am:
15411 * testsuite/controller/.cvsignore:
15412 * testsuite/controller/Makefile.am:
15413 * testsuite/controller/interpolator.c: (main):
15414 added controller code
15415 removed dparam pc files
15417 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
15418 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
15419 (gst_collectpads_stop):
15420 Broadcast the condition when shutting down, to make sure we wake all
15421 threads up. Shut down pads on finalize, for safety.
15423 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
15424 * gst/base/gstbasetransform.c: (gst_base_transform_init),
15425 (gst_base_transform_handle_buffer),
15426 (gst_base_transform_change_state):
15427 Handle PAUSED->READY->PAUSED transition after negotiation
15429 * gst/gstmessage.c: (gst_message_init):
15430 Extra piece of debug for new messages.
15432 2005-08-01 Stefan Kost <ensonic@users.sf.net>
15435 * docs/gst/tmpl/gstbasesrc.sgml:
15436 * docs/gst/tmpl/gstelement.sgml:
15437 * docs/gst/tmpl/gstevent.sgml:
15438 * docs/gst/tmpl/gstfakesrc.sgml:
15439 * docs/gst/tmpl/gstformat.sgml:
15440 * docs/gst/tmpl/gstghostpad.sgml:
15441 * docs/gst/tmpl/gstpad.sgml:
15442 * docs/gst/tmpl/gstquery.sgml:
15443 * docs/gst/tmpl/gststructure.sgml:
15444 * docs/gst/tmpl/gsttaglist.sgml:
15445 * docs/gst/tmpl/gstvalue.sgml:
15446 * docs/libs/gstreamer-libs-docs.sgml:
15447 * docs/libs/gstreamer-libs-sections.txt:
15448 * docs/libs/gstreamer-libs.types:
15449 * libs/gst/Makefile.am:
15450 * libs/gst/control/.cvsignore:
15451 * libs/gst/control/Makefile.am:
15452 * libs/gst/control/control.c:
15453 * libs/gst/control/control.h:
15454 * libs/gst/control/dparam.c:
15455 * libs/gst/control/dparam.h:
15456 * libs/gst/control/dparam_smooth.c:
15457 * libs/gst/control/dparam_smooth.h:
15458 * libs/gst/control/dparamcommon.h:
15459 * libs/gst/control/dparammanager.c:
15460 * libs/gst/control/dparammanager.h:
15461 * libs/gst/control/dplinearinterp.c:
15462 * libs/gst/control/dplinearinterp.h:
15463 * libs/gst/control/unitconvert.c:
15464 * libs/gst/control/unitconvert.h:
15465 * testsuite/Makefile.am:
15466 * testsuite/dynparams/.cvsignore:
15467 * testsuite/dynparams/Makefile.am:
15468 * testsuite/dynparams/dparamstest.c:
15469 * tools/Makefile.am:
15470 * tools/gst-inspect.c: (print_element_info), (main):
15471 * tools/gst-xmlinspect.c: (print_element_info), (main):
15472 deactivate and remove dparams (libgstcontrol)
15474 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15476 * gst/elements/gsttypefindelement.c:
15477 (gst_type_find_element_have_type), (gst_type_find_element_init),
15478 (stop_typefinding), (gst_type_find_element_handle_event),
15479 (gst_type_find_element_chain), (gst_type_find_element_getrange):
15480 * gst/elements/gsttypefindelement.h:
15481 Set caps on all outgoing buffers, not just the first one.
15483 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15485 * gst/elements/gsttypefindelement.c:
15486 (gst_type_find_element_have_type),
15487 (gst_type_find_element_check_set_buffer_caps),
15488 (gst_type_find_element_init), (stop_typefinding),
15489 (gst_type_find_element_handle_event),
15490 (gst_type_find_element_chain), (gst_type_find_element_getrange):
15491 * gst/elements/gsttypefindelement.h:
15492 Set caps on first outgoing buffer when we've found the type.
15494 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
15496 * docs/gst/gstreamer-docs.sgml:
15497 * docs/gst/gstreamer-sections.txt:
15498 * docs/gst/tmpl/gstscheduler.sgml:
15499 * docs/gst/tmpl/gstschedulerfactory.sgml:
15500 Remove some old cruft from docs.
15502 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
15505 Fix inline docs for GstPadLinkReturn.
15507 * gst/gststructure.c: (gst_structure_has_name):
15508 * gst/gststructure.h:
15509 * docs/gst/gstreamer-sections.txt:
15510 New API: gst_structure_has_name().
15512 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
15515 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
15516 and _LARGEFILE_SOURCE in config.h as required. Do not
15517 export those flags in our .pc files any longer (#142209).
15519 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
15521 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
15522 (gst_file_sink_do_seek), (gst_file_sink_event),
15523 (gst_file_sink_get_current_offset), (gst_file_sink_render):
15524 Redo seek/tell calls with large file support in mind; add some
15525 debugging messages; add log message that tells us when large
15526 file support is unavailable or not enabled for some reason.
15528 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
15529 Add log message that tells us when large file support
15530 is unavailable or not enabled for some reason.
15532 2005-07-29 Wim Taymans <wim@fluendo.com>
15534 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15535 Added test for removing an element with ghostpad from a bin.
15536 Fixed test as current implementation does the right thing.
15538 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
15539 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
15540 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
15541 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
15542 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
15543 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
15544 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
15545 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
15546 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
15547 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
15548 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
15549 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
15550 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
15551 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
15552 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
15553 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
15554 * gst/gstghostpad.h:
15555 Clean up ghostpads, remove properties for internal stuff.
15558 Prepare for switching targets, not all use cases work yet.
15560 2005-07-29 Wim Taymans <wim@fluendo.com>
15562 * docs/design/part-gstghostpad.txt:
15565 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15566 (gst_bin_remove_func):
15567 Unlinking pads while holding the bin LOCK is not a good
15570 * gst/gstpad.c: (gst_pad_class_init),
15571 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
15572 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
15573 No prob setting template after creating the pad.
15575 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
15577 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
15578 (gst_bus_peek), (gst_bus_source_dispatch),
15579 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
15580 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
15581 gst_bus_poll may be called from other threads. Handle
15582 this nicely by not making poll_data disappear off the
15583 stack once gst_bus_poll returns.
15584 gst_bus_peek now increments the refcount on the returned
15587 2005-07-29 Wim Taymans <wim@fluendo.com>
15589 * docs/design/part-gstghostpad.txt:
15590 Overview of current GhostPad datastructures and use
15591 cases for changing the target.
15593 2005-07-28 Wim Taymans <wim@fluendo.com>
15595 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
15596 Added checks for hierarchy consistency whan adding linked
15599 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
15600 Added check to test element scheduling without bin/pipeline.
15602 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
15603 First add elements to bin, then link.
15605 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
15606 (gst_bin_remove_func):
15607 Unlink pads from elements added/removed from bin to maintain
15608 hierarchy consistency.
15610 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15612 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
15613 (gst_base_transform_handle_buffer):
15614 * gst/base/gstbasetransform.h:
15615 Remove broken delay_configure (fixes renegotiation of software
15616 scaling pipelines); remove some leftover printf()s.
15618 2005-07-28 Wim Taymans <wim@fluendo.com>
15620 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
15621 Added some more tests for wrong hierarchy
15623 * docs/design/part-overview.txt:
15626 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
15629 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
15630 (gst_element_dispose):
15631 Some more cleanups.
15633 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15634 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
15635 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15636 (gst_pad_set_caps), (gst_pad_send_event):
15637 Check for correct hierarchy when linking pads. Moving to
15638 strict requirement for ghostpads when linking elements in
15642 Clean ups. Added WRONG_HIERARCHY return value.
15644 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15646 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
15647 Better debug if no transform is possible.
15649 2005-07-27 Wim Taymans <wim@fluendo.com>
15651 * docs/random/wtay/network-transp:
15652 Some old doc I had.
15654 2005-07-27 Wim Taymans <wim@fluendo.com>
15656 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15657 (gst_dp_event_from_packet):
15658 Fix serialization of seek events.
15660 2005-07-27 Wim Taymans <wim@fluendo.com>
15662 * check/gst-libs/gdp.c: (GST_START_TEST):
15663 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15664 Fix compilation and fix event serialization.
15666 2005-07-27 Wim Taymans <wim@fluendo.com>
15669 * docs/design/part-TODO.txt:
15670 * docs/design/part-events.txt:
15673 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15674 (gst_base_sink_event), (gst_base_sink_do_sync),
15675 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15676 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
15677 (gst_base_src_do_seek), (gst_base_src_event_handler),
15678 (gst_base_src_loop):
15679 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
15680 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15681 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
15682 (gst_base_transform_event), (gst_base_transform_handle_buffer),
15683 (gst_base_transform_set_passthrough),
15684 (gst_base_transform_is_passthrough):
15685 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
15686 * gst/elements/gstfilesink.c: (gst_file_sink_event):
15692 * gst/gstelement.c: (gst_element_seek):
15693 * gst/gstelement.h:
15694 Update gst_element_seek.
15696 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
15697 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
15698 (gst_event_new_flush_start), (gst_event_new_flush_stop),
15699 (gst_event_new_eos), (gst_event_new_newsegment),
15700 (gst_event_parse_newsegment), (gst_event_new_tag),
15701 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
15702 (gst_event_parse_qos), (gst_event_new_seek),
15703 (gst_event_parse_seek), (gst_event_new_navigation):
15705 Make GstEvent use GstStructure. Add parsing code, make sure the
15706 API is sufficiently generic.
15707 Mark possible directions of events and serialization.
15709 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
15710 (_gst_message_copy), (gst_message_new_segment_start),
15711 (gst_message_new_segment_done), (gst_message_new_custom),
15712 (gst_message_parse_segment_start),
15713 (gst_message_parse_segment_done):
15716 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
15717 (gst_pad_set_caps), (gst_pad_send_event):
15718 Update for new events.
15719 Catch events sent in wrong directions.
15721 * gst/gstqueue.c: (gst_queue_link_src),
15722 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15723 (gst_queue_handle_src_query):
15728 Remove event code from this file.
15730 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
15731 (gst_dp_event_from_packet):
15734 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15736 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
15737 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
15738 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
15739 Make debugging actually useful.
15741 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15743 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
15744 (gst_pad_fixate_caps):
15745 Implement default fixation once again, so that gst_pad_fixate()
15746 actually does anything at all. This probably needs to be some
15747 sort of a last resort, and use profile-based fixation first, but
15748 since that doesn't exist yet, this is the best we have. Fixes
15749 visualization in Totem.
15751 2005-07-22 Wim Taymans <wim@fluendo.com>
15753 * docs/design/part-events.txt:
15756 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15757 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
15758 (gst_base_sink_activate_pull):
15759 Some more comments.
15761 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
15762 (gst_fake_src_create):
15763 Fix handoff marshall.
15765 * gst/elements/gstidentity.c: (gst_identity_class_init),
15766 (gst_identity_transform_ip):
15767 We're a real inplace element.
15769 * gst/gstbus.c: (gst_bus_post):
15770 Added some comments.
15772 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
15773 * tests/muxing/case1.c: (main):
15774 * tests/sched/dynamic-pipeline.c: (main):
15775 * tests/sched/interrupt1.c: (main):
15776 * tests/sched/interrupt2.c: (main):
15777 * tests/sched/interrupt3.c: (main):
15778 * tests/sched/runxml.c: (main):
15779 * tests/sched/sched-stress.c: (main):
15780 * tests/seeking/seeking1.c: (event_received), (main):
15781 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
15783 * tests/threadstate/threadstate3.c: (main):
15784 * tests/threadstate/threadstate4.c: (main):
15785 * tests/threadstate/threadstate5.c: (main):
15788 2005-07-21 Wim Taymans <wim@fluendo.com>
15790 * docs/design/part-seeking.txt:
15791 Some small additions.
15793 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15794 (gst_base_sink_get_times), (gst_base_sink_do_sync),
15795 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
15796 * gst/base/gstbasesink.h:
15797 discont values are gint64, handle the math correctly.
15799 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15800 Make the basesrc report error if the source pad is not linked.
15802 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
15803 (gst_queue_loop), (gst_queue_handle_src_query),
15804 (gst_queue_src_activate_push):
15805 Make queue collect data even if the srcpad is not linked.
15806 Start pushing out data as soon as it is linked.
15808 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
15810 Added gst_flow_get_name() to ease error reporting.
15812 2005-07-20 Wim Taymans <wim@fluendo.com>
15814 * gst/gstmessage.c: (gst_message_new_segment_start),
15815 (gst_message_new_segment_done), (gst_message_parse_segment_start),
15816 (gst_message_parse_segment_done):
15817 * gst/gstmessage.h:
15818 Added a bunch of messages for advanced seeking.
15820 * gst/parse/grammar.y:
15821 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
15822 (gst_dpman_state_changed):
15823 Fix some new-pad -> pad-added signals
15825 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15827 * docs/manual/appendix-porting.xml:
15828 * docs/pwg/appendix-porting.xml:
15829 Document new-pad/state-change signal renames and the FixedList
15832 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15834 * docs/manual/advanced-autoplugging.xml:
15835 * docs/manual/basics-helloworld.xml:
15836 * docs/manual/basics-pads.xml:
15837 * docs/random/ds/0.9-suggested-changes:
15838 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
15839 * gst/gstelement.h:
15843 * gst/gststructure.c: (gst_structure_value_get_generic_type),
15844 (gst_structure_parse_array), (gst_structure_parse_value):
15845 * gst/gstvalue.c: (gst_type_is_fixed),
15846 (gst_value_list_prepend_value), (gst_value_list_append_value),
15847 (gst_value_list_get_size), (gst_value_list_get_value),
15848 (gst_value_transform_array_string), (gst_value_serialize_array),
15849 (gst_value_deserialize_array), (gst_value_intersect_array),
15850 (gst_value_is_fixed), (_gst_value_initialize):
15852 GstElement::new-pad -> pad-added, GstElement::state-change ->
15853 state-changed, GstValueFixedList -> GstValueArray, add format and
15854 flags as their own arguments in gst_element_seek() (should improve
15855 "bindeability"), remove function generators since they don't work
15856 under a whole bunch of compilers (they were deprecated already
15859 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15861 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
15862 (_gst_debug_register_funcptr):
15864 Fix illegal cast on some platforms (#309253).
15866 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15868 * gst/gstmessage.c: (gst_message_new_custom):
15869 * gst/gstmessage.h:
15870 Add _new_custom, make _new_application a macro to _new_custom.
15872 2005-07-20 Wim Taymans <wim@fluendo.com>
15874 * gst/base/gstbasesrc.c: (gst_base_src_init),
15875 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
15876 * gst/base/gstbasesrc.h:
15877 Add a gboolean to decide when to push out a discont.
15879 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15880 (gst_queue_loop), (gst_queue_handle_src_query),
15881 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
15882 (gst_queue_set_property), (gst_queue_get_property):
15885 * tests/threadstate/threadstate1.c: (main):
15886 Make a thread test compile and run... very silly..
15889 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15891 * docs/manual/appendix-porting.xml:
15892 Mention removal of libgstgconf-0.9.la and existence of gconf
15895 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
15897 * docs/pwg/advanced-clock.xml:
15898 * docs/pwg/appendix-porting.xml:
15899 * docs/pwg/intro-preface.xml:
15900 * docs/pwg/other-base.xml:
15901 * docs/pwg/other-manager.xml:
15902 * docs/pwg/other-nton.xml:
15903 * docs/pwg/other-ntoone.xml:
15904 * docs/pwg/other-oneton.xml:
15905 * docs/pwg/pwg.xml:
15906 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
15907 demuxer), remove n-to-n (was never written), fix some code examples
15908 and links and update the porting section to include all this.
15910 2005-07-19 Wim Taymans <wim@fluendo.com>
15912 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
15913 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
15914 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
15915 (gst_queue_src_activate_push), (gst_queue_change_state),
15916 (gst_queue_get_property):
15918 Propagate GstFlowReturn more intelligently upstream and output
15919 an ERROR/EOS when streaming stopped due to fatal error.
15921 2005-07-19 Wim Taymans <wim@fluendo.com>
15923 * tools/gst-launch.c: (check_intr), (event_loop), (main):
15924 Don't block forever for the state change to complete, the
15925 pipeline already did with a sensible timeout.
15927 2005-07-19 Wim Taymans <wim@fluendo.com>
15929 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
15930 Make sure we never call the create function is we
15933 2005-07-19 Andy Wingo <wingo@pobox.com>
15935 * gst/parse/parse.l: Attempt to solve bug #172815.
15937 2005-07-19 Wim Taymans <wim@fluendo.com>
15939 * docs/design/part-clocks.txt:
15940 * docs/design/part-events.txt:
15941 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
15942 Small docs updates.
15943 Only update the seeking values when we are not
15946 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
15948 * gst/base/gstbasesrc.c: (gst_base_src_loop):
15949 Oops, ignore the result of gst_pad_push_event here.
15951 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
15953 * gst/base/gstbasesrc.c: (gst_base_src_loop),
15954 (gst_base_src_activate_push):
15955 Send discont event from the loop function, as pads
15956 aren't activated yet in the activate_push handler.
15958 * gst/gstbin.c: (bin_bus_handler):
15959 Don't leak element name.
15961 2005-07-18 Andy Wingo <wingo@pobox.com>
15963 * configure.ac: Use AS_LIBTOOL_TAGS.
15965 2005-07-18 Wim Taymans <wim@fluendo.com>
15967 * docs/gst/gstreamer.types:
15968 Remove deleted types.
15970 2005-07-18 Wim Taymans <wim@fluendo.com>
15972 * check/elements/gstfakesrc.c: (GST_START_TEST):
15975 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
15976 (init_popt_callback):
15978 * gst/gst_private.h:
15979 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
15980 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
15983 * gst/gstconfig.h.in:
15984 * gst/gstelement.c: (gst_element_class_init),
15985 (gst_element_set_base_time), (gst_element_get_base_time),
15986 (iterator_fold_with_resync), (gst_element_change_state),
15987 (gst_element_dispose), (gst_element_get_bus):
15988 * gst/gstelement.h:
15989 * gst/gstelementfactory.h:
15990 * gst/gsterror.c: (_gst_core_errors_init):
15993 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
15995 * gst/gstinfo.c: (_gst_debug_init):
15996 * gst/gstmessage.c: (_gst_message_copy):
15997 * gst/gstmessage.h:
15998 * gst/gstminiobject.h:
16001 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16002 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
16005 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16006 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
16007 (gst_pipeline_get_last_stream_time):
16008 * gst/gstpipeline.h:
16009 * gst/gstpluginfeature.h:
16011 * gst/gstscheduler.c:
16012 * gst/gstscheduler.h:
16013 * gst/gststructure.h:
16014 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
16015 (gst_task_finalize), (gst_task_func), (gst_task_create),
16016 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
16017 (gst_task_stop), (gst_task_pause):
16019 * gst/gsttypefind.h:
16021 * gst/registries/gstlibxmlregistry.c: (load_feature),
16022 (gst_xml_registry_load), (gst_xml_registry_save_feature):
16023 * gst/registries/gstxmlregistry.c:
16024 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
16025 * gst/schedulers/threadscheduler.c:
16026 * libs/gst/control/dparammanager.h:
16027 * tools/gst-inspect.c: (print_element_list),
16028 (print_plugin_features), (print_element_features):
16029 * tools/gst-xmlinspect.c: (print_element_list),
16030 (print_plugin_info), (main):
16031 Removed plugable schedulers.
16032 Removed Scheduler/Manager from elements.
16033 Removed gsttypes.h, rearranged includes.
16034 Removed dependency pad<->element, element<>pipeline, and
16035 various others, fix includes.
16036 implement gst_pad_get_parent() with gst_object_get_parent()
16037 Make GstTask sefcontained.
16038 Fix _get_state() on GstBin, it did not return ASYNC with a 0
16040 Fix endless loop in iterator_fold_with_resync.
16043 2005-07-18 Wim Taymans <wim@fluendo.com>
16049 2005-07-18 Wim Taymans <wim@fluendo.com>
16052 No more cothreads.h
16054 2005-07-18 Wim Taymans <wim@fluendo.com>
16058 Let's remove these.
16060 2005-07-18 Wim Taymans <wim@fluendo.com>
16062 * docs/design/part-dynamic.txt:
16063 * docs/design/part-events.txt:
16064 * docs/design/part-seeking.txt:
16065 Some more docs in the works.
16067 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
16068 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
16069 (gst_base_transform_setcaps), (gst_base_transform_get_size),
16070 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
16071 (gst_base_transform_handle_buffer),
16072 (gst_base_transform_sink_activate_push),
16073 (gst_base_transform_src_activate_pull),
16074 (gst_base_transform_set_passthrough),
16075 (gst_base_transform_is_passthrough):
16078 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
16081 * gst/gstevent.c: (gst_event_finalize):
16084 * gst/gstutils.c: (gst_element_unlink),
16085 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
16086 (gst_pad_proxy_setcaps):
16088 Add _get_parent_element() to get a pads parent as an element.
16090 2005-07-18 Wim Taymans <wim@fluendo.com>
16092 * check/gst/gstbin.c: (GST_START_TEST):
16095 2005-07-18 Wim Taymans <wim@fluendo.com>
16097 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16098 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16099 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16100 (gst_base_sink_event), (gst_base_sink_do_sync),
16101 (gst_base_sink_chain), (gst_base_sink_loop),
16102 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
16103 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
16105 Fix logic for returning ASYNC when not prerolled.
16107 2005-07-18 Wim Taymans <wim@fluendo.com>
16109 * gst/gstqueue.c: (gst_queue_handle_sink_event):
16110 Fix nasty refcount bug.
16112 2005-07-16 Philippe Khalaf <burger@speedy.org>
16114 * gst/elements/gstfdsrc.c:
16115 * gst/elements/gstfdsrc.h:
16116 * gst/elements/gstelements.c:
16117 * gst/elements/Makefile.am:
16118 Ported fdsrc to 0.9.
16120 2005-07-16 Wim Taymans <wim@fluendo.com>
16122 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16123 (gst_base_sink_do_sync):
16126 2005-07-16 Wim Taymans <wim@fluendo.com>
16128 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16129 (gst_base_sink_event), (gst_base_sink_get_times),
16130 (gst_base_sink_do_sync), (gst_base_sink_change_state):
16131 * gst/base/gstbasesink.h:
16132 Store and use discont values when syncing buffers as described
16135 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
16136 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
16137 (gst_base_src_activate_push):
16138 Push discont event when starting.
16140 * gst/elements/gstidentity.c: (gst_identity_transform):
16143 * gst/gstbin.c: (gst_bin_change_state):
16144 Small cleanups in base_time distribution.
16146 * gst/gstelement.c: (gst_element_set_base_time),
16147 (gst_element_get_base_time), (gst_element_change_state):
16148 * gst/gstelement.h:
16149 Added methods for the base_time of the element.
16152 * gst/gstpipeline.c: (gst_pipeline_send_event),
16153 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
16154 (gst_pipeline_get_last_stream_time):
16155 * gst/gstpipeline.h:
16157 Handle seeking as described in design doc, remove stream_time
16159 Cleanups clock and stream_time selection code. Added accessors
16160 for the stream_time.
16163 2005-07-16 Andy Wingo <wingo@pobox.com>
16165 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
16168 2005-07-16 Wim Taymans <wim@fluendo.com>
16170 * check/gst/gstbin.c: (GST_START_TEST):
16171 Make elements silent as the deep_notify refs the
16172 parent, which might make the test fail.
16174 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
16175 Don't hold the lock for too long.
16177 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
16179 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16180 Don't unref the caps we passed to gst_caps_make_writable() after
16181 passing them. gst_caps_make_writable() will do that for us.
16183 2005-07-15 Andy Wingo <wingo@pobox.com>
16185 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
16188 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
16189 own marshalling function for the handoff signal. Properly type the
16190 buffer as a buffer. Fixes some warnings. Should do a more general
16192 (gst_identity_class_init): Plug into the right marshaller.
16194 2005-07-15 Wim Taymans <wim@fluendo.com>
16196 * docs/design/part-TODO.txt:
16197 * docs/design/part-clocks.txt:
16198 * docs/design/part-element-sink.txt:
16199 * docs/design/part-events.txt:
16200 * docs/design/part-gstpipeline.txt:
16201 Updated docs, mostly DISCONT related.
16203 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
16205 * docs/pwg/building-pads.xml:
16206 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
16208 2005-07-15 Andy Wingo <wingo@pobox.com>
16210 * tools/gst-typefind.c: Update, add copyright block.
16212 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
16213 Normalize and truncate caps before fixation.
16216 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
16217 discards all but the first structure from its argument.
16219 2005-07-15 Wim Taymans <wim@fluendo.com>
16221 * gst/base/gstbasetransform.c: (gst_base_transform_init),
16222 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
16223 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
16224 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
16225 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
16226 (gst_base_transform_chain), (gst_base_transform_change_state),
16227 (gst_base_transform_set_passthrough),
16228 (gst_base_transform_is_passthrough):
16229 * gst/base/gstbasetransform.h:
16230 Make passthrough work using the bufferpools.
16231 Changed API a bit, subclasses have to write into a buffer
16232 provided by the base class.
16233 More debug info in nego functions.
16235 * gst/elements/gstidentity.c: (gst_identity_init),
16236 (gst_identity_transform):
16237 Port to new base class.
16239 2005-07-15 Wim Taymans <wim@fluendo.com>
16241 * gst/gstmessage.c: (gst_message_new_state_changed):
16242 * tools/gst-launch.c: (event_loop), (main):
16243 Totally dump messages in -launch with the -m option.
16244 Fix message name for State messages,
16246 2005-07-14 Wim Taymans <wim@fluendo.com>
16248 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16249 Post error messages on errors.
16251 2005-07-14 Wim Taymans <wim@fluendo.com>
16253 * gst/gstcaps.c: (gst_caps_do_simplify):
16257 Define error for stream stopped.
16259 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
16260 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
16261 Do proper return values.
16263 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
16264 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
16265 (gst_pad_get_range):
16266 Better return values.
16269 Reorganise return values, add macro to check for fatal errors.
16271 * gst/gstqueue.c: (gst_queue_chain):
16272 Return proper GstFlowReturn values,
16274 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
16276 * docs/gst/gstreamer-sections.txt:
16277 * docs/gst/gstreamer.types:
16278 * docs/gst/tmpl/gst.sgml:
16279 * docs/gst/tmpl/gstbasesink.sgml:
16280 * docs/gst/tmpl/gstbasesrc.sgml:
16281 * docs/gst/tmpl/gstbasetransform.sgml:
16282 * docs/gst/tmpl/gstbin.sgml:
16283 * docs/gst/tmpl/gstbuffer.sgml:
16284 * docs/gst/tmpl/gstcaps.sgml:
16285 * docs/gst/tmpl/gstclock.sgml:
16286 * docs/gst/tmpl/gstcompat.sgml:
16287 * docs/gst/tmpl/gstconfig.sgml:
16288 * docs/gst/tmpl/gstelement.sgml:
16289 * docs/gst/tmpl/gstelementdetails.sgml:
16290 * docs/gst/tmpl/gstelementfactory.sgml:
16291 * docs/gst/tmpl/gstenumtypes.sgml:
16292 * docs/gst/tmpl/gsterror.sgml:
16293 * docs/gst/tmpl/gstevent.sgml:
16294 * docs/gst/tmpl/gstfakesink.sgml:
16295 * docs/gst/tmpl/gstfakesrc.sgml:
16296 * docs/gst/tmpl/gstfilesink.sgml:
16297 * docs/gst/tmpl/gstfilesrc.sgml:
16298 * docs/gst/tmpl/gstfilter.sgml:
16299 * docs/gst/tmpl/gstformat.sgml:
16300 * docs/gst/tmpl/gstghostpad.sgml:
16301 * docs/gst/tmpl/gstimplementsinterface.sgml:
16302 * docs/gst/tmpl/gstindex.sgml:
16303 * docs/gst/tmpl/gstindexfactory.sgml:
16304 * docs/gst/tmpl/gstinfo.sgml:
16305 * docs/gst/tmpl/gstiterator.sgml:
16306 * docs/gst/tmpl/gstmacros.sgml:
16307 * docs/gst/tmpl/gstmemchunk.sgml:
16308 * docs/gst/tmpl/gstminiobject.sgml:
16309 * docs/gst/tmpl/gstobject.sgml:
16310 * docs/gst/tmpl/gstpad.sgml:
16311 * docs/gst/tmpl/gstpadtemplate.sgml:
16312 * docs/gst/tmpl/gstparse.sgml:
16313 * docs/gst/tmpl/gstpipeline.sgml:
16314 * docs/gst/tmpl/gstplugin.sgml:
16315 * docs/gst/tmpl/gstpluginfeature.sgml:
16316 * docs/gst/tmpl/gstquery.sgml:
16317 * docs/gst/tmpl/gstqueue.sgml:
16318 * docs/gst/tmpl/gstregistry.sgml:
16319 * docs/gst/tmpl/gstregistrypool.sgml:
16320 * docs/gst/tmpl/gstscheduler.sgml:
16321 * docs/gst/tmpl/gstschedulerfactory.sgml:
16322 * docs/gst/tmpl/gststructure.sgml:
16323 * docs/gst/tmpl/gstsystemclock.sgml:
16324 * docs/gst/tmpl/gsttaglist.sgml:
16325 * docs/gst/tmpl/gsttagsetter.sgml:
16326 * docs/gst/tmpl/gsttrace.sgml:
16327 * docs/gst/tmpl/gsttrashstack.sgml:
16328 * docs/gst/tmpl/gsttypefind.sgml:
16329 * docs/gst/tmpl/gsttypefindfactory.sgml:
16330 * docs/gst/tmpl/gsttypes.sgml:
16331 * docs/gst/tmpl/gsturihandler.sgml:
16332 * docs/gst/tmpl/gsturitype.sgml:
16333 * docs/gst/tmpl/gstutils.sgml:
16334 * docs/gst/tmpl/gstvalue.sgml:
16335 * docs/gst/tmpl/gstversion.sgml:
16336 * docs/gst/tmpl/gstxml.sgml:
16337 * docs/libs/tmpl/gstcontrol.sgml:
16338 * docs/libs/tmpl/gstdataprotocol.sgml:
16339 * docs/libs/tmpl/gstdparam.sgml:
16340 * docs/libs/tmpl/gstdplinint.sgml:
16341 * docs/libs/tmpl/gstdpman.sgml:
16342 * docs/libs/tmpl/gstdpsmooth.sgml:
16343 * docs/libs/tmpl/gstgetbits.sgml:
16344 * docs/libs/tmpl/gstunitconvert.sgml:
16345 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
16346 (gst_push_src_base_init), (gst_push_src_class_init),
16347 (gst_push_src_init), (gst_push_src_create):
16348 * gst/base/gstpushsrc.h:
16349 * gst/elements/gstelements.c:
16350 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
16351 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
16352 (gst_fake_sink_init), (gst_fake_sink_set_property),
16353 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
16354 (gst_fake_sink_event), (gst_fake_sink_preroll),
16355 (gst_fake_sink_render), (gst_fake_sink_change_state):
16356 * gst/elements/gstfakesink.h:
16357 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
16358 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
16359 (gst_fake_src_base_init), (gst_fake_src_class_init),
16360 (gst_fake_src_init), (gst_fake_src_event_handler),
16361 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
16362 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
16363 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
16364 (gst_fake_src_create_buffer), (gst_fake_src_create),
16365 (gst_fake_src_start), (gst_fake_src_stop):
16366 * gst/elements/gstfakesrc.h:
16367 * gst/elements/gstfilesink.c: (_do_init),
16368 (gst_file_sink_base_init), (gst_file_sink_class_init),
16369 (gst_file_sink_init), (gst_file_sink_dispose),
16370 (gst_file_sink_set_location), (gst_file_sink_set_property),
16371 (gst_file_sink_get_property), (gst_file_sink_open_file),
16372 (gst_file_sink_close_file), (gst_file_sink_query),
16373 (gst_file_sink_event), (gst_file_sink_render),
16374 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
16375 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
16376 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
16377 * gst/elements/gstfilesink.h:
16378 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
16379 (gst_file_src_class_init), (gst_file_src_init),
16380 (gst_file_src_finalize), (gst_file_src_set_location),
16381 (gst_file_src_set_property), (gst_file_src_get_property),
16382 (gst_file_src_map_region), (gst_file_src_map_small_region),
16383 (gst_file_src_create_mmap), (gst_file_src_create_read),
16384 (gst_file_src_create), (gst_file_src_is_seekable),
16385 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
16386 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
16387 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
16388 (gst_file_src_uri_handler_init):
16389 * gst/elements/gstfilesrc.h:
16390 more autistic cleanliness in functions/names/defines
16392 2005-07-13 Andy Wingo <wingo@pobox.com>
16394 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
16395 source couldn't negotiate.
16397 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
16401 * gst/gstutils.c (gst_element_link_pads_filtered): New old
16402 function. I am channeling Hades. Put your boots on suckers!!!
16404 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
16406 * testsuite/caps/Makefile.am:
16407 * testsuite/caps/value_compare.c:
16408 * testsuite/caps/value_intersect.c:
16409 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
16410 move two testsuite apps over to the check dir
16412 2005-07-12 Wim Taymans <wim@fluendo.com>
16414 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
16415 Added more debug info in the negotiate process.
16417 * gst/gstmessage.h:
16418 Prepare for segment playback.
16420 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
16426 * tools/gst-launch.c: (main):
16427 NULL pipeline on errors.
16429 2005-07-12 Andy Wingo <wingo@pobox.com>
16431 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
16432 not it comes from a malloc region. Make sure our copy gets freed.
16434 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16436 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
16437 * check/gst/gstmessage.c: (GST_START_TEST):
16438 * check/gst/gststructure.c: (GST_START_TEST),
16439 (gst_structure_suite), (main):
16441 * gst/gstelement.c: (gst_element_message_full):
16442 clean up GError and debug string now that they get copied
16443 * gst/gstmessage.c: (gst_message_new_error),
16444 (gst_message_new_warning), (gst_message_parse_error),
16445 (gst_message_parse_warning):
16446 use GST_TYPE_G_ERROR for structure_new, and take copies of
16447 arguments, so that we don't mess up refcounting
16449 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16451 * check/Makefile.am:
16452 add per-test valgrind targets
16453 * check/gst-libs/gdp.c: (GST_START_TEST),
16454 (gst_data_protocol_suite), (main):
16457 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
16459 * check/Makefile.am:
16460 instate more valgrindable tests
16461 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16462 (GST_START_TEST), (fakesrc_suite):
16463 * check/gst/gstpad.c: (GST_START_TEST):
16464 * check/gst/gststructure.c: (GST_START_TEST):
16466 * docs/gst/tmpl/gstminiobject.sgml:
16467 * gst/gstpad.c: (gst_pad_finalize):
16468 fix the static mutex leak
16470 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16472 * check/Makefile.am:
16473 add two more tests for valgrinding
16474 * check/gst/gstvalue.c: (GST_START_TEST):
16475 test refcount of deserialized buffer, found a leak
16476 * docs/gst/gstreamer-docs.sgml:
16477 * docs/gst/gstreamer-sections.txt:
16478 * docs/gst/gstreamer.types:
16479 * docs/gst/tmpl/gstminiobject.sgml:
16480 add miniobject to docs
16481 * gst/gstminiobject.c:
16483 * gst/gstvalue.c: (gst_value_deserialize_buffer),
16484 (gst_string_unwrap):
16485 fix a hard-to-find invalid write for one of the tests
16486 fix a leak for deserialized buffers
16488 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16490 * docs/pwg/advanced-events.xml:
16491 * docs/pwg/advanced-request.xml:
16492 * docs/pwg/advanced-scheduling.xml:
16493 * docs/pwg/appendix-porting.xml:
16494 * docs/pwg/building-boiler.xml:
16495 * docs/pwg/intro-preface.xml:
16496 * docs/pwg/other-ntoone.xml:
16497 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
16498 of example code and explanation for pad activation, loop() and
16499 getrange() functions and a bit more. Remove old comments pointing
16501 * examples/pwg/Makefile.am:
16502 Add loop/getrange examples.
16504 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16507 check for valgrind binary + some fixes
16509 valgrind suppressions for the tests
16510 * check/Makefile.am:
16511 add a valgrind: target that valgrinds the unit tests
16512 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
16513 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
16514 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16515 * check/gst/gstghostpad.c:
16517 * check/gst/gstdata.c:
16519 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
16520 (thread_unref), (gst_mini_object_suite), (main):
16522 * gst/gst.c: (gst_deinit):
16524 add a method to clean up.
16525 * gst/gstsystemclock.c: (gst_system_clock_dispose),
16526 (gst_system_clock_obtain):
16527 allow for disposing the system clock.
16528 * tools/gst-launch.c: (main):
16531 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
16533 * docs/gst/tmpl/gstbasesrc.sgml:
16534 * docs/gst/tmpl/gstfakesrc.sgml:
16535 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16536 (gst_base_src_init), (gst_base_src_set_property),
16537 (gst_base_src_get_property), (gst_base_src_get_range),
16538 (gst_base_src_start):
16539 * gst/base/gstbasesrc.h:
16540 add num-buffers property
16541 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16542 (gst_fakesrc_init), (gst_fakesrc_set_property),
16543 (gst_fakesrc_get_property), (gst_fakesrc_create),
16544 (gst_fakesrc_start):
16545 remove num-buffers property
16547 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16549 * docs/gst/gstreamer-sections.txt:
16550 * docs/gst/tmpl/gstbasesink.sgml:
16551 * docs/gst/tmpl/gstbasesrc.sgml:
16552 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
16553 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
16554 (gst_base_sink_finalize), (gst_base_sink_set_clock),
16555 (gst_base_sink_set_property), (gst_base_sink_get_property),
16556 (gst_base_sink_handle_object), (gst_base_sink_event),
16557 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16558 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
16559 (gst_base_sink_loop), (gst_base_sink_deactivate),
16560 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
16561 (gst_base_sink_change_state):
16562 * gst/base/gstbasesink.h:
16563 * gst/base/gstbasesrc.h:
16564 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
16565 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16566 (gst_filesink_init):
16567 more macro splitting
16569 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16571 * gst/gstelement.c: (gst_element_get_bus):
16573 * tools/gst-launch.c: (check_intr), (event_loop):
16576 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16578 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
16581 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
16583 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16584 (gst_base_src_finalize):
16585 add finalize method and clean up properly
16586 * gst/gstpipeline.c: (gst_pipeline_dispose):
16589 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16591 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
16593 add more things to check
16594 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
16595 * gst/gstelement.c:
16598 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16600 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16601 (GST_START_TEST), (fakesrc_suite):
16602 * check/gst-libs/gdp.c: (GST_START_TEST):
16603 * check/gst/gst.c: (GST_START_TEST):
16604 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
16605 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
16606 * check/gst/gstbus.c: (GST_START_TEST):
16607 * check/gst/gstcaps.c: (GST_START_TEST):
16608 * check/gst/gstdata.c: (GST_START_TEST):
16609 * check/gst/gstelement.c: (GST_START_TEST):
16610 * check/gst/gstghostpad.c: (GST_START_TEST):
16611 * check/gst/gstiterator.c: (GST_START_TEST):
16612 * check/gst/gstmessage.c: (GST_START_TEST):
16613 * check/gst/gstobject.c: (GST_START_TEST):
16614 * check/gst/gstpad.c: (GST_START_TEST):
16615 * check/gst/gststructure.c: (GST_START_TEST):
16616 * check/gst/gstsystemclock.c: (GST_START_TEST),
16617 (gst_systemclock_suite):
16618 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
16619 * check/gst/gstvalue.c: (GST_START_TEST):
16620 * check/pipelines/cleanup.c: (GST_START_TEST):
16621 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
16622 * check/states/sinks.c: (GST_START_TEST):
16623 * check/gstcheck.c: (gst_check_init):
16624 * check/gstcheck.h:
16625 add debugging category
16626 use GST_START_TEST now, so we add a debug line
16628 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
16630 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
16631 add test for state change message on a bin
16632 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
16634 * gst/gstbin.c: (gst_bin_init):
16635 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
16636 * gst/gstelement.c: (gst_element_post_message),
16637 (gst_element_set_state):
16638 * gst/gstelementfactory.c: (gst_element_factory_create):
16639 * gst/gstmessage.c: (gst_message_new):
16640 * gst/gstscheduler.c:
16641 various debugging additions and cleanups
16643 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16645 * check/Makefile.am:
16646 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
16648 adding tests for elements
16649 * gst/gstelement.c: (gst_element_dispose):
16651 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16653 * gst/registries/gstlibxmlregistry.c: (load_feature):
16654 plug more leaks. A simple gst_init() now is leakfree, yay.
16656 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16658 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
16659 (gst_xml_registry_load):
16660 plug another memleak
16662 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16665 use GST_SET_ERROR_CFLAGS
16666 * docs/faq/cvs.xml:
16667 change to ERROR_CFLAGS
16669 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
16672 make GST_ERROR_CFLAGS overridable and re-enable Werror
16673 * docs/faq/cvs.xml:
16674 add a note about error CFLAGS
16675 * docs/gst/tmpl/gstfakesrc.sgml:
16676 * gst/elements/gstfakesrc.c:
16677 comment out some unused code
16678 * gst/gst.c: (split_and_iterate):
16679 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
16683 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16685 * common/Makefile.am:
16686 * common/gtk-doc.mak:
16687 * docs/gst/Makefile.am:
16688 factor out gtk-doc.mak
16690 2005-07-07 Wim Taymans <wim@fluendo.com>
16692 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
16693 (gst_thread_scheduler_dispose):
16694 Unlock the STREAM_LOCK completely.
16696 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
16698 * check/Makefile.am:
16699 * check/elements/.cvsignore:
16700 * check/elements/gstfakesrc.c: (chain_func), (event_func),
16701 (START_TEST), (fakesrc_suite), (main):
16702 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16703 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
16704 (gst_fakesrc_create), (gst_fakesrc_start):
16705 * gst/elements/gstfakesrc.h:
16706 adding a first element test
16708 2005-07-07 Andy Wingo <wingo@pobox.com>
16710 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
16713 2005-07-07 Wim Taymans <wim@fluendo.com>
16719 2005-07-07 Wim Taymans <wim@fluendo.com>
16721 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
16722 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
16723 Allow subclasses to implement their own negotiation.
16725 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16727 * docs/design/part-gstbin.txt:
16728 * docs/design/part-gstpipeline.txt:
16729 Update design notes to reflect the movement of
16730 responsibility for bus handling from GstPipeline to
16733 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16736 Remove unnecessary queue2/3/4 examples.
16738 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
16740 * examples/Makefile.am:
16741 * examples/helloworld/helloworld.c: (event_loop), (main):
16742 * examples/queue/queue.c: (event_loop), (main):
16743 * examples/queue2/queue2.c: (main):
16744 Update a couple of the examples to work again.
16746 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16747 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
16748 Spelling corrections and extra debug.
16750 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
16751 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
16752 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
16754 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
16755 (gst_pipeline_change_state):
16756 * gst/gstpipeline.h:
16757 Move the bus handler for children to the GstBin, and create a
16758 separate bus for receiving messages from children to the one the
16759 bus sends 'upwards' on.
16761 2005-07-06 Wim Taymans <wim@fluendo.com>
16764 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16765 (gst_base_sink_handle_object), (gst_base_sink_loop),
16766 (gst_base_sink_change_state):
16767 * gst/base/gstbasesink.h:
16768 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16769 (gst_base_src_init), (gst_base_src_setcaps),
16770 (gst_base_src_getcaps), (gst_base_src_loop),
16771 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
16772 (gst_base_src_start), (gst_base_src_change_state):
16773 * gst/base/gstbasesrc.h:
16774 Make basesrc negotiate.
16775 Handle the case where preroll fails in basesink.
16778 2005-07-06 Wim Taymans <wim@fluendo.com>
16780 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
16781 Implement the fixate function.
16782 Clean up acceptcaps.
16784 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16786 * docs/pwg/building-filterfactory.xml:
16787 * docs/pwg/pwg.xml:
16788 Remove never-written filter-factory chapter; I'll add the various
16789 base classes to part 4 ("other element types") later on.
16791 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16793 * docs/pwg/advanced-negotiation.xml:
16794 * docs/pwg/building-boiler.xml:
16795 * docs/pwg/building-pads.xml:
16796 * docs/pwg/pwg.xml:
16797 * examples/pwg/Makefile.am:
16798 Add a chapter on caps negotiation, simplify the original code
16799 samples a bit w.r.t. caps negotiation, add link to the advanced
16800 section. Add a bunch of examples showing different use cases of
16801 different types of caps negotiation. Upstream renegotiation isn't
16802 fully documented yet since nobody knows how that works.
16804 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
16806 * check/gst/gstpad.c:
16807 * check/gstcheck.c:
16808 * gst/gstpad.c: (gst_pad_get_internal_links_default):
16809 if pad has no parent, return NULL as list of internal links
16811 2005-07-05 Andy Wingo <wingo@pobox.com>
16813 * gst/elements/gstfilesrc.c:
16814 * gst/elements/gstfakesrc.c:
16815 * gst/base/gstpushsrc.c:
16816 * gst/base/gstbasesrc.h:
16817 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
16819 2005-07-05 Stefan Kost <ensonic@users.sf.net>
16822 better report generation target (lcov needs a patch)
16824 2005-07-05 Andy Wingo <wingo@pobox.com>
16826 * gst/elements, testsuite: Null if we got it...
16828 2005-07-05 Wim Taymans <wim@fluendo.com>
16831 * libs/gst/dataprotocol/Makefile.am:
16832 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
16833 * libs/gst/dataprotocol/dataprotocol.h:
16834 * pkgconfig/Makefile.am:
16835 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
16836 * pkgconfig/gstreamer-dataprotocol.pc.in:
16837 Ported dataprotol to 0.9.
16838 Added pkgconfig files.
16840 2005-07-05 Andy Wingo <wingo@pobox.com>
16842 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
16843 Default to returning TRUE for the case when tranform_caps returns
16844 a fixed caps, like for identity or volume.
16846 * check/gst/gstbus.c (pound_bus_with_messages):
16847 * check/gst/gstmessage.c (START_TEST):
16848 * check/pipelines/simple_launch_lines.c (got_handoff): Application
16849 message API change.
16851 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
16852 logic weaks here: always run transform_caps, trying passthrough
16853 operation only if the original caps intersects with the transform.
16855 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
16856 source and sink caps.
16858 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
16859 Intersect the peer caps with the pad template before going into
16861 (gst_base_transform_transform_caps): More debugging.
16863 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
16866 2005-07-04 Edward Hervey <edward@fluendo.com>
16870 (gst_pad_add_*_probe): now returns the signal id for better wrapping
16873 2005-07-04 Andy Wingo <wingo@pobox.com>
16875 * check/gst/gstpad.c: Only set explicit caps on pads.
16877 2005-07-01 Andy Wingo <wingo@pobox.com>
16879 * tests/network-clock.scm: Commentary update.
16881 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
16882 Didn't really make sense, not implementable with basetransform,
16884 (gst_identity_transform): Unref inbuf via make_writable. Feeble
16885 attempt at implementing the sync property, needs an unlock method.
16887 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
16888 New func, by default returns the same caps (the identity
16890 (gst_base_transform_getcaps): Uses transform_caps to return
16891 something sensible.
16892 (gst_base_transform_setcaps): Complicated logic to get caps on
16893 both pads, even if they are different, and to call set_caps once
16894 for every time both pads get their caps set.
16895 (gst_base_transform_handle_buffer): Give the ref to the transform
16896 function. Allows in-place modification of the buffer.
16898 * gst/base/gstbasetransform.h (transform_caps): New class method.
16899 Given caps on one side, what can I do on the other.
16900 (set_caps): Take two caps, one for each side of the element.
16903 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
16904 caps in place. This is safe because we can check the mutability of
16905 the caps, and a good idea because fixate functions are just called
16906 as a matter of last resort. (Not actually implemented.)
16907 (gst_pad_set_caps): If the caps we're setting is actually the same
16908 as the existing pad caps, just update the pointer without calling
16909 setcaps. Assert that caps is either NULL or fixed, as per the
16912 * gst/gstghostpad.c: Update for fixate changes.
16914 2005-07-02 Andy Wingo <wingo@pobox.com>
16917 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
16918 two refcounts makes it immutable, which is enough. Doc more.
16920 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
16922 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
16923 Put the mini_object into GValue as a mini_object,
16924 not a gpointer, since that's how we declared
16927 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16929 * examples/pwg/Makefile.am:
16930 Fix buildbot again.
16932 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16934 * docs/pwg/building-testapp.xml:
16936 * examples/pwg/Makefile.am:
16939 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16942 * examples/Makefile.am:
16943 * examples/pwg/Makefile.am:
16944 * examples/pwg/extract.pl:
16945 Enable building the PWG examples.
16946 * docs/pwg/advanced-interfaces.xml:
16947 Add URI interface stub.
16948 * docs/pwg/advanced-types.xml:
16949 * docs/pwg/other-autoplugger.xml:
16950 * docs/pwg/appendix-porting.xml:
16951 * docs/pwg/pwg.xml:
16952 Add porting guide (mostly stubs), remove autoplugging (see ADM).
16953 * docs/pwg/building-boiler.xml:
16954 * docs/pwg/building-chainfn.xml:
16955 * docs/pwg/building-pads.xml:
16956 * docs/pwg/building-props.xml:
16957 * docs/pwg/building-state.xml:
16958 * docs/pwg/building-testapp.xml:
16959 Update the building-*.xml parts for 0.9 changes. All examples
16960 code blocks compile in examples/pwg/*.
16962 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
16964 * docs/manual/advanced-autoplugging.xml:
16965 * docs/manual/appendix-checklist.xml:
16966 * docs/manual/appendix-integration.xml:
16967 * docs/manual/highlevel-components.xml:
16968 Fix playbin/decodebin examples, update docs a bit, mention bus
16969 instead of signals in various places, mention kmplayer and
16970 kaffeine since they have a working GStreamer backend in the KDE
16973 2005-06-30 Wim Taymans <wim@fluendo.com>
16976 * docs/design/draft-ghostpads.txt:
16977 * docs/design/draft-push-pull.txt:
16978 * docs/design/draft-query.txt:
16979 * docs/design/part-TODO.txt:
16980 * docs/design/part-query.txt:
16981 Added CHANGES-0.9 doc, updated status of other docs.
16986 2005-06-30 Wim Taymans <wim@fluendo.com>
16988 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16989 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
16990 (gst_base_sink_change_state):
16991 * gst/base/gstbasesink.h:
16992 Some tweaks, only EOS and a buffer complete a preroll.
16994 2005-06-30 Andy Wingo <wingo@pobox.com>
16996 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
16997 activate_push down to the internal pad as well.
16999 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
17001 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17003 * gst/gsttaginterface.c:
17004 Some documentation fixes (#307394 and #307397).
17006 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
17008 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17010 * gst/gstvalue.c: (gst_value_intersect_list):
17011 Fix memleak (#309125).
17013 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17015 * docs/manual/advanced-dataaccess.xml:
17016 Fix fakesrc example to compile; doesn't work, bug somewhere...?
17017 * docs/manual/basics-pads.xml:
17018 Add reference for filtered caps to above chapter.
17020 2005-06-30 Wim Taymans <wim@fluendo.com>
17022 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
17023 (gst_bin_change_state):
17025 Lame attempt at making the state change function a bit
17028 2005-06-30 Wim Taymans <wim@fluendo.com>
17030 * docs/design/part-clocks.txt:
17031 * docs/design/part-element-sink.txt:
17032 * docs/design/part-events.txt:
17033 * docs/design/part-preroll.txt:
17034 * docs/design/part-states.txt:
17035 Some more tweeks and additions to the docs.
17037 2005-06-30 Wim Taymans <wim@fluendo.com>
17039 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17040 (default_have_data), (gst_pad_class_init), (gst_pad_init),
17041 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
17042 (gst_pad_check_pull_range), (gst_pad_get_range),
17043 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
17045 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
17046 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17047 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17048 (gst_pad_remove_buffer_probe):
17049 Removed atomic operations, use existing LOCK.
17050 Move exception handling out of main code path.
17052 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17054 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17055 (silly_return_true_function), (gst_pad_class_init),
17056 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
17057 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
17058 (gst_pad_send_event):
17059 Fix accumulator, add default value by using _emitv() instead
17060 of _emit() for signal emission.
17062 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17064 * docs/manual/advanced-dataaccess.xml:
17065 * examples/manual/Makefile.am:
17067 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
17070 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
17072 * gst/elements/gstfilesink.c: (gst_filesink_render):
17073 Simplify code so that we don't have to handle short
17074 writes and return GST_FLOW_ERROR if an error occured.
17076 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17078 * docs/gst/gstreamer-docs.sgml:
17079 Remove probes more.
17081 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17083 * docs/gst/gstreamer-sections.txt:
17084 * docs/gst/tmpl/gstpad.sgml:
17085 * docs/gst/tmpl/gstprobe.sgml:
17087 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
17088 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
17089 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
17090 (gst_pad_push_event), (gst_pad_send_event):
17092 * gst/gstutils.c: (gst_pad_add_data_probe),
17093 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
17094 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
17095 (gst_pad_remove_buffer_probe):
17097 Remove old probes, add new g-signal-based probes and some utility
17100 2005-06-29 Edward Hervey <edward@fluendo.com>
17102 * gst/gstelementfactory.c:
17105 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
17106 the definition to the header file.
17108 2005-06-29 Andy Wingo <wingo@pobox.com>
17110 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
17111 plugins from the source directory.
17113 2005-06-29 Wim Taymans <wim@fluendo.com>
17115 * docs/gst/tmpl/gstbuffer.sgml:
17116 * docs/gst/tmpl/gstclock.sgml:
17117 Some fixings for blantently wrong text.
17119 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
17121 * check/Makefile.am:
17122 * gst/gst.c: (add_path_func), (init_pre):
17123 * gst/gstregistry.c: (gst_registry_add_path):
17124 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
17125 only scan the GST_PLUGIN_PATH locations, and not add
17128 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
17130 * docs/gst/gstreamer-sections.txt:
17131 * docs/gst/tmpl/gstbasesrc.sgml:
17132 * gst/gstelement.c:
17133 * gst/gstelement.h:
17138 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17140 * docs/manual/advanced-autoplugging.xml:
17141 Fix autoplugging example.
17143 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17145 * docs/manual/advanced-autoplugging.xml:
17146 * docs/manual/mime-world.fig:
17147 Try to get autoplugging working, fix type detection. Fix text
17148 in hello-world image.
17150 2005-06-29 Wim Taymans <wim@fluendo.com>
17152 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17153 (gst_base_sink_change_state):
17157 map SIGNAL and BROADCAST to the right function.
17160 Remove redundant braces.
17162 * gst/gstpad.c: (gst_pad_set_caps):
17163 Don't call setcaps function when reseting caps to NULL.
17165 * gst/gstsystemclock.c: (gst_system_clock_dispose),
17166 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
17167 (gst_system_clock_id_unschedule):
17168 Use BROADCAST as this is what we do.
17170 2005-06-29 Wim Taymans <wim@fluendo.com>
17172 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17173 We are actually prerolling before commiting the state
17176 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
17178 * docs/manual/advanced-clocks.xml:
17179 * docs/manual/advanced-interfaces.xml:
17180 * docs/manual/advanced-metadata.xml:
17181 * docs/manual/advanced-position.xml:
17182 * docs/manual/advanced-schedulers.xml:
17183 * docs/manual/advanced-threads.xml:
17184 * docs/manual/appendix-porting.xml:
17185 * docs/manual/basics-bins.xml:
17186 * docs/manual/basics-bus.xml:
17187 * docs/manual/basics-elements.xml:
17188 * docs/manual/basics-helloworld.xml:
17189 * docs/manual/basics-pads.xml:
17190 * docs/manual/highlevel-components.xml:
17191 * docs/manual/manual.xml:
17192 * docs/manual/thread.fig:
17193 Update (until threads/scheduling) Application Development Manual;
17194 remove GstThread, add GstBus, add simple porting checklist, add
17195 documentation for tag writing, clocks, make all examples until this
17196 part compile and run.
17197 * examples/manual/Makefile.am:
17198 Update from changes to Application Development Manual; add bus
17199 example, remove thread example.
17201 2005-06-28 Wim Taymans <wim@fluendo.com>
17203 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
17204 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
17205 (gst_bus_source_dispatch):
17206 Add debugging messages.
17207 Make internal methods static.
17208 Handle the case where the bus is flushed in the handler.
17210 * gst/gstelement.c: (gst_element_get_bus):
17211 Fix refcount in _get_bus();
17213 * gst/gstpipeline.c: (gst_pipeline_change_state),
17214 (gst_pipeline_get_clock_func):
17215 Clock refcounting fixes.
17216 Handle the case where preroll timed out more gracefully.
17218 * gst/gstsystemclock.c: (gst_system_clock_dispose):
17219 Clean up the internal thread in dispose. This is needed
17220 for subclasses that actually get disposed.
17222 * gst/schedulers/threadscheduler.c:
17223 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
17224 (gst_thread_scheduler_dispose):
17225 Free thread pool in dispose.
17227 2005-06-28 Andy Wingo <wingo@pobox.com>
17229 * tests/network-clock-utils.scm (debug, print-event): New utils.
17231 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
17232 (*packet-loss*): Unified loss probability.
17233 (network-time): Report out-of-band events.
17235 * tests/plot-data: Add support for out-of-band events. Hack it
17236 into this script instead of passing it down the pipe; should fix
17239 2005-06-28 Wim Taymans <wim@fluendo.com>
17241 * docs/gst/gstreamer.types:
17242 * docs/gst/tmpl/gstbasesrc.sgml:
17243 * docs/gst/tmpl/gstpad.sgml:
17246 2005-06-28 Wim Taymans <wim@fluendo.com>
17248 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17249 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
17250 (gst_proxy_pad_do_fixatecaps):
17251 Correctly proxy the check_pull_range function.
17253 2005-06-28 Andy Wingo <wingo@pobox.com>
17255 * tests/network-clock.scm: Removed need for slib.
17257 2005-06-28 Wim Taymans <wim@fluendo.com>
17259 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
17260 (gst_basesink_preroll_queue_flush):
17261 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
17262 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
17263 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17264 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
17265 (gst_proxy_pad_set_property):
17268 * gst/gstqueue.c: (gst_queue_init):
17269 The deprecated pad loop function is removed now.
17271 2005-06-28 Andy Wingo <wingo@pobox.com>
17273 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
17274 New parameters, simulate network packet loss.
17276 * tests/network-clock-utils.scm: Initialize the RNG.
17278 2005-06-28 Wim Taymans <wim@fluendo.com>
17280 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
17281 (gst_basesink_event), (gst_basesink_deactivate):
17282 Flushing the preroll queue always needs to unlock the waiters.
17284 2005-06-28 Edward Hervey <edward@fluendo.com>
17286 * gst/gstpipeline.c: (gst_pipeline_send_event):
17287 Wheen a seek was successful on a pipeline, set the stream_time to the
17288 seek offset in order to have a synchronized stream_time.
17290 2005-06-28 Wim Taymans <wim@fluendo.com>
17292 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
17293 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
17294 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
17295 (gst_proxy_pad_do_fixatecaps):
17296 Call wrapper function instead of just calling the function
17297 pointers. This takes care of any locking and whatmore.
17299 2005-06-28 Wim Taymans <wim@fluendo.com>
17301 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
17302 (gst_pad_pull_range):
17304 CONNECTED -> LINKED.
17306 2005-06-28 Andy Wingo <wingo@pobox.com>
17308 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
17309 source-munging commit!!!
17311 * gst/gstobject.c (gst_object_unref, gst_object_ref)
17312 (gst_object_sink): Take gpointer arguments, not GstObject --
17313 avoids casts. Like GLib.
17315 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
17318 2005-06-27 Andy Wingo <wingo@pobox.com>
17320 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
17323 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
17324 returns a sorted copy of the trace list.
17325 (gst_alloc_trace_print_live): New API, only prints traces with
17326 live objects. Sort the list.
17327 (gst_alloc_trace_print_all): Sort the list.
17328 (gst_alloc_trace_print): Align columns.
17330 * gst/elements/gstttypefindelement.c:
17331 * gst/elements/gsttee.c:
17332 * gst/base/gstbasesrc.c:
17333 * gst/base/gstbasesink.c:
17334 * gst/base/gstbasetransform.c:
17335 * gst/gstqueue.c: Adapt for pad activation changes.
17337 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
17339 (gst_pipeline_dispose): Drop ref on sched.
17341 * gst/gstpad.c (gst_pad_init): Set the default activate func.
17342 (gst_pad_activate_default): Push mode by default.
17343 (pre_activate_switch, post_activate_switch): New stubs, things to
17344 do before and after switching activation modes on pads.
17345 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
17346 the pad's activate function to choose which mode to activate.
17347 Shortcut on deactivation and call the right function directly.
17348 (gst_pad_activate_pull): New API, (de)activates a pad in pull
17350 (gst_pad_activate_push): New API, same for push mode.
17351 (gst_pad_set_activate_function)
17352 (gst_pad_set_activatepull_function)
17353 (gst_pad_set_activatepush_function): Setters for new API.
17355 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
17356 Trace all miniobjects.
17357 (gst_mini_object_make_writable): Unref the arg if we copy, like
17358 gst_caps_make_writable.
17360 * gst/gstmessage.c (_gst_message_initialize): No trace init.
17362 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
17363 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
17364 Adapt for new pad API.
17366 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
17368 * gst/gstelement.h:
17369 * gst/gstelement.c (gst_element_iterate_src_pads)
17370 (gst_element_iterate_sink_pads): New API functions.
17372 * gst/gstelement.c (iterator_fold_with_resync): New utility,
17373 should fold into gstiterator.c in some form.
17374 (gst_element_pads_activate): Simplified via use of fold and
17375 delegation of decisions to gstpad->activate.
17377 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
17380 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
17381 class once in init, like gstmessage. Didn't run into this issue
17382 but it seems correct. Don't initialize a trace, gstminiobject does
17385 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
17386 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
17388 (assert_live_count): New util function, uses alloc traces to check
17391 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
17392 To be modified when unlink drops the internal pad.
17394 2005-06-27 Wim Taymans <wim@fluendo.com>
17396 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
17397 (gst_bin_change_state):
17398 Cleanup the get_state() function a little, make sure it
17399 iterates the same set of elements.
17400 Added stub iterate_state_order().
17402 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
17404 * docs/gst/gstreamer-docs.sgml:
17405 * docs/gst/gstreamer-sections.txt:
17406 * docs/gst/gstreamer.types:
17407 * docs/gst/tmpl/gstbasesink.sgml:
17408 * docs/gst/tmpl/gstbasesrc.sgml:
17409 * docs/gst/tmpl/gstbasetransform.sgml:
17410 * docs/gst/tmpl/gstelement.sgml:
17411 * docs/gst/tmpl/gstiterator.sgml:
17412 * gst/base/gstbasesrc.c:
17413 * gst/base/gstbasesrc.h:
17414 * gst/base/gstbasetransform.h:
17415 * gst/gstelement.c:
17416 * gst/gstiterator.h:
17417 adding basetransform and iterator docs
17419 2005-06-27 Andy Wingo <wingo@pobox.com>
17421 * docs/design/part-activation.txt: Notes on how activation should
17422 work -- not quite implemented yet.
17424 2005-06-25 Wim Taymans <wim@fluendo.com>
17426 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
17427 At least get the chain function correct, needs more
17430 2005-06-25 Wim Taymans <wim@fluendo.com>
17432 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17433 (gst_basesink_handle_object), (gst_basesink_event),
17434 (gst_basesink_do_sync), (gst_basesink_handle_event),
17435 (gst_basesink_change_state):
17437 Right, two problems here: ghostpads don't take locks and
17438 glib _rec_mutex_lock_full() with depth==0 still locks.
17439 Catch illegal locking and g_warn them.
17441 2005-06-25 Wim Taymans <wim@fluendo.com>
17443 * check/states/sinks.c: (START_TEST), (gst_object_suite):
17444 Have to check for completion now...
17446 2005-06-25 Wim Taymans <wim@fluendo.com>
17448 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
17449 (gst_basesink_handle_object), (gst_basesink_event),
17450 (gst_basesink_do_sync), (gst_basesink_handle_event),
17451 (gst_basesink_change_state):
17453 Unlock STREAM_LOCK whatever the recursion was.
17455 2005-06-25 Wim Taymans <wim@fluendo.com>
17457 * gst/base/gstbasesink.c: (gst_basesink_set_property),
17458 (gst_basesink_preroll_queue_empty),
17459 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
17460 (gst_basesink_event), (gst_basesink_do_sync),
17461 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
17462 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
17463 (gst_basesink_change_state):
17464 Reworked the base sink, handle event and buffer serialisation
17465 correctly and removed possible deadlock.
17466 Handle EOS correctly.
17468 2005-06-25 Wim Taymans <wim@fluendo.com>
17470 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
17471 (gst_pipeline_change_state):
17472 * tools/gst-launch.c: (check_intr), (event_loop), (main):
17473 Allow elements to post EOS in the state change function.
17474 Fix up -launch, make it exit the poll loop when the
17475 pipeline actually changed state.
17476 Fix up warning parsing in -launch.
17478 2005-06-25 Wim Taymans <wim@fluendo.com>
17480 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
17481 (gst_tee_sink_activate):
17482 Core takes STREAM_LOCK for us now.
17484 2005-06-25 Wim Taymans <wim@fluendo.com>
17486 * gst/gstelement.c: (gst_element_get_state_func),
17487 (gst_element_set_state):
17488 * gst/gstelement.h:
17489 * gst/gstmessage.c: (gst_message_parse_error),
17490 (gst_message_parse_warning):
17491 Keep track of current target state while performing a state
17492 change so that subclasses can do something interesting.
17493 Fix parsing of warning/error messages when GError is NULL.
17495 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
17497 * docs/gst/Makefile.am:
17498 * docs/gst/gstreamer-docs.sgml:
17499 * docs/gst/gstreamer-sections.txt:
17500 * docs/gst/gstreamer.types:
17501 * docs/gst/tmpl/gstbasesink.sgml:
17502 * docs/gst/tmpl/gstbasesrc.sgml:
17503 * docs/gst/tmpl/gstbin.sgml:
17504 * docs/gst/tmpl/gstcompat.sgml:
17505 * docs/gst/tmpl/gstfakesink.sgml:
17506 * docs/gst/tmpl/gstfakesrc.sgml:
17507 * docs/gst/tmpl/gstfilesink.sgml:
17508 * docs/gst/tmpl/gstfilesrc.sgml:
17509 * docs/gst/tmpl/gstindex.sgml:
17510 * docs/manual/appendix-quotes.xml:
17511 * gst/base/gstbasesrc.h:
17512 * gst/elements/gstfakesrc.h:
17513 * gst/gstmessage.h:
17514 start pulling in base classes and elements in our docs
17516 2005-06-24 Stefan Kost <ensonic@users.sf.net>
17518 * docs/gst/Makefile.am:
17519 * docs/libs/Makefile.am:
17520 fixed make distcheck with gtk-doc 1.3
17522 2005-06-23 Wim Taymans <wim@fluendo.com>
17524 * gst/gstelement.c: (gst_element_get_state_func),
17525 (gst_element_set_state), (gst_element_change_state):
17526 When the state did not change, also report NO_PREROLL
17529 2005-06-23 Wim Taymans <wim@fluendo.com>
17531 * gst/gstpad.c: (gst_pad_event_default):
17532 * gst/gstqueue.c: (gst_queue_loop):
17533 No unsafe task pausing please.
17535 2005-06-23 Wim Taymans <wim@fluendo.com>
17537 * gst/schedulers/threadscheduler.c:
17538 (gst_thread_scheduler_task_start),
17539 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
17540 Ref the task before pushing it on the threadpool. This
17541 makes sure that we have a ref when the threadfunction is
17544 2005-06-23 Andy Wingo <wingo@pobox.com>
17546 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
17547 offset is greater than the file's size.
17549 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
17550 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
17551 * gst/gstobject.c (gst_object_class_init): Make the class lock
17552 recursive. Wim won't let me drop deep_notify. Decodebin works
17553 again, whoopdy doo.
17555 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
17556 internal pad, and hacks accordingly. Doesn't do it on the target
17557 pad because we change its caps. Probably catches all cases of
17559 (gst_ghost_pad_set_property): Connect to notify::caps as
17562 * tests/network-clock.scm (plot-simulation): Pipe data to the
17563 elite python skript.
17565 * tests/network-clock-utils.scm (define-parameter): New macro,
17566 defines a parameter that can be set via the command line.
17567 (set-parameter!, parse-parameter-arguments): Command line args
17570 * tests/plot-data: Simple matplotlib-based plotter, takes input on
17573 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
17575 * gst/elements/gsttypefindelement.c:
17576 (gst_type_find_element_handle_event):
17577 Don't restart typefinding on a discont.
17578 * gst/gstelement.c: (gst_element_set_state):
17579 Debug spelling fix.
17580 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
17581 Allow changing mode of an active pad.
17582 Debug output fixes.
17583 * gst/registries/gstlibxmlregistry.c: (load_feature):
17584 Don't cast a static pad template to a normal pad template.
17586 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
17588 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17589 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17590 remove gst_strtoll completely, since it didn't actually do
17591 anything more than what g_ascii_strtoull already does.
17592 check for range errors when deserializing
17593 do a cast for the unsigned cases; but further fixing needs
17594 a decision on what the interpretation of "(int)" and
17595 deserialization should be for values that fall outside the
17596 type's boundaries (ie, refuse, or interpret as casting)
17598 2005-06-23 Wim Taymans <wim@fluendo.com>
17600 * check/Makefile.am:
17601 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
17602 * docs/design/part-live-source.txt:
17603 * docs/design/part-states.txt:
17604 * gst/base/gstbasesrc.c: (gst_basesrc_init),
17605 (gst_basesrc_set_live), (gst_basesrc_is_live),
17606 (gst_basesrc_get_range), (gst_basesrc_activate),
17607 (gst_basesrc_change_state):
17608 * gst/base/gstbasesrc.h:
17609 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17610 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
17611 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
17612 * gst/gstelement.c: (gst_element_get_state_func),
17613 (gst_element_set_state):
17614 * gst/gstelement.h:
17616 * tools/gst-launch.c: (event_loop), (main):
17617 Added support for live sources and other elements that
17619 Updated design docs, added live-source design doc.
17620 Implemented live source functionality in basesrc
17621 Fix error condition in _bin_get_state()
17622 Implement live source handling in -launch.
17623 Added check for live sources.
17624 Fixed case in GstBin where elements were changed state
17628 2005-06-23 Andy Wingo <wingo@pobox.com>
17630 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
17631 borken refcounting.
17633 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
17634 gst_caps_replace takes care of this for us.
17636 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
17637 gst_pad_set_caps on the target, not just its setcaps() function.
17639 * tests/network-clock.scm:
17640 * tests/network-clock-utils.scm: A network clock simulator.
17641 Something of an algorithmic testbed before doing something in C.
17643 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17645 * check/Makefile.am:
17646 * check/gst/capslist.h:
17647 copy over from 0.8, and add two with bitmasks specified with
17649 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17650 add test to parse everything from capslist.h
17651 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
17653 add test for structure deserialization
17654 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17655 add tests for deserialization of strings to int types
17656 * gst/gststructure.c: (gst_structure_nth_field_name):
17657 * gst/gststructure.h:
17658 add a way to get the name of a field referenced by index
17659 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
17660 instead of checking if the resulting long long lies between
17661 min and max, we check if the long long would fit into
17662 a number of bytes for the final type.
17663 This fixes cases where a string represents 2^32 - 1, which
17664 when cast to int would be the (valid) -1, but is bigger than
17667 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17669 * gst/parse/grammar.y:
17670 add a log line for type deserialization
17672 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
17674 * check/gst/gstvalue.c: (START_TEST):
17675 * gst/gstvalue.c: (gst_value_deserialize):
17676 return long long, not int, so gint64 deserialization actually
17677 works. Is there any flag that makes the compiler check this ?
17680 2005-06-22 Wim Taymans <wim@fluendo.com>
17683 Added convenience macros for setting buffers in GValue.
17685 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17687 * check/gst/.cvsignore:
17688 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
17689 add a test deserializing int64, and comment part out because
17692 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
17694 * check/Makefile.am:
17695 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
17696 * testsuite/Makefile.am:
17697 * testsuite/caps/Makefile.am:
17698 * testsuite/caps/value_serialize.c:
17699 * testsuite/test_gst_init.c:
17700 move a value_serialize test over
17702 2005-06-20 Wim Taymans <wim@fluendo.com>
17707 * gst/gstvalue.c: (gst_value_compare_buffer),
17708 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
17709 (gst_value_compare_flags), (gst_value_serialize_flags),
17710 (gst_value_deserialize_flags), (_gst_value_initialize):
17711 Fix serialisation of buffers, they are not boxed types anymore
17713 2005-06-20 Wim Taymans <wim@fluendo.com>
17715 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
17716 Testcase to show error in buffer-on-caps serialisation.
17718 2005-06-20 Andy Wingo <wingo@pobox.com>
17720 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
17721 will be adding to later.
17723 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
17724 if its socks fill with rocks.
17725 (gst_system_clock_obtain): Set the name on object construction.
17726 Avoid double-checked locking.
17728 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
17730 * gst/gsturi.c: (gst_element_make_from_uri):
17731 Fix potential endless loop.
17733 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17735 * check/Makefile.am:
17737 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
17739 move over from testsuite dir and clean up
17742 * testsuite/Makefile.am:
17743 * testsuite/tags/.cvsignore:
17744 * testsuite/tags/Makefile.am:
17745 * testsuite/tags/merge.c:
17746 remove testsuite/tags
17748 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17750 * docs/gst/gstreamer-sections.txt:
17751 * docs/gst/tmpl/gstenumtypes.sgml:
17752 * win32/gstenumtypes.c:
17753 clean up documentation build a little
17755 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17757 * check/gstcheck.h:
17758 add macros for checking refcounts on objects and caps
17759 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
17760 add some more unit tests
17761 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
17762 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
17763 fix leaked refcounts (I hope :)) so unittest works
17767 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
17769 * configure.ac: back to HEAD
17771 === release 0.9.1 ===
17773 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
17779 2005-06-17 Andy Wingo <wingo@pobox.com>
17781 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
17782 assert; it's always possible that the pad gets deactivated in
17783 between the checks in gstpad.c and the implementation. Rely on
17784 finish_preroll() to return a FLUSHING or similar instead of on the
17787 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
17788 clock and post an EOS message if we come out of finish_preroll in
17791 2005-06-16 David Schleef <ds@schleef.org>
17793 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
17794 (gst_capsfilter_set_property): Allow NULL as possible value
17795 for filter_caps property, indicating GST_CAPS_ANY.
17797 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17799 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
17801 * gst/schedulers/Makefile.am:
17803 * gstreamer.spec.in:
17806 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
17808 * gstreamer.spec.in:
17811 2005-06-08 Andy Wingo <wingo@pobox.com>
17813 * gst/gstutils.c: RPAD fixes all around.
17814 (gst_element_link_pads): Refcounting fixes.
17816 * tools/gst-inspect.c:
17817 * tools/gst-xmlinspect.c:
17819 * gst/base/gsttypefindhelper.c:
17820 * gst/base/gstbasesink.c:
17821 * gst/gstqueue.c: RPAD fixes.
17823 * gst/gstghostpad.h:
17824 * gst/gstghostpad.c: New ghost pad implementation as full proxy
17825 pads. The tricky thing is they provide both source and sink
17826 interfaces, since they proxy the internal pad for the external
17827 pad, and vice versa. Implement with lower-level ProxyPad objects,
17828 with the interior proxy pad as a child of the exterior ghost pad.
17829 Should write a doc on this.
17831 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
17832 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
17835 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
17836 pads are real pads. No ghost pads in this file. Not documenting
17837 the myriad s/RPAD/PAD/ and REALIZE fixes.
17838 (gst_pad_class_init): Add properties for "direction" and
17839 "template". Both are construct-only, so they can't change during
17840 the life of the pad. Fixes properly deriving from GstPad.
17841 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
17842 derived objects, just set properties when creating the objects via
17844 (gst_pad_get_parent): Implement as a function, return NULL if the
17845 parent is not an element.
17846 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
17847 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
17849 * gst/gstobject.c (gst_object_class_init): Make name a construct
17850 property. Don't set it in the object init.
17852 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
17853 with UNKNOWN direction.
17854 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
17855 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
17856 (gst_element_remove_pad): Remove ghost-pad special cases.
17857 (gst_element_pads_activate): Remove rpad cruft.
17859 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
17860 catch the pad's-parent-not-an-element case.
17862 * gst/gst.h: Include gstghostpad.h.
17864 * gst/gst.c (init_post): No more real, ghost pads.
17866 * gst/Makefile.am: Add gstghostpad.[ch].
17868 * check/Makefile.am:
17869 * check/gst/gstbin.c:
17870 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
17871 into a bin creates ghost pads, and that the refcounts are right.
17872 Partly moved from gstbin.c.
17874 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17876 * check/gst-libs/.cvsignore:
17877 * check/gst/.cvsignore:
17878 * check/pipelines/.cvsignore:
17880 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
17881 (START_TEST), (cleanup_suite), (main):
17882 add some tests related to cleanup after running pipelines
17884 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17886 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
17887 add a testsuite for GstBuffer
17889 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
17891 * gst/gstminiobject.h:
17892 add defines for accessing the refcount
17894 2005-06-03 Stefan Kost <ensonic@users.sf.net>
17896 * Makefile.am: added support for html unit test coverage reports
17898 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
17900 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
17901 Free existing caps if the capsfilter changes. Add a FIXME about
17902 setting those caps on the pads.
17904 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
17905 Before adding a ghost pad to a parent bin, check that there isn't
17906 already one for the element on the bin. Prevents infinite recursion
17907 when using decodebin in parse pipelines. Andy says he'll rewrite the
17908 way this works anyway, so ignore the hack.
17910 2005-06-02 Andy Wingo <wingo@pobox.com>
17912 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
17913 file size, pass it on to the type find helper.
17915 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
17916 segment_start and segment_end properly according to the seek
17917 method. Segment_end is still a bit flaky because offset can be
17918 negative for CUR and END cases, but it takes -1 as an "unset"
17921 2005-06-02 Wim Taymans <wim@fluendo.com>
17923 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
17924 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
17925 (gst_basesink_activate):
17926 * gst/base/gstbasesink.h:
17927 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
17928 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
17929 (gst_pad_query), (gst_pad_start_task):
17931 * gst/gstqueue.c: (gst_queue_bufferalloc),
17932 (gst_queue_handle_sink_event), (gst_queue_chain):
17933 Bufferalloc: return GstFlowReturn to more accuratly report
17934 why allocation failed.
17936 2005-06-02 Wim Taymans <wim@fluendo.com>
17938 * gst/gstpipeline.c: (gst_pipeline_send_event):
17939 Take snapshot of state without blocking.
17941 2005-06-02 Wim Taymans <wim@fluendo.com>
17943 * docs/design/part-TODO.txt:
17944 * docs/design/part-caps.txt:
17945 * docs/design/part-clocks.txt:
17946 * docs/design/part-negotiation.txt:
17947 * docs/design/part-preroll.txt:
17950 2005-05-30 Wim Taymans <wim@fluendo.com>
17952 * gst/elements/gstidentity.c: (gst_identity_event),
17953 (gst_identity_transform), (gst_identity_get_property):
17954 Protect last_message property as it is accessed from
17957 2005-05-30 Wim Taymans <wim@fluendo.com>
17959 * gst/gstelement.c: (gst_element_init),
17960 (gst_element_pads_activate), (gst_element_change_state):
17961 Slicker pad activation code.
17963 2005-05-30 Wim Taymans <wim@fluendo.com>
17966 * gst/gstelement.h:
17967 * gst/gstelementfactory.h:
17969 Move elementfactory methods to separate .h file.
17971 2005-05-30 Wim Taymans <wim@fluendo.com>
17973 * docs/design/part-overview.txt:
17974 * gst/gstsystemclock.h:
17975 Small typo fixes, doc updates.
17977 2005-05-30 Wim Taymans <wim@fluendo.com>
17979 * gst/gst.c: (gst_init_get_popt_table), (init_post),
17980 (init_popt_callback):
17981 Remove cpu-opt flag.
17983 2005-05-30 Wim Taymans <wim@fluendo.com>
17985 * gst/gstbuffer.c: (gst_subbuffer_finalize),
17986 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
17988 Avoid typechecking in places where not needed.
17989 Added accessor for malloc_data.
17991 2005-05-30 Wim Taymans <wim@fluendo.com>
17993 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
17994 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
17995 (gst_pad_configure_sink), (gst_pad_configure_src),
17996 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
17997 (gst_pad_start_task):
17998 Propagate errors from _set_caps() in configure_src/sink
17999 functions instead of returning TRUE.
18000 FLUSH events can travel up and downstream
18003 2005-05-30 Wim Taymans <wim@fluendo.com>
18005 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
18006 (gst_basesink_activate):
18007 Handle EOS in preroll.
18009 2005-05-30 Wim Taymans <wim@fluendo.com>
18011 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18012 (gst_queue_loop), (gst_queue_handle_src_event):
18013 Remove old pieces of code
18014 Flushing the queue in an upstream event is a very bad idea.
18016 2005-05-26 Andy Wingo <wingo@pobox.com>
18018 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
18019 gst_value_set_mini_object so as to add a ref on the object (which
18020 will be removed when the value is unset).
18022 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
18023 arg type in ::handoff.
18025 * gst/gstelement.c (gst_element_change_state): Also deactivate
18026 pads in READY->NULL, just in case the element didn't make it to
18027 PAUSED. Wingo tested, Wim approved.
18029 2005-05-26 Wim Taymans <wim@fluendo.com>
18031 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18032 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
18033 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
18034 A flushing pad cannot be used to alloc_buffer from.
18036 2005-05-26 Wim Taymans <wim@fluendo.com>
18038 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
18039 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
18040 (gst_bus_source_dispatch), (gst_bus_source_finalize),
18041 (gst_bus_create_watch), (gst_bus_add_watch_full):
18043 Implement a real GSource and use g_main_context_wakeup() to
18044 signal new messages instead of the socketpair.
18046 2005-05-25 Wim Taymans <wim@fluendo.com>
18048 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
18049 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
18050 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18051 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
18052 (gst_pad_send_event), (gst_pad_start_task):
18053 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
18054 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
18055 (gst_queue_sink_activate), (gst_queue_src_activate),
18056 (gst_queue_change_state):
18058 Fix state changes for non sinks. We now change sinks, then elements
18059 with unconnected srcpads, then the rest.
18060 More efficient queue unlocking in flush and state changes.
18061 Set the pad activate mode even if it does not have an activate
18064 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18066 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
18067 Don't go in pull mode for non-seekable sources.
18068 * gst/elements/gsttypefindelement.h:
18069 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18070 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
18071 (free_entry), (stop_typefinding),
18072 (gst_type_find_element_handle_event), (find_peek),
18073 (gst_type_find_element_chain), (do_pull_typefind),
18074 (gst_type_find_element_change_state):
18075 Allow typefinding (w/o seeking) in push-mode, simplified version
18076 of what was in 0.8.
18077 * gst/gstutils.c: (gst_buffer_join):
18079 gst_buffer_join() from 0.8.
18081 2005-05-25 Wim Taymans <wim@fluendo.com>
18083 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
18084 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
18085 (gst_pad_send_event), (gst_pad_start_task):
18086 Disable attempt at mode switching until it is figured out.
18088 2005-05-25 Wim Taymans <wim@fluendo.com>
18090 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
18091 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
18092 (gst_basesink_finish_preroll), (gst_basesink_chain),
18093 (gst_basesink_loop), (gst_basesink_activate),
18094 (gst_basesink_change_state):
18095 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
18096 (gst_basesrc_get_range), (gst_basesrc_loop),
18097 (gst_basesrc_activate):
18098 * gst/elements/gsttee.c: (gst_tee_sink_activate):
18099 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
18100 (gst_real_pad_init), (gst_real_pad_set_property),
18101 (gst_real_pad_get_property), (gst_pad_set_active),
18102 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
18103 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
18104 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
18105 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
18106 (gst_pad_event_default_dispatch), (gst_pad_event_default),
18107 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
18108 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
18109 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
18110 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
18111 (gst_pad_stop_task):
18113 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
18114 (gst_queue_loop), (gst_queue_src_activate):
18115 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
18116 (gst_task_get_state):
18118 * gst/schedulers/threadscheduler.c:
18119 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
18120 Implement gst_pad_pause/start/stop_task(), take STREAM lock
18122 Remove ACTIVE pad flag, use FLUSHING everywhere
18123 Added _pad_chain(), _pad_get_range() to call chain/getrange
18125 Add locks around IS_FLUSHING when reading.
18126 Take STREAM lock in chain(), get_range() functions so plugins
18127 don't need to take it anymore.
18131 2005-05-25 Wim Taymans <wim@fluendo.com>
18133 * tools/gst-launch.c: (event_loop):
18134 Unref message after using its contents instead of
18137 2005-05-24 Wim Taymans <wim@fluendo.com>
18139 * docs/design/draft-ghostpads.txt:
18140 * docs/design/draft-push-pull.txt:
18141 * docs/design/draft-query.txt:
18142 * docs/design/part-overview.txt:
18143 Docs updates, added general overview doc.
18145 2005-05-21 David Schleef <ds@schleef.org>
18147 * docs/gst/tmpl/old/GstBin.sgml:
18148 * docs/gst/tmpl/old/GstBuffer.sgml:
18149 * docs/gst/tmpl/old/GstCaps.sgml:
18150 * docs/gst/tmpl/old/GstClock.sgml:
18151 * docs/gst/tmpl/old/GstCompat.sgml:
18152 * docs/gst/tmpl/old/GstData.sgml:
18153 * docs/gst/tmpl/old/GstElement.sgml:
18154 * docs/gst/tmpl/old/GstEvent.sgml:
18155 * docs/gst/tmpl/old/GstIndex.sgml:
18156 * docs/gst/tmpl/old/GstStructure.sgml:
18157 * docs/gst/tmpl/old/GstTag.sgml:
18158 * docs/gst/tmpl/old/cothreads.sgml:
18159 * docs/gst/tmpl/old/cothreads_compat.sgml:
18160 * docs/gst/tmpl/old/gettext.sgml:
18161 * docs/gst/tmpl/old/gobject2gtk.sgml:
18162 * docs/gst/tmpl/old/grammar.tab.sgml:
18163 * docs/gst/tmpl/old/gst-i18n-app.sgml:
18164 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
18165 * docs/gst/tmpl/old/gst_private.sgml:
18166 * docs/gst/tmpl/old/gstaggregator.sgml:
18167 * docs/gst/tmpl/old/gstarch.sgml:
18168 * docs/gst/tmpl/old/gstatomic_impl.sgml:
18169 * docs/gst/tmpl/old/gstbufferstore.sgml:
18170 * docs/gst/tmpl/old/gstdata_private.sgml:
18171 * docs/gst/tmpl/old/gstdisksink.sgml:
18172 * docs/gst/tmpl/old/gstdisksrc.sgml:
18173 * docs/gst/tmpl/old/gstelementfactory.sgml:
18174 * docs/gst/tmpl/old/gstextratypes.sgml:
18175 * docs/gst/tmpl/old/gstfakesink.sgml:
18176 * docs/gst/tmpl/old/gstfakesrc.sgml:
18177 * docs/gst/tmpl/old/gstfdsink.sgml:
18178 * docs/gst/tmpl/old/gstfdsrc.sgml:
18179 * docs/gst/tmpl/old/gstfilesink.sgml:
18180 * docs/gst/tmpl/old/gstfilesrc.sgml:
18181 * docs/gst/tmpl/old/gsthttpsrc.sgml:
18182 * docs/gst/tmpl/old/gstidentity.sgml:
18183 * docs/gst/tmpl/old/gstindexfactory.sgml:
18184 * docs/gst/tmpl/old/gstmarshal.sgml:
18185 * docs/gst/tmpl/old/gstmd5sink.sgml:
18186 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
18187 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
18188 * docs/gst/tmpl/old/gstpadtemplate.sgml:
18189 * docs/gst/tmpl/old/gstpipefilter.sgml:
18190 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
18191 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
18192 * docs/gst/tmpl/old/gstshaper.sgml:
18193 * docs/gst/tmpl/old/gstspider.sgml:
18194 * docs/gst/tmpl/old/gstspideridentity.sgml:
18195 * docs/gst/tmpl/old/gststatistics.sgml:
18196 * docs/gst/tmpl/old/gsttee.sgml:
18197 * docs/gst/tmpl/old/gsttimecache.sgml:
18198 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
18199 * docs/gst/tmpl/old/gstxmlregistry.sgml:
18200 * docs/gst/tmpl/old/gthread-cothreads.sgml:
18201 * docs/gst/tmpl/old/types.sgml:
18202 I didn't intend to add these or check them in.
18204 2005-05-19 David Schleef <ds@schleef.org>
18206 * configure.ac: Use -no-common everywhere. In a sane world, it
18207 would be the default in libtool, because without it, you can't
18208 build DLLs on Windows.
18209 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
18210 * docs/gst/gstreamer-sections.txt:
18211 * docs/gst/tmpl/gstcpu.sgml:
18212 * docs/gst/tmpl/gstdata.sgml:
18213 * docs/gst/tmpl/gstthread.sgml:
18215 2005-05-19 David Schleef <ds@schleef.org>
18217 * gst/gstminiobject.c: (gst_value_set_mini_object),
18218 (gst_value_take_mini_object), (gst_value_get_mini_object):
18219 * gst/gstminiobject.h: Add GValue set/get functions.
18221 2005-05-19 Wim Taymans <wim@fluendo.com>
18223 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
18224 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
18225 (gst_subbuffer_init), (gst_buffer_is_span_fast):
18227 * gst/gstbus.c: (gst_bus_post):
18228 * gst/gstelement.c: (gst_element_get_random_pad):
18229 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
18230 Make subbufer unref the parent in finalize.
18231 some more debugging info.
18234 2005-05-19 Wim Taymans <wim@fluendo.com>
18236 * gst/base/gstbasesink.c: (gst_basesink_class_init),
18237 (gst_basesink_init), (gst_basesink_finalize),
18238 (gst_basesink_activate), (gst_basesink_change_state):
18239 Don't free preroll queue too early.
18241 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18245 Hi, I'm outdated. Please shoot me.
18247 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18249 * gst/gstpipeline.c: (gst_pipeline_send_event):
18250 Do not access variables after they have been deleted.
18252 2005-05-19 Wim Taymans <wim@fluendo.com>
18254 * tools/gst-inspect.c: (print_plugin_features):
18255 A plugin feature does unfortunatly not use the
18258 2005-05-18 Wim Taymans <wim@fluendo.com>
18260 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
18261 Port _span() functions to new subbuffers.
18263 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18265 * gst/gstbin.c: (gst_bin_add_func):
18266 Fix clock settery in bins when adding kids after the clock has
18269 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18271 * gst/elements/gstidentity.c: (gst_identity_class_init):
18272 Workaround until signals support GstMiniObject.
18274 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
18277 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
18279 2005-05-18 Wim Taymans <wim@fluendo.com>
18281 * gst/base/Makefile.am:
18282 * gst/base/gstadapter.c: (gst_adapter_base_init),
18283 (gst_adapter_class_init), (gst_adapter_init),
18284 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
18285 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
18286 (gst_adapter_flush), (gst_adapter_available),
18287 (gst_adapter_available_fast):
18288 * gst/base/gstadapter.h:
18289 Ported and added adapter to the base classes.
18291 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18294 * gst/gstmessage.c:
18295 Make sure the class is reffed/unreffed once before threads can be
18296 used. Fixes #304551.
18298 2005-05-17 Wim Taymans <wim@fluendo.com>
18300 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
18301 (gst_basesink_chain_unlocked), (gst_basesink_activate):
18302 * gst/gstminiobject.c: (gst_mini_object_get_type),
18303 (gst_mini_object_free):
18304 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
18305 (gst_pad_push), (gst_pad_push_event):
18306 * gst/gstqueue.c: (gst_queue_change_state):
18307 Don't queue buffers in basesink when we are flushing.
18308 Unref buffer when flushing in basesink.
18309 Flush queue when going to READY
18310 Unref buffer when _push() returns an error.
18311 Don't free MiniObject instance when refcount is incremented
18312 in _finalize() so that we can recover objects.
18314 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
18316 * docs/manual/advanced-schedulers.xml:
18317 * docs/manual/appendix-checklist.xml:
18318 * docs/pwg/advanced-clock.xml:
18319 * docs/pwg/advanced-interfaces.xml:
18320 * docs/pwg/advanced-request.xml:
18321 * docs/pwg/advanced-types.xml:
18322 * docs/pwg/intro-preface.xml:
18323 * examples/plugins/example.c: (gst_example_get_type),
18324 (gst_example_class_init), (gst_example_chain),
18325 (gst_example_set_property), (gst_example_get_property),
18326 (gst_example_change_state), (plugin_init):
18327 * examples/plugins/example.h:
18330 2005-05-17 Wim Taymans <wim@fluendo.com>
18332 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
18333 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
18334 * gst/gstqueue.c: (gst_queue_change_state):
18335 Clear queue when going to READY.
18336 Remove IN_SETCAPS flag too.
18338 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
18340 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
18341 Remove implicit cast from gboolean to GstElementStateReturn;
18342 make sure we still return failure in paused => ready case if
18343 the parent class fails to change state and our own stop
18346 2005-05-17 Wim Taymans <wim@fluendo.com>
18348 * tools/gst-launch.c: (event_loop):
18349 Message was unreffed too soon.
18351 2005-05-16 Andy Wingo <wingo@pobox.com>
18353 * gst/gstbin.c (sink_iterator_filter): Err... um...
18355 * check/gst/gstbin.c (test_ghost_pads): New test for the
18356 ghosting-if-elements-not-in-same-bin behavior.
18358 2005-05-16 David Schleef <ds@schleef.org>
18360 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
18361 accessing refcount directly.
18363 2005-05-15 David Schleef <ds@schleef.org>
18365 * check/Makefile.am: remove GstData checks
18366 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
18367 * gst/Makefile.am: add miniobject, remove data
18368 * gst/gst.h: add miniobject, remove data
18369 * gst/gstdata.c: remove
18370 * gst/gstdata.h: remove
18371 * gst/gstdata_private.h: remove
18372 * gst/gsttypes.h: remove GstEvent and GstMessage
18373 * gst/gstelement.c: (gst_element_post_message): fix for API changes
18374 * gst/gstmarshal.list: change BOXED -> OBJECT
18376 Implement GstMiniObject.
18377 * gst/gstminiobject.c:
18378 * gst/gstminiobject.h:
18380 Modify to be subclasses of GstMiniObject.
18381 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
18382 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
18383 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
18384 (gst_subbuffer_get_type), (gst_subbuffer_init),
18385 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
18388 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
18389 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
18390 (_gst_event_copy), (gst_event_new):
18392 * gst/gstmessage.c: (_gst_message_initialize),
18393 (gst_message_get_type), (gst_message_class_init),
18394 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
18395 (gst_message_new), (gst_message_new_error),
18396 (gst_message_new_warning), (gst_message_new_tag),
18397 (gst_message_new_state_changed), (gst_message_new_application):
18398 * gst/gstmessage.h:
18399 * gst/gstprobe.c: (gst_probe_perform),
18400 (gst_probe_dispatcher_dispatch):
18402 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
18403 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
18404 (_gst_query_copy), (gst_query_new):
18406 Update elements for GstData -> GstMiniObject changes
18408 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
18409 (gst_queue_chain), (gst_queue_loop):
18410 * gst/elements/gstbufferstore.c:
18411 (gst_buffer_store_add_buffer_func),
18412 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
18413 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18414 (gst_fakesink_render):
18415 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
18416 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
18417 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
18418 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
18419 (gst_filesrc_create_read):
18420 * gst/elements/gstidentity.c: (gst_identity_class_init):
18421 * gst/elements/gsttypefindelement.c:
18422 (gst_type_find_element_src_event), (free_entry_buffers),
18423 (gst_type_find_element_handle_event):
18424 * libs/gst/dataprotocol/dataprotocol.c:
18425 (gst_dp_header_from_buffer):
18426 * libs/gst/dataprotocol/dataprotocol.h:
18427 * libs/gst/dataprotocol/dp-private.h:
18429 2005-05-15 David Schleef <ds@schleef.org>
18431 * gst/elements/gstelements.c: Don't include headers that were
18434 2005-05-15 David Schleef <ds@schleef.org>
18436 * gst/elements/Makefile.am: Remove some elements that don't
18437 need to be in the core (or even exist at all).
18438 * gst/elements/gstaggregator.c:
18439 * gst/elements/gstaggregator.h:
18440 * gst/elements/gstmd5sink.c:
18441 * gst/elements/gstmd5sink.h:
18442 * gst/elements/gstmultifilesrc.c:
18443 * gst/elements/gstmultifilesrc.h:
18444 * gst/elements/gstpipefilter.c:
18445 * gst/elements/gstpipefilter.h:
18446 * gst/elements/gstshaper.c:
18447 * gst/elements/gstshaper.h:
18448 * gst/elements/gststatistics.c:
18449 * gst/elements/gststatistics.h:
18450 * po/POTFILES.in: Remove above files.
18452 2005-05-14 Andy Wingo <wingo@pobox.com>
18454 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
18455 so as to get the refs right.
18456 (sink_iterator_filter): New function, wraps bin_element_is_sink,
18457 unreffing objects that don't pass the filter.
18459 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
18460 gst_element_set_bus.
18461 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
18462 normal cases, this will destroy the bus.
18464 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
18467 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
18470 2005-05-13 Andy Wingo <wingo@pobox.com>
18472 * gst/gstutils.c (gst_element_link_pads): Instead of calling
18473 gst_pad_link, call pad_link_maybe_ghosting,
18474 (pad_link_maybe_ghosting): Links pads, making sure that the
18475 elements being linked are in the same bin.
18476 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
18477 Helpers for pad_link_maybe_ghosting.
18479 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
18482 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
18484 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
18486 * docs/design/part-element-source.txt:
18489 2005-05-12 Wim Taymans <wim@fluendo.com>
18491 * gst/base/gstbasesink.c: (gst_basesink_init),
18492 (gst_basesink_activate):
18493 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
18494 (gst_basesrc_is_seekable):
18495 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
18496 (bin_element_is_sink), (gst_bin_change_state):
18497 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18498 * gst/gstelement.h:
18499 Identify sinks by their flag to avoid overly complicated
18501 Do state changes even for elements not reachable from the
18503 BaseSink is a sink now :)
18504 Some more debugging info in the basesrc.
18507 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18509 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
18510 Implement _query on a bin, similar to _send_event.
18512 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
18514 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
18515 Discont event offset format should be GST_FORMAT_BYTES,
18516 not GST_FORMAT_TIME.
18518 2005-05-12 Wim Taymans <wim@fluendo.com>
18520 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
18521 Same fix as Ronald's but without the signal.
18523 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18525 * gst/gstutils.c: (gst_element_query_position):
18526 No, an element is not a pad.
18528 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18530 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
18531 (gst_bin_get_state):
18532 If a child is removed from a bin while we remove the child from
18533 the bin and while we're retrieving its state, signal this to the
18534 get_state function so we abort the wait (instead of waiting for
18535 a timeout) and can immediately re-iterate over all other elements.
18537 2005-05-12 Wim Taymans <wim@fluendo.com>
18539 * gst/base/Makefile.am:
18540 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
18541 (gst_basesrc_start):
18542 * gst/base/gstbasesrc.h:
18543 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
18544 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
18545 (gst_pushsrc_init), (gst_pushsrc_create):
18546 * gst/base/gstpushsrc.h:
18547 Added is_seekable to BaseSrc
18548 Added simple PushSrc.
18550 2005-05-11 Wim Taymans <wim@fluendo.com>
18552 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
18553 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18554 (gst_element_link_pads), (gst_element_query_position),
18555 (gst_element_query_convert), (intersect_caps_func),
18556 (gst_pad_query_position), (gst_pad_query_convert):
18557 Fix refcounting in utils function.
18558 No point in trying to activate a pad when it's added, it could
18559 be added from the state change function and then we deadlock, the
18560 element has to decide what to do.
18562 2005-05-10 Andy Wingo <wingo@pobox.com>
18564 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
18565 *all* the arguments.
18567 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
18568 stream lock if it's a FLUSH_DONE; normal flushes don't get the
18569 lock (according to the docs -- if this is wrong change the docs).
18571 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
18572 flush messages in the NULL state.
18574 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
18575 message immediately and return.
18576 (gst_bus_set_flushing): New function. If a bus is flushing, it
18577 flushes out any queued messages and immediately unrefs new
18578 messages. This is so when an element goes to NULL, all of the
18579 unhandled messages coming from it can be freed, and their
18580 references to the element dropped. In other words: message source
18581 ref considered harmful :P
18583 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
18584 we're finished with it.
18586 * gst/gstmessage.c (gst_message_new_state_changed):
18588 2005-05-10 Wim Taymans <wim@fluendo.com>
18590 * gst/gstvalue.c: (gst_value_compare_flags),
18591 (gst_value_serialize_flags), (gst_value_deserialize_flags),
18592 (_gst_value_initialize):
18593 Added flags serialize/deserialize/compare code.
18595 2005-05-09 Andy Wingo <wingo@pobox.com>
18597 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
18598 Intersect the peer's caps with our caps.
18600 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
18602 * gst/base/gsttypefindhelper.c: (helper_find_peek):
18603 * gst/elements/gsttypefindelement.c: (find_peek):
18604 Handle negative offsets better. Fixes decodebin.
18606 2005-05-09 Wim Taymans <wim@fluendo.com>
18608 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
18609 (gst_base_transform_event):
18610 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
18611 Implement accept_caps.
18612 Fix silly lock/unlock mismatch in base class.
18614 2005-05-09 Wim Taymans <wim@fluendo.com>
18616 * docs/design/draft-push-pull.txt:
18617 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
18618 * gst/elements/gstfilesink.c: (gst_filesink_init),
18619 (gst_filesink_query):
18620 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
18621 (gst_type_find_handle_src_query), (find_element_get_length):
18622 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
18623 * gst/gstelement.h:
18624 * gst/gstmessage.c:
18625 * gst/gstmessage.h:
18626 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
18627 (gst_real_pad_get_caps_unlocked),
18628 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
18629 (gst_pad_event_default_dispatch), (gst_pad_event_default),
18630 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
18631 (gst_real_pad_dispose), (gst_real_pad_finalize),
18632 (gst_pad_load_and_link), (gst_pad_save_thyself),
18633 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
18634 (gst_pad_check_pull_range), (gst_pad_pull_range),
18635 (gst_pad_template_get_type), (gst_pad_template_class_init),
18636 (gst_pad_template_init), (gst_pad_template_dispose),
18637 (name_is_valid), (gst_static_pad_template_get),
18638 (gst_pad_template_new), (gst_static_pad_template_get_caps),
18639 (gst_pad_template_get_caps), (gst_pad_set_element_private),
18640 (gst_pad_get_element_private), (gst_pad_start_task),
18641 (gst_pad_pause_task), (gst_pad_stop_task),
18642 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
18643 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
18644 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
18645 (gst_ghost_pad_new):
18647 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
18648 (gst_query_new_position), (gst_query_set_position),
18649 (gst_query_parse_position), (gst_query_new_convert),
18650 (gst_query_set_convert), (gst_query_parse_convert):
18652 * gst/gstqueryutils.c:
18653 * gst/gstqueryutils.h:
18654 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18655 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18656 (gst_queue_handle_src_query):
18657 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18658 (gst_element_query_position), (gst_element_query_convert),
18659 (intersect_caps_func), (gst_pad_query_position),
18660 (gst_pad_query_convert):
18662 * tools/gst-inspect.c: (print_pad_info):
18663 * tools/gst-xmlinspect.c: (print_element_info):
18664 Remove old query functions. Ported old code.
18665 Added position/convert helper functions to gstutils.
18666 Reordered gstpad.c code, grouping relevant things.
18667 Remove gst_message_new(), always need to speficy a specific
18671 2005-05-09 Andy Wingo <wingo@pobox.com>
18673 * gst/gstiterator.h: Add some includes.
18675 * gst/gstqueryutils.h: Include more headers.
18678 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
18679 some uses of gst_pad_query.
18681 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
18682 NULL out parameters.
18683 (gst_query_new_position): New proc, allocates a new position
18686 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
18687 gstqueryutils.c to the build.
18689 * gst/gststructure.c (gst_structure_set_valist): Implement with
18690 the generic G_VALUE_COLLECT.
18692 2005-05-08 Edward Hervey <bilboed@bilboed.com>
18694 * gst/Makefile.am: (gst_headers):
18695 Added gstqueryutils.h to the list of headers to install, that was
18696 a 'nachty' move wingo :)
18698 2005-05-06 Andy Wingo <wingo@pobox.com>
18701 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
18702 GstData, init a memchunk.
18703 (standard_definitions): Add a few query types, deprecate a few.
18704 (gst_query_get_type): New proc.
18705 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
18707 (gst_query_new_application, gst_query_get_structure): New public
18710 * docs/design/draft-query.txt: Removed LINKS from the query types,
18711 because all the rest can be dispatched to other pads -- seemed
18712 ugly to have a query that couldn't be dispatched. internal_links
18713 is fine as a pad method.
18715 * gst/gstpad.h: Add query2 as a pad method, add the new functions
18716 in gstpad.c, but maintain binary compatibility for the moment.
18717 Will fix before 0.9 is out.
18719 * gst/gstqueryutils.c:
18720 * gst/gstqueryutils.h: New files, implement 3 methods for each
18721 query type: parse_query, parse_response, and set. Probably need an
18724 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
18726 * gst/elements/gstfilesink.c (gst_filesink_query2):
18727 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
18728 query_types, and formats methods.
18730 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
18731 (gst_pad_set_query2_function): New functions.
18732 (gst_real_pad_init): Set query2_default as the default query2
18733 function. Basically just dispatches to internally linked pads.
18737 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
18738 without using the atomic operations. Only one thread can possibly
18739 be accessing the data at this point. Changed so as to avoid
18740 gst_atomic operations.
18742 2005-05-06 Wim Taymans <wim@fluendo.com>
18744 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
18745 Also set caps if we use the fallback buffer alloc.
18747 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
18749 * docs/gst/Makefile.am:
18750 * docs/gst/gstreamer-docs.sgml:
18751 * docs/gst/gstreamer-sections.txt:
18752 * docs/gst/tmpl/gstatomic.sgml:
18753 * docs/gst/tmpl/gstmemchunk.sgml:
18754 * testsuite/elements/struct_i386.h:
18755 * win32/GStreamer.vcproj:
18757 Purge GstAtomic stuff from docs and win32 makefiles as well
18759 2005-05-06 Wim Taymans <wim@fluendo.com>
18761 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
18762 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
18763 * gst/gstpad.c: (gst_pad_peer_get_caps):
18764 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
18765 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
18766 (gst_queue_src_activate), (gst_queue_change_state):
18768 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18769 (intersect_caps_func):
18770 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
18771 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
18772 Some fixes for the peer_get_caps() change.
18774 2005-05-06 Wim Taymans <wim@fluendo.com>
18776 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
18777 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
18778 (gst_basesink_activate):
18779 Actually do something with error codes returned from the push
18782 2005-05-06 Wim Taymans <wim@fluendo.com>
18784 * docs/design/part-element-sink.txt:
18785 * docs/design/part-element-source.txt:
18786 * gst/base/gstbasesink.c: (gst_basesink_class_init),
18787 (gst_basesink_event), (gst_basesink_activate):
18788 * gst/base/gstbasesink.h:
18789 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
18790 (gst_basesrc_activate):
18791 * gst/base/gstbasesrc.h:
18792 * gst/gstelement.c: (gst_element_pads_activate):
18793 Some more documentation.
18794 Fixed scheduling decision in _pads_activate().
18796 2005-05-05 Andy Wingo <wingo@pobox.com>
18798 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
18801 2005-05-05 Wim Taymans <wim@fluendo.com>
18803 * gst/base/Makefile.am:
18804 * gst/base/gstbasesink.h:
18805 * gst/base/gstbasesrc.c: (gst_basesrc_init),
18806 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
18807 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
18808 (gst_collectpads_class_init), (gst_collectpads_init),
18809 (gst_collectpads_finalize), (gst_collectpads_new),
18810 (gst_collectpads_set_function), (gst_collectpads_add_pad),
18811 (find_pad), (gst_collectpads_remove_pad),
18812 (gst_collectpads_is_active), (gst_collectpads_collect),
18813 (gst_collectpads_collect_range), (gst_collectpads_start),
18814 (gst_collectpads_stop), (gst_collectpads_peek),
18815 (gst_collectpads_pop), (gst_collectpads_available),
18816 (gst_collectpads_read), (gst_collectpads_flush),
18817 (gst_collectpads_chain):
18818 * gst/base/gstcollectpads.h:
18819 * gst/elements/Makefile.am:
18820 * gst/elements/gstelements.c:
18821 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
18822 (gst_fakesink_get_times), (gst_fakesink_event),
18823 (gst_fakesink_preroll), (gst_fakesink_render):
18824 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
18825 (gst_filesink_init), (gst_filesink_set_location),
18826 (gst_filesink_open_file), (gst_filesink_close_file),
18827 (gst_filesink_pad_query), (gst_filesink_event),
18828 (gst_filesink_render), (gst_filesink_change_state):
18829 * gst/elements/gstfilesink.h:
18830 Added object to help in making collect pad based elements.
18832 Make event function in sink baseclass return gboolean.
18834 2005-05-05 Wim Taymans <wim@fluendo.com>
18836 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
18837 (gst_bin_get_by_name):
18839 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
18840 (gst_clock_finalize):
18841 * gst/gstdata.c: (gst_data_replace):
18843 * gst/gstelement.c: (gst_element_request_pad),
18844 (gst_element_pads_activate):
18845 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
18846 (gst_object_unref):
18847 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18848 (gst_pad_set_checkgetrange_function),
18849 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
18850 (gst_pad_check_pull_range), (gst_pad_pull_range),
18851 (gst_static_pad_template_get_caps), (gst_pad_start_task),
18852 (gst_pad_pause_task), (gst_pad_stop_task):
18853 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
18854 (gst_element_request_pad), (gst_pad_proxy_getcaps):
18855 Fix name lookup in GstBin.
18856 Added _data_replace() function and _buffer_replace()
18857 Use finalize method to clean up clock.
18858 Fix refcounting on request pads.
18859 Fix pad schedule mode error.
18860 Some more object refcounting debug info,
18863 2005-05-04 Andy Wingo <wingo@pobox.com>
18865 * check/Makefile.am:
18866 * docs/gst/tmpl/gstatomic.sgml:
18867 * docs/gst/tmpl/gstplugin.sgml:
18868 * gst/base/gstbasesink.c: (gst_basesink_activate):
18869 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
18870 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
18871 (gst_basesrc_query), (gst_basesrc_set_property),
18872 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
18873 (gst_basesrc_activate):
18874 * gst/base/gstbasesrc.h:
18875 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
18876 (gst_base_transform_src_activate):
18877 * gst/elements/gstelements.c:
18878 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
18879 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
18880 * gst/elements/gsttee.c: (gst_tee_sink_activate):
18881 * gst/elements/gsttypefindelement.c: (find_element_get_length),
18882 (gst_type_find_element_checkgetrange),
18883 (gst_type_find_element_activate):
18884 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
18885 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
18886 (gst_caps_load_thyself):
18887 * gst/gstelement.c: (gst_element_pads_activate),
18888 (gst_element_save_thyself), (gst_element_restore_thyself):
18889 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
18890 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
18892 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
18893 (gst_xml_parse_file), (gst_xml_parse_memory),
18894 (gst_xml_get_element), (gst_xml_make_element):
18895 * gst/indexers/gstfileindex.c: (gst_file_index_load),
18896 (_file_index_id_save_xml), (gst_file_index_commit):
18897 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
18898 (read_enum), (load_pad_template), (load_feature), (load_plugin),
18900 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
18901 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
18902 * tools/gst-complete.c: (main):
18903 * tools/gst-compprep.c: (main):
18904 * tools/gst-inspect.c: (print_element_properties_info):
18905 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
18906 * tools/gst-xmlinspect.c: (print_element_properties):
18909 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
18911 * gst/gstplugin.c: (gst_plugin_check_module),
18912 (gst_plugin_check_file), (gst_plugin_load_file):
18913 apply patch from #172526 to make register work on MacOSX
18915 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18917 * docs/gst/tmpl/gstconfig.sgml:
18918 * gst/gstconfig.h.in:
18919 move documentation for some symbols. Add doc for GST_PTR_FORMAT
18920 * testsuite/debug/printf_extension.c: (main):
18921 Do not use GST_PTR_FORMAT on pointers to types with
18922 sizeof < sizeof(gpointer). Fixes test on 64-bit
18923 * testsuite/elements/property.h:
18924 use correct printf format
18926 2005-05-02 Wim Taymans <wim@fluendo.com>
18928 * docs/design/draft-push-pull.txt:
18929 * docs/design/draft-query.txt:
18930 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
18931 (gst_basesrc_start):
18932 Added draft for new query API.
18933 Added draft for better selecting scheduling methods.
18934 Make basesrc ignore length if the subclass does not support
18937 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18940 possible fixes for automake-1.5 - _LIBADD is reserved
18942 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
18944 * docs/faq/Makefile.am:
18945 * docs/manual/Makefile.am:
18946 * docs/manuals.mak:
18947 * docs/pwg/Makefile.am:
18949 possible fixes for automake-1.5
18951 2005-04-28 Wim Taymans <wim@fluendo.com>
18953 * gst/base/gstbasesink.c: (gst_basesink_base_init),
18954 (gst_basesink_pad_getcaps), (gst_basesink_init),
18955 (gst_basesink_do_sync):
18956 * gst/gstclock.c: (gst_clock_entry_new):
18957 * gst/gstevent.c: (gst_event_discont_get_value):
18958 * gst/gstpipeline.c: (pipeline_bus_handler),
18959 (gst_pipeline_change_state):
18960 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
18961 Better debugging of clocking info.
18962 Allow NULL values when getting discont values.
18964 2005-04-27 Wim Taymans <wim@fluendo.com>
18966 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
18967 * check/gst/gstpad.c: (gst_pad_suite):
18968 Increase timeout for checks.
18970 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
18972 * check/Makefile.am:
18973 fix the broken rule for cleanup. Apparently this rule is
18974 only needed on FC2, so maybe this warrants further autotool
18977 2005-04-26 Wim Taymans <wim@fluendo.com>
18979 * gst/gsttrashstack.h:
18980 Ooohh. a nasty one! After having a failed pop() from the stack,
18981 it's possible that the stack is empty. In that case, don't
18982 follow the NULL pointer.
18984 2005-04-25 Wim Taymans <wim@fluendo.com>
18986 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
18987 (gst_pad_set_checkgetrange_function),
18988 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
18989 (gst_pad_check_pull_range), (gst_pad_pull_range),
18990 (gst_static_pad_template_get_caps), (gst_pad_start_task),
18991 (gst_pad_pause_task), (gst_pad_stop_task):
18992 * gst/gstplugin.c: (gst_plugin_load):
18994 Remove gst_library_load as it does more harm than good with
18995 the new g_module flags.
18996 Revert bogus caps template check in pad linking, pad caps
18997 are important when linking not the template, which is more
18998 general than the current caps.
19000 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19002 * gst/autoplug/.cvsignore:
19003 * gst/autoplug/Makefile.am:
19004 * gst/autoplug/gstsearchfuncs.c:
19005 * gst/autoplug/gstsearchfuncs.h:
19006 * gst/autoplug/gstspider.c:
19007 * gst/autoplug/gstspider.h:
19008 * gst/autoplug/gstspideridentity.c:
19009 * gst/autoplug/gstspideridentity.h:
19010 * gst/autoplug/spidertest.c:
19013 2005-04-25 Wim Taymans <wim@fluendo.com>
19015 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19016 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19017 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
19018 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
19020 Added stubs for unimplemented functions.
19022 2005-04-24 David Schleef <ds@schleef.org>
19024 * gst/gstpad.h: Disable some unimplemented functions. Wim,
19027 2005-04-24 David Schleef <ds@schleef.org>
19029 Convert everything from GstAtomicInt to g_atomic_int_*, and
19034 * gst/gstatomic_impl.h:
19042 * gst/gstdata_private.h:
19046 * gst/gstmessage.c:
19049 * gst/gststructure.c:
19050 * gst/gststructure.h:
19051 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
19054 2005-04-24 David Schleef <ds@schleef.org>
19056 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
19057 make the regressions tests work. Remove some code that is no
19059 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
19060 Disable warning for pads without templates.
19062 2005-04-24 David Schleef <ds@schleef.org>
19064 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
19065 functions that handle filtered links.
19066 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
19068 * gst/gstutils.c: Fix/remove utility functions that handle
19071 * gst/gstvalue.c: Add serialization/deserialization of caps
19072 * gst/parse/grammar.y: Ignore filtered caps when linking. This
19073 requires fixing so that the filter caps notation creates
19074 a capsfilter element and sets the filter_caps property. I
19075 think everyone probably wants to keep the shorthand notation.
19076 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
19077 * docs/gst/tmpl/gstpad.sgml:
19079 * gst/elements/gstelements.c: Register capsfilter element.
19080 * gst/Makefile.am: fix spacing
19081 * docs/random/ds/0.9-suggested-changes: random
19083 2005-04-23 David Schleef <ds@schleef.org>
19085 * gst/elements/Makefile.am:
19086 * gst/elements/gstcapsfilter.c: New element that acts like an
19087 identity, but filters caps. Will eventually replace filtered
19088 caps in pad linking.
19089 * gst/gstutils.c: (gst_element_create_all_pads): New function
19090 to create all the ALWAYS pads that are registered with an
19091 element class. This functionality should eventually be
19092 merged in with GstElement initialization.
19094 * testsuite/trigger/README: part of trigger test code that should
19095 have been checked in a long time ago.
19097 2005-04-23 David Schleef <ds@schleef.org>
19099 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
19100 needed with new versions of libtool (nobody will confirm this),
19101 and hard to carry around.
19102 * gst/autoplug/Makefile.am:
19103 * gst/base/Makefile.am:
19104 * gst/elements/Makefile.am:
19105 * gst/indexers/Makefile.am:
19106 * gst/schedulers/Makefile.am:
19107 * libs/gst/bytestream/Makefile.am:
19108 * libs/gst/control/Makefile.am:
19109 * libs/gst/dataprotocol/Makefile.am:
19110 * libs/gst/getbits/Makefile.am:
19112 2005-04-21 Wim Taymans <wim@fluendo.com>
19114 * docs/design/draft-push-pull.txt:
19115 * docs/design/part-MT-refcounting.txt:
19116 * docs/design/part-TODO.txt:
19117 * docs/design/part-caps.txt:
19118 * docs/design/part-events.txt:
19119 * docs/design/part-gstbus.txt:
19120 * docs/design/part-gstpipeline.txt:
19121 * docs/design/part-messages.txt:
19122 * docs/design/part-push-pull.txt:
19123 * docs/design/part-query.txt:
19126 2005-04-21 Wim Taymans <wim@fluendo.com>
19128 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
19129 (gst_message_new), (gst_message_new_error),
19130 (gst_message_new_warning), (gst_message_new_tag),
19131 (gst_message_new_state_changed), (gst_message_new_application),
19132 (gst_message_get_structure):
19133 * gst/gstmessage.h:
19134 * gst/gststructure.c: (gst_structure_set_parent_refcount),
19135 (gst_structure_copy_conditional):
19136 Use parent refcount in GstMessage to ensure GstStructure
19138 Cleaned up headers a bit.
19141 2005-04-20 Wim Taymans <wim@fluendo.com>
19143 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19144 (gst_basesink_pad_getcaps), (gst_basesink_init),
19145 (gst_basesink_chain_unlocked):
19146 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
19147 (gst_type_find_helper):
19148 * gst/elements/gsttypefindelement.c:
19149 (gst_type_find_element_have_type), (gst_type_find_element_init),
19150 (stop_typefinding), (gst_type_find_element_handle_event),
19151 (find_suggest), (gst_type_find_element_chain),
19152 (gst_type_find_element_checkgetrange),
19153 (gst_type_find_element_getrange), (do_typefind),
19154 (gst_type_find_element_activate):
19155 * gst/gstbuffer.c: (_gst_buffer_sub_free),
19156 (gst_buffer_default_free), (gst_buffer_default_copy),
19157 (gst_buffer_set_caps):
19158 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
19159 (gst_caps_replace):
19160 * gst/gstmessage.c: (gst_message_new),
19161 (gst_message_new_state_changed):
19162 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19163 (gst_pad_set_checkgetrange_function),
19164 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
19165 (gst_pad_set_caps), (gst_pad_check_pull_range),
19166 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
19168 * gst/gsttypefind.c: (gst_type_find_register):
19169 Make gst_caps_replace() work like other _replace() functions.
19170 Use _caps_replace() where possible.
19171 Make sure _message_new() initialises its field.
19172 Add gst_static_pad_template_get_caps()
19175 2005-04-18 Andy Wingo <wingo@pobox.com>
19177 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
19178 on the peer, not the pad. I think that was a typo. Pass an extra
19179 arg to see if random access is possible. Activate the pads as
19180 PULL_RANGE if possible.
19182 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
19184 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
19185 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
19188 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19190 * docs/faq/using.xml:
19191 Add note on gstreamer-properties (#154996).
19193 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19195 * docs/random/bbb/optional-properties:
19196 Some analysis on optional properties.
19198 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19200 * docs/gst/tmpl/gstelementfactory.sgml:
19201 * gst/gstelement.h:
19202 * gst/gstelementfactory.c: (gst_element_factory_init),
19203 (gst_element_factory_cleanup), (gst_element_register),
19204 (__gst_element_factory_add_static_pad_template),
19205 (gst_element_factory_get_static_pad_templates),
19206 (gst_element_factory_can_src_caps),
19207 (gst_element_factory_can_sink_caps):
19208 * gst/registries/Makefile.am:
19209 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
19210 (gst_xml_registry_class_init), (gst_xml_registry_init),
19211 (gst_xml_registry_new), (gst_xml_registry_set_property),
19212 (gst_xml_registry_get_property), (get_time), (make_dir),
19213 (gst_xml_registry_get_perms_func),
19214 (plugin_times_older_than_recurse), (plugin_times_older_than),
19215 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
19216 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
19217 (add_to_char_array), (read_string), (read_uint), (read_enum),
19218 (load_pad_template), (load_feature), (load_plugin), (load_paths),
19219 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
19220 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
19221 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
19222 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
19223 (gst_xml_registry_rebuild):
19224 * gst/registries/gstlibxmlregistry.h:
19225 * tools/gst-compprep.c: (main):
19226 * tools/gst-inspect.c: (print_pad_templates_info):
19227 * tools/gst-xmlinspect.c: (print_element_info):
19228 Use libxml2 for registry parsing, use staticpadtemplates in
19229 elementfactories. Makes gst_init() +/- 10x faster.
19231 2005-04-12 Wim Taymans <wim@fluendo.com>
19233 * gst/base/Makefile.am:
19234 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19235 (gst_basesink_pad_getcaps), (gst_basesink_init),
19236 (gst_basesink_event), (gst_basesink_change_state):
19237 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19238 (gst_basesrc_init), (gst_basesrc_query),
19239 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19240 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19241 (gst_basesrc_check_get_range), (gst_basesrc_loop),
19242 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19243 (gst_basesrc_stop), (gst_basesrc_activate),
19244 (gst_basesrc_change_state):
19245 * gst/base/gsttypefindhelper.c: (helper_find_peek),
19246 (helper_find_suggest), (gst_type_find_helper):
19247 * gst/base/gsttypefindhelper.h:
19248 * gst/elements/Makefile.am:
19249 * gst/elements/gstelements.c:
19250 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
19251 (gst_fakesink_get_times), (gst_fakesink_event),
19252 (gst_fakesink_preroll), (gst_fakesink_render):
19253 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19254 (gst_fakesrc_init), (gst_fakesrc_event_handler),
19255 (gst_fakesrc_get_property), (gst_fakesrc_create),
19256 (gst_fakesrc_start), (gst_fakesrc_stop):
19257 * gst/elements/gstfakesrc.h:
19258 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
19259 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19260 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19261 (gst_filesrc_create_read), (gst_filesrc_create),
19262 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
19263 (gst_filesrc_start):
19264 * gst/elements/gsttypefindelement.c:
19265 (gst_type_find_element_have_type), (gst_type_find_element_init),
19266 (start_typefinding), (stop_typefinding), (push_buffer_store),
19267 (gst_type_find_element_handle_event),
19268 (gst_type_find_element_chain),
19269 (gst_type_find_element_checkgetrange),
19270 (gst_type_find_element_getrange), (do_typefind),
19271 (gst_type_find_element_activate),
19272 (gst_type_find_element_change_state):
19273 * gst/elements/gsttypefindelement.h:
19274 * gst/gstpipeline.c: (pipeline_bus_handler):
19275 Added typefind helper.
19276 Small preroll fix in the base sink.
19277 Disable typefind code in basesrc.
19278 Crude port of typefindelement.
19282 2005-04-11 Wim Taymans <wim@fluendo.com>
19284 * check/gst/gstbus.c: (gstbus_suite):
19285 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
19286 * check/gstcheck.h:
19287 Fix up the timeout so that the test does not fail.
19289 2005-04-06 Wim Taymans <wim@fluendo.com>
19292 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19293 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
19294 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
19295 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
19296 (gst_basesrc_check_get_range), (gst_basesrc_loop),
19297 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
19298 (gst_basesrc_stop), (gst_basesrc_activate),
19299 (gst_basesrc_change_state), (basesrc_find_peek),
19300 (basesrc_find_suggest), (gst_basesrc_type_find):
19301 * gst/base/gstbasesrc.h:
19302 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
19303 (gst_filesrc_class_init), (gst_filesrc_init),
19304 (gst_filesrc_finalize), (gst_filesrc_set_location),
19305 (gst_filesrc_set_property), (gst_filesrc_get_property),
19306 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
19307 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
19308 (gst_filesrc_create_read), (gst_filesrc_create),
19309 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
19310 * gst/elements/gstfilesrc.h:
19311 * gst/gstelement.c: (gst_element_get_state_func),
19312 (gst_element_lost_state), (gst_element_pads_activate):
19313 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19314 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
19315 (gst_pad_pull_range):
19317 More work on the generic source base class, implement seeking,
19319 Make filesrc extend the base source class.
19320 Added gst_pad_set_checkgetrange_function to GstPad.
19322 2005-04-06 Andy Wingo <wingo@pobox.com>
19324 * pkgconfig/gstreamer-base.pc.in:
19325 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
19327 * pkgconfig/Makefile.am:
19328 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
19330 2005-04-04 Wim Taymans <wim@fluendo.com>
19332 * gst/base/Makefile.am:
19334 * gst/base/gstbasesink.c: (gst_basesink_base_init),
19335 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19336 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19337 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
19338 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
19339 (gst_basesrc_base_init), (gst_basesrc_class_init),
19340 (gst_basesrc_init), (gst_basesrc_get_formats),
19341 (gst_basesrc_get_query_types), (gst_basesrc_query),
19342 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
19343 (gst_basesrc_set_property), (gst_basesrc_get_property),
19344 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
19345 (gst_basesrc_loop), (gst_basesrc_activate),
19346 (gst_basesrc_change_state):
19347 * gst/base/gstbasesrc.h:
19348 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
19349 (gst_fakesrc_class_init), (gst_fakesrc_init),
19350 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
19351 (gst_fakesrc_get_property), (gst_fakesrc_create):
19352 * gst/elements/gstfakesrc.h:
19353 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
19354 (gst_filesrc_open_file), (gst_filesrc_loop),
19355 (gst_filesrc_activate), (filesrc_find_peek),
19356 (gst_filesrc_type_find):
19357 Made base source class, make fakesrc extend it.
19358 Add comments to basesink class.
19359 Some filesrc cleanup.
19361 2005-03-31 David Schleef <ds@schleef.org>
19363 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
19364 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
19365 expected to link against libgstreamer.
19366 * gst/base/Makefile.am: link against libgstreamer
19367 * gst/elements/Makefile.am: same
19369 2005-03-31 Andy Wingo <wingo@pobox.com>
19371 * tests/instantiate/Makefile.am:
19372 * tests/instantiate/caps.c: Add test to test speed of caps copy
19375 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
19376 GMemChunk to be fair.
19378 * gst/gsttrashstack.h: Remove warning about using the fallback
19379 trash stack implementation, it's still faster than malloc.
19381 2005-03-30 Andy Wingo <wingo@pobox.com>
19383 * tests/complexity.c: Add a copyright.
19385 2005-03-31 Wim Taymans <wim@fluendo.com>
19387 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
19388 (gst_base_transform_class_init), (gst_base_transform_init),
19389 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
19390 (gst_base_transform_get_property),
19391 (gst_base_transform_sink_activate),
19392 (gst_base_transform_src_activate),
19393 (gst_base_transform_change_state):
19394 * gst/base/gstbasetransform.h:
19395 * gst/elements/gstidentity.c: (gst_identity_class_init),
19396 (gst_identity_event), (gst_identity_check_perfect),
19397 (gst_identity_transform), (gst_identity_start),
19398 (gst_identity_stop):
19399 Added start/stop methods to transform base class so subclasses
19400 don't need to deal with state changes even.
19402 2005-03-31 Wim Taymans <wim@fluendo.com>
19404 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
19405 (gst_event_new_discontinuous), (gst_event_discont_get_value):
19407 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19408 (gst_pad_pull_range):
19409 Added rate to the discont event to prepare for variable speed
19410 and reverse playback.
19412 2005-03-29 David Schleef <ds@schleef.org>
19415 * testsuite/trigger/Makefile.am:
19416 * testsuite/trigger/trigger.c: A little example program to show
19417 how trigger-based elements can work.
19419 2005-03-29 Wim Taymans <wim@fluendo.com>
19421 * gst/base/Makefile.am:
19423 * gst/base/gstbasesink.c: (gst_basesink_get_type),
19424 (gst_basesink_base_init), (gst_basesink_class_init),
19425 (gst_basesink_pad_getcaps), (gst_basesink_init),
19426 (gst_basesink_activate), (gst_basesink_change_state):
19427 * gst/base/gstbasesink.h:
19428 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
19429 (gst_base_transform_base_init), (gst_base_transform_finalize),
19430 (gst_base_transform_class_init), (gst_base_transform_init),
19431 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
19432 (gst_base_transform_event), (gst_base_transform_getrange),
19433 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
19434 (gst_base_transform_set_property),
19435 (gst_base_transform_get_property),
19436 (gst_base_transform_sink_activate),
19437 (gst_base_transform_src_activate),
19438 (gst_base_transform_change_state):
19439 * gst/base/gstbasetransform.h:
19440 * gst/elements/gstidentity.c: (gst_identity_finalize),
19441 (gst_identity_class_init), (gst_identity_init),
19442 (gst_identity_event), (gst_identity_check_perfect),
19443 (gst_identity_transform), (gst_identity_set_property),
19444 (gst_identity_get_property), (gst_identity_change_state):
19445 * gst/elements/gstidentity.h:
19446 * gst/gstelement.c: (gst_element_get_state_func),
19447 (gst_element_lost_state), (gst_element_pads_activate):
19448 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
19449 (gst_pad_check_pull_range), (gst_pad_pull_range):
19451 Simplify pad activation.
19452 Added function to check if pull_range can be performed.
19453 Error out when pulling inactive or flushing pads.
19454 Removed const from refcounted types as it does not make sense.
19455 Simplify pad templates in basesink
19456 Added base class for simple 1-to-1 transforms.
19457 Make identity subclass the base transform.
19459 2005-03-29 Andy Wingo <wingo@pobox.com>
19461 * docs/libs/gstreamer-libs-overrides.txt:
19462 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
19463 really don't understand what's going on, but like whatever. I want
19466 * docs/gst/Makefile.am:
19467 * docs/libs/Makefile.am: Dist the overrides files.
19469 * check/Makefile.am (clean-local): Remove .libs directories.
19471 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
19472 elements to EXTRA_DIST, so po/ files are happy.
19474 * po/POTFILES.in: Er, remove it here.
19476 * po/POTFILES: Remove gstspider.c.
19478 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
19480 * docs/libs/gstreamer-libs-docs.sgml:
19481 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
19484 * tests/complexity.c (main): Set the length of the preroll queue
19485 on the sinks to prevent a lockup.
19487 * libs/gst/dataprotocol/Makefile.am:
19488 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
19489 the same as the one in check/gst-libs/gdp.c.
19491 * po/, docs/gst/: Commit automatic changes to docs and po files.
19493 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
19494 the versioned libgstbase.
19496 * check/Makefile.am: Depend on an unversioned gst-register, seems
19497 to make autoconf happier.
19499 * gst/base/Makefile.am: Make libgstbase a versioned lib.
19501 2005-03-28 Wim Taymans <wim@fluendo.com>
19504 * docs/design/part-gstelement.txt:
19505 * docs/design/part-negotiation.txt:
19506 * docs/design/part-preroll.txt:
19507 * docs/design/part-scheduling.txt:
19508 * docs/design/part-states.txt:
19510 * gst/base/Makefile.am:
19512 * gst/base/gstbasesink.c: (gst_basesink_get_template),
19513 (gst_basesink_base_init), (gst_basesink_class_init),
19514 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
19515 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
19516 (gst_basesink_set_pad_functions),
19517 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
19518 (gst_basesink_set_property), (gst_basesink_get_property),
19519 (gst_base_sink_get_template), (gst_base_sink_get_caps),
19520 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
19521 (gst_basesink_preroll_queue_push),
19522 (gst_basesink_preroll_queue_empty),
19523 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
19524 (gst_basesink_event), (gst_basesink_get_times),
19525 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
19526 (gst_basesink_chain_unlocked), (gst_basesink_chain),
19527 (gst_basesink_loop), (gst_basesink_activate),
19528 (gst_basesink_change_state):
19529 * gst/base/gstbasesink.h:
19530 * gst/elements/Makefile.am:
19531 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
19532 (gst_fakesink_class_init), (gst_fakesink_init),
19533 (gst_fakesink_set_property), (gst_fakesink_get_property),
19534 (gst_fakesink_get_times), (gst_fakesink_event),
19535 (gst_fakesink_preroll), (gst_fakesink_render),
19536 (gst_fakesink_change_state):
19537 * gst/elements/gstfakesink.h:
19538 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19539 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
19540 * gst/gstelement.c: (gst_element_add_pad),
19541 (gst_element_get_state_func), (gst_element_abort_state),
19542 (gst_element_commit_state), (gst_element_lost_state),
19543 (gst_element_set_state), (gst_element_pads_activate):
19544 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
19545 * gst/gstpipeline.c: (gst_pipeline_send_event),
19546 (gst_pipeline_change_state):
19547 Added state change code.
19548 Added/updated docs.
19549 Added sink base class, make fakesink extend the base class.
19550 Small cleanups in GstPipeline.
19552 2005-03-26 David Schleef <ds@schleef.org>
19554 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
19555 is broken and should be implemented in a different library.
19556 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
19557 * gst/gst.h: remove gstcpu.h
19558 * gst/gstcpu.c: remove
19559 * gst/gstcpu.h: remove
19560 * gst/Makefile.am.future: Remove this file. It's ancient.
19562 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19564 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
19565 (gst_bin_send_event):
19566 Add default event/set_manager handlers. The set_manager handler
19567 takes care that the manager is distributed over kids that were
19568 already in the bin before the manager was set. The event handler
19569 is a utility virtual function that sends the event over all sinks,
19570 so that gst_element_send_event (bin, event); has the expected
19572 * gst/gstpad.c: (gst_pad_event_default):
19573 Re-install default event handling for discontinuities, so that
19574 seeking works without requiring hacks in applications or extra
19576 * gst/gstpipeline.c: (gst_pipeline_class_init),
19577 (gst_pipeline_send_event):
19578 Half hack, half utility: set a pipeline to PAUSED for seek events,
19579 since that is the only way we can guarantee a/v sync. Means that
19580 you can do gst_element_seek (pipeline, method, pos); on a pipeline
19581 and it "just works".
19583 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
19585 * gst/gstpipeline.c: (gst_pipeline_use_clock):
19586 Lock/unlock mismatch.
19588 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
19590 * docs/faq/gst-uninstalled:
19591 add gst-plugins-base
19592 * docs/gst/Makefile.am:
19593 don't error out until docs are fixed
19594 * docs/gst/gstreamer.types:
19597 2005-03-22 Wim Taymans <wim@fluendo.com>
19599 * check/Makefile.am:
19600 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
19601 * gst/gststructure.c: (gst_structure_set_valist),
19602 (gst_structure_copy_conditional):
19603 Activated more tests.
19604 Added message test.
19605 Added G_TYPE_POINTER to GstStructure.
19608 2005-03-22 Wim Taymans <wim@fluendo.com>
19610 * docs/design/part-TODO.txt:
19611 * docs/design/part-events.txt:
19612 * docs/design/part-gstbin.txt:
19613 * docs/design/part-gstbus.txt:
19614 * docs/design/part-gstpipeline.txt:
19615 * docs/design/part-messages.txt:
19617 * gst/gstmessage.c:
19620 2005-03-21 Wim Taymans <wim@fluendo.com>
19622 * gst/gstbus.c: (gst_bus_post):
19623 Fix copy-and-paste error.
19625 2005-03-21 Wim Taymans <wim@fluendo.com>
19627 * check/Makefile.am:
19629 * gst/elements/Makefile.am:
19630 * gst/elements/gstelements.c:
19631 * gst/elements/gstfakesink.c: (gst_fakesink_init),
19632 (gst_fakesink_event), (gst_fakesink_chain):
19633 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
19634 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
19635 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
19636 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
19637 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
19638 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
19639 (gst_fakesrc_loop), (gst_fakesrc_activate),
19640 (gst_fakesrc_change_state):
19641 * gst/elements/gstfakesrc.h:
19642 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
19643 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
19644 (gst_filesrc_open_file), (gst_filesrc_loop),
19645 (gst_filesrc_activate), (gst_filesrc_change_state),
19646 (filesrc_find_peek), (filesrc_find_suggest),
19647 (gst_filesrc_type_find):
19648 * gst/elements/gstidentity.c: (gst_identity_finalize),
19649 (gst_identity_class_init), (gst_identity_init),
19650 (gst_identity_proxy_getcaps), (identity_queue_push),
19651 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
19652 (gst_identity_getrange), (gst_identity_chain),
19653 (gst_identity_sink_loop), (gst_identity_src_loop),
19654 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
19655 (gst_identity_set_property), (gst_identity_get_property),
19656 (gst_identity_change_state):
19657 * gst/elements/gstidentity.h:
19658 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
19659 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
19660 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
19661 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
19662 (gst_tee_sink_activate):
19663 * gst/elements/gsttee.h:
19664 * gst/gst.c: (gst_register_core_elements), (init_post):
19666 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
19667 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
19668 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
19669 (gst_bin_change_state):
19671 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
19672 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
19673 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
19674 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
19675 (gst_bus_set_sync_handler), (gst_bus_create_watch),
19676 (bus_watch_callback), (bus_watch_destroy),
19677 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
19678 (poll_timeout), (gst_bus_poll):
19682 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
19683 (gst_element_post_message), (gst_element_message_full),
19684 (gst_element_get_state_func), (gst_element_get_state),
19685 (gst_element_abort_state), (gst_element_commit_state),
19686 (gst_element_lost_state), (gst_element_set_state),
19687 (gst_element_pads_activate), (gst_element_change_state),
19688 (gst_element_dispose), (gst_element_set_manager_func),
19689 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
19690 (gst_element_set_manager), (gst_element_get_manager),
19691 (gst_element_set_bus), (gst_element_get_bus),
19692 (gst_element_set_scheduler), (gst_element_get_scheduler):
19693 * gst/gstelement.h:
19694 * gst/gstevent.c: (gst_event_new_segment_seek),
19695 (gst_event_new_flush):
19697 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
19698 (_gst_message_free), (gst_message_get_type), (gst_message_new),
19699 (gst_message_new_eos), (gst_message_new_error),
19700 (gst_message_new_warning), (gst_message_new_tag),
19701 (gst_message_new_state_changed), (gst_message_new_application),
19702 (gst_message_get_structure), (gst_message_parse_tag),
19703 (gst_message_parse_state_changed), (gst_message_parse_error),
19704 (gst_message_parse_warning):
19705 * gst/gstmessage.h:
19706 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
19707 (gst_real_pad_set_property), (gst_pad_set_active),
19708 (gst_pad_is_active), (gst_pad_set_blocked_async),
19709 (gst_pad_set_blocked), (gst_pad_is_blocked),
19710 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
19711 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
19712 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
19713 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
19714 (gst_pad_link_filtered), (gst_pad_relink_filtered),
19715 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
19716 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
19717 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
19718 (gst_pad_set_caps), (gst_pad_configure_sink),
19719 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
19720 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
19721 (gst_real_pad_dispose), (gst_real_pad_finalize),
19722 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
19723 (gst_pad_event_default_dispatch), (gst_pad_event_default),
19724 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
19726 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
19727 (pipeline_bus_handler), (gst_pipeline_change_state),
19728 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
19729 * gst/gstpipeline.h:
19731 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
19732 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
19733 (gst_queue_link_src), (gst_queue_bufferalloc),
19734 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
19735 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
19736 (gst_queue_loop), (gst_queue_handle_src_event),
19737 (gst_queue_handle_src_query), (gst_queue_src_activate),
19738 (gst_queue_change_state):
19740 * gst/gstscheduler.c: (gst_scheduler_init),
19741 (gst_scheduler_dispose), (gst_scheduler_create_task),
19742 (gst_scheduler_factory_create):
19743 * gst/gstscheduler.h:
19744 * gst/gststructure.c: (gst_structure_get_type),
19745 (gst_structure_copy_conditional):
19746 * gst/gststructure.h:
19747 * gst/gsttaginterface.h:
19748 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
19749 (gst_task_init), (gst_task_dispose), (gst_task_create),
19750 (gst_task_get_state), (gst_task_start), (gst_task_stop),
19756 * gst/schedulers/Makefile.am:
19757 * gst/schedulers/cothreads_compat.h:
19758 * gst/schedulers/entryscheduler.c:
19759 * gst/schedulers/faircothreads.c:
19760 * gst/schedulers/faircothreads.h:
19761 * gst/schedulers/fairscheduler.c:
19762 * gst/schedulers/gstbasicscheduler.c:
19763 * gst/schedulers/gstoptimalscheduler.c:
19764 * gst/schedulers/gthread-cothreads.h:
19765 * gst/schedulers/threadscheduler.c:
19766 (gst_thread_scheduler_task_get_type),
19767 (gst_thread_scheduler_task_class_init),
19768 (gst_thread_scheduler_task_init),
19769 (gst_thread_scheduler_task_start),
19770 (gst_thread_scheduler_task_stop),
19771 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
19772 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
19773 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
19774 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
19776 * libs/gst/Makefile.am:
19777 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
19778 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
19779 (gst_file_pad_parent_set):
19780 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
19781 (gst_dp_event_from_packet):
19782 * tests/complexity.c: (main):
19783 * tests/mass_elements.c: (main):
19784 * testsuite/states/locked.c: (message_received), (main):
19785 * testsuite/states/parent.c: (main):
19786 * tools/gst-inspect.c: (print_element_flag_info),
19787 (print_implementation_info), (print_pad_info):
19788 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
19790 * tools/gst-md5sum.c: (event_loop), (main):
19791 * tools/gst-typefind.c: (main):
19792 * tools/gst-xmlinspect.c: (print_element_info):
19794 Added GstBus for mainloop integration.
19795 Added GstMessage for sending notifications on the bus.
19796 Added GstTask as an abstraction for pipeline entry points.
19798 Removed Schedulers.
19799 Simplified GstQueue for multithreaded core.
19800 Made _link threadsafe, removed old capsnego.
19801 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
19802 Added pad blocking functions.
19803 Reworked scheduling functions in GstPad to prepare for
19804 scheduling updates soon.
19805 Moved events out of data stream.
19806 Simplified GstEvent types.
19807 Added return values to push/pull.
19808 Removed clocking from GstElement.
19809 Added prototypes for state change function for next merge.
19810 Removed iterate from bins and state change management.
19811 Fixed some elements, disabled others for now.
19812 Fixed -inspect and -launch.
19813 Added check for GstBus.
19815 2005-03-10 Wim Taymans <wim@fluendo.com>
19817 * docs/design/part-MT-refcounting.txt:
19818 * docs/design/part-clocks.txt:
19819 * docs/design/part-gstelement.txt:
19820 * docs/design/part-gstobject.txt:
19821 * docs/design/part-standards.txt:
19822 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19823 (gst_bin_remove_func), (gst_bin_remove):
19827 * testsuite/clock/clock1.c: (main):
19828 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
19830 * testsuite/dlopen/loadgst.c: (do_test):
19831 * testsuite/refcounting/bin.c: (add_remove_test1),
19832 (add_remove_test2), (main):
19833 * testsuite/refcounting/element.c: (main):
19834 * testsuite/refcounting/element_pad.c: (main):
19835 * testsuite/refcounting/pad.c: (main):
19836 * tools/gst-launch.c: (sigint_handler_sighandler):
19837 * tools/gst-typefind.c: (main):
19839 Added doc about clock.
19840 removed gst_bin_iterate_recurse_up(), marked methods
19842 Fix more testsuites.
19844 2005-03-09 Wim Taymans <wim@fluendo.com>
19846 * gst/gstpad.c: (gst_pad_get_direction),
19847 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
19848 (gst_pad_collect_valist):
19849 * testsuite/bins/interface.c: (main):
19850 * testsuite/caps/audioscale.c: (test_caps):
19851 * testsuite/caps/caps.c: (test1), (test2), (test3):
19852 * testsuite/caps/deserialize.c: (main):
19853 * testsuite/caps/enumcaps.c: (main):
19854 * testsuite/caps/filtercaps.c: (main):
19855 * testsuite/caps/intersect2.c: (main):
19856 * testsuite/caps/random.c: (main):
19857 * testsuite/caps/renegotiate.c: (my_fixate), (main):
19858 * testsuite/caps/sets.c: (check_caps):
19859 * testsuite/caps/simplify.c: (check_caps), (main):
19860 * testsuite/caps/subtract.c: (check_caps):
19861 Fix _pad_get_direction wrt ghostpads.
19862 Fix caps testsuite.
19864 2005-03-09 Wim Taymans <wim@fluendo.com>
19866 * check/Makefile.am:
19867 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
19868 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
19869 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
19870 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
19871 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
19872 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
19873 (gst_bin_remove), (gst_bin_iterate_recurse_up),
19874 (bin_element_is_sink), (gst_bin_iterate_sinks),
19875 (gst_bin_iterate_all_by_interface):
19877 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
19878 (gst_element_change_state), (gst_element_dispose),
19879 (gst_element_finalize), (gst_element_set_loop_function):
19880 * gst/gstelement.h:
19881 * gst/gstiterator.c: (find_custom_fold_func):
19882 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19883 (gst_pad_collectv), (gst_pad_collect_valist),
19884 (gst_pad_template_new):
19885 * gst/gstpipeline.c: (gst_pipeline_class_init),
19886 (gst_pipeline_dispose), (gst_pipeline_set_property),
19887 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
19888 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
19889 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
19891 * gst/schedulers/entryscheduler.c:
19892 * gst/schedulers/gstbasicscheduler.c:
19893 (gst_basic_scheduler_cothreaded_chain),
19894 (gst_basic_scheduler_chain_add_element):
19895 * testsuite/bins/interface.c: (main):
19897 Added GstSystemClock test.
19898 Implemented clock distribution code in GstBin.
19899 Implemented iterate sinks method for future use.
19900 Rearranged gstelement.h
19901 Fix GstIterator comparison bug.
19902 Moved some code to GstPipeline, mostly clocking related.
19904 2005-03-09 Wim Taymans <wim@fluendo.com>
19907 * gst/gst_private.h:
19908 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19909 (gst_bin_remove_func), (gst_bin_remove),
19910 (gst_bin_get_by_name_recurse_up):
19911 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
19912 (gst_clock_id_compare_func), (gst_clock_id_wait),
19913 (gst_clock_id_wait_async), (gst_clock_init),
19914 (gst_clock_adjust_unlocked), (gst_clock_get_time):
19915 * gst/gstelement.h:
19916 * gst/gstinfo.c: (_gst_debug_init):
19918 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
19919 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
19921 Bump version number, we're now 0.9.0
19922 Add future debugging category.
19923 Fix NULL _unref() in _get_by_name_recurse_up
19924 Rearrange gstpad.h.
19927 2005-03-08 Wim Taymans <wim@fluendo.com>
19929 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
19930 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
19931 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
19932 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
19933 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
19934 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
19935 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
19936 * gst/elements/gstidentity.c: (gst_identity_class_init):
19937 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
19938 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
19939 * gst/elements/gstshaper.c: (gst_shaper_class_init):
19940 * gst/elements/gststatistics.c: (gst_statistics_class_init):
19941 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
19943 * gst/gstelement.c: (gst_element_class_init),
19944 (gst_element_base_class_init), (gst_element_init),
19945 (gst_element_get_random_pad), (gst_element_wait_state_change),
19946 (gst_element_change_state), (gst_element_dispose),
19947 (gst_element_finalize), (gst_element_set_loop_function):
19948 * gst/gstelement.h:
19949 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
19950 * gst/gstthread.c: (gst_thread_class_init),
19951 (gst_thread_release_children_locks), (gst_thread_change_state):
19952 * gst/schedulers/gstbasicscheduler.c:
19953 (gst_basic_scheduler_loopfunc_wrapper),
19954 (gst_basic_scheduler_chain_wrapper),
19955 (gst_basic_scheduler_src_wrapper),
19956 (gst_basic_scheduler_remove_element):
19957 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
19958 Remove threadsafe properties. Fix elements because GObject
19959 complains when installing a property before declaring a
19960 set/get_property handler.
19961 Rearrange gstelement.h file, use STATE macros for state locks.
19962 Free mutexes in the finalize method instead of dispose.
19964 2005-03-08 Wim Taymans <wim@fluendo.com>
19966 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
19967 * gst/gstthread.c: (gst_thread_release_children_locks):
19968 Added parentage check.
19969 Fix build og GstThread again.
19971 2005-03-08 Wim Taymans <wim@fluendo.com>
19973 * docs/design/part-MT-refcounting.txt:
19974 * docs/design/part-conventions.txt:
19975 * docs/design/part-gstobject.txt:
19976 * docs/design/part-relations.txt:
19977 * docs/design/part-standards.txt:
19978 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
19979 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
19980 (gst_bin_get_by_name), (gst_bin_get_by_interface),
19981 (gst_bin_iterate_all_by_interface):
19984 * gst/gstelement.c: (gst_element_class_init),
19985 (gst_element_change_state), (gst_element_set_loop_function):
19986 * gst/gstelement.h:
19987 * gst/gstiterator.c:
19988 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
19989 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
19990 (gst_object_dispatch_properties_changed), (gst_object_set_name),
19991 (gst_object_set_parent), (gst_object_unparent),
19992 (gst_object_check_uniqueness):
19994 Docs updates, clean up some headers.
19996 2005-03-07 Wim Taymans <wim@fluendo.com>
19998 * check/.cvsignore:
19999 * check/Makefile.am:
20000 * check/gst-libs/.cvsignore:
20001 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
20002 * check/gst/.cvsignore:
20003 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
20004 (START_TEST), (gstbus_suite), (main):
20005 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
20006 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
20007 (gst_data_suite), (main):
20008 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
20009 (add_fold_func), (gstiterator_suite), (main):
20010 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
20011 (thread_name_object), (thread_name_object_default),
20012 (gst_object_name_compare), (gst_object_suite), (main):
20013 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
20014 (gst_pad_suite), (main):
20015 * check/gstcheck.c: (gst_check_log_message_func),
20016 (gst_check_log_critical_func), (gst_check_init):
20017 * check/gstcheck.h:
20018 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
20019 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
20022 2005-03-07 Wim Taymans <wim@fluendo.com>
20024 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
20025 (gst_list_iterator_next), (gst_list_iterator_resync),
20026 (gst_list_iterator_free), (gst_iterator_new_list),
20027 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
20028 (gst_iterator_free), (gst_iterator_push), (filter_next),
20029 (filter_resync), (filter_uninit), (filter_free),
20030 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
20031 (gst_iterator_foreach), (find_custom_fold_func),
20032 (gst_iterator_find_custom):
20033 * gst/gstiterator.h:
20034 Added missing files.
20036 2005-03-07 Wim Taymans <wim@fluendo.com>
20040 * docs/design/part-MT-refcounting.txt:
20041 * docs/design/part-conventions.txt:
20042 * docs/design/part-gstobject.txt:
20043 * docs/design/part-relations.txt:
20044 * examples/mixer/mixer.c: (main):
20045 * examples/thread/thread.c: (eos), (main):
20047 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
20048 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
20049 (gst_spider_plug_from_srcpad):
20050 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
20051 (gst_spider_identity_change_state),
20052 (gst_spider_identity_sink_loop_type_finding):
20053 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
20054 * gst/elements/gstidentity.c: (gst_identity_init):
20055 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
20056 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
20057 * gst/elements/gsttypefindelement.c: (free_entry):
20060 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
20061 (gst_bin_set_clock_func), (gst_bin_auto_clock),
20062 (gst_bin_set_index), (gst_bin_set_element_sched),
20063 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
20064 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
20065 (gst_bin_iterate_elements), (iterate_child_recurse),
20066 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
20067 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
20068 (compare_interface), (gst_bin_get_by_interface),
20069 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
20071 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
20072 (gst_buffer_default_free), (gst_buffer_default_copy),
20073 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
20074 (gst_buffer_create_sub):
20076 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
20077 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
20078 (gst_caps_unref), (gst_static_caps_get),
20079 (gst_caps_remove_and_get_structure), (gst_caps_append),
20080 (gst_caps_append_structure), (gst_caps_remove_structure),
20081 (gst_caps_copy_nth), (gst_caps_set_simple),
20082 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
20083 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
20084 (gst_caps_structure_intersect_field), (gst_caps_intersect),
20085 (gst_caps_structure_subtract_field), (gst_caps_subtract),
20086 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
20087 (gst_caps_structure_figure_out_union),
20088 (gst_caps_switch_structures), (gst_caps_do_simplify),
20089 (gst_caps_replace), (gst_caps_from_string),
20090 (gst_caps_copy_conditional):
20092 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
20093 (_gst_clock_id_free), (gst_clock_id_unref),
20094 (gst_clock_id_compare_func), (gst_clock_id_wait),
20095 (gst_clock_id_wait_async), (gst_clock_class_init),
20096 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
20097 (gst_clock_get_time), (gst_clock_set_time_adjust),
20098 (gst_clock_set_property), (gst_clock_get_property):
20101 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
20102 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
20104 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
20105 (gst_element_requires_clock), (gst_element_provides_clock),
20106 (gst_element_set_clock), (gst_element_clock_wait),
20107 (gst_element_wait), (gst_element_set_time_delay),
20108 (gst_element_is_indexable), (gst_element_add_pad),
20109 (gst_element_add_ghost_pad), (gst_element_remove_pad),
20110 (pad_compare_name), (gst_element_get_static_pad),
20111 (gst_element_request_pad), (gst_element_get_request_pad),
20112 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
20113 (gst_element_class_get_pad_template_list),
20114 (gst_element_class_get_pad_template), (gst_element_error_func),
20115 (gst_element_get_random_pad), (gst_element_get_event_masks),
20116 (gst_element_send_event), (gst_element_seek),
20117 (gst_element_get_query_types), (gst_element_query),
20118 (gst_element_get_formats), (gst_element_convert),
20119 (gst_element_is_locked_state), (gst_element_set_locked_state),
20120 (gst_element_sync_state_with_parent), (gst_element_change_state),
20121 (gst_element_finalize), (gst_element_yield),
20122 (gst_element_interrupt), (gst_element_set_scheduler),
20123 (gst_element_get_scheduler), (gst_element_set_loop_function):
20124 * gst/gstelement.h:
20126 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
20127 (gst_format_get_by_nick), (gst_format_get_details),
20128 (gst_format_iterate_definitions):
20130 * gst/gstindex.c: (gst_index_gtype_resolver):
20133 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
20134 (gst_mem_chunk_free):
20135 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
20136 (gst_object_ref), (gst_object_unref), (gst_object_sink),
20137 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
20138 (gst_object_dispatch_properties_changed),
20139 (gst_object_set_name_default), (gst_object_set_name),
20140 (gst_object_get_name), (gst_object_set_name_prefix),
20141 (gst_object_get_name_prefix), (gst_object_set_parent),
20142 (gst_object_get_parent), (gst_object_unparent),
20143 (gst_object_check_uniqueness), (gst_object_save_thyself),
20144 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
20145 (gst_object_set_property), (gst_object_get_property),
20146 (gst_object_get_path_string):
20148 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
20149 (gst_real_pad_init), (gst_real_pad_get_property),
20150 (gst_pad_custom_new), (gst_pad_get_direction),
20151 (gst_pad_set_active), (gst_pad_is_active),
20152 (gst_pad_set_event_function), (gst_pad_is_linked),
20153 (gst_pad_link_free), (gst_pad_link_intersect),
20154 (gst_pad_link_fixate), (gst_pad_set_caps),
20155 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
20156 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
20157 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
20158 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
20159 (gst_pad_get_caps), (gst_pad_peer_get_caps),
20160 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
20161 (gst_pad_realize), (gst_pad_get_allowed_caps),
20162 (gst_real_pad_dispose), (gst_real_pad_finalize),
20163 (gst_pad_collectv), (gst_pad_collect_valist),
20164 (gst_pad_template_dispose), (gst_pad_template_new),
20165 (gst_pad_get_internal_links):
20167 * gst/gstpipeline.c: (gst_pipeline_dispose),
20168 (gst_pipeline_change_state):
20169 * gst/gstpipeline.h:
20171 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
20172 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
20173 * gst/gstpluginfeature.h:
20174 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
20175 * gst/gstquery.c: (_gst_query_type_initialize),
20176 (gst_query_type_register), (gst_query_type_get_by_nick),
20177 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
20179 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
20180 * gst/gstscheduler.c: (gst_scheduler_add_element),
20181 (gst_scheduler_factory_create):
20182 * gst/gststructure.c: (gst_structure_set_parent_refcount),
20183 (gst_structure_free), (gst_structure_set_name),
20184 (gst_structure_id_set_value), (gst_structure_set_value),
20185 (gst_structure_set_valist), (gst_structure_remove_field),
20186 (gst_structure_remove_fields),
20187 (gst_structure_remove_fields_valist),
20188 (gst_structure_remove_all_fields), (gst_structure_foreach),
20189 (gst_structure_map_in_place),
20190 (gst_caps_structure_fixate_field_nearest_int),
20191 (gst_caps_structure_fixate_field_nearest_double):
20192 * gst/gststructure.h:
20193 * gst/gstsystemclock.c: (gst_system_clock_class_init),
20194 (gst_system_clock_init), (gst_system_clock_dispose),
20195 (gst_system_clock_async_thread),
20196 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
20197 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
20198 * gst/gstsystemclock.h:
20199 * gst/gsttag.c: (gst_tag_list_add_value_internal),
20200 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
20201 * gst/gsttaginterface.c:
20202 * gst/gstthread.c: (gst_thread_dispose),
20203 (gst_thread_release_children_locks), (gst_thread_change_state),
20204 (gst_thread_main_loop):
20205 * gst/gsttrashstack.h:
20206 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
20208 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
20209 (gst_element_request_pad), (gst_element_get_pad_from_template),
20210 (gst_element_request_compatible_pad),
20211 (gst_element_get_compatible_pad_filtered),
20212 (gst_element_get_compatible_pad), (gst_element_state_get_name),
20213 (gst_element_link_pads_filtered), (gst_element_link_filtered),
20214 (gst_element_link_many), (gst_element_link),
20215 (gst_element_link_pads), (gst_element_unlink_pads),
20216 (gst_element_unlink_many), (gst_element_unlink),
20217 (gst_pad_can_link_filtered), (gst_pad_can_link),
20218 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
20219 (gst_object_default_error), (gst_bin_add_many),
20220 (gst_bin_remove_many), (gst_element_populate_std_props),
20221 (gst_element_class_install_std_props), (gst_buffer_merge),
20222 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
20223 (link_fold_func), (gst_pad_proxy_setcaps):
20225 * gst/gstvalue.c: (gst_value_deserialize_string):
20226 * gst/parse/grammar.y:
20227 * gst/schedulers/gstbasicscheduler.c:
20228 (gst_basic_scheduler_cothreaded_chain),
20229 (gst_basic_scheduler_chain_recursive_add),
20230 (gst_basic_scheduler_pad_link):
20231 * gst/schedulers/gstoptimalscheduler.c:
20232 (get_group_schedule_function),
20233 (gst_opt_scheduler_state_transition),
20234 (gst_opt_scheduler_add_element), (element_get_reachables_func):
20235 * libs/gst/bytestream/bytestream.c:
20236 * libs/gst/dataprotocol/dataprotocol.c:
20237 (gst_dp_header_from_buffer):
20240 * tests/threadstate/threadstate2.c: (eos):
20241 * tools/gst-compprep.c: (main):
20242 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
20243 (print_pad_info), (print_children_info):
20244 * tools/gst-launch.c: (idle_func), (main):
20245 * tools/gst-md5sum.c: (idle_func), (main):
20246 * tools/gst-xmlinspect.c: (print_element_info):
20247 First THREADED backport attempt, focusing on adding locks and
20248 making sure the API is threadsafe. Needs more work. More docs
20251 2005-02-24 Andy Wingo <wingo@pobox.com>
20253 * tests/bench-complexity.scm:
20254 * tests/complexity.gnuplot: New files, good for running complexity
20257 * tests/Makefile.am:
20258 * tests/complexity.c: New test, sets up N elements, at each level
20259 teeing into M streams per element. Eeeenteresting.
20261 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
20262 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
20263 running bench-mass_elements.scm.
20265 * tests/bench-mass_elements.scm: New script, runs mass_elements
20266 for various numbers of identities, outputting the results to a
20267 file. Requires guile 1.6. Just for testing.
20269 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
20271 * gst/schedulers/fairscheduler.c:
20272 compile with debug disabled
20274 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
20277 hunting season on 0.9 is now OPEN