1 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
3 * docs/libs/gstreamer-libs-sections.txt:
4 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
5 (gst_base_transform_prepare_output_buffer),
6 (gst_base_transform_set_gap_aware):
7 * libs/gst/base/gstbasetransform.h:
8 API: Add gst_base_transform_set_gap_aware() to control whether
9 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
10 get buffers with this flag at all. Fixes #503231.
12 2007-12-13 Stefan Kost <ensonic@users.sf.net>
14 * libs/gst/base/gstbasesink.c:
15 * libs/gst/base/gstbasesrc.c:
16 * libs/gst/base/gstbasetransform.c:
17 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
18 thread. Correct log message in gstbasesrc.c.
20 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
22 * gst/gstutils.c: (element_find_unconnected_pad):
23 Fix possible compiler warning (#503417).
25 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
27 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
28 Don't use GST_CAT_EVENT here for logging, it makes no sense.
30 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
32 * tools/gst-inspect.c: (print_element_properties_info):
33 Add support for GstFraction properties.
35 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
38 Add check-exports target and run it as part of 'make check'
39 (see #499140 and #493983).
42 * gst/gstelementfactory.h:
43 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
44 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
45 (_priv_gst_in_valgrind):
46 * gst/gstinfo.h: (GstLogFunction):
47 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
48 (gst_type_find_register):
49 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
50 (gst_type_find_factory_get_type):
51 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
52 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
53 (gst_controller_new_valist), (gst_controller_new_list),
54 (_gst_controller_dispose), (_gst_controller_class_init):
55 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
56 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
57 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
58 (gst_object_get_controller), (gst_object_set_controller),
59 (gst_object_suggest_next_sync), (gst_object_sync_values),
60 (gst_object_set_control_source), (gst_object_get_control_source),
61 (gst_object_get_value_arrays), (gst_object_get_value_array),
62 (gst_object_get_control_rate), (gst_object_set_control_rate):
63 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
64 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
65 Make some functions that should be static static; rename some
66 private symbols so that they don't get exported; add some FIXME
67 comments so we can move accidentally exported functions into
68 our private section in 0.11.
70 * win32/common/libgstreamer.def:
71 Add gst_utils_get_timestamp().
73 2007-12-12 Stefan Kost <ensonic@users.sf.net>
77 Add more missing "Since:" tags to docs.
79 2007-12-12 Stefan Kost <ensonic@users.sf.net>
82 Add mising "Since:" to docs.
84 2007-12-11 Stefan Kost <ensonic@users.sf.net>
87 Include "glib-compat-private.h" to fix the build on system with
88 glib < 2.10. Fixes #503131.
90 2007-12-11 Stefan Kost <ensonic@users.sf.net>
94 Actually its not PURE as it gets the time from elsewhere.
96 2007-12-11 Stefan Kost <ensonic@users.sf.net>
98 * docs/gst/gstreamer-sections.txt:
100 * gst/gstdebugutils.c:
104 * libs/gst/base/gstbasesink.c:
105 * tools/gst-launch.c:
106 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
107 uses as we don't have HAVE_POSIX_TIMERS in public headers.
108 Thanks Tim for spotting.
110 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
113 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
115 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
117 * gst/gststructure.c: (gst_structure_validate_name),
118 (gst_structure_new_valist), (gst_structure_parse_value),
119 (gst_structure_from_string):
120 Don't crash in _from_string() if the structure name is not valid
121 (fixes #501560). Allow structure names to start with a number
122 again (this apparently broke the ubuntu codec installer).
124 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
126 Add unit test for the crash; update unit tests for new behaviour.
128 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
131 Clarify gst_element_get_compatible_pad() documentation.
134 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
136 * tests/check/Makefile.am:
137 Don't forget to dist {gst,libs}/struct_hppa.h.
139 2007-11-28 Stefan Kost <ensonic@users.sf.net>
141 * libs/gst/base/gstbasesink.c:
142 Use new API to get elapsed time.
144 2007-11-28 Stefan Kost <ensonic@users.sf.net>
146 * gst/gstdebugutils.c:
148 Fix wrong order of args in GST_CLOCK_DIFF() usage.
150 * tools/gst-launch.c:
151 Use new API to get elapsed time.
153 2007-11-28 Stefan Kost <ensonic@users.sf.net>
155 * docs/gst/gstreamer-sections.txt:
157 * gst/gstdebugutils.c:
159 Rename new API + ChangeLog surgery to remove old name from last entry..
160 API: GST_GET_TIMESTAMP
162 2007-11-28 Stefan Kost <ensonic@users.sf.net>
164 * docs/gst/gstreamer-sections.txt:
166 * gst/gstdebugutils.c:
168 Now hide the different clock stuff behind a macro.
170 2007-11-28 Stefan Kost <ensonic@users.sf.net>
173 * gst/gstdebugutils.c:
175 Apply the posix-timer check from #361155. Conditionally use the posix
176 timer for logging. This gives better timestamp precission, less
177 overhead and no ntp jitter.
179 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
181 * gst/gstminiobject.c: (gst_mini_object_get_type),
182 (gst_mini_object_class_init), (gst_mini_object_copy_default),
183 (gst_mini_object_finalize), (gst_mini_object_copy),
184 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
185 (gst_mini_object_replace), (param_mini_object_validate),
186 (gst_param_spec_mini_object_get_type):
187 Some cleanup and checking against invalid function parameters.
189 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
191 * docs/gst/gstreamer-sections.txt:
193 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
194 (gst_systemclock_suite):
195 Start merging in the easy bits of #361155, the monotonic clock patch.
196 This one adds a few handy macros with docs and a testsuite.
198 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
200 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
201 Be a bit smarter when seeking, like, don't try to do a seek when it's
202 not needed. This avoids errors when the file is not seekable.
205 2007-11-26 Stefan Kost <ensonic@users.sf.net>
207 * docs/gst/gstreamer-docs.sgml:
208 * docs/gst/gstreamer-sections.txt:
209 * docs/gst/gstreamer.types.in:
214 * plugins/elements/gstqueue.c:
215 Due to popular request remove preset interface again. :-(.
217 2007-11-22 Stefan Kost <ensonic@users.sf.net>
219 * tools/gst-inspect.c:
220 Print 'default value' for enums and flags too.
222 2007-11-22 Stefan Kost <ensonic@users.sf.net>
224 * docs/random/ensonic/profiling.txt:
228 Fix typo and give better log output.
230 * gst/gstdebugutils.c:
231 * gst/gstdebugutils.h:
232 More ideas, make graphs a bit smaller and fix param name in macro.
234 2007-11-22 Stefan Kost <ensonic@users.sf.net>
237 Try harder to use the return value from fgets().
239 2007-11-21 Stefan Kost <ensonic@users.sf.net>
242 For theses two fgets we handle the error below.
244 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
246 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
247 Only send upstream events upstream. Fixes #498746.
249 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
251 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
253 * plugins/elements/gstidentity.c: (gst_identity_class_init),
254 (gst_identity_init), (gst_identity_transform_ip),
255 (gst_identity_set_property), (gst_identity_get_property):
256 * plugins/elements/gstidentity.h:
257 Add property to disable handoff signal emission. Fixes #498694.
258 API: GstIdentity::signal-handoffs
260 2007-11-21 Julien Moutte <julien@fluendo.com>
262 * docs/faq/gst-uninstalled: Yet another missing library for the
263 uninstalled script (fft)
265 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
267 * docs/faq/developing.xml:
268 Add a question about how to submit new translations.
270 * docs/random/release:
271 Update the contact email address for the Translation Project
273 * plugins/elements/gstfdsrc.c:
274 The parent_class for fdsrc is pushsrc, not GstElement.
276 2007-11-20 Stefan Kost <ensonic@users.sf.net>
279 Plug a leak and fix saving.
281 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
283 * docs/gst/gstreamer-sections.txt:
284 Add new gst_preset__get_property_names() function to the docs
287 2007-11-20 Stefan Kost <ensonic@users.sf.net>
291 Change _get_preset_names API to return a strv with copies. Add
292 _get_property_names to allow implementations to filter and provide
293 good default implementation.
295 2007-11-20 Julien MOUTTE <julien@moutte.net>
297 * docs/faq/gst-uninstalled: Add another library to the uninstalled
300 2007-11-19 Stefan Kost <ensonic@users.sf.net>
303 More cleanups, docs, and TODOs from comments that now slowly come in.
305 2007-11-19 Julien MOUTTE <julien@moutte.net>
307 * docs/faq/gst-uninstalled: Add new base libraries in the LD
310 2007-11-19 Stefan Kost <ensonic@users.sf.net>
313 Fix bogus warning and make the property type specific code more
316 2007-11-19 Julien MOUTTE <julien@moutte.net>
318 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
321 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
323 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
324 (gst_bin_add_func), (gst_bin_remove_func),
325 (gst_bin_change_state_func), (gst_bin_continue_func):
326 Change email, cleanups add some more debug and comments.
327 Also set bus and clock on new elements when the pipeline was in error.
329 2007-11-18 Stefan Kost <ensonic@users.sf.net>
332 * gst/gstdebugutils.c:
333 Fix build with --disable-gst-debug. Fixes #497859.
334 Spotted by Sameer Naik.
336 2007-11-17 Stefan Kost <ensonic@users.sf.net>
339 Little documentation improvment.
342 More TODO cleanups. Remove c++ comments.
344 * libs/gst/controller/gstcontroller.c:
345 Add TODO and use quark from static string.
347 * tests/check/gst/gstmessage.c:
348 * tests/check/gst/gststructure.c:
349 Use quark from static string.
351 2007-11-17 Stefan Kost <ensonic@users.sf.net>
354 Add some comments and TODOs.
357 Add padding for future changes.
359 * plugins/elements/gstqueue.c:
362 2007-11-17 Stefan Kost <ensonic@users.sf.net>
364 * docs/gst/gstreamer-docs.sgml:
365 * docs/gst/gstreamer-sections.txt:
366 * docs/gst/gstreamer.types.in:
371 Add the preset interface (Fixes #396779). Do some doc cleanups along.
373 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
379 === release 0.10.15 ===
381 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
384 releasing 0.10.15, "October"
386 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
388 * win32/vs6/libgstreamer.dsp:
389 Convert line endings back to DOS.
391 2007-11-13 Stefan Kost <ensonic@users.sf.net>
393 * docs/design/draft-tagreading.txt:
394 * docs/random/ensonic/profiling.txt:
395 Update fast tagreading draft and performance profiling ideas.
397 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
399 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
400 Don't hold the object lock when unreffing a buffer because it could
401 cause a deadlock when the finalize function wants to grab the object
402 lock too. Fixes #495133.
404 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
406 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
407 (gst_segment_to_stream_time), (gst_segment_to_running_time):
408 Also accumulate time correctly when doing reverse playback. Fixes
410 When converting to running and stream time, use default values for
411 start/stop/time/accum when comparing different formats. Fixes #494245.
413 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
414 Do running/stream time in TIME format.
416 * tests/check/gst/gstsegment.c: (GST_START_TEST),
418 2 new unit tests for segment accumulation.
420 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
422 * gst/gst.c: (init_pre):
423 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
424 (_gst_debug_bin_to_dot_file):
425 Move getenv() back into gst_init, so everyone can live happily
426 ever after. Make sure the symbol isn't exported though.
428 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
430 Patch by: Sebastien Moutte <sebastien moutte net>
432 * win32/common/gstenumtypes.c:
433 * win32/common/gstenumtypes.h:
436 * win32/vs6/libgstreamer.dsp:
437 Update vs6 project files (#494343).
439 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
441 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
442 (gst_base_src_perform_seek), (gst_base_src_default_event),
443 (gst_base_src_set_flushing), (gst_base_src_activate_push),
444 (gst_base_src_activate_pull):
445 Unify flushing code, remove some old unlock code that is no longer used.
446 Take the streaming lock when seeking to avoid races. Fixes #492729.
447 Added some more comments.
449 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
451 * gst/gst.c: (_gst_disable_segtrap):
452 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
453 we can use gst_segtrap_is_enabled() there now that we have that API.
454 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
455 to do the getenv here (and export the variable).
457 * gst/gstdebugutils.c: (debug_dump_element),
458 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
459 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
461 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
462 (gst_debug_log_default):
463 Rename _gst_info_start_time to priv_gst_info_start_time so it
464 doesn't get exported (was never in any header).
466 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
467 (gst_plugin_loading_mutex):
468 Make static mutex gst_plugin_loading_mutex really static (was never
469 in any header), and use gst_segtrap_is_enabled() instead of
470 _gst_disable_segtrap.
472 * gst/gsttrace.c: (_gst_trace_default):
473 Make local _gst_trace_default static (was never in any header).
475 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
477 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
479 * win32/common/libgstbase.def:
480 * win32/common/libgstcontroller.def:
481 * win32/common/libgstdataprotocol.def:
482 * win32/common/libgstnet.def:
483 * win32/common/libgstreamer.def:
484 Add more missing symbols, remove some duplicates, and sort
485 as the 'sort' command sorts it (partially fixes #493983).
487 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
489 * gst/gstelement.c: (gst_element_set_state_func):
490 Only change the state cookie if a different state was set on the
491 element. See #492729.
493 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
496 Remove unused and uninitialised type variables that were still
497 exported for some reason (they were never in any header files
500 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
502 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
503 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
504 (gst_base_sink_event), (gst_base_sink_get_position_last),
505 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
506 (gst_base_sink_change_state):
507 Don't try to report a 0 position when we don't know, return -1 and FALSE
508 instead. This mostly happens when we are prerolling.
509 Make sure we can report the right position before we post the ASYNC_DONE
510 message so that a message handler can query position without races.
512 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
513 (async_done_handoff), (async_done_func), (send_buffer),
514 (async_done_eos_func), (gst_sinks_suite):
515 Add two tests for the above.
517 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
520 Update with new email address.
522 * docs/design/part-TODO.txt:
523 Add some more info about future pad-block and negotiation changes.
525 * docs/design/part-buffering.txt:
526 Add some ideas about buffering reporting.
528 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
530 * tests/check/gst/gstobject.c:
531 Disable silly racy test that always fails on this combination of CPU
534 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
536 Patch by: Murray Cumming <murrayc@murrayc.com>
539 Corrected the registration of the parent-set and parent-unset
540 signals: The parameter is a GstObject, not a GObject (#493134).
542 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
553 Move declaration of private _gst_foo_initialize() functions into
554 our private header file where they should have been all along.
556 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
558 * docs/plugins/gstreamer-plugins-sections.txt:
559 * gst/gstdebugutils.h:
561 * plugins/elements/gstqueue.c:
562 gtk-doc fixes; trailing-comma-in-enum fix.
564 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
566 * gst/gst.c: (gst_deinit):
567 Clean up on deinit (not the external ones though, doesn't seem to be
568 needed for some reason).
570 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
572 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
573 Remove __declspec(dllimport) for MSVC that was copied over into core
574 from a plugin, obviously without ever having been tested (note the
575 single underscore in _declspec in the initial commit), and that doesn't
576 really make sense. See #492077.
578 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
580 * gst/gst.c: (init_post):
581 * gst/gstevent.c: (_gst_event_initialize):
582 * gst/gstquery.c: (_gst_query_initialize):
583 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
584 g_type_class_ref() other types as well, see #349410 and #64764.
586 * gst/gstbuffer.c: (_gst_buffer_initialize):
587 * gst/gstmessage.c: (_gst_message_initialize):
588 Simplify existing g_type_class_ref().
590 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
592 * gst/gstformat.c: (_gst_format_initialize):
593 g_type_class_ref() our GstFormat type to make sure we avoid the
594 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
595 bug #64764. Should fix intermittent tee unit test failures (#474823).
597 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
599 * tests/check/elements/tee.c: (test_num_buffers):
600 Simplify, simplify, simplify - or not. Rewrite unit test
601 not to use gst_parse_launch(); allow N sub-streams. Increasing
602 the number of sub-streams seems to reproduce #474823 more easily.
604 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
606 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
609 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
610 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
611 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
612 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
613 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
614 so use _pipe() directly (#492077).
616 * win32/common/dirent.c: (_treaddir):
617 Add a couple of casts to make it build without warnings with MSVC.
619 * win32/common/libgstreamer.def:
620 Add some more symbols that need to be exported.
622 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
624 * tests/examples/metadata/read-metadata.c: (message_loop):
625 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
626 arriving in a second or third tag message are added to
627 the tag list as well.
629 2007-10-31 Stefan Kost <ensonic@users.sf.net>
631 * libs/gst/base/gstbasesrc.c:
632 Its "Since:" and not "@Since:". And remove an superflous cast.
634 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
636 * docs/libs/gstreamer-libs-sections.txt:
637 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
638 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
639 (gst_base_sink_get_property), (gst_base_sink_render_object),
640 (gst_base_sink_preroll_object),
641 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
642 (gst_base_sink_change_state):
643 * libs/gst/base/gstbasesink.h:
644 Add a new last-buffer property that contains the last buffer used in
645 basesink for preroll or rendering. useful for making snapshots.
646 API: gst_base_sink_get_last_buffer()
647 API: GstBaseSink::last-buffer
649 2007-10-29 Stefan Kost <ensonic@users.sf.net>
651 * docs/gst/running.xml:
653 * gst/gstdebugutils.c:
654 * gst/gstdebugutils.h:
655 * tools/gst-launch.c:
656 Improve bin graph dumping, by using the envvar to specify a path.
657 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
659 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
661 * plugins/elements/gsttypefindelement.c:
662 (gst_type_find_element_handle_event),
663 (gst_type_find_element_activate):
664 Post special error message if we can't determine the type of a stream
667 2007-10-29 Stefan Kost <ensonic@users.sf.net>
669 * docs/gst/running.xml:
670 * gst/gstdebugutils.c:
671 Document new env-var. Add one log-line after dumpng a graph.
673 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
676 Ugly hack to put the (recently removed and non-portable, apparently)
677 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
678 GNU ld, because without that 'make check' fails miserably on my debian
679 stable box. Someone with more knowledge of linker intricacies and
680 portability issues than me fix this properly please.
682 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
684 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
685 Reset last seen position after flushing so that we don't report the old
688 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
690 * gst/gstelementfactory.c: (gst_element_register):
692 Patch from Alessandro Decina adding get_type_full and
693 get_protocols_full private vfuncs to the URIHandler interface
694 to allow bindings to support creating URI handlers.
695 Partially fixes: #339279
696 API: GstURIHandlerInterface::get_type_full
697 API: GstURIHandlerInterface::get_protocols_full
699 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
701 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
702 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
703 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
704 Make it so that pads are considered linked until a buffer is pushed
705 and discovered otherwise. This avoids problems with decodebin2 hanging
706 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
709 Make sure we lock the multiqueue when updating the max-size properties.
711 Fix a crash on Solaris in a debug statement in get_request_pad that
712 passes a NULL string to GST_DEBUG.
714 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
715 (run_output_order_test):
716 Fix the test to allow the first buffer on not-linked pads to come out
717 of sequence while multiqueue discovers that they are not-linked.
719 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
722 * libs/gst/check/Makefile.am:
723 Use a custom export symbol regex for libgstcheck, as it needs
724 to export symbols that don't match the standard GStreamer gst_*
725 pattern, and --export-dynamic is not portable (only works on
728 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
729 (gst_check_setup_sink_pad):
730 Make sure to pass a message parameter to the fail_* macros.
732 * tests/check/gst/gstinfo.c: (GST_START_TEST):
733 Fix some compiler warnings.
735 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
737 * tests/check/gst/gststructure.c: (test_to_string):
738 Disable test that checks that white spaces are not allowed
739 in structure names or field names, since we need to
740 support that for now for backwards compatibility reasons.
742 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
744 * docs/gst/gstreamer-sections.txt:
747 API: add GST_TAG_ARTIST_SORTNAME
748 API: add GST_TAG_ALBUM_SORTNAME
749 API: add GST_TAG_TITLE_SORTNAME
750 Add tag variants for sorting (#414539).
752 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
754 * gst/gststructure.c:
755 Also allow white space for names so we don't break
756 backwards compatibility.
758 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
760 * docs/design/part-TODO.txt:
761 * docs/design/part-segments.txt:
762 * docs/design/part-streams.txt:
765 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
767 * docs/gst/gstreamer-sections.txt:
768 Fixed documentation from my previous commit (added new API add
769 gst_value_set_structure(), add gst_value_get_structure() and
770 GST_VALUE_HOLDS_STRUCTURE).
772 2007-10-22 Stefan Kost <ensonic@users.sf.net>
774 * gst/gstdebugutils.c:
775 Reflow code to fix uninitialized variable warning.
777 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
779 * gst/gstcaps.c: (gst_caps_to_string),
780 (gst_caps_from_string_inplace):
781 * gst/gststructure.c: (gst_structure_get_abbrs),
782 (gst_structure_to_string), (gst_structure_from_string):
783 * gst/gstvalue.c: (gst_value_set_structure),
784 (gst_value_get_structure), (gst_value_serialize_structure),
785 (gst_value_deserialize_structure), (_gst_value_initialize):
787 * tests/check/gst/gststructure.c: (GST_START_TEST),
788 (gst_structure_suite):
789 * tests/check/gst/gstvalue.c: (GST_START_TEST):
790 Added GstStructure to gst_value_table and its related functions.
791 Changed gst_structure_to_string to print ';' in the end.
792 Changed gst_caps_to_string to not print ';' beteween its
793 fields (structures) anymore and remove the lastes ';' from latest
794 structure. Now it is possible to have nested structures.
795 In addition, backward compatibilty is assured by accepting '\0' as
796 end delimiter. Fixes: #487969.
797 API: add gst_value_set_structure()
798 API: add gst_value_get_structure()
799 API: add GST_VALUE_HOLDS_STRUCTURE
801 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
804 When no GSource callback has been set up, tell developer
805 to use a function that actually exists.
807 2007-10-17 Stefan Kost <ensonic@users.sf.net>
809 * docs/gst/gstreamer-sections.txt:
813 * gst/gstdebugutils.c:
814 * gst/gstdebugutils.h:
817 * tools/gst-launch.c:
818 Allow dumping pipelines as dot graphs. Fixes #456573.
820 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
822 * gst/gststructure.c:
823 Allow '+' as well, it can be part of media or mime types
824 such as image/svg+xml.
826 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
828 * docs/gst/gstreamer-sections.txt:
831 API: add gst_bus_pop_filtered
832 API: add gst_bus_timed_pop_filtered
833 Two new functions for waiting for specific message types on the
834 bus for a specified amount of time without iterating any main
835 loops or main contexts.
837 * tests/check/gst/gstbus.c:
838 Some tests for the new functions.
840 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
842 * docs/libs/gstreamer-libs-sections.txt:
843 Make gtk-doc ignore stuff it should ignore.
845 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
847 * libs/gst/check/gstcheck.c:
848 * libs/gst/check/gstcheck.h:
849 Allow runtime selection of unit tests to run via the GST_CHECKS
850 environment variable (test case function names, comma-separated).
852 2007-10-16 Stefan Kost <ensonic@users.sf.net>
854 * gst/gststructure.c:
855 * tests/check/gst/gststructure.c:
856 Revert serialisation change and constrain structure-names after
857 consensus on irc. Update api documentation to reflect the change.
859 2007-10-16 Stefan Kost <ensonic@users.sf.net>
861 * gst/gststructure.c:
862 Improve serialization and fix tests.
864 * tests/check/gst/gststructure.c:
865 Add another test that covers why I actually did the previous structure
868 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
870 * tools/gst-inspect.c: (print_element_info):
871 Don't crash when inspecting an element.
873 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
875 * tests/check/gst/gststructure.c:
876 Add unit test for escaping of structure name when serialising
877 and deserialising to/from strings.
879 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
881 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
882 (gst_single_queue_new):
883 * plugins/elements/gstqueue.c: (gst_queue_init),
884 (gst_queue_push_one):
885 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
886 upstream is tricked into thinking it can suggest a format downstream
887 while downstream does not support that format. The real problem is that
888 core calls acceptcaps when pushing a buffer with new caps, for which we
889 do a little workaround by setting the caps on the srcpad ourselves
890 before pushing the buffer (until this is figured out). Fixes #486758.
892 2007-10-15 Stefan Kost <ensonic@users.sf.net>
894 * gst/gststructure.c:
896 Add some more comments and debug output. Quote structure name to fix
897 deserialisation of some strings.
899 2007-10-15 Stefan Kost <ensonic@users.sf.net>
902 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
903 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
905 2007-10-15 Stefan Kost <ensonic@users.sf.net>
907 * tools/gst-inspect.c:
908 Save approx. 400 1 byte allocs when printing. Use API to acces element
914 * tools/gst-xmlinspect.c:
915 Use API to acces element details.
917 2007-10-15 Stefan Kost <ensonic@users.sf.net>
920 Fix some spelling errors.
922 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
924 * gst/gstbin.c: (bin_handle_async_done):
925 Correctly set the next state if all of our async children commited their
926 state. This makes sure we can actually cancel the state change in
927 progress. Fixes a regression in Rhythmbox when seeking.
929 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
932 Don't shadow local variable.
935 Don't shadow global function name.
937 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
939 * gst/gstelementfactory.c:
940 * gst/gstpluginfeature.c:
941 * gst/gstpluginfeature.h:
942 * gst/gstregistrybinary.c:
943 * gst/gstregistryxml.c:
945 Use already-interned string for the private GstPluginFeature
948 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
950 * docs/libs/gstreamer-libs-sections.txt:
951 Add new API to docs; fixes the build.
953 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
955 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
957 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
958 (gst_base_sink_event):
959 * libs/gst/base/gstbasesink.h:
960 Add function to wait for EOS, subclasses can use this to correctly wait
961 for devices to drain before performing the EOS logic. Fixes #485343.
962 API: gst_base_sink_wait_eos()
964 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
967 Cast description string constants in GST_PLUGIN_DEFINE macros
968 to a (gchar*) to make C++ code using these macros compile
969 without warning with g++-4.2 (see #462737). Even if slightly
970 ugly, this seems preferable to putting the description strings
971 into the GLib quark table or making the structure member a
972 const gchar * and doing casts in core code that allocs and
973 frees these strings, or requiring a cast in the C++ code.
975 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
978 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
979 to print the entire class/function signature into the log
980 file for C++ code. This only affects C++ code, for C code
981 everything remains the same.
983 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
985 * gst/gstbin.c: (remove_from_queue):
986 Work around a problem with pipelines containing (semi)loops until a
987 proper, more complicated solution is ready. See #475455.
989 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
993 * gst/gstregistrybinary.c:
994 * gst/gstregistryxml.c:
995 Put more strings into the GLib quark table. No need to keep
996 a hundred-something copies of identical version strings,
997 license strings, package name strings and package origin
1000 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
1002 * docs/manual/advanced-dataaccess.xml:
1003 Don't imply that it's okay to unconditionally change
1004 buffer data or buffer metadata in a pad probe callback,
1005 and a bunch of other comments. Fixes #430031.
1007 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
1009 * win32/common/gstenumtypes.c:
1010 * win32/common/gstenumtypes.h:
1011 * win32/common/gstversion.h:
1012 Update generated files.
1014 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
1016 * docs/manual/advanced-autoplugging.xml:
1017 Prefix section with broken code with a warning (see #342432).
1019 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
1021 * docs/manual/appendix-integration.xml:
1022 * docs/manual/basics-init.xml:
1023 Call g_thread_init() before g_option_context_new() to
1024 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
1026 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
1028 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1029 (gst_base_sink_queue_object_unlocked),
1030 (gst_base_sink_queue_object), (gst_base_sink_event),
1031 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
1032 When we received EOS and are waiting for when to post the EOS message,
1033 our state is prerolled and we should not return ASYNC.
1034 Reorganize some code paths to implement this behavior.
1036 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
1038 Add unit test to verify above EOS fix.
1040 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
1042 * plugins/elements/gsttypefindelement.c:
1043 (gst_type_find_element_have_type), (gst_type_find_element_init),
1044 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
1045 Move detecting the input caps of the sinkpad to the setcaps function.
1046 This allows us to update the output caps when we receive new input caps
1047 instead of always using the first detected caps.
1049 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
1051 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
1052 (gst_base_sink_get_position):
1053 Don't try to preroll non-async elements after a flush.
1054 Subtract latency form clock times when reporting position.
1056 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
1058 * gst/gstpad.c: (gst_pad_pause_task):
1060 Small comment and documentation update.
1062 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
1064 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1065 (gst_base_src_set_live), (gst_base_src_is_live),
1066 (gst_base_src_query_latency), (gst_base_src_perform_seek),
1067 (gst_base_src_default_event), (gst_base_src_wait),
1068 (gst_base_src_do_sync), (gst_base_src_get_range),
1069 (gst_base_src_pad_get_range), (gst_base_src_loop),
1070 (gst_base_src_unlock), (gst_base_src_unlock_stop),
1071 (gst_base_src_set_flushing), (gst_base_src_set_playing),
1072 (gst_base_src_activate_push), (gst_base_src_activate_pull),
1073 (gst_base_src_change_state):
1074 Rework the locking of basesrc in a similar fashion to basesink. We
1075 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
1076 us to handle live sources and semi live ones much better.
1078 Fix unlocking when seeking, shutting down and pausing in live sources.
1080 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
1082 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
1083 Fix compilation again.
1085 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1088 Use meaningful categories for the logs to clean the default one.
1090 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1092 * tests/check/pipelines/cleanup.c:
1093 Print message name and not just number.
1095 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1097 * docs/design/draft-tagreading.txt:
1098 Add some more thoughts.
1100 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1102 * tests/check/pipelines/simple-launch-lines.c:
1103 Print message name and not just number.
1105 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1107 * libs/gst/base/gsttypefindhelper.c:
1108 Speedup typefinding. This is work in progress (see #459862).
1110 2007-10-03 Stefan Kost <ensonic@users.sf.net>
1113 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
1114 Spotted by Josep Torra Valles <josep@fluendo.com>.
1116 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
1119 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
1120 field has moved to GstObject.
1122 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
1124 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
1125 (gst_base_src_get_range), (gst_base_src_change_state):
1126 Call unlock for live sources so that they can't get stuck in _create and
1127 produce a buffer before they are set back to PLAYING.
1129 2007-10-02 Edward Hervey <bilboed@bilboed.com>
1131 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1132 (gst_queue_locked_dequeue):
1133 Comment the segment-related code... in the PROPER function.
1134 See #482147 and my commit from yesterday.
1136 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
1138 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1139 Also initialize the counter that calculates the first timestamp on a
1140 buffer correctly for non-live sources.
1142 2007-10-01 Edward Hervey <bilboed@bilboed.com>
1144 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
1145 Disable code that's breaking the current-time-level reporting.
1148 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
1150 * docs/gst/gstreamer-sections.txt:
1151 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
1152 as they shouldn't show up. Fixes the docs build.
1154 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
1157 Add an explicit variable importation needed on VS6 (only for MSC_VER)
1158 Define M_PI which is used in files which are including gstinfo.h.
1159 VS6 includes doesn't define it.
1160 * win32/common/libgstbase.def:
1161 * win32/common/libgstcontroller.def:
1162 * win32/common/libgstreamer.def:
1163 Add new exported functions and variables.
1164 * win32/vs6/libgstcontroller.dsp:
1165 * win32/vs6/libgstreamer.dsp:
1166 Update the list of files to build.
1168 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
1170 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1172 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
1173 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
1174 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
1175 Improve debugging. Fixes #480858.
1177 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
1179 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1181 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1182 First patch of code cleanups, use the macros and right arguments in the
1183 macros to signal and lock the queue. See #480858.
1185 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
1187 * gst/gstbus.c: (poll_func):
1188 Improve debugging when dealing with _poll().
1190 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
1192 * gst/gstregistryxml.c:
1193 Fix memory leak I introduced a few days ago.
1195 2007-09-26 Michael Smith <msmith@fluendo.com>
1197 * gst/gstbuffer.c: (gst_buffer_finalize):
1198 Make it once again possible to free GstBuffers in the default
1200 The poisoning scribbles on parts of the miniobject we need in
1204 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
1206 * docs/gst/gstreamer-sections.txt:
1209 API: add GST_TAG_COMPOSER, fixes #459809.
1211 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
1215 Add the 3-clause BSD license and the MIT/X11 license to the license
1216 list. Fixes #479784.
1218 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
1220 * docs/faq/getting.xml:
1221 Add Q+A about different GStreamer versions (#364056).
1223 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1225 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1226 (gst_base_sink_event), (gst_base_sink_change_state):
1227 Return correct gboolean from query function.
1229 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1231 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1232 (gst_base_sink_event), (gst_base_sink_query),
1233 (gst_base_sink_change_state):
1234 Simplify latency query.
1235 When not synchronizing, we can report latency without querying the peer
1238 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1242 Fix small typos in the docs.
1244 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
1246 * docs/design/draft-latency.txt:
1247 * docs/design/draft-push-pull.txt:
1248 * docs/design/draft-tagreading.txt:
1249 * docs/design/part-MT-refcounting.txt:
1250 * docs/design/part-activation.txt:
1251 * docs/design/part-block.txt:
1252 * docs/design/part-element-source.txt:
1253 * docs/design/part-events.txt:
1254 * docs/design/part-gstbin.txt:
1255 * docs/design/part-gstelement.txt:
1256 * docs/design/part-gstobject.txt:
1257 * docs/design/part-gstpipeline.txt:
1258 * docs/design/part-messages.txt:
1259 * docs/design/part-preroll.txt:
1260 * docs/design/part-push-pull.txt:
1261 * docs/design/part-qos.txt:
1262 * docs/design/part-query.txt:
1263 * docs/design/part-scheduling.txt:
1264 * docs/design/part-seeking.txt:
1265 * docs/design/part-segments.txt:
1266 * docs/design/part-states.txt:
1267 Documentation updates and typo fixes.
1269 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
1271 * plugins/elements/gstfakesink.c:
1272 Add some debug text to error message to indicate that
1273 we errored out on request.
1275 * tools/gst-launch.c:
1276 When the state change to PLAYING fails, check for an
1277 error message on the bus and print it.
1279 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
1281 translated by: Jorge González González <aloriel@gmail.com>
1285 Added Spanish translation.
1287 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
1289 * plugins/elements/gstqueue.c: (gst_queue_push_one):
1290 Fix printf arguments.
1292 2007-09-20 Stefan Kost <ensonic@users.sf.net>
1294 * tests/check/generic/states.c:
1295 Improved state change unit test.
1297 2007-09-20 Stefan Kost <ensonic@users.sf.net>
1300 Move priv to the right place.
1302 * gst/gstsystemclock.c:
1303 Add FIXME: and improve log.
1305 * tests/check/Makefile.am:
1306 * tests/examples/manual/Makefile.am:
1307 Work with all types of registries.
1309 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
1311 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1312 Don't unref the event after pushing it. Fixes #478401.
1314 2007-09-19 Stefan Kost <ensonic@users.sf.net>
1317 * tests/examples/manual/.cvsignore:
1318 Ignore registries in any format.
1320 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
1322 * gst/glib-compat-private.h:
1323 Add compatibility macro for g_intern_string() for
1324 GLib-2.8 (any reason we can't just bump the
1325 requirement to at least 2.10?)
1327 * gst/gstpadtemplate.h:
1328 * gst/gstelementfactory.c:
1329 * gst/gstregistryxml.c:
1330 * gst/gstregistrybinary.c:
1331 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
1332 up the internal code accordingly. This shouldn't be a problem, since
1333 there is no reason external code could ever assume the string in such
1334 a structure is dynamically allocated unless it did that itself; the
1335 use of g_strdup() is private to element factories. The new code also
1336 saves some memory by putting pad template name strings into the GLib
1337 quark table instead of allocating them dynamically.
1338 Declaring this field constant fixes warnings with g++-4.2 when using
1339 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
1341 2007-09-19 Stefan Kost <ensonic@users.sf.net>
1343 * gst/gstelementfactory.c:
1344 Release static caps. Fixes #475723.
1346 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
1350 Make some internal API take const gchar * instead of just
1351 gchar * to avoid compiler warnings with g++-4.2.2 when
1352 passing string constants (partially fixes #478092).
1354 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
1356 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
1357 A latency query fails when one of the sinks fail.
1359 * gst/gstelement.c: (gst_element_set_base_time):
1362 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1364 * gst/gstbin.c: (gst_bin_continue_func):
1365 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1366 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
1367 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
1369 Fix minor compilation warnings shown with Forte.
1371 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
1373 * plugins/elements/gstqueue.c: (apply_buffer),
1374 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
1375 Measure queue level based on the diff between head and tail timestamps
1376 even when pushing the first buffer.
1378 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1380 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1381 (gst_base_sink_event), (gst_base_sink_change_state):
1382 Sinks that don't preroll can always be queried for the latency.
1383 Don't post ASYNC start when we are not async.
1385 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1387 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1388 (gst_queue_handle_sink_event), (gst_queue_chain),
1389 (gst_queue_push_one), (gst_queue_handle_src_query),
1390 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1391 * plugins/elements/gstqueue.h:
1392 When downstream returns UNEXPECTED from pushing a buffer, don't try to
1393 push more buffers but allow pushing of EOS and NEWSEGMENT.
1394 Add some more debug info here and there. Fixes #476514.
1396 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
1398 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1399 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1400 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1401 (gst_base_sink_set_flushing), (gst_base_sink_query),
1402 (gst_base_sink_change_state):
1403 Latency query is allowed after we are prerolled. Introduce a new flag
1404 for this and stop abusing other variables.
1406 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1408 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1409 Push OOB events downstream when we get them in send_event. This allows
1410 the application to insert events in the pipeline.
1411 Add some more comments.
1413 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1415 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1416 (do_bin_latency), (gst_bin_change_state_func):
1417 * gst/gstpipeline.c: (gst_pipeline_change_state):
1418 Move latency query from GstPipeline to GstBin so that we can also
1419 use it when async-handling is enabled on bins.
1421 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1423 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1424 (gst_base_src_do_sync), (gst_base_src_change_state):
1426 Clean up the timestamping and syncing code for pseudo live sources.
1428 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
1430 Patch by: Steve Fink <sphink gmail com>
1432 * docs/manual/appendix-checklist.xml:
1433 Mention less -R switch in the section about debug output (#474055).
1435 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
1437 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1438 Queue can latency to the pipeline up to the configured max size in time.
1439 Report this fact in the latency query.
1441 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1443 Patch by: Sebastien Moutte <sebastien at moutte dot net>
1445 * libs/gst/controller/gstinterpolation.c:
1446 * libs/gst/controller/gstlfocontrolsource.c:
1447 Use gst_guint64_to_gdouble() when converting from a uint64 or
1448 GstClockTime to double to fix the build on win32. Fixes #474371.
1450 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1452 * gst/gstbuffer.c: (gst_buffer_finalize):
1453 Implement poisoning for GstBuffer if --enable-poisoning is specified.
1454 When finalizing a buffer the complete struct is filled with 0xff,
1455 thus making a use of the buffer after the final unref impossible.
1457 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
1459 * tests/check/libs/controller.c: (GST_START_TEST):
1460 Use fail_unless_equals_int(a, b) instead of
1461 fail_unless_equals (a == b) to get better output on failures.
1463 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
1465 * tests/check/gst/gsturi.c:
1466 Also check for the other file URI variant on win32.
1468 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
1470 * gst/gsturi.c: (gst_uri_get_location):
1471 If there's no hostname, we want to return 'c:/foo/bar.txt'
1472 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
1474 * tests/check/gst/gsturi.c:
1475 Unit test for the above and a few more things.
1477 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
1479 * docs/design/part-live-source.txt:
1480 Add docs on how live sources should timestamp.
1482 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1483 Add some more debug info.
1484 For subclasses that are live and like to sync, add aditional startup
1485 latency to sync time and timestamps so that we timstamp according to the
1488 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
1491 Also do a g_type_class_ref() for the subbuffer type in
1494 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
1496 * docs/gst/gstreamer-sections.txt:
1497 * gst/gstpad.c: (gst_pad_peer_query):
1499 Add function to perform a query on the peer of a pad.
1500 API: gst_pad_peer_query()
1502 2007-09-11 Stefan Kost <ensonic@users.sf.net>
1504 * tests/check/gst/gstsystemclock.c:
1505 Cleanup the test a little (use gst-logging and not g_message). Improve
1506 test to check if a wait reached the target.
1508 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
1510 * docs/libs/gstreamer-libs-sections.txt:
1511 Add new API to docs and fix the build.
1513 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
1515 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1516 (gst_base_src_init), (gst_base_src_set_do_timestamp),
1517 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1518 (gst_base_src_get_property), (gst_base_src_do_sync):
1519 * libs/gst/base/gstbasesrc.h:
1520 Add property to make the basesrc timestamp buffers based on the current
1522 API: GstBaseSrc::do-timestamp
1523 API: gst_base_src_set_do_timestamp()
1524 API: gst_base_src_get_do_timestamp()
1526 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
1528 * docs/random/release:
1529 Really make sure translations are up-to-date before
1530 a release (#465010).
1532 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
1534 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1535 Always destroy the timer, also in error cases.
1537 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
1539 * docs/manual/highlevel-xml.xml:
1540 Fix XML example code. Fixes #472714.
1542 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
1544 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1545 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1546 (gst_base_sink_query):
1547 Protect eos and have_preroll with the OBJECT lock so we don't need to
1548 take the PREROLL lock when querying the latency. Fixes #473846.
1550 2007-09-05 Stefan Kost <ensonic@users.sf.net>
1553 Give some log-messages a category.
1555 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
1557 * gst/gststructure.c:
1558 (gst_structure_fixate_field_nearest_fraction):
1559 Fix fraction list fixation code. Take the fraction with the smallest
1560 difference with the target instead of the first one in the list.
1562 * tests/check/gst/gststructure.c: (GST_START_TEST),
1563 (gst_structure_suite):
1564 Added test to verify correct fraction list fixation behaviour.
1566 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
1568 * win32/common/libgstreamer.def:
1569 Export gst_bus_add_signal_watch too.
1571 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
1573 * docs/libs/gstreamer-libs-sections.txt:
1574 Add new methods to docs.
1576 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1577 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1578 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1579 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1580 * libs/gst/base/gstbasesink.h:
1581 Add ts-offset property to fine-tune the synchronisation.
1582 API: GstBaseSink::ts-offset property
1583 API: gst_base_sink_set_ts_offset()
1584 API: gst_base_sink_get_ts_offset()
1586 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
1588 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1589 (gst_base_sink_init), (gst_base_sink_set_sync),
1590 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1591 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1592 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1593 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1594 (gst_base_sink_get_property), (gst_base_sink_change_state):
1595 * libs/gst/base/gstbasesink.h:
1596 Add async property to instruct the sink never to inform the parent about
1597 ASYNC state changes, update docs.
1598 Check argument with g_return_* for the public functions.
1599 API: GstBaseSink::async property
1600 API: gst_base_sink_set_async_enabled()
1601 API: gst_base_sink_is_async_enabled()
1603 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
1605 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1608 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1609 (gst_base_src_default_query), (gst_base_src_wait),
1610 (gst_base_src_do_sync), (gst_base_src_change_state):
1611 Rearrange some code so that we can add support for measuring the
1614 2007-08-27 Stefan Kost <ensonic@users.sf.net>
1616 * docs/random/ensonic/dynlink.txt:
1617 More thoughs on this.
1619 * plugins/elements/gstcapsfilter.c:
1620 Add bugzilla ticket number to FIXME comment.
1622 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
1624 * docs/design/part-TODO.txt:
1625 * docs/design/part-block.txt:
1628 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1631 Revert patch which uses $(gst_headers) instead of $^ because it
1634 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
1636 * tests/check/gst/gstbin.c: (GST_START_TEST):
1637 Fix leaks in the new unit test.
1639 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
1642 Don't use GST_INFO before the debug system is actually initialised
1643 (shouldn't do any harm, but won't print anything either, so we can
1644 just as well remove it).
1647 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1648 compilers that don't support variadic macros (such as MSVC), should
1649 check for debug_level <= __gst_debug_min as well, since that's the
1650 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1651 inline helper functions. Should improve performance a bit, but also
1652 makes sure uses of GST_INFO et.al are ignored if the debugging
1653 system isn't initialised yet (instead of printing an assertion
1656 2007-08-23 Stefan Kost <ensonic@users.sf.net>
1658 patch by: David Nečas <yeti@physics.muni.cz>
1661 Replace some non portable makefile constructs.
1663 2007-08-21 Stefan Kost <ensonic@users.sf.net>
1665 * common/gtk-doc-plugins.mak:
1666 Grrrrr. Don't remove the types file on make clean.
1668 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
1670 * tools/gst-launch.1.in:
1671 Add colorspace to example pipeline. Fixes #458274.
1673 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
1675 * docs/random/release:
1676 The release manager should run 'make download-po' before making a
1677 release to make sure translations are up-to-date.
1683 Add some new translations.
1685 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
1687 * tools/gst-launch.c: (event_loop), (main):
1688 Don´t try to do any state management when a live pipeline posts
1690 Also make the buffering string translatable.
1692 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1694 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1695 (bin_handle_async_start), (gst_bin_handle_message_func):
1697 When adding elements, insert messages into the bus of the newly added
1698 element and make sure the element is the source of the message. This
1699 allows the parent bin to intercept the message and do the
1700 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1701 messages to the app (which is not allowed).
1704 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1705 Fix testsuite so that is does not work around messages that should not
1706 have been posted in the first place.
1708 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1710 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1711 (update_degree), (gst_bin_sort_iterator_next):
1712 Fix annoying bug in the sorted iterator where a sink that is not really
1713 a sink (when it has downstream links) screwed up the iterator.
1715 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1716 Unit test to verify the fix.
1718 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
1721 Add some more docs for the messages.
1723 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1724 (gst_base_sink_query):
1725 Add some more debugging.
1727 * tools/gst-launch.c: (event_loop):
1728 When interrupting, don't try to set pipeline to PAUSED twice.
1730 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
1733 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
1734 (bin_handle_async_start), (gst_bin_handle_message_func):
1735 Move ASYNC_START message posting to where it belongs, similar to
1737 Don't post ASYNC_START when we are in error.
1738 Post ASYNC_START when we added an async element to a bin.
1740 2007-08-14 Julien MOUTTE <julien@moutte.net>
1742 * gst/gstindex.c: (gst_index_add_association): Fix index entry
1743 generation from vargs. Fixes #466595.
1745 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
1747 * gst/gstbin.c: (gst_bin_element_set_state):
1748 Always change the state of a NO_PREROLL element even if it has ASYNC
1749 elements inside (in case of a bin).
1751 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
1752 Unit test for this case.
1754 2007-08-13 Stefan Kost <ensonic@users.sf.net>
1756 * libs/gst/check/gstbufferstraw.c:
1757 * libs/gst/check/gstcheck.h:
1758 * libs/gst/controller/gstcontroller.c:
1759 * libs/gst/controller/gstcontrolsource.h:
1760 * libs/gst/controller/gstlfocontrolsource.h:
1761 * plugins/elements/gstcapsfilter.h:
1762 * plugins/elements/gstfdsink.h:
1763 * plugins/elements/gstfdsrc.h:
1764 Add more missing docs.
1766 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1768 * gst/gststructure.c:
1769 Add Since tag to docs.
1771 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1773 * docs/gst/gstreamer-sections.txt:
1774 * gst/gststructure.c: (gst_structure_get_uint):
1775 * gst/gststructure.h:
1776 Add function to get uint from a structure.
1777 API: gst_structure_get_uint()
1779 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
1781 * gst/gstcaps.c: (gst_caps_set_simple_valist),
1782 (gst_caps_intersect):
1783 Fix proper check for simple caps.
1785 2007-08-10 Stefan Kost <ensonic@users.sf.net>
1787 * docs/gst/Makefile.am:
1788 * docs/libs/Makefile.am:
1789 Remove cruft and do some cleanups.
1791 * docs/gst/gstreamer-docs.sgml:
1792 * docs/libs/gstreamer-libs-docs.sgml:
1793 Prepare for comming gtkdoc features (rebase against online docs).
1795 2007-08-10 Michael Smith <msmith@fluendo.com>
1797 * docs/gst/gstreamer-sections.txt:
1798 Add gst_registry_add_path to docs.
1800 2007-08-10 Michael Smith <msmith@fluendo.com>
1802 * gst/gstregistry.h:
1803 Add gst_registry_add_path, which was missing from this header.
1805 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
1807 * libs/gst/controller/gstlfocontrolsource.c:
1810 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
1812 * libs/gst/base/gstbasesink.c:
1813 Don't send an async_start message during downwards state change if
1814 target state is less than READY
1816 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
1818 translated by: Gabor Kelemen <kelemeng@gnome.hu>
1822 Added Hungarian translation.
1824 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
1831 Updated translations.
1833 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
1835 * libs/gst/controller/Makefile.am:
1836 Dist gstlfocontrolsourceprivate.h
1838 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
1840 * docs/libs/gstreamer-libs.types:
1841 Don't register the enum type gst_lfo_waveform_get_type() in the
1842 .types file - only GObject derived types belong.
1844 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
1846 Patch by: <arenevier at fdn dot fr>
1849 Remove comma from last element in enum to avoid compile errors when
1850 using -pendantic. Fixes #464366.
1852 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
1854 * docs/design/part-TODO.txt:
1855 Add some more TODO items
1857 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
1860 * gst/gstcaps.c: (gst_caps_intersect):
1861 Optimize trivial intersection case between identical caps pointers.
1863 * gst/gstelement.c: (gst_element_continue_state),
1864 (gst_element_set_state_func):
1866 Fix spelling and grammar mistakes.
1868 2007-08-05 Stefan Kost <ensonic@users.sf.net>
1872 Update POTFILES. Fixes #461599.
1874 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
1877 Fix confusing typo in debug output.
1879 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
1881 reviewed by: Stefan Kost <ensonic@users.sf.net>
1883 * libs/gst/controller/Makefile.am:
1884 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
1885 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
1886 (gst_lfo_control_source_new),
1887 (gst_lfo_control_source_set_waveform),
1888 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
1889 (gst_lfo_control_source_finalize),
1890 (gst_lfo_control_source_dispose),
1891 (gst_lfo_control_source_set_property),
1892 (gst_lfo_control_source_get_property),
1893 (gst_lfo_control_source_class_init):
1894 * libs/gst/controller/gstlfocontrolsource.h:
1895 * libs/gst/controller/gstlfocontrolsourceprivate.h:
1896 API: Add GstLFOControlSource, a control source that gives values
1897 for specific timestamps based on several periodic waveforms.
1900 * tests/check/libs/controller.c: (GST_START_TEST),
1901 (gst_controller_suite):
1902 * docs/libs/gstreamer-libs-docs.sgml:
1903 * docs/libs/gstreamer-libs-sections.txt:
1904 * docs/libs/gstreamer-libs.types:
1905 Add documentation and unit tests for GstLFOControlSource.
1907 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
1912 === release 0.10.14 ===
1914 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
1917 releasing 0.10.14, "Breathing Vacuum"
1919 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
1921 * gst/gstelement.c: (gst_element_class_set_details_simple):
1923 Make strings passed to gst_element_class_set_details_simple()
1924 constant, as they should be (#462752).
1926 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
1928 * gst/gstbin.c: (gst_bin_change_state_func),
1929 (bin_handle_async_done), (gst_bin_handle_message_func):
1930 Don't forget about the fact that some element went ASYNC even after a
1931 resync. This makes us post the ASYNC_DONE message correctly.
1934 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1936 * gst/gstregistry.c: (gst_registry_add_feature):
1937 When replacing an existing feature in the registry, make sure to
1938 continue holding a reference until we've replaced the name string
1939 within our feature hash table. Make sure to use g_hash_table_replace
1940 instead of g_hash_table_insert to ensure the new name string is used
1941 as a key instead of the old one that we're about to free.
1944 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
1946 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
1947 (gst_plugin_feature_set_name):
1948 Revert patch from #459466 until after the release and we can work
1949 out exactly what the problem is (if any).
1951 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
1953 * docs/gst/gstreamer-sections.txt:
1956 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
1958 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
1960 * docs/libs/Makefile.am:
1961 Include our build-prefix libs and includes before the generic ones to
1962 avoid linking against the installed libs when we want the build-tree
1965 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
1967 Patch by: Steve Fink <sphink gmail com>
1969 * docs/pwg/building-testapp.xml:
1970 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
1971 if people try to build or install the example from the plugin
1972 template against a GStreamer from package using the configure
1975 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
1977 Patch by: Steve Fink <sphink gmail com>
1979 * tools/gst-inspect.1.in:
1980 Document --print-all and --print-plugin-auto-install-info command
1981 line options in man page.
1983 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
1985 * docs/gst/gstreamer-sections.txt:
1986 Add docs for new api function.
1988 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
1990 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
1991 * gst/gstelementfactory.h:
1992 API: gst_element_factory_has_interface()
1993 Added method to check if an element factory implements a named
1996 2007-07-25 Stefan Kost <ensonic@users.sf.net>
1999 * docs/gst/gstreamer.types.in:
2000 Another conditional doc check.
2003 * gst/gstparamspecs.h:
2004 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2009 2007-07-24 Stefan Kost <ensonic@users.sf.net>
2011 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
2012 (gst_registry_binary_load_feature),
2013 (gst_registry_binary_load_plugin),
2014 (gst_registry_binary_read_cache):
2015 Print error just once and with additional info.
2017 2007-07-24 Stefan Kost <ensonic@users.sf.net>
2019 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
2020 (helper_find_suggest), (helper_find_get_length),
2021 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
2022 (gst_type_find_helper_for_buffer):
2023 Cleanup the typefindhelper code and add private doc comments.
2025 2007-07-24 Edward Hervey <bilboed@bilboed.com>
2027 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2028 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
2029 Fix capsfilter for cases where the caps set on capsfilter will provide
2030 additional information.
2033 2007-07-24 Stefan Kost <ensonic@users.sf.net>
2035 * gst/gsttypefindfactory.c:
2036 Fix docs that recommened wrong function to use.
2038 2007-07-23 Stefan Kost <ensonic@users.sf.net>
2040 * tools/gst-inspect.c: (print_plugin_features):
2041 Also give media-type for typefinders in element output.
2043 2007-07-23 Stefan Kost <ensonic@users.sf.net>
2045 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
2046 (gst_registry_remove_features_for_plugin_unlocked),
2047 (gst_registry_add_feature), (gst_registry_remove_feature),
2048 (gst_registry_lookup_feature_locked):
2049 * gst/gstregistry.h:
2050 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
2053 2007-07-23 Stefan Kost <ensonic@users.sf.net>
2055 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2056 (gst_plugin_feature_set_name):
2057 Avoid double memory usage for pluginfeature names. Fixes #459466.
2059 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
2062 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
2063 driving the pipeline may need to explicitly check for NOT_LINKED as
2064 well, since IS_FATAL doesn't cover that.
2066 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
2068 * docs/pwg/advanced-types.xml:
2069 Fix typo and duplicate entry in video formats list.
2071 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
2073 * libs/gst/controller/gstinterpolation.c:
2074 Also round to the nearest int when using cubic interpolation.
2076 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
2078 * libs/gst/controller/gstinterpolation.c:
2079 When linearly interpolating integer types, round to the nearest int
2080 by adding 0.5. Don't do it for float/double types.
2081 Fixes the failing controller test on my machine, which is somehow
2082 rounding differently than on the buildbots.
2084 2007-07-20 Stefan Kost <ensonic@users.sf.net>
2086 * tools/gst-plot-timeline.py:
2087 Better log parsing (categories can have -). Adjust text vs. lines, so
2088 that they span the same y-range.
2090 2007-07-20 Stefan Kost <ensonic@users.sf.net>
2092 * docs/random/ensonic/audiobaseclasses.txt:
2093 * docs/random/ensonic/dynlink.txt:
2094 * docs/random/ensonic/profiling.txt:
2097 * docs/random/moving-plugins:
2098 Add note to use g_assert type macros.
2100 2007-07-20 Stefan Kost <ensonic@users.sf.net>
2103 * libs/gst/check/Makefile.am:
2104 Add libm check as we use in for plugins.
2106 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
2108 * gst/gstbin.c: (gst_bin_continue_func):
2109 Check that the state_cookie hasn't changed since the continue_func
2110 was scheduled. Avoids problems where the state changes back to
2111 something it shouldn't be because it was changed in the meantime.
2113 2007-07-17 Stefan Kost <ensonic@users.sf.net>
2115 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
2116 (gst_registry_binary_save_string),
2117 (gst_registry_binary_save_pad_template),
2118 (gst_registry_binary_save_feature),
2119 (gst_registry_binary_save_plugin),
2120 (gst_registry_binary_load_feature),
2121 (gst_registry_binary_load_plugin),
2122 (gst_registry_binary_read_cache):
2123 Fix memory leak. Be less verbose in the log.
2125 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2127 * tests/check/elements/.cvsignore:
2128 Add file to cvsignore as commanded.
2130 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2132 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
2133 (mq_dummypad_event), (run_output_order_test):
2134 Use a GStaticMutex to protect all cases where libcheck
2135 fail_if/fail_unless macros might be called from multiple threads
2136 simultaneously to avoid errors like:
2137 "check_pack.c:107: :-1081725400:Bad message type arg"
2139 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2141 * tests/check/pipelines/stress.c: (GST_START_TEST):
2142 Make sure we set the pipeline back to the NULL state before
2143 dropping our final reference.
2145 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
2147 * tests/check/elements/tee.c: (GST_START_TEST):
2148 Make the tee stress-test a little less stressful so it doesn't just
2149 time out on slow-machines, and remove a small race when it's starting
2150 up by adding a get_state() call.
2152 2007-07-16 Stefan Kost <ensonic@users.sf.net>
2155 Avoid reading registry twice on startup. Fixes #457322.
2157 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
2159 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2160 * pkgconfig/gstreamer-check.pc.in:
2161 Substitute the CFLAGS for libcheck into our .pc file too so that
2162 dependent modules will pick it up properly if libcheck is installed
2163 into some other prefix.
2165 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
2168 Revert the pkg-config check for libcheck, since it pulls in the
2169 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
2170 a proper solution, either from the check project, or something else.
2172 2007-07-12 Stefan Kost <ensonic@users.sf.net>
2175 Use pkg-config to locate check.
2177 2007-07-10 Stefan Kost <ensonic@users.sf.net>
2184 Add deprecation guards.
2186 * libs/gst/base/gstcollectpads.h:
2187 Don't document object (this is implicitly private).
2189 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
2191 * gst/gststructure.c: (gst_structure_parse_value):
2192 When deserialising foo=bar without a type cast, check if it's a
2193 boolean before falling back to a string type, otherwise things like
2194 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
2195 because the filtercaps end up having a signed=(string)true field,
2196 which causes problems later when intersection caps.
2198 * tests/check/gst/gststructure.c: (GST_START_TEST):
2199 Add a unit test for this.
2201 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
2203 Reviewed by: Stefan Kost <ensonic@users.sf.net>
2205 * libs/gst/controller/Makefile.am:
2206 * libs/gst/controller/gstcontroller.c:
2207 (gst_controlled_property_add_interpolation_control_source),
2208 (gst_controlled_property_new), (gst_controlled_property_free),
2209 (gst_controller_find_controlled_property),
2210 (gst_controller_new_valist), (gst_controller_new_list),
2211 (gst_controller_new), (gst_controller_remove_properties_valist),
2212 (gst_controller_remove_properties_list),
2213 (gst_controller_remove_properties),
2214 (gst_controller_set_property_disabled),
2215 (gst_controller_set_disabled), (gst_controller_set_control_source),
2216 (gst_controller_get_control_source), (gst_controller_get),
2217 (gst_controller_sync_values), (gst_controller_get_value_array),
2218 (_gst_controller_dispose), (gst_controller_get_type),
2219 (gst_controlled_property_set_interpolation_mode),
2220 (gst_controller_set), (gst_controller_set_from_list),
2221 (gst_controller_unset), (gst_controller_unset_all),
2222 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
2223 * libs/gst/controller/gstcontroller.h:
2224 * libs/gst/controller/gstcontrollerprivate.h:
2225 * libs/gst/controller/gstcontrolsource.c:
2226 (gst_control_source_class_init), (gst_control_source_init),
2227 (gst_control_source_get_value),
2228 (gst_control_source_get_value_array), (gst_control_source_bind):
2229 * libs/gst/controller/gstcontrolsource.h:
2230 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
2231 (gst_object_get_control_source):
2232 * libs/gst/controller/gstinterpolation.c:
2233 (gst_interpolation_control_source_find_control_point_node),
2234 (gst_interpolation_control_source_get_first_value),
2235 (_interpolate_none_get), (interpolate_none_get),
2236 (interpolate_none_get_boolean_value_array),
2237 (interpolate_none_get_enum_value_array),
2238 (interpolate_none_get_string_value_array),
2239 (_interpolate_trigger_get), (interpolate_trigger_get),
2240 (interpolate_trigger_get_boolean_value_array),
2241 (interpolate_trigger_get_enum_value_array),
2242 (interpolate_trigger_get_string_value_array):
2243 * libs/gst/controller/gstinterpolationcontrolsource.c:
2244 (gst_control_point_free), (gst_interpolation_control_source_reset),
2245 (gst_interpolation_control_source_new),
2246 (gst_interpolation_control_source_set_interpolation_mode),
2247 (gst_interpolation_control_source_bind),
2248 (gst_control_point_compare), (gst_control_point_find),
2249 (gst_interpolation_control_source_set_internal),
2250 (gst_interpolation_control_source_set),
2251 (gst_interpolation_control_source_set_from_list),
2252 (gst_interpolation_control_source_unset),
2253 (gst_interpolation_control_source_unset_all),
2254 (gst_interpolation_control_source_get_all),
2255 (gst_interpolation_control_source_get_count),
2256 (gst_interpolation_control_source_init),
2257 (gst_interpolation_control_source_finalize),
2258 (gst_interpolation_control_source_dispose),
2259 (gst_interpolation_control_source_class_init):
2260 * libs/gst/controller/gstinterpolationcontrolsource.h:
2261 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2262 API: Refactor GstController into the core controller which can take
2263 a GstControlSource for providing actual values for timestamps.
2264 Implement a interpolation control source and use this for backward
2265 compatibility, deprecate a bunch of functions that are now handled
2266 by GstControlSource or GstInterpolationControlSource.
2267 Make it possible to disable the controller completely or only for
2268 specific properties. Fixes #450711.
2269 * docs/libs/gstreamer-libs-docs.sgml:
2270 * docs/libs/gstreamer-libs-sections.txt:
2271 * docs/libs/gstreamer-libs.types:
2272 Add new functions and classes to the docs.
2273 * tests/check/libs/controller.c: (GST_START_TEST),
2274 (gst_controller_suite):
2275 * tests/examples/controller/audio-example.c: (main):
2276 Port unit test and example to the new API and add some new
2279 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
2281 Patch by: Mark Nauwelaerts <manauw at skynet be>
2283 * plugins/elements/gstmultiqueue.c:
2284 (gst_multi_queue_get_internal_links), (apply_buffer),
2285 (single_queue_overrun_cb), (gst_single_queue_new):
2286 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
2287 the pipeline layout can be tracked correctly. Fixes #453732.
2289 2007-07-05 Stefan Kost <ensonic@users.sf.net>
2291 * docs/gst/Makefile.am:
2292 * docs/libs/Makefile.am:
2293 * docs/plugins/Makefile.am:
2294 Simplify --extra-dir as gtkdoc scans recursively.
2296 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
2298 * tools/gst-launch.c: (main):
2299 When we got an error, there is no point in waiting for preroll when
2302 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
2304 * plugins/elements/gsttee.c: (gst_tee_base_init),
2305 (gst_tee_request_new_pad), (gst_tee_release_pad),
2306 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
2307 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
2309 Be a lot smarter when deciding what srcpad to use for proxying
2310 the buffer_alloc. Also handle pad added/removed when doing so.
2312 Keep track of what pads we already pushed on in case we have pads
2313 added/removed while pushing. Fixes #374639
2315 * tests/check/Makefile.am:
2316 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
2318 Added unit test for pad resync.
2320 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2324 Updated translations.
2326 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
2328 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
2332 Added new Finnish translation.
2334 2007-06-28 Wim Taymans <wim@fluendo.com>
2336 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2337 (single_queue_overrun_cb):
2338 When figuring out when a queue is filled, use our internal time estimate
2339 based on segments, just like check_full does.
2341 2007-06-27 Stefan Kost <ensonic@users.sf.net>
2343 * gst/gstminiobject.c: (gst_mini_object_get_type):
2344 Remove 3 do-nothing methods.
2346 2007-06-27 Wim Taymans <wim@fluendo.com>
2348 Patch by: Tim Angus <tim at ngus dot net>
2350 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2351 (gst_capsfilter_set_property):
2352 Take a reference instead of a copy when setting "caps".
2353 Fix documentation to clarify this behaviour. Fixes #449414.
2355 2007-06-27 Stefan Kost <ensonic@users.sf.net>
2357 * gst/gstindexfactory.c: (gst_index_factory_get_type):
2358 * gst/gstplugin.c: (gst_plugin_init):
2359 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
2360 * gst/gstquery.c: (gst_query_get_type):
2361 * gst/gstregistry.c: (gst_registry_init):
2362 * gst/gsturi.c: (gst_uri_handler_base_init):
2363 Remove empty instance_init() functions to save relocs and lessen the
2364 noise. Remove some of the function prototypes that are doubled by
2367 2007-06-27 Wim Taymans <wim@fluendo.com>
2369 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
2371 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
2372 Add peer and direction in the XML serialisation of ghostpads.
2375 2007-06-26 Stefan Kost <ensonic@users.sf.net>
2378 Preserve useful information, thanks Tim.
2380 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
2382 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2383 (gst_single_queue_flush), (apply_segment), (apply_buffer),
2384 (gst_single_queue_push_one), (gst_multi_queue_loop),
2385 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2386 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
2387 (compute_high_id), (gst_single_queue_new):
2388 * plugins/elements/gstmultiqueue.h:
2389 Take the multiqueue lock when updating the fill level so we don't get
2392 After applying a buffer or event on the src pad segment, make sure to
2393 call gst_data_queue_limits_changed() to get the data queue to unblock
2394 and check the filled state again.
2396 Rework the not-linked pad handling so the logic is that not-linked
2397 pads can push as fast as they like, but only so they never get
2398 ahead of any linked pads.
2400 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2401 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2402 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2404 Add a test to check that not-linked pads always stay behind
2409 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
2411 * docs/random/release:
2412 Some updates to the release procedure.
2414 2007-06-26 Stefan Kost <ensonic@users.sf.net>
2416 * gst/gstelementfactory.c: (__gst_element_details_clear):
2417 Microoptimization that saves stunning 80 bytes.
2419 2007-06-25 Stefan Kost <ensonic@users.sf.net>
2421 * docs/plugins/gstreamer-plugins.args:
2422 * docs/plugins/inspect/plugin-coreelements.xml:
2423 * docs/plugins/inspect/plugin-coreindexers.xml:
2424 Update docs with caps info.
2426 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
2429 Updated Italian translation.
2431 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
2435 Update Vietnamese translations.
2437 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
2439 * libs/gst/base/gstbasesink.c:
2440 Remove unused signal enum.
2442 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
2444 * docs/gst/gstreamer-sections.txt:
2446 * gst/gstutils.c: (gst_type_register_static_full):
2447 Beef up and include the docs for gst_type_register_static_full and
2448 gst_element_class_set_details_simple and add the API keyword
2451 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
2453 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2454 (update_time_level), (gst_single_queue_push_one),
2455 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
2456 (single_queue_overrun_cb), (single_queue_underrun_cb),
2457 (single_queue_check_full):
2458 Fix setting max-* properties after adding queues.
2459 Use IS_FILLED for checking visible items.
2460 Signal overrun if multiple queues overrun.
2461 Add extra debug output.
2462 Patch by: Wim Taymans <wim@fluendo.com>
2464 2007-06-21 Stefan Kost <ensonic@users.sf.net>
2466 * gst/gstelement.c: (gst_element_class_set_details_simple):
2468 * gst/gstutils.c: (gst_type_register_static_full):
2470 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
2471 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
2472 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
2473 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
2474 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
2475 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
2476 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
2477 * plugins/elements/gstidentity.c: (gst_identity_base_init):
2478 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
2479 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2480 (apply_buffer), (gst_queue_chain):
2481 * plugins/elements/gsttee.c: (gst_tee_base_init):
2482 * plugins/elements/gsttypefindelement.c:
2483 (gst_type_find_element_base_init),
2484 (gst_type_find_element_class_init):
2485 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
2486 API: add gst_type_register_static_full
2487 API: add gst_element_class_set_details_simple
2489 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
2491 * docs/pwg/advanced-types.xml:
2492 Fix typo in iana.org URI.
2494 2007-06-19 Andy Wingo <wingo@pobox.com>
2496 * tests/check/pipelines/simple-launch-lines.c
2497 (test_state_change_returns): Enable pull-mode tests now that
2498 basesink has been fixed.
2500 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2501 Changed from gst_base_sink_is_prerolled, reversing the sense of
2502 the return value. Returns FALSE also if the sink is in pull mode,
2503 in which case it needs no preroll.
2504 (gst_base_sink_query, gst_base_sink_change_state): Update for
2505 needs_preroll change.
2506 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2507 chaining up, in which we return SUCCESS directly if we activated
2508 in pull mode instead of ASYNC. Involves countering an async_start
2509 message sent before chaining up; not sure if this is correct, in
2510 an ideal world we only send async-start when activating in push
2513 * tests/check/pipelines/simple-launch-lines.c
2514 (test_state_change_returns): New test, partially disabled until
2517 2007-06-19 Wim Taymans <wim@fluendo.com>
2519 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2520 (gst_multi_queue_sink_event):
2523 2007-06-19 Wim Taymans <wim@fluendo.com>
2525 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2526 (gst_bin_change_state_func), (bin_push_state_continue),
2527 (bin_handle_async_start), (bin_handle_async_done),
2528 (gst_bin_handle_message_func):
2529 Move the common code for posting state-change messages into
2531 Broadcast the state signal after we posted the messages.
2532 Mark the bin as busy when it's doing a state-change.
2533 Make sure async-start/done messages don't interfere with the bin's
2534 state when it's busy.
2535 After the state change, let the bin check which elements completed the
2536 state change while it was busy so that it can update its state.
2538 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
2540 * docs/random/release:
2541 Add a note about updating the doap file to the release checklist
2543 2007-06-18 Wim Taymans <wim@fluendo.com>
2545 * plugins/elements/gstmultiqueue.c: (apply_buffer),
2546 (gst_single_queue_push_one), (gst_multi_queue_chain),
2547 (gst_multi_queue_sink_event):
2548 Make sure we don't reference the buffer/event after we have given away
2549 ownership in the queue.
2551 2007-06-18 Wim Taymans <wim@fluendo.com>
2553 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2554 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2555 Update queue state _after_ adding the item in the queue because else we
2556 could end up being full without the element added yet.
2558 2007-06-18 Wim Taymans <wim@fluendo.com>
2560 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2561 (gst_bin_remove_func), (gst_bin_get_state_func),
2562 (gst_bin_element_set_state), (gst_bin_continue_func),
2563 (bin_push_state_continue), (bin_handle_async_start),
2564 (bin_handle_async_done), (gst_bin_handle_message_func):
2566 Immediatly commit the toplevel bin state when receiving an async-done
2567 message. This enables us to avoid spawning a thread to commit the state
2568 in some common cases and it also avoids some races.
2569 Avoid spawning a state thread when adding/removing async elements to a
2570 toplevel bin. Instead we immediatly update the bin state.
2571 Get rid of iterating all the children when getting the state in the bin
2572 because it is now always up-to-date.
2573 Fix bug where locked elements would always return _SUCCESS even it they
2574 returned NO_PREROLL before being locked.
2575 Fix the order of the state_change, async-start/done messages that was
2576 sometimes incorrect.
2577 Mark the state_dirty field as deprecated, we don't need it anymore as we
2578 are always up-to-date.
2580 * gst/gstelement.c: (gst_element_get_state_func),
2581 (gst_element_continue_state):
2582 Small debug inprovements.
2583 Return the previous element state return when nothing is pending instead
2584 of blindly returning SUCCESS.
2586 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2588 Add a whole bunch of new testcases.
2590 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
2594 Update translations.
2596 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
2599 Fix typo in the docs.
2601 2007-06-15 Wim Taymans <wim@fluendo.com>
2603 * docs/libs/gstreamer-libs-sections.txt:
2604 Add docs for new methods.
2606 2007-06-15 Wim Taymans <wim@fluendo.com>
2608 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2609 (gst_multi_queue_item_new):
2610 Don't use GSlice because we don't depend on >= 2.10 yet.
2612 2007-06-15 Wim Taymans <wim@fluendo.com>
2614 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2615 (update_time_level), (apply_segment), (apply_buffer),
2616 (gst_single_queue_push_one), (gst_multi_queue_item_new),
2617 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2618 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2619 (single_queue_underrun_cb), (single_queue_check_full):
2620 Remove debug printf.
2622 2007-06-15 Wim Taymans <wim@fluendo.com>
2624 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2625 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2626 (gst_data_queue_set_flushing), (gst_data_queue_push),
2627 (gst_data_queue_pop), (gst_data_queue_drop_head),
2628 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2629 * libs/gst/base/gstdataqueue.h:
2631 Added methods to get the current levels and to inform the queue that the
2632 'full' limits changed.
2634 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2635 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2636 (gst_single_queue_flush), (update_time_level), (apply_segment),
2637 (apply_buffer), (gst_single_queue_push_one),
2638 (gst_multi_queue_item_steal_object),
2639 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2640 (gst_multi_queue_loop), (gst_multi_queue_chain),
2641 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2642 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2643 (gst_multi_queue_src_query), (single_queue_overrun_cb),
2644 (single_queue_underrun_cb), (single_queue_check_full),
2645 (gst_single_queue_new):
2646 Keep track of time in the queue by measuring the difference between
2647 running_time on input and output. This gives more accurate results and
2648 can compensate for segments correctly.
2649 Make a queue by default only 5 buffers deep. We will now increase the
2650 buffer size depending on the filledness of the other queues.
2651 Factor out commong flush code.
2652 Make sure we don't add additional refcounts to buffers when we can avoid
2654 Propagate GstFlowReturn differently.
2655 Use GSlice for intermediate GstMultiQueueItems.
2657 Resize queues on over and underruns based on filled level of other
2659 When checking if the queue is filled, prefer to measure in time if we
2660 can and fall back to bytes when no time is known.
2662 * plugins/elements/gstqueue.c:
2665 2007-06-15 Wim Taymans <wim@fluendo.com>
2667 * libs/gst/base/gstbasetransform.c:
2668 (gst_base_transform_sink_event):
2669 Work around the brokenness of the event vmethod in basetransform. Prefer
2670 to return TRUE when the subclass returned FALSE (meaning don't forward
2673 * libs/gst/base/gstbasetransform.h:
2676 2007-06-15 Wim Taymans <wim@fluendo.com>
2678 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2679 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2680 (gst_base_src_default_query), (gst_base_src_get_range),
2681 (gst_base_src_start):
2682 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2685 2007-06-15 Stefan Kost <ensonic@users.sf.net>
2687 * docs/pwg/advanced-types.xml:
2688 Added more formats to caps table.
2690 2007-06-15 Stefan Kost <ensonic@users.sf.net>
2692 * tools/gst-launch.c: (main):
2693 Remove crufy code. GOption does not need this workaround.
2695 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2697 * libs/gst/controller/gstcontroller.c:
2698 (gst_controlled_property_set_interpolation_mode):
2699 Fix wrong getter for enums in controller.
2701 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2703 * libs/gst/check/gstcheck.c: (gst_check_init):
2704 Intercept criticals and warnings in the Gst-Phonon log domain, so
2705 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2708 2007-06-14 Edward Hervey <edward@fluendo.com>
2710 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2711 Since this file doesn't include "gst.h" it will not go through the
2712 macros that disable GST_LOG if debugging was disabled.
2714 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2716 * libs/gst/check/Makefile.am:
2717 * libs/gst/check/gstcheck.h:
2718 * pkgconfig/gstreamer-check-uninstalled.pc.in:
2719 * pkgconfig/gstreamer-check.pc.in:
2720 Ugly 'fix' for the controller unit test on the p5 bot: in
2721 fail_unless_equals_float() check whether the values are 'almost
2722 equal' by allowing a small absolute error, which should be good
2723 enough for our use cases (normal numbers and values close to 0).
2724 Proper fixage left to floating point arithmetic aficionados.
2726 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2728 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2729 (gst_base_sink_render_object), (gst_base_sink_get_position):
2730 Add two breaks thats where missing.
2732 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2734 * docs/libs/gstreamer-libs-sections.txt:
2735 * libs/gst/check/gstcheck.h:
2736 API: add fail_unless_equals_float() and assert_equals_float().
2737 Add documentation for some of the macros.
2739 * tests/check/libs/controller.c: (GST_START_TEST):
2740 Use newly-added asserts.
2742 2007-06-14 Stefan Kost <ensonic@users.sf.net>
2744 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
2745 Show the caps change in the log to help spotting the case of not
2746 exactly matching caps.
2748 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
2750 * docs/pwg/building-boiler.xml:
2751 Fix typos, spotted by Thijs Vermeir (#447190).
2753 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
2755 * docs/plugins/tmpl/.cvsignore:
2756 Ignore file to keep the buildbots happy
2758 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
2760 * docs/plugins/Makefile.am:
2761 * docs/plugins/gstreamer-plugins-docs.sgml:
2762 * docs/plugins/gstreamer-plugins-sections.txt:
2763 Pull fdsink into the docs too.
2765 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
2767 * libs/gst/controller/gstinterpolation.c:
2768 Actually use the new functions with min/max checks for the trigger and
2769 none interpolation modes for get() and get_value_array() instead of
2772 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
2774 * libs/gst/controller/gstcontroller.c:
2775 (gst_controlled_property_free):
2776 Unset the minimum and maximum GValues when freeing the corresponding
2777 GstControllerProperty struct.
2779 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
2781 * libs/gst/controller/gstcontroller.c:
2782 (gst_controlled_property_new):
2783 * libs/gst/controller/gstcontrollerprivate.h:
2784 * libs/gst/controller/gstinterpolation.c:
2785 (gst_controlled_property_find_control_point_node),
2786 (interpolate_none_get), (interpolate_none_get_enum_value_array),
2787 (interpolate_none_get_string_value_array),
2788 (interpolate_trigger_get),
2789 (interpolate_trigger_get_enum_value_array),
2790 (interpolate_trigger_get_string_value_array):
2791 Protect against values larger or smaller than the minimum or maximum
2792 allowed value for the property when using values that can be compared.
2794 Optimize trigger interpolator a bit by taking the last requested value
2795 into account instead of always looping through the complete list.
2797 Fix coding style a bit, everywhere else we use "return foo" instead
2800 * tests/check/libs/controller.c: (GST_START_TEST),
2801 (gst_controller_suite):
2802 Add unit test for the protection against too large or too small
2805 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
2807 * docs/random/slomo/controller.txt:
2808 Add some thoughts about the future of the controller.
2810 2007-06-08 Wim Taymans <wim@fluendo.com>
2812 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
2813 Don't overflow in retimestamping code.
2815 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
2817 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
2818 Use gst_util_guint64_to_gdouble for conversions.
2819 * win32/common/libgstreamer.def:
2820 Add new exported functions.
2822 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
2825 Small docs addition.
2827 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2830 Remove that test line again.
2832 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2835 Test commit mail sending.
2837 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2840 Fix typo and test commit mail sending.
2842 2007-06-07 Stefan Kost <ensonic@users.sf.net>
2844 * tests/examples/controller/audio-example.c:
2845 Improve comment and test commit mail sending.
2847 2007-06-07 Wim Taymans <wim@fluendo.com>
2849 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
2850 (gst_bin_remove_func), (gst_bin_element_set_state),
2851 (bin_handle_async_start), (bin_handle_async_done),
2852 (gst_bin_handle_message_func):
2853 Add helper function to find messages.
2854 Generate the async-done messages together with the state change
2856 Small cleanups in handling toplevel bins.
2858 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2860 * libs/gst/base/gstdataqueue.c:
2861 * libs/gst/base/gstdataqueue.h:
2862 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
2863 (gst_multi_queue_item_new), (gst_multi_queue_chain),
2864 (gst_multi_queue_sink_event):
2865 * tests/check/elements/multiqueue.c: (multiqueue_suite):
2866 Fix multiqueue leaking buffers and events when downstream or the
2867 queue are flushing. Make refcounting assumptions explicit and
2868 document them (shouldn't break existing code that uses it other than
2869 maybe leak miniobjects, but that already happens anyway). Add unit
2870 test for the most common flushing case. Fixes #423700.
2872 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
2874 * libs/gst/controller/gstcontroller.c:
2875 Clarify docs: The get_all, get_value_array(s) functions
2876 don't modify the GObject properties.
2878 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
2880 * libs/gst/controller/gstcontroller.c:
2881 (gst_controlled_property_set_interpolation_mode),
2882 (gst_controlled_property_prepend_default),
2883 (gst_controlled_property_new), (gst_controller_set_unlocked),
2884 (gst_controller_set), (gst_controller_set_from_list),
2885 (gst_controller_unset), (gst_controller_unset_all):
2886 * libs/gst/controller/gstcontrollerprivate.h:
2887 * libs/gst/controller/gstinterpolation.c:
2888 Factor out the 'set' logic into gst_controller_set_unlocked for the
2889 gst_controller_set and gst_controller_set_from_list functions.
2891 To make life of the interpolators easier always add a control point
2892 at timestamp zero with the default value.
2894 In the linear interpolator make things more obvious by better variable
2897 Implement cubic interpolation mode (by using a natural cubic spline)
2898 and map the quadratic interpolation mode to this too (as quadratic
2899 doesn't make much sense, see discussion on the list).
2901 * tests/check/libs/controller.c: (GST_START_TEST),
2902 (gst_controller_suite):
2903 Add unit test for the cubic interpolation mode and check everywhere
2904 if the interpolation mode could be set as expected.
2906 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2908 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
2909 Don't use GLib-2.10 functions, we still depend on
2910 GLib-how-old-is-it-again-2.8.
2912 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
2914 * docs/gst/gstreamer-sections.txt:
2918 * gst/gstparamspecs.c: (_gst_param_fraction_init),
2919 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
2920 (_gst_param_fraction_values_cmp),
2921 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
2922 * gst/gstparamspecs.h:
2924 * tests/check/Makefile.am:
2925 * tests/check/gst/.cvsignore:
2926 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
2927 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
2928 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
2929 (GST_START_TEST), (gst_param_spec_suite):
2930 API: add GstParamSpecFraction, so elements can have fraction
2931 properties without lots of painful string parsing (#444648).
2933 2007-06-05 Wim Taymans <wim@fluendo.com>
2935 * gst/gstobject.c: (gst_object_class_init):
2936 Fix signal signature.
2939 Add small clarification in the api docs.
2941 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
2942 States are protected with object lock.
2944 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2947 I should probably be listed as an author by now.
2949 * docs/random/release:
2950 Update the release doc
2952 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
2955 Make docs for gst_value_compare() mention return enums that
2958 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2963 === release 0.10.13 ===
2965 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
2968 releasing 0.10.13, "With or without you"
2970 2007-05-25 Wim Taymans <wim@fluendo.com>
2972 * gst/gstbin.c: (bin_handle_async_done):
2973 Make sure that the child bin stops after completing the async state
2974 change so that the parent can continue the state change to PLAYING.
2977 2007-05-25 Wim Taymans <wim@fluendo.com>
2979 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
2980 (unref_data), (gst_collect_pads_remove_pad),
2981 (gst_collect_pads_check_pads):
2982 Use additional refcounting to avoid crashes when dynamically adding and
2983 removing pads. Fixes #420206.
2985 2007-05-24 Wim Taymans <wim@fluendo.com>
2987 * tools/gst-launch.c: (event_loop):
2988 When buffering goes from a two digit to a single digit number, make sure
2989 to remove the old second digit by writing a blank over it.
2991 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
2993 * libs/gst/base/gstdataqueue.c:
2994 Eliminate tabs and trailing comma in enum list; fix some typos.
2996 2007-05-24 Wim Taymans <wim@fluendo.com>
2998 * tests/check/gst/gstbin.c: (GST_START_TEST):
2999 Allow refcount of 3 and 4 because some state thread might still be busy
3002 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
3004 * plugins/elements/Makefile.am:
3005 * plugins/elements/gstmultiqueue.h:
3006 * plugins/elements/gstqueue.h:
3007 These are not installed headers, no need for padding.
3009 2007-05-24 Wim Taymans <wim@fluendo.com>
3011 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3012 (gst_bin_continue_func):
3013 Enable latency for next release.
3014 Restore STATE_LOCK around recalc_state that was left out during the
3015 rewrite and could result in racy behaviour when _get_state and
3016 recalc_state are run concurrently. See #440463.
3018 2007-05-23 Wim Taymans <wim@fluendo.com>
3020 * tests/check/gst/gstsystemclock.c: (store_callback),
3022 Improve test_async_order to also work when both timers are already
3023 expired when we get scheduled to check it.
3025 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
3027 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
3028 (gst_bin_set_property), (gst_bin_get_property),
3029 (gst_bin_remove_func), (gst_bin_handle_message_func):
3031 'private' is a c++ keyword, let's not use that in header files,
3032 otherwise c++ compilers will throw a tantrum.
3034 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
3036 * plugins/elements/gstelements.c:
3037 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
3038 (gst_file_sink_get_current_offset):
3039 * plugins/indexers/gstindexers.c: (plugin_init):
3040 Use #ifdef for HAVE_XYZ for consistency.
3042 * tests/check/Makefile.am:
3043 * tests/check/elements/.cvsignore:
3044 * tests/check/elements/filesink.c: (setup_filesink),
3045 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
3046 Add some unit tests for filesink.
3048 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
3050 Patch by: Mark Nauwelaerts <manauw at skynet be>
3052 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3053 (gst_file_sink_query), (gst_file_sink_do_seek),
3054 (gst_file_sink_get_current_offset), (gst_file_sink_render):
3055 * plugins/elements/gstfilesink.h:
3056 Fix position reporting; rename data_written member to current_pos to
3057 reflect its real meaning (fixes #412648).
3059 2007-05-22 Edward Hervey <edward@fluendo.com>
3061 * docs/gst/gstreamer-sections.txt:
3062 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3063 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
3064 (gst_bin_remove_func), (gst_bin_handle_message_func):
3066 Add a property for bins that handle the state change of their childs.
3069 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
3071 * libs/gst/controller/gstinterpolation.c:
3072 Use an array of the correct type when using _get_value_array with
3073 linear interpolation.
3075 2007-05-22 Stefan Kost <ensonic@users.sf.net>
3077 * gst/gstelement.c (gst_element_requires_clock,
3078 gst_element_provides_clock, gst_element_request_pad,
3079 gst_element_class_set_details, gst_element_class_set_details_simple,
3080 gst_element_default_send_event, gst_element_abort_state,
3081 gst_element_continue_state, gst_element_set_state,
3082 gst_element_set_state_func, iterator_activate_fold_with_resync):
3083 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
3084 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
3085 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
3086 gst_pad_get_range, gst_pad_pull_range):
3087 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
3088 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
3089 GstPadActivateModeFunction, GstPadChainFunction,
3090 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
3091 GstPadFixateCapsFunction, GstPadTemplate):
3092 * gst/gstpipeline.c (gst_pipeline_change_state,
3093 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
3094 gst_pipeline_set_clock, gst_pipeline_auto_clock,
3095 gst_pipeline_get_delay):
3096 Whitespace and docs fixes.
3098 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3100 * libs/gst/controller/gstinterpolation.c:
3101 (interpolate_trigger_get_enum_value_array),
3102 (interpolate_trigger_get_string_value_array):
3103 Add support for retrieving value arrays when using the trigger
3106 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3108 * libs/gst/controller/gstcontroller.c:
3109 (gst_controller_get_value_array):
3110 * libs/gst/controller/gstcontroller.h:
3111 Clarify the docs of gst_controller_get_value_array(): The array where
3112 the values should be written to must be allocated as there seems to be
3113 no way to get the size of a random GType. This doesn't change any
3114 behaviour. Also fix some typos all over the place and remove an unused,
3115 commented function that is not necessary as g_object_set() could be
3117 * tests/check/libs/controller.c: (GST_START_TEST),
3118 (gst_controller_suite):
3119 Add unit test for gst_controller_get_value_array().
3121 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
3123 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3125 Disable part of the gst_buffer_try_new_and_alloc test, because
3126 it can happily succeed on 64-bit systems where there's more address
3129 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
3131 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3132 Add unit test for the improved caps checking from bug #421543.
3134 2007-05-21 Wim Taymans <wim@fluendo.com>
3136 * docs/design/part-synchronisation.txt:
3139 * gst/gstbin.c: (gst_bin_query):
3140 * plugins/elements/gstqueue.c: (apply_segment):
3146 2007-05-21 Wim Taymans <wim@fluendo.com>
3148 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3149 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
3150 (gst_pad_configure_src):
3151 Added simple version of improved caps checking. It was previously
3152 assumed that a setcaps function would check the validity of the caps but
3153 people prefer us to check caps against the template automatically.
3156 2007-05-21 Wim Taymans <wim@fluendo.com>
3158 * libs/gst/base/gstbasetransform.h:
3159 Fix macro for locking/unlocking the transform lock.
3161 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
3163 * docs/plugins/tmpl/.cvsignore:
3166 2007-05-18 Edward Hervey <edward@fluendo.com>
3168 * plugins/elements/gstqueue.c: (gst_queue_loop):
3169 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
3170 for the subtle art of warning a potentially blocking thread that it
3171 should check the source pad return value, and relay the information
3174 2007-05-18 Edward Hervey <edward@fluendo.com>
3176 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3177 Release the queue lock !
3179 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3181 * docs/libs/gstreamer-libs-sections.txt:
3182 Add the two new controller functions to the appropiate places.
3184 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3186 reviewed by: Stefan Kost <ensonic@users.sf.net>
3188 * libs/gst/controller/gstcontroller.c:
3189 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
3190 (_gst_controller_get_property), (_gst_controller_set_property),
3191 (_gst_controller_init), (_gst_controller_class_init):
3192 * libs/gst/controller/gstcontroller.h:
3193 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
3194 (gst_object_get_control_rate), (gst_object_set_control_rate):
3195 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
3196 Add API that provides sync suggestion timestamps for elements that
3197 call gst_object_sync_values() from which those elements can subdivide
3198 their processing loop to get the best results for the controlled
3199 properties. For now it just suggests last_sync + control_rate as
3200 new timestamp but this will be improved in the future.
3202 While doing that change the control-rate property to a GstClockTime
3203 from guint and change it's meaning from samples to nanoseconds as
3204 the GstController doesn't know anything about sampling rate. Strictly
3205 speaking this breaks ABI but as the control-rate property didn't do
3206 anything in the past and as such couldn't be used this should be no
3209 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3211 reviewed by: Stefan Kost <ensonic@users.sf.net>
3213 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3214 (gst_controller_unset_all):
3215 * libs/gst/controller/gstcontrollerprivate.h:
3216 * libs/gst/controller/gstinterpolation.c:
3217 (gst_controlled_property_find_control_point_node):
3218 Save last synced value from the list to continue searching from there
3219 in future syncs. This speeds everything up a bit.
3221 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
3223 reviewed by: Stefan Kost <ensonic@users.sf.net>
3225 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
3226 (gst_control_point_find), (gst_controlled_property_new),
3227 (gst_control_point_free), (gst_controlled_property_free),
3228 (gst_controller_set), (gst_controller_set_from_list),
3229 (gst_controller_unset), (gst_controller_unset_all),
3230 (gst_controller_sync_values):
3231 * libs/gst/controller/gstcontroller.h:
3232 * libs/gst/controller/gstcontrollerprivate.h:
3233 * libs/gst/controller/gstinterpolation.c:
3234 (gst_controlled_property_find_control_point_node),
3235 (interpolate_none_get), (interpolate_trigger_get):
3236 Add a new private GstControlPoint struct which "inherits" from
3237 GstTimedValue to allow different interpolators to store internal
3238 values next to each control point. From the outside everything is
3239 still a GstControlPoint so we don't loose binary compatibility.
3240 Also fixup all the GValue handling to not leak GValues or list nodes.
3241 * tests/check/libs/controller.c: (GST_START_TEST):
3242 Free the list nodes and GValues in the controller_misc test.
3244 2007-05-17 Edward Hervey <edward@fluendo.com>
3249 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
3251 * gst/gstplugin.c: (gst_plugin_load_file):
3252 If we fail to load a plugin because of unresolved symbols or missing
3253 libraries and spew a warning to stderr, we may just as well mention
3254 which plugin it was that failed to load.
3256 2007-05-13 David Schleef <ds@schleef.org>
3258 * docs/Makefile.am: the gtk-doc makefile snippet correctly
3259 handles the case when ENABLE_GTK_DOC is false, and installs
3260 the prebuilt documentation. So gtk-doc subdirs are
3261 unconditionally enabled. Fixes: #349099.
3263 2007-05-13 David Schleef <ds@schleef.org>
3265 * gst/gstutils.h: Reword some documentation.
3267 2007-05-12 David Schleef <ds@schleef.org>
3269 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
3270 do anything with the passed "module" parameter, so remove it.
3271 Allows removal of additional vestigal code.
3273 2007-05-12 David Schleef <ds@schleef.org>
3276 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
3277 Switch to using g_stat() because it's more portable.
3279 2007-05-12 David Schleef <ds@schleef.org>
3282 Add GST_DISABLE_OPTION_PARSING, in order to disable option
3283 parsing for embedded systems.
3284 * gst/gstelementfactory.c:
3285 Allow gst_element_register() to be called with plugin==NULL.
3286 Did nobody notice that static elements were broken?
3288 2007-05-12 Wim Taymans <wim@fluendo.com>
3290 * tools/gst-launch.c: (event_loop):
3291 Give more interesting info when buffering starts and stops.
3292 Fix case where buffering starts but we fail to update the buffering flag
3293 because the target state is not PLAYING.
3295 2007-05-12 Wim Taymans <wim@fluendo.com>
3297 * plugins/elements/gstqueue.c: (gst_queue_init),
3298 (gst_queue_finalize), (update_time_level), (apply_segment),
3299 (apply_buffer), (gst_queue_locked_flush),
3300 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
3301 (gst_queue_handle_sink_event), (gst_queue_chain),
3302 (gst_queue_push_one), (gst_queue_loop):
3303 * plugins/elements/gstqueue.h:
3304 Refactor an cleanup queue a bit.
3305 Do better time level calculations that also work when the srcpad is not
3307 Remove some unneeded debug lines.
3309 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
3310 Added testcase for time level measurement.
3311 Try to make some stuff more racefree.
3313 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
3315 * gst/gsturi.c: (gst_element_make_from_uri):
3316 Don't leak plugin feature.
3318 * tests/check/Makefile.am:
3319 * tests/check/gst/.cvsignore:
3320 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
3321 Add brain-dead unit test.
3323 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
3325 Patch by: Jeroen Wouters <woutersj at gmail com>
3327 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
3328 Treat protocol strings in a case-insensitive way (#437563).
3330 2007-05-11 Michael Smith <msmith@fluendo.com>
3332 * gst/gstplugin.c: (gst_plugin_load_file):
3333 * gst/gstregistry.c: (gst_registry_scan_path_level):
3334 Don't print a g_warning for any failure to load a shared object.
3335 Instead, push this down into gstplugin.c, and warn _only_ if we
3336 failed to open the module (i.e. failure to link).
3337 Avoids warnings on normal, working, non-plugin .so files.
3339 2007-05-11 Stefan Kost <ensonic@users.sf.net>
3341 * gst/gstplugin.c (gst_plugin_load_file):
3342 * gst/gstregistry.c (GST_CAT_DEFAULT,
3343 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
3344 Print a g_warning if there was an error when loading a plugins during
3345 registry scan. The shuld help beginners starting with gst-plugin
3348 2007-05-10 Wim Taymans <wim@fluendo.com>
3350 * plugins/elements/gstqueue.c: (gst_queue_class_init),
3351 (update_time_level), (gst_queue_locked_flush),
3352 (gst_queue_handle_sink_event), (gst_queue_chain),
3353 (gst_queue_push_one), (gst_queue_loop):
3354 * plugins/elements/gstqueue.h:
3355 Be smarter when calculating the current amount of data in the queue by
3356 measuring the difference between start and end timestamps (in running
3357 time) inside the queue. Fixes #432876.
3358 API: GstQueue::pushing to notify elements that we are pushing data again
3359 since the running signal is rather broken for this purpose.
3361 2007-05-10 Stefan Kost <ensonic@users.sf.net>
3363 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
3364 gst_queue_base_init, gst_queue_init):
3367 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
3369 * win32/common/libgstreamer.def:
3370 Add new exported functions.
3371 * win32/vs6/grammar.dsp:
3372 Use grammar pre-generated files.
3374 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
3376 Based on patch by: Peter Kjellerstedt <pkj at axis com>
3379 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
3381 * gst/gstutils.c: (gst_parse_bin_from_description):
3383 Maintain API and ABI when --disable-parse is used. Now that
3384 we have an appropriate error code, we can just return NULL and the
3385 appropriate error when gst_parse_launch() is used despite it having
3386 been disabled (#342564).
3388 * tests/check/Makefile.am:
3389 * tests/check/pipelines/.cvsignore:
3390 * tests/check/pipelines/parse-disabled.c:
3391 Make sure these functions exist and return NULL plus a GError when
3392 --disable-parse is used.
3394 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
3396 * tests/benchmarks/complexity.c: (main):
3397 * tests/benchmarks/mass-elements.c: (main):
3398 Set a good example and don't leak messages.
3400 2007-05-06 Stefan Kost <ensonic@users.sf.net>
3402 * docs/gst/Makefile.am:
3403 * docs/libs/Makefile.am:
3404 Correct fixxrefs options.
3406 * docs/plugins/Makefile.am:
3407 * docs/plugins/gstreamer-plugins-docs.sgml:
3408 * docs/plugins/gstreamer-plugins-sections.txt:
3409 * plugins/elements/Makefile.am:
3410 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3411 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3412 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3413 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3414 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3415 _GstCapsFilterClass, trans_class):
3416 * plugins/elements/gstelements.c (name, rank, type, _elements):
3417 * plugins/elements/gstidentity.c
3418 (gst_identity_check_imperfect_timestamp,
3419 gst_identity_check_imperfect_offset):
3420 Document capsfilter and add doc-blurb to identity.
3422 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
3424 * libs/gst/controller/gstcontroller.c:
3425 (gst_controlled_property_set_interpolation_mode):
3426 * libs/gst/controller/gstinterpolation.c:
3427 Don't crash if someone tries to set an interpolation mode that
3428 is invalid or that isn't supported yet. Fixes #422295.
3430 * tests/check/libs/controller.c: (GST_START_TEST),
3431 (gst_controller_suite):
3432 Add a test case for the above.
3434 2007-05-03 Edward Hervey <edward@fluendo.com>
3436 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3437 Properly set the last_stop position on GstSegment. This will only happen
3438 if there is a buffer to push out.
3440 2007-05-03 Wim Taymans <wim@fluendo.com>
3442 * libs/gst/base/gstbasetransform.c:
3443 (gst_base_transform_buffer_alloc):
3444 always_in_place does not mean that the sink and source caps are the
3445 same! Make sure we don't blindly proxy the buffer_alloc in this case.
3447 2007-05-03 Wim Taymans <wim@fluendo.com>
3449 * docs/libs/gstreamer-libs-sections.txt:
3450 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3451 (gst_base_src_default_query), (gst_base_src_get_range):
3452 * libs/gst/base/gstbasesrc.h:
3453 API: gst_base_src_query_latency(). Added method so that subclasses can
3454 easily get the latency values of the base source class.
3456 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
3458 * tools/gst-inspect.c (print_implementation_info):
3461 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
3463 * tools/Makefile.am:
3464 * tools/gst-launch.1.in:
3465 Don't create a customised man page based on the host architecture,
3466 describe the default registry path generically. That way the man
3467 page is the same for all architectures and packagers have one
3468 multilib issue less to deal with. Fixes #434926.
3470 2007-05-02 Wim Taymans <wim@fluendo.com>
3473 Fix documentation as spotted by rg on IRC.
3475 2007-04-29 Stefan Kost <ensonic@users.sf.net>
3478 Improve docs for gst_element_{link,unlink}.
3480 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
3482 * docs/design/part-events.txt:
3483 * docs/design/part-overview.txt:
3487 * libs/gst/base/gstbasesink.c:
3488 Typo fixes; minor docs addition.
3490 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3492 * docs/gst/gstreamer-sections.txt:
3493 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
3494 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
3496 API: Add gst_uri_protocol_is_supported(), which checks if a sink
3497 or src that supports a given URI protocol exists.
3499 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3501 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3502 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3503 Set the location to NULL if "file://" is set as URI. Otherwise
3504 some random previous URI would still be set if "file://" is
3505 set on an already used filesink/filesrc.
3507 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
3509 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3510 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3511 Special case the "file://" URI as as this is used by some
3512 applications to test with gst_element_make_from_uri if there's
3513 an element that supports the URI protocol.
3514 Also move the g_path_is_absolute() check for the location part
3515 of the URI to also check this for "file://localhost/bla" URIs.
3517 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
3519 * docs/gst/gstreamer-sections.txt:
3520 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3522 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3524 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3526 2007-04-26 Stefan Kost <ensonic@users.sf.net>
3528 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3529 (gst_registry_binary_load_pad_template),
3530 (gst_registry_binary_load_plugin),
3531 (gst_registry_binary_read_cache):
3532 * gst/gstregistrybinary.h:
3533 Implement no-mmap alternative for registry reading. Do code cleanups.
3534 Add more comments about avoiding strdups for all text data. Comments
3537 2007-04-25 Stefan Kost <ensonic@users.sf.net>
3539 * gst/gstregistrybinary.h (GstBinaryPluginElement,
3540 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3541 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3542 Comment structs and reformat to fix the build (that stuff should go
3543 into a priv. header).
3545 2007-04-25 Stefan Kost <ensonic@users.sf.net>
3547 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3548 (gst_registry_binary_load_feature):
3549 * gst/gstregistrybinary.h:
3550 Refactor so that we can implement multiple features. Add support for
3551 TypeFindFactory features.
3553 2007-04-24 Stefan Kost <ensonic@users.sf.net>
3555 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3558 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3560 2007-04-23 Stefan Kost <ensonic@users.sf.net>
3562 * gst/gstbin.c: (gst_bin_element_set_state),
3563 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3564 (bin_handle_async_done), (gst_bin_handle_message_func):
3565 Fix build with --gst-disable-gst-debug
3567 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
3569 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3570 Make sure streaming has finished before calling the ::stop() vfunc,
3571 since that vfunc might clear state which is being used in the
3572 streaming thread. This fixes a race that caused crashes in
3573 audioresample when shutting down a pipeline (#420106).
3575 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3577 * docs/gst/gstreamer-sections.txt:
3578 That was one byte missing.
3580 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3583 * docs/gst/gstreamer-sections.txt:
3585 * gst/gstconfig.h.in:
3586 * gst/gstobject.c: (gst_object_class_init),
3587 (gst_signal_object_class_init):
3589 2nd attempt to have a xml-less build as a joined effort of #413123
3592 2007-04-20 Stefan Kost <ensonic@users.sf.net>
3594 * docs/design/draft-tagreading.txt:
3595 Added open issues/thoughts to draft.
3597 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3599 * gst/parse/grammar.tab.pre.c:
3600 * gst/parse/grammar.tab.pre.h:
3601 * gst/parse/lex._gst_parse_yy.pre.c:
3602 Update the prebuild parser sources.
3604 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3606 * gst/parse/Makefile.am:
3607 And now fix the building of the flex sources. Now everything should
3610 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3612 * gst/parse/Makefile.am:
3613 Now hopefully fix the build failures by setting proper rule
3614 dependencies and moving instead of copying.
3616 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3618 * tests/benchmarks/complexity.gnuplot:
3619 * tests/benchmarks/complexity.scm:
3620 * tests/benchmarks/mass-elements.gnuplot:
3621 * tests/benchmarks/mass-elements.scm:
3622 Total licensification.
3624 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3626 * gst/parse/Makefile.am:
3627 Fix the build by correcting the rule that gave wrong files to flex.
3629 2007-04-19 Stefan Kost <ensonic@users.sf.net>
3631 * tests/benchmarks/complexity.c:
3632 * tests/benchmarks/mass-elements.c:
3633 Change licence to LGPL as granted by Benjamin and Andy.
3635 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
3637 * gst/parse/Makefile.am:
3638 Add correct grammar.tab.h dependency if compiling without new enough
3639 flex. Fixes #431150.
3641 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
3643 * gst/parse/Makefile.am:
3644 Fix typo and use outdated sources if the flex/bison sources are newer
3645 than the pregenerated ones but flex is too old. Print a warning in
3646 that case. This should fix the build on the build bot.
3648 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
3650 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3651 * gst/parse/Makefile.am:
3652 * gst/parse/grammar.y:
3653 * gst/parse/parse.l:
3654 Make the parser reentrant and recursively callable. This requires flex
3655 >= 2.5.31, for older versions pregenerated sources are used as we
3656 can't bump the build dependency. Finally fixes #349180.
3658 * gst/gstparse.c: (gst_parse_launch):
3659 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3662 * docs/gst/Makefile.am:
3663 * docs/gst/Makefile.am:
3664 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3665 (__gst_parse_strfree), (__gst_parse_link_new),
3666 (__gst_parse_link_free), (__gst_parse_chain_new),
3667 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3668 (gst_parse_element_set), (gst_parse_free_link),
3669 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3670 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3671 (_gst_parse_launch):
3672 * gst/parse/grammar.tab.pre.h:
3673 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3674 (yy_get_previous_state), (yy_try_NUL_trans), (input),
3675 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3676 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3677 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3678 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3679 (_gst_parse_yypop_buffer_state),
3680 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3681 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3682 (yy_fatal_error), (_gst_parse_yyget_extra),
3683 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3684 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3685 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3686 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3687 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3688 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3689 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3690 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3691 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3692 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3693 (_gst_parse_yyfree):
3694 If the installed flex version is too old use pre-generated parser
3695 sources. These pre-generated parser sources are always updated when
3696 the actual flex/bison sources change but require everybody who wants
3697 to change something in the parser to have flex >= 2.5.31 installed.
3699 2007-04-18 Stefan Kost <ensonic@users.sf.net>
3701 * common/m4/gst-gettext.m4:
3702 * gst/gst-i18n-lib.h:
3703 Make --disable-nls to work
3705 2007-04-17 Wim Taymans <wim@fluendo.com>
3707 * gst/gstconfig.h.in:
3708 Revert previous change that broke the build.
3710 2007-04-17 Stefan Kost <ensonic@users.sf.net>
3714 * gst/gstconfig.h.in:
3715 Drop libxml2 dependency when building with
3716 --enable-binary-registry --disable-loadsave
3718 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
3720 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3721 (gst_registry_binary_read_cache):
3722 * gst/gstregistrybinary.h:
3723 Remove unnecessary <sys/mman.h> include which broke the win32 build
3724 with MingW; move includes from header file to .c file, even if the
3725 header file isn't installed; use g_strerror() where UTF-8 strings
3726 are expected, such as in GST_DEBUG messages.
3728 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3730 * docs/libs/gstreamer-libs-sections.txt:
3731 Remove bogus addition for API I didn't end up keeping.
3733 * libs/gst/base/gstbasesrc.h:
3734 Mention Since: 0.10.13 in the documentation.
3736 Add the API keyword to the previous ChangeLog entry.
3738 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3740 * docs/libs/gstreamer-libs-sections.txt:
3741 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
3742 (gst_base_src_default_prepare_seek_segment),
3743 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
3744 * libs/gst/base/gstbasesrc.h:
3745 Allow basesrc derived classes to execute seeks in other formats
3746 by providing a prepare_seek_segment vmethod. Sub-classes can choose
3747 to prepare the GstSegment in any format that their perform_seek method
3748 will be able to understand. The default implementation provides the
3749 old behaviour of attempting to convert the seek offsets to the
3750 configured native format.
3752 API: basesrc::prepare_seek_segment vmethod.
3754 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3756 * gst/gstelement.c: (gst_element_get_state_func):
3757 Don't output the same debug statement twice.
3759 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
3760 (gst_adapter_peek), (gst_adapter_take_buffer):
3761 Optimise the case where we have buffers at the head of the queue that
3762 can be joined quickly (because they're contiguous sub-buffers) by
3763 merging them together rather than copying data out into new memory.
3765 * gst/parse/grammar.y:
3766 * tests/check/pipelines/parse-launch.c:
3767 Fix a leak in an error path for parse_launch, and add a check
3768 for it to the testsuite.
3770 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
3772 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3773 Don't deadlock when releasing a pad - gst_pad_set_active may try
3774 and take the multiqueue lock too.
3776 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
3778 * gst/gsterror.c: (_gst_core_errors_init):
3780 API: add GST_CORE_ERROR_DISABLED (#392804).
3782 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
3784 * docs/faq/gst-uninstalled:
3785 don't get empty paths on the PATH variables
3786 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
3787 Don't format for the uncommon terminal width of 84 characters.
3789 2007-04-06 Wim Taymans <wim@fluendo.com>
3791 * gst/gstpipeline.c: (reset_stream_time),
3792 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
3793 Only try to select a different pipeline clock when we went back to
3794 PAUSED and not when we merely got flushed.
3796 2007-04-05 Michael Smith <msmith@fluendo.com>
3798 * tools/gst-launch.1.in:
3799 fractions are better supported in gstreamer than ractions, so
3800 suggest using those.
3802 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
3804 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
3808 Added Danish translation.
3810 2007-04-05 Wim Taymans <wim@fluendo.com>
3812 * libs/gst/base/gstbasesink.c:
3813 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
3814 Fix leak caused when refusing newsegment after EOS.
3816 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
3817 (gst_fake_sink_init), (gst_fake_sink_set_property),
3818 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
3819 (gst_fake_sink_render), (gst_fake_sink_change_state):
3820 * plugins/elements/gstfakesink.h:
3821 Add num-buffers property to make the element generate EOS after a
3822 configurable amount of buffers.
3823 API: fakesink::num-buffers property.
3825 * tests/check/elements/fakesink.c: (GST_START_TEST),
3827 Fix GstBus leak in test.
3828 Test for fakesink num-buffers.
3830 2007-04-05 Wim Taymans <wim@fluendo.com>
3832 * libs/gst/base/gstbasesink.c:
3833 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3834 (gst_base_sink_change_state):
3835 Don't accept anything after an EOS, return UNEXPECTED instead.
3837 * tests/check/elements/fakesink.c: (GST_START_TEST),
3839 Unit test for new EOS behaviour.
3841 2007-04-05 Wim Taymans <wim@fluendo.com>
3843 * gst/gstelement.c: (gst_element_get_request_pad):
3844 Make padtemplates also work when they don't contain %s or %d.
3846 2007-04-05 Wim Taymans <wim@fluendo.com>
3848 * docs/gst/gstreamer-sections.txt:
3849 * gst/gstclock.c: (gst_clock_adjust_unlocked),
3850 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
3852 Improve _adjust_unlocked() so that it overflows less.
3853 Add gst_clock_unadjust_unlocked to convert from external time to
3854 internal time based on calibration.
3855 Add some more debug.
3856 API: GstClock::gst_clock_unadjust_unlocked()
3858 2007-04-03 Wim Taymans <wim@fluendo.com>
3860 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
3862 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
3863 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
3864 when releasing sink pad. Fixes #425400.
3866 2007-04-02 Stefan Kost <ensonic@users.sf.net>
3868 * docs/random/ensonic/dynlink.txt:
3869 More work on proposal for new core api.
3871 * docs/libs/gstreamer-libs-sections.txt:
3872 * libs/gst/base/gstbasetransform.h:
3873 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
3875 * libs/gst/controller/gstcontroller.c:
3876 (on_object_controlled_property_changed),
3877 (gst_controller_sync_values),
3878 (gst_controller_set_interpolation_mode):
3879 * libs/gst/controller/gstcontroller.h:
3880 Less verbose logging add docs for unimplemented parts and correctly
3881 return when using unavailable parts.
3883 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
3885 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
3886 Move all the debug to the CLOCK category, and associate it with
3889 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
3891 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
3892 Make take_buffer a bit quicker by removing redundant checks
3893 caused by calling gst_adapter_take.
3895 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
3897 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
3900 * tests/check/Makefile.am:
3901 * tests/check/elements/.cvsignore:
3902 * tests/check/elements/multiqueue.c: (setup_multiqueue),
3903 (GST_START_TEST), (multiqueue_suite):
3904 Add some dead simple unit tests for the 'multiqueue' element
3905 (some bits don't work yet and are disabled for now).
3907 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
3909 * gst/gstelement.c: (gst_element_get_request_pad),
3910 (gst_element_class_get_request_pad_template):
3911 Make gst_element_get_request_pad() create request pads only for
3912 request pad templates and not for, say, sometimes pad templates.
3914 2007-03-28 Stefan Kost <ensonic@users.sf.net>
3916 * docs/design/draft-klass.txt:
3917 Add example that needs more thinking.
3919 * docs/design/draft-missing-plugins.txt:
3920 More thoughts about wrapper plugins.
3922 * docs/random/ensonic/embedded.txt:
3923 * docs/random/ensonic/profiling.txt:
3926 2007-03-25 Wim Taymans <wim@fluendo.com>
3928 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
3929 (gst_base_src_loop):
3930 Only push the segment events in the PLAYING state for live sources.
3932 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
3934 * gst/gstpipeline.c: (gst_pipeline_change_state):
3935 Modify the clock distribution path in PAUSED->PLAYING so that we
3936 never attempt to choose a new clock unless we're actually leaving
3937 the PAUSED state for the first time. This prevents choosing a
3938 different clock when the state_change gets called for a 2nd time due
3939 to some element doing an async state change.
3941 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3943 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
3944 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
3945 (gst_pad_chain_unchecked), (gst_pad_push):
3946 Revert last commit. This needs some more thoughts.
3948 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
3950 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
3951 (gst_pad_chain_unchecked), (gst_pad_push):
3952 Check in set_caps if the caps are compatible with the pad and remove
3953 two functions that are redundant now. Fixes #421543.
3955 2007-03-22 Wim Taymans <wim@fluendo.com>
3957 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3958 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
3959 Unref some more to make valgrind happy.
3961 2007-03-22 Wim Taymans <wim@fluendo.com>
3963 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
3964 (gst_system_clock_id_wait_jitter),
3965 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
3966 Fix anoying regression that survived a few releases. When adding an
3967 async entry while blocking on a sync entry, the sync entry will unblock
3968 but still be busy, so it should continue to wait instead of returning
3970 Add some comments here and there.
3972 * tests/check/gst/gstsystemclock.c: (mixed_thread),
3973 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
3974 Add testcase for this.
3976 2007-03-22 Wim Taymans <wim@fluendo.com>
3978 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3979 Handle errors from the clock sync better, only UNSCHEDULED indicates a
3980 WRONG_STATE and can silently pause the task. All other cases should
3983 2007-03-22 Wim Taymans <wim@fluendo.com>
3985 Patch by: Ville Syrjala <syrjala at sci dot fi>
3987 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
3988 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
3991 2007-03-21 Michael Smith <msmith@fluendo.com>
3993 * docs/pwg/advanced-types.xml:
3994 Fix some errors in the typefinding docs pointed out on irc.
3996 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
3998 * libs/gst/base/gstbasesrc.c:
3999 Clarify FIXME comment in the face of having added unlock_stop()
4001 2007-03-21 Wim Taymans <wim@fluendo.com>
4003 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
4004 Prepare for release where we warn against possible app breakage in the
4005 case of live pipelines along with an env var to enable/disable live
4006 preroll mode (GST_COMPAT=[no-]live-preroll).
4008 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4010 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
4011 So we should use correct constants for checking for None offset.
4013 2007-03-20 Wim Taymans <wim@fluendo.com>
4015 * docs/design/part-block.txt:
4016 Mention the fact that the newly switched element should be set to at
4019 2007-03-20 Wim Taymans <wim@fluendo.com>
4022 Fix compilation with registry disabled as spotted by Saur.
4024 2007-03-20 Wim Taymans <wim@fluendo.com>
4026 Patch by: Olivier Crete <tester at tester dot ca>
4028 * gst/gstelement.c: (gst_element_sync_state_with_parent):
4029 Look at the pending state too when syncing the element state to the
4030 parent. Fixes #420133.
4032 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
4034 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
4035 (gst_base_sink_change_state):
4036 * libs/gst/base/gstbasesink.h:
4037 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4038 (gst_base_src_default_event), (gst_base_src_unlock_stop),
4039 (gst_base_src_deactivate):
4040 * libs/gst/base/gstbasesrc.h:
4041 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
4042 for sub-classes to correctly clear any state they set trying to
4043 unlock, such as clearing out unlock commands from a command fd.
4044 API: basesrc::unlock_stop
4045 API: basesink::unlock_stop
4047 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
4048 (gst_fd_sink_render), (gst_fd_sink_unlock),
4049 (gst_fd_sink_unlock_stop):
4050 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
4051 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
4052 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
4054 Implement unlock_stop in fdsrc and fdsink.
4055 Implement seeking in fdsrc when a seekable fd is passed, as in
4056 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
4058 2007-03-19 Wim Taymans <wim@fluendo.com>
4060 Patch by: Evan Nemerson <evan at coeus dash group dot com>
4062 * gst/gstelement.c: (gst_element_class_init):
4063 Fix pad-added and pad-removed signal signatures so that the pad type is
4064 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
4066 2007-03-19 Wim Taymans <wim@fluendo.com>
4068 * docs/gst/gstreamer-sections.txt:
4069 Add new element field and method.
4071 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4072 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
4073 (gst_bin_recalc_state), (gst_bin_get_state_func),
4074 (gst_bin_element_set_state), (gst_bin_change_state_func),
4075 (gst_bin_continue_func), (bin_bus_handler),
4076 (bin_push_state_continue), (bin_handle_async_start),
4077 (bin_handle_async_done), (gst_bin_handle_message_func):
4078 Make async state changes a bit smarter by using new ASYNC_START and
4079 ASYNC_DONE messages. This reduces the number of times we run the state
4080 recalculation thread.
4081 Don't change state of element with a pending ASYNC_START message.
4082 Deprecate STATE_DIRTY messages.
4084 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
4085 (gst_element_get_state_func), (gst_element_continue_state),
4086 (gst_element_lost_state), (gst_element_set_state_func),
4087 (gst_element_change_state):
4089 Keep the state that was last set by the app in a new element field.
4090 Don't allow state changes when handling an element event.
4091 Post ASYNC_START and ASYNC_DONE messages.
4092 Change lost_state so that we go to PAUSED and wait for the parent to set
4093 us to PLAYING again (so latency calculation can be performed)
4094 Export gst_element_change_state() method so that subclasses can use it.
4095 API: gst_element_change_state()
4096 API: GST_STATE_TARGET
4098 * gst/gstpipeline.c: (gst_pipeline_class_init),
4099 (reset_stream_time), (gst_pipeline_change_state),
4100 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
4101 Using the new ASYNC_START message we can reset the base_time when
4102 needed. This can then be used to implement base_time redistribution in
4103 flushing seeks so that we can remove the explicit seek handling.
4104 Perform latency query and configuration when going to PLAYING.
4106 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4107 (gst_base_sink_query), (gst_base_sink_change_state):
4108 Post new ASYNC_START/ASYNC_DONE messages.
4110 * tests/check/generic/sinks.c: (GST_START_TEST):
4111 Fix test because the bin will not set the async element to PLAYING right
4114 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
4115 Make the message check a little stronger.
4116 Handle ASYNC messages.
4118 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
4119 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
4120 Expect ASYNC_DONE messages.
4122 2007-03-19 Wim Taymans <wim@fluendo.com>
4124 * docs/gst/gstreamer-sections.txt:
4125 * gst/gstmessage.c: (gst_message_new_async_start),
4126 (gst_message_new_async_done), (gst_message_parse_info),
4127 (gst_message_parse_async_start):
4129 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
4132 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
4134 * tools/gst-inspect.c:
4135 (print_plugin_automatic_install_info_codecs):
4136 Now that we don't check for the 'Codec' keyword any longer in the
4137 klass, we shouldn't spew a warning if the klass isn't a decoder or
4138 encoder (since it might be a Source/Network, for example).
4140 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
4142 * tools/gst-inspect.c:
4143 (print_plugin_automatic_install_info_codecs):
4144 Don't require decoder/demuxer/depayloader elements or
4145 encoder/muxer/paylader elements to have 'Codec' as part of their
4146 factory class string when introspecting a plugin's capabilities.
4147 draft-klass.txt mentions that it might be removed in future, and
4148 flump3dec doesn't have it as part of its class string, so chances
4149 are others might also not have it.
4151 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
4173 Update translations from translation project
4175 2007-03-14 Stefan Kost <ensonic@users.sf.net>
4177 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
4178 (gst_child_proxy_set_property):
4179 Invert precondition check to be alike the ones in the mimiced gobject
4182 2007-03-13 Stefan Kost <ensonic@users.sf.net>
4184 * docs/design/draft-tagreading.txt:
4185 * docs/random/ensonic/audiobaseclasses.txt:
4186 Do some Architect work.
4188 * gst/gstobject.c: (gst_object_set_name):
4192 Add docs that point from gst_pad_get_range to gst_pad_pull_range
4194 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
4196 * gst/gstsystemclock.c: (gst_system_clock_init),
4197 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
4198 Defer starting the async system clock thread until the first async
4199 wait is scheduled. Fixes #414986.
4201 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
4203 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
4204 (gst_single_queue_free):
4205 Fix small leak (free GstSingleQueue structure too, not only contents).
4207 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
4209 * gst/gstbin.c:(gst_bin_add):
4210 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
4211 * win32/common/libgstbase.def:
4212 * win32/common/libgstreamer.def:
4213 Add new exported functions.
4215 2007-03-09 Wim Taymans <wim@fluendo.com>
4217 * docs/plugins/gstreamer-plugins-sections.txt:
4220 2007-03-09 Wim Taymans <wim@fluendo.com>
4222 * docs/gst/gstreamer-sections.txt:
4223 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
4225 Add metadata copy functions. Fixes #393099.
4226 API: gst_buffer_copy_metadata()
4228 * gst/gstutils.c: (gst_buffer_stamp):
4229 * libs/gst/base/gstbasetransform.c:
4230 (gst_base_transform_prepare_output_buffer):
4231 Use new metadata copy functions.
4233 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
4235 * plugins/elements/gstidentity.c: (gst_identity_class_init),
4236 (gst_identity_init), (gst_identity_check_perfect),
4237 (gst_identity_check_imperfect_timestamp),
4238 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
4239 (gst_identity_set_property), (gst_identity_get_property):
4240 * plugins/elements/gstidentity.h:
4241 Separate out check-imperfect-timestamp and check-imperfect-offset.
4242 Put back check-perfect as it was to keep compatibility.
4244 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
4246 * gst/gstelement.c: (gst_element_dispose):
4247 There's no need to warn if VOID_PENDING is not NONE here, as
4248 long as the state is NULL it's ok, and that's checked immediately
4251 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4253 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4254 Fix check for perfect stream to ignore buffers with -1
4255 offsets/offset ends when checking data contiguity.
4257 2007-03-08 Wim Taymans <wim@fluendo.com>
4259 * tools/gst-launch.c: (event_loop):
4260 Print INFO messages.
4262 2007-03-08 Wim Taymans <wim@fluendo.com>
4264 * libs/gst/base/gstbasetransform.c:
4265 (gst_base_transform_sink_eventfunc),
4266 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4267 (gst_base_transform_activate):
4268 * libs/gst/base/gstbasetransform.h:
4269 Add support for dropping buffers with custom GstFlowReturn.
4270 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
4271 buffers or dropped buffers.
4273 * docs/libs/gstreamer-libs-sections.txt:
4274 docs for new custom return code.
4276 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4277 Use drop support in base class to implement drop-probability.
4279 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
4281 * gst/gst.c: (load_plugin_func):
4282 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
4283 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4284 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
4285 Remove newlines at end of debug log strings.
4287 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4289 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4290 Only post bus message at max, once per buffer received.
4292 2007-03-07 Wim Taymans <wim@fluendo.com>
4294 * docs/design/Makefile.am:
4295 * docs/design/part-synchronisation.txt:
4296 Add doc about synchronisation
4298 * docs/design/draft-latency.txt:
4299 * docs/design/part-TODO.txt:
4300 * docs/design/part-clocks.txt:
4301 * docs/design/part-events.txt:
4302 * docs/design/part-gstbus.txt:
4303 * docs/design/part-gstpipeline.txt:
4304 * docs/design/part-live-source.txt:
4305 * docs/design/part-messages.txt:
4306 * docs/design/part-overview.txt:
4307 * docs/design/part-streams.txt:
4308 * docs/design/part-trickmodes.txt:
4309 Documentation updates.
4311 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
4314 Update the doap file.
4316 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4318 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4319 Rename non-perfect to imperfect for Mike and for the sanctity of the
4321 Also make sure bus message gets emitted for data-incontiguities.
4323 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
4325 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
4326 (gst_identity_start):
4327 * plugins/elements/gstidentity.h:
4328 Emit bus message if check-perfect is true and we encounter a
4329 non-perfect stream between 2 consecutive buffers.
4332 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
4337 === release 0.10.12 ===
4339 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
4342 releasing 0.10.12, "Inevitable Demise"
4344 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
4347 Version 0.10.11.2 (0.10.12 pre-release)
4348 Bump libtool versioning.
4350 2007-03-01 Stefan Kost <ensonic@users.sf.net>
4352 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4353 Log flow-names and not numbers.
4355 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
4358 Convert to new AG_GST style.
4360 2007-02-28 Wim Taymans <wim@fluendo.com>
4362 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
4363 Don't unref query twice.
4365 2007-02-28 Wim Taymans <wim@fluendo.com>
4367 * gst/gstvalue.c: (gst_value_transform_object_string),
4368 (_gst_value_initialize):
4369 Implement GstObject -> string transform so we print object names
4370 when serializing GValues containing GstObjects.
4372 2007-02-28 Wim Taymans <wim@fluendo.com>
4374 * docs/gst/gstreamer-sections.txt:
4375 Add new stuff to docs.
4377 2007-02-28 Wim Taymans <wim@fluendo.com>
4379 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4380 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
4381 (gst_base_sink_change_state):
4382 Improve latency query code.
4383 Don't leak latency events.
4385 * tests/check/gst/gstbin.c: (GST_START_TEST):
4388 2007-02-28 Wim Taymans <wim@fluendo.com>
4390 * gst/gstelement.c: (gst_element_message_full),
4391 (gst_element_get_state_func):
4393 Improve docs a little. Added Since: for new macro.
4395 * gst/gstobject.c: (gst_object_sink):
4396 * gst/gstpipeline.c: (gst_pipeline_change_state),
4397 (gst_pipeline_set_new_stream_time):
4398 * gst/gstpipeline.h:
4399 Improve debugging and docs.
4401 * gst/gstutils.c: (gst_element_state_change_return_get_name):
4404 2007-02-28 Wim Taymans <wim@fluendo.com>
4406 * gst/gstelement.c: (gst_element_message_full),
4407 (gst_element_set_locked_state), (gst_element_get_state_func),
4408 (gst_element_change_state):
4409 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4410 Documentation updates.
4411 Small code cleanups.
4413 * gst/gstmessage.c: (gst_message_new_info),
4414 (gst_message_parse_info):
4416 API: gst_message_new_info()
4417 API: gst_message_parse_info()
4418 Add INFO message create and parse code.
4420 2007-02-28 Wim Taymans <wim@fluendo.com>
4422 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4423 (bin_query_latency_done):
4424 Also report the live parameter of a latency query.
4426 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
4428 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4429 Copy the current generic/states example from -base and adapt so
4430 we can use the exact same code everywhere.
4431 Check a STATES_IGNORE_ELEMENTS env var which can be used
4432 to ignore certain element factories for this test, which is
4433 what is being done in -base
4434 * tests/check/Makefile.am:
4435 Mention this environment variable.
4437 2007-02-27 Wim Taymans <wim@fluendo.com>
4439 * docs/gst/gstreamer-sections.txt:
4440 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4441 (gst_bus_timed_pop), (gst_bus_pop):
4443 API: gst_bus_timed_pop()
4444 Implement gst_bus_timed_pop() to do a blocking timed wait for a
4445 message to arrive on the bus.
4447 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4449 Two unit tests for new _timed_pop() function.
4451 2007-02-23 Wim Taymans <wim@fluendo.com>
4453 * gst/gstpipeline.c: (gst_pipeline_change_state),
4454 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
4455 Don't ref a NULL clock in _provide_clock_func().
4456 Don't allow an INVALID delay.
4457 Don't try to calculate base_time with an invalid start_time.
4458 Also distribute and notify a NULL clock when it was selected.
4460 * tools/gst-launch.c: (event_loop):
4461 Don't crash when a NULL clock was selected in the pipeline.
4463 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
4465 * docs/design/Makefile.am:
4466 * docs/design/draft-missing-plugins.txt:
4467 * docs/random/draft-missing-plugins.txt:
4468 Some small updates: update plugin system identifier prefix
4469 ('gstreamer.net' to 'gstreamer'), mention our new install
4470 API in libgstbaseutils rather than libgimme-codec, add
4471 reference to the online docs.
4473 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4475 * win32/common/config.h:
4476 Pretty sure Bill never made a powerpc version. Powerpc hackers,
4477 use moap cl ci to only check in what is mentioned in the ChangeLog.
4479 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4481 * docs/gst/gstreamer-sections.txt:
4483 Fix up documentation to link to the correct GstGError section.
4484 Add GST_ELEMENT_INFO macro since someone else added a Info message.
4486 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
4488 * tools/gst-launch.c: (event_loop):
4489 Make sure that we actually show the important message part of a
4491 No need to check if the gerror is not NULL to free; first of all
4492 g_free accepts NULL; and second the default error handler would
4493 segfault if gerror was NULL.
4495 2007-02-21 Wim Taymans <wim@fluendo.com>
4497 * docs/gst/gstreamer-sections.txt:
4498 Removed docs as well.
4500 2007-02-21 Wim Taymans <wim@fluendo.com>
4502 * gst/gstmessage.c: (gst_message_parse_duration):
4504 Remove new messages for release.
4506 2007-02-20 Wim Taymans <wim@fluendo.com>
4508 * docs/design/part-gstghostpad.txt:
4509 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4510 (gst_ghost_pad_new_full):
4511 Make the ghostpad a parent of the internal pad again for better backward
4512 compatibility. Don't write code that relies on this however.
4514 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4515 (gst_pad_link_check_hierarchy):
4516 Require that parents should be GstElements in the hierarchy check.
4518 2007-02-20 Wim Taymans <wim@fluendo.com>
4520 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4521 (gst_bin_change_state_func), (bin_query_min_max_init),
4522 (bin_query_latency_fold), (bin_query_latency_done),
4525 Implement latency query.
4527 2007-02-20 Wim Taymans <wim@fluendo.com>
4529 * docs/design/part-gstghostpad.txt:
4530 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4531 (gst_ghost_pad_internal_do_activate_push),
4532 (gst_ghost_pad_internal_do_activate_pull),
4533 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4534 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4535 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4536 Do not set the internal pad as a parent anymore so we can avoid
4537 hierarchy linking errors when the ghostpad has no parent yet. This also
4538 fixes failed activation because of unlinked internal pads, which in
4539 turn fixes the impossible case where you have to activate a pad before
4540 you can add it to a running element.
4543 * gst/gstpad.c: (pre_activate), (post_activate),
4544 (gst_pad_set_active), (gst_pad_activate_pull),
4545 (gst_pad_activate_push), (gst_pad_check_pull_range):
4546 Add some more debug info.
4547 Mark activation mode in pre_activate so that we don't try to activate in
4548 endless loops. Fixes #385084.
4550 2007-02-19 Wim Taymans <wim@fluendo.com>
4552 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4553 (gst_base_transform_check_get_range):
4554 Implement a checkgetrange function instead of relying on the default
4555 core behaviour that assumes we can operate in pull mode if we have a
4556 getrange function. First step at fixing #385084.
4558 2007-02-15 Stefan Kost <ensonic@users.sf.net>
4560 * gst/gstchildproxy.h:
4561 * libs/gst/base/gstbasesink.h:
4562 * libs/gst/base/gstbasesrc.h:
4563 * libs/gst/base/gstbasetransform.h:
4564 More docs coverage and some ChangeLog surgery (add missing names)
4566 2007-02-15 Wim Taymans <wim@fluendo.com>
4568 * docs/design/part-TODO.txt:
4569 * docs/design/part-activation.txt:
4570 * docs/design/part-block.txt:
4571 * docs/design/part-buffering.txt:
4572 * docs/design/part-clocks.txt:
4573 * docs/design/part-element-source.txt:
4574 * docs/design/part-events.txt:
4575 * docs/design/part-gstbin.txt:
4576 * docs/design/part-gstbus.txt:
4577 * docs/design/part-gstpipeline.txt:
4578 * docs/design/part-live-source.txt:
4579 * docs/design/part-messages.txt:
4580 * docs/design/part-overview.txt:
4581 * docs/design/part-qos.txt:
4582 * docs/design/part-query.txt:
4583 * docs/design/part-states.txt:
4584 * docs/design/part-trickmodes.txt:
4585 Some doc updates. Start renaming from stream_time to running_time where
4586 it was used wrongly.
4588 2007-02-15 Wim Taymans <wim@fluendo.com>
4590 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4591 Answer LATENCY query.
4593 2007-02-15 Wim Taymans <wim@fluendo.com>
4595 * tests/check/gst/gstevent.c: (event_probe), (test_event),
4599 2007-02-15 Wim Taymans <wim@fluendo.com>
4601 * gst/gstpad.c: (gst_pad_get_internal_links_default),
4602 (gst_pad_dispatcher):
4603 Improve debugging of default pad dispatcher and query functions.
4605 2007-02-15 Wim Taymans <wim@fluendo.com>
4607 * docs/gst/gstreamer-sections.txt:
4608 Remove old unused method.
4610 2007-02-13 Wim Taymans <wim@fluendo.com>
4612 * tests/check/gst/gstsegment.c: (GST_START_TEST):
4615 2007-02-13 Wim Taymans <wim@fluendo.com>
4617 * docs/design/part-seeking.txt:
4620 * gst/gstsegment.c: (gst_segment_set_seek):
4621 Revert old bogus change that should make seeking work again.
4623 2007-02-13 Stefan Kost <ensonic@users.sf.net>
4625 * docs/random/ensonic/dynlink.txt:
4626 * docs/random/ensonic/interfaces.txt:
4627 * docs/random/ensonic/receipies.txt:
4628 Possible dynamic reconnection api, plus some type fixes the other two
4631 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
4633 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4634 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4635 Also check for an absolute path following file:// in the filesrc
4636 element. Remove redundant check and call g_path_is_absolute() on the
4639 2007-02-13 Stefan Kost <ensonic@users.sf.net>
4641 * docs/design/draft-klass.txt:
4642 Add existing category analysis.
4645 Fix doc example, framerate is a fraction.
4647 2007-02-12 Stefan Kost <ensonic@users.sf.net>
4650 * docs/gst/Makefile.am:
4651 * docs/gst/gstreamer-sections.txt:
4652 * docs/libs/Makefile.am:
4653 Erm, forgot a bunch of --extra-dir.
4655 2007-02-12 Stefan Kost <ensonic@users.sf.net>
4658 * docs/gst/Makefile.am:
4659 * docs/libs/Makefile.am:
4660 * docs/plugins/Makefile.am:
4661 Add crossreferences to glib/gobject docs.
4663 2007-02-12 Wim Taymans <wim@fluendo.com>
4665 * docs/design/draft-latency.txt:
4668 * docs/libs/gstreamer-libs-sections.txt:
4669 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4670 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4671 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4672 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4673 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4674 (gst_base_sink_get_position), (gst_base_sink_query),
4675 (gst_base_sink_change_state):
4676 * libs/gst/base/gstbasesink.h:
4677 API: gst_base_sink_query_latency() to let subclasses query the upstream
4679 API: gst_base_sink_get_latency() to let subclasses query the configured
4680 latency in the sink.
4681 Implement query and set latency.
4683 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4684 don't continue preroll when we are flushing. Fixes #405284.
4686 * tests/check/pipelines/stress.c: (change_state_timeout),
4687 (quit_timeout), (GST_START_TEST), (stress_suite):
4690 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
4692 Patch by: René Stadler <mail at renestadler de>
4694 * docs/gst/gstreamer-sections.txt:
4695 * gst/gsttaglist.c: (_gst_tag_initialize):
4697 API: add GST_TAG_REFERENCE_LEVEL (#403597).
4699 2007-02-11 Stefan Kost <ensonic@users.sf.net>
4701 * docs/libs/Makefile.am:
4702 Fix path to core docs.
4704 * gst/gstbin.c: (gst_bin_get_by_interface),
4705 (gst_bin_iterate_all_by_interface):
4706 Refix docs by also renaming 'interface' to 'iface' in implementation.
4708 * docs/gst/gstreamer-sections.txt:
4710 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4711 * gst/gstchildproxy.h:
4712 * gst/gstelementfactory.c:
4713 * gst/gstpadtemplate.h:
4714 * libs/gst/controller/gstcontroller.c:
4715 (gst_controlled_property_new):
4718 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
4720 * gst/gstbin.h:(gst_bin_get_by_interface),
4721 (gst_bin_iterate_all_by_interface):
4722 Replace interface parameter name by iface as interface is
4723 a reserved keyword in Visual Studio for C++ projects so it removes
4724 a build error for application developpers using VS.
4725 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4726 Fix a bug on Windows in uri format check. Now the prefix checked
4727 is file:// and next we check if the path after file:// is absolute.
4728 * win32/common/libgstbase.def:
4729 * win32/common/libgstdataprotocol.def:
4730 * win32/common/libgstgstreamer.def:
4731 Add new exported functions.
4733 2007-02-09 Andy Wingo <wingo@pobox.com>
4735 * tests/check/pipelines/simple-launch-lines.c
4736 (simple_launch_lines_suite, test_tee): Disable tee test until I
4737 have time to fix it :-(
4739 * tests/check/Makefile.am (noinst_HEADERS):
4740 * tests/check/libs/libsabi.c:
4741 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
4742 * tests/check/gst/gstabi.c:
4743 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
4745 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
4746 tests for push and pull tee behavior.
4748 * plugins/elements/gsttee.h:
4749 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
4750 mark as deprecated as well as unimplemented. It was a crack idea.
4751 Add support for tee operating in pull mode, off by default.
4753 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
4754 normal-case logs down to LOG, raise errors to WARNING.
4755 (gst_registry_xml_read_cache): Don't log before calling a function
4758 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
4759 exit (registry finalize).
4760 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
4761 DEBUG log when we emit signals that people don't even have the
4762 chance to connect to.
4763 (gst_registry_scan_path_level): Less logging in the normal case.
4765 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4767 Patch by: Michal Benes <michal dot benes at itonis dot tv>
4769 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
4770 Correctly generate EOS for non-seekable files. We don't have a total
4771 length for them and would get an unexpected end of file if we only
4772 special-cased for regular files. (Fixes: #404569)
4774 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
4776 * tests/check/elements/filesrc.c: (GST_START_TEST),
4778 Add unit test for the GstURIHandler interface in filesrc. This also
4779 tests the newly added file://localhost/foo/bar support.
4781 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
4783 * gst/gstelementfactory.h:
4784 The klass string is not a hierarchy. Add reference to the design doc
4785 for more information and common types.
4787 2007-02-02 Wim Taymans <wim@fluendo.com>
4789 * gst/gstquery.c: (gst_query_new_latency):
4790 Remove old structure field.
4792 2007-02-02 Stefan Kost <ensonic@users.sf.net>
4794 * tools/gst-launch.1.in:
4795 Give example for network streaming (#351998)
4797 2007-02-02 Wim Taymans <wim@fluendo.com>
4799 * docs/gst/gstreamer-sections.txt:
4800 Add docs for new methods.
4802 * gst/gstevent.c: (gst_event_new_latency),
4803 (gst_event_parse_latency):
4805 Add new LATENCY event to configure latency in a pipeline.
4806 API: gst_event_new_latency
4807 API: gst_event_parse_latency
4809 * gst/gstmessage.c: (gst_message_new_buffering),
4810 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
4811 (gst_message_new_latency), (gst_message_parse_buffering),
4812 (gst_message_parse_lost_preroll):
4814 Added messages used in draft-latency.
4815 API: gst_message_new_lost_preroll
4816 API: gst_message_parse_lost_preroll
4817 API: gst_message_new_prerolled
4818 API: gst_message_new_latency
4820 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
4821 (gst_query_parse_latency):
4823 Implemented new latency query as in design doc.
4824 API: gst_query_new_latency
4825 API: gst_query_set_latency
4826 API: gst_query_parse_latency
4828 2007-02-02 Wim Taymans <wim@fluendo.com>
4830 * docs/design/draft-latency.txt:
4831 Slight redesign to allow for dynamic latency adjustments.
4833 * docs/design/part-negotiation.txt:
4836 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
4838 reviewed by: Wim Taymans <wim@fluendo.com>
4840 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4841 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4842 Allow file://localhost/foo/bar URLs and correctly fail for every other
4843 hostname that one sets. This was gnomevfssrc is linked for those if
4844 installed as it can handle it (#403172)
4846 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
4848 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
4850 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4851 (unref_data), (gst_collect_pads_add_pad_full):
4852 * libs/gst/base/gstcollectpads.h:
4853 Don't put the previously added destroy notify in the GstCollectData
4854 struct as all it's padding is already used and we don't want to break
4855 ABI. Instead put in the pad's GObject data for now. This should be
4856 cleaned up for 0.11 (#402393).
4858 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
4860 reviewed by: Wim Taymans <wim@fluendo.com>
4862 * docs/libs/gstreamer-libs-sections.txt:
4863 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
4864 (unref_data), (gst_collect_pads_add_pad),
4865 (gst_collect_pads_add_pad_full):
4866 * libs/gst/base/gstcollectpads.h:
4867 API: Add function to specify a destroy notification for custom
4868 GstCollectData when adding new pads in GstCollectPads (#402393).
4870 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
4873 Update Swedish translation (#378255).
4875 2007-01-31 Stefan Kost <ensonic@users.sf.net>
4877 * docs/design/draft-klass.txt:
4878 Fix the previous change, this is a list of categories and not a hierarchy.
4880 2007-01-31 Stefan Kost <ensonic@users.sf.net>
4882 * docs/design/draft-klass.txt:
4883 Add info about how to get a list of used classes.
4885 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
4887 * plugins/elements/gsttypefindelement.c:
4888 (gst_type_find_element_chain_do_typefinding),
4889 (gst_type_find_element_change_state):
4890 Don't leak found caps in chain function (no idea why that never
4891 showed up as a leak anywhere).
4893 2007-01-30 Stefan Kost <ensonic@users.sf.net>
4896 Fix and expand GstPluginDesc API docs.
4898 2007-01-29 Stefan Kost <ensonic@users.sf.net>
4901 * gst/gstelementfactory.c:
4902 * gst/gstpadtemplate.h:
4905 * libs/gst/controller/gstcontroller.c:
4906 (gst_controlled_property_new):
4907 * tests/examples/controller/audio-example.c:
4910 2007-01-29 Stefan Kost <ensonic@users.sf.net>
4913 comment about refining the xml deps
4916 comments about moving away from jade for docs
4919 recommit the ifdefs to use the binary registry
4921 * gst/gstbin.c: (gst_bin_change_state_func):
4922 this break is obsolete
4924 * gst/gstelementfactory.h:
4925 better GST_ELEMENT_DETAILS docs, add comment about translation
4930 * gst/gstobject.c: (gst_signal_object_get_type):
4931 add G_UNLIKELY as usual
4933 * gst/gstpad.c: (gst_pad_event_default):
4934 add fall trhu comment
4936 * gst/gstregistrybinary.c: (gst_registry_binary_write),
4937 (gst_registry_binary_initialize_magic),
4938 (gst_registry_binary_save_string),
4939 (gst_registry_binary_save_pad_template),
4940 (gst_registry_binary_save_feature),
4941 (gst_registry_binary_save_plugin),
4942 (gst_registry_binary_write_cache),
4943 (gst_registry_binary_check_magic),
4944 (gst_registry_binary_load_pad_template),
4945 (gst_registry_binary_load_feature),
4946 (gst_registry_binary_load_plugin),
4947 (gst_registry_binary_read_cache):
4948 comment typo and formatting
4950 * gst/gstutils.c: (gst_element_state_get_name),
4951 (gst_element_state_change_return_get_name):
4952 remove obsolete breaks
4954 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
4955 add FIXME 0.11 and remove cpp comment
4957 2007-01-29 Edward Hervey <edward@fluendo.com>
4959 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4960 Fix print statement in an even more portable way.
4962 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
4964 * docs/gst/gstreamer-sections.txt:
4966 API: add GST_ROUND_DOWN_* macros (#401781).
4968 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
4970 * docs/gst/gstreamer.types.in:
4971 * gst/gstregistry.c: (gst_registry_class_init):
4972 Document registry signals and make gtk-doc pick them up (#401381).
4974 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
4976 * docs/pwg/building-testapp.xml:
4977 Add some audioconverts and audioresample to the pipeline, and some
4978 more comments and error handling.
4980 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
4982 * docs/manual/manual.xml:
4986 2007-01-26 Wim Taymans <wim@fluendo.com>
4988 * gst/gstcaps.c: (gst_static_caps_get):
4989 Init caps flags too.
4991 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
4993 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
4995 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
4996 If not using mmap'ed files try to seek to the end instead of the
4997 start to determine whether we can seek at all. This fixes the case
4998 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
4999 seeks for everything afterwards fail. Fixes #400656
5001 2007-01-25 Wim Taymans <wim@fluendo.com>
5003 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
5004 Add some refcount debugging.
5005 Make gst_static_caps_get threadsafe, which is needed when autoplugging
5006 in multiple streaming threads.
5008 2007-01-25 Wim Taymans <wim@fluendo.com>
5010 Patch by: David Schleef <ds at schleef dot org>
5012 * docs/libs/gstreamer-libs-sections.txt:
5013 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
5014 * libs/gst/base/gstadapter.h:
5015 API: gst_adapter_copy() that can reduce the amount of memcpy when
5016 getting data from the adapter. Fixes #388201.
5018 2007-01-25 Edward Hervey <edward@fluendo.com>
5020 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5021 In print statements, "%x" is for guint. Fixes build on macosx.
5023 2007-01-24 Edward Hervey <edward@fluendo.com>
5025 * plugins/elements/gstmultiqueue.c:
5026 (gst_multi_queue_loop):
5028 (single_queue_overrun_cb), (single_queue_underrun_cb),
5029 (single_queue_check_full), (gst_single_queue_new):
5030 Implement single queue growth system.
5031 This uses the extra-size properties, and will grow single queues by
5032 that much if one goes full whereas there are others empty. This is
5033 called extra-mode in the code.
5034 When a single queue's levels go back below the initial max-size
5035 limits, it is no longer in extra-mode. This is to ensure we don't
5036 consume too much memory.
5039 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
5041 * gst/gst.c: (gst_init_get_option_group):
5042 Make warning about late g_thread_init() calls a bit more explicit,
5043 so that it's more obvious to application developers what they need
5044 to do if a user files a bug against their application.
5046 2007-01-22 Edward Hervey <edward@fluendo.com>
5048 * plugins/elements/gstmultiqueue.c:
5049 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
5050 Remove previous hack of unsetting the flushing flag for the source pad
5051 instead of activating it. Instead, fix the source pad activate function
5052 so that it no longer depends on having a parent set or not.
5054 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
5056 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
5058 * docs/manual/basics-bus.xml:
5059 Fix example code, gst_element_unref() doesn't exist any longer.
5061 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
5063 Patch by: Mark Nauwelaerts <manauw at skynet be>
5066 Fix two docs typoes (#399094).
5068 2007-01-19 Edward Hervey <edward@fluendo.com>
5070 * docs/faq/gst-uninstalled:
5071 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
5072 depending on libgstbaseutils can work in uninstalled environment.
5074 2007-01-18 Stefan Kost <ensonic@users.sf.net>
5077 * gst/gsttagsetter.c:
5078 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
5079 statement for new tag.
5081 2007-01-17 Edward Hervey <edward@fluendo.com>
5083 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
5084 When dynamically creating single queues, activate sinkpad before adding
5086 We should be doing the same thing for the source pad, but we can't
5087 since it would call a method which needs the parent to be set in order
5088 to work propertly. Instead of activating the source pad, we just unset
5089 the flushing flag, which is the minimal requirement for adding a pad
5090 to an element in a state greater than READY.
5092 2007-01-17 Edward Hervey <edward@fluendo.com>
5094 * docs/faq/gst-uninstalled:
5095 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
5098 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
5100 * tests/check/gst/gstabi.c:
5101 * tests/check/gst/struct_hppa.h:
5102 * tests/check/libs/libsabi.c:
5103 * tests/check/libs/struct_hppa.h:
5104 Add ABI structs for HPPA (see #393796).
5106 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
5108 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5109 Actually write ABI structs to the file specified in the GST_ABI
5110 environment variable, as the message we print claims we would.
5112 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5114 * tests/check/gst/gsttask.c:
5117 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5119 * gst/gsttaglist.c: (_gst_tag_initialize):
5120 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
5121 previous two entries.
5123 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5125 * docs/gst/gstreamer-sections.txt:
5126 * gst/gsttaglist.c: (_gst_tag_initialize):
5128 Add tag support for beat-per-minute.
5130 2007-01-15 Stefan Kost <ensonic@users.sf.net>
5132 * gst/gstregistrybinary.c: (gst_registry_binary_write),
5133 (gst_registry_binary_initialize_magic),
5134 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
5135 (gst_registry_binary_save_pad_template),
5136 (gst_registry_binary_save_feature),
5137 (gst_registry_binary_save_plugin),
5138 (gst_registry_binary_write_cache),
5139 (gst_registry_binary_check_magic),
5140 (gst_registry_binary_load_pad_template),
5141 (gst_registry_binary_load_feature),
5142 (gst_registry_binary_load_plugin),
5143 (gst_registry_binary_read_cache):
5144 * gst/gstregistrybinary.h:
5145 Use glib types, cleanup comments, impement interfaces and uri-types.
5147 2007-01-13 Andy Wingo <wingo@pobox.com>
5149 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
5150 getrange() to return buffers with other caps, while we fix
5151 demuxers and typefind, or otherwise change part-negotiation.txt.
5153 2007-01-12 Andy Wingo <wingo@pobox.com>
5155 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
5156 Factor start/stop into this private function instead of partially
5157 in activate functions and partially in the change_state function.
5158 Fixes setup before the element has changed from READY->PAUSED, as
5159 is the case in pull-mode pipelines.
5160 (gst_base_transform_sink_activate_push)
5161 (gst_base_transform_src_activate_pull): Refactor to use
5162 gst_base_transform_activate().
5163 (gst_base_transform_change_state): Removed, not needed any more.
5165 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5166 Truncate before fixating.
5168 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5169 Don't set_caps() if the result of fixating is ANY, as it's not
5170 supported, and not necessary in the case of a link with no
5171 template caps on either side. Fixes tests/check/libs/basesrc in
5172 some pull-mode tests.
5174 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
5175 (gst_base_transform_init, gst_base_transform_sink_activate_push)
5176 (gst_base_transform_src_activate_pull):
5177 Track the activation mode.
5178 (gst_base_transform_setcaps): In pull mode, when activating the
5179 src pad, after activating the sink pad, activate the sink pad's
5180 peer, as discussed in part-negotiation.txt.
5182 * libs/gst/base/gstbasesrc.h:
5183 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
5184 vmethod, as in basesink.
5186 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
5188 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
5189 mode, first proxy the setcaps to the peer pad.
5190 (gst_base_sink_pad_fixate): Add a fixate function that calls the
5192 (gst_base_sink_default_activate_pull): Rename from
5193 gst_base_sink_activate_pull.
5194 (gst_base_sink_negotiate_pull): New function, performs negotiation
5195 in pull mode before calling ::activate_pull().
5196 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
5197 vmethod instead of the default implementation. I have no idea how
5198 this worked before. Negotiate before calling activate_pull.
5200 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
5201 sink pads in pull mode. In addition to being correct, fixes
5202 filesrc ! decodebin ! identity ! fakesink.
5203 (gst_pad_get_range, gst_pad_pull_range): Don't call
5204 gst_pad_set_caps() if the caps changes; instead error out with
5205 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
5207 2007-01-12 Andy Wingo <wingo@pobox.com>
5209 * docs/design/part-negotiation.txt: Update with more policy.
5211 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
5213 * libs/gst/check/gstbufferstraw.h:
5214 * libs/gst/check/gstcheck.h:
5215 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
5218 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
5220 * tests/check/Makefile.am:
5221 * tests/check/gst/.cvsignore:
5222 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
5223 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
5224 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
5225 (GST_START_TEST), (gst_tag_setter_suite):
5226 Add minimal unit test for beforementioned GstTagSetter bug.
5228 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
5230 Patch by: René Stadler <mail at renestadler dot de>
5232 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
5233 gst_tag_list_merge() returns a new list, so it's not the best idea
5234 to ingore its return value. Effectively meant that tags could only
5235 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
5236 Also add function guard to require a non-NULL taglist as input (has
5237 always been so due to gst_tag_list_copy(), just making it explicit).
5239 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
5241 * docs/random/draft-missing-plugins.txt:
5242 Some additions: mention new API that is supposed to be used at the
5243 various stages; short blob about new gst-inspect introspection
5244 option; mention potential future problem with plugins that have
5245 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
5247 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
5249 * tools/gst-inspect.c:
5250 (print_plugin_automatic_install_info_codecs),
5251 (print_plugin_automatic_install_info_protocols),
5252 (print_plugin_automatic_install_info), (main):
5253 Add --print-plugin-auto-install-info option to gst-inspect, so we can
5254 introspect plugin files and get machine-parsable output that corresponds
5255 to the last bit of the missing-plugin installer string (small gotcha:
5256 doesn't take into account ranks).
5258 2007-01-11 Stefan Kost <ensonic@users.sf.net>
5261 * docs/gst/gstreamer-sections.txt:
5263 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
5264 (gst_registry_lookup_locked):
5265 * gst/gstregistry.h:
5266 * gst/gstregistrybinary.c: (gst_registry_binary_write),
5267 (gst_registry_binary_initialize_magic),
5268 (gst_registry_binary_save_string),
5269 (gst_registry_binary_save_pad_template),
5270 (gst_registry_binary_save_feature),
5271 (gst_registry_binary_save_plugin),
5272 (gst_registry_binary_write_cache),
5273 (gst_registry_binary_check_magic),
5274 (gst_registry_binary_load_pad_template),
5275 (gst_registry_binary_load_feature),
5276 (gst_registry_binary_load_plugin),
5277 (gst_registry_binary_read_cache):
5278 * gst/gstregistrybinary.h:
5279 * gst/gstregistryxml.c: (load_feature),
5280 (gst_registry_xml_read_cache):
5281 commit binary registry (disabled by default, see #359653)
5283 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
5285 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
5286 Fix 'make check' too.
5288 2007-01-10 Andy Wingo <wingo@pobox.com>
5290 * docs/design/part-negotiation.txt: Fix a typo, add a couple
5293 * docs/design/part-negotiation.txt: Update with, um, one way that
5294 pull-mode negotiation might work?
5297 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
5298 that the pad must be a src pad; makes sense to call it the other
5299 way in pull mode, and the logic is symmetric anyway.
5301 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
5303 * plugins/elements/gstfilesink.c:
5304 Include <stdio.h> for fseeko().
5306 2007-01-10 Wim Taymans <wim@fluendo.com>
5310 Reserve LATENCY event.
5312 2007-01-09 Wim Taymans <wim@fluendo.com>
5314 * docs/design/draft-latency.txt:
5317 2007-01-09 Wim Taymans <wim@fluendo.com>
5319 * docs/design/draft-latency.txt:
5323 * gst/gststructure.c:
5327 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
5329 * tests/check/.cvsignore:
5330 Ignore test-registry.xml as well.
5332 2007-01-09 Wim Taymans <wim@fluendo.com>
5334 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5335 unref data at the end when we are done with the pad.
5337 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
5339 * docs/gst/gstreamer-sections.txt:
5340 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
5341 (init_post), (gst_deinit), (gst_update_registry):
5343 API: add gst_update_registry() (#391296).
5345 * tests/check/Makefile.am:
5346 * tests/check/gst/gstregistry.c:
5347 * tests/check/gst/.cvsignore:
5348 Simple unit test for the above.
5350 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
5352 * gst/gstregistry.c: (gst_registry_scan_path_level):
5353 Plugin extension on HP-UX is .sl, add that to the list of approved
5354 plugin extensions (see #393796).
5356 * tests/check/gst/gstpad.c: (GST_START_TEST):
5357 ulong => gulong. Fixes compilation with HP-UX compiler.
5359 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5360 Fix compilation if valgrind headers are not available.
5362 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
5364 * win32/common/libgstreamer.def:
5365 Add new exported function.
5366 * win32/vs6/libgstbase.dsp:
5367 Add gstdataqueue.c to the build.
5368 * win32/vs6/libgstcoreelements.dsp:
5369 Add gstmultiqueue.c to the build.
5371 2007-01-06 Andy Wingo <wingo@pobox.com>
5373 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
5374 activate_pull(), providing for a way to specialize the process of
5375 spawning a thread to pull on the sink pad. There is a default
5378 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
5379 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
5380 (gst_base_sink_init): Renamed pad activation functions (inserting
5381 "_pad" in their names). Refactor to use the new activate_pull
5382 vmethod, as appropriate.
5383 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
5384 default activate_pull function to start a task pulling from the
5385 sink pad, as before.
5387 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
5388 on the pads if necessary, as in push()/chain(). Update docs.
5389 Shouldn't affect existing pull() usage as it is currently only
5390 being used on buffers without caps.
5392 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5394 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5396 Call g_thread_init() first thing in gst_init() / gst_check_init().
5397 When initialisation is done via gst_init_get_option_group() and
5398 GOption parsing, issue a warning if the GLib thread system has not
5399 been initialised yet by the time gst_init_get_option_group() is
5400 called, as it's quite likely other GLib functions such as
5401 g_option_context_new() have been called already then, and
5402 g_thread_init() must be called before any other GLib function. The
5403 application in question must be fixed in that case, since memory
5404 corruption might happen otherwise.
5405 We issue the warning because even if the GLib folks decide to work
5406 around the problem on their end in future, this is still an issue
5407 with all GLib versions >= 2.10.0, so we should warn until we depend
5408 on a GLib version we know to be safe.
5409 Update documentation as well.
5412 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5414 * tools/gst-inspect.c: (main):
5415 * tools/gst-launch.c: (main):
5416 * tools/gst-typefind.c: (main):
5417 * tools/gst-xmlinspect.c: (main):
5418 Call g_thread_init() really really early, before any other GLib
5419 function (see #342564 and recent discussion on gtk-devel-list).
5421 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5423 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
5425 * gst/gst_private.h:
5426 * gst/gstconfig.h.in:
5428 On win32, all the __declspec stuff for symbol exporting is
5429 apparently only needed with MSVC, but doesn't work with MingW.
5430 Fixes compilation with MingW and #391909.
5432 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
5434 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5435 Change some GST_ERROR_OBJECT that aren't really errors to
5436 GST_WARNING_OBJECT in order to reduce terminal spam.
5438 2007-01-04 Stefan Kost <ensonic@users.sf.net>
5440 * tests/check/Makefile.am:
5441 disable test again, as there seem to be still race problems
5443 2007-01-04 Stefan Kost <ensonic@users.sf.net>
5445 * tests/check/Makefile.am:
5446 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5447 (GST_START_TEST), (queue_suite):
5448 enable queue test again, add tests for the leaky behaviour
5450 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
5453 * tests/examples/Makefile.am:
5454 Compile adapter test/example only if the required headers are
5455 available (fixes #391915).
5457 2007-01-01 David Schleef <ds@schleef.org>
5460 Restore the previous signal handler for SIGSEGV instead of
5461 setting to default, since we may have stolen it away from
5462 someone. (i.e., Mono)
5464 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
5466 * docs/random/draft-missing-plugins.txt:
5467 Some small additions and clarifications.
5469 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
5471 * gst/gstregistryxml.c: (gst_registry_save_escaped):
5472 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
5473 since that can lead to random memory corruptions and crashes
5474 (may or may not be related to #383244, #386711, and #386711).
5476 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5478 * tests/check/.cvsignore:
5479 * tests/check/Makefile.am:
5480 sync .cvsignome and CLEANFILES
5482 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5484 * tests/check/Makefile.am:
5487 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5489 * docs/design/part-states.txt:
5490 two tiny additional comments
5492 * gst/gststructure.c:
5495 * tests/check/Makefile.am:
5496 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5498 disable test for now, unless it gets fixed
5500 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5502 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5504 fix race in underrun test
5506 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5508 * tests/check/elements/.cvsignore:
5511 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5513 try to narrow test failure
5515 2006-12-21 David Schleef <ds@schleef.org>
5517 * plugins/elements/gstfakesrc.c:
5518 Use g_random_int_range(), since it produces better random
5519 numbers in a range than almost-correct floating point code.
5521 2006-12-21 Stefan Kost <ensonic@users.sf.net>
5523 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5524 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5525 (gst_check_teardown_sink_pad):
5526 do not automatically (de)activate pads
5528 * tests/check/Makefile.am:
5529 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5530 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5531 add new, yet simple tests for queue
5533 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5534 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5535 * tests/check/elements/filesrc.c: (cleanup_filesrc),
5537 * tests/check/elements/identity.c: (cleanup_identity):
5538 consistent pad (de)activation
5540 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
5542 Patch by: Sebastian Dröge <slomo ubuntu com>
5544 * libs/gst/base/gstcollectpads.c:
5545 Fix two doc typos (#387866).
5547 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
5549 * docs/manual/advanced-dparams.xml:
5550 Fix typo (g_object_control_properties() doesn't exist).
5552 2006-12-19 Edward Hervey <edward@fluendo.com>
5554 * gst/gstsegment.c: (gst_segment_set_seek):
5555 Fine tune the cases where the segment start/stop values are really
5557 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5558 Add tests for the return values of gst_segment_set_seek().
5560 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
5565 * plugins/elements/gstqueue.c: (gst_queue_class_init),
5567 Fix incorrect documentation and flesh it out a bit more.
5568 Set default values for the max properties on the GParamSpec as well,
5569 so it shows up correctly in gst-inspect.
5571 2006-12-18 Stefan Kost <ensonic@users.sf.net>
5573 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5574 Correct docs of queue, add more detail and crosslink it more.
5576 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
5578 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5579 Print additional debug info when the stream isn't perfectly
5580 timestamped; don't try to use invalid durations.
5582 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
5584 * docs/design/Makefile.am:
5585 Dist new design docs.
5587 2006-12-16 Wim Taymans <wim@fluendo.com>
5589 Patch by: Sjoerd Simons <sjoerd at luon dot net>
5591 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5592 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5593 (gst_collect_pads_stop), (gst_collect_pads_event),
5594 (gst_collect_pads_chain):
5595 * libs/gst/base/gstcollectpads.h:
5596 Add refcounting to the collectpads data so we can track when it's safe
5597 to free the data. Fixes #383382.
5599 2006-12-15 Wim Taymans <wim@fluendo.com>
5601 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5602 (gst_collect_pads_remove_pad):
5603 Automatically activate/deactivate pads when they are added to a
5604 started/stoped collectpads.
5606 2006-12-15 Wim Taymans <wim@fluendo.com>
5608 * gst/gstelement.c: (gst_element_add_pad):
5609 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5610 * gst/gstpad.c: (gst_pad_init):
5611 Set pads to FLUSHING when they are created. Check, warn and fix when a
5612 demuxer adds an inactive pad to itself when running. Fixes #339326.
5614 2006-12-15 Wim Taymans <wim@fluendo.com>
5616 * gst/gstelement.c: (gst_element_class_init),
5617 (gst_element_default_send_event), (gst_element_send_event),
5618 (gst_element_default_query), (gst_element_query):
5619 Expose default element send_event and query handling as vmethods that
5620 subclasses can chain up to.
5622 2006-12-15 Wim Taymans <wim@fluendo.com>
5624 * gst/gstelement.c: (gst_element_set_state_func):
5625 Small documentation fixes.
5627 2006-12-15 Wim Taymans <wim@fluendo.com>
5629 * docs/design/draft-latency.txt:
5630 Checked in draft for handling latency in pipelines.
5632 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
5636 * gstreamer.spec.in:
5639 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
5641 * gst/gst.c: (init_pre), (init_post):
5642 init_pre() and init_post() might be called via our GOptionGroup or
5643 from gst_init(), and we should skip both of them if we've already
5644 been initialised, otherwise we will init some things twice or add
5645 two default log functions.
5647 2006-12-13 Edward Hervey <edward@fluendo.com>
5649 * docs/manual/basics-bus.xml:
5650 No, gst_main_loop does not exist. Its g_main_loop.
5651 Discovered by somebody who abused the copy-paste technique of coding :)
5653 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
5655 * gst/gstghostpad.c:
5656 Log ghostpad debug stuff to the GST_PADS category as well rather
5657 than just to the default category.
5659 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
5662 * gst/gst.c: (init_pre):
5663 Add some basic system details such as OS and architecture
5664 to the debug output if possible, courtesy of uname().
5666 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
5668 * docs/gst/running.xml:
5669 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5670 environment variables.
5672 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
5674 * tests/check/gst/gstbin.c: (GST_START_TEST):
5675 It is acceptable to have a refcount of 2 or 3 at this point in the
5676 test, because the pipeline might be just posting its state_change
5677 message. The next line then waits for that message to appear using
5678 bus_poll, so that should be fine too.
5680 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
5682 * gst/gst.c: (ensure_current_registry_forking):
5683 Ignore EINTR when reading from the child registry pipe.
5684 Explicitly ignore the return value from close, since it makes no
5687 * gst/gstminiobject.c: (gst_mini_object_ref),
5688 (gst_mini_object_unref):
5689 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5691 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5692 When removing cached plugins, remove their features too, so they're
5693 not visible after they've disappeared.
5695 * gst/gstutils.c: (prepare_link_maybe_ghosting):
5696 In the unlikely case that we are linking pads with no parents, don't
5697 crash trying to get the non-existent parent bin.
5699 * gst/parse/grammar.y:
5700 Output debug in the PIPELINE category
5702 2005-03-08 Wim Taymans <wim@fluendo.com>
5704 Patch by: René Stadler <mail at renestadler dot de>
5706 * gst/gstclock.c: (gst_clock_new_periodic_id):
5707 Reject invalid clock times for interval of periodic ids.
5710 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
5712 * gst/gstelementfactory.c: (gst_element_factory_create):
5713 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5714 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5715 * tools/gst-inspect.c: (print_element_info):
5716 Fix refcounting of gst_plugin_feature_load to match the docs.
5719 2006-12-07 Wim Taymans <wim@fluendo.com>
5721 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5722 (gst_base_sink_get_position):
5723 Improve debugging of events.
5725 2006-12-07 Wim Taymans <wim@fluendo.com>
5727 Patch by: René Stadler <mail at renestadler dot de>
5729 * gst/gstclock.c: (gst_clock_id_wait):
5730 Make period ids add the interval to the origial requested time instead
5731 of the possibly updated time which can be wrong when there are multiple
5732 waiters for the same id. Fixes #382592.
5734 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
5735 (gst_system_clock_id_wait_jitter_unlocked),
5736 (gst_system_clock_id_wait_jitter):
5737 Fix restart in the async notify thread when an async entry is added to
5738 the front of the list. Fixes #381492.
5740 * tests/check/gst/gstsystemclock.c: (store_callback),
5741 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
5742 Added test for multiple async waits.
5743 Added test for async wait order.
5745 2006-12-07 Wim Taymans <wim@fluendo.com>
5747 * gst/gstbin.c: (gst_bin_query):
5748 Add some more docs about the POSITION query.
5750 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
5753 Bump version nano - back to CVS.
5755 === release 0.10.11 ===
5757 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
5760 releasing 0.10.11, "Love never runs on time"
5762 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
5764 * win32/common/libgstbase.def:
5765 * win32/common/libgstreamer.def:
5766 * win32/vs8/libgstbase.vcproj:
5767 * win32/vs8/libgstcoreelements.vcproj:
5768 * win32/vs8/libgstreamer.vcproj:
5769 Fix compilation on win32 under VS8
5770 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
5771 Partially fixes #381175
5773 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
5775 * gst/gstvalue.c: (gst_value_compare_fraction):
5776 If someone is foolish enough to compare 2 fractions with denominator =
5777 0, return UNORDERED rather than aborting.
5779 2006-11-28 Edward Hervey <edward@fluendo.com>
5781 * libs/gst/base/Makefile.am:
5782 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
5783 (gst_data_queue_base_init), (gst_data_queue_class_init),
5784 (gst_data_queue_init), (gst_data_queue_new),
5785 (gst_data_queue_cleanup), (gst_data_queue_finalize),
5786 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
5787 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
5788 (gst_data_queue_is_empty), (gst_data_queue_is_full),
5789 (gst_data_queue_set_flushing), (gst_data_queue_push),
5790 (gst_data_queue_pop), (gst_data_queue_drop_head),
5791 (gst_data_queue_set_property), (gst_data_queue_get_property):
5792 * libs/gst/base/gstdataqueue.h:
5793 New GstDataQueue object for threadsafe queueing. Most useful for
5794 elements that need some queueing functionnality.
5795 * docs/libs/gstreamer-libs-docs.sgml:
5796 * docs/libs/gstreamer-libs-sections.txt:
5797 Insert documentation for GstDataQueue
5798 * plugins/elements/Makefile.am:
5799 * plugins/elements/gstelements.c:
5800 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
5801 (gst_multi_queue_class_init), (gst_multi_queue_init),
5802 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5803 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
5804 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
5805 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5806 (gst_multi_queue_loop), (gst_multi_queue_chain),
5807 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5808 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
5809 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
5810 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
5811 (wake_up_next_non_linked), (compute_next_non_linked),
5812 (single_queue_overrun_cb), (single_queue_underrun_cb),
5813 (single_queue_check_full), (gst_single_queue_new):
5814 * plugins/elements/gstmultiqueue.h:
5815 New multiqueue element, using GstDataQueue. Used for queuing multiple
5817 Closes #344639 and #347785
5819 2006-11-22 Stefan Kost <ensonic@users.sf.net>
5821 * docs/pwg/advanced-types.xml:
5822 add more missing type details
5824 * tools/gst-run.c: (main):
5825 remove unused variable
5827 2006-11-21 Stefan Kost <ensonic@users.sf.net>
5829 * docs/libs/Makefile.am:
5830 * docs/libs/gstreamer-libs.types:
5831 add types of base classes to enable gobject specific stuff in the docs
5833 * docs/random/ensonic/embedded.txt:
5834 more ideas about isolating platform specific things
5836 2006-11-20 Wim Taymans <wim@fluendo.com>
5838 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
5840 * libs/gst/check/gstcheck.h:
5841 Fix compilation and running against 0.9.4. Fixes #377332.
5843 2006-11-20 Wim Taymans <wim@fluendo.com>
5845 * gst/gstsegment.c: (gst_segment_set_seek),
5846 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
5847 (gst_segment_to_running_time):
5848 Fix boundary checking in to_running_time() and to_stream_time().
5851 * tests/check/gst/gstsegment.c: (GST_START_TEST):
5852 stream and running time can now be calculated for the complete
5855 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
5857 * gst/gstpad.c: (gst_pad_push_event):
5858 Can't access event structure after giving away ownership of
5861 2006-11-15 Stefan Kost <ensonic@users.sf.net>
5863 * docs/random/ensonic/embedded.txt:
5864 * docs/random/ensonic/profiling.txt:
5865 * docs/random/ensonic/receipies.txt:
5868 2006-11-13 Wim Taymans <wim@fluendo.com>
5870 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
5873 Fix documentation for gst_pad_dispatcher. Fixes #374475.
5875 2006-11-13 Wim Taymans <wim@fluendo.com>
5877 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
5879 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
5880 Store new length in segment duration so we don't keep on calling the
5881 potentially expensize get_size() call. Fixes #370865.
5883 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
5885 Patch by: Sergey Scobich <sergey.scobich at gmail com>
5887 * win32/common/libgstreamer.def:
5888 Add two missing symbols (#366492).
5890 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
5892 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
5893 (gst_adapter_take_buffer):
5894 Fix format string to use all its arguments.
5895 Remove useless >= check on a guint
5897 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5899 * tests/examples/adapter/.cvsignore:
5900 Ignore build file as commanded by the build-bot
5902 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5904 * tests/examples/adapter/Makefile.am:
5905 * tests/examples/adapter/adapter_test.c: (run_test_take),
5906 (run_test_take_buffer), (run_tests), (main):
5908 Add new files from the previous commit
5910 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
5914 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
5915 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
5916 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
5917 * libs/gst/base/gstadapter.h:
5918 * tests/check/libs/adapter.c: (create_and_fill_adapter),
5919 (GST_START_TEST), (gst_adapter_suite):
5920 * tests/examples/Makefile.am:
5921 Do some optimisation work in GstAdapter to avoid copies in more cases.
5922 It could still do slightly better by merging buffers when
5923 gst_buffer_is_span_fast is true, but is already faster.
5925 Also, avoid traversing a single-linked list to append each incoming
5926 buffer inside the adapter.
5928 Add simple test app that times the adapter behaviour in different
5929 situations, and extend the unit test to check that bytes enter and
5930 exit the adapter in their original order.
5932 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
5934 * docs/random/draft-missing-plugins.txt:
5935 Update: use element message instead of adding a new message
5936 type to the core; don't provide GStreamer API to initiate the
5937 plugin download, just provide API to compose the strings needed
5938 and let an external libgimmestuff handle the rest.
5940 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
5942 * tools/gst-inspect.c: (print_element_properties_info):
5943 Print a string instead of 'unknown type' for GValueArray properties
5945 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
5947 * docs/random/draft-missing-plugins.txt:
5950 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
5952 * tests/examples/typefind/typefind.c: (type_found), (main):
5953 Make typefind element example work again (#371894); add a
5956 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
5958 * docs/random/draft-missing-plugins.txt:
5959 Commit initial draft about how to deal with missing plugins,
5960 needs work (API too).
5962 2006-11-07 Stefan Kost <ensonic@users.sf.net>
5964 * docs/pwg/advanced-types.xml:
5965 documents the new caps elements (see #363118)
5967 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
5969 * gst/gstplugin.c: (gst_plugin_load_file):
5970 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
5971 (gst_file_src_map_region), (gst_file_src_start):
5972 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
5973 (gst_file_index_commit):
5974 Use g_strerror() instead of strerror() - we want UTF-8.
5976 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
5978 Patch by: Peter Kjellerstedt <pkj at axis com>
5980 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
5981 Another printf fix (#371493).
5983 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5985 * tests/check/gst/gsttag.c:
5986 relicence (okay with author=company)
5988 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5990 * gst/gstpad.c: (gst_pad_event_default_dispatch),
5991 (gst_pad_push_event):
5992 Enhance debug and improve docs
5997 2006-11-06 Stefan Kost <ensonic@users.sf.net>
5999 * docs/random/ensonic/distributed.txt:
6000 * docs/random/ensonic/profiling.txt:
6003 2006-11-06 Stefan Kost <ensonic@users.sf.net>
6005 * docs/gst/gstreamer-sections.txt:
6006 add new API and fix the build
6008 * gst/gstbin.c: (gst_bin_recalc_state):
6009 * gst/gstelement.c: (gst_element_message_full),
6010 (gst_element_get_state_func), (gst_element_set_state_func):
6011 use new API and improve logging
6013 * gst/gstutils.c: (gst_element_state_change_return_get_name):
6015 API: add function to get StateChangereturn names to improve logs
6017 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
6019 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6020 I'm considering shooting the next person to put strerror stuff
6021 in the translateable part of the message.
6023 2006-11-03 Wim Taymans <wim@fluendo.com>
6025 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6026 Get the type and printf conversion specifiers right.
6028 2006-11-03 Wim Taymans <wim@fluendo.com>
6030 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6032 * gst/gstpad.c: (gst_pad_init), (pre_activate),
6033 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
6034 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
6035 Some small cleanups. Improve debugging.
6037 Signal all waiting threads with a broadcast instead of just one.
6040 2006-11-03 Wim Taymans <wim@fluendo.com>
6042 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
6043 (gst_fd_src_create):
6045 Only update fd when it's different from the old.
6047 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
6049 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
6050 Printf fixes for PPC/OSX, take two (#369366).
6052 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
6054 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
6056 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6057 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6058 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
6059 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
6060 don't cast to long long for portability reasons, but use
6061 GLib's types instead.
6063 2006-10-30 Michael Smith <msmith@fluendo.com>
6065 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6066 Get the arguments to lseek() the right way around.
6069 2006-10-30 Wim Taymans <wim@fluendo.com>
6071 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
6074 _declspec should be __declspec (two underscores, not one). Fixes 366572.
6076 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
6078 Patch by: Kjartan Maraas <kmaraas at gnome org>
6080 * docs/design/part-MT-refcounting.txt:
6081 * docs/random/wtay/capsnego2-docs:
6084 Typo fixes (#366212).
6086 2006-10-28 Wim Taymans <wim@fluendo.com>
6088 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6091 * win32/common/libgstbase.def:
6092 * win32/common/libgstreamer.def:
6093 * win32/vs8/libgstbase.vcproj:
6094 * win32/vs8/libgstcontroller.vcproj:
6095 Add needed entries in .def files.
6097 Rearrange def files in vs8 solutions. Fixes #366286.
6099 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
6101 * win32/common/gstconfig.h:
6102 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
6103 hand-made win32 gstconfig.h. Fixes #366321.
6105 2006-10-27 Wim Taymans <wim@fluendo.com>
6107 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
6108 (gst_ghost_pad_new_full):
6109 Make acceptcaps return TRUE when we don't have a target, just like
6112 2006-10-27 Wim Taymans <wim@fluendo.com>
6114 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6115 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
6117 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
6119 * gst/gststructure.c: (gst_structure_id_set_value):
6120 If someone tries to set a non-UTF8 string field on a structure,
6121 don't just print a warning, but also ignore the request and do
6122 not change/add that field to the structure.
6124 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6127 2006-10-25 David Schleef <ds@schleef.org>
6130 g_hash_table_insert() needs a cast to a non-const pointer duh.
6132 2006-10-25 David Schleef <ds@schleef.org>
6136 Change name parameter of _gst_debug_register_funcptr to const
6137 to reflect the constness of its use in the function as well
6138 as to quiet a gcc warning.
6140 2006-10-25 Edward Hervey <edward@fluendo.com>
6142 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6143 Don't push the buffer if it's empty.
6146 2006-10-24 Wim Taymans <wim@fluendo.com>
6151 * libs/gst/base/gstbasetransform.c:
6152 (gst_base_transform_sink_eventfunc):
6153 Debug segment values *after* updating them as this is more
6156 2006-10-23 Wim Taymans <wim@fluendo.com>
6158 * docs/design/part-events.txt:
6161 * docs/design/part-block.txt:
6162 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6163 (gst_pad_push_event):
6164 Revert BLOCKING patch, it tries to be smart without really having a
6165 clear idea what or how. So, now we discard all FLUSHING events again on
6166 a blocking pad. Should fix gnonlin again.
6168 2006-10-23 Wim Taymans <wim@fluendo.com>
6170 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6172 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6173 (gst_base_src_start), (gst_base_src_activate_push):
6174 Make sure size is always initialized. Fixes #364388.
6176 2006-10-20 Stefan Kost <ensonic@users.sf.net>
6178 * docs/random/ensonic/distributed.txt:
6179 add some ideas about doing distributed processing
6181 * docs/random/ensonic/profiling.txt:
6182 get_rusage look promising
6184 2006-10-18 Stefan Kost <ensonic@users.sf.net>
6186 * docs/manual/basics-helloworld.xml:
6187 Add a cast in example to fix compile warning
6189 2006-10-18 Wim Taymans <wim@fluendo.com>
6191 * gst/gstsegment.c: (gst_segment_set_last_stop),
6192 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6193 Relax arg checking again, -1 is allowed.
6195 2006-10-18 Wim Taymans <wim@fluendo.com>
6197 * gst/gstsegment.c: (gst_segment_set_last_stop),
6198 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6199 _set_last_stop() must be with a value != -1
6200 A _TYPE_SET to -1 means seek to 0.
6201 Calc last_stop correctly for negative rates.
6202 Make sure we work with positive durations when updating a segment.
6204 2006-10-18 Wim Taymans <wim@fluendo.com>
6206 * docs/design/part-live-source.txt:
6210 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
6213 Add an explicit cast to GstBuffer** to keep old code that added an
6214 explicit cast to GstMiniObject** for gst_mini_object_replace()
6215 compiling without warning.
6217 2006-10-18 Stefan Kost <ensonic@users.sf.net>
6219 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
6220 check for validity of dates
6222 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
6224 * docs/gst/gstreamer-sections.txt:
6225 Forgot this one, makes gtk-doc shut up.
6227 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
6229 Patch by: Peter Kjellerstedt <pkj at axis com>
6232 Don't define xmlNodePtr to gpointer if the core was built with
6233 --disable-loadsave and --disable-registry, this will break
6234 applications that want to use libxml2 but are buildling against a
6235 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
6236 instead so we don't have to mess with the libxml2 namespace
6239 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
6242 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
6243 type-punned pointer warnings.
6245 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
6248 Add casts to the correct return type to state <=> state transition
6251 2006-10-16 Stefan Kost <ensonic@users.sf.net>
6253 * docs/design/part-live-source.txt:
6254 describe howto handle latency
6256 * docs/random/ensonic/profiling.txt:
6259 * tools/gst-plot-timeline.py:
6260 fix log parsing for solaris, remove unused function
6262 2006-10-16 Wim Taymans <wim@fluendo.com>
6264 * docs/design/part-trickmodes.txt:
6266 Update some docs regarding reverse playback.
6268 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
6270 Patch by: Marcus Granado <mrc dot gran at gmail com>
6272 * win32/vs8/grammar.vcproj:
6273 Error out with a warning if glib-genmarshal.exe is not in path,
6274 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
6276 2006-10-13 Wim Taymans <wim@fluendo.com>
6278 * gst/gstsegment.c: (gst_segment_set_seek):
6279 When seeking to stop -1, set last_stop (current position) to the
6280 duration of the segment.
6282 2006-10-13 Wim Taymans <wim@fluendo.com>
6285 Clarify _NO_PREROLL a bit more.
6290 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
6291 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
6292 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
6293 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
6294 due to wrong locking order. Fixes #361769.
6295 Remove some redundant/misplaced checks in pad_block.
6297 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6298 For negative rates, count backwards from the duration.
6300 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
6302 * gst/gsterror.c: (_gst_library_errors_init):
6303 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
6304 up with something better).
6306 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
6308 * win32/vs6/libgstreamer.dsp:
6309 * win32/vs7/libgstreamer.vcproj:
6310 * win32/vs8/libgstreamer.vcproj:
6311 Don't reference glib-compat.c which is currently not used and not
6312 disted; add gstquark.c which was recently added. Fixes #361730.
6314 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
6316 * win32/common/libgstbase.def:
6317 * win32/common/libgstcontroller.def:
6318 * win32/common/libgstreamer.def:
6319 Add gst_caps_merge() and a bunch of other recently-added functions.
6322 2006-10-11 Wim Taymans <wim@fluendo.com>
6324 * docs/plugins/gstreamer-plugins.args:
6325 * docs/plugins/inspect/plugin-coreelements.xml:
6326 * docs/plugins/inspect/plugin-coreindexers.xml:
6327 Update element args.
6329 * gst/gstsystemclock.c:
6330 Small comment update.
6332 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6333 (gst_tee_request_new_pad), (gst_tee_release_pad),
6334 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
6335 (gst_tee_sink_activate_pull):
6336 * plugins/elements/gsttee.h:
6338 Add default property defines.
6339 Implement release pad function.
6340 Give properties better blubs etc.
6341 Activate pads before adding them to a running tee.
6342 Do simple buffer_alloc on the first requested pad.
6343 Post error when activation fails.
6345 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
6347 * gst/gst.c: (ensure_current_registry_forking):
6348 Check return value of write() to make compiler happy.
6350 2006-10-11 Wim Taymans <wim@fluendo.com>
6352 Patch by: Sjoerd Simons <sjoerd at luon dot net>
6354 * plugins/elements/gstqueue.c: (gst_queue_chain):
6355 Recheck queue filledness after signalling the overrun when we're about
6356 to leak downstream because we released the lock when emitting the signal
6357 and the queue could be empty again. Fixes #352345.
6359 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
6361 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
6362 Fix refcounting here too, just like we did for _new_valist() a few
6363 days ago (#357180) (thanks to René Stadler). Also remove all those
6364 'Since: 0.9' from the gtk-doc blobs.
6366 * tests/check/libs/controller.c: (controller_refcount_new_list),
6367 (gst_controller_suite):
6368 Unit test for the above.
6370 2006-10-10 Wim Taymans <wim@fluendo.com>
6372 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
6374 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6375 (gst_pad_save_thyself):
6377 Write pad direction in XML output. Fixes #345496.
6379 2006-10-10 Wim Taymans <wim@fluendo.com>
6381 Patch by: René Stadler <mail at renestadler dot de>
6383 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6384 (gst_controller_new_list), (_gst_controller_dispose),
6385 (_gst_controller_finalize), (_gst_controller_class_init):
6386 Take ref to controlled object so that it cannot disappear.
6389 2006-10-10 Wim Taymans <wim@fluendo.com>
6391 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6392 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6393 (gst_check_teardown_sink_pad):
6394 Activate/deactivate pads in setup/teardown respectively.
6396 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6398 Patch by: Josep Torre Valles <josep@fluendo.com>
6401 Cast values when making gstenumtypes.h. This pacifies Forte
6402 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6405 2006-10-09 Wim Taymans <wim@fluendo.com>
6407 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6408 Rename some more @cur to @start to fix docs.
6410 * gst/gstsegment.c: (gst_segment_set_seek):
6412 time and start must always stay in sync as defined in design doc.
6414 * gst/gsttaglist.c: (gst_tag_list_is_empty):
6415 Rename param to fix docs.
6417 * tests/check/gst/gstsegment.c: (GST_START_TEST):
6418 Check that start and time are in sync.
6420 * tests/check/pipelines/parse-launch.c:
6421 (gst_parse_test_element_change_state):
6422 Activate pad before adding to the element.
6424 2006-10-09 Wim Taymans <wim@fluendo.com>
6426 * docs/design/part-qos.txt:
6431 Update seek event docs regarding negative rates.
6432 Rename @cur to @start.
6434 * gst/gstsegment.c: (gst_segment_set_seek):
6436 Update set_seek docs regarding negative rates.
6437 Correctly update last_stop to @stop when dealing with negative
6439 Rename @cur to @start.
6441 * tests/check/gst/gstpad.c: (GST_START_TEST):
6442 Activate pads before trying to use them.
6444 * tests/check/gst/gstsegment.c: (GST_START_TEST),
6445 (gst_segment_suite):
6446 Add simple check for segments and negative rates.
6448 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
6450 * gst/gsttaglist.c: (gst_tag_list_is_empty):
6452 * docs/gst/gstreamer-sections.txt:
6453 API: add gst_tag_list_is_empty() (#360467).
6455 * tests/check/gst/gsttag.c: (GST_START_TEST):
6458 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6461 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
6462 a value that doesn't fit on enumeration.
6464 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6466 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6467 Remove local debugging system and use Gstreamer's instead.
6469 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6471 Patch by: Josep Torre Valles <josep@fluendo.com>
6473 * common/m4/gst-error.m4:
6474 Disable warning of statement not reached on Forte.
6476 Fix warning on Forte (value doesn't fit on enumeration).
6477 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
6478 Fix warning on Forte (value doesn't fit on enumeration).
6479 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6480 DEBUG macro says it takes minimum of 2 args and so Forte
6481 complains about the use with just 1 arg.
6482 * plugins/elements/gstfdsink.c:
6483 * plugins/elements/gstfdsrc.c:
6484 * plugins/elements/gstfilesink.c:
6485 * plugins/elements/gstfilesrc.c:
6486 Use correct return type for the uri handler implementations.
6488 All these fix warnings in Forte. Fixes bug #360860.
6490 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
6493 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
6494 format string, so don't use G_GNUC_PRINTF for those versions.
6496 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
6498 * gst/gsttaglist.c: (gst_is_tag_list):
6500 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6502 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6503 Small test for the above.
6505 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
6508 Less tabs, more spaces.
6510 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
6513 Those two function declarations do actually belong there, revert
6514 commit from yesterday that turned them intro macros.
6516 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6518 Patch by: Josep Torre Valles <josep@fluendo.com>
6520 * gst/gst.c: (gst_init_get_option_group):
6521 Fix empty declaration and type mismatch.
6522 * gst/gstbin.c: (gst_bin_change_state_func):
6524 * gst/gstelement.c: (gst_element_continue_state),
6525 (gst_element_set_state_func), (gst_element_change_state),
6526 (gst_element_change_state_func):
6527 Fix type mismatches.
6528 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6529 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6530 Cast as appropriate.
6531 * gst/gstobject.c: (gst_class_signal_connect):
6532 Cast as appropriate. The function pointer parameter really
6533 has the wrong type but would break API if we change it.
6535 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6536 order of including string.h.
6537 * gst/gstutils.c: (gst_element_state_get_name):
6538 Remove unreachable line.
6539 * gst/gstxml.c: (gst_xml_parse_doc):
6541 All these caught by Forte.
6543 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6545 Patch by: Josep Torre Valles <josep@fluendo.com>
6547 * common/m4/gst-error.m4:
6549 We need to disable warnings on Forte for empty declarations
6550 due to gst-indent adding ;s to lines that just use macros
6551 where the macro actually doesn't need a ; at end to end
6554 2006-10-06 Wim Taymans <wim@fluendo.com>
6556 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6557 (gst_file_sink_close_file), (gst_file_sink_event),
6558 (gst_file_sink_render):
6559 Add some FIXME for the NEWSEGMENT handling.
6561 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6563 * gst/parse/grammar.y:
6564 Remove static function gst_parse_element_lock as all it does
6565 is return. Looks like cruft from 0.8.
6567 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
6569 Patch by: Josep Torre Valles <josep@fluendo.com>
6571 * common/m4/gst-error.m4:
6573 * libs/gst/net/Makefile.am:
6574 Fix a compilation issue with Forte on Solaris. inet_aton is in
6577 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
6579 * gst/gstpad.c: (pre_activate):
6580 * gst/gstregistry.c: (gst_registry_scan_path_level):
6581 * gst/gstregistryxml.c: (load_plugin):
6582 * libs/gst/controller/gstcontroller.c:
6583 (gst_controlled_property_set_interpolation_mode):
6584 * libs/gst/dataprotocol/dataprotocol.c:
6585 (gst_dp_packet_from_event_1_0):
6586 * libs/gst/net/gstnetclientclock.c:
6587 (gst_net_client_clock_observe_times):
6588 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6591 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
6594 * docs/gst/gstreamer-sections.txt:
6595 * gst/gstconfig.h.in:
6598 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6599 whether we can use G_GNUC_PRINTF in other header files and at
6600 least check the printf format/arguments of debug messages and
6601 GST_ELEMENT_ERROR messages when the printf extension is not
6603 Replace more tabs with spaces in gstinfo.h and remove two spurious
6604 function declarations in GST_DISABLE_DEBUG part with macros.
6606 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
6608 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6609 More docs for the sync-message signal (mention that it is not
6610 emitted by default); log message structures of messages posted on
6613 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
6615 * gst/gst.c: (ensure_current_registry_forking):
6616 Use a pipe pair to receive status results from the forked child, and
6617 ignore the result from waitpid. Fixes #355499
6619 2006-10-02 Wim Taymans <wim@fluendo.com>
6621 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6622 (gst_ghost_pad_suite):
6625 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
6628 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6630 2006-10-02 Edward Hervey <edward@fluendo.com>
6632 * docs/design/part-block.txt:
6633 Further explain the use of flushing on blocked pads.
6634 * docs/gst/gstreamer-sections.txt:
6635 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6636 (gst_pad_push_event):
6638 Added new GstPadFlag : GST_PAD_BLOCKING.
6639 Adds the notion of pads really blocking, which enables to properly
6640 handle FLUSH_START/FLUSH_STOP events on blocked pads.
6642 API: gst_pad_is_blocking()
6643 API: GST_PAD_IS_BLOCKING() macro
6644 API: GST_PAD_BLOCKING GstPadFlag
6646 2006-10-02 Wim Taymans <wim@fluendo.com>
6648 Patch by: mrcgran <mrc.gran at gmail dot com>
6650 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6651 Filter the proxied caps against the padtemplate if we have one.
6653 * gst/gstquery.c: (gst_query_new_segment):
6654 Add include for gstinfo.h so that compilation with
6655 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6657 2006-10-02 Wim Taymans <wim@fluendo.com>
6659 Patch by: Alessandro Decina <alessandro at nnva org>
6661 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6662 (gst_file_sink_set_location), (gst_file_sink_open_file),
6663 (gst_file_sink_close_file), (gst_file_sink_event),
6664 (gst_file_sink_render):
6665 Set file to NULL when closing filesink so that we can set a new filename
6666 in READY. Fixes #358613.
6668 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
6670 Patch by: Alessandro Decina <alessandro at nnva org>
6672 * gst/gstevent.c: (_gst_event_copy):
6673 Fix gst_mini_object_make_writable() and gst_event_copy() for events
6674 with event structures by setting the parent refcount address of the
6675 copied structure to the address of the refcount member of the newly
6676 copied event rather than the address of the refcount member of the
6677 original event. Fixes #358737.
6679 * tests/check/gst/gstevent.c: (GST_START_TEST):
6680 Unit test for the above.
6682 2006-09-29 Stefan Kost <ensonic@users.sf.net>
6684 * docs/design/Makefile.am:
6685 Dist some more files.
6687 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
6689 * tests/check/libs/controller.c: (GST_START_TEST),
6690 (gst_controller_suite):
6691 Add test for the previous fix; add some more tests
6692 for correct refcounting behaviour; fix a few leaks
6693 in test cases; call gst_controller_init() at start
6696 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
6698 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6699 (gst_controller_set_from_list):
6700 Don't g_return_val_if_fail() on timed values with invalid timestamps
6701 inside a critical section without unlocking the mutex. Spotted by
6702 René Stadler. (#357617)
6703 Also, fix up refcounting properly: when returning an existing
6704 controller, we should increase the reference only once and not
6705 once per property and when trying to control a property again
6706 we should also increase the refcount.
6708 2006-09-29 Wim Taymans <wim@fluendo.com>
6710 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6711 * libs/gst/net/gstnettimeprovider.c:
6712 (gst_net_time_provider_thread):
6713 Stop reading commands when EOF as well.
6715 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6716 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6717 * plugins/elements/gstidentity.c: (gst_identity_class_init):
6718 Unify description of the dump property.
6720 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6722 * tests/examples/manual/.cvsignore:
6723 OK, so it's actually cvsignore that needs changing. Stop laughing.
6725 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6727 * tests/examples/manual/Makefile.am:
6728 Gah, declare vars *before* using them
6730 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6732 * gst/gst.c: (init_pre), (scan_and_update_registry),
6733 (ensure_current_registry_nonforking),
6734 (ensure_current_registry_forking), (ensure_current_registry),
6735 (init_post), (gst_debug_help), (gst_deinit):
6736 * gst/gst_private.h:
6737 * gst/gstregistry.c: (gst_registry_finalize),
6738 (gst_registry_remove_features_for_plugin_unlocked),
6739 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6740 (gst_registry_scan_path),
6741 (_priv_gst_registry_remove_cache_plugins),
6742 (_priv_gst_registry_cleanup):
6743 * gst/gstregistry.h:
6744 Re-commit the registry changes, along with an extra fix:
6745 When a cached plugin is encountered at a different file path,
6746 update the stored path in the registry cache so that the parent
6747 process knows where it actually is now when it re-reads the registry
6748 cache. Fixes the thing that broke distcheck with the previous commit.
6750 * tests/check/Makefile.am:
6751 Clean up files named 'core' too when running make clean.
6753 * tests/examples/manual/Makefile.am:
6754 Set up a registry path for running these tests, and clean it properly
6757 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
6760 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
6761 want gmodule-no-export-2.0.pc instead so that we don't drag in
6762 --export-dynamic on every project that links to GStreamer.
6764 Also, make our export regex only match the start of symbols, rather
6765 than any symbol that contains '_gst' somewhere.
6767 * libs/gst/check/Makefile.am:
6768 The libgstcheck we build does however need export-dynamic, as it
6769 produces some symbols that don't match our _gst... style regex.
6772 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
6774 * gst/gst.c: (init_pre), (scan_and_update_registry),
6775 (ensure_current_registry_nonforking),
6776 (ensure_current_registry_forking), (ensure_current_registry),
6777 (init_post), (gst_debug_help), (gst_deinit):
6778 * gst/gst_private.h:
6779 * gst/gstregistry.c: (gst_registry_finalize),
6780 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6781 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
6782 (_gst_registry_cleanup):
6783 * gst/gstregistry.h:
6784 Revert previous change until I figure out why it breaks distcheck.
6786 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
6788 * gst/gst.c: (init_pre), (scan_and_update_registry),
6789 (ensure_current_registry_nonforking),
6790 (ensure_current_registry_forking), (ensure_current_registry),
6791 (init_post), (gst_debug_help), (gst_deinit):
6793 Make init_pre and init_post take the full complement of GOptionFunc
6794 args so they can return useful GErrors. Make the registry updating
6797 Call _priv_gst_registry_remove_cache_plugins after scanning files to
6798 ensure that the registry we're about to write out doesn't contain
6799 stale information about old-deleted plugin files.
6801 Make _priv_gst_registry_remove_cache_plugins return a boolean so
6802 that deletion of plugin files is considered a registry change.
6804 * gst/gst_private.h:
6805 * gst/gstregistry.c: (gst_registry_finalize),
6806 (gst_registry_remove_features_for_plugin_unlocked),
6807 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
6808 (gst_registry_scan_path),
6809 (_priv_gst_registry_remove_cache_plugins),
6810 (_priv_gst_registry_cleanup):
6811 * gst/gstregistry.h:
6812 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
6813 by adding _priv prefix, so that they won't appear in the global
6814 symbol table. They still do atm though because of #318031. Move the
6815 prototypes to gst_private.h
6817 When removing a plugin, remove all features for that plugin too.
6820 2006-09-27 Wim Taymans <wim@fluendo.com>
6822 * docs/random/moving-plugins:
6823 Make it clear that the "compiled-in descriptions" really mean
6824 the element details.
6826 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
6827 (gst_base_sink_wait_preroll):
6830 * docs/libs/gstreamer-libs-sections.txt:
6831 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6832 (gst_base_src_get_range), (gst_base_src_activate_push):
6833 * libs/gst/base/gstbasesrc.h:
6834 Added function to block while waiting for PLAYING, this function
6835 is used by live sources that block on the clock.
6836 API: gst_base_src_wait_playing()
6838 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
6840 Patch by: Peter Kjellerstedt <pkj at axis com>
6843 gst-element-check.m4 is generated and should therefore be
6844 copied from the build dir rather than the source dir (#357593).
6845 'make distcheck' hasn't noticed this because we were disting
6846 the file as well, so stop doing that.
6848 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
6850 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
6851 Add some tests for gst_caps_intersect().
6853 * tools/gst-launch.c: (event_loop):
6854 Print all buffering percentages we get, even the 100% one.
6856 2006-09-26 Wim Taymans <wim@fluendo.com>
6858 * tools/gst-inspect.c: (print_element_properties_info),
6859 (print_signal_info):
6860 Fix printing of flags to match the look of enums.
6862 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6864 * gst/gstelementfactory.c:
6865 Fix typo in docs blurb.
6867 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6869 * gst/gsturi.c: (search_by_entry):
6870 Don't assert/crash here if a uri handler doesn't return any
6871 supported protocols. The list of protocols could be generated
6872 dynamically at runtime or at plugin registration, and an error
6873 in the underlying library shouldn't be fatal (#353301).
6875 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
6878 Fix warning if HAVE_PRINTF_EXTENSION is undefined
6879 (spotted by Peter Kjellerstedt).
6881 2006-09-23 Wim Taymans <wim@fluendo.com>
6883 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
6885 * libs/gst/base/gstbasesrc.c:
6886 (gst_base_src_default_check_get_range), (gst_base_src_start),
6887 (gst_base_src_activate_push), (gst_base_src_activate_pull),
6888 (gst_base_src_change_state):
6889 Match _start/_stop calls in the activate functions. Remove redundant
6890 _stop call from the state change function. Fixes #356910.
6891 Turn failure DEBUG into ERROR.
6893 2006-09-22 Wim Taymans <wim@fluendo.com>
6895 * docs/design/part-buffering.txt:
6896 * gst/gstmessage.c: (gst_message_new_buffering),
6897 (gst_message_parse_buffering):
6898 Update docs about buffering.
6900 * docs/design/part-trickmodes.txt:
6903 2006-09-22 Stefan Kost <ensonic@users.sf.net>
6905 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6906 (gst_controller_new_list):
6907 Ref instances when returning them again (fixes #357180)
6909 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
6911 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
6912 Don't forget to release proxy lock when there's an error.
6914 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
6917 Add extra initialisers for Caps things, to fix some plugin warnings
6920 2006-09-18 Wim Taymans <wim@fluendo.com>
6922 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
6923 Also set template on the internal pad so that a getcaps from the
6924 target pad returns the template caps.
6926 2006-09-18 Wim Taymans <wim@fluendo.com>
6928 * gst/gstelement.c: (gst_element_post_message),
6929 (gst_element_dispose):
6930 Use _DEBUG_OBJECT some more.
6932 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
6935 * tools/gst-launch.c: (main):
6936 If the toplevel element is not a GstPipeline, it must be put in a
6937 pipeline so that a bus and clock is selected.
6939 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
6941 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
6942 JITTER, RATE, and LATENCY query should be handled by the
6943 default case and not by the CONVERT query code.
6945 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
6947 * gst/gstformat.c: (gst_format_register):
6948 Fix locking order (must take lock before using n_values).
6950 * gst/gstvalue.c: (gst_value_serialize_enum),
6951 (gst_value_deserialize_enum_iter_cmp),
6952 (gst_value_deserialize_enum):
6953 Fix serialisation/deserialisation of custom registered GstFormats.
6955 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6956 Unit test for custom format serialisation/deserialisation.
6958 2006-09-17 Stefan Kost <ensonic@users.sf.net>
6960 * docs/pwg/building-boiler.xml:
6961 * plugins/elements/gstcapsfilter.c:
6962 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
6965 2006-09-16 Edward Hervey <edward@fluendo.com>
6967 * libs/gst/base/gstbasetransform.c:
6968 (gst_base_transform_buffer_alloc):
6969 Check if requested caps are the same as the sinks caps IF
6970 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
6972 This fixes the renegotiation issues stated in #352827.
6974 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6977 * docs/manual/advanced-autoplugging.xml:
6978 * tests/examples/Makefile.am:
6979 * tests/examples/manual/.cvsignore:
6980 * tests/examples/manual/Makefile.am:
6981 * tests/examples/manual/extract.pl:
6982 Extract the manual examples again like we used to do.
6985 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
6987 * win32/common/config.h:
6990 2006-09-16 Stefan Kost <ensonic@users.sf.net>
6993 Documents how to receive errors.
6995 2006-09-15 Wim Taymans <wim@fluendo.com>
6997 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
6998 (event_loop), (main):
6999 Added some comments here and there.
7000 Post an application message when an interrupt is caught instead of doing
7001 an uncontrolled state change.
7002 Clean up the event loop.
7003 Handle buffering messages, pause/resume the pipeline.
7004 Make shutdown because of an interrupt more reliable.
7006 2006-09-15 Wim Taymans <wim@fluendo.com>
7008 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7009 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
7010 (gst_base_sink_preroll_object):
7011 Make sure that our internal state is correct when we commit our state
7012 asynchronously. This solves a race where a state change to PLAYING
7013 could cause the sink to remain blocked in preroll in some situations.
7015 2006-09-15 Wim Taymans <wim@fluendo.com>
7017 * tools/gst-inspect.c: (print_element_properties_info),
7018 (print_signal_info):
7019 List flags as hex so it's easier to deal with.
7021 2006-09-15 Wim Taymans <wim@fluendo.com>
7023 * docs/libs/gstreamer-libs-sections.txt:
7024 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
7025 (gst_base_sink_do_sync):
7026 * libs/gst/base/gstbasesink.h:
7027 Expose logic to wait for preroll so that subclasses such as audiosink
7028 can also use this method.
7029 API: gst_base_sink_wait_preroll()
7031 2006-09-15 Wim Taymans <wim@fluendo.com>
7033 * gst/gstobject.c: (gst_object_set_parent):
7034 * gst/gstpipeline.c: (do_pipeline_seek):
7035 Small cleanups in docs and code.
7037 * gst/gstsegment.c: (gst_segment_clip):
7038 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7039 if stop == start and start is in the segment, no clipping should be
7040 done. Also add a test for this.
7042 2006-09-15 Wim Taymans <wim@fluendo.com>
7044 * docs/design/part-buffering.txt:
7045 * docs/gst/gstreamer-sections.txt:
7046 * gst/gstmessage.c: (gst_message_new_buffering),
7047 (gst_message_parse_buffering):
7049 Added methods to create and parse BUFFERING messages.
7050 Added preliminary docs about buffering.
7051 API: gst_message_new_buffering
7052 API: gst_message_parse_buffering
7054 2006-09-06 Wim Taymans <wim@fluendo.com>
7057 Update documentation.
7059 * gst/gstelement.c: (gst_element_class_init),
7060 (gst_element_release_request_pad), (gst_element_set_clock),
7061 (gst_element_get_index), (gst_element_add_pad),
7062 (gst_element_remove_pad), (gst_element_get_random_pad),
7063 (gst_element_send_event), (gst_element_get_query_types),
7064 (gst_element_query), (gst_element_post_message),
7065 (gst_element_message_full), (gst_element_continue_state),
7066 (gst_element_lost_state), (gst_element_save_thyself),
7067 (gst_element_restore_thyself):
7068 Documentation updates.
7069 Rename last bit of the new-pad -> pad-added signal rename.
7070 Fix the case where an element query would only work if the source
7072 Avoid some useless type checking in message handling.
7077 Documentation updates.
7079 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
7081 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
7082 add an INFO line for when we actually update the fd
7084 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
7089 === release 0.10.10 ===
7091 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
7094 releasing 0.10.10, "Pais"
7096 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
7098 * docs/manual/advanced-position.xml:
7099 Fix typo in sample code.
7101 2006-09-05 Wim Taymans <wim@fluendo.com>
7103 * libs/gst/net/gstnetclientclock.c: (inet_aton),
7104 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
7105 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
7106 * libs/gst/net/gstnetclientclock.h:
7107 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
7108 * libs/gst/net/gstnettimepacket.h:
7109 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
7110 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
7111 (gst_net_time_provider_thread), (gst_net_time_provider_new):
7112 * libs/gst/net/gstnettimeprovider.h:
7113 Make stuff compile on windows. Fixes #345295.
7115 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
7117 * gst/gst.c: (ensure_current_registry_forking):
7118 Print better details when child was terminated by signal.
7120 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
7122 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
7123 Print a warning rather than g_assert() if a plugin feature
7124 is a URI handler but returns no protocols (#353976).
7126 2006-09-02 Stefan Kost <ensonic@users.sf.net>
7128 * docs/random/moving-plugins:
7131 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
7133 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
7134 Fix locking order, handle NULL function values properly.
7139 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
7140 Initialise variable before using it and fix debug statement to
7141 print the address of the function rather than the address of the
7142 variable on the stack holding the address of the function.
7144 2006-09-01 Wim Taymans <wim@fluendo.com>
7146 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
7147 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
7148 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7149 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
7150 (gst_ghost_pad_parent_unset),
7151 (gst_ghost_pad_internal_do_activate_push),
7152 (gst_ghost_pad_internal_do_activate_pull),
7153 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7154 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7155 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
7156 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
7157 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
7158 (gst_ghost_pad_new_no_target_from_template),
7159 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7161 Avoid needless typechecking in macros.
7162 Since the internal pad is always present and never changes, there is
7163 no need to locking or ref when retrieving it.
7164 Improve debugging a bit.
7165 Handle link errors when setting the target. Fixes #341029.
7167 2006-09-01 Wim Taymans <wim@fluendo.com>
7169 * docs/libs/gstreamer-libs-sections.txt:
7170 * docs/plugins/gstreamer-plugins-sections.txt:
7173 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7174 (gst_collect_pads_event):
7175 * libs/gst/base/gstcollectpads.h:
7176 Documentation updates.
7177 Free queued buffer when removing a pad.
7179 2006-08-31 Michael Smith <msmith@fluendo.com>
7181 * gst/gstutils.c: (gst_element_link_pads),
7182 (gst_element_link_pads_filtered):
7183 Ensure that we set a capsfilter to NULL if we failed to link it
7184 when doing filtered linking, to avoid criticals.
7186 No need to check for unreffing srcpad, which is explicly NULLed
7187 above (a trivial code cleanup).
7189 2006-08-31 Wim Taymans <wim@fluendo.com>
7191 * docs/design/part-gstghostpad.txt:
7192 Update ascii art in documentation.
7194 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
7195 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
7196 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7197 (gst_ghost_pad_internal_do_activate_push),
7198 (gst_ghost_pad_internal_do_activate_pull),
7199 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7200 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7201 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
7202 (gst_ghost_pad_set_target):
7203 Small cleanups and leak fixes.
7204 Remove some checks now that the internal pad is never NULL.
7205 Fix the case where linking pads without a target would create nasty
7206 criticals. Fixes #341029.
7207 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
7208 value of _set_target().
7210 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7211 (gst_ghost_pad_suite):
7212 Some more tests for creating and linking untargeted ghostpads.
7214 2006-08-31 Edward Hervey <edward@fluendo.com>
7216 * docs/gst/gstreamer-sections.txt:
7217 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
7218 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7219 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
7220 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
7221 (gst_ghost_pad_new_from_template),
7222 (gst_ghost_pad_new_no_target_from_template):
7223 * gst/gstghostpad.h:
7224 Refactored *_new() functions.
7225 Templates are now used as a g_object_new() parameter.
7226 Use template in _do_getcaps() if we don't have a target.
7227 Small documentation cleanups.
7228 Added two new constructors:
7229 gst_ghost_pad_new_from_template()
7230 gst_ghost_pad_new_no_target_from_template()
7231 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7232 (gst_ghost_pad_suite):
7233 Added tests for new ghostpad instanciation functions.
7235 API additions: gst_ghost_pad_new_from_template,
7236 gst_ghost_pad_new_no_target_from_template
7238 2006-08-30 Stefan Kost <ensonic@users.sf.net>
7240 * docs/random/ensonic/profiling.txt:
7241 Ideas about qos profiling.
7243 2006-08-29 Wim Taymans <wim@fluendo.com>
7245 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
7249 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
7252 Improve and detypofy docs.
7254 * tests/check/Makefile.am:
7255 * tests/check/gst/.cvsignore:
7256 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
7257 Add a basic test suite for GstXML.
7259 2006-08-29 Wim Taymans <wim@fluendo.com>
7261 * gst/gstelement.c: (activate_pads), (clear_caps),
7262 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7263 Clear the pad caps when the element shut down all of the pads and
7264 is not streaming data that could modify the caps.
7267 2006-08-28 Michael Smith <msmith@fluendo.com>
7269 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7270 Revert previous change; I misunderstood single-segment mode.
7272 2006-08-28 Michael Smith <msmith@fluendo.com>
7274 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7275 Unset DISCONT on buffers when using single-segment mode.
7277 2006-08-28 Wim Taymans <wim@fluendo.com>
7279 * gst/gstcaps.c: (gst_caps_merge_structure):
7281 Fix docs and indentation again.
7283 * tests/check/gst/gstquery.c: (GST_START_TEST):
7284 Fix leak in tests and add some more tests.
7286 2006-08-28 Edward Hervey <edward@fluendo.com>
7288 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7289 Inform GstSegment of the last stop position in order for the current
7290 segment to have a proper duration if it doesn't have a specific stop
7291 position from which a duration could be calculated.
7292 This bug was noticeable when a non-flushing, non-update new segment was
7293 followed by another segment (all buffers from the new segment were being
7296 2006-08-28 Wim Taymans <wim@fluendo.com>
7298 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7299 Small comment update.
7301 * plugins/elements/gstidentity.c: (gst_identity_class_init),
7302 (gst_identity_transform_ip):
7303 Drop-probability is broken, mention this in the code with a
7304 FIXME and also in the property description.
7305 Make silent also be silent about the drop messages.
7307 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
7309 * docs/manual/appendix-win32.xml:
7310 Remove mention of popt, we don't depend on that any
7311 longer (#353136). Add some comments pointing out that
7312 this section is slightly outdated.
7314 2006-08-28 Wim Taymans <wim@fluendo.com>
7316 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7318 * gst/gstquery.c: (gst_query_new_segment):
7319 * tests/check/gst/gstquery.c: (GST_START_TEST):
7320 Initialize variables when creating a new segment query.
7323 2006-08-28 Wim Taymans <wim@fluendo.com>
7325 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7327 * gst/gstelement.c: (gst_element_get_bus):
7328 * tests/check/gst/gstelement.c: (GST_START_TEST):
7329 Check for NULL before _reffing the bus. Fixes #353122.
7331 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
7333 * docs/manual/basics-bus.xml:
7334 Docs update: fix wrong callback return value explanation; add
7335 some lines about the implicit relationship between main loop
7336 and main context; remove duplicate main loop variable declaration.
7338 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
7340 * tests/check/gst/gstcaps.c: (GST_START_TEST):
7341 Don't leak caps in unit test; add a few more simple
7344 2006-08-24 Stefan Kost <ensonic@users.sf.net>
7346 * docs/gst/gstreamer-sections.txt:
7347 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
7348 (gst_caps_structure_is_subset), (gst_caps_merge),
7349 (gst_caps_merge_structure):
7351 * libs/gst/base/gstbasetransform.c:
7352 (gst_base_transform_transform_caps):
7353 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7354 implement caps merging (fixes #352580)
7356 2006-08-23 Stefan Kost <ensonic@users.sf.net>
7358 * tools/Makefile.am:
7359 * tools/gst-plot-timeline.py:
7360 add debug-log plotting developer tool (#340674)
7362 2006-08-23 Wim Taymans <wim@fluendo.com>
7364 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
7365 (gst_pad_stop_task):
7366 Improve debugging for task functions.
7368 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
7369 (gst_task_start), (gst_task_pause), (gst_task_join):
7370 Make sure that the task function started and finished after a
7372 Don't try to push the task function on the threadpool multiple
7374 Improve the g_warning message with some useful suggestions
7375 about how to fix the problem.
7377 2006-08-23 Wim Taymans <wim@fluendo.com>
7379 * gst/gstutils.c: (gst_pad_proxy_getcaps):
7380 Handle RESYNC correctly in _proxy_getcaps.
7382 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
7384 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
7385 (gst_xml_parse_memory), (gst_xml_get_element):
7386 Chain up to parent class in dispose function and also
7387 unref the elements in the toplevel_elements GList.
7388 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
7389 Always return a reference in gst_xml_get_element() rather
7390 than only sometimes.
7392 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7393 Don't leak GstXml object.
7395 2006-08-21 Stefan Kost <ensonic@users.sf.net>
7397 * docs/gst/gstreamer-sections.txt:
7398 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7401 * libs/gst/base/gstbasetransform.c:
7402 (gst_base_transform_transform_caps):
7403 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7406 2006-08-21 Edward Hervey <edward@fluendo.com>
7408 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7409 Implement GObject::dispose virtual method in GstXML so we can free the
7412 2006-08-21 Wim Taymans <wim@fluendo.com>
7414 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7415 (gst_buffer_create_sub):
7416 Copy duration/offset_end/caps when creating a subbuffer of the
7418 Make the subbuffer read-only when we make the metadata writable for
7421 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7422 Added check for metadata copy when creating subbuffers.
7424 2006-08-21 Edward Hervey <edward@fluendo.com>
7426 * libs/gst/base/gstbasetransform.c:
7427 (gst_base_transform_buffer_alloc):
7428 Only call downstream buffer_alloc if transform element is passthrough
7429 or always_in_place. Closes #350449.
7431 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7434 ChangeLog surgery to add comments to previous changes
7436 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7441 * gst/gstpad.c: (gst_pad_set_active):
7442 Be more verbose in the log
7444 * libs/gst/base/gstbasetransform.c:
7445 (gst_base_transform_transform_caps):
7446 Simplify caps to get rid of duplicates, fixes #345444
7448 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7452 Use these optimizations only internally.
7454 2006-08-20 Stefan Kost <ensonic@users.sf.net>
7456 * gst/gstvalue.c: (gst_value_compare_list),
7457 (gst_value_compare_fraction_range),
7458 (gst_value_intersect_fraction_fraction_range),
7459 (gst_value_intersect_fraction_range_fraction_range),
7460 (gst_value_subtract_fraction_fraction_range),
7461 (gst_value_subtract_fraction_range_fraction_range),
7462 (gst_value_get_compare_func), (gst_value_compare),
7463 (gst_value_compare_with_func):
7465 Saves the expensive lookup of the compare function in many cases
7468 2006-08-18 Edward Hervey <edward@fluendo.com>
7470 * tests/check/gst/gstinfo.c: (gst_info_suite):
7471 Disable test that require gstdebug if it wasn't built in core.
7473 2006-08-18 Stefan Kost <ensonic@users.sf.net>
7475 * docs/random/ensonic/logging.txt:
7478 * gst/gstinfo.c: (gst_debug_log_default):
7479 reorder fields, save some columns, add optional color codes for log
7482 2006-08-18 Stefan Kost <ensonic@users.sf.net>
7484 * docs/random/ensonic/logging.txt:
7485 add ideas about making the logs a bit more useful
7487 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
7489 * docs/pwg/advanced-events.xml:
7490 * docs/pwg/titlepage.xml:
7491 Update for 0.10 API (#340627). Add myself
7494 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
7496 * docs/libs/gstreamer-libs-docs.sgml:
7497 * docs/libs/gstreamer-libs-sections.txt:
7498 * libs/gst/check/gstbufferstraw.c:
7499 Make gstcheck stuff show up in docs (still needs to
7500 be documented properly though).
7502 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
7504 * docs/gst/gstreamer-sections.txt:
7506 * gst/gst.c: (init_post):
7507 * gst/gst_private.h:
7508 * gst/gstquark.c: (_priv_gst_quarks_initialize):
7510 * gst/gstquery.c: (gst_query_new_position),
7511 (gst_query_set_position), (gst_query_parse_position),
7512 (gst_query_new_duration), (gst_query_set_duration),
7513 (gst_query_parse_duration), (gst_query_new_convert),
7514 (gst_query_set_convert), (gst_query_parse_convert),
7515 (gst_query_new_segment), (gst_query_set_segment),
7516 (gst_query_parse_segment), (gst_query_new_seeking),
7517 (gst_query_set_seeking), (gst_query_parse_seeking):
7518 Add internal helpers for pre-registering quarks from static strings
7519 and using the quark values directly instead of looking them up when
7520 creating and parsing queries. Can be used for event construction too.
7523 2006-08-16 Wim Taymans <wim@fluendo.com>
7528 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7530 * gst/gstutils.c: (gst_util_set_value_from_string):
7531 Fix memleak (#351502).
7533 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7534 Add unit test for most of gst_util_set_value_from_string()
7535 (not that one would want to encourage use of this function).
7537 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7539 * libs/gst/check/gstcheck.h:
7540 Use const gchar * variables in fail_unless_equals_string
7541 macro to avoid compiler warnings (and don't use tabs for
7544 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7546 * tools/gst-launch.c: (print_tag):
7547 More space on the left for the tag names, to cater
7548 for the 'extended comment' tag (not touching the
7549 string for the first line since it's translated).
7551 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
7553 * libs/gst/check/gstcheck.h:
7554 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7555 print something when they fail.
7557 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7559 * docs/gst/gstreamer-sections.txt:
7560 * gst/gsttaglist.c: (_gst_tag_initialize):
7562 API: add GST_TAG_EXTENDED_COMMENT (#350935).
7563 Also change merge function for GST_TAG_COMMENT to
7566 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7568 * gst/gstinfo.c: (gst_debug_print_object):
7569 Make GST_PTR_FORMAT print messages as well.
7571 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7572 (GST_START_TEST), (gst_info_suite):
7575 2006-08-14 Edward Hervey <edward@fluendo.com>
7577 * gst/gstelementfactory.c: (gst_element_register):
7578 If the GstElementClass doesn't have a GstElementDetails with all fields
7579 filled up correctly (longname, description AND author), then error out
7580 nicely instead of crashing.
7582 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
7584 * gst/gststructure.c:
7585 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7588 Expand on the difference between arrays and lists as we use them.
7590 2006-08-14 Wim Taymans <wim@fluendo.com>
7592 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7593 If the parent state change function failed, don't assume we can safely
7594 stop the source, this will be done when the pads are deactivated.
7596 2006-08-14 Wim Taymans <wim@fluendo.com>
7599 * gst/gsttask.c: (gst_task_join):
7602 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7603 (gst_pad_stop_task):
7604 When pad (de)activation failed for some reason, restore the old
7605 activation mode and set the pad to flushing instead of assuming the
7607 If the _task_join() failed, reinstall the task on the pad so that it can
7608 be stopped later and return an error.
7610 2006-08-11 Andy Wingo <wingo@pobox.com>
7613 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7614 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7615 is only for users of API that don't want to see deprecated
7616 functions in the headers; people that want to compile out
7617 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7618 CFLAGS. Fixes the build of multifdsink, or will soon..
7620 2006-08-11 Wim Taymans <wim@fluendo.com>
7622 * docs/gst/gstreamer-sections.txt:
7623 Add GstClockClass vmethod docs.
7626 Mark #endif with comment for associated #if
7628 * gst/gstclock.c: (gst_clock_id_wait):
7630 Add vmethod wait_jitter to avoid an unneeded _get_time() for
7631 most clock implementations.
7633 Flesh out docs about resolution methods.
7634 API: GstClockClass::wait_jitter
7636 * gst/gstsystemclock.c: (gst_system_clock_class_init),
7637 (gst_system_clock_async_thread),
7638 (gst_system_clock_id_wait_jitter_unlocked),
7639 (gst_system_clock_id_wait_jitter):
7640 Use base class wait_jitter variant for improved performance
7641 due to less clock polling.
7643 2006-08-11 Edward Hervey <edward@fluendo.com>
7645 * gst/gst.c: (gst_init_check), (init_post):
7646 Set gst as being initialized before scanning/updating the registry,
7647 since there might be my python plugin loader that calls gst_init() and
7648 we don't want to loop back in.
7651 2006-08-11 Wim Taymans <wim@fluendo.com>
7653 * docs/design/part-qos.txt:
7654 Bring docs in line with the code. Mostly the sign of the jitter was
7655 wrong in the docs. Fixes #349943.
7658 Fix the docs for the jitter.
7660 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7661 (gst_event_parse_tag), (gst_event_new_buffer_size),
7662 (gst_event_parse_buffer_size), (gst_event_parse_qos),
7663 (gst_event_new_seek), (gst_event_parse_seek),
7664 (gst_event_new_navigation):
7665 Make sure the GstStructure has no parent when creating custom
7667 Add some more argument checking so that we avoid 0.0 rates.
7668 Flesh out the docs for the QoS event some more.
7670 2006-08-11 Wim Taymans <wim@fluendo.com>
7672 * docs/gst/gstreamer-sections.txt:
7673 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7674 (ensure_current_registry_forking), (ensure_current_registry),
7675 (parse_one_option), (parse_goption_arg), (gst_deinit),
7676 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7679 Added API and command line option to disable registry forking in
7680 addition to the environment variable.
7681 Constify some static arrays.
7682 Added some more debug.
7684 API: gst_registry_fork_is_enabled()
7685 API: gst_registry_fork_set_enabled()
7686 API: --gst-disable-registry-fork command line option
7689 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
7691 * gst/gst.c: (gst_init):
7692 Fix typo in error message.
7694 2006-08-10 Stefan Kost <ensonic@users.sf.net>
7696 * libs/gst/controller/gstcontroller.h:
7697 fix ABI size-correction
7699 * tests/check/libs/gdp.c: (gst_dp_suite):
7700 make tests that use deprecated API conditional
7702 2006-08-10 Stefan Kost <ensonic@users.sf.net>
7704 * docs/libs/gstreamer-libs-sections.txt:
7705 * libs/gst/controller/gstcontroller.c:
7706 (_gst_controller_get_property), (_gst_controller_set_property),
7707 (_gst_controller_init), (_gst_controller_class_init):
7708 * libs/gst/controller/gstcontroller.h:
7709 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7710 (gst_object_set_control_rate):
7711 API: add gst_object_{s,g}et_control_rate(), add private data section,
7714 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7715 * libs/gst/dataprotocol/dataprotocol.h:
7716 add deprecation guards to make gtk-doc happy and allow disabling cruft
7718 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
7720 * tests/check/Makefile.am:
7721 * tests/check/gst/.cvsignore:
7722 Let's enable the new unit test as well.
7724 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
7727 * docs/gst/gstreamer-sections.txt:
7728 * gst/gstconfig.h.in:
7729 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
7730 (_gst_info_printf_extension_ptr),
7731 (_gst_info_printf_extension_segment):
7732 API: add GST_SEGMENT_FORMAT, which is a printf extension we
7733 register that lets us easily dump GstSegments into debug
7736 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
7737 (info_segment_format_printf_extension), (gst_info_suite):
7738 Add simple unit test that logs a bunch of different segments (not
7739 valgrinded at the moment because of leaks in
7740 gst_debug_add_log_function).
7742 2006-08-09 Edward Hervey <edward@fluendo.com>
7744 * libs/gst/base/gstbasetransform.c:
7745 (gst_base_transform_buffer_alloc):
7746 Even if we can't figure out the proper format to request downstream,
7747 call buffer_alloc() downstream with the input parameters without setting
7748 the caps on the srcpad. This will force negotiation in the chain
7752 2006-08-08 Edward Hervey <edward@fluendo.com>
7754 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
7755 Unlinking from a pad without a target is now a perfectly valid case
7756 which should NOT raise an assertion.
7757 This case would happen if a linked ghostpad its target set to NULL after
7758 it was previously linked.
7760 2006-08-08 Edward Hervey <edward@fluendo.com>
7762 * tests/check/libs/gdp.c:
7763 Also comment out the test (see below).
7765 2006-08-08 Edward Hervey <edward@fluendo.com>
7767 * tests/check/libs/gdp.c: (gst_dp_suite):
7768 Use the architecture information from config.h and not gcc macros
7769 in order to properly disable a test that fails on PPC64.
7771 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
7773 * gst/gstelement.c: (gst_element_remove_pad):
7774 Don't crash printing the warning if the pad has no parent.
7776 2006-08-02 Wim Taymans <wim@fluendo.com>
7778 * libs/gst/dataprotocol/dataprotocol.c:
7779 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
7780 (gst_dp_crc), (gst_dp_header_payload_length),
7781 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
7782 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
7783 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
7784 (gst_dp_event_from_packet), (gst_dp_validate_header),
7785 (gst_dp_validate_payload):
7786 Make debug category static
7787 Constify the crc table.
7788 Do some more arg checking in public functions.
7789 Fix some docs and do some small cleanups.
7791 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
7792 Add some more checks to see if GDP deals with bogus input.
7794 2006-07-31 Wim Taymans <wim@fluendo.com>
7796 * gst/gstvalue.c: (gst_value_compare_list):
7797 Fix GstValueList comparison code. Fixes #347293.
7799 * tests/check/gst/gstvalue.c: (GST_START_TEST):
7800 Check to test GstValueList comparison.
7802 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7804 * gst/gstelementfactory.c: (gst_element_factory_create):
7805 Remove unnecessary ref/unref pair
7807 * gst/parse/grammar.y:
7808 Make sure to free the parse buffer on all code paths.
7809 Move a g_free up to the error handler where it's easier to see.
7811 * tests/check/gst/gstevent.c: (test_event):
7812 Extending timeout for downstream travelling events to 10 seconds to
7813 hopefully avoid intermittent failure on the buildbots.
7815 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
7816 Don't manually set the state of the src element - it will happen as a
7817 natural consequence of the pipeline changing state, and that way it
7818 will do it in the right order too.
7820 2006-07-31 Wim Taymans <wim@fluendo.com>
7822 * libs/gst/base/gstbasetransform.c:
7823 (gst_base_transform_buffer_alloc):
7824 Use OBJECT_LOCK and refcounting to get the pad caps in the
7825 buffer_alloc function because the caps could change while we are
7826 busy with them. Fixes #349105
7828 2006-07-31 Wim Taymans <wim@fluendo.com>
7830 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
7831 Protect _PAD_CAPS with OBJECT_LOCK.
7833 2006-07-31 Wim Taymans <wim@fluendo.com>
7835 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
7836 (gst_pad_get_property), (gst_pad_activate_pull),
7837 (gst_pad_activate_push), (gst_pad_set_blocked_async),
7838 (gst_pad_set_activate_function),
7839 (gst_pad_set_activatepull_function),
7840 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
7841 (gst_pad_set_getrange_function),
7842 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
7843 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
7844 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
7845 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
7846 (gst_pad_set_acceptcaps_function),
7847 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
7848 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
7849 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
7850 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
7851 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
7852 (gst_pad_configure_sink), (gst_pad_configure_src),
7853 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
7854 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
7855 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
7856 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
7857 (gst_pad_send_event):
7858 Use _DEBUG_OBJECT when it makes sense.
7859 Protect GST_PAD_CAPS with the OBJECT_LOCK.
7860 Small cleanups and code reflows.
7861 Avoid caps refcounting in _accept_caps.
7862 Refactor alloc_buffer so that the code performed on the peer is in a
7863 separate function. Also if the pad does not implement a buffer alloc
7864 function, we should still check if the pad is flushing before falling
7865 back to the default allocator.
7867 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
7869 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7870 Make all uses of identity and fakesink have silent=true to avoid
7871 serialising every passing data structure, which is breaking tests
7872 on FC4 for some unknown reason.
7874 2006-07-30 Stefan Kost <ensonic@users.sf.net>
7876 * gst/parse/Makefile.am:
7877 * gst/parse/grammar.y:
7878 * gst/parse/parse.l:
7879 Reverted previous patch as it required to bump the flex dependency to
7880 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
7882 2006-07-30 Stefan Kost <ensonic@users.sf.net>
7884 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
7886 * gst/parse/Makefile.am:
7887 * gst/parse/grammar.y:
7888 * gst/parse/parse.l:
7889 push & pop the state of the lexer for reentrant use case
7892 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
7894 * libs/gst/base/gstbasesrc.h:
7895 Note in the docs that the ::newsegment vfunc is not actually used by
7898 2006-07-28 Wim Taymans <wim@fluendo.com>
7900 * libs/gst/base/gstcollectpads.c:
7901 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
7902 (gst_collect_pads_clear), (gst_collect_pads_flush),
7903 (gst_collect_pads_event), (gst_collect_pads_chain):
7904 When flushing a pad, also clear the queued buffer so that we don't
7905 accidentally use it when we shouldn't.
7906 Fix leaks by inreffing incomming buffer.
7907 Flush out queued buffers in case of errors.
7910 2006-07-28 Wim Taymans <wim@fluendo.com>
7912 * docs/random/phonon-gst:
7913 Random notes about a Phonon backend.
7915 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7917 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
7919 * tests/check/libs/gdp.c: (gst_dp_suite):
7920 Take a whack at fixing the ppc compile using a different define to
7921 disable the broken test.
7923 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
7924 Remove excess g_print()
7926 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7928 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
7929 Oops, meant to uncomment this line too to dampen the noise a bit.
7931 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7933 * gst/parse/grammar.y:
7934 * gst/parse/parse.l:
7935 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
7936 (GST_START_TEST), (parse_suite):
7937 Fix some of the leaks exposed by extending the parse-launch testsuite,
7938 and move the 3 I can't figure out into a separate test that won't run
7939 the pipelines unless the appropriate line is uncommented.
7941 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
7943 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7944 Requesting 0 bytes before the end of the file should result in
7945 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
7948 2006-07-27 Wim Taymans <wim@fluendo.com>
7950 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
7951 Fix useless assert, a uint is always positive.
7953 * gst/gststructure.c: (gst_structure_nth_field_name),
7954 (gst_structure_foreach), (gst_structure_map_in_place):
7955 Check input arguments for public functions to avoid obvious crashes.
7957 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
7958 * plugins/elements/gstfakesink.h:
7959 Do less useless typechecking.
7961 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
7963 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
7964 Do not use mmap() by default since there are a number of error
7965 conditions that we would like to handle in a non-fatal way that
7966 will result in a SIGBUS if we use mmap(). Examples: external
7967 devices (USB harddrive, portable music player) being unplugged
7968 while in use; file on mounted CD/DVD that can't be read because
7969 the medium is partly damaged. Fixes #348455 and #348475.
7971 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
7974 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
7977 2006-07-26 Stefan Kost <ensonic@users.sf.net>
7979 * gst/gstregistry.c:
7980 Move big documentation comment into class section header, so that it
7981 appears in the API docs.
7983 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7985 * docs/gst/gstreamer-sections.txt:
7986 Oops. Commit the docs additions too for new API.
7987 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
7989 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
7991 * gst/gststructure.c: (gst_structure_id_set),
7992 (gst_structure_id_set_valist):
7993 * gst/gststructure.h:
7994 Add API for setting values into structures without performing
7995 a quark lookup, if the appropriate quark is already known.
7997 API: gst_structure_id_set
7998 API: gst_structure_id_set_valist
8000 * gst/parse/grammar.y:
8001 * gst/parse/parse.l:
8002 Remove some dead code shown by the coverage information.
8003 Don't throw a critical g_warning when encountering a syntax error,
8004 just warn and let the normal error path handle it.
8006 * plugins/elements/gstelements.c:
8007 Bump the rank of filesink up to PRIMARY so that it is preferred over
8008 gnomevfssink for file:// sink uri's
8010 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
8011 (GST_START_TEST), (run_delayed_test),
8012 (gst_parse_test_element_base_init),
8013 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
8014 (gst_parse_test_element_change_state),
8015 (gst_register_parse_element), (parse_suite):
8016 Beef up the tests for parse syntax to check that more error cases
8017 fail as they are supposed to. Increases the test coverage a bit.
8019 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
8021 * docs/manual/basics-elements.xml:
8022 Fix gst_element_link() example.
8025 Mention in API docs that one should usually gst_bin_add()
8026 elements to a bin or pipeline before doing the linking.
8028 2006-07-26 Wim Taymans <wim@fluendo.com>
8030 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
8031 (gst_subbuffer_get_type), (gst_buffer_create_sub):
8032 Avoid function call for known types by keeping the buffer and
8033 subbuffer GType global.
8035 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8036 Random silly optimisations in read() path.
8038 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
8040 * tools/gst-launch.c: (main):
8041 If the top-level of the parse is a normal bin, it doesn't do the
8042 right logic to run as a top-level element, so place it inside a
8045 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
8047 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
8048 Remove superfluous g_object_notify() calls, GObject does
8049 that for us automatically.
8051 2006-07-25 Stefan Kost <ensonic@users.sf.net>
8054 on Win32, use dllspec to export the debug category symbols
8056 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
8058 * gst/gsttaglist.c: (_gst_tag_initialize):
8059 Allow more than one GST_TAG_IMAGE per taglist.
8061 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
8063 * gst/gstminiobject.c:
8065 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
8066 (gst_fd_src_create):
8067 log recurring events at LOG level
8068 add more debug for when the fd gets set
8070 2006-07-21 Stefan Kost <ensonic@users.sf.net>
8072 * gst/gstparse.c: (gst_parse_launch):
8073 Also remove reentrance checks if flex is MT safe (#348179)
8074 Fix my empty ChangeLog entry below
8076 2006-07-21 Andy Wingo <wingo@pobox.com>
8078 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
8080 * libs/gst/check/Makefile.am
8081 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
8082 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
8083 * libs/gst/check/gstbufferstraw.h:
8084 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
8085 functions, thus proving I am still a GStreamer haxor. OK I wrote
8086 them a long time ago, but anyways.
8088 2006-07-21 Stefan Kost <ensonic@users.sf.net>
8091 * gst/gstparse.c: (gst_parse_launch):
8092 Check for flex version and omit mutex if we have a MT save flex
8095 2006-07-21 Wim Taymans <wim@fluendo.com>
8097 * gst/gstparse.c: (gst_parse_launch):
8098 Protect recursive calls to _parse with a recursive mutex
8101 2006-07-21 Wim Taymans <wim@fluendo.com>
8103 * tests/check/gst/gstpad.c: (GST_START_TEST):
8106 2006-07-20 Stefan Kost <ensonic@users.sf.net>
8108 * gst/gstparse.c: (gst_parse_launch):
8109 Do not hang on recursive usage of gst_parse_launch()
8111 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
8114 Add some more docs, comments and FIXME 0.11s here and there
8115 and also fix some typos.
8117 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
8120 Convert tabs to spaces for better readability.
8122 2006-07-20 Edward Hervey <edward@fluendo.com>
8124 * tests/check/libs/gdp.c: (gst_dp_suite):
8125 the test_buffer test fails at line 140 on ppc64 at the following
8127 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
8128 GST_BUFFER_FLAG_IN_CAPS),
8129 "GST_BUFFER_IN_CAPS flag should have been copied !");
8130 See bug #348114 for more details.
8132 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
8134 * docs/pwg/advanced-scheduling.xml:
8136 Fix typos (#348000).
8138 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
8140 * docs/pwg/intro-basics.xml:
8141 Fix wrong links (#347927).
8143 2006-07-18 Stefan Kost <ensonic@users.sf.net>
8145 * gst/gstregistry.h:
8146 * gst/gstregistryxml.c: (load_feature),
8147 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
8148 * win32/common/config.h:
8149 make --disable-index work (#342564)
8151 2006-07-18 Wim Taymans <wim@fluendo.com>
8153 Patch by: Peter Kjellerstedt <pkj at axis dot com>
8157 The attached patch adds two missing defines to gsttrace.h when tracing
8158 is disabled. It also corrects one existing define.
8161 2006-07-17 Wim Taymans <wim@fluendo.com>
8163 * docs/gst/gstreamer-sections.txt:
8164 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
8166 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
8167 Add two functions to check and change the SIGSEGV behaviour
8168 when loading plugins.
8169 Don't mess with the SIGSEGV handler when we were told not to.
8171 API: gst_segtrap_is_enabled
8172 API: gst_segtrap_set_enabled
8174 2006-07-14 Wim Taymans <wim@fluendo.com>
8176 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8177 * tests/check/elements/filesrc.c: (GST_START_TEST):
8178 Revert fix for regression in #347408 after release.
8180 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
8182 Patch by: Antoine Tremblay <hexa00 at gmail com>
8184 * gst/gstutils.c: (gst_element_unlink):
8185 Free iterator when done (#347311).
8187 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8188 And add a test case for this.
8190 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
8193 Bump nano back to CVS
8195 === release 0.10.9 ===
8197 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
8200 releasing 0.10.9, "On the road again"
8202 2006-07-13 Wim Taymans <wim@fluendo.com>
8204 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8205 * tests/check/elements/filesrc.c: (GST_START_TEST):
8206 Revert pull-0 fix for release. Disable check. Fixes #347408.
8208 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8210 * libs/gst/dataprotocol/dataprotocol.c:
8211 (gst_dp_event_from_packet_1_0):
8212 Fixes #347337: failure to deserialize event packets with
8213 empty payload (only event type)
8215 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
8218 do not install a .c file in the header directory
8220 2006-07-13 Edward Hervey <edward@fluendo.com>
8222 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8223 GhostPad no longer implicitely use the padtemplates of the targets.
8226 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
8228 * gst/gstvalue.c: (gst_value_compare_list),
8229 (gst_value_compare_array), (_gst_value_initialize):
8230 * tests/check/gst/gstvalue.c: (GST_START_TEST):
8231 Make GstValueArray comparison be order dependent as designed.
8232 Add checks for value lists and value array comparisons.
8235 2006-07-11 Edward Hervey <edward@fluendo.com>
8237 * gst/gstbin.c: (activate_pads),
8238 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
8239 (gst_bin_change_state_func):
8240 (de)activate src pads before calling state_change on the childs.
8241 This is to avoid the case where a src ghostpad is blocked (holding the
8242 stream lock), which would block the deactivation of the ghostpad's
8244 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
8245 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
8246 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
8247 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8248 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8249 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8250 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8251 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
8252 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
8253 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8254 (gst_ghost_pad_class_init),
8255 (gst_ghost_pad_internal_do_activate_push),
8256 (gst_ghost_pad_internal_do_activate_pull),
8257 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8258 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8259 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
8260 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
8261 GhostPads now create their internal GstProxyPad at creation (and not
8262 when they're linked, as it was being done previously).
8263 The internal and target pads are linked straight away.
8264 The data will also travel through the other pad in order to make
8265 pad blocking and probes non-hackish (the probe/block now really happens
8266 on the GhostPad and not on the target).
8267 * gst/gstpad.c: (gst_pad_set_blocked_async),
8268 (gst_pad_link_prepare), (gst_pad_push_event):
8269 Remove previous ghostpad cruft.
8270 * gst/gstutils.c: (gst_pad_add_data_probe),
8271 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8272 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8273 (gst_pad_remove_buffer_probe):
8274 Remove previous ghost pad cruft.
8275 Added more detailed debug statements.
8276 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8277 Fix the testsuite for refcounting changes.
8278 The comments about who has references were correct, but the refcount
8279 being checked wasn't the same (!?!).
8283 2006-07-10 Stefan Kost <ensonic@users.sf.net>
8285 * docs/gst/gstreamer-sections.txt:
8286 * gst/gstconfig.h.in:
8287 More docs for configuration options, add docs to gtk-doc.
8289 2006-07-10 Stefan Kost <ensonic@users.sf.net>
8292 * gst/gstconfig.h.in:
8293 * win32/common/config.h:
8294 Fix build when disabling tracing (fixes #344016). Also start to document
8295 the defines that disable the sub-systems.
8297 2006-07-10 Edward Hervey <edward@fluendo.com>
8299 * gst/gst.c: (ensure_current_registry_forking):
8300 let's make valgrind happy...
8302 2006-07-09 Wim Taymans <wim@fluendo.com>
8304 * gst/gstelement.c: (activate_pads),
8305 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8306 Better pad activation code: Reset the collect value too on resync.
8309 2006-07-09 Wim Taymans <wim@fluendo.com>
8311 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
8312 (gst_pad_activate_push):
8313 Use some more macros where it makes sense.
8314 Allow pad mode switching instead of asserting. When a pad
8315 is activated in one mode and we activate it in another,
8316 deactivate it first before activating it in a different mode.
8319 2006-07-08 Andy Wingo <wingo@pobox.com>
8321 * tools/gst-launch.c (main): Handle err == NULL.
8323 * gst/gst.c (init_post, ensure_current_registry)
8324 (ensure_current_registry_forking)
8325 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
8326 factoring out the registry scanning into separate functions. Don't
8327 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
8328 Better environment var name/interface suggestions accepted.
8330 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8332 * gst/gstobject.c: (gst_object_set_name_default),
8333 (gst_object_set_name):
8334 Random micro-optimisation: don't use a hash table
8335 with strings as keys and the usual strdup/strcmp
8336 involved, but rather just use the GQuark of the
8337 type name as key, since it needs to be looked up
8338 anyway to get the type name string.
8340 * tests/check/gst/gstobject.c: (GST_START_TEST):
8343 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8345 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
8346 (gst_bin_iterate_all_by_interface):
8347 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
8348 GTypes are gulongs and thus the top 4 bytes might be cut
8349 off on some platforms when doing GPOINTER_TO_INT, leading
8350 to invalid GTypes and bad things happening (see RH bug #179654).
8351 Also add a check to make sure the type passed in is really
8354 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8359 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
8363 * gst-element-check.m4:
8364 * gst-element-check.m4.in:
8365 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
8366 instead of the unversioned gst-inspect (#324176, #168659).
8368 2006-07-06 Wim Taymans <wim@fluendo.com>
8371 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
8374 2006-07-06 Wim Taymans <wim@fluendo.com>
8376 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8377 (gst_base_src_wait), (gst_base_src_update_length),
8378 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
8379 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
8380 (gst_base_src_loop), (gst_base_src_start),
8381 (gst_base_src_activate_pull):
8383 blocksize == 0 now means the default blocksize when working in push
8385 Remove some pointless asserts in _wait function.
8386 Fix offset/length calculations and EOS handling. We can now pull 0
8387 bytes as well, which is allowed.
8388 use _check_get_range() to decide if we can operate in _pull based
8390 Fix refcounting leak when check_get_range function was not
8392 API GstBaseSrc::blocksize range can be 0 too now (default)
8394 * tests/check/elements/filesrc.c: (GST_START_TEST),
8396 Added check to test _get_range() behaviour.
8398 2006-07-06 Wim Taymans <wim@fluendo.com>
8400 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8401 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8402 (gst_pad_pull_range):
8404 Lots of comments and docs added to the pad functions.
8405 Flesh out the expected behaviour of the get_range() functions.
8407 2006-07-06 Wim Taymans <wim@fluendo.com>
8412 * gst/gstiterator.h:
8416 Remove comma at end of enumerator list.
8418 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
8420 * win32/common/libgstbase.def:
8421 * win32/common/libgstdataprotocol.def:
8422 * win32/common/libsgtreamer.def:
8423 Add new exported functions.
8425 2006-07-05 Wim Taymans <wim@fluendo.com>
8427 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8428 Add some more docs here and there.
8430 2006-07-05 Wim Taymans <wim@fluendo.com>
8432 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8433 (gst_base_sink_loop), (gst_base_sink_get_position):
8434 When operating in pull mode update the offset so that we
8437 2006-07-05 Wim Taymans <wim@fluendo.com>
8439 * gst/gstregistryxml.c: (read_string):
8440 Avoid strdup. (will happen in libxml, but hey!)
8445 2006-07-05 Wim Taymans <wim@fluendo.com>
8447 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8448 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8450 No point in checking if the size of the subbuffer > 0, the
8451 code handles it correclty as demonstrated by unit test.
8452 Also add a unit test for the zero sized _new_and_alloc and
8453 _copy. Fixes #346663.
8455 2006-07-05 Wim Taymans <wim@fluendo.com>
8457 * libs/gst/base/gstbasetransform.c:
8458 (gst_base_transform_prepare_output_buffer),
8459 (gst_base_transform_buffer_alloc),
8460 (gst_base_transform_handle_buffer):
8461 Make sure the buffer we pass to transform_ip has a refcount of
8462 1 and thus is writable. Fixes #343196
8464 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
8466 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8467 (gst_file_src_init), (gst_file_src_set_property),
8468 (gst_file_src_get_property), (gst_file_src_map_region):
8469 * plugins/elements/gstfilesrc.h:
8470 Add "sequential" property, off by default, to use madvise and hint
8471 to the kernel that sequential access is desired.
8472 Touch all retrieved pages by default to ensure they are pulled
8473 into memory. (Closes #345720)
8475 2006-07-03 Wim Taymans <wim@fluendo.com>
8477 * docs/design/part-block.txt:
8478 * docs/design/part-dynamic.txt:
8481 2006-07-03 Wim Taymans <wim@fluendo.com>
8483 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
8484 (gst_caps_unref), (gst_static_caps_get),
8485 (gst_caps_append_structure):
8486 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
8487 Use GSlice when the glib we build against is >= 2.10
8489 2006-07-03 Wim Taymans <wim@fluendo.com>
8491 * gst/gstelement.c: (gst_element_pads_activate):
8492 Small cleanup in pad activation code.
8494 2006-07-03 Wim Taymans <wim@fluendo.com>
8496 Patch by: Peter Kjellerstedt <pkj at axis dot com>
8498 * gst/gst-i18n-app.h:
8499 * gst/gst-i18n-lib.h:
8500 * tools/gst-inspect.c: (print_signal_info):
8501 The attached patch will make the inclusion of gettext.h unconditional in
8502 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8503 libintl.h in tools/gst-inspect.c.
8504 This allows use of --disable-nls again and fixes #344642.
8506 2006-07-03 Edward Hervey <edward@fluendo.com>
8508 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8509 Implement pad blocking on events according to part-block.txt.
8510 More comments on behaviour.
8511 * tests/check/gst/gstevent.c: (test_event):
8512 Send event to peer pad of blocked pad (else it will block).
8514 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8516 * libs/gst/check/gstcheck.c: (gst_check_message_error),
8517 (gst_check_run_suite):
8518 if we get the wrong message, give us the types as string
8519 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8521 * tests/check/elements/filesrc.c: (GST_START_TEST):
8522 add a test for trying to open a non-existing file
8524 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8526 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8527 add a test for adding self
8529 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
8531 * libs/gst/check/gstcheck.h:
8532 add some assert_ as alias for fail_unless_*
8533 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8534 increase test coverage
8536 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8539 include lcov.mak for lcov coverage generation
8540 * tools/Makefile.am:
8543 2006-07-02 Edward Hervey <edward@fluendo.com>
8545 * tests/check/elements/.cvsignore:
8548 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8551 don't set CFLAGS and friends for gcov, done from GST_GCOV now
8552 * tests/check/Makefile.am:
8555 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8557 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8558 remove gst_caps_simplify; it was not declared and not used
8559 and deprecated in 0.8
8561 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8563 * docs/faq/gst-uninstalled:
8564 don't put empty paths on PYTHONPATH
8565 * docs/gst/gstreamer-sections.txt:
8566 remove some symbols that are not there
8568 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8570 * gst/gstcaps.c: (gst_caps_compare_structures):
8572 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8573 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8576 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8578 * libs/gst/dataprotocol/Makefile.am:
8579 build dataprotocol test by linking to the lib, instead of
8580 compiling the source, so we get coverage
8581 * tests/check/Makefile.am:
8582 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8583 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8584 add a test for filesrc
8586 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8588 * tests/check/gst/gststructure.c: (GST_START_TEST),
8589 (gst_structure_suite):
8590 Push coverage from 59.04% to 70.00%
8592 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8594 * tests/check/Makefile.am:
8595 gst-inspect every element; this makes sure that we also get
8596 coverage on element's get/set functions
8598 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
8601 set CFLAGS and friends to -O0 if gcov is being used
8604 * libs/gst/base/Makefile.am:
8605 * libs/gst/check/Makefile.am:
8606 * libs/gst/controller/Makefile.am:
8607 * libs/gst/dataprotocol/Makefile.am:
8608 * libs/gst/net/Makefile.am:
8609 * plugins/elements/Makefile.am:
8610 * plugins/indexers/Makefile.am:
8611 add makefile rules to generate gcov data and clean up
8612 * tests/check/Makefile.am:
8613 add a coverage target that generates an html overview
8616 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8618 * tests/check/elements/fakesink.c:
8619 * tests/check/elements/fakesrc.c:
8620 * tests/check/elements/fdsrc.c:
8621 * tests/check/elements/identity.c:
8622 * tests/check/generic/sinks.c: (gst_sinks_suite):
8623 * tests/check/generic/states.c:
8624 * tests/check/gst/gst.c:
8625 * tests/check/gst/gstabi.c:
8626 * tests/check/gst/gstbin.c:
8627 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8628 * tests/check/gst/gstbus.c: (gst_bus_suite):
8629 * tests/check/gst/gstcaps.c: (GST_START_TEST):
8630 * tests/check/gst/gstelement.c:
8631 * tests/check/gst/gstevent.c: (gst_event_suite):
8632 * tests/check/gst/gstghostpad.c:
8633 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8634 * tests/check/gst/gstmessage.c: (gst_message_suite):
8635 * tests/check/gst/gstminiobject.c:
8636 * tests/check/gst/gstobject.c:
8637 * tests/check/gst/gstpad.c:
8638 * tests/check/gst/gstpipeline.c:
8639 * tests/check/gst/gstplugin.c:
8640 * tests/check/gst/gstquery.c: (gst_query_suite):
8641 * tests/check/gst/gstsegment.c: (gst_segment_suite):
8642 * tests/check/gst/gststructure.c:
8643 * tests/check/gst/gstsystemclock.c:
8644 * tests/check/gst/gsttag.c:
8645 * tests/check/gst/gsttask.c: (gst_task_suite):
8646 * tests/check/gst/gstutils.c:
8647 * tests/check/gst/gstvalue.c:
8648 * tests/check/libs/adapter.c:
8649 * tests/check/libs/basesrc.c:
8650 * tests/check/libs/collectpads.c:
8651 * tests/check/libs/controller.c:
8652 * tests/check/libs/gdp.c: (gst_dp_suite):
8653 * tests/check/libs/gstnetclientclock.c:
8654 * tests/check/libs/gstnettimeprovider.c:
8655 * tests/check/libs/libsabi.c: (libsabi_suite):
8656 * tests/check/libs/typefindhelper.c:
8657 * tests/check/pipelines/cleanup.c:
8658 * tests/check/pipelines/parse-launch.c:
8659 * tests/check/pipelines/simple-launch-lines.c:
8660 * tests/check/pipelines/stress.c: (stress_suite):
8663 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
8665 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8666 * libs/gst/check/gstcheck.h:
8667 create a macro and function so that the simple unit test
8668 case can be just one macro to create main()
8670 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
8672 * gst/gstbin.c: (gst_bin_restore_thyself):
8673 * gst/gstxml.c: (gst_xml_make_element):
8674 Fix deserialisation from XML. Set parent manually
8675 instead of using gst_bin_add(), since gst_bin_add()
8676 will unlink all pads of the element being added.
8679 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
8681 Patch by: Peter Kjellerstedt <pkj at axis com>
8683 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8684 Fix missing g_strdup() and double free when using the
8685 --gst-plugin-load command line option (#346097).
8687 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
8690 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8692 * libs/gst/net/gstnetclientclock.c:
8693 * libs/gst/net/gstnettimeprovider.c:
8694 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8696 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
8698 * docs/manual/advanced-dataaccess.xml:
8699 Fix buffer probe example compilation in
8702 2006-06-22 Edward Hervey <edward@fluendo.com>
8704 * gst/gstelement.c: (gst_element_pads_activate):
8705 We need to deactivate src pads first and then sink pads.
8706 The reason is the src pads might be blocking while holding the streaming
8707 lock, so we need to deactivate them first so that deactivating the sink
8708 pads doesn't block (since it will require the streaming lock).
8710 2006-06-22 Wim Taymans <wim@fluendo.com>
8712 * libs/gst/base/gstbasetransform.c:
8713 (gst_base_transform_buffer_alloc):
8714 Forgot to remove two unneeded unrefs.
8715 Simplify a check _is_equal allready checks the obvious case.
8717 2006-06-22 Wim Taymans <wim@fluendo.com>
8719 * docs/design/part-block.txt:
8720 Some docs about what pad_block should do.
8722 2006-06-22 Wim Taymans <wim@fluendo.com>
8724 * gst/gstcaps.c: (gst_caps_replace):
8725 Fix crasher when passed NULL. Doc clarification.
8726 Optimize for the trivial case.
8728 * gst/gstpipeline.c: (gst_pipeline_change_state):
8731 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
8732 Small documentation cleanup.
8734 * libs/gst/base/gstbasetransform.c:
8735 (gst_base_transform_buffer_alloc):
8736 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
8737 is what we need and it avoids a whole lot of redundant
8738 refcount operations.
8740 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
8742 Patch by: Philip Jägenstedt <philip at lysator liu se>
8744 * docs/manual/advanced-dataaccess.xml:
8745 Fix 'Embedding static elements' section to use
8746 GST_PLUGIN_DEFINE_STATIC (#345607).
8748 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8750 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
8751 Attempt to 'fix' spuriously failing test case: it seems like the
8752 timeout of half a second is simply too small when the system is under
8753 load otherwise, and the timeout doesn't really seem to serve any
8754 particular purpose here. Give the pipeline a few seconds to preroll
8755 first, and then give it another half a second to go from PAUSED to
8756 PLAYING and marshal the message into the main thread.
8758 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8760 * tools/gst-feedback-m.m:
8761 Don't only use unversioned tools, try versioned tools as well
8764 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
8766 * gst/gstbus.c: (gst_bus_class_init):
8767 Fix some typos, make docs more explicit.
8769 2006-06-20 Wim Taymans <wim@fluendo.com>
8771 * tests/check/gst/gstghostpad.c: (block_callback),
8772 (GST_START_TEST), (gst_ghost_pad_suite):
8773 Added some more ghostpad tests, mainly blocking
8776 2006-06-16 Wim Taymans <wim@fluendo.com>
8778 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
8779 (gst_file_sink_close_file), (gst_file_sink_do_seek),
8780 (gst_file_sink_event), (gst_file_sink_render):
8781 * plugins/elements/gstfilesink.h:
8782 Check if we can seek in the file instead of assuming
8783 we always can. Post an error when we are asked to seek in a
8784 non-seekable file (like a fifo). Fixes #343312.
8787 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
8789 * tools/gst-launch.1.in:
8790 Un-garble (fourcc) bit in filtered caps section.
8792 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
8794 * docs/manual/advanced-autoplugging.xml:
8795 * docs/manual/basics-helloworld.xml:
8796 * docs/manual/highlevel-components.xml:
8797 Don't leak bus reference in sample code.
8799 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
8802 Add default for new --enable-plugin-docs switch.
8805 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
8809 Use new ENABLE_PLUGIN_DOCS conditional.
8811 2006-06-14 Wim Taymans <wim@fluendo.com>
8813 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
8814 Make it clear with a FIXME and a real define what the #if 0
8815 previously disabled.
8817 2006-06-14 Wim Taymans <wim@fluendo.com>
8819 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
8820 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8821 * libs/gst/base/gstbasetransform.c:
8822 (gst_base_transform_sink_eventfunc):
8823 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
8824 Don't randomly and silently reset a segment when the format
8825 changes as this is a bug somewhere upstream. Fixes #330379.
8827 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
8829 Patch by: Wouter Paesen <wouter at kangaroot net>
8831 * libs/gst/controller/gstcontroller.c:
8832 (gst_controlled_property_new):
8833 Fix controlling of float properties (#344849).
8835 * tests/check/libs/controller.c:
8836 (gst_test_mono_source_get_property),
8837 (gst_test_mono_source_set_property),
8838 (gst_test_mono_source_class_init), (GST_START_TEST):
8839 While we're at it, add some float stuff to unit test.
8841 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
8844 * docs/images/gdp-header.svg:
8846 * docs/libs/Makefile.am:
8847 * docs/libs/gdp-header.png:
8848 * libs/gst/dataprotocol/dataprotocol.c:
8849 add it to the API docs
8850 * docs/manual/intro-motivation.xml:
8853 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
8855 * gst/gst.c: (scan_and_update_registry), (init_post):
8856 If the fork()'ed child process can't write the updated registry cache
8857 file to disk for some reason, make it exit with a failure exit code,
8858 so that the parent can then re-scan the plugins itself and update the
8859 registry structures in memory and work with that (rather than failing
8860 when creating elements because seemingly no plugins are available).
8861 Refactor registry scanning code into separate function for this and
8862 also separate fork() and non-fork() code paths. Fixes #344748.
8864 2006-06-13 Wim Taymans <wim@fluendo.com>
8866 * docs/manual/advanced-dataaccess.xml:
8867 Fix wrong PluginDesc. Fixes #344755.
8869 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
8871 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
8872 Fix silly bug that prevented us from creating
8873 ~/.gstreamer-0.10 and writing the registry in one
8874 go (the first call to g_mkstemp() would overwrite the
8875 placeholder in the template string, so the second call
8876 to g_mkstemp() after creating the missing directory
8877 would then error out with 'invalid argument').
8879 2006-06-13 Edward Hervey <edward@fluendo.com>
8881 * gst/gst.c: (init_post):
8884 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
8886 * gst/glib-compat-private.h:
8887 * gst/glib-compat.c:
8888 * gst/glib-compat.h:
8889 * gst/gstvalue.c: (gst_value_serialize_flags):
8890 remove GLib 2.6 compatibility code
8892 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
8894 * gst/parse/Makefile.am:
8895 Fix build with 'make -j N' even more (#340016).
8897 2006-06-12 Wim Taymans <wim@fluendo.com>
8899 * docs/gst/gstreamer-sections.txt:
8902 2006-06-12 Wim Taymans <wim@fluendo.com>
8904 * gst/gstsegment.c: (gst_segment_set_duration),
8905 (gst_segment_set_last_stop), (gst_segment_set_seek),
8906 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8907 (gst_segment_to_running_time), (gst_segment_clip):
8908 Use G_UNLIKELY to help the compiler a bit.
8910 2006-06-12 Wim Taymans <wim@fluendo.com>
8912 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
8914 * gst/gstevent.c: (gst_event_get_type):
8916 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8918 constify quark registration strings. Fixes #344115
8919 Avoid unneeded type checking is _pad_push() by internally
8920 calling gst_pad_chain_unchecked().
8922 2006-06-12 Wim Taymans <wim@fluendo.com>
8924 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
8925 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
8926 (gst_subbuffer_finalize), (gst_buffer_create_sub),
8927 (gst_buffer_is_span_fast), (gst_buffer_span):
8928 Init _type for consistency.
8929 Use _FLAGS macro to avoid type check.
8930 Avoid unneeded type checks in subbufer code.
8932 2006-06-12 Wim Taymans <wim@fluendo.com>
8934 * gst/gst.c: (gst_debug_help):
8935 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
8936 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
8937 (gst_plugin_feature_list_free):
8938 * gst/gstregistry.c: (gst_registry_add_plugin),
8939 (gst_registry_add_feature), (gst_registry_plugin_filter),
8940 (gst_registry_feature_filter), (gst_registry_find_plugin),
8941 (gst_registry_find_feature), (gst_registry_get_plugin_list),
8942 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
8943 * gst/gstregistryxml.c: (load_feature),
8944 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
8945 * gst/gstminiobject.c: (gst_mini_object_unref),
8946 (gst_mini_object_replace), (gst_value_mini_object_free),
8947 (gst_value_mini_object_copy):
8948 Use _CAST macros to avoid unneeded type checking.
8949 Added some more G_UNLIKELY.
8951 2006-06-12 Wim Taymans <wim@fluendo.com>
8954 Avoid unneeded type checking.
8955 API: GST_BUFFER_IS_DISCONT
8957 * gst/gstminiobject.h:
8958 Avoid type check in flag accessor.
8960 * gst/gstelementfactory.h:
8962 * gst/gstpluginfeature.h:
8964 API: GST_ELEMENT_FACTORY_CAST
8965 API: GST_PLUGIN_CAST
8966 API: GST_PLUGIN_FEATURE_CAST
8968 2006-06-12 Wim Taymans <wim@fluendo.com>
8970 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
8972 Add G_UNLIKELY in type registration.
8973 Avoid type check in _ref/_unref since that is also
8976 2006-06-12 Wim Taymans <wim@fluendo.com>
8978 * gst/gsterror.c: (gst_g_error_get_type):
8979 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
8980 (gst_static_pad_template_get_type):
8981 * gst/gsttaglist.c: (gst_tag_list_get_type):
8982 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
8983 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
8984 * gst/gsturi.c: (gst_uri_handler_get_type):
8985 * gst/gstvalue.c: (gst_date_get_type):
8986 * gst/gstxml.c: (gst_xml_get_type):
8987 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
8988 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
8989 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
8990 Add G_UNLIKELY in type registration.
8992 2006-06-12 Wim Taymans <wim@fluendo.com>
8994 * tools/gst-inspect.c: (print_signal_info):
8995 Properly print enum values.
8997 2006-06-12 Wim Taymans <wim@fluendo.com>
8999 * gst/gstinfo.c: (gst_debug_set_active),
9000 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
9002 Add some G_[UN]LIKELY.
9003 Maintain __gst_debug_min to avoid formatting the arguments of
9004 debug messages that will be dropped anyway to avoid a lot of
9005 overhead from the debugging system.
9007 2006-06-11 Stefan Kost <ensonic@users.sf.net>
9011 add missing files containing translatable strings, tell intltool about
9014 2006-06-11 Stefan Kost <ensonic@users.sf.net>
9016 * tests/check/libs/.cvsignore:
9017 add test-binary to ignore list
9019 2006-06-11 Stefan Kost <ensonic@users.sf.net>
9021 * docs/libs/gstreamer-libs-docs.sgml:
9022 reorder (put dp into a chapter) and indent
9024 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
9029 === release 0.10.8 ===
9031 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
9034 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
9036 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
9038 * gst/gst.c: (init_post):
9039 move pid declaration to declaration block
9041 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
9043 * gst/gst.c: (init_post):
9044 use _exit() instead of exit() in our forked child; this ensures
9045 that none of the registered exit handlers from whatever is using
9046 GStreamer get executed. This fixes gnome-mixer-applet failing
9047 to load, because ORBit would shut down.
9048 Spotted by: Edward Hervey <edward@fluendo.com>
9049 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
9052 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9057 === release 0.10.7 ===
9059 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
9062 releasing 0.10.7, "Soepeke, ik zie ou"
9064 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
9087 * win32/common/config.h:
9090 2006-06-07 Wim Taymans <wim@fluendo.com>
9092 * gst/gstindex.c: (gst_index_gtype_resolver):
9093 * tools/gst-xmlinspect.c: (print_plugin_info):
9094 Fix leak spotted by coverity checker. Fixes #343827
9095 Fix another other leak found by paolo borelli.
9097 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9099 * libs/gst/dataprotocol/dataprotocol.c:
9100 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
9101 (gst_dp_version_get_type), (gst_dp_init),
9102 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
9103 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
9104 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
9105 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
9106 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
9107 (gst_dp_packetizer_free):
9108 * libs/gst/dataprotocol/dataprotocol.h:
9109 API: add a GstDPPacketizer object, and create/free functions
9110 API: add GstDPVersion enum
9111 Add 1.0 event function that uses the string serialization
9112 Serialize more useful buffer flags
9115 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9117 * tests/check/Makefile.am:
9118 * tests/check/gst/gstabi.c:
9119 * tests/check/gst/struct_ppc64.h:
9120 * tests/check/libs/libsabi.c:
9121 * tests/check/libs/struct_ppc64.h:
9122 add ppc64 structure sizes
9124 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9126 * tests/check/Makefile.am:
9127 * tests/check/gst/gstabi.c:
9128 * tests/check/gst/struct_x86_64.h:
9129 * tests/check/libs/libsabi.c:
9130 * tests/check/libs/struct_x86_64.h:
9131 generate and add structure size lists for x86_64
9133 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
9135 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
9136 * libs/gst/check/gstcheck.h:
9137 factor out the method from tests that checks size of structures,
9138 and add code to generate the header containing these sizes
9139 * tests/check/gst/gstabi.c: (GST_START_TEST):
9140 * tests/check/gst/struct_i386.h:
9141 * tests/check/libs/libsabi.c: (GST_START_TEST):
9142 * tests/check/libs/struct_i386.h:
9145 2006-06-06 Michael Smith <msmith@fluendo.com>
9148 Don't use c++-style comments, fixes #343929
9150 2006-06-05 Edward Hervey <edward@fluendo.com>
9153 plugin_paths is not used if we build without registry support.
9155 * gst/gstsegment.c: (gst_segment_copy):
9156 _copy() was always returning NULL...
9158 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9160 * libs/gst/dataprotocol/dataprotocol.c:
9161 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9162 (gst_dp_packet_from_event):
9165 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9167 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
9168 make sure we unset caps
9170 2006-06-02 Michael Smith <msmith@fluendo.com>
9172 * libs/gst/check/gstcheck.c: (gst_check_init),
9173 (gst_check_chain_func):
9174 * libs/gst/check/gstcheck.h:
9175 Add a cond/mutex to the check support lib, signal this whenever we
9176 add to the buffers list. This will allow tests to not busy-wait on
9179 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9181 * libs/gst/dataprotocol/dataprotocol.c:
9182 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9183 (gst_dp_packet_from_event):
9184 factor out some common header init code
9186 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
9188 * docs/libs/gstreamer-libs-sections.txt:
9189 * docs/libs/tmpl/gstdataprotocol.sgml:
9190 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
9191 * libs/gst/dataprotocol/dataprotocol.h:
9192 API: make gst_dp_crc() public
9194 2006-06-01 Stefan Kost <ensonic@users.sf.net>
9196 * plugins/indexers/gstindexers.c: (plugin_init):
9197 conditionally register fileindexer (fixes #343598)
9199 2006-06-01 Stefan Kost <ensonic@users.sf.net>
9201 * gst/gsttagsetter.h:
9202 Can't cast ifaces to a class
9204 * libs/gst/net/gstnetclientclock.h:
9205 * libs/gst/net/gstnettimeprovider.h:
9206 * plugins/elements/gstfakesink.h:
9207 * plugins/elements/gstfakesrc.h:
9208 * plugins/elements/gstfdsink.h:
9209 * plugins/elements/gstfdsrc.h:
9210 * plugins/elements/gstfilesink.h:
9211 * plugins/elements/gstfilesrc.h:
9212 * plugins/elements/gstidentity.h:
9213 * plugins/elements/gstqueue.h:
9214 * plugins/elements/gsttee.h:
9215 * plugins/indexers/gstfileindex.c:
9216 * plugins/indexers/gstmemindex.c:
9217 * tests/old/examples/plugins/example.h:
9218 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
9220 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
9222 * libs/gst/dataprotocol/dataprotocol.c:
9223 (gst_dp_header_from_buffer):
9224 make sure we zero the whole ABI-compatible area
9226 2006-06-01 Wim Taymans <wim@fluendo.com>
9228 Patch by: Alessandro Decina <alessandro at nnva dot org>
9230 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
9231 Make sure the EOS flag is cleared from pads after a flush
9232 or stop. Fixes #343538.
9234 * tests/check/libs/collectpads.c: (GST_START_TEST),
9235 (gst_collect_pads_suite):
9236 Added test for collectpads reusage after EOS.
9238 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
9241 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
9242 * win32/common/libgstbase.def:
9243 export gst_collect_pads_set_flushing
9244 * win32/common/libgstreamer.def:
9245 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
9246 gst_value_fraction_multiply
9247 * win32/vs6/gst_inspect.dsp:
9248 add a link to intl.lib
9250 2006-05-30 Wim Taymans <wim@fluendo.com>
9252 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9253 (gst_collect_pads_chain):
9254 Handle the case where a pad is removed from the collection
9255 that could cause the other pads to become collectable.
9257 2006-05-30 Wim Taymans <wim@fluendo.com>
9260 Clarify the use of _release_request_pad() and
9261 _get_request_pad() a bit better.
9263 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
9264 (gst_adapter_take_buffer):
9265 Fix some doc and comment typos.
9267 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
9269 * docs/gst/gstreamer-sections.txt:
9270 * docs/libs/gstreamer-libs-sections.txt:
9271 add declared symbols
9273 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
9275 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9276 Add debug that can be enabled using a #define at the top of the file,
9277 for dumping stats about how late/early we were when waking up from
9278 waiting on the clock.
9280 2006-05-30 Wim Taymans <wim@fluendo.com>
9282 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
9283 When rebuilding the pad list, don't leak the previous list.
9285 2006-05-30 Wim Taymans <wim@fluendo.com>
9287 Patch by: Lutz Mueller <lutz at topfrose dot de>
9289 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9290 (gst_base_src_get_query_types), (gst_base_src_update_length):
9291 Publish supported query types.
9292 Update last_stop field in get_range mode so the position
9293 query works. Fixes #342321.
9295 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
9297 * docs/gst/gstreamer-sections.txt:
9298 * gst/gsttaglist.c: (_gst_tag_initialize):
9300 API: add GST_TAG_PREVIEW_IMAGE (#343341).
9302 2006-05-30 Wim Taymans <wim@fluendo.com>
9304 Patch by: Alessandro Decina <alessandro at nnva dot org>
9306 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9307 Unlock mutex when removing an unknown pad.
9310 * tests/check/Makefile.am:
9311 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
9312 (push_event), (setup), (teardown), (GST_START_TEST),
9313 (gst_collect_pads_suite), (main):
9314 Added collecpads check, disabled for now as check crashes for
9317 2006-05-29 Wim Taymans <wim@fluendo.com>
9319 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
9320 Don't leak pads lists.
9322 2006-05-29 Wim Taymans <wim@fluendo.com>
9324 * docs/libs/gstreamer-libs-sections.txt:
9325 * libs/gst/base/gstcollectpads.c:
9326 (gst_collect_pads_set_flushing_unlocked),
9327 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9328 (gst_collect_pads_stop):
9329 * libs/gst/base/gstcollectpads.h:
9330 API: gst_collect_pads_set_flushing()
9331 Added api to set the pads to flushing, useful for seeking
9332 code in elements using collectpads.
9333 Clear segment when receiving a flush.
9335 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
9337 * gst/gst.c: (add_path_func), (init_post):
9338 Don't scan registry paths passed via --gst-plugin-path immediately
9339 (will crash, because absolutely nothing is set up and no types are
9340 registered etc.); do this later in init_post(). Fixes #343057.
9342 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
9344 * gst/gst.c: (init_post):
9345 if we have fork, fork while reading/rebuilding the registry
9346 so the parent doesn't take the hit of having all plugins loaded
9347 in memory. Fixes #342777.
9349 Check if we have fork()
9350 * win32/common/config.h.in:
9353 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
9355 * plugins/elements/gstelements.c:
9356 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9357 (gst_file_src_init), (gst_file_src_set_property),
9358 (gst_file_src_get_property), (gst_file_src_start):
9359 * plugins/elements/gstfilesrc.h:
9360 API: GstFileSrc::use-mmap
9362 Add a use-mmap property to enable easier testing of all code paths.
9363 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
9364 in the absence of gnomevfssrc. (Closes #340501)
9366 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9368 * tools/gst-inspect.c:
9369 Add missing include, removes warning of ngettext not being defined on
9372 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
9374 * gst/gstvalue.c: (gst_value_deserialize_fraction):
9375 Handle NULL input and output pointers silently as a failed conversion,
9376 rather than g_warnings.
9378 2006-05-25 Wim Taymans <wim@fluendo.com>
9380 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
9381 Initialize variable before using. Fixes #342820.
9383 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
9385 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
9386 Fix off-by-one bug that would only allow peeks of N-1 bytes
9387 from the start even if the buffer to typefind on contains
9388 in fact N bytes of data (makes vorbis typefinding from a
9389 vorbis identification header buffer work).
9391 * tests/check/Makefile.am:
9392 * tests/check/libs/.cvsignore:
9393 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9394 (gst_typefindhelper_suite), (main), (foobar_typefind),
9396 Add very basic unit test for gst_type_find_helper_for_buffer()
9397 that checks for the problem fixed above.
9399 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
9401 * tools/gst-inspect.c: (print_interfaces),
9402 (print_element_properties_info), (print_element_list), (main):
9403 add more translatable strings
9405 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
9407 Patch by: Julien Moutte <julien at moutte net>
9409 * docs/gst/gstreamer-sections.txt:
9410 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9412 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9413 (gst_fake_sink_preroll):
9414 * plugins/elements/gstfakesink.h:
9415 API: Add new GstFakeSink::preroll-handoff signal (#337100).
9417 2006-05-23 Wim Taymans <wim@fluendo.com>
9419 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9421 Added _CUSTOM error and success GstFlowReturn that can be
9422 used be elements internally.
9423 Added macro to check for SUCCESS flowreturns.
9424 API: GST_FLOW_CUSTOM_SUCCESS
9425 API: GST_FLOW_CUSTOM_ERROR
9426 API: GST_FLOW_IS_SUCCESS
9428 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9429 Added check for GstFlowReturn sanity.
9431 2006-05-23 Wim Taymans <wim@fluendo.com>
9433 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9435 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9436 (gst_collect_pads_event):
9437 clear/reset segment info in FLUSH_STOP.
9440 2006-05-22 Stefan Kost <ensonic@users.sf.net>
9442 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9443 (gst_collect_pads_check_collected):
9444 Flush queued buffer on _stop(), fixes playing again (#342454)
9446 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
9448 * tests/check/gst/gststructure.c: (GST_START_TEST),
9449 (gst_structure_suite):
9450 add a test for a complete structure
9452 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
9454 * docs/faq/developing.xml:
9456 * docs/faq/troubleshooting.xml:
9457 * docs/faq/using.xml:
9458 Some minor FAQ updates that won't change the fact that
9459 our FAQ is badly structured, full of information hardly
9460 anyone new to GStreamer needs to know and lacking lots
9461 of information people constantly ask for.
9463 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
9465 * gst/gstpad.c: (gst_pad_set_caps):
9466 Short-circuit gst_pad_set_caps if setting the existing
9467 caps pointer again, and avoid printing debug and
9468 reffing/unreffing the caps.
9470 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9471 There's actually no need to set the caps before pushing -
9472 the acceptcaps method will handle it anyway.
9474 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
9476 * docs/gst/gstreamer-sections.txt:
9477 * win32/common/libgstreamer.def:
9478 * gst/gstutils.c: (gst_element_seek_simple):
9480 API: add gst_element_seek_simple() (#342238).
9482 2006-05-18 Edward Hervey <edward@fluendo.com>
9484 * gst/gsttypefind.c: (gst_type_find_get_type):
9485 * gst/gsttypefind.h:
9486 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
9487 registered for GstTypeFind pointers. This allows wrapping the structure
9488 in bindings (i.e. gst-python).
9490 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
9492 * gst/gsttagsetter.c:
9493 Docs additions and fixes (see #339918).
9495 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
9497 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9498 The caps intersection algorithm can produce multiple copies of the
9499 caps. Until that is fixed, we need to simplify the result to be
9500 sure whether the allowed caps are fixed or not.
9502 * plugins/elements/gstqueue.c: (gst_queue_init),
9503 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9504 (gst_queue_push_one):
9505 Proxied buffer alloc should not set the caps on the source pad.
9506 When pushing buffers, we always accept the caps change that triggers.
9507 This prevents negotiation errors caused by caps changing mid-stream
9508 and then being refused on our source pad (because upstream is now
9509 refusing those caps).
9511 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
9513 * tests/examples/helloworld/helloworld.c: (main):
9514 Must plug audioconvert and audioresample between decoder
9517 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
9519 * gst/gstregistryxml.c: (read_string), (load_pad_template),
9520 (load_feature), (load_plugin):
9521 Allow empty strings for some of the plugin fields so we don't
9522 drop valid plugin entries that were written out correctly
9525 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
9527 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9528 Use g_remove and g_rename instead of remove and rename that don't
9529 handle utf8 characters. rename was failing for users who had specific
9530 characters in their name then the registry was built at each
9532 * win32/vs6/gst_inspect.dsp:
9533 * win32/vs6/gst_launch.dsp:
9534 * win32/vs6/libgstbase.dsp:
9535 * win32/vs6/libgstcoreelements.dsp:
9536 * win32/vs6/libgstreamer.dsp:
9537 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
9538 build of libgstreamer and clean unused libraries in projects link
9541 2006-05-17 Edward Hervey <edward@fluendo.com>
9543 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9544 The queue is not responsible for pushing an EOS when receiving a fatal
9545 flow error. It's up to the real element driving the pipeline to do that.
9547 2006-05-16 Edward Hervey <edward@fluendo.com>
9549 * plugins/elements/gstqueue.c: (gst_queue_push_one):
9550 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9551 buffer returned a fatal error. It should just send an EOS and stop
9553 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9554 when pushing buffers on the queue and will be able to handle the event.
9556 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
9558 * docs/manual/basics-bins.xml:
9559 * docs/manual/basics-init.xml:
9560 Fix typos and minor errors in sample code (#341856).
9562 2006-05-16 Wim Taymans <wim@fluendo.com>
9564 * docs/design/part-qos.txt:
9565 Fix indexes in formulas to make more sense.
9567 2006-05-15 Wim Taymans <wim@fluendo.com>
9569 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9570 Don't report POSITION based on clock time if sync is
9573 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
9576 Add cast to make compiler happy - refcount variable was a gint
9577 in GstObject but is a guint in GObject and g_atomic_int_get()
9580 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
9582 * gst/parse/Makefile.am:
9583 chain commands using &&, which also makes parallel make work
9585 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
9587 * docs/gst/gstreamer-sections.txt:
9593 === release 0.10.6 ===
9595 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
9598 releasing 0.10.6, "Take the cannoli"
9600 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
9602 * tools/gst-launch.c: (print_tag):
9603 Fix use of uninitialized variable in the hypothetical
9604 case that some broken plugin creates a GST_TAG_IMAGE
9605 tag containing a NULL buffer (#341667).
9607 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
9609 * tools/gst-launch.c: (print_tag):
9610 Print something more intelligible for image tags when
9611 using the -t switch (#341556).
9613 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
9618 define GST_MAJORMINOR so we have it available in win32/common/config.h
9619 Possibly remove it from our Makefile.am files later
9620 * win32/common/config.h:
9621 * win32/common/config.h.in:
9622 added GST_MAJORMINOR
9623 * win32/common/gstenumtypes.c: (register_gst_resource_error):
9624 * win32/common/gstversion.h:
9627 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
9630 Update win32 files listing.
9631 * win32/common/gstversion.h:
9632 Add GST_MAJORMINOR definition.
9633 * win32/common/libgstreamer.def:
9634 Add new exported functions.
9636 2006-05-12 Michael Smith <msmith@fluendo.com>
9638 * gst/gstplugin.c: (gst_plugin_load_file):
9639 If an so file has no plugin entry point, unload the module.
9641 2006-05-11 Wim Taymans <wim@fluendo.com>
9643 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9644 (gst_queue_set_property):
9645 Don't forget to signal the _chain or _loop function
9646 when the queue size or thresholds change since that might
9647 cause them to make progres again.
9649 2006-05-11 Stefan Kost <ensonic@users.sf.net>
9651 * gst/gstclock.c: (gst_clock_class_init):
9652 * gst/gstindex.c: (gst_index_class_init):
9653 * gst/gstobject.c: (gst_object_class_init):
9654 * gst/gstpad.c: (gst_pad_class_init):
9655 * gst/gstpipeline.c: (gst_pipeline_class_init):
9656 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9657 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9658 * libs/gst/base/gstbasetransform.c:
9659 (gst_base_transform_class_init):
9660 * libs/gst/net/gstnetclientclock.c:
9661 (gst_net_client_clock_class_init):
9662 * libs/gst/net/gstnettimeprovider.c:
9663 (gst_net_time_provider_class_init):
9664 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9665 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9666 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9667 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9668 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9669 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9670 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9671 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9672 * plugins/elements/gsttee.c: (gst_tee_class_init):
9673 * tests/old/examples/plugins/example.c: (gst_example_class_init):
9674 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9675 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9677 2006-05-11 Wim Taymans <wim@fluendo.com>
9679 * gst/gstbuffer.c: (_gst_buffer_initialize):
9680 Register subbufer along with the buffer type so that
9681 it does not accidentally gets registered from N
9682 different streaming threads in a non threadsafe way.
9684 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
9689 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9690 gst_event_ref() and gst_message_ref() functions again
9691 (ugly hack, please do fix if there's a better way besides
9692 overrides.txt, which doesn't seem to work).
9694 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9696 * libs/gst/check/gstcheck.h:
9697 add an assert for setting state to avoid lots of repetitive code
9700 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9702 * gst/gstvalue.c: (gst_value_serialize_flags):
9703 fix a leak if no flags are set
9704 * tests/check/gst/gstvalue.c: (GST_START_TEST):
9707 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
9709 * docs/manual/basics-pads.xml:
9710 Expand a bit on caps and filtered links and update
9711 examples that were still using the no longer existing
9712 gst_pad_link_filtered() (#338206).
9714 2006-05-10 Wim Taymans <wim@fluendo.com>
9716 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9717 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9718 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9719 (gst_collect_pads_stop):
9720 * libs/gst/base/gstcollectpads.h:
9721 No need to call _stop in _finalize.
9722 Iterate the main pad list in _finalize.
9723 Added some more debug.
9724 Free lists and data in the right order.
9725 Also free data whem doing _remove_pad when stopped for
9726 backward compatibility protect ::started with PAD_LOCK as
9729 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9731 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
9732 (gst_structure_parse_value):
9734 rename a method so that it actually says what it does better
9736 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
9738 * gst/gstevent.c: (_gst_event_initialize):
9739 * gst/gstformat.c: (_gst_format_initialize):
9740 make sure some essential types used by events are registered
9741 as part of gst_init()
9742 * gst/gstvalue.c: (gst_value_serialize_flags):
9743 if no flags are set, serialize them to a value that represents NONE
9744 so that deserializing them works
9745 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
9746 add tests for serialization and deserialization of flags
9748 2006-05-10 Wim Taymans <wim@fluendo.com>
9750 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
9751 (gst_collect_pads_collect_range), (gst_collect_pads_available),
9752 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
9753 (gst_collect_pads_event), (gst_collect_pads_chain):
9756 Catch and return errors from the collect function
9757 Refuse data on eos pads.
9759 2006-05-10 Edward Hervey <edward@fluendo.com>
9761 * gst/gstinterface.h:
9762 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
9763 GInterface type checking.
9764 They were previously using non-defined macros.
9766 2006-05-09 Wim Taymans <wim@fluendo.com>
9768 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
9769 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
9770 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
9771 (gst_collect_pads_start), (gst_collect_pads_stop),
9772 (gst_collect_pads_peek), (gst_collect_pads_pop),
9773 (gst_collect_pads_available), (gst_collect_pads_read),
9774 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
9775 (gst_collect_pads_is_collected), (gst_collect_pads_event),
9776 (gst_collect_pads_chain):
9777 * libs/gst/base/gstcollectpads.h:
9778 Clean up the mess that is collectpads, add comments and
9779 FIXMEs where needed.
9780 Maintain a separate pad list so we can add pads while
9781 collecting the other ones. For this we need a new separate
9783 Fix memory leak in finalize.
9784 Refactor some weird code to set/unset pad flushing flags, mark
9786 Don't crash in _available, _read, _flush when we're EOS.
9788 * tests/check/libs/.cvsignore:
9789 Ignore adapter check binary.
9791 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9793 * gst/gstindex.c: (gst_index_resolver_get_type):
9794 * plugins/elements/gstfakesink.c:
9795 (gst_fake_sink_state_error_get_type):
9796 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
9797 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
9798 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
9799 Const-ify GEnumValue arrays.
9801 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9803 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
9804 Add test case for flags + gst_buffer_make_metadata_writable().
9806 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9808 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
9809 gst_buffer_make_metadata_writable() should maintain the
9810 buffer flags (those that make sense at least) (see #340859).
9812 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9814 * tools/gst-inspect.c:
9815 * tools/gst-launch.c:
9816 * tools/gst-typefind.c:
9817 * tools/gst-xmlinspect.c:
9819 Fix up includes: need to include stdlib.h in tools.h for exit().
9821 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
9823 * gst/gsttaglist.c: (_gst_tag_initialize):
9825 API: add GST_TAG_IMAGE tag (#340721).
9827 2006-05-08 Wim Taymans <wim@fluendo.com>
9830 Added some docs for the segment query.
9832 2006-05-08 Wim Taymans <wim@fluendo.com>
9834 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
9835 (gst_base_src_loop), (gst_base_src_change_state):
9836 Always push non-flushing serialized events in the streaming
9839 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
9841 * gst/gsterror.c: (_gst_stream_errors_init):
9842 Add a missing error string.
9844 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
9846 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
9847 Add applied_rate to the debug
9849 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
9850 Copy applied_rate into the outgoing NEWSEGMENT event
9852 2006-05-08 Wim Taymans <wim@fluendo.com>
9854 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
9856 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
9857 (gst_base_sink_change_state):
9858 call ::unlock before taking the PREROLL_LOCK so we can safely
9859 handle elements that lock in ::render.
9862 2006-05-08 Edward Hervey <edward@fluendo.com>
9864 * autogen.sh: (CONFIGURE_DEF_OPT):
9865 Darwin's libtoolize is in fact called glibtoolize.
9866 Adding glibtoolize to the list of accepted names for libtoolize.
9868 2006-05-08 Wim Taymans <wim@fluendo.com>
9870 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9871 Unify error handling, don't post an error message
9872 when a push() returns EOS but perform our normal EOS
9873 handling code. Fixes #340772.
9875 2006-05-08 Wim Taymans <wim@fluendo.com>
9877 * docs/design/part-overview.txt:
9878 Make upsteam/downstream concepts more clear.
9879 Give an example of serialized/non-serialized events.
9881 * docs/design/part-events.txt:
9882 * docs/design/part-streams.txt:
9883 Mention applied_rate.
9885 * docs/design/part-trickmodes.txt:
9886 Mention applied rate, flesh out some more use cases.
9888 * gst/gstevent.c: (gst_event_new_new_segment),
9889 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
9890 (gst_event_parse_new_segment_full), (gst_event_new_tag),
9891 (gst_event_parse_tag), (gst_event_new_buffer_size),
9892 (gst_event_parse_buffer_size), (gst_event_new_qos),
9893 (gst_event_parse_qos), (gst_event_parse_seek),
9894 (gst_event_new_navigation):
9896 Add applied_rate field to NEWSEGMENT event.
9897 API: gst_event_new_new_segment_full()
9898 API: gst_event_parse_new_segment_full()
9900 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
9901 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
9902 (gst_segment_to_stream_time), (gst_segment_to_running_time):
9904 Add applied_rate to GstSegment structure.
9905 Make calculation of stream_time and running_time more correct
9906 wrt rate/applied_rate.
9908 API: GstSegment::applied_rate field
9909 API: gst_segment_set_newsegment_full();
9911 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9912 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
9913 * libs/gst/base/gstbasetransform.c:
9914 (gst_base_transform_sink_eventfunc),
9915 (gst_base_transform_handle_buffer):
9916 Parse and use applied_rate in the GstSegment field.
9918 * tests/check/gst/gstevent.c: (GST_START_TEST):
9919 Add check for applied_rate field.
9921 * tests/check/gst/gstsegment.c: (GST_START_TEST),
9922 (gstsegments_suite):
9923 Add more checks for various GstSegment operations.
9925 2006-05-08 Wim Taymans <wim@fluendo.com>
9927 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
9928 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
9929 (gst_base_sink_get_position), (gst_base_sink_change_state):
9930 Store the sync time of the buffer end position separatly in a
9931 new variable eos_rtime so we can properly sync the EOS event.
9933 Fix the docs for gst_base_sink_set_qos_enabled().
9934 Don't set segment start to invalid value when we receive a
9935 non TIME newsegment.
9936 get closer to handling position reporting for negative rates
9939 2006-05-07 Stefan Kost <ensonic@users.sf.net>
9942 Docs about how to print caps for debug purposes.
9944 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
9945 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
9947 2006-05-07 Stefan Kost <ensonic@users.sf.net>
9950 use full enum names and preprend a '%' in docs strings to make recent
9951 gtk-doc turn that into a link
9953 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9955 * docs/manual/basics-bins.xml:
9956 * docs/manual/basics-bus.xml:
9957 * docs/manual/basics-pads.xml:
9958 Some typo fixes, some additions, some clarifications.
9960 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9962 * tools/gst-inspect.c: (main):
9963 * tools/gst-launch.c: (main):
9964 * tools/gst-run.c: (main):
9965 * tools/gst-typefind.c: (main):
9966 * tools/gst-xmlinspect.c: (main):
9967 Use the string passed to g_option_context_new() for
9968 what it's intended for - the program name is already
9971 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
9973 * tools/Makefile.am:
9974 * tools/gst-inspect.c: (main):
9975 * tools/gst-launch.c: (main):
9976 * tools/gst-xmlinspect.c: (main):
9978 Add back --version command line option (#340460).
9980 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
9981 Add --version option and use GOption for argument parsing; refactor a
9982 bit; accept directories as arguments and recurse into them; lastly,
9983 print a decent error message when things go wrong.
9985 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
9987 * docs/manual/basics-bins.xml:
9988 Don't mention GstThread (#340611)
9989 * docs/manual/basics-elements.xml:
9990 Update link to GObject tutorial (#340607)
9992 2006-05-05 Wim Taymans <wim@fluendo.com>
9995 * gst/gstminiobject.c:
9996 Add note about refcounting and miniobject/buffer writeability
9997 to docs. Fixes #340604
9999 * gst/gstelementfactory.h:
10000 Added some explanation about @klass.
10002 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
10004 * docs/manual/intro-motivation.xml:
10005 * docs/manual/manual.xml:
10006 Avoid CORBA & Bonobo references (#340598)
10008 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
10010 * docs/manual/basics-bus.xml:
10011 * docs/manual/basics-pads.xml:
10012 Fix up some inaccuracies and omissions (#340609)
10014 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
10016 * gst/gstghostpad.c:
10017 Small typo in docs (#340625)
10019 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
10021 * gst/parse/Makefile.am:
10022 Make 'make -j' proof (see #340698).
10024 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
10027 Require GLib-2.8 here as well.
10029 2006-05-05 Wim Taymans <wim@fluendo.com>
10031 * gst/glib-compat.c:
10032 * gst/gst.c: (init_pre):
10033 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10034 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
10035 (gst_object_dispatch_properties_changed):
10037 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10038 * gst/gststructure.c: (gst_structure_set_valist):
10039 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10040 Remove pre glib2.8 compatibility, fixes #340508
10042 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
10044 * gst/gsttaglist.h:
10045 Mention type of tags in doc blurbs.
10047 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
10049 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10050 (gst_pad_configure_src), (gst_pad_push):
10051 Restore acceptcaps checking behaviour now that good plugins have
10054 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
10056 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
10063 * gst/gstmessage.c:
10067 * gst/parse/Makefile.am:
10068 * libs/gst/base/gstadapter.c:
10069 * libs/gst/base/gstbasesrc.c:
10070 * libs/gst/base/gstpushsrc.c:
10071 * libs/gst/base/gsttypefindhelper.c:
10072 * plugins/elements/gstfakesrc.c:
10073 * plugins/elements/gstidentity.c:
10074 Make sure gstprivate.h and/or config.h are
10075 always included first, otherwise some of our
10076 defines (like _FILE_OFFSET_BITS) might be
10077 redefined in the system headers. Fixes build
10078 on opensolaris (#340016).
10080 2006-05-04 Wim Taymans <wim@fluendo.com>
10082 * docs/libs/gstreamer-libs-sections.txt:
10083 API: addition: gst_adapter_take_buffer()
10085 * libs/gst/base/gstadapter.c: (gst_adapter_push),
10086 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
10087 (gst_adapter_available_fast):
10088 * libs/gst/base/gstadapter.h:
10089 Prepare for optimizing the hell out of this hugely inefficient
10091 Added gst_adapter_take_buffer() so we can at least start thinking
10092 about subbuffering and merging.
10093 Added some comments.
10095 * tests/check/Makefile.am:
10096 * tests/check/libs/adapter.c: (GST_START_TEST),
10097 (gst_adapter_suite), (main):
10098 Added GstAdapter check.
10100 2006-05-04 Wim Taymans <wim@fluendo.com>
10102 * docs/design/part-overview.txt:
10103 Fix some typos, add blurb about buffer flags.
10105 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
10107 * docs/libs/gstreamer-libs-sections.txt:
10108 make sure GstBaseTransformClass shows up in the docs
10109 * libs/gst/base/gstbasetransform.c:
10110 * libs/gst/base/gstbasetransform.h:
10111 move docs so gtk-doc picks it up now
10113 2006-05-02 Stefan Kost <ensonic@users.sf.net>
10115 * docs/libs/gstreamer-libs-sections.txt:
10116 add missing symbols to docs
10118 2006-05-02 Stefan Kost <ensonic@users.sf.net>
10120 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10121 back out the newsegment handling change, see #340060 for ongoing
10124 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
10126 * tools/gst-run.c: (get_candidates), (main):
10127 Fix wrong g_file_test() usage (see glib docs for why it doesn't
10128 work); fix typo in error message. Fixes #340079.
10130 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
10132 * common/Makefile.am:
10133 * docs/Makefile.am:
10134 * docs/faq/Makefile.am:
10135 * docs/gst/Makefile.am:
10136 * docs/libs/Makefile.am:
10137 * docs/manual/Makefile.am:
10138 * docs/plugins/Makefile.am:
10139 * docs/pwg/Makefile.am:
10140 * docs/slides/Makefile.am:
10142 * common/upload.mak:
10143 move upload.mak to common
10145 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
10147 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10148 add more asserts on refcounts
10149 do more cleanup at end of tests
10150 fix test leaks showing in FC5
10152 2006-04-29 Stefan Kost <ensonic@users.sf.net>
10154 * plugins/elements/gsttypefindelement.c:
10155 (gst_type_find_element_handle_event):
10156 reverted wrong change and reflowed code to avoid others falling into
10159 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10161 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10162 fix changelog entry about last collectpads change,
10163 add notes about proper fix
10165 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10168 * gst/gstregistry.c: (gst_registry_scan_path_level),
10169 (gst_registry_scan_path):
10170 * gst/gstregistry.h:
10171 only write out registry if it has changed, fixes #338339
10173 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10176 * gst/gstpipeline.c:
10177 * plugins/elements/gstcapsfilter.c:
10178 * plugins/elements/gstfakesink.c:
10179 * plugins/elements/gstfakesrc.c:
10180 * plugins/elements/gstfdsink.c:
10181 * plugins/elements/gstfdsrc.c:
10182 * plugins/elements/gstfilesink.c:
10183 * plugins/elements/gstfilesrc.c:
10184 * plugins/elements/gstidentity.c:
10185 * plugins/elements/gstqueue.c:
10186 * plugins/elements/gsttee.c:
10187 * plugins/elements/gsttypefindelement.c:
10188 (gst_type_find_element_handle_event):
10189 make GstElementDetails const
10191 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10193 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
10194 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
10195 (gst_collect_pads_is_collected), (gst_collect_pads_event):
10196 more detailed debug and formatting cleanup,
10197 forward newsegments to src-pad (so that e.g. adder not eats them)
10199 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10201 * gst/gstutils.c: (gst_element_link_pads):
10202 cleanup double code
10204 2006-04-28 Stefan Kost <ensonic@users.sf.net>
10206 * libs/gst/controller/gstcontroller.c:
10207 (gst_controller_sync_values):
10209 * tests/check/libs/controller.c: (GST_START_TEST),
10210 (gst_controller_suite):
10211 a new test for live value handling
10213 2006-04-28 Wim Taymans <wim@fluendo.com>
10215 * gst/gstutils.c: (push_and_ref):
10216 Added some more docs.
10217 Fix refcount issue whith gst_element_found_tags() helper
10218 function. Fixes #338335
10220 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10221 Added testsuite for gst_element_found_tags().
10223 2006-04-28 Michael Smith <msmith@fluendo.com>
10225 * gst/gstvalue.c: (gst_value_serialize_flags):
10226 Avoid NULL dereference when trying to serialize flags containing
10229 2006-04-28 Michael Smith <msmith@fluendo.com>
10231 * plugins/elements/gsttypefindelement.c:
10232 (gst_type_find_element_handle_event):
10233 If we get EOS before any data is accumulated, don't use
10234 uninitialised local variables.
10236 2006-04-28 Michael Smith <msmith@fluendo.com>
10238 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10239 (gst_dp_event_from_packet):
10240 Fixes in reading/writing events over GDP (not currently used?) -
10241 dereferencing NULL events for unknown/invalid event types, memory
10242 leak, and change g_warning to GST_WARNING.
10244 2006-04-28 Wim Taymans <wim@fluendo.com>
10246 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
10247 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10248 (gst_base_sink_get_position), (gst_base_sink_change_state):
10249 When frame dropping is enabled, we should not ignore frames
10250 without a duration.
10251 Update some documentation.
10253 2006-04-28 Wim Taymans <wim@fluendo.com>
10255 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10256 (gst_base_src_send_event), (gst_base_src_change_state):
10257 Documentation updates.
10259 2006-04-28 Wim Taymans <wim@fluendo.com>
10261 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
10262 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
10263 handle EAGAIN, EINTR and short writes correctly. Also clean
10264 up some error cases, avoid a deadlock on bad file descriptors and
10265 use GST_DEBUG_OBJECT.
10268 2006-04-28 Wim Taymans <wim@fluendo.com>
10270 * gst/gstvalue.c: (gst_value_serialize_buffer),
10271 (gst_value_deserialize_buffer):
10272 Don't try to serialize a GValue with a NULL buffer.
10275 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10276 Added check for serialisation of NULL buffers.
10278 2006-04-28 Wim Taymans <wim@fluendo.com>
10280 * gst/gstminiobject.c: (gst_value_take_mini_object):
10281 Taking a NULL miniobject is valid, fix the case where
10282 we try to unref the NULL miniobject.
10284 2006-04-28 Wim Taymans <wim@fluendo.com>
10286 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10288 * gst/gstbin.c: (gst_bin_handle_message_func):
10290 Don't leak bin refcount when a state recalc is
10291 in progress and we delay another one #339808.
10293 2006-04-28 Wim Taymans <wim@fluendo.com>
10295 * docs/design/part-TODO.txt:
10296 Mention QoS as an ongoing work item.
10298 * docs/design/part-buffering.txt:
10299 New doc about buffering that needs to be fleshed out
10302 * docs/design/part-qos.txt:
10303 More QoS policy for decoders/demuxers/transforms
10305 * docs/design/part-trickmodes.txt:
10308 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
10313 === release 0.10.5 ===
10315 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
10318 releasing 0.10.5, "Fogo"
10320 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
10322 patch by: Wim Taymans
10324 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10325 (gst_pad_configure_src), (gst_pad_push):
10326 * gst/gstpipeline.c: (gst_pipeline_init):
10327 Fix internal data flow errors. Fixes #338711.
10329 2006-04-12 Wim Taymans <wim@fluendo.com>
10331 * tests/check/gst/gstelement.c: (GST_START_TEST):
10332 Don't leak the factory.
10334 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
10337 * win32/common/config.h:
10340 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
10342 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10343 (gst_controller_unset_all):
10344 Free allocated GstTimedValues when freeing list nodes.
10345 Should fix leaks 'make check-valgrind' complains about.
10347 * win32/common/libgstcontroller.def:
10348 Add gst_controller_unset_all.
10350 2006-04-11 Stefan Kost <ensonic@users.sf.net>
10352 * docs/libs/gstreamer-libs-sections.txt:
10353 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10354 (gst_controller_unset_all):
10355 * libs/gst/controller/gstcontroller.h:
10356 API: Added new method gst_controller_unset_all()
10357 fixed gst_controller_unset()
10358 * tests/check/libs/controller.c: (GST_START_TEST),
10359 (gst_controller_suite):
10360 Added two testcases for new and fixed method
10362 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
10364 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10365 MSG_DONTWAIT is not defined on Cygwin, so work
10366 around that (fixes #317048).
10368 2006-04-11 Wim Taymans <wim@fluendo.com>
10370 * gst/gstelementfactory.c: (gst_element_register),
10371 (gst_element_factory_create), (gst_element_factory_make):
10374 Updated docs (Fixes #131079)
10376 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10379 * tests/check/gst/gstelement.c: (GST_START_TEST),
10380 (gst_element_suite):
10381 Added testcase for elementfactory class field.
10383 2006-04-10 Wim Taymans <wim@fluendo.com>
10385 * gst/gstsegment.c:
10386 Added some more docs.
10388 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
10389 (gst_base_sink_reset_qos):
10390 Calculate more accurate rate values.
10392 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
10394 * gst/gst_private.h:
10395 add a new #ifdef to use __declspec(dllimport) only for
10396 other modules and not for gstreamer core
10397 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10398 use gst_guint64_to_gdouble for conversion
10399 * win32/common/libgstreamer.def:
10400 add new exported functions
10401 * win32/vs6/gst_inspect.dsp:
10402 * win32/vs6/gst_launch.dsp:
10403 * win32/vs6/libgstbase.dsp:
10404 * win32/vs6/libgstcontroller.dsp:
10405 * win32/vs6/libgstcoreelements.dsp:
10406 * win32/vs6/libgstdataprotocol.dsp:
10407 * win32/vs6/libgstnet.dsp:
10408 update project files
10410 2006-04-08 Stefan Kost <ensonic@users.sf.net>
10412 * gst/gstbuffer.c: (gst_subbuffer_class_init):
10413 * gst/gstclock.c: (gst_clock_class_init):
10414 * gst/gstelement.c: (gst_element_class_init):
10415 * gst/gstindex.c: (gst_index_class_init):
10416 * gst/gstindexfactory.c: (gst_index_factory_class_init):
10417 * gst/gstobject.c: (gst_object_class_init),
10418 (gst_signal_object_class_init):
10419 * gst/gstpad.c: (gst_pad_class_init):
10420 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10421 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10422 * gst/gstregistry.c: (gst_registry_class_init):
10423 * gst/gstsystemclock.c: (gst_system_clock_class_init):
10424 * gst/gsttask.c: (gst_task_class_init):
10425 * gst/gstxml.c: (gst_xml_class_init):
10426 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10427 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10428 (gst_base_src_loop):
10429 * libs/gst/controller/gstcontroller.c:/
10430 (_gst_controller_class_init):
10431 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10432 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10433 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10434 * tests/old/examples/plugins/example.c: (gst_example_class_init):
10435 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10436 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10438 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
10440 * gst/gstpad.c: (gst_pad_link):
10441 Must set peer pads before calling the link function, otherwise
10442 a task started from a link function might get a flow-not-linked
10443 result when trying to push because the other thread where the
10444 linking happens hasn't had a chance to set the peers yet. This
10445 might happen for example when a queue gets linked to a downstream
10446 element, as queue starts a streaming task when its source pad
10447 gets linked. Happens in real life when playing back flac/musepack
10448 files in playbin (#332390).
10450 2006-04-08 Stefan Kost <ensonic@users.sf.net>
10454 * libs/gst/base/gstadapter.h:
10455 * libs/gst/base/gstbasesink.h:
10456 * libs/gst/base/gstbasesrc.h:
10457 * libs/gst/base/gstbasetransform.h:
10458 * libs/gst/base/gstcollectpads.h:
10459 * libs/gst/base/gstpushsrc.h:
10460 Fix broken GObject macros
10462 2006-04-07 Wim Taymans <wim@fluendo.com>
10464 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10465 Initialize start and stop times, thanks valgrind.
10467 2006-04-07 Wim Taymans <wim@fluendo.com>
10469 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10470 Be a bit nicer to badly behaving upstream elements that expect
10471 us to deal with non TIME segments and timestamps (such as fakesrc
10474 2006-04-07 Wim Taymans <wim@fluendo.com>
10477 Small documentation clarification about the signal watch.
10479 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10480 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10481 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10482 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10483 (gst_base_sink_get_position_last),
10484 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
10485 Convert and store timestamps in stream time and running time, the
10486 raw timestamps are not useful, also document this better.
10487 Use different window sizes for good and bad QoS observations so
10488 we react to badness a little quicker.
10489 Keep track of the amount of rendered and dropped buffers.
10490 Send QoS timestamps in running time.
10492 * libs/gst/base/gstbasetransform.c:
10493 (gst_base_transform_sink_eventfunc),
10494 (gst_base_transform_handle_buffer):
10495 Compare QoS timestamps against running time.
10497 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
10500 Typo fixes in docs.
10502 2006-04-06 Michael Smith <msmith@fluendo.com>
10504 * gst/gstpad.c: (gst_pad_set_property):
10505 Use g_value_get_object() instead of g_value_dup_gst_object(),
10506 to avoid double-reffing the pad template (which we then sink,
10507 so this worked previously if (and only if) the pad template
10510 * gst/gstpadtemplate.c: (gst_pad_template_init),
10511 (gst_pad_template_pad_created):
10512 Never return floating references to pad templates, create
10513 them as initially-sunken.
10515 Document an extra function (and make this stop sinking our
10516 pad template, since that is now guaranteed to do nothing,
10517 since we created it sunken).
10519 * gst/gstghostpad.c:
10522 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
10524 * gst/gstinfo.c: (__gst_in_valgrind):
10527 * plugins/elements/gsttypefindelement.c:
10528 (gst_type_find_element_chain):
10529 Don't leak buffer caps.
10531 2006-04-06 Michael Smith <msmith@fluendo.com>
10533 * gst/parse/grammar.y:
10534 Fix a leak in parse-launch for any source-or-sink named element
10537 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10538 Unref the pipeline if it exists after we've failed parsing.
10540 2006-04-05 Michael Smith <msmith@fluendo.com>
10542 * gst/gstpipeline.c: (gst_pipeline_init):
10543 When we create a pipeline bus, initially create it in flushing mode.
10544 Fixes leaks in at least one test, and makes a new pipeline work the
10545 same as one that has gone to READY and then back to NULL.
10547 * gst/gstelement.c:
10550 2006-04-05 Michael Smith <msmith@fluendo.com>
10552 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10553 Unref a pad we reffed.
10554 * tests/check/gst/gstutils.c: (GST_START_TEST):
10557 2006-04-05 Michael Smith <msmith@fluendo.com>
10559 * gst/gstquery.c: (gst_query_set_formats),
10560 (gst_query_set_formatsv):
10561 Fix leaking GValues in queries, as shown by valgrind/testsuite.
10563 2006-04-05 Michael Smith <msmith@fluendo.com>
10565 * tests/check/generic/sinks.c: (GST_START_TEST):
10566 Fix a variety of memleaks in sinks check, which are only sometimes
10567 shown by running the tests under valgrind (weird?).
10569 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
10571 * docs/version.entities.in:
10572 Fix the substituted entity name after thomas' changes on the
10575 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
10577 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10580 2006-04-05 Andy Wingo <wingo@pobox.com>
10582 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10584 * libs/gst/base/gstbasetransform.c
10585 (gst_base_transform_sink_eventfunc): When resetting our segment on
10586 FLUSH_STOP, also update the flag saying we haven't seen a
10589 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10591 Patch by: Paolo Borelli <pborelli at katamail dot com>
10593 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10594 (gst_plugin_check_license):
10595 minor clean-ups: G_DEFINE_TYPE already takes care of the
10596 parent_class stuff, no need to do it twice. Mark array of
10597 license strings as constant. (#337103)
10599 2006-04-04 Michael Smith <msmith@fluendo.com>
10601 * tools/gst-inspect.c: (print_element_list):
10602 Free the right plugin list; fixes a memory leak.
10604 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10606 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
10608 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10609 Don't error out on empty buffers (#336945).
10611 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
10613 * docs/libs/gstreamer-libs-sections.txt:
10614 * gst/gsttaglist.c:
10615 * libs/gst/base/gstbasesink.c:
10616 * libs/gst/base/gstbasesink.h:
10617 * libs/gst/base/gstbasesrc.c:
10618 * libs/gst/base/gstbasesrc.h:
10619 Documentation updates. Make BaseSink and BaseSrc docs contain the
10620 class structure so that people can actually see the prototypes for
10621 virtual functions they're supposed to be overriding.
10623 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
10625 * plugins/elements/gsttypefindelement.c:
10626 (gst_type_find_element_chain):
10627 More debug info; when skipping typefinding, send cached
10628 events in all cases.
10630 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
10633 use new AS_VERSION and AS_NANO macros
10634 * gst/gst-i18n-lib.h:
10637 * gst/gstversion.h.in:
10638 * win32/common/config.h:
10639 * win32/common/config.h.in:
10642 2006-03-31 Michael Smith <msmith@fluendo.com>
10644 * plugins/elements/gsttypefindelement.c:
10645 (gst_type_find_element_chain):
10646 Do not typefind content if the buffers already have caps.
10647 Neccesary for icydemux (#333657), and the right thing to do anyway.
10649 2006-03-30 Wim Taymans <wim@fluendo.com>
10651 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10652 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10653 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10654 (gst_base_sink_record_qos_observation),
10655 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10656 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10657 (gst_base_sink_change_state):
10658 More QoS measurements as described in the design doc.
10659 Get rid of ringbuffer with observations, running average is
10660 more simple and equally good.
10661 Calculates valid proportion now.
10662 Added beginning of flood measurement.
10664 2006-03-29 Wim Taymans <wim@fluendo.com>
10666 * docs/design/part-qos.txt:
10668 Small documentation updates and additions.
10670 2006-03-29 Wim Taymans <wim@fluendo.com>
10672 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10673 (gst_base_src_send_event), (gst_base_src_loop),
10674 (gst_base_src_change_state):
10675 Perform the EOS logic when we reach the segment stop position.
10676 Fix compilation on gcc4.1
10678 2006-03-29 Wim Taymans <wim@fluendo.com>
10680 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10682 * plugins/elements/gstqueue.c: (gst_queue_init),
10683 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10684 (gst_queue_set_property):
10685 * plugins/elements/gstqueue.h:
10686 In queue, when EOS is received, if minimum threshold > max_size -
10687 current_level, there is chance that queue blocks forever in conditional
10688 item del wait. This is because the queue is not emptied completely due
10689 to minimum threshold. Here is another approach. Instead of setting
10690 cur_levels to max in EOS, just zero all minimum threshold levels. This
10691 should make sure that queue gives out all data. When going to READY
10692 (stop) state, just reset the original minimum threshold levels.
10695 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
10697 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10698 (gst_type_find_element_handle_event),
10699 (gst_type_find_element_send_cached_events),
10700 (gst_type_find_element_change_state):
10701 * plugins/elements/gsttypefindelement.h:
10702 When typefinding is done in push mode, we should cache
10703 events we receive during typefinding instead of just
10704 dropping them (e.g. newsegment, custom events from
10705 dvdreadsrc etc.) and then send them out once we've
10706 determined the type of the stream (and decodebin
10707 has had a chance to plug in a decoder/demuxer).
10709 2006-03-27 Wim Taymans <wim@fluendo.com>
10711 * docs/design/part-qos.txt:
10714 2006-03-27 Wim Taymans <wim@fluendo.com>
10716 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10718 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10719 (gst_base_src_send_event), (gst_base_src_change_state):
10720 Handle element seek correctly when we are streaming.
10723 2006-03-24 Michael Smith <msmith@fluendo.com>
10725 * docs/faq/gst-uninstalled:
10726 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10727 allow you to correctly run intalled applications built against old
10728 core, using plugins that require updated core (e.g. running
10729 installed totem against a full uninstalled gstreamer stack)
10731 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10733 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
10736 2006-03-24 Wim Taymans <wim@fluendo.com>
10738 * docs/gst/gstreamer-sections.txt:
10739 Rearrange the order of the methods so that related methods
10740 are grouped together in sections.
10742 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10744 * gst/gstelement.c:
10745 Little clarification in the docs
10747 2006-03-24 Stefan Kost <ensonic@users.sf.net>
10751 * plugins/elements/gstidentity.c:
10752 * plugins/elements/gstqueue.c:
10753 * plugins/elements/gsttee.c:
10754 * plugins/elements/gsttypefindelement.c:
10755 GST_ELEMENT_DETAILS formatting
10757 2006-03-24 Wim Taymans <wim@fluendo.com>
10759 * libs/gst/base/gstbasesink.h:
10760 Only add fields, not insert or we break ABI.
10762 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10764 * win32/common/libgstbase.def:
10765 * win32/common/libgstreamer.def:
10766 Update, add recently added functions.
10768 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10770 * docs/gst/gstreamer-sections.txt:
10771 * gst/gstutils.c: (gst_pad_query_peer_position),
10772 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
10774 API: add some new utility functions:
10775 - gst_pad_query_peer_position()
10776 - gst_pad_query_peer_duration()
10777 - gst_pad_query_peer_convert()
10779 2006-03-23 Wim Taymans <wim@fluendo.com>
10781 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
10782 (gst_base_sink_init), (gst_base_sink_finalize),
10783 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
10784 (gst_base_sink_set_property), (gst_base_sink_get_property),
10785 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
10786 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10787 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
10788 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10789 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10790 (gst_base_sink_preroll_object), (gst_base_sink_event),
10791 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
10792 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
10793 (gst_base_sink_query), (gst_base_sink_change_state):
10794 Decouple max-lateness and the fact that QoS messages are generated
10795 with a new property (qos).
10796 added API: GstBaseSink::async_play()
10797 Add vmethod so subclasses can be notified of ASYNC playing
10799 Collect timestamp start and stop to report better current
10800 position in EOS/PLAYING/PAUSED/READY/NULL.
10801 Refactor QoS/frame dropping and other measurements.
10802 API: GstBaseSrc::qos
10805 * libs/gst/base/gstbasesink.h:
10806 Added Private struct.
10807 API: gst_base_sink_set_qos_enabled()
10808 API: gst_base_sink_is_qos_enabled()
10810 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
10812 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10813 If compiling against GLib-2.8 or newer, try to read the
10814 registry file using GMappedFile first before falling back
10815 to fopen() + fread() (#332151).
10817 2006-03-22 Wim Taymans <wim@fluendo.com>
10819 * gst/gstinfo.c: (gst_debug_set_active),
10820 (gst_debug_category_set_threshold):
10821 Disable debugging unless explicitly activated.
10824 2006-03-22 Wim Taymans <wim@fluendo.com>
10826 * gst/gstelement.c: (gst_element_set_locked_state),
10827 (gst_element_dispose):
10828 Cleanup the error case.
10830 * gst/gstobject.c: (gst_object_dispose):
10831 print a critical when some object was disposed with
10832 a parent, also revive the object since it might
10835 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
10837 * tools/gst-launch.1.in:
10840 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
10843 * tests/check/Makefile.am:
10844 disable some tests when we don't have a registry
10845 * tests/check/gst/gstutils.c: (gst_utils_suite):
10846 don't build the part that needs parsing
10848 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
10851 * tests/examples/Makefile.am:
10852 fix --disable-parse build
10854 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10856 * tools/gst-feedback.1.in:
10857 Fix typo: s/feeback/feedback/ (#133494).
10859 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10861 * tools/Makefile.am:
10862 * tools/gst-launch.1.in:
10863 Add FILES section and correct entry about GST_REGISTRY_PATH
10864 environment variable (#133495; #133494).
10866 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10868 * tools/Makefile.am:
10869 * tools/gst-md5sum.1.in:
10870 * tools/gst-md5sum.c:
10871 Remove gst-md5sum and man page (the md5sink element
10872 required was removed ages ago)
10874 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10876 * gst/gststructure.c: (gst_structure_id_set_value):
10877 Make sure that string fields in structures/taglists
10878 contain valid UTF-8 - we don't want to pass rubbish to
10879 applications because of a buggy plugin (cp. #334167).
10881 2006-03-21 Edward Hervey <edward@fluendo.com>
10883 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
10884 (gst_bin_handle_message_func):
10885 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
10886 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
10887 (gst_element_set_bus_func):
10888 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
10889 * gst/gstminiobject.c: (gst_value_set_mini_object),
10890 (gst_value_take_mini_object):
10891 * gst/gstpad.c: (gst_pad_set_pad_template):
10892 * gst/gstpipeline.c: (gst_pipeline_dispose),
10893 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
10894 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
10895 (gst_collect_pads_chain):
10896 * libs/gst/net/gstnettimeprovider.c:
10897 (gst_net_time_provider_set_property):
10898 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
10899 It's in fact all issues with gst_*object_replace().
10901 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
10903 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
10905 * pkgconfig/gstreamer-check-uninstalled.pc.in:
10906 * pkgconfig/gstreamer-check.pc.in:
10907 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
10909 2006-03-21 Edward Hervey <edward@fluendo.com>
10913 * gst/gstmessage.h:
10914 gst_[buffer|event|message]_ref() macros are replaced by a static
10915 inline functions because gcc-4.1 will about if the return value
10917 * tests/check/gst/gstevent.c: (event_probe):
10918 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
10920 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
10923 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
10924 the type' case. (Closes: #335195 for now). In the future, when we
10925 depend on GLib 2.10, we could also intern the type name using
10926 g_intern_static_string()
10928 2006-03-20 Wim Taymans <wim@fluendo.com>
10930 * gst/gstbin.c: (gst_bin_handle_message_func),
10931 (bin_query_max_init), (bin_query_position_fold),
10932 (bin_query_position_done), (gst_bin_query):
10933 Position query should also take max of all streams.
10935 2006-03-20 Wim Taymans <wim@fluendo.com>
10937 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
10938 (gst_fake_src_finalize):
10939 Fix leaks in fakesrc.
10941 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10942 Fix leaks in the testcase.
10944 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
10946 * gst/gst_private.h:
10947 add win32 specific import decoration(__declspec(dllimport))
10948 for all extern GstDebugCategory * variables
10949 * win32/common/libgstbase.def:
10950 * win32/common/libgstcontroller.def:
10951 * win32/common/libgstreamer.def:
10952 Add some exports, remove empty lines
10953 * win32/common/libgstdataprotocol.def:
10954 * win32/common/libgstdataprotocol.dsp:
10955 * win32/common/libgstnet.def:
10956 * win32/common/libgstnet.dsp:
10957 new project files and exportation files added
10959 2006-03-19 Wim Taymans <wim@fluendo.com>
10961 * tests/check/libs/basesrc.c: (eos_event_counter):
10962 Use proper return value for probe.
10964 2006-03-17 Wim Taymans <wim@fluendo.com>
10966 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10968 Don't leak buffers, caps and pads on negotiation errors.
10970 2006-03-16 Stefan Kost <ensonic@users.sf.net>
10972 * docs/faq/cvs.xml:
10973 * docs/faq/dependencies.xml:
10974 * docs/faq/developing.xml:
10975 * docs/faq/faq.xml:
10976 * docs/faq/general.xml:
10977 * docs/faq/getting.xml:
10978 * docs/faq/legal.xml:
10979 * docs/faq/troubleshooting.xml:
10980 * docs/faq/using.xml:
10981 Faq review and update.
10983 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
10985 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
10987 Don't pound the cpu to pieces by checking get_caps when accept_caps
10988 is called with the same caps as the pad already has.
10989 Use GST_DEBUG_OBJECT when outputting caps change information.
10991 2006-03-15 Wim Taymans <wim@fluendo.com>
10993 * gst/gstclock.c: (gst_clock_class_init):
10996 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
11001 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
11002 (gst_pad_accept_caps), (gst_pad_configure_sink),
11003 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
11004 Make the default acceptcaps behaviour be to check the requested
11005 caps against the gst_pad_get_caps output.
11007 Ensure that gst_pad_accept_caps is used to check caps when a pad
11008 doesn't have a setcaps function, so that pads automatically refuse
11009 caps that they don't allow in their pad template. (Fixes #332986)
11011 When a buffer with attached caps is pushed, ensure that the source
11012 pad receives those caps even if the element didn't call
11013 gst_pad_set_caps first.
11015 2006-03-15 Wim Taymans <wim@fluendo.com>
11017 * libs/gst/base/gstadapter.c:
11020 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
11022 * win32/common/libgstbase.def:
11023 * win32/common/libgstcontroller.def:
11024 * win32/common/libgstreamer.def:
11025 Add a whole bunch of missing functions (#334434).
11027 2006-03-14 Wim Taymans <wim@fluendo.com>
11029 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11030 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11031 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
11032 Better debug info when we receive a segment event.
11033 Reorganize a bit so we can pass the get_times() results around.
11034 Use the segment format when calculating the running time.
11035 Don't do QoS is sync is disabled or we have no clock or the
11036 element does not want us to sync to the clock.
11037 Don't drop buffers if QoS is disabled for now.
11039 2006-03-14 Wim Taymans <wim@fluendo.com>
11041 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
11042 Marked the stats property as unimplemented so people don't get
11044 Add debug message when regression goes wrong.
11045 Added some more docs.
11047 2006-03-14 Wim Taymans <wim@fluendo.com>
11049 * gst/gstsegment.c: (gst_segment_to_stream_time):
11050 Return correct return type in case of errors.
11052 2006-03-14 Wim Taymans <wim@fluendo.com>
11054 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
11055 Don't segfault on invalid formats.
11057 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
11059 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11060 Can't use gst_segment_to_running_time() when the segment
11061 is not in GST_TIME_FORMAT (like with filesink, for example).
11062 Stops flac encoding pipelines from spewing critical warnings
11065 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
11067 * gst/gstpipeline.c: (gst_pipeline_class_init):
11068 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
11070 * plugins/elements/gsttypefindelement.c:
11071 (gst_type_find_element_handle_event):
11072 Don't try to typefind empty streams.
11074 2006-03-14 Wim Taymans <wim@fluendo.com>
11076 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11077 (gst_base_sink_do_qos):
11078 Separate QoS calculation.
11079 Only drop buffers when lateness is bigger than the
11080 duration of the buffer.
11082 2006-03-13 Wim Taymans <wim@fluendo.com>
11084 * gst/gstpipeline.c: (gst_pipeline_set_property),
11085 (gst_pipeline_get_property), (do_pipeline_seek),
11086 (gst_pipeline_change_state), (gst_pipeline_set_delay),
11087 (gst_pipeline_get_delay):
11088 Don't deadlock when reading properties.
11090 2006-03-13 Wim Taymans <wim@fluendo.com>
11092 * libs/gst/base/gstbasetransform.c:
11093 (gst_base_transform_class_init), (gst_base_transform_init),
11094 (gst_base_transform_sink_event),
11095 (gst_base_transform_sink_eventfunc),
11096 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
11097 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
11098 (gst_base_transform_set_property),
11099 (gst_base_transform_get_property),
11100 (gst_base_transform_change_state), (gst_base_transform_update_qos),
11101 (gst_base_transform_set_qos_enabled),
11102 (gst_base_transform_is_qos_enabled):
11103 * libs/gst/base/gstbasetransform.h:
11104 Make basetransform virtual method for src events too.
11105 Handle QOS in basetransform.
11106 API: gst_base_transform_update_qos()
11107 API: gst_base_transform_set_qos_enabled()
11108 API: gst_base_transform_is_qos_enabled()
11110 2006-03-13 Wim Taymans <wim@fluendo.com>
11112 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11113 (gst_base_sink_do_sync):
11115 Use QOS debug category.
11117 2006-03-13 Wim Taymans <wim@fluendo.com>
11119 * plugins/elements/gstqueue.c:
11120 Very small doc update.
11122 2006-03-13 Wim Taymans <wim@fluendo.com>
11124 * gst/gst_private.h:
11125 * gst/gstinfo.c: (_gst_debug_init):
11126 Added QOS debug category
11128 2006-03-13 Wim Taymans <wim@fluendo.com>
11130 * docs/gst/gstreamer-sections.txt:
11131 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
11133 * gst/gstbus.c: (gst_bus_class_init):
11136 * gst/gstelement.c: (gst_element_set_locked_state):
11137 * gst/gstsegment.c:
11138 Documentation updates.
11140 * gst/gstpipeline.c: (gst_pipeline_get_type),
11141 (gst_pipeline_class_init), (gst_pipeline_init),
11142 (gst_pipeline_dispose), (gst_pipeline_set_property),
11143 (gst_pipeline_get_property), (do_pipeline_seek),
11144 (gst_pipeline_send_event), (gst_pipeline_change_state),
11145 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
11146 (gst_pipeline_get_delay):
11147 * gst/gstpipeline.h:
11148 Added methods for setting the delay.
11149 API: gst_pipeline_set_delay()
11150 API: gst_pipeline_get_delay()
11151 Add pipeline debug category
11154 Don't reset stream time when seek failed.
11156 2006-03-13 Wim Taymans <wim@fluendo.com>
11158 * docs/design/draft-klass.txt:
11159 * docs/design/part-clocks.txt:
11160 * docs/design/part-events.txt:
11161 * docs/design/part-gstbin.txt:
11162 * docs/design/part-gstpipeline.txt:
11163 * docs/design/part-messages.txt:
11164 * docs/design/part-negotiation.txt:
11165 * docs/design/part-overview.txt:
11166 * docs/design/part-preroll.txt:
11167 * docs/design/part-seeking.txt:
11168 * docs/design/part-states.txt:
11169 * docs/design/part-streams.txt:
11170 Documentation updates.
11172 2006-03-12 Julien MOUTTE <julien@moutte.net>
11174 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
11175 us to leak strings...
11177 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
11179 * libs/gst/net/gstnettimeprovider.c:
11181 * win32/common/config.h:
11184 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
11186 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
11189 Don't check for libgnomeui (leftover from old examples
11190 that aren't built or disted any longer) (#334303).
11192 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
11194 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
11195 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11196 Emit RESOURCE_NO_SPACE_LEFT error here as well when
11197 there's no space left on the device.
11199 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
11202 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
11203 to cast the input to GstClockTime before comparing with
11204 another GstClockTime value.
11206 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
11211 === release 0.10.4 ===
11213 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
11216 releasing 0.10.4, "Light"
11218 2006-03-10 Michael Smith <msmith@fluendo.com>
11220 * libs/gst/dataprotocol/dataprotocol.c:
11221 Fix docs for dataprocotol to not get the return types completely
11222 wrong for a few functions.
11224 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
11226 * docs/gst/gstreamer-sections.txt:
11227 * gst/gstpipeline.c: (gst_pipeline_class_init),
11228 (gst_pipeline_init), (gst_pipeline_set_property),
11229 (gst_pipeline_get_property), (gst_pipeline_change_state),
11230 (gst_pipeline_set_auto_flush_bus),
11231 (gst_pipeline_get_auto_flush_bus):
11232 * gst/gstpipeline.h:
11233 Add new API: gst_pipeline_set_auto_flush_bus() and
11234 gst_pipeline_get_auto_flush_bus() to disable automatic
11235 flushing of the pipeline's GstBus when going from READY
11236 to NULL state (#332045).
11238 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
11240 * docs/gst/gstreamer-sections.txt:
11241 * gst/gsturi.c: (gst_uri_has_protocol):
11243 Add new API: gst_uri_has_protocol() (#333779).
11245 2006-03-09 Wim Taymans <wim@fluendo.com>
11247 * gst/gstclock.c: (gst_clock_entry_new),
11248 (gst_clock_id_compare_func), (gst_clock_id_wait),
11249 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
11250 (gst_clock_init), (gst_clock_get_internal_time),
11251 (gst_clock_set_master), (do_linear_regression),
11252 (gst_clock_add_observation), (gst_clock_set_property):
11256 Fix a possible segfault when the window-size is made smaller.
11257 Calculate jitter before performing the clock wait. Ideally
11258 the clock implementation should calculate jitter but we need
11259 API breakage for that.
11261 * gst/gstsystemclock.c: (gst_system_clock_init):
11264 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11265 Remove leftover else
11267 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
11268 (gst_systemclock_suite):
11269 Added check to test GST_CLOCK_DIFF.
11271 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
11273 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
11274 (gst_type_find_helper_get_range):
11275 If we are provided with the size, we should implement
11276 GstTypeFind::get_length, so that typefind functions who
11277 want to can actually peek at the middle of a file.
11279 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
11281 * docs/manual/advanced-dataaccess.xml:
11282 Add some very very basic error checking.
11284 * docs/pwg/appendix-checklist.xml:
11285 Some updates to the list of things to check when writing an element.
11287 2006-03-08 Wim Taymans <wim@fluendo.com>
11289 * docs/design/part-element-transform.txt:
11290 Added some docs about the design of tranform elements.
11292 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11293 (gst_base_src_loop), (gst_base_src_change_state):
11294 Mark buffers with the DISCONT flag.
11296 2006-03-08 Michael Smith <msmith@fluendo.com>
11298 * gst/gstregistry.h:
11299 * gst/gstregistryxml.c: (gst_registry_save),
11300 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
11301 (gst_registry_xml_save_pad_template),
11302 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
11303 (gst_registry_xml_write_cache):
11304 Rewrite registry-saving to avoid race conditions and check for
11307 2006-03-08 Wim Taymans <wim@fluendo.com>
11309 * libs/gst/base/gstbasetransform.c:
11310 (gst_base_transform_transform_caps),
11311 (gst_base_transform_transform_size),
11312 (gst_base_transform_prepare_output_buffer),
11313 (gst_base_transform_get_unit_size),
11314 (gst_base_transform_buffer_alloc),
11315 (gst_base_transform_handle_buffer),
11316 (gst_base_transform_change_state):
11317 Cleanups, separate normal flow from errors, add sensible
11319 Don't try to renegotiate when allocating an output buffer.
11320 Also copy DISCONT buffer flag when copying a buffer.
11321 Reset the transform after we finish streaming, not during.
11323 2006-03-08 Wim Taymans <wim@fluendo.com>
11325 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11326 Use last buffer timestamp in qos message.
11328 2006-03-07 Wim Taymans <wim@fluendo.com>
11330 Patch by: Christophe Fergeau
11332 * docs/pwg/advanced-tagging.xml:
11333 * docs/pwg/building-pads.xml:
11336 2006-03-07 Wim Taymans <wim@fluendo.com>
11338 * docs/libs/gstreamer-libs-sections.txt:
11339 Added basesink new methods.
11343 Docs updates. Flesh out the QoS docs.
11345 * libs/gst/base/gstadapter.c:
11346 Small doc clarification about ownership and flushing.
11348 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
11349 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
11350 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
11351 (gst_base_sink_get_property), (gst_base_sink_do_sync):
11352 * libs/gst/base/gstbasesink.h:
11354 Added new methods to allow subclass to control max-lateness
11356 Generate very basic QoS events based on last sync observation.
11357 Updated docs, fix typo, added some QoS blurb.
11359 * libs/gst/base/gstbasesrc.c:
11360 Remove obsolete _get_state() calls from docs.
11362 2006-03-07 Wim Taymans <wim@fluendo.com>
11364 * docs/libs/gstreamer-libs-sections.txt:
11365 * libs/gst/base/gstbasetransform.h:
11366 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
11367 Fix docs for GstBaseSrc.
11369 2006-03-07 Wim Taymans <wim@fluendo.com>
11371 * docs/gst/gstreamer-sections.txt:
11374 * libs/gst/base/gstbasetransform.h:
11375 Small documentation fixes.
11377 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
11380 Document thread-unsafety of gst_value_register_foo_func()
11381 when used at the same time as gst_value_foo() (#322628).
11383 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
11385 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
11386 (gst_push_src_check_get_range):
11387 Push sources don't support pull mode by default.
11389 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
11391 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11392 (gst_base_src_init), (gst_base_src_pad_check_get_range),
11393 (gst_base_src_default_check_get_range):
11394 * libs/gst/base/gstbasesrc.h:
11395 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11396 provide default implementation, and rename
11397 gst_base_src_check_get_range() to
11398 gst_base_src_pad_check_get_range() for clarity.
11400 2006-03-06 Wim Taymans <wim@fluendo.com>
11402 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11403 Make property overridable.
11405 2006-03-06 Wim Taymans <wim@fluendo.com>
11407 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11408 (gst_base_sink_init), (gst_base_sink_set_property),
11409 (gst_base_sink_get_property), (gst_base_sink_do_sync):
11410 * libs/gst/base/gstbasesink.h:
11411 API addition: Make max-lateness a property.
11413 2006-03-06 Wim Taymans <wim@fluendo.com>
11415 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11416 (gst_base_sink_do_sync), (gst_base_sink_render_object):
11417 Don't ever draw a frame that is >10ms late.
11419 2006-03-06 Michael Smith <msmith@fluendo.com>
11421 * gst/gstmessage.c: (_gst_message_copy):
11422 When copying a message, set the parent_refcount of the enclosed
11423 structure to point at the copy, not the original message.
11425 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
11427 Patch by: Christophe Fergeau
11430 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11431 usable in c++ code (#333417)
11433 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
11436 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11438 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
11440 * libs/gst/base/gstbasetransform.c:
11441 (gst_base_transform_transform_caps):
11442 Make sure caps are writable before passing them to
11445 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
11448 Fix some minor docs errors.
11450 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
11452 Patch by: Ross Burton <ross at burtonini dot com>
11454 * gst/gsterror.c: (_gst_resource_errors_init):
11456 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
11458 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
11461 Add a check and output a g_warning when GStreamer is built
11462 against GLib 2.6 but running against 2.8 or higher, and vice
11463 versa. (Closes: #323542)
11465 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
11467 * gst/parse/parse.l:
11468 Commit patch for parse_launch syntax from #331255. Removes
11469 support for quoted strings and mimetypes when writing filtered
11470 caps. See the bug report for more details - I'm pretty sure this
11471 obscure feature is not in use by _anyone_ anywhere.
11473 With this simple change, the size of the gstreamer.so here
11474 drops from 2193KB to 1565KB.
11476 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11478 * plugins/elements/gsttypefindelement.h:
11479 * plugins/elements/gsttypefindelement.c:
11480 (gst_type_find_element_src_event), (start_typefinding),
11481 (stop_typefinding), (gst_type_find_element_handle_event),
11482 (gst_type_find_element_chain),
11483 (gst_type_find_element_chain_do_typefinding):
11484 Use gst_type_find_helper_for_buffer() for chain-based
11487 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11489 * plugins/elements/gsttypefindelement.c:
11490 (gst_type_find_element_class_init),
11491 (gst_type_find_element_set_property),
11492 (gst_type_find_element_get_property):
11493 Deprecate "maximum" property (not only was it only taken into
11494 account for typefinding in push-mode anyway, it also was never
11495 actually possible to set it in the first place because the
11496 property was registered with the numeric property ID for the
11497 "minimum" property). Register "maximum" property correctly,
11498 for the sake of future copy'n'pasters. Remove some cruft
11499 from property get/set functions.
11501 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
11503 * plugins/elements/gsttypefindelement.c:
11504 (gst_type_find_element_activate):
11505 Use gst_type_find_helper_get_range() here, so we
11506 can honour the "minimum" property and also emit
11507 the signal with the correct probability of the found caps.
11509 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
11511 * docs/libs/gstreamer-libs-sections.txt:
11512 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11513 (helper_find_suggest), (gst_type_find_helper_get_range),
11514 (gst_type_find_helper):
11515 * libs/gst/base/gsttypefindhelper.h:
11516 New API: gst_type_find_helper_get_range() (#333042).
11518 2006-03-02 Michael Smith <msmith@fluendo.com>
11520 * gst/gstregistryxml.c: (load_feature):
11521 Asserting on a failure to read part of the registry is Not Cool.
11522 Just log a warning and return NULL (which is already handled)
11524 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
11526 * win32/common/libgstbase.def:
11527 added export of gst_type_find_helper_for_buffer
11528 * win32/common/libgstbase.def:
11529 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11530 gst_ghost_pad_get_target
11532 2006-02-28 Wim Taymans <wim@fluendo.com>
11534 * docs/design/draft-klass.txt:
11536 Added Connector to mark elements that are only used to
11537 allow pipeline connections.
11538 Moved Debug to extra feature since most of them are
11539 functionally something else.
11541 2006-02-28 Wim Taymans <wim@fluendo.com>
11543 * docs/design/draft-klass.txt:
11544 Some updates and clarifications.
11546 2006-02-28 Wim Taymans <wim@fluendo.com>
11548 * docs/design/draft-klass.txt:
11549 Proposal for klass field values.
11551 * docs/design/part-streams.txt:
11552 Start of a doc describing stream anatomy.
11554 2006-02-28 Wim Taymans <wim@fluendo.com>
11556 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11557 Help the compiler a bit with type registration.
11558 Use existing forward cod path instead of duplicating it when
11559 handling a message.
11561 * gst/gstbus.c: (gst_bus_get_type):
11562 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11563 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11564 * gst/gstclock.c: (gst_clock_get_type):
11565 * gst/gstelement.c: (gst_element_get_type),
11566 * gst/gstelementfactory.c: (gst_element_factory_get_type):
11567 * gst/gstindexfactory.c: (gst_index_factory_get_type):
11568 * gst/gstminiobject.c: (gst_mini_object_get_type):
11569 * gst/gstpad.c: (gst_pad_get_type):
11570 * gst/gstsegment.c: (gst_segment_get_type):
11571 * gst/gststructure.c: (gst_structure_get_type):
11572 * gst/gstsystemclock.c: (gst_system_clock_get_type):
11573 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11575 Help compiler with type registration.
11577 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11580 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11582 * plugins/elements/gsttypefindelement.c:
11583 (gst_type_find_element_handle_event):
11584 When we get an EOS event and have not found a type yet
11585 (most likely because we had not yet accumulated
11586 TYPE_FIND_MIN_SIZE of data yet), try to determine the
11587 type given the data we have so far. Fixes typefinding
11588 for very short streams again, most notably quicktime
11589 redirections as used on Apple's trailer site (#331701).
11591 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11593 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11594 (gst_type_find_helper):
11595 Try typefinding factories with the highest rank first.
11597 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11599 * docs/libs/gstreamer-libs-docs.sgml:
11600 * docs/libs/gstreamer-libs-sections.txt:
11601 * libs/gst/base/gsttypefindhelper.c:
11602 Add section for typefind helper and add documentation
11603 for the old and the new function.
11605 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11607 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11608 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11609 (gst_type_find_helper_for_buffer):
11610 * libs/gst/base/gsttypefindhelper.h:
11611 New API: gst_type_find_helper_for_buffer() (#332723).
11613 2006-02-27 Michael Smith <msmith@fluendo.com>
11615 Patch by: Loïc Minier
11618 * docs/Makefile.am:
11619 * docs/slides/Makefile.am:
11620 prevent CVS directories getting disted.
11622 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
11624 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11625 Use the REFCOUNTING category for caps refcounting.
11627 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
11629 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11630 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11632 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
11634 * plugins/elements/gsttypefindelement.c:
11635 (gst_type_find_element_activate):
11636 Use gst_pad_check_pull_range() before _activate_pull()
11637 to avoid unnecessary open/close (see #331690).
11639 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
11642 Docs enhancement: make it crystal clear what the
11643 gst_pad_add_*_probe() callbacks should look like.
11645 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
11647 * libs/gst/base/gstbasesrc.c:
11648 Document how applications can stop recording from
11649 live sources (see #330996).
11651 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11653 * tests/check/Makefile.am:
11654 * tests/check/libs/basesrc.c: (eos_event_counter),
11655 (basesrc_eos_events_pull), (basesrc_eos_events_push),
11656 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11657 (gst_basesrc_suite), (main):
11658 ... and add some tests for the base source EOS stuff.
11660 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11662 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11663 Test case originally showed the problem fixed below,
11664 but was then amended. Add checks back at the place
11665 where they used to be.
11667 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11669 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11670 (gst_base_src_init), (gst_base_src_loop),
11671 (gst_base_src_activate_push), (gst_base_src_activate_pull),
11672 (gst_base_src_change_state):
11673 * libs/gst/base/gstbasesrc.h:
11674 Don't unconditionally send EOS when going from PAUSED to
11675 READY state, esp. make sure we don't send two EOS events
11676 in some cases (e.g. one when reaching EOS and one when
11677 going from PAUSED to READY). Also, we don't want to send
11678 EOS events when operating in pull mode. However, we do
11679 want to send an EOS event when shutting down a live
11680 source explicitly, for example (fixes #330996).
11682 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
11684 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11685 Update src->read_position after a seek when not using mmap.
11686 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11688 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
11694 Make things work with --disable-parse as they do with
11695 --disable-load-save - the symbols involved disappear, but the
11696 header is still installed and GST_DISABLE_PARSE is included via
11699 2006-02-20 Julien MOUTTE <julien@moutte.net>
11701 * libs/gst/base/gstbasetransform.c:
11702 (gst_base_transform_change_state): Fix a stupid bug. I was
11703 sure I compiled that.
11705 2006-02-20 Julien MOUTTE <julien@moutte.net>
11707 * gst/gstpad.c: (gst_pad_set_blocked_async):
11708 * gst/gstutils.c: (gst_pad_add_data_probe),
11709 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11710 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11711 (gst_pad_remove_buffer_probe): Make those function act on the
11712 ghostpad target when it's a ghostpad. (Closes #331727)
11714 2006-02-20 Julien MOUTTE <julien@moutte.net>
11716 * libs/gst/base/gstbasetransform.c:
11717 (gst_base_transform_change_state): Make basetransform reusable.
11720 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
11722 * docs/random/release:
11723 Move the current documentation of how to do a release to the top
11726 * gst/gstbin.c: (gst_bin_class_init),
11727 (gst_bin_handle_message_func):
11728 Allow multiple state-recalculation threads. (Closes #328873)
11730 2006-02-19 Julien MOUTTE <julien@moutte.net>
11732 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
11733 * gst/gstpad.c: (gst_pad_set_event_function),
11734 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11735 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
11736 2 strings. You can't use the STR_NULL macro on that.
11738 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
11740 * gst/gstpad.c: (gst_pad_set_event_function),
11741 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11742 (gst_pad_set_getcaps_function)
11743 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
11744 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
11745 So now, we can use --gst-debug-level=5 on Windows
11746 * win32/common/libgstcontroller.def:
11747 Added export of gst_controller_init
11748 * win32/vs6/libgstcontroller.dsp:
11749 Fixed Release post build configuration
11751 2006-02-17 Wim Taymans <wim@fluendo.com>
11753 * tests/check/gst/gstquery.c: (GST_START_TEST):
11754 Added another check.
11756 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
11758 * plugins/elements/gsttypefindelement.c: (find_peek):
11759 We can do peeks at non-zero offsets, as long as they
11760 fall within the buffer we have.
11762 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
11764 * tests/check/Makefile.am:
11765 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
11766 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
11767 (parse_suite), (main):
11768 Add testsuite for parse launch syntax
11770 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
11772 * plugins/elements/gsttypefindelement.c:
11773 (gst_type_find_element_chain):
11774 When typefinding is unsuccessful in the chain function, don't
11775 error out immediately. Only error out with NO_CAPS_FOUND if
11776 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
11777 otherwise simply wait for more data so we can try typefinding
11778 again with more data later. Also, don't attempt to typefind
11779 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
11780 this should improve typefinding from network sources where the
11781 size of the first buffer can be somewhat random.
11783 2006-02-14 Wim Taymans <wim@fluendo.com>
11785 * docs/gst/gstreamer-sections.txt:
11786 * gst/gstpadtemplate.c:
11787 * gst/gstpadtemplate.h:
11788 Fix padtemplate docs, fixes #328805.
11790 2006-02-14 Wim Taymans <wim@fluendo.com>
11792 * tools/gst-launch.c: (main):
11793 NO_PREROLL is not an ERROR so don't send confusing messages
11796 2006-02-14 Wim Taymans <wim@fluendo.com>
11798 Patch by: Torsten Schoenfeld
11800 * gst/gstregistry.c: (gst_registry_get_default),
11801 (_gst_registry_cleanup):
11802 Protect default registry with lock and ref/sink it.
11805 2006-02-14 Wim Taymans <wim@fluendo.com>
11808 * gst/gstquery.c: (gst_query_list_add_format),
11809 (gst_query_set_formatsv), (gst_query_parse_formats_length),
11810 (gst_query_parse_formats_nth):
11811 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11814 2006-02-14 Wim Taymans <wim@fluendo.com>
11816 * docs/gst/gstreamer-sections.txt:
11817 Reworked query docs.
11819 * gst/gstquery.c: (gst_query_new_formats),
11820 (gst_query_list_add_format), (gst_query_set_formats),
11821 (gst_query_set_formatsv), (gst_query_parse_formats_length),
11822 (gst_query_parse_formats_nth):
11824 Flesh out formats query, added some new methods.
11825 Fix part of #324398.
11827 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
11828 Added query creation tests.
11830 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
11832 * gst/gstpad.c: (fixate_value):
11833 Add a default fixation for fraction lists.
11835 2006-02-13 Wim Taymans <wim@fluendo.com>
11837 * gst/gsttask.c: (gst_task_init), (gst_task_func),
11838 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
11841 Detect and warn for obvious deadlocks. fixes #320340
11842 Fix error case where lock was not released.
11844 * tests/check/Makefile.am:
11845 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
11846 (task_func), (gst_element_suite), (main):
11849 2006-02-13 Wim Taymans <wim@fluendo.com>
11851 * docs/gst/gstreamer-sections.txt:
11853 Add new functions to docs.
11855 2006-02-13 Wim Taymans <wim@fluendo.com>
11857 * docs/design/part-TODO.txt:
11858 Updated TODO list, basesrc supports seeking to non-bytes
11861 * docs/design/part-element-sink.txt:
11864 * gst/gstbin.c: (bin_replace_message),
11865 (gst_bin_handle_message_func):
11866 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
11867 * gst/gstevent.c: (gst_event_finalize):
11868 * gst/gstpad.c: (gst_pad_event_default_dispatch),
11869 (gst_pad_send_event):
11870 Use shiny new _TYPE_NAME macros.
11872 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
11873 Move debug statement up.
11875 * gst/gstelement.c: (gst_element_set_locked_state):
11876 Add some debugging.
11878 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
11880 * docs/gst/gstreamer-sections.txt:
11881 * gst/gstmessage.h:
11883 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
11884 macros (#330906). Also, document the already existing
11885 GST_QUERY_TYPE macro.
11887 2006-02-13 Wim Taymans <wim@fluendo.com>
11889 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
11890 (event_probe), (GST_START_TEST):
11891 Only events up to the pipeline EOS are counted, there are
11892 some more when going to NULL currently which we don't care
11895 2006-02-13 Wim Taymans <wim@fluendo.com>
11897 * gst/gstpad.c: (gst_pad_send_event):
11898 Correctly check flushing and emit probes. fixes #330125
11900 2006-02-10 Andy Wingo <wingo@pobox.com>
11902 * gst/gstbus.c (gst_bus_class_init): Declare our private data
11904 (gst_bus_init): Cache the location of the private data in the
11905 instance structure.
11906 (gst_bus_enable_sync_message_emission)
11907 (gst_bus_disable_sync_message_emission): Implement new public
11909 (gst_bus_post): Emit the sync-message signal if the user asked for
11912 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
11913 location of the bus-private structure.
11914 (gst_bus_enable_sync_message_emission)
11915 (gst_bus_disable_sync_message_emission): API addition
11917 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
11919 Patch by: Vincent Torri
11921 * docs/pwg/building-boiler.xml:
11922 PWG patch from #326800
11924 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
11927 * docs/Makefile.am:
11928 * docs/design/Makefile.am:
11931 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11936 === release 0.10.3 ===
11938 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11941 releasing 0.10.3, "Like a virgin"
11943 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
11946 2nd prerelease of 0.10.3
11947 Bump libtool versioning.
11949 2006-02-07 Andy Wingo <wingo@pobox.com>
11951 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
11952 update last_stop if we're in TIME format and the timestamp is
11955 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
11956 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
11957 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
11958 If we get a new newsegment with a different format, adapt
11961 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
11962 of 0. Not a problem, really.
11964 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
11967 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
11972 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
11975 project files updated to the default vs7 configuration
11976 * win32/common/libgstbase.def:
11977 * win32/common/libgstreamer.def:
11979 removed empty lines,
11980 sorted all exported symbols alphabetically
11981 * win32/common/dirent.c:
11982 * win32/common/dirent.h:
11983 * win32/common/gchar.h:
11984 use windows line end.
11986 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
11988 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
11989 Send EOS event when stopping.
11991 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
11994 Tell folks what to do if the plugin-foobar.xml file
11995 hasn't been generated for a newly-added plugin.
11997 2006-02-05 Julien MOUTTE <julien@moutte.net>
11999 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12000 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
12001 (gst_collect_pads_start), (gst_collect_pads_stop),
12002 (gst_collect_pads_event): Collectpads now holds a reference
12003 to the GstPad that was added. Indeed we don't want to look
12004 at pads that might just go away with no warning...
12006 2006-02-05 Julien MOUTTE <julien@moutte.net>
12008 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
12009 (gst_collect_pads_start), (gst_collect_pads_stop),
12010 (gst_collect_pads_event), (gst_collect_pads_chain):
12011 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
12012 Mark Nauwelaerts's patch on bug #328491.
12014 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
12016 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
12018 Add some simple tests for gst_parse_bin_from_description() and
12019 gst_bin_find_unconnected_pad() (#329069).
12021 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
12023 * tools/gst-launch.c: (event_loop), (main):
12024 Catch errors during preroll (#320084).
12026 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
12028 * plugins/elements/gsttypefindelement.c:
12029 (gst_type_find_element_activate):
12030 Post TYPE_NOT_FOUND error message when typefinding
12031 is unsuccessful in the activate function as well.
12033 2006-02-02 Wim Taymans <wim@fluendo.com>
12035 * docs/design/part-element-sink.txt:
12038 2006-02-02 Wim Taymans <wim@fluendo.com>
12040 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
12041 (gst_base_sink_render_object),
12042 (gst_base_sink_queue_object_unlocked):
12043 Only keep track of prerollable items when we are
12045 Before rendering after preroll, always check if we
12047 Added some more debugging.
12049 2006-02-02 Wim Taymans <wim@fluendo.com>
12051 * gst/gstelement.c: (gst_element_continue_state),
12052 (gst_element_set_state_func), (gst_element_change_state):
12053 Fixed #326576, been running this for quite some time with
12054 no regressions at all.
12056 2006-02-02 Wim Taymans <wim@fluendo.com>
12059 Added more suppressions
12061 2006-02-02 Wim Taymans <wim@fluendo.com>
12063 * docs/design/part-element-sink.txt:
12066 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12067 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
12068 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
12069 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
12070 (gst_base_sink_do_sync), (gst_base_sink_render_object),
12071 (gst_base_sink_preroll_object),
12072 (gst_base_sink_queue_object_unlocked),
12073 (gst_base_sink_queue_object), (gst_base_sink_event),
12074 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
12075 (gst_base_sink_loop), (gst_base_sink_activate_pull),
12076 (gst_base_sink_get_position), (gst_base_sink_change_state):
12077 * libs/gst/base/gstbasesink.h:
12078 Totally refactored matching the design doc.
12079 Use two segments, one to clip incomming buffers and another to
12081 Handle queueing correctly, bypass the queue when playing.
12082 Make EOS cancelable.
12083 Handle errors correctly when operating in pull based mode.
12085 * tests/check/elements/fakesink.c: (GST_START_TEST),
12087 Added new check for sinks.
12089 2006-02-02 Wim Taymans <wim@fluendo.com>
12091 * gst/gstsegment.c: (gst_segment_clip):
12092 No reason to refuse to clip when start == -1
12094 2006-02-02 Stefan Kost <ensonic@users.sf.net>
12097 * docs/manual/intro-basics.xml:
12098 * docs/manual/intro-preface.xml:
12099 * docs/manual/manual.xml:
12100 * docs/pwg/advanced-dparams.xml:
12101 * docs/pwg/intro-basics.xml:
12102 * docs/pwg/intro-preface.xml:
12103 * docs/pwg/pwg.xml:
12104 describe dparams (controller) for plugins
12105 unify docs a little more
12107 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
12109 * docs/gst/gstreamer-sections.txt:
12110 * gst/gstutils.c: (element_find_unconnected_pad),
12111 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
12113 Add new API: gst_parse_bin_from_description() and
12114 gst_bin_find_unconnected_pad() (#329069).
12116 2006-02-01 Stefan Kost <ensonic@users.sf.net>
12118 * docs/manual/README:
12119 uncover a nasty detail of the docs build
12121 2006-01-31 Wim Taymans <wim@fluendo.com>
12123 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
12124 Don't cache duration messages if we're not going to use or
12127 2006-01-31 Stefan Kost <ensonic@users.sf.net>
12129 * docs/manual/advanced-dparams.xml:
12130 * docs/pwg/advanced-dparams.xml:
12134 * libs/gst/controller/lib.c: (gst_controller_init):
12137 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
12139 * gst/gstelement.c: (gst_element_message_full):
12140 also show file/line/func if no additional debug was given
12142 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
12144 * win32/vs7/grammar.vcproj:
12145 activate copy of autogenerated files for Release mode
12147 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
12149 * win32/common/libgstreamer.def:
12150 export gst_value_compare
12152 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
12154 * plugins/elements/Makefile.am:
12155 * plugins/elements/gstelements.c:
12156 * plugins/elements/gstfdsink.c: (_do_init),
12157 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
12158 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
12159 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
12160 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
12161 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
12162 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
12163 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
12164 * plugins/elements/gstfdsink.h:
12165 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
12167 2006-01-30 Stefan Kost <ensonic@users.sf.net>
12169 * docs/manual/advanced-dparams.xml:
12170 describe controller
12171 * docs/manual/advanced-position.xml:
12172 * docs/manual/basics-init.xml:
12173 * docs/manual/manual.xml:
12174 * docs/manual/titlepage.xml:
12175 * docs/pwg/pwg.xml:
12176 * docs/pwg/titlepage.xml:
12177 cleanup xml (more to come)
12178 * libs/gst/controller/gstcontroller.c:
12181 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
12183 * win32/vs6/grammar.dsp:
12184 add autogen of gstmarshal.c,h for Release mode
12186 2006-01-30 Wim Taymans <wim@fluendo.com>
12188 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12189 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
12190 (gst_base_sink_handle_object), (gst_base_sink_event),
12191 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
12192 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12193 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
12194 (gst_base_sink_deactivate), (gst_base_sink_activate),
12195 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
12196 (gst_base_sink_query), (gst_base_sink_change_state):
12197 Basesink cleanups, remove some old code.
12198 Handle the case where a subclass can preroll in the render
12199 method (mostly audiosinks).
12200 Handle more events.
12201 Remove some locks around variables that are now protected
12202 with the PREROLL_LOCK (clock_id, flushing, ..).
12203 Optimize position query some more, do correct locking.
12204 Remove old code to push queue in state change, this is not
12205 needed anymore since preroll blocks on all prerollable items
12207 Almost implemented as described in design doc.
12209 2006-01-30 Wim Taymans <wim@fluendo.com>
12211 * tests/check/gst/gstbin.c: (GST_START_TEST):
12212 Wait for refcount to settle down before checking.
12214 2006-01-30 Wim Taymans <wim@fluendo.com>
12216 * docs/design/part-element-sink.txt:
12217 Pseudo code overview of desired sink behaviour regarding
12220 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
12221 * win32/vs6/grammar.dsp:
12222 fix some bugs in Release mode for autogenerated files
12224 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
12225 * win32/common/libgstbase.def:
12226 * win32/common/libgstreamer.def:
12227 export some new symbols: gst_base_src_set_format,
12228 gst_iterator_next, gst_structure_set_valist
12230 2006-01-29 Julien MOUTTE <julien@moutte.net>
12232 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12233 Set pad functions unconditionally. Fixes #329105.
12235 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
12237 add vs8 project files created by Sergey Scobich
12239 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
12241 * gst/gstutils.c: (gst_element_unlink_pads):
12242 Don't leak pad references.
12244 * tests/check/elements/fakesink.c: (GST_START_TEST):
12245 * tests/check/generic/sinks.c: (GST_START_TEST):
12246 * tests/check/generic/states.c: (GST_START_TEST):
12247 * tests/check/gst/gstbin.c: (GST_START_TEST):
12248 * tests/check/gst/gstcaps.c: (GST_START_TEST):
12249 * tests/check/gst/gstelement.c: (GST_START_TEST):
12250 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12251 * tests/check/gst/gstiterator.c: (GST_START_TEST):
12252 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12253 Fix a bunch of leaks. Make generic/sinks.c
12254 use a bit less cpu by slowing the buffer rate
12255 between fakesrc and fakesink.
12257 2006-01-27 Stefan Kost <ensonic@users.sf.net>
12259 * gst/gstelement.c: (gst_element_send_event):
12262 * gst/gstiterator.c:
12263 * gst/gstiterator.h:
12264 * gst/gstpad.c: (gst_pad_send_event):
12265 * gst/gststructure.c:
12269 * libs/gst/base/gstadapter.c:
12270 doc fixes, to link to function, just write gst_cool_function(), don't
12273 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
12275 * plugins/elements/gsttee.c: (gst_tee_do_push),
12276 (gst_tee_handle_buffer):
12277 Always prefer an actual return value from a src
12278 pad in place of NOT_LINKED. This means we return
12279 WRONG_STATE when all src pads are WRONG_STATE
12280 instead of NOT_LINKED.
12282 Lock when replacing the last message to prevent
12283 racing with the get_property method.
12287 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
12289 * tests/check/Makefile.am:
12290 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
12292 Add a very simple check that should have caught the memleak I fixed
12293 last night (if not for the slice allocator hiding it)
12295 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
12297 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12298 (gst_bin_remove_func), (gst_bin_handle_message_func),
12299 (bin_query_duration_fold), (bin_query_generic_fold):
12300 Clean up references to the clock provider when disposed or when
12301 handling a clock-lost message from it.
12303 Unref sinks when performing a query via gst_iterator_fold, as the
12304 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
12306 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
12307 (gst_clock_set_master):
12308 Drop our reference to the master clock, if any, when we are disposed.
12310 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
12311 Chain up in dispose.
12313 2006-01-26 Wim Taymans <wim@fluendo.com>
12315 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12316 Add some debugging.
12318 2006-01-26 Julien MOUTTE <julien@moutte.net>
12320 * plugins/elements/gsttee.c: (gst_tee_do_push),
12321 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
12322 handles pad being NOT_LINKED or in WRONG_STATE.
12324 2006-01-26 Stefan Kost <ensonic@users.sf.net>
12329 2006-01-26 Stefan Kost <ensonic@users.sf.net>
12332 remove obsolete entry
12334 2006-01-26 Stefan Kost <ensonic@users.sf.net>
12336 * docs/gst/gstreamer-sections.txt:
12337 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
12338 (gst_bin_iterate_sources), (gst_bin_send_event):
12340 * gst/gstelement.c: (gst_element_send_event):
12342 * gst/gstpad.c: (gst_pad_send_event):
12343 added code for downstream events, reviewed docs in gstevent.c
12345 2006-01-25 Julien MOUTTE <julien@moutte.net>
12347 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12348 We only query position using the clock in the playing state.
12349 Query peer in the other cases.
12350 * win32/common/config.h: Updates.
12352 2006-01-24 Wim Taymans <wim@fluendo.com>
12354 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12355 A clock entry that is scheduled for the exact time of the
12356 clock is still in time.
12358 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12359 (gst_base_sink_do_sync):
12360 Add some more debug info.
12362 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
12365 Add new vs7 project files and solution.
12367 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
12370 all files removed as they were out-dated.
12372 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
12374 * docs/random/release:
12376 * gst/gstbin.c: (gst_bin_init):
12377 * gst/gstbus.c: (gst_bus_new):
12379 * gst/gstpipeline.c: (gst_pipeline_init):
12380 use gst_bus_new(), improve logging, fix docs
12381 * win32/common/config.h:
12382 update for cvs build
12384 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
12387 up required version of automake to 1.7
12389 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
12391 * win32/common/libgstreamer.def:
12392 export gst_buffer_is_metadata_writable
12394 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
12396 * docs/gst/gstreamer-sections.txt:
12398 Add gst_event_replace() (#327001)
12400 2006-01-20 Wim Taymans <wim@fluendo.com>
12402 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12403 Make it actually compile too..
12405 2006-01-20 Wim Taymans <wim@fluendo.com>
12408 Clarify behaviour of _is_equal() when passing NULL parameters.
12410 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12411 (gst_pad_set_caps):
12412 Cleanups. Don't unref NULL caps.
12413 When setting the same caps, protect caps of the pad with
12415 Use full functionality of _is_equal() when comparing caps.
12417 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
12419 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12420 Don't loop infinitely if there are no buffers to present. Partially
12421 fixes #327197, but collectpads is just broken for reusing elements
12422 to do multiple encodes atm.
12424 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
12426 * tools/gst-inspect.c: (print_element_features):
12427 * tools/gst-xmlinspect.c: (main):
12428 URL_HANDLER is not a plugin feature we can search for in
12431 2006-01-19 Edward Hervey <edward@fluendo.com>
12433 * gst/gstelement.c: (gst_element_pads_activate):
12434 When activating, do src pads first, then sink pads.
12435 When de-activating, do sink pads first, then src pads.
12437 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12439 * docs/gst/gstreamer-sections.txt:
12440 Add gst_index_add_associationv to the docs
12442 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12447 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12448 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12449 Do some refactoring. Doesn't actually change functionality,
12450 but makes landing the DRAIN event easier later.
12452 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
12454 * docs/pwg/advanced-scheduling.xml:
12455 Update from 0.9.x to 0.10 API and make example a bit
12458 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12460 * docs/gst/gstreamer-sections.txt:
12461 Add gst_buffer_(is|make)_metadata_writable methods.
12463 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
12465 * docs/design/part-sparsestreams.txt:
12466 Update sparse streams doc, hopefully for greater clarity
12468 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
12470 * docs/design/part-events.txt:
12471 Remove mention of FILLER events.
12474 * docs/design/part-sparsestreams.txt:
12475 Write some things about using NEWSEGMENT to keep sparse streams
12478 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
12480 * gst/gstbin.c: (gst_bin_dispose):
12481 Guard gst_object_unref call against a NULL object (dispose
12482 can theoretically be called multiple times).
12484 2006-01-18 Wim Taymans <wim@fluendo.com>
12486 * gst/gstbin.c: (gst_bin_element_set_state):
12487 * gst/gstclock.c: (gst_clock_id_wait):
12488 Added some more debug info.
12490 * libs/gst/base/gstadapter.c:
12493 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12494 (gst_base_sink_do_sync), (gst_base_sink_chain):
12495 Added some comments.
12497 2006-01-18 Wim Taymans <wim@fluendo.com>
12499 * tests/check/Makefile.am:
12500 * tests/check/elements/fakesink.c: (chain_async_buffer),
12501 (chain_async), (chain_async_return), (GST_START_TEST),
12502 (fakesink_suite), (main):
12503 Added fakesink test that checks prerolling and clipping
12506 * tests/check/gst/gstutils.c: (GST_START_TEST):
12507 Make check run faster so that buildbots don't timeout.
12509 2006-01-18 Wim Taymans <wim@fluendo.com>
12511 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12512 (gst_base_sink_do_sync):
12514 When the sink finishes blocking on the preroll buffer, it can
12515 immediatly render it instead of rendering when the next buffer
12518 2006-01-18 Wim Taymans <wim@fluendo.com>
12520 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12521 (gst_base_sink_get_property), (gst_base_sink_do_sync),
12522 (gst_base_sink_chain):
12524 GST_ELEMENT_CLOCK and sync are protected with LOCK.
12525 Don't store _last_stop if the buffer is dropped.
12527 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
12529 * plugins/elements/gsttypefindelement.c:
12530 (gst_type_find_element_class_init):
12531 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12532 object method handler that sets the caps on the pad and we want
12533 that to happen before we emit the signal (fixes e.g. feeding a
12534 plain text file to decodebin).
12536 2006-01-18 Christian Schaller <Christian@fluendo.com>
12538 * gst/gstplugin.c: Add MPL and Proprietary as license options
12540 2006-01-18 Andy Wingo <wingo@pobox.com>
12542 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12543 symbol was exported before, it appears this was just an oversight.
12545 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12547 * gst/gstindex.c (gst_index_add_associationv): Changed int in
12548 prototype to gint. OK since this prototype was not in the header.
12550 2006-01-17 Andy Wingo <wingo@pobox.com>
12552 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12553 registry while we remove plugins.
12555 * tools/gst-inspect.c (print_element_info): Don't unref the
12556 factory arg, that should be the responsibility of whatever code
12557 received the ref. Fixes a double-free when called from
12558 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12559 (main): Unref the factory if we have one.
12560 (print_element_list): No change -- relies on the
12561 plugin_feature_list_free to free the list of features.
12563 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
12565 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12566 (gst_buffer_make_metadata_writable):
12568 * libs/gst/base/gstbasetransform.c:
12569 (gst_base_transform_prepare_output_buf):
12570 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12571 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12572 Replace gst_buffer_(make|is)_metadata_writable patch now
12573 that the release is out.
12575 2006-01-17 Andy Wingo <wingo@pobox.com>
12577 * gst/gstregistry.c: Reflow design comment. Update so as to speak
12578 in the present tense without reference to versions.
12580 * gst/gstregistry.c (gst_registry_add_plugin)
12581 (gst_registry_remove_plugin, gst_registry_remove_feature)
12582 (gst_registry_find_feature, gst_registry_get_feature_list)
12583 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12584 (gst_registry_lookup, gst_registry_scan_path)
12585 (_gst_registry_remove_cache_plugins)
12586 (gst_registry_get_feature_list_by_plugin): Add argument
12589 === release 0.10.2 ===
12591 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
12594 releasing 0.10.2, "If man is five"
12596 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12600 * libs/gst/base/gstbasetransform.c:
12601 (gst_base_transform_prepare_output_buf):
12602 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12603 * tests/check/gst/gstbuffer.c: (gst_test_suite):
12604 Back out patch until after the release.
12606 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12608 * gst/gstminiobject.c:
12609 Spelling fix in docs.
12610 * ChangeLog - remove conflict indicator
12612 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
12614 Reviewed By: Andy Wingo
12616 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12617 (gst_buffer_make_metadata_writable):
12619 Add gst_buffer_(is|make)_metadata_writable as analogues of
12620 gst_buffer_(is|make)_writable.
12622 * libs/gst/base/gstbasetransform.c:
12623 (gst_base_transform_prepare_output_buf):
12624 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12625 Use name gst_buffer_(is|make)_metadata_writable functions.
12627 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12628 Test gst_buffer_(is|make)_metadata_writable
12632 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
12634 * docs/manual/Makefile.am:
12635 don't do parallel make
12638 * win32/common/config.h.in:
12639 add generations for HOST_CPU and GST_MAJORMINOR
12640 * win32/common/config.h:
12641 commit generated result
12643 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
12645 * docs/manual/appendix-integration.xml:
12646 Update GNOME integration section to use gst_init_get_option_group()
12647 instead of the old popt stuff (#322911). Also, GNOME applications
12648 should now use gconf*sink and gconf*src instead of the old gconf
12651 2006-01-13 Stefan Kost <ensonic@users.sf.net>
12654 * docs/gst/gstreamer-docs.sgml:
12655 * docs/gst/gstreamer-sections.txt:
12656 * docs/libs/gstreamer-libs-sections.txt:
12657 add new API entries to the docs
12658 * libs/gst/controller/Makefile.am:
12659 * libs/gst/controller/gstcontroller.c:
12660 * libs/gst/controller/gstcontroller.h:
12661 * libs/gst/controller/gstcontrollerprivate.h:
12662 * libs/gst/controller/gsthelper.c:
12663 * libs/gst/controller/gstinterpolation.c:
12664 move private structs to private header
12666 gstreamer-0.7 -> gstreamer-0.10
12667 * tests/check/libs/struct_i386.h:
12668 remove private structs
12670 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12672 * plugins/indexers/Makefile.am:
12673 Fixes as part of #317048
12675 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
12677 * plugins/indexers/Makefile.am:
12678 fix #316086 - compilation when mmap is missing
12680 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
12682 * libs/gst/base/gstbasesink.c:
12683 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
12684 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12685 * win32/common/config.h:
12686 added some defines GST_MAJORMINOR and HOST_CPU
12687 * win32/common/libgstbase.def:
12688 * win32/common/libgstreamer.def:
12689 added some exported functions.
12691 2006-01-12 Stefan Kost <ensonic@users.sf.net>
12693 * libs/gst/controller/gstcontroller.c:
12694 (gst_controlled_property_set_interpolation_mode),
12695 (gst_controlled_property_new):
12696 * libs/gst/controller/gstcontroller.h:
12697 * libs/gst/controller/gstinterpolation.c:
12698 (interpolate_none_get_string_value_array):
12699 make G_TYPE_STRING controlable
12701 2006-01-12 Stefan Kost <ensonic@users.sf.net>
12704 * tools/gst-feedback.1.in:
12705 * tools/gst-inspect.1.in:
12706 * tools/gst-launch.1.in:
12707 * tools/gst-md5sum.1.in:
12708 * tools/gst-typefind.1.in:
12709 * tools/gst-xmlinspect.1.in:
12710 * tools/gst-xmllaunch.1.in:
12711 cleanup man-pages, remove reference to gst-register, document env-vars
12713 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
12715 * gst/gstbuffer.c: (gst_buffer_span):
12716 gst_buffer_span should copy the timestamp of the first buffer
12717 if they were both originally overlapping subbuffers of the
12718 same parent, using the same logic as the 'slow copy' case.
12720 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
12722 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12723 Need to awaken ALL the pads when we pop a buffer, otherwise
12724 collectpads only works when there is 2 input streams.
12726 2006-01-11 Stefan Kost <ensonic@users.sf.net>
12728 * docs/random/ensonic/media-device-daemon.txt:
12731 fix doc example, add clarification
12732 * tools/gst-launch.1.in:
12733 add initial info about GST_PLUGIN_PATH, needs more work
12735 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
12737 * docs/manual/basics-bins.xml:
12738 * docs/manual/basics-elements.xml:
12739 * docs/manual/intro-basics.xml:
12740 Some more minor docs additions and updates.
12742 2006-01-11 Wim Taymans <wim@fluendo.com>
12744 * docs/manual/basics-bins.xml:
12745 * docs/manual/basics-elements.xml:
12746 Some small fixes as pointed out by Ser-ver on IRC.
12748 2006-01-10 Edward Hervey <edward@fluendo.com>
12750 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
12751 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
12752 the single-segment mode.
12754 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
12756 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12758 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
12759 (gst_base_src_perform_seek), (gst_base_src_send_event),
12760 (gst_base_src_set_property), (gst_base_src_get_property),
12761 (gst_base_src_loop), (gst_base_src_start),
12762 (gst_base_src_activate_push):
12763 * libs/gst/base/gstbasesrc.h:
12764 Name (private) union; makes Sun's Forte compiler happy (#324900).
12766 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
12769 gst-register is gone.
12771 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
12773 * gst/gstvalue.c: (_gst_value_initialize):
12774 make the G_TYPE_DATE instantiation work if debug is disabled
12776 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
12778 * gst/gstmessage.c: (gst_message_parse_tag),
12779 (gst_message_parse_error), (gst_message_parse_warning):
12780 Don't crash when return location for error/warning debug
12781 string is NULL; add fact that return locations can be
12782 NULL to docs where appropriate.
12784 2006-01-05 Wim Taymans <wim@fluendo.com>
12786 * gst/gstplugin.c: (gst_plugin_load_file):
12787 Replace strdup by g_strdup.
12789 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
12791 * docs/pwg/advanced-types.xml:
12794 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
12796 submitted by: Abel Cheung
12800 Added Chinese (traditional) translation
12802 2006-01-04 Wim Taymans <wim@fluendo.com>
12804 * docs/manual/basics-pads.xml:
12805 * docs/plugins/Makefile.am:
12806 * docs/plugins/gstreamer-plugins-docs.sgml:
12807 * docs/plugins/gstreamer-plugins-sections.txt:
12808 * docs/pwg/advanced-clock.xml:
12809 * docs/pwg/advanced-scheduling.xml:
12810 * docs/pwg/advanced-types.xml:
12811 * plugins/elements/gstfdsink.c:
12812 * plugins/elements/gstfdsrc.c:
12813 * plugins/elements/gstfdsrc.h:
12814 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12815 * plugins/elements/gstidentity.h:
12816 * plugins/elements/gstqueue.h:
12817 * plugins/elements/gsttee.c:
12818 * plugins/elements/gsttee.h:
12819 * plugins/elements/gsttypefindelement.c:
12820 (gst_type_find_element_class_init):
12821 * plugins/elements/gsttypefindelement.h:
12822 Small updates to various docs.
12823 Added core plugins to docs.
12825 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12828 add a suppression for liboil's uninitialized variable
12830 2006-01-02 James Livingston <jrl at ids dot org dot au>
12832 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
12835 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
12836 macro, so that gcc doesn't complain if the -Wmissing-prototypes
12837 compiler switch is being used (#325429).
12839 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
12841 * gst/gstbin.c: (gst_bin_query):
12842 Disable duration query caching in bins until it gets
12843 fixed (see #324807).
12845 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
12847 * tools/gst-inspect.c: (print_element_properties_info):
12848 Handle properties of POINTER and BOXED type.
12850 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
12852 * gst/gst.c: (init_post):
12853 Init tags stuff and some other things before loading
12854 any static plugins (there may be other static plugins
12855 than just the GStreamer ones, and they may want to
12856 register their own tags or formats or whatever, and
12857 preferably without segfaulting).
12859 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
12860 Print at least a warning in the debug logs if we drop a
12861 query just because we don't know how to adjust the value
12862 in the particular format.
12864 2005-12-24 David Schleef <ds@schleef.org>
12866 * tools/gstreamer-completion:
12867 Replacement for gst-complete written in sh and sed. Only
12868 completes names of features, but that's 90% of what I want
12869 it for. Properties are not available in registry.xml. (Maybe
12872 === release 0.10.1 ===
12874 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
12877 releasing 0.10.1, "Nollaig chridheil"
12879 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
12881 * docs/faq/cvs.xml:
12882 Add missing quote, should be make ERROR_CFLAGS="".
12884 2005-12-20 Wim Taymans <wim@fluendo.com>
12886 * docs/design/part-trickmodes.txt:
12887 More documentation on trickmodes.
12889 2005-12-20 Edward Hervey <edward@fluendo.com>
12891 * gst/gstcaps.c: (gst_static_caps_get_type):
12893 API addition: GST_TYPE_STATIC_CAPS
12894 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
12895 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
12896 * gst/gstpadtemplate.h:
12897 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
12898 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
12901 2005-12-18 Wim Taymans <wim@fluendo.com>
12903 * libs/gst/base/gstadapter.c:
12904 * libs/gst/base/gstadapter.h:
12905 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
12906 (gst_base_sink_get_position):
12907 * libs/gst/base/gstbasesink.h:
12908 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12909 (gst_base_src_default_query), (gst_base_src_default_do_seek),
12910 (gst_base_src_do_seek), (gst_base_src_perform_seek),
12911 (gst_base_src_send_event), (gst_base_src_update_length),
12912 (gst_base_src_get_range), (gst_base_src_loop),
12913 (gst_base_src_start):
12914 * libs/gst/base/gstbasesrc.h:
12915 * libs/gst/base/gstbasetransform.h:
12916 * libs/gst/base/gstcollectpads.h:
12917 * libs/gst/base/gstpushsrc.c:
12918 * libs/gst/base/gstpushsrc.h:
12919 * libs/gst/dataprotocol/dataprotocol.c:
12920 * libs/gst/dataprotocol/dataprotocol.h:
12921 * libs/gst/net/gstnetclientclock.h:
12922 * libs/gst/net/gstnettimeprovider.h:
12923 Documentation updates.
12925 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
12927 * docs/manual/basics-helloworld.xml:
12928 Remove superfluous closing bracket in helloworld example.
12930 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
12932 * tools/gst-launch.1.in:
12933 Update gst-launch man page; add a section with useful
12934 environment variables. Fixes #323882.
12936 2005-12-16 Stefan Kost <ensonic@users.sf.net>
12939 * gst/gst_private.h:
12940 change some char* into char[]
12942 2005-12-16 Wim Taymans <wim@fluendo.com>
12944 * gst/gstregistryxml.c: (load_feature):
12946 Don't use g_object_unref on GstObjects so that we avoid
12947 leaks on unsafe glibs.
12949 2005-12-16 Wim Taymans <wim@fluendo.com>
12951 * gst/gstbin.c: (gst_bin_recalc_state):
12954 2005-12-16 Wim Taymans <wim@fluendo.com>
12956 * common/check.mak:
12957 Added make forever target for check.
12959 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
12961 * gst/gst.c: (init_post):
12962 make the registry cache file HOST_CPU-dependent
12964 2005-12-16 Andy Wingo <wingo@pobox.com>
12966 * plugins/elements/gstbufferstore.c
12967 (gst_buffer_store_cleared_func): Pay attention to g_list_append
12970 * tests/check/gst/gstobject.c
12971 (test_fake_object_name_threaded_unique): Pay attention to
12972 g_list_sort return value.
12974 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
12976 * tools/gst-feedback-m.m:
12977 Update for 0.9/0.10 (fixes #323870).
12979 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
12981 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
12982 Fix lcopy for mini objects, the mini object needs to be ref'ed.
12984 * tests/check/gst/gstminiobject.c: (my_foo_init),
12985 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
12986 (test_value_collection), (gst_mini_object_suite):
12987 Add test to ensure refcounts end up as expected when passing
12988 GstMiniObjects through g_object_get() and g_object_set().
12990 2005-12-14 Julien MOUTTE <julien@moutte.net>
12992 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
12993 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
12994 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
12995 of collectpads. This version removes a lot of races without
12996 touching API/ABI. Yay !
12998 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
13000 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
13001 Don't allow activation of a srcpad in pull_range if it has no
13003 Change some debug statements to be a little clearer
13005 * plugins/elements/gsttypefindelement.c:
13006 (gst_type_find_handle_src_query):
13007 Check that we have a peer before executing queries thereupon.
13009 * tests/examples/metadata/read-metadata.c: (message_loop):
13010 Use gst_bus_pop instead of gst_bus_poll when we just want it to
13011 immediately return us any available message with 0 timeout.
13013 2005-12-12 Michael Smith <msmith@fluendo.com>
13015 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
13016 Don't unref factories after calling them.
13017 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
13018 * plugins/elements/gsttypefindelement.c:
13019 (gst_type_find_element_chain):
13020 Free lists of factories after using them. Fixing typefinding memory
13023 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13025 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
13026 (gst_plugin_feature_load):
13027 more meaningful debug output
13029 * tests/Makefile.am:
13030 * tests/old/examples/Makefile.am:
13031 make make distcheck happy again
13033 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
13035 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
13036 Catch the special case where we are operating chain-based,
13037 but the downstream peer pad has no chain function. Emit a
13038 custom error message in this case instead of letting the
13039 core generate one implying that this is some sort of core
13040 bug. It's not, it just means that whatever got plugged
13041 into the pipeline downstream when we announced the type
13042 can only operate pull-based, while our source can only
13043 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
13044 Error string has not been marked for translation yet, as
13045 it probably needs some more work first.
13047 (gst_type_find_element_get_best_possibility):
13048 Add helper function to find the best of all available
13049 found possibilities that qualify given the min. threshold.
13051 (gst_type_find_element_handle_event):
13052 Fix the case where we get an EOS while still in TYPEFIND
13053 mode (we want to chose the best of all possible types,
13054 not just the first type that happens to be in our unsorted
13055 list of possible types).
13057 (gst_type_find_element_chain):
13058 Make sure we return GST_FLOW_ERROR when we errored out
13059 in stop_typefinding(); also, don't just find the best of
13060 all found type entries and then use the last examined
13061 type entry, but actually use the best entry.
13063 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
13065 * tests/examples/typefind/typefind.c: (type_found):
13066 * tests/examples/xml/runxml.c: (xml_loaded):
13067 More gcc4 fixes and a mem leak fix.
13069 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13071 * tests/examples/xml/createxml.c: (object_saved):
13074 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13076 * tests/Makefile.am:
13077 enable the examples even more
13079 2005-12-12 Andy Wingo <wingo@pobox.com>
13081 * libs/gst/net/gstnettimeprovider.c
13082 (gst_net_time_provider_class_init, gst_net_time_provider_init)
13083 (gst_net_time_provider_set_property)
13084 (gst_net_time_provider_get_property):
13085 API addition: Export "active" as a GObject property.
13086 (gst_net_time_provider_thread): Only respond to time queries if
13087 the time provider is active.
13089 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
13090 NetTimeProvider, preserving binary compat.
13092 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13094 * tests/examples/controller/audio-example.c: (main):
13095 * tests/examples/launch/Makefile.am:
13096 convert comments again
13098 2005-12-12 Wim Taymans <wim@fluendo.com>
13100 * libs/gst/base/gstpushsrc.c:
13103 2005-12-12 Wim Taymans <wim@fluendo.com>
13105 * docs/libs/gstreamer-libs-sections.txt:
13106 Added new symbol to docs.
13108 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13109 (gst_base_src_init), (gst_base_src_set_format),
13110 (gst_base_src_default_query), (gst_base_src_query),
13111 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
13112 (gst_base_src_perform_seek), (gst_base_src_send_event),
13113 (gst_base_src_default_event), (gst_base_src_event_handler),
13114 (gst_base_src_set_property), (gst_base_src_get_property),
13115 (gst_base_src_wait), (gst_base_src_do_sync),
13116 (gst_base_src_update_length), (gst_base_src_get_range),
13117 (gst_base_src_check_get_range), (gst_base_src_loop),
13118 (gst_base_src_default_negotiate), (gst_base_src_start),
13119 (gst_base_src_activate_push), (gst_base_src_activate_pull),
13120 (gst_base_src_change_state):
13121 * libs/gst/base/gstbasesrc.h:
13122 Implement seeking to other formats than _BYTES.
13123 Implement more seeking methods correctly.
13125 Added query vmethod.
13126 Added do_seek vmethod to make life easier for subclasses
13128 API addition: gst_base_src_set_format()
13130 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13132 * tests/examples/Makefile.am:
13135 2005-12-12 Stefan Kost <ensonic@users.sf.net>
13138 * docs/random/ensonic/media-device-daemon.txt:
13139 * tests/examples/controller/.cvsignore:
13140 * tests/examples/controller/Makefile.am:
13141 * tests/examples/controller/audio-example.c: (main):
13142 * tests/examples/helloworld/.cvsignore:
13143 * tests/examples/helloworld/Makefile.am:
13144 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
13145 * tests/examples/launch/.cvsignore:
13146 * tests/examples/launch/Makefile.am:
13147 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
13148 * tests/examples/metadata/.cvsignore:
13149 * tests/examples/metadata/Makefile.am:
13150 * tests/examples/metadata/read-metadata.c: (message_loop),
13151 (make_pipeline), (print_tag), (main):
13152 * tests/examples/queue/.cvsignore:
13153 * tests/examples/queue/Makefile.am:
13154 * tests/examples/queue/queue.c: (event_loop), (main):
13155 * tests/examples/typefind/.cvsignore:
13156 * tests/examples/typefind/Makefile.am:
13157 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
13159 * tests/examples/xml/.cvsignore:
13160 * tests/examples/xml/Makefile.am:
13161 * tests/examples/xml/createxml.c: (object_saved), (main):
13162 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
13163 * tests/old/examples/Makefile.am:
13164 * tests/old/examples/TODO:
13165 * tests/old/examples/controller/.cvsignore:
13166 * tests/old/examples/controller/Makefile.am:
13167 * tests/old/examples/controller/audio-example.c:
13168 * tests/old/examples/helloworld/.cvsignore:
13169 * tests/old/examples/helloworld/Makefile.am:
13170 * tests/old/examples/helloworld/helloworld.c:
13171 * tests/old/examples/launch/.cvsignore:
13172 * tests/old/examples/launch/Makefile.am:
13173 * tests/old/examples/launch/mp3parselaunch.c:
13174 * tests/old/examples/launch/mp3play:
13175 * tests/old/examples/manual/Makefile.am:
13176 * tests/old/examples/metadata/Makefile.am:
13177 * tests/old/examples/metadata/read-metadata.c:
13178 * tests/old/examples/queue/.cvsignore:
13179 * tests/old/examples/queue/Makefile.am:
13180 * tests/old/examples/queue/queue.c:
13181 * tests/old/examples/typefind/.cvsignore:
13182 * tests/old/examples/typefind/Makefile.am:
13183 * tests/old/examples/typefind/typefind.c:
13184 * tests/old/examples/xml/.cvsignore:
13185 * tests/old/examples/xml/Makefile.am:
13186 * tests/old/examples/xml/createxml.c:
13187 * tests/old/examples/xml/runxml.c:
13188 applied some simple fixing to some examples
13189 re-enabled the working examples
13191 2005-12-12 Wim Taymans <wim@fluendo.com>
13193 * gst/gstsegment.c: (gst_segment_init),
13194 (gst_segment_set_last_stop), (gst_segment_set_seek),
13195 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13196 (gst_segment_to_running_time):
13197 Added more documentation.
13198 Make sure the last_pos value is updated properly.
13199 Make sure to_stream_time and to_running_time don't
13200 operate on wrong values.
13202 * tests/check/gst/gstsegment.c: (GST_START_TEST):
13205 2005-12-12 Michael Smith <msmith@fluendo.com>
13207 * plugins/elements/gsttypefindelement.c: (free_entry),
13208 (gst_type_find_element_chain):
13209 Now that we're not leaking factories, make sure we keep references
13210 to them while we need them.
13212 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
13214 * tests/check/gst/struct_i386.h:
13215 ifdef out the XML structs
13217 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
13219 * gst/gstvalue.c: (gst_value_transform_double_fraction):
13220 floor is not needed, F is always positive; this obviates the
13221 need for adding -lm when building without libxml
13223 2005-12-12 Wim Taymans <wim@fluendo.com>
13225 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13226 Take current playback rate into account when reporting
13229 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13231 * docs/manual/mime-world.fig:
13232 Let's try this again, this time with a file that is
13233 actually in XFig format.
13235 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13237 * docs/manual/mime-world.fig:
13238 Add audioconvert element to diagram so that it
13239 matches the text and the code (fixes #319526).
13241 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13243 * docs/pwg/building-chainfn.xml:
13244 * docs/pwg/building-pads.xml:
13245 * docs/pwg/building-state.xml:
13246 * docs/pwg/other-source.xml:
13247 Update state change stuff for 0.10 (fixes #322969).
13249 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13251 * docs/manual/advanced-dataaccess.xml:
13252 * docs/manual/appendix-checklist.xml:
13253 * docs/manual/appendix-programs.xml:
13254 * docs/manual/basics-pads.xml:
13255 * docs/manual/highlevel-components.xml:
13256 * docs/manual/manual.xml:
13257 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
13258 add converters in front of pipelines; remove curly
13259 brackets for threads stuff, they no longer exist; use
13260 GST_TYPE_FRACTION for framerates; update some pieces of
13261 code to 0.10, but there's plenty more to do.
13263 * docs/manual/appendix-porting.xml:
13264 Expand on asynchroneous state changes; s/0.9/0.10/;
13265 mention disappearance of gst_init_get_popt_table()
13268 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
13270 * docs/faq/using.xml:
13271 Spider no longer exists, and neither does gst-launch-ext.
13272 Update examples to use decodebin and playbin and put
13273 converters in front of sinks (fixes #323726).
13275 2005-12-09 Michael Smith <msmith@fluendo.com>
13277 * plugins/elements/gsttypefindelement.c: (find_peek),
13278 (gst_type_find_element_chain):
13279 Fix leaking element factories in typefinding.
13280 Fix problem where we forgot about a probable type on non-seekable
13281 files, and thus later mis-typefound it.
13283 2005-12-09 Michael Smith <msmith@fluendo.com>
13285 * common/m4/gst-makecontext.m4:
13286 * common/m4/gst-mcsc.m4:
13288 * win32/common/config.h:
13289 * win32/common/config.h.in:
13290 Remove makecontext stuff; not used in 0.10 and causes problems on
13291 HPUX according to bug #322441
13293 2005-12-07 Wim Taymans <wim@fluendo.com>
13295 * tests/check/Makefile.am:
13296 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
13298 * tests/check/libs/struct_i386.h:
13299 Added ABI check for libs
13301 2005-12-07 Wim Taymans <wim@fluendo.com>
13303 * tests/check/Makefile.am:
13304 And add the struct_i386.h to dist.
13306 2005-12-07 Wim Taymans <wim@fluendo.com>
13308 * tests/check/Makefile.am:
13309 * tests/check/gst/.cvsignore:
13310 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
13312 * tests/check/gst/struct_i386.h:
13313 Added check for ABI compatibility.
13315 2005-12-07 Wim Taymans <wim@fluendo.com>
13317 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13318 (gst_fake_src_get_times), (gst_fake_src_create):
13319 Fix broken sync option, fixes #323259
13321 2005-12-07 Wim Taymans <wim@fluendo.com>
13326 * gst/gstcaps.c: (gst_caps_is_equal):
13327 Don't assert on NULL <--> X. Fixes #323260
13329 * gst/gstminiobject.c: (gst_mini_object_replace):
13330 If we're doing atomic operations, we might just as well use
13331 the proper way to get an atomic pointer.
13333 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13334 Clean up debugging.
13336 2005-12-07 Michael Smith <msmith@fluendo.com>
13338 * gst/parse/grammar.y:
13339 Remove handling of { } for threads.
13341 2005-12-06 David Schleef <ds@schleef.org>
13343 * libs/gst/base/gstbasetransform.c: speling fix.
13345 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
13347 * docs/libs/tmpl/gstdataprotocol.sgml:
13348 * docs/random/omega/testing/gstobject.c:
13351 * gst/gstelement.c:
13352 * gst/gstelementfactory.c:
13355 * gst/gstghostpad.c:
13357 * gst/gstpadtemplate.c:
13358 * gst/gstregistryxml.c:
13359 * gst/gsttaglist.c:
13360 * gst/gsttagsetter.c:
13361 * gst/gsttypefind.c:
13363 * libs/gst/base/gstbasesrc.c:
13364 * libs/gst/net/gstnetclientclock.c:
13365 * libs/gst/net/gstnettimeprovider.c:
13366 * plugins/elements/gstfakesrc.c:
13367 * plugins/elements/gstfdsrc.c:
13368 * plugins/elements/gstfilesrc.c:
13369 * plugins/elements/gstidentity.c:
13370 * plugins/elements/gstqueue.c:
13371 * plugins/elements/gsttypefindelement.c:
13372 * plugins/indexers/gstfileindex.c:
13373 * plugins/indexers/gstmemindex.c:
13374 * tests/check/gst/gsttag.c:
13375 * tests/old/examples/cutter/cutter.c:
13376 * tests/old/examples/mixer/mixer.c:
13377 * tests/old/examples/xml/runxml.c: (main):
13378 * tests/old/testsuite/caps/normalisation.c:
13379 * tests/old/testsuite/debug/global.c:
13380 * tests/old/testsuite/parse/parse1.c:
13381 * tools/gst-xmlinspect.c:
13382 * win32/common/dirent.c:
13385 === release 0.10.0 ===
13387 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13390 releasing 0.10.0, "Maroilles"
13392 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13394 submitted by: Funda Wang <fundawang@linux.net.cn>
13398 added Chinese (Traditional) translation
13400 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13402 * docs/gst/gstreamer-sections.txt:
13403 * docs/libs/tmpl/gstdataprotocol.sgml:
13404 * docs/random/thomasvs/TODO:
13409 2005-12-05 Andy Wingo <wingo@pobox.com>
13411 patch by: Wim Taymans <wim@fluendo.com>
13413 * libs/gst/base/gstbasetransform.c
13414 (gst_base_transform_prepare_output_buf)
13415 (gst_base_transform_buffer_alloc):
13416 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13417 alloc_buffer_and_set_caps.
13419 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13420 set_caps on the source pad.
13421 (gst_pad_alloc_buffer_and_set_caps): New function, does what
13422 alloc_buffer used to do. Fixes #322874.
13424 * docs/gst/gstreamer-sections.txt:
13425 * docs/design/part-negotiation.txt:
13426 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13429 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
13431 patch by: Sebastien Moutte
13434 * win32/common/config.h.in:
13435 * win32/vs6/libgstcontroller.dsp:
13438 2005-12-05 Wim Taymans <wim@fluendo.com>
13440 * gst/gstcaps.c: (gst_caps_is_equal):
13441 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13442 (gst_fake_src_create):
13443 Back out previous code changes, leave doc updates, file bugs
13446 2005-12-05 Wim Taymans <wim@fluendo.com>
13448 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13449 (gst_fake_src_get_times), (gst_fake_src_create):
13450 * plugins/elements/gstfakesrc.h:
13451 Fix broken sync code.
13453 2005-12-05 Wim Taymans <wim@fluendo.com>
13455 * gst/gstcaps.c: (gst_caps_is_equal):
13456 Comparing NULL against !NULL yields different caps, not a
13459 2005-12-05 Wim Taymans <wim@fluendo.com>
13461 * gst/gstpipeline.c:
13462 Fix small typo in docs.
13464 2005-12-05 Andy Wingo <wingo@pobox.com>
13466 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
13468 * gst/gst.c (init_post): remove hard-coded 0.9 location for
13469 registries/plugins with a MAJORMINOR one.
13470 (plugin_desc): Rename library from gstcoreleements to
13471 staticelements. Fixes #323222.
13473 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
13475 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
13476 Change debug category to 'collectpads' from 'collect_pads'
13479 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
13481 patch by: Sebastien Moutte
13483 * libs/gst/controller/gstinterpolation.c:
13484 use convert function for uint64/double
13485 * win32/vs6/libgstcontroller.dsp:
13488 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
13490 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
13491 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
13493 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13494 add tests that seem to show that the guint64/gdouble conversions
13497 2005-12-02 Wim Taymans <wim@fluendo.com>
13499 * gst/gstregistry.c: (gst_registry_add_path):
13500 * gst/gstregistry.h:
13501 * gst/gstregistryxml.c:
13504 2005-12-02 Wim Taymans <wim@fluendo.com>
13506 * gst/gstutils.c: (gst_util_uint64_scale_int64),
13507 (gst_util_uint64_scale_int):
13510 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13511 Add debug log line.
13513 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13516 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
13519 * win32/common/config.h:
13520 * win32/vs6/gstreamer.dsw:
13521 * win32/vs6/libgstcoreelements.dsp:
13522 * win32/vs6/libgstelements.dsp:
13523 renamed core elements plugin
13525 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
13527 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13529 do piece-wise major/minor comparison so 0.9 < 0.10
13530 also allow .exe extensions for tools
13532 2005-12-02 Michael Smith <msmith@fluendo.com>
13535 Escape a % to make gtkdoc happier; bug 322958.
13537 === release 0.9.7 ===
13539 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13542 releasing 0.9.7, "My Dog Has No Nose"
13544 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13546 * common/gst-xmlinspect.py:
13548 * docs/libs/tmpl/gstdataprotocol.sgml:
13549 * docs/random/release:
13568 * win32/common/config.h:
13569 * win32/common/config.h.in:
13570 * win32/vs6/gst_inspect.dsp:
13571 * win32/vs6/gst_launch.dsp:
13572 * win32/vs6/libgstbase.dsp:
13573 * win32/vs6/libgstelements.dsp:
13574 * win32/vs6/libgstreamer.dsp:
13575 * win32/vs7/GStreamer.vcproj:
13576 * win32/vs7/gst-inspect.vcproj:
13577 * win32/vs7/gst-launch.vcproj:
13578 * win32/vs7/libgstbase.vcproj:
13579 bump GST_MAJORMINOR to 0.10
13580 reset libtool version
13582 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13586 Added Bulgarian translation by (Alexander Shopov)
13588 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13590 * tests/check/gst/gstplugin.c:
13593 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13595 * common/gst-xmlinspect.py:
13596 * common/gtk-doc-plugins.mak:
13598 * docs/Makefile.am:
13599 * docs/gst/Makefile.am:
13600 * docs/gst/gstreamer-docs.sgml:
13601 * docs/gst/gstreamer-sections.txt:
13602 * docs/gst/gstreamer.types:
13603 * docs/gst/gstreamer.types.in:
13604 * docs/plugins/Makefile.am:
13605 * docs/plugins/gstreamer-plugins-docs.sgml:
13606 * docs/plugins/gstreamer-plugins-sections.txt:
13607 * docs/plugins/gstreamer-plugins.types:
13608 * docs/plugins/inspect.stamp:
13609 * docs/plugins/inspect/plugin-coreelements.xml:
13610 * docs/plugins/inspect/plugin-coreindexers.xml:
13611 * docs/plugins/scanobj-build.stamp:
13612 * gstreamer.spec.in:
13613 * plugins/elements/Makefile.am:
13614 * plugins/elements/gstelements.c:
13615 * plugins/elements/gstfakesink.c:
13616 * plugins/elements/gstfakesrc.c:
13617 * plugins/elements/gstfilesink.c:
13618 * plugins/elements/gstfilesrc.c:
13619 * plugins/elements/gstqueue.c:
13620 * plugins/indexers/Makefile.am:
13621 * plugins/indexers/gstindexers.c:
13622 document core plugins in a separate document just like all the
13624 rename these plugins to something starting with core
13626 2005-12-01 Andy Wingo <wingo@pobox.com>
13628 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13629 padding here before, but it missed the commit.
13631 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13633 * libs/gst/controller/gstinterpolation.c:
13634 whitespace prices have crashed, we should feel free to use some now
13635 use gst_guint64_to_gdouble
13637 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13639 * libs/gst/controller/gstcontroller.c:
13640 * libs/gst/controller/gsthelper.c:
13641 * libs/gst/controller/gstinterpolation.c:
13642 * libs/gst/controller/lib.c:
13643 wrap config.h include
13645 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13647 * docs/gst/gstreamer-sections.txt:
13650 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
13652 * plugins/elements/gstelements.c:
13653 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13654 (gst_fd_sink__class_init), (gst_fd_sink__init),
13655 (gst_fd_sink__chain), (gst_fd_sink__set_property),
13656 (gst_fd_sink__get_property):
13657 * plugins/elements/gstfdsink.h:
13658 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13659 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13660 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13661 (gst_fd_src_unlock), (gst_fd_src_set_property),
13662 (gst_fd_src_get_property), (gst_fd_src_create),
13663 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13664 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13665 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13666 (gst_fd_src_uri_handler_init):
13667 * plugins/elements/gstfdsrc.h:
13668 * plugins/elements/gstqueue.c: (gst_queue_get_type):
13671 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13673 * docs/gst/Makefile.am:
13674 * docs/gst/gstreamer.types.in:
13678 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13684 * gst/gstregistry.h:
13685 * tests/benchmarks/complexity.c:
13686 * tests/benchmarks/mass-elements.c:
13687 * tests/check/Makefile.am:
13688 * tools/Makefile.am:
13689 * tools/gst-inspect.c:
13690 * tools/gst-xmlinspect.c:
13691 various fixes to make
13692 --disable-nls --disable-registry --disable-loadsave
13693 --disable-parse --disable-gst-debug
13694 work and get the core .so down to 360444 bytes after stripping
13696 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13701 * docs/random/thomasvs/TODO:
13702 * tests/Makefile.am:
13706 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13708 * win32/GStreamer.vcproj:
13711 * win32/Makefile.inspect:
13712 * win32/Makefile.launch:
13713 * win32/Makefile.register:
13714 * win32/README.txt:
13715 * win32/gst-inspect.vcproj:
13716 * win32/gst-launch.vcproj:
13717 * win32/gst-register.vcproj:
13718 * win32/gstelements.vcproj:
13719 * win32/gstgetbits.def:
13720 * win32/gstgetbits.vcproj:
13721 * win32/gstreamer-dbg.def:
13722 * win32/gstreamer.def:
13723 * win32/libgstbase.def:
13724 * win32/libgstbase.vcproj:
13725 * win32/link_oldruntime.c:
13729 * win32/msvc71.sln:
13730 move even more stuff, win32/ is nice and clean now
13732 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13734 * libs/gst/control/.cvsignore:
13739 * win32/gstbytestream.def:
13740 * win32/gstbytestream.vcproj:
13741 * win32/gstconfig.h:
13742 * win32/gstenumtypes.c:
13743 * win32/gstenumtypes.h:
13744 * win32/gstoptimalscheduler.vcproj:
13745 * win32/gstversion.h:
13747 * win32/testsuite/bins.vcproj:
13748 * win32/testsuite/bytestream.vcproj:
13749 * win32/testsuite/caps.vcproj:
13750 * win32/testsuite/cleanup.vcproj:
13751 * win32/testsuite/clock.vcproj:
13752 * win32/testsuite/debug.vcproj:
13753 * win32/testsuite/dlopen.vcproj:
13754 * win32/testsuite/dynparams.vcproj:
13755 * win32/testsuite/elements.vcproj:
13756 * win32/testsuite/ghostpads.vcproj:
13757 * win32/testsuite/indexers.vcproj:
13758 * win32/testsuite/negotiation.vcproj:
13759 * win32/testsuite/parse.vcproj:
13760 * win32/testsuite/plugin.vcproj:
13761 * win32/testsuite/refcounting.vcproj:
13762 * win32/testsuite/schedulers.vcproj:
13763 * win32/testsuite/states.vcproj:
13764 * win32/testsuite/tags.vcproj:
13765 * win32/testsuite/threads.vcproj:
13766 remove old win32 stuff that isn't maintained and should be
13769 2005-11-30 Andy Wingo <wingo@pobox.com>
13771 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
13772 loading the gst.interfaces python module bork.
13774 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
13775 available since GLib 2.2. Fixes #318031.
13777 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13780 * check/.cvsignore:
13781 * check/Makefile.am:
13782 * check/elements/.cvsignore:
13783 * check/elements/fakesrc.c:
13784 * check/elements/fdsrc.c:
13785 * check/elements/identity.c:
13786 * check/generic/.cvsignore:
13787 * check/generic/states.c:
13788 * check/gst-libs/.cvsignore:
13789 * check/gst-libs/controller.c:
13790 * check/gst-libs/gdp.c:
13791 * check/gst/.cvsignore:
13792 * check/gst/capslist.h:
13794 * check/gst/gstbin.c:
13795 * check/gst/gstbuffer.c:
13796 * check/gst/gstbus.c:
13797 * check/gst/gstcaps.c:
13798 * check/gst/gstelement.c:
13799 * check/gst/gstevent.c:
13800 * check/gst/gstghostpad.c:
13801 * check/gst/gstiterator.c:
13802 * check/gst/gstmessage.c:
13803 * check/gst/gstminiobject.c:
13804 * check/gst/gstobject.c:
13805 * check/gst/gstpad.c:
13806 * check/gst/gstpipeline.c:
13807 * check/gst/gstplugin.c:
13808 * check/gst/gstsegment.c:
13809 * check/gst/gststructure.c:
13810 * check/gst/gstsystemclock.c:
13811 * check/gst/gsttag.c:
13812 * check/gst/gstutils.c:
13813 * check/gst/gstvalue.c:
13814 * check/net/.cvsignore:
13815 * check/net/gstnetclientclock.c:
13816 * check/net/gstnettimeprovider.c:
13817 * check/pipelines/.cvsignore:
13818 * check/pipelines/cleanup.c:
13819 * check/pipelines/simple_launch_lines.c:
13820 * check/pipelines/stress.c:
13821 * check/states/.cvsignore:
13822 * check/states/sinks.c:
13824 * examples/Makefile.am:
13825 * examples/appreader/.cvsignore:
13826 * examples/appreader/Makefile.am:
13827 * examples/appreader/appreader.c:
13828 * examples/controller/.cvsignore:
13829 * examples/controller/Makefile.am:
13830 * examples/controller/audio-example.c:
13831 * examples/cutter/.cvsignore:
13832 * examples/cutter/Makefile.am:
13833 * examples/cutter/cutter.c:
13834 * examples/cutter/cutter.h:
13835 * examples/events/Makefile.am:
13836 * examples/events/seek.c:
13837 * examples/helloworld/.cvsignore:
13838 * examples/helloworld/Makefile.am:
13839 * examples/helloworld/helloworld.c:
13840 * examples/helloworld2/.cvsignore:
13841 * examples/helloworld2/Makefile.am:
13842 * examples/helloworld2/helloworld2.c:
13843 * examples/launch/.cvsignore:
13844 * examples/launch/Makefile.am:
13845 * examples/launch/mp3parselaunch.c:
13846 * examples/launch/mp3play:
13847 * examples/manual/.cvsignore:
13848 * examples/manual/Makefile.am:
13849 * examples/manual/extract.pl:
13850 * examples/metadata/Makefile.am:
13851 * examples/metadata/read-metadata.c:
13852 * examples/mixer/.cvsignore:
13853 * examples/mixer/Makefile.am:
13854 * examples/mixer/mixer.c:
13855 * examples/mixer/mixer.h:
13856 * examples/pingpong/.cvsignore:
13857 * examples/pingpong/Makefile.am:
13858 * examples/pingpong/pingpong.c:
13859 * examples/plugins/.cvsignore:
13860 * examples/plugins/Makefile.am:
13861 * examples/plugins/example.c:
13862 * examples/plugins/example.h:
13863 * examples/pwg/.cvsignore:
13864 * examples/pwg/Makefile.am:
13865 * examples/pwg/extract.pl:
13866 * examples/queue/.cvsignore:
13867 * examples/queue/Makefile.am:
13868 * examples/queue/queue.c:
13869 * examples/queue2/.cvsignore:
13870 * examples/queue2/Makefile.am:
13871 * examples/queue2/queue2.c:
13872 * examples/queue3/.cvsignore:
13873 * examples/queue3/Makefile.am:
13874 * examples/queue3/queue3.c:
13875 * examples/queue4/.cvsignore:
13876 * examples/queue4/Makefile.am:
13877 * examples/queue4/queue4.c:
13878 * examples/retag/.cvsignore:
13879 * examples/retag/Makefile.am:
13880 * examples/retag/retag.c:
13881 * examples/retag/transcode.c:
13882 * examples/thread/.cvsignore:
13883 * examples/thread/Makefile.am:
13884 * examples/thread/thread.c:
13885 * examples/typefind/.cvsignore:
13886 * examples/typefind/Makefile.am:
13887 * examples/typefind/typefind.c:
13888 * examples/xml/.cvsignore:
13889 * examples/xml/Makefile.am:
13890 * examples/xml/createxml.c:
13891 * examples/xml/runxml.c:
13892 * tests/Makefile.am:
13893 * tests/check/Makefile.am:
13894 * testsuite/.cvsignore:
13895 * testsuite/Makefile.am:
13897 * testsuite/caps/.cvsignore:
13898 * testsuite/caps/Makefile.am:
13899 * testsuite/caps/app_fixate.c:
13900 * testsuite/caps/audioscale.c:
13901 * testsuite/caps/caps.c:
13902 * testsuite/caps/caps.h:
13903 * testsuite/caps/caps_strings:
13904 * testsuite/caps/compatibility.c:
13905 * testsuite/caps/deserialize.c:
13906 * testsuite/caps/enumcaps.c:
13907 * testsuite/caps/eratosthenes.c:
13908 * testsuite/caps/filtercaps.c:
13909 * testsuite/caps/fixed.c:
13910 * testsuite/caps/fraction-convert.c:
13911 * testsuite/caps/fraction-multiply-and-zero.c:
13912 * testsuite/caps/intersect2.c:
13913 * testsuite/caps/intersection.c:
13914 * testsuite/caps/normalisation.c:
13915 * testsuite/caps/random.c:
13916 * testsuite/caps/renegotiate.c:
13917 * testsuite/caps/sets.c:
13918 * testsuite/caps/simplify.c:
13919 * testsuite/caps/string-conversions.c:
13920 * testsuite/caps/structure.c:
13921 * testsuite/caps/subtract.c:
13922 * testsuite/caps/union.c:
13923 * testsuite/debug/.cvsignore:
13924 * testsuite/debug/Makefile.am:
13925 * testsuite/debug/category.c:
13926 * testsuite/debug/commandline.c:
13927 * testsuite/debug/global.c:
13928 * testsuite/debug/output.c:
13929 * testsuite/debug/printf_extension.c:
13930 * testsuite/dlopen/.cvsignore:
13931 * testsuite/dlopen/Makefile.am:
13932 * testsuite/dlopen/dlopen_gst.c:
13933 * testsuite/dlopen/loadgst.c:
13934 * testsuite/elements/.cvsignore:
13935 * testsuite/elements/Makefile.am:
13936 * testsuite/elements/gst-inspect-check.in:
13937 * testsuite/elements/struct_i386.h:
13938 * testsuite/elements/struct_size.c:
13939 * testsuite/indexers/.cvsignore:
13940 * testsuite/indexers/Makefile.am:
13941 * testsuite/indexers/cache1.c:
13942 * testsuite/indexers/indexdump.c:
13943 * testsuite/parse/.cvsignore:
13944 * testsuite/parse/Makefile.am:
13945 * testsuite/parse/parse1.c:
13946 * testsuite/parse/parse2.c:
13947 * testsuite/plugin/.cvsignore:
13948 * testsuite/plugin/Makefile.am:
13949 * testsuite/plugin/README:
13950 * testsuite/plugin/dynamic.c:
13951 * testsuite/plugin/linked.c:
13952 * testsuite/plugin/loading.c:
13953 * testsuite/plugin/registry.c:
13954 * testsuite/plugin/static.c:
13955 * testsuite/plugin/static2.c:
13956 * testsuite/plugin/testplugin.c:
13957 * testsuite/plugin/testplugin2.c:
13958 * testsuite/plugin/testplugin2_s.c:
13959 * testsuite/plugin/testplugin_s.c:
13960 * testsuite/refcounting/.cvsignore:
13961 * testsuite/refcounting/Makefile.am:
13962 * testsuite/refcounting/bin.c:
13963 * testsuite/refcounting/element.c:
13964 * testsuite/refcounting/element_pad.c:
13965 * testsuite/refcounting/mainloop.c:
13966 * testsuite/refcounting/mem.c:
13967 * testsuite/refcounting/mem.h:
13968 * testsuite/refcounting/object.c:
13969 * testsuite/refcounting/pad.c:
13970 * testsuite/refcounting/sched.c:
13971 * testsuite/refcounting/thread.c:
13972 * testsuite/states/.cvsignore:
13973 * testsuite/states/Makefile.am:
13974 * testsuite/states/bin.c:
13975 * testsuite/states/locked.c:
13976 * testsuite/states/parent.c:
13977 * testsuite/threads/.cvsignore:
13978 * testsuite/threads/159566.c:
13979 * testsuite/threads/159852.c:
13980 * testsuite/threads/Makefile.am:
13981 * testsuite/threads/queue.c:
13982 * testsuite/threads/signals.c:
13983 * testsuite/threads/staticrec.c:
13984 * testsuite/threads/thread.c:
13985 * testsuite/threads/threadb.c:
13986 * testsuite/threads/threadc.c:
13987 * testsuite/threads/threadd.c:
13988 * testsuite/threads/threade.c:
13989 * testsuite/threads/threadf.c:
13990 * testsuite/threads/threadg.c:
13991 * testsuite/threads/threadh.c:
13992 * testsuite/threads/threadi.c:
13993 move all of these under tests
13995 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
13998 * tests/Makefile.am:
14001 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14003 * docs/gst/gstreamer-sections.txt:
14004 * tests/sched/.cvsignore:
14005 * tests/sched/Makefile.am:
14006 * tests/sched/cases/(fs-fs).xml:
14007 * tests/sched/cases/(fs-i-fs).xml:
14008 * tests/sched/cases/(fs-i-i-fs).xml:
14009 * tests/sched/cases/(fs-i-q[i-fs]).xml:
14010 * tests/sched/dynamic-pipeline.c:
14011 * tests/sched/interrupt1.c:
14012 * tests/sched/interrupt2.c:
14013 * tests/sched/interrupt3.c:
14014 * tests/sched/runtestcases:
14015 * tests/sched/runxml.c:
14016 * tests/sched/sched-stress.c:
14017 * tests/sched/sort.c:
14018 * tests/sched/testcases:
14019 * tests/sched/testcases1.tc:
14020 * tests/seeking/.cvsignore:
14021 * tests/seeking/Makefile.am:
14022 * tests/seeking/seeking1.c:
14023 * tests/threadstate/.cvsignore:
14024 * tests/threadstate/Makefile.am:
14025 * tests/threadstate/test1.c:
14026 * tests/threadstate/test2.c:
14027 * tests/threadstate/threadstate1.c:
14028 * tests/threadstate/threadstate2.c:
14029 * tests/threadstate/threadstate3.c:
14030 * tests/threadstate/threadstate4.c:
14031 * tests/threadstate/threadstate5.c:
14032 remove obsolete tests
14034 * tests/bench-complexity.scm:
14035 * tests/bench-mass_elements.scm:
14036 * tests/complexity.c:
14037 * tests/complexity.gnuplot:
14038 * tests/instantiate/.cvsignore:
14039 * tests/instantiate/Makefile.am:
14040 * tests/instantiate/caps.c:
14041 * tests/mass_elements.c:
14042 * tests/network-clock-utils.scm:
14043 * tests/network-clock.scm:
14045 First pass at cleaning up tests/ dir before moving the rest
14046 Combined with CVS surgery
14048 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14051 queue has moved, update
14053 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14055 * docs/gst/gstreamer-sections.txt:
14056 remove double entries from the docs
14057 * gst/gst_private.h:
14058 * gst/gstinfo.c: (_gst_debug_init):
14059 remove the THREAD debug category
14063 * docs/gst/gstreamer.types:
14064 * plugins/elements/gstqueue.c: (gst_queue_get_type),
14065 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
14066 completely move queue and fix up debugging categories
14068 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14070 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
14071 make initialization portable, using LL is not
14073 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14075 * win32/common/gstconfig.h:
14078 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14080 * win32/common/libgstreamer.def:
14081 rename symbols; sort base section
14083 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14085 * gst/gstclock.c: (do_linear_regression):
14086 remove crack non-portable handrolled DEBUG macro
14088 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14090 * docs/random/release:
14092 * win32/common/gstenumtypes.c: (register_gst_object_flags),
14093 (gst_object_flags_get_type), (register_gst_bin_flags),
14094 (gst_bin_flags_get_type), (register_gst_buffer_flag),
14095 (gst_buffer_flag_get_type), (register_gst_bus_flags),
14096 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14097 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
14098 (gst_caps_flags_get_type), (register_gst_clock_return),
14099 (gst_clock_return_get_type), (register_gst_clock_entry_type),
14100 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14101 (gst_clock_flags_get_type), (register_gst_state),
14102 (gst_state_get_type), (register_gst_state_change_return),
14103 (gst_state_change_return_get_type), (register_gst_state_change),
14104 (gst_state_change_get_type), (register_gst_element_flags),
14105 (gst_element_flags_get_type), (register_gst_core_error),
14106 (gst_core_error_get_type), (register_gst_library_error),
14107 (gst_library_error_get_type), (register_gst_resource_error),
14108 (gst_resource_error_get_type), (register_gst_stream_error),
14109 (gst_stream_error_get_type), (register_gst_event_type_flags),
14110 (gst_event_type_flags_get_type), (register_gst_event_type),
14111 (gst_event_type_get_type), (register_gst_seek_type),
14112 (gst_seek_type_get_type), (register_gst_seek_flags),
14113 (gst_seek_flags_get_type), (register_gst_format),
14114 (gst_format_get_type), (register_gst_index_certainty),
14115 (gst_index_certainty_get_type), (register_gst_index_entry_type),
14116 (gst_index_entry_type_get_type),
14117 (register_gst_index_lookup_method),
14118 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14119 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14120 (gst_index_resolver_method_get_type), (register_gst_index_flags),
14121 (gst_index_flags_get_type), (register_gst_debug_level),
14122 (gst_debug_level_get_type), (register_gst_debug_color_flags),
14123 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14124 (gst_iterator_result_get_type), (register_gst_iterator_item),
14125 (gst_iterator_item_get_type), (register_gst_message_type),
14126 (gst_message_type_get_type), (register_gst_mini_object_flags),
14127 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14128 (gst_pad_link_return_get_type), (register_gst_flow_return),
14129 (gst_flow_return_get_type), (register_gst_activate_mode),
14130 (gst_activate_mode_get_type), (register_gst_pad_direction),
14131 (gst_pad_direction_get_type), (register_gst_pad_flags),
14132 (gst_pad_flags_get_type), (register_gst_pad_presence),
14133 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14134 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14135 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14136 (gst_plugin_error_get_type), (register_gst_plugin_flags),
14137 (gst_plugin_flags_get_type), (register_gst_rank),
14138 (gst_rank_get_type), (register_gst_query_type),
14139 (gst_query_type_get_type), (register_gst_tag_merge_mode),
14140 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14141 (gst_tag_flag_get_type), (register_gst_task_state),
14142 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14143 (gst_alloc_trace_flags_get_type),
14144 (register_gst_type_find_probability),
14145 (gst_type_find_probability_get_type), (register_gst_uri_type),
14146 (gst_uri_type_get_type), (register_gst_parse_error),
14147 (gst_parse_error_get_type):
14148 * win32/common/gstenumtypes.h:
14149 * win32/common/gstversion.h:
14150 update visual studio generated files
14152 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14154 * win32/vs6/libgstbase.dsp:
14155 * win32/vs6/libgstelements.dsp:
14156 update project files for new locations
14158 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
14163 reinstate and update
14168 * docs/random/LICENSE:
14171 2005-11-30 Edward Hervey <edward@fluendo.com>
14173 * gst/gsttypefind.c: (gst_type_find_register):
14174 * gst/gsttypefind.h:
14175 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
14176 (gst_type_find_factory_dispose):
14177 * gst/gsttypefindfactory.h:
14178 Fix memory leak in GstTypeFindFactory.
14180 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14183 * plugins/elements/Makefile.am:
14184 * plugins/elements/gstelements.c:
14185 * plugins/elements/gstqueue.c:
14186 move queue from core to the elements plugin
14188 2005-11-29 Andy Wingo <wingo@pobox.com>
14190 * libs/gst/base/gstbasetransform.h:
14191 * libs/gst/base/gstbasesrc.h:
14192 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
14194 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
14195 of pointers by which to pad very extensible base classes (like the
14196 ones in libs/gst/base).
14198 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14200 * docs/gst/gstreamer-docs.sgml:
14201 * docs/gst/gstreamer-sections.txt:
14202 * docs/libs/gstreamer-libs-docs.sgml:
14203 * docs/libs/gstreamer-libs-sections.txt:
14204 moving documentation from core to lib
14206 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14208 * check/Makefile.am:
14210 * docs/gst/Makefile.am:
14212 * gst/base/.cvsignore:
14213 * gst/base/Makefile.am:
14215 * gst/base/gstadapter.c:
14216 * gst/base/gstadapter.h:
14217 * gst/base/gstbasesink.c:
14218 * gst/base/gstbasesink.h:
14219 * gst/base/gstbasesrc.c:
14220 * gst/base/gstbasesrc.h:
14221 * gst/base/gstbasetransform.c:
14222 * gst/base/gstbasetransform.h:
14223 * gst/base/gstcollectpads.c:
14224 * gst/base/gstcollectpads.h:
14225 * gst/base/gstpushsrc.c:
14226 * gst/base/gstpushsrc.h:
14227 * gst/base/gsttypefindhelper.c:
14228 * gst/base/gsttypefindhelper.h:
14229 * gst/check/Makefile.am:
14230 * gst/check/gstcheck.c:
14231 * gst/check/gstcheck.h:
14232 * gst/net/Makefile.am:
14233 * gst/net/gstnet.h:
14234 * gst/net/gstnetclientclock.c:
14235 * gst/net/gstnetclientclock.h:
14236 * gst/net/gstnettimepacket.c:
14237 * gst/net/gstnettimepacket.h:
14238 * gst/net/gstnettimeprovider.c:
14239 * gst/net/gstnettimeprovider.h:
14240 * libs/gst/Makefile.am:
14241 * libs/gst/base/Makefile.am:
14242 * libs/gst/base/gstbasetransform.c:
14243 * libs/gst/check/Makefile.am:
14244 * plugins/elements/Makefile.am:
14246 CVS surgery + support to move base, check, and net out of gst
14249 2005-11-29 Andy Wingo <wingo@pobox.com>
14251 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
14253 * gst/gststructure.h (struct _GstStructure): Only one pointer of
14256 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
14258 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
14260 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
14262 * gst/gstobject.h: (struct _GstObject): Only one pointer of
14263 padding; reduces object size by about 30%. We don't expect
14264 anything else to go into gstobject.
14266 * gst/gstminiobject.h (struct _GstMiniObject)
14267 (struct _GstMiniObjectClass): Only one pointer of padding; the
14268 payload is only a pointer and two ints anyway. For the class there
14269 are only two methods as well.
14271 * gst/gstelement.h (struct _GstElementClass): Removed
14272 the state_changed signal callback, it is not used.
14274 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
14276 * docs/gst/gstreamer.types:
14277 fix includes, though they are a little dinky
14279 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14281 * check/Makefile.am:
14282 look in the right place for elements, a lot more chance of
14285 remove indexers and elements subdirs
14286 * plugins/Makefile.am:
14287 make indexers conditional
14289 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
14293 * plugins/elements/Makefile.am:
14294 * plugins/elements/gstcapsfilter.c:
14295 * plugins/elements/gstfilesink.c:
14296 * plugins/elements/gstfilesrc.c:
14297 * plugins/elements/gstidentity.c:
14298 * plugins/indexers/Makefile.am:
14299 do CVS surgery and related build fixery to move elements
14300 and indexers in a new gstreamer/plugins directory, out of the
14303 2005-11-29 Andy Wingo <wingo@pobox.com>
14305 * check/Makefile.am:
14306 * pkgconfig/gstreamer-net-uninstalled.pc.in:
14307 * pkgconfig/gstreamer-net.pc.in:
14308 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
14311 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
14313 * tools/Makefile.am:
14314 * tools/gst-complete.1.in:
14315 * tools/gst-complete.c:
14316 * tools/gst-compprep.1.in:
14317 * tools/gst-compprep.c:
14318 removing -compprep and -complete
14320 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
14322 * gst/gstevent.c: (gst_event_new_new_segment),
14323 (gst_event_parse_new_segment):
14325 fix #320529 - clean up new_segment API and structure.
14326 Let's hope everyone was using the methods, and not the structure.
14328 2005-11-29 Edward Hervey <edward@fluendo.com>
14330 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14331 (gst_base_sink_event), (gst_base_sink_do_sync),
14332 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14333 Properly handle non GST_FORMAT_TIME segment
14334 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14335 Properly handle non GST_FORMAT_TIME segment
14336 * gst/gstsegment.c:
14337 This function is valid if the accumulator is 0 and the format
14338 is different from the requested format.
14340 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
14342 * docs/gst/gstreamer-sections.txt:
14343 Add gst_query_new_seeking and gst_query_parse_seeking to the
14346 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
14348 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14349 Treat a pad alloc with new caps the same as if we were not
14350 negotiated, in order to allow a changing upstream output
14351 to produce a new format of data.
14353 2005-11-29 Edward Hervey <edward@fluendo.com>
14355 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14356 (gst_base_transform_event), (gst_base_transform_eventfunc):
14357 The event virtual method is now properly implemented, with a default
14359 Sub classes should call the parent_class event method. They should
14360 return FALSE if they had a problem handling the given event, or don't
14361 want GstBaseTransform to send that even downstream
14362 * gst/elements/gstidentity.c: (gst_identity_class_init),
14363 (gst_identity_init), (gst_identity_event),
14364 (gst_identity_transform_ip), (gst_identity_set_property),
14365 (gst_identity_get_property):
14366 * gst/elements/gstidentity.h:
14367 Added the single-segment boolean property.
14368 If set to TRUE, it will output a single segment of data, starting from
14369 0, will eat up all incoming newsegment, and modify the timestamp of the
14370 buffers accordingly
14372 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
14374 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
14375 Don't ref NULL target pad (#322751). Improve docs.
14377 2005-11-29 Michael Smith <msmith@fluendo.com>
14379 * gst/gstregistryxml.c: (load_plugin):
14380 Don't crash if we failed to load a feature from a plugin.
14382 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14384 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14386 use more check API and less GLib API
14388 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14391 don't run checks if we don't have check
14392 * common/check.mak:
14393 remove the registry when running make torture
14394 * docs/gst/gstreamer-sections.txt:
14395 remove second multiply
14396 * gst/gstqueue.c: (gst_queue_loop):
14397 fix a compile warning when disabling debug
14399 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14402 Hey! Let's print the pad name if the pointer != NULL instead
14403 of when it == NULL :-)
14405 2005-11-28 Wim Taymans <wim@fluendo.com>
14407 * check/gst/gstutils.c: (GST_START_TEST):
14408 Updated check, add some scaling accuracy checking code.
14410 * gst/gstutils.c: (gst_util_div128_64),
14411 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14412 (gst_util_uint64_scale_int):
14413 Fix 6 times faster division code. Optimize for common
14414 1/1 and less common X/1 cases.
14416 2005-11-28 Wim Taymans <wim@fluendo.com>
14418 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14421 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14422 (do_linear_regression), (gst_clock_add_observation):
14424 Release lock when the clock cannot be slaved.
14425 Catch the case where the regression returned an invalid denominator.
14427 * gst/gstutils.c: (gst_util_div128_64_iterate),
14428 (gst_util_div128_64), (gst_util_uint64_scale_int64),
14429 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14430 Add protentially more performant non-iterative 128/64 divide function
14431 that unfortunatly does not work yet.
14432 Shortcut the trivial 0/X = 0 case.
14433 Remove the warnings on overflow.
14435 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14437 * gst/gstplugin.c: (gst_plugin_register_func):
14438 everything causing a plugin not to load should be at least a WARNING
14440 2005-11-28 Stefan Kost <ensonic@users.sf.net>
14442 * docs/random/ensonic/dparams.txt:
14443 some TODOs for the next dev cycle
14444 * libs/gst/controller/gstcontroller.c:
14445 (gst_controlled_property_set_interpolation_mode),
14446 (gst_controlled_property_new):
14447 * libs/gst/controller/gstcontroller.h:
14448 use base type to assign acccessor functions
14450 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14452 * check/Makefile.am:
14453 Oops, that should have been top_srcdir
14455 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
14457 * check/Makefile.am:
14458 * check/elements/fdsrc.c: (GST_START_TEST):
14459 Use a cmdline define to specify the location of a file to use for
14460 testing, to avoid breaking distcheck.
14462 2005-11-28 Andy Wingo <wingo@pobox.com>
14464 * gst/gstpad.c (fixate_value): Use array functions for arrays.
14466 2005-11-28 Edward Hervey <edward@fluendo.com>
14468 * tools/gst-launch.c: (main):
14469 Clarify the output strings, makes it easier to translate.
14472 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
14475 don't try and build net if we don't even have <sys/socket.h>
14477 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
14479 * check/Makefile.am:
14480 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
14481 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
14482 Add tests for fdsrc seekability
14484 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14485 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
14486 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
14487 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
14488 * gst/elements/gstfdsrc.h:
14489 fdsrc should not be a 'live' source.
14490 Implement seeking on seekable fd's.
14492 * gst/gstquery.c: (gst_query_new_seeking),
14493 (gst_query_parse_seeking):
14495 Implement SEEKING query functions:
14496 *_new_seeking and *_parse_seeking
14498 2005-11-27 Stefan Kost <ensonic@users.sf.net>
14500 * gst/gstelement.c: (gst_element_dispose):
14503 * gst/gstiterator.c:
14504 * gst/gststructure.c:
14507 * libs/gst/controller/gstcontroller.c:
14508 (gst_controlled_property_set_interpolation_mode):
14509 * libs/gst/controller/gstcontroller.h:
14510 * libs/gst/controller/gstinterpolation.c:
14511 (interpolate_none_get_enum_value_array):
14512 support controlling enums
14514 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
14517 Improve documentation for gst_value_union().
14520 Change return value for union, intersect and subtract functions
14521 from gint to gboolean.
14523 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
14525 * gst/gstvalue.c: (gst_value_serialize_any_list),
14526 (gst_value_transform_any_list_string),
14527 (gst_value_deserialize_list), (gst_value_deserialize_array),
14528 (gst_value_set_int_range), (gst_value_deserialize_int_range),
14529 (gst_value_set_double_range), (gst_value_deserialize_double_range),
14530 (gst_value_set_fraction_range_full),
14531 (gst_value_deserialize_fraction_range),
14532 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14533 (gst_value_deserialize_boolean),
14534 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14535 (gst_value_serialize_float), (gst_value_deserialize_float),
14536 (gst_string_wrap), (gst_value_deserialize_string),
14537 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14538 (gst_value_union_int_range_int_range),
14539 (gst_value_intersect_int_range_int_range),
14540 (gst_value_intersect_double_range_double_range),
14541 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14542 (gst_value_subtract_int_range_int_range),
14543 (gst_value_subtract_double_double_range),
14544 (gst_value_subtract_double_range_double_range),
14545 (gst_value_deserialize_fraction):
14547 Use gint, gdouble and gchar in our API instead of int, double and
14548 char (and make usage in gstvalue.c more consistent).
14550 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14552 * check/Makefile.am:
14553 * libs/gst/controller/Makefile.am:
14554 * libs/gst/dataprotocol/Makefile.am:
14555 fix up Makefile.am and remove GST_ENABLE_NEW
14557 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14561 * gst/base/Makefile.am:
14562 * gst/check/Makefile.am:
14563 * gst/elements/Makefile.am:
14564 * gst/net/Makefile.am:
14565 update LDFLAGS use some more
14567 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
14569 * common/m4/gst-doc.m4:
14572 2005-11-26 Edward Hervey <edward@fluendo.com>
14574 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14575 This shouldn't issue a g_warning since it returns NULL if it
14576 couldn't find the plugin, and all functions using this behave
14577 properly on a NULL return. Switching to a GST_WARNING.
14579 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
14581 * gst/gstbin.c: (gst_bin_handle_message_func):
14582 Don't leak clock messages.
14584 2005-11-25 Wim Taymans <wim@fluendo.com>
14586 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14587 (gst_util_uint64_scale_int):
14588 Optimisations, remove unneeded vars.
14590 2005-11-25 Wim Taymans <wim@fluendo.com>
14592 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14593 Added more checks for the high precision uint64 cases.
14595 * gst/gstutils.c: (gst_util_uint64_scale_int64),
14596 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14597 Implement high precision (guint64 * guint64) / guint64.
14599 2005-11-24 Wim Taymans <wim@fluendo.com>
14601 * gst/base/gstbasesrc.c: (gst_base_src_query):
14602 Fix wrong percentage query.
14604 * gst/gstutils.c: (gst_util_uint64_scale),
14605 (gst_util_uint64_scale_int):
14606 Add some more common cases that can be handled
14607 efficiently to _scale.
14609 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
14611 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14612 (gst_mini_object_suite):
14613 don't use check calls from threads; check probably isn't
14614 threadsafe and using a lock to make it threadsafe would
14615 defeat the purpose of this check
14616 * gst/check/gstcheck.c:
14617 * gst/check/gstcheck.h:
14618 use GST_DEBUG some more
14620 2005-11-24 Wim Taymans <wim@fluendo.com>
14622 * gst/gstutils.c: (gst_util_uint64_scale),
14623 (gst_util_uint64_scale_int):
14624 Chain trivial case to _scale_int.
14626 2005-11-24 Wim Taymans <wim@fluendo.com>
14628 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14629 Added test for scaling.
14634 * gst/gstutils.c: (gst_util_uint64_scale_int):
14635 Implemented high precision scaling code.
14637 2005-11-24 Stefan Kost <ensonic@users.sf.net>
14640 do not crash on pad==NULL
14642 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
14644 Patch by: Stefan Kost
14646 * common/gtk-doc.mak:
14647 * docs/gst/Makefile.am:
14648 * docs/libs/Makefile.am:
14649 Fix distcheck issues for the libraries docs build
14652 2005-11-24 Michael Smith <msmith@fluendo.com>
14654 * docs/manual/basics-helloworld.xml:
14655 Fix bug #315027: memory leak in example code in docs.
14657 2005-11-24 Michael Smith <msmith@fluendo.com>
14659 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14660 Unlock the PREROLL_LOCK in a failure case.
14662 2005-11-24 Wim Taymans <wim@fluendo.com>
14664 * docs/gst/gstreamer-sections.txt:
14665 * gst/base/gstadapter.h:
14666 * gst/base/gstbasesink.h:
14667 * gst/base/gstbasesrc.h:
14668 * gst/base/gstbasetransform.h:
14669 * gst/base/gstpushsrc.h:
14670 * gst/elements/gstfakesink.h:
14671 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14672 * gst/elements/gstfakesrc.h:
14673 * gst/elements/gstfilesink.h:
14674 * gst/elements/gstfilesrc.h:
14677 * gst/gstbuffer.c: (_gst_buffer_copy):
14680 * gst/gstchildproxy.c:
14682 * gst/gstelement.c:
14683 * gst/gstelementfactory.c:
14684 * gst/gstelementfactory.h:
14686 * gst/gstghostpad.h:
14688 * gst/gstinterface.h:
14689 * gst/gstminiobject.c:
14690 * gst/gstminiobject.h:
14693 * gst/gstpadtemplate.h:
14694 * gst/gstpipeline.h:
14695 * gst/gstpluginfeature.h:
14698 * gst/gsttaglist.c:
14699 * gst/gsttaglist.h:
14700 * gst/gsttagsetter.c:
14701 * gst/gsttagsetter.h:
14704 * gst/gsttypefind.h:
14707 * gst/net/gstnetclientclock.c:
14708 * gst/net/gstnetclientclock.h:
14709 * gst/net/gstnettimepacket.c:
14710 * gst/net/gstnettimeprovider.c:
14711 * gst/net/gstnettimeprovider.h:
14714 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14716 * configure.ac: back to HEAD
14718 === release 0.9.6 ===
14720 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14723 releasing 0.9.6, "Always On Time"
14725 2005-11-23 Wim Taymans <wim@fluendo.com>
14727 * docs/gst/gstreamer-sections.txt:
14728 * gst/glib-compat.c:
14729 * gst/gsttagsetter.c:
14731 * gst/net/gstnetclientclock.c:
14732 * gst/net/gstnettimepacket.h:
14735 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
14737 * docs/faq/using.xml:
14738 * docs/libs/tmpl/gstcontrol.sgml:
14739 * docs/manual/advanced-dparams.xml:
14740 * docs/manual/appendix-checklist.xml:
14741 * docs/manual/basics-elements.xml:
14742 * docs/pwg/other-source.xml:
14743 * docs/random/moving-plugins:
14745 * tools/gst-launch.1.in:
14746 remove mentions of sinesrc
14748 2005-11-23 Michael Smith <msmith@fluendo.com>
14750 * docs/gst/gstreamer-sections.txt:
14751 Update for new API and API changes.
14753 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
14755 Documentation typo fix.
14756 * gst/net/gstnettimepacket.c:
14757 Documentation fixes for arguments.
14759 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
14761 * gst/gststructure.c: (gst_structure_get_fraction),
14762 (gst_structure_parse_value),
14763 (gst_structure_fixate_field_nearest_fraction):
14764 * gst/gststructure.h:
14765 * gst/gstutils.c: (gst_util_uint64_scale_int):
14767 * scripts/update-funcnames:
14769 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
14770 Make gst_structure_fixate_field_nearest_fraction take a numerator
14771 and denominator argument instead of a GValue
14772 add gst_structure_get_fraction helper function.
14774 2005-11-23 Wim Taymans <wim@fluendo.com>
14776 * docs/design/part-TODO.txt:
14779 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
14780 * gst/net/gstnetclientclock.h:
14781 Use parent fields for timeout and window_size.
14783 2005-11-23 Andy Wingo <wingo@pobox.com>
14785 * check/net/gstnetclientclock.c (test_functioning): Adjust to
14786 rate_num/rate_denom change.
14788 * gst/net/gstnetclientclock.c
14789 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
14790 OBJECT_LOCK. Don't call add_observation with the lock.
14792 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
14794 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
14796 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
14797 deal with rate as a fraction whose numerator and denominator are
14798 GstClockTime values.
14799 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
14800 master; the other fields are protected by the SLAVE_LOCK.
14801 (do_linear_regression): Note that this must be called with the
14803 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
14804 OBJECT_LOCK. Call set_calibration instead of touching the
14805 variables directly.
14806 (gst_clock_set_property, gst_clock_get_property): Protect
14807 master/slave parameters with the SLAVE_LOCK.
14809 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
14810 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
14811 note that all of the instance variables that add_observation and
14812 the set_master functions use are protected by that lock and not
14814 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
14816 * gst/gstclock.c (gst_clock_add_observation): No longer requires
14817 the caller to take the object lock.
14819 2005-11-23 Wim Taymans <wim@fluendo.com>
14821 * gst/gsterror.c: (_gst_core_errors_init):
14823 Add error for clock stuff.
14825 * gst/gstpipeline.c: (gst_pipeline_change_state),
14826 (gst_pipeline_set_clock):
14827 Post clock error when clock cannot be used in a pipeline.
14829 2005-11-23 Stefan Kost <ensonic@users.sf.net>
14831 * docs/gst/gstreamer-sections.txt:
14832 make two symbols from gstinfo private for the docs
14833 * gst/base/gstcollectpads.h:
14835 fix doc typos, update docs
14837 2005-11-22 Wim Taymans <wim@fluendo.com>
14839 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
14840 (gst_base_sink_wait), (gst_base_sink_do_sync),
14841 (gst_base_sink_handle_event):
14842 * gst/base/gstbasesink.h:
14843 No need to store the clock, the parent element class already
14846 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
14847 Updates for clock_set returning a gboolean
14849 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
14850 (gst_clock_id_wait_async), (gst_clock_class_init),
14851 (gst_clock_init), (gst_clock_finalize),
14852 (gst_clock_get_internal_time), (gst_clock_get_time),
14853 (gst_clock_slave_callback), (gst_clock_set_master),
14854 (gst_clock_get_master), (do_linear_regression),
14855 (gst_clock_add_observation), (gst_clock_set_property),
14856 (gst_clock_get_property):
14858 Implement master/slave. When setting a clock as a slave, a
14859 periodic timeout is scheduled to sample master and slave times.
14860 Then the slave clock is recalibrated to match offset and rate
14861 of the master clock.
14862 Update logging a bit.
14863 Add flag so that a clock can state that is cannot be slaved to
14866 * gst/gstelement.c: (gst_element_set_clock):
14867 * gst/gstelement.h:
14868 The set clock returns a gboolean for when an element cannot
14869 deal with the selected clock in the pipeline.
14871 * gst/gstpipeline.c: (gst_pipeline_change_state),
14872 (gst_pipeline_set_clock):
14873 * gst/gstpipeline.h:
14874 Handle the case where the selected clock cannot be set on
14877 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
14878 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
14879 (gst_net_client_clock_set_property),
14880 (gst_net_client_clock_get_property),
14881 (gst_net_client_clock_observe_times):
14882 * gst/net/gstnetclientclock.h:
14883 Use regression code in GstClock parent, remove duplicated
14886 2005-11-22 Michael Smith <msmith@fluendo.com>
14888 * gst/gstutils.c: (gst_util_clock_time_scale):
14890 * docs/gst/gstreamer-sections.txt:
14891 Rename method to have extra underscore.
14893 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
14895 * gst/elements/Makefile.am:
14896 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
14897 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
14898 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
14899 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
14900 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
14901 * gst/elements/gstfakesrc.h:
14902 * gst/gstqueue.c: (queue_leaky_get_type):
14903 correctly fix GEnumValues so that nick is the short lowercase
14905 * tools/gst-inspect.c: (print_element_properties_info):
14906 also show the nick, since it's useful to use from parse_launch
14910 2005-11-22 Michael Smith <msmith@fluendo.com>
14912 * gst/gstutils.c: (gst_util_clocktime_scale):
14914 * docs/gst/gstreamer-sections.txt:
14915 Add util method for scaling a clocktime by a fraction. Useful
14916 implementation is left as an exercise for the reader.
14918 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14920 * gst/gstvalue.c: (gst_value_collect_fraction_range):
14921 If needed, allocate storage in the destination value during
14924 2005-11-22 Edward Hervey <edward@fluendo.com>
14926 * docs/gst/gstreamer-sections.txt:
14929 * gst/gsturitype.c:
14930 * gst/gsturitype.h:
14931 * gst/gstutils.c: (gst_util_set_object_arg):
14932 * tools/gst-compprep.c: (main):
14933 * tools/gst-inspect.c: (print_element_properties_info):
14934 Removed GstURI, closes bug #321061
14936 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14938 * check/gst/gststructure.c: (GST_START_TEST):
14939 * gst/gststructure.c: (gst_structure_parse_value):
14940 Oops, broke automatic string type parsing.
14941 Add a test to catch it in future.
14943 2005-11-22 Andy Wingo <wingo@pobox.com>
14945 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
14946 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
14947 Actually rename the function implementations. Grr.
14949 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14951 * check/gst/capslist.h:
14953 * check/gst/gststructure.c: (GST_START_TEST),
14954 (gst_structure_suite):
14955 Test automatic value type detection in gst_structure_from_string.
14956 * gst/gststructure.c: (gst_structure_parse_value):
14957 Add fraction as a type we try and guess automatically in
14958 caps/structure strings.
14960 2005-11-22 Andy Wingo <wingo@pobox.com>
14962 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
14964 * gst/gsttagsetter.h:
14965 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
14966 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
14967 (gst_tag_setter_add_tag_valist)
14968 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
14969 _add_values, _add_valist, and _add_valist_values. Since this is an
14970 interface the function suffixes should be more explicit so
14971 language binding don't end up with element.add_valist ->
14972 gst_tag_setter_add_valist, for example. Fixes #322069.
14974 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
14976 * check/gst/gstcaps.c: (GST_START_TEST):
14977 Extend caps string tests to check that a caps to string
14978 conversion is reversible and produces the same caps.
14980 * gst/gststructure.c: (gst_structure_value_get_generic_type):
14981 Output "fraction" as the generic type fraction range, so caps
14982 serialisation and deserialisation works.
14983 * check/gst/capslist.h:
14984 * gst/gstvalue.c: (gst_value_deserialize_fraction):
14985 Support 'MIN' and 'MAX' for deserialising fractions.
14987 2005-11-22 Andy Wingo <wingo@pobox.com>
14989 * gst/gstevent.h (gst_event_new_new_segment)
14990 (gst_event_parse_new_segment, gst_event_new_buffer_size)
14991 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
14992 Renamed from *_newsegment, *_buffersize, *_notarget.
14994 * scripts/update-funcnames: New script, performs the changes
14997 2005-11-22 Wim Taymans <wim@fluendo.com>
14999 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15000 Make sure the GstFlowReturn is returned.
15002 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
15003 (gst_bus_add_signal_watch):
15005 add gst_bus_add_signal_watch_full.
15007 * gst/gstplugin.c: (gst_plugin_load_file):
15008 Small style cleanup.
15010 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15012 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
15013 Block the fakesrc srcpad when we send an event, to avoid
15014 contention on the stream_lock causing random test failures.
15016 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15018 * check/gst/gstvalue.c: (GST_START_TEST):
15019 * gst/gstvalue.c: (gst_value_fraction_subtract):
15022 2005-11-22 Stefan Kost <ensonic@users.sf.net>
15025 include "gstchildproxy.h"
15026 * gst/gstchildproxy.h:
15027 * libs/gst/controller/gstcontroller.h:
15028 use G_GNUC_NULL_TERMINATED
15030 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
15032 * check/gst/capslist.h:
15033 * check/gst/gstcaps.c: (GST_START_TEST):
15034 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15035 * gst/gststructure.c: (gst_structure_parse_range),
15036 (gst_structure_fixate_field_nearest_fraction):
15037 * gst/gststructure.h:
15038 * gst/gstvalue.c: (gst_value_init_fraction_range),
15039 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
15040 (gst_value_collect_fraction_range),
15041 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
15042 (gst_value_set_fraction_range_full),
15043 (gst_value_get_fraction_range_min),
15044 (gst_value_get_fraction_range_max),
15045 (gst_value_serialize_fraction_range),
15046 (gst_value_transform_fraction_range_string),
15047 (gst_value_compare_fraction_range),
15048 (gst_value_deserialize_fraction_range),
15049 (gst_value_intersect_fraction_fraction_range),
15050 (gst_value_intersect_fraction_range_fraction_range),
15051 (gst_value_subtract_fraction_fraction_range),
15052 (gst_value_subtract_fraction_range_fraction),
15053 (gst_value_subtract_fraction_range_fraction_range),
15054 (gst_value_collect_fraction), (gst_value_fraction_multiply),
15055 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
15056 (gst_value_transform_string_fraction), (_gst_value_initialize):
15058 Implement fraction ranges and extend GstFraction to support
15059 arithmetic subtraction, as well as deserialization from integer
15060 strings such as "100"
15061 Add a testsuite as for int and double range set operations
15063 2005-11-21 Andy Wingo <wingo@pobox.com>
15065 * gst/gsttaglist.h:
15067 * gst/gststructure.h: Add glib-compat.h.
15069 2005-11-21 Wim Taymans <wim@fluendo.com>
15071 * gst/gstbin.c: (gst_bin_change_state_func):
15074 2005-11-21 Wim Taymans <wim@fluendo.com>
15076 * gst/gstsegment.h:
15077 And add a nice define too.
15079 2005-11-21 Wim Taymans <wim@fluendo.com>
15081 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
15082 (gst_segment_new), (gst_segment_free), (gst_segment_init),
15083 (gst_segment_set_duration), (gst_segment_set_last_stop),
15084 (gst_segment_set_seek), (gst_segment_set_newsegment),
15085 (gst_segment_to_stream_time), (gst_segment_to_running_time),
15086 (gst_segment_clip):
15087 * gst/gstsegment.h:
15088 Make binding friendly.
15090 2005-11-21 Andy Wingo <wingo@pobox.com>
15092 * gst/gsttagsetter.h:
15093 * gst/gsttaglist.h:
15094 * gst/gststructure.h:
15096 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
15099 * gst/gsterror.c (_gst_core_errors_init):
15100 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
15103 * gst/Makefile.am (gst_headers): Add glib-compat.h.
15104 (noinst_HEADERS): noinst the -private.
15106 2005-11-21 Michael Smith <msmith@fluendo.com>
15109 * gst/gstregistry.h:
15110 Remove unimplemented declarations for which we can see no sensible
15113 2005-11-21 Andy Wingo <wingo@pobox.com>
15115 * gst/gst.h: Include glib-compat.h.
15117 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
15119 * gst/glib-compat.c: Include the public and the private header.
15121 * gst/glib-compat-private.h: Copied here from glib-compat.h.
15125 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
15127 * check/gst/gstevent.c (create_custom_events): Check that
15128 FLUSH_STOP is serialized.
15130 * check/elements/identity.c (event_func):
15131 * check/elements/fakesrc.c (event_func): No stream lock, the core
15134 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
15135 stream lock taking, yay.
15137 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
15138 ensure that core takes the stream lock.
15140 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
15143 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
15144 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
15145 it already. For the flush start we do take it though so we get the
15146 right preroll state change messages.
15148 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
15149 the stream lock here, the core does it for us.
15151 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
15152 GST_STREAM_GET_LOCK.
15153 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
15154 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
15155 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
15156 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
15157 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
15158 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
15160 * gst/gstpad.c: Update for stream lock name change.
15162 * gst/base/gstbasesink.c: Update for preroll lock name change.
15164 2005-11-21 Wim Taymans <wim@fluendo.com>
15166 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
15167 (gst_clock_get_master):
15169 * gst/gstsystemclock.c: (gst_system_clock_init):
15170 Convert Clock flags to object flags.
15171 Added methods to manage master/slave clocks.
15173 2005-11-21 Wim Taymans <wim@fluendo.com>
15175 * check/gst/gstsegment.c: (GST_START_TEST):
15176 * docs/design/part-TODO.txt:
15177 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15178 (gst_base_sink_event), (gst_base_sink_do_sync),
15179 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15180 (gst_base_sink_query), (gst_base_sink_change_state):
15181 * gst/base/gstbasesink.h:
15182 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15183 (gst_base_src_default_newsegment),
15184 (gst_base_src_configure_segment), (gst_base_src_do_seek),
15185 (gst_base_src_get_range), (gst_base_src_loop),
15186 (gst_base_src_change_state):
15187 * gst/base/gstbasesrc.h:
15188 * gst/base/gstbasetransform.c:
15189 (gst_base_transform_prepare_output_buf),
15190 (gst_base_transform_event), (gst_base_transform_change_state):
15191 * gst/base/gstbasetransform.h:
15192 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15193 (gst_collect_pads_event):
15194 * gst/base/gstcollectpads.h:
15195 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
15196 (gst_fake_src_create):
15197 * gst/elements/gstfakesrc.h:
15198 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15199 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15200 (gst_segment_set_last_stop), (gst_segment_set_seek),
15201 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
15202 (gst_segment_to_running_time), (gst_segment_clip):
15203 * gst/gstsegment.h:
15204 More segment updates, replace code in plugins with segment
15207 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
15209 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
15210 Don't ignore sscanf results
15212 2005-11-21 Andy Wingo <wingo@pobox.com>
15214 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
15217 * *.c: Ran scripts/update-macros. Oh yes.
15219 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
15220 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
15223 * scripts/update-macros: New script. Run it on your files to
15224 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
15227 2005-11-21 Stefan Kost <ensonic@users.sf.net>
15229 * docs/gst/Makefile.am:
15230 * docs/gst/gstreamer-docs.sgml:
15231 * docs/gst/gstreamer-sections.txt:
15232 * docs/gst/gstreamer.types:
15234 more docs fixes, add new api to the docs
15236 2005-11-21 Andy Wingo <wingo@pobox.com>
15238 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
15239 state_broadcast call.
15241 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
15243 2005-11-21 Julien MOUTTE <julien@moutte.net>
15245 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
15246 function calls for arrays.
15248 2005-11-21 Stefan Kost <ensonic@users.sf.net>
15250 * docs/random/ensonic/media-device-daemon.txt:
15251 wild idea, can this be done?
15252 * docs/gst/gstreamer-sections.txt:
15257 * gst/gstpluginfeature.c:
15261 doc fixes and additions
15263 2005-11-21 Andy Wingo <wingo@pobox.com>
15265 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
15266 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
15267 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
15268 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
15269 private to the basesrc implementation.
15271 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
15272 behalf of event function if necessary. It should no longer be
15273 necessary to take the stream lock in pad's event functions. Fixes
15276 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
15277 * docs/gst/gstreamer-sections.txt:
15278 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
15279 (gst_structure_fixate_field_nearest_double),
15280 (gst_structure_fixate_field_boolean):
15281 * gst/gststructure.h:
15282 * win32/common/libgstreamer.def:
15283 * win32/gstreamer.def:
15285 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
15288 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
15290 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
15291 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
15292 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
15293 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
15294 (gst_fdsrc_uri_handler_init):
15295 * gst/elements/gstfdsrc.h:
15296 Port fd:// URI handler from 0.8 to fdsrc
15298 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15300 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
15301 (gst_value_serialize_fourcc):
15303 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
15304 consistent with our other format defines (#320324).
15306 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15308 * gst/gstvalue.c: (gst_value_is_fixed):
15309 Revert previous commit. Value lists are by definition
15310 not fixed, as they are a list of possible values.
15312 2005-11-21 Andy Wingo <wingo@pobox.com>
15314 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
15315 during the stable series if we need it. Fixes #319178.
15317 * gst/gstevent.c (gst_event_new_filler): Removed.
15319 * check/gst/gstevent.c: Update comment about filler events.
15321 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15323 * gst/gstvalue.c: (gst_value_is_fixed):
15324 Should handle both value arrays and value lists.
15326 2005-11-21 Andy Wingo <wingo@pobox.com>
15328 patch by: Alessandro Dessina <alessandro nnva org>
15330 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
15331 functions to access arrays. Fixes #321962.
15333 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15335 * docs/gst/gstreamer.types:
15336 gst_collectpads_get_type => gst_collect_pads_get_type.
15338 * gst/base/gstbasetransform.c:
15339 Remove unused SIGNAL_HANDOFF enum.
15341 2005-11-21 Andy Wingo <wingo@pobox.com>
15343 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
15344 the event type (upstream, downstream, serialized). Renamed
15345 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
15346 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
15347 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
15349 * gst/gstevent.c: Update for new CUSTOM event names.
15351 * check/gst/gstevent.c: Update check for new CUSTOM event names.
15354 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
15357 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15359 * docs/gst/gstreamer-sections.txt:
15360 * win32/common/libgstbase.def:
15361 * win32/libgstbase.def:
15362 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15363 (gst_collect_pads_class_init), (gst_collect_pads_init),
15364 (gst_collect_pads_finalize), (gst_collect_pads_new),
15365 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
15366 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
15367 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
15368 (gst_collect_pads_start), (gst_collect_pads_stop),
15369 (gst_collect_pads_peek), (gst_collect_pads_pop),
15370 (gst_collect_pads_available), (gst_collect_pads_read),
15371 (gst_collect_pads_flush), (gst_collect_pads_event),
15372 (gst_collect_pads_chain):
15373 * gst/base/gstcollectpads.h:
15374 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
15375 unimplemented functions as unimplemented. Add padding to
15376 GstCollectData. (#320766, #320423)
15378 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
15380 * gst/gstmessage.c:
15381 Improve docs for DURATION message (usage of duration parameter)
15384 2005-11-20 Wim Taymans <wim@fluendo.com>
15386 * check/Makefile.am:
15387 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15391 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15392 (gst_segment_set_seek), (gst_segment_set_newsegment),
15393 (gst_segment_to_stream_time), (gst_segment_to_running_time),
15394 (gst_segment_clip):
15395 * gst/gstsegment.h:
15396 Added segment helper structure and methods. Not fully implemented
15398 Added segment check.
15400 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
15402 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15403 Add a deserialisation test for fractions
15404 * examples/metadata/read-metadata.c: (message_loop),
15405 (make_pipeline), (main):
15406 Fix up metadata reading sample.
15407 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15409 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15410 Don't try and fixate empty caps
15411 * gst/gst_private.h:
15412 Wrap in G_BEGIN_DECLS/G_END_DECLS
15413 * gst/gstvalue.c: (gst_value_collect_fraction),
15414 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15415 (gst_value_transform_string_fraction),
15416 (gst_value_compare_fraction):
15417 Add some extra guards to ensure that we don't end up
15418 with an invalid denominator of 0 in a gstfraction and
15419 that fractions always get reduced.
15421 2005-11-20 Wim Taymans <wim@fluendo.com>
15423 * docs/gst/gstreamer-sections.txt:
15425 * gst/gstelement.c:
15434 2005-11-20 Wim Taymans <wim@fluendo.com>
15436 * docs/design/part-TODO.txt:
15438 Make a proper enum of the flag.
15440 2005-11-19 Wim Taymans <wim@fluendo.com>
15442 * docs/design/part-TODO.txt:
15443 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15444 (gst_format_to_quark), (gst_format_register):
15446 * gst/gstquery.c: (_gst_query_initialize),
15447 (gst_query_type_get_name), (gst_query_type_to_quark),
15448 (gst_query_type_register):
15450 Add type to quark and type to string conversions.
15452 2005-11-19 Andy Wingo <wingo@pobox.com>
15454 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
15457 2005-11-19 Wim Taymans <wim@fluendo.com>
15459 * docs/design/part-TODO.txt:
15460 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15461 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
15462 (gst_bin_handle_message_func):
15464 Make message handling overridable.
15466 2005-11-19 Andy Wingo <wingo@pobox.com>
15468 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
15471 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
15473 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
15474 is a GstClockTime. Fixes #321710.
15476 * gst/gstclock.h (GstClock): Remove offset property. Add
15477 internal_calibration and external_calibration. Fix padding. Pad
15478 also by GstClockTime so we don't run into problems.
15480 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
15481 (gst_clock_get_rate_offset): Remove.
15482 (gst_clock_set_time_adjust): Remove. Fixes #321712.
15485 * gst/gstutils.c (g_static_rec_cond_wait)
15486 (g_static_rec_cond_timed_wait): Removed, no longer needed.
15488 * gst/gstbin.c: Remove terrible continue_state prototype.
15490 * gst/gstelement.h (gst_element_continue_state): Make public.
15492 * gst/gstelement.h:
15493 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
15494 by continue_state. Fixes #319389.
15496 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
15497 Really fixes #168438. However I don't see anywhere where the
15498 filter function is called... stupid GStreamer...
15500 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15501 don't have a dispose function, so it won't get called when the
15502 object is unreffed, but oh well!
15504 * gst/gstindex.c (gst_index_set_filter_full): New API function,
15505 allows a destroy function to be set so user_data can be freed.
15507 (gst_index_set_filter): Call gst_index_set_filter_full.
15509 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15511 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15512 string should produce an error, given the lack of a way to
15513 represent NULL strings. Fixes #165650.
15516 * gst/gstvalue.c (gst_value_array_append_value)
15517 (gst_value_array_prepend_value, gst_value_array_get_size)
15518 (gst_value_array_get_value): New API, copied from
15519 gst_value_list_*, only operates on arrays.
15520 (gst_value_list_append_value, gst_value_list_prepend_value)
15521 (gst_value_list_concat, gst_value_list_get_size)
15522 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15524 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15525 init_list, because it works on both.
15526 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15527 (gst_value_copy_list_or_array): Renamed from copy_list.
15528 (gst_value_free_list_or_array): Renamed from free_list.
15529 (gst_value_collect_list_or_array): Renamed from collect_list.
15530 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15531 (gst_value_list_or_array_peek_pointer): Renamed from
15533 (_gst_value_array_value_table, _gst_value_list_value_table):
15534 Update value table functions.
15535 (gst_value_compare_list_or_array): Renamed from compare_list.
15537 * gsttaglist.h: Whoops, foreach function returns void. Also fix
15540 * gst/gsttaglist.c:
15541 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15542 GstTagList*. Fixes #143472.
15544 * gst/gststructure.h: Clarify what the foreach/map functions can
15545 or can't do to their arguments.
15547 2005-11-18 Wim Taymans <wim@fluendo.com>
15549 * gst/gstclock.c: (gst_clock_set_calibration),
15550 (gst_clock_get_calibration):
15552 Calibration can be set with internal time equal to current
15555 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
15561 2005-11-18 Andy Wingo <wingo@pobox.com>
15564 * pkgconfig/gstreamer-net.pc.in:
15565 * pkgconfig/gstreamer-net-uninstalled.pc.in:
15566 * pkgconfig/Makefile.am: Add net pkgconfig files.
15568 2005-11-18 Stefan Kost <ensonic@users.sf.net>
15571 * gst/gstghostpad.c:
15577 2005-11-18 Andy Wingo <wingo@pobox.com>
15579 * gst/net/gstnetclientclock.c: Turn off debugging.
15581 * check/net/gstnetclientclock.c (test_functioning): Assert that the
15582 times connverge somewhat. Can't make a real test.
15584 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15585 integer arithmetic. Return the minimum of the domain, which can be
15586 set as "internal" for gst_clock_set_calibration.
15587 (gst_net_client_clock_observe_times): Call _set_calibration.
15588 (gst_net_client_clock_new): Call _set_calibration instead of
15591 * check/net/gstnetclientclock.c (test_functioning): Use the right
15595 * gst/gstclock.c (gst_clock_get_calibration)
15596 (gst_clock_set_calibration): New functions, obsolete the ones I
15597 added yesterday. Doh. Precision issues mean we have to extrapolate
15598 from a point in the more recent past than 1970.
15599 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15601 (gst_clock_adjust_unlocked): Use the right calibration data.
15603 2005-11-18 Edward Hervey <edward@fluendo.com>
15605 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15606 Also reset the ->current_* values in READY->PAUSED
15608 2005-11-18 Andy Wingo <wingo@pobox.com>
15610 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15611 Whoops, check the right fd. Also add some debugging.
15612 (gst_net_client_clock_observe_times): Adjust for int64 offset.
15613 (do_linear_regression): Add a crapload of debugging. Subtract off
15614 the minimum values from the input series to discard unneeded bits.
15615 Use only int arithmetic. There is still double arithmetic when
15616 calculating the intercept that needs fixing. Return boolean to
15617 indicate success; FALSE would mean the domain or range is too
15618 great. Still needs fixes.
15620 2005-11-18 Wim Taymans <wim@fluendo.com>
15622 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15623 For the current position in stream time, we need to subtract
15626 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15627 Release lock before calling the callback function of async
15630 2005-11-18 Andy Wingo <wingo@pobox.com>
15632 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15633 Port goes all the way to MAXUINT16.
15635 * gst/net/gstnettimeprovider.c: Make the port range the same as
15636 for the kernel: 0 assigns, otherwise ports are less than
15639 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15642 * check/net/gstnetclientclock.c (test_functioning): Add the start
15645 2005-11-18 Wim Taymans <wim@fluendo.com>
15647 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15648 (gst_bin_remove_func), (bin_bus_handler):
15650 Removing a clock provider from a bin, triggers a clock lost message
15651 so that a new clock will be selected.
15652 Adding a clock to a bin triggers a clock provider message.
15653 Make sure we reselect a clock when we received a clock lost message.
15654 Keep a reference to the element that provided the clock.
15656 2005-11-18 Andy Wingo <wingo@pobox.com>
15658 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15659 the clock initially so it produces values around the base time.
15660 (gst_net_client_clock_class_init): Typo fix.
15661 (gst_net_client_clock_thread): Add note on when the socket gets
15664 2005-11-17 Wim Taymans <wim@fluendo.com>
15666 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15667 Free remote and local time arrays.
15669 2005-11-17 Wim Taymans <wim@fluendo.com>
15671 * gst/net/gstnetclientclock.c: (do_linear_regression),
15672 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15673 Fix compilation, uninitialized vars and a forgotten continue.
15675 2005-11-17 Andy Wingo <wingo@pobox.com>
15677 * check/Makefile.am (check_PROGRAMS):
15678 * check/net/gstnetclientclock.c: Add a most minimal test for the
15679 net client clock. More to come later.
15681 * gst/net/gstnet.h:
15682 * gst/net/Makefile.am: Add netclientclock.
15684 * gst/net/gstnetclientclock.h:
15685 * gst/net/gstnetclientclock.c: New files, implement an untested
15686 GstClock that takes its time from a network time provider.
15687 Implements the algorithm in network-clock.scm.
15689 * tests/network-clock.scm (*window-size*): Rename from
15691 * tests/network-clock.scm (network-time):
15692 * tests/network-clock-utils.scm (q-push): Update callers.
15694 2005-11-17 Wim Taymans <wim@fluendo.com>
15696 * gst/gstbin.c: (gst_bin_provide_clock_func),
15697 (gst_bin_sort_iterator_new):
15698 And unref the child too..
15700 2005-11-17 Wim Taymans <wim@fluendo.com>
15702 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15703 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15704 Refactor the sort iterator so it can be used while holding the
15706 Make clock selection select a clock closest to the source.
15708 2005-11-17 Michael Smith <msmith@fluendo.com>
15710 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15711 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15713 Anonymous structs are a gcc (and some other compilers) extension, so
15714 don't use them. Since this is only for ABI-compatibility, and our
15715 API/ABI freeze is over in a few days, this whole thing will only
15716 last a few days, so don't bother trying to think up a meaningful
15717 name for the struct.
15719 2005-11-17 Andy Wingo <wingo@pobox.com>
15721 * gst/gstclock.h (GstClock): Add rate and offset properties,
15722 preserving ABI stability. Add rate/offset accessors. Will file bug
15723 for the freeze break.
15725 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15726 and offset, trying to keep precision and avoiding
15727 underflow/overflow.
15728 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15729 functions. Make gst_clock_set_time_adjust obsolete.
15730 (gst_clock_set_time_adjust): Note that this function is obsolete.
15731 Will file bug soon.
15733 * gst/base/gstbasetransform.h: Make the ABI-stability hack
15734 greppable by using GST_PADDING-1+1.
15736 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
15738 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15740 * gst/gstmessage.c: (gst_message_parse_clock_lost):
15741 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
15743 * gst/gstpadtemplate.h:
15744 * gst/gstpluginfeature.h:
15745 Don't use c++ style comments in headers (#321638).
15747 2005-11-16 Andy Wingo <wingo@pobox.com>
15749 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
15752 * check/net/gstnettimeprovider.c: Check to see that the time
15753 provider actually provides times. Works, yo!
15755 2005-11-16 Wim Taymans <wim@fluendo.com>
15757 * check/Makefile.am:
15760 * check/elements/fakesrc.c: (GST_START_TEST):
15761 Set element to NULL before disposing it.
15763 2005-11-16 Andy Wingo <wingo@pobox.com>
15765 * gst/net/Makefile.am:
15766 * gst/net/gstnet.h:
15767 * gst/net/gstnettimeprovider.c:
15768 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
15769 provider, include it from gstnet.h, and add it to the build.
15771 * gst/net/gstnettimepacket.h:
15772 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
15773 sending and receiving.
15775 2005-11-16 Wim Taymans <wim@fluendo.com>
15777 * check/Makefile.am:
15778 Enable valgrind check.
15780 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
15781 (gst_fake_src_alloc_buffer):
15784 2005-11-16 Wim Taymans <wim@fluendo.com>
15786 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
15787 Call parent finalize too.
15789 2005-11-16 Wim Taymans <wim@fluendo.com>
15791 * check/Makefile.am:
15792 Enable valgrind check that should work fine now.
15794 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15795 * gst/gstqueue.c: (gst_queue_init):
15796 Fix memleaks in pad allocation.
15798 2005-11-16 Andy Wingo <wingo@pobox.com>
15800 * gst/net/Makefile.am:
15801 * gst/net/gstnet.h: New part of core to hold network elements and
15802 objects. Put in core because it exposes API that applications want
15803 to use. The library is named libgstnet-tempname right now because
15804 of the existing libgstnet in gst-plugins-base. Solution is
15805 probably to rename the one in plugins-base; will file a bug for
15808 * gst/net/gstnettimeprovider.c:
15809 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
15810 get_time call over the network.
15813 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
15815 * check/Makefile.am:
15816 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
15817 get additions shortly.
15819 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15821 * gst/gstpad.c: (gst_pad_new_from_static_template):
15823 add gst_pad_new_from_static_template functions
15824 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
15825 (gst_check_setup_sink_pad):
15826 * gst/elements/gsttee.c: (gst_tee_init):
15829 2005-11-16 Wim Taymans <wim@fluendo.com>
15831 * gst/gstpad.c: (gst_pad_pause_task):
15832 Removed warning, it's not really an error either.
15834 2005-11-16 Wim Taymans <wim@fluendo.com>
15836 * gst/base/gstbasetransform.c:
15837 (gst_base_transform_prepare_output_buf),
15838 (gst_base_transform_event):
15839 Check if the caps are NULL, this can happen if the element
15840 is shutting down and the pad caps are set to NULL.
15842 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15844 * gst/elements/gsttee.c: (gst_tee_init):
15845 fix pad template leak in tee
15847 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15849 * gst/glib-compat.c: (g_value_dup_gst_object):
15850 * gst/glib-compat.h:
15851 * gst/gstpad.c: (gst_pad_set_property):
15852 use gst_object_ref when setting the pad template; this will
15853 trigger the pad template leaks on GLib 2.6 and the slaves
15855 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15857 * gst/glib-compat.c: (gst_flags_get_first_value):
15858 * gst/glib-compat.h:
15859 * gst/gstregistryxml.c:
15860 remove functions copied from GLib 2.6
15862 2005-11-16 Michael Smith <msmith@fluendo.com>
15865 Don't link against VALGRIND_LIBS. That was always the wrong thing to
15866 do, but only breaks with newer valgrind versions. We're not a
15867 valgrind tool, we have no link-time dependencies on libcoregrind.
15869 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15871 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15873 * gst/gstmessage.h:
15876 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
15878 * gst/base/gstbasesrc.c: (gst_base_src_init):
15879 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15880 * gst/gstqueue.c: (gst_queue_init):
15881 * gst/gstregistryxml.c: (load_feature):
15882 Revert all these unrefs, they don't even pass make check !
15884 2005-11-15 Johan Dahlin <johan@gnome.org>
15886 * gst/base/gstbasesrc.c: (gst_base_src_init):
15887 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
15888 * gst/gstqueue.c: (gst_queue_init):
15889 Free pad templates, fixes a couple of leaks.
15891 2005-11-15 Daniel Fischer <dan at f3c dot com>
15893 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15895 * gst/gstpad.c: (gst_pad_get_property):
15896 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
15897 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
15900 2005-11-15 Wim Taymans <wim@fluendo.com>
15905 2005-11-15 Andy Wingo <wingo@pobox.com>
15907 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
15909 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
15910 using GST_CLOCK_TIME_NONE to disable base time management.
15911 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
15912 time if it was NONE before.
15913 (gst_pipeline_change_state): Only munge the base time if
15914 stream_time != GST_CLOCK_TIME_NONE.
15916 * check/gst/gstpipeline.c (test_base_time): Punt around the
15917 problem of the probe not being called, because that's not the
15918 issue I'm looking at. Add a check that setting stream_time to NONE
15919 disables base time management.
15921 2005-11-15 Wim Taymans <wim@fluendo.com>
15923 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
15924 segment_stop == -1 at startup.
15926 * gst/base/gstbasetransform.c: (gst_base_transform_event),
15927 (gst_base_transform_change_state):
15928 Init segment values at start.
15930 2005-11-15 Wim Taymans <wim@fluendo.com>
15932 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15933 0 segment values are 0 in any format.
15935 * gst/base/gstbasetransform.c: (gst_base_transform_event):
15936 * gst/base/gstbasetransform.h:
15937 Parse newsegment correctly in basetransform
15939 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15940 Sync to clock using updated segment values.
15942 2005-11-15 Andy Wingo <wingo@pobox.com>
15944 * check/gst/gstpipeline.c (test_base_time): Add check that the
15945 base time and stream time are reset correctly.
15947 2005-11-15 Wim Taymans <wim@fluendo.com>
15949 * docs/design/part-TODO.txt:
15950 Some more TODO items.
15952 2005-11-15 Andy Wingo <wingo@pobox.com>
15954 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
15955 error if the user selected "no clock" as the clocking method.
15957 * check/gst/gstpipeline.c (test_base_time): New test for buffer
15958 timestamps with live capture.
15960 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
15961 is 0 but we are a live source, timestamp the buffers using the
15964 2005-11-14 Stefan Kost <ensonic@users.sf.net>
15966 * docs/gst/gstreamer-sections.txt:
15968 * gst/gstghostpad.c:
15973 2005-11-14 Wim Taymans <wim@fluendo.com>
15976 add suppressions from Wim's Debian machine
15978 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
15981 add suppressions from Andy's AMD64 Ubuntu machine
15983 2005-11-14 Andy Wingo <wingo@pobox.com>
15985 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
15986 STATE_LOCK not necessary. Fixes #311489.
15988 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
15991 * gst/gstindex.c (gst_index_add_object): Note in the docs that
15992 this function is not implemented.
15994 2005-11-14 Julien MOUTTE <julien@moutte.net>
15996 * gst/base/gstbasetransform.c:
15997 (gst_base_transform_prepare_output_buf):
15998 Ref the source pad caps while we need them.
16001 2005-11-11 Wim Taymans <wim@fluendo.com>
16003 * docs/gst/gstreamer-sections.txt:
16004 Added some docs for GstCollectData.
16006 * gst/base/gstadapter.c:
16007 Some small code example fix.
16009 * gst/base/gstcollectpads.c:
16010 * gst/base/gstcollectpads.h:
16011 Document some more.
16013 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
16015 * configure.ac: back to HEAD
16017 === release 0.9.5 ===
16019 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
16022 releasing 0.9.5, "Bike Lunch Day"
16024 2005-11-11 Wim Taymans <wim@fluendo.com>
16026 * gst/gstbuffer.c: (_gst_buffer_copy):
16029 * gst/gstcaps.c: (gst_caps_is_equal):
16031 Make _is_equal fast in the trivial cases.
16033 * gst/gstminiobject.c:
16034 * gst/gstminiobject.h:
16035 More docs. Spifify .h file.
16040 2005-11-11 Wim Taymans <wim@fluendo.com>
16042 * gst/base/gstbasetransform.c:
16043 (gst_base_transform_prepare_output_buf),
16044 (gst_base_transform_handle_buffer):
16046 If we're processing a buffer and need to allocate an output
16047 buffer, we cannot accept a format change. If we did get a
16048 format change, we have to alloc a buffer ourselves of the
16051 2005-11-11 Wim Taymans <wim@fluendo.com>
16053 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
16054 While checking the flag for reentrancy in the gstcaps function
16055 is nice to detect recursive invocations, it also makes it
16056 impossible to call getcaps from multiple threads, which must be
16057 possible. So, checking for recursive calls has to go.
16059 2005-11-11 Michael Smith <msmith@fluendo.com>
16061 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16062 Don't sync on buffers that fall partially outside our current
16063 segment. Prevents an assertion failure/abort playing some files.
16065 2005-11-10 Andy Wingo <wingo@pobox.com>
16067 * check/gst/gstbin.c (test_message_state_changed_children): Style
16070 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
16071 gst_bus_poll with the signal watch. Ensures that poll and a signal
16072 watch see the same messages.
16074 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
16075 a poll and a watch at the same time get the same messages.
16077 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
16079 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
16080 * gst/gstcaps.c: (gst_caps_intersect):
16081 Don't call gst_caps_do_simplify - it doesn't respect order of caps
16082 and it's not needed.
16084 2005-11-10 Wim Taymans <wim@fluendo.com>
16086 * docs/design/part-TODO.txt:
16089 2005-11-10 Wim Taymans <wim@fluendo.com>
16091 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16092 * gst/base/gstbasesrc.c: (gst_base_src_wait),
16093 (gst_base_src_do_sync), (gst_base_src_get_range):
16094 Implement clock sync in base class.
16096 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
16098 patch by: Tim-Philipp Müller <tim at centricular dot net>
16100 * gst/gststructure.c: (gst_structure_parse_field),
16101 (gst_structure_from_string):
16102 Forward-port a 0.8 patch to handle escaped spaces in structure string,
16103 so that gst_parse_launch() can deal with spaces in filtered link
16104 caps (fixes #164479)
16105 * check/gst/capslist.h:
16106 * check/gst/gststructure.c: (GST_START_TEST):
16107 add unit tests for this change
16109 2005-11-10 Wim Taymans <wim@fluendo.com>
16111 * docs/gst/gstreamer-sections.txt:
16112 * gst/gstelement.c:
16113 * gst/gstelement.h:
16114 Fix docs, move some STATE macros to private.
16116 2005-11-10 Wim Taymans <wim@fluendo.com>
16118 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
16119 Added check for bug #317341
16123 Some more spiffifying.
16125 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
16126 Call peer linkfunction if we are a source pad. Totally fixes
16130 Update docs, source pads should call the peer linkfunction
16131 so they can atomically perform the pad link.
16133 2005-11-09 Wim Taymans <wim@fluendo.com>
16137 Uber-spiffy-spiffify some more.
16139 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
16141 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
16142 * gst/elements/gstfilesink.c: (gst_file_sink_init):
16143 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16144 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
16145 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
16146 * gst/gstpad.c: (gst_pad_init):
16147 Use GST_DEBUG_FUNCPTR() more extensively.
16149 2005-11-09 Wim Taymans <wim@fluendo.com>
16151 * gst/gstobject.c: (gst_object_class_init):
16153 Documentation fixes.
16155 2005-11-09 Edward Hervey <edward@fluendo.com>
16157 * gst/gsttypefindfactory.c:
16160 2005-11-09 Edward Hervey <edward@fluendo.com>
16162 * gst/base/gsttypefindhelper.c:
16163 * gst/gsttypefind.c:
16164 * gst/gsttypefind.h:
16167 2005-11-09 Wim Taymans <wim@fluendo.com>
16169 * gst/gstiterator.c:
16176 2005-11-09 Wim Taymans <wim@fluendo.com>
16182 2005-11-09 Wim Taymans <wim@fluendo.com>
16184 * docs/gst/gstreamer-sections.txt:
16185 Moved the message async delivery private lock and cond
16186 to the private section.
16188 * gst/gstmessage.c:
16189 * gst/gstmessage.h:
16192 2005-11-09 Edward Hervey <edward@fluendo.com>
16194 * docs/gst/gstreamer-sections.txt:
16197 Document GstURIHandler
16199 2005-11-09 Wim Taymans <wim@fluendo.com>
16201 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
16202 (gst_iterator_find_custom):
16203 * gst/gstiterator.h:
16206 2005-11-09 Wim Taymans <wim@fluendo.com>
16209 Document another field.
16211 * gst/gststructure.c:
16212 * gst/gststructure.h:
16215 2005-11-09 Wim Taymans <wim@fluendo.com>
16218 Documented structs.
16220 2005-11-09 Wim Taymans <wim@fluendo.com>
16222 * docs/gst/gstreamer-sections.txt:
16223 Added some new macros.
16230 2005-11-09 Wim Taymans <wim@fluendo.com>
16232 * docs/design/part-TODO.txt:
16233 Some more items for the TODO
16239 2005-11-09 Andy Wingo <wingo@pobox.com>
16241 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
16242 to work on something else now tho...
16244 * gst/base/gstadapter.c: More adapter docs.
16246 * gst/elements/gstfilesink.c (gst_file_sink_start)
16247 (gst_file_sink_stop): New functions, replace the state change
16249 (gst_file_sink_class_init): Hook up the start and stop functions.
16250 (gst_file_sink_base_init): Don't set the state change handler any
16251 more. It was a bit ugly too, being set from here...
16252 (gst_file_sink_get_property, gst_file_sink_set_property):
16254 (gst_file_sink_set_location): More robust check that doesn't call
16255 GST_STATE. Ugggggg.
16257 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
16259 * gst/base/gstbasetransform.c: (gst_base_transform_event):
16260 Hold STREAM_LOCK while pushing newsegment or tag events as well.
16262 2005-11-08 Wim Taymans <wim@fluendo.com>
16264 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16265 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16266 (gst_base_sink_chain), (gst_base_sink_change_state):
16267 * gst/base/gstbasesink.h:
16268 * gst/base/gstbasesrc.h:
16269 * gst/gstelement.h:
16271 Avoid excessive typechecking in macros.
16273 * gst/gstminiobject.c: (gst_mini_object_get_type),
16274 (gst_mini_object_init), (gst_mini_object_new),
16275 (gst_mini_object_free):
16276 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
16277 (gst_object_finalize):
16278 Remove cruft code, optimize alloc_trace.
16280 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
16282 * docs/faq/gst-uninstalled:
16283 fix up PS1 for systems that try to reset it
16285 2005-11-07 Wim Taymans <wim@fluendo.com>
16287 * gst/base/gstbasesrc.c: (gst_base_src_init),
16288 (gst_base_src_get_range):
16289 Set the segment_end to -1 initially. Fixed typefind.
16291 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
16293 * gst/base/gstadapter.c:
16294 Debug category should be 'adapter', not 'GstAdapter'.
16296 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
16297 (gst_collectpads_class_init), (gst_collectpads_init),
16298 (gst_collectpads_peek), (gst_collectpads_pop),
16299 (gst_collectpads_event), (gst_collectpads_chain):
16300 Add debug category and some debugging output. Use boilerplate
16301 macros. Remove some extraneous words from docs.
16303 2005-11-05 Andy Wingo <wingo@pobox.com>
16305 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
16308 2005-11-04 Stefan Kost <ensonic@users.sf.net>
16310 * docs/gst/gstreamer-sections.txt:
16313 * gst/gstminiobject.h:
16318 2005-11-04 Wim Taymans <wim@fluendo.com>
16320 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16321 Small update to stop at the configured segment_end
16324 2005-11-04 Stefan Kost <ensonic@users.sf.net>
16326 * gst/gstregistry.c:
16327 * gst/gstregistry.h:
16330 2005-11-04 Edward Hervey <edward@fluendo.com>
16332 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16333 Check if we are doing a segment seek and have arrived at the
16334 end of that segment.
16336 2005-11-04 Wim Taymans <wim@fluendo.com>
16338 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
16339 Don't leak a mutex unlock in case of an error.
16344 2005-11-04 Wim Taymans <wim@fluendo.com>
16346 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
16348 Get the context to wake up only once.
16350 2005-11-03 Wim Taymans <wim@fluendo.com>
16352 * check/states/sinks.c: (GST_START_TEST):
16353 Uncomment fixed check.
16355 * docs/design/part-TODO.txt:
16358 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16359 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16360 (gst_base_sink_get_position):
16361 If we are going to PLAYING, post the right pending state
16362 when we post the intermediate paused message.
16364 * gst/gstelement.c: (gst_element_continue_state),
16365 (gst_element_set_state_func), (gst_element_change_state):
16366 Don't post state changes that were between the same state
16367 and were not ASYNC.
16369 2005-11-03 Stefan Kost <ensonic@users.sf.net>
16371 * docs/gst/gstreamer-sections.txt:
16374 * gst/gstminiobject.h:
16377 more docs and doc style fixes
16379 2005-11-03 Stefan Kost <ensonic@users.sf.net>
16381 * docs/gst/gstreamer-sections.txt:
16382 * gst/gstelement.c:
16383 * gst/gstminiobject.c:
16386 2005-11-03 Andy Wingo <wingo@pobox.com>
16388 * check/states/sinks.c (test_livesrc_sink): Add checks that the
16389 state-changed messages actually have the right order and the right
16392 2005-11-03 Wim Taymans <wim@fluendo.com>
16394 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16395 Added some more checks. Specifically the case where NO_PREROLL
16396 elements are in the pipeline.
16398 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16399 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16400 (gst_base_sink_get_position):
16401 Post READY->PAUSED state change messages too.
16402 Fix bug where VOID was posted as pending state...
16404 * gst/gstbin.c: (gst_bin_recalc_state):
16405 use _element_continue_state() to continue the state change.
16407 * gst/gstelement.c: (gst_element_continue_state),
16408 (gst_element_commit_state), (gst_element_set_state_func),
16409 (gst_element_change_state), (gst_element_change_state_func):
16410 Lots of state change cleanups, assign the STATE_RETURN in
16411 a new continue_state() function that also propagates the
16412 last return value from a state change to the app.
16413 Update some debug statements with proper category.
16415 2005-11-03 Wim Taymans <wim@fluendo.com>
16417 * docs/design/part-events.txt:
16418 * docs/design/part-gstpipeline.txt:
16419 * docs/design/part-messages.txt:
16420 * docs/design/part-overview.txt:
16421 * docs/design/part-seeking.txt:
16422 * docs/design/part-states.txt:
16423 * docs/design/part-trickmodes.txt:
16424 * docs/manual/advanced-position.xml:
16425 Small docs updates.
16428 People think !! is ugly, this looks better.
16430 * gst/gstpad.c: (gst_pad_set_blocked_async):
16431 Remove !! since it's fixed elsewhere now.
16433 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16435 * gst/gstminiobject.h:
16437 Add !! to _FLAG_IS_SET macros to make the result boolean.
16439 2005-11-03 Edward Hervey <edward@fluendo.com>
16441 * gst/gstpad.c: (gst_pad_set_blocked_async):
16442 comparing a flag and a gboolean rarely returns coherent results...
16443 Added two characters (!!) to make that work correctly.
16445 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16447 * gst/gstbus.c: (gst_bus_class_init):
16450 * gst/gstqueue.c: (gst_queue_loop):
16451 Don't assume a miniobject that isn't a buffer is an
16452 event (it could be that there is a refcounting
16453 problem somewhere and the pointer is stale and
16454 refers to an already destroyed miniobject).
16456 2005-11-03 Julien MOUTTE <julien@moutte.net>
16458 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
16460 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
16462 * docs/manual/advanced-position.xml:
16463 Update seek example and explanations to current 0.9 API.
16465 * gst/elements/gsttypefindelement.c:
16466 (gst_type_find_element_activate):
16467 Remove FIXME comment now that the found caps
16470 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
16472 * gst/gstregistryxml.c: (load_feature):
16473 Add another GST_STR_NULL instance
16475 2005-11-02 Edward Hervey <edward@fluendo.com>
16477 * gst/gstpad.c: (handle_pad_block):
16478 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
16480 2005-11-02 Wim Taymans <wim@fluendo.com>
16485 * gst/gstelement.c: (gst_element_commit_state):
16486 Remove unused value.
16488 * gst/gstiterator.c:
16489 Mention that the returned element is reffed in the docs.
16491 2005-11-02 Wim Taymans <wim@fluendo.com>
16493 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
16494 (gst_pad_push), (gst_pad_push_event):
16495 Unlock blocked pads when they are flushed.
16497 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16500 * docs/gst/gstreamer-sections.txt:
16503 * gst/gstregistry.c: (gst_registry_scan_path_level):
16504 fix for a nasty little missed situation where an installed plug-in
16505 which was in the cache did not get overridden by an uninstalled one
16506 which was earlier in the plugin path because the newly created plugin
16507 for the uninstalled one (not in the registry) didn't get its
16508 ->registered set to TRUE
16510 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
16512 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16513 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16514 (gst_collectpads_is_active), (gst_collectpads_collect),
16515 (gst_collectpads_collect_range), (gst_collectpads_start),
16516 (gst_collectpads_stop), (gst_collectpads_peek),
16517 (gst_collectpads_pop), (gst_collectpads_available),
16518 (gst_collectpads_read), (gst_collectpads_flush):
16519 Guard public API with assertions.
16522 Fix docs for gst_pad_set_link_function().
16524 2005-11-02 Johan Dahlin <johan@gnome.org>
16526 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
16527 Unref found_caps after we used it.
16529 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
16531 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16532 Don't try to ref NULL.
16534 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16536 * win32/common/config.h.in:
16537 provide a GST_FUNCTION that just gives a string for now
16539 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
16541 * win32/common/gstenumtypes.c: (register_gst_object_flags),
16542 (gst_object_flags_get_type), (register_gst_bin_flags),
16543 (gst_bin_flags_get_type), (register_gst_buffer_flag),
16544 (gst_buffer_flag_get_type), (register_gst_bus_flags),
16545 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16546 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16547 (gst_clock_return_get_type), (register_gst_clock_entry_type),
16548 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16549 (gst_clock_flags_get_type), (register_gst_state),
16550 (gst_state_get_type), (register_gst_state_change_return),
16551 (gst_state_change_return_get_type), (register_gst_state_change),
16552 (gst_state_change_get_type), (register_gst_element_flags),
16553 (gst_element_flags_get_type), (register_gst_core_error),
16554 (gst_core_error_get_type), (register_gst_library_error),
16555 (gst_library_error_get_type), (register_gst_resource_error),
16556 (gst_resource_error_get_type), (register_gst_stream_error),
16557 (gst_stream_error_get_type), (register_gst_event_type),
16558 (gst_event_type_get_type), (register_gst_seek_type),
16559 (gst_seek_type_get_type), (register_gst_seek_flags),
16560 (gst_seek_flags_get_type), (register_gst_format),
16561 (gst_format_get_type), (register_gst_index_certainty),
16562 (gst_index_certainty_get_type), (register_gst_index_entry_type),
16563 (gst_index_entry_type_get_type),
16564 (register_gst_index_lookup_method),
16565 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16566 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16567 (gst_index_resolver_method_get_type), (register_gst_index_flags),
16568 (gst_index_flags_get_type), (register_gst_debug_level),
16569 (gst_debug_level_get_type), (register_gst_debug_color_flags),
16570 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16571 (gst_iterator_result_get_type), (register_gst_iterator_item),
16572 (gst_iterator_item_get_type), (register_gst_message_type),
16573 (gst_message_type_get_type), (register_gst_mini_object_flags),
16574 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16575 (gst_pad_link_return_get_type), (register_gst_flow_return),
16576 (gst_flow_return_get_type), (register_gst_activate_mode),
16577 (gst_activate_mode_get_type), (register_gst_pad_direction),
16578 (gst_pad_direction_get_type), (register_gst_pad_flags),
16579 (gst_pad_flags_get_type), (register_gst_pad_presence),
16580 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16581 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16582 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16583 (gst_plugin_error_get_type), (register_gst_plugin_flags),
16584 (gst_plugin_flags_get_type), (register_gst_rank),
16585 (gst_rank_get_type), (register_gst_query_type),
16586 (gst_query_type_get_type), (register_gst_tag_merge_mode),
16587 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16588 (gst_tag_flag_get_type), (register_gst_task_state),
16589 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16590 (gst_alloc_trace_flags_get_type),
16591 (register_gst_type_find_probability),
16592 (gst_type_find_probability_get_type), (register_gst_uri_type),
16593 (gst_uri_type_get_type), (register_gst_parse_error),
16594 (gst_parse_error_get_type):
16595 * win32/common/gstversion.h:
16596 update win32 copies
16598 2005-11-01 Luca Ognibene <luogni@tin.it>
16601 fix docs. popt is dead, long live GOption.
16603 2005-10-31 Wim Taymans <wim@fluendo.com>
16608 2005-10-31 Andy Wingo <wingo@pobox.com>
16612 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16614 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16615 need to serialize property notifications on GLib 2.8. GLib 2.6 has
16616 the possibility of deadlocks here if code calling notify() or
16617 set() has a lock that can be taken in another notify handler (ABBA
16618 with class lock and e.g. python GIL state lock).
16620 2005-10-28 Julien MOUTTE <julien@moutte.net>
16622 * gst/gstbus.c: Doc updates.
16624 2005-10-28 Wim Taymans <wim@fluendo.com>
16626 * docs/design/part-TODO.txt:
16627 * gst/gstiterator.c:
16628 * gst/gstsystemclock.c:
16629 * gst/gstsystemclock.h:
16632 2005-10-28 Edward Hervey <edward@fluendo.com>
16634 * docs/gst/gstreamer-docs.sgml:
16635 * docs/gst/gstreamer-sections.txt:
16636 the GstURIType documentation page is private, it only defines GstURIType
16637 which should be defined in the GstURIHandler page
16639 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
16641 * gst/gstbin.c: (gst_bin_class_init):
16644 Documentation updates.
16646 2005-10-28 Wim Taymans <wim@fluendo.com>
16648 * docs/gst/gstreamer-sections.txt:
16651 Documented the clocks.
16653 2005-10-28 Stefan Kost <ensonic@users.sf.net>
16655 * docs/gst/gstreamer-sections.txt:
16656 move some macros to private sections
16657 * gst/gstminiobject.c:
16658 * gst/gstminiobject.h:
16659 add descriptions provided by ds and some more
16661 mark macro as to be removed
16663 2005-10-28 Wim Taymans <wim@fluendo.com>
16665 * docs/design/part-TODO.txt:
16666 Add an item to TODO.
16668 * gst/gstiterator.c: (gst_iterator_fold),
16669 (gst_iterator_find_custom):
16670 * gst/gstiterator.h:
16673 2005-10-28 Wim Taymans <wim@fluendo.com>
16675 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16676 (gst_base_transform_init):
16679 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16680 An EOS event marks the queue as completely filled.
16682 2005-10-27 Wim Taymans <wim@fluendo.com>
16684 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16685 (gst_base_sink_do_sync), (gst_base_sink_get_position):
16686 Some more debugging.
16688 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16689 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16690 (gst_base_transform_event), (gst_base_transform_getrange),
16691 (gst_base_transform_chain):
16692 * gst/base/gstbasetransform.h:
16694 Protect transform and concurrent buffer alloc with a new lock.
16695 Try not to break ABI/API.
16697 2005-10-27 Wim Taymans <wim@fluendo.com>
16699 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16700 (gst_base_src_init), (gst_base_src_query),
16701 (gst_base_src_default_newsegment),
16702 (gst_base_src_configure_segment), (gst_base_src_do_seek),
16703 (gst_base_src_send_event), (gst_base_src_event_handler),
16704 (gst_base_src_pad_get_range), (gst_base_src_loop),
16705 (gst_base_src_unlock), (gst_base_src_default_negotiate),
16706 (gst_base_src_start), (gst_base_src_deactivate),
16707 (gst_base_src_activate_push), (gst_base_src_change_state):
16708 Move some stuff around and cleanup things.
16710 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
16712 * gst/base/gstbasesrc.c: (gst_base_src_query):
16713 Add missing break statements.
16715 2005-10-27 Wim Taymans <wim@fluendo.com>
16717 * check/gst/gstbin.c: (GST_START_TEST):
16718 An extra refcount is taken in basesrc.
16720 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16721 (gst_base_src_get_range), (gst_base_src_pad_get_range),
16722 (gst_base_src_loop):
16723 Small cleanups, check for flushing after being unlocked from the
16724 LIVE_LOCK. take refcounts correctly (not yet everywhere).
16725 Don't send out EOS when going to READY.
16727 2005-10-27 Wim Taymans <wim@fluendo.com>
16729 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16730 (gst_base_sink_get_position):
16733 * gst/gstbin.c: (message_check), (bin_replace_message),
16734 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16735 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16736 (bin_query_duration_init), (bin_query_duration_fold),
16737 (bin_query_duration_done), (bin_query_generic_fold),
16739 * tools/gst-launch.c: (main):
16742 2005-10-26 Stefan Kost <ensonic@users.sf.net>
16744 * examples/controller/audio-example.c: (main):
16745 * examples/queue/queue.c: (event_loop):
16746 * gst/base/gstbasetransform.h:
16747 * gst/gstelement.c: (gst_element_send_event):
16749 * gst/gstpad.c: (gst_pad_send_event):
16752 changing log priority in error situations
16754 2005-10-25 Wim Taymans <wim@fluendo.com>
16756 * gst/gstbin.c: (message_check), (bin_replace_message),
16757 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16758 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16759 (bin_query_duration_init), (bin_query_duration_fold),
16760 (bin_query_duration_done), (bin_query_generic_fold),
16762 Some doc and debug updates.
16763 Cache previously requested query DURATION for speed. invalidate
16764 cached duration if element posts a DURATION message.
16766 2005-10-25 Wim Taymans <wim@fluendo.com>
16768 * docs/design/part-TODO.txt:
16771 * gst/gstbin.c: (message_check), (bin_replace_message),
16772 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16773 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
16774 (bin_query_duration_init), (bin_query_duration_fold),
16775 (bin_query_duration_done), (bin_query_generic_fold),
16777 Handle SEGMENT_START/DONE messages correctly.
16778 More evolved query algorithm that handles duration queries
16781 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
16782 (gst_element_get_state_func), (gst_element_abort_state),
16783 (gst_element_commit_state), (gst_element_lost_state):
16784 Some more debugging.
16786 * gst/gstmessage.h:
16789 2005-10-25 Wim Taymans <wim@fluendo.com>
16791 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
16792 Don't use invalid stream_time.
16794 * gst/gstevent.c: (gst_event_new_newsegment):
16795 stream_time in newsegment cannot be undefined.
16797 2005-10-24 Wim Taymans <wim@fluendo.com>
16802 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
16804 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
16806 2005-10-24 Stefan Kost <ensonic@users.sf.net>
16808 * docs/libs/tmpl/gstdparam.sgml:
16809 * docs/libs/tmpl/gstdplinint.sgml:
16810 * docs/libs/tmpl/gstdpman.sgml:
16811 * docs/libs/tmpl/gstdpsmooth.sgml:
16812 * docs/libs/tmpl/gstunitconvert.sgml:
16815 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
16820 === release 0.9.4 ===
16822 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
16825 releasing 0.9.4, "Tyrannosaurus Rex"
16827 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
16829 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
16830 (gst_file_sink_get_current_offset):
16831 Use fseeko() and ftello() if available. When falling back on
16832 lseek() to get the current offset, fflush() first to make sure
16833 everything is up-to-date and we get the right offset.
16835 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
16837 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16838 * gst/base/gstbasesrc.c: (gst_base_src_loop):
16839 * gst/gsterror.c: (_gst_stream_errors_init):
16841 * gst/gstqueue.c: (gst_queue_loop):
16843 remove prematurely added error category and clean up the instances
16845 2005-10-21 Wim Taymans <wim@fluendo.com>
16847 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16848 (gst_base_sink_get_position), (gst_base_sink_query),
16849 (gst_base_sink_change_state):
16850 Simply set the right flag when going to playing, that's all
16851 we need to do instead of calling a function inside the object
16852 lock (that could take the lock as well and deadlock)
16854 2005-10-21 Wim Taymans <wim@fluendo.com>
16856 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
16857 (gst_base_src_loop):
16858 Don't warn, the peer element knows what to do best when
16859 the seek failed, it might try something else.
16861 2005-10-21 Wim Taymans <wim@fluendo.com>
16863 * gst/base/gstbasesrc.c: (gst_base_src_init),
16864 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
16867 2005-10-21 Wim Taymans <wim@fluendo.com>
16869 * docs/design/part-segments.txt:
16872 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
16873 Correctly set caps, even on the subbufer.
16875 2005-10-21 Wim Taymans <wim@fluendo.com>
16877 * docs/gst/gstreamer-docs.sgml:
16878 * docs/gst/gstreamer-sections.txt:
16879 * gst/gstelement.h:
16882 * gst/gstmessage.h:
16885 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
16889 And 2% more doc coverage.
16891 2005-10-21 Andy Wingo <wingo@pobox.com>
16893 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
16894 position reporting.
16896 2005-10-20 Wim Taymans <wim@fluendo.com>
16898 * gst/gsterror.c: (gst_error_get_message):
16901 * gst/gststructure.c:
16906 2005-10-20 Wim Taymans <wim@fluendo.com>
16911 Another 1% more coverage.
16913 2005-10-20 Wim Taymans <wim@fluendo.com>
16915 * docs/gst/gstreamer-sections.txt:
16916 * gst/gstelement.c: (gst_element_get_state_func),
16917 (gst_element_abort_state), (gst_element_commit_state),
16918 (gst_element_lost_state):
16920 * gst/gstquery.c: (gst_query_set_position),
16921 (gst_query_parse_position), (gst_query_set_duration),
16922 (gst_query_parse_duration), (gst_query_new_convert):
16924 Yay! 1% more docs coverage.
16926 2005-10-20 Wim Taymans <wim@fluendo.com>
16929 * gst/gstquery.c: (gst_query_set_position),
16930 (gst_query_parse_position), (gst_query_set_duration),
16931 (gst_query_parse_duration), (gst_query_new_convert):
16933 * gst/gstutils.c: (gst_element_query_convert):
16935 Docs and consistency fixes.
16937 2005-10-20 Wim Taymans <wim@fluendo.com>
16943 2005-10-20 Wim Taymans <wim@fluendo.com>
16945 * gst/gstbin.c: (message_check), (bin_replace_message),
16946 (bin_remove_messages), (is_eos), (gst_bin_add_func),
16947 (update_degree), (gst_bin_sort_iterator_next),
16948 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
16949 Reworked the message handling a bit, cache the messages instead of
16950 only the senders. alows us to do more in the future.
16952 2005-10-20 Wim Taymans <wim@fluendo.com>
16954 * docs/design/part-TODO.txt:
16957 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16958 (gst_base_sink_query):
16959 Don't use clock time to report position when in EOS.
16961 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
16963 * tools/gst-inspect.c: (print_interfaces),
16964 (print_element_properties_info), (print_element_info):
16965 Fix interface output with gst-inspect -a; don't print
16966 newlines after double/float properties.
16968 2005-10-20 Wim Taymans <wim@fluendo.com>
16970 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
16971 (gst_base_sink_query):
16972 Speed up current position calculation.
16974 * gst/base/gstbasesrc.c: (gst_base_src_query),
16975 (gst_base_src_default_newsegment):
16976 Correctly set stream position in newsegment.
16978 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
16979 (update_degree), (gst_bin_sort_iterator_next),
16980 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
16981 * gst/gstmessage.c: (gst_message_new_custom):
16982 Clean up debugging info
16984 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
16985 (gst_queue_loop), (gst_queue_handle_src_query):
16988 2005-10-19 Wim Taymans <wim@fluendo.com>
16990 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16991 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16992 Fix query handling again.
16994 2005-10-19 Wim Taymans <wim@fluendo.com>
16996 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16997 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
16998 * gst/base/gstbasesrc.c: (gst_base_src_query):
16999 * gst/elements/gstfilesink.c: (gst_file_sink_query):
17000 * gst/elements/gsttypefindelement.c:
17001 (gst_type_find_handle_src_query), (find_element_get_length),
17002 (gst_type_find_element_activate):
17005 * gst/gstquery.c: (gst_query_new_position),
17006 (gst_query_set_position), (gst_query_parse_position),
17007 (gst_query_new_duration), (gst_query_set_duration),
17008 (gst_query_parse_duration), (gst_query_set_segment),
17009 (gst_query_parse_segment):
17011 Bundling query position/duration is not a good idea since duration
17012 does not change much and we don't want to recalculate it for every
17013 position query, so they are separated again..
17014 Base value in segment query is not needed.
17016 * gst/gstqueue.c: (gst_queue_handle_src_query):
17017 * gst/gstutils.c: (gst_element_query_position),
17018 (gst_element_query_duration), (gst_pad_query_position),
17019 (gst_pad_query_duration):
17021 Updates for query API change.
17022 Added some docs here and there.
17024 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
17026 * check/gst/gstbin.c: (GST_START_TEST):
17027 * check/gst/gstghostpad.c: (GST_START_TEST):
17028 * check/pipelines/cleanup.c: (GST_START_TEST):
17029 wait on thread to die so we can check refcount correctly
17031 2005-10-18 Wim Taymans <wim@fluendo.com>
17033 * check/pipelines/stress.c: (GST_START_TEST):
17034 Make check a little more time consuming.
17036 2005-10-18 Wim Taymans <wim@fluendo.com>
17038 * check/Makefile.am:
17039 * check/pipelines/stress.c: (GST_START_TEST),
17040 (simple_launch_lines_suite), (main):
17041 Small state change torture test.
17043 * docs/design/part-states.txt:
17044 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17045 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
17046 (gst_base_sink_change_state):
17047 Never take state lock from streaming thread, clean up ugly
17048 hacks. Unfortunatly core does not yet support nice ways to
17049 async commit state.
17051 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
17053 Start state recalc if a STATE_DIRTY message is posted, but only
17054 on the toplevel bin.
17056 * gst/gstelement.c: (gst_element_sync_state_with_parent),
17057 (gst_element_get_state_func), (gst_element_abort_state),
17058 (gst_element_commit_state), (gst_element_lost_state),
17059 (gst_element_set_state_func), (gst_element_change_state):
17060 * gst/gstelement.h:
17061 State variables are now protected with the LOCK, the state
17062 lock is only used to serialize _set_state().
17064 2005-10-18 Wim Taymans <wim@fluendo.com>
17066 * check/gst/gstbin.c: (GST_START_TEST):
17067 * check/gst/gstmessage.c: (GST_START_TEST):
17068 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17069 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
17071 * gst/gstelement.c: (gst_element_abort_state),
17072 (gst_element_commit_state), (gst_element_lost_state):
17073 * gst/gstmessage.c: (gst_message_new_state_changed),
17074 (gst_message_new_state_dirty), (gst_message_new_segment_start),
17075 (gst_message_new_segment_done), (gst_message_new_duration),
17076 (gst_message_parse_state_changed),
17077 (gst_message_parse_segment_start),
17078 (gst_message_parse_segment_done), (gst_message_parse_duration):
17079 * gst/gstmessage.h:
17080 * tools/gst-launch.c: (event_loop):
17081 Seriously, this is better than a previous commit as we only need
17082 to notify the fact that an element changed state in a streaming
17083 thread, marking the state of the parents dirty, hence the
17084 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
17087 2005-10-18 Wim Taymans <wim@fluendo.com>
17089 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
17090 (gst_bin_recalc_func):
17091 * gst/gstelement.c: (gst_element_set_clock),
17092 (gst_element_abort_state), (gst_element_lost_state):
17093 Cleanups, prepare for state change fixes.
17095 2005-10-18 Wim Taymans <wim@fluendo.com>
17098 * gst/gstelement.c: (gst_element_class_init),
17099 (gst_element_set_state), (gst_element_set_state_func):
17100 * gst/gstelement.h:
17101 Pending ABI changes.
17102 GThreadPool in GstBinClass to monitor async state changes.
17103 state_cookie in GstElement to detect concurrent gst/set state.
17104 set_state is now virtual too in case a very complicated element
17105 has to be constructed.
17107 2005-10-18 Wim Taymans <wim@fluendo.com>
17109 * check/gst/gstbin.c: (GST_START_TEST):
17110 * check/gst/gstmessage.c: (GST_START_TEST):
17111 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17112 * gst/gstbin.c: (bin_bus_handler):
17113 * gst/gstelement.c: (gst_element_commit_state),
17114 (gst_element_lost_state):
17115 * gst/gstmessage.c: (gst_message_new_state_changed),
17116 (gst_message_new_segment_start), (gst_message_new_segment_done),
17117 (gst_message_new_duration), (gst_message_parse_state_changed),
17118 (gst_message_parse_segment_start),
17119 (gst_message_parse_segment_done), (gst_message_parse_duration):
17120 * gst/gstmessage.h:
17121 * tools/gst-launch.c: (event_loop):
17122 Make messages future proof.
17123 state-change gets a flag if it was a message comming from the
17125 segment-start/stop can also be specified in other formats.
17126 A message to notify an app that a pipeline changed playback
17128 Also fix a GstMessage leak in -launch
17130 2005-10-18 Andy Wingo <wingo@pobox.com>
17132 * gst/gstelement.c (gst_element_dispose): More helpful message.
17134 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
17136 reviewed by: <delete if not using a buddy>
17138 * common/gtk-doc.mak:
17140 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
17142 * gst/gstregistry.c: (gst_registry_scan_path_level):
17143 unref a plug-in we get that was already initialized
17145 2005-10-18 Stefan Kost <ensonic@users.sf.net>
17147 * docs/gst/gstreamer-sections.txt:
17148 * docs/libs/gstreamer-libs-sections.txt:
17149 * gst/gstelement.h:
17150 add new api entries
17151 hide internal macro
17153 2005-10-17 Andy Wingo <wingo@pobox.com>
17155 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
17158 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
17160 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
17162 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
17163 (gst_element_get_state_func): Better debug message.
17164 (gst_element_commit_state): s/INFO/DEBUG/.
17165 (gst_element_lost_state, gst_element_change_state):
17167 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
17168 (gst_message_new_custom): s/INFO/LOG/.
17170 2005-10-17 Michael Smith <msmith@fluendo.com>
17172 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17173 Check if end time is valid using end time, not start time.
17175 2005-10-17 Stefan Kost <ensonic@users.sf.net>
17177 * check/gst-libs/controller.c: (GST_START_TEST),
17178 (gst_controller_suite):
17179 * libs/gst/controller/gstcontroller.c:
17180 (gst_controlled_property_set_interpolation_mode):
17181 * libs/gst/controller/gstcontroller.h:
17182 * libs/gst/controller/gstinterpolation.c:
17183 * testsuite/controller/.cvsignore:
17184 * testsuite/controller/Makefile.am:
17185 * testsuite/controller/interpolator.c:
17186 merge controller testsuites
17188 remove mem-chunk from docs
17190 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
17192 * gst/gstmemchunk.c:
17193 * gst/gstmemchunk.h:
17194 * gst/gsttrashstack.c:
17195 * gst/gsttrashstack.h:
17196 out. get out. you're fired. to the Attic !
17198 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
17200 * gst/gstcaps.c: (gst_caps_intersect):
17201 fix signedness issues in a (hopefully) correct way
17202 * gst/gstelement.c: (gst_element_pads_activate):
17204 * gst/gstobject.c: (gst_object_set_parent):
17207 2005-10-17 Julien MOUTTE <julien@moutte.net>
17209 * gst/gstvalue.h: Fix prototypes.
17211 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17213 * docs/gst/gstreamer-sections.txt:
17214 * gst/gst.c: (gst_version_string):
17216 * gst/gstversion.h.in:
17217 * win32/common/libgstreamer.def:
17218 add gst_version_string ()
17220 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17224 * gst/gst.c: (init_post):
17225 * win32/common/config.h.in:
17227 * gst/gstcaps.c: (gst_caps_intersect):
17228 use gint64, the range could be bigger than a guint
17230 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17233 document potential problem in 2038
17235 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17237 * gst/gstcaps.c: (gst_caps_intersect):
17238 Fix guint j diving under 0
17240 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17243 * win32/common/config.h:
17244 * win32/common/config.h.in:
17245 check for process.h, declares getpid() on Windows
17247 include process.h if we have it
17248 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
17249 * gst/gstmemchunk.h:
17250 fix signedness issues
17251 * win32/common/libgstreamer.def:
17254 2005-10-16 Julien MOUTTE <julien@moutte.net>
17256 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
17257 fix. Because of unsigned ints, caps intersection was going nuts and
17258 trying to access structures with G_MAXUINT index. That fixes
17259 videotestsrc ! ffmpegcolorspace ! fakesink
17260 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
17263 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17266 use the gettext macro
17267 * gst/elements/gstelements.c:
17269 * gst/indexers/gstindexers.c:
17270 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
17271 * win32/common/config.h:
17273 * win32/common/config.h.in:
17274 add the template to generate config.h
17275 * win32/common/gstenumtypes.c:
17276 * win32/common/gstversion.h:
17279 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
17281 * gst/gst.c: (gst_version):
17282 * gst/gstversion.h.in:
17285 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
17288 Oops, add missing closing bracket.
17290 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17293 use common m4's for argument checking
17295 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
17297 * docs/gst/gstreamer-sections.txt:
17299 Add GST_EVENT_TYPE_NAME() macro.
17301 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17304 * gst/gstpluginfeature.c:
17306 privatize more symbols
17308 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17311 add srcdir, builddir includes to GST_ALL_CFLAGS, since
17312 everything that uses GStreamer API should have the includes
17314 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17316 * docs/gst/gstreamer-sections.txt:
17317 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
17319 give each value a _get_type, removes the DATA exports
17321 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17325 remove _gst_registry_auto_load, not used anymore
17326 * gst/gstbin.c: (gst_bin_get_type):
17328 * gst/gstelement.c: (gst_element_get_type):
17329 * gst/gstelement.h:
17330 * gst/gstobject.c: (gst_object_get_type):
17332 * gst/gstpad.c: (gst_pad_get_type):
17334 make _get_type functions similar, fixes data export from library
17336 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17339 correctly make conditionals
17340 * gst/elements/Makefile.am:
17341 * gst/elements/gstelements.c:
17342 fix typo causing fdsrc not to build
17344 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17346 * testsuite/Makefile.am:
17347 * testsuite/bytestream/.cvsignore:
17348 * testsuite/bytestream/Makefile.am:
17349 * testsuite/bytestream/filepadsink.c:
17350 * testsuite/bytestream/gstbstest.c:
17351 * testsuite/bytestream/test1.c:
17352 * testsuite/bytestream/testfile1:
17353 * testsuite/caps/normalisation.c:
17354 * testsuite/caps/random.c: (main):
17355 * testsuite/cleanup/.cvsignore:
17356 * testsuite/cleanup/Makefile.am:
17357 * testsuite/cleanup/cleanup1.c:
17358 * testsuite/cleanup/cleanup2.c:
17359 * testsuite/cleanup/cleanup3.c:
17360 * testsuite/cleanup/cleanup4.c:
17361 * testsuite/cleanup/cleanup5.c:
17362 * testsuite/controller/interpolator.c:
17363 * testsuite/debug/printf_extension.c: (main):
17364 * testsuite/elements/tee.c:
17365 * testsuite/negotiation/.cvsignore:
17366 * testsuite/negotiation/Makefile.am:
17367 * testsuite/negotiation/pad_link.c:
17368 * testsuite/pad/Makefile.am:
17369 * testsuite/pad/chainnopull.c:
17370 * testsuite/pad/getnopush.c:
17371 * testsuite/pad/link.c:
17372 * testsuite/refcounting/sched.c: (create_pipeline):
17373 * testsuite/registry/Makefile.am:
17374 * testsuite/registry/gst-print-formats.c:
17375 * testsuite/schedulers/.cvsignore:
17376 * testsuite/schedulers/142183-2.c:
17377 * testsuite/schedulers/142183.c:
17378 * testsuite/schedulers/143777-2.c:
17379 * testsuite/schedulers/143777.c:
17380 * testsuite/schedulers/147713.c:
17381 * testsuite/schedulers/147819.c:
17382 * testsuite/schedulers/147894-2.c:
17383 * testsuite/schedulers/147894.c:
17384 * testsuite/schedulers/Makefile.am:
17385 * testsuite/schedulers/group_link.c:
17386 * testsuite/schedulers/queue_link.c:
17387 * testsuite/schedulers/relink.c:
17388 * testsuite/schedulers/unlink.c:
17389 * testsuite/schedulers/unref.c:
17390 * testsuite/schedulers/useless_iteration.c:
17391 * testsuite/states/bin.c:
17392 clean out/remove some stuff from the testsuite directories
17394 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17397 check for some headers
17398 * gst/elements/Makefile.am:
17399 * gst/elements/gstelements.c:
17400 don't compile fdsrc without sys/socket.h
17401 * gst/indexers/Makefile.am:
17402 * gst/indexers/gstindexers.c: (plugin_init):
17403 don't compile fileindex without mmap
17405 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
17412 * check/Makefile.am:
17413 * docs/gst/Makefile.am:
17414 * examples/helloworld/Makefile.am:
17416 * gst/base/Makefile.am:
17417 * gst/check/Makefile.am:
17418 * gst/elements/Makefile.am:
17419 * gst/indexers/Makefile.am:
17420 * gst/parse/Makefile.am:
17421 * libs/gst/controller/Makefile.am:
17422 * libs/gst/dataprotocol/Makefile.am:
17423 * examples/helloworld/helloworld.c: (event_loop):
17424 compile fixes, though it's not being compiled currently
17426 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17428 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17429 Add some simple tests for the new taglist date API.
17431 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17433 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17434 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17435 Beautify 'last-message' output: print 'none' for buffer timestamps
17436 and durations if none is set; improve alignment with next messages.
17438 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
17440 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17441 * gst/gstpluginfeature.h:
17442 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17443 * gst/gstregistry.h:
17444 * docs/gst/gstreamer-sections.txt:
17445 Add new API to check plugin feature version requirements.
17447 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17448 Some basic tests for the above.
17450 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17452 * gst/gststructure.c: (gst_structure_to_string):
17453 guard against NULL printf - happens when for example
17454 a message structure with GstClock gets serialized
17456 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
17458 * gst/base/gstcollectpads.c: (gst_collectpads_event):
17459 Fix presumable copy'n'pasto.
17461 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17463 * gst/elements/gstfakesrc.h:
17464 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
17465 * gst/elements/gsttypefindelement.c:
17466 fix some signedness
17467 * gst/elements/gstfilesink.c: (gst_file_sink_render):
17468 I wonder if this could actually write +2GB files before
17470 2005-10-13 Andy Wingo <wingo@pobox.com>
17472 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
17473 Fix Timmeke Waymans bug.
17474 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
17475 string of the proper length to gst_caps_from_string. There's a
17476 potential for, before this fix, that this could cause someone
17477 connecting over the network to cause a segfault if the payload is
17478 not NUL-terminated.
17480 2005-10-13 Stefan Kost <ensonic@users.sf.net>
17482 * docs/design/draft-push-pull.txt:
17483 * docs/design/part-overview.txt:
17484 * docs/random/TODO-pre-0.9:
17485 * docs/random/old/ChangeLog.gstreamer:
17486 * gst/base/gstpushsrc.c:
17490 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17492 * gst/glib-compat.c: (gst_flags_get_first_value):
17493 * gst/glib-compat.h:
17494 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
17495 (gst_value_compare_double), (gst_value_serialize_flags):
17496 GLib 2.6 g_flags_get_first_value has a bug that triggers an
17499 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17501 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17502 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17504 * tools/gst-launch.c: (event_loop):
17505 print out clock nicely
17507 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
17509 * docs/gst/gstreamer-sections.txt:
17510 * gst/gsttaglist.h:
17511 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17512 (gst_tag_list_get_date_index):
17513 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17514 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17516 2005-10-13 Julien MOUTTE <julien@moutte.net>
17518 * gst/base/gstcollectpads.c: (gst_collectpads_event),
17519 (gst_collectpads_chain):
17520 * gst/base/gstcollectpads.h: Handle newsegment and store informations
17523 2005-10-13 Stefan Kost <ensonic@users.sf.net>
17525 * docs/gst/gstreamer-sections.txt:
17528 * tools/gst-inspect.c: (main):
17529 * tools/gst-launch.c: (main):
17530 * tools/gst-run.c: (main):
17531 * tools/gst-xmlinspect.c: (main):
17532 fix GOption context leaks
17535 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
17539 * win32/common/config.h:
17541 * win32/vs6/grammar.dsp:
17542 * win32/vs6/libgstelements.dsp:
17543 * win32/vs6/libgstreamer.dsp:
17546 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17548 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17549 * gst/base/gstbasesrc.c: (gst_base_src_query):
17550 fix more guint64<->gdouble conversions
17552 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17555 add win32-update target
17556 * win32/common/gstconfig.h:
17557 * win32/common/gstenumtypes.c:
17558 * win32/common/gstenumtypes.h:
17559 * win32/common/gstversion.h:
17560 add files that visual studio can't generate
17562 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
17565 add a win32-update target
17568 2005-10-12 Wim Taymans <wim@fluendo.com>
17570 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17571 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17572 * gst/gstelement.c: (gst_element_commit_state),
17573 (gst_element_set_state):
17574 Protect flags with proper lock.
17575 unref provided cached clock in dispose.
17577 2005-10-12 Stefan Kost <ensonic@users.sf.net>
17580 * gst/gstminiobject.h:
17582 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17583 removed unused flags from miniobject
17586 2005-10-12 Wim Taymans <wim@fluendo.com>
17588 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17589 (gst_file_sink_event), (gst_file_sink_render):
17590 Flush before seeking.
17592 2005-10-12 Andy Wingo <wingo@pobox.com>
17594 * gst/gst.c (gst_init_check): Ignore unknown options, as has
17595 always been the case.
17597 2005-10-12 Stefan Kost <ensonic@users.sf.net>
17599 * check/gst/gstbin.c: (GST_START_TEST):
17600 * docs/gst/gstreamer-sections.txt:
17601 * gst/base/gstbasesink.c: (gst_base_sink_init):
17602 * gst/base/gstbasesrc.c: (gst_base_src_init),
17603 (gst_base_src_get_range), (gst_base_src_check_get_range),
17604 (gst_base_src_start), (gst_base_src_stop):
17605 * gst/base/gstbasesrc.h:
17606 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17607 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17608 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17612 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17614 * gst/gstelement.c: (gst_element_is_locked_state),
17615 (gst_element_set_locked_state), (gst_element_commit_state),
17616 (gst_element_set_state):
17617 * gst/gstelement.h:
17618 * gst/gstindex.c: (gst_index_init):
17620 * gst/gstminiobject.h:
17621 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17622 (gst_object_set_parent):
17624 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17625 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17627 * gst/gstpadtemplate.h:
17628 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17629 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17630 * gst/gstpipeline.h:
17631 * gst/indexers/gstfileindex.c: (gst_file_index_load),
17632 (gst_file_index_commit):
17633 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17634 * testsuite/pad/link.c: (gst_test_src_init),
17635 (gst_test_filter_init), (gst_test_sink_init):
17636 * testsuite/states/locked.c: (main):
17637 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17638 moved bitshift from macro to enum definition
17640 2005-10-12 Wim Taymans <wim@fluendo.com>
17642 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17643 * gst/elements/gstfilesink.c: (gst_file_sink_event),
17644 (gst_file_sink_render):
17645 Some more debugging info.
17647 2005-10-12 Wim Taymans <wim@fluendo.com>
17649 * docs/design/part-states.txt:
17650 * tools/gst-launch.c: (main):
17652 Revert non-intentional change.
17654 2005-10-12 Wim Taymans <wim@fluendo.com>
17656 * check/gst/gstbin.c: (GST_START_TEST):
17657 * check/gst/gstelement.c: (GST_START_TEST):
17658 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17659 * check/gst/gstghostpad.c: (GST_START_TEST):
17660 * check/gst/gstpipeline.c: (GST_START_TEST):
17661 * check/pipelines/simple_launch_lines.c: (run_pipeline):
17662 * check/states/sinks.c: (GST_START_TEST):
17663 * gst/elements/gsttypefindelement.c: (stop_typefinding):
17664 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17665 (gst_bin_remove_func), (gst_bin_get_state_func),
17666 (gst_bin_recalc_state), (gst_bin_change_state_func),
17668 * gst/gstelement.c: (gst_element_get_state_func),
17669 (gst_element_get_state), (gst_element_abort_state),
17670 (gst_element_commit_state), (gst_element_set_state),
17671 (gst_element_change_state), (gst_element_change_state_func):
17672 * gst/gstelement.h:
17673 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17674 (gst_pipeline_provide_clock_func):
17675 * gst/gstutils.c: (gst_element_link_pads_filtered):
17676 * tools/gst-launch.c: (main):
17677 * tools/gst-typefind.c: (main):
17678 Use GstClockTime in _get_state() instead of GTimeVal.
17679 Remove old code in gstutils.c
17681 2005-10-12 Andy Wingo <wingo@pobox.com>
17683 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17686 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17687 there is no task. Shouldn't affect any code, as nothing in our
17688 plugins checks this return value.
17689 (gst_pad_stop_task): Also take the stream lock if the pad has no
17690 task. Docs updated.
17692 2005-10-12 Wim Taymans <wim@fluendo.com>
17694 * gst/gstpad.c: (pre_activate), (post_activate),
17695 (gst_pad_activate_pull), (gst_pad_activate_push):
17696 Cleanup activation code. Reset old state if
17699 2005-10-12 Wim Taymans <wim@fluendo.com>
17701 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17702 (gst_base_sink_change_state):
17703 No need to prerol after receiving EOS.
17705 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17706 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17707 * gst/elements/gstidentity.c: (gst_identity_event):
17708 Print events more verbosely.
17710 2005-10-12 Wim Taymans <wim@fluendo.com>
17712 * check/Makefile.am:
17713 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17714 * check/states/sinks2.c:
17715 Moved sinks2 testcode in sinks check.
17717 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17718 (gst_bin_remove_func), (gst_bin_recalc_state),
17719 (gst_bin_change_state_func), (bin_bus_handler):
17720 Fix potential race condition when _get_state() iterated over an
17721 ASYNC element right before it posted a state completion.
17724 Do proper cast here.
17726 * gst/gstevent.c: (gst_event_new_newsegment),
17727 (gst_event_parse_newsegment):
17728 A playback rate of 0.0 is not allowed.
17730 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17732 * win32/common/config.h:
17733 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
17734 (_trewinddir), (_ttelldir), (_tseekdir):
17735 * win32/common/dirent.h:
17736 * win32/common/gtchar.h:
17737 * win32/common/libgstbase.def:
17738 * win32/common/libgstreamer.def:
17739 * win32/vs6/grammar.dsp:
17740 * win32/vs6/gst_inspect.dsp:
17741 * win32/vs6/gst_launch.dsp:
17742 * win32/vs6/gstreamer.dsw:
17743 * win32/vs6/libgstbase.dsp:
17744 * win32/vs6/libgstelements.dsp:
17745 * win32/vs6/libgstreamer.dsp:
17746 Visual Studio 6 project files, and a new common directory.
17749 2005-10-11 Wim Taymans <wim@fluendo.com>
17751 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17752 (gst_base_sink_do_sync), (gst_base_sink_query),
17753 (gst_base_sink_change_state):
17754 * gst/base/gstbasesink.h:
17755 Correctly parse newsegment info.
17757 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17759 * gst/gst.c: (init_post):
17760 split plugin paths correctly
17762 2005-10-11 Wim Taymans <wim@fluendo.com>
17764 * check/gst/gstevent.c: (GST_START_TEST):
17765 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17766 (gst_base_sink_change_state):
17767 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
17768 * gst/base/gstbasetransform.c: (gst_base_transform_event):
17769 * gst/elements/gstfilesink.c: (gst_file_sink_event):
17770 * gst/gstevent.c: (gst_event_new_newsegment),
17771 (gst_event_parse_newsegment):
17773 Added extra flag to newsegment for future API freeze.
17774 Updated check and base elements.
17776 2005-10-11 Julien MOUTTE <julien@moutte.net>
17778 * gst/base/gstcollectpads.c: (gst_collectpads_init),
17779 (gst_collectpads_add_pad), (gst_collectpads_pop),
17780 (gst_collectpads_event), (gst_collectpads_chain):
17781 * gst/base/gstcollectpads.h: Handle EOS correctly.
17783 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17785 * tools/gst-launch.c: (main):
17786 more null protecting
17788 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17790 * gst/gst-i18n-lib.h:
17791 check for ENABLE_NLS, not GETTEXT_PACKAGE
17792 * gst/gstregistry.c: (gst_registry_add_plugin),
17793 (gst_registry_scan_path_level),
17794 (_gst_registry_remove_cache_plugins):
17795 protect possibly NULL strings
17796 * gst/parse/types.h:
17797 config.h already included before
17798 * tools/gst-inspect.c: (main):
17799 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
17800 check for ENABLE_NLS, not GETTEXT_PACKAGE
17801 * tools/gst-launch.c: (main):
17802 check for ENABLE_NLS, not GETTEXT_PACKAGE
17804 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17807 if we don't have glib, fail before testing 2.8
17808 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
17809 fix a leak, should fix plugins-base testsuite
17811 2005-10-11 Andy Wingo <wingo@pobox.com>
17813 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
17814 take the mode we're going to as an arg. Go head and set the mode
17815 and flushing flags now, so that if the activate function starts a
17816 thread all the flags will be in the right state.
17817 (post_activate): Renamed also. Just handle making sure streaming
17818 finishes for the deactivation case, and setting the deactivated
17820 (gst_pad_set_active): Complain loudly if deactivation fails.
17821 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
17822 (gst_pad_activate_push): Adapt to pre/post_activate changes,
17823 remove the terrible hack.
17825 2005-10-11 Wim Taymans <wim@fluendo.com>
17827 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17828 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
17829 (gst_bin_recalc_state), (gst_bin_change_state_func),
17830 (gst_bin_dispose), (bin_bus_handler):
17832 Prepare to make current EOS message queue more generic.
17835 * gst/gstevent.c: (gst_event_new_newsegment),
17836 (gst_event_parse_newsegment):
17838 Rename base to stream_time.
17840 * gst/gstmessage.h:
17843 2005-10-11 Wim Taymans <wim@fluendo.com>
17845 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
17846 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
17847 (gst_bin_change_state_func), (bin_bus_handler):
17849 Work on proper clock selection.
17851 2005-10-11 Edward Hervey <edward@fluendo.com>
17853 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
17854 * libs/gst/controller/gstcontroller.h:
17855 Added GList* version of _remove_properties() in order to be able to wrap
17858 2005-10-11 Wim Taymans <wim@fluendo.com>
17860 * docs/design/part-states.txt:
17863 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
17864 (gst_bin_change_state_func), (bin_bus_handler):
17865 Doc updates. Don't distribute the same clock over and over again.
17871 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
17872 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
17873 (gst_pad_send_event):
17875 Make probe emission threadsafe again.
17876 Register quarks and move _get_name() from utils.
17879 * gst/gstpipeline.c: (gst_pipeline_class_init),
17880 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17881 Only redistribute the clock of it changed.
17883 * gst/gstsystemclock.h:
17888 Moved the _flow_get_name() to GstPad.
17890 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17892 * check/gst-libs/gdp.c: (GST_START_TEST):
17893 * check/gst/gstcaps.c: (GST_START_TEST):
17894 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
17895 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
17896 (gst_dp_packet_from_caps):
17897 fix more valgrind warnings before turning up the heat
17899 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
17901 * gst/parse/grammar.y:
17902 some cleanup before the hacking
17904 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17906 * gst/base/gstbasesrc.c: (gst_base_src_query):
17908 * gst/gstutils.c: (gst_guint64_to_gdouble),
17909 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
17911 externalize, basesrc uses it
17912 obviously the implementation needs testing
17914 2005-10-10 Wim Taymans <wim@fluendo.com>
17916 * tests/sched/Makefile.am:
17917 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
17918 (make_pipeline3), (make_pipeline4), (print_elem), (main):
17920 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
17922 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
17923 apparently converting from guint64 to double is not implemented
17926 2005-10-10 Wim Taymans <wim@fluendo.com>
17928 * check/Makefile.am:
17929 * check/generic/states.c: (GST_START_TEST):
17930 * check/gst/gstbin.c: (GST_START_TEST):
17931 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
17932 * check/states/sinks.c: (GST_START_TEST):
17933 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
17935 Check fixes, use API as stated in design docs, remove hacks.
17937 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17938 (gst_base_sink_change_state):
17939 Catch stopping our task while we're shutting down.
17941 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
17942 (gst_bin_remove_func), (gst_bin_get_state_func),
17943 (gst_bin_recalc_state), (gst_bin_change_state_func),
17946 * gst/gstelement.c: (gst_element_init),
17947 (gst_element_get_state_func), (gst_element_abort_state),
17948 (gst_element_commit_state), (gst_element_lost_state),
17949 (gst_element_set_state), (gst_element_change_state),
17950 (gst_element_change_state_func):
17951 * gst/gstelement.h:
17952 New state change algorithm (see #318116)
17954 * gst/gstpipeline.c: (gst_pipeline_class_init),
17955 (gst_pipeline_init), (gst_pipeline_set_property),
17956 (gst_pipeline_get_property), (do_pipeline_seek),
17957 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
17958 * gst/gstpipeline.h:
17959 Remove crude state change hacks.
17962 Remove crude hacks.
17964 * tools/gst-launch.c: (main):
17965 Fixes for state change. Needs some more work to fully use the
17968 2005-10-10 Andy Wingo <wingo@pobox.com>
17970 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
17972 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
17973 this flag, but it's not even in GLib 2.6. Odd. Hack around the
17976 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
17978 * gst/gstiterator.c: (gst_iterator_new):
17979 Fix my previous commit: GTypes passed to gst_iterator_new()
17980 can be fundamental types.
17982 2005-10-10 Wim Taymans <wim@fluendo.com>
17984 * gst/gstelement.c: (gst_element_iterate_pad_list),
17985 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
17986 (gst_element_iterate_sink_pads):
17987 Use src/sink pads lists for the respective iterators instead
17990 2005-10-10 Andy Wingo <wingo@pobox.com>
17992 Merged in popt removal + GOption addition patch from Ronald, bug
17995 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
17996 GstElement macros around, remove popt-related symbols, add goption
17999 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
18001 * docs/gst/Makefile.am:
18002 * docs/libs/Makefile.am: No POPT_CFLAGS.
18004 * examples/manual/Makefile.am:
18005 * docs/manual/basics-init.xml: Doc updates with an example.
18007 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
18008 (gst_init), (parse_one_option), (parse_goption_arg):
18009 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
18010 bit of hand merging and debugging to get the GOption stuff working
18013 * tests/Makefile.am:
18014 * tools/Makefile.am:
18015 * tools/gst-inspect.c: (main):
18016 * tools/gst-launch.c: (main):
18017 * tools/gst-run.c: (main):
18018 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
18020 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
18022 * gst/gstiterator.c: (gst_iterator_new):
18023 Add assertions to make sure passed GType is likely to really
18024 be a GType (as the compiler won't catch it if the size and
18025 GType arguments get mixed up, see #318447).
18027 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
18029 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18031 * gst/gstbin.c: (gst_bin_iterate_sorted):
18032 Pass GType and size arguments to gst_iterator_new() in the right
18033 order (maybe we should make _new() take the GType as first argument
18034 just like _new_list()?) (#318447).
18037 2005-10-10 Wim Taymans <wim@fluendo.com>
18039 * gst/gstelement.c: (gst_element_finalize):
18040 And free the GStaticRecMutex too
18042 2005-10-10 Andy Wingo <wingo@pobox.com>
18044 * gst/gstelement.c (gst_element_init, gst_element_finalize):
18045 Allocate and free the mutex properly.
18047 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
18049 (GstElement): The state_lock is now recursive. Rebuild your
18050 plugins, suckers. Old macros adapted.
18052 * docs/gst/gstreamer-sections.txt: Doc updates.
18055 * gst/gstutils.c (g_static_rec_cond_timed_wait)
18056 (g_static_rec_cond_wait): Ported from state changes patch, while
18057 we wait on bug #317802 to be solved in a well-distributed GLib.
18059 * gst/gstelement.c (gst_element_change_state_func): Renamed from
18060 gst_element_change_state, variable name changes.
18061 (gst_element_change_state): Split out of gst_element_set_state in
18062 preparation for the state change merge. Doesn't pay attention to
18063 the 'transition' argument.
18064 (gst_element_set_state): Updates, hopefully purely cosmetic.
18065 (gst_element_sync_state_with_parent): MT-safety. Ported from the
18066 state change patch.
18067 (gst_element_get_state_func): Renamed from get_state, cosmetic
18070 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
18072 * gst/elements/gstelements.c:
18073 * win32/GStreamer.vcproj:
18075 * win32/dirent.c: (_tseekdir):
18076 * win32/gst-inspect.vcproj:
18077 * win32/gst-launch.vcproj:
18078 * win32/gstconfig.h:
18079 * win32/gstelements.vcproj:
18080 * win32/gstenumtypes.c: (gst_object_flags_get_type):
18081 * win32/gstreamer.def:
18082 * win32/msvc71.sln:
18083 updates for the win32 build (patch from Sebastien Moutte)
18085 2005-10-10 Andy Wingo <wingo@pobox.com>
18087 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
18088 gst_bin_get_state, cleaned up (but no logic changes).
18089 (bin_element_is_sink): Comment updates.
18090 (sink_iterator_filter): Remove needless cast.
18091 (gst_bin_iterate_sinks): Doc update.
18092 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
18093 cleaned up (but no logic changes).
18095 * check/states/sinks.c (test_src_sink): Cleanups from the state
18097 (test_livesrc_sink): Sync on the state.
18099 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
18100 the state change patch.
18102 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
18105 * check/gst/gstbin.c: Merge in some style fixes and additional
18106 checks from Wim's state change patch.
18108 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
18110 * gst/base/gsttypefindhelper.c: (helper_find_peek),
18111 (gst_type_find_helper):
18112 Check whether we have the requested data already in our list of
18113 cached buffers before pulling a new buffer; also make the buffer
18114 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
18116 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
18121 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
18122 don't use long long, it's not portable. Replacing with
18123 gint64 seems to work; let's hope no skeletons fall out of the closet.
18125 2005-10-10 Andy Wingo <wingo@pobox.com>
18127 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
18129 2005-10-09 Stefan Kost <ensonic@users.sf.net>
18131 * docs/gst/gstreamer-sections.txt:
18136 * gst/gstmessage.c: (gst_message_parse_state_changed):
18139 more docs, fix compilation
18141 2005-10-09 Philippe Khalaf <burger@speedy.org>
18142 * gst/gstmessage.c:
18143 Fixed a few forgotten variables on previous commit
18145 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
18147 * gst/base/gsttypefindhelper.c: (helper_find_peek):
18148 Fix evil typefind crasher: getrange() might return a short
18149 buffer at the end of a file, but gst_type_find_peek() must
18150 either return the full data as requested or NULL, but
18151 never a short buffer.
18153 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
18155 * gst/gstmessage.c: (gst_message_new_state_changed),
18156 (gst_message_parse_state_changed):
18157 * gst/gstmessage.h:
18158 don't use "new", it's a C++ keyword
18160 2005-10-08 Wim Taymans <wim@fluendo.com>
18162 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
18163 * gst/gstelement.c: (gst_element_post_message):
18164 * gst/gstpipeline.c: (gst_pipeline_change_state):
18165 Small docs and debug updates.
18167 2005-10-08 Stefan Kost <ensonic@users.sf.net>
18169 * docs/gst/gstreamer-sections.txt:
18170 * gst/gstelementfactory.c:
18172 * gst/gsttaglist.c:
18175 2005-10-08 Wim Taymans <wim@fluendo.com>
18177 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
18178 (gst_bin_dispose), (bin_bus_handler):
18179 Fix typos, add comments.
18180 Clear EOS list when going to PAUSED from any direction and do it
18181 in a threadsafe way.
18182 Get base time in a threadsafe way too.
18183 Fix confusing debug in the change_state function.
18184 Various other small cleanups.
18186 * gst/gstelement.c: (gst_element_post_message):
18187 Fix very verbose bus posting code.
18189 * gst/gstpipeline.c: (gst_pipeline_class_init),
18190 (gst_pipeline_set_property), (gst_pipeline_get_property),
18191 (gst_pipeline_change_state):
18192 Small ARG_ -> PROP_ cleanup
18194 2005-10-08 Wim Taymans <wim@fluendo.com>
18196 * gst/gstbin.c: (is_eos), (bin_bus_handler):
18197 Do a less CPU demanding EOS check because we can.
18199 2005-10-08 Wim Taymans <wim@fluendo.com>
18201 * libs/gst/dataprotocol/dataprotocol.c:
18202 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
18203 (gst_dp_packet_from_event):
18204 * libs/gst/dataprotocol/dataprotocol.h:
18205 * libs/gst/dataprotocol/dp-private.h:
18206 It's about time we bump the version number.
18207 Since event types don't fit in the guint8 anymore describing
18208 the payload type, make payload type 16 bits wide.
18210 2005-10-08 Wim Taymans <wim@fluendo.com>
18212 * docs/design/part-TODO.txt:
18213 * docs/design/part-clocks.txt:
18214 * docs/design/part-events.txt:
18215 * docs/design/part-gstbin.txt:
18216 * docs/design/part-gstelement.txt:
18217 * docs/design/part-gstpipeline.txt:
18218 * docs/design/part-live-source.txt:
18219 * docs/design/part-messages.txt:
18220 * docs/design/part-overview.txt:
18221 * docs/design/part-states.txt:
18224 2005-10-08 Wim Taymans <wim@fluendo.com>
18228 Fix event quark registration.
18229 Add some space between events so we can insert them in the
18232 2005-10-08 Wim Taymans <wim@fluendo.com>
18234 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18235 (gst_base_sink_handle_buffer):
18236 Better log message.
18239 * gst/gstelement.h:
18242 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
18243 (gst_queue_set_property), (gst_queue_get_property):
18245 Remove old unused properties.
18247 2005-10-08 Stefan Kost <ensonic@users.sf.net>
18248 * docs/gst/gstreamer-sections.txt:
18249 * gst/gstmessage.c:
18250 * gst/gstmessage.h:
18251 * gst/gstminiobject.c:
18252 * gst/gstminiobject.h:
18256 lots of new docs and doc fixes
18258 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18260 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
18262 * gst/gstregistry.c: (gst_registry_lookup_locked),
18263 (gst_registry_scan_path_level):
18264 * gst/gstregistryxml.c: (load_plugin):
18265 Only ever load one plugin for a given plugin basename.
18266 This ensures correct overriding of GST_PLUGIN_PATH over
18267 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
18268 system installed plugins.
18270 2005-10-08 Wim Taymans <wim@fluendo.com>
18272 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18273 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
18274 Prepare for doing QOS.
18276 2005-10-08 Wim Taymans <wim@fluendo.com>
18278 * check/gst/gstbin.c: (GST_START_TEST):
18279 * check/pipelines/cleanup.c: (GST_START_TEST):
18280 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18281 Allow new clock message too.
18283 2005-10-08 Wim Taymans <wim@fluendo.com>
18285 * gst/gstmessage.c: (gst_message_new_error),
18286 (gst_message_new_warning), (gst_message_new_tag),
18287 (gst_message_new_state_changed), (gst_message_new_clock_provide),
18288 (gst_message_new_clock_lost), (gst_message_new_new_clock),
18289 (gst_message_new_segment_start), (gst_message_new_segment_done),
18290 (gst_message_parse_state_changed),
18291 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
18292 (gst_message_parse_new_clock):
18293 * gst/gstmessage.h:
18294 Also carry the clock in question.
18296 2005-10-08 Wim Taymans <wim@fluendo.com>
18298 * gst/gstmessage.c: (gst_message_new_custom),
18299 (gst_message_new_eos), (gst_message_new_error),
18300 (gst_message_new_warning), (gst_message_new_tag),
18301 (gst_message_new_state_changed), (gst_message_new_clock_provide),
18302 (gst_message_new_new_clock), (gst_message_new_segment_start),
18303 (gst_message_new_segment_done), (gst_message_parse_state_changed),
18304 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
18305 * gst/gstmessage.h:
18307 Added clock related messages.
18309 * gst/gstpipeline.c: (gst_pipeline_change_state):
18310 Post message when the clock changed.
18312 * tools/gst-launch.c: (event_loop):
18315 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
18317 * tools/gst-inspect.c: (print_element_properties_info):
18318 Can't pass NULL strings to g_print() on windows.
18320 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18322 * docs/Makefile.am:
18323 * docs/gst/Makefile.am:
18324 * docs/gst/gstreamer-docs.sgml:
18325 * docs/gst/running.xml:
18326 * docs/version.entities.in:
18327 add a chapter on running GStreamer.
18328 document GST_DEBUG and GST_PLUGIN* env vars
18330 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18335 remove PLUGINS_BUILDDIR stuff
18336 * gst/gst.c: (init_post):
18337 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
18339 remove, it was condescending and not needed
18341 2005-10-08 Wim Taymans <wim@fluendo.com>
18343 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
18344 (gst_base_sink_handle_object), (gst_base_sink_event),
18345 (gst_base_sink_wait), (gst_base_sink_handle_event),
18346 (gst_base_sink_change_state):
18347 * gst/base/gstbasesink.h:
18348 Repost EOS message while going to PLAYING if still EOS.
18349 Make sure that when receiving a FLUSH_START we don't attempt
18350 to sync on the clock anymore.
18352 2005-10-08 Wim Taymans <wim@fluendo.com>
18354 * tools/gst-launch.c: (event_loop):
18355 Better message printout.
18357 2005-10-08 Wim Taymans <wim@fluendo.com>
18359 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
18360 (gst_bin_child_proxy_get_children_count):
18361 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18362 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
18363 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
18364 (gst_child_proxy_set_valist):
18365 * gst/parse/grammar.y:
18366 Make ChildProxy threadsafe and fix mem leaks.
18368 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18370 * gst/gst.c: (init_post):
18371 debug the GST_PLUGIN_ env vars
18373 2005-10-08 Wim Taymans <wim@fluendo.com>
18375 * check/gst/gstbin.c: (GST_START_TEST):
18376 * check/gst/gstmessage.c: (GST_START_TEST):
18377 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18378 * gst/gstelement.c: (gst_element_commit_state),
18379 (gst_element_lost_state):
18380 * gst/gstmessage.c: (gst_message_new_state_changed),
18381 (gst_message_parse_state_changed):
18382 * gst/gstmessage.h:
18383 * tools/gst-launch.c: (event_loop):
18384 Added extra field to STATE_CHANGE message with the pending
18385 state, which will be different from the new state soon.
18387 2005-10-08 Wim Taymans <wim@fluendo.com>
18389 * gst/gstbus.c: (gst_bus_pop):
18391 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18392 Small cleanups and doc updates.
18394 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
18396 * gst/gst.c: (init_pre):
18397 * gst/gstbin.c: (gst_bin_add_func):
18398 log distributing clocks and base time
18399 * gst/gstregistry.c: (gst_registry_add_plugin),
18400 (gst_registry_scan_path_level), (gst_registry_scan_path):
18401 clean up the debugging output a little
18402 * gst/gstutils.c: (gst_element_state_get_name):
18403 warn about a memleak (I've actually seen this be used, though
18404 it was probably a bug)
18406 2005-10-07 Wim Taymans <wim@fluendo.com>
18408 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18409 (gst_base_src_init), (gst_base_src_default_newsegment),
18410 (gst_base_src_newsegment), (gst_base_src_do_seek),
18411 (gst_base_src_loop), (gst_base_src_start):
18412 * gst/base/gstbasesrc.h:
18413 Make the newsegment event customizable by subclasses.
18415 2005-10-07 Wim Taymans <wim@fluendo.com>
18417 * gst/gstevent.c: (gst_event_new_buffersize),
18418 (gst_event_parse_buffersize):
18420 New event for future idea.
18422 2005-10-07 Andy Wingo <wingo@pobox.com>
18424 * gst/gstelement.c (gst_element_post_message): Doc update.
18426 * docs/gst/gstreamer-sections.txt: Update.
18428 * gst/gstmessage.c (gst_message_new_application): Made into a
18429 function like honest API calls.
18430 (gst_message_new_element): New message type.
18432 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18434 * check/elements/fakesrc.c (test_no_preroll): New check, checks
18435 that setting a live fakesrc to PAUSED returns NO_PREROLL both
18438 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18439 NO_PREROLL from gst_element_change_state to fall through.
18441 2005-10-07 Wim Taymans <wim@fluendo.com>
18443 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18444 (gst_ghost_pad_do_activate_push):
18445 Activating a ghostpad with no internal pad in push mode
18448 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
18451 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18452 Fixes compilation on Windows.
18454 2005-10-07 Michael Smith <msmith@fluendo.com>
18456 * tools/gst-inspect.c:
18457 Print out feature and plugin count at the end when printing out
18460 2005-10-04 Michael Smith <msmith@fluendo.com>
18462 * gst/gsterror.c: (_gst_stream_errors_init):
18463 Add another error string used in a few existing plugins.
18466 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18467 * tools/gst-inspect.c: (print_element_info):
18468 When a feature disappears from a plugin (and the feature exists in
18469 the cached registry file), things went horribly wrong. This isn't a
18470 complete fix, we should actually be removing the 'missing' features
18471 from the features list when we load the actual plugin. That's not
18474 2005-10-04 Johan Dahlin <johan@gnome.org>
18476 * check/gst/gstiterator.c: (GST_START_TEST):
18477 * gst/gstbin.c: (gst_bin_iterate_elements),
18478 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
18479 * gst/gstelement.c: (gst_element_iterate_pads):
18480 * gst/gstformat.c: (gst_format_iterate_definitions):
18481 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18482 (gst_iterator_new_list), (gst_iterator_filter):
18483 * gst/gstiterator.h:
18484 * gst/gstquery.c: (gst_query_type_iterate_definitions):
18485 Add a GType to GstIterator, update callsites and tests.
18487 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18489 * gst/gstpad.c: (gst_pad_event_default_dispatch):
18490 give events a chance to be handled by event probes when the pad
18493 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18495 * gst/gstevent.c: (gst_event_type_get_name),
18496 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
18498 add string representations for event types
18500 2005-10-06 Wim Taymans <wim@fluendo.com>
18502 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18503 Don't use NULL pointers.
18505 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18507 * gst/gst_private.h:
18509 * gst/gstelement.c:
18511 * gst/gstpluginfeature.c:
18512 widen the debug category in output to fit the biggest one we have
18513 add a bus category and use it
18514 play with the colors
18515 fix up some categories
18517 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
18519 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18520 add push activation of sink ghost pads.
18521 Andye, please verify
18523 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
18525 * gst/gstutils.c: (gst_element_link_pads):
18526 fix a bug in the case where neither element has a pad
18527 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18528 add a test for that case
18530 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
18532 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18533 emit have-data before checking for peers. This allows
18534 for probe handlers to connect elements. This helps autopluggers.
18535 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18537 add six checks, linked/unlinked with no/true/false probe
18539 2005-10-04 Wim Taymans <wim@fluendo.com>
18541 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18542 (gst_fake_sink_event), (gst_fake_sink_preroll),
18543 (gst_fake_sink_render), (gst_fake_sink_change_state):
18544 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18545 (gst_fake_src_get_property), (gst_fake_src_create),
18546 (gst_fake_src_stop):
18547 * gst/elements/gstidentity.c: (gst_identity_stop):
18548 Protect last_message with lock.
18550 2005-10-04 Edward Hervey <edward@fluendo.com>
18553 Added precision in the comments for GST_FORMAT_DEFAULT
18555 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
18557 * tools/gst-launch.c: (main):
18558 Don't try to run erroneous pipelines.
18560 2005-10-04 Julien MOUTTE <julien@moutte.net>
18562 * gst/gstbus.c: We don't need this header.
18564 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
18567 back to development
18569 === release 0.9.3 ===
18571 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
18575 Releasing 0.9.3, "Unregistered"
18577 2005-10-03 Andy Wingo <wingo@pobox.com>
18579 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18580 whereby calling a pad's activatepush() function can start a thread
18581 that starts to push or pull before the pad gets the FLUSHING flag
18582 unset. Hack around it by holding the stream lock until the flag is
18583 set. Need to replace this with a proper solution. Together with
18584 the ghost pad fixes, this fixes mp3 playing/tagreading.
18586 * docs/design/part-gstghostpad.txt: Add a note about activation of
18587 proxy pads outside of ghost pads.
18589 * gst/gstghostpad.c: Implement the ghost pad activation design.
18591 2005-10-02 Andy Wingo <wingo@pobox.com>
18593 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18594 It is volatile, after all.
18596 * docs/design/part-gstghostpad.txt: Flesh out activation with
18599 * gst/base/gstbasesrc.c (gst_base_src_init): Use
18602 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
18605 Fix (unused) AM_CONDITIONAL tests.
18607 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
18609 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18611 * gst/gstutils.c: (gst_pad_query_convert):
18612 Add assertion that makes sure src_val is >=0, just like
18613 gst_query_new_convert() has. (#315895)
18615 2005-09-30 Edward Hervey <edward@fluendo.com>
18617 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18618 Let's not iterate pads we're not interested in, it avoids getting
18619 sky-high refcounts on sinkpad.
18621 2005-09-30 Wim Taymans <wim@fluendo.com>
18623 * gst/gstelement.c: (gst_element_set_state),
18624 (gst_element_change_state):
18625 Small tweak, element in ASYNC remains ASYNC.
18627 2005-09-30 Wim Taymans <wim@fluendo.com>
18629 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18630 Only error is an error.
18632 * gst/gstbin.c: (gst_bin_change_state):
18635 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18636 Also call pad_block in pad alloc.
18638 * gst/gstutils.c: (gst_flow_get_name):
18641 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18643 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18644 (gst_base_src_get_range):
18645 Fix documentation typos. Add some more debug info.
18647 2005-09-29 David Schleef <ds@schleef.org>
18649 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18650 more end-user friendly.
18651 * tools/gst-inspect.c: (main): Check if command-line argument is
18652 a file and attempt to load that file as a plugin.
18654 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18656 * check/gst/gstbin.c:
18657 * check/states/sinks.c:
18658 fix tests for the new warning
18659 * check/gst/gstpipeline.c:
18660 add a test for pipeline and bus interaction
18661 * gst/gstelement.c:
18662 elements should be NULL if they get disposed; add a warning if not
18664 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18667 for 2.6 refcounting, make debug log more correct by printing
18668 the actual refcounts at the time of swap (Wim)
18670 2005-09-29 Andy Wingo <wingo@pobox.com>
18672 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18673 removes signal watches previously added via
18674 gst_bus_add_signal_watch.
18675 (gst_bus_add_signal_watch): Don't return the source id, just store
18676 it on the bus if there wasn't an id already.
18678 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18679 add_signal_watch and remove_signal_watch.
18681 2005-09-29 Edward Hervey <edward@fluendo.com>
18683 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
18684 Better if we actually iterate the list :)
18686 2005-09-29 Wim Taymans <wim@fluendo.com>
18688 * check/gst/gstbin.c: (GST_START_TEST):
18689 Change for new bus API.
18691 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18692 (send_messages), (GST_START_TEST), (gstbus_suite):
18693 Change for new bus signal API.
18695 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18696 (gst_bus_source_prepare), (gst_bus_source_check),
18697 (gst_bus_create_watch), (gst_bus_add_watch_full),
18698 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18699 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18701 Remove support for multiple GSources operating on different
18702 message types as it is too complex and unneeded when using
18704 Added support for receiving signals from the bus.
18706 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
18708 * docs/libs/tmpl/gstdataprotocol.sgml:
18709 * docs/manual/advanced-dataaccess.xml:
18710 * gst/elements/gstcapsfilter.c:
18712 rename filter-caps to caps property
18714 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18716 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18717 More robust fraction string parsing.
18719 * docs/pwg/appendix-porting.xml:
18720 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18722 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
18724 * gst/gstcaps.c: (gst_caps_do_simplify):
18725 Thou shalt not free a structure and then continue using it
18726 in the next loop iteration.
18728 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18730 Add test case for caps simplification.
18732 2005-09-29 Wim Taymans <wim@fluendo.com>
18734 * check/gst/gstbin.c: (GST_START_TEST):
18737 2005-09-29 Wim Taymans <wim@fluendo.com>
18739 * check/gst/gstbin.c: (GST_START_TEST):
18742 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
18743 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18744 (find_element), (gst_bin_sort_iterator_next),
18745 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18746 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18747 (gst_bin_change_state), (gst_bin_dispose):
18748 A bin does not have a bus, it gets the bus from the parent.
18750 * gst/gstelement.c: (gst_element_requires_clock),
18751 (gst_element_provides_clock), (gst_element_is_indexable),
18752 (gst_element_is_locked_state), (gst_element_change_state),
18753 (gst_element_set_bus_func):
18756 * gst/gstpipeline.c: (gst_pipeline_class_init),
18757 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
18758 The pipeline provides a bus.
18760 2005-09-28 Johan Dahlin <johan@gnome.org>
18762 * gst/gstmessage.c (gst_message_parse_state_changed): Use
18763 gst_structure_get_enum instead of gst_structure_get_int
18765 * gst/gststructure.c (gst_structure_get_enum): Impl.
18767 * gst/gststructure.h (gst_structure_get_enum): Add
18769 * docs/gst/gstreamer-sections.txt: Ditto
18771 * gst/gstmessage.c (gst_message_new_state_changed): Use
18772 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
18773 which does introspection.
18774 Reviewed by Christian Schaller
18776 2005-09-28 Stefan Kost <ensonic@users.sf.net>
18778 * gst/gstinfo.c: (gst_debug_log_default):
18779 don't do dummy g_strdup()s
18780 * libs/gst/controller/gstcontroller.c:
18781 (on_object_controlled_property_changed),
18782 (gst_controlled_property_new), (gst_controller_new_valist),
18783 (gst_controller_new_list),
18784 (gst_controller_remove_properties_valist), (gst_controller_set),
18785 (gst_controller_get), (gst_controller_sync_values),
18786 (gst_controller_get_value_array), (_gst_controller_class_init),
18787 (gst_controller_get_type):
18788 * libs/gst/controller/gstcontroller.h:
18789 * libs/gst/controller/gstinterpolation.c:
18790 (gst_controlled_property_find_timed_value_node):
18791 convert // to /**/ comments
18793 2005-09-28 Wim Taymans <wim@fluendo.com>
18795 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
18796 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
18797 (gst_bus_sync_signal_handler):
18799 Added async-message and sync-message signals to the bus.
18800 Added helper BusFunc to emit signals for all posted messages.
18802 * gst/gstmessage.c: (gst_message_type_get_name),
18803 (gst_message_type_to_quark), (gst_message_get_type):
18804 * gst/gstmessage.h:
18805 Register quarks for message names.
18807 2005-09-28 Stefan Kost <ensonic@users.sf.net>
18809 * docs/libs/gstreamer-libs-sections.txt:
18810 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
18811 (gst_controller_new_list):
18812 * libs/gst/controller/gstcontroller.h:
18813 added another constructor for language bindings
18815 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
18817 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18821 * gst/gstinfo.c: (_gst_debug_init):
18822 slightly more readable color for refcount debugging
18824 2005-09-28 Wim Taymans <wim@fluendo.com>
18826 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18827 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
18828 (find_element), (gst_bin_sort_iterator_next),
18829 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18830 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18831 (gst_bin_change_state), (gst_bin_dispose):
18832 Small doc fixes. get_clock -> provide_clock.
18834 * gst/gstelement.c: (gst_element_class_init),
18835 (gst_element_provides_clock), (gst_element_provide_clock),
18836 (gst_element_get_clock), (gst_element_commit_state),
18837 (gst_element_lost_state):
18838 * gst/gstelement.h:
18839 Make get/set_clock() symetric. Add provide_clock vmethod since
18840 that is actually what this function does.
18842 * gst/gstpipeline.c: (gst_pipeline_class_init),
18843 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
18844 (gst_pipeline_get_clock):
18845 get_clock -> provide_clock.
18847 2005-09-28 Andy Wingo <wingo@pobox.com>
18849 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
18850 lieu of real docs...
18852 * gst/elements/gstfdsrc.c: Cleaned up a bit.
18854 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
18856 * gst/elements/gstcapsfilter.c:
18857 * gst/elements/gstfakesink.c:
18858 * gst/elements/gstfakesrc.c:
18859 * gst/elements/gstfdsink.c:
18860 * gst/elements/gstfdsrc.c:
18861 * gst/elements/gstfilesink.c:
18862 * gst/elements/gstfilesrc.c:
18863 * gst/elements/gstidentity.c:
18864 * gst/elements/gsttee.c:
18865 * gst/elements/gsttypefindelement.c:
18866 Make element details static.
18868 2005-09-28 Wim Taymans <wim@fluendo.com>
18870 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18871 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18872 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18873 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18874 (gst_bin_change_state), (gst_bin_dispose):
18875 Some documentation updates.
18876 Clean up dispose handlers.
18878 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
18879 * gst/gstpad.c: (gst_pad_dispose):
18880 Clean up dispose handler.
18882 * gst/gstpipeline.c: (gst_pipeline_change_state):
18883 Removed spurious UNLOCK.
18885 2005-09-27 Stefan Kost <ensonic@users.sf.net>
18887 * docs/gst/gstreamer-sections.txt:
18888 * gst/base/gstbasesrc.h:
18889 * gst/gstelement.h:
18893 * gst/gstpipeline.c:
18894 * gst/gstpipeline.h:
18897 added two new functions to the docs
18898 documents all undocumented GstXXXFlags
18899 completed some incomplete docs
18901 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
18903 * gst/gstbin.c: (gst_bin_dispose):
18904 * gst/gstelement.c: (gst_element_dispose):
18905 remove now useless and leaky resurrection code in dispose
18906 * gst/base/gstbasesrc.c: (gst_base_src_init):
18907 * gst/gstelementfactory.c: (gst_element_factory_create):
18908 * gst/gstobject.c: (gst_object_set_parent):
18911 2005-09-27 Wim Taymans <wim@fluendo.com>
18913 * docs/design/part-TODO.txt:
18916 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18917 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18918 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18919 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18920 (gst_bin_change_state):
18921 * gst/gstelement.h:
18922 Remove element variable, we keep element info in the iterator now.
18924 2005-09-27 Andy Wingo <wingo@pobox.com>
18926 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
18929 2005-09-27 Wim Taymans <wim@fluendo.com>
18931 * check/gst/gstbin.c: (GST_START_TEST):
18932 Enable check that works now.
18934 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
18935 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
18936 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
18937 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
18938 (gst_bin_change_state):
18940 Redid the state change algorithm using a topological sort algo.
18941 Handles all cases correctly.
18942 Exposed iterator for state change order.
18944 * gst/gstelement.h:
18945 Temp storage for state changes. Need to get rid of this soon.
18947 2005-09-27 Wim Taymans <wim@fluendo.com>
18949 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
18950 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
18951 (link_fold_func), (gst_pad_proxy_setcaps):
18952 Leak fixes, the fold functions need to unref the passed object and
18953 _get_parent_*() returns ref to parent.
18955 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18957 * check/gst/gstbuffer.c: (test_make_writable):
18958 Plug leak in test case and fix 'make check-valgrind'
18960 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18962 * gst/gstbuffer.c: (gst_subbuffer_init):
18963 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
18964 works correctly in all circumstances (we could have just copied
18965 the parent buffer's readonly flag, but conceptually it seems
18966 cleaner to mark all subbuffers as read-only). (based on patch
18967 by Alessandro Decina, #314710).
18969 * check/gst/gstbuffer.c: (create_read_only_buffer),
18970 (test_make_writable), (test_subbuffer_make_writable),
18972 Add some tests for gst_buffer_make_writable().
18974 2005-09-27 Wim Taymans <wim@fluendo.com>
18976 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
18977 use gst_object_has_ancestor().
18979 * gst/gstobject.c: (gst_object_has_ancestor):
18981 gst_object_has_ancestor() copied from gstbin.c as it is a
18984 * tests/instantiate/create.c: (create_all_elements):
18985 * tests/lat.c: (handoff_src), (handoff_sink):
18986 * tests/sched/runxml.c: (main):
18987 * tests/seeking/seeking1.c: (main):
18988 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
18990 Fix compilation of some tests.
18992 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
18995 Remove comment. GST_TYPE_G_ERROR is here to stay,
18996 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
18997 (#316961, #300610).
18999 2005-09-26 Wim Taymans <wim@fluendo.com>
19001 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19002 Added check that shows error in state change order.
19004 2005-09-26 Wim Taymans <wim@fluendo.com>
19006 * gst/gstbin.c: (gst_bin_change_state):
19007 Make state change function use 3 queues again, we were
19008 adding elements in the wrong order.
19010 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
19013 * gst/gstpad.c: (gst_pad_dispose):
19014 Added some debug info first.
19016 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
19018 * docs/design/draft-push-pull.txt:
19019 * docs/design/part-events.txt:
19020 * docs/design/part-overview.txt:
19021 * docs/design/part-scheduling.txt:
19022 Replace all _pull_region() with _pull_range()
19024 2005-09-26 Andy Wingo <wingo@pobox.com>
19026 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
19028 * check/gst-libs/controller.c: Update for controller api change.
19031 * tests/Makefile.am:
19032 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
19033 over by GLib bug 118439.
19035 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
19036 routines to a function.
19038 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
19040 * libs/gst/controller/gsthelper.c:
19041 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
19042 (gst_object_sync_values): Renamed from sink_values. Ugh.
19044 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
19046 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
19047 Renamed from controller_key, as it is exported.
19049 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
19051 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
19056 * gst/gstpadtemplate.h:
19059 * gst/gstqueryutils.c:
19060 * gst/gstqueryutils.h:
19061 remove queryutils headers after moving the two used functions
19062 to gstquery. also fixes build problem for gstsiddec
19064 2005-09-26 Michael Smith <msmith@fluendo.com>
19066 * tools/gst-launch.1.in:
19067 Correct documentation in manpage of debug syntax
19069 2005-09-26 Wim Taymans <wim@fluendo.com>
19071 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19072 (gst_base_src_is_seekable), (gst_base_src_change_state):
19073 Some more debugging info.
19075 2005-09-25 Stefan Kost <ensonic@users.sf.net>
19077 * docs/gst/gstreamer-sections.txt:
19078 * gst/base/gstbasetransform.h:
19082 2005-09-25 Stefan Kost <ensonic@users.sf.net>
19084 * docs/gst/.cvsignore:
19085 * docs/gst/tmpl/.cvsignore:
19086 * docs/gst/tmpl/gstpipeline.sgml:
19087 * docs/gst/tmpl/gstplugin.sgml:
19088 * gst/gstpipeline.c:
19091 inlined the last two docs files
19092 removed the tmpl directory from cvs (no more conflicts here!)
19094 2005-09-25 Stefan Kost <ensonic@users.sf.net>
19096 * docs/gst/gstreamer-sections.txt:
19097 * docs/gst/tmpl/.cvsignore:
19098 * docs/gst/tmpl/gstpad.sgml:
19099 * docs/gst/tmpl/gstpadtemplate.sgml:
19101 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
19102 (gst_pad_finalize), (gst_pad_set_pad_template):
19104 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
19105 (gst_pad_template_class_init), (gst_pad_template_init),
19106 (gst_pad_template_dispose), (name_is_valid),
19107 (gst_static_pad_template_get), (gst_pad_template_new),
19108 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
19109 (gst_pad_template_pad_created):
19110 * gst/gstpadtemplate.h:
19111 inlined two more docs
19112 factored gstpadtemplate out of gstpad
19114 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
19116 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19117 (test_children_state_change_order_semi_sink):
19118 Fix test case: we can't rely on a fixed state change order when
19119 going from READY => PAUSED because the sink might commit its
19120 new state first when the first buffer created by the source
19121 reaches the sink before the source has finished its change state.
19122 (Test case still fails at times, see #316856, comment 5 onwards)
19124 2005-09-24 Wim Taymans <wim@fluendo.com>
19126 * docs/design/part-events.txt:
19127 * docs/design/part-gstbus.txt:
19128 * docs/design/part-gstpipeline.txt:
19129 * docs/design/part-messages.txt:
19130 * docs/design/part-overview.txt:
19131 * docs/design/part-segments.txt:
19135 * gst/gstelement.c:
19138 * gst/gstiterator.c:
19139 Various documentation updates.
19141 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
19144 Well, that's embarassing. Luckily we weren't using
19145 GST_CLOCK_DIFF anywhere.
19147 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19149 * common/gtk-doc.mak:
19150 don't fail on building XML, FC4 slave shows a bunch of doc
19151 missing bits that I don't get
19153 * gst/gstpipeline.c:
19154 * gst/gststructure.c:
19157 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
19159 * docs/design/part-gstbin.txt:
19160 * docs/design/part-gstbus.txt:
19162 Add blurb about how the bus goes into flushing mode and
19163 drops all messages when its bin goes from READY into NULL
19166 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19168 * docs/gst/gstreamer-sections.txt:
19169 * gst/gststructure.c: (gst_structure_get_clock_time):
19170 * gst/gststructure.h:
19171 add a method to get a GstClockTime out of a structure
19173 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
19175 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19176 (test_children_state_change_order_semi_sink), (gst_bin_suite):
19177 Added test to check state change order in bins (can still be made
19178 to fail here under heavy disk load; bails out with 'Push on pad
19179 fakesink:sink0, but it was not activated in push mode').
19181 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
19182 Fix state change order when there is only a semi sink (#316856)
19184 * gst/gstbus.c: (gst_bus_class_init):
19185 Use _class_peek_parent(), not _class_ref(); fix docs to say
19186 'default main context' instead of 'mainloop' where that is
19189 * gst/gstelement.c: (gst_element_commit_state),
19190 (gst_element_set_state):
19191 Fix typos in debug messages
19193 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19196 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
19197 * gst/gstpluginfeature.c:
19199 various doc updates
19200 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19201 change an assert into an error until it gets fixed properly
19203 2005-09-23 Stefan Kost <ensonic@users.sf.net>
19205 * docs/gst/gstreamer-sections.txt:
19206 * docs/gst/tmpl/.cvsignore:
19207 * docs/gst/tmpl/gstelement.sgml:
19208 * docs/gst/tmpl/gstinfo.sgml:
19209 * docs/gst/tmpl/gstobject.sgml:
19210 * gst/gstelement.c:
19211 * gst/gstelement.h:
19214 * gst/gstobject.c: (gst_object_class_init):
19216 inlined 3 more biiiig doc files and added some missing docs on the fly
19218 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
19220 * check/gst/.cvsignore:
19221 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
19222 * gst/gstregistryxml.c: (load_plugin),
19223 (gst_registry_xml_save_plugin):
19224 put back source in registry. add checks for find_plugin.
19225 * testsuite/states/bin.c: (assert_state), (empty_bin),
19226 (test_adding_one_element), (main):
19227 * testsuite/states/locked.c: (main):
19228 some compile/run fixes
19230 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
19232 * check/gst/gstvalue.c: (GST_START_TEST):
19233 fix leaks in the test itself
19235 2005-09-22 Wim Taymans <wim@fluendo.com>
19237 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19238 (gst_base_sink_send_event), (gst_base_sink_peer_query),
19239 (gst_base_sink_query):
19240 Prepare for more accurate position reporting and query
19243 * gst/gstelement.c: (gst_element_send_event),
19244 (gst_element_set_state):
19247 2005-09-22 Wim Taymans <wim@fluendo.com>
19249 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
19250 (gst_query_parse_segment):
19252 More documentation.
19253 Add segment query for future use.
19255 2005-09-22 Wim Taymans <wim@fluendo.com>
19257 * gst/gstbin.c: (gst_bin_add_func):
19258 Some more debug info.
19260 * gst/gstelement.c: (gst_element_send_event):
19261 Simplify send_event
19263 * gst/gstelement.h:
19264 Don't know how flags got broken.
19269 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
19271 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
19272 Add simplistic test suite for GST_TYPE_DATE serialisation and
19275 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
19277 * docs/gst/gstreamer-sections.txt:
19278 * gst/gststructure.c: (gst_structure_set_valist),
19279 (gst_structure_get_date):
19280 * gst/gststructure.h:
19281 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
19282 (gst_date_copy), (gst_value_compare_date),
19283 (gst_value_serialize_date), (gst_value_deserialize_date),
19284 (gst_value_transform_date_string),
19285 (gst_value_transform_string_date), (_gst_value_initialize):
19287 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
19288 bunch of utility functions along with a hack that checks that
19289 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
19290 is required. Part of the grand scheme in #170777.
19292 2005-09-22 Andy Wingo <wingo@pobox.com>
19294 * gst/gstconfig.h.in: Psych out gtk-doc.
19296 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
19298 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
19300 * tools/gst-inspect.c (print_element_list): Plug some
19301 inconsequential leaks.
19303 * gst/gstregistry.c (gst_registry_get_default): Doc.
19305 * check/gst/gstplugin.c:
19306 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
19307 * gst/gstelementfactory.c (gst_element_factory_create):
19308 * gst/gstindexfactory.c (gst_index_factory_create): Update for
19311 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
19312 (gst_plugin_feature_load): Doc, don't eat refs.
19314 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
19315 (gst_plugin_list_free): Doc.
19316 (gst_plugin_load_file): Doc updates.
19318 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
19319 accessors returning refcounted objects, return a ref.
19321 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
19322 accessor for caps. IDEMPOTENCE. Oh yes.
19324 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
19326 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19328 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19329 (_gst_debug_register_funcptr):
19330 Add mutex to serialise access to the hash table with
19331 the function pointer => function name string mapping;
19332 make that hash table static scope (#316809).
19334 * gst/registries/.cvsignore:
19335 Remove left-over file.
19337 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
19339 * docs/pwg/appendix-porting.xml:
19340 And something about newsegment events and caps-on-buffers to
19341 the porting guide (feel free to improve).
19343 2005-09-21 Andy Wingo <wingo@pobox.com>
19345 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
19346 data and event probes on the same pad.
19347 (test_buffer_probe_once): Test that removing probes from within
19348 the probe functions works.
19350 2005-09-21 Andy Wingo <wingo@pobox.com>
19352 * check/gst/gstutils.c: New file.
19353 (test_buffer_probe_n_times): A simple buffer probe test. More to
19356 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
19357 have-data::buffer, not have-data.
19358 (gst_pad_add_event_probe): Likewise for have-data::event.
19359 (gst_pad_add_data_probe): More docs. The part about 'resolving the
19360 peer' isn't quite right yet though.
19361 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
19362 (gst_pad_remove_data_probe): Change to take the guint handler_id
19363 as their arg, not the function+data, which is more glib-like.
19365 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
19366 the signal emission to indicate if the data is a buffer or an
19368 (gst_pad_get_type): Initialize buffer and event quarks.
19369 (gst_pad_class_init): have-data is now a detailed signal, yes it
19372 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
19374 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19375 * gst/gstutils.c: (gst_util_set_value_from_string),
19376 (gst_util_set_object_arg):
19377 Don't put functional code in g_return_if_fail() or
19378 g_return_val_if_fail() statements, otherwise things will
19379 break when G_DISABLE_CHECKS is defined during compilation.
19381 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19383 * docs/gst/tmpl/.cvsignore:
19384 * docs/gst/tmpl/gstvalue.sgml:
19387 inlied another one and added some obvious docs
19389 2005-09-21 Wim Taymans <wim@fluendo.com>
19391 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19392 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19393 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19394 (gst_fdsrc_get_property), (gst_fdsrc_create):
19395 * gst/elements/gstfdsrc.h:
19396 Properly implement fdsrc. Removed signal and timeout,
19397 better implemented somewhere else.
19399 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19401 * docs/gst/tmpl/.cvsignore:
19402 * docs/gst/tmpl/gstimplementsinterface.sgml:
19403 * gst/gstinterface.c:
19406 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19408 * docs/gst/gstreamer-sections.txt:
19409 * docs/gst/tmpl/.cvsignore:
19410 * docs/gst/tmpl/gstenumtypes.sgml:
19411 remove obsolete doc file
19413 2005-09-21 David Schleef <ds@schleef.org>
19415 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19416 little beer, fix a little leak.
19418 2005-09-21 Stefan Kost <ensonic@users.sf.net>
19420 * docs/gst/gstreamer-docs.sgml:
19421 * docs/gst/gstreamer-sections.txt:
19422 * docs/gst/tmpl/.cvsignore:
19426 * gst/gstelement.h:
19427 * gst/gstindex.c: (gst_index_class_init):
19429 * gst/gstindexfactory.c: (gst_index_factory_get_type),
19430 (gst_index_factory_class_init), (gst_index_factory_init),
19431 (gst_index_factory_finalize), (gst_index_factory_new),
19432 (gst_index_factory_destroy), (gst_index_factory_find),
19433 (gst_index_factory_create), (gst_index_factory_make):
19434 * gst/gstindexfactory.h:
19435 * gst/gstpluginfeature.c:
19436 * gst/gstpluginfeature.h:
19437 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19438 more docs inlined, splitted gstindex.{c,h}
19440 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19442 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19445 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
19447 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19448 Set sync to FALSE by default.
19450 2005-09-20 Wim Taymans <wim@fluendo.com>
19452 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19453 (gst_base_sink_init):
19454 Make sync property settable from subclass.
19456 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19457 (gst_fake_sink_change_state):
19458 Set sync to FALSE by default.
19460 2005-09-20 Wim Taymans <wim@fluendo.com>
19462 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
19463 * tools/gst-launch.c: (main):
19464 The timeout handler should have lower priority than the source
19465 so we don't timeout before popping a message with 0 timeout.
19466 Dump error messages after failed state change.
19468 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
19470 * tools/gst-inspect.c: (print_element_properties_info):
19473 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19475 * check/gst/gstevent.c:
19476 * gst/elements/gstfakesink.c:
19477 * gst/elements/gstfakesink.h:
19478 remove the sync property from fakesink.
19479 has the side effect of setting sync TRUE
19480 for fakesink, which is a change. Anyone who knows how
19481 to fix this nicely in a GObject-y way, feel free.
19483 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19485 * docs/gst/gstreamer-docs.sgml:
19486 remove probe refsection
19488 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19490 * check/Makefile.am:
19491 disable valgrinding the controller test again
19492 * docs/gst/gstreamer-sections.txt:
19493 update for api-changes
19495 2005-09-20 Wim Taymans <wim@fluendo.com>
19497 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19498 (gst_base_sink_set_property), (gst_base_sink_get_property),
19499 (gst_base_sink_do_sync):
19500 * gst/base/gstbasesink.h:
19501 Added sync property to basesink to disable clock sync.
19503 2005-09-20 Andy Wingo <wingo@pobox.com>
19505 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19506 eating the caller's refcount.
19508 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
19509 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19512 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19513 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19514 of GLib 2.8 public, so we can know which refcount to check in
19517 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19518 (gst_object_init): Only set the gst refcount if we're going ahead
19519 with the refcount hack.
19521 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19523 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19524 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19525 more leaks plumbed, added more debug-logging
19529 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19531 * gst/gstmessage.c:
19532 remove include of gstmemchunk.h
19534 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19536 * gst/gstclock.c: (_gst_clock_id_free):
19537 Commit from the Political Party For More Atomic CVS Commits,
19538 so that people don't waste too much of their day fishing
19539 out obvious leaks out of massive commits.
19540 Oh, and fix a pretty damn obvious leak in the memchunk
19543 2005-09-20 Stefan Kost <ensonic@users.sf.net>
19545 * check/Makefile.am:
19546 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19547 plug mem-leak, re-add to valgrindable tests
19549 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
19552 unbreak the build for those who have chronic arthritis
19553 and typing "make check" is just too taxing on the hands
19555 2005-09-20 Andy Wingo <wingo@pobox.com>
19557 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19558 really want it out, you should fix plugins at the same time.
19560 2005-09-19 Stefan Kost <ensonic@users.sf.net>
19563 * docs/gst/gstreamer-sections.txt:
19565 added missing symbols to api docs
19566 disable ref-count hack if we have glib >= 2.8
19568 2005-09-19 David Schleef <ds@schleef.org>
19570 * docs/gst/Makefile.am: Ignore a few more internal headers
19571 * docs/gst/gstreamer-docs.sgml: Remove old sections
19572 * docs/gst/gstreamer-sections.txt: Remove old sections
19573 * docs/gst/tmpl/gstobject.sgml: update
19574 * docs/gst/tmpl/gstplugin.sgml: update
19575 * docs/gst/tmpl/gstpluginfeature.sgml: update
19576 * docs/random/ds/0.9-suggested-changes: update.
19577 * gst/Makefile.am: remove memchunk and trashstack, since they're
19579 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19580 * gst/gst.h: don't include some headers
19581 * gst/gstchildproxy.c: add gstmarshal.h
19582 * gst/gstclock.c: Don't use memchunks
19583 * gst/gstminiobject.c: Add some docs
19584 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19585 * gst/gstobject.h: same
19586 * gst/gstplugin.c: include gstmacros.h
19587 * gst/gstplugin.h: don't include gstmacros.h, since it's private
19588 * gst/gstquery.c: don't use memchunks
19589 * gst/gstregistry.c: rename gst_registry_deinit()
19590 * gst/gstregistry.h: same
19592 2005-09-19 David Schleef <ds@schleef.org>
19594 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19595 * docs/libs/gstreamer-libs-sections.txt:
19596 * docs/libs/tmpl/gstgetbits.sgml:
19597 * docs/libs/tmpl/gstputbits.sgml:
19599 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
19601 * win32/gstenumtypes.c:
19602 * win32/gstenumtypes.h:
19605 2005-09-19 Wim Taymans <wim@fluendo.com>
19607 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19608 Automatically PAUSE and RESUME a pipeline when a flushing seek
19611 2005-09-19 Andy Wingo <wingo@pobox.com>
19613 * gst/gstregistry.h: Spacing fixen.
19615 2005-09-19 Wim Taymans <wim@fluendo.com>
19617 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19618 Handle state change failure more correctly.
19620 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19622 * check/Makefile.am:
19623 * check/pipelines/cleanup.c: (run_pipeline):
19624 * check/pipelines/simple_launch_lines.c: (run_pipeline),
19626 enable cleanup again after fixing the leak
19628 some more info on docs
19630 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19632 * check/Makefile.am:
19633 re-enable tests now that leaks are plugged
19635 * check/gst/gstbin.c:
19636 * check/gst/gstpipeline.c:
19637 add some more tests while fixing leaks
19638 * common/check.mak:
19639 make sure binaries are uptodate when valgrinding/gdbing
19641 * gst/gstelementfactory.c:
19642 remove a ref too many, and add a FIXME for when we get
19643 round to disposing of classes
19645 fix the refcounting when loading a plugin from a file and
19646 the code pretends that the pointer is the same even though
19647 of course it can change
19648 * gst/gstpluginfeature.c:
19649 unref plugins marked cached (a bit confusing as a name)
19650 as the docs state should be done
19651 various doc additions to explain refcounting
19652 * gst/gstregistry.c:
19653 * gst/gstregistryxml.c:
19656 2005-09-19 Wim Taymans <wim@fluendo.com>
19658 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19659 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19660 (send_messages), (GST_START_TEST), (gstbus_suite):
19661 * check/gst/gstpipeline.c: (GST_START_TEST):
19662 * check/pipelines/cleanup.c: (run_pipeline):
19663 * check/pipelines/simple_launch_lines.c: (run_pipeline),
19665 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19666 (gst_bus_source_check), (gst_bus_source_dispatch),
19667 (gst_bus_create_watch), (gst_bus_add_watch_full),
19668 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19670 * tools/gst-launch.c: (event_loop):
19671 * tools/gst-md5sum.c: (event_loop):
19672 GstBusHandler -> GstBusFunc, return value has the same meaning as
19673 any other GSource (FALSE == remove source).
19674 _add_watch() and _add_watch_full() now take a MessageType mask to
19675 only handle specific types of messages.
19676 _poll() returns the GstMessage instead of the message type to avoid
19678 _have_pending() takes a MessageType mask now too.
19679 Added testsuite for multiple bus watches.
19680 Fix testsuites and applications for new bus API.
19682 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
19684 * check/Makefile.am:
19685 mark a bunch of the tests as to fix until we fix them
19687 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19689 * common/check.mak:
19690 use GST_PLUGIN settings for valgrind tests as well, so we're
19691 valgrinding the correct thing
19692 * gst/gst.c: (init_post):
19695 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19697 * gst/gst.c: (init_post), (gst_deinit):
19698 * gst/gstelementfactory.c: (gst_element_factory_class_init),
19699 (gst_element_factory_finalize), (gst_element_factory_cleanup):
19700 * gst/gstindex.c: (gst_index_factory_class_init),
19701 (gst_index_factory_finalize):
19702 * gst/gstobject.c: (gst_object_dispose):
19703 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19704 (gst_plugin_load_file), (gst_plugin_desc_free):
19705 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19706 (gst_plugin_feature_finalize):
19707 * gst/gstregistry.c: (gst_registry_class_init),
19708 (gst_registry_init), (gst_registry_finalize),
19709 (gst_registry_get_default), (gst_registry_deinit):
19710 * gst/gstregistry.h:
19711 * gst/gstregistryxml.c: (load_feature), (load_plugin):
19712 various cleanups and memleak plugging. make valgrind is happy now.
19714 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
19716 * common/check.mak:
19717 add a check-valgrind target
19719 2005-09-18 David Schleef <ds@schleef.org>
19721 * tools/gst-inspect.c: Revert the GOption code.
19723 2005-09-17 David Schleef <ds@schleef.org>
19725 * check/Makefile.am: Fix environment variables.
19726 * check/gst/gstplugin.c: Fix for API changes.
19727 * tools/gst-inspect.c: Fix for API changes.
19728 * tools/gst-xmlinspect.c: Fix for API changes.
19729 * gst/gstelementfactory.c:
19732 * gst/gstpluginfeature.c:
19733 * gst/gstpluginfeature.h:
19734 * gst/gstregistry.c:
19735 * gst/gstregistry.h:
19736 * gst/gstregistryxml.c:
19737 * gst/gsttypefind.c:
19738 * gst/gsttypefindfactory.c:
19739 * gst/indexers/gstfileindex.c:
19740 * gst/indexers/gstmemindex.c:
19741 * gst/schedulers/Makefile.am:
19742 Change registry to keep track of both plugins and features,
19743 removing the feature tracking from plugins themselves.
19745 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
19747 * check/Makefile.am:
19748 * tools/gst-register.1.in:
19749 remove gst-register
19751 2005-09-15 David Schleef <ds@schleef.org>
19753 * check/gst/gstplugin.c:
19754 * gst/gstelementfactory.c:
19756 * gst/gstpluginfeature.c:
19757 * gst/gstregistry.c:
19758 Getting tired of debugging. Disabled all the unreffing of
19759 plugins and features, which fixes the segfaults, but of
19760 course leaks like crazy. At least playbin works.
19762 2005-09-15 David Schleef <ds@schleef.org>
19764 * check/gst/gstplugin.c: (register_check_elements),
19765 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
19767 * gst/elements/gsttypefindelement.c: Fix refcounting.
19768 * gst/gsttypefind.c:
19769 * gst/gsttypefindfactory.c:
19770 * gst/gsttypefindfactory.h:
19772 2005-09-15 David Schleef <ds@schleef.org>
19774 * gst/gstindex.c: get refcounting correct.
19775 * gst/gstregistry.c: Handle the case where a feature/plugin is
19778 2005-09-15 David Schleef <ds@schleef.org>
19780 * check/Makefile.am:
19781 * check/gst/gstplugin.c: Add test
19782 * gst/gstplugin.c: Fix problems noticed by testsuite
19784 * gst/gstregistry.c:
19785 * gst/gstregistry.h:
19787 2005-09-15 David Schleef <ds@schleef.org>
19789 * gst/gstplugin.c: Implement semi-decent recounting and locking
19790 in plugins and plugin features.
19792 * gst/gstpluginfeature.c:
19793 * gst/gstpluginfeature.h:
19794 * gst/gstregistry.c:
19796 2005-09-15 Michael Smith <msmith@fluendo.com>
19798 * gst/gstregistry.c: (gst_registry_get_feature_list):
19799 Implement this. Makes oggdemux work; decodebin still broken.
19801 2005-09-14 David Schleef <ds@schleef.org>
19803 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
19805 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
19806 * gst/check/Makefile.am:
19807 * libs/gst/controller/Makefile.am:
19808 * libs/gst/dataprotocol/Makefile.am:
19810 2005-09-14 David Schleef <ds@schleef.org>
19812 * configure.ac: Remove getbits library. Nothing uses it, and
19813 it should be in something like liboil if someone did want
19815 * libs/gst/Makefile.am:
19816 * libs/gst/getbits/Makefile.am:
19817 * libs/gst/getbits/gbtest.c:
19818 * libs/gst/getbits/getbits.c:
19819 * libs/gst/getbits/getbits.h:
19820 * libs/gst/getbits/gstgetbits_generic.c:
19821 * libs/gst/getbits/gstgetbits_i386.s:
19822 * libs/gst/getbits/gstgetbits_inl.h:
19824 2005-09-14 David Schleef <ds@schleef.org>
19826 * gst/Makefile.am: Dist glib-compat.h
19828 2005-09-14 David Schleef <ds@schleef.org>
19830 * configure.ac: Remove gst/registries, since it's no longer used.
19831 * gst/registries/Makefile.am:
19832 * gst/registries/gstlibxmlregistry.c:
19833 * gst/registries/gstlibxmlregistry.h:
19834 * gst/registries/gstxmlregistry.c:
19835 * gst/registries/gstxmlregistry.h:
19836 * gst/registries/registrytest.c:
19838 2005-09-14 David Schleef <ds@schleef.org>
19840 * gst/glib-compat.h:
19841 * gst/gstregistryxml.c:
19842 Convergence is near. Seriously.
19844 2005-09-14 David Schleef <ds@schleef.org>
19846 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19847 * gst/glib-compat.h:
19848 Attempt #4 to appease the buildbots.
19850 2005-09-14 David Schleef <ds@schleef.org>
19852 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19855 2005-09-14 David Schleef <ds@schleef.org>
19857 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19860 2005-09-14 David Schleef <ds@schleef.org>
19862 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
19865 2005-09-14 David Schleef <ds@schleef.org>
19867 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
19868 * gst/glib-compat.h: Add some functions that are in newer versions
19869 of glib than we care to require.
19870 * gst/gstregistryxml.c: Use them.
19872 2005-09-14 David Schleef <ds@schleef.org>
19874 * po/POTFILES.in: remove gst-register.c
19876 2005-09-14 David Schleef <ds@schleef.org>
19878 * docs/gst/gstreamer-docs.sgml:
19879 * docs/gst/gstreamer-sections.txt:
19880 * docs/gst/gstreamer.types:
19881 * docs/gst/tmpl/gstelement.sgml:
19882 * docs/gst/tmpl/gstplugin.sgml:
19883 * docs/gst/tmpl/gstpluginfeature.sgml:
19884 Documentation updates for registry changes.
19886 2005-09-14 David Schleef <ds@schleef.org>
19888 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
19889 because we don't require glib-2.8.
19891 2005-09-14 David Schleef <ds@schleef.org>
19893 * gst/gstregistryxml.c: Added. Essentially moved out of the
19894 registries directory.
19896 2005-09-14 David Schleef <ds@schleef.org>
19898 * check/Makefile.am:
19899 * check/generic/states.c:
19903 * gst/gst_private.h:
19904 * gst/gstelementfactory.c:
19909 * gst/gstpluginfeature.c:
19910 * gst/gstpluginfeature.h:
19911 * gst/gstregistry.c:
19912 * gst/gstregistry.h:
19913 * gst/gstregistrypool.c: remove
19914 * gst/gstregistrypool.h: remove
19915 * gst/gsttypefind.c:
19916 * gst/gsttypefindfactory.c:
19918 * tools/Makefile.am:
19919 * tools/gst-compprep.c:
19920 * tools/gst-inspect.c:
19921 * tools/gst-register.c: remove
19922 * tools/gst-xmlinspect.c:
19923 Registry rewrite. Changes registry from being a file created
19924 by a tool into a simple cache file created automatically by
19925 libgstreamer. Removed gst-register (because it's no longer
19926 needed). Remove registry pools, because we only have one
19927 registry implementation (XML). Fix up other subsystems as
19930 2005-09-13 Michael Smith <msmith@fluendo.com>
19932 * gst/gstconfig.h.in:
19933 Don't Use windows linking attributes for MinGW. Fixes #316157
19935 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
19937 * gst/gstutils.c: (set_state_async_thread_func),
19938 (gst_element_set_state_async):
19939 Apparently people think it's better if this function doesn't
19940 try to set the state to whatever state was asked for on the first
19941 call to this function for any object. Seriously.
19943 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19945 * check/gst/gstpipeline.c: (GST_START_TEST):
19946 * docs/gst/gstreamer-sections.txt:
19947 * gst/gstutils.c: (set_state_async_thread_func),
19948 (gst_element_set_state_async):
19950 add a "gst_element_set_state_async" method that
19951 sets the state and starts a thread to make sure the state
19952 change completes as best as it can
19954 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19956 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19957 codify design+behaviour in testsuite after discussion
19959 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
19961 * docs/gst/tmpl/gstelement.sgml:
19962 * docs/manual/appendix-quotes.xml:
19964 * gst/gstelement.c: (gst_element_set_state):
19967 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
19969 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19970 (gst_base_transform_prepare_output_buf),
19971 (gst_base_transform_handle_buffer):
19972 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
19973 (gst_capsfilter_prepare_buf):
19974 Remove the requirement for sub-classes to call the parent
19975 implementation of prepare_output_buffer with a wrapper function.
19977 * gst/gsttaglist.h:
19978 * gst/gsttagsetter.h:
19979 Fix #define wrapper
19981 2005-09-11 Stefan Kost <ensonic@users.sf.net>
19983 * docs/gst/gstreamer-sections.txt:
19986 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19988 * docs/gst/gstreamer-sections.txt:
19989 * docs/gst/tmpl/gstelement.sgml:
19990 * docs/gst/tmpl/gstplugin.sgml:
19991 * gst/gstminiobject.c:
19993 docs now stop throwing warnings
19995 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
19997 * docs/gst/gstreamer-sections.txt:
19998 * docs/gst/gstreamer.types:
19999 * docs/gst/tmpl/gstpad.sgml:
20000 * docs/gst/tmpl/gsttypes.sgml:
20001 * gst/base/gstadapter.h:
20002 * gst/base/gstbasesink.h:
20003 * gst/base/gstbasesrc.h:
20009 * gst/gstelement.h:
20011 * gst/gstmessage.h:
20013 * gst/gststructure.c:
20014 * gst/registries/gstlibxmlregistry.h:
20015 various documentation fixes
20017 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
20019 * docs/gst/gstreamer-sections.txt:
20020 * docs/gst/tmpl/gstvalue.sgml:
20021 rearrange gstvalue section
20022 * gst/gstutils.c: (gst_element_state_get_name):
20024 * gst/gstvalue.c: (_gst_value_initialize):
20028 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
20030 * check/gst-libs/controller.c:
20031 Header include fix.
20032 * gst/base/gstbasetransform.c:
20033 (gst_base_transform_default_prepare_buf),
20034 (gst_base_transform_handle_buffer):
20035 * gst/base/gstbasetransform.h:
20036 Some more basetransform changes and fixes to enable sub-classes
20037 that modify buffer metadata only.
20038 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20039 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
20040 (gst_capsfilter_prepare_buf):
20041 If the output pad has fixed allowed caps and input buffers
20042 don't have any, set the fixed caps on outgoing buffers.
20044 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
20045 * check/elements/identity.c: (GST_START_TEST):
20046 Make the error a little clearer when the test fails because
20047 identity made a copy of the buffer.
20048 * docs/gst/gstreamer-sections.txt:
20049 New symbols in gstbasetransform.h
20050 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20051 (gst_base_transform_init), (gst_base_transform_transform_size),
20052 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20053 (gst_base_transform_default_prepare_buf),
20054 (gst_base_transform_get_unit_size),
20055 (gst_base_transform_buffer_alloc),
20056 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
20057 (gst_base_transform_change_state),
20058 (gst_base_transform_set_passthrough),
20059 (gst_base_transform_set_in_place),
20060 (gst_base_transform_is_in_place):
20061 * gst/base/gstbasetransform.h:
20062 Change BaseTransform to separate in_place operate from same_caps
20063 output. in_place implies that the element can perform the transform
20064 on incoming buffers in-place, even if the caps on the output are
20066 Sub-class elements can now implement special buffer allocation
20067 methods for outgoing buffers if they wish to.
20068 Big documentation addition.
20069 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
20070 * gst/elements/gstelements.c:
20071 Changes for basetransform modifications.
20072 * gst/elements/Makefile.am:
20073 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
20074 Compile fix. Extra debug output.
20076 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
20078 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
20080 add tests for valid pad naming
20081 * gst/check/gstcheck.c: (gst_check_log_message_func),
20082 (gst_check_log_critical_func):
20084 remove printing of code, it is fragile when the code contains
20085 % and the line number is enough info
20086 * gst/check/gstcheck.h:
20087 * gst/gstpad.c: (gst_pad_template_new):
20090 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
20093 say what CHECK flags we use
20094 * docs/libs/gstreamer-libs.types:
20095 * libs/gst/controller/Makefile.am:
20096 * libs/gst/controller/gst-controller.c:
20097 * libs/gst/controller/gst-controller.h:
20098 * libs/gst/controller/gst-helper.c:
20099 * libs/gst/controller/gst-interpolation.c:
20100 * libs/gst/controller/gstcontroller.c:
20101 * libs/gst/controller/gsthelper.c:
20102 * libs/gst/controller/gstinterpolation.c:
20103 * tools/gst-inspect.c: (print_plugin_info):
20104 we don't use dashes in header names
20106 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
20108 * check/Makefile.am:
20109 * check/gst/.cvsignore:
20110 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
20111 (gst_pipeline_suite), (main):
20112 adding a test for pipelines and state changes
20113 * gst/gstutils.c: (get_state_func):
20115 * gstreamer.spec.in:
20118 2005-09-08 Michael Smith <msmith@fluendo.com>
20120 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
20121 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
20122 (gst_file_src_is_seekable), (gst_file_src_get_size),
20123 (gst_file_src_start):
20124 * gst/elements/gstfilesrc.h:
20125 Various fixes for unseekable, unmmapable, and non-normal files, so
20126 that fallback to read() rather than mmap() works.
20127 * gst/gstevent.c: (gst_event_new_newsegment):
20128 Allow newsegment events with segment_start == segment_end, as will
20129 correctly happen if you use filesrc on a zero-size file, for
20132 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
20134 * gst/gstplugin.c: (gst_plugin_load_file):
20135 Call g_module_close when we don't load the module
20137 * gst/registries/gstlibxmlregistry.c:
20138 (gst_xml_registry_get_property):
20139 Port leak fix from 0.8
20141 2005-09-07 Stefan Kost <ensonic@users.sf.net>
20143 * docs/gst/gstreamer-docs.sgml:
20144 * docs/gst/tmpl/.cvsignore:
20145 * docs/gst/tmpl/gsttrace.sgml:
20146 * docs/gst/tmpl/gsttrashstack.sgml:
20149 * gst/gstelement.h:
20151 * gst/gstmessage.c:
20152 * gst/gstmessage.h:
20155 * gst/gsttaginterface.c:
20156 * gst/gsttaginterface.h:
20157 * gst/gsttaglist.c:
20158 * gst/gsttaglist.h:
20159 * gst/gsttagsetter.c:
20160 * gst/gsttagsetter.h:
20163 * gst/gsttrashstack.c:
20164 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
20165 inlined docs for gsttrace, gsttrashstack
20167 2005-09-07 Stefan Kost <ensonic@users.sf.net>
20170 * gst/elements/gstbufferstore.h:
20171 * gst/elements/gsttypefindelement.c:
20172 * gst/elements/gsttypefindelement.h:
20174 * gst/gsttypefind.c:
20175 * gst/gsttypefind.h:
20176 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
20177 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
20178 (gst_type_find_factory_dispose),
20179 (gst_type_find_factory_unload_thyself),
20180 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
20181 (gst_type_find_factory_get_caps),
20182 (gst_type_find_factory_get_extensions),
20183 (gst_type_find_factory_call_function):
20184 * gst/gsttypefindfactory.h:
20185 * gst/registries/gstlibxmlregistry.c:
20186 * gst/registries/gstxmlregistry.c:
20187 splitted gsttypefind into gsttypefind, gsttypefindfactory
20189 2005-09-07 Andy Wingo <wingo@pobox.com>
20191 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
20192 condition whereby the pad's task function is entered before the
20193 pad_mode variable was set.
20195 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
20197 * gst/gstpad.c: (gst_pad_alloc_buffer):
20198 Catch misbehaving pad_alloc functions that don't
20199 set up caps and do it for them.
20201 2005-09-07 Stefan Kost <ensonic@users.sf.net>
20203 * check/pipelines/simple_launch_lines.c: (run_pipeline):
20204 test for pipe!=NULL
20205 * docs/gst/tmpl/.cvsignore:
20206 * docs/gst/tmpl/gstmemchunk.sgml:
20207 * docs/gst/tmpl/gstparse.sgml:
20208 * docs/gst/tmpl/gsttaglist.sgml:
20209 * docs/gst/tmpl/gsttagsetter.sgml:
20210 * docs/gst/tmpl/gsttypefind.sgml:
20211 * docs/gst/tmpl/gsttypefindfactory.sgml:
20212 * gst/gstmemchunk.c:
20215 * gst/gsttaginterface.c:
20216 * gst/gsttypefind.c:
20217 * gst/gsttypefind.h:
20220 === release 0.9.2 ===
20222 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
20227 releasing 0.9.2, "South"
20229 2005-09-05 Andy Wingo <wingo@pobox.com>
20231 * gst/registries/gstxmlregistry.h:
20232 * gst/registries/gstxmlregistry.c: Um... resurrect...
20234 * gst/registries/gstxmlregistry.h:
20235 * gst/registries/gstxmlregistry.c: and update to newer API.
20236 Incidentally they should be a bit faster now that they don't have
20239 2005-09-05 Andy Wingo <wingo@pobox.com>
20241 * gst/registries/gstxmlregistry.h:
20242 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
20243 replaced by the libxml registry a while back
20245 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
20247 * docs/gst/tmpl/gstplugin.sgml:
20248 * gst/elements/gstelements.c:
20250 * gst/gstplugin.c: (gst_plugin_register_func),
20251 (gst_plugin_desc_copy), (gst_plugin_desc_free),
20252 (gst_plugin_get_source):
20254 * gst/registries/gstlibxmlregistry.c: (load_plugin),
20255 (gst_xml_registry_save_plugin):
20256 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
20257 (gst_xml_registry_save_plugin):
20258 * tools/gst-inspect.c: (print_plugin_info):
20259 add a "source" plugin description field, to represent the source
20260 module this plugin is a part of. By default GST_PLUGIN_DEFINE
20261 will set it to PACKAGE, which is automake's idea of the name of
20262 the source project.
20264 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
20269 * docs/Makefile.am:
20270 * docs/faq/Makefile.am:
20271 * docs/gst/tmpl/gstelement.sgml:
20272 * docs/gst/tmpl/gsttypes.sgml:
20273 * docs/htmlinstall.mak:
20274 * docs/manual/Makefile.am:
20275 * docs/pwg/Makefile.am:
20276 reorganize doc build a little
20277 split out docbook and gtk-doc stuff
20278 have two separate --enable's and enable them through autogen
20279 but disable by default in configure (to be similar to other
20281 * gstreamer.spec.in:
20282 clean up docs install
20300 translation updates
20302 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
20304 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
20307 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20308 (gst_fake_sink_change_state):
20309 Make state change function thread-safe.
20311 * gst/gstpad.c: (gst_pad_alloc_buffer):
20312 Set offset on generic buffer allocated by fallback.
20314 2005-09-03 Stefan Kost <ensonic@users.sf.net>
20316 * docs/gst/gstreamer-sections.txt:
20317 * docs/gst/tmpl/gstelement.sgml:
20319 * libs/gst/controller/gst-controller.c:
20320 (gst_controlled_property_set_interpolation_mode),
20321 (gst_controlled_property_new),
20322 (gst_controller_find_controlled_property):
20323 run the wingo-magic script against the docs
20325 2005-09-02 Stefan Kost <ensonic@users.sf.net>
20327 * docs/gst/gstreamer-docs.sgml:
20328 * docs/gst/gstreamer-sections.txt:
20329 * docs/gst/tmpl/.cvsignore:
20330 * docs/gst/tmpl/gstelementdetails.sgml:
20331 * docs/gst/tmpl/gstelementfactory.sgml:
20334 * gst/gstelementfactory.c:
20335 * gst/gstelementfactory.h:
20336 merged elementdetails docs into elementfactory docs
20339 2005-09-02 Andy Wingo <wingo@pobox.com>
20341 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
20342 consider this enum an enum and not a flags.
20344 2005-09-02 Stefan Kost <ensonic@users.sf.net>
20346 * docs/gst/gstreamer-docs.sgml:
20347 * docs/gst/tmpl/.cvsignore:
20348 * docs/gst/tmpl/gstghostpad.sgml:
20349 * docs/gst/tmpl/gstiterator.sgml:
20350 * docs/gst/tmpl/gstmacros.sgml:
20351 * docs/gst/tmpl/gstrealpad.sgml:
20352 * docs/gst/tmpl/gstregistry.sgml:
20353 * docs/gst/tmpl/gstregistrypool.sgml:
20354 * docs/gst/tmpl/gststructure.sgml:
20355 * docs/gst/tmpl/gstsystemclock.sgml:
20356 * docs/gst/tmpl/gsttrace.sgml:
20357 * gst/gstghostpad.c:
20359 * gst/gstmemchunk.c:
20360 * gst/gstmemchunk.h:
20362 * gst/gstregistry.c:
20363 * gst/gstregistrypool.c:
20364 * gst/gststructure.c:
20365 * gst/gstsystemclock.c:
20368 2005-09-02 Andy Wingo <wingo@pobox.com>
20370 * gst/gstelement.h (GstState): Renamed from GstElementState,
20371 changed to be a normal enum instead of flags.
20372 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
20373 munged to be GST_STATE_CHANGE_*.
20374 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
20375 work with the new state representation.
20376 (GstStateChange): New enumeration of possible state transitions.
20377 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
20378 (GstElementClass::change_state): Pass the GstStateChange along as
20379 an argument. Helps language bindings, so they don't have to use
20380 tricky lock-needing macros like GST_STATE_CHANGE ().
20382 * scripts/update-states (file): New script. Run it on a file to
20383 update it for state naming and API changes. Updates files in
20386 * All files updated for the new API.
20388 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
20390 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20391 * gst/gstutils.c: (gst_util_set_value_from_string),
20392 (gst_util_set_object_arg):
20393 fix a bunch of unchecked return values
20394 * tools/gst-complete.c: (main):
20395 * gstreamer.spec.in:
20398 2005-09-01 Wim Taymans <wim@fluendo.com>
20400 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20401 (gst_base_sink_event), (gst_base_sink_do_sync),
20402 (gst_base_sink_handle_event):
20403 * gst/base/gstbasesink.h:
20404 Handle newsegments more correctly.
20409 * gst/gstevent.c: (gst_event_new_newsegment):
20410 A newsegment cannot have a start_time of -1
20412 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
20414 * win32/gstenumtypes.c:
20415 * win32/gstenumtypes.h:
20418 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20420 * libs/gst/controller/gst-controller.c:
20421 (gst_controlled_property_set_interpolation_mode),
20422 (gst_controlled_property_new):
20423 fixed boolean again
20425 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
20427 * docs/faq/gst-uninstalled:
20432 * gst/gstutils.c: (gst_element_link_filtered):
20434 add gst_element_link_filtered
20436 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20438 * docs/gst/gstreamer-docs.sgml:
20439 * docs/gst/gstreamer-sections.txt:
20440 * docs/gst/tmpl/.cvsignore:
20441 * docs/gst/tmpl/gsterror.sgml:
20442 * docs/gst/tmpl/gstfilter.sgml:
20443 * docs/gst/tmpl/gsturihandler.sgml:
20444 * docs/gst/tmpl/gsturitype.sgml:
20445 * docs/gst/tmpl/gstutils.sgml:
20446 * docs/gst/tmpl/gstxml.sgml:
20451 * gst/gsturitype.c:
20454 inlined more docs, fixed double id-ref
20456 2005-08-31 Wim Taymans <wim@fluendo.com>
20458 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20459 (gst_base_transform_handle_buffer):
20460 Passthrough elements don't need the caps as they don't care.
20462 2005-08-31 Wim Taymans <wim@fluendo.com>
20464 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20465 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
20466 Don't leak refcounts on buffers.
20468 2005-08-31 Wim Taymans <wim@fluendo.com>
20470 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
20471 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20472 (gst_base_transform_chain), (gst_base_transform_change_state):
20473 * gst/base/gstbasetransform.h:
20474 Handle the case where we are not negotiated more gracefully.
20476 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
20478 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
20479 (gst_file_src_map_region):
20480 Set READONLY flag on mmap'ed buffers, otherwise
20481 gst_buffer_make_writable() won't work properly (#314708).
20483 2005-08-31 Wim Taymans <wim@fluendo.com>
20485 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
20486 passthrough elements can even do inplace on non writable
20487 buffers (as they don't touch them).
20489 2005-08-31 Stefan Kost <ensonic@users.sf.net>
20491 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20492 (gst_test_mono_source_set_property),
20493 (gst_test_mono_source_class_init), (GST_START_TEST),
20494 (gst_controller_suite):
20495 more tests (hehe I have the most)
20497 describe popping messages whenusing mulltiple sources
20498 * libs/gst/controller/gst-controller.c:
20499 (gst_controlled_property_set_interpolation_mode),
20500 (gst_controlled_property_new):
20501 * libs/gst/controller/gst-controller.h:
20502 * libs/gst/controller/gst-interpolation.c:
20503 implement boolean properties
20505 2005-08-31 Wim Taymans <wim@fluendo.com>
20507 * gst/gstminiobject.c: (gst_mini_object_ref):
20508 Cannot assert that the refcount has to be positive
20509 since a disposed object can be resurrected.
20511 2005-08-31 Wim Taymans <wim@fluendo.com>
20513 * gst/gstpad.c: (gst_pad_init):
20514 Revert change, need to first fix badly behaving
20517 2005-08-30 Wim Taymans <wim@fluendo.com>
20519 * check/elements/fakesrc.c: (setup_fakesrc):
20520 * check/elements/identity.c: (setup_identity):
20521 Activate pads before using them.
20523 2005-08-30 Wim Taymans <wim@fluendo.com>
20525 * gst/base/gstadapter.c: (gst_adapter_flush):
20526 Flushing out 0 bytes is ok for this function.
20528 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20529 no newsegment gives a warning and sets the start/stop to
20532 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20533 (gst_base_transform_set_passthrough):
20536 * gst/gstminiobject.c: (gst_mini_object_ref):
20537 Check refcount here too.
20539 * gst/gstpad.c: (gst_pad_init):
20540 Pads are initially flushing and refusing data.
20542 * gst/gstutils.c: (gst_element_link_pads_filtered):
20543 When adding a capsfilter element make sure it has the
20544 same state as the parent bin.
20546 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20548 * docs/gst/tmpl/.cvsignore:
20549 * docs/gst/tmpl/gstformat.sgml:
20550 * docs/gst/tmpl/gstversion.sgml:
20554 * gst/gstversion.h.in:
20555 more docs and two more inlined
20557 2005-08-30 Wim Taymans <wim@fluendo.com>
20559 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20560 Don't sync to clock.
20562 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20564 * docs/gst/gstreamer-sections.txt:
20565 ultral33t func10ns deserve to appear in the docs actually
20566 * docs/gst/tmpl/.cvsignore:
20567 * docs/gst/tmpl/gstcompat.sgml:
20568 * docs/gst/tmpl/gstconfig.sgml:
20569 * gst/check/gstcheck.c:
20571 * gst/gstconfig.h.in:
20574 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20576 * docs/gst/tmpl/.cvsignore:
20577 * docs/gst/tmpl/gstquery.sgml:
20578 * docs/gst/tmpl/gstutils.sgml:
20581 inlined and extended docs
20583 2005-08-30 Stefan Kost <ensonic@users.sf.net>
20585 * check/gst-libs/controller.c: (GST_START_TEST),
20586 (gst_controller_suite):
20588 * docs/gst/tmpl/gstutils.sgml:
20589 * docs/libs/gstreamer-libs-sections.txt:
20590 * docs/libs/tmpl/gstdataprotocol.sgml:
20592 * examples/controller/audio-example.c: (main):
20593 controller example works now
20596 * tools/gst-inspect.c: (print_element_properties_info):
20597 show param spec flags
20599 2005-08-29 Andy Wingo <wingo@pobox.com>
20601 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20603 2005-08-28 Andy Wingo <wingo@pobox.com>
20605 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20606 as having two arguments instead of just one. Allows superclasses
20607 to access information on subclasses -- see the terrible for() loop
20608 in gtype.c:g_type_create_instance for the reason why. All callers
20611 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20613 * docs/design/part-messages.txt:
20615 * docs/gst/tmpl/.cvsignore:
20616 * docs/gst/tmpl/gstcaps.sgml:
20617 * docs/gst/tmpl/gstclock.sgml:
20623 * gst/gstmessage.c:
20624 added descriptions for bus and message
20625 inline caps and clock docs
20627 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20629 * gst/gstmessage.c:
20630 * gst/gstmessage.h:
20633 2005-08-27 Stefan Kost <ensonic@users.sf.net>
20635 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20638 2005-08-26 Andy Wingo <wingo@pobox.com>
20640 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20641 element_set_state's return val.
20642 (test_2_elements): Add test that's been disabled for months.
20644 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20645 can-activate-pull properties.
20647 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20648 can-activate-pull properties. Implement is_seekable so fakesrc can
20649 operate in pull mode.
20651 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20653 (gst_base_sink_activate, gst_base_sink_activate_pull)
20654 (gst_base_sink_activate_push): Make activation mode choosing work.
20656 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20657 is right. Make pull mode work. Post an eos before pausing in pull
20659 (gst_base_sink_change_state): Pay attention to the core's
20660 change_state() return val.
20662 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20663 has-getrange properties. Cleanups.
20665 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20666 has_getrange and replace with can_activate_pull and
20669 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20670 locking comments. Remove has_loop, has_chain and replace with
20671 can_activate_pull and can_activate_push.
20673 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
20676 * examples/Makefile.am:
20677 * examples/metadata/Makefile.am:
20678 * examples/metadata/read-metadata.c: (message_loop),
20679 (have_pad_handler), (make_pipeline), (print_tag), (main):
20680 Add metadata reading example that loops over a list of filenames,
20681 dumping any tags found.
20683 * gst/gstbus.c: (gst_bus_dispose):
20684 * gst/gstelement.c: (gst_element_dispose):
20685 Release a few potentially-held references in dispose.
20687 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20689 * docs/gst/tmpl/gstminiobject.sgml:
20690 do *not* add tmpl/*.sgml files to CVS!
20692 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20694 * libs/gst/bytestream/.cvsignore:
20695 * libs/gst/bytestream/Makefile.am:
20696 * libs/gst/bytestream/adapter.c:
20697 * libs/gst/bytestream/adapter.h:
20698 * libs/gst/bytestream/bytestream.c:
20699 * libs/gst/bytestream/bytestream.h:
20700 * libs/gst/bytestream/filepad.c:
20701 * libs/gst/bytestream/filepad.h:
20702 removing obsolete files
20704 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20706 * docs/gst/gstreamer-docs.sgml:
20707 * docs/libs/gstreamer-libs-docs.sgml:
20708 disabed additional index entries again, as this makes docs-gen just
20709 slow and they aren't useful yet
20710 * docs/libs/gstreamer-libs-sections.txt:
20711 little -section.txt cleanup for libs
20713 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
20715 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20716 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20717 fix up some debugging
20718 (gst_base_transform_get_unit_size),
20719 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20720 (gst_base_transform_handle_buffer):
20721 * gst/base/gstbasetransform.h:
20722 handle and store timed NEWSEGMENT events so that subclasses that
20723 calculate time by counting samples have a segment_start time they
20724 need to add to their timestamps - see audioresample
20726 2005-08-26 Stefan Kost <ensonic@users.sf.net>
20729 removed ';' from the end of macro defs
20730 * docs/gst/gstreamer-docs.sgml:
20731 * docs/gst/gstreamer-sections.txt:
20732 * docs/gst/tmpl/.cvsignore:
20734 * gst/gstelement.c: (gst_element_class_init),
20735 (gst_element_set_state), (activate_pads),
20736 (gst_element_save_thyself):
20737 * gst/gstevent.c: (gst_event_new_newsegment):
20739 * gst/gstiterator.c:
20740 * gst/gstiterator.h:
20743 * gst/gstutils.c: (gst_pad_query_convert):
20745 fixed parameter name mismatches between source, header and docs
20746 added some more docs, resolved the last batch of unused elements in
20747 docs (now someone needs to doc them)
20749 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20751 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
20752 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
20753 don't walk through the plugins backwards. Where is all this
20754 reversed logic coming from ?
20756 2005-08-25 Wim Taymans <wim@fluendo.com>
20758 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20759 (gst_base_transform_transform_size),
20760 (gst_base_transform_configure_caps),
20761 (gst_base_transform_get_unit_size),
20762 (gst_base_transform_buffer_alloc),
20763 (gst_base_transform_change_state):
20764 * gst/base/gstbasetransform.h:
20765 Cache caps unit_size.
20766 Make sure we cannot negotiate up and downstream at the
20769 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20771 * gst/gst.c: (init_pre), (init_post):
20772 register the installed plugin path after the env var
20773 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
20774 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
20775 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
20776 directories, so the tests can prefer uninstalled over installed
20778 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
20780 * gst/base/gstbasetransform.h:
20785 2005-08-25 Wim Taymans <wim@fluendo.com>
20787 * gst/gstbin.c: (bin_bus_handler):
20788 Be a bit more conservative about the posted message.
20790 * gst/gstbus.c: (gst_bus_post):
20791 Some cleanups, warn wrong return values.
20793 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
20795 * check/gst/gstbin.c: (GST_START_TEST):
20796 * gst/gstbin.c: (bin_bus_handler):
20797 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20798 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20799 (gst_message_new_warning), (gst_message_new_tag),
20800 (gst_message_new_state_changed), (gst_message_new_segment_start),
20801 (gst_message_new_segment_done), (gst_message_new_custom):
20802 * gst/gstmessage.h:
20803 * tools/gst-launch.c: (event_loop):
20804 * tools/gst-md5sum.c: (event_loop):
20805 Revert unpopular change for GST_MESSAGE_SRC to GObject.
20807 2005-08-25 Wim Taymans <wim@fluendo.com>
20809 * check/generic/states.c: (GST_START_TEST):
20810 Cleanup can be done at the end.
20812 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
20813 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20814 (gst_task_get_state), (gst_task_start), (gst_task_pause):
20815 Oh boy.. Thanks for finding this, Thomas.
20817 2005-08-25 Stefan Kost <ensonic@users.sf.net>
20819 * docs/gst/gstreamer.types:
20820 added missing types
20822 2005-08-25 Stefan Kost <ensonic@users.sf.net>
20824 * docs/gst/gstreamer-docs.sgml:
20825 * docs/gst/gstreamer-sections.txt:
20826 * docs/gst/tmpl/.cvsignore:
20828 * gst/gstiterator.c:
20830 * gst/registries/gstxmlregistry.h:
20831 added missing classes and symbols (123 more to go)
20832 removed removed symbols from section file
20833 fixed many doc-comments
20835 2005-08-24 Wim Taymans <wim@fluendo.com>
20837 * check/generic/states.c: (GST_START_TEST):
20838 Make sure all tasks are stopped.
20840 * check/gst/gstbin.c: (GST_START_TEST):
20841 Unref after usage for proper valgrinding.
20843 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
20844 Really wait for the task to stop before destroying the
20847 * gst/gstqueue.c: (gst_queue_sink_activate_push),
20848 (gst_queue_src_activate_push):
20849 Small cleanups. Don't stop the task when we did not start
20852 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
20853 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
20854 (gst_task_get_state), (gst_task_start), (gst_task_pause),
20857 Protect the stream lock with the object lock.
20858 Disallow setting the stream lock when running.
20859 Add cleanup_all to wait for the threadpool to finish.
20860 Remove code to autoallocate a mutex if none was provided.
20861 Add _join() to wait for a task to stop.
20862 Protect the thread pool with a global lock.
20864 2005-08-24 Wim Taymans <wim@fluendo.com>
20866 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20867 (gst_base_sink_get_times), (gst_base_sink_do_sync),
20868 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
20869 * gst/base/gstbasesink.h:
20870 Handle newsegment events correctly.
20871 Drop buffers out of the segment range.
20873 2005-08-22 Andy Wingo <wingo@pobox.com>
20875 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
20876 macro, implements an interface and gstimplementsinterface for a
20879 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
20881 * check/Makefile.am:
20882 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
20883 add a test that does a bunch of state changes on elements
20884 needs some fixing for valgrind
20885 * check/states/sinks.c: (gst_object_suite):
20888 add prototype for gst_caps_is_equal_fixed
20890 * gst/gstregistrypool.c:
20893 2005-08-24 Andy Wingo <wingo@pobox.com>
20895 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
20896 convert a negative value. Doesn't make much sense. Mostly this is
20897 here to force callers to ensure -1 maps to -1.
20899 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
20901 * docs/pwg/advanced-types.xml:
20902 Well done to Michael for catching my deliberate introduction
20903 of this spelling mistake.
20904 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
20905 * gst/gstelement.h:
20906 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
20907 unlink pads before removing the element from the bin.
20909 2005-08-24 Andy Wingo <wingo@pobox.com>
20911 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
20912 the same thing as GST_DEBUG=*:4.
20913 (parse_debug_level, parse_debug_category): New helper parsers.
20915 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
20917 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
20918 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
20919 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
20920 (gst_base_transform_buffer_alloc),
20921 (gst_base_transform_handle_buffer):
20922 use gboolean return values and pointers to size so we can use the
20923 full GST_BUFFER_SIZE range (guint) for buffer sizes
20924 use GstPadDirection for transform_caps
20925 * gst/base/gstbasetransform.h:
20926 rename get_size to get_unit_size since that's what it is
20927 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
20928 use GstPadDirection for transform_caps
20929 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20931 cleanup and debugging
20933 2005-08-24 Stefan Kost <ensonic@users.sf.net>
20935 * gst/gstelement.c: (gst_element_class_init),
20936 (gst_element_set_state), (activate_pads),
20937 (gst_element_save_thyself):
20938 * tools/gst-compprep.c: (main):
20939 * tools/gst-inspect.c: (print_element_properties_info):
20940 * tools/gst-xmlinspect.c: (print_element_properties):
20941 Fixed long standing mem-leak
20943 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
20945 * check/gst/gstbin.c: (GST_START_TEST):
20946 * gst/gstbin.c: (bin_bus_handler):
20947 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
20948 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
20949 (gst_message_new_warning), (gst_message_new_tag),
20950 (gst_message_new_state_changed), (gst_message_new_segment_start),
20951 (gst_message_new_segment_done), (gst_message_new_custom):
20952 * gst/gstmessage.h:
20953 * tools/gst-launch.c: (event_loop):
20954 * tools/gst-md5sum.c: (event_loop):
20955 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
20956 that applications can sensibly post custom messages with references
20957 to their own objects.
20959 2005-08-24 Andy Wingo <wingo@pobox.com>
20961 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
20964 2005-08-24 Wim Taymans <wim@fluendo.com>
20966 * gst/base/gstbasetransform.c: (gst_base_transform_init),
20967 (gst_base_transform_transform_caps),
20968 (gst_base_transform_transform_size),
20969 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20970 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
20971 (gst_base_transform_handle_buffer):
20972 * gst/base/gstbasetransform.h:
20973 Many fixes and new features added by Thomas. Can now also do
20974 transforms with variable sizes and a custom fixate_caps function.
20976 2005-08-24 Wim Taymans <wim@fluendo.com>
20978 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
20982 Cast to ClockTime before formatting to time.
20987 2005-08-24 Stefan Kost <ensonic@users.sf.net>
20989 * check/gst-libs/controller.c: (GST_START_TEST),
20990 (gst_controller_suite):
20991 * docs/gst/tmpl/gstcaps.sgml:
20992 * docs/gst/tmpl/gstghostpad.sgml:
20993 * docs/gst/tmpl/gstquery.sgml:
20994 * docs/gst/tmpl/gstutils.sgml:
20995 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
20996 (gst_object_sink_values), (gst_object_get_value_arrays),
20997 (gst_object_get_value_array):
20998 gracefully handle helper method calls to objects that are not beeing
20999 controlled, added test case for that
21001 2005-08-23 Wim Taymans <wim@fluendo.com>
21003 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
21004 (gst_event_new_newsegment), (gst_event_parse_newsegment),
21005 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
21006 (gst_event_parse_qos), (gst_event_new_seek),
21007 (gst_event_parse_seek):
21009 Some more debugging output and doc cleanups.
21011 * gst/gstqueue.c: (gst_queue_handle_sink_event):
21012 Fix possible deadlock.
21014 2005-08-23 Stefan Kost <ensonic@users.sf.net>
21016 * docs/gst/gstreamer-docs.sgml:
21017 * docs/gst/gstreamer-sections.txt:
21018 * docs/gst/gstreamer.types:
21019 * docs/gst/tmpl/.cvsignore:
21022 * gst/gstelement.c:
21024 added 100 symbols from gstreamer-unused.txt to the right sections
21025 fixed more broken comments
21026 added GstBus to docs
21028 2005-08-23 Stefan Kost <ensonic@users.sf.net>
21030 * docs/gst/gstreamer-sections.txt:
21031 * docs/gst/tmpl/.cvsignore:
21032 * docs/gst/tmpl/gstbin.sgml:
21033 * docs/gst/tmpl/gstbuffer.sgml:
21034 * gst/base/gstbasesrc.c:
21035 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
21038 * tools/gst-launch.1.in:
21039 inlined more doc comments, added missing comments and fixed comments
21042 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
21044 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21048 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
21050 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
21051 * gst/gststructure.h:
21052 add a fixate function for booleans; add a FIXME that these func
21053 names should probably be gst_structure_fixate_*
21055 2005-08-23 Stefan Kost <ensonic@users.sf.net>
21057 * docs/gst/gstreamer-docs.sgml:
21058 * docs/gst/gstreamer-sections.txt:
21060 * gst/gstbin.c: (gst_bin_get_type),
21061 (gst_bin_child_proxy_get_child_by_index),
21062 (gst_bin_child_proxy_get_children_count),
21063 (gst_bin_child_proxy_init):
21064 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21065 (gst_child_proxy_get_child_by_index),
21066 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
21067 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
21068 (gst_child_proxy_get), (gst_child_proxy_set_property),
21069 (gst_child_proxy_set_valist), (gst_child_proxy_set),
21070 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
21071 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
21072 * gst/gstchildproxy.h:
21073 * gst/parse/grammar.y:
21074 * tools/gst-inspect.c: (print_interfaces),
21075 (print_element_properties_info), (print_element_info):
21076 ported gstchildproxy over from 0.8
21077 ported gst-inspect fixes and enhancements over from 0.8
21079 2005-08-22 Wim Taymans <wim@fluendo.com>
21081 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21082 (gst_base_transform_handle_buffer):
21083 Also call the transform function if we have ANY caps.
21085 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
21088 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
21090 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
21091 Don't pretend to handle seek events if the source is not seekable
21093 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
21095 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21096 Remove extra parameter to debug output
21098 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21099 (gst_base_src_do_seek), (gst_base_src_activate_push):
21100 Fix seek event handling.
21102 * gst/gstpipeline.c: (gst_pipeline_change_state):
21103 * gst/gstqueue.c: (gst_queue_handle_sink_event),
21104 (gst_queue_src_activate_push):
21105 Don't start the src pad task on FLUSH_STOP if the pad
21109 2005-08-22 Wim Taymans <wim@fluendo.com>
21111 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
21112 Added check for gst_static_caps_get() refcounting.
21114 2005-08-22 Wim Taymans <wim@fluendo.com>
21116 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
21117 Make _static_caps_get() refcounting sane.
21119 * gst/gstelement.c: (gst_element_set_state):
21120 Add g_return_val_if_fail() to protect against segfaults.
21122 2005-08-22 Stefan Kost <ensonic@users.sf.net>
21124 * docs/gst/tmpl/gstevent.sgml:
21127 inlined remaining docs, added missing doc comments
21129 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
21131 * check/gst/gstbin.c: (GST_START_TEST):
21132 since we don't know when preroll is done, use refcount range
21134 * gst/check/gstcheck.h:
21135 add macro for checking refcount range
21137 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
21139 * check/Makefile.am:
21140 clean up environment for when registry gets built versus
21141 when actual tests are run; valgrind seems to not report
21142 leaks if GST_PLUGIN_PATH is set to some specific values
21143 * check/gst/gstbin.c: (GST_START_TEST):
21144 add more refcounting checks; maybe this exposes a
21146 * common/check.mak:
21147 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21148 * gst/check/gstcheck.h:
21149 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
21150 (gst_bin_change_state):
21151 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
21152 add/fix debugging/whitespace
21154 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
21156 * check/gst/gstevent.c: (event_probe), (test_event),
21158 Er, don't call gst_bin_watch_for_state_change you idiot.
21160 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
21162 * check/Makefile.am:
21163 Use CHECK_CFLAGS and CHECK_LIBS
21164 * check/gst/gstevent.c: (event_probe), (test_event),
21167 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21168 (gst_base_src_start), (gst_base_src_stop),
21169 (gst_base_src_activate_push), (gst_base_src_activate_pull),
21170 (gst_base_src_change_state):
21171 Sprinkle gst_base_src_stop liberally around error paths to fix
21172 problems reusing a source after failed state changes.
21173 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21174 (helper_find_suggest), (gst_type_find_helper):
21175 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
21177 * docs/gst/tmpl/gstevent.sgml:
21178 Migrate part of the docs from the SGML file. Wait for ensonic to
21179 tell me how I did it wrong ;)
21180 * tools/gst-typefind.c: (main):
21181 Extra robustness to state changes between files.
21183 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
21185 * check/Makefile.am:
21186 don't valgrind the controller test - it's leaking - Stefan, HELP
21187 * gst/check/gstcheck.c: (gst_check_message_error),
21188 (gst_check_chain_func), (gst_check_setup_element),
21189 (gst_check_teardown_element), (gst_check_setup_src_pad),
21190 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
21191 (gst_check_teardown_sink_pad):
21192 * gst/check/gstcheck.h:
21193 add a bunch of methods to set up elements, and src and sink pads
21194 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
21195 * check/elements/identity.c: (setup_identity), (cleanup_identity),
21198 * gst/gstmessage.c:
21200 whitespace/doc fixes
21202 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21204 * gst/gstelement.h:
21205 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
21206 be handled by the application and not always printed as well
21208 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21210 * check/Makefile.am:
21212 * gst/check/gstcheck.c: (gst_check_message_error):
21213 * gst/check/gstcheck.h:
21214 add a fail_unless_equals_int
21215 add fail_unless for error messages
21217 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21219 * check/Makefile.am:
21221 * common/Makefile.am:
21222 * common/check.mak:
21224 factor out some of the common stuff so we can use it
21226 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21228 * check/Makefile.am:
21229 * check/gst/gstiterator.c: (GST_START_TEST):
21230 * check/gst/gstsystemclock.c: (GST_START_TEST),
21231 (gst_systemclock_suite):
21232 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21234 valgrind more tests
21236 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
21238 * check/elements/.cvsignore:
21239 * check/elements/gstfakesrc.c:
21240 rename to name of element
21241 * check/elements/identity.c: (chain_func), (event_func),
21242 (setup_identity), (cleanup_identity), (GST_START_TEST),
21243 (identity_suite), (main):
21244 add a test for identity
21245 * check/Makefile.am:
21246 * pkgconfig/Makefile.am:
21247 * pkgconfig/gstreamer-check.pc.in:
21248 * pkgconfig/gstreamer-check-uninstalled.pc.in:
21252 move the check stuff to a library that gets installed
21253 * check/gst-libs/controller.c: (GST_START_TEST):
21254 * check/gst-libs/gdp.c:
21255 * check/gst/gst.c: (GST_START_TEST):
21256 * check/gst/gstbin.c:
21257 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21258 * check/gst/gstbus.c:
21259 * check/gst/gstcaps.c: (GST_START_TEST):
21260 * check/gst/gstelement.c:
21261 * check/gst/gstghostpad.c:
21262 * check/gst/gstiterator.c:
21263 * check/gst/gstmessage.c:
21264 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
21265 * check/gst/gstobject.c:
21266 * check/gst/gstpad.c: (GST_START_TEST):
21267 * check/gst/gststructure.c: (GST_START_TEST):
21268 * check/gst/gstsystemclock.c: (GST_START_TEST),
21269 (gst_systemclock_suite):
21270 * check/gst/gsttag.c: (gst_tag_suite):
21271 * check/gst/gstvalue.c:
21272 * check/pipelines/cleanup.c:
21273 * check/pipelines/simple_launch_lines.c:
21274 * check/states/sinks.c:
21275 change include statement
21277 * docs/gst/gstreamer-sections.txt:
21278 * docs/gst/tmpl/gstpad.sgml:
21279 document more pad stuff
21280 * gst/gstminiobject.c: (gst_mini_object_ref),
21281 (gst_mini_object_unref):
21284 2005-08-19 Stefan Kost <ensonic@users.sf.net>
21286 * docs/gst/tmpl/gst.sgml:
21288 eliminate another tmpl file, fix spelling in the long-description
21290 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21292 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21293 (test_event), (timediff), (gstevents_suite):
21294 Should fix build on 64-bit arch's
21296 2005-08-18 Andy Wingo <wingo@pobox.com>
21298 Make sure that when a pipeline goes to PLAYING, that data has
21299 actually hit the sink.
21301 * check/states/sinks.c (test_sink): A sink that doesn't get any
21302 data shouldn't return SUCCESS for going to either PLAYING or
21303 PAUSED. Test also the return values on the way back down.
21305 * gst/gstelement.c (gst_element_set_state): When changing the
21306 state of an element currently changing state asynchronously, go to
21307 lost-state after commiting the pending state. Makes future calls
21308 to get_state continue to return ASYNC.
21310 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
21311 ASYNC when going to PLAYING if we still don't have preroll, as can
21312 happen with live sources.
21314 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21316 * docs/pwg/advanced-types.xml:
21317 Hack long paragraph into 2 chunks as a workaround for buggy
21318 jadetex version in sid and breezy that loops infinitely and
21321 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21323 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21324 (test_event), (timediff), (gstevents_suite):
21325 Provide more error margin in clock measurements to allow for
21326 g_get_current_time inaccuracies.
21328 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21330 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21331 (test_event), (timediff), (gstevents_suite):
21332 Fix error message output so I might be able to tell why the
21333 test works here but fails on the build farm.
21335 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
21337 * check/Makefile.am:
21338 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21339 (test_event), (timediff), (gstevents_suite), (main):
21342 * docs/design/part-seeking.txt:
21343 Spelling correction
21345 * docs/gst/tmpl/gstevent.sgml:
21346 * docs/gst/tmpl/gstfakesrc.sgml:
21349 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21350 Treat a buffer-without-newsegment the same as a receiving
21351 a newsegment not in time format, and disable syncing to the clock
21354 * gst/gstbus.c: (gst_bus_set_sync_handler):
21355 Assert if anyone tries to replace the existing sync_handler for bus,
21356 as only the owner should be setting it.
21359 Have a fixed set of custom event enums with events identified by
21360 their structure name (as in 0.8), rather than a free-for-all
21361 allowing collisions between enum values from different plugins.
21363 * gst/gstpad.c: (gst_pad_class_init):
21366 * gst/gstqueue.c: (gst_queue_handle_sink_event):
21367 Handle out-of-band downstream events from the sending thread.
21369 2005-08-17 Andy Wingo <wingo@pobox.com>
21371 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
21372 play-timeout==0 to mean no timeout at all. In that case, don't
21373 bother with a get_state or a warning, just return directly, even
21376 * gst/base/gstbasetransform.c: Debug changes.
21379 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
21380 ensure bins post state change messages. A bit of a hack but I can't
21381 think of a way to avoid it.
21383 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
21385 2005-08-16 Andy Wingo <wingo@pobox.com>
21387 * gst/base/gstadapter.h:
21388 * gst/base/gstadapter.c (gst_adapter_take): New function, like
21389 peek() but you own the data. Not terribly efficient atm.
21391 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21393 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21394 (gst_element_found_tags):
21396 Add two utility functions for tag handling.
21398 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21400 * docs/manual/advanced-dataaccess.xml:
21401 * docs/manual/basics-helloworld.xml:
21402 Fix docs to use _bin_add() before _link(), which fixes the examples
21403 with recent core versions (reported by Madhan Raj M
21404 <raj_madan@rediffmail.com>, #313199).
21406 2005-08-16 Wim Taymans <wim@fluendo.com>
21408 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21409 Added subtract checks.
21411 * docs/design/part-events.txt:
21412 Some more docs about newsegment
21414 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21417 * gst/gstcaps.c: (gst_caps_to_string):
21418 Add comments, cleanups.
21420 * gst/gstelement.c: (gst_element_save_thyself):
21423 * gst/gstvalue.c: (gst_value_collect_int_range),
21424 (gst_string_unwrap), (gst_value_union_int_int_range),
21425 (gst_value_union_int_range_int_range),
21426 (gst_value_intersect_int_int_range),
21427 (gst_value_intersect_int_range_int_range),
21428 (gst_value_intersect_double_double_range),
21429 (gst_value_intersect_double_range_double_range),
21430 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21431 (gst_value_subtract_int_range_int),
21432 (gst_value_subtract_double_range_double),
21433 (gst_value_subtract_double_range_double_range),
21434 (gst_value_subtract_from_list), (gst_value_subtract_list),
21435 (gst_value_can_compare), (gst_value_compare_fraction):
21436 Cleanups, add comments, remove unneeded asserts.
21438 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
21440 * tools/gst-launch.c: (event_loop):
21441 don't convert NULL structures to strings
21443 2005-08-15 Stefan Kost <ensonic@users.sf.net>
21445 * docs/gst/gstreamer-sections.txt:
21446 made some defines private
21447 * docs/gst/tmpl/gstconfig.sgml:
21448 * docs/gst/tmpl/gstqueue.sgml:
21449 * docs/gst/tmpl/gsttaglist.sgml:
21450 * docs/gst/tmpl/gsttypes.sgml:
21451 * docs/gst/tmpl/gstutils.sgml:
21452 * docs/pwg/appendix-porting.xml:
21453 * gst/base/gstbasesink.h:
21454 * gst/base/gstbasesrc.c:
21455 * gst/base/gstbasesrc.h:
21456 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
21457 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
21458 * gst/gstelement.c: (gst_element_class_init):
21459 * gst/gstpad.c: (gst_pad_class_init):
21460 * gst/gstqueue.c: (gst_queue_class_init):
21461 * gst/gstxml.c: (gst_xml_class_init):
21462 documented all undocumented signal inline
21463 * libs/gst/controller/gst-controller.h:
21466 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21468 * docs/pwg/appendix-porting.xml:
21469 Document _set_link_function -> _set_setcaps_function.
21471 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
21473 * check/Makefile.am:
21474 add a .check target for running the check
21475 * check/gst-libs/controller.c: (GST_START_TEST):
21477 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21478 complete checks for gstbuffer; would be nice if I could get the
21479 gcov stuff to work so I can see if I actually completed gstbuffer.c
21480 * check/gstcheck.h:
21481 add ASSERT_BUFFER_REFCOUNT
21483 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
21485 * docs/gst/gstreamer-sections.txt:
21486 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
21488 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
21489 spew out a warning if a tag that is already registered
21490 is re-registered, unless it is re-registered with a
21491 different type (#308438).
21493 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
21495 * docs/pwg/appendix-porting.xml:
21496 * docs/pwg/building-state.xml:
21497 Add some paragraphs about state changes in 0.9 to the PWG
21498 and the porting guide, in particular about the new meaning
21499 of GST_STATE_PAUSED and how to write state change functions
21500 with concurrent access by multiple threads in mind.
21502 2005-08-11 Stefan Kost <ensonic@users.sf.net>
21504 * docs/gst/gstreamer-docs.sgml:
21505 * docs/libs/gstreamer-libs-docs.sgml:
21506 added deprecation and since indexes
21507 * libs/gst/controller/gst-controller.c:
21508 * libs/gst/controller/gst-helper.c:
21512 2005-08-11 Wim Taymans <wim@fluendo.com>
21514 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21515 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21516 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21517 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21518 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21519 (gst_ghost_pad_set_target):
21520 Actually implement (re)setting the target on a ghostpad
21521 as described in the docs.
21523 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
21525 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21526 Check whether GST_DEBUG_NO_COLOR environment variable is
21527 set and disable coloured debug output if that is the case.
21529 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
21531 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21532 (gst_type_find_helper):
21533 The memory returned by gst_type_find_peek() needs to
21534 stay valid until the end of a typefind function, and
21535 typefind functions may keep results from different
21536 offsets around, so we can't just unref the buffer from
21537 the previous _peek(), but have to save all buffers
21538 returned by _peek() until typefinding is done and only
21541 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
21543 * docs/gst/gstreamer-sections.txt:
21545 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21547 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21549 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21550 Fix a pretty good memleak.
21552 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
21554 * gst/gstiterator.h:
21555 Fix wrong include and 'make distcheck'.
21557 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21559 * gst/gstbin.c: (bin_bus_handler):
21560 Use gst_element_post_message() instead.
21562 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
21564 * gst/base/gstadapter.h:
21565 * gst/base/gstbasesink.h:
21566 * gst/base/gstbasesrc.h:
21567 * gst/base/gstbasetransform.h:
21568 * gst/base/gstcollectpads.h:
21569 * gst/base/gstpushsrc.h:
21570 * gst/gstiterator.h:
21571 Add padding to our base elements' class and instance structs and
21572 to GstIterator (you will need to rebuild all plugins and apps!)
21574 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21576 * gst/gstbin.c: (bin_bus_handler):
21577 Make default message forwarding from child->bus to bin->bus
21578 threadsafe and make it not emit warnings if the parent has no bus.
21580 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21582 * gst/gstelement.c: (activate_pads):
21583 On paused->ready, set pad->caps to NULL, as is the documented
21584 behaviour in this state change. Fixes playback of series of
21585 media files when visualization is enabled in Totem.
21587 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21589 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21590 Allow NULL as filter-caps (which means "any").
21592 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21594 * docs/libs/gstreamer-libs-sections.txt:
21595 * libs/gst/controller/gst-controller.c:
21596 * libs/gst/controller/gst-controller.h:
21597 * libs/gst/controller/gst-helper.c:
21598 adding more entries to the docs and fix small doc-bugs
21600 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21602 * docs/gst/gstreamer-docs.sgml:
21603 * docs/gst/gstreamer-sections.txt:
21604 * docs/gst/gstreamer.types:
21605 * docs/gst/tmpl/gstbasesink.sgml:
21606 * docs/gst/tmpl/gstbasesrc.sgml:
21607 * docs/gst/tmpl/gstbasetransform.sgml:
21608 * docs/gst/tmpl/gstfakesrc.sgml:
21609 * gst/base/gstcollectpads.c:
21610 * gst/base/gstcollectpads.h:
21611 * libs/gst/controller/gst-controller.c:
21612 * libs/gst/controller/gst-controller.h:
21613 * libs/gst/controller/gst-helper.c:
21614 * libs/gst/controller/gst-interpolation.c:
21615 * libs/gst/controller/lib.c:
21616 added long/short desc for controller docs
21617 added collectpads base class docs
21618 added correct includes to base-class docs
21620 2005-08-05 Stefan Kost <ensonic@users.sf.net>
21622 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21623 (gst_test_mono_source_set_property),
21624 (gst_test_mono_source_class_init), (GST_START_TEST),
21625 (gst_controller_suite):
21626 * docs/gst/gstreamer-docs.sgml:
21627 * docs/gst/gstreamer-sections.txt:
21628 * docs/gst/gstreamer.types:
21629 * docs/libs/gstreamer-libs-docs.sgml:
21630 * docs/libs/gstreamer-libs-sections.txt:
21631 * gst/base/gstadapter.c:
21632 * libs/gst/controller/gst-controller.c:
21633 (gst_controlled_property_new), (gst_controlled_property_free),
21634 (gst_controller_new_valist),
21635 (gst_controller_remove_properties_valist),
21636 (gst_controller_sink_values), (_gst_controller_finalize):
21637 * libs/gst/controller/gst-controller.h:
21638 * libs/gst/controller/gst-helper.c:
21639 (gst_object_control_properties), (gst_object_uncontrol_properties),
21640 (gst_object_get_controller), (gst_object_set_controller),
21641 (gst_object_sink_values), (gst_object_get_value_arrays),
21642 (gst_object_get_value_array):
21643 more tests (and fixes) for the controller
21644 more docs for the controller
21645 integrated companies docs for the adapter
21647 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
21649 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21650 (GST_START_TEST), (fakesrc_suite):
21651 add tests for sizetype
21653 2005-08-04 Andy Wingo <wingo@pobox.com>
21655 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21656 fixes buffer_alloc proxying among other things.
21658 * gst/base/gstbasetransform.c:
21659 * gst/base/gstbasetransform.h:
21660 Revert patch to gstbasetransform from 7-28 removing
21663 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21664 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21665 Semantics changed, should return not the size of the output buffer
21666 but the byte size of a buffer with a given caps.
21668 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21670 (gst_base_transform_configure_caps): Don't set out_size here: (in,
21671 out) are not the pad caps until setcaps finishes.
21672 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21673 not-in-place case as well. Deal with changing from in-place to
21674 not-in-place within calling pad_alloc_buffer. Still a bit
21675 concerned about the overhead here...
21677 2005-08-03 Andy Wingo <wingo@pobox.com>
21679 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21680 fixating is an error.
21682 2005-08-04 Edward Hervey <edward@fluendo.com>
21684 * gst/base/gstadapter.h:
21685 Added gst_adapter_get_type() to the header
21687 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21689 * check/Makefile.am:
21690 * check/gst-libs/controller.c:
21691 * libs/gst/controller/gst-controller.c:
21692 (gst_controller_new_valist):
21693 added check test suite for the controller
21694 * gst/base/gstpushsrc.c:
21697 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21699 * docs/gst/Makefile.am:
21700 * docs/gst/gstreamer-docs.sgml:
21701 * docs/gst/gstreamer-sections.txt:
21702 * docs/gst/gstreamer.types:
21703 * docs/gst/tmpl/gstfakesrc.sgml:
21705 * gst/base/gstbasesink.c:
21706 * gst/base/gstbasesink.h:
21707 * gst/base/gstbasesrc.c:
21708 * gst/base/gstbasesrc.h:
21709 * gst/base/gstbasetransform.c:
21710 * gst/base/gstpushsrc.c:
21711 * gst/base/gstpushsrc.h:
21712 add short/long description docs to base classes
21713 add pushsrc to the docs
21714 remove consolidated doc fragments
21716 2005-08-03 Stefan Kost <ensonic@users.sf.net>
21719 * docs/libs/Makefile.am:
21720 * docs/libs/gstreamer-libs-docs.sgml:
21721 * docs/libs/gstreamer-libs-sections.txt:
21722 * docs/libs/gstreamer-libs.types:
21723 * examples/Makefile.am:
21724 * examples/controller/.cvsignore:
21725 * examples/controller/Makefile.am:
21726 * examples/controller/audio-example.c: (main):
21727 * libs/gst/Makefile.am:
21728 * libs/gst/controller/.cvsignore:
21729 * libs/gst/controller/Makefile.am:
21730 * libs/gst/controller/gst-controller.c:
21731 (on_object_controlled_property_changed), (gst_timed_value_compare),
21732 (gst_timed_value_find),
21733 (gst_controlled_property_set_interpolation_mode),
21734 (gst_controlled_property_new), (gst_controlled_property_free),
21735 (gst_controller_find_controlled_property),
21736 (gst_controller_new_valist), (gst_controller_new),
21737 (gst_controller_remove_properties_valist),
21738 (gst_controller_remove_properties), (gst_controller_set),
21739 (gst_controller_set_from_list), (gst_controller_unset),
21740 (gst_controller_get), (gst_controller_get_all),
21741 (gst_controller_sink_values), (gst_controller_get_value_arrays),
21742 (gst_controller_get_value_array),
21743 (gst_controller_set_interpolation_mode),
21744 (_gst_controller_finalize), (_gst_controller_init),
21745 (_gst_controller_class_init), (gst_controller_get_type):
21746 * libs/gst/controller/gst-controller.h:
21747 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
21748 (g_object_uncontrol_properties), (g_object_get_controller),
21749 (g_object_set_controller), (g_object_sink_values),
21750 (g_object_get_value_arrays), (g_object_get_value_array):
21751 * libs/gst/controller/gst-interpolation.c:
21752 (gst_controlled_property_find_timed_value_node),
21753 (interpolate_none_get), (interpolate_trigger_get),
21754 (interpolate_trigger_get_value_array):
21755 * libs/gst/controller/lib.c: (gst_controller_init):
21756 * pkgconfig/Makefile.am:
21757 * pkgconfig/gstreamer-control-uninstalled.pc.in:
21758 * pkgconfig/gstreamer-control.pc.in:
21759 * testsuite/Makefile.am:
21760 * testsuite/controller/.cvsignore:
21761 * testsuite/controller/Makefile.am:
21762 * testsuite/controller/interpolator.c: (main):
21763 added controller code
21764 removed dparam pc files
21766 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
21767 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
21768 (gst_collectpads_stop):
21769 Broadcast the condition when shutting down, to make sure we wake all
21770 threads up. Shut down pads on finalize, for safety.
21772 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
21773 * gst/base/gstbasetransform.c: (gst_base_transform_init),
21774 (gst_base_transform_handle_buffer),
21775 (gst_base_transform_change_state):
21776 Handle PAUSED->READY->PAUSED transition after negotiation
21778 * gst/gstmessage.c: (gst_message_init):
21779 Extra piece of debug for new messages.
21781 2005-08-01 Stefan Kost <ensonic@users.sf.net>
21784 * docs/gst/tmpl/gstbasesrc.sgml:
21785 * docs/gst/tmpl/gstelement.sgml:
21786 * docs/gst/tmpl/gstevent.sgml:
21787 * docs/gst/tmpl/gstfakesrc.sgml:
21788 * docs/gst/tmpl/gstformat.sgml:
21789 * docs/gst/tmpl/gstghostpad.sgml:
21790 * docs/gst/tmpl/gstpad.sgml:
21791 * docs/gst/tmpl/gstquery.sgml:
21792 * docs/gst/tmpl/gststructure.sgml:
21793 * docs/gst/tmpl/gsttaglist.sgml:
21794 * docs/gst/tmpl/gstvalue.sgml:
21795 * docs/libs/gstreamer-libs-docs.sgml:
21796 * docs/libs/gstreamer-libs-sections.txt:
21797 * docs/libs/gstreamer-libs.types:
21798 * libs/gst/Makefile.am:
21799 * libs/gst/control/.cvsignore:
21800 * libs/gst/control/Makefile.am:
21801 * libs/gst/control/control.c:
21802 * libs/gst/control/control.h:
21803 * libs/gst/control/dparam.c:
21804 * libs/gst/control/dparam.h:
21805 * libs/gst/control/dparam_smooth.c:
21806 * libs/gst/control/dparam_smooth.h:
21807 * libs/gst/control/dparamcommon.h:
21808 * libs/gst/control/dparammanager.c:
21809 * libs/gst/control/dparammanager.h:
21810 * libs/gst/control/dplinearinterp.c:
21811 * libs/gst/control/dplinearinterp.h:
21812 * libs/gst/control/unitconvert.c:
21813 * libs/gst/control/unitconvert.h:
21814 * testsuite/Makefile.am:
21815 * testsuite/dynparams/.cvsignore:
21816 * testsuite/dynparams/Makefile.am:
21817 * testsuite/dynparams/dparamstest.c:
21818 * tools/Makefile.am:
21819 * tools/gst-inspect.c: (print_element_info), (main):
21820 * tools/gst-xmlinspect.c: (print_element_info), (main):
21821 deactivate and remove dparams (libgstcontrol)
21823 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21825 * gst/elements/gsttypefindelement.c:
21826 (gst_type_find_element_have_type), (gst_type_find_element_init),
21827 (stop_typefinding), (gst_type_find_element_handle_event),
21828 (gst_type_find_element_chain), (gst_type_find_element_getrange):
21829 * gst/elements/gsttypefindelement.h:
21830 Set caps on all outgoing buffers, not just the first one.
21832 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21834 * gst/elements/gsttypefindelement.c:
21835 (gst_type_find_element_have_type),
21836 (gst_type_find_element_check_set_buffer_caps),
21837 (gst_type_find_element_init), (stop_typefinding),
21838 (gst_type_find_element_handle_event),
21839 (gst_type_find_element_chain), (gst_type_find_element_getrange):
21840 * gst/elements/gsttypefindelement.h:
21841 Set caps on first outgoing buffer when we've found the type.
21843 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
21845 * docs/gst/gstreamer-docs.sgml:
21846 * docs/gst/gstreamer-sections.txt:
21847 * docs/gst/tmpl/gstscheduler.sgml:
21848 * docs/gst/tmpl/gstschedulerfactory.sgml:
21849 Remove some old cruft from docs.
21851 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
21854 Fix inline docs for GstPadLinkReturn.
21856 * gst/gststructure.c: (gst_structure_has_name):
21857 * gst/gststructure.h:
21858 * docs/gst/gstreamer-sections.txt:
21859 New API: gst_structure_has_name().
21861 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
21864 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
21865 and _LARGEFILE_SOURCE in config.h as required. Do not
21866 export those flags in our .pc files any longer (#142209).
21868 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
21870 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
21871 (gst_file_sink_do_seek), (gst_file_sink_event),
21872 (gst_file_sink_get_current_offset), (gst_file_sink_render):
21873 Redo seek/tell calls with large file support in mind; add some
21874 debugging messages; add log message that tells us when large
21875 file support is unavailable or not enabled for some reason.
21877 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
21878 Add log message that tells us when large file support
21879 is unavailable or not enabled for some reason.
21881 2005-07-29 Wim Taymans <wim@fluendo.com>
21883 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21884 Added test for removing an element with ghostpad from a bin.
21885 Fixed test as current implementation does the right thing.
21887 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
21888 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
21889 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
21890 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
21891 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
21892 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
21893 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
21894 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
21895 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
21896 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
21897 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
21898 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
21899 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
21900 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
21901 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
21902 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
21903 * gst/gstghostpad.h:
21904 Clean up ghostpads, remove properties for internal stuff.
21907 Prepare for switching targets, not all use cases work yet.
21909 2005-07-29 Wim Taymans <wim@fluendo.com>
21911 * docs/design/part-gstghostpad.txt:
21914 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21915 (gst_bin_remove_func):
21916 Unlinking pads while holding the bin LOCK is not a good
21919 * gst/gstpad.c: (gst_pad_class_init),
21920 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
21921 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
21922 No prob setting template after creating the pad.
21924 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
21926 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
21927 (gst_bus_peek), (gst_bus_source_dispatch),
21928 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
21929 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
21930 gst_bus_poll may be called from other threads. Handle
21931 this nicely by not making poll_data disappear off the
21932 stack once gst_bus_poll returns.
21933 gst_bus_peek now increments the refcount on the returned
21936 2005-07-29 Wim Taymans <wim@fluendo.com>
21938 * docs/design/part-gstghostpad.txt:
21939 Overview of current GhostPad datastructures and use
21940 cases for changing the target.
21942 2005-07-28 Wim Taymans <wim@fluendo.com>
21944 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
21945 Added checks for hierarchy consistency whan adding linked
21948 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21949 Added check to test element scheduling without bin/pipeline.
21951 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21952 First add elements to bin, then link.
21954 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
21955 (gst_bin_remove_func):
21956 Unlink pads from elements added/removed from bin to maintain
21957 hierarchy consistency.
21959 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21961 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
21962 (gst_base_transform_handle_buffer):
21963 * gst/base/gstbasetransform.h:
21964 Remove broken delay_configure (fixes renegotiation of software
21965 scaling pipelines); remove some leftover printf()s.
21967 2005-07-28 Wim Taymans <wim@fluendo.com>
21969 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
21970 Added some more tests for wrong hierarchy
21972 * docs/design/part-overview.txt:
21975 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
21978 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
21979 (gst_element_dispose):
21980 Some more cleanups.
21982 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
21983 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
21984 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
21985 (gst_pad_set_caps), (gst_pad_send_event):
21986 Check for correct hierarchy when linking pads. Moving to
21987 strict requirement for ghostpads when linking elements in
21991 Clean ups. Added WRONG_HIERARCHY return value.
21993 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
21995 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
21996 Better debug if no transform is possible.
21998 2005-07-27 Wim Taymans <wim@fluendo.com>
22000 * docs/random/wtay/network-transp:
22001 Some old doc I had.
22003 2005-07-27 Wim Taymans <wim@fluendo.com>
22005 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22006 (gst_dp_event_from_packet):
22007 Fix serialization of seek events.
22009 2005-07-27 Wim Taymans <wim@fluendo.com>
22011 * check/gst-libs/gdp.c: (GST_START_TEST):
22012 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22013 Fix compilation and fix event serialization.
22015 2005-07-27 Wim Taymans <wim@fluendo.com>
22018 * docs/design/part-TODO.txt:
22019 * docs/design/part-events.txt:
22022 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22023 (gst_base_sink_event), (gst_base_sink_do_sync),
22024 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22025 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22026 (gst_base_src_do_seek), (gst_base_src_event_handler),
22027 (gst_base_src_loop):
22028 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22029 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22030 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22031 (gst_base_transform_event), (gst_base_transform_handle_buffer),
22032 (gst_base_transform_set_passthrough),
22033 (gst_base_transform_is_passthrough):
22034 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22035 * gst/elements/gstfilesink.c: (gst_file_sink_event):
22041 * gst/gstelement.c: (gst_element_seek):
22042 * gst/gstelement.h:
22043 Update gst_element_seek.
22045 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
22046 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
22047 (gst_event_new_flush_start), (gst_event_new_flush_stop),
22048 (gst_event_new_eos), (gst_event_new_newsegment),
22049 (gst_event_parse_newsegment), (gst_event_new_tag),
22050 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
22051 (gst_event_parse_qos), (gst_event_new_seek),
22052 (gst_event_parse_seek), (gst_event_new_navigation):
22054 Make GstEvent use GstStructure. Add parsing code, make sure the
22055 API is sufficiently generic.
22056 Mark possible directions of events and serialization.
22058 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
22059 (_gst_message_copy), (gst_message_new_segment_start),
22060 (gst_message_new_segment_done), (gst_message_new_custom),
22061 (gst_message_parse_segment_start),
22062 (gst_message_parse_segment_done):
22065 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22066 (gst_pad_set_caps), (gst_pad_send_event):
22067 Update for new events.
22068 Catch events sent in wrong directions.
22070 * gst/gstqueue.c: (gst_queue_link_src),
22071 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
22072 (gst_queue_handle_src_query):
22077 Remove event code from this file.
22079 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22080 (gst_dp_event_from_packet):
22083 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22085 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
22086 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22087 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
22088 Make debugging actually useful.
22090 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22092 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
22093 (gst_pad_fixate_caps):
22094 Implement default fixation once again, so that gst_pad_fixate()
22095 actually does anything at all. This probably needs to be some
22096 sort of a last resort, and use profile-based fixation first, but
22097 since that doesn't exist yet, this is the best we have. Fixes
22098 visualization in Totem.
22100 2005-07-22 Wim Taymans <wim@fluendo.com>
22102 * docs/design/part-events.txt:
22105 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22106 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
22107 (gst_base_sink_activate_pull):
22108 Some more comments.
22110 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
22111 (gst_fake_src_create):
22112 Fix handoff marshall.
22114 * gst/elements/gstidentity.c: (gst_identity_class_init),
22115 (gst_identity_transform_ip):
22116 We're a real inplace element.
22118 * gst/gstbus.c: (gst_bus_post):
22119 Added some comments.
22121 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
22122 * tests/muxing/case1.c: (main):
22123 * tests/sched/dynamic-pipeline.c: (main):
22124 * tests/sched/interrupt1.c: (main):
22125 * tests/sched/interrupt2.c: (main):
22126 * tests/sched/interrupt3.c: (main):
22127 * tests/sched/runxml.c: (main):
22128 * tests/sched/sched-stress.c: (main):
22129 * tests/seeking/seeking1.c: (event_received), (main):
22130 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22132 * tests/threadstate/threadstate3.c: (main):
22133 * tests/threadstate/threadstate4.c: (main):
22134 * tests/threadstate/threadstate5.c: (main):
22137 2005-07-21 Wim Taymans <wim@fluendo.com>
22139 * docs/design/part-seeking.txt:
22140 Some small additions.
22142 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22143 (gst_base_sink_get_times), (gst_base_sink_do_sync),
22144 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22145 * gst/base/gstbasesink.h:
22146 discont values are gint64, handle the math correctly.
22148 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22149 Make the basesrc report error if the source pad is not linked.
22151 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22152 (gst_queue_loop), (gst_queue_handle_src_query),
22153 (gst_queue_src_activate_push):
22154 Make queue collect data even if the srcpad is not linked.
22155 Start pushing out data as soon as it is linked.
22157 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
22159 Added gst_flow_get_name() to ease error reporting.
22161 2005-07-20 Wim Taymans <wim@fluendo.com>
22163 * gst/gstmessage.c: (gst_message_new_segment_start),
22164 (gst_message_new_segment_done), (gst_message_parse_segment_start),
22165 (gst_message_parse_segment_done):
22166 * gst/gstmessage.h:
22167 Added a bunch of messages for advanced seeking.
22169 * gst/parse/grammar.y:
22170 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
22171 (gst_dpman_state_changed):
22172 Fix some new-pad -> pad-added signals
22174 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22176 * docs/manual/appendix-porting.xml:
22177 * docs/pwg/appendix-porting.xml:
22178 Document new-pad/state-change signal renames and the FixedList
22181 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22183 * docs/manual/advanced-autoplugging.xml:
22184 * docs/manual/basics-helloworld.xml:
22185 * docs/manual/basics-pads.xml:
22186 * docs/random/ds/0.9-suggested-changes:
22187 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
22188 * gst/gstelement.h:
22192 * gst/gststructure.c: (gst_structure_value_get_generic_type),
22193 (gst_structure_parse_array), (gst_structure_parse_value):
22194 * gst/gstvalue.c: (gst_type_is_fixed),
22195 (gst_value_list_prepend_value), (gst_value_list_append_value),
22196 (gst_value_list_get_size), (gst_value_list_get_value),
22197 (gst_value_transform_array_string), (gst_value_serialize_array),
22198 (gst_value_deserialize_array), (gst_value_intersect_array),
22199 (gst_value_is_fixed), (_gst_value_initialize):
22201 GstElement::new-pad -> pad-added, GstElement::state-change ->
22202 state-changed, GstValueFixedList -> GstValueArray, add format and
22203 flags as their own arguments in gst_element_seek() (should improve
22204 "bindeability"), remove function generators since they don't work
22205 under a whole bunch of compilers (they were deprecated already
22208 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22210 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22211 (_gst_debug_register_funcptr):
22213 Fix illegal cast on some platforms (#309253).
22215 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22217 * gst/gstmessage.c: (gst_message_new_custom):
22218 * gst/gstmessage.h:
22219 Add _new_custom, make _new_application a macro to _new_custom.
22221 2005-07-20 Wim Taymans <wim@fluendo.com>
22223 * gst/base/gstbasesrc.c: (gst_base_src_init),
22224 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22225 * gst/base/gstbasesrc.h:
22226 Add a gboolean to decide when to push out a discont.
22228 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22229 (gst_queue_loop), (gst_queue_handle_src_query),
22230 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
22231 (gst_queue_set_property), (gst_queue_get_property):
22234 * tests/threadstate/threadstate1.c: (main):
22235 Make a thread test compile and run... very silly..
22238 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22240 * docs/manual/appendix-porting.xml:
22241 Mention removal of libgstgconf-0.9.la and existence of gconf
22244 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22246 * docs/pwg/advanced-clock.xml:
22247 * docs/pwg/appendix-porting.xml:
22248 * docs/pwg/intro-preface.xml:
22249 * docs/pwg/other-base.xml:
22250 * docs/pwg/other-manager.xml:
22251 * docs/pwg/other-nton.xml:
22252 * docs/pwg/other-ntoone.xml:
22253 * docs/pwg/other-oneton.xml:
22254 * docs/pwg/pwg.xml:
22255 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
22256 demuxer), remove n-to-n (was never written), fix some code examples
22257 and links and update the porting section to include all this.
22259 2005-07-19 Wim Taymans <wim@fluendo.com>
22261 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
22262 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
22263 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
22264 (gst_queue_src_activate_push), (gst_queue_change_state),
22265 (gst_queue_get_property):
22267 Propagate GstFlowReturn more intelligently upstream and output
22268 an ERROR/EOS when streaming stopped due to fatal error.
22270 2005-07-19 Wim Taymans <wim@fluendo.com>
22272 * tools/gst-launch.c: (check_intr), (event_loop), (main):
22273 Don't block forever for the state change to complete, the
22274 pipeline already did with a sensible timeout.
22276 2005-07-19 Wim Taymans <wim@fluendo.com>
22278 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22279 Make sure we never call the create function is we
22282 2005-07-19 Andy Wingo <wingo@pobox.com>
22284 * gst/parse/parse.l: Attempt to solve bug #172815.
22286 2005-07-19 Wim Taymans <wim@fluendo.com>
22288 * docs/design/part-clocks.txt:
22289 * docs/design/part-events.txt:
22290 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
22291 Small docs updates.
22292 Only update the seeking values when we are not
22295 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
22297 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22298 Oops, ignore the result of gst_pad_push_event here.
22300 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
22302 * gst/base/gstbasesrc.c: (gst_base_src_loop),
22303 (gst_base_src_activate_push):
22304 Send discont event from the loop function, as pads
22305 aren't activated yet in the activate_push handler.
22307 * gst/gstbin.c: (bin_bus_handler):
22308 Don't leak element name.
22310 2005-07-18 Andy Wingo <wingo@pobox.com>
22312 * configure.ac: Use AS_LIBTOOL_TAGS.
22314 2005-07-18 Wim Taymans <wim@fluendo.com>
22316 * docs/gst/gstreamer.types:
22317 Remove deleted types.
22319 2005-07-18 Wim Taymans <wim@fluendo.com>
22321 * check/elements/gstfakesrc.c: (GST_START_TEST):
22324 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
22325 (init_popt_callback):
22327 * gst/gst_private.h:
22328 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
22329 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
22332 * gst/gstconfig.h.in:
22333 * gst/gstelement.c: (gst_element_class_init),
22334 (gst_element_set_base_time), (gst_element_get_base_time),
22335 (iterator_fold_with_resync), (gst_element_change_state),
22336 (gst_element_dispose), (gst_element_get_bus):
22337 * gst/gstelement.h:
22338 * gst/gstelementfactory.h:
22339 * gst/gsterror.c: (_gst_core_errors_init):
22342 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22344 * gst/gstinfo.c: (_gst_debug_init):
22345 * gst/gstmessage.c: (_gst_message_copy):
22346 * gst/gstmessage.h:
22347 * gst/gstminiobject.h:
22350 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22351 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
22354 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22355 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22356 (gst_pipeline_get_last_stream_time):
22357 * gst/gstpipeline.h:
22358 * gst/gstpluginfeature.h:
22360 * gst/gstscheduler.c:
22361 * gst/gstscheduler.h:
22362 * gst/gststructure.h:
22363 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22364 (gst_task_finalize), (gst_task_func), (gst_task_create),
22365 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
22366 (gst_task_stop), (gst_task_pause):
22368 * gst/gsttypefind.h:
22370 * gst/registries/gstlibxmlregistry.c: (load_feature),
22371 (gst_xml_registry_load), (gst_xml_registry_save_feature):
22372 * gst/registries/gstxmlregistry.c:
22373 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
22374 * gst/schedulers/threadscheduler.c:
22375 * libs/gst/control/dparammanager.h:
22376 * tools/gst-inspect.c: (print_element_list),
22377 (print_plugin_features), (print_element_features):
22378 * tools/gst-xmlinspect.c: (print_element_list),
22379 (print_plugin_info), (main):
22380 Removed plugable schedulers.
22381 Removed Scheduler/Manager from elements.
22382 Removed gsttypes.h, rearranged includes.
22383 Removed dependency pad<->element, element<>pipeline, and
22384 various others, fix includes.
22385 implement gst_pad_get_parent() with gst_object_get_parent()
22386 Make GstTask sefcontained.
22387 Fix _get_state() on GstBin, it did not return ASYNC with a 0
22389 Fix endless loop in iterator_fold_with_resync.
22392 2005-07-18 Wim Taymans <wim@fluendo.com>
22398 2005-07-18 Wim Taymans <wim@fluendo.com>
22401 No more cothreads.h
22403 2005-07-18 Wim Taymans <wim@fluendo.com>
22407 Let's remove these.
22409 2005-07-18 Wim Taymans <wim@fluendo.com>
22411 * docs/design/part-dynamic.txt:
22412 * docs/design/part-events.txt:
22413 * docs/design/part-seeking.txt:
22414 Some more docs in the works.
22416 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22417 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22418 (gst_base_transform_setcaps), (gst_base_transform_get_size),
22419 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22420 (gst_base_transform_handle_buffer),
22421 (gst_base_transform_sink_activate_push),
22422 (gst_base_transform_src_activate_pull),
22423 (gst_base_transform_set_passthrough),
22424 (gst_base_transform_is_passthrough):
22427 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22430 * gst/gstevent.c: (gst_event_finalize):
22433 * gst/gstutils.c: (gst_element_unlink),
22434 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22435 (gst_pad_proxy_setcaps):
22437 Add _get_parent_element() to get a pads parent as an element.
22439 2005-07-18 Wim Taymans <wim@fluendo.com>
22441 * check/gst/gstbin.c: (GST_START_TEST):
22444 2005-07-18 Wim Taymans <wim@fluendo.com>
22446 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22447 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22448 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22449 (gst_base_sink_event), (gst_base_sink_do_sync),
22450 (gst_base_sink_chain), (gst_base_sink_loop),
22451 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22452 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
22454 Fix logic for returning ASYNC when not prerolled.
22456 2005-07-18 Wim Taymans <wim@fluendo.com>
22458 * gst/gstqueue.c: (gst_queue_handle_sink_event):
22459 Fix nasty refcount bug.
22461 2005-07-16 Philippe Khalaf <burger@speedy.org>
22463 * gst/elements/gstfdsrc.c:
22464 * gst/elements/gstfdsrc.h:
22465 * gst/elements/gstelements.c:
22466 * gst/elements/Makefile.am:
22467 Ported fdsrc to 0.9.
22469 2005-07-16 Wim Taymans <wim@fluendo.com>
22471 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22472 (gst_base_sink_do_sync):
22475 2005-07-16 Wim Taymans <wim@fluendo.com>
22477 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22478 (gst_base_sink_event), (gst_base_sink_get_times),
22479 (gst_base_sink_do_sync), (gst_base_sink_change_state):
22480 * gst/base/gstbasesink.h:
22481 Store and use discont values when syncing buffers as described
22484 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22485 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
22486 (gst_base_src_activate_push):
22487 Push discont event when starting.
22489 * gst/elements/gstidentity.c: (gst_identity_transform):
22492 * gst/gstbin.c: (gst_bin_change_state):
22493 Small cleanups in base_time distribution.
22495 * gst/gstelement.c: (gst_element_set_base_time),
22496 (gst_element_get_base_time), (gst_element_change_state):
22497 * gst/gstelement.h:
22498 Added methods for the base_time of the element.
22501 * gst/gstpipeline.c: (gst_pipeline_send_event),
22502 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22503 (gst_pipeline_get_last_stream_time):
22504 * gst/gstpipeline.h:
22506 Handle seeking as described in design doc, remove stream_time
22508 Cleanups clock and stream_time selection code. Added accessors
22509 for the stream_time.
22512 2005-07-16 Andy Wingo <wingo@pobox.com>
22514 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22517 2005-07-16 Wim Taymans <wim@fluendo.com>
22519 * check/gst/gstbin.c: (GST_START_TEST):
22520 Make elements silent as the deep_notify refs the
22521 parent, which might make the test fail.
22523 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22524 Don't hold the lock for too long.
22526 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
22528 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22529 Don't unref the caps we passed to gst_caps_make_writable() after
22530 passing them. gst_caps_make_writable() will do that for us.
22532 2005-07-15 Andy Wingo <wingo@pobox.com>
22534 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22537 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22538 own marshalling function for the handoff signal. Properly type the
22539 buffer as a buffer. Fixes some warnings. Should do a more general
22541 (gst_identity_class_init): Plug into the right marshaller.
22543 2005-07-15 Wim Taymans <wim@fluendo.com>
22545 * docs/design/part-TODO.txt:
22546 * docs/design/part-clocks.txt:
22547 * docs/design/part-element-sink.txt:
22548 * docs/design/part-events.txt:
22549 * docs/design/part-gstpipeline.txt:
22550 Updated docs, mostly DISCONT related.
22552 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
22554 * docs/pwg/building-pads.xml:
22555 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22557 2005-07-15 Andy Wingo <wingo@pobox.com>
22559 * tools/gst-typefind.c: Update, add copyright block.
22561 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22562 Normalize and truncate caps before fixation.
22565 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22566 discards all but the first structure from its argument.
22568 2005-07-15 Wim Taymans <wim@fluendo.com>
22570 * gst/base/gstbasetransform.c: (gst_base_transform_init),
22571 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22572 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22573 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22574 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22575 (gst_base_transform_chain), (gst_base_transform_change_state),
22576 (gst_base_transform_set_passthrough),
22577 (gst_base_transform_is_passthrough):
22578 * gst/base/gstbasetransform.h:
22579 Make passthrough work using the bufferpools.
22580 Changed API a bit, subclasses have to write into a buffer
22581 provided by the base class.
22582 More debug info in nego functions.
22584 * gst/elements/gstidentity.c: (gst_identity_init),
22585 (gst_identity_transform):
22586 Port to new base class.
22588 2005-07-15 Wim Taymans <wim@fluendo.com>
22590 * gst/gstmessage.c: (gst_message_new_state_changed):
22591 * tools/gst-launch.c: (event_loop), (main):
22592 Totally dump messages in -launch with the -m option.
22593 Fix message name for State messages,
22595 2005-07-14 Wim Taymans <wim@fluendo.com>
22597 * gst/base/gstbasesrc.c: (gst_base_src_loop):
22598 Post error messages on errors.
22600 2005-07-14 Wim Taymans <wim@fluendo.com>
22602 * gst/gstcaps.c: (gst_caps_do_simplify):
22606 Define error for stream stopped.
22608 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22609 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22610 Do proper return values.
22612 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22613 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22614 (gst_pad_get_range):
22615 Better return values.
22618 Reorganise return values, add macro to check for fatal errors.
22620 * gst/gstqueue.c: (gst_queue_chain):
22621 Return proper GstFlowReturn values,
22623 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
22625 * docs/gst/gstreamer-sections.txt:
22626 * docs/gst/gstreamer.types:
22627 * docs/gst/tmpl/gst.sgml:
22628 * docs/gst/tmpl/gstbasesink.sgml:
22629 * docs/gst/tmpl/gstbasesrc.sgml:
22630 * docs/gst/tmpl/gstbasetransform.sgml:
22631 * docs/gst/tmpl/gstbin.sgml:
22632 * docs/gst/tmpl/gstbuffer.sgml:
22633 * docs/gst/tmpl/gstcaps.sgml:
22634 * docs/gst/tmpl/gstclock.sgml:
22635 * docs/gst/tmpl/gstcompat.sgml:
22636 * docs/gst/tmpl/gstconfig.sgml:
22637 * docs/gst/tmpl/gstelement.sgml:
22638 * docs/gst/tmpl/gstelementdetails.sgml:
22639 * docs/gst/tmpl/gstelementfactory.sgml:
22640 * docs/gst/tmpl/gstenumtypes.sgml:
22641 * docs/gst/tmpl/gsterror.sgml:
22642 * docs/gst/tmpl/gstevent.sgml:
22643 * docs/gst/tmpl/gstfakesink.sgml:
22644 * docs/gst/tmpl/gstfakesrc.sgml:
22645 * docs/gst/tmpl/gstfilesink.sgml:
22646 * docs/gst/tmpl/gstfilesrc.sgml:
22647 * docs/gst/tmpl/gstfilter.sgml:
22648 * docs/gst/tmpl/gstformat.sgml:
22649 * docs/gst/tmpl/gstghostpad.sgml:
22650 * docs/gst/tmpl/gstimplementsinterface.sgml:
22651 * docs/gst/tmpl/gstindex.sgml:
22652 * docs/gst/tmpl/gstindexfactory.sgml:
22653 * docs/gst/tmpl/gstinfo.sgml:
22654 * docs/gst/tmpl/gstiterator.sgml:
22655 * docs/gst/tmpl/gstmacros.sgml:
22656 * docs/gst/tmpl/gstmemchunk.sgml:
22657 * docs/gst/tmpl/gstminiobject.sgml:
22658 * docs/gst/tmpl/gstobject.sgml:
22659 * docs/gst/tmpl/gstpad.sgml:
22660 * docs/gst/tmpl/gstpadtemplate.sgml:
22661 * docs/gst/tmpl/gstparse.sgml:
22662 * docs/gst/tmpl/gstpipeline.sgml:
22663 * docs/gst/tmpl/gstplugin.sgml:
22664 * docs/gst/tmpl/gstpluginfeature.sgml:
22665 * docs/gst/tmpl/gstquery.sgml:
22666 * docs/gst/tmpl/gstqueue.sgml:
22667 * docs/gst/tmpl/gstregistry.sgml:
22668 * docs/gst/tmpl/gstregistrypool.sgml:
22669 * docs/gst/tmpl/gstscheduler.sgml:
22670 * docs/gst/tmpl/gstschedulerfactory.sgml:
22671 * docs/gst/tmpl/gststructure.sgml:
22672 * docs/gst/tmpl/gstsystemclock.sgml:
22673 * docs/gst/tmpl/gsttaglist.sgml:
22674 * docs/gst/tmpl/gsttagsetter.sgml:
22675 * docs/gst/tmpl/gsttrace.sgml:
22676 * docs/gst/tmpl/gsttrashstack.sgml:
22677 * docs/gst/tmpl/gsttypefind.sgml:
22678 * docs/gst/tmpl/gsttypefindfactory.sgml:
22679 * docs/gst/tmpl/gsttypes.sgml:
22680 * docs/gst/tmpl/gsturihandler.sgml:
22681 * docs/gst/tmpl/gsturitype.sgml:
22682 * docs/gst/tmpl/gstutils.sgml:
22683 * docs/gst/tmpl/gstvalue.sgml:
22684 * docs/gst/tmpl/gstversion.sgml:
22685 * docs/gst/tmpl/gstxml.sgml:
22686 * docs/libs/tmpl/gstcontrol.sgml:
22687 * docs/libs/tmpl/gstdataprotocol.sgml:
22688 * docs/libs/tmpl/gstdparam.sgml:
22689 * docs/libs/tmpl/gstdplinint.sgml:
22690 * docs/libs/tmpl/gstdpman.sgml:
22691 * docs/libs/tmpl/gstdpsmooth.sgml:
22692 * docs/libs/tmpl/gstgetbits.sgml:
22693 * docs/libs/tmpl/gstunitconvert.sgml:
22694 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22695 (gst_push_src_base_init), (gst_push_src_class_init),
22696 (gst_push_src_init), (gst_push_src_create):
22697 * gst/base/gstpushsrc.h:
22698 * gst/elements/gstelements.c:
22699 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22700 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22701 (gst_fake_sink_init), (gst_fake_sink_set_property),
22702 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22703 (gst_fake_sink_event), (gst_fake_sink_preroll),
22704 (gst_fake_sink_render), (gst_fake_sink_change_state):
22705 * gst/elements/gstfakesink.h:
22706 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22707 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22708 (gst_fake_src_base_init), (gst_fake_src_class_init),
22709 (gst_fake_src_init), (gst_fake_src_event_handler),
22710 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22711 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22712 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22713 (gst_fake_src_create_buffer), (gst_fake_src_create),
22714 (gst_fake_src_start), (gst_fake_src_stop):
22715 * gst/elements/gstfakesrc.h:
22716 * gst/elements/gstfilesink.c: (_do_init),
22717 (gst_file_sink_base_init), (gst_file_sink_class_init),
22718 (gst_file_sink_init), (gst_file_sink_dispose),
22719 (gst_file_sink_set_location), (gst_file_sink_set_property),
22720 (gst_file_sink_get_property), (gst_file_sink_open_file),
22721 (gst_file_sink_close_file), (gst_file_sink_query),
22722 (gst_file_sink_event), (gst_file_sink_render),
22723 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22724 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22725 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22726 * gst/elements/gstfilesink.h:
22727 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22728 (gst_file_src_class_init), (gst_file_src_init),
22729 (gst_file_src_finalize), (gst_file_src_set_location),
22730 (gst_file_src_set_property), (gst_file_src_get_property),
22731 (gst_file_src_map_region), (gst_file_src_map_small_region),
22732 (gst_file_src_create_mmap), (gst_file_src_create_read),
22733 (gst_file_src_create), (gst_file_src_is_seekable),
22734 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
22735 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
22736 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
22737 (gst_file_src_uri_handler_init):
22738 * gst/elements/gstfilesrc.h:
22739 more autistic cleanliness in functions/names/defines
22741 2005-07-13 Andy Wingo <wingo@pobox.com>
22743 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
22744 source couldn't negotiate.
22746 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
22750 * gst/gstutils.c (gst_element_link_pads_filtered): New old
22751 function. I am channeling Hades. Put your boots on suckers!!!
22753 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
22755 * testsuite/caps/Makefile.am:
22756 * testsuite/caps/value_compare.c:
22757 * testsuite/caps/value_intersect.c:
22758 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
22759 move two testsuite apps over to the check dir
22761 2005-07-12 Wim Taymans <wim@fluendo.com>
22763 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22764 Added more debug info in the negotiate process.
22766 * gst/gstmessage.h:
22767 Prepare for segment playback.
22769 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
22775 * tools/gst-launch.c: (main):
22776 NULL pipeline on errors.
22778 2005-07-12 Andy Wingo <wingo@pobox.com>
22780 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
22781 not it comes from a malloc region. Make sure our copy gets freed.
22783 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22785 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22786 * check/gst/gstmessage.c: (GST_START_TEST):
22787 * check/gst/gststructure.c: (GST_START_TEST),
22788 (gst_structure_suite), (main):
22790 * gst/gstelement.c: (gst_element_message_full):
22791 clean up GError and debug string now that they get copied
22792 * gst/gstmessage.c: (gst_message_new_error),
22793 (gst_message_new_warning), (gst_message_parse_error),
22794 (gst_message_parse_warning):
22795 use GST_TYPE_G_ERROR for structure_new, and take copies of
22796 arguments, so that we don't mess up refcounting
22798 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22800 * check/Makefile.am:
22801 add per-test valgrind targets
22802 * check/gst-libs/gdp.c: (GST_START_TEST),
22803 (gst_data_protocol_suite), (main):
22806 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
22808 * check/Makefile.am:
22809 instate more valgrindable tests
22810 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22811 (GST_START_TEST), (fakesrc_suite):
22812 * check/gst/gstpad.c: (GST_START_TEST):
22813 * check/gst/gststructure.c: (GST_START_TEST):
22815 * docs/gst/tmpl/gstminiobject.sgml:
22816 * gst/gstpad.c: (gst_pad_finalize):
22817 fix the static mutex leak
22819 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22821 * check/Makefile.am:
22822 add two more tests for valgrinding
22823 * check/gst/gstvalue.c: (GST_START_TEST):
22824 test refcount of deserialized buffer, found a leak
22825 * docs/gst/gstreamer-docs.sgml:
22826 * docs/gst/gstreamer-sections.txt:
22827 * docs/gst/gstreamer.types:
22828 * docs/gst/tmpl/gstminiobject.sgml:
22829 add miniobject to docs
22830 * gst/gstminiobject.c:
22832 * gst/gstvalue.c: (gst_value_deserialize_buffer),
22833 (gst_string_unwrap):
22834 fix a hard-to-find invalid write for one of the tests
22835 fix a leak for deserialized buffers
22837 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
22839 * docs/pwg/advanced-events.xml:
22840 * docs/pwg/advanced-request.xml:
22841 * docs/pwg/advanced-scheduling.xml:
22842 * docs/pwg/appendix-porting.xml:
22843 * docs/pwg/building-boiler.xml:
22844 * docs/pwg/intro-preface.xml:
22845 * docs/pwg/other-ntoone.xml:
22846 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
22847 of example code and explanation for pad activation, loop() and
22848 getrange() functions and a bit more. Remove old comments pointing
22850 * examples/pwg/Makefile.am:
22851 Add loop/getrange examples.
22853 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22856 check for valgrind binary + some fixes
22858 valgrind suppressions for the tests
22859 * check/Makefile.am:
22860 add a valgrind: target that valgrinds the unit tests
22861 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
22862 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22863 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22864 * check/gst/gstghostpad.c:
22866 * check/gst/gstdata.c:
22868 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
22869 (thread_unref), (gst_mini_object_suite), (main):
22871 * gst/gst.c: (gst_deinit):
22873 add a method to clean up.
22874 * gst/gstsystemclock.c: (gst_system_clock_dispose),
22875 (gst_system_clock_obtain):
22876 allow for disposing the system clock.
22877 * tools/gst-launch.c: (main):
22880 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
22882 * docs/gst/tmpl/gstbasesrc.sgml:
22883 * docs/gst/tmpl/gstfakesrc.sgml:
22884 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22885 (gst_base_src_init), (gst_base_src_set_property),
22886 (gst_base_src_get_property), (gst_base_src_get_range),
22887 (gst_base_src_start):
22888 * gst/base/gstbasesrc.h:
22889 add num-buffers property
22890 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
22891 (gst_fakesrc_init), (gst_fakesrc_set_property),
22892 (gst_fakesrc_get_property), (gst_fakesrc_create),
22893 (gst_fakesrc_start):
22894 remove num-buffers property
22896 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22898 * docs/gst/gstreamer-sections.txt:
22899 * docs/gst/tmpl/gstbasesink.sgml:
22900 * docs/gst/tmpl/gstbasesrc.sgml:
22901 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22902 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22903 (gst_base_sink_finalize), (gst_base_sink_set_clock),
22904 (gst_base_sink_set_property), (gst_base_sink_get_property),
22905 (gst_base_sink_handle_object), (gst_base_sink_event),
22906 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
22907 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
22908 (gst_base_sink_loop), (gst_base_sink_deactivate),
22909 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
22910 (gst_base_sink_change_state):
22911 * gst/base/gstbasesink.h:
22912 * gst/base/gstbasesrc.h:
22913 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
22914 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
22915 (gst_filesink_init):
22916 more macro splitting
22918 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22920 * gst/gstelement.c: (gst_element_get_bus):
22922 * tools/gst-launch.c: (check_intr), (event_loop):
22925 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22927 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
22930 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
22932 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
22933 (gst_base_src_finalize):
22934 add finalize method and clean up properly
22935 * gst/gstpipeline.c: (gst_pipeline_dispose):
22938 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22940 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
22942 add more things to check
22943 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
22944 * gst/gstelement.c:
22947 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22949 * check/elements/gstfakesrc.c: (chain_func), (event_func),
22950 (GST_START_TEST), (fakesrc_suite):
22951 * check/gst-libs/gdp.c: (GST_START_TEST):
22952 * check/gst/gst.c: (GST_START_TEST):
22953 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22954 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
22955 * check/gst/gstbus.c: (GST_START_TEST):
22956 * check/gst/gstcaps.c: (GST_START_TEST):
22957 * check/gst/gstdata.c: (GST_START_TEST):
22958 * check/gst/gstelement.c: (GST_START_TEST):
22959 * check/gst/gstghostpad.c: (GST_START_TEST):
22960 * check/gst/gstiterator.c: (GST_START_TEST):
22961 * check/gst/gstmessage.c: (GST_START_TEST):
22962 * check/gst/gstobject.c: (GST_START_TEST):
22963 * check/gst/gstpad.c: (GST_START_TEST):
22964 * check/gst/gststructure.c: (GST_START_TEST):
22965 * check/gst/gstsystemclock.c: (GST_START_TEST),
22966 (gst_systemclock_suite):
22967 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
22968 * check/gst/gstvalue.c: (GST_START_TEST):
22969 * check/pipelines/cleanup.c: (GST_START_TEST):
22970 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22971 * check/states/sinks.c: (GST_START_TEST):
22972 * check/gstcheck.c: (gst_check_init):
22973 * check/gstcheck.h:
22974 add debugging category
22975 use GST_START_TEST now, so we add a debug line
22977 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
22979 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
22980 add test for state change message on a bin
22981 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
22983 * gst/gstbin.c: (gst_bin_init):
22984 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
22985 * gst/gstelement.c: (gst_element_post_message),
22986 (gst_element_set_state):
22987 * gst/gstelementfactory.c: (gst_element_factory_create):
22988 * gst/gstmessage.c: (gst_message_new):
22989 * gst/gstscheduler.c:
22990 various debugging additions and cleanups
22992 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
22994 * check/Makefile.am:
22995 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
22997 adding tests for elements
22998 * gst/gstelement.c: (gst_element_dispose):
23000 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
23002 * gst/registries/gstlibxmlregistry.c: (load_feature):
23003 plug more leaks. A simple gst_init() now is leakfree, yay.
23005 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
23007 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
23008 (gst_xml_registry_load):
23009 plug another memleak
23011 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
23014 use GST_SET_ERROR_CFLAGS
23015 * docs/faq/cvs.xml:
23016 change to ERROR_CFLAGS
23018 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
23021 make GST_ERROR_CFLAGS overridable and re-enable Werror
23022 * docs/faq/cvs.xml:
23023 add a note about error CFLAGS
23024 * docs/gst/tmpl/gstfakesrc.sgml:
23025 * gst/elements/gstfakesrc.c:
23026 comment out some unused code
23027 * gst/gst.c: (split_and_iterate):
23028 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
23032 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
23034 * common/Makefile.am:
23035 * common/gtk-doc.mak:
23036 * docs/gst/Makefile.am:
23037 factor out gtk-doc.mak
23039 2005-07-07 Wim Taymans <wim@fluendo.com>
23041 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
23042 (gst_thread_scheduler_dispose):
23043 Unlock the STREAM_LOCK completely.
23045 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
23047 * check/Makefile.am:
23048 * check/elements/.cvsignore:
23049 * check/elements/gstfakesrc.c: (chain_func), (event_func),
23050 (START_TEST), (fakesrc_suite), (main):
23051 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23052 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
23053 (gst_fakesrc_create), (gst_fakesrc_start):
23054 * gst/elements/gstfakesrc.h:
23055 adding a first element test
23057 2005-07-07 Andy Wingo <wingo@pobox.com>
23059 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
23062 2005-07-07 Wim Taymans <wim@fluendo.com>
23068 2005-07-07 Wim Taymans <wim@fluendo.com>
23070 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
23071 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
23072 Allow subclasses to implement their own negotiation.
23074 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
23076 * docs/design/part-gstbin.txt:
23077 * docs/design/part-gstpipeline.txt:
23078 Update design notes to reflect the movement of
23079 responsibility for bus handling from GstPipeline to
23082 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
23085 Remove unnecessary queue2/3/4 examples.
23087 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
23089 * examples/Makefile.am:
23090 * examples/helloworld/helloworld.c: (event_loop), (main):
23091 * examples/queue/queue.c: (event_loop), (main):
23092 * examples/queue2/queue2.c: (main):
23093 Update a couple of the examples to work again.
23095 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23096 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
23097 Spelling corrections and extra debug.
23099 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
23100 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
23101 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
23103 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
23104 (gst_pipeline_change_state):
23105 * gst/gstpipeline.h:
23106 Move the bus handler for children to the GstBin, and create a
23107 separate bus for receiving messages from children to the one the
23108 bus sends 'upwards' on.
23110 2005-07-06 Wim Taymans <wim@fluendo.com>
23113 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23114 (gst_base_sink_handle_object), (gst_base_sink_loop),
23115 (gst_base_sink_change_state):
23116 * gst/base/gstbasesink.h:
23117 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23118 (gst_base_src_init), (gst_base_src_setcaps),
23119 (gst_base_src_getcaps), (gst_base_src_loop),
23120 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
23121 (gst_base_src_start), (gst_base_src_change_state):
23122 * gst/base/gstbasesrc.h:
23123 Make basesrc negotiate.
23124 Handle the case where preroll fails in basesink.
23127 2005-07-06 Wim Taymans <wim@fluendo.com>
23129 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
23130 Implement the fixate function.
23131 Clean up acceptcaps.
23133 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23135 * docs/pwg/building-filterfactory.xml:
23136 * docs/pwg/pwg.xml:
23137 Remove never-written filter-factory chapter; I'll add the various
23138 base classes to part 4 ("other element types") later on.
23140 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23142 * docs/pwg/advanced-negotiation.xml:
23143 * docs/pwg/building-boiler.xml:
23144 * docs/pwg/building-pads.xml:
23145 * docs/pwg/pwg.xml:
23146 * examples/pwg/Makefile.am:
23147 Add a chapter on caps negotiation, simplify the original code
23148 samples a bit w.r.t. caps negotiation, add link to the advanced
23149 section. Add a bunch of examples showing different use cases of
23150 different types of caps negotiation. Upstream renegotiation isn't
23151 fully documented yet since nobody knows how that works.
23153 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
23155 * check/gst/gstpad.c:
23156 * check/gstcheck.c:
23157 * gst/gstpad.c: (gst_pad_get_internal_links_default):
23158 if pad has no parent, return NULL as list of internal links
23160 2005-07-05 Andy Wingo <wingo@pobox.com>
23162 * gst/elements/gstfilesrc.c:
23163 * gst/elements/gstfakesrc.c:
23164 * gst/base/gstpushsrc.c:
23165 * gst/base/gstbasesrc.h:
23166 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
23168 2005-07-05 Stefan Kost <ensonic@users.sf.net>
23171 better report generation target (lcov needs a patch)
23173 2005-07-05 Andy Wingo <wingo@pobox.com>
23175 * gst/elements, testsuite: Null if we got it...
23177 2005-07-05 Wim Taymans <wim@fluendo.com>
23180 * libs/gst/dataprotocol/Makefile.am:
23181 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
23182 * libs/gst/dataprotocol/dataprotocol.h:
23183 * pkgconfig/Makefile.am:
23184 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
23185 * pkgconfig/gstreamer-dataprotocol.pc.in:
23186 Ported dataprotol to 0.9.
23187 Added pkgconfig files.
23189 2005-07-05 Andy Wingo <wingo@pobox.com>
23191 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
23192 Default to returning TRUE for the case when tranform_caps returns
23193 a fixed caps, like for identity or volume.
23195 * check/gst/gstbus.c (pound_bus_with_messages):
23196 * check/gst/gstmessage.c (START_TEST):
23197 * check/pipelines/simple_launch_lines.c (got_handoff): Application
23198 message API change.
23200 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
23201 logic weaks here: always run transform_caps, trying passthrough
23202 operation only if the original caps intersects with the transform.
23204 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
23205 source and sink caps.
23207 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
23208 Intersect the peer caps with the pad template before going into
23210 (gst_base_transform_transform_caps): More debugging.
23212 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
23215 2005-07-04 Edward Hervey <edward@fluendo.com>
23219 (gst_pad_add_*_probe): now returns the signal id for better wrapping
23222 2005-07-04 Andy Wingo <wingo@pobox.com>
23224 * check/gst/gstpad.c: Only set explicit caps on pads.
23226 2005-07-01 Andy Wingo <wingo@pobox.com>
23228 * tests/network-clock.scm: Commentary update.
23230 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
23231 Didn't really make sense, not implementable with basetransform,
23233 (gst_identity_transform): Unref inbuf via make_writable. Feeble
23234 attempt at implementing the sync property, needs an unlock method.
23236 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
23237 New func, by default returns the same caps (the identity
23239 (gst_base_transform_getcaps): Uses transform_caps to return
23240 something sensible.
23241 (gst_base_transform_setcaps): Complicated logic to get caps on
23242 both pads, even if they are different, and to call set_caps once
23243 for every time both pads get their caps set.
23244 (gst_base_transform_handle_buffer): Give the ref to the transform
23245 function. Allows in-place modification of the buffer.
23247 * gst/base/gstbasetransform.h (transform_caps): New class method.
23248 Given caps on one side, what can I do on the other.
23249 (set_caps): Take two caps, one for each side of the element.
23252 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
23253 caps in place. This is safe because we can check the mutability of
23254 the caps, and a good idea because fixate functions are just called
23255 as a matter of last resort. (Not actually implemented.)
23256 (gst_pad_set_caps): If the caps we're setting is actually the same
23257 as the existing pad caps, just update the pointer without calling
23258 setcaps. Assert that caps is either NULL or fixed, as per the
23261 * gst/gstghostpad.c: Update for fixate changes.
23263 2005-07-02 Andy Wingo <wingo@pobox.com>
23266 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
23267 two refcounts makes it immutable, which is enough. Doc more.
23269 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
23271 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
23272 Put the mini_object into GValue as a mini_object,
23273 not a gpointer, since that's how we declared
23276 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23278 * examples/pwg/Makefile.am:
23279 Fix buildbot again.
23281 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23283 * docs/pwg/building-testapp.xml:
23285 * examples/pwg/Makefile.am:
23288 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23291 * examples/Makefile.am:
23292 * examples/pwg/Makefile.am:
23293 * examples/pwg/extract.pl:
23294 Enable building the PWG examples.
23295 * docs/pwg/advanced-interfaces.xml:
23296 Add URI interface stub.
23297 * docs/pwg/advanced-types.xml:
23298 * docs/pwg/other-autoplugger.xml:
23299 * docs/pwg/appendix-porting.xml:
23300 * docs/pwg/pwg.xml:
23301 Add porting guide (mostly stubs), remove autoplugging (see ADM).
23302 * docs/pwg/building-boiler.xml:
23303 * docs/pwg/building-chainfn.xml:
23304 * docs/pwg/building-pads.xml:
23305 * docs/pwg/building-props.xml:
23306 * docs/pwg/building-state.xml:
23307 * docs/pwg/building-testapp.xml:
23308 Update the building-*.xml parts for 0.9 changes. All examples
23309 code blocks compile in examples/pwg/*.
23311 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23313 * docs/manual/advanced-autoplugging.xml:
23314 * docs/manual/appendix-checklist.xml:
23315 * docs/manual/appendix-integration.xml:
23316 * docs/manual/highlevel-components.xml:
23317 Fix playbin/decodebin examples, update docs a bit, mention bus
23318 instead of signals in various places, mention kmplayer and
23319 kaffeine since they have a working GStreamer backend in the KDE
23322 2005-06-30 Wim Taymans <wim@fluendo.com>
23325 * docs/design/draft-ghostpads.txt:
23326 * docs/design/draft-push-pull.txt:
23327 * docs/design/draft-query.txt:
23328 * docs/design/part-TODO.txt:
23329 * docs/design/part-query.txt:
23330 Added CHANGES-0.9 doc, updated status of other docs.
23335 2005-06-30 Wim Taymans <wim@fluendo.com>
23337 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23338 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23339 (gst_base_sink_change_state):
23340 * gst/base/gstbasesink.h:
23341 Some tweaks, only EOS and a buffer complete a preroll.
23343 2005-06-30 Andy Wingo <wingo@pobox.com>
23345 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
23346 activate_push down to the internal pad as well.
23348 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
23350 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23352 * gst/gsttaginterface.c:
23353 Some documentation fixes (#307394 and #307397).
23355 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
23357 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23359 * gst/gstvalue.c: (gst_value_intersect_list):
23360 Fix memleak (#309125).
23362 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23364 * docs/manual/advanced-dataaccess.xml:
23365 Fix fakesrc example to compile; doesn't work, bug somewhere...?
23366 * docs/manual/basics-pads.xml:
23367 Add reference for filtered caps to above chapter.
23369 2005-06-30 Wim Taymans <wim@fluendo.com>
23371 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
23372 (gst_bin_change_state):
23374 Lame attempt at making the state change function a bit
23377 2005-06-30 Wim Taymans <wim@fluendo.com>
23379 * docs/design/part-clocks.txt:
23380 * docs/design/part-element-sink.txt:
23381 * docs/design/part-events.txt:
23382 * docs/design/part-preroll.txt:
23383 * docs/design/part-states.txt:
23384 Some more tweeks and additions to the docs.
23386 2005-06-30 Wim Taymans <wim@fluendo.com>
23388 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23389 (default_have_data), (gst_pad_class_init), (gst_pad_init),
23390 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23391 (gst_pad_check_pull_range), (gst_pad_get_range),
23392 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23394 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23395 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23396 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23397 (gst_pad_remove_buffer_probe):
23398 Removed atomic operations, use existing LOCK.
23399 Move exception handling out of main code path.
23401 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23403 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23404 (silly_return_true_function), (gst_pad_class_init),
23405 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23406 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23407 (gst_pad_send_event):
23408 Fix accumulator, add default value by using _emitv() instead
23409 of _emit() for signal emission.
23411 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23413 * docs/manual/advanced-dataaccess.xml:
23414 * examples/manual/Makefile.am:
23416 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23419 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
23421 * gst/elements/gstfilesink.c: (gst_filesink_render):
23422 Simplify code so that we don't have to handle short
23423 writes and return GST_FLOW_ERROR if an error occured.
23425 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23427 * docs/gst/gstreamer-docs.sgml:
23428 Remove probes more.
23430 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23432 * docs/gst/gstreamer-sections.txt:
23433 * docs/gst/tmpl/gstpad.sgml:
23434 * docs/gst/tmpl/gstprobe.sgml:
23436 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23437 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23438 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23439 (gst_pad_push_event), (gst_pad_send_event):
23441 * gst/gstutils.c: (gst_pad_add_data_probe),
23442 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23443 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23444 (gst_pad_remove_buffer_probe):
23446 Remove old probes, add new g-signal-based probes and some utility
23449 2005-06-29 Edward Hervey <edward@fluendo.com>
23451 * gst/gstelementfactory.c:
23454 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
23455 the definition to the header file.
23457 2005-06-29 Andy Wingo <wingo@pobox.com>
23459 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
23460 plugins from the source directory.
23462 2005-06-29 Wim Taymans <wim@fluendo.com>
23464 * docs/gst/tmpl/gstbuffer.sgml:
23465 * docs/gst/tmpl/gstclock.sgml:
23466 Some fixings for blantently wrong text.
23468 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
23470 * check/Makefile.am:
23471 * gst/gst.c: (add_path_func), (init_pre):
23472 * gst/gstregistry.c: (gst_registry_add_path):
23473 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
23474 only scan the GST_PLUGIN_PATH locations, and not add
23477 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
23479 * docs/gst/gstreamer-sections.txt:
23480 * docs/gst/tmpl/gstbasesrc.sgml:
23481 * gst/gstelement.c:
23482 * gst/gstelement.h:
23487 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23489 * docs/manual/advanced-autoplugging.xml:
23490 Fix autoplugging example.
23492 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23494 * docs/manual/advanced-autoplugging.xml:
23495 * docs/manual/mime-world.fig:
23496 Try to get autoplugging working, fix type detection. Fix text
23497 in hello-world image.
23499 2005-06-29 Wim Taymans <wim@fluendo.com>
23501 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23502 (gst_base_sink_change_state):
23506 map SIGNAL and BROADCAST to the right function.
23509 Remove redundant braces.
23511 * gst/gstpad.c: (gst_pad_set_caps):
23512 Don't call setcaps function when reseting caps to NULL.
23514 * gst/gstsystemclock.c: (gst_system_clock_dispose),
23515 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23516 (gst_system_clock_id_unschedule):
23517 Use BROADCAST as this is what we do.
23519 2005-06-29 Wim Taymans <wim@fluendo.com>
23521 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23522 We are actually prerolling before commiting the state
23525 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
23527 * docs/manual/advanced-clocks.xml:
23528 * docs/manual/advanced-interfaces.xml:
23529 * docs/manual/advanced-metadata.xml:
23530 * docs/manual/advanced-position.xml:
23531 * docs/manual/advanced-schedulers.xml:
23532 * docs/manual/advanced-threads.xml:
23533 * docs/manual/appendix-porting.xml:
23534 * docs/manual/basics-bins.xml:
23535 * docs/manual/basics-bus.xml:
23536 * docs/manual/basics-elements.xml:
23537 * docs/manual/basics-helloworld.xml:
23538 * docs/manual/basics-pads.xml:
23539 * docs/manual/highlevel-components.xml:
23540 * docs/manual/manual.xml:
23541 * docs/manual/thread.fig:
23542 Update (until threads/scheduling) Application Development Manual;
23543 remove GstThread, add GstBus, add simple porting checklist, add
23544 documentation for tag writing, clocks, make all examples until this
23545 part compile and run.
23546 * examples/manual/Makefile.am:
23547 Update from changes to Application Development Manual; add bus
23548 example, remove thread example.
23550 2005-06-28 Wim Taymans <wim@fluendo.com>
23552 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23553 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23554 (gst_bus_source_dispatch):
23555 Add debugging messages.
23556 Make internal methods static.
23557 Handle the case where the bus is flushed in the handler.
23559 * gst/gstelement.c: (gst_element_get_bus):
23560 Fix refcount in _get_bus();
23562 * gst/gstpipeline.c: (gst_pipeline_change_state),
23563 (gst_pipeline_get_clock_func):
23564 Clock refcounting fixes.
23565 Handle the case where preroll timed out more gracefully.
23567 * gst/gstsystemclock.c: (gst_system_clock_dispose):
23568 Clean up the internal thread in dispose. This is needed
23569 for subclasses that actually get disposed.
23571 * gst/schedulers/threadscheduler.c:
23572 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23573 (gst_thread_scheduler_dispose):
23574 Free thread pool in dispose.
23576 2005-06-28 Andy Wingo <wingo@pobox.com>
23578 * tests/network-clock-utils.scm (debug, print-event): New utils.
23580 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23581 (*packet-loss*): Unified loss probability.
23582 (network-time): Report out-of-band events.
23584 * tests/plot-data: Add support for out-of-band events. Hack it
23585 into this script instead of passing it down the pipe; should fix
23588 2005-06-28 Wim Taymans <wim@fluendo.com>
23590 * docs/gst/gstreamer.types:
23591 * docs/gst/tmpl/gstbasesrc.sgml:
23592 * docs/gst/tmpl/gstpad.sgml:
23595 2005-06-28 Wim Taymans <wim@fluendo.com>
23597 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23598 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23599 (gst_proxy_pad_do_fixatecaps):
23600 Correctly proxy the check_pull_range function.
23602 2005-06-28 Andy Wingo <wingo@pobox.com>
23604 * tests/network-clock.scm: Removed need for slib.
23606 2005-06-28 Wim Taymans <wim@fluendo.com>
23608 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23609 (gst_basesink_preroll_queue_flush):
23610 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23611 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23612 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23613 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23614 (gst_proxy_pad_set_property):
23617 * gst/gstqueue.c: (gst_queue_init):
23618 The deprecated pad loop function is removed now.
23620 2005-06-28 Andy Wingo <wingo@pobox.com>
23622 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23623 New parameters, simulate network packet loss.
23625 * tests/network-clock-utils.scm: Initialize the RNG.
23627 2005-06-28 Wim Taymans <wim@fluendo.com>
23629 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23630 (gst_basesink_event), (gst_basesink_deactivate):
23631 Flushing the preroll queue always needs to unlock the waiters.
23633 2005-06-28 Edward Hervey <edward@fluendo.com>
23635 * gst/gstpipeline.c: (gst_pipeline_send_event):
23636 Wheen a seek was successful on a pipeline, set the stream_time to the
23637 seek offset in order to have a synchronized stream_time.
23639 2005-06-28 Wim Taymans <wim@fluendo.com>
23641 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23642 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23643 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23644 (gst_proxy_pad_do_fixatecaps):
23645 Call wrapper function instead of just calling the function
23646 pointers. This takes care of any locking and whatmore.
23648 2005-06-28 Wim Taymans <wim@fluendo.com>
23650 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23651 (gst_pad_pull_range):
23653 CONNECTED -> LINKED.
23655 2005-06-28 Andy Wingo <wingo@pobox.com>
23657 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23658 source-munging commit!!!
23660 * gst/gstobject.c (gst_object_unref, gst_object_ref)
23661 (gst_object_sink): Take gpointer arguments, not GstObject --
23662 avoids casts. Like GLib.
23664 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23667 2005-06-27 Andy Wingo <wingo@pobox.com>
23669 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23672 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23673 returns a sorted copy of the trace list.
23674 (gst_alloc_trace_print_live): New API, only prints traces with
23675 live objects. Sort the list.
23676 (gst_alloc_trace_print_all): Sort the list.
23677 (gst_alloc_trace_print): Align columns.
23679 * gst/elements/gstttypefindelement.c:
23680 * gst/elements/gsttee.c:
23681 * gst/base/gstbasesrc.c:
23682 * gst/base/gstbasesink.c:
23683 * gst/base/gstbasetransform.c:
23684 * gst/gstqueue.c: Adapt for pad activation changes.
23686 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23688 (gst_pipeline_dispose): Drop ref on sched.
23690 * gst/gstpad.c (gst_pad_init): Set the default activate func.
23691 (gst_pad_activate_default): Push mode by default.
23692 (pre_activate_switch, post_activate_switch): New stubs, things to
23693 do before and after switching activation modes on pads.
23694 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23695 the pad's activate function to choose which mode to activate.
23696 Shortcut on deactivation and call the right function directly.
23697 (gst_pad_activate_pull): New API, (de)activates a pad in pull
23699 (gst_pad_activate_push): New API, same for push mode.
23700 (gst_pad_set_activate_function)
23701 (gst_pad_set_activatepull_function)
23702 (gst_pad_set_activatepush_function): Setters for new API.
23704 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23705 Trace all miniobjects.
23706 (gst_mini_object_make_writable): Unref the arg if we copy, like
23707 gst_caps_make_writable.
23709 * gst/gstmessage.c (_gst_message_initialize): No trace init.
23711 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
23712 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23713 Adapt for new pad API.
23715 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23717 * gst/gstelement.h:
23718 * gst/gstelement.c (gst_element_iterate_src_pads)
23719 (gst_element_iterate_sink_pads): New API functions.
23721 * gst/gstelement.c (iterator_fold_with_resync): New utility,
23722 should fold into gstiterator.c in some form.
23723 (gst_element_pads_activate): Simplified via use of fold and
23724 delegation of decisions to gstpad->activate.
23726 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23729 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
23730 class once in init, like gstmessage. Didn't run into this issue
23731 but it seems correct. Don't initialize a trace, gstminiobject does
23734 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
23735 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
23737 (assert_live_count): New util function, uses alloc traces to check
23740 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
23741 To be modified when unlink drops the internal pad.
23743 2005-06-27 Wim Taymans <wim@fluendo.com>
23745 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
23746 (gst_bin_change_state):
23747 Cleanup the get_state() function a little, make sure it
23748 iterates the same set of elements.
23749 Added stub iterate_state_order().
23751 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
23753 * docs/gst/gstreamer-docs.sgml:
23754 * docs/gst/gstreamer-sections.txt:
23755 * docs/gst/gstreamer.types:
23756 * docs/gst/tmpl/gstbasesink.sgml:
23757 * docs/gst/tmpl/gstbasesrc.sgml:
23758 * docs/gst/tmpl/gstbasetransform.sgml:
23759 * docs/gst/tmpl/gstelement.sgml:
23760 * docs/gst/tmpl/gstiterator.sgml:
23761 * gst/base/gstbasesrc.c:
23762 * gst/base/gstbasesrc.h:
23763 * gst/base/gstbasetransform.h:
23764 * gst/gstelement.c:
23765 * gst/gstiterator.h:
23766 adding basetransform and iterator docs
23768 2005-06-27 Andy Wingo <wingo@pobox.com>
23770 * docs/design/part-activation.txt: Notes on how activation should
23771 work -- not quite implemented yet.
23773 2005-06-25 Wim Taymans <wim@fluendo.com>
23775 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
23776 At least get the chain function correct, needs more
23779 2005-06-25 Wim Taymans <wim@fluendo.com>
23781 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23782 (gst_basesink_handle_object), (gst_basesink_event),
23783 (gst_basesink_do_sync), (gst_basesink_handle_event),
23784 (gst_basesink_change_state):
23786 Right, two problems here: ghostpads don't take locks and
23787 glib _rec_mutex_lock_full() with depth==0 still locks.
23788 Catch illegal locking and g_warn them.
23790 2005-06-25 Wim Taymans <wim@fluendo.com>
23792 * check/states/sinks.c: (START_TEST), (gst_object_suite):
23793 Have to check for completion now...
23795 2005-06-25 Wim Taymans <wim@fluendo.com>
23797 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
23798 (gst_basesink_handle_object), (gst_basesink_event),
23799 (gst_basesink_do_sync), (gst_basesink_handle_event),
23800 (gst_basesink_change_state):
23802 Unlock STREAM_LOCK whatever the recursion was.
23804 2005-06-25 Wim Taymans <wim@fluendo.com>
23806 * gst/base/gstbasesink.c: (gst_basesink_set_property),
23807 (gst_basesink_preroll_queue_empty),
23808 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
23809 (gst_basesink_event), (gst_basesink_do_sync),
23810 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
23811 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
23812 (gst_basesink_change_state):
23813 Reworked the base sink, handle event and buffer serialisation
23814 correctly and removed possible deadlock.
23815 Handle EOS correctly.
23817 2005-06-25 Wim Taymans <wim@fluendo.com>
23819 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
23820 (gst_pipeline_change_state):
23821 * tools/gst-launch.c: (check_intr), (event_loop), (main):
23822 Allow elements to post EOS in the state change function.
23823 Fix up -launch, make it exit the poll loop when the
23824 pipeline actually changed state.
23825 Fix up warning parsing in -launch.
23827 2005-06-25 Wim Taymans <wim@fluendo.com>
23829 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
23830 (gst_tee_sink_activate):
23831 Core takes STREAM_LOCK for us now.
23833 2005-06-25 Wim Taymans <wim@fluendo.com>
23835 * gst/gstelement.c: (gst_element_get_state_func),
23836 (gst_element_set_state):
23837 * gst/gstelement.h:
23838 * gst/gstmessage.c: (gst_message_parse_error),
23839 (gst_message_parse_warning):
23840 Keep track of current target state while performing a state
23841 change so that subclasses can do something interesting.
23842 Fix parsing of warning/error messages when GError is NULL.
23844 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
23846 * docs/gst/Makefile.am:
23847 * docs/gst/gstreamer-docs.sgml:
23848 * docs/gst/gstreamer-sections.txt:
23849 * docs/gst/gstreamer.types:
23850 * docs/gst/tmpl/gstbasesink.sgml:
23851 * docs/gst/tmpl/gstbasesrc.sgml:
23852 * docs/gst/tmpl/gstbin.sgml:
23853 * docs/gst/tmpl/gstcompat.sgml:
23854 * docs/gst/tmpl/gstfakesink.sgml:
23855 * docs/gst/tmpl/gstfakesrc.sgml:
23856 * docs/gst/tmpl/gstfilesink.sgml:
23857 * docs/gst/tmpl/gstfilesrc.sgml:
23858 * docs/gst/tmpl/gstindex.sgml:
23859 * docs/manual/appendix-quotes.xml:
23860 * gst/base/gstbasesrc.h:
23861 * gst/elements/gstfakesrc.h:
23862 * gst/gstmessage.h:
23863 start pulling in base classes and elements in our docs
23865 2005-06-24 Stefan Kost <ensonic@users.sf.net>
23867 * docs/gst/Makefile.am:
23868 * docs/libs/Makefile.am:
23869 fixed make distcheck with gtk-doc 1.3
23871 2005-06-23 Wim Taymans <wim@fluendo.com>
23873 * gst/gstelement.c: (gst_element_get_state_func),
23874 (gst_element_set_state), (gst_element_change_state):
23875 When the state did not change, also report NO_PREROLL
23878 2005-06-23 Wim Taymans <wim@fluendo.com>
23880 * gst/gstpad.c: (gst_pad_event_default):
23881 * gst/gstqueue.c: (gst_queue_loop):
23882 No unsafe task pausing please.
23884 2005-06-23 Wim Taymans <wim@fluendo.com>
23886 * gst/schedulers/threadscheduler.c:
23887 (gst_thread_scheduler_task_start),
23888 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
23889 Ref the task before pushing it on the threadpool. This
23890 makes sure that we have a ref when the threadfunction is
23893 2005-06-23 Andy Wingo <wingo@pobox.com>
23895 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
23896 offset is greater than the file's size.
23898 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
23899 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
23900 * gst/gstobject.c (gst_object_class_init): Make the class lock
23901 recursive. Wim won't let me drop deep_notify. Decodebin works
23902 again, whoopdy doo.
23904 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
23905 internal pad, and hacks accordingly. Doesn't do it on the target
23906 pad because we change its caps. Probably catches all cases of
23908 (gst_ghost_pad_set_property): Connect to notify::caps as
23911 * tests/network-clock.scm (plot-simulation): Pipe data to the
23912 elite python skript.
23914 * tests/network-clock-utils.scm (define-parameter): New macro,
23915 defines a parameter that can be set via the command line.
23916 (set-parameter!, parse-parameter-arguments): Command line args
23919 * tests/plot-data: Simple matplotlib-based plotter, takes input on
23922 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
23924 * gst/elements/gsttypefindelement.c:
23925 (gst_type_find_element_handle_event):
23926 Don't restart typefinding on a discont.
23927 * gst/gstelement.c: (gst_element_set_state):
23928 Debug spelling fix.
23929 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
23930 Allow changing mode of an active pad.
23931 Debug output fixes.
23932 * gst/registries/gstlibxmlregistry.c: (load_feature):
23933 Don't cast a static pad template to a normal pad template.
23935 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
23937 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
23938 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
23939 remove gst_strtoll completely, since it didn't actually do
23940 anything more than what g_ascii_strtoull already does.
23941 check for range errors when deserializing
23942 do a cast for the unsigned cases; but further fixing needs
23943 a decision on what the interpretation of "(int)" and
23944 deserialization should be for values that fall outside the
23945 type's boundaries (ie, refuse, or interpret as casting)
23947 2005-06-23 Wim Taymans <wim@fluendo.com>
23949 * check/Makefile.am:
23950 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
23951 * docs/design/part-live-source.txt:
23952 * docs/design/part-states.txt:
23953 * gst/base/gstbasesrc.c: (gst_basesrc_init),
23954 (gst_basesrc_set_live), (gst_basesrc_is_live),
23955 (gst_basesrc_get_range), (gst_basesrc_activate),
23956 (gst_basesrc_change_state):
23957 * gst/base/gstbasesrc.h:
23958 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23959 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
23960 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
23961 * gst/gstelement.c: (gst_element_get_state_func),
23962 (gst_element_set_state):
23963 * gst/gstelement.h:
23965 * tools/gst-launch.c: (event_loop), (main):
23966 Added support for live sources and other elements that
23968 Updated design docs, added live-source design doc.
23969 Implemented live source functionality in basesrc
23970 Fix error condition in _bin_get_state()
23971 Implement live source handling in -launch.
23972 Added check for live sources.
23973 Fixed case in GstBin where elements were changed state
23977 2005-06-23 Andy Wingo <wingo@pobox.com>
23979 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
23980 borken refcounting.
23982 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
23983 gst_caps_replace takes care of this for us.
23985 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
23986 gst_pad_set_caps on the target, not just its setcaps() function.
23988 * tests/network-clock.scm:
23989 * tests/network-clock-utils.scm: A network clock simulator.
23990 Something of an algorithmic testbed before doing something in C.
23992 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
23994 * check/Makefile.am:
23995 * check/gst/capslist.h:
23996 copy over from 0.8, and add two with bitmasks specified with
23998 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
23999 add test to parse everything from capslist.h
24000 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
24002 add test for structure deserialization
24003 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24004 add tests for deserialization of strings to int types
24005 * gst/gststructure.c: (gst_structure_nth_field_name):
24006 * gst/gststructure.h:
24007 add a way to get the name of a field referenced by index
24008 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
24009 instead of checking if the resulting long long lies between
24010 min and max, we check if the long long would fit into
24011 a number of bytes for the final type.
24012 This fixes cases where a string represents 2^32 - 1, which
24013 when cast to int would be the (valid) -1, but is bigger than
24016 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
24018 * gst/parse/grammar.y:
24019 add a log line for type deserialization
24021 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
24023 * check/gst/gstvalue.c: (START_TEST):
24024 * gst/gstvalue.c: (gst_value_deserialize):
24025 return long long, not int, so gint64 deserialization actually
24026 works. Is there any flag that makes the compiler check this ?
24029 2005-06-22 Wim Taymans <wim@fluendo.com>
24032 Added convenience macros for setting buffers in GValue.
24034 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
24036 * check/gst/.cvsignore:
24037 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24038 add a test deserializing int64, and comment part out because
24041 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
24043 * check/Makefile.am:
24044 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
24045 * testsuite/Makefile.am:
24046 * testsuite/caps/Makefile.am:
24047 * testsuite/caps/value_serialize.c:
24048 * testsuite/test_gst_init.c:
24049 move a value_serialize test over
24051 2005-06-20 Wim Taymans <wim@fluendo.com>
24056 * gst/gstvalue.c: (gst_value_compare_buffer),
24057 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
24058 (gst_value_compare_flags), (gst_value_serialize_flags),
24059 (gst_value_deserialize_flags), (_gst_value_initialize):
24060 Fix serialisation of buffers, they are not boxed types anymore
24062 2005-06-20 Wim Taymans <wim@fluendo.com>
24064 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
24065 Testcase to show error in buffer-on-caps serialisation.
24067 2005-06-20 Andy Wingo <wingo@pobox.com>
24069 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
24070 will be adding to later.
24072 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
24073 if its socks fill with rocks.
24074 (gst_system_clock_obtain): Set the name on object construction.
24075 Avoid double-checked locking.
24077 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
24079 * gst/gsturi.c: (gst_element_make_from_uri):
24080 Fix potential endless loop.
24082 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24084 * check/Makefile.am:
24086 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
24088 move over from testsuite dir and clean up
24091 * testsuite/Makefile.am:
24092 * testsuite/tags/.cvsignore:
24093 * testsuite/tags/Makefile.am:
24094 * testsuite/tags/merge.c:
24095 remove testsuite/tags
24097 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24099 * docs/gst/gstreamer-sections.txt:
24100 * docs/gst/tmpl/gstenumtypes.sgml:
24101 * win32/gstenumtypes.c:
24102 clean up documentation build a little
24104 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24106 * check/gstcheck.h:
24107 add macros for checking refcounts on objects and caps
24108 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
24109 add some more unit tests
24110 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
24111 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
24112 fix leaked refcounts (I hope :)) so unittest works
24116 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
24118 * configure.ac: back to HEAD
24120 === release 0.9.1 ===
24122 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
24128 2005-06-17 Andy Wingo <wingo@pobox.com>
24130 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
24131 assert; it's always possible that the pad gets deactivated in
24132 between the checks in gstpad.c and the implementation. Rely on
24133 finish_preroll() to return a FLUSHING or similar instead of on the
24136 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
24137 clock and post an EOS message if we come out of finish_preroll in
24140 2005-06-16 David Schleef <ds@schleef.org>
24142 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
24143 (gst_capsfilter_set_property): Allow NULL as possible value
24144 for filter_caps property, indicating GST_CAPS_ANY.
24146 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
24148 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
24150 * gst/schedulers/Makefile.am:
24152 * gstreamer.spec.in:
24155 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
24157 * gstreamer.spec.in:
24160 2005-06-08 Andy Wingo <wingo@pobox.com>
24162 * gst/gstutils.c: RPAD fixes all around.
24163 (gst_element_link_pads): Refcounting fixes.
24165 * tools/gst-inspect.c:
24166 * tools/gst-xmlinspect.c:
24168 * gst/base/gsttypefindhelper.c:
24169 * gst/base/gstbasesink.c:
24170 * gst/gstqueue.c: RPAD fixes.
24172 * gst/gstghostpad.h:
24173 * gst/gstghostpad.c: New ghost pad implementation as full proxy
24174 pads. The tricky thing is they provide both source and sink
24175 interfaces, since they proxy the internal pad for the external
24176 pad, and vice versa. Implement with lower-level ProxyPad objects,
24177 with the interior proxy pad as a child of the exterior ghost pad.
24178 Should write a doc on this.
24180 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
24181 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
24184 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
24185 pads are real pads. No ghost pads in this file. Not documenting
24186 the myriad s/RPAD/PAD/ and REALIZE fixes.
24187 (gst_pad_class_init): Add properties for "direction" and
24188 "template". Both are construct-only, so they can't change during
24189 the life of the pad. Fixes properly deriving from GstPad.
24190 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
24191 derived objects, just set properties when creating the objects via
24193 (gst_pad_get_parent): Implement as a function, return NULL if the
24194 parent is not an element.
24195 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
24196 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
24198 * gst/gstobject.c (gst_object_class_init): Make name a construct
24199 property. Don't set it in the object init.
24201 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
24202 with UNKNOWN direction.
24203 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
24204 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
24205 (gst_element_remove_pad): Remove ghost-pad special cases.
24206 (gst_element_pads_activate): Remove rpad cruft.
24208 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
24209 catch the pad's-parent-not-an-element case.
24211 * gst/gst.h: Include gstghostpad.h.
24213 * gst/gst.c (init_post): No more real, ghost pads.
24215 * gst/Makefile.am: Add gstghostpad.[ch].
24217 * check/Makefile.am:
24218 * check/gst/gstbin.c:
24219 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
24220 into a bin creates ghost pads, and that the refcounts are right.
24221 Partly moved from gstbin.c.
24223 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
24225 * check/gst-libs/.cvsignore:
24226 * check/gst/.cvsignore:
24227 * check/pipelines/.cvsignore:
24229 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
24230 (START_TEST), (cleanup_suite), (main):
24231 add some tests related to cleanup after running pipelines
24233 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
24235 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
24236 add a testsuite for GstBuffer
24238 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
24240 * gst/gstminiobject.h:
24241 add defines for accessing the refcount
24243 2005-06-03 Stefan Kost <ensonic@users.sf.net>
24245 * Makefile.am: added support for html unit test coverage reports
24247 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
24249 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24250 Free existing caps if the capsfilter changes. Add a FIXME about
24251 setting those caps on the pads.
24253 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
24254 Before adding a ghost pad to a parent bin, check that there isn't
24255 already one for the element on the bin. Prevents infinite recursion
24256 when using decodebin in parse pipelines. Andy says he'll rewrite the
24257 way this works anyway, so ignore the hack.
24259 2005-06-02 Andy Wingo <wingo@pobox.com>
24261 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
24262 file size, pass it on to the type find helper.
24264 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
24265 segment_start and segment_end properly according to the seek
24266 method. Segment_end is still a bit flaky because offset can be
24267 negative for CUR and END cases, but it takes -1 as an "unset"
24270 2005-06-02 Wim Taymans <wim@fluendo.com>
24272 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
24273 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
24274 (gst_basesink_activate):
24275 * gst/base/gstbasesink.h:
24276 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24277 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24278 (gst_pad_query), (gst_pad_start_task):
24280 * gst/gstqueue.c: (gst_queue_bufferalloc),
24281 (gst_queue_handle_sink_event), (gst_queue_chain):
24282 Bufferalloc: return GstFlowReturn to more accuratly report
24283 why allocation failed.
24285 2005-06-02 Wim Taymans <wim@fluendo.com>
24287 * gst/gstpipeline.c: (gst_pipeline_send_event):
24288 Take snapshot of state without blocking.
24290 2005-06-02 Wim Taymans <wim@fluendo.com>
24292 * docs/design/part-TODO.txt:
24293 * docs/design/part-caps.txt:
24294 * docs/design/part-clocks.txt:
24295 * docs/design/part-negotiation.txt:
24296 * docs/design/part-preroll.txt:
24299 2005-05-30 Wim Taymans <wim@fluendo.com>
24301 * gst/elements/gstidentity.c: (gst_identity_event),
24302 (gst_identity_transform), (gst_identity_get_property):
24303 Protect last_message property as it is accessed from
24306 2005-05-30 Wim Taymans <wim@fluendo.com>
24308 * gst/gstelement.c: (gst_element_init),
24309 (gst_element_pads_activate), (gst_element_change_state):
24310 Slicker pad activation code.
24312 2005-05-30 Wim Taymans <wim@fluendo.com>
24315 * gst/gstelement.h:
24316 * gst/gstelementfactory.h:
24318 Move elementfactory methods to separate .h file.
24320 2005-05-30 Wim Taymans <wim@fluendo.com>
24322 * docs/design/part-overview.txt:
24323 * gst/gstsystemclock.h:
24324 Small typo fixes, doc updates.
24326 2005-05-30 Wim Taymans <wim@fluendo.com>
24328 * gst/gst.c: (gst_init_get_popt_table), (init_post),
24329 (init_popt_callback):
24330 Remove cpu-opt flag.
24332 2005-05-30 Wim Taymans <wim@fluendo.com>
24334 * gst/gstbuffer.c: (gst_subbuffer_finalize),
24335 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
24337 Avoid typechecking in places where not needed.
24338 Added accessor for malloc_data.
24340 2005-05-30 Wim Taymans <wim@fluendo.com>
24342 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
24343 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
24344 (gst_pad_configure_sink), (gst_pad_configure_src),
24345 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
24346 (gst_pad_start_task):
24347 Propagate errors from _set_caps() in configure_src/sink
24348 functions instead of returning TRUE.
24349 FLUSH events can travel up and downstream
24352 2005-05-30 Wim Taymans <wim@fluendo.com>
24354 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24355 (gst_basesink_activate):
24356 Handle EOS in preroll.
24358 2005-05-30 Wim Taymans <wim@fluendo.com>
24360 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24361 (gst_queue_loop), (gst_queue_handle_src_event):
24362 Remove old pieces of code
24363 Flushing the queue in an upstream event is a very bad idea.
24365 2005-05-26 Andy Wingo <wingo@pobox.com>
24367 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
24368 gst_value_set_mini_object so as to add a ref on the object (which
24369 will be removed when the value is unset).
24371 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
24372 arg type in ::handoff.
24374 * gst/gstelement.c (gst_element_change_state): Also deactivate
24375 pads in READY->NULL, just in case the element didn't make it to
24376 PAUSED. Wingo tested, Wim approved.
24378 2005-05-26 Wim Taymans <wim@fluendo.com>
24380 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24381 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24382 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
24383 A flushing pad cannot be used to alloc_buffer from.
24385 2005-05-26 Wim Taymans <wim@fluendo.com>
24387 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
24388 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
24389 (gst_bus_source_dispatch), (gst_bus_source_finalize),
24390 (gst_bus_create_watch), (gst_bus_add_watch_full):
24392 Implement a real GSource and use g_main_context_wakeup() to
24393 signal new messages instead of the socketpair.
24395 2005-05-25 Wim Taymans <wim@fluendo.com>
24397 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24398 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24399 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24400 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24401 (gst_pad_send_event), (gst_pad_start_task):
24402 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24403 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24404 (gst_queue_sink_activate), (gst_queue_src_activate),
24405 (gst_queue_change_state):
24407 Fix state changes for non sinks. We now change sinks, then elements
24408 with unconnected srcpads, then the rest.
24409 More efficient queue unlocking in flush and state changes.
24410 Set the pad activate mode even if it does not have an activate
24413 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24415 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24416 Don't go in pull mode for non-seekable sources.
24417 * gst/elements/gsttypefindelement.h:
24418 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24419 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24420 (free_entry), (stop_typefinding),
24421 (gst_type_find_element_handle_event), (find_peek),
24422 (gst_type_find_element_chain), (do_pull_typefind),
24423 (gst_type_find_element_change_state):
24424 Allow typefinding (w/o seeking) in push-mode, simplified version
24425 of what was in 0.8.
24426 * gst/gstutils.c: (gst_buffer_join):
24428 gst_buffer_join() from 0.8.
24430 2005-05-25 Wim Taymans <wim@fluendo.com>
24432 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24433 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24434 (gst_pad_send_event), (gst_pad_start_task):
24435 Disable attempt at mode switching until it is figured out.
24437 2005-05-25 Wim Taymans <wim@fluendo.com>
24439 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24440 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24441 (gst_basesink_finish_preroll), (gst_basesink_chain),
24442 (gst_basesink_loop), (gst_basesink_activate),
24443 (gst_basesink_change_state):
24444 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24445 (gst_basesrc_get_range), (gst_basesrc_loop),
24446 (gst_basesrc_activate):
24447 * gst/elements/gsttee.c: (gst_tee_sink_activate):
24448 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24449 (gst_real_pad_init), (gst_real_pad_set_property),
24450 (gst_real_pad_get_property), (gst_pad_set_active),
24451 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24452 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24453 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
24454 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
24455 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24456 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
24457 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
24458 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24459 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
24460 (gst_pad_stop_task):
24462 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24463 (gst_queue_loop), (gst_queue_src_activate):
24464 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
24465 (gst_task_get_state):
24467 * gst/schedulers/threadscheduler.c:
24468 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
24469 Implement gst_pad_pause/start/stop_task(), take STREAM lock
24471 Remove ACTIVE pad flag, use FLUSHING everywhere
24472 Added _pad_chain(), _pad_get_range() to call chain/getrange
24474 Add locks around IS_FLUSHING when reading.
24475 Take STREAM lock in chain(), get_range() functions so plugins
24476 don't need to take it anymore.
24480 2005-05-25 Wim Taymans <wim@fluendo.com>
24482 * tools/gst-launch.c: (event_loop):
24483 Unref message after using its contents instead of
24486 2005-05-24 Wim Taymans <wim@fluendo.com>
24488 * docs/design/draft-ghostpads.txt:
24489 * docs/design/draft-push-pull.txt:
24490 * docs/design/draft-query.txt:
24491 * docs/design/part-overview.txt:
24492 Docs updates, added general overview doc.
24494 2005-05-21 David Schleef <ds@schleef.org>
24496 * docs/gst/tmpl/old/GstBin.sgml:
24497 * docs/gst/tmpl/old/GstBuffer.sgml:
24498 * docs/gst/tmpl/old/GstCaps.sgml:
24499 * docs/gst/tmpl/old/GstClock.sgml:
24500 * docs/gst/tmpl/old/GstCompat.sgml:
24501 * docs/gst/tmpl/old/GstData.sgml:
24502 * docs/gst/tmpl/old/GstElement.sgml:
24503 * docs/gst/tmpl/old/GstEvent.sgml:
24504 * docs/gst/tmpl/old/GstIndex.sgml:
24505 * docs/gst/tmpl/old/GstStructure.sgml:
24506 * docs/gst/tmpl/old/GstTag.sgml:
24507 * docs/gst/tmpl/old/cothreads.sgml:
24508 * docs/gst/tmpl/old/cothreads_compat.sgml:
24509 * docs/gst/tmpl/old/gettext.sgml:
24510 * docs/gst/tmpl/old/gobject2gtk.sgml:
24511 * docs/gst/tmpl/old/grammar.tab.sgml:
24512 * docs/gst/tmpl/old/gst-i18n-app.sgml:
24513 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24514 * docs/gst/tmpl/old/gst_private.sgml:
24515 * docs/gst/tmpl/old/gstaggregator.sgml:
24516 * docs/gst/tmpl/old/gstarch.sgml:
24517 * docs/gst/tmpl/old/gstatomic_impl.sgml:
24518 * docs/gst/tmpl/old/gstbufferstore.sgml:
24519 * docs/gst/tmpl/old/gstdata_private.sgml:
24520 * docs/gst/tmpl/old/gstdisksink.sgml:
24521 * docs/gst/tmpl/old/gstdisksrc.sgml:
24522 * docs/gst/tmpl/old/gstelementfactory.sgml:
24523 * docs/gst/tmpl/old/gstextratypes.sgml:
24524 * docs/gst/tmpl/old/gstfakesink.sgml:
24525 * docs/gst/tmpl/old/gstfakesrc.sgml:
24526 * docs/gst/tmpl/old/gstfdsink.sgml:
24527 * docs/gst/tmpl/old/gstfdsrc.sgml:
24528 * docs/gst/tmpl/old/gstfilesink.sgml:
24529 * docs/gst/tmpl/old/gstfilesrc.sgml:
24530 * docs/gst/tmpl/old/gsthttpsrc.sgml:
24531 * docs/gst/tmpl/old/gstidentity.sgml:
24532 * docs/gst/tmpl/old/gstindexfactory.sgml:
24533 * docs/gst/tmpl/old/gstmarshal.sgml:
24534 * docs/gst/tmpl/old/gstmd5sink.sgml:
24535 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24536 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24537 * docs/gst/tmpl/old/gstpadtemplate.sgml:
24538 * docs/gst/tmpl/old/gstpipefilter.sgml:
24539 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24540 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24541 * docs/gst/tmpl/old/gstshaper.sgml:
24542 * docs/gst/tmpl/old/gstspider.sgml:
24543 * docs/gst/tmpl/old/gstspideridentity.sgml:
24544 * docs/gst/tmpl/old/gststatistics.sgml:
24545 * docs/gst/tmpl/old/gsttee.sgml:
24546 * docs/gst/tmpl/old/gsttimecache.sgml:
24547 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24548 * docs/gst/tmpl/old/gstxmlregistry.sgml:
24549 * docs/gst/tmpl/old/gthread-cothreads.sgml:
24550 * docs/gst/tmpl/old/types.sgml:
24551 I didn't intend to add these or check them in.
24553 2005-05-19 David Schleef <ds@schleef.org>
24555 * configure.ac: Use -no-common everywhere. In a sane world, it
24556 would be the default in libtool, because without it, you can't
24557 build DLLs on Windows.
24558 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24559 * docs/gst/gstreamer-sections.txt:
24560 * docs/gst/tmpl/gstcpu.sgml:
24561 * docs/gst/tmpl/gstdata.sgml:
24562 * docs/gst/tmpl/gstthread.sgml:
24564 2005-05-19 David Schleef <ds@schleef.org>
24566 * gst/gstminiobject.c: (gst_value_set_mini_object),
24567 (gst_value_take_mini_object), (gst_value_get_mini_object):
24568 * gst/gstminiobject.h: Add GValue set/get functions.
24570 2005-05-19 Wim Taymans <wim@fluendo.com>
24572 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24573 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24574 (gst_subbuffer_init), (gst_buffer_is_span_fast):
24576 * gst/gstbus.c: (gst_bus_post):
24577 * gst/gstelement.c: (gst_element_get_random_pad):
24578 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24579 Make subbufer unref the parent in finalize.
24580 some more debugging info.
24583 2005-05-19 Wim Taymans <wim@fluendo.com>
24585 * gst/base/gstbasesink.c: (gst_basesink_class_init),
24586 (gst_basesink_init), (gst_basesink_finalize),
24587 (gst_basesink_activate), (gst_basesink_change_state):
24588 Don't free preroll queue too early.
24590 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24594 Hi, I'm outdated. Please shoot me.
24596 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24598 * gst/gstpipeline.c: (gst_pipeline_send_event):
24599 Do not access variables after they have been deleted.
24601 2005-05-19 Wim Taymans <wim@fluendo.com>
24603 * tools/gst-inspect.c: (print_plugin_features):
24604 A plugin feature does unfortunatly not use the
24607 2005-05-18 Wim Taymans <wim@fluendo.com>
24609 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24610 Port _span() functions to new subbuffers.
24612 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24614 * gst/gstbin.c: (gst_bin_add_func):
24615 Fix clock settery in bins when adding kids after the clock has
24618 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24620 * gst/elements/gstidentity.c: (gst_identity_class_init):
24621 Workaround until signals support GstMiniObject.
24623 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
24626 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24628 2005-05-18 Wim Taymans <wim@fluendo.com>
24630 * gst/base/Makefile.am:
24631 * gst/base/gstadapter.c: (gst_adapter_base_init),
24632 (gst_adapter_class_init), (gst_adapter_init),
24633 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24634 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24635 (gst_adapter_flush), (gst_adapter_available),
24636 (gst_adapter_available_fast):
24637 * gst/base/gstadapter.h:
24638 Ported and added adapter to the base classes.
24640 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
24643 * gst/gstmessage.c:
24644 Make sure the class is reffed/unreffed once before threads can be
24645 used. Fixes #304551.
24647 2005-05-17 Wim Taymans <wim@fluendo.com>
24649 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24650 (gst_basesink_chain_unlocked), (gst_basesink_activate):
24651 * gst/gstminiobject.c: (gst_mini_object_get_type),
24652 (gst_mini_object_free):
24653 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24654 (gst_pad_push), (gst_pad_push_event):
24655 * gst/gstqueue.c: (gst_queue_change_state):
24656 Don't queue buffers in basesink when we are flushing.
24657 Unref buffer when flushing in basesink.
24658 Flush queue when going to READY
24659 Unref buffer when _push() returns an error.
24660 Don't free MiniObject instance when refcount is incremented
24661 in _finalize() so that we can recover objects.
24663 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
24665 * docs/manual/advanced-schedulers.xml:
24666 * docs/manual/appendix-checklist.xml:
24667 * docs/pwg/advanced-clock.xml:
24668 * docs/pwg/advanced-interfaces.xml:
24669 * docs/pwg/advanced-request.xml:
24670 * docs/pwg/advanced-types.xml:
24671 * docs/pwg/intro-preface.xml:
24672 * examples/plugins/example.c: (gst_example_get_type),
24673 (gst_example_class_init), (gst_example_chain),
24674 (gst_example_set_property), (gst_example_get_property),
24675 (gst_example_change_state), (plugin_init):
24676 * examples/plugins/example.h:
24679 2005-05-17 Wim Taymans <wim@fluendo.com>
24681 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24682 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24683 * gst/gstqueue.c: (gst_queue_change_state):
24684 Clear queue when going to READY.
24685 Remove IN_SETCAPS flag too.
24687 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
24689 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24690 Remove implicit cast from gboolean to GstElementStateReturn;
24691 make sure we still return failure in paused => ready case if
24692 the parent class fails to change state and our own stop
24695 2005-05-17 Wim Taymans <wim@fluendo.com>
24697 * tools/gst-launch.c: (event_loop):
24698 Message was unreffed too soon.
24700 2005-05-16 Andy Wingo <wingo@pobox.com>
24702 * gst/gstbin.c (sink_iterator_filter): Err... um...
24704 * check/gst/gstbin.c (test_ghost_pads): New test for the
24705 ghosting-if-elements-not-in-same-bin behavior.
24707 2005-05-16 David Schleef <ds@schleef.org>
24709 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24710 accessing refcount directly.
24712 2005-05-15 David Schleef <ds@schleef.org>
24714 * check/Makefile.am: remove GstData checks
24715 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24716 * gst/Makefile.am: add miniobject, remove data
24717 * gst/gst.h: add miniobject, remove data
24718 * gst/gstdata.c: remove
24719 * gst/gstdata.h: remove
24720 * gst/gstdata_private.h: remove
24721 * gst/gsttypes.h: remove GstEvent and GstMessage
24722 * gst/gstelement.c: (gst_element_post_message): fix for API changes
24723 * gst/gstmarshal.list: change BOXED -> OBJECT
24725 Implement GstMiniObject.
24726 * gst/gstminiobject.c:
24727 * gst/gstminiobject.h:
24729 Modify to be subclasses of GstMiniObject.
24730 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
24731 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
24732 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
24733 (gst_subbuffer_get_type), (gst_subbuffer_init),
24734 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
24737 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
24738 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
24739 (_gst_event_copy), (gst_event_new):
24741 * gst/gstmessage.c: (_gst_message_initialize),
24742 (gst_message_get_type), (gst_message_class_init),
24743 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
24744 (gst_message_new), (gst_message_new_error),
24745 (gst_message_new_warning), (gst_message_new_tag),
24746 (gst_message_new_state_changed), (gst_message_new_application):
24747 * gst/gstmessage.h:
24748 * gst/gstprobe.c: (gst_probe_perform),
24749 (gst_probe_dispatcher_dispatch):
24751 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
24752 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
24753 (_gst_query_copy), (gst_query_new):
24755 Update elements for GstData -> GstMiniObject changes
24757 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
24758 (gst_queue_chain), (gst_queue_loop):
24759 * gst/elements/gstbufferstore.c:
24760 (gst_buffer_store_add_buffer_func),
24761 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
24762 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
24763 (gst_fakesink_render):
24764 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
24765 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
24766 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
24767 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
24768 (gst_filesrc_create_read):
24769 * gst/elements/gstidentity.c: (gst_identity_class_init):
24770 * gst/elements/gsttypefindelement.c:
24771 (gst_type_find_element_src_event), (free_entry_buffers),
24772 (gst_type_find_element_handle_event):
24773 * libs/gst/dataprotocol/dataprotocol.c:
24774 (gst_dp_header_from_buffer):
24775 * libs/gst/dataprotocol/dataprotocol.h:
24776 * libs/gst/dataprotocol/dp-private.h:
24778 2005-05-15 David Schleef <ds@schleef.org>
24780 * gst/elements/gstelements.c: Don't include headers that were
24783 2005-05-15 David Schleef <ds@schleef.org>
24785 * gst/elements/Makefile.am: Remove some elements that don't
24786 need to be in the core (or even exist at all).
24787 * gst/elements/gstaggregator.c:
24788 * gst/elements/gstaggregator.h:
24789 * gst/elements/gstmd5sink.c:
24790 * gst/elements/gstmd5sink.h:
24791 * gst/elements/gstmultifilesrc.c:
24792 * gst/elements/gstmultifilesrc.h:
24793 * gst/elements/gstpipefilter.c:
24794 * gst/elements/gstpipefilter.h:
24795 * gst/elements/gstshaper.c:
24796 * gst/elements/gstshaper.h:
24797 * gst/elements/gststatistics.c:
24798 * gst/elements/gststatistics.h:
24799 * po/POTFILES.in: Remove above files.
24801 2005-05-14 Andy Wingo <wingo@pobox.com>
24803 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
24804 so as to get the refs right.
24805 (sink_iterator_filter): New function, wraps bin_element_is_sink,
24806 unreffing objects that don't pass the filter.
24808 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
24809 gst_element_set_bus.
24810 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
24811 normal cases, this will destroy the bus.
24813 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
24816 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
24819 2005-05-13 Andy Wingo <wingo@pobox.com>
24821 * gst/gstutils.c (gst_element_link_pads): Instead of calling
24822 gst_pad_link, call pad_link_maybe_ghosting,
24823 (pad_link_maybe_ghosting): Links pads, making sure that the
24824 elements being linked are in the same bin.
24825 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
24826 Helpers for pad_link_maybe_ghosting.
24828 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
24831 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
24833 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
24835 * docs/design/part-element-source.txt:
24838 2005-05-12 Wim Taymans <wim@fluendo.com>
24840 * gst/base/gstbasesink.c: (gst_basesink_init),
24841 (gst_basesink_activate):
24842 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
24843 (gst_basesrc_is_seekable):
24844 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
24845 (bin_element_is_sink), (gst_bin_change_state):
24846 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24847 * gst/gstelement.h:
24848 Identify sinks by their flag to avoid overly complicated
24850 Do state changes even for elements not reachable from the
24852 BaseSink is a sink now :)
24853 Some more debugging info in the basesrc.
24856 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24858 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
24859 Implement _query on a bin, similar to _send_event.
24861 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
24863 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
24864 Discont event offset format should be GST_FORMAT_BYTES,
24865 not GST_FORMAT_TIME.
24867 2005-05-12 Wim Taymans <wim@fluendo.com>
24869 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
24870 Same fix as Ronald's but without the signal.
24872 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24874 * gst/gstutils.c: (gst_element_query_position):
24875 No, an element is not a pad.
24877 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24879 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
24880 (gst_bin_get_state):
24881 If a child is removed from a bin while we remove the child from
24882 the bin and while we're retrieving its state, signal this to the
24883 get_state function so we abort the wait (instead of waiting for
24884 a timeout) and can immediately re-iterate over all other elements.
24886 2005-05-12 Wim Taymans <wim@fluendo.com>
24888 * gst/base/Makefile.am:
24889 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
24890 (gst_basesrc_start):
24891 * gst/base/gstbasesrc.h:
24892 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
24893 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
24894 (gst_pushsrc_init), (gst_pushsrc_create):
24895 * gst/base/gstpushsrc.h:
24896 Added is_seekable to BaseSrc
24897 Added simple PushSrc.
24899 2005-05-11 Wim Taymans <wim@fluendo.com>
24901 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
24902 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
24903 (gst_element_link_pads), (gst_element_query_position),
24904 (gst_element_query_convert), (intersect_caps_func),
24905 (gst_pad_query_position), (gst_pad_query_convert):
24906 Fix refcounting in utils function.
24907 No point in trying to activate a pad when it's added, it could
24908 be added from the state change function and then we deadlock, the
24909 element has to decide what to do.
24911 2005-05-10 Andy Wingo <wingo@pobox.com>
24913 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
24914 *all* the arguments.
24916 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
24917 stream lock if it's a FLUSH_DONE; normal flushes don't get the
24918 lock (according to the docs -- if this is wrong change the docs).
24920 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
24921 flush messages in the NULL state.
24923 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
24924 message immediately and return.
24925 (gst_bus_set_flushing): New function. If a bus is flushing, it
24926 flushes out any queued messages and immediately unrefs new
24927 messages. This is so when an element goes to NULL, all of the
24928 unhandled messages coming from it can be freed, and their
24929 references to the element dropped. In other words: message source
24930 ref considered harmful :P
24932 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
24933 we're finished with it.
24935 * gst/gstmessage.c (gst_message_new_state_changed):
24937 2005-05-10 Wim Taymans <wim@fluendo.com>
24939 * gst/gstvalue.c: (gst_value_compare_flags),
24940 (gst_value_serialize_flags), (gst_value_deserialize_flags),
24941 (_gst_value_initialize):
24942 Added flags serialize/deserialize/compare code.
24944 2005-05-09 Andy Wingo <wingo@pobox.com>
24946 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
24947 Intersect the peer's caps with our caps.
24949 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24951 * gst/base/gsttypefindhelper.c: (helper_find_peek):
24952 * gst/elements/gsttypefindelement.c: (find_peek):
24953 Handle negative offsets better. Fixes decodebin.
24955 2005-05-09 Wim Taymans <wim@fluendo.com>
24957 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
24958 (gst_base_transform_event):
24959 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
24960 Implement accept_caps.
24961 Fix silly lock/unlock mismatch in base class.
24963 2005-05-09 Wim Taymans <wim@fluendo.com>
24965 * docs/design/draft-push-pull.txt:
24966 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
24967 * gst/elements/gstfilesink.c: (gst_filesink_init),
24968 (gst_filesink_query):
24969 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24970 (gst_type_find_handle_src_query), (find_element_get_length):
24971 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
24972 * gst/gstelement.h:
24973 * gst/gstmessage.c:
24974 * gst/gstmessage.h:
24975 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
24976 (gst_real_pad_get_caps_unlocked),
24977 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
24978 (gst_pad_event_default_dispatch), (gst_pad_event_default),
24979 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
24980 (gst_real_pad_dispose), (gst_real_pad_finalize),
24981 (gst_pad_load_and_link), (gst_pad_save_thyself),
24982 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
24983 (gst_pad_check_pull_range), (gst_pad_pull_range),
24984 (gst_pad_template_get_type), (gst_pad_template_class_init),
24985 (gst_pad_template_init), (gst_pad_template_dispose),
24986 (name_is_valid), (gst_static_pad_template_get),
24987 (gst_pad_template_new), (gst_static_pad_template_get_caps),
24988 (gst_pad_template_get_caps), (gst_pad_set_element_private),
24989 (gst_pad_get_element_private), (gst_pad_start_task),
24990 (gst_pad_pause_task), (gst_pad_stop_task),
24991 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
24992 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
24993 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
24994 (gst_ghost_pad_new):
24996 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
24997 (gst_query_new_position), (gst_query_set_position),
24998 (gst_query_parse_position), (gst_query_new_convert),
24999 (gst_query_set_convert), (gst_query_parse_convert):
25001 * gst/gstqueryutils.c:
25002 * gst/gstqueryutils.h:
25003 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25004 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25005 (gst_queue_handle_src_query):
25006 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25007 (gst_element_query_position), (gst_element_query_convert),
25008 (intersect_caps_func), (gst_pad_query_position),
25009 (gst_pad_query_convert):
25011 * tools/gst-inspect.c: (print_pad_info):
25012 * tools/gst-xmlinspect.c: (print_element_info):
25013 Remove old query functions. Ported old code.
25014 Added position/convert helper functions to gstutils.
25015 Reordered gstpad.c code, grouping relevant things.
25016 Remove gst_message_new(), always need to speficy a specific
25020 2005-05-09 Andy Wingo <wingo@pobox.com>
25022 * gst/gstiterator.h: Add some includes.
25024 * gst/gstqueryutils.h: Include more headers.
25027 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
25028 some uses of gst_pad_query.
25030 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
25031 NULL out parameters.
25032 (gst_query_new_position): New proc, allocates a new position
25035 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
25036 gstqueryutils.c to the build.
25038 * gst/gststructure.c (gst_structure_set_valist): Implement with
25039 the generic G_VALUE_COLLECT.
25041 2005-05-08 Edward Hervey <bilboed@bilboed.com>
25043 * gst/Makefile.am: (gst_headers):
25044 Added gstqueryutils.h to the list of headers to install, that was
25045 a 'nachty' move wingo :)
25047 2005-05-06 Andy Wingo <wingo@pobox.com>
25050 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
25051 GstData, init a memchunk.
25052 (standard_definitions): Add a few query types, deprecate a few.
25053 (gst_query_get_type): New proc.
25054 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
25056 (gst_query_new_application, gst_query_get_structure): New public
25059 * docs/design/draft-query.txt: Removed LINKS from the query types,
25060 because all the rest can be dispatched to other pads -- seemed
25061 ugly to have a query that couldn't be dispatched. internal_links
25062 is fine as a pad method.
25064 * gst/gstpad.h: Add query2 as a pad method, add the new functions
25065 in gstpad.c, but maintain binary compatibility for the moment.
25066 Will fix before 0.9 is out.
25068 * gst/gstqueryutils.c:
25069 * gst/gstqueryutils.h: New files, implement 3 methods for each
25070 query type: parse_query, parse_response, and set. Probably need an
25073 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
25075 * gst/elements/gstfilesink.c (gst_filesink_query2):
25076 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
25077 query_types, and formats methods.
25079 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
25080 (gst_pad_set_query2_function): New functions.
25081 (gst_real_pad_init): Set query2_default as the default query2
25082 function. Basically just dispatches to internally linked pads.
25086 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
25087 without using the atomic operations. Only one thread can possibly
25088 be accessing the data at this point. Changed so as to avoid
25089 gst_atomic operations.
25091 2005-05-06 Wim Taymans <wim@fluendo.com>
25093 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
25094 Also set caps if we use the fallback buffer alloc.
25096 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
25098 * docs/gst/Makefile.am:
25099 * docs/gst/gstreamer-docs.sgml:
25100 * docs/gst/gstreamer-sections.txt:
25101 * docs/gst/tmpl/gstatomic.sgml:
25102 * docs/gst/tmpl/gstmemchunk.sgml:
25103 * testsuite/elements/struct_i386.h:
25104 * win32/GStreamer.vcproj:
25106 Purge GstAtomic stuff from docs and win32 makefiles as well
25108 2005-05-06 Wim Taymans <wim@fluendo.com>
25110 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
25111 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
25112 * gst/gstpad.c: (gst_pad_peer_get_caps):
25113 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25114 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25115 (gst_queue_src_activate), (gst_queue_change_state):
25117 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25118 (intersect_caps_func):
25119 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
25120 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
25121 Some fixes for the peer_get_caps() change.
25123 2005-05-06 Wim Taymans <wim@fluendo.com>
25125 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25126 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
25127 (gst_basesink_activate):
25128 Actually do something with error codes returned from the push
25131 2005-05-06 Wim Taymans <wim@fluendo.com>
25133 * docs/design/part-element-sink.txt:
25134 * docs/design/part-element-source.txt:
25135 * gst/base/gstbasesink.c: (gst_basesink_class_init),
25136 (gst_basesink_event), (gst_basesink_activate):
25137 * gst/base/gstbasesink.h:
25138 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
25139 (gst_basesrc_activate):
25140 * gst/base/gstbasesrc.h:
25141 * gst/gstelement.c: (gst_element_pads_activate):
25142 Some more documentation.
25143 Fixed scheduling decision in _pads_activate().
25145 2005-05-05 Andy Wingo <wingo@pobox.com>
25147 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
25150 2005-05-05 Wim Taymans <wim@fluendo.com>
25152 * gst/base/Makefile.am:
25153 * gst/base/gstbasesink.h:
25154 * gst/base/gstbasesrc.c: (gst_basesrc_init),
25155 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
25156 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
25157 (gst_collectpads_class_init), (gst_collectpads_init),
25158 (gst_collectpads_finalize), (gst_collectpads_new),
25159 (gst_collectpads_set_function), (gst_collectpads_add_pad),
25160 (find_pad), (gst_collectpads_remove_pad),
25161 (gst_collectpads_is_active), (gst_collectpads_collect),
25162 (gst_collectpads_collect_range), (gst_collectpads_start),
25163 (gst_collectpads_stop), (gst_collectpads_peek),
25164 (gst_collectpads_pop), (gst_collectpads_available),
25165 (gst_collectpads_read), (gst_collectpads_flush),
25166 (gst_collectpads_chain):
25167 * gst/base/gstcollectpads.h:
25168 * gst/elements/Makefile.am:
25169 * gst/elements/gstelements.c:
25170 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25171 (gst_fakesink_get_times), (gst_fakesink_event),
25172 (gst_fakesink_preroll), (gst_fakesink_render):
25173 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
25174 (gst_filesink_init), (gst_filesink_set_location),
25175 (gst_filesink_open_file), (gst_filesink_close_file),
25176 (gst_filesink_pad_query), (gst_filesink_event),
25177 (gst_filesink_render), (gst_filesink_change_state):
25178 * gst/elements/gstfilesink.h:
25179 Added object to help in making collect pad based elements.
25181 Make event function in sink baseclass return gboolean.
25183 2005-05-05 Wim Taymans <wim@fluendo.com>
25185 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
25186 (gst_bin_get_by_name):
25188 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
25189 (gst_clock_finalize):
25190 * gst/gstdata.c: (gst_data_replace):
25192 * gst/gstelement.c: (gst_element_request_pad),
25193 (gst_element_pads_activate):
25194 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
25195 (gst_object_unref):
25196 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25197 (gst_pad_set_checkgetrange_function),
25198 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
25199 (gst_pad_check_pull_range), (gst_pad_pull_range),
25200 (gst_static_pad_template_get_caps), (gst_pad_start_task),
25201 (gst_pad_pause_task), (gst_pad_stop_task):
25202 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25203 (gst_element_request_pad), (gst_pad_proxy_getcaps):
25204 Fix name lookup in GstBin.
25205 Added _data_replace() function and _buffer_replace()
25206 Use finalize method to clean up clock.
25207 Fix refcounting on request pads.
25208 Fix pad schedule mode error.
25209 Some more object refcounting debug info,
25212 2005-05-04 Andy Wingo <wingo@pobox.com>
25214 * check/Makefile.am:
25215 * docs/gst/tmpl/gstatomic.sgml:
25216 * docs/gst/tmpl/gstplugin.sgml:
25217 * gst/base/gstbasesink.c: (gst_basesink_activate):
25218 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
25219 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
25220 (gst_basesrc_query), (gst_basesrc_set_property),
25221 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
25222 (gst_basesrc_activate):
25223 * gst/base/gstbasesrc.h:
25224 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
25225 (gst_base_transform_src_activate):
25226 * gst/elements/gstelements.c:
25227 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25228 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25229 * gst/elements/gsttee.c: (gst_tee_sink_activate):
25230 * gst/elements/gsttypefindelement.c: (find_element_get_length),
25231 (gst_type_find_element_checkgetrange),
25232 (gst_type_find_element_activate):
25233 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
25234 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
25235 (gst_caps_load_thyself):
25236 * gst/gstelement.c: (gst_element_pads_activate),
25237 (gst_element_save_thyself), (gst_element_restore_thyself):
25238 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
25239 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
25241 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
25242 (gst_xml_parse_file), (gst_xml_parse_memory),
25243 (gst_xml_get_element), (gst_xml_make_element):
25244 * gst/indexers/gstfileindex.c: (gst_file_index_load),
25245 (_file_index_id_save_xml), (gst_file_index_commit):
25246 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
25247 (read_enum), (load_pad_template), (load_feature), (load_plugin),
25249 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
25250 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
25251 * tools/gst-complete.c: (main):
25252 * tools/gst-compprep.c: (main):
25253 * tools/gst-inspect.c: (print_element_properties_info):
25254 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
25255 * tools/gst-xmlinspect.c: (print_element_properties):
25258 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
25260 * gst/gstplugin.c: (gst_plugin_check_module),
25261 (gst_plugin_check_file), (gst_plugin_load_file):
25262 apply patch from #172526 to make register work on MacOSX
25264 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
25266 * docs/gst/tmpl/gstconfig.sgml:
25267 * gst/gstconfig.h.in:
25268 move documentation for some symbols. Add doc for GST_PTR_FORMAT
25269 * testsuite/debug/printf_extension.c: (main):
25270 Do not use GST_PTR_FORMAT on pointers to types with
25271 sizeof < sizeof(gpointer). Fixes test on 64-bit
25272 * testsuite/elements/property.h:
25273 use correct printf format
25275 2005-05-02 Wim Taymans <wim@fluendo.com>
25277 * docs/design/draft-push-pull.txt:
25278 * docs/design/draft-query.txt:
25279 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
25280 (gst_basesrc_start):
25281 Added draft for new query API.
25282 Added draft for better selecting scheduling methods.
25283 Make basesrc ignore length if the subclass does not support
25286 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
25289 possible fixes for automake-1.5 - _LIBADD is reserved
25291 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
25293 * docs/faq/Makefile.am:
25294 * docs/manual/Makefile.am:
25295 * docs/manuals.mak:
25296 * docs/pwg/Makefile.am:
25298 possible fixes for automake-1.5
25300 2005-04-28 Wim Taymans <wim@fluendo.com>
25302 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25303 (gst_basesink_pad_getcaps), (gst_basesink_init),
25304 (gst_basesink_do_sync):
25305 * gst/gstclock.c: (gst_clock_entry_new):
25306 * gst/gstevent.c: (gst_event_discont_get_value):
25307 * gst/gstpipeline.c: (pipeline_bus_handler),
25308 (gst_pipeline_change_state):
25309 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
25310 Better debugging of clocking info.
25311 Allow NULL values when getting discont values.
25313 2005-04-27 Wim Taymans <wim@fluendo.com>
25315 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25316 * check/gst/gstpad.c: (gst_pad_suite):
25317 Increase timeout for checks.
25319 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
25321 * check/Makefile.am:
25322 fix the broken rule for cleanup. Apparently this rule is
25323 only needed on FC2, so maybe this warrants further autotool
25326 2005-04-26 Wim Taymans <wim@fluendo.com>
25328 * gst/gsttrashstack.h:
25329 Ooohh. a nasty one! After having a failed pop() from the stack,
25330 it's possible that the stack is empty. In that case, don't
25331 follow the NULL pointer.
25333 2005-04-25 Wim Taymans <wim@fluendo.com>
25335 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25336 (gst_pad_set_checkgetrange_function),
25337 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
25338 (gst_pad_check_pull_range), (gst_pad_pull_range),
25339 (gst_static_pad_template_get_caps), (gst_pad_start_task),
25340 (gst_pad_pause_task), (gst_pad_stop_task):
25341 * gst/gstplugin.c: (gst_plugin_load):
25343 Remove gst_library_load as it does more harm than good with
25344 the new g_module flags.
25345 Revert bogus caps template check in pad linking, pad caps
25346 are important when linking not the template, which is more
25347 general than the current caps.
25349 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25351 * gst/autoplug/.cvsignore:
25352 * gst/autoplug/Makefile.am:
25353 * gst/autoplug/gstsearchfuncs.c:
25354 * gst/autoplug/gstsearchfuncs.h:
25355 * gst/autoplug/gstspider.c:
25356 * gst/autoplug/gstspider.h:
25357 * gst/autoplug/gstspideridentity.c:
25358 * gst/autoplug/gstspideridentity.h:
25359 * gst/autoplug/spidertest.c:
25362 2005-04-25 Wim Taymans <wim@fluendo.com>
25364 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25365 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25366 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
25367 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
25369 Added stubs for unimplemented functions.
25371 2005-04-24 David Schleef <ds@schleef.org>
25373 * gst/gstpad.h: Disable some unimplemented functions. Wim,
25376 2005-04-24 David Schleef <ds@schleef.org>
25378 Convert everything from GstAtomicInt to g_atomic_int_*, and
25383 * gst/gstatomic_impl.h:
25391 * gst/gstdata_private.h:
25395 * gst/gstmessage.c:
25398 * gst/gststructure.c:
25399 * gst/gststructure.h:
25400 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25403 2005-04-24 David Schleef <ds@schleef.org>
25405 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25406 make the regressions tests work. Remove some code that is no
25408 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25409 Disable warning for pads without templates.
25411 2005-04-24 David Schleef <ds@schleef.org>
25413 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
25414 functions that handle filtered links.
25415 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25417 * gst/gstutils.c: Fix/remove utility functions that handle
25420 * gst/gstvalue.c: Add serialization/deserialization of caps
25421 * gst/parse/grammar.y: Ignore filtered caps when linking. This
25422 requires fixing so that the filter caps notation creates
25423 a capsfilter element and sets the filter_caps property. I
25424 think everyone probably wants to keep the shorthand notation.
25425 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25426 * docs/gst/tmpl/gstpad.sgml:
25428 * gst/elements/gstelements.c: Register capsfilter element.
25429 * gst/Makefile.am: fix spacing
25430 * docs/random/ds/0.9-suggested-changes: random
25432 2005-04-23 David Schleef <ds@schleef.org>
25434 * gst/elements/Makefile.am:
25435 * gst/elements/gstcapsfilter.c: New element that acts like an
25436 identity, but filters caps. Will eventually replace filtered
25437 caps in pad linking.
25438 * gst/gstutils.c: (gst_element_create_all_pads): New function
25439 to create all the ALWAYS pads that are registered with an
25440 element class. This functionality should eventually be
25441 merged in with GstElement initialization.
25443 * testsuite/trigger/README: part of trigger test code that should
25444 have been checked in a long time ago.
25446 2005-04-23 David Schleef <ds@schleef.org>
25448 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
25449 needed with new versions of libtool (nobody will confirm this),
25450 and hard to carry around.
25451 * gst/autoplug/Makefile.am:
25452 * gst/base/Makefile.am:
25453 * gst/elements/Makefile.am:
25454 * gst/indexers/Makefile.am:
25455 * gst/schedulers/Makefile.am:
25456 * libs/gst/bytestream/Makefile.am:
25457 * libs/gst/control/Makefile.am:
25458 * libs/gst/dataprotocol/Makefile.am:
25459 * libs/gst/getbits/Makefile.am:
25461 2005-04-21 Wim Taymans <wim@fluendo.com>
25463 * docs/design/draft-push-pull.txt:
25464 * docs/design/part-MT-refcounting.txt:
25465 * docs/design/part-TODO.txt:
25466 * docs/design/part-caps.txt:
25467 * docs/design/part-events.txt:
25468 * docs/design/part-gstbus.txt:
25469 * docs/design/part-gstpipeline.txt:
25470 * docs/design/part-messages.txt:
25471 * docs/design/part-push-pull.txt:
25472 * docs/design/part-query.txt:
25475 2005-04-21 Wim Taymans <wim@fluendo.com>
25477 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
25478 (gst_message_new), (gst_message_new_error),
25479 (gst_message_new_warning), (gst_message_new_tag),
25480 (gst_message_new_state_changed), (gst_message_new_application),
25481 (gst_message_get_structure):
25482 * gst/gstmessage.h:
25483 * gst/gststructure.c: (gst_structure_set_parent_refcount),
25484 (gst_structure_copy_conditional):
25485 Use parent refcount in GstMessage to ensure GstStructure
25487 Cleaned up headers a bit.
25490 2005-04-20 Wim Taymans <wim@fluendo.com>
25492 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25493 (gst_basesink_pad_getcaps), (gst_basesink_init),
25494 (gst_basesink_chain_unlocked):
25495 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
25496 (gst_type_find_helper):
25497 * gst/elements/gsttypefindelement.c:
25498 (gst_type_find_element_have_type), (gst_type_find_element_init),
25499 (stop_typefinding), (gst_type_find_element_handle_event),
25500 (find_suggest), (gst_type_find_element_chain),
25501 (gst_type_find_element_checkgetrange),
25502 (gst_type_find_element_getrange), (do_typefind),
25503 (gst_type_find_element_activate):
25504 * gst/gstbuffer.c: (_gst_buffer_sub_free),
25505 (gst_buffer_default_free), (gst_buffer_default_copy),
25506 (gst_buffer_set_caps):
25507 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25508 (gst_caps_replace):
25509 * gst/gstmessage.c: (gst_message_new),
25510 (gst_message_new_state_changed):
25511 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25512 (gst_pad_set_checkgetrange_function),
25513 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25514 (gst_pad_set_caps), (gst_pad_check_pull_range),
25515 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25517 * gst/gsttypefind.c: (gst_type_find_register):
25518 Make gst_caps_replace() work like other _replace() functions.
25519 Use _caps_replace() where possible.
25520 Make sure _message_new() initialises its field.
25521 Add gst_static_pad_template_get_caps()
25524 2005-04-18 Andy Wingo <wingo@pobox.com>
25526 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25527 on the peer, not the pad. I think that was a typo. Pass an extra
25528 arg to see if random access is possible. Activate the pads as
25529 PULL_RANGE if possible.
25531 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25533 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
25534 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25537 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25539 * docs/faq/using.xml:
25540 Add note on gstreamer-properties (#154996).
25542 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25544 * docs/random/bbb/optional-properties:
25545 Some analysis on optional properties.
25547 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25549 * docs/gst/tmpl/gstelementfactory.sgml:
25550 * gst/gstelement.h:
25551 * gst/gstelementfactory.c: (gst_element_factory_init),
25552 (gst_element_factory_cleanup), (gst_element_register),
25553 (__gst_element_factory_add_static_pad_template),
25554 (gst_element_factory_get_static_pad_templates),
25555 (gst_element_factory_can_src_caps),
25556 (gst_element_factory_can_sink_caps):
25557 * gst/registries/Makefile.am:
25558 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25559 (gst_xml_registry_class_init), (gst_xml_registry_init),
25560 (gst_xml_registry_new), (gst_xml_registry_set_property),
25561 (gst_xml_registry_get_property), (get_time), (make_dir),
25562 (gst_xml_registry_get_perms_func),
25563 (plugin_times_older_than_recurse), (plugin_times_older_than),
25564 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25565 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25566 (add_to_char_array), (read_string), (read_uint), (read_enum),
25567 (load_pad_template), (load_feature), (load_plugin), (load_paths),
25568 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25569 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25570 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25571 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25572 (gst_xml_registry_rebuild):
25573 * gst/registries/gstlibxmlregistry.h:
25574 * tools/gst-compprep.c: (main):
25575 * tools/gst-inspect.c: (print_pad_templates_info):
25576 * tools/gst-xmlinspect.c: (print_element_info):
25577 Use libxml2 for registry parsing, use staticpadtemplates in
25578 elementfactories. Makes gst_init() +/- 10x faster.
25580 2005-04-12 Wim Taymans <wim@fluendo.com>
25582 * gst/base/Makefile.am:
25583 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25584 (gst_basesink_pad_getcaps), (gst_basesink_init),
25585 (gst_basesink_event), (gst_basesink_change_state):
25586 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25587 (gst_basesrc_init), (gst_basesrc_query),
25588 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25589 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25590 (gst_basesrc_check_get_range), (gst_basesrc_loop),
25591 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25592 (gst_basesrc_stop), (gst_basesrc_activate),
25593 (gst_basesrc_change_state):
25594 * gst/base/gsttypefindhelper.c: (helper_find_peek),
25595 (helper_find_suggest), (gst_type_find_helper):
25596 * gst/base/gsttypefindhelper.h:
25597 * gst/elements/Makefile.am:
25598 * gst/elements/gstelements.c:
25599 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25600 (gst_fakesink_get_times), (gst_fakesink_event),
25601 (gst_fakesink_preroll), (gst_fakesink_render):
25602 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25603 (gst_fakesrc_init), (gst_fakesrc_event_handler),
25604 (gst_fakesrc_get_property), (gst_fakesrc_create),
25605 (gst_fakesrc_start), (gst_fakesrc_stop):
25606 * gst/elements/gstfakesrc.h:
25607 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25608 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25609 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25610 (gst_filesrc_create_read), (gst_filesrc_create),
25611 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25612 (gst_filesrc_start):
25613 * gst/elements/gsttypefindelement.c:
25614 (gst_type_find_element_have_type), (gst_type_find_element_init),
25615 (start_typefinding), (stop_typefinding), (push_buffer_store),
25616 (gst_type_find_element_handle_event),
25617 (gst_type_find_element_chain),
25618 (gst_type_find_element_checkgetrange),
25619 (gst_type_find_element_getrange), (do_typefind),
25620 (gst_type_find_element_activate),
25621 (gst_type_find_element_change_state):
25622 * gst/elements/gsttypefindelement.h:
25623 * gst/gstpipeline.c: (pipeline_bus_handler):
25624 Added typefind helper.
25625 Small preroll fix in the base sink.
25626 Disable typefind code in basesrc.
25627 Crude port of typefindelement.
25631 2005-04-11 Wim Taymans <wim@fluendo.com>
25633 * check/gst/gstbus.c: (gstbus_suite):
25634 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25635 * check/gstcheck.h:
25636 Fix up the timeout so that the test does not fail.
25638 2005-04-06 Wim Taymans <wim@fluendo.com>
25641 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25642 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25643 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25644 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25645 (gst_basesrc_check_get_range), (gst_basesrc_loop),
25646 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25647 (gst_basesrc_stop), (gst_basesrc_activate),
25648 (gst_basesrc_change_state), (basesrc_find_peek),
25649 (basesrc_find_suggest), (gst_basesrc_type_find):
25650 * gst/base/gstbasesrc.h:
25651 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25652 (gst_filesrc_class_init), (gst_filesrc_init),
25653 (gst_filesrc_finalize), (gst_filesrc_set_location),
25654 (gst_filesrc_set_property), (gst_filesrc_get_property),
25655 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25656 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25657 (gst_filesrc_create_read), (gst_filesrc_create),
25658 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25659 * gst/elements/gstfilesrc.h:
25660 * gst/gstelement.c: (gst_element_get_state_func),
25661 (gst_element_lost_state), (gst_element_pads_activate):
25662 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25663 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25664 (gst_pad_pull_range):
25666 More work on the generic source base class, implement seeking,
25668 Make filesrc extend the base source class.
25669 Added gst_pad_set_checkgetrange_function to GstPad.
25671 2005-04-06 Andy Wingo <wingo@pobox.com>
25673 * pkgconfig/gstreamer-base.pc.in:
25674 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25676 * pkgconfig/Makefile.am:
25677 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25679 2005-04-04 Wim Taymans <wim@fluendo.com>
25681 * gst/base/Makefile.am:
25683 * gst/base/gstbasesink.c: (gst_basesink_base_init),
25684 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25685 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25686 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25687 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25688 (gst_basesrc_base_init), (gst_basesrc_class_init),
25689 (gst_basesrc_init), (gst_basesrc_get_formats),
25690 (gst_basesrc_get_query_types), (gst_basesrc_query),
25691 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25692 (gst_basesrc_set_property), (gst_basesrc_get_property),
25693 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25694 (gst_basesrc_loop), (gst_basesrc_activate),
25695 (gst_basesrc_change_state):
25696 * gst/base/gstbasesrc.h:
25697 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25698 (gst_fakesrc_class_init), (gst_fakesrc_init),
25699 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25700 (gst_fakesrc_get_property), (gst_fakesrc_create):
25701 * gst/elements/gstfakesrc.h:
25702 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25703 (gst_filesrc_open_file), (gst_filesrc_loop),
25704 (gst_filesrc_activate), (filesrc_find_peek),
25705 (gst_filesrc_type_find):
25706 Made base source class, make fakesrc extend it.
25707 Add comments to basesink class.
25708 Some filesrc cleanup.
25710 2005-03-31 David Schleef <ds@schleef.org>
25712 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25713 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25714 expected to link against libgstreamer.
25715 * gst/base/Makefile.am: link against libgstreamer
25716 * gst/elements/Makefile.am: same
25718 2005-03-31 Andy Wingo <wingo@pobox.com>
25720 * tests/instantiate/Makefile.am:
25721 * tests/instantiate/caps.c: Add test to test speed of caps copy
25724 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25725 GMemChunk to be fair.
25727 * gst/gsttrashstack.h: Remove warning about using the fallback
25728 trash stack implementation, it's still faster than malloc.
25730 2005-03-30 Andy Wingo <wingo@pobox.com>
25732 * tests/complexity.c: Add a copyright.
25734 2005-03-31 Wim Taymans <wim@fluendo.com>
25736 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
25737 (gst_base_transform_class_init), (gst_base_transform_init),
25738 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
25739 (gst_base_transform_get_property),
25740 (gst_base_transform_sink_activate),
25741 (gst_base_transform_src_activate),
25742 (gst_base_transform_change_state):
25743 * gst/base/gstbasetransform.h:
25744 * gst/elements/gstidentity.c: (gst_identity_class_init),
25745 (gst_identity_event), (gst_identity_check_perfect),
25746 (gst_identity_transform), (gst_identity_start),
25747 (gst_identity_stop):
25748 Added start/stop methods to transform base class so subclasses
25749 don't need to deal with state changes even.
25751 2005-03-31 Wim Taymans <wim@fluendo.com>
25753 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
25754 (gst_event_new_discontinuous), (gst_event_discont_get_value):
25756 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25757 (gst_pad_pull_range):
25758 Added rate to the discont event to prepare for variable speed
25759 and reverse playback.
25761 2005-03-29 David Schleef <ds@schleef.org>
25764 * testsuite/trigger/Makefile.am:
25765 * testsuite/trigger/trigger.c: A little example program to show
25766 how trigger-based elements can work.
25768 2005-03-29 Wim Taymans <wim@fluendo.com>
25770 * gst/base/Makefile.am:
25772 * gst/base/gstbasesink.c: (gst_basesink_get_type),
25773 (gst_basesink_base_init), (gst_basesink_class_init),
25774 (gst_basesink_pad_getcaps), (gst_basesink_init),
25775 (gst_basesink_activate), (gst_basesink_change_state):
25776 * gst/base/gstbasesink.h:
25777 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
25778 (gst_base_transform_base_init), (gst_base_transform_finalize),
25779 (gst_base_transform_class_init), (gst_base_transform_init),
25780 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
25781 (gst_base_transform_event), (gst_base_transform_getrange),
25782 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
25783 (gst_base_transform_set_property),
25784 (gst_base_transform_get_property),
25785 (gst_base_transform_sink_activate),
25786 (gst_base_transform_src_activate),
25787 (gst_base_transform_change_state):
25788 * gst/base/gstbasetransform.h:
25789 * gst/elements/gstidentity.c: (gst_identity_finalize),
25790 (gst_identity_class_init), (gst_identity_init),
25791 (gst_identity_event), (gst_identity_check_perfect),
25792 (gst_identity_transform), (gst_identity_set_property),
25793 (gst_identity_get_property), (gst_identity_change_state):
25794 * gst/elements/gstidentity.h:
25795 * gst/gstelement.c: (gst_element_get_state_func),
25796 (gst_element_lost_state), (gst_element_pads_activate):
25797 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25798 (gst_pad_check_pull_range), (gst_pad_pull_range):
25800 Simplify pad activation.
25801 Added function to check if pull_range can be performed.
25802 Error out when pulling inactive or flushing pads.
25803 Removed const from refcounted types as it does not make sense.
25804 Simplify pad templates in basesink
25805 Added base class for simple 1-to-1 transforms.
25806 Make identity subclass the base transform.
25808 2005-03-29 Andy Wingo <wingo@pobox.com>
25810 * docs/libs/gstreamer-libs-overrides.txt:
25811 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
25812 really don't understand what's going on, but like whatever. I want
25815 * docs/gst/Makefile.am:
25816 * docs/libs/Makefile.am: Dist the overrides files.
25818 * check/Makefile.am (clean-local): Remove .libs directories.
25820 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
25821 elements to EXTRA_DIST, so po/ files are happy.
25823 * po/POTFILES.in: Er, remove it here.
25825 * po/POTFILES: Remove gstspider.c.
25827 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
25829 * docs/libs/gstreamer-libs-docs.sgml:
25830 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
25833 * tests/complexity.c (main): Set the length of the preroll queue
25834 on the sinks to prevent a lockup.
25836 * libs/gst/dataprotocol/Makefile.am:
25837 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
25838 the same as the one in check/gst-libs/gdp.c.
25840 * po/, docs/gst/: Commit automatic changes to docs and po files.
25842 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
25843 the versioned libgstbase.
25845 * check/Makefile.am: Depend on an unversioned gst-register, seems
25846 to make autoconf happier.
25848 * gst/base/Makefile.am: Make libgstbase a versioned lib.
25850 2005-03-28 Wim Taymans <wim@fluendo.com>
25853 * docs/design/part-gstelement.txt:
25854 * docs/design/part-negotiation.txt:
25855 * docs/design/part-preroll.txt:
25856 * docs/design/part-scheduling.txt:
25857 * docs/design/part-states.txt:
25859 * gst/base/Makefile.am:
25861 * gst/base/gstbasesink.c: (gst_basesink_get_template),
25862 (gst_basesink_base_init), (gst_basesink_class_init),
25863 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25864 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25865 (gst_basesink_set_pad_functions),
25866 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
25867 (gst_basesink_set_property), (gst_basesink_get_property),
25868 (gst_base_sink_get_template), (gst_base_sink_get_caps),
25869 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
25870 (gst_basesink_preroll_queue_push),
25871 (gst_basesink_preroll_queue_empty),
25872 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
25873 (gst_basesink_event), (gst_basesink_get_times),
25874 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
25875 (gst_basesink_chain_unlocked), (gst_basesink_chain),
25876 (gst_basesink_loop), (gst_basesink_activate),
25877 (gst_basesink_change_state):
25878 * gst/base/gstbasesink.h:
25879 * gst/elements/Makefile.am:
25880 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
25881 (gst_fakesink_class_init), (gst_fakesink_init),
25882 (gst_fakesink_set_property), (gst_fakesink_get_property),
25883 (gst_fakesink_get_times), (gst_fakesink_event),
25884 (gst_fakesink_preroll), (gst_fakesink_render),
25885 (gst_fakesink_change_state):
25886 * gst/elements/gstfakesink.h:
25887 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25888 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
25889 * gst/gstelement.c: (gst_element_add_pad),
25890 (gst_element_get_state_func), (gst_element_abort_state),
25891 (gst_element_commit_state), (gst_element_lost_state),
25892 (gst_element_set_state), (gst_element_pads_activate):
25893 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
25894 * gst/gstpipeline.c: (gst_pipeline_send_event),
25895 (gst_pipeline_change_state):
25896 Added state change code.
25897 Added/updated docs.
25898 Added sink base class, make fakesink extend the base class.
25899 Small cleanups in GstPipeline.
25901 2005-03-26 David Schleef <ds@schleef.org>
25903 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
25904 is broken and should be implemented in a different library.
25905 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
25906 * gst/gst.h: remove gstcpu.h
25907 * gst/gstcpu.c: remove
25908 * gst/gstcpu.h: remove
25909 * gst/Makefile.am.future: Remove this file. It's ancient.
25911 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25913 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
25914 (gst_bin_send_event):
25915 Add default event/set_manager handlers. The set_manager handler
25916 takes care that the manager is distributed over kids that were
25917 already in the bin before the manager was set. The event handler
25918 is a utility virtual function that sends the event over all sinks,
25919 so that gst_element_send_event (bin, event); has the expected
25921 * gst/gstpad.c: (gst_pad_event_default):
25922 Re-install default event handling for discontinuities, so that
25923 seeking works without requiring hacks in applications or extra
25925 * gst/gstpipeline.c: (gst_pipeline_class_init),
25926 (gst_pipeline_send_event):
25927 Half hack, half utility: set a pipeline to PAUSED for seek events,
25928 since that is the only way we can guarantee a/v sync. Means that
25929 you can do gst_element_seek (pipeline, method, pos); on a pipeline
25930 and it "just works".
25932 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25934 * gst/gstpipeline.c: (gst_pipeline_use_clock):
25935 Lock/unlock mismatch.
25937 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
25939 * docs/faq/gst-uninstalled:
25940 add gst-plugins-base
25941 * docs/gst/Makefile.am:
25942 don't error out until docs are fixed
25943 * docs/gst/gstreamer.types:
25946 2005-03-22 Wim Taymans <wim@fluendo.com>
25948 * check/Makefile.am:
25949 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
25950 * gst/gststructure.c: (gst_structure_set_valist),
25951 (gst_structure_copy_conditional):
25952 Activated more tests.
25953 Added message test.
25954 Added G_TYPE_POINTER to GstStructure.
25957 2005-03-22 Wim Taymans <wim@fluendo.com>
25959 * docs/design/part-TODO.txt:
25960 * docs/design/part-events.txt:
25961 * docs/design/part-gstbin.txt:
25962 * docs/design/part-gstbus.txt:
25963 * docs/design/part-gstpipeline.txt:
25964 * docs/design/part-messages.txt:
25966 * gst/gstmessage.c:
25969 2005-03-21 Wim Taymans <wim@fluendo.com>
25971 * gst/gstbus.c: (gst_bus_post):
25972 Fix copy-and-paste error.
25974 2005-03-21 Wim Taymans <wim@fluendo.com>
25976 * check/Makefile.am:
25978 * gst/elements/Makefile.am:
25979 * gst/elements/gstelements.c:
25980 * gst/elements/gstfakesink.c: (gst_fakesink_init),
25981 (gst_fakesink_event), (gst_fakesink_chain):
25982 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25983 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
25984 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
25985 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
25986 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
25987 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
25988 (gst_fakesrc_loop), (gst_fakesrc_activate),
25989 (gst_fakesrc_change_state):
25990 * gst/elements/gstfakesrc.h:
25991 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
25992 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
25993 (gst_filesrc_open_file), (gst_filesrc_loop),
25994 (gst_filesrc_activate), (gst_filesrc_change_state),
25995 (filesrc_find_peek), (filesrc_find_suggest),
25996 (gst_filesrc_type_find):
25997 * gst/elements/gstidentity.c: (gst_identity_finalize),
25998 (gst_identity_class_init), (gst_identity_init),
25999 (gst_identity_proxy_getcaps), (identity_queue_push),
26000 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
26001 (gst_identity_getrange), (gst_identity_chain),
26002 (gst_identity_sink_loop), (gst_identity_src_loop),
26003 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
26004 (gst_identity_set_property), (gst_identity_get_property),
26005 (gst_identity_change_state):
26006 * gst/elements/gstidentity.h:
26007 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
26008 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
26009 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
26010 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
26011 (gst_tee_sink_activate):
26012 * gst/elements/gsttee.h:
26013 * gst/gst.c: (gst_register_core_elements), (init_post):
26015 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
26016 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
26017 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
26018 (gst_bin_change_state):
26020 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
26021 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
26022 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
26023 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
26024 (gst_bus_set_sync_handler), (gst_bus_create_watch),
26025 (bus_watch_callback), (bus_watch_destroy),
26026 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
26027 (poll_timeout), (gst_bus_poll):
26031 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26032 (gst_element_post_message), (gst_element_message_full),
26033 (gst_element_get_state_func), (gst_element_get_state),
26034 (gst_element_abort_state), (gst_element_commit_state),
26035 (gst_element_lost_state), (gst_element_set_state),
26036 (gst_element_pads_activate), (gst_element_change_state),
26037 (gst_element_dispose), (gst_element_set_manager_func),
26038 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
26039 (gst_element_set_manager), (gst_element_get_manager),
26040 (gst_element_set_bus), (gst_element_get_bus),
26041 (gst_element_set_scheduler), (gst_element_get_scheduler):
26042 * gst/gstelement.h:
26043 * gst/gstevent.c: (gst_event_new_segment_seek),
26044 (gst_event_new_flush):
26046 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
26047 (_gst_message_free), (gst_message_get_type), (gst_message_new),
26048 (gst_message_new_eos), (gst_message_new_error),
26049 (gst_message_new_warning), (gst_message_new_tag),
26050 (gst_message_new_state_changed), (gst_message_new_application),
26051 (gst_message_get_structure), (gst_message_parse_tag),
26052 (gst_message_parse_state_changed), (gst_message_parse_error),
26053 (gst_message_parse_warning):
26054 * gst/gstmessage.h:
26055 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
26056 (gst_real_pad_set_property), (gst_pad_set_active),
26057 (gst_pad_is_active), (gst_pad_set_blocked_async),
26058 (gst_pad_set_blocked), (gst_pad_is_blocked),
26059 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
26060 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
26061 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
26062 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
26063 (gst_pad_link_filtered), (gst_pad_relink_filtered),
26064 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
26065 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
26066 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
26067 (gst_pad_set_caps), (gst_pad_configure_sink),
26068 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
26069 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
26070 (gst_real_pad_dispose), (gst_real_pad_finalize),
26071 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
26072 (gst_pad_event_default_dispatch), (gst_pad_event_default),
26073 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
26075 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
26076 (pipeline_bus_handler), (gst_pipeline_change_state),
26077 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
26078 * gst/gstpipeline.h:
26080 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
26081 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
26082 (gst_queue_link_src), (gst_queue_bufferalloc),
26083 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
26084 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
26085 (gst_queue_loop), (gst_queue_handle_src_event),
26086 (gst_queue_handle_src_query), (gst_queue_src_activate),
26087 (gst_queue_change_state):
26089 * gst/gstscheduler.c: (gst_scheduler_init),
26090 (gst_scheduler_dispose), (gst_scheduler_create_task),
26091 (gst_scheduler_factory_create):
26092 * gst/gstscheduler.h:
26093 * gst/gststructure.c: (gst_structure_get_type),
26094 (gst_structure_copy_conditional):
26095 * gst/gststructure.h:
26096 * gst/gsttaginterface.h:
26097 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26098 (gst_task_init), (gst_task_dispose), (gst_task_create),
26099 (gst_task_get_state), (gst_task_start), (gst_task_stop),
26105 * gst/schedulers/Makefile.am:
26106 * gst/schedulers/cothreads_compat.h:
26107 * gst/schedulers/entryscheduler.c:
26108 * gst/schedulers/faircothreads.c:
26109 * gst/schedulers/faircothreads.h:
26110 * gst/schedulers/fairscheduler.c:
26111 * gst/schedulers/gstbasicscheduler.c:
26112 * gst/schedulers/gstoptimalscheduler.c:
26113 * gst/schedulers/gthread-cothreads.h:
26114 * gst/schedulers/threadscheduler.c:
26115 (gst_thread_scheduler_task_get_type),
26116 (gst_thread_scheduler_task_class_init),
26117 (gst_thread_scheduler_task_init),
26118 (gst_thread_scheduler_task_start),
26119 (gst_thread_scheduler_task_stop),
26120 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
26121 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26122 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
26123 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
26125 * libs/gst/Makefile.am:
26126 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
26127 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
26128 (gst_file_pad_parent_set):
26129 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26130 (gst_dp_event_from_packet):
26131 * tests/complexity.c: (main):
26132 * tests/mass_elements.c: (main):
26133 * testsuite/states/locked.c: (message_received), (main):
26134 * testsuite/states/parent.c: (main):
26135 * tools/gst-inspect.c: (print_element_flag_info),
26136 (print_implementation_info), (print_pad_info):
26137 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
26139 * tools/gst-md5sum.c: (event_loop), (main):
26140 * tools/gst-typefind.c: (main):
26141 * tools/gst-xmlinspect.c: (print_element_info):
26143 Added GstBus for mainloop integration.
26144 Added GstMessage for sending notifications on the bus.
26145 Added GstTask as an abstraction for pipeline entry points.
26147 Removed Schedulers.
26148 Simplified GstQueue for multithreaded core.
26149 Made _link threadsafe, removed old capsnego.
26150 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
26151 Added pad blocking functions.
26152 Reworked scheduling functions in GstPad to prepare for
26153 scheduling updates soon.
26154 Moved events out of data stream.
26155 Simplified GstEvent types.
26156 Added return values to push/pull.
26157 Removed clocking from GstElement.
26158 Added prototypes for state change function for next merge.
26159 Removed iterate from bins and state change management.
26160 Fixed some elements, disabled others for now.
26161 Fixed -inspect and -launch.
26162 Added check for GstBus.
26164 2005-03-10 Wim Taymans <wim@fluendo.com>
26166 * docs/design/part-MT-refcounting.txt:
26167 * docs/design/part-clocks.txt:
26168 * docs/design/part-gstelement.txt:
26169 * docs/design/part-gstobject.txt:
26170 * docs/design/part-standards.txt:
26171 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26172 (gst_bin_remove_func), (gst_bin_remove):
26176 * testsuite/clock/clock1.c: (main):
26177 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
26179 * testsuite/dlopen/loadgst.c: (do_test):
26180 * testsuite/refcounting/bin.c: (add_remove_test1),
26181 (add_remove_test2), (main):
26182 * testsuite/refcounting/element.c: (main):
26183 * testsuite/refcounting/element_pad.c: (main):
26184 * testsuite/refcounting/pad.c: (main):
26185 * tools/gst-launch.c: (sigint_handler_sighandler):
26186 * tools/gst-typefind.c: (main):
26188 Added doc about clock.
26189 removed gst_bin_iterate_recurse_up(), marked methods
26191 Fix more testsuites.
26193 2005-03-09 Wim Taymans <wim@fluendo.com>
26195 * gst/gstpad.c: (gst_pad_get_direction),
26196 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
26197 (gst_pad_collect_valist):
26198 * testsuite/bins/interface.c: (main):
26199 * testsuite/caps/audioscale.c: (test_caps):
26200 * testsuite/caps/caps.c: (test1), (test2), (test3):
26201 * testsuite/caps/deserialize.c: (main):
26202 * testsuite/caps/enumcaps.c: (main):
26203 * testsuite/caps/filtercaps.c: (main):
26204 * testsuite/caps/intersect2.c: (main):
26205 * testsuite/caps/random.c: (main):
26206 * testsuite/caps/renegotiate.c: (my_fixate), (main):
26207 * testsuite/caps/sets.c: (check_caps):
26208 * testsuite/caps/simplify.c: (check_caps), (main):
26209 * testsuite/caps/subtract.c: (check_caps):
26210 Fix _pad_get_direction wrt ghostpads.
26211 Fix caps testsuite.
26213 2005-03-09 Wim Taymans <wim@fluendo.com>
26215 * check/Makefile.am:
26216 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
26217 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
26218 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
26219 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
26220 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
26221 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
26222 (gst_bin_remove), (gst_bin_iterate_recurse_up),
26223 (bin_element_is_sink), (gst_bin_iterate_sinks),
26224 (gst_bin_iterate_all_by_interface):
26226 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
26227 (gst_element_change_state), (gst_element_dispose),
26228 (gst_element_finalize), (gst_element_set_loop_function):
26229 * gst/gstelement.h:
26230 * gst/gstiterator.c: (find_custom_fold_func):
26231 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26232 (gst_pad_collectv), (gst_pad_collect_valist),
26233 (gst_pad_template_new):
26234 * gst/gstpipeline.c: (gst_pipeline_class_init),
26235 (gst_pipeline_dispose), (gst_pipeline_set_property),
26236 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
26237 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
26238 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
26240 * gst/schedulers/entryscheduler.c:
26241 * gst/schedulers/gstbasicscheduler.c:
26242 (gst_basic_scheduler_cothreaded_chain),
26243 (gst_basic_scheduler_chain_add_element):
26244 * testsuite/bins/interface.c: (main):
26246 Added GstSystemClock test.
26247 Implemented clock distribution code in GstBin.
26248 Implemented iterate sinks method for future use.
26249 Rearranged gstelement.h
26250 Fix GstIterator comparison bug.
26251 Moved some code to GstPipeline, mostly clocking related.
26253 2005-03-09 Wim Taymans <wim@fluendo.com>
26256 * gst/gst_private.h:
26257 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26258 (gst_bin_remove_func), (gst_bin_remove),
26259 (gst_bin_get_by_name_recurse_up):
26260 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
26261 (gst_clock_id_compare_func), (gst_clock_id_wait),
26262 (gst_clock_id_wait_async), (gst_clock_init),
26263 (gst_clock_adjust_unlocked), (gst_clock_get_time):
26264 * gst/gstelement.h:
26265 * gst/gstinfo.c: (_gst_debug_init):
26267 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26268 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
26270 Bump version number, we're now 0.9.0
26271 Add future debugging category.
26272 Fix NULL _unref() in _get_by_name_recurse_up
26273 Rearrange gstpad.h.
26276 2005-03-08 Wim Taymans <wim@fluendo.com>
26278 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
26279 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
26280 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26281 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
26282 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
26283 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
26284 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
26285 * gst/elements/gstidentity.c: (gst_identity_class_init):
26286 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
26287 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
26288 * gst/elements/gstshaper.c: (gst_shaper_class_init):
26289 * gst/elements/gststatistics.c: (gst_statistics_class_init):
26290 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
26292 * gst/gstelement.c: (gst_element_class_init),
26293 (gst_element_base_class_init), (gst_element_init),
26294 (gst_element_get_random_pad), (gst_element_wait_state_change),
26295 (gst_element_change_state), (gst_element_dispose),
26296 (gst_element_finalize), (gst_element_set_loop_function):
26297 * gst/gstelement.h:
26298 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
26299 * gst/gstthread.c: (gst_thread_class_init),
26300 (gst_thread_release_children_locks), (gst_thread_change_state):
26301 * gst/schedulers/gstbasicscheduler.c:
26302 (gst_basic_scheduler_loopfunc_wrapper),
26303 (gst_basic_scheduler_chain_wrapper),
26304 (gst_basic_scheduler_src_wrapper),
26305 (gst_basic_scheduler_remove_element):
26306 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
26307 Remove threadsafe properties. Fix elements because GObject
26308 complains when installing a property before declaring a
26309 set/get_property handler.
26310 Rearrange gstelement.h file, use STATE macros for state locks.
26311 Free mutexes in the finalize method instead of dispose.
26313 2005-03-08 Wim Taymans <wim@fluendo.com>
26315 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26316 * gst/gstthread.c: (gst_thread_release_children_locks):
26317 Added parentage check.
26318 Fix build og GstThread again.
26320 2005-03-08 Wim Taymans <wim@fluendo.com>
26322 * docs/design/part-MT-refcounting.txt:
26323 * docs/design/part-conventions.txt:
26324 * docs/design/part-gstobject.txt:
26325 * docs/design/part-relations.txt:
26326 * docs/design/part-standards.txt:
26327 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26328 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
26329 (gst_bin_get_by_name), (gst_bin_get_by_interface),
26330 (gst_bin_iterate_all_by_interface):
26333 * gst/gstelement.c: (gst_element_class_init),
26334 (gst_element_change_state), (gst_element_set_loop_function):
26335 * gst/gstelement.h:
26336 * gst/gstiterator.c:
26337 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
26338 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
26339 (gst_object_dispatch_properties_changed), (gst_object_set_name),
26340 (gst_object_set_parent), (gst_object_unparent),
26341 (gst_object_check_uniqueness):
26343 Docs updates, clean up some headers.
26345 2005-03-07 Wim Taymans <wim@fluendo.com>
26347 * check/.cvsignore:
26348 * check/Makefile.am:
26349 * check/gst-libs/.cvsignore:
26350 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
26351 * check/gst/.cvsignore:
26352 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
26353 (START_TEST), (gstbus_suite), (main):
26354 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
26355 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
26356 (gst_data_suite), (main):
26357 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
26358 (add_fold_func), (gstiterator_suite), (main):
26359 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
26360 (thread_name_object), (thread_name_object_default),
26361 (gst_object_name_compare), (gst_object_suite), (main):
26362 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
26363 (gst_pad_suite), (main):
26364 * check/gstcheck.c: (gst_check_log_message_func),
26365 (gst_check_log_critical_func), (gst_check_init):
26366 * check/gstcheck.h:
26367 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
26368 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
26371 2005-03-07 Wim Taymans <wim@fluendo.com>
26373 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
26374 (gst_list_iterator_next), (gst_list_iterator_resync),
26375 (gst_list_iterator_free), (gst_iterator_new_list),
26376 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
26377 (gst_iterator_free), (gst_iterator_push), (filter_next),
26378 (filter_resync), (filter_uninit), (filter_free),
26379 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
26380 (gst_iterator_foreach), (find_custom_fold_func),
26381 (gst_iterator_find_custom):
26382 * gst/gstiterator.h:
26383 Added missing files.
26385 2005-03-07 Wim Taymans <wim@fluendo.com>
26389 * docs/design/part-MT-refcounting.txt:
26390 * docs/design/part-conventions.txt:
26391 * docs/design/part-gstobject.txt:
26392 * docs/design/part-relations.txt:
26393 * examples/mixer/mixer.c: (main):
26394 * examples/thread/thread.c: (eos), (main):
26396 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26397 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26398 (gst_spider_plug_from_srcpad):
26399 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26400 (gst_spider_identity_change_state),
26401 (gst_spider_identity_sink_loop_type_finding):
26402 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26403 * gst/elements/gstidentity.c: (gst_identity_init):
26404 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26405 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26406 * gst/elements/gsttypefindelement.c: (free_entry):
26409 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26410 (gst_bin_set_clock_func), (gst_bin_auto_clock),
26411 (gst_bin_set_index), (gst_bin_set_element_sched),
26412 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26413 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26414 (gst_bin_iterate_elements), (iterate_child_recurse),
26415 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26416 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26417 (compare_interface), (gst_bin_get_by_interface),
26418 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26420 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26421 (gst_buffer_default_free), (gst_buffer_default_copy),
26422 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26423 (gst_buffer_create_sub):
26425 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26426 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26427 (gst_caps_unref), (gst_static_caps_get),
26428 (gst_caps_remove_and_get_structure), (gst_caps_append),
26429 (gst_caps_append_structure), (gst_caps_remove_structure),
26430 (gst_caps_copy_nth), (gst_caps_set_simple),
26431 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26432 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26433 (gst_caps_structure_intersect_field), (gst_caps_intersect),
26434 (gst_caps_structure_subtract_field), (gst_caps_subtract),
26435 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26436 (gst_caps_structure_figure_out_union),
26437 (gst_caps_switch_structures), (gst_caps_do_simplify),
26438 (gst_caps_replace), (gst_caps_from_string),
26439 (gst_caps_copy_conditional):
26441 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26442 (_gst_clock_id_free), (gst_clock_id_unref),
26443 (gst_clock_id_compare_func), (gst_clock_id_wait),
26444 (gst_clock_id_wait_async), (gst_clock_class_init),
26445 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26446 (gst_clock_get_time), (gst_clock_set_time_adjust),
26447 (gst_clock_set_property), (gst_clock_get_property):
26450 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26451 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26453 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26454 (gst_element_requires_clock), (gst_element_provides_clock),
26455 (gst_element_set_clock), (gst_element_clock_wait),
26456 (gst_element_wait), (gst_element_set_time_delay),
26457 (gst_element_is_indexable), (gst_element_add_pad),
26458 (gst_element_add_ghost_pad), (gst_element_remove_pad),
26459 (pad_compare_name), (gst_element_get_static_pad),
26460 (gst_element_request_pad), (gst_element_get_request_pad),
26461 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
26462 (gst_element_class_get_pad_template_list),
26463 (gst_element_class_get_pad_template), (gst_element_error_func),
26464 (gst_element_get_random_pad), (gst_element_get_event_masks),
26465 (gst_element_send_event), (gst_element_seek),
26466 (gst_element_get_query_types), (gst_element_query),
26467 (gst_element_get_formats), (gst_element_convert),
26468 (gst_element_is_locked_state), (gst_element_set_locked_state),
26469 (gst_element_sync_state_with_parent), (gst_element_change_state),
26470 (gst_element_finalize), (gst_element_yield),
26471 (gst_element_interrupt), (gst_element_set_scheduler),
26472 (gst_element_get_scheduler), (gst_element_set_loop_function):
26473 * gst/gstelement.h:
26475 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
26476 (gst_format_get_by_nick), (gst_format_get_details),
26477 (gst_format_iterate_definitions):
26479 * gst/gstindex.c: (gst_index_gtype_resolver):
26482 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
26483 (gst_mem_chunk_free):
26484 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
26485 (gst_object_ref), (gst_object_unref), (gst_object_sink),
26486 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
26487 (gst_object_dispatch_properties_changed),
26488 (gst_object_set_name_default), (gst_object_set_name),
26489 (gst_object_get_name), (gst_object_set_name_prefix),
26490 (gst_object_get_name_prefix), (gst_object_set_parent),
26491 (gst_object_get_parent), (gst_object_unparent),
26492 (gst_object_check_uniqueness), (gst_object_save_thyself),
26493 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
26494 (gst_object_set_property), (gst_object_get_property),
26495 (gst_object_get_path_string):
26497 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26498 (gst_real_pad_init), (gst_real_pad_get_property),
26499 (gst_pad_custom_new), (gst_pad_get_direction),
26500 (gst_pad_set_active), (gst_pad_is_active),
26501 (gst_pad_set_event_function), (gst_pad_is_linked),
26502 (gst_pad_link_free), (gst_pad_link_intersect),
26503 (gst_pad_link_fixate), (gst_pad_set_caps),
26504 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26505 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26506 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26507 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26508 (gst_pad_get_caps), (gst_pad_peer_get_caps),
26509 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26510 (gst_pad_realize), (gst_pad_get_allowed_caps),
26511 (gst_real_pad_dispose), (gst_real_pad_finalize),
26512 (gst_pad_collectv), (gst_pad_collect_valist),
26513 (gst_pad_template_dispose), (gst_pad_template_new),
26514 (gst_pad_get_internal_links):
26516 * gst/gstpipeline.c: (gst_pipeline_dispose),
26517 (gst_pipeline_change_state):
26518 * gst/gstpipeline.h:
26520 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26521 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26522 * gst/gstpluginfeature.h:
26523 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26524 * gst/gstquery.c: (_gst_query_type_initialize),
26525 (gst_query_type_register), (gst_query_type_get_by_nick),
26526 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26528 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26529 * gst/gstscheduler.c: (gst_scheduler_add_element),
26530 (gst_scheduler_factory_create):
26531 * gst/gststructure.c: (gst_structure_set_parent_refcount),
26532 (gst_structure_free), (gst_structure_set_name),
26533 (gst_structure_id_set_value), (gst_structure_set_value),
26534 (gst_structure_set_valist), (gst_structure_remove_field),
26535 (gst_structure_remove_fields),
26536 (gst_structure_remove_fields_valist),
26537 (gst_structure_remove_all_fields), (gst_structure_foreach),
26538 (gst_structure_map_in_place),
26539 (gst_caps_structure_fixate_field_nearest_int),
26540 (gst_caps_structure_fixate_field_nearest_double):
26541 * gst/gststructure.h:
26542 * gst/gstsystemclock.c: (gst_system_clock_class_init),
26543 (gst_system_clock_init), (gst_system_clock_dispose),
26544 (gst_system_clock_async_thread),
26545 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26546 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26547 * gst/gstsystemclock.h:
26548 * gst/gsttag.c: (gst_tag_list_add_value_internal),
26549 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26550 * gst/gsttaginterface.c:
26551 * gst/gstthread.c: (gst_thread_dispose),
26552 (gst_thread_release_children_locks), (gst_thread_change_state),
26553 (gst_thread_main_loop):
26554 * gst/gsttrashstack.h:
26555 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26557 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26558 (gst_element_request_pad), (gst_element_get_pad_from_template),
26559 (gst_element_request_compatible_pad),
26560 (gst_element_get_compatible_pad_filtered),
26561 (gst_element_get_compatible_pad), (gst_element_state_get_name),
26562 (gst_element_link_pads_filtered), (gst_element_link_filtered),
26563 (gst_element_link_many), (gst_element_link),
26564 (gst_element_link_pads), (gst_element_unlink_pads),
26565 (gst_element_unlink_many), (gst_element_unlink),
26566 (gst_pad_can_link_filtered), (gst_pad_can_link),
26567 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26568 (gst_object_default_error), (gst_bin_add_many),
26569 (gst_bin_remove_many), (gst_element_populate_std_props),
26570 (gst_element_class_install_std_props), (gst_buffer_merge),
26571 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26572 (link_fold_func), (gst_pad_proxy_setcaps):
26574 * gst/gstvalue.c: (gst_value_deserialize_string):
26575 * gst/parse/grammar.y:
26576 * gst/schedulers/gstbasicscheduler.c:
26577 (gst_basic_scheduler_cothreaded_chain),
26578 (gst_basic_scheduler_chain_recursive_add),
26579 (gst_basic_scheduler_pad_link):
26580 * gst/schedulers/gstoptimalscheduler.c:
26581 (get_group_schedule_function),
26582 (gst_opt_scheduler_state_transition),
26583 (gst_opt_scheduler_add_element), (element_get_reachables_func):
26584 * libs/gst/bytestream/bytestream.c:
26585 * libs/gst/dataprotocol/dataprotocol.c:
26586 (gst_dp_header_from_buffer):
26589 * tests/threadstate/threadstate2.c: (eos):
26590 * tools/gst-compprep.c: (main):
26591 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26592 (print_pad_info), (print_children_info):
26593 * tools/gst-launch.c: (idle_func), (main):
26594 * tools/gst-md5sum.c: (idle_func), (main):
26595 * tools/gst-xmlinspect.c: (print_element_info):
26596 First THREADED backport attempt, focusing on adding locks and
26597 making sure the API is threadsafe. Needs more work. More docs
26600 2005-02-24 Andy Wingo <wingo@pobox.com>
26602 * tests/bench-complexity.scm:
26603 * tests/complexity.gnuplot: New files, good for running complexity
26606 * tests/Makefile.am:
26607 * tests/complexity.c: New test, sets up N elements, at each level
26608 teeing into M streams per element. Eeeenteresting.
26610 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26611 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26612 running bench-mass_elements.scm.
26614 * tests/bench-mass_elements.scm: New script, runs mass_elements
26615 for various numbers of identities, outputting the results to a
26616 file. Requires guile 1.6. Just for testing.
26618 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
26620 * gst/schedulers/fairscheduler.c:
26621 compile with debug disabled
26623 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
26626 hunting season on 0.9 is now OPEN