1 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
3 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4 (gst_base_src_perform_seek), (gst_base_src_get_range),
5 (gst_base_src_set_playing), (gst_base_src_change_state):
6 Make _wait_playing() not check any variables so that we can call this
7 function from subclasses. Move the checks elsewhere similar to
8 _wait_preroll() in basesink.
10 Only signal the LIVE cond when we are going back to PLAYING.
12 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
14 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
15 Use g_remove() and g_rename(). Check result of g_rename(), and
16 don't leak the open file descriptor if we error out when writing.
18 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
19 Must check the return value of close() after writing out the new
20 registry file. Sometimes write problems such as out-of-diskspace
21 are only reported when the file is closed and not already during
22 the write. This may have caused partial/broken registry files in
23 some rare circumstances. Should fix #503675.
25 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
27 * docs/gst/.cvsignore:
28 * docs/libs/.cvsignore:
29 * docs/plugins/.cvsignore:
30 Ignore files generated by new common/* modifications
32 2007-12-15 Stefan Kost <ensonic@users.sf.net>
34 * win32/common/libgstbase.def:
35 Yes, you can also have a <TAB> if you want.
37 2007-12-15 Stefan Kost <ensonic@users.sf.net>
39 * win32/common/libgstbase.def:
40 Add new basetransform API to win export file.
42 2007-12-15 Stefan Kost <ensonic@users.sf.net>
44 * tests/check/gst/gstbin.c:
45 Adjust the test to the refcount change two days ago.
47 2007-12-14 David Schleef <ds@schleef.org>
49 * docs/faq/getting.xml: Fix typo.
51 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
53 * docs/libs/gstreamer-libs-sections.txt:
54 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
55 (gst_base_transform_prepare_output_buffer),
56 (gst_base_transform_set_gap_aware):
57 * libs/gst/base/gstbasetransform.h:
58 API: Add gst_base_transform_set_gap_aware() to control whether
59 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
60 get buffers with this flag at all. Fixes #503231.
62 2007-12-13 Stefan Kost <ensonic@users.sf.net>
64 * libs/gst/base/gstbasesink.c:
65 * libs/gst/base/gstbasesrc.c:
66 * libs/gst/base/gstbasetransform.c:
67 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
68 thread. Correct log message in gstbasesrc.c.
70 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
72 * gst/gstutils.c: (element_find_unconnected_pad):
73 Fix possible compiler warning (#503417).
75 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
77 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
78 Don't use GST_CAT_EVENT here for logging, it makes no sense.
80 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
82 * tools/gst-inspect.c: (print_element_properties_info):
83 Add support for GstFraction properties.
85 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
88 Add check-exports target and run it as part of 'make check'
89 (see #499140 and #493983).
92 * gst/gstelementfactory.h:
93 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
94 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
95 (_priv_gst_in_valgrind):
96 * gst/gstinfo.h: (GstLogFunction):
97 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
98 (gst_type_find_register):
99 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
100 (gst_type_find_factory_get_type):
101 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
102 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
103 (gst_controller_new_valist), (gst_controller_new_list),
104 (_gst_controller_dispose), (_gst_controller_class_init):
105 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
106 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
107 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
108 (gst_object_get_controller), (gst_object_set_controller),
109 (gst_object_suggest_next_sync), (gst_object_sync_values),
110 (gst_object_set_control_source), (gst_object_get_control_source),
111 (gst_object_get_value_arrays), (gst_object_get_value_array),
112 (gst_object_get_control_rate), (gst_object_set_control_rate):
113 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
114 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
115 Make some functions that should be static static; rename some
116 private symbols so that they don't get exported; add some FIXME
117 comments so we can move accidentally exported functions into
118 our private section in 0.11.
120 * win32/common/libgstreamer.def:
121 Add gst_utils_get_timestamp().
123 2007-12-12 Stefan Kost <ensonic@users.sf.net>
127 Add more missing "Since:" tags to docs.
129 2007-12-12 Stefan Kost <ensonic@users.sf.net>
132 Add mising "Since:" to docs.
134 2007-12-11 Stefan Kost <ensonic@users.sf.net>
137 Include "glib-compat-private.h" to fix the build on system with
138 glib < 2.10. Fixes #503131.
140 2007-12-11 Stefan Kost <ensonic@users.sf.net>
144 Actually its not PURE as it gets the time from elsewhere.
146 2007-12-11 Stefan Kost <ensonic@users.sf.net>
148 * docs/gst/gstreamer-sections.txt:
150 * gst/gstdebugutils.c:
154 * libs/gst/base/gstbasesink.c:
155 * tools/gst-launch.c:
156 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
157 uses as we don't have HAVE_POSIX_TIMERS in public headers.
158 Thanks Tim for spotting.
160 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
163 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
165 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
167 * gst/gststructure.c: (gst_structure_validate_name),
168 (gst_structure_new_valist), (gst_structure_parse_value),
169 (gst_structure_from_string):
170 Don't crash in _from_string() if the structure name is not valid
171 (fixes #501560). Allow structure names to start with a number
172 again (this apparently broke the ubuntu codec installer).
174 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
176 Add unit test for the crash; update unit tests for new behaviour.
178 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
181 Clarify gst_element_get_compatible_pad() documentation.
184 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
186 * tests/check/Makefile.am:
187 Don't forget to dist {gst,libs}/struct_hppa.h.
189 2007-11-28 Stefan Kost <ensonic@users.sf.net>
191 * libs/gst/base/gstbasesink.c:
192 Use new API to get elapsed time.
194 2007-11-28 Stefan Kost <ensonic@users.sf.net>
196 * gst/gstdebugutils.c:
198 Fix wrong order of args in GST_CLOCK_DIFF() usage.
200 * tools/gst-launch.c:
201 Use new API to get elapsed time.
203 2007-11-28 Stefan Kost <ensonic@users.sf.net>
205 * docs/gst/gstreamer-sections.txt:
207 * gst/gstdebugutils.c:
209 Rename new API + ChangeLog surgery to remove old name from last entry..
210 API: GST_GET_TIMESTAMP
212 2007-11-28 Stefan Kost <ensonic@users.sf.net>
214 * docs/gst/gstreamer-sections.txt:
216 * gst/gstdebugutils.c:
218 Now hide the different clock stuff behind a macro.
220 2007-11-28 Stefan Kost <ensonic@users.sf.net>
223 * gst/gstdebugutils.c:
225 Apply the posix-timer check from #361155. Conditionally use the posix
226 timer for logging. This gives better timestamp precission, less
227 overhead and no ntp jitter.
229 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
231 * gst/gstminiobject.c: (gst_mini_object_get_type),
232 (gst_mini_object_class_init), (gst_mini_object_copy_default),
233 (gst_mini_object_finalize), (gst_mini_object_copy),
234 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
235 (gst_mini_object_replace), (param_mini_object_validate),
236 (gst_param_spec_mini_object_get_type):
237 Some cleanup and checking against invalid function parameters.
239 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
241 * docs/gst/gstreamer-sections.txt:
243 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
244 (gst_systemclock_suite):
245 Start merging in the easy bits of #361155, the monotonic clock patch.
246 This one adds a few handy macros with docs and a testsuite.
248 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
250 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
251 Be a bit smarter when seeking, like, don't try to do a seek when it's
252 not needed. This avoids errors when the file is not seekable.
255 2007-11-26 Stefan Kost <ensonic@users.sf.net>
257 * docs/gst/gstreamer-docs.sgml:
258 * docs/gst/gstreamer-sections.txt:
259 * docs/gst/gstreamer.types.in:
264 * plugins/elements/gstqueue.c:
265 Due to popular request remove preset interface again. :-(.
267 2007-11-22 Stefan Kost <ensonic@users.sf.net>
269 * tools/gst-inspect.c:
270 Print 'default value' for enums and flags too.
272 2007-11-22 Stefan Kost <ensonic@users.sf.net>
274 * docs/random/ensonic/profiling.txt:
278 Fix typo and give better log output.
280 * gst/gstdebugutils.c:
281 * gst/gstdebugutils.h:
282 More ideas, make graphs a bit smaller and fix param name in macro.
284 2007-11-22 Stefan Kost <ensonic@users.sf.net>
287 Try harder to use the return value from fgets().
289 2007-11-21 Stefan Kost <ensonic@users.sf.net>
292 For theses two fgets we handle the error below.
294 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
296 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
297 Only send upstream events upstream. Fixes #498746.
299 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
301 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
303 * plugins/elements/gstidentity.c: (gst_identity_class_init),
304 (gst_identity_init), (gst_identity_transform_ip),
305 (gst_identity_set_property), (gst_identity_get_property):
306 * plugins/elements/gstidentity.h:
307 Add property to disable handoff signal emission. Fixes #498694.
308 API: GstIdentity::signal-handoffs
310 2007-11-21 Julien Moutte <julien@fluendo.com>
312 * docs/faq/gst-uninstalled: Yet another missing library for the
313 uninstalled script (fft)
315 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
317 * docs/faq/developing.xml:
318 Add a question about how to submit new translations.
320 * docs/random/release:
321 Update the contact email address for the Translation Project
323 * plugins/elements/gstfdsrc.c:
324 The parent_class for fdsrc is pushsrc, not GstElement.
326 2007-11-20 Stefan Kost <ensonic@users.sf.net>
329 Plug a leak and fix saving.
331 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
333 * docs/gst/gstreamer-sections.txt:
334 Add new gst_preset__get_property_names() function to the docs
337 2007-11-20 Stefan Kost <ensonic@users.sf.net>
341 Change _get_preset_names API to return a strv with copies. Add
342 _get_property_names to allow implementations to filter and provide
343 good default implementation.
345 2007-11-20 Julien MOUTTE <julien@moutte.net>
347 * docs/faq/gst-uninstalled: Add another library to the uninstalled
350 2007-11-19 Stefan Kost <ensonic@users.sf.net>
353 More cleanups, docs, and TODOs from comments that now slowly come in.
355 2007-11-19 Julien MOUTTE <julien@moutte.net>
357 * docs/faq/gst-uninstalled: Add new base libraries in the LD
360 2007-11-19 Stefan Kost <ensonic@users.sf.net>
363 Fix bogus warning and make the property type specific code more
366 2007-11-19 Julien MOUTTE <julien@moutte.net>
368 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
371 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
373 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
374 (gst_bin_add_func), (gst_bin_remove_func),
375 (gst_bin_change_state_func), (gst_bin_continue_func):
376 Change email, cleanups add some more debug and comments.
377 Also set bus and clock on new elements when the pipeline was in error.
379 2007-11-18 Stefan Kost <ensonic@users.sf.net>
382 * gst/gstdebugutils.c:
383 Fix build with --disable-gst-debug. Fixes #497859.
384 Spotted by Sameer Naik.
386 2007-11-17 Stefan Kost <ensonic@users.sf.net>
389 Little documentation improvment.
392 More TODO cleanups. Remove c++ comments.
394 * libs/gst/controller/gstcontroller.c:
395 Add TODO and use quark from static string.
397 * tests/check/gst/gstmessage.c:
398 * tests/check/gst/gststructure.c:
399 Use quark from static string.
401 2007-11-17 Stefan Kost <ensonic@users.sf.net>
404 Add some comments and TODOs.
407 Add padding for future changes.
409 * plugins/elements/gstqueue.c:
412 2007-11-17 Stefan Kost <ensonic@users.sf.net>
414 * docs/gst/gstreamer-docs.sgml:
415 * docs/gst/gstreamer-sections.txt:
416 * docs/gst/gstreamer.types.in:
421 Add the preset interface (Fixes #396779). Do some doc cleanups along.
423 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
429 === release 0.10.15 ===
431 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
434 releasing 0.10.15, "October"
436 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
438 * win32/vs6/libgstreamer.dsp:
439 Convert line endings back to DOS.
441 2007-11-13 Stefan Kost <ensonic@users.sf.net>
443 * docs/design/draft-tagreading.txt:
444 * docs/random/ensonic/profiling.txt:
445 Update fast tagreading draft and performance profiling ideas.
447 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
449 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
450 Don't hold the object lock when unreffing a buffer because it could
451 cause a deadlock when the finalize function wants to grab the object
452 lock too. Fixes #495133.
454 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
456 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
457 (gst_segment_to_stream_time), (gst_segment_to_running_time):
458 Also accumulate time correctly when doing reverse playback. Fixes
460 When converting to running and stream time, use default values for
461 start/stop/time/accum when comparing different formats. Fixes #494245.
463 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
464 Do running/stream time in TIME format.
466 * tests/check/gst/gstsegment.c: (GST_START_TEST),
468 2 new unit tests for segment accumulation.
470 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
472 * gst/gst.c: (init_pre):
473 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
474 (_gst_debug_bin_to_dot_file):
475 Move getenv() back into gst_init, so everyone can live happily
476 ever after. Make sure the symbol isn't exported though.
478 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
480 Patch by: Sebastien Moutte <sebastien moutte net>
482 * win32/common/gstenumtypes.c:
483 * win32/common/gstenumtypes.h:
486 * win32/vs6/libgstreamer.dsp:
487 Update vs6 project files (#494343).
489 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
491 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
492 (gst_base_src_perform_seek), (gst_base_src_default_event),
493 (gst_base_src_set_flushing), (gst_base_src_activate_push),
494 (gst_base_src_activate_pull):
495 Unify flushing code, remove some old unlock code that is no longer used.
496 Take the streaming lock when seeking to avoid races. Fixes #492729.
497 Added some more comments.
499 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
501 * gst/gst.c: (_gst_disable_segtrap):
502 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
503 we can use gst_segtrap_is_enabled() there now that we have that API.
504 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
505 to do the getenv here (and export the variable).
507 * gst/gstdebugutils.c: (debug_dump_element),
508 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
509 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
511 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
512 (gst_debug_log_default):
513 Rename _gst_info_start_time to priv_gst_info_start_time so it
514 doesn't get exported (was never in any header).
516 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
517 (gst_plugin_loading_mutex):
518 Make static mutex gst_plugin_loading_mutex really static (was never
519 in any header), and use gst_segtrap_is_enabled() instead of
520 _gst_disable_segtrap.
522 * gst/gsttrace.c: (_gst_trace_default):
523 Make local _gst_trace_default static (was never in any header).
525 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
527 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
529 * win32/common/libgstbase.def:
530 * win32/common/libgstcontroller.def:
531 * win32/common/libgstdataprotocol.def:
532 * win32/common/libgstnet.def:
533 * win32/common/libgstreamer.def:
534 Add more missing symbols, remove some duplicates, and sort
535 as the 'sort' command sorts it (partially fixes #493983).
537 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
539 * gst/gstelement.c: (gst_element_set_state_func):
540 Only change the state cookie if a different state was set on the
541 element. See #492729.
543 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
546 Remove unused and uninitialised type variables that were still
547 exported for some reason (they were never in any header files
550 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
552 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
553 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
554 (gst_base_sink_event), (gst_base_sink_get_position_last),
555 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
556 (gst_base_sink_change_state):
557 Don't try to report a 0 position when we don't know, return -1 and FALSE
558 instead. This mostly happens when we are prerolling.
559 Make sure we can report the right position before we post the ASYNC_DONE
560 message so that a message handler can query position without races.
562 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
563 (async_done_handoff), (async_done_func), (send_buffer),
564 (async_done_eos_func), (gst_sinks_suite):
565 Add two tests for the above.
567 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
570 Update with new email address.
572 * docs/design/part-TODO.txt:
573 Add some more info about future pad-block and negotiation changes.
575 * docs/design/part-buffering.txt:
576 Add some ideas about buffering reporting.
578 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
580 * tests/check/gst/gstobject.c:
581 Disable silly racy test that always fails on this combination of CPU
584 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
586 Patch by: Murray Cumming <murrayc@murrayc.com>
589 Corrected the registration of the parent-set and parent-unset
590 signals: The parameter is a GstObject, not a GObject (#493134).
592 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
603 Move declaration of private _gst_foo_initialize() functions into
604 our private header file where they should have been all along.
606 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
608 * docs/plugins/gstreamer-plugins-sections.txt:
609 * gst/gstdebugutils.h:
611 * plugins/elements/gstqueue.c:
612 gtk-doc fixes; trailing-comma-in-enum fix.
614 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
616 * gst/gst.c: (gst_deinit):
617 Clean up on deinit (not the external ones though, doesn't seem to be
618 needed for some reason).
620 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
622 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
623 Remove __declspec(dllimport) for MSVC that was copied over into core
624 from a plugin, obviously without ever having been tested (note the
625 single underscore in _declspec in the initial commit), and that doesn't
626 really make sense. See #492077.
628 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
630 * gst/gst.c: (init_post):
631 * gst/gstevent.c: (_gst_event_initialize):
632 * gst/gstquery.c: (_gst_query_initialize):
633 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
634 g_type_class_ref() other types as well, see #349410 and #64764.
636 * gst/gstbuffer.c: (_gst_buffer_initialize):
637 * gst/gstmessage.c: (_gst_message_initialize):
638 Simplify existing g_type_class_ref().
640 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
642 * gst/gstformat.c: (_gst_format_initialize):
643 g_type_class_ref() our GstFormat type to make sure we avoid the
644 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
645 bug #64764. Should fix intermittent tee unit test failures (#474823).
647 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
649 * tests/check/elements/tee.c: (test_num_buffers):
650 Simplify, simplify, simplify - or not. Rewrite unit test
651 not to use gst_parse_launch(); allow N sub-streams. Increasing
652 the number of sub-streams seems to reproduce #474823 more easily.
654 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
656 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
659 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
660 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
661 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
662 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
663 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
664 so use _pipe() directly (#492077).
666 * win32/common/dirent.c: (_treaddir):
667 Add a couple of casts to make it build without warnings with MSVC.
669 * win32/common/libgstreamer.def:
670 Add some more symbols that need to be exported.
672 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
674 * tests/examples/metadata/read-metadata.c: (message_loop):
675 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
676 arriving in a second or third tag message are added to
677 the tag list as well.
679 2007-10-31 Stefan Kost <ensonic@users.sf.net>
681 * libs/gst/base/gstbasesrc.c:
682 Its "Since:" and not "@Since:". And remove an superflous cast.
684 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
686 * docs/libs/gstreamer-libs-sections.txt:
687 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
688 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
689 (gst_base_sink_get_property), (gst_base_sink_render_object),
690 (gst_base_sink_preroll_object),
691 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
692 (gst_base_sink_change_state):
693 * libs/gst/base/gstbasesink.h:
694 Add a new last-buffer property that contains the last buffer used in
695 basesink for preroll or rendering. useful for making snapshots.
696 API: gst_base_sink_get_last_buffer()
697 API: GstBaseSink::last-buffer
699 2007-10-29 Stefan Kost <ensonic@users.sf.net>
701 * docs/gst/running.xml:
703 * gst/gstdebugutils.c:
704 * gst/gstdebugutils.h:
705 * tools/gst-launch.c:
706 Improve bin graph dumping, by using the envvar to specify a path.
707 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
709 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
711 * plugins/elements/gsttypefindelement.c:
712 (gst_type_find_element_handle_event),
713 (gst_type_find_element_activate):
714 Post special error message if we can't determine the type of a stream
717 2007-10-29 Stefan Kost <ensonic@users.sf.net>
719 * docs/gst/running.xml:
720 * gst/gstdebugutils.c:
721 Document new env-var. Add one log-line after dumpng a graph.
723 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
726 Ugly hack to put the (recently removed and non-portable, apparently)
727 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
728 GNU ld, because without that 'make check' fails miserably on my debian
729 stable box. Someone with more knowledge of linker intricacies and
730 portability issues than me fix this properly please.
732 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
734 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
735 Reset last seen position after flushing so that we don't report the old
738 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
740 * gst/gstelementfactory.c: (gst_element_register):
742 Patch from Alessandro Decina adding get_type_full and
743 get_protocols_full private vfuncs to the URIHandler interface
744 to allow bindings to support creating URI handlers.
745 Partially fixes: #339279
746 API: GstURIHandlerInterface::get_type_full
747 API: GstURIHandlerInterface::get_protocols_full
749 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
751 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
752 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
753 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
754 Make it so that pads are considered linked until a buffer is pushed
755 and discovered otherwise. This avoids problems with decodebin2 hanging
756 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
759 Make sure we lock the multiqueue when updating the max-size properties.
761 Fix a crash on Solaris in a debug statement in get_request_pad that
762 passes a NULL string to GST_DEBUG.
764 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
765 (run_output_order_test):
766 Fix the test to allow the first buffer on not-linked pads to come out
767 of sequence while multiqueue discovers that they are not-linked.
769 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
772 * libs/gst/check/Makefile.am:
773 Use a custom export symbol regex for libgstcheck, as it needs
774 to export symbols that don't match the standard GStreamer gst_*
775 pattern, and --export-dynamic is not portable (only works on
778 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
779 (gst_check_setup_sink_pad):
780 Make sure to pass a message parameter to the fail_* macros.
782 * tests/check/gst/gstinfo.c: (GST_START_TEST):
783 Fix some compiler warnings.
785 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
787 * tests/check/gst/gststructure.c: (test_to_string):
788 Disable test that checks that white spaces are not allowed
789 in structure names or field names, since we need to
790 support that for now for backwards compatibility reasons.
792 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
794 * docs/gst/gstreamer-sections.txt:
797 API: add GST_TAG_ARTIST_SORTNAME
798 API: add GST_TAG_ALBUM_SORTNAME
799 API: add GST_TAG_TITLE_SORTNAME
800 Add tag variants for sorting (#414539).
802 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
804 * gst/gststructure.c:
805 Also allow white space for names so we don't break
806 backwards compatibility.
808 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
810 * docs/design/part-TODO.txt:
811 * docs/design/part-segments.txt:
812 * docs/design/part-streams.txt:
815 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
817 * docs/gst/gstreamer-sections.txt:
818 Fixed documentation from my previous commit (added new API add
819 gst_value_set_structure(), add gst_value_get_structure() and
820 GST_VALUE_HOLDS_STRUCTURE).
822 2007-10-22 Stefan Kost <ensonic@users.sf.net>
824 * gst/gstdebugutils.c:
825 Reflow code to fix uninitialized variable warning.
827 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
829 * gst/gstcaps.c: (gst_caps_to_string),
830 (gst_caps_from_string_inplace):
831 * gst/gststructure.c: (gst_structure_get_abbrs),
832 (gst_structure_to_string), (gst_structure_from_string):
833 * gst/gstvalue.c: (gst_value_set_structure),
834 (gst_value_get_structure), (gst_value_serialize_structure),
835 (gst_value_deserialize_structure), (_gst_value_initialize):
837 * tests/check/gst/gststructure.c: (GST_START_TEST),
838 (gst_structure_suite):
839 * tests/check/gst/gstvalue.c: (GST_START_TEST):
840 Added GstStructure to gst_value_table and its related functions.
841 Changed gst_structure_to_string to print ';' in the end.
842 Changed gst_caps_to_string to not print ';' beteween its
843 fields (structures) anymore and remove the lastes ';' from latest
844 structure. Now it is possible to have nested structures.
845 In addition, backward compatibilty is assured by accepting '\0' as
846 end delimiter. Fixes: #487969.
847 API: add gst_value_set_structure()
848 API: add gst_value_get_structure()
849 API: add GST_VALUE_HOLDS_STRUCTURE
851 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
854 When no GSource callback has been set up, tell developer
855 to use a function that actually exists.
857 2007-10-17 Stefan Kost <ensonic@users.sf.net>
859 * docs/gst/gstreamer-sections.txt:
863 * gst/gstdebugutils.c:
864 * gst/gstdebugutils.h:
867 * tools/gst-launch.c:
868 Allow dumping pipelines as dot graphs. Fixes #456573.
870 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
872 * gst/gststructure.c:
873 Allow '+' as well, it can be part of media or mime types
874 such as image/svg+xml.
876 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
878 * docs/gst/gstreamer-sections.txt:
881 API: add gst_bus_pop_filtered
882 API: add gst_bus_timed_pop_filtered
883 Two new functions for waiting for specific message types on the
884 bus for a specified amount of time without iterating any main
885 loops or main contexts.
887 * tests/check/gst/gstbus.c:
888 Some tests for the new functions.
890 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
892 * docs/libs/gstreamer-libs-sections.txt:
893 Make gtk-doc ignore stuff it should ignore.
895 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
897 * libs/gst/check/gstcheck.c:
898 * libs/gst/check/gstcheck.h:
899 Allow runtime selection of unit tests to run via the GST_CHECKS
900 environment variable (test case function names, comma-separated).
902 2007-10-16 Stefan Kost <ensonic@users.sf.net>
904 * gst/gststructure.c:
905 * tests/check/gst/gststructure.c:
906 Revert serialisation change and constrain structure-names after
907 consensus on irc. Update api documentation to reflect the change.
909 2007-10-16 Stefan Kost <ensonic@users.sf.net>
911 * gst/gststructure.c:
912 Improve serialization and fix tests.
914 * tests/check/gst/gststructure.c:
915 Add another test that covers why I actually did the previous structure
918 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
920 * tools/gst-inspect.c: (print_element_info):
921 Don't crash when inspecting an element.
923 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
925 * tests/check/gst/gststructure.c:
926 Add unit test for escaping of structure name when serialising
927 and deserialising to/from strings.
929 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
931 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
932 (gst_single_queue_new):
933 * plugins/elements/gstqueue.c: (gst_queue_init),
934 (gst_queue_push_one):
935 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
936 upstream is tricked into thinking it can suggest a format downstream
937 while downstream does not support that format. The real problem is that
938 core calls acceptcaps when pushing a buffer with new caps, for which we
939 do a little workaround by setting the caps on the srcpad ourselves
940 before pushing the buffer (until this is figured out). Fixes #486758.
942 2007-10-15 Stefan Kost <ensonic@users.sf.net>
944 * gst/gststructure.c:
946 Add some more comments and debug output. Quote structure name to fix
947 deserialisation of some strings.
949 2007-10-15 Stefan Kost <ensonic@users.sf.net>
952 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
953 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
955 2007-10-15 Stefan Kost <ensonic@users.sf.net>
957 * tools/gst-inspect.c:
958 Save approx. 400 1 byte allocs when printing. Use API to acces element
964 * tools/gst-xmlinspect.c:
965 Use API to acces element details.
967 2007-10-15 Stefan Kost <ensonic@users.sf.net>
970 Fix some spelling errors.
972 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
974 * gst/gstbin.c: (bin_handle_async_done):
975 Correctly set the next state if all of our async children commited their
976 state. This makes sure we can actually cancel the state change in
977 progress. Fixes a regression in Rhythmbox when seeking.
979 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
982 Don't shadow local variable.
985 Don't shadow global function name.
987 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
989 * gst/gstelementfactory.c:
990 * gst/gstpluginfeature.c:
991 * gst/gstpluginfeature.h:
992 * gst/gstregistrybinary.c:
993 * gst/gstregistryxml.c:
995 Use already-interned string for the private GstPluginFeature
998 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
1000 * docs/libs/gstreamer-libs-sections.txt:
1001 Add new API to docs; fixes the build.
1003 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
1005 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
1007 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
1008 (gst_base_sink_event):
1009 * libs/gst/base/gstbasesink.h:
1010 Add function to wait for EOS, subclasses can use this to correctly wait
1011 for devices to drain before performing the EOS logic. Fixes #485343.
1012 API: gst_base_sink_wait_eos()
1014 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
1017 Cast description string constants in GST_PLUGIN_DEFINE macros
1018 to a (gchar*) to make C++ code using these macros compile
1019 without warning with g++-4.2 (see #462737). Even if slightly
1020 ugly, this seems preferable to putting the description strings
1021 into the GLib quark table or making the structure member a
1022 const gchar * and doing casts in core code that allocs and
1023 frees these strings, or requiring a cast in the C++ code.
1025 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
1028 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
1029 to print the entire class/function signature into the log
1030 file for C++ code. This only affects C++ code, for C code
1031 everything remains the same.
1033 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
1035 * gst/gstbin.c: (remove_from_queue):
1036 Work around a problem with pipelines containing (semi)loops until a
1037 proper, more complicated solution is ready. See #475455.
1039 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
1043 * gst/gstregistrybinary.c:
1044 * gst/gstregistryxml.c:
1045 Put more strings into the GLib quark table. No need to keep
1046 a hundred-something copies of identical version strings,
1047 license strings, package name strings and package origin
1050 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
1052 * docs/manual/advanced-dataaccess.xml:
1053 Don't imply that it's okay to unconditionally change
1054 buffer data or buffer metadata in a pad probe callback,
1055 and a bunch of other comments. Fixes #430031.
1057 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
1059 * win32/common/gstenumtypes.c:
1060 * win32/common/gstenumtypes.h:
1061 * win32/common/gstversion.h:
1062 Update generated files.
1064 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
1066 * docs/manual/advanced-autoplugging.xml:
1067 Prefix section with broken code with a warning (see #342432).
1069 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
1071 * docs/manual/appendix-integration.xml:
1072 * docs/manual/basics-init.xml:
1073 Call g_thread_init() before g_option_context_new() to
1074 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
1076 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
1078 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1079 (gst_base_sink_queue_object_unlocked),
1080 (gst_base_sink_queue_object), (gst_base_sink_event),
1081 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
1082 When we received EOS and are waiting for when to post the EOS message,
1083 our state is prerolled and we should not return ASYNC.
1084 Reorganize some code paths to implement this behavior.
1086 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
1088 Add unit test to verify above EOS fix.
1090 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
1092 * plugins/elements/gsttypefindelement.c:
1093 (gst_type_find_element_have_type), (gst_type_find_element_init),
1094 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
1095 Move detecting the input caps of the sinkpad to the setcaps function.
1096 This allows us to update the output caps when we receive new input caps
1097 instead of always using the first detected caps.
1099 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
1101 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
1102 (gst_base_sink_get_position):
1103 Don't try to preroll non-async elements after a flush.
1104 Subtract latency form clock times when reporting position.
1106 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
1108 * gst/gstpad.c: (gst_pad_pause_task):
1110 Small comment and documentation update.
1112 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
1114 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1115 (gst_base_src_set_live), (gst_base_src_is_live),
1116 (gst_base_src_query_latency), (gst_base_src_perform_seek),
1117 (gst_base_src_default_event), (gst_base_src_wait),
1118 (gst_base_src_do_sync), (gst_base_src_get_range),
1119 (gst_base_src_pad_get_range), (gst_base_src_loop),
1120 (gst_base_src_unlock), (gst_base_src_unlock_stop),
1121 (gst_base_src_set_flushing), (gst_base_src_set_playing),
1122 (gst_base_src_activate_push), (gst_base_src_activate_pull),
1123 (gst_base_src_change_state):
1124 Rework the locking of basesrc in a similar fashion to basesink. We
1125 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
1126 us to handle live sources and semi live ones much better.
1128 Fix unlocking when seeking, shutting down and pausing in live sources.
1130 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
1132 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
1133 Fix compilation again.
1135 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1138 Use meaningful categories for the logs to clean the default one.
1140 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1142 * tests/check/pipelines/cleanup.c:
1143 Print message name and not just number.
1145 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1147 * docs/design/draft-tagreading.txt:
1148 Add some more thoughts.
1150 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1152 * tests/check/pipelines/simple-launch-lines.c:
1153 Print message name and not just number.
1155 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1157 * libs/gst/base/gsttypefindhelper.c:
1158 Speedup typefinding. This is work in progress (see #459862).
1160 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1163 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
1164 Spotted by Josep Torra Valles <josep@fluendo.com>.
1166 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
1169 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
1170 field has moved to GstObject.
1172 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
1174 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
1175 (gst_base_src_get_range), (gst_base_src_change_state):
1176 Call unlock for live sources so that they can't get stuck in _create and
1177 produce a buffer before they are set back to PLAYING.
1179 2007-10-02 Edward Hervey <bilboed@bilboed.com>
1181 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1182 (gst_queue_locked_dequeue):
1183 Comment the segment-related code... in the PROPER function.
1184 See #482147 and my commit from yesterday.
1186 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
1188 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1189 Also initialize the counter that calculates the first timestamp on a
1190 buffer correctly for non-live sources.
1192 2007-10-01 Edward Hervey <bilboed@bilboed.com>
1194 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
1195 Disable code that's breaking the current-time-level reporting.
1198 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
1200 * docs/gst/gstreamer-sections.txt:
1201 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
1202 as they shouldn't show up. Fixes the docs build.
1204 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
1207 Add an explicit variable importation needed on VS6 (only for MSC_VER)
1208 Define M_PI which is used in files which are including gstinfo.h.
1209 VS6 includes doesn't define it.
1210 * win32/common/libgstbase.def:
1211 * win32/common/libgstcontroller.def:
1212 * win32/common/libgstreamer.def:
1213 Add new exported functions and variables.
1214 * win32/vs6/libgstcontroller.dsp:
1215 * win32/vs6/libgstreamer.dsp:
1216 Update the list of files to build.
1218 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
1220 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1222 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
1223 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
1224 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
1225 Improve debugging. Fixes #480858.
1227 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
1229 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1231 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1232 First patch of code cleanups, use the macros and right arguments in the
1233 macros to signal and lock the queue. See #480858.
1235 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
1237 * gst/gstbus.c: (poll_func):
1238 Improve debugging when dealing with _poll().
1240 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
1242 * gst/gstregistryxml.c:
1243 Fix memory leak I introduced a few days ago.
1245 2007-09-26 Michael Smith <msmith@fluendo.com>
1247 * gst/gstbuffer.c: (gst_buffer_finalize):
1248 Make it once again possible to free GstBuffers in the default
1250 The poisoning scribbles on parts of the miniobject we need in
1254 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
1256 * docs/gst/gstreamer-sections.txt:
1259 API: add GST_TAG_COMPOSER, fixes #459809.
1261 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
1265 Add the 3-clause BSD license and the MIT/X11 license to the license
1266 list. Fixes #479784.
1268 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
1270 * docs/faq/getting.xml:
1271 Add Q+A about different GStreamer versions (#364056).
1273 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1275 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1276 (gst_base_sink_event), (gst_base_sink_change_state):
1277 Return correct gboolean from query function.
1279 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1281 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1282 (gst_base_sink_event), (gst_base_sink_query),
1283 (gst_base_sink_change_state):
1284 Simplify latency query.
1285 When not synchronizing, we can report latency without querying the peer
1288 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1292 Fix small typos in the docs.
1294 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1296 * docs/design/draft-latency.txt:
1297 * docs/design/draft-push-pull.txt:
1298 * docs/design/draft-tagreading.txt:
1299 * docs/design/part-MT-refcounting.txt:
1300 * docs/design/part-activation.txt:
1301 * docs/design/part-block.txt:
1302 * docs/design/part-element-source.txt:
1303 * docs/design/part-events.txt:
1304 * docs/design/part-gstbin.txt:
1305 * docs/design/part-gstelement.txt:
1306 * docs/design/part-gstobject.txt:
1307 * docs/design/part-gstpipeline.txt:
1308 * docs/design/part-messages.txt:
1309 * docs/design/part-preroll.txt:
1310 * docs/design/part-push-pull.txt:
1311 * docs/design/part-qos.txt:
1312 * docs/design/part-query.txt:
1313 * docs/design/part-scheduling.txt:
1314 * docs/design/part-seeking.txt:
1315 * docs/design/part-segments.txt:
1316 * docs/design/part-states.txt:
1317 Documentation updates and typo fixes.
1319 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
1321 * plugins/elements/gstfakesink.c:
1322 Add some debug text to error message to indicate that
1323 we errored out on request.
1325 * tools/gst-launch.c:
1326 When the state change to PLAYING fails, check for an
1327 error message on the bus and print it.
1329 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
1331 translated by: Jorge González González <aloriel@gmail.com>
1335 Added Spanish translation.
1337 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
1339 * plugins/elements/gstqueue.c: (gst_queue_push_one):
1340 Fix printf arguments.
1342 2007-09-20 Stefan Kost <ensonic@users.sf.net>
1344 * tests/check/generic/states.c:
1345 Improved state change unit test.
1347 2007-09-20 Stefan Kost <ensonic@users.sf.net>
1350 Move priv to the right place.
1352 * gst/gstsystemclock.c:
1353 Add FIXME: and improve log.
1355 * tests/check/Makefile.am:
1356 * tests/examples/manual/Makefile.am:
1357 Work with all types of registries.
1359 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
1361 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1362 Don't unref the event after pushing it. Fixes #478401.
1364 2007-09-19 Stefan Kost <ensonic@users.sf.net>
1367 * tests/examples/manual/.cvsignore:
1368 Ignore registries in any format.
1370 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
1372 * gst/glib-compat-private.h:
1373 Add compatibility macro for g_intern_string() for
1374 GLib-2.8 (any reason we can't just bump the
1375 requirement to at least 2.10?)
1377 * gst/gstpadtemplate.h:
1378 * gst/gstelementfactory.c:
1379 * gst/gstregistryxml.c:
1380 * gst/gstregistrybinary.c:
1381 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
1382 up the internal code accordingly. This shouldn't be a problem, since
1383 there is no reason external code could ever assume the string in such
1384 a structure is dynamically allocated unless it did that itself; the
1385 use of g_strdup() is private to element factories. The new code also
1386 saves some memory by putting pad template name strings into the GLib
1387 quark table instead of allocating them dynamically.
1388 Declaring this field constant fixes warnings with g++-4.2 when using
1389 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
1391 2007-09-19 Stefan Kost <ensonic@users.sf.net>
1393 * gst/gstelementfactory.c:
1394 Release static caps. Fixes #475723.
1396 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
1400 Make some internal API take const gchar * instead of just
1401 gchar * to avoid compiler warnings with g++-4.2.2 when
1402 passing string constants (partially fixes #478092).
1404 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
1406 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
1407 A latency query fails when one of the sinks fail.
1409 * gst/gstelement.c: (gst_element_set_base_time):
1412 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1414 * gst/gstbin.c: (gst_bin_continue_func):
1415 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1416 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
1417 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
1419 Fix minor compilation warnings shown with Forte.
1421 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
1423 * plugins/elements/gstqueue.c: (apply_buffer),
1424 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
1425 Measure queue level based on the diff between head and tail timestamps
1426 even when pushing the first buffer.
1428 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1430 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1431 (gst_base_sink_event), (gst_base_sink_change_state):
1432 Sinks that don't preroll can always be queried for the latency.
1433 Don't post ASYNC start when we are not async.
1435 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1437 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1438 (gst_queue_handle_sink_event), (gst_queue_chain),
1439 (gst_queue_push_one), (gst_queue_handle_src_query),
1440 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1441 * plugins/elements/gstqueue.h:
1442 When downstream returns UNEXPECTED from pushing a buffer, don't try to
1443 push more buffers but allow pushing of EOS and NEWSEGMENT.
1444 Add some more debug info here and there. Fixes #476514.
1446 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1448 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1449 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1450 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1451 (gst_base_sink_set_flushing), (gst_base_sink_query),
1452 (gst_base_sink_change_state):
1453 Latency query is allowed after we are prerolled. Introduce a new flag
1454 for this and stop abusing other variables.
1456 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1458 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1459 Push OOB events downstream when we get them in send_event. This allows
1460 the application to insert events in the pipeline.
1461 Add some more comments.
1463 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1465 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1466 (do_bin_latency), (gst_bin_change_state_func):
1467 * gst/gstpipeline.c: (gst_pipeline_change_state):
1468 Move latency query from GstPipeline to GstBin so that we can also
1469 use it when async-handling is enabled on bins.
1471 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1473 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1474 (gst_base_src_do_sync), (gst_base_src_change_state):
1476 Clean up the timestamping and syncing code for pseudo live sources.
1478 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
1480 Patch by: Steve Fink <sphink gmail com>
1482 * docs/manual/appendix-checklist.xml:
1483 Mention less -R switch in the section about debug output (#474055).
1485 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1487 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1488 Queue can latency to the pipeline up to the configured max size in time.
1489 Report this fact in the latency query.
1491 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1493 Patch by: Sebastien Moutte <sebastien at moutte dot net>
1495 * libs/gst/controller/gstinterpolation.c:
1496 * libs/gst/controller/gstlfocontrolsource.c:
1497 Use gst_guint64_to_gdouble() when converting from a uint64 or
1498 GstClockTime to double to fix the build on win32. Fixes #474371.
1500 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1502 * gst/gstbuffer.c: (gst_buffer_finalize):
1503 Implement poisoning for GstBuffer if --enable-poisoning is specified.
1504 When finalizing a buffer the complete struct is filled with 0xff,
1505 thus making a use of the buffer after the final unref impossible.
1507 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1509 * tests/check/libs/controller.c: (GST_START_TEST):
1510 Use fail_unless_equals_int(a, b) instead of
1511 fail_unless_equals (a == b) to get better output on failures.
1513 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
1515 * tests/check/gst/gsturi.c:
1516 Also check for the other file URI variant on win32.
1518 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
1520 * gst/gsturi.c: (gst_uri_get_location):
1521 If there's no hostname, we want to return 'c:/foo/bar.txt'
1522 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
1524 * tests/check/gst/gsturi.c:
1525 Unit test for the above and a few more things.
1527 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
1529 * docs/design/part-live-source.txt:
1530 Add docs on how live sources should timestamp.
1532 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1533 Add some more debug info.
1534 For subclasses that are live and like to sync, add aditional startup
1535 latency to sync time and timestamps so that we timstamp according to the
1538 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
1541 Also do a g_type_class_ref() for the subbuffer type in
1544 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
1546 * docs/gst/gstreamer-sections.txt:
1547 * gst/gstpad.c: (gst_pad_peer_query):
1549 Add function to perform a query on the peer of a pad.
1550 API: gst_pad_peer_query()
1552 2007-09-11 Stefan Kost <ensonic@users.sf.net>
1554 * tests/check/gst/gstsystemclock.c:
1555 Cleanup the test a little (use gst-logging and not g_message). Improve
1556 test to check if a wait reached the target.
1558 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
1560 * docs/libs/gstreamer-libs-sections.txt:
1561 Add new API to docs and fix the build.
1563 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
1565 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1566 (gst_base_src_init), (gst_base_src_set_do_timestamp),
1567 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1568 (gst_base_src_get_property), (gst_base_src_do_sync):
1569 * libs/gst/base/gstbasesrc.h:
1570 Add property to make the basesrc timestamp buffers based on the current
1572 API: GstBaseSrc::do-timestamp
1573 API: gst_base_src_set_do_timestamp()
1574 API: gst_base_src_get_do_timestamp()
1576 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
1578 * docs/random/release:
1579 Really make sure translations are up-to-date before
1580 a release (#465010).
1582 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
1584 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1585 Always destroy the timer, also in error cases.
1587 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
1589 * docs/manual/highlevel-xml.xml:
1590 Fix XML example code. Fixes #472714.
1592 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
1594 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1595 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1596 (gst_base_sink_query):
1597 Protect eos and have_preroll with the OBJECT lock so we don't need to
1598 take the PREROLL lock when querying the latency. Fixes #473846.
1600 2007-09-05 Stefan Kost <ensonic@users.sf.net>
1603 Give some log-messages a category.
1605 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
1607 * gst/gststructure.c:
1608 (gst_structure_fixate_field_nearest_fraction):
1609 Fix fraction list fixation code. Take the fraction with the smallest
1610 difference with the target instead of the first one in the list.
1612 * tests/check/gst/gststructure.c: (GST_START_TEST),
1613 (gst_structure_suite):
1614 Added test to verify correct fraction list fixation behaviour.
1616 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
1618 * win32/common/libgstreamer.def:
1619 Export gst_bus_add_signal_watch too.
1621 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
1623 * docs/libs/gstreamer-libs-sections.txt:
1624 Add new methods to docs.
1626 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1627 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1628 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1629 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1630 * libs/gst/base/gstbasesink.h:
1631 Add ts-offset property to fine-tune the synchronisation.
1632 API: GstBaseSink::ts-offset property
1633 API: gst_base_sink_set_ts_offset()
1634 API: gst_base_sink_get_ts_offset()
1636 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
1638 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1639 (gst_base_sink_init), (gst_base_sink_set_sync),
1640 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1641 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1642 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1643 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1644 (gst_base_sink_get_property), (gst_base_sink_change_state):
1645 * libs/gst/base/gstbasesink.h:
1646 Add async property to instruct the sink never to inform the parent about
1647 ASYNC state changes, update docs.
1648 Check argument with g_return_* for the public functions.
1649 API: GstBaseSink::async property
1650 API: gst_base_sink_set_async_enabled()
1651 API: gst_base_sink_is_async_enabled()
1653 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
1655 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1658 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1659 (gst_base_src_default_query), (gst_base_src_wait),
1660 (gst_base_src_do_sync), (gst_base_src_change_state):
1661 Rearrange some code so that we can add support for measuring the
1664 2007-08-27 Stefan Kost <ensonic@users.sf.net>
1666 * docs/random/ensonic/dynlink.txt:
1667 More thoughs on this.
1669 * plugins/elements/gstcapsfilter.c:
1670 Add bugzilla ticket number to FIXME comment.
1672 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
1674 * docs/design/part-TODO.txt:
1675 * docs/design/part-block.txt:
1678 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1681 Revert patch which uses $(gst_headers) instead of $^ because it
1684 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1686 * tests/check/gst/gstbin.c: (GST_START_TEST):
1687 Fix leaks in the new unit test.
1689 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
1692 Don't use GST_INFO before the debug system is actually initialised
1693 (shouldn't do any harm, but won't print anything either, so we can
1694 just as well remove it).
1697 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1698 compilers that don't support variadic macros (such as MSVC), should
1699 check for debug_level <= __gst_debug_min as well, since that's the
1700 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1701 inline helper functions. Should improve performance a bit, but also
1702 makes sure uses of GST_INFO et.al are ignored if the debugging
1703 system isn't initialised yet (instead of printing an assertion
1706 2007-08-23 Stefan Kost <ensonic@users.sf.net>
1708 patch by: David Nečas <yeti@physics.muni.cz>
1711 Replace some non portable makefile constructs.
1713 2007-08-21 Stefan Kost <ensonic@users.sf.net>
1715 * common/gtk-doc-plugins.mak:
1716 Grrrrr. Don't remove the types file on make clean.
1718 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
1720 * tools/gst-launch.1.in:
1721 Add colorspace to example pipeline. Fixes #458274.
1723 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
1725 * docs/random/release:
1726 The release manager should run 'make download-po' before making a
1727 release to make sure translations are up-to-date.
1733 Add some new translations.
1735 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
1737 * tools/gst-launch.c: (event_loop), (main):
1738 Don´t try to do any state management when a live pipeline posts
1740 Also make the buffering string translatable.
1742 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1744 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1745 (bin_handle_async_start), (gst_bin_handle_message_func):
1747 When adding elements, insert messages into the bus of the newly added
1748 element and make sure the element is the source of the message. This
1749 allows the parent bin to intercept the message and do the
1750 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1751 messages to the app (which is not allowed).
1754 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1755 Fix testsuite so that is does not work around messages that should not
1756 have been posted in the first place.
1758 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1760 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1761 (update_degree), (gst_bin_sort_iterator_next):
1762 Fix annoying bug in the sorted iterator where a sink that is not really
1763 a sink (when it has downstream links) screwed up the iterator.
1765 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1766 Unit test to verify the fix.
1768 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1771 Add some more docs for the messages.
1773 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1774 (gst_base_sink_query):
1775 Add some more debugging.
1777 * tools/gst-launch.c: (event_loop):
1778 When interrupting, don't try to set pipeline to PAUSED twice.
1780 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
1783 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1784 (bin_handle_async_start), (gst_bin_handle_message_func):
1785 Move ASYNC_START message posting to where it belongs, similar to
1787 Don't post ASYNC_START when we are in error.
1788 Post ASYNC_START when we added an async element to a bin.
1790 2007-08-14 Julien MOUTTE <julien@moutte.net>
1792 * gst/gstindex.c: (gst_index_add_association): Fix index entry
1793 generation from vargs. Fixes #466595.
1795 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
1797 * gst/gstbin.c: (gst_bin_element_set_state):
1798 Always change the state of a NO_PREROLL element even if it has ASYNC
1799 elements inside (in case of a bin).
1801 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
1802 Unit test for this case.
1804 2007-08-13 Stefan Kost <ensonic@users.sf.net>
1806 * libs/gst/check/gstbufferstraw.c:
1807 * libs/gst/check/gstcheck.h:
1808 * libs/gst/controller/gstcontroller.c:
1809 * libs/gst/controller/gstcontrolsource.h:
1810 * libs/gst/controller/gstlfocontrolsource.h:
1811 * plugins/elements/gstcapsfilter.h:
1812 * plugins/elements/gstfdsink.h:
1813 * plugins/elements/gstfdsrc.h:
1814 Add more missing docs.
1816 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1818 * gst/gststructure.c:
1819 Add Since tag to docs.
1821 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1823 * docs/gst/gstreamer-sections.txt:
1824 * gst/gststructure.c: (gst_structure_get_uint):
1825 * gst/gststructure.h:
1826 Add function to get uint from a structure.
1827 API: gst_structure_get_uint()
1829 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1831 * gst/gstcaps.c: (gst_caps_set_simple_valist),
1832 (gst_caps_intersect):
1833 Fix proper check for simple caps.
1835 2007-08-10 Stefan Kost <ensonic@users.sf.net>
1837 * docs/gst/Makefile.am:
1838 * docs/libs/Makefile.am:
1839 Remove cruft and do some cleanups.
1841 * docs/gst/gstreamer-docs.sgml:
1842 * docs/libs/gstreamer-libs-docs.sgml:
1843 Prepare for comming gtkdoc features (rebase against online docs).
1845 2007-08-10 Michael Smith <msmith@fluendo.com>
1847 * docs/gst/gstreamer-sections.txt:
1848 Add gst_registry_add_path to docs.
1850 2007-08-10 Michael Smith <msmith@fluendo.com>
1852 * gst/gstregistry.h:
1853 Add gst_registry_add_path, which was missing from this header.
1855 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
1857 * libs/gst/controller/gstlfocontrolsource.c:
1860 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
1862 * libs/gst/base/gstbasesink.c:
1863 Don't send an async_start message during downwards state change if
1864 target state is less than READY
1866 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
1868 translated by: Gabor Kelemen <kelemeng@gnome.hu>
1872 Added Hungarian translation.
1874 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
1881 Updated translations.
1883 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
1885 * libs/gst/controller/Makefile.am:
1886 Dist gstlfocontrolsourceprivate.h
1888 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
1890 * docs/libs/gstreamer-libs.types:
1891 Don't register the enum type gst_lfo_waveform_get_type() in the
1892 .types file - only GObject derived types belong.
1894 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
1896 Patch by: <arenevier at fdn dot fr>
1899 Remove comma from last element in enum to avoid compile errors when
1900 using -pendantic. Fixes #464366.
1902 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
1904 * docs/design/part-TODO.txt:
1905 Add some more TODO items
1907 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1910 * gst/gstcaps.c: (gst_caps_intersect):
1911 Optimize trivial intersection case between identical caps pointers.
1913 * gst/gstelement.c: (gst_element_continue_state),
1914 (gst_element_set_state_func):
1916 Fix spelling and grammar mistakes.
1918 2007-08-05 Stefan Kost <ensonic@users.sf.net>
1922 Update POTFILES. Fixes #461599.
1924 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
1927 Fix confusing typo in debug output.
1929 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
1931 reviewed by: Stefan Kost <ensonic@users.sf.net>
1933 * libs/gst/controller/Makefile.am:
1934 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1935 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1936 (gst_lfo_control_source_new),
1937 (gst_lfo_control_source_set_waveform),
1938 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1939 (gst_lfo_control_source_finalize),
1940 (gst_lfo_control_source_dispose),
1941 (gst_lfo_control_source_set_property),
1942 (gst_lfo_control_source_get_property),
1943 (gst_lfo_control_source_class_init):
1944 * libs/gst/controller/gstlfocontrolsource.h:
1945 * libs/gst/controller/gstlfocontrolsourceprivate.h:
1946 API: Add GstLFOControlSource, a control source that gives values
1947 for specific timestamps based on several periodic waveforms.
1950 * tests/check/libs/controller.c: (GST_START_TEST),
1951 (gst_controller_suite):
1952 * docs/libs/gstreamer-libs-docs.sgml:
1953 * docs/libs/gstreamer-libs-sections.txt:
1954 * docs/libs/gstreamer-libs.types:
1955 Add documentation and unit tests for GstLFOControlSource.
1957 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
1962 === release 0.10.14 ===
1964 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
1967 releasing 0.10.14, "Breathing Vacuum"
1969 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
1971 * gst/gstelement.c: (gst_element_class_set_details_simple):
1973 Make strings passed to gst_element_class_set_details_simple()
1974 constant, as they should be (#462752).
1976 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
1978 * gst/gstbin.c: (gst_bin_change_state_func),
1979 (bin_handle_async_done), (gst_bin_handle_message_func):
1980 Don't forget about the fact that some element went ASYNC even after a
1981 resync. This makes us post the ASYNC_DONE message correctly.
1984 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1986 * gst/gstregistry.c: (gst_registry_add_feature):
1987 When replacing an existing feature in the registry, make sure to
1988 continue holding a reference until we've replaced the name string
1989 within our feature hash table. Make sure to use g_hash_table_replace
1990 instead of g_hash_table_insert to ensure the new name string is used
1991 as a key instead of the old one that we're about to free.
1994 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1996 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1997 (gst_plugin_feature_set_name):
1998 Revert patch from #459466 until after the release and we can work
1999 out exactly what the problem is (if any).
2001 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
2003 * docs/gst/gstreamer-sections.txt:
2006 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
2008 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
2010 * docs/libs/Makefile.am:
2011 Include our build-prefix libs and includes before the generic ones to
2012 avoid linking against the installed libs when we want the build-tree
2015 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
2017 Patch by: Steve Fink <sphink gmail com>
2019 * docs/pwg/building-testapp.xml:
2020 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
2021 if people try to build or install the example from the plugin
2022 template against a GStreamer from package using the configure
2025 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
2027 Patch by: Steve Fink <sphink gmail com>
2029 * tools/gst-inspect.1.in:
2030 Document --print-all and --print-plugin-auto-install-info command
2031 line options in man page.
2033 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
2035 * docs/gst/gstreamer-sections.txt:
2036 Add docs for new api function.
2038 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
2040 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
2041 * gst/gstelementfactory.h:
2042 API: gst_element_factory_has_interface()
2043 Added method to check if an element factory implements a named
2046 2007-07-25 Stefan Kost <ensonic@users.sf.net>
2049 * docs/gst/gstreamer.types.in:
2050 Another conditional doc check.
2053 * gst/gstparamspecs.h:
2054 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2059 2007-07-24 Stefan Kost <ensonic@users.sf.net>
2061 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
2062 (gst_registry_binary_load_feature),
2063 (gst_registry_binary_load_plugin),
2064 (gst_registry_binary_read_cache):
2065 Print error just once and with additional info.
2067 2007-07-24 Stefan Kost <ensonic@users.sf.net>
2069 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
2070 (helper_find_suggest), (helper_find_get_length),
2071 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
2072 (gst_type_find_helper_for_buffer):
2073 Cleanup the typefindhelper code and add private doc comments.
2075 2007-07-24 Edward Hervey <bilboed@bilboed.com>
2077 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2078 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
2079 Fix capsfilter for cases where the caps set on capsfilter will provide
2080 additional information.
2083 2007-07-24 Stefan Kost <ensonic@users.sf.net>
2085 * gst/gsttypefindfactory.c:
2086 Fix docs that recommened wrong function to use.
2088 2007-07-23 Stefan Kost <ensonic@users.sf.net>
2090 * tools/gst-inspect.c: (print_plugin_features):
2091 Also give media-type for typefinders in element output.
2093 2007-07-23 Stefan Kost <ensonic@users.sf.net>
2095 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
2096 (gst_registry_remove_features_for_plugin_unlocked),
2097 (gst_registry_add_feature), (gst_registry_remove_feature),
2098 (gst_registry_lookup_feature_locked):
2099 * gst/gstregistry.h:
2100 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
2103 2007-07-23 Stefan Kost <ensonic@users.sf.net>
2105 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2106 (gst_plugin_feature_set_name):
2107 Avoid double memory usage for pluginfeature names. Fixes #459466.
2109 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
2112 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
2113 driving the pipeline may need to explicitly check for NOT_LINKED as
2114 well, since IS_FATAL doesn't cover that.
2116 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
2118 * docs/pwg/advanced-types.xml:
2119 Fix typo and duplicate entry in video formats list.
2121 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
2123 * libs/gst/controller/gstinterpolation.c:
2124 Also round to the nearest int when using cubic interpolation.
2126 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
2128 * libs/gst/controller/gstinterpolation.c:
2129 When linearly interpolating integer types, round to the nearest int
2130 by adding 0.5. Don't do it for float/double types.
2131 Fixes the failing controller test on my machine, which is somehow
2132 rounding differently than on the buildbots.
2134 2007-07-20 Stefan Kost <ensonic@users.sf.net>
2136 * tools/gst-plot-timeline.py:
2137 Better log parsing (categories can have -). Adjust text vs. lines, so
2138 that they span the same y-range.
2140 2007-07-20 Stefan Kost <ensonic@users.sf.net>
2142 * docs/random/ensonic/audiobaseclasses.txt:
2143 * docs/random/ensonic/dynlink.txt:
2144 * docs/random/ensonic/profiling.txt:
2147 * docs/random/moving-plugins:
2148 Add note to use g_assert type macros.
2150 2007-07-20 Stefan Kost <ensonic@users.sf.net>
2153 * libs/gst/check/Makefile.am:
2154 Add libm check as we use in for plugins.
2156 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
2158 * gst/gstbin.c: (gst_bin_continue_func):
2159 Check that the state_cookie hasn't changed since the continue_func
2160 was scheduled. Avoids problems where the state changes back to
2161 something it shouldn't be because it was changed in the meantime.
2163 2007-07-17 Stefan Kost <ensonic@users.sf.net>
2165 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
2166 (gst_registry_binary_save_string),
2167 (gst_registry_binary_save_pad_template),
2168 (gst_registry_binary_save_feature),
2169 (gst_registry_binary_save_plugin),
2170 (gst_registry_binary_load_feature),
2171 (gst_registry_binary_load_plugin),
2172 (gst_registry_binary_read_cache):
2173 Fix memory leak. Be less verbose in the log.
2175 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2177 * tests/check/elements/.cvsignore:
2178 Add file to cvsignore as commanded.
2180 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2182 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
2183 (mq_dummypad_event), (run_output_order_test):
2184 Use a GStaticMutex to protect all cases where libcheck
2185 fail_if/fail_unless macros might be called from multiple threads
2186 simultaneously to avoid errors like:
2187 "check_pack.c:107: :-1081725400:Bad message type arg"
2189 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2191 * tests/check/pipelines/stress.c: (GST_START_TEST):
2192 Make sure we set the pipeline back to the NULL state before
2193 dropping our final reference.
2195 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2197 * tests/check/elements/tee.c: (GST_START_TEST):
2198 Make the tee stress-test a little less stressful so it doesn't just
2199 time out on slow-machines, and remove a small race when it's starting
2200 up by adding a get_state() call.
2202 2007-07-16 Stefan Kost <ensonic@users.sf.net>
2205 Avoid reading registry twice on startup. Fixes #457322.
2207 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
2209 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2210 * pkgconfig/gstreamer-check.pc.in:
2211 Substitute the CFLAGS for libcheck into our .pc file too so that
2212 dependent modules will pick it up properly if libcheck is installed
2213 into some other prefix.
2215 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
2218 Revert the pkg-config check for libcheck, since it pulls in the
2219 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
2220 a proper solution, either from the check project, or something else.
2222 2007-07-12 Stefan Kost <ensonic@users.sf.net>
2225 Use pkg-config to locate check.
2227 2007-07-10 Stefan Kost <ensonic@users.sf.net>
2234 Add deprecation guards.
2236 * libs/gst/base/gstcollectpads.h:
2237 Don't document object (this is implicitly private).
2239 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
2241 * gst/gststructure.c: (gst_structure_parse_value):
2242 When deserialising foo=bar without a type cast, check if it's a
2243 boolean before falling back to a string type, otherwise things like
2244 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
2245 because the filtercaps end up having a signed=(string)true field,
2246 which causes problems later when intersection caps.
2248 * tests/check/gst/gststructure.c: (GST_START_TEST):
2249 Add a unit test for this.
2251 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
2253 Reviewed by: Stefan Kost <ensonic@users.sf.net>
2255 * libs/gst/controller/Makefile.am:
2256 * libs/gst/controller/gstcontroller.c:
2257 (gst_controlled_property_add_interpolation_control_source),
2258 (gst_controlled_property_new), (gst_controlled_property_free),
2259 (gst_controller_find_controlled_property),
2260 (gst_controller_new_valist), (gst_controller_new_list),
2261 (gst_controller_new), (gst_controller_remove_properties_valist),
2262 (gst_controller_remove_properties_list),
2263 (gst_controller_remove_properties),
2264 (gst_controller_set_property_disabled),
2265 (gst_controller_set_disabled), (gst_controller_set_control_source),
2266 (gst_controller_get_control_source), (gst_controller_get),
2267 (gst_controller_sync_values), (gst_controller_get_value_array),
2268 (_gst_controller_dispose), (gst_controller_get_type),
2269 (gst_controlled_property_set_interpolation_mode),
2270 (gst_controller_set), (gst_controller_set_from_list),
2271 (gst_controller_unset), (gst_controller_unset_all),
2272 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
2273 * libs/gst/controller/gstcontroller.h:
2274 * libs/gst/controller/gstcontrollerprivate.h:
2275 * libs/gst/controller/gstcontrolsource.c:
2276 (gst_control_source_class_init), (gst_control_source_init),
2277 (gst_control_source_get_value),
2278 (gst_control_source_get_value_array), (gst_control_source_bind):
2279 * libs/gst/controller/gstcontrolsource.h:
2280 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
2281 (gst_object_get_control_source):
2282 * libs/gst/controller/gstinterpolation.c:
2283 (gst_interpolation_control_source_find_control_point_node),
2284 (gst_interpolation_control_source_get_first_value),
2285 (_interpolate_none_get), (interpolate_none_get),
2286 (interpolate_none_get_boolean_value_array),
2287 (interpolate_none_get_enum_value_array),
2288 (interpolate_none_get_string_value_array),
2289 (_interpolate_trigger_get), (interpolate_trigger_get),
2290 (interpolate_trigger_get_boolean_value_array),
2291 (interpolate_trigger_get_enum_value_array),
2292 (interpolate_trigger_get_string_value_array):
2293 * libs/gst/controller/gstinterpolationcontrolsource.c:
2294 (gst_control_point_free), (gst_interpolation_control_source_reset),
2295 (gst_interpolation_control_source_new),
2296 (gst_interpolation_control_source_set_interpolation_mode),
2297 (gst_interpolation_control_source_bind),
2298 (gst_control_point_compare), (gst_control_point_find),
2299 (gst_interpolation_control_source_set_internal),
2300 (gst_interpolation_control_source_set),
2301 (gst_interpolation_control_source_set_from_list),
2302 (gst_interpolation_control_source_unset),
2303 (gst_interpolation_control_source_unset_all),
2304 (gst_interpolation_control_source_get_all),
2305 (gst_interpolation_control_source_get_count),
2306 (gst_interpolation_control_source_init),
2307 (gst_interpolation_control_source_finalize),
2308 (gst_interpolation_control_source_dispose),
2309 (gst_interpolation_control_source_class_init):
2310 * libs/gst/controller/gstinterpolationcontrolsource.h:
2311 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2312 API: Refactor GstController into the core controller which can take
2313 a GstControlSource for providing actual values for timestamps.
2314 Implement a interpolation control source and use this for backward
2315 compatibility, deprecate a bunch of functions that are now handled
2316 by GstControlSource or GstInterpolationControlSource.
2317 Make it possible to disable the controller completely or only for
2318 specific properties. Fixes #450711.
2319 * docs/libs/gstreamer-libs-docs.sgml:
2320 * docs/libs/gstreamer-libs-sections.txt:
2321 * docs/libs/gstreamer-libs.types:
2322 Add new functions and classes to the docs.
2323 * tests/check/libs/controller.c: (GST_START_TEST),
2324 (gst_controller_suite):
2325 * tests/examples/controller/audio-example.c: (main):
2326 Port unit test and example to the new API and add some new
2329 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
2331 Patch by: Mark Nauwelaerts <manauw at skynet be>
2333 * plugins/elements/gstmultiqueue.c:
2334 (gst_multi_queue_get_internal_links), (apply_buffer),
2335 (single_queue_overrun_cb), (gst_single_queue_new):
2336 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
2337 the pipeline layout can be tracked correctly. Fixes #453732.
2339 2007-07-05 Stefan Kost <ensonic@users.sf.net>
2341 * docs/gst/Makefile.am:
2342 * docs/libs/Makefile.am:
2343 * docs/plugins/Makefile.am:
2344 Simplify --extra-dir as gtkdoc scans recursively.
2346 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
2348 * tools/gst-launch.c: (main):
2349 When we got an error, there is no point in waiting for preroll when
2352 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
2354 * plugins/elements/gsttee.c: (gst_tee_base_init),
2355 (gst_tee_request_new_pad), (gst_tee_release_pad),
2356 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
2357 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
2359 Be a lot smarter when deciding what srcpad to use for proxying
2360 the buffer_alloc. Also handle pad added/removed when doing so.
2362 Keep track of what pads we already pushed on in case we have pads
2363 added/removed while pushing. Fixes #374639
2365 * tests/check/Makefile.am:
2366 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
2368 Added unit test for pad resync.
2370 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2374 Updated translations.
2376 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2378 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
2382 Added new Finnish translation.
2384 2007-06-28 Wim Taymans <wim@fluendo.com>
2386 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2387 (single_queue_overrun_cb):
2388 When figuring out when a queue is filled, use our internal time estimate
2389 based on segments, just like check_full does.
2391 2007-06-27 Stefan Kost <ensonic@users.sf.net>
2393 * gst/gstminiobject.c: (gst_mini_object_get_type):
2394 Remove 3 do-nothing methods.
2396 2007-06-27 Wim Taymans <wim@fluendo.com>
2398 Patch by: Tim Angus <tim at ngus dot net>
2400 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2401 (gst_capsfilter_set_property):
2402 Take a reference instead of a copy when setting "caps".
2403 Fix documentation to clarify this behaviour. Fixes #449414.
2405 2007-06-27 Stefan Kost <ensonic@users.sf.net>
2407 * gst/gstindexfactory.c: (gst_index_factory_get_type):
2408 * gst/gstplugin.c: (gst_plugin_init):
2409 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
2410 * gst/gstquery.c: (gst_query_get_type):
2411 * gst/gstregistry.c: (gst_registry_init):
2412 * gst/gsturi.c: (gst_uri_handler_base_init):
2413 Remove empty instance_init() functions to save relocs and lessen the
2414 noise. Remove some of the function prototypes that are doubled by
2417 2007-06-27 Wim Taymans <wim@fluendo.com>
2419 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
2421 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
2422 Add peer and direction in the XML serialisation of ghostpads.
2425 2007-06-26 Stefan Kost <ensonic@users.sf.net>
2428 Preserve useful information, thanks Tim.
2430 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
2432 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2433 (gst_single_queue_flush), (apply_segment), (apply_buffer),
2434 (gst_single_queue_push_one), (gst_multi_queue_loop),
2435 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2436 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
2437 (compute_high_id), (gst_single_queue_new):
2438 * plugins/elements/gstmultiqueue.h:
2439 Take the multiqueue lock when updating the fill level so we don't get
2442 After applying a buffer or event on the src pad segment, make sure to
2443 call gst_data_queue_limits_changed() to get the data queue to unblock
2444 and check the filled state again.
2446 Rework the not-linked pad handling so the logic is that not-linked
2447 pads can push as fast as they like, but only so they never get
2448 ahead of any linked pads.
2450 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2451 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2452 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2454 Add a test to check that not-linked pads always stay behind
2459 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
2461 * docs/random/release:
2462 Some updates to the release procedure.
2464 2007-06-26 Stefan Kost <ensonic@users.sf.net>
2466 * gst/gstelementfactory.c: (__gst_element_details_clear):
2467 Microoptimization that saves stunning 80 bytes.
2469 2007-06-25 Stefan Kost <ensonic@users.sf.net>
2471 * docs/plugins/gstreamer-plugins.args:
2472 * docs/plugins/inspect/plugin-coreelements.xml:
2473 * docs/plugins/inspect/plugin-coreindexers.xml:
2474 Update docs with caps info.
2476 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
2479 Updated Italian translation.
2481 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
2485 Update Vietnamese translations.
2487 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
2489 * libs/gst/base/gstbasesink.c:
2490 Remove unused signal enum.
2492 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
2494 * docs/gst/gstreamer-sections.txt:
2496 * gst/gstutils.c: (gst_type_register_static_full):
2497 Beef up and include the docs for gst_type_register_static_full and
2498 gst_element_class_set_details_simple and add the API keyword
2501 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
2503 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2504 (update_time_level), (gst_single_queue_push_one),
2505 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
2506 (single_queue_overrun_cb), (single_queue_underrun_cb),
2507 (single_queue_check_full):
2508 Fix setting max-* properties after adding queues.
2509 Use IS_FILLED for checking visible items.
2510 Signal overrun if multiple queues overrun.
2511 Add extra debug output.
2512 Patch by: Wim Taymans <wim@fluendo.com>
2514 2007-06-21 Stefan Kost <ensonic@users.sf.net>
2516 * gst/gstelement.c: (gst_element_class_set_details_simple):
2518 * gst/gstutils.c: (gst_type_register_static_full):
2520 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
2521 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
2522 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
2523 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
2524 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
2525 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
2526 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
2527 * plugins/elements/gstidentity.c: (gst_identity_base_init):
2528 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
2529 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2530 (apply_buffer), (gst_queue_chain):
2531 * plugins/elements/gsttee.c: (gst_tee_base_init):
2532 * plugins/elements/gsttypefindelement.c:
2533 (gst_type_find_element_base_init),
2534 (gst_type_find_element_class_init):
2535 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
2536 API: add gst_type_register_static_full
2537 API: add gst_element_class_set_details_simple
2539 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
2541 * docs/pwg/advanced-types.xml:
2542 Fix typo in iana.org URI.
2544 2007-06-19 Andy Wingo <wingo@pobox.com>
2546 * tests/check/pipelines/simple-launch-lines.c
2547 (test_state_change_returns): Enable pull-mode tests now that
2548 basesink has been fixed.
2550 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2551 Changed from gst_base_sink_is_prerolled, reversing the sense of
2552 the return value. Returns FALSE also if the sink is in pull mode,
2553 in which case it needs no preroll.
2554 (gst_base_sink_query, gst_base_sink_change_state): Update for
2555 needs_preroll change.
2556 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2557 chaining up, in which we return SUCCESS directly if we activated
2558 in pull mode instead of ASYNC. Involves countering an async_start
2559 message sent before chaining up; not sure if this is correct, in
2560 an ideal world we only send async-start when activating in push
2563 * tests/check/pipelines/simple-launch-lines.c
2564 (test_state_change_returns): New test, partially disabled until
2567 2007-06-19 Wim Taymans <wim@fluendo.com>
2569 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2570 (gst_multi_queue_sink_event):
2573 2007-06-19 Wim Taymans <wim@fluendo.com>
2575 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2576 (gst_bin_change_state_func), (bin_push_state_continue),
2577 (bin_handle_async_start), (bin_handle_async_done),
2578 (gst_bin_handle_message_func):
2579 Move the common code for posting state-change messages into
2581 Broadcast the state signal after we posted the messages.
2582 Mark the bin as busy when it's doing a state-change.
2583 Make sure async-start/done messages don't interfere with the bin's
2584 state when it's busy.
2585 After the state change, let the bin check which elements completed the
2586 state change while it was busy so that it can update its state.
2588 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
2590 * docs/random/release:
2591 Add a note about updating the doap file to the release checklist
2593 2007-06-18 Wim Taymans <wim@fluendo.com>
2595 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2596 (gst_single_queue_push_one), (gst_multi_queue_chain),
2597 (gst_multi_queue_sink_event):
2598 Make sure we don't reference the buffer/event after we have given away
2599 ownership in the queue.
2601 2007-06-18 Wim Taymans <wim@fluendo.com>
2603 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2604 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2605 Update queue state _after_ adding the item in the queue because else we
2606 could end up being full without the element added yet.
2608 2007-06-18 Wim Taymans <wim@fluendo.com>
2610 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2611 (gst_bin_remove_func), (gst_bin_get_state_func),
2612 (gst_bin_element_set_state), (gst_bin_continue_func),
2613 (bin_push_state_continue), (bin_handle_async_start),
2614 (bin_handle_async_done), (gst_bin_handle_message_func):
2616 Immediatly commit the toplevel bin state when receiving an async-done
2617 message. This enables us to avoid spawning a thread to commit the state
2618 in some common cases and it also avoids some races.
2619 Avoid spawning a state thread when adding/removing async elements to a
2620 toplevel bin. Instead we immediatly update the bin state.
2621 Get rid of iterating all the children when getting the state in the bin
2622 because it is now always up-to-date.
2623 Fix bug where locked elements would always return _SUCCESS even it they
2624 returned NO_PREROLL before being locked.
2625 Fix the order of the state_change, async-start/done messages that was
2626 sometimes incorrect.
2627 Mark the state_dirty field as deprecated, we don't need it anymore as we
2628 are always up-to-date.
2630 * gst/gstelement.c: (gst_element_get_state_func),
2631 (gst_element_continue_state):
2632 Small debug inprovements.
2633 Return the previous element state return when nothing is pending instead
2634 of blindly returning SUCCESS.
2636 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2638 Add a whole bunch of new testcases.
2640 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
2644 Update translations.
2646 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
2649 Fix typo in the docs.
2651 2007-06-15 Wim Taymans <wim@fluendo.com>
2653 * docs/libs/gstreamer-libs-sections.txt:
2654 Add docs for new methods.
2656 2007-06-15 Wim Taymans <wim@fluendo.com>
2658 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2659 (gst_multi_queue_item_new):
2660 Don't use GSlice because we don't depend on >= 2.10 yet.
2662 2007-06-15 Wim Taymans <wim@fluendo.com>
2664 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2665 (update_time_level), (apply_segment), (apply_buffer),
2666 (gst_single_queue_push_one), (gst_multi_queue_item_new),
2667 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2668 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2669 (single_queue_underrun_cb), (single_queue_check_full):
2670 Remove debug printf.
2672 2007-06-15 Wim Taymans <wim@fluendo.com>
2674 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2675 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2676 (gst_data_queue_set_flushing), (gst_data_queue_push),
2677 (gst_data_queue_pop), (gst_data_queue_drop_head),
2678 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2679 * libs/gst/base/gstdataqueue.h:
2681 Added methods to get the current levels and to inform the queue that the
2682 'full' limits changed.
2684 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2685 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2686 (gst_single_queue_flush), (update_time_level), (apply_segment),
2687 (apply_buffer), (gst_single_queue_push_one),
2688 (gst_multi_queue_item_steal_object),
2689 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2690 (gst_multi_queue_loop), (gst_multi_queue_chain),
2691 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2692 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2693 (gst_multi_queue_src_query), (single_queue_overrun_cb),
2694 (single_queue_underrun_cb), (single_queue_check_full),
2695 (gst_single_queue_new):
2696 Keep track of time in the queue by measuring the difference between
2697 running_time on input and output. This gives more accurate results and
2698 can compensate for segments correctly.
2699 Make a queue by default only 5 buffers deep. We will now increase the
2700 buffer size depending on the filledness of the other queues.
2701 Factor out commong flush code.
2702 Make sure we don't add additional refcounts to buffers when we can avoid
2704 Propagate GstFlowReturn differently.
2705 Use GSlice for intermediate GstMultiQueueItems.
2707 Resize queues on over and underruns based on filled level of other
2709 When checking if the queue is filled, prefer to measure in time if we
2710 can and fall back to bytes when no time is known.
2712 * plugins/elements/gstqueue.c:
2715 2007-06-15 Wim Taymans <wim@fluendo.com>
2717 * libs/gst/base/gstbasetransform.c:
2718 (gst_base_transform_sink_event):
2719 Work around the brokenness of the event vmethod in basetransform. Prefer
2720 to return TRUE when the subclass returned FALSE (meaning don't forward
2723 * libs/gst/base/gstbasetransform.h:
2726 2007-06-15 Wim Taymans <wim@fluendo.com>
2728 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2729 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2730 (gst_base_src_default_query), (gst_base_src_get_range),
2731 (gst_base_src_start):
2732 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2735 2007-06-15 Stefan Kost <ensonic@users.sf.net>
2737 * docs/pwg/advanced-types.xml:
2738 Added more formats to caps table.
2740 2007-06-15 Stefan Kost <ensonic@users.sf.net>
2742 * tools/gst-launch.c: (main):
2743 Remove crufy code. GOption does not need this workaround.
2745 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2747 * libs/gst/controller/gstcontroller.c:
2748 (gst_controlled_property_set_interpolation_mode):
2749 Fix wrong getter for enums in controller.
2751 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2753 * libs/gst/check/gstcheck.c: (gst_check_init):
2754 Intercept criticals and warnings in the Gst-Phonon log domain, so
2755 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2758 2007-06-14 Edward Hervey <edward@fluendo.com>
2760 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2761 Since this file doesn't include "gst.h" it will not go through the
2762 macros that disable GST_LOG if debugging was disabled.
2764 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2766 * libs/gst/check/Makefile.am:
2767 * libs/gst/check/gstcheck.h:
2768 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2769 * pkgconfig/gstreamer-check.pc.in:
2770 Ugly 'fix' for the controller unit test on the p5 bot: in
2771 fail_unless_equals_float() check whether the values are 'almost
2772 equal' by allowing a small absolute error, which should be good
2773 enough for our use cases (normal numbers and values close to 0).
2774 Proper fixage left to floating point arithmetic aficionados.
2776 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2778 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2779 (gst_base_sink_render_object), (gst_base_sink_get_position):
2780 Add two breaks thats where missing.
2782 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2784 * docs/libs/gstreamer-libs-sections.txt:
2785 * libs/gst/check/gstcheck.h:
2786 API: add fail_unless_equals_float() and assert_equals_float().
2787 Add documentation for some of the macros.
2789 * tests/check/libs/controller.c: (GST_START_TEST):
2790 Use newly-added asserts.
2792 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2794 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
2795 Show the caps change in the log to help spotting the case of not
2796 exactly matching caps.
2798 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2800 * docs/pwg/building-boiler.xml:
2801 Fix typos, spotted by Thijs Vermeir (#447190).
2803 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
2805 * docs/plugins/tmpl/.cvsignore:
2806 Ignore file to keep the buildbots happy
2808 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
2810 * docs/plugins/Makefile.am:
2811 * docs/plugins/gstreamer-plugins-docs.sgml:
2812 * docs/plugins/gstreamer-plugins-sections.txt:
2813 Pull fdsink into the docs too.
2815 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
2817 * libs/gst/controller/gstinterpolation.c:
2818 Actually use the new functions with min/max checks for the trigger and
2819 none interpolation modes for get() and get_value_array() instead of
2822 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
2824 * libs/gst/controller/gstcontroller.c:
2825 (gst_controlled_property_free):
2826 Unset the minimum and maximum GValues when freeing the corresponding
2827 GstControllerProperty struct.
2829 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
2831 * libs/gst/controller/gstcontroller.c:
2832 (gst_controlled_property_new):
2833 * libs/gst/controller/gstcontrollerprivate.h:
2834 * libs/gst/controller/gstinterpolation.c:
2835 (gst_controlled_property_find_control_point_node),
2836 (interpolate_none_get), (interpolate_none_get_enum_value_array),
2837 (interpolate_none_get_string_value_array),
2838 (interpolate_trigger_get),
2839 (interpolate_trigger_get_enum_value_array),
2840 (interpolate_trigger_get_string_value_array):
2841 Protect against values larger or smaller than the minimum or maximum
2842 allowed value for the property when using values that can be compared.
2844 Optimize trigger interpolator a bit by taking the last requested value
2845 into account instead of always looping through the complete list.
2847 Fix coding style a bit, everywhere else we use "return foo" instead
2850 * tests/check/libs/controller.c: (GST_START_TEST),
2851 (gst_controller_suite):
2852 Add unit test for the protection against too large or too small
2855 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
2857 * docs/random/slomo/controller.txt:
2858 Add some thoughts about the future of the controller.
2860 2007-06-08 Wim Taymans <wim@fluendo.com>
2862 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2863 Don't overflow in retimestamping code.
2865 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
2867 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
2868 Use gst_util_guint64_to_gdouble for conversions.
2869 * win32/common/libgstreamer.def:
2870 Add new exported functions.
2872 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
2875 Small docs addition.
2877 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2880 Remove that test line again.
2882 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2885 Test commit mail sending.
2887 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2890 Fix typo and test commit mail sending.
2892 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2894 * tests/examples/controller/audio-example.c:
2895 Improve comment and test commit mail sending.
2897 2007-06-07 Wim Taymans <wim@fluendo.com>
2899 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2900 (gst_bin_remove_func), (gst_bin_element_set_state),
2901 (bin_handle_async_start), (bin_handle_async_done),
2902 (gst_bin_handle_message_func):
2903 Add helper function to find messages.
2904 Generate the async-done messages together with the state change
2906 Small cleanups in handling toplevel bins.
2908 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2910 * libs/gst/base/gstdataqueue.c:
2911 * libs/gst/base/gstdataqueue.h:
2912 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2913 (gst_multi_queue_item_new), (gst_multi_queue_chain),
2914 (gst_multi_queue_sink_event):
2915 * tests/check/elements/multiqueue.c: (multiqueue_suite):
2916 Fix multiqueue leaking buffers and events when downstream or the
2917 queue are flushing. Make refcounting assumptions explicit and
2918 document them (shouldn't break existing code that uses it other than
2919 maybe leak miniobjects, but that already happens anyway). Add unit
2920 test for the most common flushing case. Fixes #423700.
2922 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
2924 * libs/gst/controller/gstcontroller.c:
2925 Clarify docs: The get_all, get_value_array(s) functions
2926 don't modify the GObject properties.
2928 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
2930 * libs/gst/controller/gstcontroller.c:
2931 (gst_controlled_property_set_interpolation_mode),
2932 (gst_controlled_property_prepend_default),
2933 (gst_controlled_property_new), (gst_controller_set_unlocked),
2934 (gst_controller_set), (gst_controller_set_from_list),
2935 (gst_controller_unset), (gst_controller_unset_all):
2936 * libs/gst/controller/gstcontrollerprivate.h:
2937 * libs/gst/controller/gstinterpolation.c:
2938 Factor out the 'set' logic into gst_controller_set_unlocked for the
2939 gst_controller_set and gst_controller_set_from_list functions.
2941 To make life of the interpolators easier always add a control point
2942 at timestamp zero with the default value.
2944 In the linear interpolator make things more obvious by better variable
2947 Implement cubic interpolation mode (by using a natural cubic spline)
2948 and map the quadratic interpolation mode to this too (as quadratic
2949 doesn't make much sense, see discussion on the list).
2951 * tests/check/libs/controller.c: (GST_START_TEST),
2952 (gst_controller_suite):
2953 Add unit test for the cubic interpolation mode and check everywhere
2954 if the interpolation mode could be set as expected.
2956 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2958 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2959 Don't use GLib-2.10 functions, we still depend on
2960 GLib-how-old-is-it-again-2.8.
2962 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2964 * docs/gst/gstreamer-sections.txt:
2968 * gst/gstparamspecs.c: (_gst_param_fraction_init),
2969 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2970 (_gst_param_fraction_values_cmp),
2971 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2972 * gst/gstparamspecs.h:
2974 * tests/check/Makefile.am:
2975 * tests/check/gst/.cvsignore:
2976 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2977 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2978 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2979 (GST_START_TEST), (gst_param_spec_suite):
2980 API: add GstParamSpecFraction, so elements can have fraction
2981 properties without lots of painful string parsing (#444648).
2983 2007-06-05 Wim Taymans <wim@fluendo.com>
2985 * gst/gstobject.c: (gst_object_class_init):
2986 Fix signal signature.
2989 Add small clarification in the api docs.
2991 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2992 States are protected with object lock.
2994 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2997 I should probably be listed as an author by now.
2999 * docs/random/release:
3000 Update the release doc
3002 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
3005 Make docs for gst_value_compare() mention return enums that
3008 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
3013 === release 0.10.13 ===
3015 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
3018 releasing 0.10.13, "With or without you"
3020 2007-05-25 Wim Taymans <wim@fluendo.com>
3022 * gst/gstbin.c: (bin_handle_async_done):
3023 Make sure that the child bin stops after completing the async state
3024 change so that the parent can continue the state change to PLAYING.
3027 2007-05-25 Wim Taymans <wim@fluendo.com>
3029 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3030 (unref_data), (gst_collect_pads_remove_pad),
3031 (gst_collect_pads_check_pads):
3032 Use additional refcounting to avoid crashes when dynamically adding and
3033 removing pads. Fixes #420206.
3035 2007-05-24 Wim Taymans <wim@fluendo.com>
3037 * tools/gst-launch.c: (event_loop):
3038 When buffering goes from a two digit to a single digit number, make sure
3039 to remove the old second digit by writing a blank over it.
3041 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
3043 * libs/gst/base/gstdataqueue.c:
3044 Eliminate tabs and trailing comma in enum list; fix some typos.
3046 2007-05-24 Wim Taymans <wim@fluendo.com>
3048 * tests/check/gst/gstbin.c: (GST_START_TEST):
3049 Allow refcount of 3 and 4 because some state thread might still be busy
3052 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
3054 * plugins/elements/Makefile.am:
3055 * plugins/elements/gstmultiqueue.h:
3056 * plugins/elements/gstqueue.h:
3057 These are not installed headers, no need for padding.
3059 2007-05-24 Wim Taymans <wim@fluendo.com>
3061 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3062 (gst_bin_continue_func):
3063 Enable latency for next release.
3064 Restore STATE_LOCK around recalc_state that was left out during the
3065 rewrite and could result in racy behaviour when _get_state and
3066 recalc_state are run concurrently. See #440463.
3068 2007-05-23 Wim Taymans <wim@fluendo.com>
3070 * tests/check/gst/gstsystemclock.c: (store_callback),
3072 Improve test_async_order to also work when both timers are already
3073 expired when we get scheduled to check it.
3075 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
3077 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
3078 (gst_bin_set_property), (gst_bin_get_property),
3079 (gst_bin_remove_func), (gst_bin_handle_message_func):
3081 'private' is a c++ keyword, let's not use that in header files,
3082 otherwise c++ compilers will throw a tantrum.
3084 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
3086 * plugins/elements/gstelements.c:
3087 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
3088 (gst_file_sink_get_current_offset):
3089 * plugins/indexers/gstindexers.c: (plugin_init):
3090 Use #ifdef for HAVE_XYZ for consistency.
3092 * tests/check/Makefile.am:
3093 * tests/check/elements/.cvsignore:
3094 * tests/check/elements/filesink.c: (setup_filesink),
3095 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
3096 Add some unit tests for filesink.
3098 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
3100 Patch by: Mark Nauwelaerts <manauw at skynet be>
3102 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3103 (gst_file_sink_query), (gst_file_sink_do_seek),
3104 (gst_file_sink_get_current_offset), (gst_file_sink_render):
3105 * plugins/elements/gstfilesink.h:
3106 Fix position reporting; rename data_written member to current_pos to
3107 reflect its real meaning (fixes #412648).
3109 2007-05-22 Edward Hervey <edward@fluendo.com>
3111 * docs/gst/gstreamer-sections.txt:
3112 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3113 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
3114 (gst_bin_remove_func), (gst_bin_handle_message_func):
3116 Add a property for bins that handle the state change of their childs.
3119 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
3121 * libs/gst/controller/gstinterpolation.c:
3122 Use an array of the correct type when using _get_value_array with
3123 linear interpolation.
3125 2007-05-22 Stefan Kost <ensonic@users.sf.net>
3127 * gst/gstelement.c (gst_element_requires_clock,
3128 gst_element_provides_clock, gst_element_request_pad,
3129 gst_element_class_set_details, gst_element_class_set_details_simple,
3130 gst_element_default_send_event, gst_element_abort_state,
3131 gst_element_continue_state, gst_element_set_state,
3132 gst_element_set_state_func, iterator_activate_fold_with_resync):
3133 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
3134 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
3135 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
3136 gst_pad_get_range, gst_pad_pull_range):
3137 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
3138 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
3139 GstPadActivateModeFunction, GstPadChainFunction,
3140 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
3141 GstPadFixateCapsFunction, GstPadTemplate):
3142 * gst/gstpipeline.c (gst_pipeline_change_state,
3143 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
3144 gst_pipeline_set_clock, gst_pipeline_auto_clock,
3145 gst_pipeline_get_delay):
3146 Whitespace and docs fixes.
3148 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3150 * libs/gst/controller/gstinterpolation.c:
3151 (interpolate_trigger_get_enum_value_array),
3152 (interpolate_trigger_get_string_value_array):
3153 Add support for retrieving value arrays when using the trigger
3156 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3158 * libs/gst/controller/gstcontroller.c:
3159 (gst_controller_get_value_array):
3160 * libs/gst/controller/gstcontroller.h:
3161 Clarify the docs of gst_controller_get_value_array(): The array where
3162 the values should be written to must be allocated as there seems to be
3163 no way to get the size of a random GType. This doesn't change any
3164 behaviour. Also fix some typos all over the place and remove an unused,
3165 commented function that is not necessary as g_object_set() could be
3167 * tests/check/libs/controller.c: (GST_START_TEST),
3168 (gst_controller_suite):
3169 Add unit test for gst_controller_get_value_array().
3171 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
3173 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3175 Disable part of the gst_buffer_try_new_and_alloc test, because
3176 it can happily succeed on 64-bit systems where there's more address
3179 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3181 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3182 Add unit test for the improved caps checking from bug #421543.
3184 2007-05-21 Wim Taymans <wim@fluendo.com>
3186 * docs/design/part-synchronisation.txt:
3189 * gst/gstbin.c: (gst_bin_query):
3190 * plugins/elements/gstqueue.c: (apply_segment):
3196 2007-05-21 Wim Taymans <wim@fluendo.com>
3198 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3199 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
3200 (gst_pad_configure_src):
3201 Added simple version of improved caps checking. It was previously
3202 assumed that a setcaps function would check the validity of the caps but
3203 people prefer us to check caps against the template automatically.
3206 2007-05-21 Wim Taymans <wim@fluendo.com>
3208 * libs/gst/base/gstbasetransform.h:
3209 Fix macro for locking/unlocking the transform lock.
3211 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
3213 * docs/plugins/tmpl/.cvsignore:
3216 2007-05-18 Edward Hervey <edward@fluendo.com>
3218 * plugins/elements/gstqueue.c: (gst_queue_loop):
3219 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
3220 for the subtle art of warning a potentially blocking thread that it
3221 should check the source pad return value, and relay the information
3224 2007-05-18 Edward Hervey <edward@fluendo.com>
3226 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3227 Release the queue lock !
3229 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3231 * docs/libs/gstreamer-libs-sections.txt:
3232 Add the two new controller functions to the appropiate places.
3234 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3236 reviewed by: Stefan Kost <ensonic@users.sf.net>
3238 * libs/gst/controller/gstcontroller.c:
3239 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
3240 (_gst_controller_get_property), (_gst_controller_set_property),
3241 (_gst_controller_init), (_gst_controller_class_init):
3242 * libs/gst/controller/gstcontroller.h:
3243 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
3244 (gst_object_get_control_rate), (gst_object_set_control_rate):
3245 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
3246 Add API that provides sync suggestion timestamps for elements that
3247 call gst_object_sync_values() from which those elements can subdivide
3248 their processing loop to get the best results for the controlled
3249 properties. For now it just suggests last_sync + control_rate as
3250 new timestamp but this will be improved in the future.
3252 While doing that change the control-rate property to a GstClockTime
3253 from guint and change it's meaning from samples to nanoseconds as
3254 the GstController doesn't know anything about sampling rate. Strictly
3255 speaking this breaks ABI but as the control-rate property didn't do
3256 anything in the past and as such couldn't be used this should be no
3259 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3261 reviewed by: Stefan Kost <ensonic@users.sf.net>
3263 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3264 (gst_controller_unset_all):
3265 * libs/gst/controller/gstcontrollerprivate.h:
3266 * libs/gst/controller/gstinterpolation.c:
3267 (gst_controlled_property_find_control_point_node):
3268 Save last synced value from the list to continue searching from there
3269 in future syncs. This speeds everything up a bit.
3271 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3273 reviewed by: Stefan Kost <ensonic@users.sf.net>
3275 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
3276 (gst_control_point_find), (gst_controlled_property_new),
3277 (gst_control_point_free), (gst_controlled_property_free),
3278 (gst_controller_set), (gst_controller_set_from_list),
3279 (gst_controller_unset), (gst_controller_unset_all),
3280 (gst_controller_sync_values):
3281 * libs/gst/controller/gstcontroller.h:
3282 * libs/gst/controller/gstcontrollerprivate.h:
3283 * libs/gst/controller/gstinterpolation.c:
3284 (gst_controlled_property_find_control_point_node),
3285 (interpolate_none_get), (interpolate_trigger_get):
3286 Add a new private GstControlPoint struct which "inherits" from
3287 GstTimedValue to allow different interpolators to store internal
3288 values next to each control point. From the outside everything is
3289 still a GstControlPoint so we don't loose binary compatibility.
3290 Also fixup all the GValue handling to not leak GValues or list nodes.
3291 * tests/check/libs/controller.c: (GST_START_TEST):
3292 Free the list nodes and GValues in the controller_misc test.
3294 2007-05-17 Edward Hervey <edward@fluendo.com>
3299 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
3301 * gst/gstplugin.c: (gst_plugin_load_file):
3302 If we fail to load a plugin because of unresolved symbols or missing
3303 libraries and spew a warning to stderr, we may just as well mention
3304 which plugin it was that failed to load.
3306 2007-05-13 David Schleef <ds@schleef.org>
3308 * docs/Makefile.am: the gtk-doc makefile snippet correctly
3309 handles the case when ENABLE_GTK_DOC is false, and installs
3310 the prebuilt documentation. So gtk-doc subdirs are
3311 unconditionally enabled. Fixes: #349099.
3313 2007-05-13 David Schleef <ds@schleef.org>
3315 * gst/gstutils.h: Reword some documentation.
3317 2007-05-12 David Schleef <ds@schleef.org>
3319 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
3320 do anything with the passed "module" parameter, so remove it.
3321 Allows removal of additional vestigal code.
3323 2007-05-12 David Schleef <ds@schleef.org>
3326 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
3327 Switch to using g_stat() because it's more portable.
3329 2007-05-12 David Schleef <ds@schleef.org>
3332 Add GST_DISABLE_OPTION_PARSING, in order to disable option
3333 parsing for embedded systems.
3334 * gst/gstelementfactory.c:
3335 Allow gst_element_register() to be called with plugin==NULL.
3336 Did nobody notice that static elements were broken?
3338 2007-05-12 Wim Taymans <wim@fluendo.com>
3340 * tools/gst-launch.c: (event_loop):
3341 Give more interesting info when buffering starts and stops.
3342 Fix case where buffering starts but we fail to update the buffering flag
3343 because the target state is not PLAYING.
3345 2007-05-12 Wim Taymans <wim@fluendo.com>
3347 * plugins/elements/gstqueue.c: (gst_queue_init),
3348 (gst_queue_finalize), (update_time_level), (apply_segment),
3349 (apply_buffer), (gst_queue_locked_flush),
3350 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
3351 (gst_queue_handle_sink_event), (gst_queue_chain),
3352 (gst_queue_push_one), (gst_queue_loop):
3353 * plugins/elements/gstqueue.h:
3354 Refactor an cleanup queue a bit.
3355 Do better time level calculations that also work when the srcpad is not
3357 Remove some unneeded debug lines.
3359 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
3360 Added testcase for time level measurement.
3361 Try to make some stuff more racefree.
3363 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
3365 * gst/gsturi.c: (gst_element_make_from_uri):
3366 Don't leak plugin feature.
3368 * tests/check/Makefile.am:
3369 * tests/check/gst/.cvsignore:
3370 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
3371 Add brain-dead unit test.
3373 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
3375 Patch by: Jeroen Wouters <woutersj at gmail com>
3377 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
3378 Treat protocol strings in a case-insensitive way (#437563).
3380 2007-05-11 Michael Smith <msmith@fluendo.com>
3382 * gst/gstplugin.c: (gst_plugin_load_file):
3383 * gst/gstregistry.c: (gst_registry_scan_path_level):
3384 Don't print a g_warning for any failure to load a shared object.
3385 Instead, push this down into gstplugin.c, and warn _only_ if we
3386 failed to open the module (i.e. failure to link).
3387 Avoids warnings on normal, working, non-plugin .so files.
3389 2007-05-11 Stefan Kost <ensonic@users.sf.net>
3391 * gst/gstplugin.c (gst_plugin_load_file):
3392 * gst/gstregistry.c (GST_CAT_DEFAULT,
3393 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
3394 Print a g_warning if there was an error when loading a plugins during
3395 registry scan. The shuld help beginners starting with gst-plugin
3398 2007-05-10 Wim Taymans <wim@fluendo.com>
3400 * plugins/elements/gstqueue.c: (gst_queue_class_init),
3401 (update_time_level), (gst_queue_locked_flush),
3402 (gst_queue_handle_sink_event), (gst_queue_chain),
3403 (gst_queue_push_one), (gst_queue_loop):
3404 * plugins/elements/gstqueue.h:
3405 Be smarter when calculating the current amount of data in the queue by
3406 measuring the difference between start and end timestamps (in running
3407 time) inside the queue. Fixes #432876.
3408 API: GstQueue::pushing to notify elements that we are pushing data again
3409 since the running signal is rather broken for this purpose.
3411 2007-05-10 Stefan Kost <ensonic@users.sf.net>
3413 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
3414 gst_queue_base_init, gst_queue_init):
3417 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
3419 * win32/common/libgstreamer.def:
3420 Add new exported functions.
3421 * win32/vs6/grammar.dsp:
3422 Use grammar pre-generated files.
3424 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
3426 Based on patch by: Peter Kjellerstedt <pkj at axis com>
3429 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
3431 * gst/gstutils.c: (gst_parse_bin_from_description):
3433 Maintain API and ABI when --disable-parse is used. Now that
3434 we have an appropriate error code, we can just return NULL and the
3435 appropriate error when gst_parse_launch() is used despite it having
3436 been disabled (#342564).
3438 * tests/check/Makefile.am:
3439 * tests/check/pipelines/.cvsignore:
3440 * tests/check/pipelines/parse-disabled.c:
3441 Make sure these functions exist and return NULL plus a GError when
3442 --disable-parse is used.
3444 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
3446 * tests/benchmarks/complexity.c: (main):
3447 * tests/benchmarks/mass-elements.c: (main):
3448 Set a good example and don't leak messages.
3450 2007-05-06 Stefan Kost <ensonic@users.sf.net>
3452 * docs/gst/Makefile.am:
3453 * docs/libs/Makefile.am:
3454 Correct fixxrefs options.
3456 * docs/plugins/Makefile.am:
3457 * docs/plugins/gstreamer-plugins-docs.sgml:
3458 * docs/plugins/gstreamer-plugins-sections.txt:
3459 * plugins/elements/Makefile.am:
3460 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3461 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3462 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3463 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3464 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3465 _GstCapsFilterClass, trans_class):
3466 * plugins/elements/gstelements.c (name, rank, type, _elements):
3467 * plugins/elements/gstidentity.c
3468 (gst_identity_check_imperfect_timestamp,
3469 gst_identity_check_imperfect_offset):
3470 Document capsfilter and add doc-blurb to identity.
3472 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
3474 * libs/gst/controller/gstcontroller.c:
3475 (gst_controlled_property_set_interpolation_mode):
3476 * libs/gst/controller/gstinterpolation.c:
3477 Don't crash if someone tries to set an interpolation mode that
3478 is invalid or that isn't supported yet. Fixes #422295.
3480 * tests/check/libs/controller.c: (GST_START_TEST),
3481 (gst_controller_suite):
3482 Add a test case for the above.
3484 2007-05-03 Edward Hervey <edward@fluendo.com>
3486 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3487 Properly set the last_stop position on GstSegment. This will only happen
3488 if there is a buffer to push out.
3490 2007-05-03 Wim Taymans <wim@fluendo.com>
3492 * libs/gst/base/gstbasetransform.c:
3493 (gst_base_transform_buffer_alloc):
3494 always_in_place does not mean that the sink and source caps are the
3495 same! Make sure we don't blindly proxy the buffer_alloc in this case.
3497 2007-05-03 Wim Taymans <wim@fluendo.com>
3499 * docs/libs/gstreamer-libs-sections.txt:
3500 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3501 (gst_base_src_default_query), (gst_base_src_get_range):
3502 * libs/gst/base/gstbasesrc.h:
3503 API: gst_base_src_query_latency(). Added method so that subclasses can
3504 easily get the latency values of the base source class.
3506 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
3508 * tools/gst-inspect.c (print_implementation_info):
3511 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
3513 * tools/Makefile.am:
3514 * tools/gst-launch.1.in:
3515 Don't create a customised man page based on the host architecture,
3516 describe the default registry path generically. That way the man
3517 page is the same for all architectures and packagers have one
3518 multilib issue less to deal with. Fixes #434926.
3520 2007-05-02 Wim Taymans <wim@fluendo.com>
3523 Fix documentation as spotted by rg on IRC.
3525 2007-04-29 Stefan Kost <ensonic@users.sf.net>
3528 Improve docs for gst_element_{link,unlink}.
3530 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
3532 * docs/design/part-events.txt:
3533 * docs/design/part-overview.txt:
3537 * libs/gst/base/gstbasesink.c:
3538 Typo fixes; minor docs addition.
3540 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3542 * docs/gst/gstreamer-sections.txt:
3543 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
3544 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
3546 API: Add gst_uri_protocol_is_supported(), which checks if a sink
3547 or src that supports a given URI protocol exists.
3549 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3551 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3552 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3553 Set the location to NULL if "file://" is set as URI. Otherwise
3554 some random previous URI would still be set if "file://" is
3555 set on an already used filesink/filesrc.
3557 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3559 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3560 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3561 Special case the "file://" URI as as this is used by some
3562 applications to test with gst_element_make_from_uri if there's
3563 an element that supports the URI protocol.
3564 Also move the g_path_is_absolute() check for the location part
3565 of the URI to also check this for "file://localhost/bla" URIs.
3567 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
3569 * docs/gst/gstreamer-sections.txt:
3570 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3572 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3574 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3576 2007-04-26 Stefan Kost <ensonic@users.sf.net>
3578 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3579 (gst_registry_binary_load_pad_template),
3580 (gst_registry_binary_load_plugin),
3581 (gst_registry_binary_read_cache):
3582 * gst/gstregistrybinary.h:
3583 Implement no-mmap alternative for registry reading. Do code cleanups.
3584 Add more comments about avoiding strdups for all text data. Comments
3587 2007-04-25 Stefan Kost <ensonic@users.sf.net>
3589 * gst/gstregistrybinary.h (GstBinaryPluginElement,
3590 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3591 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3592 Comment structs and reformat to fix the build (that stuff should go
3593 into a priv. header).
3595 2007-04-25 Stefan Kost <ensonic@users.sf.net>
3597 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3598 (gst_registry_binary_load_feature):
3599 * gst/gstregistrybinary.h:
3600 Refactor so that we can implement multiple features. Add support for
3601 TypeFindFactory features.
3603 2007-04-24 Stefan Kost <ensonic@users.sf.net>
3605 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3608 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3610 2007-04-23 Stefan Kost <ensonic@users.sf.net>
3612 * gst/gstbin.c: (gst_bin_element_set_state),
3613 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3614 (bin_handle_async_done), (gst_bin_handle_message_func):
3615 Fix build with --gst-disable-gst-debug
3617 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
3619 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3620 Make sure streaming has finished before calling the ::stop() vfunc,
3621 since that vfunc might clear state which is being used in the
3622 streaming thread. This fixes a race that caused crashes in
3623 audioresample when shutting down a pipeline (#420106).
3625 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3627 * docs/gst/gstreamer-sections.txt:
3628 That was one byte missing.
3630 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3633 * docs/gst/gstreamer-sections.txt:
3635 * gst/gstconfig.h.in:
3636 * gst/gstobject.c: (gst_object_class_init),
3637 (gst_signal_object_class_init):
3639 2nd attempt to have a xml-less build as a joined effort of #413123
3642 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3644 * docs/design/draft-tagreading.txt:
3645 Added open issues/thoughts to draft.
3647 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3649 * gst/parse/grammar.tab.pre.c:
3650 * gst/parse/grammar.tab.pre.h:
3651 * gst/parse/lex._gst_parse_yy.pre.c:
3652 Update the prebuild parser sources.
3654 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3656 * gst/parse/Makefile.am:
3657 And now fix the building of the flex sources. Now everything should
3660 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3662 * gst/parse/Makefile.am:
3663 Now hopefully fix the build failures by setting proper rule
3664 dependencies and moving instead of copying.
3666 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3668 * tests/benchmarks/complexity.gnuplot:
3669 * tests/benchmarks/complexity.scm:
3670 * tests/benchmarks/mass-elements.gnuplot:
3671 * tests/benchmarks/mass-elements.scm:
3672 Total licensification.
3674 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3676 * gst/parse/Makefile.am:
3677 Fix the build by correcting the rule that gave wrong files to flex.
3679 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3681 * tests/benchmarks/complexity.c:
3682 * tests/benchmarks/mass-elements.c:
3683 Change licence to LGPL as granted by Benjamin and Andy.
3685 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3687 * gst/parse/Makefile.am:
3688 Add correct grammar.tab.h dependency if compiling without new enough
3689 flex. Fixes #431150.
3691 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
3693 * gst/parse/Makefile.am:
3694 Fix typo and use outdated sources if the flex/bison sources are newer
3695 than the pregenerated ones but flex is too old. Print a warning in
3696 that case. This should fix the build on the build bot.
3698 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
3700 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3701 * gst/parse/Makefile.am:
3702 * gst/parse/grammar.y:
3703 * gst/parse/parse.l:
3704 Make the parser reentrant and recursively callable. This requires flex
3705 >= 2.5.31, for older versions pregenerated sources are used as we
3706 can't bump the build dependency. Finally fixes #349180.
3708 * gst/gstparse.c: (gst_parse_launch):
3709 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3712 * docs/gst/Makefile.am:
3713 * docs/gst/Makefile.am:
3714 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3715 (__gst_parse_strfree), (__gst_parse_link_new),
3716 (__gst_parse_link_free), (__gst_parse_chain_new),
3717 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3718 (gst_parse_element_set), (gst_parse_free_link),
3719 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3720 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3721 (_gst_parse_launch):
3722 * gst/parse/grammar.tab.pre.h:
3723 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3724 (yy_get_previous_state), (yy_try_NUL_trans), (input),
3725 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3726 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3727 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3728 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3729 (_gst_parse_yypop_buffer_state),
3730 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3731 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3732 (yy_fatal_error), (_gst_parse_yyget_extra),
3733 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3734 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3735 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3736 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3737 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3738 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3739 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3740 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3741 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3742 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3743 (_gst_parse_yyfree):
3744 If the installed flex version is too old use pre-generated parser
3745 sources. These pre-generated parser sources are always updated when
3746 the actual flex/bison sources change but require everybody who wants
3747 to change something in the parser to have flex >= 2.5.31 installed.
3749 2007-04-18 Stefan Kost <ensonic@users.sf.net>
3751 * common/m4/gst-gettext.m4:
3752 * gst/gst-i18n-lib.h:
3753 Make --disable-nls to work
3755 2007-04-17 Wim Taymans <wim@fluendo.com>
3757 * gst/gstconfig.h.in:
3758 Revert previous change that broke the build.
3760 2007-04-17 Stefan Kost <ensonic@users.sf.net>
3764 * gst/gstconfig.h.in:
3765 Drop libxml2 dependency when building with
3766 --enable-binary-registry --disable-loadsave
3768 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
3770 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3771 (gst_registry_binary_read_cache):
3772 * gst/gstregistrybinary.h:
3773 Remove unnecessary <sys/mman.h> include which broke the win32 build
3774 with MingW; move includes from header file to .c file, even if the
3775 header file isn't installed; use g_strerror() where UTF-8 strings
3776 are expected, such as in GST_DEBUG messages.
3778 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3780 * docs/libs/gstreamer-libs-sections.txt:
3781 Remove bogus addition for API I didn't end up keeping.
3783 * libs/gst/base/gstbasesrc.h:
3784 Mention Since: 0.10.13 in the documentation.
3786 Add the API keyword to the previous ChangeLog entry.
3788 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3790 * docs/libs/gstreamer-libs-sections.txt:
3791 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3792 (gst_base_src_default_prepare_seek_segment),
3793 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
3794 * libs/gst/base/gstbasesrc.h:
3795 Allow basesrc derived classes to execute seeks in other formats
3796 by providing a prepare_seek_segment vmethod. Sub-classes can choose
3797 to prepare the GstSegment in any format that their perform_seek method
3798 will be able to understand. The default implementation provides the
3799 old behaviour of attempting to convert the seek offsets to the
3800 configured native format.
3802 API: basesrc::prepare_seek_segment vmethod.
3804 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3806 * gst/gstelement.c: (gst_element_get_state_func):
3807 Don't output the same debug statement twice.
3809 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
3810 (gst_adapter_peek), (gst_adapter_take_buffer):
3811 Optimise the case where we have buffers at the head of the queue that
3812 can be joined quickly (because they're contiguous sub-buffers) by
3813 merging them together rather than copying data out into new memory.
3815 * gst/parse/grammar.y:
3816 * tests/check/pipelines/parse-launch.c:
3817 Fix a leak in an error path for parse_launch, and add a check
3818 for it to the testsuite.
3820 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3822 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3823 Don't deadlock when releasing a pad - gst_pad_set_active may try
3824 and take the multiqueue lock too.
3826 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
3828 * gst/gsterror.c: (_gst_core_errors_init):
3830 API: add GST_CORE_ERROR_DISABLED (#392804).
3832 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
3834 * docs/faq/gst-uninstalled:
3835 don't get empty paths on the PATH variables
3836 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
3837 Don't format for the uncommon terminal width of 84 characters.
3839 2007-04-06 Wim Taymans <wim@fluendo.com>
3841 * gst/gstpipeline.c: (reset_stream_time),
3842 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
3843 Only try to select a different pipeline clock when we went back to
3844 PAUSED and not when we merely got flushed.
3846 2007-04-05 Michael Smith <msmith@fluendo.com>
3848 * tools/gst-launch.1.in:
3849 fractions are better supported in gstreamer than ractions, so
3850 suggest using those.
3852 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
3854 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
3858 Added Danish translation.
3860 2007-04-05 Wim Taymans <wim@fluendo.com>
3862 * libs/gst/base/gstbasesink.c:
3863 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
3864 Fix leak caused when refusing newsegment after EOS.
3866 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3867 (gst_fake_sink_init), (gst_fake_sink_set_property),
3868 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
3869 (gst_fake_sink_render), (gst_fake_sink_change_state):
3870 * plugins/elements/gstfakesink.h:
3871 Add num-buffers property to make the element generate EOS after a
3872 configurable amount of buffers.
3873 API: fakesink::num-buffers property.
3875 * tests/check/elements/fakesink.c: (GST_START_TEST),
3877 Fix GstBus leak in test.
3878 Test for fakesink num-buffers.
3880 2007-04-05 Wim Taymans <wim@fluendo.com>
3882 * libs/gst/base/gstbasesink.c:
3883 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3884 (gst_base_sink_change_state):
3885 Don't accept anything after an EOS, return UNEXPECTED instead.
3887 * tests/check/elements/fakesink.c: (GST_START_TEST),
3889 Unit test for new EOS behaviour.
3891 2007-04-05 Wim Taymans <wim@fluendo.com>
3893 * gst/gstelement.c: (gst_element_get_request_pad):
3894 Make padtemplates also work when they don't contain %s or %d.
3896 2007-04-05 Wim Taymans <wim@fluendo.com>
3898 * docs/gst/gstreamer-sections.txt:
3899 * gst/gstclock.c: (gst_clock_adjust_unlocked),
3900 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3902 Improve _adjust_unlocked() so that it overflows less.
3903 Add gst_clock_unadjust_unlocked to convert from external time to
3904 internal time based on calibration.
3905 Add some more debug.
3906 API: GstClock::gst_clock_unadjust_unlocked()
3908 2007-04-03 Wim Taymans <wim@fluendo.com>
3910 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3912 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3913 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3914 when releasing sink pad. Fixes #425400.
3916 2007-04-02 Stefan Kost <ensonic@users.sf.net>
3918 * docs/random/ensonic/dynlink.txt:
3919 More work on proposal for new core api.
3921 * docs/libs/gstreamer-libs-sections.txt:
3922 * libs/gst/base/gstbasetransform.h:
3923 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3925 * libs/gst/controller/gstcontroller.c:
3926 (on_object_controlled_property_changed),
3927 (gst_controller_sync_values),
3928 (gst_controller_set_interpolation_mode):
3929 * libs/gst/controller/gstcontroller.h:
3930 Less verbose logging add docs for unimplemented parts and correctly
3931 return when using unavailable parts.
3933 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
3935 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3936 Move all the debug to the CLOCK category, and associate it with
3939 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
3941 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3942 Make take_buffer a bit quicker by removing redundant checks
3943 caused by calling gst_adapter_take.
3945 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
3947 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3950 * tests/check/Makefile.am:
3951 * tests/check/elements/.cvsignore:
3952 * tests/check/elements/multiqueue.c: (setup_multiqueue),
3953 (GST_START_TEST), (multiqueue_suite):
3954 Add some dead simple unit tests for the 'multiqueue' element
3955 (some bits don't work yet and are disabled for now).
3957 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
3959 * gst/gstelement.c: (gst_element_get_request_pad),
3960 (gst_element_class_get_request_pad_template):
3961 Make gst_element_get_request_pad() create request pads only for
3962 request pad templates and not for, say, sometimes pad templates.
3964 2007-03-28 Stefan Kost <ensonic@users.sf.net>
3966 * docs/design/draft-klass.txt:
3967 Add example that needs more thinking.
3969 * docs/design/draft-missing-plugins.txt:
3970 More thoughts about wrapper plugins.
3972 * docs/random/ensonic/embedded.txt:
3973 * docs/random/ensonic/profiling.txt:
3976 2007-03-25 Wim Taymans <wim@fluendo.com>
3978 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3979 (gst_base_src_loop):
3980 Only push the segment events in the PLAYING state for live sources.
3982 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
3984 * gst/gstpipeline.c: (gst_pipeline_change_state):
3985 Modify the clock distribution path in PAUSED->PLAYING so that we
3986 never attempt to choose a new clock unless we're actually leaving
3987 the PAUSED state for the first time. This prevents choosing a
3988 different clock when the state_change gets called for a 2nd time due
3989 to some element doing an async state change.
3991 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3993 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3994 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3995 (gst_pad_chain_unchecked), (gst_pad_push):
3996 Revert last commit. This needs some more thoughts.
3998 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
4000 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
4001 (gst_pad_chain_unchecked), (gst_pad_push):
4002 Check in set_caps if the caps are compatible with the pad and remove
4003 two functions that are redundant now. Fixes #421543.
4005 2007-03-22 Wim Taymans <wim@fluendo.com>
4007 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4008 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
4009 Unref some more to make valgrind happy.
4011 2007-03-22 Wim Taymans <wim@fluendo.com>
4013 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
4014 (gst_system_clock_id_wait_jitter),
4015 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
4016 Fix anoying regression that survived a few releases. When adding an
4017 async entry while blocking on a sync entry, the sync entry will unblock
4018 but still be busy, so it should continue to wait instead of returning
4020 Add some comments here and there.
4022 * tests/check/gst/gstsystemclock.c: (mixed_thread),
4023 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
4024 Add testcase for this.
4026 2007-03-22 Wim Taymans <wim@fluendo.com>
4028 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
4029 Handle errors from the clock sync better, only UNSCHEDULED indicates a
4030 WRONG_STATE and can silently pause the task. All other cases should
4033 2007-03-22 Wim Taymans <wim@fluendo.com>
4035 Patch by: Ville Syrjala <syrjala at sci dot fi>
4037 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
4038 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
4041 2007-03-21 Michael Smith <msmith@fluendo.com>
4043 * docs/pwg/advanced-types.xml:
4044 Fix some errors in the typefinding docs pointed out on irc.
4046 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
4048 * libs/gst/base/gstbasesrc.c:
4049 Clarify FIXME comment in the face of having added unlock_stop()
4051 2007-03-21 Wim Taymans <wim@fluendo.com>
4053 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
4054 Prepare for release where we warn against possible app breakage in the
4055 case of live pipelines along with an env var to enable/disable live
4056 preroll mode (GST_COMPAT=[no-]live-preroll).
4058 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4060 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
4061 So we should use correct constants for checking for None offset.
4063 2007-03-20 Wim Taymans <wim@fluendo.com>
4065 * docs/design/part-block.txt:
4066 Mention the fact that the newly switched element should be set to at
4069 2007-03-20 Wim Taymans <wim@fluendo.com>
4072 Fix compilation with registry disabled as spotted by Saur.
4074 2007-03-20 Wim Taymans <wim@fluendo.com>
4076 Patch by: Olivier Crete <tester at tester dot ca>
4078 * gst/gstelement.c: (gst_element_sync_state_with_parent):
4079 Look at the pending state too when syncing the element state to the
4080 parent. Fixes #420133.
4082 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
4084 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
4085 (gst_base_sink_change_state):
4086 * libs/gst/base/gstbasesink.h:
4087 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4088 (gst_base_src_default_event), (gst_base_src_unlock_stop),
4089 (gst_base_src_deactivate):
4090 * libs/gst/base/gstbasesrc.h:
4091 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
4092 for sub-classes to correctly clear any state they set trying to
4093 unlock, such as clearing out unlock commands from a command fd.
4094 API: basesrc::unlock_stop
4095 API: basesink::unlock_stop
4097 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
4098 (gst_fd_sink_render), (gst_fd_sink_unlock),
4099 (gst_fd_sink_unlock_stop):
4100 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
4101 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
4102 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
4104 Implement unlock_stop in fdsrc and fdsink.
4105 Implement seeking in fdsrc when a seekable fd is passed, as in
4106 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
4108 2007-03-19 Wim Taymans <wim@fluendo.com>
4110 Patch by: Evan Nemerson <evan at coeus dash group dot com>
4112 * gst/gstelement.c: (gst_element_class_init):
4113 Fix pad-added and pad-removed signal signatures so that the pad type is
4114 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
4116 2007-03-19 Wim Taymans <wim@fluendo.com>
4118 * docs/gst/gstreamer-sections.txt:
4119 Add new element field and method.
4121 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4122 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
4123 (gst_bin_recalc_state), (gst_bin_get_state_func),
4124 (gst_bin_element_set_state), (gst_bin_change_state_func),
4125 (gst_bin_continue_func), (bin_bus_handler),
4126 (bin_push_state_continue), (bin_handle_async_start),
4127 (bin_handle_async_done), (gst_bin_handle_message_func):
4128 Make async state changes a bit smarter by using new ASYNC_START and
4129 ASYNC_DONE messages. This reduces the number of times we run the state
4130 recalculation thread.
4131 Don't change state of element with a pending ASYNC_START message.
4132 Deprecate STATE_DIRTY messages.
4134 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
4135 (gst_element_get_state_func), (gst_element_continue_state),
4136 (gst_element_lost_state), (gst_element_set_state_func),
4137 (gst_element_change_state):
4139 Keep the state that was last set by the app in a new element field.
4140 Don't allow state changes when handling an element event.
4141 Post ASYNC_START and ASYNC_DONE messages.
4142 Change lost_state so that we go to PAUSED and wait for the parent to set
4143 us to PLAYING again (so latency calculation can be performed)
4144 Export gst_element_change_state() method so that subclasses can use it.
4145 API: gst_element_change_state()
4146 API: GST_STATE_TARGET
4148 * gst/gstpipeline.c: (gst_pipeline_class_init),
4149 (reset_stream_time), (gst_pipeline_change_state),
4150 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
4151 Using the new ASYNC_START message we can reset the base_time when
4152 needed. This can then be used to implement base_time redistribution in
4153 flushing seeks so that we can remove the explicit seek handling.
4154 Perform latency query and configuration when going to PLAYING.
4156 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4157 (gst_base_sink_query), (gst_base_sink_change_state):
4158 Post new ASYNC_START/ASYNC_DONE messages.
4160 * tests/check/generic/sinks.c: (GST_START_TEST):
4161 Fix test because the bin will not set the async element to PLAYING right
4164 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
4165 Make the message check a little stronger.
4166 Handle ASYNC messages.
4168 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
4169 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
4170 Expect ASYNC_DONE messages.
4172 2007-03-19 Wim Taymans <wim@fluendo.com>
4174 * docs/gst/gstreamer-sections.txt:
4175 * gst/gstmessage.c: (gst_message_new_async_start),
4176 (gst_message_new_async_done), (gst_message_parse_info),
4177 (gst_message_parse_async_start):
4179 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
4182 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
4184 * tools/gst-inspect.c:
4185 (print_plugin_automatic_install_info_codecs):
4186 Now that we don't check for the 'Codec' keyword any longer in the
4187 klass, we shouldn't spew a warning if the klass isn't a decoder or
4188 encoder (since it might be a Source/Network, for example).
4190 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
4192 * tools/gst-inspect.c:
4193 (print_plugin_automatic_install_info_codecs):
4194 Don't require decoder/demuxer/depayloader elements or
4195 encoder/muxer/paylader elements to have 'Codec' as part of their
4196 factory class string when introspecting a plugin's capabilities.
4197 draft-klass.txt mentions that it might be removed in future, and
4198 flump3dec doesn't have it as part of its class string, so chances
4199 are others might also not have it.
4201 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
4223 Update translations from translation project
4225 2007-03-14 Stefan Kost <ensonic@users.sf.net>
4227 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
4228 (gst_child_proxy_set_property):
4229 Invert precondition check to be alike the ones in the mimiced gobject
4232 2007-03-13 Stefan Kost <ensonic@users.sf.net>
4234 * docs/design/draft-tagreading.txt:
4235 * docs/random/ensonic/audiobaseclasses.txt:
4236 Do some Architect work.
4238 * gst/gstobject.c: (gst_object_set_name):
4242 Add docs that point from gst_pad_get_range to gst_pad_pull_range
4244 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
4246 * gst/gstsystemclock.c: (gst_system_clock_init),
4247 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
4248 Defer starting the async system clock thread until the first async
4249 wait is scheduled. Fixes #414986.
4251 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
4253 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
4254 (gst_single_queue_free):
4255 Fix small leak (free GstSingleQueue structure too, not only contents).
4257 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
4259 * gst/gstbin.c:(gst_bin_add):
4260 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
4261 * win32/common/libgstbase.def:
4262 * win32/common/libgstreamer.def:
4263 Add new exported functions.
4265 2007-03-09 Wim Taymans <wim@fluendo.com>
4267 * docs/plugins/gstreamer-plugins-sections.txt:
4270 2007-03-09 Wim Taymans <wim@fluendo.com>
4272 * docs/gst/gstreamer-sections.txt:
4273 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
4275 Add metadata copy functions. Fixes #393099.
4276 API: gst_buffer_copy_metadata()
4278 * gst/gstutils.c: (gst_buffer_stamp):
4279 * libs/gst/base/gstbasetransform.c:
4280 (gst_base_transform_prepare_output_buffer):
4281 Use new metadata copy functions.
4283 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
4285 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4286 (gst_identity_init), (gst_identity_check_perfect),
4287 (gst_identity_check_imperfect_timestamp),
4288 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
4289 (gst_identity_set_property), (gst_identity_get_property):
4290 * plugins/elements/gstidentity.h:
4291 Separate out check-imperfect-timestamp and check-imperfect-offset.
4292 Put back check-perfect as it was to keep compatibility.
4294 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
4296 * gst/gstelement.c: (gst_element_dispose):
4297 There's no need to warn if VOID_PENDING is not NONE here, as
4298 long as the state is NULL it's ok, and that's checked immediately
4301 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4303 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4304 Fix check for perfect stream to ignore buffers with -1
4305 offsets/offset ends when checking data contiguity.
4307 2007-03-08 Wim Taymans <wim@fluendo.com>
4309 * tools/gst-launch.c: (event_loop):
4310 Print INFO messages.
4312 2007-03-08 Wim Taymans <wim@fluendo.com>
4314 * libs/gst/base/gstbasetransform.c:
4315 (gst_base_transform_sink_eventfunc),
4316 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4317 (gst_base_transform_activate):
4318 * libs/gst/base/gstbasetransform.h:
4319 Add support for dropping buffers with custom GstFlowReturn.
4320 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
4321 buffers or dropped buffers.
4323 * docs/libs/gstreamer-libs-sections.txt:
4324 docs for new custom return code.
4326 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4327 Use drop support in base class to implement drop-probability.
4329 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
4331 * gst/gst.c: (load_plugin_func):
4332 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
4333 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4334 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
4335 Remove newlines at end of debug log strings.
4337 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4339 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4340 Only post bus message at max, once per buffer received.
4342 2007-03-07 Wim Taymans <wim@fluendo.com>
4344 * docs/design/Makefile.am:
4345 * docs/design/part-synchronisation.txt:
4346 Add doc about synchronisation
4348 * docs/design/draft-latency.txt:
4349 * docs/design/part-TODO.txt:
4350 * docs/design/part-clocks.txt:
4351 * docs/design/part-events.txt:
4352 * docs/design/part-gstbus.txt:
4353 * docs/design/part-gstpipeline.txt:
4354 * docs/design/part-live-source.txt:
4355 * docs/design/part-messages.txt:
4356 * docs/design/part-overview.txt:
4357 * docs/design/part-streams.txt:
4358 * docs/design/part-trickmodes.txt:
4359 Documentation updates.
4361 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
4364 Update the doap file.
4366 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4368 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4369 Rename non-perfect to imperfect for Mike and for the sanctity of the
4371 Also make sure bus message gets emitted for data-incontiguities.
4373 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4375 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
4376 (gst_identity_start):
4377 * plugins/elements/gstidentity.h:
4378 Emit bus message if check-perfect is true and we encounter a
4379 non-perfect stream between 2 consecutive buffers.
4382 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
4387 === release 0.10.12 ===
4389 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
4392 releasing 0.10.12, "Inevitable Demise"
4394 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
4397 Version 0.10.11.2 (0.10.12 pre-release)
4398 Bump libtool versioning.
4400 2007-03-01 Stefan Kost <ensonic@users.sf.net>
4402 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4403 Log flow-names and not numbers.
4405 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
4408 Convert to new AG_GST style.
4410 2007-02-28 Wim Taymans <wim@fluendo.com>
4412 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
4413 Don't unref query twice.
4415 2007-02-28 Wim Taymans <wim@fluendo.com>
4417 * gst/gstvalue.c: (gst_value_transform_object_string),
4418 (_gst_value_initialize):
4419 Implement GstObject -> string transform so we print object names
4420 when serializing GValues containing GstObjects.
4422 2007-02-28 Wim Taymans <wim@fluendo.com>
4424 * docs/gst/gstreamer-sections.txt:
4425 Add new stuff to docs.
4427 2007-02-28 Wim Taymans <wim@fluendo.com>
4429 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4430 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
4431 (gst_base_sink_change_state):
4432 Improve latency query code.
4433 Don't leak latency events.
4435 * tests/check/gst/gstbin.c: (GST_START_TEST):
4438 2007-02-28 Wim Taymans <wim@fluendo.com>
4440 * gst/gstelement.c: (gst_element_message_full),
4441 (gst_element_get_state_func):
4443 Improve docs a little. Added Since: for new macro.
4445 * gst/gstobject.c: (gst_object_sink):
4446 * gst/gstpipeline.c: (gst_pipeline_change_state),
4447 (gst_pipeline_set_new_stream_time):
4448 * gst/gstpipeline.h:
4449 Improve debugging and docs.
4451 * gst/gstutils.c: (gst_element_state_change_return_get_name):
4454 2007-02-28 Wim Taymans <wim@fluendo.com>
4456 * gst/gstelement.c: (gst_element_message_full),
4457 (gst_element_set_locked_state), (gst_element_get_state_func),
4458 (gst_element_change_state):
4459 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4460 Documentation updates.
4461 Small code cleanups.
4463 * gst/gstmessage.c: (gst_message_new_info),
4464 (gst_message_parse_info):
4466 API: gst_message_new_info()
4467 API: gst_message_parse_info()
4468 Add INFO message create and parse code.
4470 2007-02-28 Wim Taymans <wim@fluendo.com>
4472 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4473 (bin_query_latency_done):
4474 Also report the live parameter of a latency query.
4476 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
4478 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4479 Copy the current generic/states example from -base and adapt so
4480 we can use the exact same code everywhere.
4481 Check a STATES_IGNORE_ELEMENTS env var which can be used
4482 to ignore certain element factories for this test, which is
4483 what is being done in -base
4484 * tests/check/Makefile.am:
4485 Mention this environment variable.
4487 2007-02-27 Wim Taymans <wim@fluendo.com>
4489 * docs/gst/gstreamer-sections.txt:
4490 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4491 (gst_bus_timed_pop), (gst_bus_pop):
4493 API: gst_bus_timed_pop()
4494 Implement gst_bus_timed_pop() to do a blocking timed wait for a
4495 message to arrive on the bus.
4497 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4499 Two unit tests for new _timed_pop() function.
4501 2007-02-23 Wim Taymans <wim@fluendo.com>
4503 * gst/gstpipeline.c: (gst_pipeline_change_state),
4504 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
4505 Don't ref a NULL clock in _provide_clock_func().
4506 Don't allow an INVALID delay.
4507 Don't try to calculate base_time with an invalid start_time.
4508 Also distribute and notify a NULL clock when it was selected.
4510 * tools/gst-launch.c: (event_loop):
4511 Don't crash when a NULL clock was selected in the pipeline.
4513 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
4515 * docs/design/Makefile.am:
4516 * docs/design/draft-missing-plugins.txt:
4517 * docs/random/draft-missing-plugins.txt:
4518 Some small updates: update plugin system identifier prefix
4519 ('gstreamer.net' to 'gstreamer'), mention our new install
4520 API in libgstbaseutils rather than libgimme-codec, add
4521 reference to the online docs.
4523 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4525 * win32/common/config.h:
4526 Pretty sure Bill never made a powerpc version. Powerpc hackers,
4527 use moap cl ci to only check in what is mentioned in the ChangeLog.
4529 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4531 * docs/gst/gstreamer-sections.txt:
4533 Fix up documentation to link to the correct GstGError section.
4534 Add GST_ELEMENT_INFO macro since someone else added a Info message.
4536 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4538 * tools/gst-launch.c: (event_loop):
4539 Make sure that we actually show the important message part of a
4541 No need to check if the gerror is not NULL to free; first of all
4542 g_free accepts NULL; and second the default error handler would
4543 segfault if gerror was NULL.
4545 2007-02-21 Wim Taymans <wim@fluendo.com>
4547 * docs/gst/gstreamer-sections.txt:
4548 Removed docs as well.
4550 2007-02-21 Wim Taymans <wim@fluendo.com>
4552 * gst/gstmessage.c: (gst_message_parse_duration):
4554 Remove new messages for release.
4556 2007-02-20 Wim Taymans <wim@fluendo.com>
4558 * docs/design/part-gstghostpad.txt:
4559 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4560 (gst_ghost_pad_new_full):
4561 Make the ghostpad a parent of the internal pad again for better backward
4562 compatibility. Don't write code that relies on this however.
4564 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4565 (gst_pad_link_check_hierarchy):
4566 Require that parents should be GstElements in the hierarchy check.
4568 2007-02-20 Wim Taymans <wim@fluendo.com>
4570 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4571 (gst_bin_change_state_func), (bin_query_min_max_init),
4572 (bin_query_latency_fold), (bin_query_latency_done),
4575 Implement latency query.
4577 2007-02-20 Wim Taymans <wim@fluendo.com>
4579 * docs/design/part-gstghostpad.txt:
4580 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4581 (gst_ghost_pad_internal_do_activate_push),
4582 (gst_ghost_pad_internal_do_activate_pull),
4583 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4584 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4585 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4586 Do not set the internal pad as a parent anymore so we can avoid
4587 hierarchy linking errors when the ghostpad has no parent yet. This also
4588 fixes failed activation because of unlinked internal pads, which in
4589 turn fixes the impossible case where you have to activate a pad before
4590 you can add it to a running element.
4593 * gst/gstpad.c: (pre_activate), (post_activate),
4594 (gst_pad_set_active), (gst_pad_activate_pull),
4595 (gst_pad_activate_push), (gst_pad_check_pull_range):
4596 Add some more debug info.
4597 Mark activation mode in pre_activate so that we don't try to activate in
4598 endless loops. Fixes #385084.
4600 2007-02-19 Wim Taymans <wim@fluendo.com>
4602 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4603 (gst_base_transform_check_get_range):
4604 Implement a checkgetrange function instead of relying on the default
4605 core behaviour that assumes we can operate in pull mode if we have a
4606 getrange function. First step at fixing #385084.
4608 2007-02-15 Stefan Kost <ensonic@users.sf.net>
4610 * gst/gstchildproxy.h:
4611 * libs/gst/base/gstbasesink.h:
4612 * libs/gst/base/gstbasesrc.h:
4613 * libs/gst/base/gstbasetransform.h:
4614 More docs coverage and some ChangeLog surgery (add missing names)
4616 2007-02-15 Wim Taymans <wim@fluendo.com>
4618 * docs/design/part-TODO.txt:
4619 * docs/design/part-activation.txt:
4620 * docs/design/part-block.txt:
4621 * docs/design/part-buffering.txt:
4622 * docs/design/part-clocks.txt:
4623 * docs/design/part-element-source.txt:
4624 * docs/design/part-events.txt:
4625 * docs/design/part-gstbin.txt:
4626 * docs/design/part-gstbus.txt:
4627 * docs/design/part-gstpipeline.txt:
4628 * docs/design/part-live-source.txt:
4629 * docs/design/part-messages.txt:
4630 * docs/design/part-overview.txt:
4631 * docs/design/part-qos.txt:
4632 * docs/design/part-query.txt:
4633 * docs/design/part-states.txt:
4634 * docs/design/part-trickmodes.txt:
4635 Some doc updates. Start renaming from stream_time to running_time where
4636 it was used wrongly.
4638 2007-02-15 Wim Taymans <wim@fluendo.com>
4640 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4641 Answer LATENCY query.
4643 2007-02-15 Wim Taymans <wim@fluendo.com>
4645 * tests/check/gst/gstevent.c: (event_probe), (test_event),
4649 2007-02-15 Wim Taymans <wim@fluendo.com>
4651 * gst/gstpad.c: (gst_pad_get_internal_links_default),
4652 (gst_pad_dispatcher):
4653 Improve debugging of default pad dispatcher and query functions.
4655 2007-02-15 Wim Taymans <wim@fluendo.com>
4657 * docs/gst/gstreamer-sections.txt:
4658 Remove old unused method.
4660 2007-02-13 Wim Taymans <wim@fluendo.com>
4662 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4665 2007-02-13 Wim Taymans <wim@fluendo.com>
4667 * docs/design/part-seeking.txt:
4670 * gst/gstsegment.c: (gst_segment_set_seek):
4671 Revert old bogus change that should make seeking work again.
4673 2007-02-13 Stefan Kost <ensonic@users.sf.net>
4675 * docs/random/ensonic/dynlink.txt:
4676 * docs/random/ensonic/interfaces.txt:
4677 * docs/random/ensonic/receipies.txt:
4678 Possible dynamic reconnection api, plus some type fixes the other two
4681 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
4683 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4684 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4685 Also check for an absolute path following file:// in the filesrc
4686 element. Remove redundant check and call g_path_is_absolute() on the
4689 2007-02-13 Stefan Kost <ensonic@users.sf.net>
4691 * docs/design/draft-klass.txt:
4692 Add existing category analysis.
4695 Fix doc example, framerate is a fraction.
4697 2007-02-12 Stefan Kost <ensonic@users.sf.net>
4700 * docs/gst/Makefile.am:
4701 * docs/gst/gstreamer-sections.txt:
4702 * docs/libs/Makefile.am:
4703 Erm, forgot a bunch of --extra-dir.
4705 2007-02-12 Stefan Kost <ensonic@users.sf.net>
4708 * docs/gst/Makefile.am:
4709 * docs/libs/Makefile.am:
4710 * docs/plugins/Makefile.am:
4711 Add crossreferences to glib/gobject docs.
4713 2007-02-12 Wim Taymans <wim@fluendo.com>
4715 * docs/design/draft-latency.txt:
4718 * docs/libs/gstreamer-libs-sections.txt:
4719 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4720 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4721 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4722 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4723 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4724 (gst_base_sink_get_position), (gst_base_sink_query),
4725 (gst_base_sink_change_state):
4726 * libs/gst/base/gstbasesink.h:
4727 API: gst_base_sink_query_latency() to let subclasses query the upstream
4729 API: gst_base_sink_get_latency() to let subclasses query the configured
4730 latency in the sink.
4731 Implement query and set latency.
4733 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4734 don't continue preroll when we are flushing. Fixes #405284.
4736 * tests/check/pipelines/stress.c: (change_state_timeout),
4737 (quit_timeout), (GST_START_TEST), (stress_suite):
4740 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
4742 Patch by: René Stadler <mail at renestadler de>
4744 * docs/gst/gstreamer-sections.txt:
4745 * gst/gsttaglist.c: (_gst_tag_initialize):
4747 API: add GST_TAG_REFERENCE_LEVEL (#403597).
4749 2007-02-11 Stefan Kost <ensonic@users.sf.net>
4751 * docs/libs/Makefile.am:
4752 Fix path to core docs.
4754 * gst/gstbin.c: (gst_bin_get_by_interface),
4755 (gst_bin_iterate_all_by_interface):
4756 Refix docs by also renaming 'interface' to 'iface' in implementation.
4758 * docs/gst/gstreamer-sections.txt:
4760 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4761 * gst/gstchildproxy.h:
4762 * gst/gstelementfactory.c:
4763 * gst/gstpadtemplate.h:
4764 * libs/gst/controller/gstcontroller.c:
4765 (gst_controlled_property_new):
4768 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
4770 * gst/gstbin.h:(gst_bin_get_by_interface),
4771 (gst_bin_iterate_all_by_interface):
4772 Replace interface parameter name by iface as interface is
4773 a reserved keyword in Visual Studio for C++ projects so it removes
4774 a build error for application developpers using VS.
4775 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4776 Fix a bug on Windows in uri format check. Now the prefix checked
4777 is file:// and next we check if the path after file:// is absolute.
4778 * win32/common/libgstbase.def:
4779 * win32/common/libgstdataprotocol.def:
4780 * win32/common/libgstgstreamer.def:
4781 Add new exported functions.
4783 2007-02-09 Andy Wingo <wingo@pobox.com>
4785 * tests/check/pipelines/simple-launch-lines.c
4786 (simple_launch_lines_suite, test_tee): Disable tee test until I
4787 have time to fix it :-(
4789 * tests/check/Makefile.am (noinst_HEADERS):
4790 * tests/check/libs/libsabi.c:
4791 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4792 * tests/check/gst/gstabi.c:
4793 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
4795 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
4796 tests for push and pull tee behavior.
4798 * plugins/elements/gsttee.h:
4799 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
4800 mark as deprecated as well as unimplemented. It was a crack idea.
4801 Add support for tee operating in pull mode, off by default.
4803 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
4804 normal-case logs down to LOG, raise errors to WARNING.
4805 (gst_registry_xml_read_cache): Don't log before calling a function
4808 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
4809 exit (registry finalize).
4810 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
4811 DEBUG log when we emit signals that people don't even have the
4812 chance to connect to.
4813 (gst_registry_scan_path_level): Less logging in the normal case.
4815 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4817 Patch by: Michal Benes <michal dot benes at itonis dot tv>
4819 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4820 Correctly generate EOS for non-seekable files. We don't have a total
4821 length for them and would get an unexpected end of file if we only
4822 special-cased for regular files. (Fixes: #404569)
4824 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4826 * tests/check/elements/filesrc.c: (GST_START_TEST),
4828 Add unit test for the GstURIHandler interface in filesrc. This also
4829 tests the newly added file://localhost/foo/bar support.
4831 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
4833 * gst/gstelementfactory.h:
4834 The klass string is not a hierarchy. Add reference to the design doc
4835 for more information and common types.
4837 2007-02-02 Wim Taymans <wim@fluendo.com>
4839 * gst/gstquery.c: (gst_query_new_latency):
4840 Remove old structure field.
4842 2007-02-02 Stefan Kost <ensonic@users.sf.net>
4844 * tools/gst-launch.1.in:
4845 Give example for network streaming (#351998)
4847 2007-02-02 Wim Taymans <wim@fluendo.com>
4849 * docs/gst/gstreamer-sections.txt:
4850 Add docs for new methods.
4852 * gst/gstevent.c: (gst_event_new_latency),
4853 (gst_event_parse_latency):
4855 Add new LATENCY event to configure latency in a pipeline.
4856 API: gst_event_new_latency
4857 API: gst_event_parse_latency
4859 * gst/gstmessage.c: (gst_message_new_buffering),
4860 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
4861 (gst_message_new_latency), (gst_message_parse_buffering),
4862 (gst_message_parse_lost_preroll):
4864 Added messages used in draft-latency.
4865 API: gst_message_new_lost_preroll
4866 API: gst_message_parse_lost_preroll
4867 API: gst_message_new_prerolled
4868 API: gst_message_new_latency
4870 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
4871 (gst_query_parse_latency):
4873 Implemented new latency query as in design doc.
4874 API: gst_query_new_latency
4875 API: gst_query_set_latency
4876 API: gst_query_parse_latency
4878 2007-02-02 Wim Taymans <wim@fluendo.com>
4880 * docs/design/draft-latency.txt:
4881 Slight redesign to allow for dynamic latency adjustments.
4883 * docs/design/part-negotiation.txt:
4886 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4888 reviewed by: Wim Taymans <wim@fluendo.com>
4890 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4891 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4892 Allow file://localhost/foo/bar URLs and correctly fail for every other
4893 hostname that one sets. This was gnomevfssrc is linked for those if
4894 installed as it can handle it (#403172)
4896 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
4898 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4900 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4901 (unref_data), (gst_collect_pads_add_pad_full):
4902 * libs/gst/base/gstcollectpads.h:
4903 Don't put the previously added destroy notify in the GstCollectData
4904 struct as all it's padding is already used and we don't want to break
4905 ABI. Instead put in the pad's GObject data for now. This should be
4906 cleaned up for 0.11 (#402393).
4908 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
4910 reviewed by: Wim Taymans <wim@fluendo.com>
4912 * docs/libs/gstreamer-libs-sections.txt:
4913 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4914 (unref_data), (gst_collect_pads_add_pad),
4915 (gst_collect_pads_add_pad_full):
4916 * libs/gst/base/gstcollectpads.h:
4917 API: Add function to specify a destroy notification for custom
4918 GstCollectData when adding new pads in GstCollectPads (#402393).
4920 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
4923 Update Swedish translation (#378255).
4925 2007-01-31 Stefan Kost <ensonic@users.sf.net>
4927 * docs/design/draft-klass.txt:
4928 Fix the previous change, this is a list of categories and not a hierarchy.
4930 2007-01-31 Stefan Kost <ensonic@users.sf.net>
4932 * docs/design/draft-klass.txt:
4933 Add info about how to get a list of used classes.
4935 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
4937 * plugins/elements/gsttypefindelement.c:
4938 (gst_type_find_element_chain_do_typefinding),
4939 (gst_type_find_element_change_state):
4940 Don't leak found caps in chain function (no idea why that never
4941 showed up as a leak anywhere).
4943 2007-01-30 Stefan Kost <ensonic@users.sf.net>
4946 Fix and expand GstPluginDesc API docs.
4948 2007-01-29 Stefan Kost <ensonic@users.sf.net>
4951 * gst/gstelementfactory.c:
4952 * gst/gstpadtemplate.h:
4955 * libs/gst/controller/gstcontroller.c:
4956 (gst_controlled_property_new):
4957 * tests/examples/controller/audio-example.c:
4960 2007-01-29 Stefan Kost <ensonic@users.sf.net>
4963 comment about refining the xml deps
4966 comments about moving away from jade for docs
4969 recommit the ifdefs to use the binary registry
4971 * gst/gstbin.c: (gst_bin_change_state_func):
4972 this break is obsolete
4974 * gst/gstelementfactory.h:
4975 better GST_ELEMENT_DETAILS docs, add comment about translation
4980 * gst/gstobject.c: (gst_signal_object_get_type):
4981 add G_UNLIKELY as usual
4983 * gst/gstpad.c: (gst_pad_event_default):
4984 add fall trhu comment
4986 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4987 (gst_registry_binary_initialize_magic),
4988 (gst_registry_binary_save_string),
4989 (gst_registry_binary_save_pad_template),
4990 (gst_registry_binary_save_feature),
4991 (gst_registry_binary_save_plugin),
4992 (gst_registry_binary_write_cache),
4993 (gst_registry_binary_check_magic),
4994 (gst_registry_binary_load_pad_template),
4995 (gst_registry_binary_load_feature),
4996 (gst_registry_binary_load_plugin),
4997 (gst_registry_binary_read_cache):
4998 comment typo and formatting
5000 * gst/gstutils.c: (gst_element_state_get_name),
5001 (gst_element_state_change_return_get_name):
5002 remove obsolete breaks
5004 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
5005 add FIXME 0.11 and remove cpp comment
5007 2007-01-29 Edward Hervey <edward@fluendo.com>
5009 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5010 Fix print statement in an even more portable way.
5012 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
5014 * docs/gst/gstreamer-sections.txt:
5016 API: add GST_ROUND_DOWN_* macros (#401781).
5018 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
5020 * docs/gst/gstreamer.types.in:
5021 * gst/gstregistry.c: (gst_registry_class_init):
5022 Document registry signals and make gtk-doc pick them up (#401381).
5024 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
5026 * docs/pwg/building-testapp.xml:
5027 Add some audioconverts and audioresample to the pipeline, and some
5028 more comments and error handling.
5030 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
5032 * docs/manual/manual.xml:
5036 2007-01-26 Wim Taymans <wim@fluendo.com>
5038 * gst/gstcaps.c: (gst_static_caps_get):
5039 Init caps flags too.
5041 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
5043 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
5045 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5046 If not using mmap'ed files try to seek to the end instead of the
5047 start to determine whether we can seek at all. This fixes the case
5048 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
5049 seeks for everything afterwards fail. Fixes #400656
5051 2007-01-25 Wim Taymans <wim@fluendo.com>
5053 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
5054 Add some refcount debugging.
5055 Make gst_static_caps_get threadsafe, which is needed when autoplugging
5056 in multiple streaming threads.
5058 2007-01-25 Wim Taymans <wim@fluendo.com>
5060 Patch by: David Schleef <ds at schleef dot org>
5062 * docs/libs/gstreamer-libs-sections.txt:
5063 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
5064 * libs/gst/base/gstadapter.h:
5065 API: gst_adapter_copy() that can reduce the amount of memcpy when
5066 getting data from the adapter. Fixes #388201.
5068 2007-01-25 Edward Hervey <edward@fluendo.com>
5070 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5071 In print statements, "%x" is for guint. Fixes build on macosx.
5073 2007-01-24 Edward Hervey <edward@fluendo.com>
5075 * plugins/elements/gstmultiqueue.c:
5076 (gst_multi_queue_loop):
5078 (single_queue_overrun_cb), (single_queue_underrun_cb),
5079 (single_queue_check_full), (gst_single_queue_new):
5080 Implement single queue growth system.
5081 This uses the extra-size properties, and will grow single queues by
5082 that much if one goes full whereas there are others empty. This is
5083 called extra-mode in the code.
5084 When a single queue's levels go back below the initial max-size
5085 limits, it is no longer in extra-mode. This is to ensure we don't
5086 consume too much memory.
5089 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
5091 * gst/gst.c: (gst_init_get_option_group):
5092 Make warning about late g_thread_init() calls a bit more explicit,
5093 so that it's more obvious to application developers what they need
5094 to do if a user files a bug against their application.
5096 2007-01-22 Edward Hervey <edward@fluendo.com>
5098 * plugins/elements/gstmultiqueue.c:
5099 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
5100 Remove previous hack of unsetting the flushing flag for the source pad
5101 instead of activating it. Instead, fix the source pad activate function
5102 so that it no longer depends on having a parent set or not.
5104 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
5106 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
5108 * docs/manual/basics-bus.xml:
5109 Fix example code, gst_element_unref() doesn't exist any longer.
5111 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
5113 Patch by: Mark Nauwelaerts <manauw at skynet be>
5116 Fix two docs typoes (#399094).
5118 2007-01-19 Edward Hervey <edward@fluendo.com>
5120 * docs/faq/gst-uninstalled:
5121 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
5122 depending on libgstbaseutils can work in uninstalled environment.
5124 2007-01-18 Stefan Kost <ensonic@users.sf.net>
5127 * gst/gsttagsetter.c:
5128 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
5129 statement for new tag.
5131 2007-01-17 Edward Hervey <edward@fluendo.com>
5133 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
5134 When dynamically creating single queues, activate sinkpad before adding
5136 We should be doing the same thing for the source pad, but we can't
5137 since it would call a method which needs the parent to be set in order
5138 to work propertly. Instead of activating the source pad, we just unset
5139 the flushing flag, which is the minimal requirement for adding a pad
5140 to an element in a state greater than READY.
5142 2007-01-17 Edward Hervey <edward@fluendo.com>
5144 * docs/faq/gst-uninstalled:
5145 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
5148 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
5150 * tests/check/gst/gstabi.c:
5151 * tests/check/gst/struct_hppa.h:
5152 * tests/check/libs/libsabi.c:
5153 * tests/check/libs/struct_hppa.h:
5154 Add ABI structs for HPPA (see #393796).
5156 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
5158 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5159 Actually write ABI structs to the file specified in the GST_ABI
5160 environment variable, as the message we print claims we would.
5162 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5164 * tests/check/gst/gsttask.c:
5167 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5169 * gst/gsttaglist.c: (_gst_tag_initialize):
5170 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
5171 previous two entries.
5173 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5175 * docs/gst/gstreamer-sections.txt:
5176 * gst/gsttaglist.c: (_gst_tag_initialize):
5178 Add tag support for beat-per-minute.
5180 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5182 * gst/gstregistrybinary.c: (gst_registry_binary_write),
5183 (gst_registry_binary_initialize_magic),
5184 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
5185 (gst_registry_binary_save_pad_template),
5186 (gst_registry_binary_save_feature),
5187 (gst_registry_binary_save_plugin),
5188 (gst_registry_binary_write_cache),
5189 (gst_registry_binary_check_magic),
5190 (gst_registry_binary_load_pad_template),
5191 (gst_registry_binary_load_feature),
5192 (gst_registry_binary_load_plugin),
5193 (gst_registry_binary_read_cache):
5194 * gst/gstregistrybinary.h:
5195 Use glib types, cleanup comments, impement interfaces and uri-types.
5197 2007-01-13 Andy Wingo <wingo@pobox.com>
5199 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
5200 getrange() to return buffers with other caps, while we fix
5201 demuxers and typefind, or otherwise change part-negotiation.txt.
5203 2007-01-12 Andy Wingo <wingo@pobox.com>
5205 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
5206 Factor start/stop into this private function instead of partially
5207 in activate functions and partially in the change_state function.
5208 Fixes setup before the element has changed from READY->PAUSED, as
5209 is the case in pull-mode pipelines.
5210 (gst_base_transform_sink_activate_push)
5211 (gst_base_transform_src_activate_pull): Refactor to use
5212 gst_base_transform_activate().
5213 (gst_base_transform_change_state): Removed, not needed any more.
5215 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5216 Truncate before fixating.
5218 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5219 Don't set_caps() if the result of fixating is ANY, as it's not
5220 supported, and not necessary in the case of a link with no
5221 template caps on either side. Fixes tests/check/libs/basesrc in
5222 some pull-mode tests.
5224 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
5225 (gst_base_transform_init, gst_base_transform_sink_activate_push)
5226 (gst_base_transform_src_activate_pull):
5227 Track the activation mode.
5228 (gst_base_transform_setcaps): In pull mode, when activating the
5229 src pad, after activating the sink pad, activate the sink pad's
5230 peer, as discussed in part-negotiation.txt.
5232 * libs/gst/base/gstbasesrc.h:
5233 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
5234 vmethod, as in basesink.
5236 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
5238 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
5239 mode, first proxy the setcaps to the peer pad.
5240 (gst_base_sink_pad_fixate): Add a fixate function that calls the
5242 (gst_base_sink_default_activate_pull): Rename from
5243 gst_base_sink_activate_pull.
5244 (gst_base_sink_negotiate_pull): New function, performs negotiation
5245 in pull mode before calling ::activate_pull().
5246 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
5247 vmethod instead of the default implementation. I have no idea how
5248 this worked before. Negotiate before calling activate_pull.
5250 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
5251 sink pads in pull mode. In addition to being correct, fixes
5252 filesrc ! decodebin ! identity ! fakesink.
5253 (gst_pad_get_range, gst_pad_pull_range): Don't call
5254 gst_pad_set_caps() if the caps changes; instead error out with
5255 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
5257 2007-01-12 Andy Wingo <wingo@pobox.com>
5259 * docs/design/part-negotiation.txt: Update with more policy.
5261 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
5263 * libs/gst/check/gstbufferstraw.h:
5264 * libs/gst/check/gstcheck.h:
5265 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
5268 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
5270 * tests/check/Makefile.am:
5271 * tests/check/gst/.cvsignore:
5272 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
5273 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
5274 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
5275 (GST_START_TEST), (gst_tag_setter_suite):
5276 Add minimal unit test for beforementioned GstTagSetter bug.
5278 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
5280 Patch by: René Stadler <mail at renestadler dot de>
5282 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
5283 gst_tag_list_merge() returns a new list, so it's not the best idea
5284 to ingore its return value. Effectively meant that tags could only
5285 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
5286 Also add function guard to require a non-NULL taglist as input (has
5287 always been so due to gst_tag_list_copy(), just making it explicit).
5289 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
5291 * docs/random/draft-missing-plugins.txt:
5292 Some additions: mention new API that is supposed to be used at the
5293 various stages; short blob about new gst-inspect introspection
5294 option; mention potential future problem with plugins that have
5295 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
5297 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
5299 * tools/gst-inspect.c:
5300 (print_plugin_automatic_install_info_codecs),
5301 (print_plugin_automatic_install_info_protocols),
5302 (print_plugin_automatic_install_info), (main):
5303 Add --print-plugin-auto-install-info option to gst-inspect, so we can
5304 introspect plugin files and get machine-parsable output that corresponds
5305 to the last bit of the missing-plugin installer string (small gotcha:
5306 doesn't take into account ranks).
5308 2007-01-11 Stefan Kost <ensonic@users.sf.net>
5311 * docs/gst/gstreamer-sections.txt:
5313 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
5314 (gst_registry_lookup_locked):
5315 * gst/gstregistry.h:
5316 * gst/gstregistrybinary.c: (gst_registry_binary_write),
5317 (gst_registry_binary_initialize_magic),
5318 (gst_registry_binary_save_string),
5319 (gst_registry_binary_save_pad_template),
5320 (gst_registry_binary_save_feature),
5321 (gst_registry_binary_save_plugin),
5322 (gst_registry_binary_write_cache),
5323 (gst_registry_binary_check_magic),
5324 (gst_registry_binary_load_pad_template),
5325 (gst_registry_binary_load_feature),
5326 (gst_registry_binary_load_plugin),
5327 (gst_registry_binary_read_cache):
5328 * gst/gstregistrybinary.h:
5329 * gst/gstregistryxml.c: (load_feature),
5330 (gst_registry_xml_read_cache):
5331 commit binary registry (disabled by default, see #359653)
5333 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
5335 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
5336 Fix 'make check' too.
5338 2007-01-10 Andy Wingo <wingo@pobox.com>
5340 * docs/design/part-negotiation.txt: Fix a typo, add a couple
5343 * docs/design/part-negotiation.txt: Update with, um, one way that
5344 pull-mode negotiation might work?
5347 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
5348 that the pad must be a src pad; makes sense to call it the other
5349 way in pull mode, and the logic is symmetric anyway.
5351 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
5353 * plugins/elements/gstfilesink.c:
5354 Include <stdio.h> for fseeko().
5356 2007-01-10 Wim Taymans <wim@fluendo.com>
5360 Reserve LATENCY event.
5362 2007-01-09 Wim Taymans <wim@fluendo.com>
5364 * docs/design/draft-latency.txt:
5367 2007-01-09 Wim Taymans <wim@fluendo.com>
5369 * docs/design/draft-latency.txt:
5373 * gst/gststructure.c:
5377 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
5379 * tests/check/.cvsignore:
5380 Ignore test-registry.xml as well.
5382 2007-01-09 Wim Taymans <wim@fluendo.com>
5384 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5385 unref data at the end when we are done with the pad.
5387 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
5389 * docs/gst/gstreamer-sections.txt:
5390 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
5391 (init_post), (gst_deinit), (gst_update_registry):
5393 API: add gst_update_registry() (#391296).
5395 * tests/check/Makefile.am:
5396 * tests/check/gst/gstregistry.c:
5397 * tests/check/gst/.cvsignore:
5398 Simple unit test for the above.
5400 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
5402 * gst/gstregistry.c: (gst_registry_scan_path_level):
5403 Plugin extension on HP-UX is .sl, add that to the list of approved
5404 plugin extensions (see #393796).
5406 * tests/check/gst/gstpad.c: (GST_START_TEST):
5407 ulong => gulong. Fixes compilation with HP-UX compiler.
5409 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5410 Fix compilation if valgrind headers are not available.
5412 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
5414 * win32/common/libgstreamer.def:
5415 Add new exported function.
5416 * win32/vs6/libgstbase.dsp:
5417 Add gstdataqueue.c to the build.
5418 * win32/vs6/libgstcoreelements.dsp:
5419 Add gstmultiqueue.c to the build.
5421 2007-01-06 Andy Wingo <wingo@pobox.com>
5423 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
5424 activate_pull(), providing for a way to specialize the process of
5425 spawning a thread to pull on the sink pad. There is a default
5428 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
5429 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
5430 (gst_base_sink_init): Renamed pad activation functions (inserting
5431 "_pad" in their names). Refactor to use the new activate_pull
5432 vmethod, as appropriate.
5433 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
5434 default activate_pull function to start a task pulling from the
5435 sink pad, as before.
5437 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
5438 on the pads if necessary, as in push()/chain(). Update docs.
5439 Shouldn't affect existing pull() usage as it is currently only
5440 being used on buffers without caps.
5442 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5444 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5446 Call g_thread_init() first thing in gst_init() / gst_check_init().
5447 When initialisation is done via gst_init_get_option_group() and
5448 GOption parsing, issue a warning if the GLib thread system has not
5449 been initialised yet by the time gst_init_get_option_group() is
5450 called, as it's quite likely other GLib functions such as
5451 g_option_context_new() have been called already then, and
5452 g_thread_init() must be called before any other GLib function. The
5453 application in question must be fixed in that case, since memory
5454 corruption might happen otherwise.
5455 We issue the warning because even if the GLib folks decide to work
5456 around the problem on their end in future, this is still an issue
5457 with all GLib versions >= 2.10.0, so we should warn until we depend
5458 on a GLib version we know to be safe.
5459 Update documentation as well.
5462 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5464 * tools/gst-inspect.c: (main):
5465 * tools/gst-launch.c: (main):
5466 * tools/gst-typefind.c: (main):
5467 * tools/gst-xmlinspect.c: (main):
5468 Call g_thread_init() really really early, before any other GLib
5469 function (see #342564 and recent discussion on gtk-devel-list).
5471 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5473 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
5475 * gst/gst_private.h:
5476 * gst/gstconfig.h.in:
5478 On win32, all the __declspec stuff for symbol exporting is
5479 apparently only needed with MSVC, but doesn't work with MingW.
5480 Fixes compilation with MingW and #391909.
5482 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5484 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5485 Change some GST_ERROR_OBJECT that aren't really errors to
5486 GST_WARNING_OBJECT in order to reduce terminal spam.
5488 2007-01-04 Stefan Kost <ensonic@users.sf.net>
5490 * tests/check/Makefile.am:
5491 disable test again, as there seem to be still race problems
5493 2007-01-04 Stefan Kost <ensonic@users.sf.net>
5495 * tests/check/Makefile.am:
5496 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5497 (GST_START_TEST), (queue_suite):
5498 enable queue test again, add tests for the leaky behaviour
5500 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
5503 * tests/examples/Makefile.am:
5504 Compile adapter test/example only if the required headers are
5505 available (fixes #391915).
5507 2007-01-01 David Schleef <ds@schleef.org>
5510 Restore the previous signal handler for SIGSEGV instead of
5511 setting to default, since we may have stolen it away from
5512 someone. (i.e., Mono)
5514 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
5516 * docs/random/draft-missing-plugins.txt:
5517 Some small additions and clarifications.
5519 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
5521 * gst/gstregistryxml.c: (gst_registry_save_escaped):
5522 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
5523 since that can lead to random memory corruptions and crashes
5524 (may or may not be related to #383244, #386711, and #386711).
5526 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5528 * tests/check/.cvsignore:
5529 * tests/check/Makefile.am:
5530 sync .cvsignome and CLEANFILES
5532 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5534 * tests/check/Makefile.am:
5537 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5539 * docs/design/part-states.txt:
5540 two tiny additional comments
5542 * gst/gststructure.c:
5545 * tests/check/Makefile.am:
5546 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5548 disable test for now, unless it gets fixed
5550 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5552 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5554 fix race in underrun test
5556 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5558 * tests/check/elements/.cvsignore:
5561 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5563 try to narrow test failure
5565 2006-12-21 David Schleef <ds@schleef.org>
5567 * plugins/elements/gstfakesrc.c:
5568 Use g_random_int_range(), since it produces better random
5569 numbers in a range than almost-correct floating point code.
5571 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5573 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5574 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5575 (gst_check_teardown_sink_pad):
5576 do not automatically (de)activate pads
5578 * tests/check/Makefile.am:
5579 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5580 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5581 add new, yet simple tests for queue
5583 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5584 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5585 * tests/check/elements/filesrc.c: (cleanup_filesrc),
5587 * tests/check/elements/identity.c: (cleanup_identity):
5588 consistent pad (de)activation
5590 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
5592 Patch by: Sebastian Dröge <slomo ubuntu com>
5594 * libs/gst/base/gstcollectpads.c:
5595 Fix two doc typos (#387866).
5597 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
5599 * docs/manual/advanced-dparams.xml:
5600 Fix typo (g_object_control_properties() doesn't exist).
5602 2006-12-19 Edward Hervey <edward@fluendo.com>
5604 * gst/gstsegment.c: (gst_segment_set_seek):
5605 Fine tune the cases where the segment start/stop values are really
5607 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5608 Add tests for the return values of gst_segment_set_seek().
5610 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
5615 * plugins/elements/gstqueue.c: (gst_queue_class_init),
5617 Fix incorrect documentation and flesh it out a bit more.
5618 Set default values for the max properties on the GParamSpec as well,
5619 so it shows up correctly in gst-inspect.
5621 2006-12-18 Stefan Kost <ensonic@users.sf.net>
5623 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5624 Correct docs of queue, add more detail and crosslink it more.
5626 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
5628 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5629 Print additional debug info when the stream isn't perfectly
5630 timestamped; don't try to use invalid durations.
5632 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
5634 * docs/design/Makefile.am:
5635 Dist new design docs.
5637 2006-12-16 Wim Taymans <wim@fluendo.com>
5639 Patch by: Sjoerd Simons <sjoerd at luon dot net>
5641 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5642 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5643 (gst_collect_pads_stop), (gst_collect_pads_event),
5644 (gst_collect_pads_chain):
5645 * libs/gst/base/gstcollectpads.h:
5646 Add refcounting to the collectpads data so we can track when it's safe
5647 to free the data. Fixes #383382.
5649 2006-12-15 Wim Taymans <wim@fluendo.com>
5651 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5652 (gst_collect_pads_remove_pad):
5653 Automatically activate/deactivate pads when they are added to a
5654 started/stoped collectpads.
5656 2006-12-15 Wim Taymans <wim@fluendo.com>
5658 * gst/gstelement.c: (gst_element_add_pad):
5659 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5660 * gst/gstpad.c: (gst_pad_init):
5661 Set pads to FLUSHING when they are created. Check, warn and fix when a
5662 demuxer adds an inactive pad to itself when running. Fixes #339326.
5664 2006-12-15 Wim Taymans <wim@fluendo.com>
5666 * gst/gstelement.c: (gst_element_class_init),
5667 (gst_element_default_send_event), (gst_element_send_event),
5668 (gst_element_default_query), (gst_element_query):
5669 Expose default element send_event and query handling as vmethods that
5670 subclasses can chain up to.
5672 2006-12-15 Wim Taymans <wim@fluendo.com>
5674 * gst/gstelement.c: (gst_element_set_state_func):
5675 Small documentation fixes.
5677 2006-12-15 Wim Taymans <wim@fluendo.com>
5679 * docs/design/draft-latency.txt:
5680 Checked in draft for handling latency in pipelines.
5682 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
5686 * gstreamer.spec.in:
5689 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
5691 * gst/gst.c: (init_pre), (init_post):
5692 init_pre() and init_post() might be called via our GOptionGroup or
5693 from gst_init(), and we should skip both of them if we've already
5694 been initialised, otherwise we will init some things twice or add
5695 two default log functions.
5697 2006-12-13 Edward Hervey <edward@fluendo.com>
5699 * docs/manual/basics-bus.xml:
5700 No, gst_main_loop does not exist. Its g_main_loop.
5701 Discovered by somebody who abused the copy-paste technique of coding :)
5703 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
5705 * gst/gstghostpad.c:
5706 Log ghostpad debug stuff to the GST_PADS category as well rather
5707 than just to the default category.
5709 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
5712 * gst/gst.c: (init_pre):
5713 Add some basic system details such as OS and architecture
5714 to the debug output if possible, courtesy of uname().
5716 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
5718 * docs/gst/running.xml:
5719 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5720 environment variables.
5722 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
5724 * tests/check/gst/gstbin.c: (GST_START_TEST):
5725 It is acceptable to have a refcount of 2 or 3 at this point in the
5726 test, because the pipeline might be just posting its state_change
5727 message. The next line then waits for that message to appear using
5728 bus_poll, so that should be fine too.
5730 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
5732 * gst/gst.c: (ensure_current_registry_forking):
5733 Ignore EINTR when reading from the child registry pipe.
5734 Explicitly ignore the return value from close, since it makes no
5737 * gst/gstminiobject.c: (gst_mini_object_ref),
5738 (gst_mini_object_unref):
5739 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5741 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5742 When removing cached plugins, remove their features too, so they're
5743 not visible after they've disappeared.
5745 * gst/gstutils.c: (prepare_link_maybe_ghosting):
5746 In the unlikely case that we are linking pads with no parents, don't
5747 crash trying to get the non-existent parent bin.
5749 * gst/parse/grammar.y:
5750 Output debug in the PIPELINE category
5752 2005-03-08 Wim Taymans <wim@fluendo.com>
5754 Patch by: René Stadler <mail at renestadler dot de>
5756 * gst/gstclock.c: (gst_clock_new_periodic_id):
5757 Reject invalid clock times for interval of periodic ids.
5760 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
5762 * gst/gstelementfactory.c: (gst_element_factory_create):
5763 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5764 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5765 * tools/gst-inspect.c: (print_element_info):
5766 Fix refcounting of gst_plugin_feature_load to match the docs.
5769 2006-12-07 Wim Taymans <wim@fluendo.com>
5771 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5772 (gst_base_sink_get_position):
5773 Improve debugging of events.
5775 2006-12-07 Wim Taymans <wim@fluendo.com>
5777 Patch by: René Stadler <mail at renestadler dot de>
5779 * gst/gstclock.c: (gst_clock_id_wait):
5780 Make period ids add the interval to the origial requested time instead
5781 of the possibly updated time which can be wrong when there are multiple
5782 waiters for the same id. Fixes #382592.
5784 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5785 (gst_system_clock_id_wait_jitter_unlocked),
5786 (gst_system_clock_id_wait_jitter):
5787 Fix restart in the async notify thread when an async entry is added to
5788 the front of the list. Fixes #381492.
5790 * tests/check/gst/gstsystemclock.c: (store_callback),
5791 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5792 Added test for multiple async waits.
5793 Added test for async wait order.
5795 2006-12-07 Wim Taymans <wim@fluendo.com>
5797 * gst/gstbin.c: (gst_bin_query):
5798 Add some more docs about the POSITION query.
5800 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
5803 Bump version nano - back to CVS.
5805 === release 0.10.11 ===
5807 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
5810 releasing 0.10.11, "Love never runs on time"
5812 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
5814 * win32/common/libgstbase.def:
5815 * win32/common/libgstreamer.def:
5816 * win32/vs8/libgstbase.vcproj:
5817 * win32/vs8/libgstcoreelements.vcproj:
5818 * win32/vs8/libgstreamer.vcproj:
5819 Fix compilation on win32 under VS8
5820 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5821 Partially fixes #381175
5823 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
5825 * gst/gstvalue.c: (gst_value_compare_fraction):
5826 If someone is foolish enough to compare 2 fractions with denominator =
5827 0, return UNORDERED rather than aborting.
5829 2006-11-28 Edward Hervey <edward@fluendo.com>
5831 * libs/gst/base/Makefile.am:
5832 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
5833 (gst_data_queue_base_init), (gst_data_queue_class_init),
5834 (gst_data_queue_init), (gst_data_queue_new),
5835 (gst_data_queue_cleanup), (gst_data_queue_finalize),
5836 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
5837 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
5838 (gst_data_queue_is_empty), (gst_data_queue_is_full),
5839 (gst_data_queue_set_flushing), (gst_data_queue_push),
5840 (gst_data_queue_pop), (gst_data_queue_drop_head),
5841 (gst_data_queue_set_property), (gst_data_queue_get_property):
5842 * libs/gst/base/gstdataqueue.h:
5843 New GstDataQueue object for threadsafe queueing. Most useful for
5844 elements that need some queueing functionnality.
5845 * docs/libs/gstreamer-libs-docs.sgml:
5846 * docs/libs/gstreamer-libs-sections.txt:
5847 Insert documentation for GstDataQueue
5848 * plugins/elements/Makefile.am:
5849 * plugins/elements/gstelements.c:
5850 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5851 (gst_multi_queue_class_init), (gst_multi_queue_init),
5852 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5853 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
5854 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
5855 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5856 (gst_multi_queue_loop), (gst_multi_queue_chain),
5857 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5858 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
5859 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
5860 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
5861 (wake_up_next_non_linked), (compute_next_non_linked),
5862 (single_queue_overrun_cb), (single_queue_underrun_cb),
5863 (single_queue_check_full), (gst_single_queue_new):
5864 * plugins/elements/gstmultiqueue.h:
5865 New multiqueue element, using GstDataQueue. Used for queuing multiple
5867 Closes #344639 and #347785
5869 2006-11-22 Stefan Kost <ensonic@users.sf.net>
5871 * docs/pwg/advanced-types.xml:
5872 add more missing type details
5874 * tools/gst-run.c: (main):
5875 remove unused variable
5877 2006-11-21 Stefan Kost <ensonic@users.sf.net>
5879 * docs/libs/Makefile.am:
5880 * docs/libs/gstreamer-libs.types:
5881 add types of base classes to enable gobject specific stuff in the docs
5883 * docs/random/ensonic/embedded.txt:
5884 more ideas about isolating platform specific things
5886 2006-11-20 Wim Taymans <wim@fluendo.com>
5888 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5890 * libs/gst/check/gstcheck.h:
5891 Fix compilation and running against 0.9.4. Fixes #377332.
5893 2006-11-20 Wim Taymans <wim@fluendo.com>
5895 * gst/gstsegment.c: (gst_segment_set_seek),
5896 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5897 (gst_segment_to_running_time):
5898 Fix boundary checking in to_running_time() and to_stream_time().
5901 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5902 stream and running time can now be calculated for the complete
5905 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
5907 * gst/gstpad.c: (gst_pad_push_event):
5908 Can't access event structure after giving away ownership of
5911 2006-11-15 Stefan Kost <ensonic@users.sf.net>
5913 * docs/random/ensonic/embedded.txt:
5914 * docs/random/ensonic/profiling.txt:
5915 * docs/random/ensonic/receipies.txt:
5918 2006-11-13 Wim Taymans <wim@fluendo.com>
5920 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5923 Fix documentation for gst_pad_dispatcher. Fixes #374475.
5925 2006-11-13 Wim Taymans <wim@fluendo.com>
5927 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5929 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5930 Store new length in segment duration so we don't keep on calling the
5931 potentially expensize get_size() call. Fixes #370865.
5933 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
5935 Patch by: Sergey Scobich <sergey.scobich at gmail com>
5937 * win32/common/libgstreamer.def:
5938 Add two missing symbols (#366492).
5940 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
5942 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5943 (gst_adapter_take_buffer):
5944 Fix format string to use all its arguments.
5945 Remove useless >= check on a guint
5947 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5949 * tests/examples/adapter/.cvsignore:
5950 Ignore build file as commanded by the build-bot
5952 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5954 * tests/examples/adapter/Makefile.am:
5955 * tests/examples/adapter/adapter_test.c: (run_test_take),
5956 (run_test_take_buffer), (run_tests), (main):
5958 Add new files from the previous commit
5960 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5964 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5965 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5966 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5967 * libs/gst/base/gstadapter.h:
5968 * tests/check/libs/adapter.c: (create_and_fill_adapter),
5969 (GST_START_TEST), (gst_adapter_suite):
5970 * tests/examples/Makefile.am:
5971 Do some optimisation work in GstAdapter to avoid copies in more cases.
5972 It could still do slightly better by merging buffers when
5973 gst_buffer_is_span_fast is true, but is already faster.
5975 Also, avoid traversing a single-linked list to append each incoming
5976 buffer inside the adapter.
5978 Add simple test app that times the adapter behaviour in different
5979 situations, and extend the unit test to check that bytes enter and
5980 exit the adapter in their original order.
5982 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
5984 * docs/random/draft-missing-plugins.txt:
5985 Update: use element message instead of adding a new message
5986 type to the core; don't provide GStreamer API to initiate the
5987 plugin download, just provide API to compose the strings needed
5988 and let an external libgimmestuff handle the rest.
5990 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
5992 * tools/gst-inspect.c: (print_element_properties_info):
5993 Print a string instead of 'unknown type' for GValueArray properties
5995 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
5997 * docs/random/draft-missing-plugins.txt:
6000 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
6002 * tests/examples/typefind/typefind.c: (type_found), (main):
6003 Make typefind element example work again (#371894); add a
6006 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
6008 * docs/random/draft-missing-plugins.txt:
6009 Commit initial draft about how to deal with missing plugins,
6010 needs work (API too).
6012 2006-11-07 Stefan Kost <ensonic@users.sf.net>
6014 * docs/pwg/advanced-types.xml:
6015 documents the new caps elements (see #363118)
6017 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
6019 * gst/gstplugin.c: (gst_plugin_load_file):
6020 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
6021 (gst_file_src_map_region), (gst_file_src_start):
6022 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
6023 (gst_file_index_commit):
6024 Use g_strerror() instead of strerror() - we want UTF-8.
6026 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
6028 Patch by: Peter Kjellerstedt <pkj at axis com>
6030 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6031 Another printf fix (#371493).
6033 2006-11-06 Stefan Kost <ensonic@users.sf.net>
6035 * tests/check/gst/gsttag.c:
6036 relicence (okay with author=company)
6038 2006-11-06 Stefan Kost <ensonic@users.sf.net>
6040 * gst/gstpad.c: (gst_pad_event_default_dispatch),
6041 (gst_pad_push_event):
6042 Enhance debug and improve docs
6047 2006-11-06 Stefan Kost <ensonic@users.sf.net>
6049 * docs/random/ensonic/distributed.txt:
6050 * docs/random/ensonic/profiling.txt:
6053 2006-11-06 Stefan Kost <ensonic@users.sf.net>
6055 * docs/gst/gstreamer-sections.txt:
6056 add new API and fix the build
6058 * gst/gstbin.c: (gst_bin_recalc_state):
6059 * gst/gstelement.c: (gst_element_message_full),
6060 (gst_element_get_state_func), (gst_element_set_state_func):
6061 use new API and improve logging
6063 * gst/gstutils.c: (gst_element_state_change_return_get_name):
6065 API: add function to get StateChangereturn names to improve logs
6067 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
6069 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6070 I'm considering shooting the next person to put strerror stuff
6071 in the translateable part of the message.
6073 2006-11-03 Wim Taymans <wim@fluendo.com>
6075 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6076 Get the type and printf conversion specifiers right.
6078 2006-11-03 Wim Taymans <wim@fluendo.com>
6080 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6082 * gst/gstpad.c: (gst_pad_init), (pre_activate),
6083 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
6084 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
6085 Some small cleanups. Improve debugging.
6087 Signal all waiting threads with a broadcast instead of just one.
6090 2006-11-03 Wim Taymans <wim@fluendo.com>
6092 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
6093 (gst_fd_src_create):
6095 Only update fd when it's different from the old.
6097 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
6099 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
6100 Printf fixes for PPC/OSX, take two (#369366).
6102 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
6104 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
6106 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6107 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6108 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
6109 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
6110 don't cast to long long for portability reasons, but use
6111 GLib's types instead.
6113 2006-10-30 Michael Smith <msmith@fluendo.com>
6115 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6116 Get the arguments to lseek() the right way around.
6119 2006-10-30 Wim Taymans <wim@fluendo.com>
6121 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
6124 _declspec should be __declspec (two underscores, not one). Fixes 366572.
6126 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
6128 Patch by: Kjartan Maraas <kmaraas at gnome org>
6130 * docs/design/part-MT-refcounting.txt:
6131 * docs/random/wtay/capsnego2-docs:
6134 Typo fixes (#366212).
6136 2006-10-28 Wim Taymans <wim@fluendo.com>
6138 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6141 * win32/common/libgstbase.def:
6142 * win32/common/libgstreamer.def:
6143 * win32/vs8/libgstbase.vcproj:
6144 * win32/vs8/libgstcontroller.vcproj:
6145 Add needed entries in .def files.
6147 Rearrange def files in vs8 solutions. Fixes #366286.
6149 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
6151 * win32/common/gstconfig.h:
6152 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
6153 hand-made win32 gstconfig.h. Fixes #366321.
6155 2006-10-27 Wim Taymans <wim@fluendo.com>
6157 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
6158 (gst_ghost_pad_new_full):
6159 Make acceptcaps return TRUE when we don't have a target, just like
6162 2006-10-27 Wim Taymans <wim@fluendo.com>
6164 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6165 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
6167 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
6169 * gst/gststructure.c: (gst_structure_id_set_value):
6170 If someone tries to set a non-UTF8 string field on a structure,
6171 don't just print a warning, but also ignore the request and do
6172 not change/add that field to the structure.
6174 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6177 2006-10-25 David Schleef <ds@schleef.org>
6180 g_hash_table_insert() needs a cast to a non-const pointer duh.
6182 2006-10-25 David Schleef <ds@schleef.org>
6186 Change name parameter of _gst_debug_register_funcptr to const
6187 to reflect the constness of its use in the function as well
6188 as to quiet a gcc warning.
6190 2006-10-25 Edward Hervey <edward@fluendo.com>
6192 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6193 Don't push the buffer if it's empty.
6196 2006-10-24 Wim Taymans <wim@fluendo.com>
6201 * libs/gst/base/gstbasetransform.c:
6202 (gst_base_transform_sink_eventfunc):
6203 Debug segment values *after* updating them as this is more
6206 2006-10-23 Wim Taymans <wim@fluendo.com>
6208 * docs/design/part-events.txt:
6211 * docs/design/part-block.txt:
6212 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6213 (gst_pad_push_event):
6214 Revert BLOCKING patch, it tries to be smart without really having a
6215 clear idea what or how. So, now we discard all FLUSHING events again on
6216 a blocking pad. Should fix gnonlin again.
6218 2006-10-23 Wim Taymans <wim@fluendo.com>
6220 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6222 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6223 (gst_base_src_start), (gst_base_src_activate_push):
6224 Make sure size is always initialized. Fixes #364388.
6226 2006-10-20 Stefan Kost <ensonic@users.sf.net>
6228 * docs/random/ensonic/distributed.txt:
6229 add some ideas about doing distributed processing
6231 * docs/random/ensonic/profiling.txt:
6232 get_rusage look promising
6234 2006-10-18 Stefan Kost <ensonic@users.sf.net>
6236 * docs/manual/basics-helloworld.xml:
6237 Add a cast in example to fix compile warning
6239 2006-10-18 Wim Taymans <wim@fluendo.com>
6241 * gst/gstsegment.c: (gst_segment_set_last_stop),
6242 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6243 Relax arg checking again, -1 is allowed.
6245 2006-10-18 Wim Taymans <wim@fluendo.com>
6247 * gst/gstsegment.c: (gst_segment_set_last_stop),
6248 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6249 _set_last_stop() must be with a value != -1
6250 A _TYPE_SET to -1 means seek to 0.
6251 Calc last_stop correctly for negative rates.
6252 Make sure we work with positive durations when updating a segment.
6254 2006-10-18 Wim Taymans <wim@fluendo.com>
6256 * docs/design/part-live-source.txt:
6260 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
6263 Add an explicit cast to GstBuffer** to keep old code that added an
6264 explicit cast to GstMiniObject** for gst_mini_object_replace()
6265 compiling without warning.
6267 2006-10-18 Stefan Kost <ensonic@users.sf.net>
6269 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
6270 check for validity of dates
6272 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
6274 * docs/gst/gstreamer-sections.txt:
6275 Forgot this one, makes gtk-doc shut up.
6277 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
6279 Patch by: Peter Kjellerstedt <pkj at axis com>
6282 Don't define xmlNodePtr to gpointer if the core was built with
6283 --disable-loadsave and --disable-registry, this will break
6284 applications that want to use libxml2 but are buildling against a
6285 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
6286 instead so we don't have to mess with the libxml2 namespace
6289 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
6292 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
6293 type-punned pointer warnings.
6295 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
6298 Add casts to the correct return type to state <=> state transition
6301 2006-10-16 Stefan Kost <ensonic@users.sf.net>
6303 * docs/design/part-live-source.txt:
6304 describe howto handle latency
6306 * docs/random/ensonic/profiling.txt:
6309 * tools/gst-plot-timeline.py:
6310 fix log parsing for solaris, remove unused function
6312 2006-10-16 Wim Taymans <wim@fluendo.com>
6314 * docs/design/part-trickmodes.txt:
6316 Update some docs regarding reverse playback.
6318 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
6320 Patch by: Marcus Granado <mrc dot gran at gmail com>
6322 * win32/vs8/grammar.vcproj:
6323 Error out with a warning if glib-genmarshal.exe is not in path,
6324 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
6326 2006-10-13 Wim Taymans <wim@fluendo.com>
6328 * gst/gstsegment.c: (gst_segment_set_seek):
6329 When seeking to stop -1, set last_stop (current position) to the
6330 duration of the segment.
6332 2006-10-13 Wim Taymans <wim@fluendo.com>
6335 Clarify _NO_PREROLL a bit more.
6340 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
6341 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
6342 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
6343 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
6344 due to wrong locking order. Fixes #361769.
6345 Remove some redundant/misplaced checks in pad_block.
6347 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6348 For negative rates, count backwards from the duration.
6350 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
6352 * gst/gsterror.c: (_gst_library_errors_init):
6353 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
6354 up with something better).
6356 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
6358 * win32/vs6/libgstreamer.dsp:
6359 * win32/vs7/libgstreamer.vcproj:
6360 * win32/vs8/libgstreamer.vcproj:
6361 Don't reference glib-compat.c which is currently not used and not
6362 disted; add gstquark.c which was recently added. Fixes #361730.
6364 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
6366 * win32/common/libgstbase.def:
6367 * win32/common/libgstcontroller.def:
6368 * win32/common/libgstreamer.def:
6369 Add gst_caps_merge() and a bunch of other recently-added functions.
6372 2006-10-11 Wim Taymans <wim@fluendo.com>
6374 * docs/plugins/gstreamer-plugins.args:
6375 * docs/plugins/inspect/plugin-coreelements.xml:
6376 * docs/plugins/inspect/plugin-coreindexers.xml:
6377 Update element args.
6379 * gst/gstsystemclock.c:
6380 Small comment update.
6382 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6383 (gst_tee_request_new_pad), (gst_tee_release_pad),
6384 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
6385 (gst_tee_sink_activate_pull):
6386 * plugins/elements/gsttee.h:
6388 Add default property defines.
6389 Implement release pad function.
6390 Give properties better blubs etc.
6391 Activate pads before adding them to a running tee.
6392 Do simple buffer_alloc on the first requested pad.
6393 Post error when activation fails.
6395 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
6397 * gst/gst.c: (ensure_current_registry_forking):
6398 Check return value of write() to make compiler happy.
6400 2006-10-11 Wim Taymans <wim@fluendo.com>
6402 Patch by: Sjoerd Simons <sjoerd at luon dot net>
6404 * plugins/elements/gstqueue.c: (gst_queue_chain):
6405 Recheck queue filledness after signalling the overrun when we're about
6406 to leak downstream because we released the lock when emitting the signal
6407 and the queue could be empty again. Fixes #352345.
6409 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
6411 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
6412 Fix refcounting here too, just like we did for _new_valist() a few
6413 days ago (#357180) (thanks to René Stadler). Also remove all those
6414 'Since: 0.9' from the gtk-doc blobs.
6416 * tests/check/libs/controller.c: (controller_refcount_new_list),
6417 (gst_controller_suite):
6418 Unit test for the above.
6420 2006-10-10 Wim Taymans <wim@fluendo.com>
6422 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
6424 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6425 (gst_pad_save_thyself):
6427 Write pad direction in XML output. Fixes #345496.
6429 2006-10-10 Wim Taymans <wim@fluendo.com>
6431 Patch by: René Stadler <mail at renestadler dot de>
6433 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6434 (gst_controller_new_list), (_gst_controller_dispose),
6435 (_gst_controller_finalize), (_gst_controller_class_init):
6436 Take ref to controlled object so that it cannot disappear.
6439 2006-10-10 Wim Taymans <wim@fluendo.com>
6441 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6442 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6443 (gst_check_teardown_sink_pad):
6444 Activate/deactivate pads in setup/teardown respectively.
6446 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6448 Patch by: Josep Torre Valles <josep@fluendo.com>
6451 Cast values when making gstenumtypes.h. This pacifies Forte
6452 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6455 2006-10-09 Wim Taymans <wim@fluendo.com>
6457 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6458 Rename some more @cur to @start to fix docs.
6460 * gst/gstsegment.c: (gst_segment_set_seek):
6462 time and start must always stay in sync as defined in design doc.
6464 * gst/gsttaglist.c: (gst_tag_list_is_empty):
6465 Rename param to fix docs.
6467 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6468 Check that start and time are in sync.
6470 * tests/check/pipelines/parse-launch.c:
6471 (gst_parse_test_element_change_state):
6472 Activate pad before adding to the element.
6474 2006-10-09 Wim Taymans <wim@fluendo.com>
6476 * docs/design/part-qos.txt:
6481 Update seek event docs regarding negative rates.
6482 Rename @cur to @start.
6484 * gst/gstsegment.c: (gst_segment_set_seek):
6486 Update set_seek docs regarding negative rates.
6487 Correctly update last_stop to @stop when dealing with negative
6489 Rename @cur to @start.
6491 * tests/check/gst/gstpad.c: (GST_START_TEST):
6492 Activate pads before trying to use them.
6494 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6495 (gst_segment_suite):
6496 Add simple check for segments and negative rates.
6498 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
6500 * gst/gsttaglist.c: (gst_tag_list_is_empty):
6502 * docs/gst/gstreamer-sections.txt:
6503 API: add gst_tag_list_is_empty() (#360467).
6505 * tests/check/gst/gsttag.c: (GST_START_TEST):
6508 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6511 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
6512 a value that doesn't fit on enumeration.
6514 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6516 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6517 Remove local debugging system and use Gstreamer's instead.
6519 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6521 Patch by: Josep Torre Valles <josep@fluendo.com>
6523 * common/m4/gst-error.m4:
6524 Disable warning of statement not reached on Forte.
6526 Fix warning on Forte (value doesn't fit on enumeration).
6527 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
6528 Fix warning on Forte (value doesn't fit on enumeration).
6529 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6530 DEBUG macro says it takes minimum of 2 args and so Forte
6531 complains about the use with just 1 arg.
6532 * plugins/elements/gstfdsink.c:
6533 * plugins/elements/gstfdsrc.c:
6534 * plugins/elements/gstfilesink.c:
6535 * plugins/elements/gstfilesrc.c:
6536 Use correct return type for the uri handler implementations.
6538 All these fix warnings in Forte. Fixes bug #360860.
6540 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
6543 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
6544 format string, so don't use G_GNUC_PRINTF for those versions.
6546 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
6548 * gst/gsttaglist.c: (gst_is_tag_list):
6550 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6552 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6553 Small test for the above.
6555 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
6558 Less tabs, more spaces.
6560 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
6563 Those two function declarations do actually belong there, revert
6564 commit from yesterday that turned them intro macros.
6566 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6568 Patch by: Josep Torre Valles <josep@fluendo.com>
6570 * gst/gst.c: (gst_init_get_option_group):
6571 Fix empty declaration and type mismatch.
6572 * gst/gstbin.c: (gst_bin_change_state_func):
6574 * gst/gstelement.c: (gst_element_continue_state),
6575 (gst_element_set_state_func), (gst_element_change_state),
6576 (gst_element_change_state_func):
6577 Fix type mismatches.
6578 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6579 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6580 Cast as appropriate.
6581 * gst/gstobject.c: (gst_class_signal_connect):
6582 Cast as appropriate. The function pointer parameter really
6583 has the wrong type but would break API if we change it.
6585 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6586 order of including string.h.
6587 * gst/gstutils.c: (gst_element_state_get_name):
6588 Remove unreachable line.
6589 * gst/gstxml.c: (gst_xml_parse_doc):
6591 All these caught by Forte.
6593 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6595 Patch by: Josep Torre Valles <josep@fluendo.com>
6597 * common/m4/gst-error.m4:
6599 We need to disable warnings on Forte for empty declarations
6600 due to gst-indent adding ;s to lines that just use macros
6601 where the macro actually doesn't need a ; at end to end
6604 2006-10-06 Wim Taymans <wim@fluendo.com>
6606 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6607 (gst_file_sink_close_file), (gst_file_sink_event),
6608 (gst_file_sink_render):
6609 Add some FIXME for the NEWSEGMENT handling.
6611 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6613 * gst/parse/grammar.y:
6614 Remove static function gst_parse_element_lock as all it does
6615 is return. Looks like cruft from 0.8.
6617 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6619 Patch by: Josep Torre Valles <josep@fluendo.com>
6621 * common/m4/gst-error.m4:
6623 * libs/gst/net/Makefile.am:
6624 Fix a compilation issue with Forte on Solaris. inet_aton is in
6627 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
6629 * gst/gstpad.c: (pre_activate):
6630 * gst/gstregistry.c: (gst_registry_scan_path_level):
6631 * gst/gstregistryxml.c: (load_plugin):
6632 * libs/gst/controller/gstcontroller.c:
6633 (gst_controlled_property_set_interpolation_mode):
6634 * libs/gst/dataprotocol/dataprotocol.c:
6635 (gst_dp_packet_from_event_1_0):
6636 * libs/gst/net/gstnetclientclock.c:
6637 (gst_net_client_clock_observe_times):
6638 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6641 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
6644 * docs/gst/gstreamer-sections.txt:
6645 * gst/gstconfig.h.in:
6648 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6649 whether we can use G_GNUC_PRINTF in other header files and at
6650 least check the printf format/arguments of debug messages and
6651 GST_ELEMENT_ERROR messages when the printf extension is not
6653 Replace more tabs with spaces in gstinfo.h and remove two spurious
6654 function declarations in GST_DISABLE_DEBUG part with macros.
6656 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
6658 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6659 More docs for the sync-message signal (mention that it is not
6660 emitted by default); log message structures of messages posted on
6663 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
6665 * gst/gst.c: (ensure_current_registry_forking):
6666 Use a pipe pair to receive status results from the forked child, and
6667 ignore the result from waitpid. Fixes #355499
6669 2006-10-02 Wim Taymans <wim@fluendo.com>
6671 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6672 (gst_ghost_pad_suite):
6675 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
6678 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6680 2006-10-02 Edward Hervey <edward@fluendo.com>
6682 * docs/design/part-block.txt:
6683 Further explain the use of flushing on blocked pads.
6684 * docs/gst/gstreamer-sections.txt:
6685 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6686 (gst_pad_push_event):
6688 Added new GstPadFlag : GST_PAD_BLOCKING.
6689 Adds the notion of pads really blocking, which enables to properly
6690 handle FLUSH_START/FLUSH_STOP events on blocked pads.
6692 API: gst_pad_is_blocking()
6693 API: GST_PAD_IS_BLOCKING() macro
6694 API: GST_PAD_BLOCKING GstPadFlag
6696 2006-10-02 Wim Taymans <wim@fluendo.com>
6698 Patch by: mrcgran <mrc.gran at gmail dot com>
6700 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6701 Filter the proxied caps against the padtemplate if we have one.
6703 * gst/gstquery.c: (gst_query_new_segment):
6704 Add include for gstinfo.h so that compilation with
6705 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6707 2006-10-02 Wim Taymans <wim@fluendo.com>
6709 Patch by: Alessandro Decina <alessandro at nnva org>
6711 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6712 (gst_file_sink_set_location), (gst_file_sink_open_file),
6713 (gst_file_sink_close_file), (gst_file_sink_event),
6714 (gst_file_sink_render):
6715 Set file to NULL when closing filesink so that we can set a new filename
6716 in READY. Fixes #358613.
6718 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
6720 Patch by: Alessandro Decina <alessandro at nnva org>
6722 * gst/gstevent.c: (_gst_event_copy):
6723 Fix gst_mini_object_make_writable() and gst_event_copy() for events
6724 with event structures by setting the parent refcount address of the
6725 copied structure to the address of the refcount member of the newly
6726 copied event rather than the address of the refcount member of the
6727 original event. Fixes #358737.
6729 * tests/check/gst/gstevent.c: (GST_START_TEST):
6730 Unit test for the above.
6732 2006-09-29 Stefan Kost <ensonic@users.sf.net>
6734 * docs/design/Makefile.am:
6735 Dist some more files.
6737 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
6739 * tests/check/libs/controller.c: (GST_START_TEST),
6740 (gst_controller_suite):
6741 Add test for the previous fix; add some more tests
6742 for correct refcounting behaviour; fix a few leaks
6743 in test cases; call gst_controller_init() at start
6746 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
6748 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6749 (gst_controller_set_from_list):
6750 Don't g_return_val_if_fail() on timed values with invalid timestamps
6751 inside a critical section without unlocking the mutex. Spotted by
6752 René Stadler. (#357617)
6753 Also, fix up refcounting properly: when returning an existing
6754 controller, we should increase the reference only once and not
6755 once per property and when trying to control a property again
6756 we should also increase the refcount.
6758 2006-09-29 Wim Taymans <wim@fluendo.com>
6760 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6761 * libs/gst/net/gstnettimeprovider.c:
6762 (gst_net_time_provider_thread):
6763 Stop reading commands when EOF as well.
6765 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6766 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6767 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6768 Unify description of the dump property.
6770 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6772 * tests/examples/manual/.cvsignore:
6773 OK, so it's actually cvsignore that needs changing. Stop laughing.
6775 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6777 * tests/examples/manual/Makefile.am:
6778 Gah, declare vars *before* using them
6780 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6782 * gst/gst.c: (init_pre), (scan_and_update_registry),
6783 (ensure_current_registry_nonforking),
6784 (ensure_current_registry_forking), (ensure_current_registry),
6785 (init_post), (gst_debug_help), (gst_deinit):
6786 * gst/gst_private.h:
6787 * gst/gstregistry.c: (gst_registry_finalize),
6788 (gst_registry_remove_features_for_plugin_unlocked),
6789 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6790 (gst_registry_scan_path),
6791 (_priv_gst_registry_remove_cache_plugins),
6792 (_priv_gst_registry_cleanup):
6793 * gst/gstregistry.h:
6794 Re-commit the registry changes, along with an extra fix:
6795 When a cached plugin is encountered at a different file path,
6796 update the stored path in the registry cache so that the parent
6797 process knows where it actually is now when it re-reads the registry
6798 cache. Fixes the thing that broke distcheck with the previous commit.
6800 * tests/check/Makefile.am:
6801 Clean up files named 'core' too when running make clean.
6803 * tests/examples/manual/Makefile.am:
6804 Set up a registry path for running these tests, and clean it properly
6807 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6810 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
6811 want gmodule-no-export-2.0.pc instead so that we don't drag in
6812 --export-dynamic on every project that links to GStreamer.
6814 Also, make our export regex only match the start of symbols, rather
6815 than any symbol that contains '_gst' somewhere.
6817 * libs/gst/check/Makefile.am:
6818 The libgstcheck we build does however need export-dynamic, as it
6819 produces some symbols that don't match our _gst... style regex.
6822 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
6824 * gst/gst.c: (init_pre), (scan_and_update_registry),
6825 (ensure_current_registry_nonforking),
6826 (ensure_current_registry_forking), (ensure_current_registry),
6827 (init_post), (gst_debug_help), (gst_deinit):
6828 * gst/gst_private.h:
6829 * gst/gstregistry.c: (gst_registry_finalize),
6830 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6831 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
6832 (_gst_registry_cleanup):
6833 * gst/gstregistry.h:
6834 Revert previous change until I figure out why it breaks distcheck.
6836 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
6838 * gst/gst.c: (init_pre), (scan_and_update_registry),
6839 (ensure_current_registry_nonforking),
6840 (ensure_current_registry_forking), (ensure_current_registry),
6841 (init_post), (gst_debug_help), (gst_deinit):
6843 Make init_pre and init_post take the full complement of GOptionFunc
6844 args so they can return useful GErrors. Make the registry updating
6847 Call _priv_gst_registry_remove_cache_plugins after scanning files to
6848 ensure that the registry we're about to write out doesn't contain
6849 stale information about old-deleted plugin files.
6851 Make _priv_gst_registry_remove_cache_plugins return a boolean so
6852 that deletion of plugin files is considered a registry change.
6854 * gst/gst_private.h:
6855 * gst/gstregistry.c: (gst_registry_finalize),
6856 (gst_registry_remove_features_for_plugin_unlocked),
6857 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6858 (gst_registry_scan_path),
6859 (_priv_gst_registry_remove_cache_plugins),
6860 (_priv_gst_registry_cleanup):
6861 * gst/gstregistry.h:
6862 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
6863 by adding _priv prefix, so that they won't appear in the global
6864 symbol table. They still do atm though because of #318031. Move the
6865 prototypes to gst_private.h
6867 When removing a plugin, remove all features for that plugin too.
6870 2006-09-27 Wim Taymans <wim@fluendo.com>
6872 * docs/random/moving-plugins:
6873 Make it clear that the "compiled-in descriptions" really mean
6874 the element details.
6876 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6877 (gst_base_sink_wait_preroll):
6880 * docs/libs/gstreamer-libs-sections.txt:
6881 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6882 (gst_base_src_get_range), (gst_base_src_activate_push):
6883 * libs/gst/base/gstbasesrc.h:
6884 Added function to block while waiting for PLAYING, this function
6885 is used by live sources that block on the clock.
6886 API: gst_base_src_wait_playing()
6888 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
6890 Patch by: Peter Kjellerstedt <pkj at axis com>
6893 gst-element-check.m4 is generated and should therefore be
6894 copied from the build dir rather than the source dir (#357593).
6895 'make distcheck' hasn't noticed this because we were disting
6896 the file as well, so stop doing that.
6898 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
6900 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6901 Add some tests for gst_caps_intersect().
6903 * tools/gst-launch.c: (event_loop):
6904 Print all buffering percentages we get, even the 100% one.
6906 2006-09-26 Wim Taymans <wim@fluendo.com>
6908 * tools/gst-inspect.c: (print_element_properties_info),
6909 (print_signal_info):
6910 Fix printing of flags to match the look of enums.
6912 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6914 * gst/gstelementfactory.c:
6915 Fix typo in docs blurb.
6917 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6919 * gst/gsturi.c: (search_by_entry):
6920 Don't assert/crash here if a uri handler doesn't return any
6921 supported protocols. The list of protocols could be generated
6922 dynamically at runtime or at plugin registration, and an error
6923 in the underlying library shouldn't be fatal (#353301).
6925 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6928 Fix warning if HAVE_PRINTF_EXTENSION is undefined
6929 (spotted by Peter Kjellerstedt).
6931 2006-09-23 Wim Taymans <wim@fluendo.com>
6933 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6935 * libs/gst/base/gstbasesrc.c:
6936 (gst_base_src_default_check_get_range), (gst_base_src_start),
6937 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6938 (gst_base_src_change_state):
6939 Match _start/_stop calls in the activate functions. Remove redundant
6940 _stop call from the state change function. Fixes #356910.
6941 Turn failure DEBUG into ERROR.
6943 2006-09-22 Wim Taymans <wim@fluendo.com>
6945 * docs/design/part-buffering.txt:
6946 * gst/gstmessage.c: (gst_message_new_buffering),
6947 (gst_message_parse_buffering):
6948 Update docs about buffering.
6950 * docs/design/part-trickmodes.txt:
6953 2006-09-22 Stefan Kost <ensonic@users.sf.net>
6955 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6956 (gst_controller_new_list):
6957 Ref instances when returning them again (fixes #357180)
6959 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
6961 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6962 Don't forget to release proxy lock when there's an error.
6964 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
6967 Add extra initialisers for Caps things, to fix some plugin warnings
6970 2006-09-18 Wim Taymans <wim@fluendo.com>
6972 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6973 Also set template on the internal pad so that a getcaps from the
6974 target pad returns the template caps.
6976 2006-09-18 Wim Taymans <wim@fluendo.com>
6978 * gst/gstelement.c: (gst_element_post_message),
6979 (gst_element_dispose):
6980 Use _DEBUG_OBJECT some more.
6982 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6985 * tools/gst-launch.c: (main):
6986 If the toplevel element is not a GstPipeline, it must be put in a
6987 pipeline so that a bus and clock is selected.
6989 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
6991 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6992 JITTER, RATE, and LATENCY query should be handled by the
6993 default case and not by the CONVERT query code.
6995 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
6997 * gst/gstformat.c: (gst_format_register):
6998 Fix locking order (must take lock before using n_values).
7000 * gst/gstvalue.c: (gst_value_serialize_enum),
7001 (gst_value_deserialize_enum_iter_cmp),
7002 (gst_value_deserialize_enum):
7003 Fix serialisation/deserialisation of custom registered GstFormats.
7005 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7006 Unit test for custom format serialisation/deserialisation.
7008 2006-09-17 Stefan Kost <ensonic@users.sf.net>
7010 * docs/pwg/building-boiler.xml:
7011 * plugins/elements/gstcapsfilter.c:
7012 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
7015 2006-09-16 Edward Hervey <edward@fluendo.com>
7017 * libs/gst/base/gstbasetransform.c:
7018 (gst_base_transform_buffer_alloc):
7019 Check if requested caps are the same as the sinks caps IF
7020 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
7022 This fixes the renegotiation issues stated in #352827.
7024 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
7027 * docs/manual/advanced-autoplugging.xml:
7028 * tests/examples/Makefile.am:
7029 * tests/examples/manual/.cvsignore:
7030 * tests/examples/manual/Makefile.am:
7031 * tests/examples/manual/extract.pl:
7032 Extract the manual examples again like we used to do.
7035 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
7037 * win32/common/config.h:
7040 2006-09-16 Stefan Kost <ensonic@users.sf.net>
7043 Documents how to receive errors.
7045 2006-09-15 Wim Taymans <wim@fluendo.com>
7047 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
7048 (event_loop), (main):
7049 Added some comments here and there.
7050 Post an application message when an interrupt is caught instead of doing
7051 an uncontrolled state change.
7052 Clean up the event loop.
7053 Handle buffering messages, pause/resume the pipeline.
7054 Make shutdown because of an interrupt more reliable.
7056 2006-09-15 Wim Taymans <wim@fluendo.com>
7058 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7059 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
7060 (gst_base_sink_preroll_object):
7061 Make sure that our internal state is correct when we commit our state
7062 asynchronously. This solves a race where a state change to PLAYING
7063 could cause the sink to remain blocked in preroll in some situations.
7065 2006-09-15 Wim Taymans <wim@fluendo.com>
7067 * tools/gst-inspect.c: (print_element_properties_info),
7068 (print_signal_info):
7069 List flags as hex so it's easier to deal with.
7071 2006-09-15 Wim Taymans <wim@fluendo.com>
7073 * docs/libs/gstreamer-libs-sections.txt:
7074 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
7075 (gst_base_sink_do_sync):
7076 * libs/gst/base/gstbasesink.h:
7077 Expose logic to wait for preroll so that subclasses such as audiosink
7078 can also use this method.
7079 API: gst_base_sink_wait_preroll()
7081 2006-09-15 Wim Taymans <wim@fluendo.com>
7083 * gst/gstobject.c: (gst_object_set_parent):
7084 * gst/gstpipeline.c: (do_pipeline_seek):
7085 Small cleanups in docs and code.
7087 * gst/gstsegment.c: (gst_segment_clip):
7088 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7089 if stop == start and start is in the segment, no clipping should be
7090 done. Also add a test for this.
7092 2006-09-15 Wim Taymans <wim@fluendo.com>
7094 * docs/design/part-buffering.txt:
7095 * docs/gst/gstreamer-sections.txt:
7096 * gst/gstmessage.c: (gst_message_new_buffering),
7097 (gst_message_parse_buffering):
7099 Added methods to create and parse BUFFERING messages.
7100 Added preliminary docs about buffering.
7101 API: gst_message_new_buffering
7102 API: gst_message_parse_buffering
7104 2006-09-06 Wim Taymans <wim@fluendo.com>
7107 Update documentation.
7109 * gst/gstelement.c: (gst_element_class_init),
7110 (gst_element_release_request_pad), (gst_element_set_clock),
7111 (gst_element_get_index), (gst_element_add_pad),
7112 (gst_element_remove_pad), (gst_element_get_random_pad),
7113 (gst_element_send_event), (gst_element_get_query_types),
7114 (gst_element_query), (gst_element_post_message),
7115 (gst_element_message_full), (gst_element_continue_state),
7116 (gst_element_lost_state), (gst_element_save_thyself),
7117 (gst_element_restore_thyself):
7118 Documentation updates.
7119 Rename last bit of the new-pad -> pad-added signal rename.
7120 Fix the case where an element query would only work if the source
7122 Avoid some useless type checking in message handling.
7127 Documentation updates.
7129 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
7131 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
7132 add an INFO line for when we actually update the fd
7134 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
7139 === release 0.10.10 ===
7141 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
7144 releasing 0.10.10, "Pais"
7146 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
7148 * docs/manual/advanced-position.xml:
7149 Fix typo in sample code.
7151 2006-09-05 Wim Taymans <wim@fluendo.com>
7153 * libs/gst/net/gstnetclientclock.c: (inet_aton),
7154 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
7155 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
7156 * libs/gst/net/gstnetclientclock.h:
7157 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
7158 * libs/gst/net/gstnettimepacket.h:
7159 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
7160 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
7161 (gst_net_time_provider_thread), (gst_net_time_provider_new):
7162 * libs/gst/net/gstnettimeprovider.h:
7163 Make stuff compile on windows. Fixes #345295.
7165 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
7167 * gst/gst.c: (ensure_current_registry_forking):
7168 Print better details when child was terminated by signal.
7170 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
7172 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
7173 Print a warning rather than g_assert() if a plugin feature
7174 is a URI handler but returns no protocols (#353976).
7176 2006-09-02 Stefan Kost <ensonic@users.sf.net>
7178 * docs/random/moving-plugins:
7181 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
7183 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
7184 Fix locking order, handle NULL function values properly.
7189 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
7190 Initialise variable before using it and fix debug statement to
7191 print the address of the function rather than the address of the
7192 variable on the stack holding the address of the function.
7194 2006-09-01 Wim Taymans <wim@fluendo.com>
7196 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
7197 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
7198 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7199 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
7200 (gst_ghost_pad_parent_unset),
7201 (gst_ghost_pad_internal_do_activate_push),
7202 (gst_ghost_pad_internal_do_activate_pull),
7203 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7204 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7205 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
7206 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
7207 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
7208 (gst_ghost_pad_new_no_target_from_template),
7209 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7211 Avoid needless typechecking in macros.
7212 Since the internal pad is always present and never changes, there is
7213 no need to locking or ref when retrieving it.
7214 Improve debugging a bit.
7215 Handle link errors when setting the target. Fixes #341029.
7217 2006-09-01 Wim Taymans <wim@fluendo.com>
7219 * docs/libs/gstreamer-libs-sections.txt:
7220 * docs/plugins/gstreamer-plugins-sections.txt:
7223 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7224 (gst_collect_pads_event):
7225 * libs/gst/base/gstcollectpads.h:
7226 Documentation updates.
7227 Free queued buffer when removing a pad.
7229 2006-08-31 Michael Smith <msmith@fluendo.com>
7231 * gst/gstutils.c: (gst_element_link_pads),
7232 (gst_element_link_pads_filtered):
7233 Ensure that we set a capsfilter to NULL if we failed to link it
7234 when doing filtered linking, to avoid criticals.
7236 No need to check for unreffing srcpad, which is explicly NULLed
7237 above (a trivial code cleanup).
7239 2006-08-31 Wim Taymans <wim@fluendo.com>
7241 * docs/design/part-gstghostpad.txt:
7242 Update ascii art in documentation.
7244 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
7245 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
7246 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7247 (gst_ghost_pad_internal_do_activate_push),
7248 (gst_ghost_pad_internal_do_activate_pull),
7249 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7250 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7251 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
7252 (gst_ghost_pad_set_target):
7253 Small cleanups and leak fixes.
7254 Remove some checks now that the internal pad is never NULL.
7255 Fix the case where linking pads without a target would create nasty
7256 criticals. Fixes #341029.
7257 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
7258 value of _set_target().
7260 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7261 (gst_ghost_pad_suite):
7262 Some more tests for creating and linking untargeted ghostpads.
7264 2006-08-31 Edward Hervey <edward@fluendo.com>
7266 * docs/gst/gstreamer-sections.txt:
7267 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
7268 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7269 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
7270 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
7271 (gst_ghost_pad_new_from_template),
7272 (gst_ghost_pad_new_no_target_from_template):
7273 * gst/gstghostpad.h:
7274 Refactored *_new() functions.
7275 Templates are now used as a g_object_new() parameter.
7276 Use template in _do_getcaps() if we don't have a target.
7277 Small documentation cleanups.
7278 Added two new constructors:
7279 gst_ghost_pad_new_from_template()
7280 gst_ghost_pad_new_no_target_from_template()
7281 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7282 (gst_ghost_pad_suite):
7283 Added tests for new ghostpad instanciation functions.
7285 API additions: gst_ghost_pad_new_from_template,
7286 gst_ghost_pad_new_no_target_from_template
7288 2006-08-30 Stefan Kost <ensonic@users.sf.net>
7290 * docs/random/ensonic/profiling.txt:
7291 Ideas about qos profiling.
7293 2006-08-29 Wim Taymans <wim@fluendo.com>
7295 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
7299 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
7302 Improve and detypofy docs.
7304 * tests/check/Makefile.am:
7305 * tests/check/gst/.cvsignore:
7306 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
7307 Add a basic test suite for GstXML.
7309 2006-08-29 Wim Taymans <wim@fluendo.com>
7311 * gst/gstelement.c: (activate_pads), (clear_caps),
7312 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7313 Clear the pad caps when the element shut down all of the pads and
7314 is not streaming data that could modify the caps.
7317 2006-08-28 Michael Smith <msmith@fluendo.com>
7319 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7320 Revert previous change; I misunderstood single-segment mode.
7322 2006-08-28 Michael Smith <msmith@fluendo.com>
7324 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7325 Unset DISCONT on buffers when using single-segment mode.
7327 2006-08-28 Wim Taymans <wim@fluendo.com>
7329 * gst/gstcaps.c: (gst_caps_merge_structure):
7331 Fix docs and indentation again.
7333 * tests/check/gst/gstquery.c: (GST_START_TEST):
7334 Fix leak in tests and add some more tests.
7336 2006-08-28 Edward Hervey <edward@fluendo.com>
7338 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7339 Inform GstSegment of the last stop position in order for the current
7340 segment to have a proper duration if it doesn't have a specific stop
7341 position from which a duration could be calculated.
7342 This bug was noticeable when a non-flushing, non-update new segment was
7343 followed by another segment (all buffers from the new segment were being
7346 2006-08-28 Wim Taymans <wim@fluendo.com>
7348 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7349 Small comment update.
7351 * plugins/elements/gstidentity.c: (gst_identity_class_init),
7352 (gst_identity_transform_ip):
7353 Drop-probability is broken, mention this in the code with a
7354 FIXME and also in the property description.
7355 Make silent also be silent about the drop messages.
7357 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
7359 * docs/manual/appendix-win32.xml:
7360 Remove mention of popt, we don't depend on that any
7361 longer (#353136). Add some comments pointing out that
7362 this section is slightly outdated.
7364 2006-08-28 Wim Taymans <wim@fluendo.com>
7366 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7368 * gst/gstquery.c: (gst_query_new_segment):
7369 * tests/check/gst/gstquery.c: (GST_START_TEST):
7370 Initialize variables when creating a new segment query.
7373 2006-08-28 Wim Taymans <wim@fluendo.com>
7375 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7377 * gst/gstelement.c: (gst_element_get_bus):
7378 * tests/check/gst/gstelement.c: (GST_START_TEST):
7379 Check for NULL before _reffing the bus. Fixes #353122.
7381 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
7383 * docs/manual/basics-bus.xml:
7384 Docs update: fix wrong callback return value explanation; add
7385 some lines about the implicit relationship between main loop
7386 and main context; remove duplicate main loop variable declaration.
7388 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
7390 * tests/check/gst/gstcaps.c: (GST_START_TEST):
7391 Don't leak caps in unit test; add a few more simple
7394 2006-08-24 Stefan Kost <ensonic@users.sf.net>
7396 * docs/gst/gstreamer-sections.txt:
7397 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
7398 (gst_caps_structure_is_subset), (gst_caps_merge),
7399 (gst_caps_merge_structure):
7401 * libs/gst/base/gstbasetransform.c:
7402 (gst_base_transform_transform_caps):
7403 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7404 implement caps merging (fixes #352580)
7406 2006-08-23 Stefan Kost <ensonic@users.sf.net>
7408 * tools/Makefile.am:
7409 * tools/gst-plot-timeline.py:
7410 add debug-log plotting developer tool (#340674)
7412 2006-08-23 Wim Taymans <wim@fluendo.com>
7414 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
7415 (gst_pad_stop_task):
7416 Improve debugging for task functions.
7418 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
7419 (gst_task_start), (gst_task_pause), (gst_task_join):
7420 Make sure that the task function started and finished after a
7422 Don't try to push the task function on the threadpool multiple
7424 Improve the g_warning message with some useful suggestions
7425 about how to fix the problem.
7427 2006-08-23 Wim Taymans <wim@fluendo.com>
7429 * gst/gstutils.c: (gst_pad_proxy_getcaps):
7430 Handle RESYNC correctly in _proxy_getcaps.
7432 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
7434 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
7435 (gst_xml_parse_memory), (gst_xml_get_element):
7436 Chain up to parent class in dispose function and also
7437 unref the elements in the toplevel_elements GList.
7438 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
7439 Always return a reference in gst_xml_get_element() rather
7440 than only sometimes.
7442 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7443 Don't leak GstXml object.
7445 2006-08-21 Stefan Kost <ensonic@users.sf.net>
7447 * docs/gst/gstreamer-sections.txt:
7448 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7451 * libs/gst/base/gstbasetransform.c:
7452 (gst_base_transform_transform_caps):
7453 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7456 2006-08-21 Edward Hervey <edward@fluendo.com>
7458 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7459 Implement GObject::dispose virtual method in GstXML so we can free the
7462 2006-08-21 Wim Taymans <wim@fluendo.com>
7464 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7465 (gst_buffer_create_sub):
7466 Copy duration/offset_end/caps when creating a subbuffer of the
7468 Make the subbuffer read-only when we make the metadata writable for
7471 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7472 Added check for metadata copy when creating subbuffers.
7474 2006-08-21 Edward Hervey <edward@fluendo.com>
7476 * libs/gst/base/gstbasetransform.c:
7477 (gst_base_transform_buffer_alloc):
7478 Only call downstream buffer_alloc if transform element is passthrough
7479 or always_in_place. Closes #350449.
7481 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7484 ChangeLog surgery to add comments to previous changes
7486 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7491 * gst/gstpad.c: (gst_pad_set_active):
7492 Be more verbose in the log
7494 * libs/gst/base/gstbasetransform.c:
7495 (gst_base_transform_transform_caps):
7496 Simplify caps to get rid of duplicates, fixes #345444
7498 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7502 Use these optimizations only internally.
7504 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7506 * gst/gstvalue.c: (gst_value_compare_list),
7507 (gst_value_compare_fraction_range),
7508 (gst_value_intersect_fraction_fraction_range),
7509 (gst_value_intersect_fraction_range_fraction_range),
7510 (gst_value_subtract_fraction_fraction_range),
7511 (gst_value_subtract_fraction_range_fraction_range),
7512 (gst_value_get_compare_func), (gst_value_compare),
7513 (gst_value_compare_with_func):
7515 Saves the expensive lookup of the compare function in many cases
7518 2006-08-18 Edward Hervey <edward@fluendo.com>
7520 * tests/check/gst/gstinfo.c: (gst_info_suite):
7521 Disable test that require gstdebug if it wasn't built in core.
7523 2006-08-18 Stefan Kost <ensonic@users.sf.net>
7525 * docs/random/ensonic/logging.txt:
7528 * gst/gstinfo.c: (gst_debug_log_default):
7529 reorder fields, save some columns, add optional color codes for log
7532 2006-08-18 Stefan Kost <ensonic@users.sf.net>
7534 * docs/random/ensonic/logging.txt:
7535 add ideas about making the logs a bit more useful
7537 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
7539 * docs/pwg/advanced-events.xml:
7540 * docs/pwg/titlepage.xml:
7541 Update for 0.10 API (#340627). Add myself
7544 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
7546 * docs/libs/gstreamer-libs-docs.sgml:
7547 * docs/libs/gstreamer-libs-sections.txt:
7548 * libs/gst/check/gstbufferstraw.c:
7549 Make gstcheck stuff show up in docs (still needs to
7550 be documented properly though).
7552 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
7554 * docs/gst/gstreamer-sections.txt:
7556 * gst/gst.c: (init_post):
7557 * gst/gst_private.h:
7558 * gst/gstquark.c: (_priv_gst_quarks_initialize):
7560 * gst/gstquery.c: (gst_query_new_position),
7561 (gst_query_set_position), (gst_query_parse_position),
7562 (gst_query_new_duration), (gst_query_set_duration),
7563 (gst_query_parse_duration), (gst_query_new_convert),
7564 (gst_query_set_convert), (gst_query_parse_convert),
7565 (gst_query_new_segment), (gst_query_set_segment),
7566 (gst_query_parse_segment), (gst_query_new_seeking),
7567 (gst_query_set_seeking), (gst_query_parse_seeking):
7568 Add internal helpers for pre-registering quarks from static strings
7569 and using the quark values directly instead of looking them up when
7570 creating and parsing queries. Can be used for event construction too.
7573 2006-08-16 Wim Taymans <wim@fluendo.com>
7578 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7580 * gst/gstutils.c: (gst_util_set_value_from_string):
7581 Fix memleak (#351502).
7583 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7584 Add unit test for most of gst_util_set_value_from_string()
7585 (not that one would want to encourage use of this function).
7587 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7589 * libs/gst/check/gstcheck.h:
7590 Use const gchar * variables in fail_unless_equals_string
7591 macro to avoid compiler warnings (and don't use tabs for
7594 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7596 * tools/gst-launch.c: (print_tag):
7597 More space on the left for the tag names, to cater
7598 for the 'extended comment' tag (not touching the
7599 string for the first line since it's translated).
7601 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7603 * libs/gst/check/gstcheck.h:
7604 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7605 print something when they fail.
7607 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7609 * docs/gst/gstreamer-sections.txt:
7610 * gst/gsttaglist.c: (_gst_tag_initialize):
7612 API: add GST_TAG_EXTENDED_COMMENT (#350935).
7613 Also change merge function for GST_TAG_COMMENT to
7616 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7618 * gst/gstinfo.c: (gst_debug_print_object):
7619 Make GST_PTR_FORMAT print messages as well.
7621 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7622 (GST_START_TEST), (gst_info_suite):
7625 2006-08-14 Edward Hervey <edward@fluendo.com>
7627 * gst/gstelementfactory.c: (gst_element_register):
7628 If the GstElementClass doesn't have a GstElementDetails with all fields
7629 filled up correctly (longname, description AND author), then error out
7630 nicely instead of crashing.
7632 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7634 * gst/gststructure.c:
7635 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7638 Expand on the difference between arrays and lists as we use them.
7640 2006-08-14 Wim Taymans <wim@fluendo.com>
7642 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7643 If the parent state change function failed, don't assume we can safely
7644 stop the source, this will be done when the pads are deactivated.
7646 2006-08-14 Wim Taymans <wim@fluendo.com>
7649 * gst/gsttask.c: (gst_task_join):
7652 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7653 (gst_pad_stop_task):
7654 When pad (de)activation failed for some reason, restore the old
7655 activation mode and set the pad to flushing instead of assuming the
7657 If the _task_join() failed, reinstall the task on the pad so that it can
7658 be stopped later and return an error.
7660 2006-08-11 Andy Wingo <wingo@pobox.com>
7663 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7664 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7665 is only for users of API that don't want to see deprecated
7666 functions in the headers; people that want to compile out
7667 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7668 CFLAGS. Fixes the build of multifdsink, or will soon..
7670 2006-08-11 Wim Taymans <wim@fluendo.com>
7672 * docs/gst/gstreamer-sections.txt:
7673 Add GstClockClass vmethod docs.
7676 Mark #endif with comment for associated #if
7678 * gst/gstclock.c: (gst_clock_id_wait):
7680 Add vmethod wait_jitter to avoid an unneeded _get_time() for
7681 most clock implementations.
7683 Flesh out docs about resolution methods.
7684 API: GstClockClass::wait_jitter
7686 * gst/gstsystemclock.c: (gst_system_clock_class_init),
7687 (gst_system_clock_async_thread),
7688 (gst_system_clock_id_wait_jitter_unlocked),
7689 (gst_system_clock_id_wait_jitter):
7690 Use base class wait_jitter variant for improved performance
7691 due to less clock polling.
7693 2006-08-11 Edward Hervey <edward@fluendo.com>
7695 * gst/gst.c: (gst_init_check), (init_post):
7696 Set gst as being initialized before scanning/updating the registry,
7697 since there might be my python plugin loader that calls gst_init() and
7698 we don't want to loop back in.
7701 2006-08-11 Wim Taymans <wim@fluendo.com>
7703 * docs/design/part-qos.txt:
7704 Bring docs in line with the code. Mostly the sign of the jitter was
7705 wrong in the docs. Fixes #349943.
7708 Fix the docs for the jitter.
7710 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7711 (gst_event_parse_tag), (gst_event_new_buffer_size),
7712 (gst_event_parse_buffer_size), (gst_event_parse_qos),
7713 (gst_event_new_seek), (gst_event_parse_seek),
7714 (gst_event_new_navigation):
7715 Make sure the GstStructure has no parent when creating custom
7717 Add some more argument checking so that we avoid 0.0 rates.
7718 Flesh out the docs for the QoS event some more.
7720 2006-08-11 Wim Taymans <wim@fluendo.com>
7722 * docs/gst/gstreamer-sections.txt:
7723 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7724 (ensure_current_registry_forking), (ensure_current_registry),
7725 (parse_one_option), (parse_goption_arg), (gst_deinit),
7726 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7729 Added API and command line option to disable registry forking in
7730 addition to the environment variable.
7731 Constify some static arrays.
7732 Added some more debug.
7734 API: gst_registry_fork_is_enabled()
7735 API: gst_registry_fork_set_enabled()
7736 API: --gst-disable-registry-fork command line option
7739 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
7741 * gst/gst.c: (gst_init):
7742 Fix typo in error message.
7744 2006-08-10 Stefan Kost <ensonic@users.sf.net>
7746 * libs/gst/controller/gstcontroller.h:
7747 fix ABI size-correction
7749 * tests/check/libs/gdp.c: (gst_dp_suite):
7750 make tests that use deprecated API conditional
7752 2006-08-10 Stefan Kost <ensonic@users.sf.net>
7754 * docs/libs/gstreamer-libs-sections.txt:
7755 * libs/gst/controller/gstcontroller.c:
7756 (_gst_controller_get_property), (_gst_controller_set_property),
7757 (_gst_controller_init), (_gst_controller_class_init):
7758 * libs/gst/controller/gstcontroller.h:
7759 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7760 (gst_object_set_control_rate):
7761 API: add gst_object_{s,g}et_control_rate(), add private data section,
7764 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7765 * libs/gst/dataprotocol/dataprotocol.h:
7766 add deprecation guards to make gtk-doc happy and allow disabling cruft
7768 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
7770 * tests/check/Makefile.am:
7771 * tests/check/gst/.cvsignore:
7772 Let's enable the new unit test as well.
7774 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
7777 * docs/gst/gstreamer-sections.txt:
7778 * gst/gstconfig.h.in:
7779 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7780 (_gst_info_printf_extension_ptr),
7781 (_gst_info_printf_extension_segment):
7782 API: add GST_SEGMENT_FORMAT, which is a printf extension we
7783 register that lets us easily dump GstSegments into debug
7786 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7787 (info_segment_format_printf_extension), (gst_info_suite):
7788 Add simple unit test that logs a bunch of different segments (not
7789 valgrinded at the moment because of leaks in
7790 gst_debug_add_log_function).
7792 2006-08-09 Edward Hervey <edward@fluendo.com>
7794 * libs/gst/base/gstbasetransform.c:
7795 (gst_base_transform_buffer_alloc):
7796 Even if we can't figure out the proper format to request downstream,
7797 call buffer_alloc() downstream with the input parameters without setting
7798 the caps on the srcpad. This will force negotiation in the chain
7802 2006-08-08 Edward Hervey <edward@fluendo.com>
7804 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7805 Unlinking from a pad without a target is now a perfectly valid case
7806 which should NOT raise an assertion.
7807 This case would happen if a linked ghostpad its target set to NULL after
7808 it was previously linked.
7810 2006-08-08 Edward Hervey <edward@fluendo.com>
7812 * tests/check/libs/gdp.c:
7813 Also comment out the test (see below).
7815 2006-08-08 Edward Hervey <edward@fluendo.com>
7817 * tests/check/libs/gdp.c: (gst_dp_suite):
7818 Use the architecture information from config.h and not gcc macros
7819 in order to properly disable a test that fails on PPC64.
7821 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
7823 * gst/gstelement.c: (gst_element_remove_pad):
7824 Don't crash printing the warning if the pad has no parent.
7826 2006-08-02 Wim Taymans <wim@fluendo.com>
7828 * libs/gst/dataprotocol/dataprotocol.c:
7829 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7830 (gst_dp_crc), (gst_dp_header_payload_length),
7831 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
7832 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
7833 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
7834 (gst_dp_event_from_packet), (gst_dp_validate_header),
7835 (gst_dp_validate_payload):
7836 Make debug category static
7837 Constify the crc table.
7838 Do some more arg checking in public functions.
7839 Fix some docs and do some small cleanups.
7841 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
7842 Add some more checks to see if GDP deals with bogus input.
7844 2006-07-31 Wim Taymans <wim@fluendo.com>
7846 * gst/gstvalue.c: (gst_value_compare_list):
7847 Fix GstValueList comparison code. Fixes #347293.
7849 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7850 Check to test GstValueList comparison.
7852 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7854 * gst/gstelementfactory.c: (gst_element_factory_create):
7855 Remove unnecessary ref/unref pair
7857 * gst/parse/grammar.y:
7858 Make sure to free the parse buffer on all code paths.
7859 Move a g_free up to the error handler where it's easier to see.
7861 * tests/check/gst/gstevent.c: (test_event):
7862 Extending timeout for downstream travelling events to 10 seconds to
7863 hopefully avoid intermittent failure on the buildbots.
7865 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
7866 Don't manually set the state of the src element - it will happen as a
7867 natural consequence of the pipeline changing state, and that way it
7868 will do it in the right order too.
7870 2006-07-31 Wim Taymans <wim@fluendo.com>
7872 * libs/gst/base/gstbasetransform.c:
7873 (gst_base_transform_buffer_alloc):
7874 Use OBJECT_LOCK and refcounting to get the pad caps in the
7875 buffer_alloc function because the caps could change while we are
7876 busy with them. Fixes #349105
7878 2006-07-31 Wim Taymans <wim@fluendo.com>
7880 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7881 Protect _PAD_CAPS with OBJECT_LOCK.
7883 2006-07-31 Wim Taymans <wim@fluendo.com>
7885 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7886 (gst_pad_get_property), (gst_pad_activate_pull),
7887 (gst_pad_activate_push), (gst_pad_set_blocked_async),
7888 (gst_pad_set_activate_function),
7889 (gst_pad_set_activatepull_function),
7890 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7891 (gst_pad_set_getrange_function),
7892 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7893 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7894 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7895 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7896 (gst_pad_set_acceptcaps_function),
7897 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7898 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7899 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7900 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7901 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7902 (gst_pad_configure_sink), (gst_pad_configure_src),
7903 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7904 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7905 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7906 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7907 (gst_pad_send_event):
7908 Use _DEBUG_OBJECT when it makes sense.
7909 Protect GST_PAD_CAPS with the OBJECT_LOCK.
7910 Small cleanups and code reflows.
7911 Avoid caps refcounting in _accept_caps.
7912 Refactor alloc_buffer so that the code performed on the peer is in a
7913 separate function. Also if the pad does not implement a buffer alloc
7914 function, we should still check if the pad is flushing before falling
7915 back to the default allocator.
7917 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7919 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7920 Make all uses of identity and fakesink have silent=true to avoid
7921 serialising every passing data structure, which is breaking tests
7922 on FC4 for some unknown reason.
7924 2006-07-30 Stefan Kost <ensonic@users.sf.net>
7926 * gst/parse/Makefile.am:
7927 * gst/parse/grammar.y:
7928 * gst/parse/parse.l:
7929 Reverted previous patch as it required to bump the flex dependency to
7930 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7932 2006-07-30 Stefan Kost <ensonic@users.sf.net>
7934 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7936 * gst/parse/Makefile.am:
7937 * gst/parse/grammar.y:
7938 * gst/parse/parse.l:
7939 push & pop the state of the lexer for reentrant use case
7942 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
7944 * libs/gst/base/gstbasesrc.h:
7945 Note in the docs that the ::newsegment vfunc is not actually used by
7948 2006-07-28 Wim Taymans <wim@fluendo.com>
7950 * libs/gst/base/gstcollectpads.c:
7951 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7952 (gst_collect_pads_clear), (gst_collect_pads_flush),
7953 (gst_collect_pads_event), (gst_collect_pads_chain):
7954 When flushing a pad, also clear the queued buffer so that we don't
7955 accidentally use it when we shouldn't.
7956 Fix leaks by inreffing incomming buffer.
7957 Flush out queued buffers in case of errors.
7960 2006-07-28 Wim Taymans <wim@fluendo.com>
7962 * docs/random/phonon-gst:
7963 Random notes about a Phonon backend.
7965 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7967 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7969 * tests/check/libs/gdp.c: (gst_dp_suite):
7970 Take a whack at fixing the ppc compile using a different define to
7971 disable the broken test.
7973 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7974 Remove excess g_print()
7976 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7978 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7979 Oops, meant to uncomment this line too to dampen the noise a bit.
7981 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7983 * gst/parse/grammar.y:
7984 * gst/parse/parse.l:
7985 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7986 (GST_START_TEST), (parse_suite):
7987 Fix some of the leaks exposed by extending the parse-launch testsuite,
7988 and move the 3 I can't figure out into a separate test that won't run
7989 the pipelines unless the appropriate line is uncommented.
7991 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
7993 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7994 Requesting 0 bytes before the end of the file should result in
7995 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7998 2006-07-27 Wim Taymans <wim@fluendo.com>
8000 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
8001 Fix useless assert, a uint is always positive.
8003 * gst/gststructure.c: (gst_structure_nth_field_name),
8004 (gst_structure_foreach), (gst_structure_map_in_place):
8005 Check input arguments for public functions to avoid obvious crashes.
8007 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
8008 * plugins/elements/gstfakesink.h:
8009 Do less useless typechecking.
8011 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
8013 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
8014 Do not use mmap() by default since there are a number of error
8015 conditions that we would like to handle in a non-fatal way that
8016 will result in a SIGBUS if we use mmap(). Examples: external
8017 devices (USB harddrive, portable music player) being unplugged
8018 while in use; file on mounted CD/DVD that can't be read because
8019 the medium is partly damaged. Fixes #348455 and #348475.
8021 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
8024 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
8027 2006-07-26 Stefan Kost <ensonic@users.sf.net>
8029 * gst/gstregistry.c:
8030 Move big documentation comment into class section header, so that it
8031 appears in the API docs.
8033 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
8035 * docs/gst/gstreamer-sections.txt:
8036 Oops. Commit the docs additions too for new API.
8037 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
8039 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
8041 * gst/gststructure.c: (gst_structure_id_set),
8042 (gst_structure_id_set_valist):
8043 * gst/gststructure.h:
8044 Add API for setting values into structures without performing
8045 a quark lookup, if the appropriate quark is already known.
8047 API: gst_structure_id_set
8048 API: gst_structure_id_set_valist
8050 * gst/parse/grammar.y:
8051 * gst/parse/parse.l:
8052 Remove some dead code shown by the coverage information.
8053 Don't throw a critical g_warning when encountering a syntax error,
8054 just warn and let the normal error path handle it.
8056 * plugins/elements/gstelements.c:
8057 Bump the rank of filesink up to PRIMARY so that it is preferred over
8058 gnomevfssink for file:// sink uri's
8060 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
8061 (GST_START_TEST), (run_delayed_test),
8062 (gst_parse_test_element_base_init),
8063 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
8064 (gst_parse_test_element_change_state),
8065 (gst_register_parse_element), (parse_suite):
8066 Beef up the tests for parse syntax to check that more error cases
8067 fail as they are supposed to. Increases the test coverage a bit.
8069 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
8071 * docs/manual/basics-elements.xml:
8072 Fix gst_element_link() example.
8075 Mention in API docs that one should usually gst_bin_add()
8076 elements to a bin or pipeline before doing the linking.
8078 2006-07-26 Wim Taymans <wim@fluendo.com>
8080 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
8081 (gst_subbuffer_get_type), (gst_buffer_create_sub):
8082 Avoid function call for known types by keeping the buffer and
8083 subbuffer GType global.
8085 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8086 Random silly optimisations in read() path.
8088 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
8090 * tools/gst-launch.c: (main):
8091 If the top-level of the parse is a normal bin, it doesn't do the
8092 right logic to run as a top-level element, so place it inside a
8095 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
8097 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
8098 Remove superfluous g_object_notify() calls, GObject does
8099 that for us automatically.
8101 2006-07-25 Stefan Kost <ensonic@users.sf.net>
8104 on Win32, use dllspec to export the debug category symbols
8106 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
8108 * gst/gsttaglist.c: (_gst_tag_initialize):
8109 Allow more than one GST_TAG_IMAGE per taglist.
8111 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
8113 * gst/gstminiobject.c:
8115 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
8116 (gst_fd_src_create):
8117 log recurring events at LOG level
8118 add more debug for when the fd gets set
8120 2006-07-21 Stefan Kost <ensonic@users.sf.net>
8122 * gst/gstparse.c: (gst_parse_launch):
8123 Also remove reentrance checks if flex is MT safe (#348179)
8124 Fix my empty ChangeLog entry below
8126 2006-07-21 Andy Wingo <wingo@pobox.com>
8128 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
8130 * libs/gst/check/Makefile.am
8131 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
8132 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
8133 * libs/gst/check/gstbufferstraw.h:
8134 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
8135 functions, thus proving I am still a GStreamer haxor. OK I wrote
8136 them a long time ago, but anyways.
8138 2006-07-21 Stefan Kost <ensonic@users.sf.net>
8141 * gst/gstparse.c: (gst_parse_launch):
8142 Check for flex version and omit mutex if we have a MT save flex
8145 2006-07-21 Wim Taymans <wim@fluendo.com>
8147 * gst/gstparse.c: (gst_parse_launch):
8148 Protect recursive calls to _parse with a recursive mutex
8151 2006-07-21 Wim Taymans <wim@fluendo.com>
8153 * tests/check/gst/gstpad.c: (GST_START_TEST):
8156 2006-07-20 Stefan Kost <ensonic@users.sf.net>
8158 * gst/gstparse.c: (gst_parse_launch):
8159 Do not hang on recursive usage of gst_parse_launch()
8161 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
8164 Add some more docs, comments and FIXME 0.11s here and there
8165 and also fix some typos.
8167 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
8170 Convert tabs to spaces for better readability.
8172 2006-07-20 Edward Hervey <edward@fluendo.com>
8174 * tests/check/libs/gdp.c: (gst_dp_suite):
8175 the test_buffer test fails at line 140 on ppc64 at the following
8177 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
8178 GST_BUFFER_FLAG_IN_CAPS),
8179 "GST_BUFFER_IN_CAPS flag should have been copied !");
8180 See bug #348114 for more details.
8182 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
8184 * docs/pwg/advanced-scheduling.xml:
8186 Fix typos (#348000).
8188 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
8190 * docs/pwg/intro-basics.xml:
8191 Fix wrong links (#347927).
8193 2006-07-18 Stefan Kost <ensonic@users.sf.net>
8195 * gst/gstregistry.h:
8196 * gst/gstregistryxml.c: (load_feature),
8197 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
8198 * win32/common/config.h:
8199 make --disable-index work (#342564)
8201 2006-07-18 Wim Taymans <wim@fluendo.com>
8203 Patch by: Peter Kjellerstedt <pkj at axis dot com>
8207 The attached patch adds two missing defines to gsttrace.h when tracing
8208 is disabled. It also corrects one existing define.
8211 2006-07-17 Wim Taymans <wim@fluendo.com>
8213 * docs/gst/gstreamer-sections.txt:
8214 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
8216 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
8217 Add two functions to check and change the SIGSEGV behaviour
8218 when loading plugins.
8219 Don't mess with the SIGSEGV handler when we were told not to.
8221 API: gst_segtrap_is_enabled
8222 API: gst_segtrap_set_enabled
8224 2006-07-14 Wim Taymans <wim@fluendo.com>
8226 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8227 * tests/check/elements/filesrc.c: (GST_START_TEST):
8228 Revert fix for regression in #347408 after release.
8230 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
8232 Patch by: Antoine Tremblay <hexa00 at gmail com>
8234 * gst/gstutils.c: (gst_element_unlink):
8235 Free iterator when done (#347311).
8237 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8238 And add a test case for this.
8240 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
8243 Bump nano back to CVS
8245 === release 0.10.9 ===
8247 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
8250 releasing 0.10.9, "On the road again"
8252 2006-07-13 Wim Taymans <wim@fluendo.com>
8254 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8255 * tests/check/elements/filesrc.c: (GST_START_TEST):
8256 Revert pull-0 fix for release. Disable check. Fixes #347408.
8258 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8260 * libs/gst/dataprotocol/dataprotocol.c:
8261 (gst_dp_event_from_packet_1_0):
8262 Fixes #347337: failure to deserialize event packets with
8263 empty payload (only event type)
8265 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8268 do not install a .c file in the header directory
8270 2006-07-13 Edward Hervey <edward@fluendo.com>
8272 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8273 GhostPad no longer implicitely use the padtemplates of the targets.
8276 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
8278 * gst/gstvalue.c: (gst_value_compare_list),
8279 (gst_value_compare_array), (_gst_value_initialize):
8280 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8281 Make GstValueArray comparison be order dependent as designed.
8282 Add checks for value lists and value array comparisons.
8285 2006-07-11 Edward Hervey <edward@fluendo.com>
8287 * gst/gstbin.c: (activate_pads),
8288 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
8289 (gst_bin_change_state_func):
8290 (de)activate src pads before calling state_change on the childs.
8291 This is to avoid the case where a src ghostpad is blocked (holding the
8292 stream lock), which would block the deactivation of the ghostpad's
8294 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
8295 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
8296 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
8297 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8298 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8299 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8300 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8301 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
8302 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
8303 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8304 (gst_ghost_pad_class_init),
8305 (gst_ghost_pad_internal_do_activate_push),
8306 (gst_ghost_pad_internal_do_activate_pull),
8307 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8308 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8309 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
8310 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
8311 GhostPads now create their internal GstProxyPad at creation (and not
8312 when they're linked, as it was being done previously).
8313 The internal and target pads are linked straight away.
8314 The data will also travel through the other pad in order to make
8315 pad blocking and probes non-hackish (the probe/block now really happens
8316 on the GhostPad and not on the target).
8317 * gst/gstpad.c: (gst_pad_set_blocked_async),
8318 (gst_pad_link_prepare), (gst_pad_push_event):
8319 Remove previous ghostpad cruft.
8320 * gst/gstutils.c: (gst_pad_add_data_probe),
8321 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8322 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8323 (gst_pad_remove_buffer_probe):
8324 Remove previous ghost pad cruft.
8325 Added more detailed debug statements.
8326 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8327 Fix the testsuite for refcounting changes.
8328 The comments about who has references were correct, but the refcount
8329 being checked wasn't the same (!?!).
8333 2006-07-10 Stefan Kost <ensonic@users.sf.net>
8335 * docs/gst/gstreamer-sections.txt:
8336 * gst/gstconfig.h.in:
8337 More docs for configuration options, add docs to gtk-doc.
8339 2006-07-10 Stefan Kost <ensonic@users.sf.net>
8342 * gst/gstconfig.h.in:
8343 * win32/common/config.h:
8344 Fix build when disabling tracing (fixes #344016). Also start to document
8345 the defines that disable the sub-systems.
8347 2006-07-10 Edward Hervey <edward@fluendo.com>
8349 * gst/gst.c: (ensure_current_registry_forking):
8350 let's make valgrind happy...
8352 2006-07-09 Wim Taymans <wim@fluendo.com>
8354 * gst/gstelement.c: (activate_pads),
8355 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8356 Better pad activation code: Reset the collect value too on resync.
8359 2006-07-09 Wim Taymans <wim@fluendo.com>
8361 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
8362 (gst_pad_activate_push):
8363 Use some more macros where it makes sense.
8364 Allow pad mode switching instead of asserting. When a pad
8365 is activated in one mode and we activate it in another,
8366 deactivate it first before activating it in a different mode.
8369 2006-07-08 Andy Wingo <wingo@pobox.com>
8371 * tools/gst-launch.c (main): Handle err == NULL.
8373 * gst/gst.c (init_post, ensure_current_registry)
8374 (ensure_current_registry_forking)
8375 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
8376 factoring out the registry scanning into separate functions. Don't
8377 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
8378 Better environment var name/interface suggestions accepted.
8380 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8382 * gst/gstobject.c: (gst_object_set_name_default),
8383 (gst_object_set_name):
8384 Random micro-optimisation: don't use a hash table
8385 with strings as keys and the usual strdup/strcmp
8386 involved, but rather just use the GQuark of the
8387 type name as key, since it needs to be looked up
8388 anyway to get the type name string.
8390 * tests/check/gst/gstobject.c: (GST_START_TEST):
8393 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8395 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
8396 (gst_bin_iterate_all_by_interface):
8397 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
8398 GTypes are gulongs and thus the top 4 bytes might be cut
8399 off on some platforms when doing GPOINTER_TO_INT, leading
8400 to invalid GTypes and bad things happening (see RH bug #179654).
8401 Also add a check to make sure the type passed in is really
8404 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8409 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8413 * gst-element-check.m4:
8414 * gst-element-check.m4.in:
8415 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
8416 instead of the unversioned gst-inspect (#324176, #168659).
8418 2006-07-06 Wim Taymans <wim@fluendo.com>
8421 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
8424 2006-07-06 Wim Taymans <wim@fluendo.com>
8426 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8427 (gst_base_src_wait), (gst_base_src_update_length),
8428 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
8429 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
8430 (gst_base_src_loop), (gst_base_src_start),
8431 (gst_base_src_activate_pull):
8433 blocksize == 0 now means the default blocksize when working in push
8435 Remove some pointless asserts in _wait function.
8436 Fix offset/length calculations and EOS handling. We can now pull 0
8437 bytes as well, which is allowed.
8438 use _check_get_range() to decide if we can operate in _pull based
8440 Fix refcounting leak when check_get_range function was not
8442 API GstBaseSrc::blocksize range can be 0 too now (default)
8444 * tests/check/elements/filesrc.c: (GST_START_TEST),
8446 Added check to test _get_range() behaviour.
8448 2006-07-06 Wim Taymans <wim@fluendo.com>
8450 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8451 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8452 (gst_pad_pull_range):
8454 Lots of comments and docs added to the pad functions.
8455 Flesh out the expected behaviour of the get_range() functions.
8457 2006-07-06 Wim Taymans <wim@fluendo.com>
8462 * gst/gstiterator.h:
8466 Remove comma at end of enumerator list.
8468 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
8470 * win32/common/libgstbase.def:
8471 * win32/common/libgstdataprotocol.def:
8472 * win32/common/libsgtreamer.def:
8473 Add new exported functions.
8475 2006-07-05 Wim Taymans <wim@fluendo.com>
8477 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8478 Add some more docs here and there.
8480 2006-07-05 Wim Taymans <wim@fluendo.com>
8482 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8483 (gst_base_sink_loop), (gst_base_sink_get_position):
8484 When operating in pull mode update the offset so that we
8487 2006-07-05 Wim Taymans <wim@fluendo.com>
8489 * gst/gstregistryxml.c: (read_string):
8490 Avoid strdup. (will happen in libxml, but hey!)
8495 2006-07-05 Wim Taymans <wim@fluendo.com>
8497 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8498 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8500 No point in checking if the size of the subbuffer > 0, the
8501 code handles it correclty as demonstrated by unit test.
8502 Also add a unit test for the zero sized _new_and_alloc and
8503 _copy. Fixes #346663.
8505 2006-07-05 Wim Taymans <wim@fluendo.com>
8507 * libs/gst/base/gstbasetransform.c:
8508 (gst_base_transform_prepare_output_buffer),
8509 (gst_base_transform_buffer_alloc),
8510 (gst_base_transform_handle_buffer):
8511 Make sure the buffer we pass to transform_ip has a refcount of
8512 1 and thus is writable. Fixes #343196
8514 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
8516 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8517 (gst_file_src_init), (gst_file_src_set_property),
8518 (gst_file_src_get_property), (gst_file_src_map_region):
8519 * plugins/elements/gstfilesrc.h:
8520 Add "sequential" property, off by default, to use madvise and hint
8521 to the kernel that sequential access is desired.
8522 Touch all retrieved pages by default to ensure they are pulled
8523 into memory. (Closes #345720)
8525 2006-07-03 Wim Taymans <wim@fluendo.com>
8527 * docs/design/part-block.txt:
8528 * docs/design/part-dynamic.txt:
8531 2006-07-03 Wim Taymans <wim@fluendo.com>
8533 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
8534 (gst_caps_unref), (gst_static_caps_get),
8535 (gst_caps_append_structure):
8536 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
8537 Use GSlice when the glib we build against is >= 2.10
8539 2006-07-03 Wim Taymans <wim@fluendo.com>
8541 * gst/gstelement.c: (gst_element_pads_activate):
8542 Small cleanup in pad activation code.
8544 2006-07-03 Wim Taymans <wim@fluendo.com>
8546 Patch by: Peter Kjellerstedt <pkj at axis dot com>
8548 * gst/gst-i18n-app.h:
8549 * gst/gst-i18n-lib.h:
8550 * tools/gst-inspect.c: (print_signal_info):
8551 The attached patch will make the inclusion of gettext.h unconditional in
8552 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8553 libintl.h in tools/gst-inspect.c.
8554 This allows use of --disable-nls again and fixes #344642.
8556 2006-07-03 Edward Hervey <edward@fluendo.com>
8558 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8559 Implement pad blocking on events according to part-block.txt.
8560 More comments on behaviour.
8561 * tests/check/gst/gstevent.c: (test_event):
8562 Send event to peer pad of blocked pad (else it will block).
8564 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8566 * libs/gst/check/gstcheck.c: (gst_check_message_error),
8567 (gst_check_run_suite):
8568 if we get the wrong message, give us the types as string
8569 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8571 * tests/check/elements/filesrc.c: (GST_START_TEST):
8572 add a test for trying to open a non-existing file
8574 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8576 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8577 add a test for adding self
8579 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8581 * libs/gst/check/gstcheck.h:
8582 add some assert_ as alias for fail_unless_*
8583 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8584 increase test coverage
8586 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8589 include lcov.mak for lcov coverage generation
8590 * tools/Makefile.am:
8593 2006-07-02 Edward Hervey <edward@fluendo.com>
8595 * tests/check/elements/.cvsignore:
8598 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8601 don't set CFLAGS and friends for gcov, done from GST_GCOV now
8602 * tests/check/Makefile.am:
8605 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8607 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8608 remove gst_caps_simplify; it was not declared and not used
8609 and deprecated in 0.8
8611 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8613 * docs/faq/gst-uninstalled:
8614 don't put empty paths on PYTHONPATH
8615 * docs/gst/gstreamer-sections.txt:
8616 remove some symbols that are not there
8618 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8620 * gst/gstcaps.c: (gst_caps_compare_structures):
8622 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8623 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8626 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8628 * libs/gst/dataprotocol/Makefile.am:
8629 build dataprotocol test by linking to the lib, instead of
8630 compiling the source, so we get coverage
8631 * tests/check/Makefile.am:
8632 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8633 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8634 add a test for filesrc
8636 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8638 * tests/check/gst/gststructure.c: (GST_START_TEST),
8639 (gst_structure_suite):
8640 Push coverage from 59.04% to 70.00%
8642 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8644 * tests/check/Makefile.am:
8645 gst-inspect every element; this makes sure that we also get
8646 coverage on element's get/set functions
8648 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8651 set CFLAGS and friends to -O0 if gcov is being used
8654 * libs/gst/base/Makefile.am:
8655 * libs/gst/check/Makefile.am:
8656 * libs/gst/controller/Makefile.am:
8657 * libs/gst/dataprotocol/Makefile.am:
8658 * libs/gst/net/Makefile.am:
8659 * plugins/elements/Makefile.am:
8660 * plugins/indexers/Makefile.am:
8661 add makefile rules to generate gcov data and clean up
8662 * tests/check/Makefile.am:
8663 add a coverage target that generates an html overview
8666 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8668 * tests/check/elements/fakesink.c:
8669 * tests/check/elements/fakesrc.c:
8670 * tests/check/elements/fdsrc.c:
8671 * tests/check/elements/identity.c:
8672 * tests/check/generic/sinks.c: (gst_sinks_suite):
8673 * tests/check/generic/states.c:
8674 * tests/check/gst/gst.c:
8675 * tests/check/gst/gstabi.c:
8676 * tests/check/gst/gstbin.c:
8677 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8678 * tests/check/gst/gstbus.c: (gst_bus_suite):
8679 * tests/check/gst/gstcaps.c: (GST_START_TEST):
8680 * tests/check/gst/gstelement.c:
8681 * tests/check/gst/gstevent.c: (gst_event_suite):
8682 * tests/check/gst/gstghostpad.c:
8683 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8684 * tests/check/gst/gstmessage.c: (gst_message_suite):
8685 * tests/check/gst/gstminiobject.c:
8686 * tests/check/gst/gstobject.c:
8687 * tests/check/gst/gstpad.c:
8688 * tests/check/gst/gstpipeline.c:
8689 * tests/check/gst/gstplugin.c:
8690 * tests/check/gst/gstquery.c: (gst_query_suite):
8691 * tests/check/gst/gstsegment.c: (gst_segment_suite):
8692 * tests/check/gst/gststructure.c:
8693 * tests/check/gst/gstsystemclock.c:
8694 * tests/check/gst/gsttag.c:
8695 * tests/check/gst/gsttask.c: (gst_task_suite):
8696 * tests/check/gst/gstutils.c:
8697 * tests/check/gst/gstvalue.c:
8698 * tests/check/libs/adapter.c:
8699 * tests/check/libs/basesrc.c:
8700 * tests/check/libs/collectpads.c:
8701 * tests/check/libs/controller.c:
8702 * tests/check/libs/gdp.c: (gst_dp_suite):
8703 * tests/check/libs/gstnetclientclock.c:
8704 * tests/check/libs/gstnettimeprovider.c:
8705 * tests/check/libs/libsabi.c: (libsabi_suite):
8706 * tests/check/libs/typefindhelper.c:
8707 * tests/check/pipelines/cleanup.c:
8708 * tests/check/pipelines/parse-launch.c:
8709 * tests/check/pipelines/simple-launch-lines.c:
8710 * tests/check/pipelines/stress.c: (stress_suite):
8713 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8715 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8716 * libs/gst/check/gstcheck.h:
8717 create a macro and function so that the simple unit test
8718 case can be just one macro to create main()
8720 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
8722 * gst/gstbin.c: (gst_bin_restore_thyself):
8723 * gst/gstxml.c: (gst_xml_make_element):
8724 Fix deserialisation from XML. Set parent manually
8725 instead of using gst_bin_add(), since gst_bin_add()
8726 will unlink all pads of the element being added.
8729 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
8731 Patch by: Peter Kjellerstedt <pkj at axis com>
8733 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8734 Fix missing g_strdup() and double free when using the
8735 --gst-plugin-load command line option (#346097).
8737 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
8740 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8742 * libs/gst/net/gstnetclientclock.c:
8743 * libs/gst/net/gstnettimeprovider.c:
8744 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8746 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
8748 * docs/manual/advanced-dataaccess.xml:
8749 Fix buffer probe example compilation in
8752 2006-06-22 Edward Hervey <edward@fluendo.com>
8754 * gst/gstelement.c: (gst_element_pads_activate):
8755 We need to deactivate src pads first and then sink pads.
8756 The reason is the src pads might be blocking while holding the streaming
8757 lock, so we need to deactivate them first so that deactivating the sink
8758 pads doesn't block (since it will require the streaming lock).
8760 2006-06-22 Wim Taymans <wim@fluendo.com>
8762 * libs/gst/base/gstbasetransform.c:
8763 (gst_base_transform_buffer_alloc):
8764 Forgot to remove two unneeded unrefs.
8765 Simplify a check _is_equal allready checks the obvious case.
8767 2006-06-22 Wim Taymans <wim@fluendo.com>
8769 * docs/design/part-block.txt:
8770 Some docs about what pad_block should do.
8772 2006-06-22 Wim Taymans <wim@fluendo.com>
8774 * gst/gstcaps.c: (gst_caps_replace):
8775 Fix crasher when passed NULL. Doc clarification.
8776 Optimize for the trivial case.
8778 * gst/gstpipeline.c: (gst_pipeline_change_state):
8781 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8782 Small documentation cleanup.
8784 * libs/gst/base/gstbasetransform.c:
8785 (gst_base_transform_buffer_alloc):
8786 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8787 is what we need and it avoids a whole lot of redundant
8788 refcount operations.
8790 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
8792 Patch by: Philip Jägenstedt <philip at lysator liu se>
8794 * docs/manual/advanced-dataaccess.xml:
8795 Fix 'Embedding static elements' section to use
8796 GST_PLUGIN_DEFINE_STATIC (#345607).
8798 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8800 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
8801 Attempt to 'fix' spuriously failing test case: it seems like the
8802 timeout of half a second is simply too small when the system is under
8803 load otherwise, and the timeout doesn't really seem to serve any
8804 particular purpose here. Give the pipeline a few seconds to preroll
8805 first, and then give it another half a second to go from PAUSED to
8806 PLAYING and marshal the message into the main thread.
8808 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8810 * tools/gst-feedback-m.m:
8811 Don't only use unversioned tools, try versioned tools as well
8814 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8816 * gst/gstbus.c: (gst_bus_class_init):
8817 Fix some typos, make docs more explicit.
8819 2006-06-20 Wim Taymans <wim@fluendo.com>
8821 * tests/check/gst/gstghostpad.c: (block_callback),
8822 (GST_START_TEST), (gst_ghost_pad_suite):
8823 Added some more ghostpad tests, mainly blocking
8826 2006-06-16 Wim Taymans <wim@fluendo.com>
8828 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8829 (gst_file_sink_close_file), (gst_file_sink_do_seek),
8830 (gst_file_sink_event), (gst_file_sink_render):
8831 * plugins/elements/gstfilesink.h:
8832 Check if we can seek in the file instead of assuming
8833 we always can. Post an error when we are asked to seek in a
8834 non-seekable file (like a fifo). Fixes #343312.
8837 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
8839 * tools/gst-launch.1.in:
8840 Un-garble (fourcc) bit in filtered caps section.
8842 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
8844 * docs/manual/advanced-autoplugging.xml:
8845 * docs/manual/basics-helloworld.xml:
8846 * docs/manual/highlevel-components.xml:
8847 Don't leak bus reference in sample code.
8849 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
8852 Add default for new --enable-plugin-docs switch.
8855 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
8859 Use new ENABLE_PLUGIN_DOCS conditional.
8861 2006-06-14 Wim Taymans <wim@fluendo.com>
8863 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
8864 Make it clear with a FIXME and a real define what the #if 0
8865 previously disabled.
8867 2006-06-14 Wim Taymans <wim@fluendo.com>
8869 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8870 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8871 * libs/gst/base/gstbasetransform.c:
8872 (gst_base_transform_sink_eventfunc):
8873 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8874 Don't randomly and silently reset a segment when the format
8875 changes as this is a bug somewhere upstream. Fixes #330379.
8877 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
8879 Patch by: Wouter Paesen <wouter at kangaroot net>
8881 * libs/gst/controller/gstcontroller.c:
8882 (gst_controlled_property_new):
8883 Fix controlling of float properties (#344849).
8885 * tests/check/libs/controller.c:
8886 (gst_test_mono_source_get_property),
8887 (gst_test_mono_source_set_property),
8888 (gst_test_mono_source_class_init), (GST_START_TEST):
8889 While we're at it, add some float stuff to unit test.
8891 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
8894 * docs/images/gdp-header.svg:
8896 * docs/libs/Makefile.am:
8897 * docs/libs/gdp-header.png:
8898 * libs/gst/dataprotocol/dataprotocol.c:
8899 add it to the API docs
8900 * docs/manual/intro-motivation.xml:
8903 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
8905 * gst/gst.c: (scan_and_update_registry), (init_post):
8906 If the fork()'ed child process can't write the updated registry cache
8907 file to disk for some reason, make it exit with a failure exit code,
8908 so that the parent can then re-scan the plugins itself and update the
8909 registry structures in memory and work with that (rather than failing
8910 when creating elements because seemingly no plugins are available).
8911 Refactor registry scanning code into separate function for this and
8912 also separate fork() and non-fork() code paths. Fixes #344748.
8914 2006-06-13 Wim Taymans <wim@fluendo.com>
8916 * docs/manual/advanced-dataaccess.xml:
8917 Fix wrong PluginDesc. Fixes #344755.
8919 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
8921 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8922 Fix silly bug that prevented us from creating
8923 ~/.gstreamer-0.10 and writing the registry in one
8924 go (the first call to g_mkstemp() would overwrite the
8925 placeholder in the template string, so the second call
8926 to g_mkstemp() after creating the missing directory
8927 would then error out with 'invalid argument').
8929 2006-06-13 Edward Hervey <edward@fluendo.com>
8931 * gst/gst.c: (init_post):
8934 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
8936 * gst/glib-compat-private.h:
8937 * gst/glib-compat.c:
8938 * gst/glib-compat.h:
8939 * gst/gstvalue.c: (gst_value_serialize_flags):
8940 remove GLib 2.6 compatibility code
8942 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
8944 * gst/parse/Makefile.am:
8945 Fix build with 'make -j N' even more (#340016).
8947 2006-06-12 Wim Taymans <wim@fluendo.com>
8949 * docs/gst/gstreamer-sections.txt:
8952 2006-06-12 Wim Taymans <wim@fluendo.com>
8954 * gst/gstsegment.c: (gst_segment_set_duration),
8955 (gst_segment_set_last_stop), (gst_segment_set_seek),
8956 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8957 (gst_segment_to_running_time), (gst_segment_clip):
8958 Use G_UNLIKELY to help the compiler a bit.
8960 2006-06-12 Wim Taymans <wim@fluendo.com>
8962 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8964 * gst/gstevent.c: (gst_event_get_type):
8966 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8968 constify quark registration strings. Fixes #344115
8969 Avoid unneeded type checking is _pad_push() by internally
8970 calling gst_pad_chain_unchecked().
8972 2006-06-12 Wim Taymans <wim@fluendo.com>
8974 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8975 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8976 (gst_subbuffer_finalize), (gst_buffer_create_sub),
8977 (gst_buffer_is_span_fast), (gst_buffer_span):
8978 Init _type for consistency.
8979 Use _FLAGS macro to avoid type check.
8980 Avoid unneeded type checks in subbufer code.
8982 2006-06-12 Wim Taymans <wim@fluendo.com>
8984 * gst/gst.c: (gst_debug_help):
8985 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8986 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8987 (gst_plugin_feature_list_free):
8988 * gst/gstregistry.c: (gst_registry_add_plugin),
8989 (gst_registry_add_feature), (gst_registry_plugin_filter),
8990 (gst_registry_feature_filter), (gst_registry_find_plugin),
8991 (gst_registry_find_feature), (gst_registry_get_plugin_list),
8992 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8993 * gst/gstregistryxml.c: (load_feature),
8994 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8995 * gst/gstminiobject.c: (gst_mini_object_unref),
8996 (gst_mini_object_replace), (gst_value_mini_object_free),
8997 (gst_value_mini_object_copy):
8998 Use _CAST macros to avoid unneeded type checking.
8999 Added some more G_UNLIKELY.
9001 2006-06-12 Wim Taymans <wim@fluendo.com>
9004 Avoid unneeded type checking.
9005 API: GST_BUFFER_IS_DISCONT
9007 * gst/gstminiobject.h:
9008 Avoid type check in flag accessor.
9010 * gst/gstelementfactory.h:
9012 * gst/gstpluginfeature.h:
9014 API: GST_ELEMENT_FACTORY_CAST
9015 API: GST_PLUGIN_CAST
9016 API: GST_PLUGIN_FEATURE_CAST
9018 2006-06-12 Wim Taymans <wim@fluendo.com>
9020 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
9022 Add G_UNLIKELY in type registration.
9023 Avoid type check in _ref/_unref since that is also
9026 2006-06-12 Wim Taymans <wim@fluendo.com>
9028 * gst/gsterror.c: (gst_g_error_get_type):
9029 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
9030 (gst_static_pad_template_get_type):
9031 * gst/gsttaglist.c: (gst_tag_list_get_type):
9032 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
9033 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
9034 * gst/gsturi.c: (gst_uri_handler_get_type):
9035 * gst/gstvalue.c: (gst_date_get_type):
9036 * gst/gstxml.c: (gst_xml_get_type):
9037 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
9038 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
9039 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
9040 Add G_UNLIKELY in type registration.
9042 2006-06-12 Wim Taymans <wim@fluendo.com>
9044 * tools/gst-inspect.c: (print_signal_info):
9045 Properly print enum values.
9047 2006-06-12 Wim Taymans <wim@fluendo.com>
9049 * gst/gstinfo.c: (gst_debug_set_active),
9050 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
9052 Add some G_[UN]LIKELY.
9053 Maintain __gst_debug_min to avoid formatting the arguments of
9054 debug messages that will be dropped anyway to avoid a lot of
9055 overhead from the debugging system.
9057 2006-06-11 Stefan Kost <ensonic@users.sf.net>
9061 add missing files containing translatable strings, tell intltool about
9064 2006-06-11 Stefan Kost <ensonic@users.sf.net>
9066 * tests/check/libs/.cvsignore:
9067 add test-binary to ignore list
9069 2006-06-11 Stefan Kost <ensonic@users.sf.net>
9071 * docs/libs/gstreamer-libs-docs.sgml:
9072 reorder (put dp into a chapter) and indent
9074 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
9079 === release 0.10.8 ===
9081 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
9084 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
9086 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
9088 * gst/gst.c: (init_post):
9089 move pid declaration to declaration block
9091 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
9093 * gst/gst.c: (init_post):
9094 use _exit() instead of exit() in our forked child; this ensures
9095 that none of the registered exit handlers from whatever is using
9096 GStreamer get executed. This fixes gnome-mixer-applet failing
9097 to load, because ORBit would shut down.
9098 Spotted by: Edward Hervey <edward@fluendo.com>
9099 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
9102 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9107 === release 0.10.7 ===
9109 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9112 releasing 0.10.7, "Soepeke, ik zie ou"
9114 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
9137 * win32/common/config.h:
9140 2006-06-07 Wim Taymans <wim@fluendo.com>
9142 * gst/gstindex.c: (gst_index_gtype_resolver):
9143 * tools/gst-xmlinspect.c: (print_plugin_info):
9144 Fix leak spotted by coverity checker. Fixes #343827
9145 Fix another other leak found by paolo borelli.
9147 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9149 * libs/gst/dataprotocol/dataprotocol.c:
9150 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
9151 (gst_dp_version_get_type), (gst_dp_init),
9152 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
9153 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
9154 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
9155 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
9156 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
9157 (gst_dp_packetizer_free):
9158 * libs/gst/dataprotocol/dataprotocol.h:
9159 API: add a GstDPPacketizer object, and create/free functions
9160 API: add GstDPVersion enum
9161 Add 1.0 event function that uses the string serialization
9162 Serialize more useful buffer flags
9165 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9167 * tests/check/Makefile.am:
9168 * tests/check/gst/gstabi.c:
9169 * tests/check/gst/struct_ppc64.h:
9170 * tests/check/libs/libsabi.c:
9171 * tests/check/libs/struct_ppc64.h:
9172 add ppc64 structure sizes
9174 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9176 * tests/check/Makefile.am:
9177 * tests/check/gst/gstabi.c:
9178 * tests/check/gst/struct_x86_64.h:
9179 * tests/check/libs/libsabi.c:
9180 * tests/check/libs/struct_x86_64.h:
9181 generate and add structure size lists for x86_64
9183 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9185 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
9186 * libs/gst/check/gstcheck.h:
9187 factor out the method from tests that checks size of structures,
9188 and add code to generate the header containing these sizes
9189 * tests/check/gst/gstabi.c: (GST_START_TEST):
9190 * tests/check/gst/struct_i386.h:
9191 * tests/check/libs/libsabi.c: (GST_START_TEST):
9192 * tests/check/libs/struct_i386.h:
9195 2006-06-06 Michael Smith <msmith@fluendo.com>
9198 Don't use c++-style comments, fixes #343929
9200 2006-06-05 Edward Hervey <edward@fluendo.com>
9203 plugin_paths is not used if we build without registry support.
9205 * gst/gstsegment.c: (gst_segment_copy):
9206 _copy() was always returning NULL...
9208 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9210 * libs/gst/dataprotocol/dataprotocol.c:
9211 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9212 (gst_dp_packet_from_event):
9215 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9217 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
9218 make sure we unset caps
9220 2006-06-02 Michael Smith <msmith@fluendo.com>
9222 * libs/gst/check/gstcheck.c: (gst_check_init),
9223 (gst_check_chain_func):
9224 * libs/gst/check/gstcheck.h:
9225 Add a cond/mutex to the check support lib, signal this whenever we
9226 add to the buffers list. This will allow tests to not busy-wait on
9229 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9231 * libs/gst/dataprotocol/dataprotocol.c:
9232 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9233 (gst_dp_packet_from_event):
9234 factor out some common header init code
9236 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9238 * docs/libs/gstreamer-libs-sections.txt:
9239 * docs/libs/tmpl/gstdataprotocol.sgml:
9240 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
9241 * libs/gst/dataprotocol/dataprotocol.h:
9242 API: make gst_dp_crc() public
9244 2006-06-01 Stefan Kost <ensonic@users.sf.net>
9246 * plugins/indexers/gstindexers.c: (plugin_init):
9247 conditionally register fileindexer (fixes #343598)
9249 2006-06-01 Stefan Kost <ensonic@users.sf.net>
9251 * gst/gsttagsetter.h:
9252 Can't cast ifaces to a class
9254 * libs/gst/net/gstnetclientclock.h:
9255 * libs/gst/net/gstnettimeprovider.h:
9256 * plugins/elements/gstfakesink.h:
9257 * plugins/elements/gstfakesrc.h:
9258 * plugins/elements/gstfdsink.h:
9259 * plugins/elements/gstfdsrc.h:
9260 * plugins/elements/gstfilesink.h:
9261 * plugins/elements/gstfilesrc.h:
9262 * plugins/elements/gstidentity.h:
9263 * plugins/elements/gstqueue.h:
9264 * plugins/elements/gsttee.h:
9265 * plugins/indexers/gstfileindex.c:
9266 * plugins/indexers/gstmemindex.c:
9267 * tests/old/examples/plugins/example.h:
9268 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
9270 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
9272 * libs/gst/dataprotocol/dataprotocol.c:
9273 (gst_dp_header_from_buffer):
9274 make sure we zero the whole ABI-compatible area
9276 2006-06-01 Wim Taymans <wim@fluendo.com>
9278 Patch by: Alessandro Decina <alessandro at nnva dot org>
9280 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
9281 Make sure the EOS flag is cleared from pads after a flush
9282 or stop. Fixes #343538.
9284 * tests/check/libs/collectpads.c: (GST_START_TEST),
9285 (gst_collect_pads_suite):
9286 Added test for collectpads reusage after EOS.
9288 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
9291 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
9292 * win32/common/libgstbase.def:
9293 export gst_collect_pads_set_flushing
9294 * win32/common/libgstreamer.def:
9295 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
9296 gst_value_fraction_multiply
9297 * win32/vs6/gst_inspect.dsp:
9298 add a link to intl.lib
9300 2006-05-30 Wim Taymans <wim@fluendo.com>
9302 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9303 (gst_collect_pads_chain):
9304 Handle the case where a pad is removed from the collection
9305 that could cause the other pads to become collectable.
9307 2006-05-30 Wim Taymans <wim@fluendo.com>
9310 Clarify the use of _release_request_pad() and
9311 _get_request_pad() a bit better.
9313 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
9314 (gst_adapter_take_buffer):
9315 Fix some doc and comment typos.
9317 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9319 * docs/gst/gstreamer-sections.txt:
9320 * docs/libs/gstreamer-libs-sections.txt:
9321 add declared symbols
9323 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
9325 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9326 Add debug that can be enabled using a #define at the top of the file,
9327 for dumping stats about how late/early we were when waking up from
9328 waiting on the clock.
9330 2006-05-30 Wim Taymans <wim@fluendo.com>
9332 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
9333 When rebuilding the pad list, don't leak the previous list.
9335 2006-05-30 Wim Taymans <wim@fluendo.com>
9337 Patch by: Lutz Mueller <lutz at topfrose dot de>
9339 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9340 (gst_base_src_get_query_types), (gst_base_src_update_length):
9341 Publish supported query types.
9342 Update last_stop field in get_range mode so the position
9343 query works. Fixes #342321.
9345 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
9347 * docs/gst/gstreamer-sections.txt:
9348 * gst/gsttaglist.c: (_gst_tag_initialize):
9350 API: add GST_TAG_PREVIEW_IMAGE (#343341).
9352 2006-05-30 Wim Taymans <wim@fluendo.com>
9354 Patch by: Alessandro Decina <alessandro at nnva dot org>
9356 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9357 Unlock mutex when removing an unknown pad.
9360 * tests/check/Makefile.am:
9361 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
9362 (push_event), (setup), (teardown), (GST_START_TEST),
9363 (gst_collect_pads_suite), (main):
9364 Added collecpads check, disabled for now as check crashes for
9367 2006-05-29 Wim Taymans <wim@fluendo.com>
9369 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
9370 Don't leak pads lists.
9372 2006-05-29 Wim Taymans <wim@fluendo.com>
9374 * docs/libs/gstreamer-libs-sections.txt:
9375 * libs/gst/base/gstcollectpads.c:
9376 (gst_collect_pads_set_flushing_unlocked),
9377 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9378 (gst_collect_pads_stop):
9379 * libs/gst/base/gstcollectpads.h:
9380 API: gst_collect_pads_set_flushing()
9381 Added api to set the pads to flushing, useful for seeking
9382 code in elements using collectpads.
9383 Clear segment when receiving a flush.
9385 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
9387 * gst/gst.c: (add_path_func), (init_post):
9388 Don't scan registry paths passed via --gst-plugin-path immediately
9389 (will crash, because absolutely nothing is set up and no types are
9390 registered etc.); do this later in init_post(). Fixes #343057.
9392 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
9394 * gst/gst.c: (init_post):
9395 if we have fork, fork while reading/rebuilding the registry
9396 so the parent doesn't take the hit of having all plugins loaded
9397 in memory. Fixes #342777.
9399 Check if we have fork()
9400 * win32/common/config.h.in:
9403 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
9405 * plugins/elements/gstelements.c:
9406 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9407 (gst_file_src_init), (gst_file_src_set_property),
9408 (gst_file_src_get_property), (gst_file_src_start):
9409 * plugins/elements/gstfilesrc.h:
9410 API: GstFileSrc::use-mmap
9412 Add a use-mmap property to enable easier testing of all code paths.
9413 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
9414 in the absence of gnomevfssrc. (Closes #340501)
9416 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9418 * tools/gst-inspect.c:
9419 Add missing include, removes warning of ngettext not being defined on
9422 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
9424 * gst/gstvalue.c: (gst_value_deserialize_fraction):
9425 Handle NULL input and output pointers silently as a failed conversion,
9426 rather than g_warnings.
9428 2006-05-25 Wim Taymans <wim@fluendo.com>
9430 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
9431 Initialize variable before using. Fixes #342820.
9433 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
9435 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
9436 Fix off-by-one bug that would only allow peeks of N-1 bytes
9437 from the start even if the buffer to typefind on contains
9438 in fact N bytes of data (makes vorbis typefinding from a
9439 vorbis identification header buffer work).
9441 * tests/check/Makefile.am:
9442 * tests/check/libs/.cvsignore:
9443 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9444 (gst_typefindhelper_suite), (main), (foobar_typefind),
9446 Add very basic unit test for gst_type_find_helper_for_buffer()
9447 that checks for the problem fixed above.
9449 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
9451 * tools/gst-inspect.c: (print_interfaces),
9452 (print_element_properties_info), (print_element_list), (main):
9453 add more translatable strings
9455 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
9457 Patch by: Julien Moutte <julien at moutte net>
9459 * docs/gst/gstreamer-sections.txt:
9460 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9462 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9463 (gst_fake_sink_preroll):
9464 * plugins/elements/gstfakesink.h:
9465 API: Add new GstFakeSink::preroll-handoff signal (#337100).
9467 2006-05-23 Wim Taymans <wim@fluendo.com>
9469 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9471 Added _CUSTOM error and success GstFlowReturn that can be
9472 used be elements internally.
9473 Added macro to check for SUCCESS flowreturns.
9474 API: GST_FLOW_CUSTOM_SUCCESS
9475 API: GST_FLOW_CUSTOM_ERROR
9476 API: GST_FLOW_IS_SUCCESS
9478 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9479 Added check for GstFlowReturn sanity.
9481 2006-05-23 Wim Taymans <wim@fluendo.com>
9483 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9485 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9486 (gst_collect_pads_event):
9487 clear/reset segment info in FLUSH_STOP.
9490 2006-05-22 Stefan Kost <ensonic@users.sf.net>
9492 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9493 (gst_collect_pads_check_collected):
9494 Flush queued buffer on _stop(), fixes playing again (#342454)
9496 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
9498 * tests/check/gst/gststructure.c: (GST_START_TEST),
9499 (gst_structure_suite):
9500 add a test for a complete structure
9502 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
9504 * docs/faq/developing.xml:
9506 * docs/faq/troubleshooting.xml:
9507 * docs/faq/using.xml:
9508 Some minor FAQ updates that won't change the fact that
9509 our FAQ is badly structured, full of information hardly
9510 anyone new to GStreamer needs to know and lacking lots
9511 of information people constantly ask for.
9513 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
9515 * gst/gstpad.c: (gst_pad_set_caps):
9516 Short-circuit gst_pad_set_caps if setting the existing
9517 caps pointer again, and avoid printing debug and
9518 reffing/unreffing the caps.
9520 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9521 There's actually no need to set the caps before pushing -
9522 the acceptcaps method will handle it anyway.
9524 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
9526 * docs/gst/gstreamer-sections.txt:
9527 * win32/common/libgstreamer.def:
9528 * gst/gstutils.c: (gst_element_seek_simple):
9530 API: add gst_element_seek_simple() (#342238).
9532 2006-05-18 Edward Hervey <edward@fluendo.com>
9534 * gst/gsttypefind.c: (gst_type_find_get_type):
9535 * gst/gsttypefind.h:
9536 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
9537 registered for GstTypeFind pointers. This allows wrapping the structure
9538 in bindings (i.e. gst-python).
9540 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
9542 * gst/gsttagsetter.c:
9543 Docs additions and fixes (see #339918).
9545 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
9547 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9548 The caps intersection algorithm can produce multiple copies of the
9549 caps. Until that is fixed, we need to simplify the result to be
9550 sure whether the allowed caps are fixed or not.
9552 * plugins/elements/gstqueue.c: (gst_queue_init),
9553 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9554 (gst_queue_push_one):
9555 Proxied buffer alloc should not set the caps on the source pad.
9556 When pushing buffers, we always accept the caps change that triggers.
9557 This prevents negotiation errors caused by caps changing mid-stream
9558 and then being refused on our source pad (because upstream is now
9559 refusing those caps).
9561 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
9563 * tests/examples/helloworld/helloworld.c: (main):
9564 Must plug audioconvert and audioresample between decoder
9567 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
9569 * gst/gstregistryxml.c: (read_string), (load_pad_template),
9570 (load_feature), (load_plugin):
9571 Allow empty strings for some of the plugin fields so we don't
9572 drop valid plugin entries that were written out correctly
9575 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
9577 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9578 Use g_remove and g_rename instead of remove and rename that don't
9579 handle utf8 characters. rename was failing for users who had specific
9580 characters in their name then the registry was built at each
9582 * win32/vs6/gst_inspect.dsp:
9583 * win32/vs6/gst_launch.dsp:
9584 * win32/vs6/libgstbase.dsp:
9585 * win32/vs6/libgstcoreelements.dsp:
9586 * win32/vs6/libgstreamer.dsp:
9587 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
9588 build of libgstreamer and clean unused libraries in projects link
9591 2006-05-17 Edward Hervey <edward@fluendo.com>
9593 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9594 The queue is not responsible for pushing an EOS when receiving a fatal
9595 flow error. It's up to the real element driving the pipeline to do that.
9597 2006-05-16 Edward Hervey <edward@fluendo.com>
9599 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9600 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9601 buffer returned a fatal error. It should just send an EOS and stop
9603 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9604 when pushing buffers on the queue and will be able to handle the event.
9606 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
9608 * docs/manual/basics-bins.xml:
9609 * docs/manual/basics-init.xml:
9610 Fix typos and minor errors in sample code (#341856).
9612 2006-05-16 Wim Taymans <wim@fluendo.com>
9614 * docs/design/part-qos.txt:
9615 Fix indexes in formulas to make more sense.
9617 2006-05-15 Wim Taymans <wim@fluendo.com>
9619 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9620 Don't report POSITION based on clock time if sync is
9623 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
9626 Add cast to make compiler happy - refcount variable was a gint
9627 in GstObject but is a guint in GObject and g_atomic_int_get()
9630 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
9632 * gst/parse/Makefile.am:
9633 chain commands using &&, which also makes parallel make work
9635 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
9637 * docs/gst/gstreamer-sections.txt:
9643 === release 0.10.6 ===
9645 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
9648 releasing 0.10.6, "Take the cannoli"
9650 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
9652 * tools/gst-launch.c: (print_tag):
9653 Fix use of uninitialized variable in the hypothetical
9654 case that some broken plugin creates a GST_TAG_IMAGE
9655 tag containing a NULL buffer (#341667).
9657 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
9659 * tools/gst-launch.c: (print_tag):
9660 Print something more intelligible for image tags when
9661 using the -t switch (#341556).
9663 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
9668 define GST_MAJORMINOR so we have it available in win32/common/config.h
9669 Possibly remove it from our Makefile.am files later
9670 * win32/common/config.h:
9671 * win32/common/config.h.in:
9672 added GST_MAJORMINOR
9673 * win32/common/gstenumtypes.c: (register_gst_resource_error):
9674 * win32/common/gstversion.h:
9677 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
9680 Update win32 files listing.
9681 * win32/common/gstversion.h:
9682 Add GST_MAJORMINOR definition.
9683 * win32/common/libgstreamer.def:
9684 Add new exported functions.
9686 2006-05-12 Michael Smith <msmith@fluendo.com>
9688 * gst/gstplugin.c: (gst_plugin_load_file):
9689 If an so file has no plugin entry point, unload the module.
9691 2006-05-11 Wim Taymans <wim@fluendo.com>
9693 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9694 (gst_queue_set_property):
9695 Don't forget to signal the _chain or _loop function
9696 when the queue size or thresholds change since that might
9697 cause them to make progres again.
9699 2006-05-11 Stefan Kost <ensonic@users.sf.net>
9701 * gst/gstclock.c: (gst_clock_class_init):
9702 * gst/gstindex.c: (gst_index_class_init):
9703 * gst/gstobject.c: (gst_object_class_init):
9704 * gst/gstpad.c: (gst_pad_class_init):
9705 * gst/gstpipeline.c: (gst_pipeline_class_init):
9706 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9707 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9708 * libs/gst/base/gstbasetransform.c:
9709 (gst_base_transform_class_init):
9710 * libs/gst/net/gstnetclientclock.c:
9711 (gst_net_client_clock_class_init):
9712 * libs/gst/net/gstnettimeprovider.c:
9713 (gst_net_time_provider_class_init):
9714 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9715 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9716 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9717 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9718 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9719 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9720 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9721 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9722 * plugins/elements/gsttee.c: (gst_tee_class_init):
9723 * tests/old/examples/plugins/example.c: (gst_example_class_init):
9724 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9725 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9727 2006-05-11 Wim Taymans <wim@fluendo.com>
9729 * gst/gstbuffer.c: (_gst_buffer_initialize):
9730 Register subbufer along with the buffer type so that
9731 it does not accidentally gets registered from N
9732 different streaming threads in a non threadsafe way.
9734 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
9739 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9740 gst_event_ref() and gst_message_ref() functions again
9741 (ugly hack, please do fix if there's a better way besides
9742 overrides.txt, which doesn't seem to work).
9744 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9746 * libs/gst/check/gstcheck.h:
9747 add an assert for setting state to avoid lots of repetitive code
9750 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9752 * gst/gstvalue.c: (gst_value_serialize_flags):
9753 fix a leak if no flags are set
9754 * tests/check/gst/gstvalue.c: (GST_START_TEST):
9757 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
9759 * docs/manual/basics-pads.xml:
9760 Expand a bit on caps and filtered links and update
9761 examples that were still using the no longer existing
9762 gst_pad_link_filtered() (#338206).
9764 2006-05-10 Wim Taymans <wim@fluendo.com>
9766 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9767 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9768 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9769 (gst_collect_pads_stop):
9770 * libs/gst/base/gstcollectpads.h:
9771 No need to call _stop in _finalize.
9772 Iterate the main pad list in _finalize.
9773 Added some more debug.
9774 Free lists and data in the right order.
9775 Also free data whem doing _remove_pad when stopped for
9776 backward compatibility protect ::started with PAD_LOCK as
9779 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9781 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9782 (gst_structure_parse_value):
9784 rename a method so that it actually says what it does better
9786 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9788 * gst/gstevent.c: (_gst_event_initialize):
9789 * gst/gstformat.c: (_gst_format_initialize):
9790 make sure some essential types used by events are registered
9791 as part of gst_init()
9792 * gst/gstvalue.c: (gst_value_serialize_flags):
9793 if no flags are set, serialize them to a value that represents NONE
9794 so that deserializing them works
9795 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9796 add tests for serialization and deserialization of flags
9798 2006-05-10 Wim Taymans <wim@fluendo.com>
9800 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
9801 (gst_collect_pads_collect_range), (gst_collect_pads_available),
9802 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
9803 (gst_collect_pads_event), (gst_collect_pads_chain):
9806 Catch and return errors from the collect function
9807 Refuse data on eos pads.
9809 2006-05-10 Edward Hervey <edward@fluendo.com>
9811 * gst/gstinterface.h:
9812 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
9813 GInterface type checking.
9814 They were previously using non-defined macros.
9816 2006-05-09 Wim Taymans <wim@fluendo.com>
9818 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
9819 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
9820 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
9821 (gst_collect_pads_start), (gst_collect_pads_stop),
9822 (gst_collect_pads_peek), (gst_collect_pads_pop),
9823 (gst_collect_pads_available), (gst_collect_pads_read),
9824 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
9825 (gst_collect_pads_is_collected), (gst_collect_pads_event),
9826 (gst_collect_pads_chain):
9827 * libs/gst/base/gstcollectpads.h:
9828 Clean up the mess that is collectpads, add comments and
9829 FIXMEs where needed.
9830 Maintain a separate pad list so we can add pads while
9831 collecting the other ones. For this we need a new separate
9833 Fix memory leak in finalize.
9834 Refactor some weird code to set/unset pad flushing flags, mark
9836 Don't crash in _available, _read, _flush when we're EOS.
9838 * tests/check/libs/.cvsignore:
9839 Ignore adapter check binary.
9841 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9843 * gst/gstindex.c: (gst_index_resolver_get_type):
9844 * plugins/elements/gstfakesink.c:
9845 (gst_fake_sink_state_error_get_type):
9846 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9847 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
9848 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9849 Const-ify GEnumValue arrays.
9851 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9853 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9854 Add test case for flags + gst_buffer_make_metadata_writable().
9856 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9858 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
9859 gst_buffer_make_metadata_writable() should maintain the
9860 buffer flags (those that make sense at least) (see #340859).
9862 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9864 * tools/gst-inspect.c:
9865 * tools/gst-launch.c:
9866 * tools/gst-typefind.c:
9867 * tools/gst-xmlinspect.c:
9869 Fix up includes: need to include stdlib.h in tools.h for exit().
9871 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9873 * gst/gsttaglist.c: (_gst_tag_initialize):
9875 API: add GST_TAG_IMAGE tag (#340721).
9877 2006-05-08 Wim Taymans <wim@fluendo.com>
9880 Added some docs for the segment query.
9882 2006-05-08 Wim Taymans <wim@fluendo.com>
9884 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9885 (gst_base_src_loop), (gst_base_src_change_state):
9886 Always push non-flushing serialized events in the streaming
9889 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
9891 * gst/gsterror.c: (_gst_stream_errors_init):
9892 Add a missing error string.
9894 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
9896 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9897 Add applied_rate to the debug
9899 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9900 Copy applied_rate into the outgoing NEWSEGMENT event
9902 2006-05-08 Wim Taymans <wim@fluendo.com>
9904 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9906 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9907 (gst_base_sink_change_state):
9908 call ::unlock before taking the PREROLL_LOCK so we can safely
9909 handle elements that lock in ::render.
9912 2006-05-08 Edward Hervey <edward@fluendo.com>
9914 * autogen.sh: (CONFIGURE_DEF_OPT):
9915 Darwin's libtoolize is in fact called glibtoolize.
9916 Adding glibtoolize to the list of accepted names for libtoolize.
9918 2006-05-08 Wim Taymans <wim@fluendo.com>
9920 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9921 Unify error handling, don't post an error message
9922 when a push() returns EOS but perform our normal EOS
9923 handling code. Fixes #340772.
9925 2006-05-08 Wim Taymans <wim@fluendo.com>
9927 * docs/design/part-overview.txt:
9928 Make upsteam/downstream concepts more clear.
9929 Give an example of serialized/non-serialized events.
9931 * docs/design/part-events.txt:
9932 * docs/design/part-streams.txt:
9933 Mention applied_rate.
9935 * docs/design/part-trickmodes.txt:
9936 Mention applied rate, flesh out some more use cases.
9938 * gst/gstevent.c: (gst_event_new_new_segment),
9939 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9940 (gst_event_parse_new_segment_full), (gst_event_new_tag),
9941 (gst_event_parse_tag), (gst_event_new_buffer_size),
9942 (gst_event_parse_buffer_size), (gst_event_new_qos),
9943 (gst_event_parse_qos), (gst_event_parse_seek),
9944 (gst_event_new_navigation):
9946 Add applied_rate field to NEWSEGMENT event.
9947 API: gst_event_new_new_segment_full()
9948 API: gst_event_parse_new_segment_full()
9950 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9951 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9952 (gst_segment_to_stream_time), (gst_segment_to_running_time):
9954 Add applied_rate to GstSegment structure.
9955 Make calculation of stream_time and running_time more correct
9956 wrt rate/applied_rate.
9958 API: GstSegment::applied_rate field
9959 API: gst_segment_set_newsegment_full();
9961 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9962 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9963 * libs/gst/base/gstbasetransform.c:
9964 (gst_base_transform_sink_eventfunc),
9965 (gst_base_transform_handle_buffer):
9966 Parse and use applied_rate in the GstSegment field.
9968 * tests/check/gst/gstevent.c: (GST_START_TEST):
9969 Add check for applied_rate field.
9971 * tests/check/gst/gstsegment.c: (GST_START_TEST),
9972 (gstsegments_suite):
9973 Add more checks for various GstSegment operations.
9975 2006-05-08 Wim Taymans <wim@fluendo.com>
9977 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9978 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9979 (gst_base_sink_get_position), (gst_base_sink_change_state):
9980 Store the sync time of the buffer end position separatly in a
9981 new variable eos_rtime so we can properly sync the EOS event.
9983 Fix the docs for gst_base_sink_set_qos_enabled().
9984 Don't set segment start to invalid value when we receive a
9985 non TIME newsegment.
9986 get closer to handling position reporting for negative rates
9989 2006-05-07 Stefan Kost <ensonic@users.sf.net>
9992 Docs about how to print caps for debug purposes.
9994 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9995 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9997 2006-05-07 Stefan Kost <ensonic@users.sf.net>
10000 use full enum names and preprend a '%' in docs strings to make recent
10001 gtk-doc turn that into a link
10003 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
10005 * docs/manual/basics-bins.xml:
10006 * docs/manual/basics-bus.xml:
10007 * docs/manual/basics-pads.xml:
10008 Some typo fixes, some additions, some clarifications.
10010 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
10012 * tools/gst-inspect.c: (main):
10013 * tools/gst-launch.c: (main):
10014 * tools/gst-run.c: (main):
10015 * tools/gst-typefind.c: (main):
10016 * tools/gst-xmlinspect.c: (main):
10017 Use the string passed to g_option_context_new() for
10018 what it's intended for - the program name is already
10021 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
10023 * tools/Makefile.am:
10024 * tools/gst-inspect.c: (main):
10025 * tools/gst-launch.c: (main):
10026 * tools/gst-xmlinspect.c: (main):
10028 Add back --version command line option (#340460).
10030 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
10031 Add --version option and use GOption for argument parsing; refactor a
10032 bit; accept directories as arguments and recurse into them; lastly,
10033 print a decent error message when things go wrong.
10035 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
10037 * docs/manual/basics-bins.xml:
10038 Don't mention GstThread (#340611)
10039 * docs/manual/basics-elements.xml:
10040 Update link to GObject tutorial (#340607)
10042 2006-05-05 Wim Taymans <wim@fluendo.com>
10045 * gst/gstminiobject.c:
10046 Add note about refcounting and miniobject/buffer writeability
10047 to docs. Fixes #340604
10049 * gst/gstelementfactory.h:
10050 Added some explanation about @klass.
10052 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
10054 * docs/manual/intro-motivation.xml:
10055 * docs/manual/manual.xml:
10056 Avoid CORBA & Bonobo references (#340598)
10058 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
10060 * docs/manual/basics-bus.xml:
10061 * docs/manual/basics-pads.xml:
10062 Fix up some inaccuracies and omissions (#340609)
10064 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
10066 * gst/gstghostpad.c:
10067 Small typo in docs (#340625)
10069 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
10071 * gst/parse/Makefile.am:
10072 Make 'make -j' proof (see #340698).
10074 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
10077 Require GLib-2.8 here as well.
10079 2006-05-05 Wim Taymans <wim@fluendo.com>
10081 * gst/glib-compat.c:
10082 * gst/gst.c: (init_pre):
10083 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10084 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
10085 (gst_object_dispatch_properties_changed):
10087 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10088 * gst/gststructure.c: (gst_structure_set_valist):
10089 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10090 Remove pre glib2.8 compatibility, fixes #340508
10092 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
10094 * gst/gsttaglist.h:
10095 Mention type of tags in doc blurbs.
10097 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
10099 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10100 (gst_pad_configure_src), (gst_pad_push):
10101 Restore acceptcaps checking behaviour now that good plugins have
10104 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
10106 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
10113 * gst/gstmessage.c:
10117 * gst/parse/Makefile.am:
10118 * libs/gst/base/gstadapter.c:
10119 * libs/gst/base/gstbasesrc.c:
10120 * libs/gst/base/gstpushsrc.c:
10121 * libs/gst/base/gsttypefindhelper.c:
10122 * plugins/elements/gstfakesrc.c:
10123 * plugins/elements/gstidentity.c:
10124 Make sure gstprivate.h and/or config.h are
10125 always included first, otherwise some of our
10126 defines (like _FILE_OFFSET_BITS) might be
10127 redefined in the system headers. Fixes build
10128 on opensolaris (#340016).
10130 2006-05-04 Wim Taymans <wim@fluendo.com>
10132 * docs/libs/gstreamer-libs-sections.txt:
10133 API: addition: gst_adapter_take_buffer()
10135 * libs/gst/base/gstadapter.c: (gst_adapter_push),
10136 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
10137 (gst_adapter_available_fast):
10138 * libs/gst/base/gstadapter.h:
10139 Prepare for optimizing the hell out of this hugely inefficient
10141 Added gst_adapter_take_buffer() so we can at least start thinking
10142 about subbuffering and merging.
10143 Added some comments.
10145 * tests/check/Makefile.am:
10146 * tests/check/libs/adapter.c: (GST_START_TEST),
10147 (gst_adapter_suite), (main):
10148 Added GstAdapter check.
10150 2006-05-04 Wim Taymans <wim@fluendo.com>
10152 * docs/design/part-overview.txt:
10153 Fix some typos, add blurb about buffer flags.
10155 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
10157 * docs/libs/gstreamer-libs-sections.txt:
10158 make sure GstBaseTransformClass shows up in the docs
10159 * libs/gst/base/gstbasetransform.c:
10160 * libs/gst/base/gstbasetransform.h:
10161 move docs so gtk-doc picks it up now
10163 2006-05-02 Stefan Kost <ensonic@users.sf.net>
10165 * docs/libs/gstreamer-libs-sections.txt:
10166 add missing symbols to docs
10168 2006-05-02 Stefan Kost <ensonic@users.sf.net>
10170 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10171 back out the newsegment handling change, see #340060 for ongoing
10174 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
10176 * tools/gst-run.c: (get_candidates), (main):
10177 Fix wrong g_file_test() usage (see glib docs for why it doesn't
10178 work); fix typo in error message. Fixes #340079.
10180 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
10182 * common/Makefile.am:
10183 * docs/Makefile.am:
10184 * docs/faq/Makefile.am:
10185 * docs/gst/Makefile.am:
10186 * docs/libs/Makefile.am:
10187 * docs/manual/Makefile.am:
10188 * docs/plugins/Makefile.am:
10189 * docs/pwg/Makefile.am:
10190 * docs/slides/Makefile.am:
10192 * common/upload.mak:
10193 move upload.mak to common
10195 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
10197 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10198 add more asserts on refcounts
10199 do more cleanup at end of tests
10200 fix test leaks showing in FC5
10202 2006-04-29 Stefan Kost <ensonic@users.sf.net>
10204 * plugins/elements/gsttypefindelement.c:
10205 (gst_type_find_element_handle_event):
10206 reverted wrong change and reflowed code to avoid others falling into
10209 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10211 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10212 fix changelog entry about last collectpads change,
10213 add notes about proper fix
10215 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10218 * gst/gstregistry.c: (gst_registry_scan_path_level),
10219 (gst_registry_scan_path):
10220 * gst/gstregistry.h:
10221 only write out registry if it has changed, fixes #338339
10223 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10226 * gst/gstpipeline.c:
10227 * plugins/elements/gstcapsfilter.c:
10228 * plugins/elements/gstfakesink.c:
10229 * plugins/elements/gstfakesrc.c:
10230 * plugins/elements/gstfdsink.c:
10231 * plugins/elements/gstfdsrc.c:
10232 * plugins/elements/gstfilesink.c:
10233 * plugins/elements/gstfilesrc.c:
10234 * plugins/elements/gstidentity.c:
10235 * plugins/elements/gstqueue.c:
10236 * plugins/elements/gsttee.c:
10237 * plugins/elements/gsttypefindelement.c:
10238 (gst_type_find_element_handle_event):
10239 make GstElementDetails const
10241 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10243 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
10244 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
10245 (gst_collect_pads_is_collected), (gst_collect_pads_event):
10246 more detailed debug and formatting cleanup,
10247 forward newsegments to src-pad (so that e.g. adder not eats them)
10249 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10251 * gst/gstutils.c: (gst_element_link_pads):
10252 cleanup double code
10254 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10256 * libs/gst/controller/gstcontroller.c:
10257 (gst_controller_sync_values):
10259 * tests/check/libs/controller.c: (GST_START_TEST),
10260 (gst_controller_suite):
10261 a new test for live value handling
10263 2006-04-28 Wim Taymans <wim@fluendo.com>
10265 * gst/gstutils.c: (push_and_ref):
10266 Added some more docs.
10267 Fix refcount issue whith gst_element_found_tags() helper
10268 function. Fixes #338335
10270 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10271 Added testsuite for gst_element_found_tags().
10273 2006-04-28 Michael Smith <msmith@fluendo.com>
10275 * gst/gstvalue.c: (gst_value_serialize_flags):
10276 Avoid NULL dereference when trying to serialize flags containing
10279 2006-04-28 Michael Smith <msmith@fluendo.com>
10281 * plugins/elements/gsttypefindelement.c:
10282 (gst_type_find_element_handle_event):
10283 If we get EOS before any data is accumulated, don't use
10284 uninitialised local variables.
10286 2006-04-28 Michael Smith <msmith@fluendo.com>
10288 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10289 (gst_dp_event_from_packet):
10290 Fixes in reading/writing events over GDP (not currently used?) -
10291 dereferencing NULL events for unknown/invalid event types, memory
10292 leak, and change g_warning to GST_WARNING.
10294 2006-04-28 Wim Taymans <wim@fluendo.com>
10296 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
10297 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10298 (gst_base_sink_get_position), (gst_base_sink_change_state):
10299 When frame dropping is enabled, we should not ignore frames
10300 without a duration.
10301 Update some documentation.
10303 2006-04-28 Wim Taymans <wim@fluendo.com>
10305 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10306 (gst_base_src_send_event), (gst_base_src_change_state):
10307 Documentation updates.
10309 2006-04-28 Wim Taymans <wim@fluendo.com>
10311 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
10312 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
10313 handle EAGAIN, EINTR and short writes correctly. Also clean
10314 up some error cases, avoid a deadlock on bad file descriptors and
10315 use GST_DEBUG_OBJECT.
10318 2006-04-28 Wim Taymans <wim@fluendo.com>
10320 * gst/gstvalue.c: (gst_value_serialize_buffer),
10321 (gst_value_deserialize_buffer):
10322 Don't try to serialize a GValue with a NULL buffer.
10325 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10326 Added check for serialisation of NULL buffers.
10328 2006-04-28 Wim Taymans <wim@fluendo.com>
10330 * gst/gstminiobject.c: (gst_value_take_mini_object):
10331 Taking a NULL miniobject is valid, fix the case where
10332 we try to unref the NULL miniobject.
10334 2006-04-28 Wim Taymans <wim@fluendo.com>
10336 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10338 * gst/gstbin.c: (gst_bin_handle_message_func):
10340 Don't leak bin refcount when a state recalc is
10341 in progress and we delay another one #339808.
10343 2006-04-28 Wim Taymans <wim@fluendo.com>
10345 * docs/design/part-TODO.txt:
10346 Mention QoS as an ongoing work item.
10348 * docs/design/part-buffering.txt:
10349 New doc about buffering that needs to be fleshed out
10352 * docs/design/part-qos.txt:
10353 More QoS policy for decoders/demuxers/transforms
10355 * docs/design/part-trickmodes.txt:
10358 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
10363 === release 0.10.5 ===
10365 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
10368 releasing 0.10.5, "Fogo"
10370 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
10372 patch by: Wim Taymans
10374 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10375 (gst_pad_configure_src), (gst_pad_push):
10376 * gst/gstpipeline.c: (gst_pipeline_init):
10377 Fix internal data flow errors. Fixes #338711.
10379 2006-04-12 Wim Taymans <wim@fluendo.com>
10381 * tests/check/gst/gstelement.c: (GST_START_TEST):
10382 Don't leak the factory.
10384 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
10387 * win32/common/config.h:
10390 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
10392 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10393 (gst_controller_unset_all):
10394 Free allocated GstTimedValues when freeing list nodes.
10395 Should fix leaks 'make check-valgrind' complains about.
10397 * win32/common/libgstcontroller.def:
10398 Add gst_controller_unset_all.
10400 2006-04-11 Stefan Kost <ensonic@users.sf.net>
10402 * docs/libs/gstreamer-libs-sections.txt:
10403 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10404 (gst_controller_unset_all):
10405 * libs/gst/controller/gstcontroller.h:
10406 API: Added new method gst_controller_unset_all()
10407 fixed gst_controller_unset()
10408 * tests/check/libs/controller.c: (GST_START_TEST),
10409 (gst_controller_suite):
10410 Added two testcases for new and fixed method
10412 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
10414 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10415 MSG_DONTWAIT is not defined on Cygwin, so work
10416 around that (fixes #317048).
10418 2006-04-11 Wim Taymans <wim@fluendo.com>
10420 * gst/gstelementfactory.c: (gst_element_register),
10421 (gst_element_factory_create), (gst_element_factory_make):
10424 Updated docs (Fixes #131079)
10426 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10429 * tests/check/gst/gstelement.c: (GST_START_TEST),
10430 (gst_element_suite):
10431 Added testcase for elementfactory class field.
10433 2006-04-10 Wim Taymans <wim@fluendo.com>
10435 * gst/gstsegment.c:
10436 Added some more docs.
10438 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
10439 (gst_base_sink_reset_qos):
10440 Calculate more accurate rate values.
10442 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
10444 * gst/gst_private.h:
10445 add a new #ifdef to use __declspec(dllimport) only for
10446 other modules and not for gstreamer core
10447 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10448 use gst_guint64_to_gdouble for conversion
10449 * win32/common/libgstreamer.def:
10450 add new exported functions
10451 * win32/vs6/gst_inspect.dsp:
10452 * win32/vs6/gst_launch.dsp:
10453 * win32/vs6/libgstbase.dsp:
10454 * win32/vs6/libgstcontroller.dsp:
10455 * win32/vs6/libgstcoreelements.dsp:
10456 * win32/vs6/libgstdataprotocol.dsp:
10457 * win32/vs6/libgstnet.dsp:
10458 update project files
10460 2006-04-08 Stefan Kost <ensonic@users.sf.net>
10462 * gst/gstbuffer.c: (gst_subbuffer_class_init):
10463 * gst/gstclock.c: (gst_clock_class_init):
10464 * gst/gstelement.c: (gst_element_class_init):
10465 * gst/gstindex.c: (gst_index_class_init):
10466 * gst/gstindexfactory.c: (gst_index_factory_class_init):
10467 * gst/gstobject.c: (gst_object_class_init),
10468 (gst_signal_object_class_init):
10469 * gst/gstpad.c: (gst_pad_class_init):
10470 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10471 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10472 * gst/gstregistry.c: (gst_registry_class_init):
10473 * gst/gstsystemclock.c: (gst_system_clock_class_init):
10474 * gst/gsttask.c: (gst_task_class_init):
10475 * gst/gstxml.c: (gst_xml_class_init):
10476 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10477 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10478 (gst_base_src_loop):
10479 * libs/gst/controller/gstcontroller.c:/
10480 (_gst_controller_class_init):
10481 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10482 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10483 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10484 * tests/old/examples/plugins/example.c: (gst_example_class_init):
10485 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10486 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10488 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
10490 * gst/gstpad.c: (gst_pad_link):
10491 Must set peer pads before calling the link function, otherwise
10492 a task started from a link function might get a flow-not-linked
10493 result when trying to push because the other thread where the
10494 linking happens hasn't had a chance to set the peers yet. This
10495 might happen for example when a queue gets linked to a downstream
10496 element, as queue starts a streaming task when its source pad
10497 gets linked. Happens in real life when playing back flac/musepack
10498 files in playbin (#332390).
10500 2006-04-08 Stefan Kost <ensonic@users.sf.net>
10504 * libs/gst/base/gstadapter.h:
10505 * libs/gst/base/gstbasesink.h:
10506 * libs/gst/base/gstbasesrc.h:
10507 * libs/gst/base/gstbasetransform.h:
10508 * libs/gst/base/gstcollectpads.h:
10509 * libs/gst/base/gstpushsrc.h:
10510 Fix broken GObject macros
10512 2006-04-07 Wim Taymans <wim@fluendo.com>
10514 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10515 Initialize start and stop times, thanks valgrind.
10517 2006-04-07 Wim Taymans <wim@fluendo.com>
10519 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10520 Be a bit nicer to badly behaving upstream elements that expect
10521 us to deal with non TIME segments and timestamps (such as fakesrc
10524 2006-04-07 Wim Taymans <wim@fluendo.com>
10527 Small documentation clarification about the signal watch.
10529 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10530 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10531 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10532 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10533 (gst_base_sink_get_position_last),
10534 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
10535 Convert and store timestamps in stream time and running time, the
10536 raw timestamps are not useful, also document this better.
10537 Use different window sizes for good and bad QoS observations so
10538 we react to badness a little quicker.
10539 Keep track of the amount of rendered and dropped buffers.
10540 Send QoS timestamps in running time.
10542 * libs/gst/base/gstbasetransform.c:
10543 (gst_base_transform_sink_eventfunc),
10544 (gst_base_transform_handle_buffer):
10545 Compare QoS timestamps against running time.
10547 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
10550 Typo fixes in docs.
10552 2006-04-06 Michael Smith <msmith@fluendo.com>
10554 * gst/gstpad.c: (gst_pad_set_property):
10555 Use g_value_get_object() instead of g_value_dup_gst_object(),
10556 to avoid double-reffing the pad template (which we then sink,
10557 so this worked previously if (and only if) the pad template
10560 * gst/gstpadtemplate.c: (gst_pad_template_init),
10561 (gst_pad_template_pad_created):
10562 Never return floating references to pad templates, create
10563 them as initially-sunken.
10565 Document an extra function (and make this stop sinking our
10566 pad template, since that is now guaranteed to do nothing,
10567 since we created it sunken).
10569 * gst/gstghostpad.c:
10572 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
10574 * gst/gstinfo.c: (__gst_in_valgrind):
10577 * plugins/elements/gsttypefindelement.c:
10578 (gst_type_find_element_chain):
10579 Don't leak buffer caps.
10581 2006-04-06 Michael Smith <msmith@fluendo.com>
10583 * gst/parse/grammar.y:
10584 Fix a leak in parse-launch for any source-or-sink named element
10587 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10588 Unref the pipeline if it exists after we've failed parsing.
10590 2006-04-05 Michael Smith <msmith@fluendo.com>
10592 * gst/gstpipeline.c: (gst_pipeline_init):
10593 When we create a pipeline bus, initially create it in flushing mode.
10594 Fixes leaks in at least one test, and makes a new pipeline work the
10595 same as one that has gone to READY and then back to NULL.
10597 * gst/gstelement.c:
10600 2006-04-05 Michael Smith <msmith@fluendo.com>
10602 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10603 Unref a pad we reffed.
10604 * tests/check/gst/gstutils.c: (GST_START_TEST):
10607 2006-04-05 Michael Smith <msmith@fluendo.com>
10609 * gst/gstquery.c: (gst_query_set_formats),
10610 (gst_query_set_formatsv):
10611 Fix leaking GValues in queries, as shown by valgrind/testsuite.
10613 2006-04-05 Michael Smith <msmith@fluendo.com>
10615 * tests/check/generic/sinks.c: (GST_START_TEST):
10616 Fix a variety of memleaks in sinks check, which are only sometimes
10617 shown by running the tests under valgrind (weird?).
10619 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
10621 * docs/version.entities.in:
10622 Fix the substituted entity name after thomas' changes on the
10625 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10627 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10630 2006-04-05 Andy Wingo <wingo@pobox.com>
10632 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10634 * libs/gst/base/gstbasetransform.c
10635 (gst_base_transform_sink_eventfunc): When resetting our segment on
10636 FLUSH_STOP, also update the flag saying we haven't seen a
10639 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10641 Patch by: Paolo Borelli <pborelli at katamail dot com>
10643 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10644 (gst_plugin_check_license):
10645 minor clean-ups: G_DEFINE_TYPE already takes care of the
10646 parent_class stuff, no need to do it twice. Mark array of
10647 license strings as constant. (#337103)
10649 2006-04-04 Michael Smith <msmith@fluendo.com>
10651 * tools/gst-inspect.c: (print_element_list):
10652 Free the right plugin list; fixes a memory leak.
10654 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10656 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10658 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10659 Don't error out on empty buffers (#336945).
10661 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
10663 * docs/libs/gstreamer-libs-sections.txt:
10664 * gst/gsttaglist.c:
10665 * libs/gst/base/gstbasesink.c:
10666 * libs/gst/base/gstbasesink.h:
10667 * libs/gst/base/gstbasesrc.c:
10668 * libs/gst/base/gstbasesrc.h:
10669 Documentation updates. Make BaseSink and BaseSrc docs contain the
10670 class structure so that people can actually see the prototypes for
10671 virtual functions they're supposed to be overriding.
10673 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10675 * plugins/elements/gsttypefindelement.c:
10676 (gst_type_find_element_chain):
10677 More debug info; when skipping typefinding, send cached
10678 events in all cases.
10680 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
10683 use new AS_VERSION and AS_NANO macros
10684 * gst/gst-i18n-lib.h:
10687 * gst/gstversion.h.in:
10688 * win32/common/config.h:
10689 * win32/common/config.h.in:
10692 2006-03-31 Michael Smith <msmith@fluendo.com>
10694 * plugins/elements/gsttypefindelement.c:
10695 (gst_type_find_element_chain):
10696 Do not typefind content if the buffers already have caps.
10697 Neccesary for icydemux (#333657), and the right thing to do anyway.
10699 2006-03-30 Wim Taymans <wim@fluendo.com>
10701 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10702 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10703 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10704 (gst_base_sink_record_qos_observation),
10705 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10706 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10707 (gst_base_sink_change_state):
10708 More QoS measurements as described in the design doc.
10709 Get rid of ringbuffer with observations, running average is
10710 more simple and equally good.
10711 Calculates valid proportion now.
10712 Added beginning of flood measurement.
10714 2006-03-29 Wim Taymans <wim@fluendo.com>
10716 * docs/design/part-qos.txt:
10718 Small documentation updates and additions.
10720 2006-03-29 Wim Taymans <wim@fluendo.com>
10722 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10723 (gst_base_src_send_event), (gst_base_src_loop),
10724 (gst_base_src_change_state):
10725 Perform the EOS logic when we reach the segment stop position.
10726 Fix compilation on gcc4.1
10728 2006-03-29 Wim Taymans <wim@fluendo.com>
10730 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10732 * plugins/elements/gstqueue.c: (gst_queue_init),
10733 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10734 (gst_queue_set_property):
10735 * plugins/elements/gstqueue.h:
10736 In queue, when EOS is received, if minimum threshold > max_size -
10737 current_level, there is chance that queue blocks forever in conditional
10738 item del wait. This is because the queue is not emptied completely due
10739 to minimum threshold. Here is another approach. Instead of setting
10740 cur_levels to max in EOS, just zero all minimum threshold levels. This
10741 should make sure that queue gives out all data. When going to READY
10742 (stop) state, just reset the original minimum threshold levels.
10745 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
10747 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10748 (gst_type_find_element_handle_event),
10749 (gst_type_find_element_send_cached_events),
10750 (gst_type_find_element_change_state):
10751 * plugins/elements/gsttypefindelement.h:
10752 When typefinding is done in push mode, we should cache
10753 events we receive during typefinding instead of just
10754 dropping them (e.g. newsegment, custom events from
10755 dvdreadsrc etc.) and then send them out once we've
10756 determined the type of the stream (and decodebin
10757 has had a chance to plug in a decoder/demuxer).
10759 2006-03-27 Wim Taymans <wim@fluendo.com>
10761 * docs/design/part-qos.txt:
10764 2006-03-27 Wim Taymans <wim@fluendo.com>
10766 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10768 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10769 (gst_base_src_send_event), (gst_base_src_change_state):
10770 Handle element seek correctly when we are streaming.
10773 2006-03-24 Michael Smith <msmith@fluendo.com>
10775 * docs/faq/gst-uninstalled:
10776 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10777 allow you to correctly run intalled applications built against old
10778 core, using plugins that require updated core (e.g. running
10779 installed totem against a full uninstalled gstreamer stack)
10781 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10783 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10786 2006-03-24 Wim Taymans <wim@fluendo.com>
10788 * docs/gst/gstreamer-sections.txt:
10789 Rearrange the order of the methods so that related methods
10790 are grouped together in sections.
10792 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10794 * gst/gstelement.c:
10795 Little clarification in the docs
10797 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10801 * plugins/elements/gstidentity.c:
10802 * plugins/elements/gstqueue.c:
10803 * plugins/elements/gsttee.c:
10804 * plugins/elements/gsttypefindelement.c:
10805 GST_ELEMENT_DETAILS formatting
10807 2006-03-24 Wim Taymans <wim@fluendo.com>
10809 * libs/gst/base/gstbasesink.h:
10810 Only add fields, not insert or we break ABI.
10812 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10814 * win32/common/libgstbase.def:
10815 * win32/common/libgstreamer.def:
10816 Update, add recently added functions.
10818 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10820 * docs/gst/gstreamer-sections.txt:
10821 * gst/gstutils.c: (gst_pad_query_peer_position),
10822 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
10824 API: add some new utility functions:
10825 - gst_pad_query_peer_position()
10826 - gst_pad_query_peer_duration()
10827 - gst_pad_query_peer_convert()
10829 2006-03-23 Wim Taymans <wim@fluendo.com>
10831 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10832 (gst_base_sink_init), (gst_base_sink_finalize),
10833 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
10834 (gst_base_sink_set_property), (gst_base_sink_get_property),
10835 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
10836 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10837 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
10838 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10839 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10840 (gst_base_sink_preroll_object), (gst_base_sink_event),
10841 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
10842 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
10843 (gst_base_sink_query), (gst_base_sink_change_state):
10844 Decouple max-lateness and the fact that QoS messages are generated
10845 with a new property (qos).
10846 added API: GstBaseSink::async_play()
10847 Add vmethod so subclasses can be notified of ASYNC playing
10849 Collect timestamp start and stop to report better current
10850 position in EOS/PLAYING/PAUSED/READY/NULL.
10851 Refactor QoS/frame dropping and other measurements.
10852 API: GstBaseSrc::qos
10855 * libs/gst/base/gstbasesink.h:
10856 Added Private struct.
10857 API: gst_base_sink_set_qos_enabled()
10858 API: gst_base_sink_is_qos_enabled()
10860 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10862 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10863 If compiling against GLib-2.8 or newer, try to read the
10864 registry file using GMappedFile first before falling back
10865 to fopen() + fread() (#332151).
10867 2006-03-22 Wim Taymans <wim@fluendo.com>
10869 * gst/gstinfo.c: (gst_debug_set_active),
10870 (gst_debug_category_set_threshold):
10871 Disable debugging unless explicitly activated.
10874 2006-03-22 Wim Taymans <wim@fluendo.com>
10876 * gst/gstelement.c: (gst_element_set_locked_state),
10877 (gst_element_dispose):
10878 Cleanup the error case.
10880 * gst/gstobject.c: (gst_object_dispose):
10881 print a critical when some object was disposed with
10882 a parent, also revive the object since it might
10885 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
10887 * tools/gst-launch.1.in:
10890 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
10893 * tests/check/Makefile.am:
10894 disable some tests when we don't have a registry
10895 * tests/check/gst/gstutils.c: (gst_utils_suite):
10896 don't build the part that needs parsing
10898 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
10901 * tests/examples/Makefile.am:
10902 fix --disable-parse build
10904 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10906 * tools/gst-feedback.1.in:
10907 Fix typo: s/feeback/feedback/ (#133494).
10909 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10911 * tools/Makefile.am:
10912 * tools/gst-launch.1.in:
10913 Add FILES section and correct entry about GST_REGISTRY_PATH
10914 environment variable (#133495; #133494).
10916 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10918 * tools/Makefile.am:
10919 * tools/gst-md5sum.1.in:
10920 * tools/gst-md5sum.c:
10921 Remove gst-md5sum and man page (the md5sink element
10922 required was removed ages ago)
10924 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10926 * gst/gststructure.c: (gst_structure_id_set_value):
10927 Make sure that string fields in structures/taglists
10928 contain valid UTF-8 - we don't want to pass rubbish to
10929 applications because of a buggy plugin (cp. #334167).
10931 2006-03-21 Edward Hervey <edward@fluendo.com>
10933 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10934 (gst_bin_handle_message_func):
10935 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10936 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10937 (gst_element_set_bus_func):
10938 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10939 * gst/gstminiobject.c: (gst_value_set_mini_object),
10940 (gst_value_take_mini_object):
10941 * gst/gstpad.c: (gst_pad_set_pad_template):
10942 * gst/gstpipeline.c: (gst_pipeline_dispose),
10943 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10944 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10945 (gst_collect_pads_chain):
10946 * libs/gst/net/gstnettimeprovider.c:
10947 (gst_net_time_provider_set_property):
10948 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10949 It's in fact all issues with gst_*object_replace().
10951 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10953 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
10955 * pkgconfig/gstreamer-check-uninstalled.pc.in:
10956 * pkgconfig/gstreamer-check.pc.in:
10957 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10959 2006-03-21 Edward Hervey <edward@fluendo.com>
10963 * gst/gstmessage.h:
10964 gst_[buffer|event|message]_ref() macros are replaced by a static
10965 inline functions because gcc-4.1 will about if the return value
10967 * tests/check/gst/gstevent.c: (event_probe):
10968 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10970 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
10973 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10974 the type' case. (Closes: #335195 for now). In the future, when we
10975 depend on GLib 2.10, we could also intern the type name using
10976 g_intern_static_string()
10978 2006-03-20 Wim Taymans <wim@fluendo.com>
10980 * gst/gstbin.c: (gst_bin_handle_message_func),
10981 (bin_query_max_init), (bin_query_position_fold),
10982 (bin_query_position_done), (gst_bin_query):
10983 Position query should also take max of all streams.
10985 2006-03-20 Wim Taymans <wim@fluendo.com>
10987 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10988 (gst_fake_src_finalize):
10989 Fix leaks in fakesrc.
10991 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10992 Fix leaks in the testcase.
10994 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
10996 * gst/gst_private.h:
10997 add win32 specific import decoration(__declspec(dllimport))
10998 for all extern GstDebugCategory * variables
10999 * win32/common/libgstbase.def:
11000 * win32/common/libgstcontroller.def:
11001 * win32/common/libgstreamer.def:
11002 Add some exports, remove empty lines
11003 * win32/common/libgstdataprotocol.def:
11004 * win32/common/libgstdataprotocol.dsp:
11005 * win32/common/libgstnet.def:
11006 * win32/common/libgstnet.dsp:
11007 new project files and exportation files added
11009 2006-03-19 Wim Taymans <wim@fluendo.com>
11011 * tests/check/libs/basesrc.c: (eos_event_counter):
11012 Use proper return value for probe.
11014 2006-03-17 Wim Taymans <wim@fluendo.com>
11016 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
11018 Don't leak buffers, caps and pads on negotiation errors.
11020 2006-03-16 Stefan Kost <ensonic@users.sf.net>
11022 * docs/faq/cvs.xml:
11023 * docs/faq/dependencies.xml:
11024 * docs/faq/developing.xml:
11025 * docs/faq/faq.xml:
11026 * docs/faq/general.xml:
11027 * docs/faq/getting.xml:
11028 * docs/faq/legal.xml:
11029 * docs/faq/troubleshooting.xml:
11030 * docs/faq/using.xml:
11031 Faq review and update.
11033 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
11035 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
11037 Don't pound the cpu to pieces by checking get_caps when accept_caps
11038 is called with the same caps as the pad already has.
11039 Use GST_DEBUG_OBJECT when outputting caps change information.
11041 2006-03-15 Wim Taymans <wim@fluendo.com>
11043 * gst/gstclock.c: (gst_clock_class_init):
11046 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
11051 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
11052 (gst_pad_accept_caps), (gst_pad_configure_sink),
11053 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
11054 Make the default acceptcaps behaviour be to check the requested
11055 caps against the gst_pad_get_caps output.
11057 Ensure that gst_pad_accept_caps is used to check caps when a pad
11058 doesn't have a setcaps function, so that pads automatically refuse
11059 caps that they don't allow in their pad template. (Fixes #332986)
11061 When a buffer with attached caps is pushed, ensure that the source
11062 pad receives those caps even if the element didn't call
11063 gst_pad_set_caps first.
11065 2006-03-15 Wim Taymans <wim@fluendo.com>
11067 * libs/gst/base/gstadapter.c:
11070 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
11072 * win32/common/libgstbase.def:
11073 * win32/common/libgstcontroller.def:
11074 * win32/common/libgstreamer.def:
11075 Add a whole bunch of missing functions (#334434).
11077 2006-03-14 Wim Taymans <wim@fluendo.com>
11079 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11080 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11081 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
11082 Better debug info when we receive a segment event.
11083 Reorganize a bit so we can pass the get_times() results around.
11084 Use the segment format when calculating the running time.
11085 Don't do QoS is sync is disabled or we have no clock or the
11086 element does not want us to sync to the clock.
11087 Don't drop buffers if QoS is disabled for now.
11089 2006-03-14 Wim Taymans <wim@fluendo.com>
11091 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
11092 Marked the stats property as unimplemented so people don't get
11094 Add debug message when regression goes wrong.
11095 Added some more docs.
11097 2006-03-14 Wim Taymans <wim@fluendo.com>
11099 * gst/gstsegment.c: (gst_segment_to_stream_time):
11100 Return correct return type in case of errors.
11102 2006-03-14 Wim Taymans <wim@fluendo.com>
11104 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
11105 Don't segfault on invalid formats.
11107 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
11109 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11110 Can't use gst_segment_to_running_time() when the segment
11111 is not in GST_TIME_FORMAT (like with filesink, for example).
11112 Stops flac encoding pipelines from spewing critical warnings
11115 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
11117 * gst/gstpipeline.c: (gst_pipeline_class_init):
11118 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
11120 * plugins/elements/gsttypefindelement.c:
11121 (gst_type_find_element_handle_event):
11122 Don't try to typefind empty streams.
11124 2006-03-14 Wim Taymans <wim@fluendo.com>
11126 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11127 (gst_base_sink_do_qos):
11128 Separate QoS calculation.
11129 Only drop buffers when lateness is bigger than the
11130 duration of the buffer.
11132 2006-03-13 Wim Taymans <wim@fluendo.com>
11134 * gst/gstpipeline.c: (gst_pipeline_set_property),
11135 (gst_pipeline_get_property), (do_pipeline_seek),
11136 (gst_pipeline_change_state), (gst_pipeline_set_delay),
11137 (gst_pipeline_get_delay):
11138 Don't deadlock when reading properties.
11140 2006-03-13 Wim Taymans <wim@fluendo.com>
11142 * libs/gst/base/gstbasetransform.c:
11143 (gst_base_transform_class_init), (gst_base_transform_init),
11144 (gst_base_transform_sink_event),
11145 (gst_base_transform_sink_eventfunc),
11146 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
11147 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
11148 (gst_base_transform_set_property),
11149 (gst_base_transform_get_property),
11150 (gst_base_transform_change_state), (gst_base_transform_update_qos),
11151 (gst_base_transform_set_qos_enabled),
11152 (gst_base_transform_is_qos_enabled):
11153 * libs/gst/base/gstbasetransform.h:
11154 Make basetransform virtual method for src events too.
11155 Handle QOS in basetransform.
11156 API: gst_base_transform_update_qos()
11157 API: gst_base_transform_set_qos_enabled()
11158 API: gst_base_transform_is_qos_enabled()
11160 2006-03-13 Wim Taymans <wim@fluendo.com>
11162 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11163 (gst_base_sink_do_sync):
11165 Use QOS debug category.
11167 2006-03-13 Wim Taymans <wim@fluendo.com>
11169 * plugins/elements/gstqueue.c:
11170 Very small doc update.
11172 2006-03-13 Wim Taymans <wim@fluendo.com>
11174 * gst/gst_private.h:
11175 * gst/gstinfo.c: (_gst_debug_init):
11176 Added QOS debug category
11178 2006-03-13 Wim Taymans <wim@fluendo.com>
11180 * docs/gst/gstreamer-sections.txt:
11181 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
11183 * gst/gstbus.c: (gst_bus_class_init):
11186 * gst/gstelement.c: (gst_element_set_locked_state):
11187 * gst/gstsegment.c:
11188 Documentation updates.
11190 * gst/gstpipeline.c: (gst_pipeline_get_type),
11191 (gst_pipeline_class_init), (gst_pipeline_init),
11192 (gst_pipeline_dispose), (gst_pipeline_set_property),
11193 (gst_pipeline_get_property), (do_pipeline_seek),
11194 (gst_pipeline_send_event), (gst_pipeline_change_state),
11195 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
11196 (gst_pipeline_get_delay):
11197 * gst/gstpipeline.h:
11198 Added methods for setting the delay.
11199 API: gst_pipeline_set_delay()
11200 API: gst_pipeline_get_delay()
11201 Add pipeline debug category
11204 Don't reset stream time when seek failed.
11206 2006-03-13 Wim Taymans <wim@fluendo.com>
11208 * docs/design/draft-klass.txt:
11209 * docs/design/part-clocks.txt:
11210 * docs/design/part-events.txt:
11211 * docs/design/part-gstbin.txt:
11212 * docs/design/part-gstpipeline.txt:
11213 * docs/design/part-messages.txt:
11214 * docs/design/part-negotiation.txt:
11215 * docs/design/part-overview.txt:
11216 * docs/design/part-preroll.txt:
11217 * docs/design/part-seeking.txt:
11218 * docs/design/part-states.txt:
11219 * docs/design/part-streams.txt:
11220 Documentation updates.
11222 2006-03-12 Julien MOUTTE <julien@moutte.net>
11224 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
11225 us to leak strings...
11227 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
11229 * libs/gst/net/gstnettimeprovider.c:
11231 * win32/common/config.h:
11234 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
11236 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
11239 Don't check for libgnomeui (leftover from old examples
11240 that aren't built or disted any longer) (#334303).
11242 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
11244 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
11245 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11246 Emit RESOURCE_NO_SPACE_LEFT error here as well when
11247 there's no space left on the device.
11249 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
11252 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
11253 to cast the input to GstClockTime before comparing with
11254 another GstClockTime value.
11256 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
11261 === release 0.10.4 ===
11263 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
11266 releasing 0.10.4, "Light"
11268 2006-03-10 Michael Smith <msmith@fluendo.com>
11270 * libs/gst/dataprotocol/dataprotocol.c:
11271 Fix docs for dataprocotol to not get the return types completely
11272 wrong for a few functions.
11274 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
11276 * docs/gst/gstreamer-sections.txt:
11277 * gst/gstpipeline.c: (gst_pipeline_class_init),
11278 (gst_pipeline_init), (gst_pipeline_set_property),
11279 (gst_pipeline_get_property), (gst_pipeline_change_state),
11280 (gst_pipeline_set_auto_flush_bus),
11281 (gst_pipeline_get_auto_flush_bus):
11282 * gst/gstpipeline.h:
11283 Add new API: gst_pipeline_set_auto_flush_bus() and
11284 gst_pipeline_get_auto_flush_bus() to disable automatic
11285 flushing of the pipeline's GstBus when going from READY
11286 to NULL state (#332045).
11288 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
11290 * docs/gst/gstreamer-sections.txt:
11291 * gst/gsturi.c: (gst_uri_has_protocol):
11293 Add new API: gst_uri_has_protocol() (#333779).
11295 2006-03-09 Wim Taymans <wim@fluendo.com>
11297 * gst/gstclock.c: (gst_clock_entry_new),
11298 (gst_clock_id_compare_func), (gst_clock_id_wait),
11299 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
11300 (gst_clock_init), (gst_clock_get_internal_time),
11301 (gst_clock_set_master), (do_linear_regression),
11302 (gst_clock_add_observation), (gst_clock_set_property):
11306 Fix a possible segfault when the window-size is made smaller.
11307 Calculate jitter before performing the clock wait. Ideally
11308 the clock implementation should calculate jitter but we need
11309 API breakage for that.
11311 * gst/gstsystemclock.c: (gst_system_clock_init):
11314 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11315 Remove leftover else
11317 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
11318 (gst_systemclock_suite):
11319 Added check to test GST_CLOCK_DIFF.
11321 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
11323 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
11324 (gst_type_find_helper_get_range):
11325 If we are provided with the size, we should implement
11326 GstTypeFind::get_length, so that typefind functions who
11327 want to can actually peek at the middle of a file.
11329 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
11331 * docs/manual/advanced-dataaccess.xml:
11332 Add some very very basic error checking.
11334 * docs/pwg/appendix-checklist.xml:
11335 Some updates to the list of things to check when writing an element.
11337 2006-03-08 Wim Taymans <wim@fluendo.com>
11339 * docs/design/part-element-transform.txt:
11340 Added some docs about the design of tranform elements.
11342 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11343 (gst_base_src_loop), (gst_base_src_change_state):
11344 Mark buffers with the DISCONT flag.
11346 2006-03-08 Michael Smith <msmith@fluendo.com>
11348 * gst/gstregistry.h:
11349 * gst/gstregistryxml.c: (gst_registry_save),
11350 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
11351 (gst_registry_xml_save_pad_template),
11352 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
11353 (gst_registry_xml_write_cache):
11354 Rewrite registry-saving to avoid race conditions and check for
11357 2006-03-08 Wim Taymans <wim@fluendo.com>
11359 * libs/gst/base/gstbasetransform.c:
11360 (gst_base_transform_transform_caps),
11361 (gst_base_transform_transform_size),
11362 (gst_base_transform_prepare_output_buffer),
11363 (gst_base_transform_get_unit_size),
11364 (gst_base_transform_buffer_alloc),
11365 (gst_base_transform_handle_buffer),
11366 (gst_base_transform_change_state):
11367 Cleanups, separate normal flow from errors, add sensible
11369 Don't try to renegotiate when allocating an output buffer.
11370 Also copy DISCONT buffer flag when copying a buffer.
11371 Reset the transform after we finish streaming, not during.
11373 2006-03-08 Wim Taymans <wim@fluendo.com>
11375 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11376 Use last buffer timestamp in qos message.
11378 2006-03-07 Wim Taymans <wim@fluendo.com>
11380 Patch by: Christophe Fergeau
11382 * docs/pwg/advanced-tagging.xml:
11383 * docs/pwg/building-pads.xml:
11386 2006-03-07 Wim Taymans <wim@fluendo.com>
11388 * docs/libs/gstreamer-libs-sections.txt:
11389 Added basesink new methods.
11393 Docs updates. Flesh out the QoS docs.
11395 * libs/gst/base/gstadapter.c:
11396 Small doc clarification about ownership and flushing.
11398 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
11399 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
11400 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
11401 (gst_base_sink_get_property), (gst_base_sink_do_sync):
11402 * libs/gst/base/gstbasesink.h:
11404 Added new methods to allow subclass to control max-lateness
11406 Generate very basic QoS events based on last sync observation.
11407 Updated docs, fix typo, added some QoS blurb.
11409 * libs/gst/base/gstbasesrc.c:
11410 Remove obsolete _get_state() calls from docs.
11412 2006-03-07 Wim Taymans <wim@fluendo.com>
11414 * docs/libs/gstreamer-libs-sections.txt:
11415 * libs/gst/base/gstbasetransform.h:
11416 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
11417 Fix docs for GstBaseSrc.
11419 2006-03-07 Wim Taymans <wim@fluendo.com>
11421 * docs/gst/gstreamer-sections.txt:
11424 * libs/gst/base/gstbasetransform.h:
11425 Small documentation fixes.
11427 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
11430 Document thread-unsafety of gst_value_register_foo_func()
11431 when used at the same time as gst_value_foo() (#322628).
11433 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
11435 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
11436 (gst_push_src_check_get_range):
11437 Push sources don't support pull mode by default.
11439 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
11441 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11442 (gst_base_src_init), (gst_base_src_pad_check_get_range),
11443 (gst_base_src_default_check_get_range):
11444 * libs/gst/base/gstbasesrc.h:
11445 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11446 provide default implementation, and rename
11447 gst_base_src_check_get_range() to
11448 gst_base_src_pad_check_get_range() for clarity.
11450 2006-03-06 Wim Taymans <wim@fluendo.com>
11452 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11453 Make property overridable.
11455 2006-03-06 Wim Taymans <wim@fluendo.com>
11457 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11458 (gst_base_sink_init), (gst_base_sink_set_property),
11459 (gst_base_sink_get_property), (gst_base_sink_do_sync):
11460 * libs/gst/base/gstbasesink.h:
11461 API addition: Make max-lateness a property.
11463 2006-03-06 Wim Taymans <wim@fluendo.com>
11465 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11466 (gst_base_sink_do_sync), (gst_base_sink_render_object):
11467 Don't ever draw a frame that is >10ms late.
11469 2006-03-06 Michael Smith <msmith@fluendo.com>
11471 * gst/gstmessage.c: (_gst_message_copy):
11472 When copying a message, set the parent_refcount of the enclosed
11473 structure to point at the copy, not the original message.
11475 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
11477 Patch by: Christophe Fergeau
11480 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11481 usable in c++ code (#333417)
11483 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
11486 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11488 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
11490 * libs/gst/base/gstbasetransform.c:
11491 (gst_base_transform_transform_caps):
11492 Make sure caps are writable before passing them to
11495 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
11498 Fix some minor docs errors.
11500 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
11502 Patch by: Ross Burton <ross at burtonini dot com>
11504 * gst/gsterror.c: (_gst_resource_errors_init):
11506 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
11508 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
11511 Add a check and output a g_warning when GStreamer is built
11512 against GLib 2.6 but running against 2.8 or higher, and vice
11513 versa. (Closes: #323542)
11515 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
11517 * gst/parse/parse.l:
11518 Commit patch for parse_launch syntax from #331255. Removes
11519 support for quoted strings and mimetypes when writing filtered
11520 caps. See the bug report for more details - I'm pretty sure this
11521 obscure feature is not in use by _anyone_ anywhere.
11523 With this simple change, the size of the gstreamer.so here
11524 drops from 2193KB to 1565KB.
11526 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11528 * plugins/elements/gsttypefindelement.h:
11529 * plugins/elements/gsttypefindelement.c:
11530 (gst_type_find_element_src_event), (start_typefinding),
11531 (stop_typefinding), (gst_type_find_element_handle_event),
11532 (gst_type_find_element_chain),
11533 (gst_type_find_element_chain_do_typefinding):
11534 Use gst_type_find_helper_for_buffer() for chain-based
11537 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11539 * plugins/elements/gsttypefindelement.c:
11540 (gst_type_find_element_class_init),
11541 (gst_type_find_element_set_property),
11542 (gst_type_find_element_get_property):
11543 Deprecate "maximum" property (not only was it only taken into
11544 account for typefinding in push-mode anyway, it also was never
11545 actually possible to set it in the first place because the
11546 property was registered with the numeric property ID for the
11547 "minimum" property). Register "maximum" property correctly,
11548 for the sake of future copy'n'pasters. Remove some cruft
11549 from property get/set functions.
11551 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11553 * plugins/elements/gsttypefindelement.c:
11554 (gst_type_find_element_activate):
11555 Use gst_type_find_helper_get_range() here, so we
11556 can honour the "minimum" property and also emit
11557 the signal with the correct probability of the found caps.
11559 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
11561 * docs/libs/gstreamer-libs-sections.txt:
11562 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11563 (helper_find_suggest), (gst_type_find_helper_get_range),
11564 (gst_type_find_helper):
11565 * libs/gst/base/gsttypefindhelper.h:
11566 New API: gst_type_find_helper_get_range() (#333042).
11568 2006-03-02 Michael Smith <msmith@fluendo.com>
11570 * gst/gstregistryxml.c: (load_feature):
11571 Asserting on a failure to read part of the registry is Not Cool.
11572 Just log a warning and return NULL (which is already handled)
11574 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
11576 * win32/common/libgstbase.def:
11577 added export of gst_type_find_helper_for_buffer
11578 * win32/common/libgstbase.def:
11579 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11580 gst_ghost_pad_get_target
11582 2006-02-28 Wim Taymans <wim@fluendo.com>
11584 * docs/design/draft-klass.txt:
11586 Added Connector to mark elements that are only used to
11587 allow pipeline connections.
11588 Moved Debug to extra feature since most of them are
11589 functionally something else.
11591 2006-02-28 Wim Taymans <wim@fluendo.com>
11593 * docs/design/draft-klass.txt:
11594 Some updates and clarifications.
11596 2006-02-28 Wim Taymans <wim@fluendo.com>
11598 * docs/design/draft-klass.txt:
11599 Proposal for klass field values.
11601 * docs/design/part-streams.txt:
11602 Start of a doc describing stream anatomy.
11604 2006-02-28 Wim Taymans <wim@fluendo.com>
11606 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11607 Help the compiler a bit with type registration.
11608 Use existing forward cod path instead of duplicating it when
11609 handling a message.
11611 * gst/gstbus.c: (gst_bus_get_type):
11612 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11613 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11614 * gst/gstclock.c: (gst_clock_get_type):
11615 * gst/gstelement.c: (gst_element_get_type),
11616 * gst/gstelementfactory.c: (gst_element_factory_get_type):
11617 * gst/gstindexfactory.c: (gst_index_factory_get_type):
11618 * gst/gstminiobject.c: (gst_mini_object_get_type):
11619 * gst/gstpad.c: (gst_pad_get_type):
11620 * gst/gstsegment.c: (gst_segment_get_type):
11621 * gst/gststructure.c: (gst_structure_get_type):
11622 * gst/gstsystemclock.c: (gst_system_clock_get_type):
11623 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11625 Help compiler with type registration.
11627 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11630 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11632 * plugins/elements/gsttypefindelement.c:
11633 (gst_type_find_element_handle_event):
11634 When we get an EOS event and have not found a type yet
11635 (most likely because we had not yet accumulated
11636 TYPE_FIND_MIN_SIZE of data yet), try to determine the
11637 type given the data we have so far. Fixes typefinding
11638 for very short streams again, most notably quicktime
11639 redirections as used on Apple's trailer site (#331701).
11641 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11643 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11644 (gst_type_find_helper):
11645 Try typefinding factories with the highest rank first.
11647 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11649 * docs/libs/gstreamer-libs-docs.sgml:
11650 * docs/libs/gstreamer-libs-sections.txt:
11651 * libs/gst/base/gsttypefindhelper.c:
11652 Add section for typefind helper and add documentation
11653 for the old and the new function.
11655 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11657 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11658 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11659 (gst_type_find_helper_for_buffer):
11660 * libs/gst/base/gsttypefindhelper.h:
11661 New API: gst_type_find_helper_for_buffer() (#332723).
11663 2006-02-27 Michael Smith <msmith@fluendo.com>
11665 Patch by: Loïc Minier
11668 * docs/Makefile.am:
11669 * docs/slides/Makefile.am:
11670 prevent CVS directories getting disted.
11672 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11674 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11675 Use the REFCOUNTING category for caps refcounting.
11677 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
11679 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11680 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11682 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
11684 * plugins/elements/gsttypefindelement.c:
11685 (gst_type_find_element_activate):
11686 Use gst_pad_check_pull_range() before _activate_pull()
11687 to avoid unnecessary open/close (see #331690).
11689 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
11692 Docs enhancement: make it crystal clear what the
11693 gst_pad_add_*_probe() callbacks should look like.
11695 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
11697 * libs/gst/base/gstbasesrc.c:
11698 Document how applications can stop recording from
11699 live sources (see #330996).
11701 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11703 * tests/check/Makefile.am:
11704 * tests/check/libs/basesrc.c: (eos_event_counter),
11705 (basesrc_eos_events_pull), (basesrc_eos_events_push),
11706 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11707 (gst_basesrc_suite), (main):
11708 ... and add some tests for the base source EOS stuff.
11710 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11712 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11713 Test case originally showed the problem fixed below,
11714 but was then amended. Add checks back at the place
11715 where they used to be.
11717 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11719 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11720 (gst_base_src_init), (gst_base_src_loop),
11721 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11722 (gst_base_src_change_state):
11723 * libs/gst/base/gstbasesrc.h:
11724 Don't unconditionally send EOS when going from PAUSED to
11725 READY state, esp. make sure we don't send two EOS events
11726 in some cases (e.g. one when reaching EOS and one when
11727 going from PAUSED to READY). Also, we don't want to send
11728 EOS events when operating in pull mode. However, we do
11729 want to send an EOS event when shutting down a live
11730 source explicitly, for example (fixes #330996).
11732 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11734 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11735 Update src->read_position after a seek when not using mmap.
11736 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11738 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
11744 Make things work with --disable-parse as they do with
11745 --disable-load-save - the symbols involved disappear, but the
11746 header is still installed and GST_DISABLE_PARSE is included via
11749 2006-02-20 Julien MOUTTE <julien@moutte.net>
11751 * libs/gst/base/gstbasetransform.c:
11752 (gst_base_transform_change_state): Fix a stupid bug. I was
11753 sure I compiled that.
11755 2006-02-20 Julien MOUTTE <julien@moutte.net>
11757 * gst/gstpad.c: (gst_pad_set_blocked_async):
11758 * gst/gstutils.c: (gst_pad_add_data_probe),
11759 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11760 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11761 (gst_pad_remove_buffer_probe): Make those function act on the
11762 ghostpad target when it's a ghostpad. (Closes #331727)
11764 2006-02-20 Julien MOUTTE <julien@moutte.net>
11766 * libs/gst/base/gstbasetransform.c:
11767 (gst_base_transform_change_state): Make basetransform reusable.
11770 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
11772 * docs/random/release:
11773 Move the current documentation of how to do a release to the top
11776 * gst/gstbin.c: (gst_bin_class_init),
11777 (gst_bin_handle_message_func):
11778 Allow multiple state-recalculation threads. (Closes #328873)
11780 2006-02-19 Julien MOUTTE <julien@moutte.net>
11782 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11783 * gst/gstpad.c: (gst_pad_set_event_function),
11784 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11785 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11786 2 strings. You can't use the STR_NULL macro on that.
11788 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
11790 * gst/gstpad.c: (gst_pad_set_event_function),
11791 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11792 (gst_pad_set_getcaps_function)
11793 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
11794 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
11795 So now, we can use --gst-debug-level=5 on Windows
11796 * win32/common/libgstcontroller.def:
11797 Added export of gst_controller_init
11798 * win32/vs6/libgstcontroller.dsp:
11799 Fixed Release post build configuration
11801 2006-02-17 Wim Taymans <wim@fluendo.com>
11803 * tests/check/gst/gstquery.c: (GST_START_TEST):
11804 Added another check.
11806 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
11808 * plugins/elements/gsttypefindelement.c: (find_peek):
11809 We can do peeks at non-zero offsets, as long as they
11810 fall within the buffer we have.
11812 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
11814 * tests/check/Makefile.am:
11815 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
11816 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
11817 (parse_suite), (main):
11818 Add testsuite for parse launch syntax
11820 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
11822 * plugins/elements/gsttypefindelement.c:
11823 (gst_type_find_element_chain):
11824 When typefinding is unsuccessful in the chain function, don't
11825 error out immediately. Only error out with NO_CAPS_FOUND if
11826 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
11827 otherwise simply wait for more data so we can try typefinding
11828 again with more data later. Also, don't attempt to typefind
11829 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
11830 this should improve typefinding from network sources where the
11831 size of the first buffer can be somewhat random.
11833 2006-02-14 Wim Taymans <wim@fluendo.com>
11835 * docs/gst/gstreamer-sections.txt:
11836 * gst/gstpadtemplate.c:
11837 * gst/gstpadtemplate.h:
11838 Fix padtemplate docs, fixes #328805.
11840 2006-02-14 Wim Taymans <wim@fluendo.com>
11842 * tools/gst-launch.c: (main):
11843 NO_PREROLL is not an ERROR so don't send confusing messages
11846 2006-02-14 Wim Taymans <wim@fluendo.com>
11848 Patch by: Torsten Schoenfeld
11850 * gst/gstregistry.c: (gst_registry_get_default),
11851 (_gst_registry_cleanup):
11852 Protect default registry with lock and ref/sink it.
11855 2006-02-14 Wim Taymans <wim@fluendo.com>
11858 * gst/gstquery.c: (gst_query_list_add_format),
11859 (gst_query_set_formatsv), (gst_query_parse_formats_length),
11860 (gst_query_parse_formats_nth):
11861 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11864 2006-02-14 Wim Taymans <wim@fluendo.com>
11866 * docs/gst/gstreamer-sections.txt:
11867 Reworked query docs.
11869 * gst/gstquery.c: (gst_query_new_formats),
11870 (gst_query_list_add_format), (gst_query_set_formats),
11871 (gst_query_set_formatsv), (gst_query_parse_formats_length),
11872 (gst_query_parse_formats_nth):
11874 Flesh out formats query, added some new methods.
11875 Fix part of #324398.
11877 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11878 Added query creation tests.
11880 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
11882 * gst/gstpad.c: (fixate_value):
11883 Add a default fixation for fraction lists.
11885 2006-02-13 Wim Taymans <wim@fluendo.com>
11887 * gst/gsttask.c: (gst_task_init), (gst_task_func),
11888 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11891 Detect and warn for obvious deadlocks. fixes #320340
11892 Fix error case where lock was not released.
11894 * tests/check/Makefile.am:
11895 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11896 (task_func), (gst_element_suite), (main):
11899 2006-02-13 Wim Taymans <wim@fluendo.com>
11901 * docs/gst/gstreamer-sections.txt:
11903 Add new functions to docs.
11905 2006-02-13 Wim Taymans <wim@fluendo.com>
11907 * docs/design/part-TODO.txt:
11908 Updated TODO list, basesrc supports seeking to non-bytes
11911 * docs/design/part-element-sink.txt:
11914 * gst/gstbin.c: (bin_replace_message),
11915 (gst_bin_handle_message_func):
11916 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11917 * gst/gstevent.c: (gst_event_finalize):
11918 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11919 (gst_pad_send_event):
11920 Use shiny new _TYPE_NAME macros.
11922 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11923 Move debug statement up.
11925 * gst/gstelement.c: (gst_element_set_locked_state):
11926 Add some debugging.
11928 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
11930 * docs/gst/gstreamer-sections.txt:
11931 * gst/gstmessage.h:
11933 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11934 macros (#330906). Also, document the already existing
11935 GST_QUERY_TYPE macro.
11937 2006-02-13 Wim Taymans <wim@fluendo.com>
11939 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11940 (event_probe), (GST_START_TEST):
11941 Only events up to the pipeline EOS are counted, there are
11942 some more when going to NULL currently which we don't care
11945 2006-02-13 Wim Taymans <wim@fluendo.com>
11947 * gst/gstpad.c: (gst_pad_send_event):
11948 Correctly check flushing and emit probes. fixes #330125
11950 2006-02-10 Andy Wingo <wingo@pobox.com>
11952 * gst/gstbus.c (gst_bus_class_init): Declare our private data
11954 (gst_bus_init): Cache the location of the private data in the
11955 instance structure.
11956 (gst_bus_enable_sync_message_emission)
11957 (gst_bus_disable_sync_message_emission): Implement new public
11959 (gst_bus_post): Emit the sync-message signal if the user asked for
11962 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11963 location of the bus-private structure.
11964 (gst_bus_enable_sync_message_emission)
11965 (gst_bus_disable_sync_message_emission): API addition
11967 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
11969 Patch by: Vincent Torri
11971 * docs/pwg/building-boiler.xml:
11972 PWG patch from #326800
11974 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
11977 * docs/Makefile.am:
11978 * docs/design/Makefile.am:
11981 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11986 === release 0.10.3 ===
11988 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11991 releasing 0.10.3, "Like a virgin"
11993 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11996 2nd prerelease of 0.10.3
11997 Bump libtool versioning.
11999 2006-02-07 Andy Wingo <wingo@pobox.com>
12001 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
12002 update last_stop if we're in TIME format and the timestamp is
12005 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
12006 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
12007 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
12008 If we get a new newsegment with a different format, adapt
12011 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
12012 of 0. Not a problem, really.
12014 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
12017 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
12022 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
12025 project files updated to the default vs7 configuration
12026 * win32/common/libgstbase.def:
12027 * win32/common/libgstreamer.def:
12029 removed empty lines,
12030 sorted all exported symbols alphabetically
12031 * win32/common/dirent.c:
12032 * win32/common/dirent.h:
12033 * win32/common/gchar.h:
12034 use windows line end.
12036 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
12038 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12039 Send EOS event when stopping.
12041 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
12044 Tell folks what to do if the plugin-foobar.xml file
12045 hasn't been generated for a newly-added plugin.
12047 2006-02-05 Julien MOUTTE <julien@moutte.net>
12049 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12050 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
12051 (gst_collect_pads_start), (gst_collect_pads_stop),
12052 (gst_collect_pads_event): Collectpads now holds a reference
12053 to the GstPad that was added. Indeed we don't want to look
12054 at pads that might just go away with no warning...
12056 2006-02-05 Julien MOUTTE <julien@moutte.net>
12058 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
12059 (gst_collect_pads_start), (gst_collect_pads_stop),
12060 (gst_collect_pads_event), (gst_collect_pads_chain):
12061 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
12062 Mark Nauwelaerts's patch on bug #328491.
12064 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
12066 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
12068 Add some simple tests for gst_parse_bin_from_description() and
12069 gst_bin_find_unconnected_pad() (#329069).
12071 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
12073 * tools/gst-launch.c: (event_loop), (main):
12074 Catch errors during preroll (#320084).
12076 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
12078 * plugins/elements/gsttypefindelement.c:
12079 (gst_type_find_element_activate):
12080 Post TYPE_NOT_FOUND error message when typefinding
12081 is unsuccessful in the activate function as well.
12083 2006-02-02 Wim Taymans <wim@fluendo.com>
12085 * docs/design/part-element-sink.txt:
12088 2006-02-02 Wim Taymans <wim@fluendo.com>
12090 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
12091 (gst_base_sink_render_object),
12092 (gst_base_sink_queue_object_unlocked):
12093 Only keep track of prerollable items when we are
12095 Before rendering after preroll, always check if we
12097 Added some more debugging.
12099 2006-02-02 Wim Taymans <wim@fluendo.com>
12101 * gst/gstelement.c: (gst_element_continue_state),
12102 (gst_element_set_state_func), (gst_element_change_state):
12103 Fixed #326576, been running this for quite some time with
12104 no regressions at all.
12106 2006-02-02 Wim Taymans <wim@fluendo.com>
12109 Added more suppressions
12111 2006-02-02 Wim Taymans <wim@fluendo.com>
12113 * docs/design/part-element-sink.txt:
12116 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12117 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
12118 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
12119 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
12120 (gst_base_sink_do_sync), (gst_base_sink_render_object),
12121 (gst_base_sink_preroll_object),
12122 (gst_base_sink_queue_object_unlocked),
12123 (gst_base_sink_queue_object), (gst_base_sink_event),
12124 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
12125 (gst_base_sink_loop), (gst_base_sink_activate_pull),
12126 (gst_base_sink_get_position), (gst_base_sink_change_state):
12127 * libs/gst/base/gstbasesink.h:
12128 Totally refactored matching the design doc.
12129 Use two segments, one to clip incomming buffers and another to
12131 Handle queueing correctly, bypass the queue when playing.
12132 Make EOS cancelable.
12133 Handle errors correctly when operating in pull based mode.
12135 * tests/check/elements/fakesink.c: (GST_START_TEST),
12137 Added new check for sinks.
12139 2006-02-02 Wim Taymans <wim@fluendo.com>
12141 * gst/gstsegment.c: (gst_segment_clip):
12142 No reason to refuse to clip when start == -1
12144 2006-02-02 Stefan Kost <ensonic@users.sf.net>
12147 * docs/manual/intro-basics.xml:
12148 * docs/manual/intro-preface.xml:
12149 * docs/manual/manual.xml:
12150 * docs/pwg/advanced-dparams.xml:
12151 * docs/pwg/intro-basics.xml:
12152 * docs/pwg/intro-preface.xml:
12153 * docs/pwg/pwg.xml:
12154 describe dparams (controller) for plugins
12155 unify docs a little more
12157 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
12159 * docs/gst/gstreamer-sections.txt:
12160 * gst/gstutils.c: (element_find_unconnected_pad),
12161 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
12163 Add new API: gst_parse_bin_from_description() and
12164 gst_bin_find_unconnected_pad() (#329069).
12166 2006-02-01 Stefan Kost <ensonic@users.sf.net>
12168 * docs/manual/README:
12169 uncover a nasty detail of the docs build
12171 2006-01-31 Wim Taymans <wim@fluendo.com>
12173 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
12174 Don't cache duration messages if we're not going to use or
12177 2006-01-31 Stefan Kost <ensonic@users.sf.net>
12179 * docs/manual/advanced-dparams.xml:
12180 * docs/pwg/advanced-dparams.xml:
12184 * libs/gst/controller/lib.c: (gst_controller_init):
12187 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
12189 * gst/gstelement.c: (gst_element_message_full):
12190 also show file/line/func if no additional debug was given
12192 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
12194 * win32/vs7/grammar.vcproj:
12195 activate copy of autogenerated files for Release mode
12197 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
12199 * win32/common/libgstreamer.def:
12200 export gst_value_compare
12202 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
12204 * plugins/elements/Makefile.am:
12205 * plugins/elements/gstelements.c:
12206 * plugins/elements/gstfdsink.c: (_do_init),
12207 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
12208 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
12209 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
12210 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
12211 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
12212 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
12213 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
12214 * plugins/elements/gstfdsink.h:
12215 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
12217 2006-01-30 Stefan Kost <ensonic@users.sf.net>
12219 * docs/manual/advanced-dparams.xml:
12220 describe controller
12221 * docs/manual/advanced-position.xml:
12222 * docs/manual/basics-init.xml:
12223 * docs/manual/manual.xml:
12224 * docs/manual/titlepage.xml:
12225 * docs/pwg/pwg.xml:
12226 * docs/pwg/titlepage.xml:
12227 cleanup xml (more to come)
12228 * libs/gst/controller/gstcontroller.c:
12231 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
12233 * win32/vs6/grammar.dsp:
12234 add autogen of gstmarshal.c,h for Release mode
12236 2006-01-30 Wim Taymans <wim@fluendo.com>
12238 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12239 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
12240 (gst_base_sink_handle_object), (gst_base_sink_event),
12241 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
12242 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12243 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
12244 (gst_base_sink_deactivate), (gst_base_sink_activate),
12245 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
12246 (gst_base_sink_query), (gst_base_sink_change_state):
12247 Basesink cleanups, remove some old code.
12248 Handle the case where a subclass can preroll in the render
12249 method (mostly audiosinks).
12250 Handle more events.
12251 Remove some locks around variables that are now protected
12252 with the PREROLL_LOCK (clock_id, flushing, ..).
12253 Optimize position query some more, do correct locking.
12254 Remove old code to push queue in state change, this is not
12255 needed anymore since preroll blocks on all prerollable items
12257 Almost implemented as described in design doc.
12259 2006-01-30 Wim Taymans <wim@fluendo.com>
12261 * tests/check/gst/gstbin.c: (GST_START_TEST):
12262 Wait for refcount to settle down before checking.
12264 2006-01-30 Wim Taymans <wim@fluendo.com>
12266 * docs/design/part-element-sink.txt:
12267 Pseudo code overview of desired sink behaviour regarding
12270 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
12271 * win32/vs6/grammar.dsp:
12272 fix some bugs in Release mode for autogenerated files
12274 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
12275 * win32/common/libgstbase.def:
12276 * win32/common/libgstreamer.def:
12277 export some new symbols: gst_base_src_set_format,
12278 gst_iterator_next, gst_structure_set_valist
12280 2006-01-29 Julien MOUTTE <julien@moutte.net>
12282 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12283 Set pad functions unconditionally. Fixes #329105.
12285 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
12287 add vs8 project files created by Sergey Scobich
12289 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
12291 * gst/gstutils.c: (gst_element_unlink_pads):
12292 Don't leak pad references.
12294 * tests/check/elements/fakesink.c: (GST_START_TEST):
12295 * tests/check/generic/sinks.c: (GST_START_TEST):
12296 * tests/check/generic/states.c: (GST_START_TEST):
12297 * tests/check/gst/gstbin.c: (GST_START_TEST):
12298 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12299 * tests/check/gst/gstelement.c: (GST_START_TEST):
12300 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12301 * tests/check/gst/gstiterator.c: (GST_START_TEST):
12302 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12303 Fix a bunch of leaks. Make generic/sinks.c
12304 use a bit less cpu by slowing the buffer rate
12305 between fakesrc and fakesink.
12307 2006-01-27 Stefan Kost <ensonic@users.sf.net>
12309 * gst/gstelement.c: (gst_element_send_event):
12312 * gst/gstiterator.c:
12313 * gst/gstiterator.h:
12314 * gst/gstpad.c: (gst_pad_send_event):
12315 * gst/gststructure.c:
12319 * libs/gst/base/gstadapter.c:
12320 doc fixes, to link to function, just write gst_cool_function(), don't
12323 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
12325 * plugins/elements/gsttee.c: (gst_tee_do_push),
12326 (gst_tee_handle_buffer):
12327 Always prefer an actual return value from a src
12328 pad in place of NOT_LINKED. This means we return
12329 WRONG_STATE when all src pads are WRONG_STATE
12330 instead of NOT_LINKED.
12332 Lock when replacing the last message to prevent
12333 racing with the get_property method.
12337 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
12339 * tests/check/Makefile.am:
12340 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
12342 Add a very simple check that should have caught the memleak I fixed
12343 last night (if not for the slice allocator hiding it)
12345 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
12347 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12348 (gst_bin_remove_func), (gst_bin_handle_message_func),
12349 (bin_query_duration_fold), (bin_query_generic_fold):
12350 Clean up references to the clock provider when disposed or when
12351 handling a clock-lost message from it.
12353 Unref sinks when performing a query via gst_iterator_fold, as the
12354 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
12356 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
12357 (gst_clock_set_master):
12358 Drop our reference to the master clock, if any, when we are disposed.
12360 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
12361 Chain up in dispose.
12363 2006-01-26 Wim Taymans <wim@fluendo.com>
12365 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12366 Add some debugging.
12368 2006-01-26 Julien MOUTTE <julien@moutte.net>
12370 * plugins/elements/gsttee.c: (gst_tee_do_push),
12371 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
12372 handles pad being NOT_LINKED or in WRONG_STATE.
12374 2006-01-26 Stefan Kost <ensonic@users.sf.net>
12379 2006-01-26 Stefan Kost <ensonic@users.sf.net>
12382 remove obsolete entry
12384 2006-01-26 Stefan Kost <ensonic@users.sf.net>
12386 * docs/gst/gstreamer-sections.txt:
12387 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
12388 (gst_bin_iterate_sources), (gst_bin_send_event):
12390 * gst/gstelement.c: (gst_element_send_event):
12392 * gst/gstpad.c: (gst_pad_send_event):
12393 added code for downstream events, reviewed docs in gstevent.c
12395 2006-01-25 Julien MOUTTE <julien@moutte.net>
12397 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12398 We only query position using the clock in the playing state.
12399 Query peer in the other cases.
12400 * win32/common/config.h: Updates.
12402 2006-01-24 Wim Taymans <wim@fluendo.com>
12404 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12405 A clock entry that is scheduled for the exact time of the
12406 clock is still in time.
12408 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12409 (gst_base_sink_do_sync):
12410 Add some more debug info.
12412 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
12415 Add new vs7 project files and solution.
12417 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
12420 all files removed as they were out-dated.
12422 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
12424 * docs/random/release:
12426 * gst/gstbin.c: (gst_bin_init):
12427 * gst/gstbus.c: (gst_bus_new):
12429 * gst/gstpipeline.c: (gst_pipeline_init):
12430 use gst_bus_new(), improve logging, fix docs
12431 * win32/common/config.h:
12432 update for cvs build
12434 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
12437 up required version of automake to 1.7
12439 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
12441 * win32/common/libgstreamer.def:
12442 export gst_buffer_is_metadata_writable
12444 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
12446 * docs/gst/gstreamer-sections.txt:
12448 Add gst_event_replace() (#327001)
12450 2006-01-20 Wim Taymans <wim@fluendo.com>
12452 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12453 Make it actually compile too..
12455 2006-01-20 Wim Taymans <wim@fluendo.com>
12458 Clarify behaviour of _is_equal() when passing NULL parameters.
12460 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12461 (gst_pad_set_caps):
12462 Cleanups. Don't unref NULL caps.
12463 When setting the same caps, protect caps of the pad with
12465 Use full functionality of _is_equal() when comparing caps.
12467 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
12469 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12470 Don't loop infinitely if there are no buffers to present. Partially
12471 fixes #327197, but collectpads is just broken for reusing elements
12472 to do multiple encodes atm.
12474 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
12476 * tools/gst-inspect.c: (print_element_features):
12477 * tools/gst-xmlinspect.c: (main):
12478 URL_HANDLER is not a plugin feature we can search for in
12481 2006-01-19 Edward Hervey <edward@fluendo.com>
12483 * gst/gstelement.c: (gst_element_pads_activate):
12484 When activating, do src pads first, then sink pads.
12485 When de-activating, do sink pads first, then src pads.
12487 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12489 * docs/gst/gstreamer-sections.txt:
12490 Add gst_index_add_associationv to the docs
12492 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12497 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12498 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12499 Do some refactoring. Doesn't actually change functionality,
12500 but makes landing the DRAIN event easier later.
12502 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
12504 * docs/pwg/advanced-scheduling.xml:
12505 Update from 0.9.x to 0.10 API and make example a bit
12508 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12510 * docs/gst/gstreamer-sections.txt:
12511 Add gst_buffer_(is|make)_metadata_writable methods.
12513 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12515 * docs/design/part-sparsestreams.txt:
12516 Update sparse streams doc, hopefully for greater clarity
12518 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
12520 * docs/design/part-events.txt:
12521 Remove mention of FILLER events.
12524 * docs/design/part-sparsestreams.txt:
12525 Write some things about using NEWSEGMENT to keep sparse streams
12528 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
12530 * gst/gstbin.c: (gst_bin_dispose):
12531 Guard gst_object_unref call against a NULL object (dispose
12532 can theoretically be called multiple times).
12534 2006-01-18 Wim Taymans <wim@fluendo.com>
12536 * gst/gstbin.c: (gst_bin_element_set_state):
12537 * gst/gstclock.c: (gst_clock_id_wait):
12538 Added some more debug info.
12540 * libs/gst/base/gstadapter.c:
12543 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12544 (gst_base_sink_do_sync), (gst_base_sink_chain):
12545 Added some comments.
12547 2006-01-18 Wim Taymans <wim@fluendo.com>
12549 * tests/check/Makefile.am:
12550 * tests/check/elements/fakesink.c: (chain_async_buffer),
12551 (chain_async), (chain_async_return), (GST_START_TEST),
12552 (fakesink_suite), (main):
12553 Added fakesink test that checks prerolling and clipping
12556 * tests/check/gst/gstutils.c: (GST_START_TEST):
12557 Make check run faster so that buildbots don't timeout.
12559 2006-01-18 Wim Taymans <wim@fluendo.com>
12561 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12562 (gst_base_sink_do_sync):
12564 When the sink finishes blocking on the preroll buffer, it can
12565 immediatly render it instead of rendering when the next buffer
12568 2006-01-18 Wim Taymans <wim@fluendo.com>
12570 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12571 (gst_base_sink_get_property), (gst_base_sink_do_sync),
12572 (gst_base_sink_chain):
12574 GST_ELEMENT_CLOCK and sync are protected with LOCK.
12575 Don't store _last_stop if the buffer is dropped.
12577 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
12579 * plugins/elements/gsttypefindelement.c:
12580 (gst_type_find_element_class_init):
12581 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12582 object method handler that sets the caps on the pad and we want
12583 that to happen before we emit the signal (fixes e.g. feeding a
12584 plain text file to decodebin).
12586 2006-01-18 Christian Schaller <Christian@fluendo.com>
12588 * gst/gstplugin.c: Add MPL and Proprietary as license options
12590 2006-01-18 Andy Wingo <wingo@pobox.com>
12592 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12593 symbol was exported before, it appears this was just an oversight.
12595 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12597 * gst/gstindex.c (gst_index_add_associationv): Changed int in
12598 prototype to gint. OK since this prototype was not in the header.
12600 2006-01-17 Andy Wingo <wingo@pobox.com>
12602 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12603 registry while we remove plugins.
12605 * tools/gst-inspect.c (print_element_info): Don't unref the
12606 factory arg, that should be the responsibility of whatever code
12607 received the ref. Fixes a double-free when called from
12608 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12609 (main): Unref the factory if we have one.
12610 (print_element_list): No change -- relies on the
12611 plugin_feature_list_free to free the list of features.
12613 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
12615 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12616 (gst_buffer_make_metadata_writable):
12618 * libs/gst/base/gstbasetransform.c:
12619 (gst_base_transform_prepare_output_buf):
12620 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12621 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12622 Replace gst_buffer_(make|is)_metadata_writable patch now
12623 that the release is out.
12625 2006-01-17 Andy Wingo <wingo@pobox.com>
12627 * gst/gstregistry.c: Reflow design comment. Update so as to speak
12628 in the present tense without reference to versions.
12630 * gst/gstregistry.c (gst_registry_add_plugin)
12631 (gst_registry_remove_plugin, gst_registry_remove_feature)
12632 (gst_registry_find_feature, gst_registry_get_feature_list)
12633 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12634 (gst_registry_lookup, gst_registry_scan_path)
12635 (_gst_registry_remove_cache_plugins)
12636 (gst_registry_get_feature_list_by_plugin): Add argument
12639 === release 0.10.2 ===
12641 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
12644 releasing 0.10.2, "If man is five"
12646 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12650 * libs/gst/base/gstbasetransform.c:
12651 (gst_base_transform_prepare_output_buf):
12652 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12653 * tests/check/gst/gstbuffer.c: (gst_test_suite):
12654 Back out patch until after the release.
12656 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12658 * gst/gstminiobject.c:
12659 Spelling fix in docs.
12660 * ChangeLog - remove conflict indicator
12662 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12664 Reviewed By: Andy Wingo
12666 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12667 (gst_buffer_make_metadata_writable):
12669 Add gst_buffer_(is|make)_metadata_writable as analogues of
12670 gst_buffer_(is|make)_writable.
12672 * libs/gst/base/gstbasetransform.c:
12673 (gst_base_transform_prepare_output_buf):
12674 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12675 Use name gst_buffer_(is|make)_metadata_writable functions.
12677 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12678 Test gst_buffer_(is|make)_metadata_writable
12682 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
12684 * docs/manual/Makefile.am:
12685 don't do parallel make
12688 * win32/common/config.h.in:
12689 add generations for HOST_CPU and GST_MAJORMINOR
12690 * win32/common/config.h:
12691 commit generated result
12693 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
12695 * docs/manual/appendix-integration.xml:
12696 Update GNOME integration section to use gst_init_get_option_group()
12697 instead of the old popt stuff (#322911). Also, GNOME applications
12698 should now use gconf*sink and gconf*src instead of the old gconf
12701 2006-01-13 Stefan Kost <ensonic@users.sf.net>
12704 * docs/gst/gstreamer-docs.sgml:
12705 * docs/gst/gstreamer-sections.txt:
12706 * docs/libs/gstreamer-libs-sections.txt:
12707 add new API entries to the docs
12708 * libs/gst/controller/Makefile.am:
12709 * libs/gst/controller/gstcontroller.c:
12710 * libs/gst/controller/gstcontroller.h:
12711 * libs/gst/controller/gstcontrollerprivate.h:
12712 * libs/gst/controller/gsthelper.c:
12713 * libs/gst/controller/gstinterpolation.c:
12714 move private structs to private header
12716 gstreamer-0.7 -> gstreamer-0.10
12717 * tests/check/libs/struct_i386.h:
12718 remove private structs
12720 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12722 * plugins/indexers/Makefile.am:
12723 Fixes as part of #317048
12725 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12727 * plugins/indexers/Makefile.am:
12728 fix #316086 - compilation when mmap is missing
12730 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
12732 * libs/gst/base/gstbasesink.c:
12733 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
12734 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12735 * win32/common/config.h:
12736 added some defines GST_MAJORMINOR and HOST_CPU
12737 * win32/common/libgstbase.def:
12738 * win32/common/libgstreamer.def:
12739 added some exported functions.
12741 2006-01-12 Stefan Kost <ensonic@users.sf.net>
12743 * libs/gst/controller/gstcontroller.c:
12744 (gst_controlled_property_set_interpolation_mode),
12745 (gst_controlled_property_new):
12746 * libs/gst/controller/gstcontroller.h:
12747 * libs/gst/controller/gstinterpolation.c:
12748 (interpolate_none_get_string_value_array):
12749 make G_TYPE_STRING controlable
12751 2006-01-12 Stefan Kost <ensonic@users.sf.net>
12754 * tools/gst-feedback.1.in:
12755 * tools/gst-inspect.1.in:
12756 * tools/gst-launch.1.in:
12757 * tools/gst-md5sum.1.in:
12758 * tools/gst-typefind.1.in:
12759 * tools/gst-xmlinspect.1.in:
12760 * tools/gst-xmllaunch.1.in:
12761 cleanup man-pages, remove reference to gst-register, document env-vars
12763 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
12765 * gst/gstbuffer.c: (gst_buffer_span):
12766 gst_buffer_span should copy the timestamp of the first buffer
12767 if they were both originally overlapping subbuffers of the
12768 same parent, using the same logic as the 'slow copy' case.
12770 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
12772 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12773 Need to awaken ALL the pads when we pop a buffer, otherwise
12774 collectpads only works when there is 2 input streams.
12776 2006-01-11 Stefan Kost <ensonic@users.sf.net>
12778 * docs/random/ensonic/media-device-daemon.txt:
12781 fix doc example, add clarification
12782 * tools/gst-launch.1.in:
12783 add initial info about GST_PLUGIN_PATH, needs more work
12785 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
12787 * docs/manual/basics-bins.xml:
12788 * docs/manual/basics-elements.xml:
12789 * docs/manual/intro-basics.xml:
12790 Some more minor docs additions and updates.
12792 2006-01-11 Wim Taymans <wim@fluendo.com>
12794 * docs/manual/basics-bins.xml:
12795 * docs/manual/basics-elements.xml:
12796 Some small fixes as pointed out by Ser-ver on IRC.
12798 2006-01-10 Edward Hervey <edward@fluendo.com>
12800 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12801 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
12802 the single-segment mode.
12804 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
12806 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12808 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
12809 (gst_base_src_perform_seek), (gst_base_src_send_event),
12810 (gst_base_src_set_property), (gst_base_src_get_property),
12811 (gst_base_src_loop), (gst_base_src_start),
12812 (gst_base_src_activate_push):
12813 * libs/gst/base/gstbasesrc.h:
12814 Name (private) union; makes Sun's Forte compiler happy (#324900).
12816 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
12819 gst-register is gone.
12821 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
12823 * gst/gstvalue.c: (_gst_value_initialize):
12824 make the G_TYPE_DATE instantiation work if debug is disabled
12826 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
12828 * gst/gstmessage.c: (gst_message_parse_tag),
12829 (gst_message_parse_error), (gst_message_parse_warning):
12830 Don't crash when return location for error/warning debug
12831 string is NULL; add fact that return locations can be
12832 NULL to docs where appropriate.
12834 2006-01-05 Wim Taymans <wim@fluendo.com>
12836 * gst/gstplugin.c: (gst_plugin_load_file):
12837 Replace strdup by g_strdup.
12839 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
12841 * docs/pwg/advanced-types.xml:
12844 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
12846 submitted by: Abel Cheung
12850 Added Chinese (traditional) translation
12852 2006-01-04 Wim Taymans <wim@fluendo.com>
12854 * docs/manual/basics-pads.xml:
12855 * docs/plugins/Makefile.am:
12856 * docs/plugins/gstreamer-plugins-docs.sgml:
12857 * docs/plugins/gstreamer-plugins-sections.txt:
12858 * docs/pwg/advanced-clock.xml:
12859 * docs/pwg/advanced-scheduling.xml:
12860 * docs/pwg/advanced-types.xml:
12861 * plugins/elements/gstfdsink.c:
12862 * plugins/elements/gstfdsrc.c:
12863 * plugins/elements/gstfdsrc.h:
12864 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12865 * plugins/elements/gstidentity.h:
12866 * plugins/elements/gstqueue.h:
12867 * plugins/elements/gsttee.c:
12868 * plugins/elements/gsttee.h:
12869 * plugins/elements/gsttypefindelement.c:
12870 (gst_type_find_element_class_init):
12871 * plugins/elements/gsttypefindelement.h:
12872 Small updates to various docs.
12873 Added core plugins to docs.
12875 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12878 add a suppression for liboil's uninitialized variable
12880 2006-01-02 James Livingston <jrl at ids dot org dot au>
12882 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12885 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12886 macro, so that gcc doesn't complain if the -Wmissing-prototypes
12887 compiler switch is being used (#325429).
12889 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
12891 * gst/gstbin.c: (gst_bin_query):
12892 Disable duration query caching in bins until it gets
12893 fixed (see #324807).
12895 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
12897 * tools/gst-inspect.c: (print_element_properties_info):
12898 Handle properties of POINTER and BOXED type.
12900 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
12902 * gst/gst.c: (init_post):
12903 Init tags stuff and some other things before loading
12904 any static plugins (there may be other static plugins
12905 than just the GStreamer ones, and they may want to
12906 register their own tags or formats or whatever, and
12907 preferably without segfaulting).
12909 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12910 Print at least a warning in the debug logs if we drop a
12911 query just because we don't know how to adjust the value
12912 in the particular format.
12914 2005-12-24 David Schleef <ds@schleef.org>
12916 * tools/gstreamer-completion:
12917 Replacement for gst-complete written in sh and sed. Only
12918 completes names of features, but that's 90% of what I want
12919 it for. Properties are not available in registry.xml. (Maybe
12922 === release 0.10.1 ===
12924 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
12927 releasing 0.10.1, "Nollaig chridheil"
12929 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
12931 * docs/faq/cvs.xml:
12932 Add missing quote, should be make ERROR_CFLAGS="".
12934 2005-12-20 Wim Taymans <wim@fluendo.com>
12936 * docs/design/part-trickmodes.txt:
12937 More documentation on trickmodes.
12939 2005-12-20 Edward Hervey <edward@fluendo.com>
12941 * gst/gstcaps.c: (gst_static_caps_get_type):
12943 API addition: GST_TYPE_STATIC_CAPS
12944 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12945 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12946 * gst/gstpadtemplate.h:
12947 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12948 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12951 2005-12-18 Wim Taymans <wim@fluendo.com>
12953 * libs/gst/base/gstadapter.c:
12954 * libs/gst/base/gstadapter.h:
12955 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12956 (gst_base_sink_get_position):
12957 * libs/gst/base/gstbasesink.h:
12958 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12959 (gst_base_src_default_query), (gst_base_src_default_do_seek),
12960 (gst_base_src_do_seek), (gst_base_src_perform_seek),
12961 (gst_base_src_send_event), (gst_base_src_update_length),
12962 (gst_base_src_get_range), (gst_base_src_loop),
12963 (gst_base_src_start):
12964 * libs/gst/base/gstbasesrc.h:
12965 * libs/gst/base/gstbasetransform.h:
12966 * libs/gst/base/gstcollectpads.h:
12967 * libs/gst/base/gstpushsrc.c:
12968 * libs/gst/base/gstpushsrc.h:
12969 * libs/gst/dataprotocol/dataprotocol.c:
12970 * libs/gst/dataprotocol/dataprotocol.h:
12971 * libs/gst/net/gstnetclientclock.h:
12972 * libs/gst/net/gstnettimeprovider.h:
12973 Documentation updates.
12975 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
12977 * docs/manual/basics-helloworld.xml:
12978 Remove superfluous closing bracket in helloworld example.
12980 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
12982 * tools/gst-launch.1.in:
12983 Update gst-launch man page; add a section with useful
12984 environment variables. Fixes #323882.
12986 2005-12-16 Stefan Kost <ensonic@users.sf.net>
12989 * gst/gst_private.h:
12990 change some char* into char[]
12992 2005-12-16 Wim Taymans <wim@fluendo.com>
12994 * gst/gstregistryxml.c: (load_feature):
12996 Don't use g_object_unref on GstObjects so that we avoid
12997 leaks on unsafe glibs.
12999 2005-12-16 Wim Taymans <wim@fluendo.com>
13001 * gst/gstbin.c: (gst_bin_recalc_state):
13004 2005-12-16 Wim Taymans <wim@fluendo.com>
13006 * common/check.mak:
13007 Added make forever target for check.
13009 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
13011 * gst/gst.c: (init_post):
13012 make the registry cache file HOST_CPU-dependent
13014 2005-12-16 Andy Wingo <wingo@pobox.com>
13016 * plugins/elements/gstbufferstore.c
13017 (gst_buffer_store_cleared_func): Pay attention to g_list_append
13020 * tests/check/gst/gstobject.c
13021 (test_fake_object_name_threaded_unique): Pay attention to
13022 g_list_sort return value.
13024 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
13026 * tools/gst-feedback-m.m:
13027 Update for 0.9/0.10 (fixes #323870).
13029 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
13031 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
13032 Fix lcopy for mini objects, the mini object needs to be ref'ed.
13034 * tests/check/gst/gstminiobject.c: (my_foo_init),
13035 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
13036 (test_value_collection), (gst_mini_object_suite):
13037 Add test to ensure refcounts end up as expected when passing
13038 GstMiniObjects through g_object_get() and g_object_set().
13040 2005-12-14 Julien MOUTTE <julien@moutte.net>
13042 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13043 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
13044 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
13045 of collectpads. This version removes a lot of races without
13046 touching API/ABI. Yay !
13048 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
13050 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
13051 Don't allow activation of a srcpad in pull_range if it has no
13053 Change some debug statements to be a little clearer
13055 * plugins/elements/gsttypefindelement.c:
13056 (gst_type_find_handle_src_query):
13057 Check that we have a peer before executing queries thereupon.
13059 * tests/examples/metadata/read-metadata.c: (message_loop):
13060 Use gst_bus_pop instead of gst_bus_poll when we just want it to
13061 immediately return us any available message with 0 timeout.
13063 2005-12-12 Michael Smith <msmith@fluendo.com>
13065 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
13066 Don't unref factories after calling them.
13067 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
13068 * plugins/elements/gsttypefindelement.c:
13069 (gst_type_find_element_chain):
13070 Free lists of factories after using them. Fixing typefinding memory
13073 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13075 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
13076 (gst_plugin_feature_load):
13077 more meaningful debug output
13079 * tests/Makefile.am:
13080 * tests/old/examples/Makefile.am:
13081 make make distcheck happy again
13083 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
13085 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
13086 Catch the special case where we are operating chain-based,
13087 but the downstream peer pad has no chain function. Emit a
13088 custom error message in this case instead of letting the
13089 core generate one implying that this is some sort of core
13090 bug. It's not, it just means that whatever got plugged
13091 into the pipeline downstream when we announced the type
13092 can only operate pull-based, while our source can only
13093 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
13094 Error string has not been marked for translation yet, as
13095 it probably needs some more work first.
13097 (gst_type_find_element_get_best_possibility):
13098 Add helper function to find the best of all available
13099 found possibilities that qualify given the min. threshold.
13101 (gst_type_find_element_handle_event):
13102 Fix the case where we get an EOS while still in TYPEFIND
13103 mode (we want to chose the best of all possible types,
13104 not just the first type that happens to be in our unsorted
13105 list of possible types).
13107 (gst_type_find_element_chain):
13108 Make sure we return GST_FLOW_ERROR when we errored out
13109 in stop_typefinding(); also, don't just find the best of
13110 all found type entries and then use the last examined
13111 type entry, but actually use the best entry.
13113 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
13115 * tests/examples/typefind/typefind.c: (type_found):
13116 * tests/examples/xml/runxml.c: (xml_loaded):
13117 More gcc4 fixes and a mem leak fix.
13119 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13121 * tests/examples/xml/createxml.c: (object_saved):
13124 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13126 * tests/Makefile.am:
13127 enable the examples even more
13129 2005-12-12 Andy Wingo <wingo@pobox.com>
13131 * libs/gst/net/gstnettimeprovider.c
13132 (gst_net_time_provider_class_init, gst_net_time_provider_init)
13133 (gst_net_time_provider_set_property)
13134 (gst_net_time_provider_get_property):
13135 API addition: Export "active" as a GObject property.
13136 (gst_net_time_provider_thread): Only respond to time queries if
13137 the time provider is active.
13139 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
13140 NetTimeProvider, preserving binary compat.
13142 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13144 * tests/examples/controller/audio-example.c: (main):
13145 * tests/examples/launch/Makefile.am:
13146 convert comments again
13148 2005-12-12 Wim Taymans <wim@fluendo.com>
13150 * libs/gst/base/gstpushsrc.c:
13153 2005-12-12 Wim Taymans <wim@fluendo.com>
13155 * docs/libs/gstreamer-libs-sections.txt:
13156 Added new symbol to docs.
13158 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13159 (gst_base_src_init), (gst_base_src_set_format),
13160 (gst_base_src_default_query), (gst_base_src_query),
13161 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
13162 (gst_base_src_perform_seek), (gst_base_src_send_event),
13163 (gst_base_src_default_event), (gst_base_src_event_handler),
13164 (gst_base_src_set_property), (gst_base_src_get_property),
13165 (gst_base_src_wait), (gst_base_src_do_sync),
13166 (gst_base_src_update_length), (gst_base_src_get_range),
13167 (gst_base_src_check_get_range), (gst_base_src_loop),
13168 (gst_base_src_default_negotiate), (gst_base_src_start),
13169 (gst_base_src_activate_push), (gst_base_src_activate_pull),
13170 (gst_base_src_change_state):
13171 * libs/gst/base/gstbasesrc.h:
13172 Implement seeking to other formats than _BYTES.
13173 Implement more seeking methods correctly.
13175 Added query vmethod.
13176 Added do_seek vmethod to make life easier for subclasses
13178 API addition: gst_base_src_set_format()
13180 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13182 * tests/examples/Makefile.am:
13185 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13188 * docs/random/ensonic/media-device-daemon.txt:
13189 * tests/examples/controller/.cvsignore:
13190 * tests/examples/controller/Makefile.am:
13191 * tests/examples/controller/audio-example.c: (main):
13192 * tests/examples/helloworld/.cvsignore:
13193 * tests/examples/helloworld/Makefile.am:
13194 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
13195 * tests/examples/launch/.cvsignore:
13196 * tests/examples/launch/Makefile.am:
13197 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
13198 * tests/examples/metadata/.cvsignore:
13199 * tests/examples/metadata/Makefile.am:
13200 * tests/examples/metadata/read-metadata.c: (message_loop),
13201 (make_pipeline), (print_tag), (main):
13202 * tests/examples/queue/.cvsignore:
13203 * tests/examples/queue/Makefile.am:
13204 * tests/examples/queue/queue.c: (event_loop), (main):
13205 * tests/examples/typefind/.cvsignore:
13206 * tests/examples/typefind/Makefile.am:
13207 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
13209 * tests/examples/xml/.cvsignore:
13210 * tests/examples/xml/Makefile.am:
13211 * tests/examples/xml/createxml.c: (object_saved), (main):
13212 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
13213 * tests/old/examples/Makefile.am:
13214 * tests/old/examples/TODO:
13215 * tests/old/examples/controller/.cvsignore:
13216 * tests/old/examples/controller/Makefile.am:
13217 * tests/old/examples/controller/audio-example.c:
13218 * tests/old/examples/helloworld/.cvsignore:
13219 * tests/old/examples/helloworld/Makefile.am:
13220 * tests/old/examples/helloworld/helloworld.c:
13221 * tests/old/examples/launch/.cvsignore:
13222 * tests/old/examples/launch/Makefile.am:
13223 * tests/old/examples/launch/mp3parselaunch.c:
13224 * tests/old/examples/launch/mp3play:
13225 * tests/old/examples/manual/Makefile.am:
13226 * tests/old/examples/metadata/Makefile.am:
13227 * tests/old/examples/metadata/read-metadata.c:
13228 * tests/old/examples/queue/.cvsignore:
13229 * tests/old/examples/queue/Makefile.am:
13230 * tests/old/examples/queue/queue.c:
13231 * tests/old/examples/typefind/.cvsignore:
13232 * tests/old/examples/typefind/Makefile.am:
13233 * tests/old/examples/typefind/typefind.c:
13234 * tests/old/examples/xml/.cvsignore:
13235 * tests/old/examples/xml/Makefile.am:
13236 * tests/old/examples/xml/createxml.c:
13237 * tests/old/examples/xml/runxml.c:
13238 applied some simple fixing to some examples
13239 re-enabled the working examples
13241 2005-12-12 Wim Taymans <wim@fluendo.com>
13243 * gst/gstsegment.c: (gst_segment_init),
13244 (gst_segment_set_last_stop), (gst_segment_set_seek),
13245 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13246 (gst_segment_to_running_time):
13247 Added more documentation.
13248 Make sure the last_pos value is updated properly.
13249 Make sure to_stream_time and to_running_time don't
13250 operate on wrong values.
13252 * tests/check/gst/gstsegment.c: (GST_START_TEST):
13255 2005-12-12 Michael Smith <msmith@fluendo.com>
13257 * plugins/elements/gsttypefindelement.c: (free_entry),
13258 (gst_type_find_element_chain):
13259 Now that we're not leaking factories, make sure we keep references
13260 to them while we need them.
13262 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
13264 * tests/check/gst/struct_i386.h:
13265 ifdef out the XML structs
13267 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
13269 * gst/gstvalue.c: (gst_value_transform_double_fraction):
13270 floor is not needed, F is always positive; this obviates the
13271 need for adding -lm when building without libxml
13273 2005-12-12 Wim Taymans <wim@fluendo.com>
13275 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13276 Take current playback rate into account when reporting
13279 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13281 * docs/manual/mime-world.fig:
13282 Let's try this again, this time with a file that is
13283 actually in XFig format.
13285 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13287 * docs/manual/mime-world.fig:
13288 Add audioconvert element to diagram so that it
13289 matches the text and the code (fixes #319526).
13291 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13293 * docs/pwg/building-chainfn.xml:
13294 * docs/pwg/building-pads.xml:
13295 * docs/pwg/building-state.xml:
13296 * docs/pwg/other-source.xml:
13297 Update state change stuff for 0.10 (fixes #322969).
13299 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13301 * docs/manual/advanced-dataaccess.xml:
13302 * docs/manual/appendix-checklist.xml:
13303 * docs/manual/appendix-programs.xml:
13304 * docs/manual/basics-pads.xml:
13305 * docs/manual/highlevel-components.xml:
13306 * docs/manual/manual.xml:
13307 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
13308 add converters in front of pipelines; remove curly
13309 brackets for threads stuff, they no longer exist; use
13310 GST_TYPE_FRACTION for framerates; update some pieces of
13311 code to 0.10, but there's plenty more to do.
13313 * docs/manual/appendix-porting.xml:
13314 Expand on asynchroneous state changes; s/0.9/0.10/;
13315 mention disappearance of gst_init_get_popt_table()
13318 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13320 * docs/faq/using.xml:
13321 Spider no longer exists, and neither does gst-launch-ext.
13322 Update examples to use decodebin and playbin and put
13323 converters in front of sinks (fixes #323726).
13325 2005-12-09 Michael Smith <msmith@fluendo.com>
13327 * plugins/elements/gsttypefindelement.c: (find_peek),
13328 (gst_type_find_element_chain):
13329 Fix leaking element factories in typefinding.
13330 Fix problem where we forgot about a probable type on non-seekable
13331 files, and thus later mis-typefound it.
13333 2005-12-09 Michael Smith <msmith@fluendo.com>
13335 * common/m4/gst-makecontext.m4:
13336 * common/m4/gst-mcsc.m4:
13338 * win32/common/config.h:
13339 * win32/common/config.h.in:
13340 Remove makecontext stuff; not used in 0.10 and causes problems on
13341 HPUX according to bug #322441
13343 2005-12-07 Wim Taymans <wim@fluendo.com>
13345 * tests/check/Makefile.am:
13346 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
13348 * tests/check/libs/struct_i386.h:
13349 Added ABI check for libs
13351 2005-12-07 Wim Taymans <wim@fluendo.com>
13353 * tests/check/Makefile.am:
13354 And add the struct_i386.h to dist.
13356 2005-12-07 Wim Taymans <wim@fluendo.com>
13358 * tests/check/Makefile.am:
13359 * tests/check/gst/.cvsignore:
13360 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
13362 * tests/check/gst/struct_i386.h:
13363 Added check for ABI compatibility.
13365 2005-12-07 Wim Taymans <wim@fluendo.com>
13367 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13368 (gst_fake_src_get_times), (gst_fake_src_create):
13369 Fix broken sync option, fixes #323259
13371 2005-12-07 Wim Taymans <wim@fluendo.com>
13376 * gst/gstcaps.c: (gst_caps_is_equal):
13377 Don't assert on NULL <--> X. Fixes #323260
13379 * gst/gstminiobject.c: (gst_mini_object_replace):
13380 If we're doing atomic operations, we might just as well use
13381 the proper way to get an atomic pointer.
13383 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13384 Clean up debugging.
13386 2005-12-07 Michael Smith <msmith@fluendo.com>
13388 * gst/parse/grammar.y:
13389 Remove handling of { } for threads.
13391 2005-12-06 David Schleef <ds@schleef.org>
13393 * libs/gst/base/gstbasetransform.c: speling fix.
13395 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
13397 * docs/libs/tmpl/gstdataprotocol.sgml:
13398 * docs/random/omega/testing/gstobject.c:
13401 * gst/gstelement.c:
13402 * gst/gstelementfactory.c:
13405 * gst/gstghostpad.c:
13407 * gst/gstpadtemplate.c:
13408 * gst/gstregistryxml.c:
13409 * gst/gsttaglist.c:
13410 * gst/gsttagsetter.c:
13411 * gst/gsttypefind.c:
13413 * libs/gst/base/gstbasesrc.c:
13414 * libs/gst/net/gstnetclientclock.c:
13415 * libs/gst/net/gstnettimeprovider.c:
13416 * plugins/elements/gstfakesrc.c:
13417 * plugins/elements/gstfdsrc.c:
13418 * plugins/elements/gstfilesrc.c:
13419 * plugins/elements/gstidentity.c:
13420 * plugins/elements/gstqueue.c:
13421 * plugins/elements/gsttypefindelement.c:
13422 * plugins/indexers/gstfileindex.c:
13423 * plugins/indexers/gstmemindex.c:
13424 * tests/check/gst/gsttag.c:
13425 * tests/old/examples/cutter/cutter.c:
13426 * tests/old/examples/mixer/mixer.c:
13427 * tests/old/examples/xml/runxml.c: (main):
13428 * tests/old/testsuite/caps/normalisation.c:
13429 * tests/old/testsuite/debug/global.c:
13430 * tests/old/testsuite/parse/parse1.c:
13431 * tools/gst-xmlinspect.c:
13432 * win32/common/dirent.c:
13435 === release 0.10.0 ===
13437 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13440 releasing 0.10.0, "Maroilles"
13442 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13444 submitted by: Funda Wang <fundawang@linux.net.cn>
13448 added Chinese (Traditional) translation
13450 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13452 * docs/gst/gstreamer-sections.txt:
13453 * docs/libs/tmpl/gstdataprotocol.sgml:
13454 * docs/random/thomasvs/TODO:
13459 2005-12-05 Andy Wingo <wingo@pobox.com>
13461 patch by: Wim Taymans <wim@fluendo.com>
13463 * libs/gst/base/gstbasetransform.c
13464 (gst_base_transform_prepare_output_buf)
13465 (gst_base_transform_buffer_alloc):
13466 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13467 alloc_buffer_and_set_caps.
13469 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13470 set_caps on the source pad.
13471 (gst_pad_alloc_buffer_and_set_caps): New function, does what
13472 alloc_buffer used to do. Fixes #322874.
13474 * docs/gst/gstreamer-sections.txt:
13475 * docs/design/part-negotiation.txt:
13476 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13479 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13481 patch by: Sebastien Moutte
13484 * win32/common/config.h.in:
13485 * win32/vs6/libgstcontroller.dsp:
13488 2005-12-05 Wim Taymans <wim@fluendo.com>
13490 * gst/gstcaps.c: (gst_caps_is_equal):
13491 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13492 (gst_fake_src_create):
13493 Back out previous code changes, leave doc updates, file bugs
13496 2005-12-05 Wim Taymans <wim@fluendo.com>
13498 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13499 (gst_fake_src_get_times), (gst_fake_src_create):
13500 * plugins/elements/gstfakesrc.h:
13501 Fix broken sync code.
13503 2005-12-05 Wim Taymans <wim@fluendo.com>
13505 * gst/gstcaps.c: (gst_caps_is_equal):
13506 Comparing NULL against !NULL yields different caps, not a
13509 2005-12-05 Wim Taymans <wim@fluendo.com>
13511 * gst/gstpipeline.c:
13512 Fix small typo in docs.
13514 2005-12-05 Andy Wingo <wingo@pobox.com>
13516 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
13518 * gst/gst.c (init_post): remove hard-coded 0.9 location for
13519 registries/plugins with a MAJORMINOR one.
13520 (plugin_desc): Rename library from gstcoreleements to
13521 staticelements. Fixes #323222.
13523 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
13525 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
13526 Change debug category to 'collectpads' from 'collect_pads'
13529 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
13531 patch by: Sebastien Moutte
13533 * libs/gst/controller/gstinterpolation.c:
13534 use convert function for uint64/double
13535 * win32/vs6/libgstcontroller.dsp:
13538 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
13540 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
13541 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
13543 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13544 add tests that seem to show that the guint64/gdouble conversions
13547 2005-12-02 Wim Taymans <wim@fluendo.com>
13549 * gst/gstregistry.c: (gst_registry_add_path):
13550 * gst/gstregistry.h:
13551 * gst/gstregistryxml.c:
13554 2005-12-02 Wim Taymans <wim@fluendo.com>
13556 * gst/gstutils.c: (gst_util_uint64_scale_int64),
13557 (gst_util_uint64_scale_int):
13560 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13561 Add debug log line.
13563 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13566 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
13569 * win32/common/config.h:
13570 * win32/vs6/gstreamer.dsw:
13571 * win32/vs6/libgstcoreelements.dsp:
13572 * win32/vs6/libgstelements.dsp:
13573 renamed core elements plugin
13575 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
13577 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13579 do piece-wise major/minor comparison so 0.9 < 0.10
13580 also allow .exe extensions for tools
13582 2005-12-02 Michael Smith <msmith@fluendo.com>
13585 Escape a % to make gtkdoc happier; bug 322958.
13587 === release 0.9.7 ===
13589 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13592 releasing 0.9.7, "My Dog Has No Nose"
13594 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13596 * common/gst-xmlinspect.py:
13598 * docs/libs/tmpl/gstdataprotocol.sgml:
13599 * docs/random/release:
13618 * win32/common/config.h:
13619 * win32/common/config.h.in:
13620 * win32/vs6/gst_inspect.dsp:
13621 * win32/vs6/gst_launch.dsp:
13622 * win32/vs6/libgstbase.dsp:
13623 * win32/vs6/libgstelements.dsp:
13624 * win32/vs6/libgstreamer.dsp:
13625 * win32/vs7/GStreamer.vcproj:
13626 * win32/vs7/gst-inspect.vcproj:
13627 * win32/vs7/gst-launch.vcproj:
13628 * win32/vs7/libgstbase.vcproj:
13629 bump GST_MAJORMINOR to 0.10
13630 reset libtool version
13632 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13636 Added Bulgarian translation by (Alexander Shopov)
13638 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13640 * tests/check/gst/gstplugin.c:
13643 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13645 * common/gst-xmlinspect.py:
13646 * common/gtk-doc-plugins.mak:
13648 * docs/Makefile.am:
13649 * docs/gst/Makefile.am:
13650 * docs/gst/gstreamer-docs.sgml:
13651 * docs/gst/gstreamer-sections.txt:
13652 * docs/gst/gstreamer.types:
13653 * docs/gst/gstreamer.types.in:
13654 * docs/plugins/Makefile.am:
13655 * docs/plugins/gstreamer-plugins-docs.sgml:
13656 * docs/plugins/gstreamer-plugins-sections.txt:
13657 * docs/plugins/gstreamer-plugins.types:
13658 * docs/plugins/inspect.stamp:
13659 * docs/plugins/inspect/plugin-coreelements.xml:
13660 * docs/plugins/inspect/plugin-coreindexers.xml:
13661 * docs/plugins/scanobj-build.stamp:
13662 * gstreamer.spec.in:
13663 * plugins/elements/Makefile.am:
13664 * plugins/elements/gstelements.c:
13665 * plugins/elements/gstfakesink.c:
13666 * plugins/elements/gstfakesrc.c:
13667 * plugins/elements/gstfilesink.c:
13668 * plugins/elements/gstfilesrc.c:
13669 * plugins/elements/gstqueue.c:
13670 * plugins/indexers/Makefile.am:
13671 * plugins/indexers/gstindexers.c:
13672 document core plugins in a separate document just like all the
13674 rename these plugins to something starting with core
13676 2005-12-01 Andy Wingo <wingo@pobox.com>
13678 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13679 padding here before, but it missed the commit.
13681 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13683 * libs/gst/controller/gstinterpolation.c:
13684 whitespace prices have crashed, we should feel free to use some now
13685 use gst_guint64_to_gdouble
13687 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13689 * libs/gst/controller/gstcontroller.c:
13690 * libs/gst/controller/gsthelper.c:
13691 * libs/gst/controller/gstinterpolation.c:
13692 * libs/gst/controller/lib.c:
13693 wrap config.h include
13695 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13697 * docs/gst/gstreamer-sections.txt:
13700 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13702 * plugins/elements/gstelements.c:
13703 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13704 (gst_fd_sink__class_init), (gst_fd_sink__init),
13705 (gst_fd_sink__chain), (gst_fd_sink__set_property),
13706 (gst_fd_sink__get_property):
13707 * plugins/elements/gstfdsink.h:
13708 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13709 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13710 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13711 (gst_fd_src_unlock), (gst_fd_src_set_property),
13712 (gst_fd_src_get_property), (gst_fd_src_create),
13713 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13714 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13715 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13716 (gst_fd_src_uri_handler_init):
13717 * plugins/elements/gstfdsrc.h:
13718 * plugins/elements/gstqueue.c: (gst_queue_get_type):
13721 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13723 * docs/gst/Makefile.am:
13724 * docs/gst/gstreamer.types.in:
13728 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13734 * gst/gstregistry.h:
13735 * tests/benchmarks/complexity.c:
13736 * tests/benchmarks/mass-elements.c:
13737 * tests/check/Makefile.am:
13738 * tools/Makefile.am:
13739 * tools/gst-inspect.c:
13740 * tools/gst-xmlinspect.c:
13741 various fixes to make
13742 --disable-nls --disable-registry --disable-loadsave
13743 --disable-parse --disable-gst-debug
13744 work and get the core .so down to 360444 bytes after stripping
13746 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13751 * docs/random/thomasvs/TODO:
13752 * tests/Makefile.am:
13756 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13758 * win32/GStreamer.vcproj:
13761 * win32/Makefile.inspect:
13762 * win32/Makefile.launch:
13763 * win32/Makefile.register:
13764 * win32/README.txt:
13765 * win32/gst-inspect.vcproj:
13766 * win32/gst-launch.vcproj:
13767 * win32/gst-register.vcproj:
13768 * win32/gstelements.vcproj:
13769 * win32/gstgetbits.def:
13770 * win32/gstgetbits.vcproj:
13771 * win32/gstreamer-dbg.def:
13772 * win32/gstreamer.def:
13773 * win32/libgstbase.def:
13774 * win32/libgstbase.vcproj:
13775 * win32/link_oldruntime.c:
13779 * win32/msvc71.sln:
13780 move even more stuff, win32/ is nice and clean now
13782 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13784 * libs/gst/control/.cvsignore:
13789 * win32/gstbytestream.def:
13790 * win32/gstbytestream.vcproj:
13791 * win32/gstconfig.h:
13792 * win32/gstenumtypes.c:
13793 * win32/gstenumtypes.h:
13794 * win32/gstoptimalscheduler.vcproj:
13795 * win32/gstversion.h:
13797 * win32/testsuite/bins.vcproj:
13798 * win32/testsuite/bytestream.vcproj:
13799 * win32/testsuite/caps.vcproj:
13800 * win32/testsuite/cleanup.vcproj:
13801 * win32/testsuite/clock.vcproj:
13802 * win32/testsuite/debug.vcproj:
13803 * win32/testsuite/dlopen.vcproj:
13804 * win32/testsuite/dynparams.vcproj:
13805 * win32/testsuite/elements.vcproj:
13806 * win32/testsuite/ghostpads.vcproj:
13807 * win32/testsuite/indexers.vcproj:
13808 * win32/testsuite/negotiation.vcproj:
13809 * win32/testsuite/parse.vcproj:
13810 * win32/testsuite/plugin.vcproj:
13811 * win32/testsuite/refcounting.vcproj:
13812 * win32/testsuite/schedulers.vcproj:
13813 * win32/testsuite/states.vcproj:
13814 * win32/testsuite/tags.vcproj:
13815 * win32/testsuite/threads.vcproj:
13816 remove old win32 stuff that isn't maintained and should be
13819 2005-11-30 Andy Wingo <wingo@pobox.com>
13821 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
13822 loading the gst.interfaces python module bork.
13824 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
13825 available since GLib 2.2. Fixes #318031.
13827 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13830 * check/.cvsignore:
13831 * check/Makefile.am:
13832 * check/elements/.cvsignore:
13833 * check/elements/fakesrc.c:
13834 * check/elements/fdsrc.c:
13835 * check/elements/identity.c:
13836 * check/generic/.cvsignore:
13837 * check/generic/states.c:
13838 * check/gst-libs/.cvsignore:
13839 * check/gst-libs/controller.c:
13840 * check/gst-libs/gdp.c:
13841 * check/gst/.cvsignore:
13842 * check/gst/capslist.h:
13844 * check/gst/gstbin.c:
13845 * check/gst/gstbuffer.c:
13846 * check/gst/gstbus.c:
13847 * check/gst/gstcaps.c:
13848 * check/gst/gstelement.c:
13849 * check/gst/gstevent.c:
13850 * check/gst/gstghostpad.c:
13851 * check/gst/gstiterator.c:
13852 * check/gst/gstmessage.c:
13853 * check/gst/gstminiobject.c:
13854 * check/gst/gstobject.c:
13855 * check/gst/gstpad.c:
13856 * check/gst/gstpipeline.c:
13857 * check/gst/gstplugin.c:
13858 * check/gst/gstsegment.c:
13859 * check/gst/gststructure.c:
13860 * check/gst/gstsystemclock.c:
13861 * check/gst/gsttag.c:
13862 * check/gst/gstutils.c:
13863 * check/gst/gstvalue.c:
13864 * check/net/.cvsignore:
13865 * check/net/gstnetclientclock.c:
13866 * check/net/gstnettimeprovider.c:
13867 * check/pipelines/.cvsignore:
13868 * check/pipelines/cleanup.c:
13869 * check/pipelines/simple_launch_lines.c:
13870 * check/pipelines/stress.c:
13871 * check/states/.cvsignore:
13872 * check/states/sinks.c:
13874 * examples/Makefile.am:
13875 * examples/appreader/.cvsignore:
13876 * examples/appreader/Makefile.am:
13877 * examples/appreader/appreader.c:
13878 * examples/controller/.cvsignore:
13879 * examples/controller/Makefile.am:
13880 * examples/controller/audio-example.c:
13881 * examples/cutter/.cvsignore:
13882 * examples/cutter/Makefile.am:
13883 * examples/cutter/cutter.c:
13884 * examples/cutter/cutter.h:
13885 * examples/events/Makefile.am:
13886 * examples/events/seek.c:
13887 * examples/helloworld/.cvsignore:
13888 * examples/helloworld/Makefile.am:
13889 * examples/helloworld/helloworld.c:
13890 * examples/helloworld2/.cvsignore:
13891 * examples/helloworld2/Makefile.am:
13892 * examples/helloworld2/helloworld2.c:
13893 * examples/launch/.cvsignore:
13894 * examples/launch/Makefile.am:
13895 * examples/launch/mp3parselaunch.c:
13896 * examples/launch/mp3play:
13897 * examples/manual/.cvsignore:
13898 * examples/manual/Makefile.am:
13899 * examples/manual/extract.pl:
13900 * examples/metadata/Makefile.am:
13901 * examples/metadata/read-metadata.c:
13902 * examples/mixer/.cvsignore:
13903 * examples/mixer/Makefile.am:
13904 * examples/mixer/mixer.c:
13905 * examples/mixer/mixer.h:
13906 * examples/pingpong/.cvsignore:
13907 * examples/pingpong/Makefile.am:
13908 * examples/pingpong/pingpong.c:
13909 * examples/plugins/.cvsignore:
13910 * examples/plugins/Makefile.am:
13911 * examples/plugins/example.c:
13912 * examples/plugins/example.h:
13913 * examples/pwg/.cvsignore:
13914 * examples/pwg/Makefile.am:
13915 * examples/pwg/extract.pl:
13916 * examples/queue/.cvsignore:
13917 * examples/queue/Makefile.am:
13918 * examples/queue/queue.c:
13919 * examples/queue2/.cvsignore:
13920 * examples/queue2/Makefile.am:
13921 * examples/queue2/queue2.c:
13922 * examples/queue3/.cvsignore:
13923 * examples/queue3/Makefile.am:
13924 * examples/queue3/queue3.c:
13925 * examples/queue4/.cvsignore:
13926 * examples/queue4/Makefile.am:
13927 * examples/queue4/queue4.c:
13928 * examples/retag/.cvsignore:
13929 * examples/retag/Makefile.am:
13930 * examples/retag/retag.c:
13931 * examples/retag/transcode.c:
13932 * examples/thread/.cvsignore:
13933 * examples/thread/Makefile.am:
13934 * examples/thread/thread.c:
13935 * examples/typefind/.cvsignore:
13936 * examples/typefind/Makefile.am:
13937 * examples/typefind/typefind.c:
13938 * examples/xml/.cvsignore:
13939 * examples/xml/Makefile.am:
13940 * examples/xml/createxml.c:
13941 * examples/xml/runxml.c:
13942 * tests/Makefile.am:
13943 * tests/check/Makefile.am:
13944 * testsuite/.cvsignore:
13945 * testsuite/Makefile.am:
13947 * testsuite/caps/.cvsignore:
13948 * testsuite/caps/Makefile.am:
13949 * testsuite/caps/app_fixate.c:
13950 * testsuite/caps/audioscale.c:
13951 * testsuite/caps/caps.c:
13952 * testsuite/caps/caps.h:
13953 * testsuite/caps/caps_strings:
13954 * testsuite/caps/compatibility.c:
13955 * testsuite/caps/deserialize.c:
13956 * testsuite/caps/enumcaps.c:
13957 * testsuite/caps/eratosthenes.c:
13958 * testsuite/caps/filtercaps.c:
13959 * testsuite/caps/fixed.c:
13960 * testsuite/caps/fraction-convert.c:
13961 * testsuite/caps/fraction-multiply-and-zero.c:
13962 * testsuite/caps/intersect2.c:
13963 * testsuite/caps/intersection.c:
13964 * testsuite/caps/normalisation.c:
13965 * testsuite/caps/random.c:
13966 * testsuite/caps/renegotiate.c:
13967 * testsuite/caps/sets.c:
13968 * testsuite/caps/simplify.c:
13969 * testsuite/caps/string-conversions.c:
13970 * testsuite/caps/structure.c:
13971 * testsuite/caps/subtract.c:
13972 * testsuite/caps/union.c:
13973 * testsuite/debug/.cvsignore:
13974 * testsuite/debug/Makefile.am:
13975 * testsuite/debug/category.c:
13976 * testsuite/debug/commandline.c:
13977 * testsuite/debug/global.c:
13978 * testsuite/debug/output.c:
13979 * testsuite/debug/printf_extension.c:
13980 * testsuite/dlopen/.cvsignore:
13981 * testsuite/dlopen/Makefile.am:
13982 * testsuite/dlopen/dlopen_gst.c:
13983 * testsuite/dlopen/loadgst.c:
13984 * testsuite/elements/.cvsignore:
13985 * testsuite/elements/Makefile.am:
13986 * testsuite/elements/gst-inspect-check.in:
13987 * testsuite/elements/struct_i386.h:
13988 * testsuite/elements/struct_size.c:
13989 * testsuite/indexers/.cvsignore:
13990 * testsuite/indexers/Makefile.am:
13991 * testsuite/indexers/cache1.c:
13992 * testsuite/indexers/indexdump.c:
13993 * testsuite/parse/.cvsignore:
13994 * testsuite/parse/Makefile.am:
13995 * testsuite/parse/parse1.c:
13996 * testsuite/parse/parse2.c:
13997 * testsuite/plugin/.cvsignore:
13998 * testsuite/plugin/Makefile.am:
13999 * testsuite/plugin/README:
14000 * testsuite/plugin/dynamic.c:
14001 * testsuite/plugin/linked.c:
14002 * testsuite/plugin/loading.c:
14003 * testsuite/plugin/registry.c:
14004 * testsuite/plugin/static.c:
14005 * testsuite/plugin/static2.c:
14006 * testsuite/plugin/testplugin.c:
14007 * testsuite/plugin/testplugin2.c:
14008 * testsuite/plugin/testplugin2_s.c:
14009 * testsuite/plugin/testplugin_s.c:
14010 * testsuite/refcounting/.cvsignore:
14011 * testsuite/refcounting/Makefile.am:
14012 * testsuite/refcounting/bin.c:
14013 * testsuite/refcounting/element.c:
14014 * testsuite/refcounting/element_pad.c:
14015 * testsuite/refcounting/mainloop.c:
14016 * testsuite/refcounting/mem.c:
14017 * testsuite/refcounting/mem.h:
14018 * testsuite/refcounting/object.c:
14019 * testsuite/refcounting/pad.c:
14020 * testsuite/refcounting/sched.c:
14021 * testsuite/refcounting/thread.c:
14022 * testsuite/states/.cvsignore:
14023 * testsuite/states/Makefile.am:
14024 * testsuite/states/bin.c:
14025 * testsuite/states/locked.c:
14026 * testsuite/states/parent.c:
14027 * testsuite/threads/.cvsignore:
14028 * testsuite/threads/159566.c:
14029 * testsuite/threads/159852.c:
14030 * testsuite/threads/Makefile.am:
14031 * testsuite/threads/queue.c:
14032 * testsuite/threads/signals.c:
14033 * testsuite/threads/staticrec.c:
14034 * testsuite/threads/thread.c:
14035 * testsuite/threads/threadb.c:
14036 * testsuite/threads/threadc.c:
14037 * testsuite/threads/threadd.c:
14038 * testsuite/threads/threade.c:
14039 * testsuite/threads/threadf.c:
14040 * testsuite/threads/threadg.c:
14041 * testsuite/threads/threadh.c:
14042 * testsuite/threads/threadi.c:
14043 move all of these under tests
14045 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14048 * tests/Makefile.am:
14051 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14053 * docs/gst/gstreamer-sections.txt:
14054 * tests/sched/.cvsignore:
14055 * tests/sched/Makefile.am:
14056 * tests/sched/cases/(fs-fs).xml:
14057 * tests/sched/cases/(fs-i-fs).xml:
14058 * tests/sched/cases/(fs-i-i-fs).xml:
14059 * tests/sched/cases/(fs-i-q[i-fs]).xml:
14060 * tests/sched/dynamic-pipeline.c:
14061 * tests/sched/interrupt1.c:
14062 * tests/sched/interrupt2.c:
14063 * tests/sched/interrupt3.c:
14064 * tests/sched/runtestcases:
14065 * tests/sched/runxml.c:
14066 * tests/sched/sched-stress.c:
14067 * tests/sched/sort.c:
14068 * tests/sched/testcases:
14069 * tests/sched/testcases1.tc:
14070 * tests/seeking/.cvsignore:
14071 * tests/seeking/Makefile.am:
14072 * tests/seeking/seeking1.c:
14073 * tests/threadstate/.cvsignore:
14074 * tests/threadstate/Makefile.am:
14075 * tests/threadstate/test1.c:
14076 * tests/threadstate/test2.c:
14077 * tests/threadstate/threadstate1.c:
14078 * tests/threadstate/threadstate2.c:
14079 * tests/threadstate/threadstate3.c:
14080 * tests/threadstate/threadstate4.c:
14081 * tests/threadstate/threadstate5.c:
14082 remove obsolete tests
14084 * tests/bench-complexity.scm:
14085 * tests/bench-mass_elements.scm:
14086 * tests/complexity.c:
14087 * tests/complexity.gnuplot:
14088 * tests/instantiate/.cvsignore:
14089 * tests/instantiate/Makefile.am:
14090 * tests/instantiate/caps.c:
14091 * tests/mass_elements.c:
14092 * tests/network-clock-utils.scm:
14093 * tests/network-clock.scm:
14095 First pass at cleaning up tests/ dir before moving the rest
14096 Combined with CVS surgery
14098 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14101 queue has moved, update
14103 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14105 * docs/gst/gstreamer-sections.txt:
14106 remove double entries from the docs
14107 * gst/gst_private.h:
14108 * gst/gstinfo.c: (_gst_debug_init):
14109 remove the THREAD debug category
14113 * docs/gst/gstreamer.types:
14114 * plugins/elements/gstqueue.c: (gst_queue_get_type),
14115 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
14116 completely move queue and fix up debugging categories
14118 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14120 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
14121 make initialization portable, using LL is not
14123 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14125 * win32/common/gstconfig.h:
14128 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14130 * win32/common/libgstreamer.def:
14131 rename symbols; sort base section
14133 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14135 * gst/gstclock.c: (do_linear_regression):
14136 remove crack non-portable handrolled DEBUG macro
14138 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14140 * docs/random/release:
14142 * win32/common/gstenumtypes.c: (register_gst_object_flags),
14143 (gst_object_flags_get_type), (register_gst_bin_flags),
14144 (gst_bin_flags_get_type), (register_gst_buffer_flag),
14145 (gst_buffer_flag_get_type), (register_gst_bus_flags),
14146 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14147 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
14148 (gst_caps_flags_get_type), (register_gst_clock_return),
14149 (gst_clock_return_get_type), (register_gst_clock_entry_type),
14150 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14151 (gst_clock_flags_get_type), (register_gst_state),
14152 (gst_state_get_type), (register_gst_state_change_return),
14153 (gst_state_change_return_get_type), (register_gst_state_change),
14154 (gst_state_change_get_type), (register_gst_element_flags),
14155 (gst_element_flags_get_type), (register_gst_core_error),
14156 (gst_core_error_get_type), (register_gst_library_error),
14157 (gst_library_error_get_type), (register_gst_resource_error),
14158 (gst_resource_error_get_type), (register_gst_stream_error),
14159 (gst_stream_error_get_type), (register_gst_event_type_flags),
14160 (gst_event_type_flags_get_type), (register_gst_event_type),
14161 (gst_event_type_get_type), (register_gst_seek_type),
14162 (gst_seek_type_get_type), (register_gst_seek_flags),
14163 (gst_seek_flags_get_type), (register_gst_format),
14164 (gst_format_get_type), (register_gst_index_certainty),
14165 (gst_index_certainty_get_type), (register_gst_index_entry_type),
14166 (gst_index_entry_type_get_type),
14167 (register_gst_index_lookup_method),
14168 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14169 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14170 (gst_index_resolver_method_get_type), (register_gst_index_flags),
14171 (gst_index_flags_get_type), (register_gst_debug_level),
14172 (gst_debug_level_get_type), (register_gst_debug_color_flags),
14173 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14174 (gst_iterator_result_get_type), (register_gst_iterator_item),
14175 (gst_iterator_item_get_type), (register_gst_message_type),
14176 (gst_message_type_get_type), (register_gst_mini_object_flags),
14177 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14178 (gst_pad_link_return_get_type), (register_gst_flow_return),
14179 (gst_flow_return_get_type), (register_gst_activate_mode),
14180 (gst_activate_mode_get_type), (register_gst_pad_direction),
14181 (gst_pad_direction_get_type), (register_gst_pad_flags),
14182 (gst_pad_flags_get_type), (register_gst_pad_presence),
14183 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14184 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14185 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14186 (gst_plugin_error_get_type), (register_gst_plugin_flags),
14187 (gst_plugin_flags_get_type), (register_gst_rank),
14188 (gst_rank_get_type), (register_gst_query_type),
14189 (gst_query_type_get_type), (register_gst_tag_merge_mode),
14190 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14191 (gst_tag_flag_get_type), (register_gst_task_state),
14192 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14193 (gst_alloc_trace_flags_get_type),
14194 (register_gst_type_find_probability),
14195 (gst_type_find_probability_get_type), (register_gst_uri_type),
14196 (gst_uri_type_get_type), (register_gst_parse_error),
14197 (gst_parse_error_get_type):
14198 * win32/common/gstenumtypes.h:
14199 * win32/common/gstversion.h:
14200 update visual studio generated files
14202 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14204 * win32/vs6/libgstbase.dsp:
14205 * win32/vs6/libgstelements.dsp:
14206 update project files for new locations
14208 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14213 reinstate and update
14218 * docs/random/LICENSE:
14221 2005-11-30 Edward Hervey <edward@fluendo.com>
14223 * gst/gsttypefind.c: (gst_type_find_register):
14224 * gst/gsttypefind.h:
14225 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
14226 (gst_type_find_factory_dispose):
14227 * gst/gsttypefindfactory.h:
14228 Fix memory leak in GstTypeFindFactory.
14230 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14233 * plugins/elements/Makefile.am:
14234 * plugins/elements/gstelements.c:
14235 * plugins/elements/gstqueue.c:
14236 move queue from core to the elements plugin
14238 2005-11-29 Andy Wingo <wingo@pobox.com>
14240 * libs/gst/base/gstbasetransform.h:
14241 * libs/gst/base/gstbasesrc.h:
14242 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
14244 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
14245 of pointers by which to pad very extensible base classes (like the
14246 ones in libs/gst/base).
14248 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14250 * docs/gst/gstreamer-docs.sgml:
14251 * docs/gst/gstreamer-sections.txt:
14252 * docs/libs/gstreamer-libs-docs.sgml:
14253 * docs/libs/gstreamer-libs-sections.txt:
14254 moving documentation from core to lib
14256 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14258 * check/Makefile.am:
14260 * docs/gst/Makefile.am:
14262 * gst/base/.cvsignore:
14263 * gst/base/Makefile.am:
14265 * gst/base/gstadapter.c:
14266 * gst/base/gstadapter.h:
14267 * gst/base/gstbasesink.c:
14268 * gst/base/gstbasesink.h:
14269 * gst/base/gstbasesrc.c:
14270 * gst/base/gstbasesrc.h:
14271 * gst/base/gstbasetransform.c:
14272 * gst/base/gstbasetransform.h:
14273 * gst/base/gstcollectpads.c:
14274 * gst/base/gstcollectpads.h:
14275 * gst/base/gstpushsrc.c:
14276 * gst/base/gstpushsrc.h:
14277 * gst/base/gsttypefindhelper.c:
14278 * gst/base/gsttypefindhelper.h:
14279 * gst/check/Makefile.am:
14280 * gst/check/gstcheck.c:
14281 * gst/check/gstcheck.h:
14282 * gst/net/Makefile.am:
14283 * gst/net/gstnet.h:
14284 * gst/net/gstnetclientclock.c:
14285 * gst/net/gstnetclientclock.h:
14286 * gst/net/gstnettimepacket.c:
14287 * gst/net/gstnettimepacket.h:
14288 * gst/net/gstnettimeprovider.c:
14289 * gst/net/gstnettimeprovider.h:
14290 * libs/gst/Makefile.am:
14291 * libs/gst/base/Makefile.am:
14292 * libs/gst/base/gstbasetransform.c:
14293 * libs/gst/check/Makefile.am:
14294 * plugins/elements/Makefile.am:
14296 CVS surgery + support to move base, check, and net out of gst
14299 2005-11-29 Andy Wingo <wingo@pobox.com>
14301 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
14303 * gst/gststructure.h (struct _GstStructure): Only one pointer of
14306 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
14308 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
14310 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
14312 * gst/gstobject.h: (struct _GstObject): Only one pointer of
14313 padding; reduces object size by about 30%. We don't expect
14314 anything else to go into gstobject.
14316 * gst/gstminiobject.h (struct _GstMiniObject)
14317 (struct _GstMiniObjectClass): Only one pointer of padding; the
14318 payload is only a pointer and two ints anyway. For the class there
14319 are only two methods as well.
14321 * gst/gstelement.h (struct _GstElementClass): Removed
14322 the state_changed signal callback, it is not used.
14324 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
14326 * docs/gst/gstreamer.types:
14327 fix includes, though they are a little dinky
14329 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14331 * check/Makefile.am:
14332 look in the right place for elements, a lot more chance of
14335 remove indexers and elements subdirs
14336 * plugins/Makefile.am:
14337 make indexers conditional
14339 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14343 * plugins/elements/Makefile.am:
14344 * plugins/elements/gstcapsfilter.c:
14345 * plugins/elements/gstfilesink.c:
14346 * plugins/elements/gstfilesrc.c:
14347 * plugins/elements/gstidentity.c:
14348 * plugins/indexers/Makefile.am:
14349 do CVS surgery and related build fixery to move elements
14350 and indexers in a new gstreamer/plugins directory, out of the
14353 2005-11-29 Andy Wingo <wingo@pobox.com>
14355 * check/Makefile.am:
14356 * pkgconfig/gstreamer-net-uninstalled.pc.in:
14357 * pkgconfig/gstreamer-net.pc.in:
14358 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
14361 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
14363 * tools/Makefile.am:
14364 * tools/gst-complete.1.in:
14365 * tools/gst-complete.c:
14366 * tools/gst-compprep.1.in:
14367 * tools/gst-compprep.c:
14368 removing -compprep and -complete
14370 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
14372 * gst/gstevent.c: (gst_event_new_new_segment),
14373 (gst_event_parse_new_segment):
14375 fix #320529 - clean up new_segment API and structure.
14376 Let's hope everyone was using the methods, and not the structure.
14378 2005-11-29 Edward Hervey <edward@fluendo.com>
14380 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14381 (gst_base_sink_event), (gst_base_sink_do_sync),
14382 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14383 Properly handle non GST_FORMAT_TIME segment
14384 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14385 Properly handle non GST_FORMAT_TIME segment
14386 * gst/gstsegment.c:
14387 This function is valid if the accumulator is 0 and the format
14388 is different from the requested format.
14390 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
14392 * docs/gst/gstreamer-sections.txt:
14393 Add gst_query_new_seeking and gst_query_parse_seeking to the
14396 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
14398 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14399 Treat a pad alloc with new caps the same as if we were not
14400 negotiated, in order to allow a changing upstream output
14401 to produce a new format of data.
14403 2005-11-29 Edward Hervey <edward@fluendo.com>
14405 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14406 (gst_base_transform_event), (gst_base_transform_eventfunc):
14407 The event virtual method is now properly implemented, with a default
14409 Sub classes should call the parent_class event method. They should
14410 return FALSE if they had a problem handling the given event, or don't
14411 want GstBaseTransform to send that even downstream
14412 * gst/elements/gstidentity.c: (gst_identity_class_init),
14413 (gst_identity_init), (gst_identity_event),
14414 (gst_identity_transform_ip), (gst_identity_set_property),
14415 (gst_identity_get_property):
14416 * gst/elements/gstidentity.h:
14417 Added the single-segment boolean property.
14418 If set to TRUE, it will output a single segment of data, starting from
14419 0, will eat up all incoming newsegment, and modify the timestamp of the
14420 buffers accordingly
14422 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
14424 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
14425 Don't ref NULL target pad (#322751). Improve docs.
14427 2005-11-29 Michael Smith <msmith@fluendo.com>
14429 * gst/gstregistryxml.c: (load_plugin):
14430 Don't crash if we failed to load a feature from a plugin.
14432 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14434 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14436 use more check API and less GLib API
14438 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14441 don't run checks if we don't have check
14442 * common/check.mak:
14443 remove the registry when running make torture
14444 * docs/gst/gstreamer-sections.txt:
14445 remove second multiply
14446 * gst/gstqueue.c: (gst_queue_loop):
14447 fix a compile warning when disabling debug
14449 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14452 Hey! Let's print the pad name if the pointer != NULL instead
14453 of when it == NULL :-)
14455 2005-11-28 Wim Taymans <wim@fluendo.com>
14457 * check/gst/gstutils.c: (GST_START_TEST):
14458 Updated check, add some scaling accuracy checking code.
14460 * gst/gstutils.c: (gst_util_div128_64),
14461 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14462 (gst_util_uint64_scale_int):
14463 Fix 6 times faster division code. Optimize for common
14464 1/1 and less common X/1 cases.
14466 2005-11-28 Wim Taymans <wim@fluendo.com>
14468 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14471 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14472 (do_linear_regression), (gst_clock_add_observation):
14474 Release lock when the clock cannot be slaved.
14475 Catch the case where the regression returned an invalid denominator.
14477 * gst/gstutils.c: (gst_util_div128_64_iterate),
14478 (gst_util_div128_64), (gst_util_uint64_scale_int64),
14479 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14480 Add protentially more performant non-iterative 128/64 divide function
14481 that unfortunatly does not work yet.
14482 Shortcut the trivial 0/X = 0 case.
14483 Remove the warnings on overflow.
14485 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14487 * gst/gstplugin.c: (gst_plugin_register_func):
14488 everything causing a plugin not to load should be at least a WARNING
14490 2005-11-28 Stefan Kost <ensonic@users.sf.net>
14492 * docs/random/ensonic/dparams.txt:
14493 some TODOs for the next dev cycle
14494 * libs/gst/controller/gstcontroller.c:
14495 (gst_controlled_property_set_interpolation_mode),
14496 (gst_controlled_property_new):
14497 * libs/gst/controller/gstcontroller.h:
14498 use base type to assign acccessor functions
14500 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14502 * check/Makefile.am:
14503 Oops, that should have been top_srcdir
14505 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14507 * check/Makefile.am:
14508 * check/elements/fdsrc.c: (GST_START_TEST):
14509 Use a cmdline define to specify the location of a file to use for
14510 testing, to avoid breaking distcheck.
14512 2005-11-28 Andy Wingo <wingo@pobox.com>
14514 * gst/gstpad.c (fixate_value): Use array functions for arrays.
14516 2005-11-28 Edward Hervey <edward@fluendo.com>
14518 * tools/gst-launch.c: (main):
14519 Clarify the output strings, makes it easier to translate.
14522 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14525 don't try and build net if we don't even have <sys/socket.h>
14527 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
14529 * check/Makefile.am:
14530 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
14531 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
14532 Add tests for fdsrc seekability
14534 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14535 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
14536 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
14537 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
14538 * gst/elements/gstfdsrc.h:
14539 fdsrc should not be a 'live' source.
14540 Implement seeking on seekable fd's.
14542 * gst/gstquery.c: (gst_query_new_seeking),
14543 (gst_query_parse_seeking):
14545 Implement SEEKING query functions:
14546 *_new_seeking and *_parse_seeking
14548 2005-11-27 Stefan Kost <ensonic@users.sf.net>
14550 * gst/gstelement.c: (gst_element_dispose):
14553 * gst/gstiterator.c:
14554 * gst/gststructure.c:
14557 * libs/gst/controller/gstcontroller.c:
14558 (gst_controlled_property_set_interpolation_mode):
14559 * libs/gst/controller/gstcontroller.h:
14560 * libs/gst/controller/gstinterpolation.c:
14561 (interpolate_none_get_enum_value_array):
14562 support controlling enums
14564 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
14567 Improve documentation for gst_value_union().
14570 Change return value for union, intersect and subtract functions
14571 from gint to gboolean.
14573 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
14575 * gst/gstvalue.c: (gst_value_serialize_any_list),
14576 (gst_value_transform_any_list_string),
14577 (gst_value_deserialize_list), (gst_value_deserialize_array),
14578 (gst_value_set_int_range), (gst_value_deserialize_int_range),
14579 (gst_value_set_double_range), (gst_value_deserialize_double_range),
14580 (gst_value_set_fraction_range_full),
14581 (gst_value_deserialize_fraction_range),
14582 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14583 (gst_value_deserialize_boolean),
14584 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14585 (gst_value_serialize_float), (gst_value_deserialize_float),
14586 (gst_string_wrap), (gst_value_deserialize_string),
14587 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14588 (gst_value_union_int_range_int_range),
14589 (gst_value_intersect_int_range_int_range),
14590 (gst_value_intersect_double_range_double_range),
14591 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14592 (gst_value_subtract_int_range_int_range),
14593 (gst_value_subtract_double_double_range),
14594 (gst_value_subtract_double_range_double_range),
14595 (gst_value_deserialize_fraction):
14597 Use gint, gdouble and gchar in our API instead of int, double and
14598 char (and make usage in gstvalue.c more consistent).
14600 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14602 * check/Makefile.am:
14603 * libs/gst/controller/Makefile.am:
14604 * libs/gst/dataprotocol/Makefile.am:
14605 fix up Makefile.am and remove GST_ENABLE_NEW
14607 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14611 * gst/base/Makefile.am:
14612 * gst/check/Makefile.am:
14613 * gst/elements/Makefile.am:
14614 * gst/net/Makefile.am:
14615 update LDFLAGS use some more
14617 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14619 * common/m4/gst-doc.m4:
14622 2005-11-26 Edward Hervey <edward@fluendo.com>
14624 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14625 This shouldn't issue a g_warning since it returns NULL if it
14626 couldn't find the plugin, and all functions using this behave
14627 properly on a NULL return. Switching to a GST_WARNING.
14629 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
14631 * gst/gstbin.c: (gst_bin_handle_message_func):
14632 Don't leak clock messages.
14634 2005-11-25 Wim Taymans <wim@fluendo.com>
14636 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14637 (gst_util_uint64_scale_int):
14638 Optimisations, remove unneeded vars.
14640 2005-11-25 Wim Taymans <wim@fluendo.com>
14642 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14643 Added more checks for the high precision uint64 cases.
14645 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14646 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14647 Implement high precision (guint64 * guint64) / guint64.
14649 2005-11-24 Wim Taymans <wim@fluendo.com>
14651 * gst/base/gstbasesrc.c: (gst_base_src_query):
14652 Fix wrong percentage query.
14654 * gst/gstutils.c: (gst_util_uint64_scale),
14655 (gst_util_uint64_scale_int):
14656 Add some more common cases that can be handled
14657 efficiently to _scale.
14659 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
14661 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14662 (gst_mini_object_suite):
14663 don't use check calls from threads; check probably isn't
14664 threadsafe and using a lock to make it threadsafe would
14665 defeat the purpose of this check
14666 * gst/check/gstcheck.c:
14667 * gst/check/gstcheck.h:
14668 use GST_DEBUG some more
14670 2005-11-24 Wim Taymans <wim@fluendo.com>
14672 * gst/gstutils.c: (gst_util_uint64_scale),
14673 (gst_util_uint64_scale_int):
14674 Chain trivial case to _scale_int.
14676 2005-11-24 Wim Taymans <wim@fluendo.com>
14678 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14679 Added test for scaling.
14684 * gst/gstutils.c: (gst_util_uint64_scale_int):
14685 Implemented high precision scaling code.
14687 2005-11-24 Stefan Kost <ensonic@users.sf.net>
14690 do not crash on pad==NULL
14692 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
14694 Patch by: Stefan Kost
14696 * common/gtk-doc.mak:
14697 * docs/gst/Makefile.am:
14698 * docs/libs/Makefile.am:
14699 Fix distcheck issues for the libraries docs build
14702 2005-11-24 Michael Smith <msmith@fluendo.com>
14704 * docs/manual/basics-helloworld.xml:
14705 Fix bug #315027: memory leak in example code in docs.
14707 2005-11-24 Michael Smith <msmith@fluendo.com>
14709 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14710 Unlock the PREROLL_LOCK in a failure case.
14712 2005-11-24 Wim Taymans <wim@fluendo.com>
14714 * docs/gst/gstreamer-sections.txt:
14715 * gst/base/gstadapter.h:
14716 * gst/base/gstbasesink.h:
14717 * gst/base/gstbasesrc.h:
14718 * gst/base/gstbasetransform.h:
14719 * gst/base/gstpushsrc.h:
14720 * gst/elements/gstfakesink.h:
14721 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14722 * gst/elements/gstfakesrc.h:
14723 * gst/elements/gstfilesink.h:
14724 * gst/elements/gstfilesrc.h:
14727 * gst/gstbuffer.c: (_gst_buffer_copy):
14730 * gst/gstchildproxy.c:
14732 * gst/gstelement.c:
14733 * gst/gstelementfactory.c:
14734 * gst/gstelementfactory.h:
14736 * gst/gstghostpad.h:
14738 * gst/gstinterface.h:
14739 * gst/gstminiobject.c:
14740 * gst/gstminiobject.h:
14743 * gst/gstpadtemplate.h:
14744 * gst/gstpipeline.h:
14745 * gst/gstpluginfeature.h:
14748 * gst/gsttaglist.c:
14749 * gst/gsttaglist.h:
14750 * gst/gsttagsetter.c:
14751 * gst/gsttagsetter.h:
14754 * gst/gsttypefind.h:
14757 * gst/net/gstnetclientclock.c:
14758 * gst/net/gstnetclientclock.h:
14759 * gst/net/gstnettimepacket.c:
14760 * gst/net/gstnettimeprovider.c:
14761 * gst/net/gstnettimeprovider.h:
14764 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14766 * configure.ac: back to HEAD
14768 === release 0.9.6 ===
14770 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14773 releasing 0.9.6, "Always On Time"
14775 2005-11-23 Wim Taymans <wim@fluendo.com>
14777 * docs/gst/gstreamer-sections.txt:
14778 * gst/glib-compat.c:
14779 * gst/gsttagsetter.c:
14781 * gst/net/gstnetclientclock.c:
14782 * gst/net/gstnettimepacket.h:
14785 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14787 * docs/faq/using.xml:
14788 * docs/libs/tmpl/gstcontrol.sgml:
14789 * docs/manual/advanced-dparams.xml:
14790 * docs/manual/appendix-checklist.xml:
14791 * docs/manual/basics-elements.xml:
14792 * docs/pwg/other-source.xml:
14793 * docs/random/moving-plugins:
14795 * tools/gst-launch.1.in:
14796 remove mentions of sinesrc
14798 2005-11-23 Michael Smith <msmith@fluendo.com>
14800 * docs/gst/gstreamer-sections.txt:
14801 Update for new API and API changes.
14803 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
14805 Documentation typo fix.
14806 * gst/net/gstnettimepacket.c:
14807 Documentation fixes for arguments.
14809 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
14811 * gst/gststructure.c: (gst_structure_get_fraction),
14812 (gst_structure_parse_value),
14813 (gst_structure_fixate_field_nearest_fraction):
14814 * gst/gststructure.h:
14815 * gst/gstutils.c: (gst_util_uint64_scale_int):
14817 * scripts/update-funcnames:
14819 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
14820 Make gst_structure_fixate_field_nearest_fraction take a numerator
14821 and denominator argument instead of a GValue
14822 add gst_structure_get_fraction helper function.
14824 2005-11-23 Wim Taymans <wim@fluendo.com>
14826 * docs/design/part-TODO.txt:
14829 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
14830 * gst/net/gstnetclientclock.h:
14831 Use parent fields for timeout and window_size.
14833 2005-11-23 Andy Wingo <wingo@pobox.com>
14835 * check/net/gstnetclientclock.c (test_functioning): Adjust to
14836 rate_num/rate_denom change.
14838 * gst/net/gstnetclientclock.c
14839 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
14840 OBJECT_LOCK. Don't call add_observation with the lock.
14842 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
14844 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
14846 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
14847 deal with rate as a fraction whose numerator and denominator are
14848 GstClockTime values.
14849 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
14850 master; the other fields are protected by the SLAVE_LOCK.
14851 (do_linear_regression): Note that this must be called with the
14853 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
14854 OBJECT_LOCK. Call set_calibration instead of touching the
14855 variables directly.
14856 (gst_clock_set_property, gst_clock_get_property): Protect
14857 master/slave parameters with the SLAVE_LOCK.
14859 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
14860 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
14861 note that all of the instance variables that add_observation and
14862 the set_master functions use are protected by that lock and not
14864 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
14866 * gst/gstclock.c (gst_clock_add_observation): No longer requires
14867 the caller to take the object lock.
14869 2005-11-23 Wim Taymans <wim@fluendo.com>
14871 * gst/gsterror.c: (_gst_core_errors_init):
14873 Add error for clock stuff.
14875 * gst/gstpipeline.c: (gst_pipeline_change_state),
14876 (gst_pipeline_set_clock):
14877 Post clock error when clock cannot be used in a pipeline.
14879 2005-11-23 Stefan Kost <ensonic@users.sf.net>
14881 * docs/gst/gstreamer-sections.txt:
14882 make two symbols from gstinfo private for the docs
14883 * gst/base/gstcollectpads.h:
14885 fix doc typos, update docs
14887 2005-11-22 Wim Taymans <wim@fluendo.com>
14889 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14890 (gst_base_sink_wait), (gst_base_sink_do_sync),
14891 (gst_base_sink_handle_event):
14892 * gst/base/gstbasesink.h:
14893 No need to store the clock, the parent element class already
14896 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14897 Updates for clock_set returning a gboolean
14899 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14900 (gst_clock_id_wait_async), (gst_clock_class_init),
14901 (gst_clock_init), (gst_clock_finalize),
14902 (gst_clock_get_internal_time), (gst_clock_get_time),
14903 (gst_clock_slave_callback), (gst_clock_set_master),
14904 (gst_clock_get_master), (do_linear_regression),
14905 (gst_clock_add_observation), (gst_clock_set_property),
14906 (gst_clock_get_property):
14908 Implement master/slave. When setting a clock as a slave, a
14909 periodic timeout is scheduled to sample master and slave times.
14910 Then the slave clock is recalibrated to match offset and rate
14911 of the master clock.
14912 Update logging a bit.
14913 Add flag so that a clock can state that is cannot be slaved to
14916 * gst/gstelement.c: (gst_element_set_clock):
14917 * gst/gstelement.h:
14918 The set clock returns a gboolean for when an element cannot
14919 deal with the selected clock in the pipeline.
14921 * gst/gstpipeline.c: (gst_pipeline_change_state),
14922 (gst_pipeline_set_clock):
14923 * gst/gstpipeline.h:
14924 Handle the case where the selected clock cannot be set on
14927 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14928 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14929 (gst_net_client_clock_set_property),
14930 (gst_net_client_clock_get_property),
14931 (gst_net_client_clock_observe_times):
14932 * gst/net/gstnetclientclock.h:
14933 Use regression code in GstClock parent, remove duplicated
14936 2005-11-22 Michael Smith <msmith@fluendo.com>
14938 * gst/gstutils.c: (gst_util_clock_time_scale):
14940 * docs/gst/gstreamer-sections.txt:
14941 Rename method to have extra underscore.
14943 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
14945 * gst/elements/Makefile.am:
14946 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14947 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14948 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14949 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14950 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14951 * gst/elements/gstfakesrc.h:
14952 * gst/gstqueue.c: (queue_leaky_get_type):
14953 correctly fix GEnumValues so that nick is the short lowercase
14955 * tools/gst-inspect.c: (print_element_properties_info):
14956 also show the nick, since it's useful to use from parse_launch
14960 2005-11-22 Michael Smith <msmith@fluendo.com>
14962 * gst/gstutils.c: (gst_util_clocktime_scale):
14964 * docs/gst/gstreamer-sections.txt:
14965 Add util method for scaling a clocktime by a fraction. Useful
14966 implementation is left as an exercise for the reader.
14968 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14970 * gst/gstvalue.c: (gst_value_collect_fraction_range):
14971 If needed, allocate storage in the destination value during
14974 2005-11-22 Edward Hervey <edward@fluendo.com>
14976 * docs/gst/gstreamer-sections.txt:
14979 * gst/gsturitype.c:
14980 * gst/gsturitype.h:
14981 * gst/gstutils.c: (gst_util_set_object_arg):
14982 * tools/gst-compprep.c: (main):
14983 * tools/gst-inspect.c: (print_element_properties_info):
14984 Removed GstURI, closes bug #321061
14986 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14988 * check/gst/gststructure.c: (GST_START_TEST):
14989 * gst/gststructure.c: (gst_structure_parse_value):
14990 Oops, broke automatic string type parsing.
14991 Add a test to catch it in future.
14993 2005-11-22 Andy Wingo <wingo@pobox.com>
14995 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
14996 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14997 Actually rename the function implementations. Grr.
14999 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15001 * check/gst/capslist.h:
15003 * check/gst/gststructure.c: (GST_START_TEST),
15004 (gst_structure_suite):
15005 Test automatic value type detection in gst_structure_from_string.
15006 * gst/gststructure.c: (gst_structure_parse_value):
15007 Add fraction as a type we try and guess automatically in
15008 caps/structure strings.
15010 2005-11-22 Andy Wingo <wingo@pobox.com>
15012 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
15014 * gst/gsttagsetter.h:
15015 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
15016 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
15017 (gst_tag_setter_add_tag_valist)
15018 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
15019 _add_values, _add_valist, and _add_valist_values. Since this is an
15020 interface the function suffixes should be more explicit so
15021 language binding don't end up with element.add_valist ->
15022 gst_tag_setter_add_valist, for example. Fixes #322069.
15024 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15026 * check/gst/gstcaps.c: (GST_START_TEST):
15027 Extend caps string tests to check that a caps to string
15028 conversion is reversible and produces the same caps.
15030 * gst/gststructure.c: (gst_structure_value_get_generic_type):
15031 Output "fraction" as the generic type fraction range, so caps
15032 serialisation and deserialisation works.
15033 * check/gst/capslist.h:
15034 * gst/gstvalue.c: (gst_value_deserialize_fraction):
15035 Support 'MIN' and 'MAX' for deserialising fractions.
15037 2005-11-22 Andy Wingo <wingo@pobox.com>
15039 * gst/gstevent.h (gst_event_new_new_segment)
15040 (gst_event_parse_new_segment, gst_event_new_buffer_size)
15041 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
15042 Renamed from *_newsegment, *_buffersize, *_notarget.
15044 * scripts/update-funcnames: New script, performs the changes
15047 2005-11-22 Wim Taymans <wim@fluendo.com>
15049 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15050 Make sure the GstFlowReturn is returned.
15052 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
15053 (gst_bus_add_signal_watch):
15055 add gst_bus_add_signal_watch_full.
15057 * gst/gstplugin.c: (gst_plugin_load_file):
15058 Small style cleanup.
15060 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15062 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
15063 Block the fakesrc srcpad when we send an event, to avoid
15064 contention on the stream_lock causing random test failures.
15066 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15068 * check/gst/gstvalue.c: (GST_START_TEST):
15069 * gst/gstvalue.c: (gst_value_fraction_subtract):
15072 2005-11-22 Stefan Kost <ensonic@users.sf.net>
15075 include "gstchildproxy.h"
15076 * gst/gstchildproxy.h:
15077 * libs/gst/controller/gstcontroller.h:
15078 use G_GNUC_NULL_TERMINATED
15080 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15082 * check/gst/capslist.h:
15083 * check/gst/gstcaps.c: (GST_START_TEST):
15084 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15085 * gst/gststructure.c: (gst_structure_parse_range),
15086 (gst_structure_fixate_field_nearest_fraction):
15087 * gst/gststructure.h:
15088 * gst/gstvalue.c: (gst_value_init_fraction_range),
15089 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
15090 (gst_value_collect_fraction_range),
15091 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
15092 (gst_value_set_fraction_range_full),
15093 (gst_value_get_fraction_range_min),
15094 (gst_value_get_fraction_range_max),
15095 (gst_value_serialize_fraction_range),
15096 (gst_value_transform_fraction_range_string),
15097 (gst_value_compare_fraction_range),
15098 (gst_value_deserialize_fraction_range),
15099 (gst_value_intersect_fraction_fraction_range),
15100 (gst_value_intersect_fraction_range_fraction_range),
15101 (gst_value_subtract_fraction_fraction_range),
15102 (gst_value_subtract_fraction_range_fraction),
15103 (gst_value_subtract_fraction_range_fraction_range),
15104 (gst_value_collect_fraction), (gst_value_fraction_multiply),
15105 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
15106 (gst_value_transform_string_fraction), (_gst_value_initialize):
15108 Implement fraction ranges and extend GstFraction to support
15109 arithmetic subtraction, as well as deserialization from integer
15110 strings such as "100"
15111 Add a testsuite as for int and double range set operations
15113 2005-11-21 Andy Wingo <wingo@pobox.com>
15115 * gst/gsttaglist.h:
15117 * gst/gststructure.h: Add glib-compat.h.
15119 2005-11-21 Wim Taymans <wim@fluendo.com>
15121 * gst/gstbin.c: (gst_bin_change_state_func):
15124 2005-11-21 Wim Taymans <wim@fluendo.com>
15126 * gst/gstsegment.h:
15127 And add a nice define too.
15129 2005-11-21 Wim Taymans <wim@fluendo.com>
15131 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
15132 (gst_segment_new), (gst_segment_free), (gst_segment_init),
15133 (gst_segment_set_duration), (gst_segment_set_last_stop),
15134 (gst_segment_set_seek), (gst_segment_set_newsegment),
15135 (gst_segment_to_stream_time), (gst_segment_to_running_time),
15136 (gst_segment_clip):
15137 * gst/gstsegment.h:
15138 Make binding friendly.
15140 2005-11-21 Andy Wingo <wingo@pobox.com>
15142 * gst/gsttagsetter.h:
15143 * gst/gsttaglist.h:
15144 * gst/gststructure.h:
15146 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
15149 * gst/gsterror.c (_gst_core_errors_init):
15150 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
15153 * gst/Makefile.am (gst_headers): Add glib-compat.h.
15154 (noinst_HEADERS): noinst the -private.
15156 2005-11-21 Michael Smith <msmith@fluendo.com>
15159 * gst/gstregistry.h:
15160 Remove unimplemented declarations for which we can see no sensible
15163 2005-11-21 Andy Wingo <wingo@pobox.com>
15165 * gst/gst.h: Include glib-compat.h.
15167 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
15169 * gst/glib-compat.c: Include the public and the private header.
15171 * gst/glib-compat-private.h: Copied here from glib-compat.h.
15175 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
15177 * check/gst/gstevent.c (create_custom_events): Check that
15178 FLUSH_STOP is serialized.
15180 * check/elements/identity.c (event_func):
15181 * check/elements/fakesrc.c (event_func): No stream lock, the core
15184 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
15185 stream lock taking, yay.
15187 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
15188 ensure that core takes the stream lock.
15190 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
15193 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
15194 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
15195 it already. For the flush start we do take it though so we get the
15196 right preroll state change messages.
15198 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
15199 the stream lock here, the core does it for us.
15201 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
15202 GST_STREAM_GET_LOCK.
15203 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
15204 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
15205 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
15206 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
15207 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
15208 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
15210 * gst/gstpad.c: Update for stream lock name change.
15212 * gst/base/gstbasesink.c: Update for preroll lock name change.
15214 2005-11-21 Wim Taymans <wim@fluendo.com>
15216 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
15217 (gst_clock_get_master):
15219 * gst/gstsystemclock.c: (gst_system_clock_init):
15220 Convert Clock flags to object flags.
15221 Added methods to manage master/slave clocks.
15223 2005-11-21 Wim Taymans <wim@fluendo.com>
15225 * check/gst/gstsegment.c: (GST_START_TEST):
15226 * docs/design/part-TODO.txt:
15227 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15228 (gst_base_sink_event), (gst_base_sink_do_sync),
15229 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15230 (gst_base_sink_query), (gst_base_sink_change_state):
15231 * gst/base/gstbasesink.h:
15232 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15233 (gst_base_src_default_newsegment),
15234 (gst_base_src_configure_segment), (gst_base_src_do_seek),
15235 (gst_base_src_get_range), (gst_base_src_loop),
15236 (gst_base_src_change_state):
15237 * gst/base/gstbasesrc.h:
15238 * gst/base/gstbasetransform.c:
15239 (gst_base_transform_prepare_output_buf),
15240 (gst_base_transform_event), (gst_base_transform_change_state):
15241 * gst/base/gstbasetransform.h:
15242 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15243 (gst_collect_pads_event):
15244 * gst/base/gstcollectpads.h:
15245 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
15246 (gst_fake_src_create):
15247 * gst/elements/gstfakesrc.h:
15248 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15249 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15250 (gst_segment_set_last_stop), (gst_segment_set_seek),
15251 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
15252 (gst_segment_to_running_time), (gst_segment_clip):
15253 * gst/gstsegment.h:
15254 More segment updates, replace code in plugins with segment
15257 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
15259 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
15260 Don't ignore sscanf results
15262 2005-11-21 Andy Wingo <wingo@pobox.com>
15264 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
15267 * *.c: Ran scripts/update-macros. Oh yes.
15269 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
15270 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
15273 * scripts/update-macros: New script. Run it on your files to
15274 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
15277 2005-11-21 Stefan Kost <ensonic@users.sf.net>
15279 * docs/gst/Makefile.am:
15280 * docs/gst/gstreamer-docs.sgml:
15281 * docs/gst/gstreamer-sections.txt:
15282 * docs/gst/gstreamer.types:
15284 more docs fixes, add new api to the docs
15286 2005-11-21 Andy Wingo <wingo@pobox.com>
15288 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
15289 state_broadcast call.
15291 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
15293 2005-11-21 Julien MOUTTE <julien@moutte.net>
15295 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
15296 function calls for arrays.
15298 2005-11-21 Stefan Kost <ensonic@users.sf.net>
15300 * docs/random/ensonic/media-device-daemon.txt:
15301 wild idea, can this be done?
15302 * docs/gst/gstreamer-sections.txt:
15307 * gst/gstpluginfeature.c:
15311 doc fixes and additions
15313 2005-11-21 Andy Wingo <wingo@pobox.com>
15315 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
15316 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
15317 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
15318 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
15319 private to the basesrc implementation.
15321 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
15322 behalf of event function if necessary. It should no longer be
15323 necessary to take the stream lock in pad's event functions. Fixes
15326 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
15327 * docs/gst/gstreamer-sections.txt:
15328 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
15329 (gst_structure_fixate_field_nearest_double),
15330 (gst_structure_fixate_field_boolean):
15331 * gst/gststructure.h:
15332 * win32/common/libgstreamer.def:
15333 * win32/gstreamer.def:
15335 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
15338 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
15340 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
15341 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
15342 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
15343 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
15344 (gst_fdsrc_uri_handler_init):
15345 * gst/elements/gstfdsrc.h:
15346 Port fd:// URI handler from 0.8 to fdsrc
15348 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15350 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
15351 (gst_value_serialize_fourcc):
15353 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
15354 consistent with our other format defines (#320324).
15356 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15358 * gst/gstvalue.c: (gst_value_is_fixed):
15359 Revert previous commit. Value lists are by definition
15360 not fixed, as they are a list of possible values.
15362 2005-11-21 Andy Wingo <wingo@pobox.com>
15364 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
15365 during the stable series if we need it. Fixes #319178.
15367 * gst/gstevent.c (gst_event_new_filler): Removed.
15369 * check/gst/gstevent.c: Update comment about filler events.
15371 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15373 * gst/gstvalue.c: (gst_value_is_fixed):
15374 Should handle both value arrays and value lists.
15376 2005-11-21 Andy Wingo <wingo@pobox.com>
15378 patch by: Alessandro Dessina <alessandro nnva org>
15380 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
15381 functions to access arrays. Fixes #321962.
15383 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15385 * docs/gst/gstreamer.types:
15386 gst_collectpads_get_type => gst_collect_pads_get_type.
15388 * gst/base/gstbasetransform.c:
15389 Remove unused SIGNAL_HANDOFF enum.
15391 2005-11-21 Andy Wingo <wingo@pobox.com>
15393 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
15394 the event type (upstream, downstream, serialized). Renamed
15395 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
15396 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
15397 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
15399 * gst/gstevent.c: Update for new CUSTOM event names.
15401 * check/gst/gstevent.c: Update check for new CUSTOM event names.
15404 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
15407 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15409 * docs/gst/gstreamer-sections.txt:
15410 * win32/common/libgstbase.def:
15411 * win32/libgstbase.def:
15412 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15413 (gst_collect_pads_class_init), (gst_collect_pads_init),
15414 (gst_collect_pads_finalize), (gst_collect_pads_new),
15415 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
15416 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
15417 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
15418 (gst_collect_pads_start), (gst_collect_pads_stop),
15419 (gst_collect_pads_peek), (gst_collect_pads_pop),
15420 (gst_collect_pads_available), (gst_collect_pads_read),
15421 (gst_collect_pads_flush), (gst_collect_pads_event),
15422 (gst_collect_pads_chain):
15423 * gst/base/gstcollectpads.h:
15424 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
15425 unimplemented functions as unimplemented. Add padding to
15426 GstCollectData. (#320766, #320423)
15428 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15430 * gst/gstmessage.c:
15431 Improve docs for DURATION message (usage of duration parameter)
15434 2005-11-20 Wim Taymans <wim@fluendo.com>
15436 * check/Makefile.am:
15437 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15441 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15442 (gst_segment_set_seek), (gst_segment_set_newsegment),
15443 (gst_segment_to_stream_time), (gst_segment_to_running_time),
15444 (gst_segment_clip):
15445 * gst/gstsegment.h:
15446 Added segment helper structure and methods. Not fully implemented
15448 Added segment check.
15450 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
15452 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15453 Add a deserialisation test for fractions
15454 * examples/metadata/read-metadata.c: (message_loop),
15455 (make_pipeline), (main):
15456 Fix up metadata reading sample.
15457 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15459 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15460 Don't try and fixate empty caps
15461 * gst/gst_private.h:
15462 Wrap in G_BEGIN_DECLS/G_END_DECLS
15463 * gst/gstvalue.c: (gst_value_collect_fraction),
15464 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15465 (gst_value_transform_string_fraction),
15466 (gst_value_compare_fraction):
15467 Add some extra guards to ensure that we don't end up
15468 with an invalid denominator of 0 in a gstfraction and
15469 that fractions always get reduced.
15471 2005-11-20 Wim Taymans <wim@fluendo.com>
15473 * docs/gst/gstreamer-sections.txt:
15475 * gst/gstelement.c:
15484 2005-11-20 Wim Taymans <wim@fluendo.com>
15486 * docs/design/part-TODO.txt:
15488 Make a proper enum of the flag.
15490 2005-11-19 Wim Taymans <wim@fluendo.com>
15492 * docs/design/part-TODO.txt:
15493 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15494 (gst_format_to_quark), (gst_format_register):
15496 * gst/gstquery.c: (_gst_query_initialize),
15497 (gst_query_type_get_name), (gst_query_type_to_quark),
15498 (gst_query_type_register):
15500 Add type to quark and type to string conversions.
15502 2005-11-19 Andy Wingo <wingo@pobox.com>
15504 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
15507 2005-11-19 Wim Taymans <wim@fluendo.com>
15509 * docs/design/part-TODO.txt:
15510 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15511 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
15512 (gst_bin_handle_message_func):
15514 Make message handling overridable.
15516 2005-11-19 Andy Wingo <wingo@pobox.com>
15518 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
15521 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
15523 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
15524 is a GstClockTime. Fixes #321710.
15526 * gst/gstclock.h (GstClock): Remove offset property. Add
15527 internal_calibration and external_calibration. Fix padding. Pad
15528 also by GstClockTime so we don't run into problems.
15530 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
15531 (gst_clock_get_rate_offset): Remove.
15532 (gst_clock_set_time_adjust): Remove. Fixes #321712.
15535 * gst/gstutils.c (g_static_rec_cond_wait)
15536 (g_static_rec_cond_timed_wait): Removed, no longer needed.
15538 * gst/gstbin.c: Remove terrible continue_state prototype.
15540 * gst/gstelement.h (gst_element_continue_state): Make public.
15542 * gst/gstelement.h:
15543 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
15544 by continue_state. Fixes #319389.
15546 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
15547 Really fixes #168438. However I don't see anywhere where the
15548 filter function is called... stupid GStreamer...
15550 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15551 don't have a dispose function, so it won't get called when the
15552 object is unreffed, but oh well!
15554 * gst/gstindex.c (gst_index_set_filter_full): New API function,
15555 allows a destroy function to be set so user_data can be freed.
15557 (gst_index_set_filter): Call gst_index_set_filter_full.
15559 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15561 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15562 string should produce an error, given the lack of a way to
15563 represent NULL strings. Fixes #165650.
15566 * gst/gstvalue.c (gst_value_array_append_value)
15567 (gst_value_array_prepend_value, gst_value_array_get_size)
15568 (gst_value_array_get_value): New API, copied from
15569 gst_value_list_*, only operates on arrays.
15570 (gst_value_list_append_value, gst_value_list_prepend_value)
15571 (gst_value_list_concat, gst_value_list_get_size)
15572 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15574 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15575 init_list, because it works on both.
15576 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15577 (gst_value_copy_list_or_array): Renamed from copy_list.
15578 (gst_value_free_list_or_array): Renamed from free_list.
15579 (gst_value_collect_list_or_array): Renamed from collect_list.
15580 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15581 (gst_value_list_or_array_peek_pointer): Renamed from
15583 (_gst_value_array_value_table, _gst_value_list_value_table):
15584 Update value table functions.
15585 (gst_value_compare_list_or_array): Renamed from compare_list.
15587 * gsttaglist.h: Whoops, foreach function returns void. Also fix
15590 * gst/gsttaglist.c:
15591 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15592 GstTagList*. Fixes #143472.
15594 * gst/gststructure.h: Clarify what the foreach/map functions can
15595 or can't do to their arguments.
15597 2005-11-18 Wim Taymans <wim@fluendo.com>
15599 * gst/gstclock.c: (gst_clock_set_calibration),
15600 (gst_clock_get_calibration):
15602 Calibration can be set with internal time equal to current
15605 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
15611 2005-11-18 Andy Wingo <wingo@pobox.com>
15614 * pkgconfig/gstreamer-net.pc.in:
15615 * pkgconfig/gstreamer-net-uninstalled.pc.in:
15616 * pkgconfig/Makefile.am: Add net pkgconfig files.
15618 2005-11-18 Stefan Kost <ensonic@users.sf.net>
15621 * gst/gstghostpad.c:
15627 2005-11-18 Andy Wingo <wingo@pobox.com>
15629 * gst/net/gstnetclientclock.c: Turn off debugging.
15631 * check/net/gstnetclientclock.c (test_functioning): Assert that the
15632 times connverge somewhat. Can't make a real test.
15634 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15635 integer arithmetic. Return the minimum of the domain, which can be
15636 set as "internal" for gst_clock_set_calibration.
15637 (gst_net_client_clock_observe_times): Call _set_calibration.
15638 (gst_net_client_clock_new): Call _set_calibration instead of
15641 * check/net/gstnetclientclock.c (test_functioning): Use the right
15645 * gst/gstclock.c (gst_clock_get_calibration)
15646 (gst_clock_set_calibration): New functions, obsolete the ones I
15647 added yesterday. Doh. Precision issues mean we have to extrapolate
15648 from a point in the more recent past than 1970.
15649 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15651 (gst_clock_adjust_unlocked): Use the right calibration data.
15653 2005-11-18 Edward Hervey <edward@fluendo.com>
15655 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15656 Also reset the ->current_* values in READY->PAUSED
15658 2005-11-18 Andy Wingo <wingo@pobox.com>
15660 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15661 Whoops, check the right fd. Also add some debugging.
15662 (gst_net_client_clock_observe_times): Adjust for int64 offset.
15663 (do_linear_regression): Add a crapload of debugging. Subtract off
15664 the minimum values from the input series to discard unneeded bits.
15665 Use only int arithmetic. There is still double arithmetic when
15666 calculating the intercept that needs fixing. Return boolean to
15667 indicate success; FALSE would mean the domain or range is too
15668 great. Still needs fixes.
15670 2005-11-18 Wim Taymans <wim@fluendo.com>
15672 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15673 For the current position in stream time, we need to subtract
15676 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15677 Release lock before calling the callback function of async
15680 2005-11-18 Andy Wingo <wingo@pobox.com>
15682 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15683 Port goes all the way to MAXUINT16.
15685 * gst/net/gstnettimeprovider.c: Make the port range the same as
15686 for the kernel: 0 assigns, otherwise ports are less than
15689 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15692 * check/net/gstnetclientclock.c (test_functioning): Add the start
15695 2005-11-18 Wim Taymans <wim@fluendo.com>
15697 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15698 (gst_bin_remove_func), (bin_bus_handler):
15700 Removing a clock provider from a bin, triggers a clock lost message
15701 so that a new clock will be selected.
15702 Adding a clock to a bin triggers a clock provider message.
15703 Make sure we reselect a clock when we received a clock lost message.
15704 Keep a reference to the element that provided the clock.
15706 2005-11-18 Andy Wingo <wingo@pobox.com>
15708 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15709 the clock initially so it produces values around the base time.
15710 (gst_net_client_clock_class_init): Typo fix.
15711 (gst_net_client_clock_thread): Add note on when the socket gets
15714 2005-11-17 Wim Taymans <wim@fluendo.com>
15716 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15717 Free remote and local time arrays.
15719 2005-11-17 Wim Taymans <wim@fluendo.com>
15721 * gst/net/gstnetclientclock.c: (do_linear_regression),
15722 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15723 Fix compilation, uninitialized vars and a forgotten continue.
15725 2005-11-17 Andy Wingo <wingo@pobox.com>
15727 * check/Makefile.am (check_PROGRAMS):
15728 * check/net/gstnetclientclock.c: Add a most minimal test for the
15729 net client clock. More to come later.
15731 * gst/net/gstnet.h:
15732 * gst/net/Makefile.am: Add netclientclock.
15734 * gst/net/gstnetclientclock.h:
15735 * gst/net/gstnetclientclock.c: New files, implement an untested
15736 GstClock that takes its time from a network time provider.
15737 Implements the algorithm in network-clock.scm.
15739 * tests/network-clock.scm (*window-size*): Rename from
15741 * tests/network-clock.scm (network-time):
15742 * tests/network-clock-utils.scm (q-push): Update callers.
15744 2005-11-17 Wim Taymans <wim@fluendo.com>
15746 * gst/gstbin.c: (gst_bin_provide_clock_func),
15747 (gst_bin_sort_iterator_new):
15748 And unref the child too..
15750 2005-11-17 Wim Taymans <wim@fluendo.com>
15752 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15753 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15754 Refactor the sort iterator so it can be used while holding the
15756 Make clock selection select a clock closest to the source.
15758 2005-11-17 Michael Smith <msmith@fluendo.com>
15760 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15761 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15763 Anonymous structs are a gcc (and some other compilers) extension, so
15764 don't use them. Since this is only for ABI-compatibility, and our
15765 API/ABI freeze is over in a few days, this whole thing will only
15766 last a few days, so don't bother trying to think up a meaningful
15767 name for the struct.
15769 2005-11-17 Andy Wingo <wingo@pobox.com>
15771 * gst/gstclock.h (GstClock): Add rate and offset properties,
15772 preserving ABI stability. Add rate/offset accessors. Will file bug
15773 for the freeze break.
15775 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15776 and offset, trying to keep precision and avoiding
15777 underflow/overflow.
15778 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15779 functions. Make gst_clock_set_time_adjust obsolete.
15780 (gst_clock_set_time_adjust): Note that this function is obsolete.
15781 Will file bug soon.
15783 * gst/base/gstbasetransform.h: Make the ABI-stability hack
15784 greppable by using GST_PADDING-1+1.
15786 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
15788 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15790 * gst/gstmessage.c: (gst_message_parse_clock_lost):
15791 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
15793 * gst/gstpadtemplate.h:
15794 * gst/gstpluginfeature.h:
15795 Don't use c++ style comments in headers (#321638).
15797 2005-11-16 Andy Wingo <wingo@pobox.com>
15799 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
15802 * check/net/gstnettimeprovider.c: Check to see that the time
15803 provider actually provides times. Works, yo!
15805 2005-11-16 Wim Taymans <wim@fluendo.com>
15807 * check/Makefile.am:
15810 * check/elements/fakesrc.c: (GST_START_TEST):
15811 Set element to NULL before disposing it.
15813 2005-11-16 Andy Wingo <wingo@pobox.com>
15815 * gst/net/Makefile.am:
15816 * gst/net/gstnet.h:
15817 * gst/net/gstnettimeprovider.c:
15818 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
15819 provider, include it from gstnet.h, and add it to the build.
15821 * gst/net/gstnettimepacket.h:
15822 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
15823 sending and receiving.
15825 2005-11-16 Wim Taymans <wim@fluendo.com>
15827 * check/Makefile.am:
15828 Enable valgrind check.
15830 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
15831 (gst_fake_src_alloc_buffer):
15834 2005-11-16 Wim Taymans <wim@fluendo.com>
15836 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
15837 Call parent finalize too.
15839 2005-11-16 Wim Taymans <wim@fluendo.com>
15841 * check/Makefile.am:
15842 Enable valgrind check that should work fine now.
15844 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15845 * gst/gstqueue.c: (gst_queue_init):
15846 Fix memleaks in pad allocation.
15848 2005-11-16 Andy Wingo <wingo@pobox.com>
15850 * gst/net/Makefile.am:
15851 * gst/net/gstnet.h: New part of core to hold network elements and
15852 objects. Put in core because it exposes API that applications want
15853 to use. The library is named libgstnet-tempname right now because
15854 of the existing libgstnet in gst-plugins-base. Solution is
15855 probably to rename the one in plugins-base; will file a bug for
15858 * gst/net/gstnettimeprovider.c:
15859 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
15860 get_time call over the network.
15863 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
15865 * check/Makefile.am:
15866 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
15867 get additions shortly.
15869 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15871 * gst/gstpad.c: (gst_pad_new_from_static_template):
15873 add gst_pad_new_from_static_template functions
15874 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15875 (gst_check_setup_sink_pad):
15876 * gst/elements/gsttee.c: (gst_tee_init):
15879 2005-11-16 Wim Taymans <wim@fluendo.com>
15881 * gst/gstpad.c: (gst_pad_pause_task):
15882 Removed warning, it's not really an error either.
15884 2005-11-16 Wim Taymans <wim@fluendo.com>
15886 * gst/base/gstbasetransform.c:
15887 (gst_base_transform_prepare_output_buf),
15888 (gst_base_transform_event):
15889 Check if the caps are NULL, this can happen if the element
15890 is shutting down and the pad caps are set to NULL.
15892 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15894 * gst/elements/gsttee.c: (gst_tee_init):
15895 fix pad template leak in tee
15897 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15899 * gst/glib-compat.c: (g_value_dup_gst_object):
15900 * gst/glib-compat.h:
15901 * gst/gstpad.c: (gst_pad_set_property):
15902 use gst_object_ref when setting the pad template; this will
15903 trigger the pad template leaks on GLib 2.6 and the slaves
15905 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15907 * gst/glib-compat.c: (gst_flags_get_first_value):
15908 * gst/glib-compat.h:
15909 * gst/gstregistryxml.c:
15910 remove functions copied from GLib 2.6
15912 2005-11-16 Michael Smith <msmith@fluendo.com>
15915 Don't link against VALGRIND_LIBS. That was always the wrong thing to
15916 do, but only breaks with newer valgrind versions. We're not a
15917 valgrind tool, we have no link-time dependencies on libcoregrind.
15919 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15921 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15923 * gst/gstmessage.h:
15926 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15928 * gst/base/gstbasesrc.c: (gst_base_src_init):
15929 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15930 * gst/gstqueue.c: (gst_queue_init):
15931 * gst/gstregistryxml.c: (load_feature):
15932 Revert all these unrefs, they don't even pass make check !
15934 2005-11-15 Johan Dahlin <johan@gnome.org>
15936 * gst/base/gstbasesrc.c: (gst_base_src_init):
15937 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15938 * gst/gstqueue.c: (gst_queue_init):
15939 Free pad templates, fixes a couple of leaks.
15941 2005-11-15 Daniel Fischer <dan at f3c dot com>
15943 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15945 * gst/gstpad.c: (gst_pad_get_property):
15946 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15947 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15950 2005-11-15 Wim Taymans <wim@fluendo.com>
15955 2005-11-15 Andy Wingo <wingo@pobox.com>
15957 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15959 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15960 using GST_CLOCK_TIME_NONE to disable base time management.
15961 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15962 time if it was NONE before.
15963 (gst_pipeline_change_state): Only munge the base time if
15964 stream_time != GST_CLOCK_TIME_NONE.
15966 * check/gst/gstpipeline.c (test_base_time): Punt around the
15967 problem of the probe not being called, because that's not the
15968 issue I'm looking at. Add a check that setting stream_time to NONE
15969 disables base time management.
15971 2005-11-15 Wim Taymans <wim@fluendo.com>
15973 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15974 segment_stop == -1 at startup.
15976 * gst/base/gstbasetransform.c: (gst_base_transform_event),
15977 (gst_base_transform_change_state):
15978 Init segment values at start.
15980 2005-11-15 Wim Taymans <wim@fluendo.com>
15982 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15983 0 segment values are 0 in any format.
15985 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15986 * gst/base/gstbasetransform.h:
15987 Parse newsegment correctly in basetransform
15989 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15990 Sync to clock using updated segment values.
15992 2005-11-15 Andy Wingo <wingo@pobox.com>
15994 * check/gst/gstpipeline.c (test_base_time): Add check that the
15995 base time and stream time are reset correctly.
15997 2005-11-15 Wim Taymans <wim@fluendo.com>
15999 * docs/design/part-TODO.txt:
16000 Some more TODO items.
16002 2005-11-15 Andy Wingo <wingo@pobox.com>
16004 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
16005 error if the user selected "no clock" as the clocking method.
16007 * check/gst/gstpipeline.c (test_base_time): New test for buffer
16008 timestamps with live capture.
16010 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
16011 is 0 but we are a live source, timestamp the buffers using the
16014 2005-11-14 Stefan Kost <ensonic@users.sf.net>
16016 * docs/gst/gstreamer-sections.txt:
16018 * gst/gstghostpad.c:
16023 2005-11-14 Wim Taymans <wim@fluendo.com>
16026 add suppressions from Wim's Debian machine
16028 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
16031 add suppressions from Andy's AMD64 Ubuntu machine
16033 2005-11-14 Andy Wingo <wingo@pobox.com>
16035 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
16036 STATE_LOCK not necessary. Fixes #311489.
16038 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
16041 * gst/gstindex.c (gst_index_add_object): Note in the docs that
16042 this function is not implemented.
16044 2005-11-14 Julien MOUTTE <julien@moutte.net>
16046 * gst/base/gstbasetransform.c:
16047 (gst_base_transform_prepare_output_buf):
16048 Ref the source pad caps while we need them.
16051 2005-11-11 Wim Taymans <wim@fluendo.com>
16053 * docs/gst/gstreamer-sections.txt:
16054 Added some docs for GstCollectData.
16056 * gst/base/gstadapter.c:
16057 Some small code example fix.
16059 * gst/base/gstcollectpads.c:
16060 * gst/base/gstcollectpads.h:
16061 Document some more.
16063 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
16065 * configure.ac: back to HEAD
16067 === release 0.9.5 ===
16069 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
16072 releasing 0.9.5, "Bike Lunch Day"
16074 2005-11-11 Wim Taymans <wim@fluendo.com>
16076 * gst/gstbuffer.c: (_gst_buffer_copy):
16079 * gst/gstcaps.c: (gst_caps_is_equal):
16081 Make _is_equal fast in the trivial cases.
16083 * gst/gstminiobject.c:
16084 * gst/gstminiobject.h:
16085 More docs. Spifify .h file.
16090 2005-11-11 Wim Taymans <wim@fluendo.com>
16092 * gst/base/gstbasetransform.c:
16093 (gst_base_transform_prepare_output_buf),
16094 (gst_base_transform_handle_buffer):
16096 If we're processing a buffer and need to allocate an output
16097 buffer, we cannot accept a format change. If we did get a
16098 format change, we have to alloc a buffer ourselves of the
16101 2005-11-11 Wim Taymans <wim@fluendo.com>
16103 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
16104 While checking the flag for reentrancy in the gstcaps function
16105 is nice to detect recursive invocations, it also makes it
16106 impossible to call getcaps from multiple threads, which must be
16107 possible. So, checking for recursive calls has to go.
16109 2005-11-11 Michael Smith <msmith@fluendo.com>
16111 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16112 Don't sync on buffers that fall partially outside our current
16113 segment. Prevents an assertion failure/abort playing some files.
16115 2005-11-10 Andy Wingo <wingo@pobox.com>
16117 * check/gst/gstbin.c (test_message_state_changed_children): Style
16120 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
16121 gst_bus_poll with the signal watch. Ensures that poll and a signal
16122 watch see the same messages.
16124 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
16125 a poll and a watch at the same time get the same messages.
16127 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
16129 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
16130 * gst/gstcaps.c: (gst_caps_intersect):
16131 Don't call gst_caps_do_simplify - it doesn't respect order of caps
16132 and it's not needed.
16134 2005-11-10 Wim Taymans <wim@fluendo.com>
16136 * docs/design/part-TODO.txt:
16139 2005-11-10 Wim Taymans <wim@fluendo.com>
16141 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16142 * gst/base/gstbasesrc.c: (gst_base_src_wait),
16143 (gst_base_src_do_sync), (gst_base_src_get_range):
16144 Implement clock sync in base class.
16146 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
16148 patch by: Tim-Philipp Müller <tim at centricular dot net>
16150 * gst/gststructure.c: (gst_structure_parse_field),
16151 (gst_structure_from_string):
16152 Forward-port a 0.8 patch to handle escaped spaces in structure string,
16153 so that gst_parse_launch() can deal with spaces in filtered link
16154 caps (fixes #164479)
16155 * check/gst/capslist.h:
16156 * check/gst/gststructure.c: (GST_START_TEST):
16157 add unit tests for this change
16159 2005-11-10 Wim Taymans <wim@fluendo.com>
16161 * docs/gst/gstreamer-sections.txt:
16162 * gst/gstelement.c:
16163 * gst/gstelement.h:
16164 Fix docs, move some STATE macros to private.
16166 2005-11-10 Wim Taymans <wim@fluendo.com>
16168 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
16169 Added check for bug #317341
16173 Some more spiffifying.
16175 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
16176 Call peer linkfunction if we are a source pad. Totally fixes
16180 Update docs, source pads should call the peer linkfunction
16181 so they can atomically perform the pad link.
16183 2005-11-09 Wim Taymans <wim@fluendo.com>
16187 Uber-spiffy-spiffify some more.
16189 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
16191 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
16192 * gst/elements/gstfilesink.c: (gst_file_sink_init):
16193 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16194 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
16195 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
16196 * gst/gstpad.c: (gst_pad_init):
16197 Use GST_DEBUG_FUNCPTR() more extensively.
16199 2005-11-09 Wim Taymans <wim@fluendo.com>
16201 * gst/gstobject.c: (gst_object_class_init):
16203 Documentation fixes.
16205 2005-11-09 Edward Hervey <edward@fluendo.com>
16207 * gst/gsttypefindfactory.c:
16210 2005-11-09 Edward Hervey <edward@fluendo.com>
16212 * gst/base/gsttypefindhelper.c:
16213 * gst/gsttypefind.c:
16214 * gst/gsttypefind.h:
16217 2005-11-09 Wim Taymans <wim@fluendo.com>
16219 * gst/gstiterator.c:
16226 2005-11-09 Wim Taymans <wim@fluendo.com>
16232 2005-11-09 Wim Taymans <wim@fluendo.com>
16234 * docs/gst/gstreamer-sections.txt:
16235 Moved the message async delivery private lock and cond
16236 to the private section.
16238 * gst/gstmessage.c:
16239 * gst/gstmessage.h:
16242 2005-11-09 Edward Hervey <edward@fluendo.com>
16244 * docs/gst/gstreamer-sections.txt:
16247 Document GstURIHandler
16249 2005-11-09 Wim Taymans <wim@fluendo.com>
16251 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
16252 (gst_iterator_find_custom):
16253 * gst/gstiterator.h:
16256 2005-11-09 Wim Taymans <wim@fluendo.com>
16259 Document another field.
16261 * gst/gststructure.c:
16262 * gst/gststructure.h:
16265 2005-11-09 Wim Taymans <wim@fluendo.com>
16268 Documented structs.
16270 2005-11-09 Wim Taymans <wim@fluendo.com>
16272 * docs/gst/gstreamer-sections.txt:
16273 Added some new macros.
16280 2005-11-09 Wim Taymans <wim@fluendo.com>
16282 * docs/design/part-TODO.txt:
16283 Some more items for the TODO
16289 2005-11-09 Andy Wingo <wingo@pobox.com>
16291 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
16292 to work on something else now tho...
16294 * gst/base/gstadapter.c: More adapter docs.
16296 * gst/elements/gstfilesink.c (gst_file_sink_start)
16297 (gst_file_sink_stop): New functions, replace the state change
16299 (gst_file_sink_class_init): Hook up the start and stop functions.
16300 (gst_file_sink_base_init): Don't set the state change handler any
16301 more. It was a bit ugly too, being set from here...
16302 (gst_file_sink_get_property, gst_file_sink_set_property):
16304 (gst_file_sink_set_location): More robust check that doesn't call
16305 GST_STATE. Ugggggg.
16307 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
16309 * gst/base/gstbasetransform.c: (gst_base_transform_event):
16310 Hold STREAM_LOCK while pushing newsegment or tag events as well.
16312 2005-11-08 Wim Taymans <wim@fluendo.com>
16314 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16315 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16316 (gst_base_sink_chain), (gst_base_sink_change_state):
16317 * gst/base/gstbasesink.h:
16318 * gst/base/gstbasesrc.h:
16319 * gst/gstelement.h:
16321 Avoid excessive typechecking in macros.
16323 * gst/gstminiobject.c: (gst_mini_object_get_type),
16324 (gst_mini_object_init), (gst_mini_object_new),
16325 (gst_mini_object_free):
16326 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
16327 (gst_object_finalize):
16328 Remove cruft code, optimize alloc_trace.
16330 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
16332 * docs/faq/gst-uninstalled:
16333 fix up PS1 for systems that try to reset it
16335 2005-11-07 Wim Taymans <wim@fluendo.com>
16337 * gst/base/gstbasesrc.c: (gst_base_src_init),
16338 (gst_base_src_get_range):
16339 Set the segment_end to -1 initially. Fixed typefind.
16341 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
16343 * gst/base/gstadapter.c:
16344 Debug category should be 'adapter', not 'GstAdapter'.
16346 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
16347 (gst_collectpads_class_init), (gst_collectpads_init),
16348 (gst_collectpads_peek), (gst_collectpads_pop),
16349 (gst_collectpads_event), (gst_collectpads_chain):
16350 Add debug category and some debugging output. Use boilerplate
16351 macros. Remove some extraneous words from docs.
16353 2005-11-05 Andy Wingo <wingo@pobox.com>
16355 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
16358 2005-11-04 Stefan Kost <ensonic@users.sf.net>
16360 * docs/gst/gstreamer-sections.txt:
16363 * gst/gstminiobject.h:
16368 2005-11-04 Wim Taymans <wim@fluendo.com>
16370 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16371 Small update to stop at the configured segment_end
16374 2005-11-04 Stefan Kost <ensonic@users.sf.net>
16376 * gst/gstregistry.c:
16377 * gst/gstregistry.h:
16380 2005-11-04 Edward Hervey <edward@fluendo.com>
16382 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16383 Check if we are doing a segment seek and have arrived at the
16384 end of that segment.
16386 2005-11-04 Wim Taymans <wim@fluendo.com>
16388 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
16389 Don't leak a mutex unlock in case of an error.
16394 2005-11-04 Wim Taymans <wim@fluendo.com>
16396 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
16398 Get the context to wake up only once.
16400 2005-11-03 Wim Taymans <wim@fluendo.com>
16402 * check/states/sinks.c: (GST_START_TEST):
16403 Uncomment fixed check.
16405 * docs/design/part-TODO.txt:
16408 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16409 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16410 (gst_base_sink_get_position):
16411 If we are going to PLAYING, post the right pending state
16412 when we post the intermediate paused message.
16414 * gst/gstelement.c: (gst_element_continue_state),
16415 (gst_element_set_state_func), (gst_element_change_state):
16416 Don't post state changes that were between the same state
16417 and were not ASYNC.
16419 2005-11-03 Stefan Kost <ensonic@users.sf.net>
16421 * docs/gst/gstreamer-sections.txt:
16424 * gst/gstminiobject.h:
16427 more docs and doc style fixes
16429 2005-11-03 Stefan Kost <ensonic@users.sf.net>
16431 * docs/gst/gstreamer-sections.txt:
16432 * gst/gstelement.c:
16433 * gst/gstminiobject.c:
16436 2005-11-03 Andy Wingo <wingo@pobox.com>
16438 * check/states/sinks.c (test_livesrc_sink): Add checks that the
16439 state-changed messages actually have the right order and the right
16442 2005-11-03 Wim Taymans <wim@fluendo.com>
16444 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16445 Added some more checks. Specifically the case where NO_PREROLL
16446 elements are in the pipeline.
16448 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16449 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16450 (gst_base_sink_get_position):
16451 Post READY->PAUSED state change messages too.
16452 Fix bug where VOID was posted as pending state...
16454 * gst/gstbin.c: (gst_bin_recalc_state):
16455 use _element_continue_state() to continue the state change.
16457 * gst/gstelement.c: (gst_element_continue_state),
16458 (gst_element_commit_state), (gst_element_set_state_func),
16459 (gst_element_change_state), (gst_element_change_state_func):
16460 Lots of state change cleanups, assign the STATE_RETURN in
16461 a new continue_state() function that also propagates the
16462 last return value from a state change to the app.
16463 Update some debug statements with proper category.
16465 2005-11-03 Wim Taymans <wim@fluendo.com>
16467 * docs/design/part-events.txt:
16468 * docs/design/part-gstpipeline.txt:
16469 * docs/design/part-messages.txt:
16470 * docs/design/part-overview.txt:
16471 * docs/design/part-seeking.txt:
16472 * docs/design/part-states.txt:
16473 * docs/design/part-trickmodes.txt:
16474 * docs/manual/advanced-position.xml:
16475 Small docs updates.
16478 People think !! is ugly, this looks better.
16480 * gst/gstpad.c: (gst_pad_set_blocked_async):
16481 Remove !! since it's fixed elsewhere now.
16483 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16485 * gst/gstminiobject.h:
16487 Add !! to _FLAG_IS_SET macros to make the result boolean.
16489 2005-11-03 Edward Hervey <edward@fluendo.com>
16491 * gst/gstpad.c: (gst_pad_set_blocked_async):
16492 comparing a flag and a gboolean rarely returns coherent results...
16493 Added two characters (!!) to make that work correctly.
16495 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16497 * gst/gstbus.c: (gst_bus_class_init):
16500 * gst/gstqueue.c: (gst_queue_loop):
16501 Don't assume a miniobject that isn't a buffer is an
16502 event (it could be that there is a refcounting
16503 problem somewhere and the pointer is stale and
16504 refers to an already destroyed miniobject).
16506 2005-11-03 Julien MOUTTE <julien@moutte.net>
16508 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
16510 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16512 * docs/manual/advanced-position.xml:
16513 Update seek example and explanations to current 0.9 API.
16515 * gst/elements/gsttypefindelement.c:
16516 (gst_type_find_element_activate):
16517 Remove FIXME comment now that the found caps
16520 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
16522 * gst/gstregistryxml.c: (load_feature):
16523 Add another GST_STR_NULL instance
16525 2005-11-02 Edward Hervey <edward@fluendo.com>
16527 * gst/gstpad.c: (handle_pad_block):
16528 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
16530 2005-11-02 Wim Taymans <wim@fluendo.com>
16535 * gst/gstelement.c: (gst_element_commit_state):
16536 Remove unused value.
16538 * gst/gstiterator.c:
16539 Mention that the returned element is reffed in the docs.
16541 2005-11-02 Wim Taymans <wim@fluendo.com>
16543 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
16544 (gst_pad_push), (gst_pad_push_event):
16545 Unlock blocked pads when they are flushed.
16547 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16550 * docs/gst/gstreamer-sections.txt:
16553 * gst/gstregistry.c: (gst_registry_scan_path_level):
16554 fix for a nasty little missed situation where an installed plug-in
16555 which was in the cache did not get overridden by an uninstalled one
16556 which was earlier in the plugin path because the newly created plugin
16557 for the uninstalled one (not in the registry) didn't get its
16558 ->registered set to TRUE
16560 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
16562 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16563 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16564 (gst_collectpads_is_active), (gst_collectpads_collect),
16565 (gst_collectpads_collect_range), (gst_collectpads_start),
16566 (gst_collectpads_stop), (gst_collectpads_peek),
16567 (gst_collectpads_pop), (gst_collectpads_available),
16568 (gst_collectpads_read), (gst_collectpads_flush):
16569 Guard public API with assertions.
16572 Fix docs for gst_pad_set_link_function().
16574 2005-11-02 Johan Dahlin <johan@gnome.org>
16576 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
16577 Unref found_caps after we used it.
16579 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
16581 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16582 Don't try to ref NULL.
16584 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16586 * win32/common/config.h.in:
16587 provide a GST_FUNCTION that just gives a string for now
16589 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16591 * win32/common/gstenumtypes.c: (register_gst_object_flags),
16592 (gst_object_flags_get_type), (register_gst_bin_flags),
16593 (gst_bin_flags_get_type), (register_gst_buffer_flag),
16594 (gst_buffer_flag_get_type), (register_gst_bus_flags),
16595 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16596 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16597 (gst_clock_return_get_type), (register_gst_clock_entry_type),
16598 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16599 (gst_clock_flags_get_type), (register_gst_state),
16600 (gst_state_get_type), (register_gst_state_change_return),
16601 (gst_state_change_return_get_type), (register_gst_state_change),
16602 (gst_state_change_get_type), (register_gst_element_flags),
16603 (gst_element_flags_get_type), (register_gst_core_error),
16604 (gst_core_error_get_type), (register_gst_library_error),
16605 (gst_library_error_get_type), (register_gst_resource_error),
16606 (gst_resource_error_get_type), (register_gst_stream_error),
16607 (gst_stream_error_get_type), (register_gst_event_type),
16608 (gst_event_type_get_type), (register_gst_seek_type),
16609 (gst_seek_type_get_type), (register_gst_seek_flags),
16610 (gst_seek_flags_get_type), (register_gst_format),
16611 (gst_format_get_type), (register_gst_index_certainty),
16612 (gst_index_certainty_get_type), (register_gst_index_entry_type),
16613 (gst_index_entry_type_get_type),
16614 (register_gst_index_lookup_method),
16615 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16616 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16617 (gst_index_resolver_method_get_type), (register_gst_index_flags),
16618 (gst_index_flags_get_type), (register_gst_debug_level),
16619 (gst_debug_level_get_type), (register_gst_debug_color_flags),
16620 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16621 (gst_iterator_result_get_type), (register_gst_iterator_item),
16622 (gst_iterator_item_get_type), (register_gst_message_type),
16623 (gst_message_type_get_type), (register_gst_mini_object_flags),
16624 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16625 (gst_pad_link_return_get_type), (register_gst_flow_return),
16626 (gst_flow_return_get_type), (register_gst_activate_mode),
16627 (gst_activate_mode_get_type), (register_gst_pad_direction),
16628 (gst_pad_direction_get_type), (register_gst_pad_flags),
16629 (gst_pad_flags_get_type), (register_gst_pad_presence),
16630 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16631 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16632 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16633 (gst_plugin_error_get_type), (register_gst_plugin_flags),
16634 (gst_plugin_flags_get_type), (register_gst_rank),
16635 (gst_rank_get_type), (register_gst_query_type),
16636 (gst_query_type_get_type), (register_gst_tag_merge_mode),
16637 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16638 (gst_tag_flag_get_type), (register_gst_task_state),
16639 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16640 (gst_alloc_trace_flags_get_type),
16641 (register_gst_type_find_probability),
16642 (gst_type_find_probability_get_type), (register_gst_uri_type),
16643 (gst_uri_type_get_type), (register_gst_parse_error),
16644 (gst_parse_error_get_type):
16645 * win32/common/gstversion.h:
16646 update win32 copies
16648 2005-11-01 Luca Ognibene <luogni@tin.it>
16651 fix docs. popt is dead, long live GOption.
16653 2005-10-31 Wim Taymans <wim@fluendo.com>
16658 2005-10-31 Andy Wingo <wingo@pobox.com>
16662 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16664 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16665 need to serialize property notifications on GLib 2.8. GLib 2.6 has
16666 the possibility of deadlocks here if code calling notify() or
16667 set() has a lock that can be taken in another notify handler (ABBA
16668 with class lock and e.g. python GIL state lock).
16670 2005-10-28 Julien MOUTTE <julien@moutte.net>
16672 * gst/gstbus.c: Doc updates.
16674 2005-10-28 Wim Taymans <wim@fluendo.com>
16676 * docs/design/part-TODO.txt:
16677 * gst/gstiterator.c:
16678 * gst/gstsystemclock.c:
16679 * gst/gstsystemclock.h:
16682 2005-10-28 Edward Hervey <edward@fluendo.com>
16684 * docs/gst/gstreamer-docs.sgml:
16685 * docs/gst/gstreamer-sections.txt:
16686 the GstURIType documentation page is private, it only defines GstURIType
16687 which should be defined in the GstURIHandler page
16689 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
16691 * gst/gstbin.c: (gst_bin_class_init):
16694 Documentation updates.
16696 2005-10-28 Wim Taymans <wim@fluendo.com>
16698 * docs/gst/gstreamer-sections.txt:
16701 Documented the clocks.
16703 2005-10-28 Stefan Kost <ensonic@users.sf.net>
16705 * docs/gst/gstreamer-sections.txt:
16706 move some macros to private sections
16707 * gst/gstminiobject.c:
16708 * gst/gstminiobject.h:
16709 add descriptions provided by ds and some more
16711 mark macro as to be removed
16713 2005-10-28 Wim Taymans <wim@fluendo.com>
16715 * docs/design/part-TODO.txt:
16716 Add an item to TODO.
16718 * gst/gstiterator.c: (gst_iterator_fold),
16719 (gst_iterator_find_custom):
16720 * gst/gstiterator.h:
16723 2005-10-28 Wim Taymans <wim@fluendo.com>
16725 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16726 (gst_base_transform_init):
16729 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16730 An EOS event marks the queue as completely filled.
16732 2005-10-27 Wim Taymans <wim@fluendo.com>
16734 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16735 (gst_base_sink_do_sync), (gst_base_sink_get_position):
16736 Some more debugging.
16738 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16739 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16740 (gst_base_transform_event), (gst_base_transform_getrange),
16741 (gst_base_transform_chain):
16742 * gst/base/gstbasetransform.h:
16744 Protect transform and concurrent buffer alloc with a new lock.
16745 Try not to break ABI/API.
16747 2005-10-27 Wim Taymans <wim@fluendo.com>
16749 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16750 (gst_base_src_init), (gst_base_src_query),
16751 (gst_base_src_default_newsegment),
16752 (gst_base_src_configure_segment), (gst_base_src_do_seek),
16753 (gst_base_src_send_event), (gst_base_src_event_handler),
16754 (gst_base_src_pad_get_range), (gst_base_src_loop),
16755 (gst_base_src_unlock), (gst_base_src_default_negotiate),
16756 (gst_base_src_start), (gst_base_src_deactivate),
16757 (gst_base_src_activate_push), (gst_base_src_change_state):
16758 Move some stuff around and cleanup things.
16760 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
16762 * gst/base/gstbasesrc.c: (gst_base_src_query):
16763 Add missing break statements.
16765 2005-10-27 Wim Taymans <wim@fluendo.com>
16767 * check/gst/gstbin.c: (GST_START_TEST):
16768 An extra refcount is taken in basesrc.
16770 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16771 (gst_base_src_get_range), (gst_base_src_pad_get_range),
16772 (gst_base_src_loop):
16773 Small cleanups, check for flushing after being unlocked from the
16774 LIVE_LOCK. take refcounts correctly (not yet everywhere).
16775 Don't send out EOS when going to READY.
16777 2005-10-27 Wim Taymans <wim@fluendo.com>
16779 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16780 (gst_base_sink_get_position):
16783 * gst/gstbin.c: (message_check), (bin_replace_message),
16784 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16785 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16786 (bin_query_duration_init), (bin_query_duration_fold),
16787 (bin_query_duration_done), (bin_query_generic_fold),
16789 * tools/gst-launch.c: (main):
16792 2005-10-26 Stefan Kost <ensonic@users.sf.net>
16794 * examples/controller/audio-example.c: (main):
16795 * examples/queue/queue.c: (event_loop):
16796 * gst/base/gstbasetransform.h:
16797 * gst/gstelement.c: (gst_element_send_event):
16799 * gst/gstpad.c: (gst_pad_send_event):
16802 changing log priority in error situations
16804 2005-10-25 Wim Taymans <wim@fluendo.com>
16806 * gst/gstbin.c: (message_check), (bin_replace_message),
16807 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16808 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16809 (bin_query_duration_init), (bin_query_duration_fold),
16810 (bin_query_duration_done), (bin_query_generic_fold),
16812 Some doc and debug updates.
16813 Cache previously requested query DURATION for speed. invalidate
16814 cached duration if element posts a DURATION message.
16816 2005-10-25 Wim Taymans <wim@fluendo.com>
16818 * docs/design/part-TODO.txt:
16821 * gst/gstbin.c: (message_check), (bin_replace_message),
16822 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16823 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16824 (bin_query_duration_init), (bin_query_duration_fold),
16825 (bin_query_duration_done), (bin_query_generic_fold),
16827 Handle SEGMENT_START/DONE messages correctly.
16828 More evolved query algorithm that handles duration queries
16831 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
16832 (gst_element_get_state_func), (gst_element_abort_state),
16833 (gst_element_commit_state), (gst_element_lost_state):
16834 Some more debugging.
16836 * gst/gstmessage.h:
16839 2005-10-25 Wim Taymans <wim@fluendo.com>
16841 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16842 Don't use invalid stream_time.
16844 * gst/gstevent.c: (gst_event_new_newsegment):
16845 stream_time in newsegment cannot be undefined.
16847 2005-10-24 Wim Taymans <wim@fluendo.com>
16852 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16854 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
16856 2005-10-24 Stefan Kost <ensonic@users.sf.net>
16858 * docs/libs/tmpl/gstdparam.sgml:
16859 * docs/libs/tmpl/gstdplinint.sgml:
16860 * docs/libs/tmpl/gstdpman.sgml:
16861 * docs/libs/tmpl/gstdpsmooth.sgml:
16862 * docs/libs/tmpl/gstunitconvert.sgml:
16865 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
16870 === release 0.9.4 ===
16872 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
16875 releasing 0.9.4, "Tyrannosaurus Rex"
16877 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
16879 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16880 (gst_file_sink_get_current_offset):
16881 Use fseeko() and ftello() if available. When falling back on
16882 lseek() to get the current offset, fflush() first to make sure
16883 everything is up-to-date and we get the right offset.
16885 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
16887 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16888 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16889 * gst/gsterror.c: (_gst_stream_errors_init):
16891 * gst/gstqueue.c: (gst_queue_loop):
16893 remove prematurely added error category and clean up the instances
16895 2005-10-21 Wim Taymans <wim@fluendo.com>
16897 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16898 (gst_base_sink_get_position), (gst_base_sink_query),
16899 (gst_base_sink_change_state):
16900 Simply set the right flag when going to playing, that's all
16901 we need to do instead of calling a function inside the object
16902 lock (that could take the lock as well and deadlock)
16904 2005-10-21 Wim Taymans <wim@fluendo.com>
16906 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16907 (gst_base_src_loop):
16908 Don't warn, the peer element knows what to do best when
16909 the seek failed, it might try something else.
16911 2005-10-21 Wim Taymans <wim@fluendo.com>
16913 * gst/base/gstbasesrc.c: (gst_base_src_init),
16914 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16917 2005-10-21 Wim Taymans <wim@fluendo.com>
16919 * docs/design/part-segments.txt:
16922 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16923 Correctly set caps, even on the subbufer.
16925 2005-10-21 Wim Taymans <wim@fluendo.com>
16927 * docs/gst/gstreamer-docs.sgml:
16928 * docs/gst/gstreamer-sections.txt:
16929 * gst/gstelement.h:
16932 * gst/gstmessage.h:
16935 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16939 And 2% more doc coverage.
16941 2005-10-21 Andy Wingo <wingo@pobox.com>
16943 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16944 position reporting.
16946 2005-10-20 Wim Taymans <wim@fluendo.com>
16948 * gst/gsterror.c: (gst_error_get_message):
16951 * gst/gststructure.c:
16956 2005-10-20 Wim Taymans <wim@fluendo.com>
16961 Another 1% more coverage.
16963 2005-10-20 Wim Taymans <wim@fluendo.com>
16965 * docs/gst/gstreamer-sections.txt:
16966 * gst/gstelement.c: (gst_element_get_state_func),
16967 (gst_element_abort_state), (gst_element_commit_state),
16968 (gst_element_lost_state):
16970 * gst/gstquery.c: (gst_query_set_position),
16971 (gst_query_parse_position), (gst_query_set_duration),
16972 (gst_query_parse_duration), (gst_query_new_convert):
16974 Yay! 1% more docs coverage.
16976 2005-10-20 Wim Taymans <wim@fluendo.com>
16979 * gst/gstquery.c: (gst_query_set_position),
16980 (gst_query_parse_position), (gst_query_set_duration),
16981 (gst_query_parse_duration), (gst_query_new_convert):
16983 * gst/gstutils.c: (gst_element_query_convert):
16985 Docs and consistency fixes.
16987 2005-10-20 Wim Taymans <wim@fluendo.com>
16993 2005-10-20 Wim Taymans <wim@fluendo.com>
16995 * gst/gstbin.c: (message_check), (bin_replace_message),
16996 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16997 (update_degree), (gst_bin_sort_iterator_next),
16998 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16999 Reworked the message handling a bit, cache the messages instead of
17000 only the senders. alows us to do more in the future.
17002 2005-10-20 Wim Taymans <wim@fluendo.com>
17004 * docs/design/part-TODO.txt:
17007 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
17008 (gst_base_sink_query):
17009 Don't use clock time to report position when in EOS.
17011 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
17013 * tools/gst-inspect.c: (print_interfaces),
17014 (print_element_properties_info), (print_element_info):
17015 Fix interface output with gst-inspect -a; don't print
17016 newlines after double/float properties.
17018 2005-10-20 Wim Taymans <wim@fluendo.com>
17020 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
17021 (gst_base_sink_query):
17022 Speed up current position calculation.
17024 * gst/base/gstbasesrc.c: (gst_base_src_query),
17025 (gst_base_src_default_newsegment):
17026 Correctly set stream position in newsegment.
17028 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
17029 (update_degree), (gst_bin_sort_iterator_next),
17030 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
17031 * gst/gstmessage.c: (gst_message_new_custom):
17032 Clean up debugging info
17034 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
17035 (gst_queue_loop), (gst_queue_handle_src_query):
17038 2005-10-19 Wim Taymans <wim@fluendo.com>
17040 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17041 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
17042 Fix query handling again.
17044 2005-10-19 Wim Taymans <wim@fluendo.com>
17046 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17047 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
17048 * gst/base/gstbasesrc.c: (gst_base_src_query):
17049 * gst/elements/gstfilesink.c: (gst_file_sink_query):
17050 * gst/elements/gsttypefindelement.c:
17051 (gst_type_find_handle_src_query), (find_element_get_length),
17052 (gst_type_find_element_activate):
17055 * gst/gstquery.c: (gst_query_new_position),
17056 (gst_query_set_position), (gst_query_parse_position),
17057 (gst_query_new_duration), (gst_query_set_duration),
17058 (gst_query_parse_duration), (gst_query_set_segment),
17059 (gst_query_parse_segment):
17061 Bundling query position/duration is not a good idea since duration
17062 does not change much and we don't want to recalculate it for every
17063 position query, so they are separated again..
17064 Base value in segment query is not needed.
17066 * gst/gstqueue.c: (gst_queue_handle_src_query):
17067 * gst/gstutils.c: (gst_element_query_position),
17068 (gst_element_query_duration), (gst_pad_query_position),
17069 (gst_pad_query_duration):
17071 Updates for query API change.
17072 Added some docs here and there.
17074 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
17076 * check/gst/gstbin.c: (GST_START_TEST):
17077 * check/gst/gstghostpad.c: (GST_START_TEST):
17078 * check/pipelines/cleanup.c: (GST_START_TEST):
17079 wait on thread to die so we can check refcount correctly
17081 2005-10-18 Wim Taymans <wim@fluendo.com>
17083 * check/pipelines/stress.c: (GST_START_TEST):
17084 Make check a little more time consuming.
17086 2005-10-18 Wim Taymans <wim@fluendo.com>
17088 * check/Makefile.am:
17089 * check/pipelines/stress.c: (GST_START_TEST),
17090 (simple_launch_lines_suite), (main):
17091 Small state change torture test.
17093 * docs/design/part-states.txt:
17094 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17095 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
17096 (gst_base_sink_change_state):
17097 Never take state lock from streaming thread, clean up ugly
17098 hacks. Unfortunatly core does not yet support nice ways to
17099 async commit state.
17101 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
17103 Start state recalc if a STATE_DIRTY message is posted, but only
17104 on the toplevel bin.
17106 * gst/gstelement.c: (gst_element_sync_state_with_parent),
17107 (gst_element_get_state_func), (gst_element_abort_state),
17108 (gst_element_commit_state), (gst_element_lost_state),
17109 (gst_element_set_state_func), (gst_element_change_state):
17110 * gst/gstelement.h:
17111 State variables are now protected with the LOCK, the state
17112 lock is only used to serialize _set_state().
17114 2005-10-18 Wim Taymans <wim@fluendo.com>
17116 * check/gst/gstbin.c: (GST_START_TEST):
17117 * check/gst/gstmessage.c: (GST_START_TEST):
17118 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17119 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
17121 * gst/gstelement.c: (gst_element_abort_state),
17122 (gst_element_commit_state), (gst_element_lost_state):
17123 * gst/gstmessage.c: (gst_message_new_state_changed),
17124 (gst_message_new_state_dirty), (gst_message_new_segment_start),
17125 (gst_message_new_segment_done), (gst_message_new_duration),
17126 (gst_message_parse_state_changed),
17127 (gst_message_parse_segment_start),
17128 (gst_message_parse_segment_done), (gst_message_parse_duration):
17129 * gst/gstmessage.h:
17130 * tools/gst-launch.c: (event_loop):
17131 Seriously, this is better than a previous commit as we only need
17132 to notify the fact that an element changed state in a streaming
17133 thread, marking the state of the parents dirty, hence the
17134 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
17137 2005-10-18 Wim Taymans <wim@fluendo.com>
17139 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
17140 (gst_bin_recalc_func):
17141 * gst/gstelement.c: (gst_element_set_clock),
17142 (gst_element_abort_state), (gst_element_lost_state):
17143 Cleanups, prepare for state change fixes.
17145 2005-10-18 Wim Taymans <wim@fluendo.com>
17148 * gst/gstelement.c: (gst_element_class_init),
17149 (gst_element_set_state), (gst_element_set_state_func):
17150 * gst/gstelement.h:
17151 Pending ABI changes.
17152 GThreadPool in GstBinClass to monitor async state changes.
17153 state_cookie in GstElement to detect concurrent gst/set state.
17154 set_state is now virtual too in case a very complicated element
17155 has to be constructed.
17157 2005-10-18 Wim Taymans <wim@fluendo.com>
17159 * check/gst/gstbin.c: (GST_START_TEST):
17160 * check/gst/gstmessage.c: (GST_START_TEST):
17161 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17162 * gst/gstbin.c: (bin_bus_handler):
17163 * gst/gstelement.c: (gst_element_commit_state),
17164 (gst_element_lost_state):
17165 * gst/gstmessage.c: (gst_message_new_state_changed),
17166 (gst_message_new_segment_start), (gst_message_new_segment_done),
17167 (gst_message_new_duration), (gst_message_parse_state_changed),
17168 (gst_message_parse_segment_start),
17169 (gst_message_parse_segment_done), (gst_message_parse_duration):
17170 * gst/gstmessage.h:
17171 * tools/gst-launch.c: (event_loop):
17172 Make messages future proof.
17173 state-change gets a flag if it was a message comming from the
17175 segment-start/stop can also be specified in other formats.
17176 A message to notify an app that a pipeline changed playback
17178 Also fix a GstMessage leak in -launch
17180 2005-10-18 Andy Wingo <wingo@pobox.com>
17182 * gst/gstelement.c (gst_element_dispose): More helpful message.
17184 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
17186 reviewed by: <delete if not using a buddy>
17188 * common/gtk-doc.mak:
17190 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
17192 * gst/gstregistry.c: (gst_registry_scan_path_level):
17193 unref a plug-in we get that was already initialized
17195 2005-10-18 Stefan Kost <ensonic@users.sf.net>
17197 * docs/gst/gstreamer-sections.txt:
17198 * docs/libs/gstreamer-libs-sections.txt:
17199 * gst/gstelement.h:
17200 add new api entries
17201 hide internal macro
17203 2005-10-17 Andy Wingo <wingo@pobox.com>
17205 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
17208 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
17210 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
17212 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
17213 (gst_element_get_state_func): Better debug message.
17214 (gst_element_commit_state): s/INFO/DEBUG/.
17215 (gst_element_lost_state, gst_element_change_state):
17217 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
17218 (gst_message_new_custom): s/INFO/LOG/.
17220 2005-10-17 Michael Smith <msmith@fluendo.com>
17222 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17223 Check if end time is valid using end time, not start time.
17225 2005-10-17 Stefan Kost <ensonic@users.sf.net>
17227 * check/gst-libs/controller.c: (GST_START_TEST),
17228 (gst_controller_suite):
17229 * libs/gst/controller/gstcontroller.c:
17230 (gst_controlled_property_set_interpolation_mode):
17231 * libs/gst/controller/gstcontroller.h:
17232 * libs/gst/controller/gstinterpolation.c:
17233 * testsuite/controller/.cvsignore:
17234 * testsuite/controller/Makefile.am:
17235 * testsuite/controller/interpolator.c:
17236 merge controller testsuites
17238 remove mem-chunk from docs
17240 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
17242 * gst/gstmemchunk.c:
17243 * gst/gstmemchunk.h:
17244 * gst/gsttrashstack.c:
17245 * gst/gsttrashstack.h:
17246 out. get out. you're fired. to the Attic !
17248 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
17250 * gst/gstcaps.c: (gst_caps_intersect):
17251 fix signedness issues in a (hopefully) correct way
17252 * gst/gstelement.c: (gst_element_pads_activate):
17254 * gst/gstobject.c: (gst_object_set_parent):
17257 2005-10-17 Julien MOUTTE <julien@moutte.net>
17259 * gst/gstvalue.h: Fix prototypes.
17261 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17263 * docs/gst/gstreamer-sections.txt:
17264 * gst/gst.c: (gst_version_string):
17266 * gst/gstversion.h.in:
17267 * win32/common/libgstreamer.def:
17268 add gst_version_string ()
17270 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17274 * gst/gst.c: (init_post):
17275 * win32/common/config.h.in:
17277 * gst/gstcaps.c: (gst_caps_intersect):
17278 use gint64, the range could be bigger than a guint
17280 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17283 document potential problem in 2038
17285 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17287 * gst/gstcaps.c: (gst_caps_intersect):
17288 Fix guint j diving under 0
17290 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17293 * win32/common/config.h:
17294 * win32/common/config.h.in:
17295 check for process.h, declares getpid() on Windows
17297 include process.h if we have it
17298 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
17299 * gst/gstmemchunk.h:
17300 fix signedness issues
17301 * win32/common/libgstreamer.def:
17304 2005-10-16 Julien MOUTTE <julien@moutte.net>
17306 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
17307 fix. Because of unsigned ints, caps intersection was going nuts and
17308 trying to access structures with G_MAXUINT index. That fixes
17309 videotestsrc ! ffmpegcolorspace ! fakesink
17310 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
17313 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17316 use the gettext macro
17317 * gst/elements/gstelements.c:
17319 * gst/indexers/gstindexers.c:
17320 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
17321 * win32/common/config.h:
17323 * win32/common/config.h.in:
17324 add the template to generate config.h
17325 * win32/common/gstenumtypes.c:
17326 * win32/common/gstversion.h:
17329 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17331 * gst/gst.c: (gst_version):
17332 * gst/gstversion.h.in:
17335 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
17338 Oops, add missing closing bracket.
17340 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17343 use common m4's for argument checking
17345 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
17347 * docs/gst/gstreamer-sections.txt:
17349 Add GST_EVENT_TYPE_NAME() macro.
17351 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17354 * gst/gstpluginfeature.c:
17356 privatize more symbols
17358 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17361 add srcdir, builddir includes to GST_ALL_CFLAGS, since
17362 everything that uses GStreamer API should have the includes
17364 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17366 * docs/gst/gstreamer-sections.txt:
17367 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
17369 give each value a _get_type, removes the DATA exports
17371 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17375 remove _gst_registry_auto_load, not used anymore
17376 * gst/gstbin.c: (gst_bin_get_type):
17378 * gst/gstelement.c: (gst_element_get_type):
17379 * gst/gstelement.h:
17380 * gst/gstobject.c: (gst_object_get_type):
17382 * gst/gstpad.c: (gst_pad_get_type):
17384 make _get_type functions similar, fixes data export from library
17386 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17389 correctly make conditionals
17390 * gst/elements/Makefile.am:
17391 * gst/elements/gstelements.c:
17392 fix typo causing fdsrc not to build
17394 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17396 * testsuite/Makefile.am:
17397 * testsuite/bytestream/.cvsignore:
17398 * testsuite/bytestream/Makefile.am:
17399 * testsuite/bytestream/filepadsink.c:
17400 * testsuite/bytestream/gstbstest.c:
17401 * testsuite/bytestream/test1.c:
17402 * testsuite/bytestream/testfile1:
17403 * testsuite/caps/normalisation.c:
17404 * testsuite/caps/random.c: (main):
17405 * testsuite/cleanup/.cvsignore:
17406 * testsuite/cleanup/Makefile.am:
17407 * testsuite/cleanup/cleanup1.c:
17408 * testsuite/cleanup/cleanup2.c:
17409 * testsuite/cleanup/cleanup3.c:
17410 * testsuite/cleanup/cleanup4.c:
17411 * testsuite/cleanup/cleanup5.c:
17412 * testsuite/controller/interpolator.c:
17413 * testsuite/debug/printf_extension.c: (main):
17414 * testsuite/elements/tee.c:
17415 * testsuite/negotiation/.cvsignore:
17416 * testsuite/negotiation/Makefile.am:
17417 * testsuite/negotiation/pad_link.c:
17418 * testsuite/pad/Makefile.am:
17419 * testsuite/pad/chainnopull.c:
17420 * testsuite/pad/getnopush.c:
17421 * testsuite/pad/link.c:
17422 * testsuite/refcounting/sched.c: (create_pipeline):
17423 * testsuite/registry/Makefile.am:
17424 * testsuite/registry/gst-print-formats.c:
17425 * testsuite/schedulers/.cvsignore:
17426 * testsuite/schedulers/142183-2.c:
17427 * testsuite/schedulers/142183.c:
17428 * testsuite/schedulers/143777-2.c:
17429 * testsuite/schedulers/143777.c:
17430 * testsuite/schedulers/147713.c:
17431 * testsuite/schedulers/147819.c:
17432 * testsuite/schedulers/147894-2.c:
17433 * testsuite/schedulers/147894.c:
17434 * testsuite/schedulers/Makefile.am:
17435 * testsuite/schedulers/group_link.c:
17436 * testsuite/schedulers/queue_link.c:
17437 * testsuite/schedulers/relink.c:
17438 * testsuite/schedulers/unlink.c:
17439 * testsuite/schedulers/unref.c:
17440 * testsuite/schedulers/useless_iteration.c:
17441 * testsuite/states/bin.c:
17442 clean out/remove some stuff from the testsuite directories
17444 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17447 check for some headers
17448 * gst/elements/Makefile.am:
17449 * gst/elements/gstelements.c:
17450 don't compile fdsrc without sys/socket.h
17451 * gst/indexers/Makefile.am:
17452 * gst/indexers/gstindexers.c: (plugin_init):
17453 don't compile fileindex without mmap
17455 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17462 * check/Makefile.am:
17463 * docs/gst/Makefile.am:
17464 * examples/helloworld/Makefile.am:
17466 * gst/base/Makefile.am:
17467 * gst/check/Makefile.am:
17468 * gst/elements/Makefile.am:
17469 * gst/indexers/Makefile.am:
17470 * gst/parse/Makefile.am:
17471 * libs/gst/controller/Makefile.am:
17472 * libs/gst/dataprotocol/Makefile.am:
17473 * examples/helloworld/helloworld.c: (event_loop):
17474 compile fixes, though it's not being compiled currently
17476 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17478 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17479 Add some simple tests for the new taglist date API.
17481 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17483 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17484 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17485 Beautify 'last-message' output: print 'none' for buffer timestamps
17486 and durations if none is set; improve alignment with next messages.
17488 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17490 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17491 * gst/gstpluginfeature.h:
17492 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17493 * gst/gstregistry.h:
17494 * docs/gst/gstreamer-sections.txt:
17495 Add new API to check plugin feature version requirements.
17497 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17498 Some basic tests for the above.
17500 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17502 * gst/gststructure.c: (gst_structure_to_string):
17503 guard against NULL printf - happens when for example
17504 a message structure with GstClock gets serialized
17506 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
17508 * gst/base/gstcollectpads.c: (gst_collectpads_event):
17509 Fix presumable copy'n'pasto.
17511 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17513 * gst/elements/gstfakesrc.h:
17514 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
17515 * gst/elements/gsttypefindelement.c:
17516 fix some signedness
17517 * gst/elements/gstfilesink.c: (gst_file_sink_render):
17518 I wonder if this could actually write +2GB files before
17520 2005-10-13 Andy Wingo <wingo@pobox.com>
17522 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
17523 Fix Timmeke Waymans bug.
17524 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
17525 string of the proper length to gst_caps_from_string. There's a
17526 potential for, before this fix, that this could cause someone
17527 connecting over the network to cause a segfault if the payload is
17528 not NUL-terminated.
17530 2005-10-13 Stefan Kost <ensonic@users.sf.net>
17532 * docs/design/draft-push-pull.txt:
17533 * docs/design/part-overview.txt:
17534 * docs/random/TODO-pre-0.9:
17535 * docs/random/old/ChangeLog.gstreamer:
17536 * gst/base/gstpushsrc.c:
17540 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17542 * gst/glib-compat.c: (gst_flags_get_first_value):
17543 * gst/glib-compat.h:
17544 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
17545 (gst_value_compare_double), (gst_value_serialize_flags):
17546 GLib 2.6 g_flags_get_first_value has a bug that triggers an
17549 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17551 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17552 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17554 * tools/gst-launch.c: (event_loop):
17555 print out clock nicely
17557 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
17559 * docs/gst/gstreamer-sections.txt:
17560 * gst/gsttaglist.h:
17561 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17562 (gst_tag_list_get_date_index):
17563 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17564 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17566 2005-10-13 Julien MOUTTE <julien@moutte.net>
17568 * gst/base/gstcollectpads.c: (gst_collectpads_event),
17569 (gst_collectpads_chain):
17570 * gst/base/gstcollectpads.h: Handle newsegment and store informations
17573 2005-10-13 Stefan Kost <ensonic@users.sf.net>
17575 * docs/gst/gstreamer-sections.txt:
17578 * tools/gst-inspect.c: (main):
17579 * tools/gst-launch.c: (main):
17580 * tools/gst-run.c: (main):
17581 * tools/gst-xmlinspect.c: (main):
17582 fix GOption context leaks
17585 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17589 * win32/common/config.h:
17591 * win32/vs6/grammar.dsp:
17592 * win32/vs6/libgstelements.dsp:
17593 * win32/vs6/libgstreamer.dsp:
17596 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17598 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17599 * gst/base/gstbasesrc.c: (gst_base_src_query):
17600 fix more guint64<->gdouble conversions
17602 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17605 add win32-update target
17606 * win32/common/gstconfig.h:
17607 * win32/common/gstenumtypes.c:
17608 * win32/common/gstenumtypes.h:
17609 * win32/common/gstversion.h:
17610 add files that visual studio can't generate
17612 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17615 add a win32-update target
17618 2005-10-12 Wim Taymans <wim@fluendo.com>
17620 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17621 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17622 * gst/gstelement.c: (gst_element_commit_state),
17623 (gst_element_set_state):
17624 Protect flags with proper lock.
17625 unref provided cached clock in dispose.
17627 2005-10-12 Stefan Kost <ensonic@users.sf.net>
17630 * gst/gstminiobject.h:
17632 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17633 removed unused flags from miniobject
17636 2005-10-12 Wim Taymans <wim@fluendo.com>
17638 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17639 (gst_file_sink_event), (gst_file_sink_render):
17640 Flush before seeking.
17642 2005-10-12 Andy Wingo <wingo@pobox.com>
17644 * gst/gst.c (gst_init_check): Ignore unknown options, as has
17645 always been the case.
17647 2005-10-12 Stefan Kost <ensonic@users.sf.net>
17649 * check/gst/gstbin.c: (GST_START_TEST):
17650 * docs/gst/gstreamer-sections.txt:
17651 * gst/base/gstbasesink.c: (gst_base_sink_init):
17652 * gst/base/gstbasesrc.c: (gst_base_src_init),
17653 (gst_base_src_get_range), (gst_base_src_check_get_range),
17654 (gst_base_src_start), (gst_base_src_stop):
17655 * gst/base/gstbasesrc.h:
17656 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17657 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17658 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17662 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17664 * gst/gstelement.c: (gst_element_is_locked_state),
17665 (gst_element_set_locked_state), (gst_element_commit_state),
17666 (gst_element_set_state):
17667 * gst/gstelement.h:
17668 * gst/gstindex.c: (gst_index_init):
17670 * gst/gstminiobject.h:
17671 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17672 (gst_object_set_parent):
17674 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17675 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17677 * gst/gstpadtemplate.h:
17678 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17679 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17680 * gst/gstpipeline.h:
17681 * gst/indexers/gstfileindex.c: (gst_file_index_load),
17682 (gst_file_index_commit):
17683 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17684 * testsuite/pad/link.c: (gst_test_src_init),
17685 (gst_test_filter_init), (gst_test_sink_init):
17686 * testsuite/states/locked.c: (main):
17687 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17688 moved bitshift from macro to enum definition
17690 2005-10-12 Wim Taymans <wim@fluendo.com>
17692 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17693 * gst/elements/gstfilesink.c: (gst_file_sink_event),
17694 (gst_file_sink_render):
17695 Some more debugging info.
17697 2005-10-12 Wim Taymans <wim@fluendo.com>
17699 * docs/design/part-states.txt:
17700 * tools/gst-launch.c: (main):
17702 Revert non-intentional change.
17704 2005-10-12 Wim Taymans <wim@fluendo.com>
17706 * check/gst/gstbin.c: (GST_START_TEST):
17707 * check/gst/gstelement.c: (GST_START_TEST):
17708 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17709 * check/gst/gstghostpad.c: (GST_START_TEST):
17710 * check/gst/gstpipeline.c: (GST_START_TEST):
17711 * check/pipelines/simple_launch_lines.c: (run_pipeline):
17712 * check/states/sinks.c: (GST_START_TEST):
17713 * gst/elements/gsttypefindelement.c: (stop_typefinding):
17714 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17715 (gst_bin_remove_func), (gst_bin_get_state_func),
17716 (gst_bin_recalc_state), (gst_bin_change_state_func),
17718 * gst/gstelement.c: (gst_element_get_state_func),
17719 (gst_element_get_state), (gst_element_abort_state),
17720 (gst_element_commit_state), (gst_element_set_state),
17721 (gst_element_change_state), (gst_element_change_state_func):
17722 * gst/gstelement.h:
17723 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17724 (gst_pipeline_provide_clock_func):
17725 * gst/gstutils.c: (gst_element_link_pads_filtered):
17726 * tools/gst-launch.c: (main):
17727 * tools/gst-typefind.c: (main):
17728 Use GstClockTime in _get_state() instead of GTimeVal.
17729 Remove old code in gstutils.c
17731 2005-10-12 Andy Wingo <wingo@pobox.com>
17733 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17736 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17737 there is no task. Shouldn't affect any code, as nothing in our
17738 plugins checks this return value.
17739 (gst_pad_stop_task): Also take the stream lock if the pad has no
17740 task. Docs updated.
17742 2005-10-12 Wim Taymans <wim@fluendo.com>
17744 * gst/gstpad.c: (pre_activate), (post_activate),
17745 (gst_pad_activate_pull), (gst_pad_activate_push):
17746 Cleanup activation code. Reset old state if
17749 2005-10-12 Wim Taymans <wim@fluendo.com>
17751 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17752 (gst_base_sink_change_state):
17753 No need to prerol after receiving EOS.
17755 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17756 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17757 * gst/elements/gstidentity.c: (gst_identity_event):
17758 Print events more verbosely.
17760 2005-10-12 Wim Taymans <wim@fluendo.com>
17762 * check/Makefile.am:
17763 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17764 * check/states/sinks2.c:
17765 Moved sinks2 testcode in sinks check.
17767 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17768 (gst_bin_remove_func), (gst_bin_recalc_state),
17769 (gst_bin_change_state_func), (bin_bus_handler):
17770 Fix potential race condition when _get_state() iterated over an
17771 ASYNC element right before it posted a state completion.
17774 Do proper cast here.
17776 * gst/gstevent.c: (gst_event_new_newsegment),
17777 (gst_event_parse_newsegment):
17778 A playback rate of 0.0 is not allowed.
17780 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17782 * win32/common/config.h:
17783 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17784 (_trewinddir), (_ttelldir), (_tseekdir):
17785 * win32/common/dirent.h:
17786 * win32/common/gtchar.h:
17787 * win32/common/libgstbase.def:
17788 * win32/common/libgstreamer.def:
17789 * win32/vs6/grammar.dsp:
17790 * win32/vs6/gst_inspect.dsp:
17791 * win32/vs6/gst_launch.dsp:
17792 * win32/vs6/gstreamer.dsw:
17793 * win32/vs6/libgstbase.dsp:
17794 * win32/vs6/libgstelements.dsp:
17795 * win32/vs6/libgstreamer.dsp:
17796 Visual Studio 6 project files, and a new common directory.
17799 2005-10-11 Wim Taymans <wim@fluendo.com>
17801 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17802 (gst_base_sink_do_sync), (gst_base_sink_query),
17803 (gst_base_sink_change_state):
17804 * gst/base/gstbasesink.h:
17805 Correctly parse newsegment info.
17807 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17809 * gst/gst.c: (init_post):
17810 split plugin paths correctly
17812 2005-10-11 Wim Taymans <wim@fluendo.com>
17814 * check/gst/gstevent.c: (GST_START_TEST):
17815 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17816 (gst_base_sink_change_state):
17817 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
17818 * gst/base/gstbasetransform.c: (gst_base_transform_event):
17819 * gst/elements/gstfilesink.c: (gst_file_sink_event):
17820 * gst/gstevent.c: (gst_event_new_newsegment),
17821 (gst_event_parse_newsegment):
17823 Added extra flag to newsegment for future API freeze.
17824 Updated check and base elements.
17826 2005-10-11 Julien MOUTTE <julien@moutte.net>
17828 * gst/base/gstcollectpads.c: (gst_collectpads_init),
17829 (gst_collectpads_add_pad), (gst_collectpads_pop),
17830 (gst_collectpads_event), (gst_collectpads_chain):
17831 * gst/base/gstcollectpads.h: Handle EOS correctly.
17833 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17835 * tools/gst-launch.c: (main):
17836 more null protecting
17838 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17840 * gst/gst-i18n-lib.h:
17841 check for ENABLE_NLS, not GETTEXT_PACKAGE
17842 * gst/gstregistry.c: (gst_registry_add_plugin),
17843 (gst_registry_scan_path_level),
17844 (_gst_registry_remove_cache_plugins):
17845 protect possibly NULL strings
17846 * gst/parse/types.h:
17847 config.h already included before
17848 * tools/gst-inspect.c: (main):
17849 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
17850 check for ENABLE_NLS, not GETTEXT_PACKAGE
17851 * tools/gst-launch.c: (main):
17852 check for ENABLE_NLS, not GETTEXT_PACKAGE
17854 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17857 if we don't have glib, fail before testing 2.8
17858 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
17859 fix a leak, should fix plugins-base testsuite
17861 2005-10-11 Andy Wingo <wingo@pobox.com>
17863 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
17864 take the mode we're going to as an arg. Go head and set the mode
17865 and flushing flags now, so that if the activate function starts a
17866 thread all the flags will be in the right state.
17867 (post_activate): Renamed also. Just handle making sure streaming
17868 finishes for the deactivation case, and setting the deactivated
17870 (gst_pad_set_active): Complain loudly if deactivation fails.
17871 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
17872 (gst_pad_activate_push): Adapt to pre/post_activate changes,
17873 remove the terrible hack.
17875 2005-10-11 Wim Taymans <wim@fluendo.com>
17877 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17878 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17879 (gst_bin_recalc_state), (gst_bin_change_state_func),
17880 (gst_bin_dispose), (bin_bus_handler):
17882 Prepare to make current EOS message queue more generic.
17885 * gst/gstevent.c: (gst_event_new_newsegment),
17886 (gst_event_parse_newsegment):
17888 Rename base to stream_time.
17890 * gst/gstmessage.h:
17893 2005-10-11 Wim Taymans <wim@fluendo.com>
17895 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17896 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17897 (gst_bin_change_state_func), (bin_bus_handler):
17899 Work on proper clock selection.
17901 2005-10-11 Edward Hervey <edward@fluendo.com>
17903 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
17904 * libs/gst/controller/gstcontroller.h:
17905 Added GList* version of _remove_properties() in order to be able to wrap
17908 2005-10-11 Wim Taymans <wim@fluendo.com>
17910 * docs/design/part-states.txt:
17913 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17914 (gst_bin_change_state_func), (bin_bus_handler):
17915 Doc updates. Don't distribute the same clock over and over again.
17921 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17922 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17923 (gst_pad_send_event):
17925 Make probe emission threadsafe again.
17926 Register quarks and move _get_name() from utils.
17929 * gst/gstpipeline.c: (gst_pipeline_class_init),
17930 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17931 Only redistribute the clock of it changed.
17933 * gst/gstsystemclock.h:
17938 Moved the _flow_get_name() to GstPad.
17940 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17942 * check/gst-libs/gdp.c: (GST_START_TEST):
17943 * check/gst/gstcaps.c: (GST_START_TEST):
17944 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17945 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17946 (gst_dp_packet_from_caps):
17947 fix more valgrind warnings before turning up the heat
17949 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17951 * gst/parse/grammar.y:
17952 some cleanup before the hacking
17954 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17956 * gst/base/gstbasesrc.c: (gst_base_src_query):
17958 * gst/gstutils.c: (gst_guint64_to_gdouble),
17959 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17961 externalize, basesrc uses it
17962 obviously the implementation needs testing
17964 2005-10-10 Wim Taymans <wim@fluendo.com>
17966 * tests/sched/Makefile.am:
17967 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17968 (make_pipeline3), (make_pipeline4), (print_elem), (main):
17970 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17972 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17973 apparently converting from guint64 to double is not implemented
17976 2005-10-10 Wim Taymans <wim@fluendo.com>
17978 * check/Makefile.am:
17979 * check/generic/states.c: (GST_START_TEST):
17980 * check/gst/gstbin.c: (GST_START_TEST):
17981 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17982 * check/states/sinks.c: (GST_START_TEST):
17983 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17985 Check fixes, use API as stated in design docs, remove hacks.
17987 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17988 (gst_base_sink_change_state):
17989 Catch stopping our task while we're shutting down.
17991 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17992 (gst_bin_remove_func), (gst_bin_get_state_func),
17993 (gst_bin_recalc_state), (gst_bin_change_state_func),
17996 * gst/gstelement.c: (gst_element_init),
17997 (gst_element_get_state_func), (gst_element_abort_state),
17998 (gst_element_commit_state), (gst_element_lost_state),
17999 (gst_element_set_state), (gst_element_change_state),
18000 (gst_element_change_state_func):
18001 * gst/gstelement.h:
18002 New state change algorithm (see #318116)
18004 * gst/gstpipeline.c: (gst_pipeline_class_init),
18005 (gst_pipeline_init), (gst_pipeline_set_property),
18006 (gst_pipeline_get_property), (do_pipeline_seek),
18007 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
18008 * gst/gstpipeline.h:
18009 Remove crude state change hacks.
18012 Remove crude hacks.
18014 * tools/gst-launch.c: (main):
18015 Fixes for state change. Needs some more work to fully use the
18018 2005-10-10 Andy Wingo <wingo@pobox.com>
18020 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
18022 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
18023 this flag, but it's not even in GLib 2.6. Odd. Hack around the
18026 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
18028 * gst/gstiterator.c: (gst_iterator_new):
18029 Fix my previous commit: GTypes passed to gst_iterator_new()
18030 can be fundamental types.
18032 2005-10-10 Wim Taymans <wim@fluendo.com>
18034 * gst/gstelement.c: (gst_element_iterate_pad_list),
18035 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
18036 (gst_element_iterate_sink_pads):
18037 Use src/sink pads lists for the respective iterators instead
18040 2005-10-10 Andy Wingo <wingo@pobox.com>
18042 Merged in popt removal + GOption addition patch from Ronald, bug
18045 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
18046 GstElement macros around, remove popt-related symbols, add goption
18049 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
18051 * docs/gst/Makefile.am:
18052 * docs/libs/Makefile.am: No POPT_CFLAGS.
18054 * examples/manual/Makefile.am:
18055 * docs/manual/basics-init.xml: Doc updates with an example.
18057 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
18058 (gst_init), (parse_one_option), (parse_goption_arg):
18059 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
18060 bit of hand merging and debugging to get the GOption stuff working
18063 * tests/Makefile.am:
18064 * tools/Makefile.am:
18065 * tools/gst-inspect.c: (main):
18066 * tools/gst-launch.c: (main):
18067 * tools/gst-run.c: (main):
18068 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
18070 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
18072 * gst/gstiterator.c: (gst_iterator_new):
18073 Add assertions to make sure passed GType is likely to really
18074 be a GType (as the compiler won't catch it if the size and
18075 GType arguments get mixed up, see #318447).
18077 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
18079 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18081 * gst/gstbin.c: (gst_bin_iterate_sorted):
18082 Pass GType and size arguments to gst_iterator_new() in the right
18083 order (maybe we should make _new() take the GType as first argument
18084 just like _new_list()?) (#318447).
18087 2005-10-10 Wim Taymans <wim@fluendo.com>
18089 * gst/gstelement.c: (gst_element_finalize):
18090 And free the GStaticRecMutex too
18092 2005-10-10 Andy Wingo <wingo@pobox.com>
18094 * gst/gstelement.c (gst_element_init, gst_element_finalize):
18095 Allocate and free the mutex properly.
18097 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
18099 (GstElement): The state_lock is now recursive. Rebuild your
18100 plugins, suckers. Old macros adapted.
18102 * docs/gst/gstreamer-sections.txt: Doc updates.
18105 * gst/gstutils.c (g_static_rec_cond_timed_wait)
18106 (g_static_rec_cond_wait): Ported from state changes patch, while
18107 we wait on bug #317802 to be solved in a well-distributed GLib.
18109 * gst/gstelement.c (gst_element_change_state_func): Renamed from
18110 gst_element_change_state, variable name changes.
18111 (gst_element_change_state): Split out of gst_element_set_state in
18112 preparation for the state change merge. Doesn't pay attention to
18113 the 'transition' argument.
18114 (gst_element_set_state): Updates, hopefully purely cosmetic.
18115 (gst_element_sync_state_with_parent): MT-safety. Ported from the
18116 state change patch.
18117 (gst_element_get_state_func): Renamed from get_state, cosmetic
18120 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
18122 * gst/elements/gstelements.c:
18123 * win32/GStreamer.vcproj:
18125 * win32/dirent.c: (_tseekdir):
18126 * win32/gst-inspect.vcproj:
18127 * win32/gst-launch.vcproj:
18128 * win32/gstconfig.h:
18129 * win32/gstelements.vcproj:
18130 * win32/gstenumtypes.c: (gst_object_flags_get_type):
18131 * win32/gstreamer.def:
18132 * win32/msvc71.sln:
18133 updates for the win32 build (patch from Sebastien Moutte)
18135 2005-10-10 Andy Wingo <wingo@pobox.com>
18137 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
18138 gst_bin_get_state, cleaned up (but no logic changes).
18139 (bin_element_is_sink): Comment updates.
18140 (sink_iterator_filter): Remove needless cast.
18141 (gst_bin_iterate_sinks): Doc update.
18142 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
18143 cleaned up (but no logic changes).
18145 * check/states/sinks.c (test_src_sink): Cleanups from the state
18147 (test_livesrc_sink): Sync on the state.
18149 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
18150 the state change patch.
18152 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
18155 * check/gst/gstbin.c: Merge in some style fixes and additional
18156 checks from Wim's state change patch.
18158 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
18160 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18161 (gst_type_find_helper):
18162 Check whether we have the requested data already in our list of
18163 cached buffers before pulling a new buffer; also make the buffer
18164 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
18166 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
18171 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
18172 don't use long long, it's not portable. Replacing with
18173 gint64 seems to work; let's hope no skeletons fall out of the closet.
18175 2005-10-10 Andy Wingo <wingo@pobox.com>
18177 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
18179 2005-10-09 Stefan Kost <ensonic@users.sf.net>
18181 * docs/gst/gstreamer-sections.txt:
18186 * gst/gstmessage.c: (gst_message_parse_state_changed):
18189 more docs, fix compilation
18191 2005-10-09 Philippe Khalaf <burger@speedy.org>
18192 * gst/gstmessage.c:
18193 Fixed a few forgotten variables on previous commit
18195 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
18197 * gst/base/gsttypefindhelper.c: (helper_find_peek):
18198 Fix evil typefind crasher: getrange() might return a short
18199 buffer at the end of a file, but gst_type_find_peek() must
18200 either return the full data as requested or NULL, but
18201 never a short buffer.
18203 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
18205 * gst/gstmessage.c: (gst_message_new_state_changed),
18206 (gst_message_parse_state_changed):
18207 * gst/gstmessage.h:
18208 don't use "new", it's a C++ keyword
18210 2005-10-08 Wim Taymans <wim@fluendo.com>
18212 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
18213 * gst/gstelement.c: (gst_element_post_message):
18214 * gst/gstpipeline.c: (gst_pipeline_change_state):
18215 Small docs and debug updates.
18217 2005-10-08 Stefan Kost <ensonic@users.sf.net>
18219 * docs/gst/gstreamer-sections.txt:
18220 * gst/gstelementfactory.c:
18222 * gst/gsttaglist.c:
18225 2005-10-08 Wim Taymans <wim@fluendo.com>
18227 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
18228 (gst_bin_dispose), (bin_bus_handler):
18229 Fix typos, add comments.
18230 Clear EOS list when going to PAUSED from any direction and do it
18231 in a threadsafe way.
18232 Get base time in a threadsafe way too.
18233 Fix confusing debug in the change_state function.
18234 Various other small cleanups.
18236 * gst/gstelement.c: (gst_element_post_message):
18237 Fix very verbose bus posting code.
18239 * gst/gstpipeline.c: (gst_pipeline_class_init),
18240 (gst_pipeline_set_property), (gst_pipeline_get_property),
18241 (gst_pipeline_change_state):
18242 Small ARG_ -> PROP_ cleanup
18244 2005-10-08 Wim Taymans <wim@fluendo.com>
18246 * gst/gstbin.c: (is_eos), (bin_bus_handler):
18247 Do a less CPU demanding EOS check because we can.
18249 2005-10-08 Wim Taymans <wim@fluendo.com>
18251 * libs/gst/dataprotocol/dataprotocol.c:
18252 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
18253 (gst_dp_packet_from_event):
18254 * libs/gst/dataprotocol/dataprotocol.h:
18255 * libs/gst/dataprotocol/dp-private.h:
18256 It's about time we bump the version number.
18257 Since event types don't fit in the guint8 anymore describing
18258 the payload type, make payload type 16 bits wide.
18260 2005-10-08 Wim Taymans <wim@fluendo.com>
18262 * docs/design/part-TODO.txt:
18263 * docs/design/part-clocks.txt:
18264 * docs/design/part-events.txt:
18265 * docs/design/part-gstbin.txt:
18266 * docs/design/part-gstelement.txt:
18267 * docs/design/part-gstpipeline.txt:
18268 * docs/design/part-live-source.txt:
18269 * docs/design/part-messages.txt:
18270 * docs/design/part-overview.txt:
18271 * docs/design/part-states.txt:
18274 2005-10-08 Wim Taymans <wim@fluendo.com>
18278 Fix event quark registration.
18279 Add some space between events so we can insert them in the
18282 2005-10-08 Wim Taymans <wim@fluendo.com>
18284 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18285 (gst_base_sink_handle_buffer):
18286 Better log message.
18289 * gst/gstelement.h:
18292 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
18293 (gst_queue_set_property), (gst_queue_get_property):
18295 Remove old unused properties.
18297 2005-10-08 Stefan Kost <ensonic@users.sf.net>
18298 * docs/gst/gstreamer-sections.txt:
18299 * gst/gstmessage.c:
18300 * gst/gstmessage.h:
18301 * gst/gstminiobject.c:
18302 * gst/gstminiobject.h:
18306 lots of new docs and doc fixes
18308 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18310 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
18312 * gst/gstregistry.c: (gst_registry_lookup_locked),
18313 (gst_registry_scan_path_level):
18314 * gst/gstregistryxml.c: (load_plugin):
18315 Only ever load one plugin for a given plugin basename.
18316 This ensures correct overriding of GST_PLUGIN_PATH over
18317 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
18318 system installed plugins.
18320 2005-10-08 Wim Taymans <wim@fluendo.com>
18322 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18323 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
18324 Prepare for doing QOS.
18326 2005-10-08 Wim Taymans <wim@fluendo.com>
18328 * check/gst/gstbin.c: (GST_START_TEST):
18329 * check/pipelines/cleanup.c: (GST_START_TEST):
18330 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18331 Allow new clock message too.
18333 2005-10-08 Wim Taymans <wim@fluendo.com>
18335 * gst/gstmessage.c: (gst_message_new_error),
18336 (gst_message_new_warning), (gst_message_new_tag),
18337 (gst_message_new_state_changed), (gst_message_new_clock_provide),
18338 (gst_message_new_clock_lost), (gst_message_new_new_clock),
18339 (gst_message_new_segment_start), (gst_message_new_segment_done),
18340 (gst_message_parse_state_changed),
18341 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
18342 (gst_message_parse_new_clock):
18343 * gst/gstmessage.h:
18344 Also carry the clock in question.
18346 2005-10-08 Wim Taymans <wim@fluendo.com>
18348 * gst/gstmessage.c: (gst_message_new_custom),
18349 (gst_message_new_eos), (gst_message_new_error),
18350 (gst_message_new_warning), (gst_message_new_tag),
18351 (gst_message_new_state_changed), (gst_message_new_clock_provide),
18352 (gst_message_new_new_clock), (gst_message_new_segment_start),
18353 (gst_message_new_segment_done), (gst_message_parse_state_changed),
18354 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
18355 * gst/gstmessage.h:
18357 Added clock related messages.
18359 * gst/gstpipeline.c: (gst_pipeline_change_state):
18360 Post message when the clock changed.
18362 * tools/gst-launch.c: (event_loop):
18365 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
18367 * tools/gst-inspect.c: (print_element_properties_info):
18368 Can't pass NULL strings to g_print() on windows.
18370 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18372 * docs/Makefile.am:
18373 * docs/gst/Makefile.am:
18374 * docs/gst/gstreamer-docs.sgml:
18375 * docs/gst/running.xml:
18376 * docs/version.entities.in:
18377 add a chapter on running GStreamer.
18378 document GST_DEBUG and GST_PLUGIN* env vars
18380 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18385 remove PLUGINS_BUILDDIR stuff
18386 * gst/gst.c: (init_post):
18387 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
18389 remove, it was condescending and not needed
18391 2005-10-08 Wim Taymans <wim@fluendo.com>
18393 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
18394 (gst_base_sink_handle_object), (gst_base_sink_event),
18395 (gst_base_sink_wait), (gst_base_sink_handle_event),
18396 (gst_base_sink_change_state):
18397 * gst/base/gstbasesink.h:
18398 Repost EOS message while going to PLAYING if still EOS.
18399 Make sure that when receiving a FLUSH_START we don't attempt
18400 to sync on the clock anymore.
18402 2005-10-08 Wim Taymans <wim@fluendo.com>
18404 * tools/gst-launch.c: (event_loop):
18405 Better message printout.
18407 2005-10-08 Wim Taymans <wim@fluendo.com>
18409 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
18410 (gst_bin_child_proxy_get_children_count):
18411 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18412 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
18413 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
18414 (gst_child_proxy_set_valist):
18415 * gst/parse/grammar.y:
18416 Make ChildProxy threadsafe and fix mem leaks.
18418 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18420 * gst/gst.c: (init_post):
18421 debug the GST_PLUGIN_ env vars
18423 2005-10-08 Wim Taymans <wim@fluendo.com>
18425 * check/gst/gstbin.c: (GST_START_TEST):
18426 * check/gst/gstmessage.c: (GST_START_TEST):
18427 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18428 * gst/gstelement.c: (gst_element_commit_state),
18429 (gst_element_lost_state):
18430 * gst/gstmessage.c: (gst_message_new_state_changed),
18431 (gst_message_parse_state_changed):
18432 * gst/gstmessage.h:
18433 * tools/gst-launch.c: (event_loop):
18434 Added extra field to STATE_CHANGE message with the pending
18435 state, which will be different from the new state soon.
18437 2005-10-08 Wim Taymans <wim@fluendo.com>
18439 * gst/gstbus.c: (gst_bus_pop):
18441 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18442 Small cleanups and doc updates.
18444 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18446 * gst/gst.c: (init_pre):
18447 * gst/gstbin.c: (gst_bin_add_func):
18448 log distributing clocks and base time
18449 * gst/gstregistry.c: (gst_registry_add_plugin),
18450 (gst_registry_scan_path_level), (gst_registry_scan_path):
18451 clean up the debugging output a little
18452 * gst/gstutils.c: (gst_element_state_get_name):
18453 warn about a memleak (I've actually seen this be used, though
18454 it was probably a bug)
18456 2005-10-07 Wim Taymans <wim@fluendo.com>
18458 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18459 (gst_base_src_init), (gst_base_src_default_newsegment),
18460 (gst_base_src_newsegment), (gst_base_src_do_seek),
18461 (gst_base_src_loop), (gst_base_src_start):
18462 * gst/base/gstbasesrc.h:
18463 Make the newsegment event customizable by subclasses.
18465 2005-10-07 Wim Taymans <wim@fluendo.com>
18467 * gst/gstevent.c: (gst_event_new_buffersize),
18468 (gst_event_parse_buffersize):
18470 New event for future idea.
18472 2005-10-07 Andy Wingo <wingo@pobox.com>
18474 * gst/gstelement.c (gst_element_post_message): Doc update.
18476 * docs/gst/gstreamer-sections.txt: Update.
18478 * gst/gstmessage.c (gst_message_new_application): Made into a
18479 function like honest API calls.
18480 (gst_message_new_element): New message type.
18482 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18484 * check/elements/fakesrc.c (test_no_preroll): New check, checks
18485 that setting a live fakesrc to PAUSED returns NO_PREROLL both
18488 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18489 NO_PREROLL from gst_element_change_state to fall through.
18491 2005-10-07 Wim Taymans <wim@fluendo.com>
18493 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18494 (gst_ghost_pad_do_activate_push):
18495 Activating a ghostpad with no internal pad in push mode
18498 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
18501 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18502 Fixes compilation on Windows.
18504 2005-10-07 Michael Smith <msmith@fluendo.com>
18506 * tools/gst-inspect.c:
18507 Print out feature and plugin count at the end when printing out
18510 2005-10-04 Michael Smith <msmith@fluendo.com>
18512 * gst/gsterror.c: (_gst_stream_errors_init):
18513 Add another error string used in a few existing plugins.
18516 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18517 * tools/gst-inspect.c: (print_element_info):
18518 When a feature disappears from a plugin (and the feature exists in
18519 the cached registry file), things went horribly wrong. This isn't a
18520 complete fix, we should actually be removing the 'missing' features
18521 from the features list when we load the actual plugin. That's not
18524 2005-10-04 Johan Dahlin <johan@gnome.org>
18526 * check/gst/gstiterator.c: (GST_START_TEST):
18527 * gst/gstbin.c: (gst_bin_iterate_elements),
18528 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
18529 * gst/gstelement.c: (gst_element_iterate_pads):
18530 * gst/gstformat.c: (gst_format_iterate_definitions):
18531 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18532 (gst_iterator_new_list), (gst_iterator_filter):
18533 * gst/gstiterator.h:
18534 * gst/gstquery.c: (gst_query_type_iterate_definitions):
18535 Add a GType to GstIterator, update callsites and tests.
18537 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18539 * gst/gstpad.c: (gst_pad_event_default_dispatch):
18540 give events a chance to be handled by event probes when the pad
18543 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18545 * gst/gstevent.c: (gst_event_type_get_name),
18546 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
18548 add string representations for event types
18550 2005-10-06 Wim Taymans <wim@fluendo.com>
18552 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18553 Don't use NULL pointers.
18555 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18557 * gst/gst_private.h:
18559 * gst/gstelement.c:
18561 * gst/gstpluginfeature.c:
18562 widen the debug category in output to fit the biggest one we have
18563 add a bus category and use it
18564 play with the colors
18565 fix up some categories
18567 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18569 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18570 add push activation of sink ghost pads.
18571 Andye, please verify
18573 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
18575 * gst/gstutils.c: (gst_element_link_pads):
18576 fix a bug in the case where neither element has a pad
18577 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18578 add a test for that case
18580 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
18582 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18583 emit have-data before checking for peers. This allows
18584 for probe handlers to connect elements. This helps autopluggers.
18585 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18587 add six checks, linked/unlinked with no/true/false probe
18589 2005-10-04 Wim Taymans <wim@fluendo.com>
18591 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18592 (gst_fake_sink_event), (gst_fake_sink_preroll),
18593 (gst_fake_sink_render), (gst_fake_sink_change_state):
18594 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18595 (gst_fake_src_get_property), (gst_fake_src_create),
18596 (gst_fake_src_stop):
18597 * gst/elements/gstidentity.c: (gst_identity_stop):
18598 Protect last_message with lock.
18600 2005-10-04 Edward Hervey <edward@fluendo.com>
18603 Added precision in the comments for GST_FORMAT_DEFAULT
18605 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
18607 * tools/gst-launch.c: (main):
18608 Don't try to run erroneous pipelines.
18610 2005-10-04 Julien MOUTTE <julien@moutte.net>
18612 * gst/gstbus.c: We don't need this header.
18614 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
18617 back to development
18619 === release 0.9.3 ===
18621 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
18625 Releasing 0.9.3, "Unregistered"
18627 2005-10-03 Andy Wingo <wingo@pobox.com>
18629 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18630 whereby calling a pad's activatepush() function can start a thread
18631 that starts to push or pull before the pad gets the FLUSHING flag
18632 unset. Hack around it by holding the stream lock until the flag is
18633 set. Need to replace this with a proper solution. Together with
18634 the ghost pad fixes, this fixes mp3 playing/tagreading.
18636 * docs/design/part-gstghostpad.txt: Add a note about activation of
18637 proxy pads outside of ghost pads.
18639 * gst/gstghostpad.c: Implement the ghost pad activation design.
18641 2005-10-02 Andy Wingo <wingo@pobox.com>
18643 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18644 It is volatile, after all.
18646 * docs/design/part-gstghostpad.txt: Flesh out activation with
18649 * gst/base/gstbasesrc.c (gst_base_src_init): Use
18652 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
18655 Fix (unused) AM_CONDITIONAL tests.
18657 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
18659 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18661 * gst/gstutils.c: (gst_pad_query_convert):
18662 Add assertion that makes sure src_val is >=0, just like
18663 gst_query_new_convert() has. (#315895)
18665 2005-09-30 Edward Hervey <edward@fluendo.com>
18667 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18668 Let's not iterate pads we're not interested in, it avoids getting
18669 sky-high refcounts on sinkpad.
18671 2005-09-30 Wim Taymans <wim@fluendo.com>
18673 * gst/gstelement.c: (gst_element_set_state),
18674 (gst_element_change_state):
18675 Small tweak, element in ASYNC remains ASYNC.
18677 2005-09-30 Wim Taymans <wim@fluendo.com>
18679 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18680 Only error is an error.
18682 * gst/gstbin.c: (gst_bin_change_state):
18685 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18686 Also call pad_block in pad alloc.
18688 * gst/gstutils.c: (gst_flow_get_name):
18691 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18693 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18694 (gst_base_src_get_range):
18695 Fix documentation typos. Add some more debug info.
18697 2005-09-29 David Schleef <ds@schleef.org>
18699 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18700 more end-user friendly.
18701 * tools/gst-inspect.c: (main): Check if command-line argument is
18702 a file and attempt to load that file as a plugin.
18704 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18706 * check/gst/gstbin.c:
18707 * check/states/sinks.c:
18708 fix tests for the new warning
18709 * check/gst/gstpipeline.c:
18710 add a test for pipeline and bus interaction
18711 * gst/gstelement.c:
18712 elements should be NULL if they get disposed; add a warning if not
18714 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18717 for 2.6 refcounting, make debug log more correct by printing
18718 the actual refcounts at the time of swap (Wim)
18720 2005-09-29 Andy Wingo <wingo@pobox.com>
18722 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18723 removes signal watches previously added via
18724 gst_bus_add_signal_watch.
18725 (gst_bus_add_signal_watch): Don't return the source id, just store
18726 it on the bus if there wasn't an id already.
18728 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18729 add_signal_watch and remove_signal_watch.
18731 2005-09-29 Edward Hervey <edward@fluendo.com>
18733 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
18734 Better if we actually iterate the list :)
18736 2005-09-29 Wim Taymans <wim@fluendo.com>
18738 * check/gst/gstbin.c: (GST_START_TEST):
18739 Change for new bus API.
18741 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18742 (send_messages), (GST_START_TEST), (gstbus_suite):
18743 Change for new bus signal API.
18745 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18746 (gst_bus_source_prepare), (gst_bus_source_check),
18747 (gst_bus_create_watch), (gst_bus_add_watch_full),
18748 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18749 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18751 Remove support for multiple GSources operating on different
18752 message types as it is too complex and unneeded when using
18754 Added support for receiving signals from the bus.
18756 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18758 * docs/libs/tmpl/gstdataprotocol.sgml:
18759 * docs/manual/advanced-dataaccess.xml:
18760 * gst/elements/gstcapsfilter.c:
18762 rename filter-caps to caps property
18764 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18766 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18767 More robust fraction string parsing.
18769 * docs/pwg/appendix-porting.xml:
18770 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18772 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18774 * gst/gstcaps.c: (gst_caps_do_simplify):
18775 Thou shalt not free a structure and then continue using it
18776 in the next loop iteration.
18778 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18780 Add test case for caps simplification.
18782 2005-09-29 Wim Taymans <wim@fluendo.com>
18784 * check/gst/gstbin.c: (GST_START_TEST):
18787 2005-09-29 Wim Taymans <wim@fluendo.com>
18789 * check/gst/gstbin.c: (GST_START_TEST):
18792 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
18793 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18794 (find_element), (gst_bin_sort_iterator_next),
18795 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18796 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18797 (gst_bin_change_state), (gst_bin_dispose):
18798 A bin does not have a bus, it gets the bus from the parent.
18800 * gst/gstelement.c: (gst_element_requires_clock),
18801 (gst_element_provides_clock), (gst_element_is_indexable),
18802 (gst_element_is_locked_state), (gst_element_change_state),
18803 (gst_element_set_bus_func):
18806 * gst/gstpipeline.c: (gst_pipeline_class_init),
18807 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
18808 The pipeline provides a bus.
18810 2005-09-28 Johan Dahlin <johan@gnome.org>
18812 * gst/gstmessage.c (gst_message_parse_state_changed): Use
18813 gst_structure_get_enum instead of gst_structure_get_int
18815 * gst/gststructure.c (gst_structure_get_enum): Impl.
18817 * gst/gststructure.h (gst_structure_get_enum): Add
18819 * docs/gst/gstreamer-sections.txt: Ditto
18821 * gst/gstmessage.c (gst_message_new_state_changed): Use
18822 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
18823 which does introspection.
18824 Reviewed by Christian Schaller
18826 2005-09-28 Stefan Kost <ensonic@users.sf.net>
18828 * gst/gstinfo.c: (gst_debug_log_default):
18829 don't do dummy g_strdup()s
18830 * libs/gst/controller/gstcontroller.c:
18831 (on_object_controlled_property_changed),
18832 (gst_controlled_property_new), (gst_controller_new_valist),
18833 (gst_controller_new_list),
18834 (gst_controller_remove_properties_valist), (gst_controller_set),
18835 (gst_controller_get), (gst_controller_sync_values),
18836 (gst_controller_get_value_array), (_gst_controller_class_init),
18837 (gst_controller_get_type):
18838 * libs/gst/controller/gstcontroller.h:
18839 * libs/gst/controller/gstinterpolation.c:
18840 (gst_controlled_property_find_timed_value_node):
18841 convert // to /**/ comments
18843 2005-09-28 Wim Taymans <wim@fluendo.com>
18845 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
18846 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
18847 (gst_bus_sync_signal_handler):
18849 Added async-message and sync-message signals to the bus.
18850 Added helper BusFunc to emit signals for all posted messages.
18852 * gst/gstmessage.c: (gst_message_type_get_name),
18853 (gst_message_type_to_quark), (gst_message_get_type):
18854 * gst/gstmessage.h:
18855 Register quarks for message names.
18857 2005-09-28 Stefan Kost <ensonic@users.sf.net>
18859 * docs/libs/gstreamer-libs-sections.txt:
18860 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
18861 (gst_controller_new_list):
18862 * libs/gst/controller/gstcontroller.h:
18863 added another constructor for language bindings
18865 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
18867 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18871 * gst/gstinfo.c: (_gst_debug_init):
18872 slightly more readable color for refcount debugging
18874 2005-09-28 Wim Taymans <wim@fluendo.com>
18876 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18877 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18878 (find_element), (gst_bin_sort_iterator_next),
18879 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18880 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18881 (gst_bin_change_state), (gst_bin_dispose):
18882 Small doc fixes. get_clock -> provide_clock.
18884 * gst/gstelement.c: (gst_element_class_init),
18885 (gst_element_provides_clock), (gst_element_provide_clock),
18886 (gst_element_get_clock), (gst_element_commit_state),
18887 (gst_element_lost_state):
18888 * gst/gstelement.h:
18889 Make get/set_clock() symetric. Add provide_clock vmethod since
18890 that is actually what this function does.
18892 * gst/gstpipeline.c: (gst_pipeline_class_init),
18893 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18894 (gst_pipeline_get_clock):
18895 get_clock -> provide_clock.
18897 2005-09-28 Andy Wingo <wingo@pobox.com>
18899 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18900 lieu of real docs...
18902 * gst/elements/gstfdsrc.c: Cleaned up a bit.
18904 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
18906 * gst/elements/gstcapsfilter.c:
18907 * gst/elements/gstfakesink.c:
18908 * gst/elements/gstfakesrc.c:
18909 * gst/elements/gstfdsink.c:
18910 * gst/elements/gstfdsrc.c:
18911 * gst/elements/gstfilesink.c:
18912 * gst/elements/gstfilesrc.c:
18913 * gst/elements/gstidentity.c:
18914 * gst/elements/gsttee.c:
18915 * gst/elements/gsttypefindelement.c:
18916 Make element details static.
18918 2005-09-28 Wim Taymans <wim@fluendo.com>
18920 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18921 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18922 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18923 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18924 (gst_bin_change_state), (gst_bin_dispose):
18925 Some documentation updates.
18926 Clean up dispose handlers.
18928 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18929 * gst/gstpad.c: (gst_pad_dispose):
18930 Clean up dispose handler.
18932 * gst/gstpipeline.c: (gst_pipeline_change_state):
18933 Removed spurious UNLOCK.
18935 2005-09-27 Stefan Kost <ensonic@users.sf.net>
18937 * docs/gst/gstreamer-sections.txt:
18938 * gst/base/gstbasesrc.h:
18939 * gst/gstelement.h:
18943 * gst/gstpipeline.c:
18944 * gst/gstpipeline.h:
18947 added two new functions to the docs
18948 documents all undocumented GstXXXFlags
18949 completed some incomplete docs
18951 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
18953 * gst/gstbin.c: (gst_bin_dispose):
18954 * gst/gstelement.c: (gst_element_dispose):
18955 remove now useless and leaky resurrection code in dispose
18956 * gst/base/gstbasesrc.c: (gst_base_src_init):
18957 * gst/gstelementfactory.c: (gst_element_factory_create):
18958 * gst/gstobject.c: (gst_object_set_parent):
18961 2005-09-27 Wim Taymans <wim@fluendo.com>
18963 * docs/design/part-TODO.txt:
18966 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18967 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18968 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18969 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18970 (gst_bin_change_state):
18971 * gst/gstelement.h:
18972 Remove element variable, we keep element info in the iterator now.
18974 2005-09-27 Andy Wingo <wingo@pobox.com>
18976 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18979 2005-09-27 Wim Taymans <wim@fluendo.com>
18981 * check/gst/gstbin.c: (GST_START_TEST):
18982 Enable check that works now.
18984 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18985 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18986 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18987 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18988 (gst_bin_change_state):
18990 Redid the state change algorithm using a topological sort algo.
18991 Handles all cases correctly.
18992 Exposed iterator for state change order.
18994 * gst/gstelement.h:
18995 Temp storage for state changes. Need to get rid of this soon.
18997 2005-09-27 Wim Taymans <wim@fluendo.com>
18999 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
19000 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
19001 (link_fold_func), (gst_pad_proxy_setcaps):
19002 Leak fixes, the fold functions need to unref the passed object and
19003 _get_parent_*() returns ref to parent.
19005 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
19007 * check/gst/gstbuffer.c: (test_make_writable):
19008 Plug leak in test case and fix 'make check-valgrind'
19010 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
19012 * gst/gstbuffer.c: (gst_subbuffer_init):
19013 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
19014 works correctly in all circumstances (we could have just copied
19015 the parent buffer's readonly flag, but conceptually it seems
19016 cleaner to mark all subbuffers as read-only). (based on patch
19017 by Alessandro Decina, #314710).
19019 * check/gst/gstbuffer.c: (create_read_only_buffer),
19020 (test_make_writable), (test_subbuffer_make_writable),
19022 Add some tests for gst_buffer_make_writable().
19024 2005-09-27 Wim Taymans <wim@fluendo.com>
19026 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
19027 use gst_object_has_ancestor().
19029 * gst/gstobject.c: (gst_object_has_ancestor):
19031 gst_object_has_ancestor() copied from gstbin.c as it is a
19034 * tests/instantiate/create.c: (create_all_elements):
19035 * tests/lat.c: (handoff_src), (handoff_sink):
19036 * tests/sched/runxml.c: (main):
19037 * tests/seeking/seeking1.c: (main):
19038 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
19040 Fix compilation of some tests.
19042 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
19045 Remove comment. GST_TYPE_G_ERROR is here to stay,
19046 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
19047 (#316961, #300610).
19049 2005-09-26 Wim Taymans <wim@fluendo.com>
19051 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19052 Added check that shows error in state change order.
19054 2005-09-26 Wim Taymans <wim@fluendo.com>
19056 * gst/gstbin.c: (gst_bin_change_state):
19057 Make state change function use 3 queues again, we were
19058 adding elements in the wrong order.
19060 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
19063 * gst/gstpad.c: (gst_pad_dispose):
19064 Added some debug info first.
19066 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
19068 * docs/design/draft-push-pull.txt:
19069 * docs/design/part-events.txt:
19070 * docs/design/part-overview.txt:
19071 * docs/design/part-scheduling.txt:
19072 Replace all _pull_region() with _pull_range()
19074 2005-09-26 Andy Wingo <wingo@pobox.com>
19076 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
19078 * check/gst-libs/controller.c: Update for controller api change.
19081 * tests/Makefile.am:
19082 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
19083 over by GLib bug 118439.
19085 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
19086 routines to a function.
19088 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
19090 * libs/gst/controller/gsthelper.c:
19091 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
19092 (gst_object_sync_values): Renamed from sink_values. Ugh.
19094 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
19096 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
19097 Renamed from controller_key, as it is exported.
19099 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
19101 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
19106 * gst/gstpadtemplate.h:
19109 * gst/gstqueryutils.c:
19110 * gst/gstqueryutils.h:
19111 remove queryutils headers after moving the two used functions
19112 to gstquery. also fixes build problem for gstsiddec
19114 2005-09-26 Michael Smith <msmith@fluendo.com>
19116 * tools/gst-launch.1.in:
19117 Correct documentation in manpage of debug syntax
19119 2005-09-26 Wim Taymans <wim@fluendo.com>
19121 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19122 (gst_base_src_is_seekable), (gst_base_src_change_state):
19123 Some more debugging info.
19125 2005-09-25 Stefan Kost <ensonic@users.sf.net>
19127 * docs/gst/gstreamer-sections.txt:
19128 * gst/base/gstbasetransform.h:
19132 2005-09-25 Stefan Kost <ensonic@users.sf.net>
19134 * docs/gst/.cvsignore:
19135 * docs/gst/tmpl/.cvsignore:
19136 * docs/gst/tmpl/gstpipeline.sgml:
19137 * docs/gst/tmpl/gstplugin.sgml:
19138 * gst/gstpipeline.c:
19141 inlined the last two docs files
19142 removed the tmpl directory from cvs (no more conflicts here!)
19144 2005-09-25 Stefan Kost <ensonic@users.sf.net>
19146 * docs/gst/gstreamer-sections.txt:
19147 * docs/gst/tmpl/.cvsignore:
19148 * docs/gst/tmpl/gstpad.sgml:
19149 * docs/gst/tmpl/gstpadtemplate.sgml:
19151 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
19152 (gst_pad_finalize), (gst_pad_set_pad_template):
19154 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
19155 (gst_pad_template_class_init), (gst_pad_template_init),
19156 (gst_pad_template_dispose), (name_is_valid),
19157 (gst_static_pad_template_get), (gst_pad_template_new),
19158 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
19159 (gst_pad_template_pad_created):
19160 * gst/gstpadtemplate.h:
19161 inlined two more docs
19162 factored gstpadtemplate out of gstpad
19164 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
19166 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19167 (test_children_state_change_order_semi_sink):
19168 Fix test case: we can't rely on a fixed state change order when
19169 going from READY => PAUSED because the sink might commit its
19170 new state first when the first buffer created by the source
19171 reaches the sink before the source has finished its change state.
19172 (Test case still fails at times, see #316856, comment 5 onwards)
19174 2005-09-24 Wim Taymans <wim@fluendo.com>
19176 * docs/design/part-events.txt:
19177 * docs/design/part-gstbus.txt:
19178 * docs/design/part-gstpipeline.txt:
19179 * docs/design/part-messages.txt:
19180 * docs/design/part-overview.txt:
19181 * docs/design/part-segments.txt:
19185 * gst/gstelement.c:
19188 * gst/gstiterator.c:
19189 Various documentation updates.
19191 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
19194 Well, that's embarassing. Luckily we weren't using
19195 GST_CLOCK_DIFF anywhere.
19197 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19199 * common/gtk-doc.mak:
19200 don't fail on building XML, FC4 slave shows a bunch of doc
19201 missing bits that I don't get
19203 * gst/gstpipeline.c:
19204 * gst/gststructure.c:
19207 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
19209 * docs/design/part-gstbin.txt:
19210 * docs/design/part-gstbus.txt:
19212 Add blurb about how the bus goes into flushing mode and
19213 drops all messages when its bin goes from READY into NULL
19216 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19218 * docs/gst/gstreamer-sections.txt:
19219 * gst/gststructure.c: (gst_structure_get_clock_time):
19220 * gst/gststructure.h:
19221 add a method to get a GstClockTime out of a structure
19223 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
19225 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19226 (test_children_state_change_order_semi_sink), (gst_bin_suite):
19227 Added test to check state change order in bins (can still be made
19228 to fail here under heavy disk load; bails out with 'Push on pad
19229 fakesink:sink0, but it was not activated in push mode').
19231 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
19232 Fix state change order when there is only a semi sink (#316856)
19234 * gst/gstbus.c: (gst_bus_class_init):
19235 Use _class_peek_parent(), not _class_ref(); fix docs to say
19236 'default main context' instead of 'mainloop' where that is
19239 * gst/gstelement.c: (gst_element_commit_state),
19240 (gst_element_set_state):
19241 Fix typos in debug messages
19243 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19246 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
19247 * gst/gstpluginfeature.c:
19249 various doc updates
19250 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19251 change an assert into an error until it gets fixed properly
19253 2005-09-23 Stefan Kost <ensonic@users.sf.net>
19255 * docs/gst/gstreamer-sections.txt:
19256 * docs/gst/tmpl/.cvsignore:
19257 * docs/gst/tmpl/gstelement.sgml:
19258 * docs/gst/tmpl/gstinfo.sgml:
19259 * docs/gst/tmpl/gstobject.sgml:
19260 * gst/gstelement.c:
19261 * gst/gstelement.h:
19264 * gst/gstobject.c: (gst_object_class_init):
19266 inlined 3 more biiiig doc files and added some missing docs on the fly
19268 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19270 * check/gst/.cvsignore:
19271 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
19272 * gst/gstregistryxml.c: (load_plugin),
19273 (gst_registry_xml_save_plugin):
19274 put back source in registry. add checks for find_plugin.
19275 * testsuite/states/bin.c: (assert_state), (empty_bin),
19276 (test_adding_one_element), (main):
19277 * testsuite/states/locked.c: (main):
19278 some compile/run fixes
19280 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
19282 * check/gst/gstvalue.c: (GST_START_TEST):
19283 fix leaks in the test itself
19285 2005-09-22 Wim Taymans <wim@fluendo.com>
19287 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19288 (gst_base_sink_send_event), (gst_base_sink_peer_query),
19289 (gst_base_sink_query):
19290 Prepare for more accurate position reporting and query
19293 * gst/gstelement.c: (gst_element_send_event),
19294 (gst_element_set_state):
19297 2005-09-22 Wim Taymans <wim@fluendo.com>
19299 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
19300 (gst_query_parse_segment):
19302 More documentation.
19303 Add segment query for future use.
19305 2005-09-22 Wim Taymans <wim@fluendo.com>
19307 * gst/gstbin.c: (gst_bin_add_func):
19308 Some more debug info.
19310 * gst/gstelement.c: (gst_element_send_event):
19311 Simplify send_event
19313 * gst/gstelement.h:
19314 Don't know how flags got broken.
19319 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
19321 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
19322 Add simplistic test suite for GST_TYPE_DATE serialisation and
19325 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
19327 * docs/gst/gstreamer-sections.txt:
19328 * gst/gststructure.c: (gst_structure_set_valist),
19329 (gst_structure_get_date):
19330 * gst/gststructure.h:
19331 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
19332 (gst_date_copy), (gst_value_compare_date),
19333 (gst_value_serialize_date), (gst_value_deserialize_date),
19334 (gst_value_transform_date_string),
19335 (gst_value_transform_string_date), (_gst_value_initialize):
19337 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
19338 bunch of utility functions along with a hack that checks that
19339 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
19340 is required. Part of the grand scheme in #170777.
19342 2005-09-22 Andy Wingo <wingo@pobox.com>
19344 * gst/gstconfig.h.in: Psych out gtk-doc.
19346 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
19348 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
19350 * tools/gst-inspect.c (print_element_list): Plug some
19351 inconsequential leaks.
19353 * gst/gstregistry.c (gst_registry_get_default): Doc.
19355 * check/gst/gstplugin.c:
19356 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
19357 * gst/gstelementfactory.c (gst_element_factory_create):
19358 * gst/gstindexfactory.c (gst_index_factory_create): Update for
19361 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
19362 (gst_plugin_feature_load): Doc, don't eat refs.
19364 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
19365 (gst_plugin_list_free): Doc.
19366 (gst_plugin_load_file): Doc updates.
19368 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
19369 accessors returning refcounted objects, return a ref.
19371 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
19372 accessor for caps. IDEMPOTENCE. Oh yes.
19374 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
19376 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19378 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19379 (_gst_debug_register_funcptr):
19380 Add mutex to serialise access to the hash table with
19381 the function pointer => function name string mapping;
19382 make that hash table static scope (#316809).
19384 * gst/registries/.cvsignore:
19385 Remove left-over file.
19387 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
19389 * docs/pwg/appendix-porting.xml:
19390 And something about newsegment events and caps-on-buffers to
19391 the porting guide (feel free to improve).
19393 2005-09-21 Andy Wingo <wingo@pobox.com>
19395 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
19396 data and event probes on the same pad.
19397 (test_buffer_probe_once): Test that removing probes from within
19398 the probe functions works.
19400 2005-09-21 Andy Wingo <wingo@pobox.com>
19402 * check/gst/gstutils.c: New file.
19403 (test_buffer_probe_n_times): A simple buffer probe test. More to
19406 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
19407 have-data::buffer, not have-data.
19408 (gst_pad_add_event_probe): Likewise for have-data::event.
19409 (gst_pad_add_data_probe): More docs. The part about 'resolving the
19410 peer' isn't quite right yet though.
19411 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
19412 (gst_pad_remove_data_probe): Change to take the guint handler_id
19413 as their arg, not the function+data, which is more glib-like.
19415 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
19416 the signal emission to indicate if the data is a buffer or an
19418 (gst_pad_get_type): Initialize buffer and event quarks.
19419 (gst_pad_class_init): have-data is now a detailed signal, yes it
19422 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
19424 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19425 * gst/gstutils.c: (gst_util_set_value_from_string),
19426 (gst_util_set_object_arg):
19427 Don't put functional code in g_return_if_fail() or
19428 g_return_val_if_fail() statements, otherwise things will
19429 break when G_DISABLE_CHECKS is defined during compilation.
19431 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19433 * docs/gst/tmpl/.cvsignore:
19434 * docs/gst/tmpl/gstvalue.sgml:
19437 inlied another one and added some obvious docs
19439 2005-09-21 Wim Taymans <wim@fluendo.com>
19441 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19442 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19443 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19444 (gst_fdsrc_get_property), (gst_fdsrc_create):
19445 * gst/elements/gstfdsrc.h:
19446 Properly implement fdsrc. Removed signal and timeout,
19447 better implemented somewhere else.
19449 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19451 * docs/gst/tmpl/.cvsignore:
19452 * docs/gst/tmpl/gstimplementsinterface.sgml:
19453 * gst/gstinterface.c:
19456 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19458 * docs/gst/gstreamer-sections.txt:
19459 * docs/gst/tmpl/.cvsignore:
19460 * docs/gst/tmpl/gstenumtypes.sgml:
19461 remove obsolete doc file
19463 2005-09-21 David Schleef <ds@schleef.org>
19465 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19466 little beer, fix a little leak.
19468 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19470 * docs/gst/gstreamer-docs.sgml:
19471 * docs/gst/gstreamer-sections.txt:
19472 * docs/gst/tmpl/.cvsignore:
19476 * gst/gstelement.h:
19477 * gst/gstindex.c: (gst_index_class_init):
19479 * gst/gstindexfactory.c: (gst_index_factory_get_type),
19480 (gst_index_factory_class_init), (gst_index_factory_init),
19481 (gst_index_factory_finalize), (gst_index_factory_new),
19482 (gst_index_factory_destroy), (gst_index_factory_find),
19483 (gst_index_factory_create), (gst_index_factory_make):
19484 * gst/gstindexfactory.h:
19485 * gst/gstpluginfeature.c:
19486 * gst/gstpluginfeature.h:
19487 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19488 more docs inlined, splitted gstindex.{c,h}
19490 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19492 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19495 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
19497 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19498 Set sync to FALSE by default.
19500 2005-09-20 Wim Taymans <wim@fluendo.com>
19502 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19503 (gst_base_sink_init):
19504 Make sync property settable from subclass.
19506 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19507 (gst_fake_sink_change_state):
19508 Set sync to FALSE by default.
19510 2005-09-20 Wim Taymans <wim@fluendo.com>
19512 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
19513 * tools/gst-launch.c: (main):
19514 The timeout handler should have lower priority than the source
19515 so we don't timeout before popping a message with 0 timeout.
19516 Dump error messages after failed state change.
19518 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
19520 * tools/gst-inspect.c: (print_element_properties_info):
19523 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19525 * check/gst/gstevent.c:
19526 * gst/elements/gstfakesink.c:
19527 * gst/elements/gstfakesink.h:
19528 remove the sync property from fakesink.
19529 has the side effect of setting sync TRUE
19530 for fakesink, which is a change. Anyone who knows how
19531 to fix this nicely in a GObject-y way, feel free.
19533 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19535 * docs/gst/gstreamer-docs.sgml:
19536 remove probe refsection
19538 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19540 * check/Makefile.am:
19541 disable valgrinding the controller test again
19542 * docs/gst/gstreamer-sections.txt:
19543 update for api-changes
19545 2005-09-20 Wim Taymans <wim@fluendo.com>
19547 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19548 (gst_base_sink_set_property), (gst_base_sink_get_property),
19549 (gst_base_sink_do_sync):
19550 * gst/base/gstbasesink.h:
19551 Added sync property to basesink to disable clock sync.
19553 2005-09-20 Andy Wingo <wingo@pobox.com>
19555 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19556 eating the caller's refcount.
19558 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
19559 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19562 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19563 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19564 of GLib 2.8 public, so we can know which refcount to check in
19567 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19568 (gst_object_init): Only set the gst refcount if we're going ahead
19569 with the refcount hack.
19571 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19573 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19574 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19575 more leaks plumbed, added more debug-logging
19579 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19581 * gst/gstmessage.c:
19582 remove include of gstmemchunk.h
19584 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19586 * gst/gstclock.c: (_gst_clock_id_free):
19587 Commit from the Political Party For More Atomic CVS Commits,
19588 so that people don't waste too much of their day fishing
19589 out obvious leaks out of massive commits.
19590 Oh, and fix a pretty damn obvious leak in the memchunk
19593 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19595 * check/Makefile.am:
19596 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19597 plug mem-leak, re-add to valgrindable tests
19599 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19602 unbreak the build for those who have chronic arthritis
19603 and typing "make check" is just too taxing on the hands
19605 2005-09-20 Andy Wingo <wingo@pobox.com>
19607 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19608 really want it out, you should fix plugins at the same time.
19610 2005-09-19 Stefan Kost <ensonic@users.sf.net>
19613 * docs/gst/gstreamer-sections.txt:
19615 added missing symbols to api docs
19616 disable ref-count hack if we have glib >= 2.8
19618 2005-09-19 David Schleef <ds@schleef.org>
19620 * docs/gst/Makefile.am: Ignore a few more internal headers
19621 * docs/gst/gstreamer-docs.sgml: Remove old sections
19622 * docs/gst/gstreamer-sections.txt: Remove old sections
19623 * docs/gst/tmpl/gstobject.sgml: update
19624 * docs/gst/tmpl/gstplugin.sgml: update
19625 * docs/gst/tmpl/gstpluginfeature.sgml: update
19626 * docs/random/ds/0.9-suggested-changes: update.
19627 * gst/Makefile.am: remove memchunk and trashstack, since they're
19629 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19630 * gst/gst.h: don't include some headers
19631 * gst/gstchildproxy.c: add gstmarshal.h
19632 * gst/gstclock.c: Don't use memchunks
19633 * gst/gstminiobject.c: Add some docs
19634 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19635 * gst/gstobject.h: same
19636 * gst/gstplugin.c: include gstmacros.h
19637 * gst/gstplugin.h: don't include gstmacros.h, since it's private
19638 * gst/gstquery.c: don't use memchunks
19639 * gst/gstregistry.c: rename gst_registry_deinit()
19640 * gst/gstregistry.h: same
19642 2005-09-19 David Schleef <ds@schleef.org>
19644 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19645 * docs/libs/gstreamer-libs-sections.txt:
19646 * docs/libs/tmpl/gstgetbits.sgml:
19647 * docs/libs/tmpl/gstputbits.sgml:
19649 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
19651 * win32/gstenumtypes.c:
19652 * win32/gstenumtypes.h:
19655 2005-09-19 Wim Taymans <wim@fluendo.com>
19657 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19658 Automatically PAUSE and RESUME a pipeline when a flushing seek
19661 2005-09-19 Andy Wingo <wingo@pobox.com>
19663 * gst/gstregistry.h: Spacing fixen.
19665 2005-09-19 Wim Taymans <wim@fluendo.com>
19667 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19668 Handle state change failure more correctly.
19670 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19672 * check/Makefile.am:
19673 * check/pipelines/cleanup.c: (run_pipeline):
19674 * check/pipelines/simple_launch_lines.c: (run_pipeline),
19676 enable cleanup again after fixing the leak
19678 some more info on docs
19680 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19682 * check/Makefile.am:
19683 re-enable tests now that leaks are plugged
19685 * check/gst/gstbin.c:
19686 * check/gst/gstpipeline.c:
19687 add some more tests while fixing leaks
19688 * common/check.mak:
19689 make sure binaries are uptodate when valgrinding/gdbing
19691 * gst/gstelementfactory.c:
19692 remove a ref too many, and add a FIXME for when we get
19693 round to disposing of classes
19695 fix the refcounting when loading a plugin from a file and
19696 the code pretends that the pointer is the same even though
19697 of course it can change
19698 * gst/gstpluginfeature.c:
19699 unref plugins marked cached (a bit confusing as a name)
19700 as the docs state should be done
19701 various doc additions to explain refcounting
19702 * gst/gstregistry.c:
19703 * gst/gstregistryxml.c:
19706 2005-09-19 Wim Taymans <wim@fluendo.com>
19708 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19709 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19710 (send_messages), (GST_START_TEST), (gstbus_suite):
19711 * check/gst/gstpipeline.c: (GST_START_TEST):
19712 * check/pipelines/cleanup.c: (run_pipeline):
19713 * check/pipelines/simple_launch_lines.c: (run_pipeline),
19715 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19716 (gst_bus_source_check), (gst_bus_source_dispatch),
19717 (gst_bus_create_watch), (gst_bus_add_watch_full),
19718 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19720 * tools/gst-launch.c: (event_loop):
19721 * tools/gst-md5sum.c: (event_loop):
19722 GstBusHandler -> GstBusFunc, return value has the same meaning as
19723 any other GSource (FALSE == remove source).
19724 _add_watch() and _add_watch_full() now take a MessageType mask to
19725 only handle specific types of messages.
19726 _poll() returns the GstMessage instead of the message type to avoid
19728 _have_pending() takes a MessageType mask now too.
19729 Added testsuite for multiple bus watches.
19730 Fix testsuites and applications for new bus API.
19732 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19734 * check/Makefile.am:
19735 mark a bunch of the tests as to fix until we fix them
19737 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19739 * common/check.mak:
19740 use GST_PLUGIN settings for valgrind tests as well, so we're
19741 valgrinding the correct thing
19742 * gst/gst.c: (init_post):
19745 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19747 * gst/gst.c: (init_post), (gst_deinit):
19748 * gst/gstelementfactory.c: (gst_element_factory_class_init),
19749 (gst_element_factory_finalize), (gst_element_factory_cleanup):
19750 * gst/gstindex.c: (gst_index_factory_class_init),
19751 (gst_index_factory_finalize):
19752 * gst/gstobject.c: (gst_object_dispose):
19753 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19754 (gst_plugin_load_file), (gst_plugin_desc_free):
19755 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19756 (gst_plugin_feature_finalize):
19757 * gst/gstregistry.c: (gst_registry_class_init),
19758 (gst_registry_init), (gst_registry_finalize),
19759 (gst_registry_get_default), (gst_registry_deinit):
19760 * gst/gstregistry.h:
19761 * gst/gstregistryxml.c: (load_feature), (load_plugin):
19762 various cleanups and memleak plugging. make valgrind is happy now.
19764 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19766 * common/check.mak:
19767 add a check-valgrind target
19769 2005-09-18 David Schleef <ds@schleef.org>
19771 * tools/gst-inspect.c: Revert the GOption code.
19773 2005-09-17 David Schleef <ds@schleef.org>
19775 * check/Makefile.am: Fix environment variables.
19776 * check/gst/gstplugin.c: Fix for API changes.
19777 * tools/gst-inspect.c: Fix for API changes.
19778 * tools/gst-xmlinspect.c: Fix for API changes.
19779 * gst/gstelementfactory.c:
19782 * gst/gstpluginfeature.c:
19783 * gst/gstpluginfeature.h:
19784 * gst/gstregistry.c:
19785 * gst/gstregistry.h:
19786 * gst/gstregistryxml.c:
19787 * gst/gsttypefind.c:
19788 * gst/gsttypefindfactory.c:
19789 * gst/indexers/gstfileindex.c:
19790 * gst/indexers/gstmemindex.c:
19791 * gst/schedulers/Makefile.am:
19792 Change registry to keep track of both plugins and features,
19793 removing the feature tracking from plugins themselves.
19795 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
19797 * check/Makefile.am:
19798 * tools/gst-register.1.in:
19799 remove gst-register
19801 2005-09-15 David Schleef <ds@schleef.org>
19803 * check/gst/gstplugin.c:
19804 * gst/gstelementfactory.c:
19806 * gst/gstpluginfeature.c:
19807 * gst/gstregistry.c:
19808 Getting tired of debugging. Disabled all the unreffing of
19809 plugins and features, which fixes the segfaults, but of
19810 course leaks like crazy. At least playbin works.
19812 2005-09-15 David Schleef <ds@schleef.org>
19814 * check/gst/gstplugin.c: (register_check_elements),
19815 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
19817 * gst/elements/gsttypefindelement.c: Fix refcounting.
19818 * gst/gsttypefind.c:
19819 * gst/gsttypefindfactory.c:
19820 * gst/gsttypefindfactory.h:
19822 2005-09-15 David Schleef <ds@schleef.org>
19824 * gst/gstindex.c: get refcounting correct.
19825 * gst/gstregistry.c: Handle the case where a feature/plugin is
19828 2005-09-15 David Schleef <ds@schleef.org>
19830 * check/Makefile.am:
19831 * check/gst/gstplugin.c: Add test
19832 * gst/gstplugin.c: Fix problems noticed by testsuite
19834 * gst/gstregistry.c:
19835 * gst/gstregistry.h:
19837 2005-09-15 David Schleef <ds@schleef.org>
19839 * gst/gstplugin.c: Implement semi-decent recounting and locking
19840 in plugins and plugin features.
19842 * gst/gstpluginfeature.c:
19843 * gst/gstpluginfeature.h:
19844 * gst/gstregistry.c:
19846 2005-09-15 Michael Smith <msmith@fluendo.com>
19848 * gst/gstregistry.c: (gst_registry_get_feature_list):
19849 Implement this. Makes oggdemux work; decodebin still broken.
19851 2005-09-14 David Schleef <ds@schleef.org>
19853 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
19855 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
19856 * gst/check/Makefile.am:
19857 * libs/gst/controller/Makefile.am:
19858 * libs/gst/dataprotocol/Makefile.am:
19860 2005-09-14 David Schleef <ds@schleef.org>
19862 * configure.ac: Remove getbits library. Nothing uses it, and
19863 it should be in something like liboil if someone did want
19865 * libs/gst/Makefile.am:
19866 * libs/gst/getbits/Makefile.am:
19867 * libs/gst/getbits/gbtest.c:
19868 * libs/gst/getbits/getbits.c:
19869 * libs/gst/getbits/getbits.h:
19870 * libs/gst/getbits/gstgetbits_generic.c:
19871 * libs/gst/getbits/gstgetbits_i386.s:
19872 * libs/gst/getbits/gstgetbits_inl.h:
19874 2005-09-14 David Schleef <ds@schleef.org>
19876 * gst/Makefile.am: Dist glib-compat.h
19878 2005-09-14 David Schleef <ds@schleef.org>
19880 * configure.ac: Remove gst/registries, since it's no longer used.
19881 * gst/registries/Makefile.am:
19882 * gst/registries/gstlibxmlregistry.c:
19883 * gst/registries/gstlibxmlregistry.h:
19884 * gst/registries/gstxmlregistry.c:
19885 * gst/registries/gstxmlregistry.h:
19886 * gst/registries/registrytest.c:
19888 2005-09-14 David Schleef <ds@schleef.org>
19890 * gst/glib-compat.h:
19891 * gst/gstregistryxml.c:
19892 Convergence is near. Seriously.
19894 2005-09-14 David Schleef <ds@schleef.org>
19896 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19897 * gst/glib-compat.h:
19898 Attempt #4 to appease the buildbots.
19900 2005-09-14 David Schleef <ds@schleef.org>
19902 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19905 2005-09-14 David Schleef <ds@schleef.org>
19907 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19910 2005-09-14 David Schleef <ds@schleef.org>
19912 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19915 2005-09-14 David Schleef <ds@schleef.org>
19917 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19918 * gst/glib-compat.h: Add some functions that are in newer versions
19919 of glib than we care to require.
19920 * gst/gstregistryxml.c: Use them.
19922 2005-09-14 David Schleef <ds@schleef.org>
19924 * po/POTFILES.in: remove gst-register.c
19926 2005-09-14 David Schleef <ds@schleef.org>
19928 * docs/gst/gstreamer-docs.sgml:
19929 * docs/gst/gstreamer-sections.txt:
19930 * docs/gst/gstreamer.types:
19931 * docs/gst/tmpl/gstelement.sgml:
19932 * docs/gst/tmpl/gstplugin.sgml:
19933 * docs/gst/tmpl/gstpluginfeature.sgml:
19934 Documentation updates for registry changes.
19936 2005-09-14 David Schleef <ds@schleef.org>
19938 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19939 because we don't require glib-2.8.
19941 2005-09-14 David Schleef <ds@schleef.org>
19943 * gst/gstregistryxml.c: Added. Essentially moved out of the
19944 registries directory.
19946 2005-09-14 David Schleef <ds@schleef.org>
19948 * check/Makefile.am:
19949 * check/generic/states.c:
19953 * gst/gst_private.h:
19954 * gst/gstelementfactory.c:
19959 * gst/gstpluginfeature.c:
19960 * gst/gstpluginfeature.h:
19961 * gst/gstregistry.c:
19962 * gst/gstregistry.h:
19963 * gst/gstregistrypool.c: remove
19964 * gst/gstregistrypool.h: remove
19965 * gst/gsttypefind.c:
19966 * gst/gsttypefindfactory.c:
19968 * tools/Makefile.am:
19969 * tools/gst-compprep.c:
19970 * tools/gst-inspect.c:
19971 * tools/gst-register.c: remove
19972 * tools/gst-xmlinspect.c:
19973 Registry rewrite. Changes registry from being a file created
19974 by a tool into a simple cache file created automatically by
19975 libgstreamer. Removed gst-register (because it's no longer
19976 needed). Remove registry pools, because we only have one
19977 registry implementation (XML). Fix up other subsystems as
19980 2005-09-13 Michael Smith <msmith@fluendo.com>
19982 * gst/gstconfig.h.in:
19983 Don't Use windows linking attributes for MinGW. Fixes #316157
19985 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
19987 * gst/gstutils.c: (set_state_async_thread_func),
19988 (gst_element_set_state_async):
19989 Apparently people think it's better if this function doesn't
19990 try to set the state to whatever state was asked for on the first
19991 call to this function for any object. Seriously.
19993 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19995 * check/gst/gstpipeline.c: (GST_START_TEST):
19996 * docs/gst/gstreamer-sections.txt:
19997 * gst/gstutils.c: (set_state_async_thread_func),
19998 (gst_element_set_state_async):
20000 add a "gst_element_set_state_async" method that
20001 sets the state and starts a thread to make sure the state
20002 change completes as best as it can
20004 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
20006 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
20007 codify design+behaviour in testsuite after discussion
20009 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
20011 * docs/gst/tmpl/gstelement.sgml:
20012 * docs/manual/appendix-quotes.xml:
20014 * gst/gstelement.c: (gst_element_set_state):
20017 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
20019 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20020 (gst_base_transform_prepare_output_buf),
20021 (gst_base_transform_handle_buffer):
20022 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
20023 (gst_capsfilter_prepare_buf):
20024 Remove the requirement for sub-classes to call the parent
20025 implementation of prepare_output_buffer with a wrapper function.
20027 * gst/gsttaglist.h:
20028 * gst/gsttagsetter.h:
20029 Fix #define wrapper
20031 2005-09-11 Stefan Kost <ensonic@users.sf.net>
20033 * docs/gst/gstreamer-sections.txt:
20036 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
20038 * docs/gst/gstreamer-sections.txt:
20039 * docs/gst/tmpl/gstelement.sgml:
20040 * docs/gst/tmpl/gstplugin.sgml:
20041 * gst/gstminiobject.c:
20043 docs now stop throwing warnings
20045 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
20047 * docs/gst/gstreamer-sections.txt:
20048 * docs/gst/gstreamer.types:
20049 * docs/gst/tmpl/gstpad.sgml:
20050 * docs/gst/tmpl/gsttypes.sgml:
20051 * gst/base/gstadapter.h:
20052 * gst/base/gstbasesink.h:
20053 * gst/base/gstbasesrc.h:
20059 * gst/gstelement.h:
20061 * gst/gstmessage.h:
20063 * gst/gststructure.c:
20064 * gst/registries/gstlibxmlregistry.h:
20065 various documentation fixes
20067 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
20069 * docs/gst/gstreamer-sections.txt:
20070 * docs/gst/tmpl/gstvalue.sgml:
20071 rearrange gstvalue section
20072 * gst/gstutils.c: (gst_element_state_get_name):
20074 * gst/gstvalue.c: (_gst_value_initialize):
20078 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
20080 * check/gst-libs/controller.c:
20081 Header include fix.
20082 * gst/base/gstbasetransform.c:
20083 (gst_base_transform_default_prepare_buf),
20084 (gst_base_transform_handle_buffer):
20085 * gst/base/gstbasetransform.h:
20086 Some more basetransform changes and fixes to enable sub-classes
20087 that modify buffer metadata only.
20088 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20089 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
20090 (gst_capsfilter_prepare_buf):
20091 If the output pad has fixed allowed caps and input buffers
20092 don't have any, set the fixed caps on outgoing buffers.
20094 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
20095 * check/elements/identity.c: (GST_START_TEST):
20096 Make the error a little clearer when the test fails because
20097 identity made a copy of the buffer.
20098 * docs/gst/gstreamer-sections.txt:
20099 New symbols in gstbasetransform.h
20100 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20101 (gst_base_transform_init), (gst_base_transform_transform_size),
20102 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20103 (gst_base_transform_default_prepare_buf),
20104 (gst_base_transform_get_unit_size),
20105 (gst_base_transform_buffer_alloc),
20106 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
20107 (gst_base_transform_change_state),
20108 (gst_base_transform_set_passthrough),
20109 (gst_base_transform_set_in_place),
20110 (gst_base_transform_is_in_place):
20111 * gst/base/gstbasetransform.h:
20112 Change BaseTransform to separate in_place operate from same_caps
20113 output. in_place implies that the element can perform the transform
20114 on incoming buffers in-place, even if the caps on the output are
20116 Sub-class elements can now implement special buffer allocation
20117 methods for outgoing buffers if they wish to.
20118 Big documentation addition.
20119 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
20120 * gst/elements/gstelements.c:
20121 Changes for basetransform modifications.
20122 * gst/elements/Makefile.am:
20123 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
20124 Compile fix. Extra debug output.
20126 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
20128 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
20130 add tests for valid pad naming
20131 * gst/check/gstcheck.c: (gst_check_log_message_func),
20132 (gst_check_log_critical_func):
20134 remove printing of code, it is fragile when the code contains
20135 % and the line number is enough info
20136 * gst/check/gstcheck.h:
20137 * gst/gstpad.c: (gst_pad_template_new):
20140 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
20143 say what CHECK flags we use
20144 * docs/libs/gstreamer-libs.types:
20145 * libs/gst/controller/Makefile.am:
20146 * libs/gst/controller/gst-controller.c:
20147 * libs/gst/controller/gst-controller.h:
20148 * libs/gst/controller/gst-helper.c:
20149 * libs/gst/controller/gst-interpolation.c:
20150 * libs/gst/controller/gstcontroller.c:
20151 * libs/gst/controller/gsthelper.c:
20152 * libs/gst/controller/gstinterpolation.c:
20153 * tools/gst-inspect.c: (print_plugin_info):
20154 we don't use dashes in header names
20156 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
20158 * check/Makefile.am:
20159 * check/gst/.cvsignore:
20160 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
20161 (gst_pipeline_suite), (main):
20162 adding a test for pipelines and state changes
20163 * gst/gstutils.c: (get_state_func):
20165 * gstreamer.spec.in:
20168 2005-09-08 Michael Smith <msmith@fluendo.com>
20170 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
20171 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
20172 (gst_file_src_is_seekable), (gst_file_src_get_size),
20173 (gst_file_src_start):
20174 * gst/elements/gstfilesrc.h:
20175 Various fixes for unseekable, unmmapable, and non-normal files, so
20176 that fallback to read() rather than mmap() works.
20177 * gst/gstevent.c: (gst_event_new_newsegment):
20178 Allow newsegment events with segment_start == segment_end, as will
20179 correctly happen if you use filesrc on a zero-size file, for
20182 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
20184 * gst/gstplugin.c: (gst_plugin_load_file):
20185 Call g_module_close when we don't load the module
20187 * gst/registries/gstlibxmlregistry.c:
20188 (gst_xml_registry_get_property):
20189 Port leak fix from 0.8
20191 2005-09-07 Stefan Kost <ensonic@users.sf.net>
20193 * docs/gst/gstreamer-docs.sgml:
20194 * docs/gst/tmpl/.cvsignore:
20195 * docs/gst/tmpl/gsttrace.sgml:
20196 * docs/gst/tmpl/gsttrashstack.sgml:
20199 * gst/gstelement.h:
20201 * gst/gstmessage.c:
20202 * gst/gstmessage.h:
20205 * gst/gsttaginterface.c:
20206 * gst/gsttaginterface.h:
20207 * gst/gsttaglist.c:
20208 * gst/gsttaglist.h:
20209 * gst/gsttagsetter.c:
20210 * gst/gsttagsetter.h:
20213 * gst/gsttrashstack.c:
20214 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
20215 inlined docs for gsttrace, gsttrashstack
20217 2005-09-07 Stefan Kost <ensonic@users.sf.net>
20220 * gst/elements/gstbufferstore.h:
20221 * gst/elements/gsttypefindelement.c:
20222 * gst/elements/gsttypefindelement.h:
20224 * gst/gsttypefind.c:
20225 * gst/gsttypefind.h:
20226 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
20227 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
20228 (gst_type_find_factory_dispose),
20229 (gst_type_find_factory_unload_thyself),
20230 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
20231 (gst_type_find_factory_get_caps),
20232 (gst_type_find_factory_get_extensions),
20233 (gst_type_find_factory_call_function):
20234 * gst/gsttypefindfactory.h:
20235 * gst/registries/gstlibxmlregistry.c:
20236 * gst/registries/gstxmlregistry.c:
20237 splitted gsttypefind into gsttypefind, gsttypefindfactory
20239 2005-09-07 Andy Wingo <wingo@pobox.com>
20241 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
20242 condition whereby the pad's task function is entered before the
20243 pad_mode variable was set.
20245 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
20247 * gst/gstpad.c: (gst_pad_alloc_buffer):
20248 Catch misbehaving pad_alloc functions that don't
20249 set up caps and do it for them.
20251 2005-09-07 Stefan Kost <ensonic@users.sf.net>
20253 * check/pipelines/simple_launch_lines.c: (run_pipeline):
20254 test for pipe!=NULL
20255 * docs/gst/tmpl/.cvsignore:
20256 * docs/gst/tmpl/gstmemchunk.sgml:
20257 * docs/gst/tmpl/gstparse.sgml:
20258 * docs/gst/tmpl/gsttaglist.sgml:
20259 * docs/gst/tmpl/gsttagsetter.sgml:
20260 * docs/gst/tmpl/gsttypefind.sgml:
20261 * docs/gst/tmpl/gsttypefindfactory.sgml:
20262 * gst/gstmemchunk.c:
20265 * gst/gsttaginterface.c:
20266 * gst/gsttypefind.c:
20267 * gst/gsttypefind.h:
20270 === release 0.9.2 ===
20272 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
20277 releasing 0.9.2, "South"
20279 2005-09-05 Andy Wingo <wingo@pobox.com>
20281 * gst/registries/gstxmlregistry.h:
20282 * gst/registries/gstxmlregistry.c: Um... resurrect...
20284 * gst/registries/gstxmlregistry.h:
20285 * gst/registries/gstxmlregistry.c: and update to newer API.
20286 Incidentally they should be a bit faster now that they don't have
20289 2005-09-05 Andy Wingo <wingo@pobox.com>
20291 * gst/registries/gstxmlregistry.h:
20292 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
20293 replaced by the libxml registry a while back
20295 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
20297 * docs/gst/tmpl/gstplugin.sgml:
20298 * gst/elements/gstelements.c:
20300 * gst/gstplugin.c: (gst_plugin_register_func),
20301 (gst_plugin_desc_copy), (gst_plugin_desc_free),
20302 (gst_plugin_get_source):
20304 * gst/registries/gstlibxmlregistry.c: (load_plugin),
20305 (gst_xml_registry_save_plugin):
20306 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
20307 (gst_xml_registry_save_plugin):
20308 * tools/gst-inspect.c: (print_plugin_info):
20309 add a "source" plugin description field, to represent the source
20310 module this plugin is a part of. By default GST_PLUGIN_DEFINE
20311 will set it to PACKAGE, which is automake's idea of the name of
20312 the source project.
20314 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
20319 * docs/Makefile.am:
20320 * docs/faq/Makefile.am:
20321 * docs/gst/tmpl/gstelement.sgml:
20322 * docs/gst/tmpl/gsttypes.sgml:
20323 * docs/htmlinstall.mak:
20324 * docs/manual/Makefile.am:
20325 * docs/pwg/Makefile.am:
20326 reorganize doc build a little
20327 split out docbook and gtk-doc stuff
20328 have two separate --enable's and enable them through autogen
20329 but disable by default in configure (to be similar to other
20331 * gstreamer.spec.in:
20332 clean up docs install
20350 translation updates
20352 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
20354 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
20357 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20358 (gst_fake_sink_change_state):
20359 Make state change function thread-safe.
20361 * gst/gstpad.c: (gst_pad_alloc_buffer):
20362 Set offset on generic buffer allocated by fallback.
20364 2005-09-03 Stefan Kost <ensonic@users.sf.net>
20366 * docs/gst/gstreamer-sections.txt:
20367 * docs/gst/tmpl/gstelement.sgml:
20369 * libs/gst/controller/gst-controller.c:
20370 (gst_controlled_property_set_interpolation_mode),
20371 (gst_controlled_property_new),
20372 (gst_controller_find_controlled_property):
20373 run the wingo-magic script against the docs
20375 2005-09-02 Stefan Kost <ensonic@users.sf.net>
20377 * docs/gst/gstreamer-docs.sgml:
20378 * docs/gst/gstreamer-sections.txt:
20379 * docs/gst/tmpl/.cvsignore:
20380 * docs/gst/tmpl/gstelementdetails.sgml:
20381 * docs/gst/tmpl/gstelementfactory.sgml:
20384 * gst/gstelementfactory.c:
20385 * gst/gstelementfactory.h:
20386 merged elementdetails docs into elementfactory docs
20389 2005-09-02 Andy Wingo <wingo@pobox.com>
20391 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
20392 consider this enum an enum and not a flags.
20394 2005-09-02 Stefan Kost <ensonic@users.sf.net>
20396 * docs/gst/gstreamer-docs.sgml:
20397 * docs/gst/tmpl/.cvsignore:
20398 * docs/gst/tmpl/gstghostpad.sgml:
20399 * docs/gst/tmpl/gstiterator.sgml:
20400 * docs/gst/tmpl/gstmacros.sgml:
20401 * docs/gst/tmpl/gstrealpad.sgml:
20402 * docs/gst/tmpl/gstregistry.sgml:
20403 * docs/gst/tmpl/gstregistrypool.sgml:
20404 * docs/gst/tmpl/gststructure.sgml:
20405 * docs/gst/tmpl/gstsystemclock.sgml:
20406 * docs/gst/tmpl/gsttrace.sgml:
20407 * gst/gstghostpad.c:
20409 * gst/gstmemchunk.c:
20410 * gst/gstmemchunk.h:
20412 * gst/gstregistry.c:
20413 * gst/gstregistrypool.c:
20414 * gst/gststructure.c:
20415 * gst/gstsystemclock.c:
20418 2005-09-02 Andy Wingo <wingo@pobox.com>
20420 * gst/gstelement.h (GstState): Renamed from GstElementState,
20421 changed to be a normal enum instead of flags.
20422 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
20423 munged to be GST_STATE_CHANGE_*.
20424 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
20425 work with the new state representation.
20426 (GstStateChange): New enumeration of possible state transitions.
20427 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
20428 (GstElementClass::change_state): Pass the GstStateChange along as
20429 an argument. Helps language bindings, so they don't have to use
20430 tricky lock-needing macros like GST_STATE_CHANGE ().
20432 * scripts/update-states (file): New script. Run it on a file to
20433 update it for state naming and API changes. Updates files in
20436 * All files updated for the new API.
20438 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
20440 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20441 * gst/gstutils.c: (gst_util_set_value_from_string),
20442 (gst_util_set_object_arg):
20443 fix a bunch of unchecked return values
20444 * tools/gst-complete.c: (main):
20445 * gstreamer.spec.in:
20448 2005-09-01 Wim Taymans <wim@fluendo.com>
20450 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20451 (gst_base_sink_event), (gst_base_sink_do_sync),
20452 (gst_base_sink_handle_event):
20453 * gst/base/gstbasesink.h:
20454 Handle newsegments more correctly.
20459 * gst/gstevent.c: (gst_event_new_newsegment):
20460 A newsegment cannot have a start_time of -1
20462 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
20464 * win32/gstenumtypes.c:
20465 * win32/gstenumtypes.h:
20468 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20470 * libs/gst/controller/gst-controller.c:
20471 (gst_controlled_property_set_interpolation_mode),
20472 (gst_controlled_property_new):
20473 fixed boolean again
20475 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
20477 * docs/faq/gst-uninstalled:
20482 * gst/gstutils.c: (gst_element_link_filtered):
20484 add gst_element_link_filtered
20486 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20488 * docs/gst/gstreamer-docs.sgml:
20489 * docs/gst/gstreamer-sections.txt:
20490 * docs/gst/tmpl/.cvsignore:
20491 * docs/gst/tmpl/gsterror.sgml:
20492 * docs/gst/tmpl/gstfilter.sgml:
20493 * docs/gst/tmpl/gsturihandler.sgml:
20494 * docs/gst/tmpl/gsturitype.sgml:
20495 * docs/gst/tmpl/gstutils.sgml:
20496 * docs/gst/tmpl/gstxml.sgml:
20501 * gst/gsturitype.c:
20504 inlined more docs, fixed double id-ref
20506 2005-08-31 Wim Taymans <wim@fluendo.com>
20508 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20509 (gst_base_transform_handle_buffer):
20510 Passthrough elements don't need the caps as they don't care.
20512 2005-08-31 Wim Taymans <wim@fluendo.com>
20514 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20515 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
20516 Don't leak refcounts on buffers.
20518 2005-08-31 Wim Taymans <wim@fluendo.com>
20520 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
20521 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20522 (gst_base_transform_chain), (gst_base_transform_change_state):
20523 * gst/base/gstbasetransform.h:
20524 Handle the case where we are not negotiated more gracefully.
20526 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
20528 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
20529 (gst_file_src_map_region):
20530 Set READONLY flag on mmap'ed buffers, otherwise
20531 gst_buffer_make_writable() won't work properly (#314708).
20533 2005-08-31 Wim Taymans <wim@fluendo.com>
20535 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
20536 passthrough elements can even do inplace on non writable
20537 buffers (as they don't touch them).
20539 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20541 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20542 (gst_test_mono_source_set_property),
20543 (gst_test_mono_source_class_init), (GST_START_TEST),
20544 (gst_controller_suite):
20545 more tests (hehe I have the most)
20547 describe popping messages whenusing mulltiple sources
20548 * libs/gst/controller/gst-controller.c:
20549 (gst_controlled_property_set_interpolation_mode),
20550 (gst_controlled_property_new):
20551 * libs/gst/controller/gst-controller.h:
20552 * libs/gst/controller/gst-interpolation.c:
20553 implement boolean properties
20555 2005-08-31 Wim Taymans <wim@fluendo.com>
20557 * gst/gstminiobject.c: (gst_mini_object_ref):
20558 Cannot assert that the refcount has to be positive
20559 since a disposed object can be resurrected.
20561 2005-08-31 Wim Taymans <wim@fluendo.com>
20563 * gst/gstpad.c: (gst_pad_init):
20564 Revert change, need to first fix badly behaving
20567 2005-08-30 Wim Taymans <wim@fluendo.com>
20569 * check/elements/fakesrc.c: (setup_fakesrc):
20570 * check/elements/identity.c: (setup_identity):
20571 Activate pads before using them.
20573 2005-08-30 Wim Taymans <wim@fluendo.com>
20575 * gst/base/gstadapter.c: (gst_adapter_flush):
20576 Flushing out 0 bytes is ok for this function.
20578 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20579 no newsegment gives a warning and sets the start/stop to
20582 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20583 (gst_base_transform_set_passthrough):
20586 * gst/gstminiobject.c: (gst_mini_object_ref):
20587 Check refcount here too.
20589 * gst/gstpad.c: (gst_pad_init):
20590 Pads are initially flushing and refusing data.
20592 * gst/gstutils.c: (gst_element_link_pads_filtered):
20593 When adding a capsfilter element make sure it has the
20594 same state as the parent bin.
20596 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20598 * docs/gst/tmpl/.cvsignore:
20599 * docs/gst/tmpl/gstformat.sgml:
20600 * docs/gst/tmpl/gstversion.sgml:
20604 * gst/gstversion.h.in:
20605 more docs and two more inlined
20607 2005-08-30 Wim Taymans <wim@fluendo.com>
20609 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20610 Don't sync to clock.
20612 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20614 * docs/gst/gstreamer-sections.txt:
20615 ultral33t func10ns deserve to appear in the docs actually
20616 * docs/gst/tmpl/.cvsignore:
20617 * docs/gst/tmpl/gstcompat.sgml:
20618 * docs/gst/tmpl/gstconfig.sgml:
20619 * gst/check/gstcheck.c:
20621 * gst/gstconfig.h.in:
20624 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20626 * docs/gst/tmpl/.cvsignore:
20627 * docs/gst/tmpl/gstquery.sgml:
20628 * docs/gst/tmpl/gstutils.sgml:
20631 inlined and extended docs
20633 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20635 * check/gst-libs/controller.c: (GST_START_TEST),
20636 (gst_controller_suite):
20638 * docs/gst/tmpl/gstutils.sgml:
20639 * docs/libs/gstreamer-libs-sections.txt:
20640 * docs/libs/tmpl/gstdataprotocol.sgml:
20642 * examples/controller/audio-example.c: (main):
20643 controller example works now
20646 * tools/gst-inspect.c: (print_element_properties_info):
20647 show param spec flags
20649 2005-08-29 Andy Wingo <wingo@pobox.com>
20651 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20653 2005-08-28 Andy Wingo <wingo@pobox.com>
20655 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20656 as having two arguments instead of just one. Allows superclasses
20657 to access information on subclasses -- see the terrible for() loop
20658 in gtype.c:g_type_create_instance for the reason why. All callers
20661 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20663 * docs/design/part-messages.txt:
20665 * docs/gst/tmpl/.cvsignore:
20666 * docs/gst/tmpl/gstcaps.sgml:
20667 * docs/gst/tmpl/gstclock.sgml:
20673 * gst/gstmessage.c:
20674 added descriptions for bus and message
20675 inline caps and clock docs
20677 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20679 * gst/gstmessage.c:
20680 * gst/gstmessage.h:
20683 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20685 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20688 2005-08-26 Andy Wingo <wingo@pobox.com>
20690 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20691 element_set_state's return val.
20692 (test_2_elements): Add test that's been disabled for months.
20694 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20695 can-activate-pull properties.
20697 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20698 can-activate-pull properties. Implement is_seekable so fakesrc can
20699 operate in pull mode.
20701 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20703 (gst_base_sink_activate, gst_base_sink_activate_pull)
20704 (gst_base_sink_activate_push): Make activation mode choosing work.
20706 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20707 is right. Make pull mode work. Post an eos before pausing in pull
20709 (gst_base_sink_change_state): Pay attention to the core's
20710 change_state() return val.
20712 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20713 has-getrange properties. Cleanups.
20715 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20716 has_getrange and replace with can_activate_pull and
20719 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20720 locking comments. Remove has_loop, has_chain and replace with
20721 can_activate_pull and can_activate_push.
20723 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
20726 * examples/Makefile.am:
20727 * examples/metadata/Makefile.am:
20728 * examples/metadata/read-metadata.c: (message_loop),
20729 (have_pad_handler), (make_pipeline), (print_tag), (main):
20730 Add metadata reading example that loops over a list of filenames,
20731 dumping any tags found.
20733 * gst/gstbus.c: (gst_bus_dispose):
20734 * gst/gstelement.c: (gst_element_dispose):
20735 Release a few potentially-held references in dispose.
20737 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20739 * docs/gst/tmpl/gstminiobject.sgml:
20740 do *not* add tmpl/*.sgml files to CVS!
20742 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20744 * libs/gst/bytestream/.cvsignore:
20745 * libs/gst/bytestream/Makefile.am:
20746 * libs/gst/bytestream/adapter.c:
20747 * libs/gst/bytestream/adapter.h:
20748 * libs/gst/bytestream/bytestream.c:
20749 * libs/gst/bytestream/bytestream.h:
20750 * libs/gst/bytestream/filepad.c:
20751 * libs/gst/bytestream/filepad.h:
20752 removing obsolete files
20754 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20756 * docs/gst/gstreamer-docs.sgml:
20757 * docs/libs/gstreamer-libs-docs.sgml:
20758 disabed additional index entries again, as this makes docs-gen just
20759 slow and they aren't useful yet
20760 * docs/libs/gstreamer-libs-sections.txt:
20761 little -section.txt cleanup for libs
20763 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
20765 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20766 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20767 fix up some debugging
20768 (gst_base_transform_get_unit_size),
20769 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20770 (gst_base_transform_handle_buffer):
20771 * gst/base/gstbasetransform.h:
20772 handle and store timed NEWSEGMENT events so that subclasses that
20773 calculate time by counting samples have a segment_start time they
20774 need to add to their timestamps - see audioresample
20776 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20779 removed ';' from the end of macro defs
20780 * docs/gst/gstreamer-docs.sgml:
20781 * docs/gst/gstreamer-sections.txt:
20782 * docs/gst/tmpl/.cvsignore:
20784 * gst/gstelement.c: (gst_element_class_init),
20785 (gst_element_set_state), (activate_pads),
20786 (gst_element_save_thyself):
20787 * gst/gstevent.c: (gst_event_new_newsegment):
20789 * gst/gstiterator.c:
20790 * gst/gstiterator.h:
20793 * gst/gstutils.c: (gst_pad_query_convert):
20795 fixed parameter name mismatches between source, header and docs
20796 added some more docs, resolved the last batch of unused elements in
20797 docs (now someone needs to doc them)
20799 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20801 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
20802 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
20803 don't walk through the plugins backwards. Where is all this
20804 reversed logic coming from ?
20806 2005-08-25 Wim Taymans <wim@fluendo.com>
20808 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20809 (gst_base_transform_transform_size),
20810 (gst_base_transform_configure_caps),
20811 (gst_base_transform_get_unit_size),
20812 (gst_base_transform_buffer_alloc),
20813 (gst_base_transform_change_state):
20814 * gst/base/gstbasetransform.h:
20815 Cache caps unit_size.
20816 Make sure we cannot negotiate up and downstream at the
20819 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20821 * gst/gst.c: (init_pre), (init_post):
20822 register the installed plugin path after the env var
20823 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
20824 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
20825 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
20826 directories, so the tests can prefer uninstalled over installed
20828 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20830 * gst/base/gstbasetransform.h:
20835 2005-08-25 Wim Taymans <wim@fluendo.com>
20837 * gst/gstbin.c: (bin_bus_handler):
20838 Be a bit more conservative about the posted message.
20840 * gst/gstbus.c: (gst_bus_post):
20841 Some cleanups, warn wrong return values.
20843 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
20845 * check/gst/gstbin.c: (GST_START_TEST):
20846 * gst/gstbin.c: (bin_bus_handler):
20847 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20848 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20849 (gst_message_new_warning), (gst_message_new_tag),
20850 (gst_message_new_state_changed), (gst_message_new_segment_start),
20851 (gst_message_new_segment_done), (gst_message_new_custom):
20852 * gst/gstmessage.h:
20853 * tools/gst-launch.c: (event_loop):
20854 * tools/gst-md5sum.c: (event_loop):
20855 Revert unpopular change for GST_MESSAGE_SRC to GObject.
20857 2005-08-25 Wim Taymans <wim@fluendo.com>
20859 * check/generic/states.c: (GST_START_TEST):
20860 Cleanup can be done at the end.
20862 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
20863 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20864 (gst_task_get_state), (gst_task_start), (gst_task_pause):
20865 Oh boy.. Thanks for finding this, Thomas.
20867 2005-08-25 Stefan Kost <ensonic@users.sf.net>
20869 * docs/gst/gstreamer.types:
20870 added missing types
20872 2005-08-25 Stefan Kost <ensonic@users.sf.net>
20874 * docs/gst/gstreamer-docs.sgml:
20875 * docs/gst/gstreamer-sections.txt:
20876 * docs/gst/tmpl/.cvsignore:
20878 * gst/gstiterator.c:
20880 * gst/registries/gstxmlregistry.h:
20881 added missing classes and symbols (123 more to go)
20882 removed removed symbols from section file
20883 fixed many doc-comments
20885 2005-08-24 Wim Taymans <wim@fluendo.com>
20887 * check/generic/states.c: (GST_START_TEST):
20888 Make sure all tasks are stopped.
20890 * check/gst/gstbin.c: (GST_START_TEST):
20891 Unref after usage for proper valgrinding.
20893 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20894 Really wait for the task to stop before destroying the
20897 * gst/gstqueue.c: (gst_queue_sink_activate_push),
20898 (gst_queue_src_activate_push):
20899 Small cleanups. Don't stop the task when we did not start
20902 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20903 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20904 (gst_task_get_state), (gst_task_start), (gst_task_pause),
20907 Protect the stream lock with the object lock.
20908 Disallow setting the stream lock when running.
20909 Add cleanup_all to wait for the threadpool to finish.
20910 Remove code to autoallocate a mutex if none was provided.
20911 Add _join() to wait for a task to stop.
20912 Protect the thread pool with a global lock.
20914 2005-08-24 Wim Taymans <wim@fluendo.com>
20916 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20917 (gst_base_sink_get_times), (gst_base_sink_do_sync),
20918 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20919 * gst/base/gstbasesink.h:
20920 Handle newsegment events correctly.
20921 Drop buffers out of the segment range.
20923 2005-08-22 Andy Wingo <wingo@pobox.com>
20925 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20926 macro, implements an interface and gstimplementsinterface for a
20929 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
20931 * check/Makefile.am:
20932 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20933 add a test that does a bunch of state changes on elements
20934 needs some fixing for valgrind
20935 * check/states/sinks.c: (gst_object_suite):
20938 add prototype for gst_caps_is_equal_fixed
20940 * gst/gstregistrypool.c:
20943 2005-08-24 Andy Wingo <wingo@pobox.com>
20945 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20946 convert a negative value. Doesn't make much sense. Mostly this is
20947 here to force callers to ensure -1 maps to -1.
20949 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
20951 * docs/pwg/advanced-types.xml:
20952 Well done to Michael for catching my deliberate introduction
20953 of this spelling mistake.
20954 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20955 * gst/gstelement.h:
20956 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20957 unlink pads before removing the element from the bin.
20959 2005-08-24 Andy Wingo <wingo@pobox.com>
20961 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20962 the same thing as GST_DEBUG=*:4.
20963 (parse_debug_level, parse_debug_category): New helper parsers.
20965 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
20967 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20968 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20969 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20970 (gst_base_transform_buffer_alloc),
20971 (gst_base_transform_handle_buffer):
20972 use gboolean return values and pointers to size so we can use the
20973 full GST_BUFFER_SIZE range (guint) for buffer sizes
20974 use GstPadDirection for transform_caps
20975 * gst/base/gstbasetransform.h:
20976 rename get_size to get_unit_size since that's what it is
20977 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20978 use GstPadDirection for transform_caps
20979 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20981 cleanup and debugging
20983 2005-08-24 Stefan Kost <ensonic@users.sf.net>
20985 * gst/gstelement.c: (gst_element_class_init),
20986 (gst_element_set_state), (activate_pads),
20987 (gst_element_save_thyself):
20988 * tools/gst-compprep.c: (main):
20989 * tools/gst-inspect.c: (print_element_properties_info):
20990 * tools/gst-xmlinspect.c: (print_element_properties):
20991 Fixed long standing mem-leak
20993 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
20995 * check/gst/gstbin.c: (GST_START_TEST):
20996 * gst/gstbin.c: (bin_bus_handler):
20997 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20998 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20999 (gst_message_new_warning), (gst_message_new_tag),
21000 (gst_message_new_state_changed), (gst_message_new_segment_start),
21001 (gst_message_new_segment_done), (gst_message_new_custom):
21002 * gst/gstmessage.h:
21003 * tools/gst-launch.c: (event_loop):
21004 * tools/gst-md5sum.c: (event_loop):
21005 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
21006 that applications can sensibly post custom messages with references
21007 to their own objects.
21009 2005-08-24 Andy Wingo <wingo@pobox.com>
21011 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
21014 2005-08-24 Wim Taymans <wim@fluendo.com>
21016 * gst/base/gstbasetransform.c: (gst_base_transform_init),
21017 (gst_base_transform_transform_caps),
21018 (gst_base_transform_transform_size),
21019 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21020 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21021 (gst_base_transform_handle_buffer):
21022 * gst/base/gstbasetransform.h:
21023 Many fixes and new features added by Thomas. Can now also do
21024 transforms with variable sizes and a custom fixate_caps function.
21026 2005-08-24 Wim Taymans <wim@fluendo.com>
21028 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21032 Cast to ClockTime before formatting to time.
21037 2005-08-24 Stefan Kost <ensonic@users.sf.net>
21039 * check/gst-libs/controller.c: (GST_START_TEST),
21040 (gst_controller_suite):
21041 * docs/gst/tmpl/gstcaps.sgml:
21042 * docs/gst/tmpl/gstghostpad.sgml:
21043 * docs/gst/tmpl/gstquery.sgml:
21044 * docs/gst/tmpl/gstutils.sgml:
21045 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
21046 (gst_object_sink_values), (gst_object_get_value_arrays),
21047 (gst_object_get_value_array):
21048 gracefully handle helper method calls to objects that are not beeing
21049 controlled, added test case for that
21051 2005-08-23 Wim Taymans <wim@fluendo.com>
21053 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
21054 (gst_event_new_newsegment), (gst_event_parse_newsegment),
21055 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
21056 (gst_event_parse_qos), (gst_event_new_seek),
21057 (gst_event_parse_seek):
21059 Some more debugging output and doc cleanups.
21061 * gst/gstqueue.c: (gst_queue_handle_sink_event):
21062 Fix possible deadlock.
21064 2005-08-23 Stefan Kost <ensonic@users.sf.net>
21066 * docs/gst/gstreamer-docs.sgml:
21067 * docs/gst/gstreamer-sections.txt:
21068 * docs/gst/gstreamer.types:
21069 * docs/gst/tmpl/.cvsignore:
21072 * gst/gstelement.c:
21074 added 100 symbols from gstreamer-unused.txt to the right sections
21075 fixed more broken comments
21076 added GstBus to docs
21078 2005-08-23 Stefan Kost <ensonic@users.sf.net>
21080 * docs/gst/gstreamer-sections.txt:
21081 * docs/gst/tmpl/.cvsignore:
21082 * docs/gst/tmpl/gstbin.sgml:
21083 * docs/gst/tmpl/gstbuffer.sgml:
21084 * gst/base/gstbasesrc.c:
21085 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
21088 * tools/gst-launch.1.in:
21089 inlined more doc comments, added missing comments and fixed comments
21092 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
21094 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21098 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
21100 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
21101 * gst/gststructure.h:
21102 add a fixate function for booleans; add a FIXME that these func
21103 names should probably be gst_structure_fixate_*
21105 2005-08-23 Stefan Kost <ensonic@users.sf.net>
21107 * docs/gst/gstreamer-docs.sgml:
21108 * docs/gst/gstreamer-sections.txt:
21110 * gst/gstbin.c: (gst_bin_get_type),
21111 (gst_bin_child_proxy_get_child_by_index),
21112 (gst_bin_child_proxy_get_children_count),
21113 (gst_bin_child_proxy_init):
21114 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21115 (gst_child_proxy_get_child_by_index),
21116 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
21117 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
21118 (gst_child_proxy_get), (gst_child_proxy_set_property),
21119 (gst_child_proxy_set_valist), (gst_child_proxy_set),
21120 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
21121 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
21122 * gst/gstchildproxy.h:
21123 * gst/parse/grammar.y:
21124 * tools/gst-inspect.c: (print_interfaces),
21125 (print_element_properties_info), (print_element_info):
21126 ported gstchildproxy over from 0.8
21127 ported gst-inspect fixes and enhancements over from 0.8
21129 2005-08-22 Wim Taymans <wim@fluendo.com>
21131 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21132 (gst_base_transform_handle_buffer):
21133 Also call the transform function if we have ANY caps.
21135 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
21138 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
21140 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
21141 Don't pretend to handle seek events if the source is not seekable
21143 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
21145 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21146 Remove extra parameter to debug output
21148 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21149 (gst_base_src_do_seek), (gst_base_src_activate_push):
21150 Fix seek event handling.
21152 * gst/gstpipeline.c: (gst_pipeline_change_state):
21153 * gst/gstqueue.c: (gst_queue_handle_sink_event),
21154 (gst_queue_src_activate_push):
21155 Don't start the src pad task on FLUSH_STOP if the pad
21159 2005-08-22 Wim Taymans <wim@fluendo.com>
21161 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
21162 Added check for gst_static_caps_get() refcounting.
21164 2005-08-22 Wim Taymans <wim@fluendo.com>
21166 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
21167 Make _static_caps_get() refcounting sane.
21169 * gst/gstelement.c: (gst_element_set_state):
21170 Add g_return_val_if_fail() to protect against segfaults.
21172 2005-08-22 Stefan Kost <ensonic@users.sf.net>
21174 * docs/gst/tmpl/gstevent.sgml:
21177 inlined remaining docs, added missing doc comments
21179 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
21181 * check/gst/gstbin.c: (GST_START_TEST):
21182 since we don't know when preroll is done, use refcount range
21184 * gst/check/gstcheck.h:
21185 add macro for checking refcount range
21187 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
21189 * check/Makefile.am:
21190 clean up environment for when registry gets built versus
21191 when actual tests are run; valgrind seems to not report
21192 leaks if GST_PLUGIN_PATH is set to some specific values
21193 * check/gst/gstbin.c: (GST_START_TEST):
21194 add more refcounting checks; maybe this exposes a
21196 * common/check.mak:
21197 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21198 * gst/check/gstcheck.h:
21199 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
21200 (gst_bin_change_state):
21201 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
21202 add/fix debugging/whitespace
21204 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
21206 * check/gst/gstevent.c: (event_probe), (test_event),
21208 Er, don't call gst_bin_watch_for_state_change you idiot.
21210 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
21212 * check/Makefile.am:
21213 Use CHECK_CFLAGS and CHECK_LIBS
21214 * check/gst/gstevent.c: (event_probe), (test_event),
21217 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21218 (gst_base_src_start), (gst_base_src_stop),
21219 (gst_base_src_activate_push), (gst_base_src_activate_pull),
21220 (gst_base_src_change_state):
21221 Sprinkle gst_base_src_stop liberally around error paths to fix
21222 problems reusing a source after failed state changes.
21223 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21224 (helper_find_suggest), (gst_type_find_helper):
21225 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
21227 * docs/gst/tmpl/gstevent.sgml:
21228 Migrate part of the docs from the SGML file. Wait for ensonic to
21229 tell me how I did it wrong ;)
21230 * tools/gst-typefind.c: (main):
21231 Extra robustness to state changes between files.
21233 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
21235 * check/Makefile.am:
21236 don't valgrind the controller test - it's leaking - Stefan, HELP
21237 * gst/check/gstcheck.c: (gst_check_message_error),
21238 (gst_check_chain_func), (gst_check_setup_element),
21239 (gst_check_teardown_element), (gst_check_setup_src_pad),
21240 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
21241 (gst_check_teardown_sink_pad):
21242 * gst/check/gstcheck.h:
21243 add a bunch of methods to set up elements, and src and sink pads
21244 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
21245 * check/elements/identity.c: (setup_identity), (cleanup_identity),
21248 * gst/gstmessage.c:
21250 whitespace/doc fixes
21252 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21254 * gst/gstelement.h:
21255 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
21256 be handled by the application and not always printed as well
21258 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21260 * check/Makefile.am:
21262 * gst/check/gstcheck.c: (gst_check_message_error):
21263 * gst/check/gstcheck.h:
21264 add a fail_unless_equals_int
21265 add fail_unless for error messages
21267 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21269 * check/Makefile.am:
21271 * common/Makefile.am:
21272 * common/check.mak:
21274 factor out some of the common stuff so we can use it
21276 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21278 * check/Makefile.am:
21279 * check/gst/gstiterator.c: (GST_START_TEST):
21280 * check/gst/gstsystemclock.c: (GST_START_TEST),
21281 (gst_systemclock_suite):
21282 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21284 valgrind more tests
21286 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21288 * check/elements/.cvsignore:
21289 * check/elements/gstfakesrc.c:
21290 rename to name of element
21291 * check/elements/identity.c: (chain_func), (event_func),
21292 (setup_identity), (cleanup_identity), (GST_START_TEST),
21293 (identity_suite), (main):
21294 add a test for identity
21295 * check/Makefile.am:
21296 * pkgconfig/Makefile.am:
21297 * pkgconfig/gstreamer-check.pc.in:
21298 * pkgconfig/gstreamer-check-uninstalled.pc.in:
21302 move the check stuff to a library that gets installed
21303 * check/gst-libs/controller.c: (GST_START_TEST):
21304 * check/gst-libs/gdp.c:
21305 * check/gst/gst.c: (GST_START_TEST):
21306 * check/gst/gstbin.c:
21307 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21308 * check/gst/gstbus.c:
21309 * check/gst/gstcaps.c: (GST_START_TEST):
21310 * check/gst/gstelement.c:
21311 * check/gst/gstghostpad.c:
21312 * check/gst/gstiterator.c:
21313 * check/gst/gstmessage.c:
21314 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
21315 * check/gst/gstobject.c:
21316 * check/gst/gstpad.c: (GST_START_TEST):
21317 * check/gst/gststructure.c: (GST_START_TEST):
21318 * check/gst/gstsystemclock.c: (GST_START_TEST),
21319 (gst_systemclock_suite):
21320 * check/gst/gsttag.c: (gst_tag_suite):
21321 * check/gst/gstvalue.c:
21322 * check/pipelines/cleanup.c:
21323 * check/pipelines/simple_launch_lines.c:
21324 * check/states/sinks.c:
21325 change include statement
21327 * docs/gst/gstreamer-sections.txt:
21328 * docs/gst/tmpl/gstpad.sgml:
21329 document more pad stuff
21330 * gst/gstminiobject.c: (gst_mini_object_ref),
21331 (gst_mini_object_unref):
21334 2005-08-19 Stefan Kost <ensonic@users.sf.net>
21336 * docs/gst/tmpl/gst.sgml:
21338 eliminate another tmpl file, fix spelling in the long-description
21340 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21342 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21343 (test_event), (timediff), (gstevents_suite):
21344 Should fix build on 64-bit arch's
21346 2005-08-18 Andy Wingo <wingo@pobox.com>
21348 Make sure that when a pipeline goes to PLAYING, that data has
21349 actually hit the sink.
21351 * check/states/sinks.c (test_sink): A sink that doesn't get any
21352 data shouldn't return SUCCESS for going to either PLAYING or
21353 PAUSED. Test also the return values on the way back down.
21355 * gst/gstelement.c (gst_element_set_state): When changing the
21356 state of an element currently changing state asynchronously, go to
21357 lost-state after commiting the pending state. Makes future calls
21358 to get_state continue to return ASYNC.
21360 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
21361 ASYNC when going to PLAYING if we still don't have preroll, as can
21362 happen with live sources.
21364 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21366 * docs/pwg/advanced-types.xml:
21367 Hack long paragraph into 2 chunks as a workaround for buggy
21368 jadetex version in sid and breezy that loops infinitely and
21371 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21373 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21374 (test_event), (timediff), (gstevents_suite):
21375 Provide more error margin in clock measurements to allow for
21376 g_get_current_time inaccuracies.
21378 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21380 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21381 (test_event), (timediff), (gstevents_suite):
21382 Fix error message output so I might be able to tell why the
21383 test works here but fails on the build farm.
21385 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21387 * check/Makefile.am:
21388 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21389 (test_event), (timediff), (gstevents_suite), (main):
21392 * docs/design/part-seeking.txt:
21393 Spelling correction
21395 * docs/gst/tmpl/gstevent.sgml:
21396 * docs/gst/tmpl/gstfakesrc.sgml:
21399 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21400 Treat a buffer-without-newsegment the same as a receiving
21401 a newsegment not in time format, and disable syncing to the clock
21404 * gst/gstbus.c: (gst_bus_set_sync_handler):
21405 Assert if anyone tries to replace the existing sync_handler for bus,
21406 as only the owner should be setting it.
21409 Have a fixed set of custom event enums with events identified by
21410 their structure name (as in 0.8), rather than a free-for-all
21411 allowing collisions between enum values from different plugins.
21413 * gst/gstpad.c: (gst_pad_class_init):
21416 * gst/gstqueue.c: (gst_queue_handle_sink_event):
21417 Handle out-of-band downstream events from the sending thread.
21419 2005-08-17 Andy Wingo <wingo@pobox.com>
21421 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
21422 play-timeout==0 to mean no timeout at all. In that case, don't
21423 bother with a get_state or a warning, just return directly, even
21426 * gst/base/gstbasetransform.c: Debug changes.
21429 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
21430 ensure bins post state change messages. A bit of a hack but I can't
21431 think of a way to avoid it.
21433 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
21435 2005-08-16 Andy Wingo <wingo@pobox.com>
21437 * gst/base/gstadapter.h:
21438 * gst/base/gstadapter.c (gst_adapter_take): New function, like
21439 peek() but you own the data. Not terribly efficient atm.
21441 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21443 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21444 (gst_element_found_tags):
21446 Add two utility functions for tag handling.
21448 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21450 * docs/manual/advanced-dataaccess.xml:
21451 * docs/manual/basics-helloworld.xml:
21452 Fix docs to use _bin_add() before _link(), which fixes the examples
21453 with recent core versions (reported by Madhan Raj M
21454 <raj_madan@rediffmail.com>, #313199).
21456 2005-08-16 Wim Taymans <wim@fluendo.com>
21458 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21459 Added subtract checks.
21461 * docs/design/part-events.txt:
21462 Some more docs about newsegment
21464 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21467 * gst/gstcaps.c: (gst_caps_to_string):
21468 Add comments, cleanups.
21470 * gst/gstelement.c: (gst_element_save_thyself):
21473 * gst/gstvalue.c: (gst_value_collect_int_range),
21474 (gst_string_unwrap), (gst_value_union_int_int_range),
21475 (gst_value_union_int_range_int_range),
21476 (gst_value_intersect_int_int_range),
21477 (gst_value_intersect_int_range_int_range),
21478 (gst_value_intersect_double_double_range),
21479 (gst_value_intersect_double_range_double_range),
21480 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21481 (gst_value_subtract_int_range_int),
21482 (gst_value_subtract_double_range_double),
21483 (gst_value_subtract_double_range_double_range),
21484 (gst_value_subtract_from_list), (gst_value_subtract_list),
21485 (gst_value_can_compare), (gst_value_compare_fraction):
21486 Cleanups, add comments, remove unneeded asserts.
21488 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
21490 * tools/gst-launch.c: (event_loop):
21491 don't convert NULL structures to strings
21493 2005-08-15 Stefan Kost <ensonic@users.sf.net>
21495 * docs/gst/gstreamer-sections.txt:
21496 made some defines private
21497 * docs/gst/tmpl/gstconfig.sgml:
21498 * docs/gst/tmpl/gstqueue.sgml:
21499 * docs/gst/tmpl/gsttaglist.sgml:
21500 * docs/gst/tmpl/gsttypes.sgml:
21501 * docs/gst/tmpl/gstutils.sgml:
21502 * docs/pwg/appendix-porting.xml:
21503 * gst/base/gstbasesink.h:
21504 * gst/base/gstbasesrc.c:
21505 * gst/base/gstbasesrc.h:
21506 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
21507 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
21508 * gst/gstelement.c: (gst_element_class_init):
21509 * gst/gstpad.c: (gst_pad_class_init):
21510 * gst/gstqueue.c: (gst_queue_class_init):
21511 * gst/gstxml.c: (gst_xml_class_init):
21512 documented all undocumented signal inline
21513 * libs/gst/controller/gst-controller.h:
21516 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21518 * docs/pwg/appendix-porting.xml:
21519 Document _set_link_function -> _set_setcaps_function.
21521 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
21523 * check/Makefile.am:
21524 add a .check target for running the check
21525 * check/gst-libs/controller.c: (GST_START_TEST):
21527 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21528 complete checks for gstbuffer; would be nice if I could get the
21529 gcov stuff to work so I can see if I actually completed gstbuffer.c
21530 * check/gstcheck.h:
21531 add ASSERT_BUFFER_REFCOUNT
21533 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
21535 * docs/gst/gstreamer-sections.txt:
21536 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
21538 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
21539 spew out a warning if a tag that is already registered
21540 is re-registered, unless it is re-registered with a
21541 different type (#308438).
21543 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
21545 * docs/pwg/appendix-porting.xml:
21546 * docs/pwg/building-state.xml:
21547 Add some paragraphs about state changes in 0.9 to the PWG
21548 and the porting guide, in particular about the new meaning
21549 of GST_STATE_PAUSED and how to write state change functions
21550 with concurrent access by multiple threads in mind.
21552 2005-08-11 Stefan Kost <ensonic@users.sf.net>
21554 * docs/gst/gstreamer-docs.sgml:
21555 * docs/libs/gstreamer-libs-docs.sgml:
21556 added deprecation and since indexes
21557 * libs/gst/controller/gst-controller.c:
21558 * libs/gst/controller/gst-helper.c:
21562 2005-08-11 Wim Taymans <wim@fluendo.com>
21564 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21565 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21566 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21567 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21568 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21569 (gst_ghost_pad_set_target):
21570 Actually implement (re)setting the target on a ghostpad
21571 as described in the docs.
21573 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
21575 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21576 Check whether GST_DEBUG_NO_COLOR environment variable is
21577 set and disable coloured debug output if that is the case.
21579 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
21581 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21582 (gst_type_find_helper):
21583 The memory returned by gst_type_find_peek() needs to
21584 stay valid until the end of a typefind function, and
21585 typefind functions may keep results from different
21586 offsets around, so we can't just unref the buffer from
21587 the previous _peek(), but have to save all buffers
21588 returned by _peek() until typefinding is done and only
21591 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
21593 * docs/gst/gstreamer-sections.txt:
21595 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21597 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21599 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21600 Fix a pretty good memleak.
21602 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
21604 * gst/gstiterator.h:
21605 Fix wrong include and 'make distcheck'.
21607 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21609 * gst/gstbin.c: (bin_bus_handler):
21610 Use gst_element_post_message() instead.
21612 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
21614 * gst/base/gstadapter.h:
21615 * gst/base/gstbasesink.h:
21616 * gst/base/gstbasesrc.h:
21617 * gst/base/gstbasetransform.h:
21618 * gst/base/gstcollectpads.h:
21619 * gst/base/gstpushsrc.h:
21620 * gst/gstiterator.h:
21621 Add padding to our base elements' class and instance structs and
21622 to GstIterator (you will need to rebuild all plugins and apps!)
21624 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21626 * gst/gstbin.c: (bin_bus_handler):
21627 Make default message forwarding from child->bus to bin->bus
21628 threadsafe and make it not emit warnings if the parent has no bus.
21630 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21632 * gst/gstelement.c: (activate_pads):
21633 On paused->ready, set pad->caps to NULL, as is the documented
21634 behaviour in this state change. Fixes playback of series of
21635 media files when visualization is enabled in Totem.
21637 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21639 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21640 Allow NULL as filter-caps (which means "any").
21642 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21644 * docs/libs/gstreamer-libs-sections.txt:
21645 * libs/gst/controller/gst-controller.c:
21646 * libs/gst/controller/gst-controller.h:
21647 * libs/gst/controller/gst-helper.c:
21648 adding more entries to the docs and fix small doc-bugs
21650 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21652 * docs/gst/gstreamer-docs.sgml:
21653 * docs/gst/gstreamer-sections.txt:
21654 * docs/gst/gstreamer.types:
21655 * docs/gst/tmpl/gstbasesink.sgml:
21656 * docs/gst/tmpl/gstbasesrc.sgml:
21657 * docs/gst/tmpl/gstbasetransform.sgml:
21658 * docs/gst/tmpl/gstfakesrc.sgml:
21659 * gst/base/gstcollectpads.c:
21660 * gst/base/gstcollectpads.h:
21661 * libs/gst/controller/gst-controller.c:
21662 * libs/gst/controller/gst-controller.h:
21663 * libs/gst/controller/gst-helper.c:
21664 * libs/gst/controller/gst-interpolation.c:
21665 * libs/gst/controller/lib.c:
21666 added long/short desc for controller docs
21667 added collectpads base class docs
21668 added correct includes to base-class docs
21670 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21672 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21673 (gst_test_mono_source_set_property),
21674 (gst_test_mono_source_class_init), (GST_START_TEST),
21675 (gst_controller_suite):
21676 * docs/gst/gstreamer-docs.sgml:
21677 * docs/gst/gstreamer-sections.txt:
21678 * docs/gst/gstreamer.types:
21679 * docs/libs/gstreamer-libs-docs.sgml:
21680 * docs/libs/gstreamer-libs-sections.txt:
21681 * gst/base/gstadapter.c:
21682 * libs/gst/controller/gst-controller.c:
21683 (gst_controlled_property_new), (gst_controlled_property_free),
21684 (gst_controller_new_valist),
21685 (gst_controller_remove_properties_valist),
21686 (gst_controller_sink_values), (_gst_controller_finalize):
21687 * libs/gst/controller/gst-controller.h:
21688 * libs/gst/controller/gst-helper.c:
21689 (gst_object_control_properties), (gst_object_uncontrol_properties),
21690 (gst_object_get_controller), (gst_object_set_controller),
21691 (gst_object_sink_values), (gst_object_get_value_arrays),
21692 (gst_object_get_value_array):
21693 more tests (and fixes) for the controller
21694 more docs for the controller
21695 integrated companies docs for the adapter
21697 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
21699 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21700 (GST_START_TEST), (fakesrc_suite):
21701 add tests for sizetype
21703 2005-08-04 Andy Wingo <wingo@pobox.com>
21705 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21706 fixes buffer_alloc proxying among other things.
21708 * gst/base/gstbasetransform.c:
21709 * gst/base/gstbasetransform.h:
21710 Revert patch to gstbasetransform from 7-28 removing
21713 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21714 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21715 Semantics changed, should return not the size of the output buffer
21716 but the byte size of a buffer with a given caps.
21718 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21720 (gst_base_transform_configure_caps): Don't set out_size here: (in,
21721 out) are not the pad caps until setcaps finishes.
21722 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21723 not-in-place case as well. Deal with changing from in-place to
21724 not-in-place within calling pad_alloc_buffer. Still a bit
21725 concerned about the overhead here...
21727 2005-08-03 Andy Wingo <wingo@pobox.com>
21729 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21730 fixating is an error.
21732 2005-08-04 Edward Hervey <edward@fluendo.com>
21734 * gst/base/gstadapter.h:
21735 Added gst_adapter_get_type() to the header
21737 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21739 * check/Makefile.am:
21740 * check/gst-libs/controller.c:
21741 * libs/gst/controller/gst-controller.c:
21742 (gst_controller_new_valist):
21743 added check test suite for the controller
21744 * gst/base/gstpushsrc.c:
21747 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21749 * docs/gst/Makefile.am:
21750 * docs/gst/gstreamer-docs.sgml:
21751 * docs/gst/gstreamer-sections.txt:
21752 * docs/gst/gstreamer.types:
21753 * docs/gst/tmpl/gstfakesrc.sgml:
21755 * gst/base/gstbasesink.c:
21756 * gst/base/gstbasesink.h:
21757 * gst/base/gstbasesrc.c:
21758 * gst/base/gstbasesrc.h:
21759 * gst/base/gstbasetransform.c:
21760 * gst/base/gstpushsrc.c:
21761 * gst/base/gstpushsrc.h:
21762 add short/long description docs to base classes
21763 add pushsrc to the docs
21764 remove consolidated doc fragments
21766 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21769 * docs/libs/Makefile.am:
21770 * docs/libs/gstreamer-libs-docs.sgml:
21771 * docs/libs/gstreamer-libs-sections.txt:
21772 * docs/libs/gstreamer-libs.types:
21773 * examples/Makefile.am:
21774 * examples/controller/.cvsignore:
21775 * examples/controller/Makefile.am:
21776 * examples/controller/audio-example.c: (main):
21777 * libs/gst/Makefile.am:
21778 * libs/gst/controller/.cvsignore:
21779 * libs/gst/controller/Makefile.am:
21780 * libs/gst/controller/gst-controller.c:
21781 (on_object_controlled_property_changed), (gst_timed_value_compare),
21782 (gst_timed_value_find),
21783 (gst_controlled_property_set_interpolation_mode),
21784 (gst_controlled_property_new), (gst_controlled_property_free),
21785 (gst_controller_find_controlled_property),
21786 (gst_controller_new_valist), (gst_controller_new),
21787 (gst_controller_remove_properties_valist),
21788 (gst_controller_remove_properties), (gst_controller_set),
21789 (gst_controller_set_from_list), (gst_controller_unset),
21790 (gst_controller_get), (gst_controller_get_all),
21791 (gst_controller_sink_values), (gst_controller_get_value_arrays),
21792 (gst_controller_get_value_array),
21793 (gst_controller_set_interpolation_mode),
21794 (_gst_controller_finalize), (_gst_controller_init),
21795 (_gst_controller_class_init), (gst_controller_get_type):
21796 * libs/gst/controller/gst-controller.h:
21797 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
21798 (g_object_uncontrol_properties), (g_object_get_controller),
21799 (g_object_set_controller), (g_object_sink_values),
21800 (g_object_get_value_arrays), (g_object_get_value_array):
21801 * libs/gst/controller/gst-interpolation.c:
21802 (gst_controlled_property_find_timed_value_node),
21803 (interpolate_none_get), (interpolate_trigger_get),
21804 (interpolate_trigger_get_value_array):
21805 * libs/gst/controller/lib.c: (gst_controller_init):
21806 * pkgconfig/Makefile.am:
21807 * pkgconfig/gstreamer-control-uninstalled.pc.in:
21808 * pkgconfig/gstreamer-control.pc.in:
21809 * testsuite/Makefile.am:
21810 * testsuite/controller/.cvsignore:
21811 * testsuite/controller/Makefile.am:
21812 * testsuite/controller/interpolator.c: (main):
21813 added controller code
21814 removed dparam pc files
21816 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
21817 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
21818 (gst_collectpads_stop):
21819 Broadcast the condition when shutting down, to make sure we wake all
21820 threads up. Shut down pads on finalize, for safety.
21822 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
21823 * gst/base/gstbasetransform.c: (gst_base_transform_init),
21824 (gst_base_transform_handle_buffer),
21825 (gst_base_transform_change_state):
21826 Handle PAUSED->READY->PAUSED transition after negotiation
21828 * gst/gstmessage.c: (gst_message_init):
21829 Extra piece of debug for new messages.
21831 2005-08-01 Stefan Kost <ensonic@users.sf.net>
21834 * docs/gst/tmpl/gstbasesrc.sgml:
21835 * docs/gst/tmpl/gstelement.sgml:
21836 * docs/gst/tmpl/gstevent.sgml:
21837 * docs/gst/tmpl/gstfakesrc.sgml:
21838 * docs/gst/tmpl/gstformat.sgml:
21839 * docs/gst/tmpl/gstghostpad.sgml:
21840 * docs/gst/tmpl/gstpad.sgml:
21841 * docs/gst/tmpl/gstquery.sgml:
21842 * docs/gst/tmpl/gststructure.sgml:
21843 * docs/gst/tmpl/gsttaglist.sgml:
21844 * docs/gst/tmpl/gstvalue.sgml:
21845 * docs/libs/gstreamer-libs-docs.sgml:
21846 * docs/libs/gstreamer-libs-sections.txt:
21847 * docs/libs/gstreamer-libs.types:
21848 * libs/gst/Makefile.am:
21849 * libs/gst/control/.cvsignore:
21850 * libs/gst/control/Makefile.am:
21851 * libs/gst/control/control.c:
21852 * libs/gst/control/control.h:
21853 * libs/gst/control/dparam.c:
21854 * libs/gst/control/dparam.h:
21855 * libs/gst/control/dparam_smooth.c:
21856 * libs/gst/control/dparam_smooth.h:
21857 * libs/gst/control/dparamcommon.h:
21858 * libs/gst/control/dparammanager.c:
21859 * libs/gst/control/dparammanager.h:
21860 * libs/gst/control/dplinearinterp.c:
21861 * libs/gst/control/dplinearinterp.h:
21862 * libs/gst/control/unitconvert.c:
21863 * libs/gst/control/unitconvert.h:
21864 * testsuite/Makefile.am:
21865 * testsuite/dynparams/.cvsignore:
21866 * testsuite/dynparams/Makefile.am:
21867 * testsuite/dynparams/dparamstest.c:
21868 * tools/Makefile.am:
21869 * tools/gst-inspect.c: (print_element_info), (main):
21870 * tools/gst-xmlinspect.c: (print_element_info), (main):
21871 deactivate and remove dparams (libgstcontrol)
21873 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21875 * gst/elements/gsttypefindelement.c:
21876 (gst_type_find_element_have_type), (gst_type_find_element_init),
21877 (stop_typefinding), (gst_type_find_element_handle_event),
21878 (gst_type_find_element_chain), (gst_type_find_element_getrange):
21879 * gst/elements/gsttypefindelement.h:
21880 Set caps on all outgoing buffers, not just the first one.
21882 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21884 * gst/elements/gsttypefindelement.c:
21885 (gst_type_find_element_have_type),
21886 (gst_type_find_element_check_set_buffer_caps),
21887 (gst_type_find_element_init), (stop_typefinding),
21888 (gst_type_find_element_handle_event),
21889 (gst_type_find_element_chain), (gst_type_find_element_getrange):
21890 * gst/elements/gsttypefindelement.h:
21891 Set caps on first outgoing buffer when we've found the type.
21893 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21895 * docs/gst/gstreamer-docs.sgml:
21896 * docs/gst/gstreamer-sections.txt:
21897 * docs/gst/tmpl/gstscheduler.sgml:
21898 * docs/gst/tmpl/gstschedulerfactory.sgml:
21899 Remove some old cruft from docs.
21901 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
21904 Fix inline docs for GstPadLinkReturn.
21906 * gst/gststructure.c: (gst_structure_has_name):
21907 * gst/gststructure.h:
21908 * docs/gst/gstreamer-sections.txt:
21909 New API: gst_structure_has_name().
21911 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
21914 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21915 and _LARGEFILE_SOURCE in config.h as required. Do not
21916 export those flags in our .pc files any longer (#142209).
21918 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21920 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21921 (gst_file_sink_do_seek), (gst_file_sink_event),
21922 (gst_file_sink_get_current_offset), (gst_file_sink_render):
21923 Redo seek/tell calls with large file support in mind; add some
21924 debugging messages; add log message that tells us when large
21925 file support is unavailable or not enabled for some reason.
21927 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21928 Add log message that tells us when large file support
21929 is unavailable or not enabled for some reason.
21931 2005-07-29 Wim Taymans <wim@fluendo.com>
21933 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21934 Added test for removing an element with ghostpad from a bin.
21935 Fixed test as current implementation does the right thing.
21937 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21938 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21939 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21940 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21941 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21942 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21943 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21944 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21945 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21946 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21947 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21948 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21949 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21950 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21951 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21952 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21953 * gst/gstghostpad.h:
21954 Clean up ghostpads, remove properties for internal stuff.
21957 Prepare for switching targets, not all use cases work yet.
21959 2005-07-29 Wim Taymans <wim@fluendo.com>
21961 * docs/design/part-gstghostpad.txt:
21964 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21965 (gst_bin_remove_func):
21966 Unlinking pads while holding the bin LOCK is not a good
21969 * gst/gstpad.c: (gst_pad_class_init),
21970 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21971 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21972 No prob setting template after creating the pad.
21974 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
21976 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21977 (gst_bus_peek), (gst_bus_source_dispatch),
21978 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21979 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21980 gst_bus_poll may be called from other threads. Handle
21981 this nicely by not making poll_data disappear off the
21982 stack once gst_bus_poll returns.
21983 gst_bus_peek now increments the refcount on the returned
21986 2005-07-29 Wim Taymans <wim@fluendo.com>
21988 * docs/design/part-gstghostpad.txt:
21989 Overview of current GhostPad datastructures and use
21990 cases for changing the target.
21992 2005-07-28 Wim Taymans <wim@fluendo.com>
21994 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21995 Added checks for hierarchy consistency whan adding linked
21998 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21999 Added check to test element scheduling without bin/pipeline.
22001 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22002 First add elements to bin, then link.
22004 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
22005 (gst_bin_remove_func):
22006 Unlink pads from elements added/removed from bin to maintain
22007 hierarchy consistency.
22009 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22011 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
22012 (gst_base_transform_handle_buffer):
22013 * gst/base/gstbasetransform.h:
22014 Remove broken delay_configure (fixes renegotiation of software
22015 scaling pipelines); remove some leftover printf()s.
22017 2005-07-28 Wim Taymans <wim@fluendo.com>
22019 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
22020 Added some more tests for wrong hierarchy
22022 * docs/design/part-overview.txt:
22025 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
22028 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
22029 (gst_element_dispose):
22030 Some more cleanups.
22032 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
22033 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
22034 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22035 (gst_pad_set_caps), (gst_pad_send_event):
22036 Check for correct hierarchy when linking pads. Moving to
22037 strict requirement for ghostpads when linking elements in
22041 Clean ups. Added WRONG_HIERARCHY return value.
22043 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22045 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22046 Better debug if no transform is possible.
22048 2005-07-27 Wim Taymans <wim@fluendo.com>
22050 * docs/random/wtay/network-transp:
22051 Some old doc I had.
22053 2005-07-27 Wim Taymans <wim@fluendo.com>
22055 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22056 (gst_dp_event_from_packet):
22057 Fix serialization of seek events.
22059 2005-07-27 Wim Taymans <wim@fluendo.com>
22061 * check/gst-libs/gdp.c: (GST_START_TEST):
22062 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22063 Fix compilation and fix event serialization.
22065 2005-07-27 Wim Taymans <wim@fluendo.com>
22068 * docs/design/part-TODO.txt:
22069 * docs/design/part-events.txt:
22072 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22073 (gst_base_sink_event), (gst_base_sink_do_sync),
22074 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22075 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22076 (gst_base_src_do_seek), (gst_base_src_event_handler),
22077 (gst_base_src_loop):
22078 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22079 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22080 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22081 (gst_base_transform_event), (gst_base_transform_handle_buffer),
22082 (gst_base_transform_set_passthrough),
22083 (gst_base_transform_is_passthrough):
22084 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22085 * gst/elements/gstfilesink.c: (gst_file_sink_event):
22091 * gst/gstelement.c: (gst_element_seek):
22092 * gst/gstelement.h:
22093 Update gst_element_seek.
22095 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
22096 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
22097 (gst_event_new_flush_start), (gst_event_new_flush_stop),
22098 (gst_event_new_eos), (gst_event_new_newsegment),
22099 (gst_event_parse_newsegment), (gst_event_new_tag),
22100 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
22101 (gst_event_parse_qos), (gst_event_new_seek),
22102 (gst_event_parse_seek), (gst_event_new_navigation):
22104 Make GstEvent use GstStructure. Add parsing code, make sure the
22105 API is sufficiently generic.
22106 Mark possible directions of events and serialization.
22108 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
22109 (_gst_message_copy), (gst_message_new_segment_start),
22110 (gst_message_new_segment_done), (gst_message_new_custom),
22111 (gst_message_parse_segment_start),
22112 (gst_message_parse_segment_done):
22115 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22116 (gst_pad_set_caps), (gst_pad_send_event):
22117 Update for new events.
22118 Catch events sent in wrong directions.
22120 * gst/gstqueue.c: (gst_queue_link_src),
22121 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
22122 (gst_queue_handle_src_query):
22127 Remove event code from this file.
22129 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22130 (gst_dp_event_from_packet):
22133 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22135 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
22136 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22137 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
22138 Make debugging actually useful.
22140 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22142 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
22143 (gst_pad_fixate_caps):
22144 Implement default fixation once again, so that gst_pad_fixate()
22145 actually does anything at all. This probably needs to be some
22146 sort of a last resort, and use profile-based fixation first, but
22147 since that doesn't exist yet, this is the best we have. Fixes
22148 visualization in Totem.
22150 2005-07-22 Wim Taymans <wim@fluendo.com>
22152 * docs/design/part-events.txt:
22155 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22156 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
22157 (gst_base_sink_activate_pull):
22158 Some more comments.
22160 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
22161 (gst_fake_src_create):
22162 Fix handoff marshall.
22164 * gst/elements/gstidentity.c: (gst_identity_class_init),
22165 (gst_identity_transform_ip):
22166 We're a real inplace element.
22168 * gst/gstbus.c: (gst_bus_post):
22169 Added some comments.
22171 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
22172 * tests/muxing/case1.c: (main):
22173 * tests/sched/dynamic-pipeline.c: (main):
22174 * tests/sched/interrupt1.c: (main):
22175 * tests/sched/interrupt2.c: (main):
22176 * tests/sched/interrupt3.c: (main):
22177 * tests/sched/runxml.c: (main):
22178 * tests/sched/sched-stress.c: (main):
22179 * tests/seeking/seeking1.c: (event_received), (main):
22180 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22182 * tests/threadstate/threadstate3.c: (main):
22183 * tests/threadstate/threadstate4.c: (main):
22184 * tests/threadstate/threadstate5.c: (main):
22187 2005-07-21 Wim Taymans <wim@fluendo.com>
22189 * docs/design/part-seeking.txt:
22190 Some small additions.
22192 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22193 (gst_base_sink_get_times), (gst_base_sink_do_sync),
22194 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22195 * gst/base/gstbasesink.h:
22196 discont values are gint64, handle the math correctly.
22198 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22199 Make the basesrc report error if the source pad is not linked.
22201 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22202 (gst_queue_loop), (gst_queue_handle_src_query),
22203 (gst_queue_src_activate_push):
22204 Make queue collect data even if the srcpad is not linked.
22205 Start pushing out data as soon as it is linked.
22207 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
22209 Added gst_flow_get_name() to ease error reporting.
22211 2005-07-20 Wim Taymans <wim@fluendo.com>
22213 * gst/gstmessage.c: (gst_message_new_segment_start),
22214 (gst_message_new_segment_done), (gst_message_parse_segment_start),
22215 (gst_message_parse_segment_done):
22216 * gst/gstmessage.h:
22217 Added a bunch of messages for advanced seeking.
22219 * gst/parse/grammar.y:
22220 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
22221 (gst_dpman_state_changed):
22222 Fix some new-pad -> pad-added signals
22224 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22226 * docs/manual/appendix-porting.xml:
22227 * docs/pwg/appendix-porting.xml:
22228 Document new-pad/state-change signal renames and the FixedList
22231 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22233 * docs/manual/advanced-autoplugging.xml:
22234 * docs/manual/basics-helloworld.xml:
22235 * docs/manual/basics-pads.xml:
22236 * docs/random/ds/0.9-suggested-changes:
22237 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
22238 * gst/gstelement.h:
22242 * gst/gststructure.c: (gst_structure_value_get_generic_type),
22243 (gst_structure_parse_array), (gst_structure_parse_value):
22244 * gst/gstvalue.c: (gst_type_is_fixed),
22245 (gst_value_list_prepend_value), (gst_value_list_append_value),
22246 (gst_value_list_get_size), (gst_value_list_get_value),
22247 (gst_value_transform_array_string), (gst_value_serialize_array),
22248 (gst_value_deserialize_array), (gst_value_intersect_array),
22249 (gst_value_is_fixed), (_gst_value_initialize):
22251 GstElement::new-pad -> pad-added, GstElement::state-change ->
22252 state-changed, GstValueFixedList -> GstValueArray, add format and
22253 flags as their own arguments in gst_element_seek() (should improve
22254 "bindeability"), remove function generators since they don't work
22255 under a whole bunch of compilers (they were deprecated already
22258 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22260 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22261 (_gst_debug_register_funcptr):
22263 Fix illegal cast on some platforms (#309253).
22265 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22267 * gst/gstmessage.c: (gst_message_new_custom):
22268 * gst/gstmessage.h:
22269 Add _new_custom, make _new_application a macro to _new_custom.
22271 2005-07-20 Wim Taymans <wim@fluendo.com>
22273 * gst/base/gstbasesrc.c: (gst_base_src_init),
22274 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22275 * gst/base/gstbasesrc.h:
22276 Add a gboolean to decide when to push out a discont.
22278 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22279 (gst_queue_loop), (gst_queue_handle_src_query),
22280 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
22281 (gst_queue_set_property), (gst_queue_get_property):
22284 * tests/threadstate/threadstate1.c: (main):
22285 Make a thread test compile and run... very silly..
22288 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22290 * docs/manual/appendix-porting.xml:
22291 Mention removal of libgstgconf-0.9.la and existence of gconf
22294 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22296 * docs/pwg/advanced-clock.xml:
22297 * docs/pwg/appendix-porting.xml:
22298 * docs/pwg/intro-preface.xml:
22299 * docs/pwg/other-base.xml:
22300 * docs/pwg/other-manager.xml:
22301 * docs/pwg/other-nton.xml:
22302 * docs/pwg/other-ntoone.xml:
22303 * docs/pwg/other-oneton.xml:
22304 * docs/pwg/pwg.xml:
22305 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
22306 demuxer), remove n-to-n (was never written), fix some code examples
22307 and links and update the porting section to include all this.
22309 2005-07-19 Wim Taymans <wim@fluendo.com>
22311 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
22312 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
22313 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
22314 (gst_queue_src_activate_push), (gst_queue_change_state),
22315 (gst_queue_get_property):
22317 Propagate GstFlowReturn more intelligently upstream and output
22318 an ERROR/EOS when streaming stopped due to fatal error.
22320 2005-07-19 Wim Taymans <wim@fluendo.com>
22322 * tools/gst-launch.c: (check_intr), (event_loop), (main):
22323 Don't block forever for the state change to complete, the
22324 pipeline already did with a sensible timeout.
22326 2005-07-19 Wim Taymans <wim@fluendo.com>
22328 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22329 Make sure we never call the create function is we
22332 2005-07-19 Andy Wingo <wingo@pobox.com>
22334 * gst/parse/parse.l: Attempt to solve bug #172815.
22336 2005-07-19 Wim Taymans <wim@fluendo.com>
22338 * docs/design/part-clocks.txt:
22339 * docs/design/part-events.txt:
22340 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
22341 Small docs updates.
22342 Only update the seeking values when we are not
22345 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
22347 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22348 Oops, ignore the result of gst_pad_push_event here.
22350 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
22352 * gst/base/gstbasesrc.c: (gst_base_src_loop),
22353 (gst_base_src_activate_push):
22354 Send discont event from the loop function, as pads
22355 aren't activated yet in the activate_push handler.
22357 * gst/gstbin.c: (bin_bus_handler):
22358 Don't leak element name.
22360 2005-07-18 Andy Wingo <wingo@pobox.com>
22362 * configure.ac: Use AS_LIBTOOL_TAGS.
22364 2005-07-18 Wim Taymans <wim@fluendo.com>
22366 * docs/gst/gstreamer.types:
22367 Remove deleted types.
22369 2005-07-18 Wim Taymans <wim@fluendo.com>
22371 * check/elements/gstfakesrc.c: (GST_START_TEST):
22374 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
22375 (init_popt_callback):
22377 * gst/gst_private.h:
22378 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
22379 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
22382 * gst/gstconfig.h.in:
22383 * gst/gstelement.c: (gst_element_class_init),
22384 (gst_element_set_base_time), (gst_element_get_base_time),
22385 (iterator_fold_with_resync), (gst_element_change_state),
22386 (gst_element_dispose), (gst_element_get_bus):
22387 * gst/gstelement.h:
22388 * gst/gstelementfactory.h:
22389 * gst/gsterror.c: (_gst_core_errors_init):
22392 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22394 * gst/gstinfo.c: (_gst_debug_init):
22395 * gst/gstmessage.c: (_gst_message_copy):
22396 * gst/gstmessage.h:
22397 * gst/gstminiobject.h:
22400 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22401 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
22404 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22405 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22406 (gst_pipeline_get_last_stream_time):
22407 * gst/gstpipeline.h:
22408 * gst/gstpluginfeature.h:
22410 * gst/gstscheduler.c:
22411 * gst/gstscheduler.h:
22412 * gst/gststructure.h:
22413 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22414 (gst_task_finalize), (gst_task_func), (gst_task_create),
22415 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
22416 (gst_task_stop), (gst_task_pause):
22418 * gst/gsttypefind.h:
22420 * gst/registries/gstlibxmlregistry.c: (load_feature),
22421 (gst_xml_registry_load), (gst_xml_registry_save_feature):
22422 * gst/registries/gstxmlregistry.c:
22423 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
22424 * gst/schedulers/threadscheduler.c:
22425 * libs/gst/control/dparammanager.h:
22426 * tools/gst-inspect.c: (print_element_list),
22427 (print_plugin_features), (print_element_features):
22428 * tools/gst-xmlinspect.c: (print_element_list),
22429 (print_plugin_info), (main):
22430 Removed plugable schedulers.
22431 Removed Scheduler/Manager from elements.
22432 Removed gsttypes.h, rearranged includes.
22433 Removed dependency pad<->element, element<>pipeline, and
22434 various others, fix includes.
22435 implement gst_pad_get_parent() with gst_object_get_parent()
22436 Make GstTask sefcontained.
22437 Fix _get_state() on GstBin, it did not return ASYNC with a 0
22439 Fix endless loop in iterator_fold_with_resync.
22442 2005-07-18 Wim Taymans <wim@fluendo.com>
22448 2005-07-18 Wim Taymans <wim@fluendo.com>
22451 No more cothreads.h
22453 2005-07-18 Wim Taymans <wim@fluendo.com>
22457 Let's remove these.
22459 2005-07-18 Wim Taymans <wim@fluendo.com>
22461 * docs/design/part-dynamic.txt:
22462 * docs/design/part-events.txt:
22463 * docs/design/part-seeking.txt:
22464 Some more docs in the works.
22466 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22467 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22468 (gst_base_transform_setcaps), (gst_base_transform_get_size),
22469 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22470 (gst_base_transform_handle_buffer),
22471 (gst_base_transform_sink_activate_push),
22472 (gst_base_transform_src_activate_pull),
22473 (gst_base_transform_set_passthrough),
22474 (gst_base_transform_is_passthrough):
22477 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22480 * gst/gstevent.c: (gst_event_finalize):
22483 * gst/gstutils.c: (gst_element_unlink),
22484 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22485 (gst_pad_proxy_setcaps):
22487 Add _get_parent_element() to get a pads parent as an element.
22489 2005-07-18 Wim Taymans <wim@fluendo.com>
22491 * check/gst/gstbin.c: (GST_START_TEST):
22494 2005-07-18 Wim Taymans <wim@fluendo.com>
22496 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22497 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22498 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22499 (gst_base_sink_event), (gst_base_sink_do_sync),
22500 (gst_base_sink_chain), (gst_base_sink_loop),
22501 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22502 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
22504 Fix logic for returning ASYNC when not prerolled.
22506 2005-07-18 Wim Taymans <wim@fluendo.com>
22508 * gst/gstqueue.c: (gst_queue_handle_sink_event):
22509 Fix nasty refcount bug.
22511 2005-07-16 Philippe Khalaf <burger@speedy.org>
22513 * gst/elements/gstfdsrc.c:
22514 * gst/elements/gstfdsrc.h:
22515 * gst/elements/gstelements.c:
22516 * gst/elements/Makefile.am:
22517 Ported fdsrc to 0.9.
22519 2005-07-16 Wim Taymans <wim@fluendo.com>
22521 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22522 (gst_base_sink_do_sync):
22525 2005-07-16 Wim Taymans <wim@fluendo.com>
22527 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22528 (gst_base_sink_event), (gst_base_sink_get_times),
22529 (gst_base_sink_do_sync), (gst_base_sink_change_state):
22530 * gst/base/gstbasesink.h:
22531 Store and use discont values when syncing buffers as described
22534 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22535 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
22536 (gst_base_src_activate_push):
22537 Push discont event when starting.
22539 * gst/elements/gstidentity.c: (gst_identity_transform):
22542 * gst/gstbin.c: (gst_bin_change_state):
22543 Small cleanups in base_time distribution.
22545 * gst/gstelement.c: (gst_element_set_base_time),
22546 (gst_element_get_base_time), (gst_element_change_state):
22547 * gst/gstelement.h:
22548 Added methods for the base_time of the element.
22551 * gst/gstpipeline.c: (gst_pipeline_send_event),
22552 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22553 (gst_pipeline_get_last_stream_time):
22554 * gst/gstpipeline.h:
22556 Handle seeking as described in design doc, remove stream_time
22558 Cleanups clock and stream_time selection code. Added accessors
22559 for the stream_time.
22562 2005-07-16 Andy Wingo <wingo@pobox.com>
22564 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22567 2005-07-16 Wim Taymans <wim@fluendo.com>
22569 * check/gst/gstbin.c: (GST_START_TEST):
22570 Make elements silent as the deep_notify refs the
22571 parent, which might make the test fail.
22573 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22574 Don't hold the lock for too long.
22576 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
22578 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22579 Don't unref the caps we passed to gst_caps_make_writable() after
22580 passing them. gst_caps_make_writable() will do that for us.
22582 2005-07-15 Andy Wingo <wingo@pobox.com>
22584 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22587 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22588 own marshalling function for the handoff signal. Properly type the
22589 buffer as a buffer. Fixes some warnings. Should do a more general
22591 (gst_identity_class_init): Plug into the right marshaller.
22593 2005-07-15 Wim Taymans <wim@fluendo.com>
22595 * docs/design/part-TODO.txt:
22596 * docs/design/part-clocks.txt:
22597 * docs/design/part-element-sink.txt:
22598 * docs/design/part-events.txt:
22599 * docs/design/part-gstpipeline.txt:
22600 Updated docs, mostly DISCONT related.
22602 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
22604 * docs/pwg/building-pads.xml:
22605 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22607 2005-07-15 Andy Wingo <wingo@pobox.com>
22609 * tools/gst-typefind.c: Update, add copyright block.
22611 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22612 Normalize and truncate caps before fixation.
22615 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22616 discards all but the first structure from its argument.
22618 2005-07-15 Wim Taymans <wim@fluendo.com>
22620 * gst/base/gstbasetransform.c: (gst_base_transform_init),
22621 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22622 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22623 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22624 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22625 (gst_base_transform_chain), (gst_base_transform_change_state),
22626 (gst_base_transform_set_passthrough),
22627 (gst_base_transform_is_passthrough):
22628 * gst/base/gstbasetransform.h:
22629 Make passthrough work using the bufferpools.
22630 Changed API a bit, subclasses have to write into a buffer
22631 provided by the base class.
22632 More debug info in nego functions.
22634 * gst/elements/gstidentity.c: (gst_identity_init),
22635 (gst_identity_transform):
22636 Port to new base class.
22638 2005-07-15 Wim Taymans <wim@fluendo.com>
22640 * gst/gstmessage.c: (gst_message_new_state_changed):
22641 * tools/gst-launch.c: (event_loop), (main):
22642 Totally dump messages in -launch with the -m option.
22643 Fix message name for State messages,
22645 2005-07-14 Wim Taymans <wim@fluendo.com>
22647 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22648 Post error messages on errors.
22650 2005-07-14 Wim Taymans <wim@fluendo.com>
22652 * gst/gstcaps.c: (gst_caps_do_simplify):
22656 Define error for stream stopped.
22658 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22659 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22660 Do proper return values.
22662 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22663 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22664 (gst_pad_get_range):
22665 Better return values.
22668 Reorganise return values, add macro to check for fatal errors.
22670 * gst/gstqueue.c: (gst_queue_chain):
22671 Return proper GstFlowReturn values,
22673 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
22675 * docs/gst/gstreamer-sections.txt:
22676 * docs/gst/gstreamer.types:
22677 * docs/gst/tmpl/gst.sgml:
22678 * docs/gst/tmpl/gstbasesink.sgml:
22679 * docs/gst/tmpl/gstbasesrc.sgml:
22680 * docs/gst/tmpl/gstbasetransform.sgml:
22681 * docs/gst/tmpl/gstbin.sgml:
22682 * docs/gst/tmpl/gstbuffer.sgml:
22683 * docs/gst/tmpl/gstcaps.sgml:
22684 * docs/gst/tmpl/gstclock.sgml:
22685 * docs/gst/tmpl/gstcompat.sgml:
22686 * docs/gst/tmpl/gstconfig.sgml:
22687 * docs/gst/tmpl/gstelement.sgml:
22688 * docs/gst/tmpl/gstelementdetails.sgml:
22689 * docs/gst/tmpl/gstelementfactory.sgml:
22690 * docs/gst/tmpl/gstenumtypes.sgml:
22691 * docs/gst/tmpl/gsterror.sgml:
22692 * docs/gst/tmpl/gstevent.sgml:
22693 * docs/gst/tmpl/gstfakesink.sgml:
22694 * docs/gst/tmpl/gstfakesrc.sgml:
22695 * docs/gst/tmpl/gstfilesink.sgml:
22696 * docs/gst/tmpl/gstfilesrc.sgml:
22697 * docs/gst/tmpl/gstfilter.sgml:
22698 * docs/gst/tmpl/gstformat.sgml:
22699 * docs/gst/tmpl/gstghostpad.sgml:
22700 * docs/gst/tmpl/gstimplementsinterface.sgml:
22701 * docs/gst/tmpl/gstindex.sgml:
22702 * docs/gst/tmpl/gstindexfactory.sgml:
22703 * docs/gst/tmpl/gstinfo.sgml:
22704 * docs/gst/tmpl/gstiterator.sgml:
22705 * docs/gst/tmpl/gstmacros.sgml:
22706 * docs/gst/tmpl/gstmemchunk.sgml:
22707 * docs/gst/tmpl/gstminiobject.sgml:
22708 * docs/gst/tmpl/gstobject.sgml:
22709 * docs/gst/tmpl/gstpad.sgml:
22710 * docs/gst/tmpl/gstpadtemplate.sgml:
22711 * docs/gst/tmpl/gstparse.sgml:
22712 * docs/gst/tmpl/gstpipeline.sgml:
22713 * docs/gst/tmpl/gstplugin.sgml:
22714 * docs/gst/tmpl/gstpluginfeature.sgml:
22715 * docs/gst/tmpl/gstquery.sgml:
22716 * docs/gst/tmpl/gstqueue.sgml:
22717 * docs/gst/tmpl/gstregistry.sgml:
22718 * docs/gst/tmpl/gstregistrypool.sgml:
22719 * docs/gst/tmpl/gstscheduler.sgml:
22720 * docs/gst/tmpl/gstschedulerfactory.sgml:
22721 * docs/gst/tmpl/gststructure.sgml:
22722 * docs/gst/tmpl/gstsystemclock.sgml:
22723 * docs/gst/tmpl/gsttaglist.sgml:
22724 * docs/gst/tmpl/gsttagsetter.sgml:
22725 * docs/gst/tmpl/gsttrace.sgml:
22726 * docs/gst/tmpl/gsttrashstack.sgml:
22727 * docs/gst/tmpl/gsttypefind.sgml:
22728 * docs/gst/tmpl/gsttypefindfactory.sgml:
22729 * docs/gst/tmpl/gsttypes.sgml:
22730 * docs/gst/tmpl/gsturihandler.sgml:
22731 * docs/gst/tmpl/gsturitype.sgml:
22732 * docs/gst/tmpl/gstutils.sgml:
22733 * docs/gst/tmpl/gstvalue.sgml:
22734 * docs/gst/tmpl/gstversion.sgml:
22735 * docs/gst/tmpl/gstxml.sgml:
22736 * docs/libs/tmpl/gstcontrol.sgml:
22737 * docs/libs/tmpl/gstdataprotocol.sgml:
22738 * docs/libs/tmpl/gstdparam.sgml:
22739 * docs/libs/tmpl/gstdplinint.sgml:
22740 * docs/libs/tmpl/gstdpman.sgml:
22741 * docs/libs/tmpl/gstdpsmooth.sgml:
22742 * docs/libs/tmpl/gstgetbits.sgml:
22743 * docs/libs/tmpl/gstunitconvert.sgml:
22744 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22745 (gst_push_src_base_init), (gst_push_src_class_init),
22746 (gst_push_src_init), (gst_push_src_create):
22747 * gst/base/gstpushsrc.h:
22748 * gst/elements/gstelements.c:
22749 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22750 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22751 (gst_fake_sink_init), (gst_fake_sink_set_property),
22752 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22753 (gst_fake_sink_event), (gst_fake_sink_preroll),
22754 (gst_fake_sink_render), (gst_fake_sink_change_state):
22755 * gst/elements/gstfakesink.h:
22756 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22757 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22758 (gst_fake_src_base_init), (gst_fake_src_class_init),
22759 (gst_fake_src_init), (gst_fake_src_event_handler),
22760 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22761 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22762 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22763 (gst_fake_src_create_buffer), (gst_fake_src_create),
22764 (gst_fake_src_start), (gst_fake_src_stop):
22765 * gst/elements/gstfakesrc.h:
22766 * gst/elements/gstfilesink.c: (_do_init),
22767 (gst_file_sink_base_init), (gst_file_sink_class_init),
22768 (gst_file_sink_init), (gst_file_sink_dispose),
22769 (gst_file_sink_set_location), (gst_file_sink_set_property),
22770 (gst_file_sink_get_property), (gst_file_sink_open_file),
22771 (gst_file_sink_close_file), (gst_file_sink_query),
22772 (gst_file_sink_event), (gst_file_sink_render),
22773 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22774 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22775 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22776 * gst/elements/gstfilesink.h:
22777 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22778 (gst_file_src_class_init), (gst_file_src_init),
22779 (gst_file_src_finalize), (gst_file_src_set_location),
22780 (gst_file_src_set_property), (gst_file_src_get_property),
22781 (gst_file_src_map_region), (gst_file_src_map_small_region),
22782 (gst_file_src_create_mmap), (gst_file_src_create_read),
22783 (gst_file_src_create), (gst_file_src_is_seekable),
22784 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22785 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22786 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22787 (gst_file_src_uri_handler_init):
22788 * gst/elements/gstfilesrc.h:
22789 more autistic cleanliness in functions/names/defines
22791 2005-07-13 Andy Wingo <wingo@pobox.com>
22793 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
22794 source couldn't negotiate.
22796 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
22800 * gst/gstutils.c (gst_element_link_pads_filtered): New old
22801 function. I am channeling Hades. Put your boots on suckers!!!
22803 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
22805 * testsuite/caps/Makefile.am:
22806 * testsuite/caps/value_compare.c:
22807 * testsuite/caps/value_intersect.c:
22808 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22809 move two testsuite apps over to the check dir
22811 2005-07-12 Wim Taymans <wim@fluendo.com>
22813 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22814 Added more debug info in the negotiate process.
22816 * gst/gstmessage.h:
22817 Prepare for segment playback.
22819 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
22825 * tools/gst-launch.c: (main):
22826 NULL pipeline on errors.
22828 2005-07-12 Andy Wingo <wingo@pobox.com>
22830 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
22831 not it comes from a malloc region. Make sure our copy gets freed.
22833 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22835 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22836 * check/gst/gstmessage.c: (GST_START_TEST):
22837 * check/gst/gststructure.c: (GST_START_TEST),
22838 (gst_structure_suite), (main):
22840 * gst/gstelement.c: (gst_element_message_full):
22841 clean up GError and debug string now that they get copied
22842 * gst/gstmessage.c: (gst_message_new_error),
22843 (gst_message_new_warning), (gst_message_parse_error),
22844 (gst_message_parse_warning):
22845 use GST_TYPE_G_ERROR for structure_new, and take copies of
22846 arguments, so that we don't mess up refcounting
22848 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22850 * check/Makefile.am:
22851 add per-test valgrind targets
22852 * check/gst-libs/gdp.c: (GST_START_TEST),
22853 (gst_data_protocol_suite), (main):
22856 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22858 * check/Makefile.am:
22859 instate more valgrindable tests
22860 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22861 (GST_START_TEST), (fakesrc_suite):
22862 * check/gst/gstpad.c: (GST_START_TEST):
22863 * check/gst/gststructure.c: (GST_START_TEST):
22865 * docs/gst/tmpl/gstminiobject.sgml:
22866 * gst/gstpad.c: (gst_pad_finalize):
22867 fix the static mutex leak
22869 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22871 * check/Makefile.am:
22872 add two more tests for valgrinding
22873 * check/gst/gstvalue.c: (GST_START_TEST):
22874 test refcount of deserialized buffer, found a leak
22875 * docs/gst/gstreamer-docs.sgml:
22876 * docs/gst/gstreamer-sections.txt:
22877 * docs/gst/gstreamer.types:
22878 * docs/gst/tmpl/gstminiobject.sgml:
22879 add miniobject to docs
22880 * gst/gstminiobject.c:
22882 * gst/gstvalue.c: (gst_value_deserialize_buffer),
22883 (gst_string_unwrap):
22884 fix a hard-to-find invalid write for one of the tests
22885 fix a leak for deserialized buffers
22887 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22889 * docs/pwg/advanced-events.xml:
22890 * docs/pwg/advanced-request.xml:
22891 * docs/pwg/advanced-scheduling.xml:
22892 * docs/pwg/appendix-porting.xml:
22893 * docs/pwg/building-boiler.xml:
22894 * docs/pwg/intro-preface.xml:
22895 * docs/pwg/other-ntoone.xml:
22896 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22897 of example code and explanation for pad activation, loop() and
22898 getrange() functions and a bit more. Remove old comments pointing
22900 * examples/pwg/Makefile.am:
22901 Add loop/getrange examples.
22903 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22906 check for valgrind binary + some fixes
22908 valgrind suppressions for the tests
22909 * check/Makefile.am:
22910 add a valgrind: target that valgrinds the unit tests
22911 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22912 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22913 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22914 * check/gst/gstghostpad.c:
22916 * check/gst/gstdata.c:
22918 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22919 (thread_unref), (gst_mini_object_suite), (main):
22921 * gst/gst.c: (gst_deinit):
22923 add a method to clean up.
22924 * gst/gstsystemclock.c: (gst_system_clock_dispose),
22925 (gst_system_clock_obtain):
22926 allow for disposing the system clock.
22927 * tools/gst-launch.c: (main):
22930 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22932 * docs/gst/tmpl/gstbasesrc.sgml:
22933 * docs/gst/tmpl/gstfakesrc.sgml:
22934 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22935 (gst_base_src_init), (gst_base_src_set_property),
22936 (gst_base_src_get_property), (gst_base_src_get_range),
22937 (gst_base_src_start):
22938 * gst/base/gstbasesrc.h:
22939 add num-buffers property
22940 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22941 (gst_fakesrc_init), (gst_fakesrc_set_property),
22942 (gst_fakesrc_get_property), (gst_fakesrc_create),
22943 (gst_fakesrc_start):
22944 remove num-buffers property
22946 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22948 * docs/gst/gstreamer-sections.txt:
22949 * docs/gst/tmpl/gstbasesink.sgml:
22950 * docs/gst/tmpl/gstbasesrc.sgml:
22951 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22952 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22953 (gst_base_sink_finalize), (gst_base_sink_set_clock),
22954 (gst_base_sink_set_property), (gst_base_sink_get_property),
22955 (gst_base_sink_handle_object), (gst_base_sink_event),
22956 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22957 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22958 (gst_base_sink_loop), (gst_base_sink_deactivate),
22959 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22960 (gst_base_sink_change_state):
22961 * gst/base/gstbasesink.h:
22962 * gst/base/gstbasesrc.h:
22963 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22964 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22965 (gst_filesink_init):
22966 more macro splitting
22968 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22970 * gst/gstelement.c: (gst_element_get_bus):
22972 * tools/gst-launch.c: (check_intr), (event_loop):
22975 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22977 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22980 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22982 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22983 (gst_base_src_finalize):
22984 add finalize method and clean up properly
22985 * gst/gstpipeline.c: (gst_pipeline_dispose):
22988 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22990 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22992 add more things to check
22993 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22994 * gst/gstelement.c:
22997 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22999 * check/elements/gstfakesrc.c: (chain_func), (event_func),
23000 (GST_START_TEST), (fakesrc_suite):
23001 * check/gst-libs/gdp.c: (GST_START_TEST):
23002 * check/gst/gst.c: (GST_START_TEST):
23003 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
23004 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23005 * check/gst/gstbus.c: (GST_START_TEST):
23006 * check/gst/gstcaps.c: (GST_START_TEST):
23007 * check/gst/gstdata.c: (GST_START_TEST):
23008 * check/gst/gstelement.c: (GST_START_TEST):
23009 * check/gst/gstghostpad.c: (GST_START_TEST):
23010 * check/gst/gstiterator.c: (GST_START_TEST):
23011 * check/gst/gstmessage.c: (GST_START_TEST):
23012 * check/gst/gstobject.c: (GST_START_TEST):
23013 * check/gst/gstpad.c: (GST_START_TEST):
23014 * check/gst/gststructure.c: (GST_START_TEST):
23015 * check/gst/gstsystemclock.c: (GST_START_TEST),
23016 (gst_systemclock_suite):
23017 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
23018 * check/gst/gstvalue.c: (GST_START_TEST):
23019 * check/pipelines/cleanup.c: (GST_START_TEST):
23020 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23021 * check/states/sinks.c: (GST_START_TEST):
23022 * check/gstcheck.c: (gst_check_init):
23023 * check/gstcheck.h:
23024 add debugging category
23025 use GST_START_TEST now, so we add a debug line
23027 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
23029 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
23030 add test for state change message on a bin
23031 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
23033 * gst/gstbin.c: (gst_bin_init):
23034 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
23035 * gst/gstelement.c: (gst_element_post_message),
23036 (gst_element_set_state):
23037 * gst/gstelementfactory.c: (gst_element_factory_create):
23038 * gst/gstmessage.c: (gst_message_new):
23039 * gst/gstscheduler.c:
23040 various debugging additions and cleanups
23042 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
23044 * check/Makefile.am:
23045 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
23047 adding tests for elements
23048 * gst/gstelement.c: (gst_element_dispose):
23050 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
23052 * gst/registries/gstlibxmlregistry.c: (load_feature):
23053 plug more leaks. A simple gst_init() now is leakfree, yay.
23055 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
23057 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
23058 (gst_xml_registry_load):
23059 plug another memleak
23061 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
23064 use GST_SET_ERROR_CFLAGS
23065 * docs/faq/cvs.xml:
23066 change to ERROR_CFLAGS
23068 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
23071 make GST_ERROR_CFLAGS overridable and re-enable Werror
23072 * docs/faq/cvs.xml:
23073 add a note about error CFLAGS
23074 * docs/gst/tmpl/gstfakesrc.sgml:
23075 * gst/elements/gstfakesrc.c:
23076 comment out some unused code
23077 * gst/gst.c: (split_and_iterate):
23078 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
23082 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
23084 * common/Makefile.am:
23085 * common/gtk-doc.mak:
23086 * docs/gst/Makefile.am:
23087 factor out gtk-doc.mak
23089 2005-07-07 Wim Taymans <wim@fluendo.com>
23091 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
23092 (gst_thread_scheduler_dispose):
23093 Unlock the STREAM_LOCK completely.
23095 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
23097 * check/Makefile.am:
23098 * check/elements/.cvsignore:
23099 * check/elements/gstfakesrc.c: (chain_func), (event_func),
23100 (START_TEST), (fakesrc_suite), (main):
23101 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23102 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
23103 (gst_fakesrc_create), (gst_fakesrc_start):
23104 * gst/elements/gstfakesrc.h:
23105 adding a first element test
23107 2005-07-07 Andy Wingo <wingo@pobox.com>
23109 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
23112 2005-07-07 Wim Taymans <wim@fluendo.com>
23118 2005-07-07 Wim Taymans <wim@fluendo.com>
23120 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
23121 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
23122 Allow subclasses to implement their own negotiation.
23124 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
23126 * docs/design/part-gstbin.txt:
23127 * docs/design/part-gstpipeline.txt:
23128 Update design notes to reflect the movement of
23129 responsibility for bus handling from GstPipeline to
23132 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
23135 Remove unnecessary queue2/3/4 examples.
23137 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
23139 * examples/Makefile.am:
23140 * examples/helloworld/helloworld.c: (event_loop), (main):
23141 * examples/queue/queue.c: (event_loop), (main):
23142 * examples/queue2/queue2.c: (main):
23143 Update a couple of the examples to work again.
23145 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23146 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
23147 Spelling corrections and extra debug.
23149 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
23150 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
23151 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
23153 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
23154 (gst_pipeline_change_state):
23155 * gst/gstpipeline.h:
23156 Move the bus handler for children to the GstBin, and create a
23157 separate bus for receiving messages from children to the one the
23158 bus sends 'upwards' on.
23160 2005-07-06 Wim Taymans <wim@fluendo.com>
23163 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23164 (gst_base_sink_handle_object), (gst_base_sink_loop),
23165 (gst_base_sink_change_state):
23166 * gst/base/gstbasesink.h:
23167 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23168 (gst_base_src_init), (gst_base_src_setcaps),
23169 (gst_base_src_getcaps), (gst_base_src_loop),
23170 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
23171 (gst_base_src_start), (gst_base_src_change_state):
23172 * gst/base/gstbasesrc.h:
23173 Make basesrc negotiate.
23174 Handle the case where preroll fails in basesink.
23177 2005-07-06 Wim Taymans <wim@fluendo.com>
23179 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
23180 Implement the fixate function.
23181 Clean up acceptcaps.
23183 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23185 * docs/pwg/building-filterfactory.xml:
23186 * docs/pwg/pwg.xml:
23187 Remove never-written filter-factory chapter; I'll add the various
23188 base classes to part 4 ("other element types") later on.
23190 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23192 * docs/pwg/advanced-negotiation.xml:
23193 * docs/pwg/building-boiler.xml:
23194 * docs/pwg/building-pads.xml:
23195 * docs/pwg/pwg.xml:
23196 * examples/pwg/Makefile.am:
23197 Add a chapter on caps negotiation, simplify the original code
23198 samples a bit w.r.t. caps negotiation, add link to the advanced
23199 section. Add a bunch of examples showing different use cases of
23200 different types of caps negotiation. Upstream renegotiation isn't
23201 fully documented yet since nobody knows how that works.
23203 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
23205 * check/gst/gstpad.c:
23206 * check/gstcheck.c:
23207 * gst/gstpad.c: (gst_pad_get_internal_links_default):
23208 if pad has no parent, return NULL as list of internal links
23210 2005-07-05 Andy Wingo <wingo@pobox.com>
23212 * gst/elements/gstfilesrc.c:
23213 * gst/elements/gstfakesrc.c:
23214 * gst/base/gstpushsrc.c:
23215 * gst/base/gstbasesrc.h:
23216 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
23218 2005-07-05 Stefan Kost <ensonic@users.sf.net>
23221 better report generation target (lcov needs a patch)
23223 2005-07-05 Andy Wingo <wingo@pobox.com>
23225 * gst/elements, testsuite: Null if we got it...
23227 2005-07-05 Wim Taymans <wim@fluendo.com>
23230 * libs/gst/dataprotocol/Makefile.am:
23231 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
23232 * libs/gst/dataprotocol/dataprotocol.h:
23233 * pkgconfig/Makefile.am:
23234 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
23235 * pkgconfig/gstreamer-dataprotocol.pc.in:
23236 Ported dataprotol to 0.9.
23237 Added pkgconfig files.
23239 2005-07-05 Andy Wingo <wingo@pobox.com>
23241 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
23242 Default to returning TRUE for the case when tranform_caps returns
23243 a fixed caps, like for identity or volume.
23245 * check/gst/gstbus.c (pound_bus_with_messages):
23246 * check/gst/gstmessage.c (START_TEST):
23247 * check/pipelines/simple_launch_lines.c (got_handoff): Application
23248 message API change.
23250 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
23251 logic weaks here: always run transform_caps, trying passthrough
23252 operation only if the original caps intersects with the transform.
23254 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
23255 source and sink caps.
23257 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
23258 Intersect the peer caps with the pad template before going into
23260 (gst_base_transform_transform_caps): More debugging.
23262 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
23265 2005-07-04 Edward Hervey <edward@fluendo.com>
23269 (gst_pad_add_*_probe): now returns the signal id for better wrapping
23272 2005-07-04 Andy Wingo <wingo@pobox.com>
23274 * check/gst/gstpad.c: Only set explicit caps on pads.
23276 2005-07-01 Andy Wingo <wingo@pobox.com>
23278 * tests/network-clock.scm: Commentary update.
23280 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
23281 Didn't really make sense, not implementable with basetransform,
23283 (gst_identity_transform): Unref inbuf via make_writable. Feeble
23284 attempt at implementing the sync property, needs an unlock method.
23286 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
23287 New func, by default returns the same caps (the identity
23289 (gst_base_transform_getcaps): Uses transform_caps to return
23290 something sensible.
23291 (gst_base_transform_setcaps): Complicated logic to get caps on
23292 both pads, even if they are different, and to call set_caps once
23293 for every time both pads get their caps set.
23294 (gst_base_transform_handle_buffer): Give the ref to the transform
23295 function. Allows in-place modification of the buffer.
23297 * gst/base/gstbasetransform.h (transform_caps): New class method.
23298 Given caps on one side, what can I do on the other.
23299 (set_caps): Take two caps, one for each side of the element.
23302 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
23303 caps in place. This is safe because we can check the mutability of
23304 the caps, and a good idea because fixate functions are just called
23305 as a matter of last resort. (Not actually implemented.)
23306 (gst_pad_set_caps): If the caps we're setting is actually the same
23307 as the existing pad caps, just update the pointer without calling
23308 setcaps. Assert that caps is either NULL or fixed, as per the
23311 * gst/gstghostpad.c: Update for fixate changes.
23313 2005-07-02 Andy Wingo <wingo@pobox.com>
23316 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
23317 two refcounts makes it immutable, which is enough. Doc more.
23319 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
23321 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
23322 Put the mini_object into GValue as a mini_object,
23323 not a gpointer, since that's how we declared
23326 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23328 * examples/pwg/Makefile.am:
23329 Fix buildbot again.
23331 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23333 * docs/pwg/building-testapp.xml:
23335 * examples/pwg/Makefile.am:
23338 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23341 * examples/Makefile.am:
23342 * examples/pwg/Makefile.am:
23343 * examples/pwg/extract.pl:
23344 Enable building the PWG examples.
23345 * docs/pwg/advanced-interfaces.xml:
23346 Add URI interface stub.
23347 * docs/pwg/advanced-types.xml:
23348 * docs/pwg/other-autoplugger.xml:
23349 * docs/pwg/appendix-porting.xml:
23350 * docs/pwg/pwg.xml:
23351 Add porting guide (mostly stubs), remove autoplugging (see ADM).
23352 * docs/pwg/building-boiler.xml:
23353 * docs/pwg/building-chainfn.xml:
23354 * docs/pwg/building-pads.xml:
23355 * docs/pwg/building-props.xml:
23356 * docs/pwg/building-state.xml:
23357 * docs/pwg/building-testapp.xml:
23358 Update the building-*.xml parts for 0.9 changes. All examples
23359 code blocks compile in examples/pwg/*.
23361 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23363 * docs/manual/advanced-autoplugging.xml:
23364 * docs/manual/appendix-checklist.xml:
23365 * docs/manual/appendix-integration.xml:
23366 * docs/manual/highlevel-components.xml:
23367 Fix playbin/decodebin examples, update docs a bit, mention bus
23368 instead of signals in various places, mention kmplayer and
23369 kaffeine since they have a working GStreamer backend in the KDE
23372 2005-06-30 Wim Taymans <wim@fluendo.com>
23375 * docs/design/draft-ghostpads.txt:
23376 * docs/design/draft-push-pull.txt:
23377 * docs/design/draft-query.txt:
23378 * docs/design/part-TODO.txt:
23379 * docs/design/part-query.txt:
23380 Added CHANGES-0.9 doc, updated status of other docs.
23385 2005-06-30 Wim Taymans <wim@fluendo.com>
23387 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23388 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23389 (gst_base_sink_change_state):
23390 * gst/base/gstbasesink.h:
23391 Some tweaks, only EOS and a buffer complete a preroll.
23393 2005-06-30 Andy Wingo <wingo@pobox.com>
23395 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
23396 activate_push down to the internal pad as well.
23398 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
23400 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23402 * gst/gsttaginterface.c:
23403 Some documentation fixes (#307394 and #307397).
23405 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
23407 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23409 * gst/gstvalue.c: (gst_value_intersect_list):
23410 Fix memleak (#309125).
23412 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23414 * docs/manual/advanced-dataaccess.xml:
23415 Fix fakesrc example to compile; doesn't work, bug somewhere...?
23416 * docs/manual/basics-pads.xml:
23417 Add reference for filtered caps to above chapter.
23419 2005-06-30 Wim Taymans <wim@fluendo.com>
23421 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
23422 (gst_bin_change_state):
23424 Lame attempt at making the state change function a bit
23427 2005-06-30 Wim Taymans <wim@fluendo.com>
23429 * docs/design/part-clocks.txt:
23430 * docs/design/part-element-sink.txt:
23431 * docs/design/part-events.txt:
23432 * docs/design/part-preroll.txt:
23433 * docs/design/part-states.txt:
23434 Some more tweeks and additions to the docs.
23436 2005-06-30 Wim Taymans <wim@fluendo.com>
23438 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23439 (default_have_data), (gst_pad_class_init), (gst_pad_init),
23440 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23441 (gst_pad_check_pull_range), (gst_pad_get_range),
23442 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23444 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23445 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23446 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23447 (gst_pad_remove_buffer_probe):
23448 Removed atomic operations, use existing LOCK.
23449 Move exception handling out of main code path.
23451 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23453 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23454 (silly_return_true_function), (gst_pad_class_init),
23455 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23456 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23457 (gst_pad_send_event):
23458 Fix accumulator, add default value by using _emitv() instead
23459 of _emit() for signal emission.
23461 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23463 * docs/manual/advanced-dataaccess.xml:
23464 * examples/manual/Makefile.am:
23466 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23469 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
23471 * gst/elements/gstfilesink.c: (gst_filesink_render):
23472 Simplify code so that we don't have to handle short
23473 writes and return GST_FLOW_ERROR if an error occured.
23475 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23477 * docs/gst/gstreamer-docs.sgml:
23478 Remove probes more.
23480 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23482 * docs/gst/gstreamer-sections.txt:
23483 * docs/gst/tmpl/gstpad.sgml:
23484 * docs/gst/tmpl/gstprobe.sgml:
23486 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23487 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23488 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23489 (gst_pad_push_event), (gst_pad_send_event):
23491 * gst/gstutils.c: (gst_pad_add_data_probe),
23492 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23493 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23494 (gst_pad_remove_buffer_probe):
23496 Remove old probes, add new g-signal-based probes and some utility
23499 2005-06-29 Edward Hervey <edward@fluendo.com>
23501 * gst/gstelementfactory.c:
23504 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
23505 the definition to the header file.
23507 2005-06-29 Andy Wingo <wingo@pobox.com>
23509 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
23510 plugins from the source directory.
23512 2005-06-29 Wim Taymans <wim@fluendo.com>
23514 * docs/gst/tmpl/gstbuffer.sgml:
23515 * docs/gst/tmpl/gstclock.sgml:
23516 Some fixings for blantently wrong text.
23518 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
23520 * check/Makefile.am:
23521 * gst/gst.c: (add_path_func), (init_pre):
23522 * gst/gstregistry.c: (gst_registry_add_path):
23523 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
23524 only scan the GST_PLUGIN_PATH locations, and not add
23527 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
23529 * docs/gst/gstreamer-sections.txt:
23530 * docs/gst/tmpl/gstbasesrc.sgml:
23531 * gst/gstelement.c:
23532 * gst/gstelement.h:
23537 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23539 * docs/manual/advanced-autoplugging.xml:
23540 Fix autoplugging example.
23542 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23544 * docs/manual/advanced-autoplugging.xml:
23545 * docs/manual/mime-world.fig:
23546 Try to get autoplugging working, fix type detection. Fix text
23547 in hello-world image.
23549 2005-06-29 Wim Taymans <wim@fluendo.com>
23551 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23552 (gst_base_sink_change_state):
23556 map SIGNAL and BROADCAST to the right function.
23559 Remove redundant braces.
23561 * gst/gstpad.c: (gst_pad_set_caps):
23562 Don't call setcaps function when reseting caps to NULL.
23564 * gst/gstsystemclock.c: (gst_system_clock_dispose),
23565 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23566 (gst_system_clock_id_unschedule):
23567 Use BROADCAST as this is what we do.
23569 2005-06-29 Wim Taymans <wim@fluendo.com>
23571 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23572 We are actually prerolling before commiting the state
23575 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23577 * docs/manual/advanced-clocks.xml:
23578 * docs/manual/advanced-interfaces.xml:
23579 * docs/manual/advanced-metadata.xml:
23580 * docs/manual/advanced-position.xml:
23581 * docs/manual/advanced-schedulers.xml:
23582 * docs/manual/advanced-threads.xml:
23583 * docs/manual/appendix-porting.xml:
23584 * docs/manual/basics-bins.xml:
23585 * docs/manual/basics-bus.xml:
23586 * docs/manual/basics-elements.xml:
23587 * docs/manual/basics-helloworld.xml:
23588 * docs/manual/basics-pads.xml:
23589 * docs/manual/highlevel-components.xml:
23590 * docs/manual/manual.xml:
23591 * docs/manual/thread.fig:
23592 Update (until threads/scheduling) Application Development Manual;
23593 remove GstThread, add GstBus, add simple porting checklist, add
23594 documentation for tag writing, clocks, make all examples until this
23595 part compile and run.
23596 * examples/manual/Makefile.am:
23597 Update from changes to Application Development Manual; add bus
23598 example, remove thread example.
23600 2005-06-28 Wim Taymans <wim@fluendo.com>
23602 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23603 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23604 (gst_bus_source_dispatch):
23605 Add debugging messages.
23606 Make internal methods static.
23607 Handle the case where the bus is flushed in the handler.
23609 * gst/gstelement.c: (gst_element_get_bus):
23610 Fix refcount in _get_bus();
23612 * gst/gstpipeline.c: (gst_pipeline_change_state),
23613 (gst_pipeline_get_clock_func):
23614 Clock refcounting fixes.
23615 Handle the case where preroll timed out more gracefully.
23617 * gst/gstsystemclock.c: (gst_system_clock_dispose):
23618 Clean up the internal thread in dispose. This is needed
23619 for subclasses that actually get disposed.
23621 * gst/schedulers/threadscheduler.c:
23622 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23623 (gst_thread_scheduler_dispose):
23624 Free thread pool in dispose.
23626 2005-06-28 Andy Wingo <wingo@pobox.com>
23628 * tests/network-clock-utils.scm (debug, print-event): New utils.
23630 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23631 (*packet-loss*): Unified loss probability.
23632 (network-time): Report out-of-band events.
23634 * tests/plot-data: Add support for out-of-band events. Hack it
23635 into this script instead of passing it down the pipe; should fix
23638 2005-06-28 Wim Taymans <wim@fluendo.com>
23640 * docs/gst/gstreamer.types:
23641 * docs/gst/tmpl/gstbasesrc.sgml:
23642 * docs/gst/tmpl/gstpad.sgml:
23645 2005-06-28 Wim Taymans <wim@fluendo.com>
23647 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23648 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23649 (gst_proxy_pad_do_fixatecaps):
23650 Correctly proxy the check_pull_range function.
23652 2005-06-28 Andy Wingo <wingo@pobox.com>
23654 * tests/network-clock.scm: Removed need for slib.
23656 2005-06-28 Wim Taymans <wim@fluendo.com>
23658 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23659 (gst_basesink_preroll_queue_flush):
23660 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23661 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23662 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23663 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23664 (gst_proxy_pad_set_property):
23667 * gst/gstqueue.c: (gst_queue_init):
23668 The deprecated pad loop function is removed now.
23670 2005-06-28 Andy Wingo <wingo@pobox.com>
23672 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23673 New parameters, simulate network packet loss.
23675 * tests/network-clock-utils.scm: Initialize the RNG.
23677 2005-06-28 Wim Taymans <wim@fluendo.com>
23679 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23680 (gst_basesink_event), (gst_basesink_deactivate):
23681 Flushing the preroll queue always needs to unlock the waiters.
23683 2005-06-28 Edward Hervey <edward@fluendo.com>
23685 * gst/gstpipeline.c: (gst_pipeline_send_event):
23686 Wheen a seek was successful on a pipeline, set the stream_time to the
23687 seek offset in order to have a synchronized stream_time.
23689 2005-06-28 Wim Taymans <wim@fluendo.com>
23691 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23692 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23693 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23694 (gst_proxy_pad_do_fixatecaps):
23695 Call wrapper function instead of just calling the function
23696 pointers. This takes care of any locking and whatmore.
23698 2005-06-28 Wim Taymans <wim@fluendo.com>
23700 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23701 (gst_pad_pull_range):
23703 CONNECTED -> LINKED.
23705 2005-06-28 Andy Wingo <wingo@pobox.com>
23707 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23708 source-munging commit!!!
23710 * gst/gstobject.c (gst_object_unref, gst_object_ref)
23711 (gst_object_sink): Take gpointer arguments, not GstObject --
23712 avoids casts. Like GLib.
23714 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23717 2005-06-27 Andy Wingo <wingo@pobox.com>
23719 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23722 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23723 returns a sorted copy of the trace list.
23724 (gst_alloc_trace_print_live): New API, only prints traces with
23725 live objects. Sort the list.
23726 (gst_alloc_trace_print_all): Sort the list.
23727 (gst_alloc_trace_print): Align columns.
23729 * gst/elements/gstttypefindelement.c:
23730 * gst/elements/gsttee.c:
23731 * gst/base/gstbasesrc.c:
23732 * gst/base/gstbasesink.c:
23733 * gst/base/gstbasetransform.c:
23734 * gst/gstqueue.c: Adapt for pad activation changes.
23736 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23738 (gst_pipeline_dispose): Drop ref on sched.
23740 * gst/gstpad.c (gst_pad_init): Set the default activate func.
23741 (gst_pad_activate_default): Push mode by default.
23742 (pre_activate_switch, post_activate_switch): New stubs, things to
23743 do before and after switching activation modes on pads.
23744 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23745 the pad's activate function to choose which mode to activate.
23746 Shortcut on deactivation and call the right function directly.
23747 (gst_pad_activate_pull): New API, (de)activates a pad in pull
23749 (gst_pad_activate_push): New API, same for push mode.
23750 (gst_pad_set_activate_function)
23751 (gst_pad_set_activatepull_function)
23752 (gst_pad_set_activatepush_function): Setters for new API.
23754 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23755 Trace all miniobjects.
23756 (gst_mini_object_make_writable): Unref the arg if we copy, like
23757 gst_caps_make_writable.
23759 * gst/gstmessage.c (_gst_message_initialize): No trace init.
23761 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
23762 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23763 Adapt for new pad API.
23765 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23767 * gst/gstelement.h:
23768 * gst/gstelement.c (gst_element_iterate_src_pads)
23769 (gst_element_iterate_sink_pads): New API functions.
23771 * gst/gstelement.c (iterator_fold_with_resync): New utility,
23772 should fold into gstiterator.c in some form.
23773 (gst_element_pads_activate): Simplified via use of fold and
23774 delegation of decisions to gstpad->activate.
23776 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23779 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23780 class once in init, like gstmessage. Didn't run into this issue
23781 but it seems correct. Don't initialize a trace, gstminiobject does
23784 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23785 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23787 (assert_live_count): New util function, uses alloc traces to check
23790 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23791 To be modified when unlink drops the internal pad.
23793 2005-06-27 Wim Taymans <wim@fluendo.com>
23795 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
23796 (gst_bin_change_state):
23797 Cleanup the get_state() function a little, make sure it
23798 iterates the same set of elements.
23799 Added stub iterate_state_order().
23801 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
23803 * docs/gst/gstreamer-docs.sgml:
23804 * docs/gst/gstreamer-sections.txt:
23805 * docs/gst/gstreamer.types:
23806 * docs/gst/tmpl/gstbasesink.sgml:
23807 * docs/gst/tmpl/gstbasesrc.sgml:
23808 * docs/gst/tmpl/gstbasetransform.sgml:
23809 * docs/gst/tmpl/gstelement.sgml:
23810 * docs/gst/tmpl/gstiterator.sgml:
23811 * gst/base/gstbasesrc.c:
23812 * gst/base/gstbasesrc.h:
23813 * gst/base/gstbasetransform.h:
23814 * gst/gstelement.c:
23815 * gst/gstiterator.h:
23816 adding basetransform and iterator docs
23818 2005-06-27 Andy Wingo <wingo@pobox.com>
23820 * docs/design/part-activation.txt: Notes on how activation should
23821 work -- not quite implemented yet.
23823 2005-06-25 Wim Taymans <wim@fluendo.com>
23825 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
23826 At least get the chain function correct, needs more
23829 2005-06-25 Wim Taymans <wim@fluendo.com>
23831 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23832 (gst_basesink_handle_object), (gst_basesink_event),
23833 (gst_basesink_do_sync), (gst_basesink_handle_event),
23834 (gst_basesink_change_state):
23836 Right, two problems here: ghostpads don't take locks and
23837 glib _rec_mutex_lock_full() with depth==0 still locks.
23838 Catch illegal locking and g_warn them.
23840 2005-06-25 Wim Taymans <wim@fluendo.com>
23842 * check/states/sinks.c: (START_TEST), (gst_object_suite):
23843 Have to check for completion now...
23845 2005-06-25 Wim Taymans <wim@fluendo.com>
23847 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23848 (gst_basesink_handle_object), (gst_basesink_event),
23849 (gst_basesink_do_sync), (gst_basesink_handle_event),
23850 (gst_basesink_change_state):
23852 Unlock STREAM_LOCK whatever the recursion was.
23854 2005-06-25 Wim Taymans <wim@fluendo.com>
23856 * gst/base/gstbasesink.c: (gst_basesink_set_property),
23857 (gst_basesink_preroll_queue_empty),
23858 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
23859 (gst_basesink_event), (gst_basesink_do_sync),
23860 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
23861 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
23862 (gst_basesink_change_state):
23863 Reworked the base sink, handle event and buffer serialisation
23864 correctly and removed possible deadlock.
23865 Handle EOS correctly.
23867 2005-06-25 Wim Taymans <wim@fluendo.com>
23869 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
23870 (gst_pipeline_change_state):
23871 * tools/gst-launch.c: (check_intr), (event_loop), (main):
23872 Allow elements to post EOS in the state change function.
23873 Fix up -launch, make it exit the poll loop when the
23874 pipeline actually changed state.
23875 Fix up warning parsing in -launch.
23877 2005-06-25 Wim Taymans <wim@fluendo.com>
23879 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23880 (gst_tee_sink_activate):
23881 Core takes STREAM_LOCK for us now.
23883 2005-06-25 Wim Taymans <wim@fluendo.com>
23885 * gst/gstelement.c: (gst_element_get_state_func),
23886 (gst_element_set_state):
23887 * gst/gstelement.h:
23888 * gst/gstmessage.c: (gst_message_parse_error),
23889 (gst_message_parse_warning):
23890 Keep track of current target state while performing a state
23891 change so that subclasses can do something interesting.
23892 Fix parsing of warning/error messages when GError is NULL.
23894 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
23896 * docs/gst/Makefile.am:
23897 * docs/gst/gstreamer-docs.sgml:
23898 * docs/gst/gstreamer-sections.txt:
23899 * docs/gst/gstreamer.types:
23900 * docs/gst/tmpl/gstbasesink.sgml:
23901 * docs/gst/tmpl/gstbasesrc.sgml:
23902 * docs/gst/tmpl/gstbin.sgml:
23903 * docs/gst/tmpl/gstcompat.sgml:
23904 * docs/gst/tmpl/gstfakesink.sgml:
23905 * docs/gst/tmpl/gstfakesrc.sgml:
23906 * docs/gst/tmpl/gstfilesink.sgml:
23907 * docs/gst/tmpl/gstfilesrc.sgml:
23908 * docs/gst/tmpl/gstindex.sgml:
23909 * docs/manual/appendix-quotes.xml:
23910 * gst/base/gstbasesrc.h:
23911 * gst/elements/gstfakesrc.h:
23912 * gst/gstmessage.h:
23913 start pulling in base classes and elements in our docs
23915 2005-06-24 Stefan Kost <ensonic@users.sf.net>
23917 * docs/gst/Makefile.am:
23918 * docs/libs/Makefile.am:
23919 fixed make distcheck with gtk-doc 1.3
23921 2005-06-23 Wim Taymans <wim@fluendo.com>
23923 * gst/gstelement.c: (gst_element_get_state_func),
23924 (gst_element_set_state), (gst_element_change_state):
23925 When the state did not change, also report NO_PREROLL
23928 2005-06-23 Wim Taymans <wim@fluendo.com>
23930 * gst/gstpad.c: (gst_pad_event_default):
23931 * gst/gstqueue.c: (gst_queue_loop):
23932 No unsafe task pausing please.
23934 2005-06-23 Wim Taymans <wim@fluendo.com>
23936 * gst/schedulers/threadscheduler.c:
23937 (gst_thread_scheduler_task_start),
23938 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23939 Ref the task before pushing it on the threadpool. This
23940 makes sure that we have a ref when the threadfunction is
23943 2005-06-23 Andy Wingo <wingo@pobox.com>
23945 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23946 offset is greater than the file's size.
23948 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
23949 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23950 * gst/gstobject.c (gst_object_class_init): Make the class lock
23951 recursive. Wim won't let me drop deep_notify. Decodebin works
23952 again, whoopdy doo.
23954 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23955 internal pad, and hacks accordingly. Doesn't do it on the target
23956 pad because we change its caps. Probably catches all cases of
23958 (gst_ghost_pad_set_property): Connect to notify::caps as
23961 * tests/network-clock.scm (plot-simulation): Pipe data to the
23962 elite python skript.
23964 * tests/network-clock-utils.scm (define-parameter): New macro,
23965 defines a parameter that can be set via the command line.
23966 (set-parameter!, parse-parameter-arguments): Command line args
23969 * tests/plot-data: Simple matplotlib-based plotter, takes input on
23972 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
23974 * gst/elements/gsttypefindelement.c:
23975 (gst_type_find_element_handle_event):
23976 Don't restart typefinding on a discont.
23977 * gst/gstelement.c: (gst_element_set_state):
23978 Debug spelling fix.
23979 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23980 Allow changing mode of an active pad.
23981 Debug output fixes.
23982 * gst/registries/gstlibxmlregistry.c: (load_feature):
23983 Don't cast a static pad template to a normal pad template.
23985 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
23987 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23988 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23989 remove gst_strtoll completely, since it didn't actually do
23990 anything more than what g_ascii_strtoull already does.
23991 check for range errors when deserializing
23992 do a cast for the unsigned cases; but further fixing needs
23993 a decision on what the interpretation of "(int)" and
23994 deserialization should be for values that fall outside the
23995 type's boundaries (ie, refuse, or interpret as casting)
23997 2005-06-23 Wim Taymans <wim@fluendo.com>
23999 * check/Makefile.am:
24000 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
24001 * docs/design/part-live-source.txt:
24002 * docs/design/part-states.txt:
24003 * gst/base/gstbasesrc.c: (gst_basesrc_init),
24004 (gst_basesrc_set_live), (gst_basesrc_is_live),
24005 (gst_basesrc_get_range), (gst_basesrc_activate),
24006 (gst_basesrc_change_state):
24007 * gst/base/gstbasesrc.h:
24008 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24009 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24010 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
24011 * gst/gstelement.c: (gst_element_get_state_func),
24012 (gst_element_set_state):
24013 * gst/gstelement.h:
24015 * tools/gst-launch.c: (event_loop), (main):
24016 Added support for live sources and other elements that
24018 Updated design docs, added live-source design doc.
24019 Implemented live source functionality in basesrc
24020 Fix error condition in _bin_get_state()
24021 Implement live source handling in -launch.
24022 Added check for live sources.
24023 Fixed case in GstBin where elements were changed state
24027 2005-06-23 Andy Wingo <wingo@pobox.com>
24029 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
24030 borken refcounting.
24032 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
24033 gst_caps_replace takes care of this for us.
24035 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
24036 gst_pad_set_caps on the target, not just its setcaps() function.
24038 * tests/network-clock.scm:
24039 * tests/network-clock-utils.scm: A network clock simulator.
24040 Something of an algorithmic testbed before doing something in C.
24042 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
24044 * check/Makefile.am:
24045 * check/gst/capslist.h:
24046 copy over from 0.8, and add two with bitmasks specified with
24048 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
24049 add test to parse everything from capslist.h
24050 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
24052 add test for structure deserialization
24053 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24054 add tests for deserialization of strings to int types
24055 * gst/gststructure.c: (gst_structure_nth_field_name):
24056 * gst/gststructure.h:
24057 add a way to get the name of a field referenced by index
24058 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
24059 instead of checking if the resulting long long lies between
24060 min and max, we check if the long long would fit into
24061 a number of bytes for the final type.
24062 This fixes cases where a string represents 2^32 - 1, which
24063 when cast to int would be the (valid) -1, but is bigger than
24066 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
24068 * gst/parse/grammar.y:
24069 add a log line for type deserialization
24071 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
24073 * check/gst/gstvalue.c: (START_TEST):
24074 * gst/gstvalue.c: (gst_value_deserialize):
24075 return long long, not int, so gint64 deserialization actually
24076 works. Is there any flag that makes the compiler check this ?
24079 2005-06-22 Wim Taymans <wim@fluendo.com>
24082 Added convenience macros for setting buffers in GValue.
24084 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
24086 * check/gst/.cvsignore:
24087 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24088 add a test deserializing int64, and comment part out because
24091 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
24093 * check/Makefile.am:
24094 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
24095 * testsuite/Makefile.am:
24096 * testsuite/caps/Makefile.am:
24097 * testsuite/caps/value_serialize.c:
24098 * testsuite/test_gst_init.c:
24099 move a value_serialize test over
24101 2005-06-20 Wim Taymans <wim@fluendo.com>
24106 * gst/gstvalue.c: (gst_value_compare_buffer),
24107 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
24108 (gst_value_compare_flags), (gst_value_serialize_flags),
24109 (gst_value_deserialize_flags), (_gst_value_initialize):
24110 Fix serialisation of buffers, they are not boxed types anymore
24112 2005-06-20 Wim Taymans <wim@fluendo.com>
24114 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
24115 Testcase to show error in buffer-on-caps serialisation.
24117 2005-06-20 Andy Wingo <wingo@pobox.com>
24119 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
24120 will be adding to later.
24122 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
24123 if its socks fill with rocks.
24124 (gst_system_clock_obtain): Set the name on object construction.
24125 Avoid double-checked locking.
24127 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
24129 * gst/gsturi.c: (gst_element_make_from_uri):
24130 Fix potential endless loop.
24132 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24134 * check/Makefile.am:
24136 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
24138 move over from testsuite dir and clean up
24141 * testsuite/Makefile.am:
24142 * testsuite/tags/.cvsignore:
24143 * testsuite/tags/Makefile.am:
24144 * testsuite/tags/merge.c:
24145 remove testsuite/tags
24147 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24149 * docs/gst/gstreamer-sections.txt:
24150 * docs/gst/tmpl/gstenumtypes.sgml:
24151 * win32/gstenumtypes.c:
24152 clean up documentation build a little
24154 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24156 * check/gstcheck.h:
24157 add macros for checking refcounts on objects and caps
24158 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
24159 add some more unit tests
24160 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
24161 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
24162 fix leaked refcounts (I hope :)) so unittest works
24166 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24168 * configure.ac: back to HEAD
24170 === release 0.9.1 ===
24172 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
24178 2005-06-17 Andy Wingo <wingo@pobox.com>
24180 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
24181 assert; it's always possible that the pad gets deactivated in
24182 between the checks in gstpad.c and the implementation. Rely on
24183 finish_preroll() to return a FLUSHING or similar instead of on the
24186 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
24187 clock and post an EOS message if we come out of finish_preroll in
24190 2005-06-16 David Schleef <ds@schleef.org>
24192 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
24193 (gst_capsfilter_set_property): Allow NULL as possible value
24194 for filter_caps property, indicating GST_CAPS_ANY.
24196 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
24198 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
24200 * gst/schedulers/Makefile.am:
24202 * gstreamer.spec.in:
24205 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
24207 * gstreamer.spec.in:
24210 2005-06-08 Andy Wingo <wingo@pobox.com>
24212 * gst/gstutils.c: RPAD fixes all around.
24213 (gst_element_link_pads): Refcounting fixes.
24215 * tools/gst-inspect.c:
24216 * tools/gst-xmlinspect.c:
24218 * gst/base/gsttypefindhelper.c:
24219 * gst/base/gstbasesink.c:
24220 * gst/gstqueue.c: RPAD fixes.
24222 * gst/gstghostpad.h:
24223 * gst/gstghostpad.c: New ghost pad implementation as full proxy
24224 pads. The tricky thing is they provide both source and sink
24225 interfaces, since they proxy the internal pad for the external
24226 pad, and vice versa. Implement with lower-level ProxyPad objects,
24227 with the interior proxy pad as a child of the exterior ghost pad.
24228 Should write a doc on this.
24230 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
24231 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
24234 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
24235 pads are real pads. No ghost pads in this file. Not documenting
24236 the myriad s/RPAD/PAD/ and REALIZE fixes.
24237 (gst_pad_class_init): Add properties for "direction" and
24238 "template". Both are construct-only, so they can't change during
24239 the life of the pad. Fixes properly deriving from GstPad.
24240 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
24241 derived objects, just set properties when creating the objects via
24243 (gst_pad_get_parent): Implement as a function, return NULL if the
24244 parent is not an element.
24245 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
24246 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
24248 * gst/gstobject.c (gst_object_class_init): Make name a construct
24249 property. Don't set it in the object init.
24251 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
24252 with UNKNOWN direction.
24253 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
24254 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
24255 (gst_element_remove_pad): Remove ghost-pad special cases.
24256 (gst_element_pads_activate): Remove rpad cruft.
24258 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
24259 catch the pad's-parent-not-an-element case.
24261 * gst/gst.h: Include gstghostpad.h.
24263 * gst/gst.c (init_post): No more real, ghost pads.
24265 * gst/Makefile.am: Add gstghostpad.[ch].
24267 * check/Makefile.am:
24268 * check/gst/gstbin.c:
24269 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
24270 into a bin creates ghost pads, and that the refcounts are right.
24271 Partly moved from gstbin.c.
24273 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
24275 * check/gst-libs/.cvsignore:
24276 * check/gst/.cvsignore:
24277 * check/pipelines/.cvsignore:
24279 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
24280 (START_TEST), (cleanup_suite), (main):
24281 add some tests related to cleanup after running pipelines
24283 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
24285 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
24286 add a testsuite for GstBuffer
24288 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
24290 * gst/gstminiobject.h:
24291 add defines for accessing the refcount
24293 2005-06-03 Stefan Kost <ensonic@users.sf.net>
24295 * Makefile.am: added support for html unit test coverage reports
24297 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
24299 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24300 Free existing caps if the capsfilter changes. Add a FIXME about
24301 setting those caps on the pads.
24303 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
24304 Before adding a ghost pad to a parent bin, check that there isn't
24305 already one for the element on the bin. Prevents infinite recursion
24306 when using decodebin in parse pipelines. Andy says he'll rewrite the
24307 way this works anyway, so ignore the hack.
24309 2005-06-02 Andy Wingo <wingo@pobox.com>
24311 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
24312 file size, pass it on to the type find helper.
24314 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
24315 segment_start and segment_end properly according to the seek
24316 method. Segment_end is still a bit flaky because offset can be
24317 negative for CUR and END cases, but it takes -1 as an "unset"
24320 2005-06-02 Wim Taymans <wim@fluendo.com>
24322 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
24323 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
24324 (gst_basesink_activate):
24325 * gst/base/gstbasesink.h:
24326 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24327 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24328 (gst_pad_query), (gst_pad_start_task):
24330 * gst/gstqueue.c: (gst_queue_bufferalloc),
24331 (gst_queue_handle_sink_event), (gst_queue_chain):
24332 Bufferalloc: return GstFlowReturn to more accuratly report
24333 why allocation failed.
24335 2005-06-02 Wim Taymans <wim@fluendo.com>
24337 * gst/gstpipeline.c: (gst_pipeline_send_event):
24338 Take snapshot of state without blocking.
24340 2005-06-02 Wim Taymans <wim@fluendo.com>
24342 * docs/design/part-TODO.txt:
24343 * docs/design/part-caps.txt:
24344 * docs/design/part-clocks.txt:
24345 * docs/design/part-negotiation.txt:
24346 * docs/design/part-preroll.txt:
24349 2005-05-30 Wim Taymans <wim@fluendo.com>
24351 * gst/elements/gstidentity.c: (gst_identity_event),
24352 (gst_identity_transform), (gst_identity_get_property):
24353 Protect last_message property as it is accessed from
24356 2005-05-30 Wim Taymans <wim@fluendo.com>
24358 * gst/gstelement.c: (gst_element_init),
24359 (gst_element_pads_activate), (gst_element_change_state):
24360 Slicker pad activation code.
24362 2005-05-30 Wim Taymans <wim@fluendo.com>
24365 * gst/gstelement.h:
24366 * gst/gstelementfactory.h:
24368 Move elementfactory methods to separate .h file.
24370 2005-05-30 Wim Taymans <wim@fluendo.com>
24372 * docs/design/part-overview.txt:
24373 * gst/gstsystemclock.h:
24374 Small typo fixes, doc updates.
24376 2005-05-30 Wim Taymans <wim@fluendo.com>
24378 * gst/gst.c: (gst_init_get_popt_table), (init_post),
24379 (init_popt_callback):
24380 Remove cpu-opt flag.
24382 2005-05-30 Wim Taymans <wim@fluendo.com>
24384 * gst/gstbuffer.c: (gst_subbuffer_finalize),
24385 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
24387 Avoid typechecking in places where not needed.
24388 Added accessor for malloc_data.
24390 2005-05-30 Wim Taymans <wim@fluendo.com>
24392 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
24393 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
24394 (gst_pad_configure_sink), (gst_pad_configure_src),
24395 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
24396 (gst_pad_start_task):
24397 Propagate errors from _set_caps() in configure_src/sink
24398 functions instead of returning TRUE.
24399 FLUSH events can travel up and downstream
24402 2005-05-30 Wim Taymans <wim@fluendo.com>
24404 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24405 (gst_basesink_activate):
24406 Handle EOS in preroll.
24408 2005-05-30 Wim Taymans <wim@fluendo.com>
24410 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24411 (gst_queue_loop), (gst_queue_handle_src_event):
24412 Remove old pieces of code
24413 Flushing the queue in an upstream event is a very bad idea.
24415 2005-05-26 Andy Wingo <wingo@pobox.com>
24417 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
24418 gst_value_set_mini_object so as to add a ref on the object (which
24419 will be removed when the value is unset).
24421 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
24422 arg type in ::handoff.
24424 * gst/gstelement.c (gst_element_change_state): Also deactivate
24425 pads in READY->NULL, just in case the element didn't make it to
24426 PAUSED. Wingo tested, Wim approved.
24428 2005-05-26 Wim Taymans <wim@fluendo.com>
24430 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24431 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24432 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
24433 A flushing pad cannot be used to alloc_buffer from.
24435 2005-05-26 Wim Taymans <wim@fluendo.com>
24437 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
24438 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
24439 (gst_bus_source_dispatch), (gst_bus_source_finalize),
24440 (gst_bus_create_watch), (gst_bus_add_watch_full):
24442 Implement a real GSource and use g_main_context_wakeup() to
24443 signal new messages instead of the socketpair.
24445 2005-05-25 Wim Taymans <wim@fluendo.com>
24447 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24448 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24449 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24450 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24451 (gst_pad_send_event), (gst_pad_start_task):
24452 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24453 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24454 (gst_queue_sink_activate), (gst_queue_src_activate),
24455 (gst_queue_change_state):
24457 Fix state changes for non sinks. We now change sinks, then elements
24458 with unconnected srcpads, then the rest.
24459 More efficient queue unlocking in flush and state changes.
24460 Set the pad activate mode even if it does not have an activate
24463 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24465 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24466 Don't go in pull mode for non-seekable sources.
24467 * gst/elements/gsttypefindelement.h:
24468 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24469 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24470 (free_entry), (stop_typefinding),
24471 (gst_type_find_element_handle_event), (find_peek),
24472 (gst_type_find_element_chain), (do_pull_typefind),
24473 (gst_type_find_element_change_state):
24474 Allow typefinding (w/o seeking) in push-mode, simplified version
24475 of what was in 0.8.
24476 * gst/gstutils.c: (gst_buffer_join):
24478 gst_buffer_join() from 0.8.
24480 2005-05-25 Wim Taymans <wim@fluendo.com>
24482 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24483 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24484 (gst_pad_send_event), (gst_pad_start_task):
24485 Disable attempt at mode switching until it is figured out.
24487 2005-05-25 Wim Taymans <wim@fluendo.com>
24489 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24490 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24491 (gst_basesink_finish_preroll), (gst_basesink_chain),
24492 (gst_basesink_loop), (gst_basesink_activate),
24493 (gst_basesink_change_state):
24494 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24495 (gst_basesrc_get_range), (gst_basesrc_loop),
24496 (gst_basesrc_activate):
24497 * gst/elements/gsttee.c: (gst_tee_sink_activate):
24498 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24499 (gst_real_pad_init), (gst_real_pad_set_property),
24500 (gst_real_pad_get_property), (gst_pad_set_active),
24501 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24502 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24503 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
24504 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
24505 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24506 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
24507 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
24508 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24509 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
24510 (gst_pad_stop_task):
24512 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24513 (gst_queue_loop), (gst_queue_src_activate):
24514 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
24515 (gst_task_get_state):
24517 * gst/schedulers/threadscheduler.c:
24518 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
24519 Implement gst_pad_pause/start/stop_task(), take STREAM lock
24521 Remove ACTIVE pad flag, use FLUSHING everywhere
24522 Added _pad_chain(), _pad_get_range() to call chain/getrange
24524 Add locks around IS_FLUSHING when reading.
24525 Take STREAM lock in chain(), get_range() functions so plugins
24526 don't need to take it anymore.
24530 2005-05-25 Wim Taymans <wim@fluendo.com>
24532 * tools/gst-launch.c: (event_loop):
24533 Unref message after using its contents instead of
24536 2005-05-24 Wim Taymans <wim@fluendo.com>
24538 * docs/design/draft-ghostpads.txt:
24539 * docs/design/draft-push-pull.txt:
24540 * docs/design/draft-query.txt:
24541 * docs/design/part-overview.txt:
24542 Docs updates, added general overview doc.
24544 2005-05-21 David Schleef <ds@schleef.org>
24546 * docs/gst/tmpl/old/GstBin.sgml:
24547 * docs/gst/tmpl/old/GstBuffer.sgml:
24548 * docs/gst/tmpl/old/GstCaps.sgml:
24549 * docs/gst/tmpl/old/GstClock.sgml:
24550 * docs/gst/tmpl/old/GstCompat.sgml:
24551 * docs/gst/tmpl/old/GstData.sgml:
24552 * docs/gst/tmpl/old/GstElement.sgml:
24553 * docs/gst/tmpl/old/GstEvent.sgml:
24554 * docs/gst/tmpl/old/GstIndex.sgml:
24555 * docs/gst/tmpl/old/GstStructure.sgml:
24556 * docs/gst/tmpl/old/GstTag.sgml:
24557 * docs/gst/tmpl/old/cothreads.sgml:
24558 * docs/gst/tmpl/old/cothreads_compat.sgml:
24559 * docs/gst/tmpl/old/gettext.sgml:
24560 * docs/gst/tmpl/old/gobject2gtk.sgml:
24561 * docs/gst/tmpl/old/grammar.tab.sgml:
24562 * docs/gst/tmpl/old/gst-i18n-app.sgml:
24563 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24564 * docs/gst/tmpl/old/gst_private.sgml:
24565 * docs/gst/tmpl/old/gstaggregator.sgml:
24566 * docs/gst/tmpl/old/gstarch.sgml:
24567 * docs/gst/tmpl/old/gstatomic_impl.sgml:
24568 * docs/gst/tmpl/old/gstbufferstore.sgml:
24569 * docs/gst/tmpl/old/gstdata_private.sgml:
24570 * docs/gst/tmpl/old/gstdisksink.sgml:
24571 * docs/gst/tmpl/old/gstdisksrc.sgml:
24572 * docs/gst/tmpl/old/gstelementfactory.sgml:
24573 * docs/gst/tmpl/old/gstextratypes.sgml:
24574 * docs/gst/tmpl/old/gstfakesink.sgml:
24575 * docs/gst/tmpl/old/gstfakesrc.sgml:
24576 * docs/gst/tmpl/old/gstfdsink.sgml:
24577 * docs/gst/tmpl/old/gstfdsrc.sgml:
24578 * docs/gst/tmpl/old/gstfilesink.sgml:
24579 * docs/gst/tmpl/old/gstfilesrc.sgml:
24580 * docs/gst/tmpl/old/gsthttpsrc.sgml:
24581 * docs/gst/tmpl/old/gstidentity.sgml:
24582 * docs/gst/tmpl/old/gstindexfactory.sgml:
24583 * docs/gst/tmpl/old/gstmarshal.sgml:
24584 * docs/gst/tmpl/old/gstmd5sink.sgml:
24585 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24586 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24587 * docs/gst/tmpl/old/gstpadtemplate.sgml:
24588 * docs/gst/tmpl/old/gstpipefilter.sgml:
24589 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24590 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24591 * docs/gst/tmpl/old/gstshaper.sgml:
24592 * docs/gst/tmpl/old/gstspider.sgml:
24593 * docs/gst/tmpl/old/gstspideridentity.sgml:
24594 * docs/gst/tmpl/old/gststatistics.sgml:
24595 * docs/gst/tmpl/old/gsttee.sgml:
24596 * docs/gst/tmpl/old/gsttimecache.sgml:
24597 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24598 * docs/gst/tmpl/old/gstxmlregistry.sgml:
24599 * docs/gst/tmpl/old/gthread-cothreads.sgml:
24600 * docs/gst/tmpl/old/types.sgml:
24601 I didn't intend to add these or check them in.
24603 2005-05-19 David Schleef <ds@schleef.org>
24605 * configure.ac: Use -no-common everywhere. In a sane world, it
24606 would be the default in libtool, because without it, you can't
24607 build DLLs on Windows.
24608 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24609 * docs/gst/gstreamer-sections.txt:
24610 * docs/gst/tmpl/gstcpu.sgml:
24611 * docs/gst/tmpl/gstdata.sgml:
24612 * docs/gst/tmpl/gstthread.sgml:
24614 2005-05-19 David Schleef <ds@schleef.org>
24616 * gst/gstminiobject.c: (gst_value_set_mini_object),
24617 (gst_value_take_mini_object), (gst_value_get_mini_object):
24618 * gst/gstminiobject.h: Add GValue set/get functions.
24620 2005-05-19 Wim Taymans <wim@fluendo.com>
24622 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24623 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24624 (gst_subbuffer_init), (gst_buffer_is_span_fast):
24626 * gst/gstbus.c: (gst_bus_post):
24627 * gst/gstelement.c: (gst_element_get_random_pad):
24628 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24629 Make subbufer unref the parent in finalize.
24630 some more debugging info.
24633 2005-05-19 Wim Taymans <wim@fluendo.com>
24635 * gst/base/gstbasesink.c: (gst_basesink_class_init),
24636 (gst_basesink_init), (gst_basesink_finalize),
24637 (gst_basesink_activate), (gst_basesink_change_state):
24638 Don't free preroll queue too early.
24640 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24644 Hi, I'm outdated. Please shoot me.
24646 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24648 * gst/gstpipeline.c: (gst_pipeline_send_event):
24649 Do not access variables after they have been deleted.
24651 2005-05-19 Wim Taymans <wim@fluendo.com>
24653 * tools/gst-inspect.c: (print_plugin_features):
24654 A plugin feature does unfortunatly not use the
24657 2005-05-18 Wim Taymans <wim@fluendo.com>
24659 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24660 Port _span() functions to new subbuffers.
24662 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24664 * gst/gstbin.c: (gst_bin_add_func):
24665 Fix clock settery in bins when adding kids after the clock has
24668 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24670 * gst/elements/gstidentity.c: (gst_identity_class_init):
24671 Workaround until signals support GstMiniObject.
24673 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
24676 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24678 2005-05-18 Wim Taymans <wim@fluendo.com>
24680 * gst/base/Makefile.am:
24681 * gst/base/gstadapter.c: (gst_adapter_base_init),
24682 (gst_adapter_class_init), (gst_adapter_init),
24683 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24684 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24685 (gst_adapter_flush), (gst_adapter_available),
24686 (gst_adapter_available_fast):
24687 * gst/base/gstadapter.h:
24688 Ported and added adapter to the base classes.
24690 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
24693 * gst/gstmessage.c:
24694 Make sure the class is reffed/unreffed once before threads can be
24695 used. Fixes #304551.
24697 2005-05-17 Wim Taymans <wim@fluendo.com>
24699 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24700 (gst_basesink_chain_unlocked), (gst_basesink_activate):
24701 * gst/gstminiobject.c: (gst_mini_object_get_type),
24702 (gst_mini_object_free):
24703 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24704 (gst_pad_push), (gst_pad_push_event):
24705 * gst/gstqueue.c: (gst_queue_change_state):
24706 Don't queue buffers in basesink when we are flushing.
24707 Unref buffer when flushing in basesink.
24708 Flush queue when going to READY
24709 Unref buffer when _push() returns an error.
24710 Don't free MiniObject instance when refcount is incremented
24711 in _finalize() so that we can recover objects.
24713 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
24715 * docs/manual/advanced-schedulers.xml:
24716 * docs/manual/appendix-checklist.xml:
24717 * docs/pwg/advanced-clock.xml:
24718 * docs/pwg/advanced-interfaces.xml:
24719 * docs/pwg/advanced-request.xml:
24720 * docs/pwg/advanced-types.xml:
24721 * docs/pwg/intro-preface.xml:
24722 * examples/plugins/example.c: (gst_example_get_type),
24723 (gst_example_class_init), (gst_example_chain),
24724 (gst_example_set_property), (gst_example_get_property),
24725 (gst_example_change_state), (plugin_init):
24726 * examples/plugins/example.h:
24729 2005-05-17 Wim Taymans <wim@fluendo.com>
24731 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24732 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24733 * gst/gstqueue.c: (gst_queue_change_state):
24734 Clear queue when going to READY.
24735 Remove IN_SETCAPS flag too.
24737 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
24739 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24740 Remove implicit cast from gboolean to GstElementStateReturn;
24741 make sure we still return failure in paused => ready case if
24742 the parent class fails to change state and our own stop
24745 2005-05-17 Wim Taymans <wim@fluendo.com>
24747 * tools/gst-launch.c: (event_loop):
24748 Message was unreffed too soon.
24750 2005-05-16 Andy Wingo <wingo@pobox.com>
24752 * gst/gstbin.c (sink_iterator_filter): Err... um...
24754 * check/gst/gstbin.c (test_ghost_pads): New test for the
24755 ghosting-if-elements-not-in-same-bin behavior.
24757 2005-05-16 David Schleef <ds@schleef.org>
24759 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24760 accessing refcount directly.
24762 2005-05-15 David Schleef <ds@schleef.org>
24764 * check/Makefile.am: remove GstData checks
24765 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24766 * gst/Makefile.am: add miniobject, remove data
24767 * gst/gst.h: add miniobject, remove data
24768 * gst/gstdata.c: remove
24769 * gst/gstdata.h: remove
24770 * gst/gstdata_private.h: remove
24771 * gst/gsttypes.h: remove GstEvent and GstMessage
24772 * gst/gstelement.c: (gst_element_post_message): fix for API changes
24773 * gst/gstmarshal.list: change BOXED -> OBJECT
24775 Implement GstMiniObject.
24776 * gst/gstminiobject.c:
24777 * gst/gstminiobject.h:
24779 Modify to be subclasses of GstMiniObject.
24780 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24781 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24782 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24783 (gst_subbuffer_get_type), (gst_subbuffer_init),
24784 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24787 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24788 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24789 (_gst_event_copy), (gst_event_new):
24791 * gst/gstmessage.c: (_gst_message_initialize),
24792 (gst_message_get_type), (gst_message_class_init),
24793 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
24794 (gst_message_new), (gst_message_new_error),
24795 (gst_message_new_warning), (gst_message_new_tag),
24796 (gst_message_new_state_changed), (gst_message_new_application):
24797 * gst/gstmessage.h:
24798 * gst/gstprobe.c: (gst_probe_perform),
24799 (gst_probe_dispatcher_dispatch):
24801 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
24802 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
24803 (_gst_query_copy), (gst_query_new):
24805 Update elements for GstData -> GstMiniObject changes
24807 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
24808 (gst_queue_chain), (gst_queue_loop):
24809 * gst/elements/gstbufferstore.c:
24810 (gst_buffer_store_add_buffer_func),
24811 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
24812 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24813 (gst_fakesink_render):
24814 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24815 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
24816 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
24817 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
24818 (gst_filesrc_create_read):
24819 * gst/elements/gstidentity.c: (gst_identity_class_init):
24820 * gst/elements/gsttypefindelement.c:
24821 (gst_type_find_element_src_event), (free_entry_buffers),
24822 (gst_type_find_element_handle_event):
24823 * libs/gst/dataprotocol/dataprotocol.c:
24824 (gst_dp_header_from_buffer):
24825 * libs/gst/dataprotocol/dataprotocol.h:
24826 * libs/gst/dataprotocol/dp-private.h:
24828 2005-05-15 David Schleef <ds@schleef.org>
24830 * gst/elements/gstelements.c: Don't include headers that were
24833 2005-05-15 David Schleef <ds@schleef.org>
24835 * gst/elements/Makefile.am: Remove some elements that don't
24836 need to be in the core (or even exist at all).
24837 * gst/elements/gstaggregator.c:
24838 * gst/elements/gstaggregator.h:
24839 * gst/elements/gstmd5sink.c:
24840 * gst/elements/gstmd5sink.h:
24841 * gst/elements/gstmultifilesrc.c:
24842 * gst/elements/gstmultifilesrc.h:
24843 * gst/elements/gstpipefilter.c:
24844 * gst/elements/gstpipefilter.h:
24845 * gst/elements/gstshaper.c:
24846 * gst/elements/gstshaper.h:
24847 * gst/elements/gststatistics.c:
24848 * gst/elements/gststatistics.h:
24849 * po/POTFILES.in: Remove above files.
24851 2005-05-14 Andy Wingo <wingo@pobox.com>
24853 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
24854 so as to get the refs right.
24855 (sink_iterator_filter): New function, wraps bin_element_is_sink,
24856 unreffing objects that don't pass the filter.
24858 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
24859 gst_element_set_bus.
24860 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
24861 normal cases, this will destroy the bus.
24863 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
24866 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
24869 2005-05-13 Andy Wingo <wingo@pobox.com>
24871 * gst/gstutils.c (gst_element_link_pads): Instead of calling
24872 gst_pad_link, call pad_link_maybe_ghosting,
24873 (pad_link_maybe_ghosting): Links pads, making sure that the
24874 elements being linked are in the same bin.
24875 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24876 Helpers for pad_link_maybe_ghosting.
24878 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
24881 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24883 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
24885 * docs/design/part-element-source.txt:
24888 2005-05-12 Wim Taymans <wim@fluendo.com>
24890 * gst/base/gstbasesink.c: (gst_basesink_init),
24891 (gst_basesink_activate):
24892 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24893 (gst_basesrc_is_seekable):
24894 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24895 (bin_element_is_sink), (gst_bin_change_state):
24896 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24897 * gst/gstelement.h:
24898 Identify sinks by their flag to avoid overly complicated
24900 Do state changes even for elements not reachable from the
24902 BaseSink is a sink now :)
24903 Some more debugging info in the basesrc.
24906 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24908 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24909 Implement _query on a bin, similar to _send_event.
24911 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
24913 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24914 Discont event offset format should be GST_FORMAT_BYTES,
24915 not GST_FORMAT_TIME.
24917 2005-05-12 Wim Taymans <wim@fluendo.com>
24919 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24920 Same fix as Ronald's but without the signal.
24922 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24924 * gst/gstutils.c: (gst_element_query_position):
24925 No, an element is not a pad.
24927 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24929 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24930 (gst_bin_get_state):
24931 If a child is removed from a bin while we remove the child from
24932 the bin and while we're retrieving its state, signal this to the
24933 get_state function so we abort the wait (instead of waiting for
24934 a timeout) and can immediately re-iterate over all other elements.
24936 2005-05-12 Wim Taymans <wim@fluendo.com>
24938 * gst/base/Makefile.am:
24939 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24940 (gst_basesrc_start):
24941 * gst/base/gstbasesrc.h:
24942 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24943 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24944 (gst_pushsrc_init), (gst_pushsrc_create):
24945 * gst/base/gstpushsrc.h:
24946 Added is_seekable to BaseSrc
24947 Added simple PushSrc.
24949 2005-05-11 Wim Taymans <wim@fluendo.com>
24951 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24952 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24953 (gst_element_link_pads), (gst_element_query_position),
24954 (gst_element_query_convert), (intersect_caps_func),
24955 (gst_pad_query_position), (gst_pad_query_convert):
24956 Fix refcounting in utils function.
24957 No point in trying to activate a pad when it's added, it could
24958 be added from the state change function and then we deadlock, the
24959 element has to decide what to do.
24961 2005-05-10 Andy Wingo <wingo@pobox.com>
24963 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24964 *all* the arguments.
24966 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24967 stream lock if it's a FLUSH_DONE; normal flushes don't get the
24968 lock (according to the docs -- if this is wrong change the docs).
24970 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24971 flush messages in the NULL state.
24973 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24974 message immediately and return.
24975 (gst_bus_set_flushing): New function. If a bus is flushing, it
24976 flushes out any queued messages and immediately unrefs new
24977 messages. This is so when an element goes to NULL, all of the
24978 unhandled messages coming from it can be freed, and their
24979 references to the element dropped. In other words: message source
24980 ref considered harmful :P
24982 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24983 we're finished with it.
24985 * gst/gstmessage.c (gst_message_new_state_changed):
24987 2005-05-10 Wim Taymans <wim@fluendo.com>
24989 * gst/gstvalue.c: (gst_value_compare_flags),
24990 (gst_value_serialize_flags), (gst_value_deserialize_flags),
24991 (_gst_value_initialize):
24992 Added flags serialize/deserialize/compare code.
24994 2005-05-09 Andy Wingo <wingo@pobox.com>
24996 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24997 Intersect the peer's caps with our caps.
24999 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25001 * gst/base/gsttypefindhelper.c: (helper_find_peek):
25002 * gst/elements/gsttypefindelement.c: (find_peek):
25003 Handle negative offsets better. Fixes decodebin.
25005 2005-05-09 Wim Taymans <wim@fluendo.com>
25007 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
25008 (gst_base_transform_event):
25009 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
25010 Implement accept_caps.
25011 Fix silly lock/unlock mismatch in base class.
25013 2005-05-09 Wim Taymans <wim@fluendo.com>
25015 * docs/design/draft-push-pull.txt:
25016 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
25017 * gst/elements/gstfilesink.c: (gst_filesink_init),
25018 (gst_filesink_query):
25019 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
25020 (gst_type_find_handle_src_query), (find_element_get_length):
25021 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
25022 * gst/gstelement.h:
25023 * gst/gstmessage.c:
25024 * gst/gstmessage.h:
25025 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
25026 (gst_real_pad_get_caps_unlocked),
25027 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
25028 (gst_pad_event_default_dispatch), (gst_pad_event_default),
25029 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
25030 (gst_real_pad_dispose), (gst_real_pad_finalize),
25031 (gst_pad_load_and_link), (gst_pad_save_thyself),
25032 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
25033 (gst_pad_check_pull_range), (gst_pad_pull_range),
25034 (gst_pad_template_get_type), (gst_pad_template_class_init),
25035 (gst_pad_template_init), (gst_pad_template_dispose),
25036 (name_is_valid), (gst_static_pad_template_get),
25037 (gst_pad_template_new), (gst_static_pad_template_get_caps),
25038 (gst_pad_template_get_caps), (gst_pad_set_element_private),
25039 (gst_pad_get_element_private), (gst_pad_start_task),
25040 (gst_pad_pause_task), (gst_pad_stop_task),
25041 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
25042 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
25043 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
25044 (gst_ghost_pad_new):
25046 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
25047 (gst_query_new_position), (gst_query_set_position),
25048 (gst_query_parse_position), (gst_query_new_convert),
25049 (gst_query_set_convert), (gst_query_parse_convert):
25051 * gst/gstqueryutils.c:
25052 * gst/gstqueryutils.h:
25053 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25054 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25055 (gst_queue_handle_src_query):
25056 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25057 (gst_element_query_position), (gst_element_query_convert),
25058 (intersect_caps_func), (gst_pad_query_position),
25059 (gst_pad_query_convert):
25061 * tools/gst-inspect.c: (print_pad_info):
25062 * tools/gst-xmlinspect.c: (print_element_info):
25063 Remove old query functions. Ported old code.
25064 Added position/convert helper functions to gstutils.
25065 Reordered gstpad.c code, grouping relevant things.
25066 Remove gst_message_new(), always need to speficy a specific
25070 2005-05-09 Andy Wingo <wingo@pobox.com>
25072 * gst/gstiterator.h: Add some includes.
25074 * gst/gstqueryutils.h: Include more headers.
25077 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
25078 some uses of gst_pad_query.
25080 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
25081 NULL out parameters.
25082 (gst_query_new_position): New proc, allocates a new position
25085 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
25086 gstqueryutils.c to the build.
25088 * gst/gststructure.c (gst_structure_set_valist): Implement with
25089 the generic G_VALUE_COLLECT.
25091 2005-05-08 Edward Hervey <bilboed@bilboed.com>
25093 * gst/Makefile.am: (gst_headers):
25094 Added gstqueryutils.h to the list of headers to install, that was
25095 a 'nachty' move wingo :)
25097 2005-05-06 Andy Wingo <wingo@pobox.com>
25100 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
25101 GstData, init a memchunk.
25102 (standard_definitions): Add a few query types, deprecate a few.
25103 (gst_query_get_type): New proc.
25104 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
25106 (gst_query_new_application, gst_query_get_structure): New public
25109 * docs/design/draft-query.txt: Removed LINKS from the query types,
25110 because all the rest can be dispatched to other pads -- seemed
25111 ugly to have a query that couldn't be dispatched. internal_links
25112 is fine as a pad method.
25114 * gst/gstpad.h: Add query2 as a pad method, add the new functions
25115 in gstpad.c, but maintain binary compatibility for the moment.
25116 Will fix before 0.9 is out.
25118 * gst/gstqueryutils.c:
25119 * gst/gstqueryutils.h: New files, implement 3 methods for each
25120 query type: parse_query, parse_response, and set. Probably need an
25123 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
25125 * gst/elements/gstfilesink.c (gst_filesink_query2):
25126 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
25127 query_types, and formats methods.
25129 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
25130 (gst_pad_set_query2_function): New functions.
25131 (gst_real_pad_init): Set query2_default as the default query2
25132 function. Basically just dispatches to internally linked pads.
25136 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
25137 without using the atomic operations. Only one thread can possibly
25138 be accessing the data at this point. Changed so as to avoid
25139 gst_atomic operations.
25141 2005-05-06 Wim Taymans <wim@fluendo.com>
25143 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
25144 Also set caps if we use the fallback buffer alloc.
25146 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
25148 * docs/gst/Makefile.am:
25149 * docs/gst/gstreamer-docs.sgml:
25150 * docs/gst/gstreamer-sections.txt:
25151 * docs/gst/tmpl/gstatomic.sgml:
25152 * docs/gst/tmpl/gstmemchunk.sgml:
25153 * testsuite/elements/struct_i386.h:
25154 * win32/GStreamer.vcproj:
25156 Purge GstAtomic stuff from docs and win32 makefiles as well
25158 2005-05-06 Wim Taymans <wim@fluendo.com>
25160 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
25161 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
25162 * gst/gstpad.c: (gst_pad_peer_get_caps):
25163 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25164 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25165 (gst_queue_src_activate), (gst_queue_change_state):
25167 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25168 (intersect_caps_func):
25169 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
25170 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
25171 Some fixes for the peer_get_caps() change.
25173 2005-05-06 Wim Taymans <wim@fluendo.com>
25175 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25176 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
25177 (gst_basesink_activate):
25178 Actually do something with error codes returned from the push
25181 2005-05-06 Wim Taymans <wim@fluendo.com>
25183 * docs/design/part-element-sink.txt:
25184 * docs/design/part-element-source.txt:
25185 * gst/base/gstbasesink.c: (gst_basesink_class_init),
25186 (gst_basesink_event), (gst_basesink_activate):
25187 * gst/base/gstbasesink.h:
25188 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
25189 (gst_basesrc_activate):
25190 * gst/base/gstbasesrc.h:
25191 * gst/gstelement.c: (gst_element_pads_activate):
25192 Some more documentation.
25193 Fixed scheduling decision in _pads_activate().
25195 2005-05-05 Andy Wingo <wingo@pobox.com>
25197 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
25200 2005-05-05 Wim Taymans <wim@fluendo.com>
25202 * gst/base/Makefile.am:
25203 * gst/base/gstbasesink.h:
25204 * gst/base/gstbasesrc.c: (gst_basesrc_init),
25205 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
25206 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
25207 (gst_collectpads_class_init), (gst_collectpads_init),
25208 (gst_collectpads_finalize), (gst_collectpads_new),
25209 (gst_collectpads_set_function), (gst_collectpads_add_pad),
25210 (find_pad), (gst_collectpads_remove_pad),
25211 (gst_collectpads_is_active), (gst_collectpads_collect),
25212 (gst_collectpads_collect_range), (gst_collectpads_start),
25213 (gst_collectpads_stop), (gst_collectpads_peek),
25214 (gst_collectpads_pop), (gst_collectpads_available),
25215 (gst_collectpads_read), (gst_collectpads_flush),
25216 (gst_collectpads_chain):
25217 * gst/base/gstcollectpads.h:
25218 * gst/elements/Makefile.am:
25219 * gst/elements/gstelements.c:
25220 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25221 (gst_fakesink_get_times), (gst_fakesink_event),
25222 (gst_fakesink_preroll), (gst_fakesink_render):
25223 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
25224 (gst_filesink_init), (gst_filesink_set_location),
25225 (gst_filesink_open_file), (gst_filesink_close_file),
25226 (gst_filesink_pad_query), (gst_filesink_event),
25227 (gst_filesink_render), (gst_filesink_change_state):
25228 * gst/elements/gstfilesink.h:
25229 Added object to help in making collect pad based elements.
25231 Make event function in sink baseclass return gboolean.
25233 2005-05-05 Wim Taymans <wim@fluendo.com>
25235 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
25236 (gst_bin_get_by_name):
25238 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
25239 (gst_clock_finalize):
25240 * gst/gstdata.c: (gst_data_replace):
25242 * gst/gstelement.c: (gst_element_request_pad),
25243 (gst_element_pads_activate):
25244 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
25245 (gst_object_unref):
25246 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25247 (gst_pad_set_checkgetrange_function),
25248 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
25249 (gst_pad_check_pull_range), (gst_pad_pull_range),
25250 (gst_static_pad_template_get_caps), (gst_pad_start_task),
25251 (gst_pad_pause_task), (gst_pad_stop_task):
25252 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25253 (gst_element_request_pad), (gst_pad_proxy_getcaps):
25254 Fix name lookup in GstBin.
25255 Added _data_replace() function and _buffer_replace()
25256 Use finalize method to clean up clock.
25257 Fix refcounting on request pads.
25258 Fix pad schedule mode error.
25259 Some more object refcounting debug info,
25262 2005-05-04 Andy Wingo <wingo@pobox.com>
25264 * check/Makefile.am:
25265 * docs/gst/tmpl/gstatomic.sgml:
25266 * docs/gst/tmpl/gstplugin.sgml:
25267 * gst/base/gstbasesink.c: (gst_basesink_activate):
25268 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
25269 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
25270 (gst_basesrc_query), (gst_basesrc_set_property),
25271 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
25272 (gst_basesrc_activate):
25273 * gst/base/gstbasesrc.h:
25274 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
25275 (gst_base_transform_src_activate):
25276 * gst/elements/gstelements.c:
25277 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25278 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25279 * gst/elements/gsttee.c: (gst_tee_sink_activate):
25280 * gst/elements/gsttypefindelement.c: (find_element_get_length),
25281 (gst_type_find_element_checkgetrange),
25282 (gst_type_find_element_activate):
25283 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
25284 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
25285 (gst_caps_load_thyself):
25286 * gst/gstelement.c: (gst_element_pads_activate),
25287 (gst_element_save_thyself), (gst_element_restore_thyself):
25288 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
25289 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
25291 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
25292 (gst_xml_parse_file), (gst_xml_parse_memory),
25293 (gst_xml_get_element), (gst_xml_make_element):
25294 * gst/indexers/gstfileindex.c: (gst_file_index_load),
25295 (_file_index_id_save_xml), (gst_file_index_commit):
25296 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
25297 (read_enum), (load_pad_template), (load_feature), (load_plugin),
25299 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
25300 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
25301 * tools/gst-complete.c: (main):
25302 * tools/gst-compprep.c: (main):
25303 * tools/gst-inspect.c: (print_element_properties_info):
25304 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
25305 * tools/gst-xmlinspect.c: (print_element_properties):
25308 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
25310 * gst/gstplugin.c: (gst_plugin_check_module),
25311 (gst_plugin_check_file), (gst_plugin_load_file):
25312 apply patch from #172526 to make register work on MacOSX
25314 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
25316 * docs/gst/tmpl/gstconfig.sgml:
25317 * gst/gstconfig.h.in:
25318 move documentation for some symbols. Add doc for GST_PTR_FORMAT
25319 * testsuite/debug/printf_extension.c: (main):
25320 Do not use GST_PTR_FORMAT on pointers to types with
25321 sizeof < sizeof(gpointer). Fixes test on 64-bit
25322 * testsuite/elements/property.h:
25323 use correct printf format
25325 2005-05-02 Wim Taymans <wim@fluendo.com>
25327 * docs/design/draft-push-pull.txt:
25328 * docs/design/draft-query.txt:
25329 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
25330 (gst_basesrc_start):
25331 Added draft for new query API.
25332 Added draft for better selecting scheduling methods.
25333 Make basesrc ignore length if the subclass does not support
25336 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
25339 possible fixes for automake-1.5 - _LIBADD is reserved
25341 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
25343 * docs/faq/Makefile.am:
25344 * docs/manual/Makefile.am:
25345 * docs/manuals.mak:
25346 * docs/pwg/Makefile.am:
25348 possible fixes for automake-1.5
25350 2005-04-28 Wim Taymans <wim@fluendo.com>
25352 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25353 (gst_basesink_pad_getcaps), (gst_basesink_init),
25354 (gst_basesink_do_sync):
25355 * gst/gstclock.c: (gst_clock_entry_new):
25356 * gst/gstevent.c: (gst_event_discont_get_value):
25357 * gst/gstpipeline.c: (pipeline_bus_handler),
25358 (gst_pipeline_change_state):
25359 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
25360 Better debugging of clocking info.
25361 Allow NULL values when getting discont values.
25363 2005-04-27 Wim Taymans <wim@fluendo.com>
25365 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25366 * check/gst/gstpad.c: (gst_pad_suite):
25367 Increase timeout for checks.
25369 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
25371 * check/Makefile.am:
25372 fix the broken rule for cleanup. Apparently this rule is
25373 only needed on FC2, so maybe this warrants further autotool
25376 2005-04-26 Wim Taymans <wim@fluendo.com>
25378 * gst/gsttrashstack.h:
25379 Ooohh. a nasty one! After having a failed pop() from the stack,
25380 it's possible that the stack is empty. In that case, don't
25381 follow the NULL pointer.
25383 2005-04-25 Wim Taymans <wim@fluendo.com>
25385 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25386 (gst_pad_set_checkgetrange_function),
25387 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
25388 (gst_pad_check_pull_range), (gst_pad_pull_range),
25389 (gst_static_pad_template_get_caps), (gst_pad_start_task),
25390 (gst_pad_pause_task), (gst_pad_stop_task):
25391 * gst/gstplugin.c: (gst_plugin_load):
25393 Remove gst_library_load as it does more harm than good with
25394 the new g_module flags.
25395 Revert bogus caps template check in pad linking, pad caps
25396 are important when linking not the template, which is more
25397 general than the current caps.
25399 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25401 * gst/autoplug/.cvsignore:
25402 * gst/autoplug/Makefile.am:
25403 * gst/autoplug/gstsearchfuncs.c:
25404 * gst/autoplug/gstsearchfuncs.h:
25405 * gst/autoplug/gstspider.c:
25406 * gst/autoplug/gstspider.h:
25407 * gst/autoplug/gstspideridentity.c:
25408 * gst/autoplug/gstspideridentity.h:
25409 * gst/autoplug/spidertest.c:
25412 2005-04-25 Wim Taymans <wim@fluendo.com>
25414 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25415 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25416 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
25417 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
25419 Added stubs for unimplemented functions.
25421 2005-04-24 David Schleef <ds@schleef.org>
25423 * gst/gstpad.h: Disable some unimplemented functions. Wim,
25426 2005-04-24 David Schleef <ds@schleef.org>
25428 Convert everything from GstAtomicInt to g_atomic_int_*, and
25433 * gst/gstatomic_impl.h:
25441 * gst/gstdata_private.h:
25445 * gst/gstmessage.c:
25448 * gst/gststructure.c:
25449 * gst/gststructure.h:
25450 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25453 2005-04-24 David Schleef <ds@schleef.org>
25455 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25456 make the regressions tests work. Remove some code that is no
25458 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25459 Disable warning for pads without templates.
25461 2005-04-24 David Schleef <ds@schleef.org>
25463 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
25464 functions that handle filtered links.
25465 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25467 * gst/gstutils.c: Fix/remove utility functions that handle
25470 * gst/gstvalue.c: Add serialization/deserialization of caps
25471 * gst/parse/grammar.y: Ignore filtered caps when linking. This
25472 requires fixing so that the filter caps notation creates
25473 a capsfilter element and sets the filter_caps property. I
25474 think everyone probably wants to keep the shorthand notation.
25475 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25476 * docs/gst/tmpl/gstpad.sgml:
25478 * gst/elements/gstelements.c: Register capsfilter element.
25479 * gst/Makefile.am: fix spacing
25480 * docs/random/ds/0.9-suggested-changes: random
25482 2005-04-23 David Schleef <ds@schleef.org>
25484 * gst/elements/Makefile.am:
25485 * gst/elements/gstcapsfilter.c: New element that acts like an
25486 identity, but filters caps. Will eventually replace filtered
25487 caps in pad linking.
25488 * gst/gstutils.c: (gst_element_create_all_pads): New function
25489 to create all the ALWAYS pads that are registered with an
25490 element class. This functionality should eventually be
25491 merged in with GstElement initialization.
25493 * testsuite/trigger/README: part of trigger test code that should
25494 have been checked in a long time ago.
25496 2005-04-23 David Schleef <ds@schleef.org>
25498 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
25499 needed with new versions of libtool (nobody will confirm this),
25500 and hard to carry around.
25501 * gst/autoplug/Makefile.am:
25502 * gst/base/Makefile.am:
25503 * gst/elements/Makefile.am:
25504 * gst/indexers/Makefile.am:
25505 * gst/schedulers/Makefile.am:
25506 * libs/gst/bytestream/Makefile.am:
25507 * libs/gst/control/Makefile.am:
25508 * libs/gst/dataprotocol/Makefile.am:
25509 * libs/gst/getbits/Makefile.am:
25511 2005-04-21 Wim Taymans <wim@fluendo.com>
25513 * docs/design/draft-push-pull.txt:
25514 * docs/design/part-MT-refcounting.txt:
25515 * docs/design/part-TODO.txt:
25516 * docs/design/part-caps.txt:
25517 * docs/design/part-events.txt:
25518 * docs/design/part-gstbus.txt:
25519 * docs/design/part-gstpipeline.txt:
25520 * docs/design/part-messages.txt:
25521 * docs/design/part-push-pull.txt:
25522 * docs/design/part-query.txt:
25525 2005-04-21 Wim Taymans <wim@fluendo.com>
25527 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
25528 (gst_message_new), (gst_message_new_error),
25529 (gst_message_new_warning), (gst_message_new_tag),
25530 (gst_message_new_state_changed), (gst_message_new_application),
25531 (gst_message_get_structure):
25532 * gst/gstmessage.h:
25533 * gst/gststructure.c: (gst_structure_set_parent_refcount),
25534 (gst_structure_copy_conditional):
25535 Use parent refcount in GstMessage to ensure GstStructure
25537 Cleaned up headers a bit.
25540 2005-04-20 Wim Taymans <wim@fluendo.com>
25542 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25543 (gst_basesink_pad_getcaps), (gst_basesink_init),
25544 (gst_basesink_chain_unlocked):
25545 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
25546 (gst_type_find_helper):
25547 * gst/elements/gsttypefindelement.c:
25548 (gst_type_find_element_have_type), (gst_type_find_element_init),
25549 (stop_typefinding), (gst_type_find_element_handle_event),
25550 (find_suggest), (gst_type_find_element_chain),
25551 (gst_type_find_element_checkgetrange),
25552 (gst_type_find_element_getrange), (do_typefind),
25553 (gst_type_find_element_activate):
25554 * gst/gstbuffer.c: (_gst_buffer_sub_free),
25555 (gst_buffer_default_free), (gst_buffer_default_copy),
25556 (gst_buffer_set_caps):
25557 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25558 (gst_caps_replace):
25559 * gst/gstmessage.c: (gst_message_new),
25560 (gst_message_new_state_changed):
25561 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25562 (gst_pad_set_checkgetrange_function),
25563 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25564 (gst_pad_set_caps), (gst_pad_check_pull_range),
25565 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25567 * gst/gsttypefind.c: (gst_type_find_register):
25568 Make gst_caps_replace() work like other _replace() functions.
25569 Use _caps_replace() where possible.
25570 Make sure _message_new() initialises its field.
25571 Add gst_static_pad_template_get_caps()
25574 2005-04-18 Andy Wingo <wingo@pobox.com>
25576 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25577 on the peer, not the pad. I think that was a typo. Pass an extra
25578 arg to see if random access is possible. Activate the pads as
25579 PULL_RANGE if possible.
25581 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25583 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
25584 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25587 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25589 * docs/faq/using.xml:
25590 Add note on gstreamer-properties (#154996).
25592 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25594 * docs/random/bbb/optional-properties:
25595 Some analysis on optional properties.
25597 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25599 * docs/gst/tmpl/gstelementfactory.sgml:
25600 * gst/gstelement.h:
25601 * gst/gstelementfactory.c: (gst_element_factory_init),
25602 (gst_element_factory_cleanup), (gst_element_register),
25603 (__gst_element_factory_add_static_pad_template),
25604 (gst_element_factory_get_static_pad_templates),
25605 (gst_element_factory_can_src_caps),
25606 (gst_element_factory_can_sink_caps):
25607 * gst/registries/Makefile.am:
25608 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25609 (gst_xml_registry_class_init), (gst_xml_registry_init),
25610 (gst_xml_registry_new), (gst_xml_registry_set_property),
25611 (gst_xml_registry_get_property), (get_time), (make_dir),
25612 (gst_xml_registry_get_perms_func),
25613 (plugin_times_older_than_recurse), (plugin_times_older_than),
25614 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25615 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25616 (add_to_char_array), (read_string), (read_uint), (read_enum),
25617 (load_pad_template), (load_feature), (load_plugin), (load_paths),
25618 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25619 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25620 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25621 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25622 (gst_xml_registry_rebuild):
25623 * gst/registries/gstlibxmlregistry.h:
25624 * tools/gst-compprep.c: (main):
25625 * tools/gst-inspect.c: (print_pad_templates_info):
25626 * tools/gst-xmlinspect.c: (print_element_info):
25627 Use libxml2 for registry parsing, use staticpadtemplates in
25628 elementfactories. Makes gst_init() +/- 10x faster.
25630 2005-04-12 Wim Taymans <wim@fluendo.com>
25632 * gst/base/Makefile.am:
25633 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25634 (gst_basesink_pad_getcaps), (gst_basesink_init),
25635 (gst_basesink_event), (gst_basesink_change_state):
25636 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25637 (gst_basesrc_init), (gst_basesrc_query),
25638 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25639 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25640 (gst_basesrc_check_get_range), (gst_basesrc_loop),
25641 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25642 (gst_basesrc_stop), (gst_basesrc_activate),
25643 (gst_basesrc_change_state):
25644 * gst/base/gsttypefindhelper.c: (helper_find_peek),
25645 (helper_find_suggest), (gst_type_find_helper):
25646 * gst/base/gsttypefindhelper.h:
25647 * gst/elements/Makefile.am:
25648 * gst/elements/gstelements.c:
25649 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25650 (gst_fakesink_get_times), (gst_fakesink_event),
25651 (gst_fakesink_preroll), (gst_fakesink_render):
25652 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25653 (gst_fakesrc_init), (gst_fakesrc_event_handler),
25654 (gst_fakesrc_get_property), (gst_fakesrc_create),
25655 (gst_fakesrc_start), (gst_fakesrc_stop):
25656 * gst/elements/gstfakesrc.h:
25657 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25658 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25659 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25660 (gst_filesrc_create_read), (gst_filesrc_create),
25661 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25662 (gst_filesrc_start):
25663 * gst/elements/gsttypefindelement.c:
25664 (gst_type_find_element_have_type), (gst_type_find_element_init),
25665 (start_typefinding), (stop_typefinding), (push_buffer_store),
25666 (gst_type_find_element_handle_event),
25667 (gst_type_find_element_chain),
25668 (gst_type_find_element_checkgetrange),
25669 (gst_type_find_element_getrange), (do_typefind),
25670 (gst_type_find_element_activate),
25671 (gst_type_find_element_change_state):
25672 * gst/elements/gsttypefindelement.h:
25673 * gst/gstpipeline.c: (pipeline_bus_handler):
25674 Added typefind helper.
25675 Small preroll fix in the base sink.
25676 Disable typefind code in basesrc.
25677 Crude port of typefindelement.
25681 2005-04-11 Wim Taymans <wim@fluendo.com>
25683 * check/gst/gstbus.c: (gstbus_suite):
25684 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25685 * check/gstcheck.h:
25686 Fix up the timeout so that the test does not fail.
25688 2005-04-06 Wim Taymans <wim@fluendo.com>
25691 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25692 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25693 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25694 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25695 (gst_basesrc_check_get_range), (gst_basesrc_loop),
25696 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25697 (gst_basesrc_stop), (gst_basesrc_activate),
25698 (gst_basesrc_change_state), (basesrc_find_peek),
25699 (basesrc_find_suggest), (gst_basesrc_type_find):
25700 * gst/base/gstbasesrc.h:
25701 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25702 (gst_filesrc_class_init), (gst_filesrc_init),
25703 (gst_filesrc_finalize), (gst_filesrc_set_location),
25704 (gst_filesrc_set_property), (gst_filesrc_get_property),
25705 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25706 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25707 (gst_filesrc_create_read), (gst_filesrc_create),
25708 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25709 * gst/elements/gstfilesrc.h:
25710 * gst/gstelement.c: (gst_element_get_state_func),
25711 (gst_element_lost_state), (gst_element_pads_activate):
25712 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25713 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25714 (gst_pad_pull_range):
25716 More work on the generic source base class, implement seeking,
25718 Make filesrc extend the base source class.
25719 Added gst_pad_set_checkgetrange_function to GstPad.
25721 2005-04-06 Andy Wingo <wingo@pobox.com>
25723 * pkgconfig/gstreamer-base.pc.in:
25724 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25726 * pkgconfig/Makefile.am:
25727 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25729 2005-04-04 Wim Taymans <wim@fluendo.com>
25731 * gst/base/Makefile.am:
25733 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25734 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25735 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25736 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25737 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25738 (gst_basesrc_base_init), (gst_basesrc_class_init),
25739 (gst_basesrc_init), (gst_basesrc_get_formats),
25740 (gst_basesrc_get_query_types), (gst_basesrc_query),
25741 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25742 (gst_basesrc_set_property), (gst_basesrc_get_property),
25743 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25744 (gst_basesrc_loop), (gst_basesrc_activate),
25745 (gst_basesrc_change_state):
25746 * gst/base/gstbasesrc.h:
25747 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25748 (gst_fakesrc_class_init), (gst_fakesrc_init),
25749 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25750 (gst_fakesrc_get_property), (gst_fakesrc_create):
25751 * gst/elements/gstfakesrc.h:
25752 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25753 (gst_filesrc_open_file), (gst_filesrc_loop),
25754 (gst_filesrc_activate), (filesrc_find_peek),
25755 (gst_filesrc_type_find):
25756 Made base source class, make fakesrc extend it.
25757 Add comments to basesink class.
25758 Some filesrc cleanup.
25760 2005-03-31 David Schleef <ds@schleef.org>
25762 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25763 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25764 expected to link against libgstreamer.
25765 * gst/base/Makefile.am: link against libgstreamer
25766 * gst/elements/Makefile.am: same
25768 2005-03-31 Andy Wingo <wingo@pobox.com>
25770 * tests/instantiate/Makefile.am:
25771 * tests/instantiate/caps.c: Add test to test speed of caps copy
25774 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25775 GMemChunk to be fair.
25777 * gst/gsttrashstack.h: Remove warning about using the fallback
25778 trash stack implementation, it's still faster than malloc.
25780 2005-03-30 Andy Wingo <wingo@pobox.com>
25782 * tests/complexity.c: Add a copyright.
25784 2005-03-31 Wim Taymans <wim@fluendo.com>
25786 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25787 (gst_base_transform_class_init), (gst_base_transform_init),
25788 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25789 (gst_base_transform_get_property),
25790 (gst_base_transform_sink_activate),
25791 (gst_base_transform_src_activate),
25792 (gst_base_transform_change_state):
25793 * gst/base/gstbasetransform.h:
25794 * gst/elements/gstidentity.c: (gst_identity_class_init),
25795 (gst_identity_event), (gst_identity_check_perfect),
25796 (gst_identity_transform), (gst_identity_start),
25797 (gst_identity_stop):
25798 Added start/stop methods to transform base class so subclasses
25799 don't need to deal with state changes even.
25801 2005-03-31 Wim Taymans <wim@fluendo.com>
25803 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
25804 (gst_event_new_discontinuous), (gst_event_discont_get_value):
25806 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25807 (gst_pad_pull_range):
25808 Added rate to the discont event to prepare for variable speed
25809 and reverse playback.
25811 2005-03-29 David Schleef <ds@schleef.org>
25814 * testsuite/trigger/Makefile.am:
25815 * testsuite/trigger/trigger.c: A little example program to show
25816 how trigger-based elements can work.
25818 2005-03-29 Wim Taymans <wim@fluendo.com>
25820 * gst/base/Makefile.am:
25822 * gst/base/gstbasesink.c: (gst_basesink_get_type),
25823 (gst_basesink_base_init), (gst_basesink_class_init),
25824 (gst_basesink_pad_getcaps), (gst_basesink_init),
25825 (gst_basesink_activate), (gst_basesink_change_state):
25826 * gst/base/gstbasesink.h:
25827 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
25828 (gst_base_transform_base_init), (gst_base_transform_finalize),
25829 (gst_base_transform_class_init), (gst_base_transform_init),
25830 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
25831 (gst_base_transform_event), (gst_base_transform_getrange),
25832 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
25833 (gst_base_transform_set_property),
25834 (gst_base_transform_get_property),
25835 (gst_base_transform_sink_activate),
25836 (gst_base_transform_src_activate),
25837 (gst_base_transform_change_state):
25838 * gst/base/gstbasetransform.h:
25839 * gst/elements/gstidentity.c: (gst_identity_finalize),
25840 (gst_identity_class_init), (gst_identity_init),
25841 (gst_identity_event), (gst_identity_check_perfect),
25842 (gst_identity_transform), (gst_identity_set_property),
25843 (gst_identity_get_property), (gst_identity_change_state):
25844 * gst/elements/gstidentity.h:
25845 * gst/gstelement.c: (gst_element_get_state_func),
25846 (gst_element_lost_state), (gst_element_pads_activate):
25847 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25848 (gst_pad_check_pull_range), (gst_pad_pull_range):
25850 Simplify pad activation.
25851 Added function to check if pull_range can be performed.
25852 Error out when pulling inactive or flushing pads.
25853 Removed const from refcounted types as it does not make sense.
25854 Simplify pad templates in basesink
25855 Added base class for simple 1-to-1 transforms.
25856 Make identity subclass the base transform.
25858 2005-03-29 Andy Wingo <wingo@pobox.com>
25860 * docs/libs/gstreamer-libs-overrides.txt:
25861 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
25862 really don't understand what's going on, but like whatever. I want
25865 * docs/gst/Makefile.am:
25866 * docs/libs/Makefile.am: Dist the overrides files.
25868 * check/Makefile.am (clean-local): Remove .libs directories.
25870 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
25871 elements to EXTRA_DIST, so po/ files are happy.
25873 * po/POTFILES.in: Er, remove it here.
25875 * po/POTFILES: Remove gstspider.c.
25877 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25879 * docs/libs/gstreamer-libs-docs.sgml:
25880 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25883 * tests/complexity.c (main): Set the length of the preroll queue
25884 on the sinks to prevent a lockup.
25886 * libs/gst/dataprotocol/Makefile.am:
25887 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25888 the same as the one in check/gst-libs/gdp.c.
25890 * po/, docs/gst/: Commit automatic changes to docs and po files.
25892 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25893 the versioned libgstbase.
25895 * check/Makefile.am: Depend on an unversioned gst-register, seems
25896 to make autoconf happier.
25898 * gst/base/Makefile.am: Make libgstbase a versioned lib.
25900 2005-03-28 Wim Taymans <wim@fluendo.com>
25903 * docs/design/part-gstelement.txt:
25904 * docs/design/part-negotiation.txt:
25905 * docs/design/part-preroll.txt:
25906 * docs/design/part-scheduling.txt:
25907 * docs/design/part-states.txt:
25909 * gst/base/Makefile.am:
25911 * gst/base/gstbasesink.c: (gst_basesink_get_template),
25912 (gst_basesink_base_init), (gst_basesink_class_init),
25913 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25914 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25915 (gst_basesink_set_pad_functions),
25916 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25917 (gst_basesink_set_property), (gst_basesink_get_property),
25918 (gst_base_sink_get_template), (gst_base_sink_get_caps),
25919 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25920 (gst_basesink_preroll_queue_push),
25921 (gst_basesink_preroll_queue_empty),
25922 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25923 (gst_basesink_event), (gst_basesink_get_times),
25924 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25925 (gst_basesink_chain_unlocked), (gst_basesink_chain),
25926 (gst_basesink_loop), (gst_basesink_activate),
25927 (gst_basesink_change_state):
25928 * gst/base/gstbasesink.h:
25929 * gst/elements/Makefile.am:
25930 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25931 (gst_fakesink_class_init), (gst_fakesink_init),
25932 (gst_fakesink_set_property), (gst_fakesink_get_property),
25933 (gst_fakesink_get_times), (gst_fakesink_event),
25934 (gst_fakesink_preroll), (gst_fakesink_render),
25935 (gst_fakesink_change_state):
25936 * gst/elements/gstfakesink.h:
25937 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25938 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25939 * gst/gstelement.c: (gst_element_add_pad),
25940 (gst_element_get_state_func), (gst_element_abort_state),
25941 (gst_element_commit_state), (gst_element_lost_state),
25942 (gst_element_set_state), (gst_element_pads_activate):
25943 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25944 * gst/gstpipeline.c: (gst_pipeline_send_event),
25945 (gst_pipeline_change_state):
25946 Added state change code.
25947 Added/updated docs.
25948 Added sink base class, make fakesink extend the base class.
25949 Small cleanups in GstPipeline.
25951 2005-03-26 David Schleef <ds@schleef.org>
25953 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
25954 is broken and should be implemented in a different library.
25955 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25956 * gst/gst.h: remove gstcpu.h
25957 * gst/gstcpu.c: remove
25958 * gst/gstcpu.h: remove
25959 * gst/Makefile.am.future: Remove this file. It's ancient.
25961 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25963 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25964 (gst_bin_send_event):
25965 Add default event/set_manager handlers. The set_manager handler
25966 takes care that the manager is distributed over kids that were
25967 already in the bin before the manager was set. The event handler
25968 is a utility virtual function that sends the event over all sinks,
25969 so that gst_element_send_event (bin, event); has the expected
25971 * gst/gstpad.c: (gst_pad_event_default):
25972 Re-install default event handling for discontinuities, so that
25973 seeking works without requiring hacks in applications or extra
25975 * gst/gstpipeline.c: (gst_pipeline_class_init),
25976 (gst_pipeline_send_event):
25977 Half hack, half utility: set a pipeline to PAUSED for seek events,
25978 since that is the only way we can guarantee a/v sync. Means that
25979 you can do gst_element_seek (pipeline, method, pos); on a pipeline
25980 and it "just works".
25982 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25984 * gst/gstpipeline.c: (gst_pipeline_use_clock):
25985 Lock/unlock mismatch.
25987 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
25989 * docs/faq/gst-uninstalled:
25990 add gst-plugins-base
25991 * docs/gst/Makefile.am:
25992 don't error out until docs are fixed
25993 * docs/gst/gstreamer.types:
25996 2005-03-22 Wim Taymans <wim@fluendo.com>
25998 * check/Makefile.am:
25999 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
26000 * gst/gststructure.c: (gst_structure_set_valist),
26001 (gst_structure_copy_conditional):
26002 Activated more tests.
26003 Added message test.
26004 Added G_TYPE_POINTER to GstStructure.
26007 2005-03-22 Wim Taymans <wim@fluendo.com>
26009 * docs/design/part-TODO.txt:
26010 * docs/design/part-events.txt:
26011 * docs/design/part-gstbin.txt:
26012 * docs/design/part-gstbus.txt:
26013 * docs/design/part-gstpipeline.txt:
26014 * docs/design/part-messages.txt:
26016 * gst/gstmessage.c:
26019 2005-03-21 Wim Taymans <wim@fluendo.com>
26021 * gst/gstbus.c: (gst_bus_post):
26022 Fix copy-and-paste error.
26024 2005-03-21 Wim Taymans <wim@fluendo.com>
26026 * check/Makefile.am:
26028 * gst/elements/Makefile.am:
26029 * gst/elements/gstelements.c:
26030 * gst/elements/gstfakesink.c: (gst_fakesink_init),
26031 (gst_fakesink_event), (gst_fakesink_chain):
26032 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26033 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
26034 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
26035 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
26036 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26037 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
26038 (gst_fakesrc_loop), (gst_fakesrc_activate),
26039 (gst_fakesrc_change_state):
26040 * gst/elements/gstfakesrc.h:
26041 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
26042 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
26043 (gst_filesrc_open_file), (gst_filesrc_loop),
26044 (gst_filesrc_activate), (gst_filesrc_change_state),
26045 (filesrc_find_peek), (filesrc_find_suggest),
26046 (gst_filesrc_type_find):
26047 * gst/elements/gstidentity.c: (gst_identity_finalize),
26048 (gst_identity_class_init), (gst_identity_init),
26049 (gst_identity_proxy_getcaps), (identity_queue_push),
26050 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
26051 (gst_identity_getrange), (gst_identity_chain),
26052 (gst_identity_sink_loop), (gst_identity_src_loop),
26053 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
26054 (gst_identity_set_property), (gst_identity_get_property),
26055 (gst_identity_change_state):
26056 * gst/elements/gstidentity.h:
26057 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
26058 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
26059 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
26060 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
26061 (gst_tee_sink_activate):
26062 * gst/elements/gsttee.h:
26063 * gst/gst.c: (gst_register_core_elements), (init_post):
26065 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
26066 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
26067 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
26068 (gst_bin_change_state):
26070 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
26071 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
26072 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
26073 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
26074 (gst_bus_set_sync_handler), (gst_bus_create_watch),
26075 (bus_watch_callback), (bus_watch_destroy),
26076 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
26077 (poll_timeout), (gst_bus_poll):
26081 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26082 (gst_element_post_message), (gst_element_message_full),
26083 (gst_element_get_state_func), (gst_element_get_state),
26084 (gst_element_abort_state), (gst_element_commit_state),
26085 (gst_element_lost_state), (gst_element_set_state),
26086 (gst_element_pads_activate), (gst_element_change_state),
26087 (gst_element_dispose), (gst_element_set_manager_func),
26088 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
26089 (gst_element_set_manager), (gst_element_get_manager),
26090 (gst_element_set_bus), (gst_element_get_bus),
26091 (gst_element_set_scheduler), (gst_element_get_scheduler):
26092 * gst/gstelement.h:
26093 * gst/gstevent.c: (gst_event_new_segment_seek),
26094 (gst_event_new_flush):
26096 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
26097 (_gst_message_free), (gst_message_get_type), (gst_message_new),
26098 (gst_message_new_eos), (gst_message_new_error),
26099 (gst_message_new_warning), (gst_message_new_tag),
26100 (gst_message_new_state_changed), (gst_message_new_application),
26101 (gst_message_get_structure), (gst_message_parse_tag),
26102 (gst_message_parse_state_changed), (gst_message_parse_error),
26103 (gst_message_parse_warning):
26104 * gst/gstmessage.h:
26105 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
26106 (gst_real_pad_set_property), (gst_pad_set_active),
26107 (gst_pad_is_active), (gst_pad_set_blocked_async),
26108 (gst_pad_set_blocked), (gst_pad_is_blocked),
26109 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
26110 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
26111 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
26112 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
26113 (gst_pad_link_filtered), (gst_pad_relink_filtered),
26114 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
26115 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
26116 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
26117 (gst_pad_set_caps), (gst_pad_configure_sink),
26118 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
26119 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
26120 (gst_real_pad_dispose), (gst_real_pad_finalize),
26121 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
26122 (gst_pad_event_default_dispatch), (gst_pad_event_default),
26123 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
26125 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
26126 (pipeline_bus_handler), (gst_pipeline_change_state),
26127 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
26128 * gst/gstpipeline.h:
26130 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
26131 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
26132 (gst_queue_link_src), (gst_queue_bufferalloc),
26133 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
26134 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
26135 (gst_queue_loop), (gst_queue_handle_src_event),
26136 (gst_queue_handle_src_query), (gst_queue_src_activate),
26137 (gst_queue_change_state):
26139 * gst/gstscheduler.c: (gst_scheduler_init),
26140 (gst_scheduler_dispose), (gst_scheduler_create_task),
26141 (gst_scheduler_factory_create):
26142 * gst/gstscheduler.h:
26143 * gst/gststructure.c: (gst_structure_get_type),
26144 (gst_structure_copy_conditional):
26145 * gst/gststructure.h:
26146 * gst/gsttaginterface.h:
26147 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26148 (gst_task_init), (gst_task_dispose), (gst_task_create),
26149 (gst_task_get_state), (gst_task_start), (gst_task_stop),
26155 * gst/schedulers/Makefile.am:
26156 * gst/schedulers/cothreads_compat.h:
26157 * gst/schedulers/entryscheduler.c:
26158 * gst/schedulers/faircothreads.c:
26159 * gst/schedulers/faircothreads.h:
26160 * gst/schedulers/fairscheduler.c:
26161 * gst/schedulers/gstbasicscheduler.c:
26162 * gst/schedulers/gstoptimalscheduler.c:
26163 * gst/schedulers/gthread-cothreads.h:
26164 * gst/schedulers/threadscheduler.c:
26165 (gst_thread_scheduler_task_get_type),
26166 (gst_thread_scheduler_task_class_init),
26167 (gst_thread_scheduler_task_init),
26168 (gst_thread_scheduler_task_start),
26169 (gst_thread_scheduler_task_stop),
26170 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
26171 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26172 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
26173 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
26175 * libs/gst/Makefile.am:
26176 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
26177 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
26178 (gst_file_pad_parent_set):
26179 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26180 (gst_dp_event_from_packet):
26181 * tests/complexity.c: (main):
26182 * tests/mass_elements.c: (main):
26183 * testsuite/states/locked.c: (message_received), (main):
26184 * testsuite/states/parent.c: (main):
26185 * tools/gst-inspect.c: (print_element_flag_info),
26186 (print_implementation_info), (print_pad_info):
26187 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
26189 * tools/gst-md5sum.c: (event_loop), (main):
26190 * tools/gst-typefind.c: (main):
26191 * tools/gst-xmlinspect.c: (print_element_info):
26193 Added GstBus for mainloop integration.
26194 Added GstMessage for sending notifications on the bus.
26195 Added GstTask as an abstraction for pipeline entry points.
26197 Removed Schedulers.
26198 Simplified GstQueue for multithreaded core.
26199 Made _link threadsafe, removed old capsnego.
26200 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
26201 Added pad blocking functions.
26202 Reworked scheduling functions in GstPad to prepare for
26203 scheduling updates soon.
26204 Moved events out of data stream.
26205 Simplified GstEvent types.
26206 Added return values to push/pull.
26207 Removed clocking from GstElement.
26208 Added prototypes for state change function for next merge.
26209 Removed iterate from bins and state change management.
26210 Fixed some elements, disabled others for now.
26211 Fixed -inspect and -launch.
26212 Added check for GstBus.
26214 2005-03-10 Wim Taymans <wim@fluendo.com>
26216 * docs/design/part-MT-refcounting.txt:
26217 * docs/design/part-clocks.txt:
26218 * docs/design/part-gstelement.txt:
26219 * docs/design/part-gstobject.txt:
26220 * docs/design/part-standards.txt:
26221 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26222 (gst_bin_remove_func), (gst_bin_remove):
26226 * testsuite/clock/clock1.c: (main):
26227 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
26229 * testsuite/dlopen/loadgst.c: (do_test):
26230 * testsuite/refcounting/bin.c: (add_remove_test1),
26231 (add_remove_test2), (main):
26232 * testsuite/refcounting/element.c: (main):
26233 * testsuite/refcounting/element_pad.c: (main):
26234 * testsuite/refcounting/pad.c: (main):
26235 * tools/gst-launch.c: (sigint_handler_sighandler):
26236 * tools/gst-typefind.c: (main):
26238 Added doc about clock.
26239 removed gst_bin_iterate_recurse_up(), marked methods
26241 Fix more testsuites.
26243 2005-03-09 Wim Taymans <wim@fluendo.com>
26245 * gst/gstpad.c: (gst_pad_get_direction),
26246 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
26247 (gst_pad_collect_valist):
26248 * testsuite/bins/interface.c: (main):
26249 * testsuite/caps/audioscale.c: (test_caps):
26250 * testsuite/caps/caps.c: (test1), (test2), (test3):
26251 * testsuite/caps/deserialize.c: (main):
26252 * testsuite/caps/enumcaps.c: (main):
26253 * testsuite/caps/filtercaps.c: (main):
26254 * testsuite/caps/intersect2.c: (main):
26255 * testsuite/caps/random.c: (main):
26256 * testsuite/caps/renegotiate.c: (my_fixate), (main):
26257 * testsuite/caps/sets.c: (check_caps):
26258 * testsuite/caps/simplify.c: (check_caps), (main):
26259 * testsuite/caps/subtract.c: (check_caps):
26260 Fix _pad_get_direction wrt ghostpads.
26261 Fix caps testsuite.
26263 2005-03-09 Wim Taymans <wim@fluendo.com>
26265 * check/Makefile.am:
26266 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
26267 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
26268 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
26269 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
26270 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
26271 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
26272 (gst_bin_remove), (gst_bin_iterate_recurse_up),
26273 (bin_element_is_sink), (gst_bin_iterate_sinks),
26274 (gst_bin_iterate_all_by_interface):
26276 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
26277 (gst_element_change_state), (gst_element_dispose),
26278 (gst_element_finalize), (gst_element_set_loop_function):
26279 * gst/gstelement.h:
26280 * gst/gstiterator.c: (find_custom_fold_func):
26281 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26282 (gst_pad_collectv), (gst_pad_collect_valist),
26283 (gst_pad_template_new):
26284 * gst/gstpipeline.c: (gst_pipeline_class_init),
26285 (gst_pipeline_dispose), (gst_pipeline_set_property),
26286 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
26287 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
26288 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
26290 * gst/schedulers/entryscheduler.c:
26291 * gst/schedulers/gstbasicscheduler.c:
26292 (gst_basic_scheduler_cothreaded_chain),
26293 (gst_basic_scheduler_chain_add_element):
26294 * testsuite/bins/interface.c: (main):
26296 Added GstSystemClock test.
26297 Implemented clock distribution code in GstBin.
26298 Implemented iterate sinks method for future use.
26299 Rearranged gstelement.h
26300 Fix GstIterator comparison bug.
26301 Moved some code to GstPipeline, mostly clocking related.
26303 2005-03-09 Wim Taymans <wim@fluendo.com>
26306 * gst/gst_private.h:
26307 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26308 (gst_bin_remove_func), (gst_bin_remove),
26309 (gst_bin_get_by_name_recurse_up):
26310 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
26311 (gst_clock_id_compare_func), (gst_clock_id_wait),
26312 (gst_clock_id_wait_async), (gst_clock_init),
26313 (gst_clock_adjust_unlocked), (gst_clock_get_time):
26314 * gst/gstelement.h:
26315 * gst/gstinfo.c: (_gst_debug_init):
26317 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26318 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
26320 Bump version number, we're now 0.9.0
26321 Add future debugging category.
26322 Fix NULL _unref() in _get_by_name_recurse_up
26323 Rearrange gstpad.h.
26326 2005-03-08 Wim Taymans <wim@fluendo.com>
26328 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
26329 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
26330 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26331 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
26332 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
26333 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
26334 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
26335 * gst/elements/gstidentity.c: (gst_identity_class_init):
26336 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
26337 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
26338 * gst/elements/gstshaper.c: (gst_shaper_class_init):
26339 * gst/elements/gststatistics.c: (gst_statistics_class_init):
26340 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
26342 * gst/gstelement.c: (gst_element_class_init),
26343 (gst_element_base_class_init), (gst_element_init),
26344 (gst_element_get_random_pad), (gst_element_wait_state_change),
26345 (gst_element_change_state), (gst_element_dispose),
26346 (gst_element_finalize), (gst_element_set_loop_function):
26347 * gst/gstelement.h:
26348 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
26349 * gst/gstthread.c: (gst_thread_class_init),
26350 (gst_thread_release_children_locks), (gst_thread_change_state):
26351 * gst/schedulers/gstbasicscheduler.c:
26352 (gst_basic_scheduler_loopfunc_wrapper),
26353 (gst_basic_scheduler_chain_wrapper),
26354 (gst_basic_scheduler_src_wrapper),
26355 (gst_basic_scheduler_remove_element):
26356 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
26357 Remove threadsafe properties. Fix elements because GObject
26358 complains when installing a property before declaring a
26359 set/get_property handler.
26360 Rearrange gstelement.h file, use STATE macros for state locks.
26361 Free mutexes in the finalize method instead of dispose.
26363 2005-03-08 Wim Taymans <wim@fluendo.com>
26365 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26366 * gst/gstthread.c: (gst_thread_release_children_locks):
26367 Added parentage check.
26368 Fix build og GstThread again.
26370 2005-03-08 Wim Taymans <wim@fluendo.com>
26372 * docs/design/part-MT-refcounting.txt:
26373 * docs/design/part-conventions.txt:
26374 * docs/design/part-gstobject.txt:
26375 * docs/design/part-relations.txt:
26376 * docs/design/part-standards.txt:
26377 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26378 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
26379 (gst_bin_get_by_name), (gst_bin_get_by_interface),
26380 (gst_bin_iterate_all_by_interface):
26383 * gst/gstelement.c: (gst_element_class_init),
26384 (gst_element_change_state), (gst_element_set_loop_function):
26385 * gst/gstelement.h:
26386 * gst/gstiterator.c:
26387 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
26388 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
26389 (gst_object_dispatch_properties_changed), (gst_object_set_name),
26390 (gst_object_set_parent), (gst_object_unparent),
26391 (gst_object_check_uniqueness):
26393 Docs updates, clean up some headers.
26395 2005-03-07 Wim Taymans <wim@fluendo.com>
26397 * check/.cvsignore:
26398 * check/Makefile.am:
26399 * check/gst-libs/.cvsignore:
26400 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
26401 * check/gst/.cvsignore:
26402 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
26403 (START_TEST), (gstbus_suite), (main):
26404 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
26405 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
26406 (gst_data_suite), (main):
26407 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
26408 (add_fold_func), (gstiterator_suite), (main):
26409 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
26410 (thread_name_object), (thread_name_object_default),
26411 (gst_object_name_compare), (gst_object_suite), (main):
26412 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
26413 (gst_pad_suite), (main):
26414 * check/gstcheck.c: (gst_check_log_message_func),
26415 (gst_check_log_critical_func), (gst_check_init):
26416 * check/gstcheck.h:
26417 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
26418 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
26421 2005-03-07 Wim Taymans <wim@fluendo.com>
26423 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
26424 (gst_list_iterator_next), (gst_list_iterator_resync),
26425 (gst_list_iterator_free), (gst_iterator_new_list),
26426 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
26427 (gst_iterator_free), (gst_iterator_push), (filter_next),
26428 (filter_resync), (filter_uninit), (filter_free),
26429 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
26430 (gst_iterator_foreach), (find_custom_fold_func),
26431 (gst_iterator_find_custom):
26432 * gst/gstiterator.h:
26433 Added missing files.
26435 2005-03-07 Wim Taymans <wim@fluendo.com>
26439 * docs/design/part-MT-refcounting.txt:
26440 * docs/design/part-conventions.txt:
26441 * docs/design/part-gstobject.txt:
26442 * docs/design/part-relations.txt:
26443 * examples/mixer/mixer.c: (main):
26444 * examples/thread/thread.c: (eos), (main):
26446 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26447 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26448 (gst_spider_plug_from_srcpad):
26449 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26450 (gst_spider_identity_change_state),
26451 (gst_spider_identity_sink_loop_type_finding):
26452 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26453 * gst/elements/gstidentity.c: (gst_identity_init):
26454 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26455 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26456 * gst/elements/gsttypefindelement.c: (free_entry):
26459 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26460 (gst_bin_set_clock_func), (gst_bin_auto_clock),
26461 (gst_bin_set_index), (gst_bin_set_element_sched),
26462 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26463 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26464 (gst_bin_iterate_elements), (iterate_child_recurse),
26465 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26466 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26467 (compare_interface), (gst_bin_get_by_interface),
26468 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26470 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26471 (gst_buffer_default_free), (gst_buffer_default_copy),
26472 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26473 (gst_buffer_create_sub):
26475 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26476 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26477 (gst_caps_unref), (gst_static_caps_get),
26478 (gst_caps_remove_and_get_structure), (gst_caps_append),
26479 (gst_caps_append_structure), (gst_caps_remove_structure),
26480 (gst_caps_copy_nth), (gst_caps_set_simple),
26481 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26482 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26483 (gst_caps_structure_intersect_field), (gst_caps_intersect),
26484 (gst_caps_structure_subtract_field), (gst_caps_subtract),
26485 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26486 (gst_caps_structure_figure_out_union),
26487 (gst_caps_switch_structures), (gst_caps_do_simplify),
26488 (gst_caps_replace), (gst_caps_from_string),
26489 (gst_caps_copy_conditional):
26491 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26492 (_gst_clock_id_free), (gst_clock_id_unref),
26493 (gst_clock_id_compare_func), (gst_clock_id_wait),
26494 (gst_clock_id_wait_async), (gst_clock_class_init),
26495 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26496 (gst_clock_get_time), (gst_clock_set_time_adjust),
26497 (gst_clock_set_property), (gst_clock_get_property):
26500 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26501 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26503 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26504 (gst_element_requires_clock), (gst_element_provides_clock),
26505 (gst_element_set_clock), (gst_element_clock_wait),
26506 (gst_element_wait), (gst_element_set_time_delay),
26507 (gst_element_is_indexable), (gst_element_add_pad),
26508 (gst_element_add_ghost_pad), (gst_element_remove_pad),
26509 (pad_compare_name), (gst_element_get_static_pad),
26510 (gst_element_request_pad), (gst_element_get_request_pad),
26511 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
26512 (gst_element_class_get_pad_template_list),
26513 (gst_element_class_get_pad_template), (gst_element_error_func),
26514 (gst_element_get_random_pad), (gst_element_get_event_masks),
26515 (gst_element_send_event), (gst_element_seek),
26516 (gst_element_get_query_types), (gst_element_query),
26517 (gst_element_get_formats), (gst_element_convert),
26518 (gst_element_is_locked_state), (gst_element_set_locked_state),
26519 (gst_element_sync_state_with_parent), (gst_element_change_state),
26520 (gst_element_finalize), (gst_element_yield),
26521 (gst_element_interrupt), (gst_element_set_scheduler),
26522 (gst_element_get_scheduler), (gst_element_set_loop_function):
26523 * gst/gstelement.h:
26525 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
26526 (gst_format_get_by_nick), (gst_format_get_details),
26527 (gst_format_iterate_definitions):
26529 * gst/gstindex.c: (gst_index_gtype_resolver):
26532 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
26533 (gst_mem_chunk_free):
26534 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
26535 (gst_object_ref), (gst_object_unref), (gst_object_sink),
26536 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
26537 (gst_object_dispatch_properties_changed),
26538 (gst_object_set_name_default), (gst_object_set_name),
26539 (gst_object_get_name), (gst_object_set_name_prefix),
26540 (gst_object_get_name_prefix), (gst_object_set_parent),
26541 (gst_object_get_parent), (gst_object_unparent),
26542 (gst_object_check_uniqueness), (gst_object_save_thyself),
26543 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
26544 (gst_object_set_property), (gst_object_get_property),
26545 (gst_object_get_path_string):
26547 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26548 (gst_real_pad_init), (gst_real_pad_get_property),
26549 (gst_pad_custom_new), (gst_pad_get_direction),
26550 (gst_pad_set_active), (gst_pad_is_active),
26551 (gst_pad_set_event_function), (gst_pad_is_linked),
26552 (gst_pad_link_free), (gst_pad_link_intersect),
26553 (gst_pad_link_fixate), (gst_pad_set_caps),
26554 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26555 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26556 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26557 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26558 (gst_pad_get_caps), (gst_pad_peer_get_caps),
26559 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26560 (gst_pad_realize), (gst_pad_get_allowed_caps),
26561 (gst_real_pad_dispose), (gst_real_pad_finalize),
26562 (gst_pad_collectv), (gst_pad_collect_valist),
26563 (gst_pad_template_dispose), (gst_pad_template_new),
26564 (gst_pad_get_internal_links):
26566 * gst/gstpipeline.c: (gst_pipeline_dispose),
26567 (gst_pipeline_change_state):
26568 * gst/gstpipeline.h:
26570 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26571 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26572 * gst/gstpluginfeature.h:
26573 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26574 * gst/gstquery.c: (_gst_query_type_initialize),
26575 (gst_query_type_register), (gst_query_type_get_by_nick),
26576 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26578 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26579 * gst/gstscheduler.c: (gst_scheduler_add_element),
26580 (gst_scheduler_factory_create):
26581 * gst/gststructure.c: (gst_structure_set_parent_refcount),
26582 (gst_structure_free), (gst_structure_set_name),
26583 (gst_structure_id_set_value), (gst_structure_set_value),
26584 (gst_structure_set_valist), (gst_structure_remove_field),
26585 (gst_structure_remove_fields),
26586 (gst_structure_remove_fields_valist),
26587 (gst_structure_remove_all_fields), (gst_structure_foreach),
26588 (gst_structure_map_in_place),
26589 (gst_caps_structure_fixate_field_nearest_int),
26590 (gst_caps_structure_fixate_field_nearest_double):
26591 * gst/gststructure.h:
26592 * gst/gstsystemclock.c: (gst_system_clock_class_init),
26593 (gst_system_clock_init), (gst_system_clock_dispose),
26594 (gst_system_clock_async_thread),
26595 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26596 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26597 * gst/gstsystemclock.h:
26598 * gst/gsttag.c: (gst_tag_list_add_value_internal),
26599 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26600 * gst/gsttaginterface.c:
26601 * gst/gstthread.c: (gst_thread_dispose),
26602 (gst_thread_release_children_locks), (gst_thread_change_state),
26603 (gst_thread_main_loop):
26604 * gst/gsttrashstack.h:
26605 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26607 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26608 (gst_element_request_pad), (gst_element_get_pad_from_template),
26609 (gst_element_request_compatible_pad),
26610 (gst_element_get_compatible_pad_filtered),
26611 (gst_element_get_compatible_pad), (gst_element_state_get_name),
26612 (gst_element_link_pads_filtered), (gst_element_link_filtered),
26613 (gst_element_link_many), (gst_element_link),
26614 (gst_element_link_pads), (gst_element_unlink_pads),
26615 (gst_element_unlink_many), (gst_element_unlink),
26616 (gst_pad_can_link_filtered), (gst_pad_can_link),
26617 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26618 (gst_object_default_error), (gst_bin_add_many),
26619 (gst_bin_remove_many), (gst_element_populate_std_props),
26620 (gst_element_class_install_std_props), (gst_buffer_merge),
26621 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26622 (link_fold_func), (gst_pad_proxy_setcaps):
26624 * gst/gstvalue.c: (gst_value_deserialize_string):
26625 * gst/parse/grammar.y:
26626 * gst/schedulers/gstbasicscheduler.c:
26627 (gst_basic_scheduler_cothreaded_chain),
26628 (gst_basic_scheduler_chain_recursive_add),
26629 (gst_basic_scheduler_pad_link):
26630 * gst/schedulers/gstoptimalscheduler.c:
26631 (get_group_schedule_function),
26632 (gst_opt_scheduler_state_transition),
26633 (gst_opt_scheduler_add_element), (element_get_reachables_func):
26634 * libs/gst/bytestream/bytestream.c:
26635 * libs/gst/dataprotocol/dataprotocol.c:
26636 (gst_dp_header_from_buffer):
26639 * tests/threadstate/threadstate2.c: (eos):
26640 * tools/gst-compprep.c: (main):
26641 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26642 (print_pad_info), (print_children_info):
26643 * tools/gst-launch.c: (idle_func), (main):
26644 * tools/gst-md5sum.c: (idle_func), (main):
26645 * tools/gst-xmlinspect.c: (print_element_info):
26646 First THREADED backport attempt, focusing on adding locks and
26647 making sure the API is threadsafe. Needs more work. More docs
26650 2005-02-24 Andy Wingo <wingo@pobox.com>
26652 * tests/bench-complexity.scm:
26653 * tests/complexity.gnuplot: New files, good for running complexity
26656 * tests/Makefile.am:
26657 * tests/complexity.c: New test, sets up N elements, at each level
26658 teeing into M streams per element. Eeeenteresting.
26660 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26661 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26662 running bench-mass_elements.scm.
26664 * tests/bench-mass_elements.scm: New script, runs mass_elements
26665 for various numbers of identities, outputting the results to a
26666 file. Requires guile 1.6. Just for testing.
26668 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
26670 * gst/schedulers/fairscheduler.c:
26671 compile with debug disabled
26673 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
26676 hunting season on 0.9 is now OPEN